/* KP-DARK — itemsatis tarzi koyu lacivert tema. Yalnizca kamuya acik sayfalar (html.kp-pub). */
html.kp-pub[data-theme="dark"]{
  --bg:#1c1d2b;--surface:#262839;--card-bg:#242638;--text:#f1f2f8;--text-color:#e8e9f2;--text-muted:#9da0b8;--muted-text-color:#a4a7bf;
  --border-color:rgba(255,255,255,.08);--shadow-soft:0 16px 42px rgba(0,0,0,.35);
  --gs-bg:#171825;--gs-bg-elevated:#1f2030;--gs-bg-card:#242638;--gs-border:rgba(255,255,255,.08);--gs-text:#f1f2f8;--gs-muted:#a4a7bf;
  --kp-bg:#171825;--kp-bg-elevated:#1f2030;--kp-surface:#242638;--kp-surface-hover:#2d3046;--kp-border:rgba(255,255,255,.08);--kp-border-strong:rgba(255,255,255,.16);--kp-text:#f1f2f8;--kp-muted:#a4a7bf;--kp-subtle:#7f829c;
  --kpu-glass:rgba(32,33,48,.72);--kpu-glass-border:rgba(255,255,255,.1);--kpu-card:rgba(38,40,57,.86);--kpu-text:#f1f2f8;--kpu-muted:#a4a7bf;
  color-scheme:dark;
}
html.kp-pub.dark[data-theme="dark"] body{background:#1c1d2b!important;color:#e8e9f2}
/* ana sayfa parcalari */
html.kp-pub.dark[data-theme="dark"] body .kph2-search{background:rgba(38,40,57,.94);box-shadow:0 14px 34px rgba(0,0,0,.45)}
html.kp-pub.dark[data-theme="dark"] body .kph2-search input{color:#f1f2f8}
html.kp-pub.dark[data-theme="dark"] body .kph2-search input::placeholder{color:#9da0b8}
html.kp-pub.dark[data-theme="dark"] body .kph2-trust div{background:#242638;border-color:rgba(255,255,255,.08)}
html.kp-pub.dark[data-theme="dark"] body .kps-card{background:#242638!important;border-color:rgba(255,255,255,.07)!important}
html.kp-pub.dark[data-theme="dark"] body .kph2-tile,html.kp-pub.dark[data-theme="dark"] body .kph2-hero{background:#171825}

/* ust cubuk ve menu */
html.kp-pub.dark[data-theme="dark"] body .frontend-header,html.kp-pub.dark[data-theme="dark"] body .topbar,html.kp-pub.dark[data-theme="dark"] body .header-top,html.kp-pub.dark[data-theme="dark"] body .header-content{background:#1f2030!important;border-color:rgba(255,255,255,.07)!important}
html.kp-pub.dark[data-theme="dark"] body .header-nav{background:#191a27!important;border-color:rgba(255,255,255,.07)!important}
html.kp-pub.dark[data-theme="dark"] body .kps-media{background:#1d1e2c!important}
html.kp-pub.dark[data-theme="dark"] body .kps-body{background:#242638!important}
html.kp-pub.dark[data-theme="dark"] body .blog-card{background:#242638!important}
html.kp-pub.dark[data-theme="dark"] body .blog-thumb{background:#1d1e2c!important}

html.kp-pub.dark[data-theme="dark"]{background:#14151f!important;background-image:radial-gradient(900px 420px at 8% -10%,rgba(255,123,31,.07),transparent 60%)!important}
html.kp-pub.dark[data-theme="dark"] body{background:#1c1d2b!important;background-image:none!important}
html.kp-pub.dark[data-theme="dark"] body .topbar,html.kp-pub.dark[data-theme="dark"] body .header-top{background:#1f2030!important}

/* mesajlar */
html.kp-pub.dark[data-theme="dark"] body .kp-ms-tile,html.kp-pub.dark[data-theme="dark"] body .kp-ms-card{background:#242638!important;border-color:rgba(255,255,255,.09)!important;color:#e8e9f2!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-tile b{color:#ff8a3c!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-tile span,html.kp-pub.dark[data-theme="dark"] body .kp-ms-card small{color:#a4a7bf!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-card .tx,html.kp-pub.dark[data-theme="dark"] body .kp-ms-card .tx div{color:#f1f2f8}
html.kp-pub.dark[data-theme="dark"] body .chat-sidebar{background:#1f2030!important;border-color:rgba(255,255,255,.07)!important}
html.kp-pub.dark[data-theme="dark"] body .chat-item{background:#242638!important;border-color:rgba(255,255,255,.07)!important;box-shadow:none!important}
html.kp-pub.dark[data-theme="dark"] body .chat-item:hover{background:#2d3046!important;border-color:rgba(255,138,31,.45)!important}
html.kp-pub.dark[data-theme="dark"] body .chat-item.active,html.kp-pub.dark[data-theme="dark"] body .chat-item:has(.chat-unread-badge){background:linear-gradient(90deg,rgba(255,122,26,.18),#242638)!important;border-color:rgba(255,138,31,.45)!important}
html.kp-pub.dark[data-theme="dark"] body .chat-username,html.kp-pub.dark[data-theme="dark"] body .chat-user-name{color:#f1f2f8!important}
html.kp-pub.dark[data-theme="dark"] body .chat-last-message,html.kp-pub.dark[data-theme="dark"] body .chat-time{color:#a4a7bf!important}
html.kp-pub.dark[data-theme="dark"] body .chat-item:has(.chat-unread-badge) .chat-username{color:#ff9a3c!important}
html.kp-pub.dark[data-theme="dark"] body .search-input,html.kp-pub.dark[data-theme="dark"] body .kp-ms-top .search-input{background:#171825!important;color:#f1f2f8!important;border-color:rgba(255,255,255,.12)!important;box-shadow:none!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-ibtn{background:transparent!important;border-color:rgba(255,255,255,.14)!important;color:#ff9a3c!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-ibtn:hover,html.kp-pub.dark[data-theme="dark"] body .kp-ms-ibtn.on{background:#ff6a1a!important;color:#fff!important;border-color:#ff6a1a!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-sec{color:#9da0b8!important}
html.kp-pub.dark[data-theme="dark"] body .chat-area,html.kp-pub.dark[data-theme="dark"] body .empty-chat-state{background:#1c1d2b!important}
html.kp-pub.dark[data-theme="dark"] body .chat-area-header{background:#1f2030!important;border-color:rgba(255,255,255,.07)!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-chips{background:#1f2030!important;border-color:rgba(255,255,255,.07)!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-chip,html.kp-pub.dark[data-theme="dark"] body .kp-ms-quick button{background:#242638!important;color:#ff9a3c!important;border-color:rgba(255,138,31,.35)!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-chip:hover,html.kp-pub.dark[data-theme="dark"] body .kp-ms-quick button:hover{background:#ff6a1a!important;color:#fff!important}
html.kp-pub.dark[data-theme="dark"] body .messages-area{background-color:#1c1d2b!important;background-image:radial-gradient(rgba(255,255,255,.05) 1.2px,transparent 1.2px)!important}
html.kp-pub.dark[data-theme="dark"] body .message.received .message-content{background:#2a2d44!important;border-color:rgba(255,255,255,.08)!important;color:#f1f2f8!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-day,html.kp-pub.dark[data-theme="dark"] body .kp-ms-safe{background:#242638!important;color:#c9cbe0!important;border-color:rgba(255,255,255,.1)!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-reply,html.kp-pub.dark[data-theme="dark"] body .kp-ms-act{background:#242638!important;color:#e8e9f2!important;border-color:rgba(255,138,31,.35)!important}
html.kp-pub.dark[data-theme="dark"] body .message-input-area{background:transparent!important}
html.kp-pub.dark[data-theme="dark"] body .message-input-container{background:#242638!important;border-color:rgba(255,138,31,.4)!important;box-shadow:0 12px 30px rgba(0,0,0,.4)!important}
html.kp-pub.dark[data-theme="dark"] body .message-input{color:#f1f2f8!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-pop,html.kp-pub.dark[data-theme="dark"] body .modal{background:#242638!important;color:#e8e9f2!important;border-color:rgba(255,255,255,.1)!important}
html.kp-pub.dark[data-theme="dark"] body .kp-ms-chip i,html.kp-pub.dark[data-theme="dark"] body .kp-ms-quick button{color:#ff9a3c!important}
html.kp-pub.dark[data-theme="dark"] body .kp-acc-chip.wait{color:#ffbb55!important}
