/* BWW Panel — bwwgames.com ile aynı görsel dil: koyu mor zemin, Inter + Space Grotesk,
   mor vurgu (#b689ff), yumuşak mor parıltılar, imleci takip eden soluk ışıklı kartlar. */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 500; font-display: block;
  src: url('fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 500; font-display: block;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 600; font-display: block;
  src: url('fonts/spacegrotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 600; font-display: block;
  src: url('fonts/spacegrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --text: #f3efff;
  --muted: rgba(226, 216, 255, 0.62);
  --faint: rgba(226, 216, 255, 0.42);
  --accent: #b689ff;
  --accent-2: #e5d6ff;
  --violet: #7b2cff;
  --surface: #0e0a18;
  --line: rgba(182, 137, 255, .14);
  --line-2: rgba(182, 137, 255, .28);
  /* durum renkleri (yalnızca durum için; her zaman simge + yazıyla birlikte) */
  --good: #0ca30c;
  --good-soft: #43d167;
  --warn: #fab219;
  --bad: #d03b3b;
  --bad-soft: #ff8fb1;
  --ease: cubic-bezier(.2, .9, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; height: 100%; overflow: hidden;
  background: var(--surface); color: var(--text);
  font-family: Inter, system-ui, sans-serif; font-size: 14px; font-weight: 400;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--accent); text-decoration-color: rgba(182,137,255,.4); text-underline-offset: 3px; }
a:hover { color: #d9c2ff; text-decoration-color: currentColor; }
[hidden] { display: none !important; }
/* telefon sürümüne özgü parçalar (mobile.css ile açılır) masaüstünde görünmez */
html:not(.mobile) [data-mobile] { display: none !important; }
.grow { flex: 1; min-width: 0; }
:focus-visible { outline: 2px solid rgba(182,137,255,.8); outline-offset: 2px; }

/* simgeler (js/icons.js data-icon'a göre SVG koyar) */
svg.i { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg.i.fill { fill: currentColor; stroke: none; }

/* kaydırma çubuğu: sitedeki ince mor çubuk */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background-color: rgba(182,137,255,.28); border-radius: 999px;
  border: 3px solid transparent; background-clip: padding-box; min-height: 40px;
}
::-webkit-scrollbar-thumb:hover { background-color: rgba(182,137,255,.55); }

#app {
  position: relative; height: 100%; display: flex; flex-direction: column; overflow: clip;   /* clip: kod ya da odaklanma bile kaydıramaz, üst şerit hep yerinde kalır */
  background:
    radial-gradient(120% 55% at 50% -12%, rgba(123, 44, 255, .30), rgba(123, 44, 255, 0) 62%),
    radial-gradient(70% 40% at 100% 108%, rgba(214, 180, 255, .07), rgba(214, 180, 255, 0) 70%),
    var(--surface);
}

/* ---------------- üst şerit ---------------- */
#titlebar {
  app-region: drag; -webkit-app-region: drag;
  flex: none; height: 52px; display: flex; align-items: center; gap: 10px;
  padding: 0 8px 0 16px;
}
.tb-logo { width: 26px; height: 26px; filter: drop-shadow(0 0 10px rgba(182,137,255,.55)); }
.tb-name { display: flex; align-items: baseline; gap: 9px; flex: 1; min-width: 0; }
.tb-title { font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; white-space: nowrap; }
.tb-kicker { font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.tb-actions { display: flex; gap: 2px; app-region: no-drag; -webkit-app-region: no-drag; }
.tb-btn {
  width: 32px; height: 32px; padding: 7px; border: 0; border-radius: 10px; background: none; color: var(--muted);
  transition: background .2s ease, color .2s ease;
}
.tb-btn:hover { background: rgba(255,255,255,.07); color: var(--text); }
.tb-btn.close:hover { background: rgba(208,59,59,.22); color: #fff; }
.tb-btn[aria-pressed="true"] { color: var(--accent); background: rgba(123,44,255,.18); }

/* ---------------- sekmeler ---------------- */
#tabs {
  position: relative; flex: none; display: grid; grid-template-columns: repeat(6, 1fr);
  margin: 0 10px; padding: 4px; border-radius: 16px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
}
#tabs button {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 2px 6px; border: 0; border-radius: 12px; background: none; color: var(--muted);
  font-size: 10.5px; font-weight: 500; letter-spacing: .02em;
  transition: color .25s ease;
}
#tabs button:hover { color: var(--text); }
#tabs button[aria-selected="true"] { color: #fff; }
.tab-ico { width: 20px; height: 20px; transition: transform .35s var(--ease); }
#tabs button:hover .tab-ico { transform: translateY(-1px); }
/* seçili sekmenin arkasında kayan mor hap */
#tab-ink {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 6);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(143,77,255,.34), rgba(106,34,230,.22));
  border: 1px solid rgba(182,137,255,.36);
  box-shadow: 0 6px 22px rgba(123,44,255,.28), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .45s var(--ease);
}
.badge {
  position: absolute; top: 3px; left: calc(50% + 6px);
  min-width: 17px; height: 17px; padding: 0 5px; border-radius: 999px;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 500; font-style: normal; color: #fff;
  background: linear-gradient(180deg, #ff8fb1, #e0567f); box-shadow: 0 0 0 2px var(--surface), 0 0 12px rgba(255,143,177,.5);
}
.state-dot {
  position: absolute; top: 6px; left: calc(50% + 8px); width: 8px; height: 8px; border-radius: 50%;
  background: var(--faint); box-shadow: 0 0 0 2px var(--surface);
}
.state-dot.good { background: var(--good-soft); }
.state-dot.warn { background: var(--warn); }
.state-dot.bad { background: var(--bad); animation: blink 1.2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------------- içerik ---------------- */
#content { position: relative; flex: 1; min-height: 0; overflow: clip; }
#content:not([data-tab="mail"]) .detail { visibility: hidden; }
.tab {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; padding: 14px 14px 18px;
  opacity: 0; visibility: hidden; transform: translateY(8px); filter: blur(4px);
  transition: opacity .3s ease, transform .45s var(--ease), filter .3s ease, visibility 0s linear .3s;
}
.tab.on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .35s ease, transform .5s var(--ease), filter .35s ease; }
.tab > * + *, #vis-body > * + * { margin-top: 12px; }
[id$="-banner"]:empty, #vis-setup:empty { display: none; }

.kicker {
  margin: 0; display: flex; align-items: center; gap: 7px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--accent);
}
.kicker [data-icon] { width: 15px; height: 15px; }
.sec-head { display: flex; align-items: center; gap: 4px; }
.sec-head > div { flex: 1; min-width: 0; }
.sec-sub { margin: 4px 0 0; font-size: 12.5px; font-weight: 300; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.foot { margin: 14px 2px 0; font-size: 11.5px; font-weight: 300; line-height: 1.55; color: var(--faint); }

.icon-btn {
  flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.05); color: var(--muted);
  transition: background .2s ease, color .2s ease, transform .3s var(--ease);
}
.icon-btn:hover { background: rgba(123,44,255,.2); color: var(--text); }
.icon-btn.spin svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* kart: sitedeki özellik kartlarıyla aynı kutu ve üzerine gelme tepkisi */
.card, .tile {
  position: relative; overflow: hidden;
  padding: 14px 16px; border-radius: 16px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .35s ease, background .35s ease, box-shadow .45s ease;
}
.spot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(182,137,255,.16), rgba(182,137,255,0) 65%);
  transition: opacity .4s ease;
}
.spot > * { position: relative; }
.spot:hover {
  transform: translateY(-2px);
  border-color: rgba(182,137,255,.3); background: rgba(123,44,255,.06);
  box-shadow: 0 12px 28px rgba(0,0,0,.25), 0 0 24px rgba(123,44,255,.12);
}
.spot:hover::before { opacity: 1; }

/* düğmeler */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 16px; border-radius: 12px; border: 1px solid transparent;
  font-size: 13.5px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.btn [data-icon] { width: 15px; height: 15px; flex: none; }
.btn.small { padding: 7px 12px; font-size: 12.5px; border-radius: 10px; }
.btn.wide { width: 100%; }
.btn.ghost { color: var(--text); background: rgba(255,255,255,.05); border-color: rgba(182,137,255,.28); }
.btn.ghost:hover { background: rgba(123,44,255,.16); border-color: rgba(182,137,255,.55); }
.btn.primary, .send {
  color: #fff; background: linear-gradient(180deg, #8f4dff, #6a22e6); border: 0;
  box-shadow: 0 8px 30px rgba(123,44,255,.35), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn.primary:hover, .send:hover { transform: translateY(-1px); box-shadow: 0 10px 40px rgba(123,44,255,.55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn.danger:hover { background: rgba(208,59,59,.18); border-color: rgba(255,143,177,.5); }
.send {
  width: 100%; padding: 13px; border-radius: 12px; font-size: 14.5px; font-weight: 500; letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, opacity .25s ease;
}
.send:disabled { opacity: .6; transform: none; cursor: default; }
.form-msg { min-height: 18px; margin: 8px 0 0; font-size: 12.5px; color: var(--bad-soft); }
.form-msg.ok { color: var(--good-soft); }

/* bilgilendirme kutuları (kurulum gerekli, bağlanıyor, hata) */
.banner {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 16px;
  background: rgba(123,44,255,.08); border: 1px solid rgba(182,137,255,.24);
  font-size: 13px; line-height: 1.55; color: var(--muted);
}
.banner b { color: var(--text); font-weight: 500; }
.banner .b-ico { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; color: var(--accent); background: rgba(123,44,255,.2); }
.banner p { margin: 0 0 10px; }
.banner.error { background: rgba(208,59,59,.08); border-color: rgba(255,143,177,.28); }
.banner.error .b-ico { color: var(--bad-soft); background: rgba(208,59,59,.18); }
.banner .btn { margin-top: 2px; }
.loading-line { position: relative; width: 100%; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(182,137,255,.15); margin: 6px 0 4px; }
.loading-line::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(90deg, transparent, #c9a2ff, transparent);
  animation: load 1.1s ease-in-out infinite;
}
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------------- mail listesi ---------------- */
.mail-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.mail-item {
  position: relative; display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px 12px 12px; border-radius: 14px; cursor: pointer;
  background: rgba(255,255,255,.025); border: 1px solid rgba(182,137,255,.1);
  transition: transform .4s var(--ease), border-color .3s ease, background .3s ease, box-shadow .4s ease, opacity .4s ease;
  animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 28ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.mail-item:hover { transform: translateY(-2px); border-color: rgba(182,137,255,.32); background: rgba(123,44,255,.07); box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.mail-item.unread { background: rgba(123,44,255,.08); border-color: rgba(182,137,255,.24); }
.mail-item.unread::before {
  content: ''; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #c9a2ff, #7b2cff); box-shadow: 0 0 10px rgba(182,137,255,.7);
}
.avatar {
  flex: none; width: 38px; height: 38px; border-radius: 50%; padding: 2px;
  background: linear-gradient(140deg, #b689ff, #6a22e6 60%, #2a0f5c);
  box-shadow: 0 0 16px rgba(123,44,255,.35);
}
.avatar span {
  width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center;
  background: #150d26; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 15px; font-weight: 600; color: var(--accent-2);
}
.avatar.form { background: linear-gradient(140deg, #ff8fb1, #8f4dff 70%); }
.mi-main { flex: 1; min-width: 0; }
.mi-top { display: flex; align-items: baseline; gap: 8px; }
.mi-from { flex: 1; min-width: 0; font-weight: 500; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.unread .mi-from { color: var(--text); }
.mi-time { flex: none; font-size: 11.5px; color: var(--faint); }
.unread .mi-time { color: var(--accent); }
.mi-subject { margin-top: 2px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.unread .mi-subject { color: var(--text); font-weight: 500; }
.mi-preview { margin-top: 3px; font-size: 12px; font-weight: 300; line-height: 1.45; color: var(--faint); overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mi-tags { display: flex; gap: 6px; margin-top: 7px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .03em; font-style: normal;
  color: var(--accent-2); background: rgba(123,44,255,.2); border: 1px solid rgba(182,137,255,.28);
}
.tag > span { flex: none; width: 11px; height: 11px; }
.tag.pink { color: #ffd3e1; background: rgba(255,143,177,.12); border-color: rgba(255,143,177,.3); }
.tag.spam { color: #ffd6d6; background: rgba(208,59,59,.16); border-color: rgba(255,120,120,.38); }
#md-spam-banner { margin-top: 12px; }
#md-spam-banner .banner p, #mail-spam-banner .banner p { margin-bottom: 8px; }
#mail-spam-banner .banner p:last-child { margin-bottom: 0; }
.tag.plain { color: var(--muted); background: rgba(255,255,255,.04); border-color: rgba(182,137,255,.16); }
.empty { padding: 34px 10px; text-align: center; color: var(--faint); font-size: 13px; font-weight: 300; }
.empty .e-ico { width: 44px; height: 44px; margin: 0 auto 12px; color: var(--accent); opacity: .7; }

/* açık mail */
.detail {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; overflow: clip;
  background:
    radial-gradient(120% 40% at 50% -5%, rgba(123,44,255,.18), rgba(123,44,255,0) 60%),
    var(--surface);
  transform: translateX(104%); opacity: .6;
  transition: transform .5s var(--ease), opacity .4s ease;
}
.detail.open { transform: none; opacity: 1; }
.detail-bar { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid rgba(182,137,255,.1); }
.detail-scroll { flex: 1; overflow-y: auto; padding: 16px 16px 20px; user-select: text; }
.md-subject { margin: 0 0 14px; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 21px; font-weight: 600; line-height: 1.2; letter-spacing: -.015em; }
.md-from { display: flex; align-items: center; gap: 11px; }
.md-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.md-who b { font-weight: 500; font-size: 14px; }
.md-who span { font-size: 12px; font-weight: 300; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.md-from time { flex: none; align-self: flex-start; font-size: 11.5px; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips:empty { display: none; }
.md-body {
  margin-top: 14px; padding: 14px 16px; border-radius: 14px;
  background: rgba(0,0,0,.24); border: 1px solid rgba(182,137,255,.1);
  white-space: pre-wrap; word-break: break-word; font-size: 13.5px; font-weight: 300; line-height: 1.65; color: #dcd2f3;
}
.reply { margin-top: 16px; }
.field > span .to { margin-left: 6px; font-style: normal; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.field > span .to:not(:empty)::before { content: '→ '; color: var(--accent); }

/* form alanları: sitedeki iletişim formuyla aynı */
.field { display: block; margin-bottom: 12px; }
.field > span { display: block; margin-bottom: 6px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
@property --spot { syntax: '<number>'; inherits: false; initial-value: 0; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 12px;
  background-color: rgba(255,255,255,.04);
  background-image: radial-gradient(220px circle at var(--mx, 50%) var(--my, 0%), rgba(182,137,255, calc(.14 * var(--spot))), rgba(182,137,255,0) 65%);
  border: 1px solid rgba(182,137,255,.18);
  color: var(--text); font: inherit; font-size: 14px; outline: none; resize: none; user-select: text;
  transition: border-color .35s ease, background-color .35s ease, box-shadow .45s ease, transform .45s var(--ease), --spot .4s ease;
}
.field textarea { min-height: 120px; line-height: 1.55; }
.field input:hover, .field textarea:hover {
  transform: translateY(-1px); --spot: 1;
  border-color: rgba(182,137,255,.34); background-color: rgba(123,44,255,.06);
}
.field input:focus, .field textarea:focus { border-color: rgba(182,137,255,.6); background-color: rgba(123,44,255,.08); box-shadow: 0 0 0 4px rgba(123,44,255,.15); }
.field input::placeholder, .field textarea::placeholder { color: rgba(226,216,255,.3); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(.8) sepia(1) hue-rotate(220deg); cursor: pointer; }
.row2 { display: flex; gap: 10px; }
.row2 .field { flex: 1; min-width: 0; }
.row2 .field.narrow { flex: 0 0 82px; }

/* gönderildi */
.sent-done { text-align: center; padding: 20px 0 6px; animation: pop .6s var(--ease); }
.sent-done .check {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%; padding: 15px; color: #fff;
  background: radial-gradient(circle at 50% 35%, #a874ff, #6a22e6); box-shadow: 0 0 40px rgba(123,44,255,.6);
}
.sent-done p { margin: 0; color: var(--muted); font-size: 13px; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* ---------------- sayı kutuları ---------------- */
.tiles { display: grid; gap: 10px; }
.tiles.two { grid-template-columns: 1fr 1fr; }
.tiles.four { grid-template-columns: 1fr 1fr; }
.tile { display: flex; flex-direction: column; gap: 2px; padding: 13px 14px; }
.t-label { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.t-value { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 27px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.t-sub { font-size: 11.5px; font-weight: 300; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-sub .up { color: var(--good-soft); font-weight: 500; }
.live-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--good-soft);
  box-shadow: 0 0 0 0 rgba(67,209,103,.6); animation: ping 2s ease-out infinite;
}
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(67,209,103,.55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(67,209,103,0); } }

.live-hero { padding: 18px 18px 16px; }
.hero-num {
  margin: 6px 0 0; font-family: 'Space Grotesk', Inter, sans-serif; font-weight: 600; font-size: 56px; line-height: 1;
  letter-spacing: -.035em;
  background: linear-gradient(180deg, #fff 20%, #c9a2ff); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(123,44,255,.45));
}
.live-hero::after {
  content: ''; position: absolute; right: -40px; top: -60px; width: 220px; height: 220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(123,44,255,.32), rgba(123,44,255,0) 65%);
}

/* ---------------- Discord ---------------- */
.dc-hero { display: flex; align-items: center; gap: 13px; }
.dc-hero h3 { margin: 3px 0 0; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 18px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-icon {
  flex: none; width: 50px; height: 50px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(80% 80% at 50% 35%, rgba(123,44,255,.45), rgba(123,44,255,0) 70%), #0b0714;
  box-shadow: 0 0 0 2px #b689ff, 0 0 0 6px rgba(123,44,255,.22), 0 0 24px rgba(123,44,255,.5);
}
.dc-icon img { width: 100%; height: 100%; object-fit: cover; }
.dc-icon [data-icon] { width: 26px; height: 26px; color: #fff; }

/* ---------------- grafikler ---------------- */
.chart-card { padding-bottom: 10px; }
.chart-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.chart { position: relative; height: 150px; }
.chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .grid { stroke: rgba(182,137,255,.1); stroke-width: 1; shape-rendering: crispEdges; }
.chart .axis { fill: var(--faint); font-size: 10px; font-family: Inter, sans-serif; }
.chart .bar { fill: rgba(182,137,255,.55); transition: fill .2s ease; }
.chart .bar.today { fill: #b689ff; }
.chart .bar.hot { fill: #d9c2ff; }
.chart.hovering .bar:not(.hot) { fill: rgba(182,137,255,.32); }
.chart .line { fill: none; stroke: #b689ff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .area { fill: rgba(182,137,255,.1); }
.chart .dot { fill: #b689ff; stroke: var(--surface); stroke-width: 2; }
.chart .cross { stroke: rgba(226,216,255,.35); stroke-width: 1; shape-rendering: crispEdges; }
.chart .hit { fill: transparent; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 0 20px; font-size: 12.5px; font-weight: 300; color: var(--faint); }
.seg { display: flex; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.seg button { padding: 4px 10px; border: 0; border-radius: 7px; background: none; color: var(--muted); font-size: 11.5px; font-weight: 500; transition: background .2s ease, color .2s ease; }
.seg button[aria-pressed="true"] { background: rgba(123,44,255,.3); color: #fff; }

.tip {
  position: fixed; z-index: 50; pointer-events: none; padding: 8px 11px; border-radius: 10px; min-width: 90px;
  background: rgba(20,14,34,.96); border: 1px solid rgba(182,137,255,.3);
  box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 24px rgba(123,44,255,.18);
  font-size: 12px; line-height: 1.45; color: var(--text);
  opacity: 0; transform: translateY(4px); transition: opacity .15s ease, transform .2s ease;
}
.tip.on { opacity: 1; transform: none; }
.tip b { font-weight: 600; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 14px; }
.tip small { display: block; color: var(--muted); font-size: 11px; }

/* ---------------- durum ---------------- */
.st-hero { display: flex; align-items: center; gap: 14px; padding: 16px; }
.st-hero .sec-sub { white-space: normal; line-height: 1.45; }
.st-hero h3 { margin: 0; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 21px; font-weight: 600; letter-spacing: -.015em; }
.orb { --c: rgba(226,216,255,.5); --g: rgba(226,216,255,.15); position: relative; flex: none; width: 46px; height: 46px; display: grid; place-items: center; }
.orb::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--g); animation: breathe 2.6s ease-in-out infinite; }
.orb i { position: relative; width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: 0 0 18px var(--c), 0 0 0 4px rgba(14,10,24,.6); }
@keyframes breathe { 50% { transform: scale(.72); opacity: .55; } }
.st-hero.good .orb { --c: var(--good-soft); --g: rgba(67,209,103,.18); }
.st-hero.warn .orb { --c: var(--warn); --g: rgba(250,178,25,.16); }
.st-hero.bad .orb { --c: var(--bad); --g: rgba(208,59,59,.22); }
.st-hero.bad { border-color: rgba(255,143,177,.35); background: rgba(208,59,59,.07); }

.strip { display: flex; gap: 2px; height: 28px; }
.strip i { flex: 1; border-radius: 3px; background: rgba(255,255,255,.06); transition: transform .2s ease, filter .2s ease; }
.strip i.good { background: var(--good); }
.strip i.warn { background: var(--warn); }
.strip i.bad { background: var(--bad); }
.strip i:hover { transform: scaleY(1.15); filter: brightness(1.25); }
.strip-axis { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: var(--faint); }

/* hazır yanıtlar: yanıt kutusunun üstü */
.tpl { margin-bottom: 12px; }
.tpl-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.tpl-title { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.tpl-note { flex: 1; min-width: 0; font-size: 11.5px; font-weight: 300; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tpl-chip {
  padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 500;
  color: var(--accent-2); background: rgba(123,44,255,.14); border: 1px solid rgba(182,137,255,.3);
  transition: background .2s ease, border-color .2s ease, transform .25s var(--ease);
}
.tpl-chip:hover { background: rgba(123,44,255,.3); border-color: rgba(182,137,255,.6); transform: translateY(-1px); }
.tpl-chip[aria-pressed="true"] { background: linear-gradient(180deg, rgba(143,77,255,.55), rgba(106,34,230,.45)); color: #fff; border-color: rgba(201,162,255,.7); }
/* hazır yanıtlar: ayarlardaki düzenleyici */
.set-help { margin: -2px 0 12px; font-size: 12.5px; font-weight: 300; line-height: 1.55; color: var(--muted); }
.tpl-edit { margin: 0 0 8px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(182,137,255,.14); }
.tpl-edit[open] { border-color: rgba(182,137,255,.3); background: rgba(123,44,255,.05); }
.tpl-edit > summary { display: flex; padding: 11px 14px; color: var(--text); font-weight: 500; font-size: 13px; }
.tpl-edit > summary span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tpl-edit > div { padding: 2px 14px 12px; }
.tpl-edit .field textarea { min-height: 110px; font-size: 13px; }
.tpl-edit .tpl-del { margin-top: -2px; }
#tpl-add { margin-bottom: 6px; }

/* Steam: oyun listesi (sitedeki oyun penceresinin dar ekrandaki listesiyle aynı) */
.sw-games-wrap .kicker { margin: 0 2px 10px; }
.sw-games { list-style: none; margin: -4px; padding: 4px 4px 6px; display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; }
.sw-games::-webkit-scrollbar { display: none; }
.sw-games li { flex: none; }
.g-item {
  display: flex; align-items: center; gap: 11px; padding: 0; border: 0; border-radius: 999px;
  background: none; color: var(--faint); font: inherit; text-align: left; transition: color .35s ease;
}
.g-item-art {
  flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(80% 80% at 50% 35%, rgba(123,44,255,.45), rgba(123,44,255,0) 70%), #0b0714;
  box-shadow: 0 0 0 2px rgba(182,137,255,.22), 0 6px 18px rgba(0,0,0,.45);
  filter: saturate(.35) brightness(.45);   /* seçili olmayan oyun koyu */
  transition: transform .45s var(--ease), box-shadow .35s ease, filter .35s ease;
}
.g-item-art img { width: 100%; height: 100%; object-fit: cover; }
.g-item-initial { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 19px; font-weight: 600; color: var(--accent-2); }
.g-item-name { font-family: 'Space Grotesk', Inter, sans-serif; font-size: 15px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; white-space: nowrap; }
.g-item:hover { color: var(--text); }
.g-item:hover .g-item-art { transform: scale(1.07); filter: none; box-shadow: 0 0 0 2px rgba(182,137,255,.55), 0 8px 22px rgba(0,0,0,.45), 0 0 18px rgba(123,44,255,.35); }
.g-item[aria-current] { color: #fff; }
.g-item[aria-current] .g-item-art { filter: none; box-shadow: 0 0 0 2px #b689ff, 0 0 0 6px rgba(123,44,255,.22), 0 0 24px rgba(123,44,255,.6); }
.dc-icon .fallback-ico { width: 26px; height: 26px; color: #fff; }

/* açılır seçim kutusu (ülke filtresi) */
.select {
  position: relative; display: inline-flex; align-items: center; min-width: 0;
  border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(182,137,255,.28);
  transition: background .25s ease, border-color .25s ease;
}
.select:hover, .select:focus-within { background: rgba(123,44,255,.14); border-color: rgba(182,137,255,.55); }
.select::after {
  content: ''; position: absolute; right: 11px; top: 50%; width: 6px; height: 6px; margin-top: -5px; pointer-events: none;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg);
}
.select select {
  appearance: none; -webkit-appearance: none; max-width: 210px; padding: 7px 30px 7px 12px; border: 0; background: none;
  color: var(--text); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; outline: none;
}
.select option { background: #140e22; color: var(--text); }
/* seçili oyunun satırı: ülke filtresi · mağaza sayfası durumu · Steam'i aç */
.sw-bar { display: flex; align-items: center; gap: 8px; }
.sw-bar .icon-btn { margin-left: auto; }
.sw-bar .select select { width: 138px; text-overflow: ellipsis; }   /* en uzun ülke adına göre genişlemesin */
.sw-state {
  display: inline-flex; align-items: center; gap: 7px; min-width: 0; padding: 6px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden;
  background: rgba(255,255,255,.04); border: 1px solid rgba(182,137,255,.16);
}
.sw-state span { overflow: hidden; text-overflow: ellipsis; }
.sw-state i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.sw-state.good i { background: var(--good-soft); box-shadow: 0 0 8px rgba(67,209,103,.6); }
.sw-state.warn i { background: var(--warn); }
.sw-bar.filtered .select { background: rgba(123,44,255,.22); border-color: rgba(201,162,255,.6); }

/* açılır kutular: sitedeki indirilebilirler kutusuyla aynı */
.drop {
  border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,.03); border: 1px solid rgba(182,137,255,.2);
  transition: border-color .3s ease, background .3s ease;
}
.drop:hover, .drop.open { border-color: rgba(182,137,255,.42); background: rgba(123,44,255,.06); }
.drop-toggle {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px;
  border: 0; background: none; color: var(--text); font: inherit; font-size: 14px; font-weight: 500; text-align: left;
}
.drop-title { flex: 1; }
.drop-count {
  min-width: 22px; padding: 2px 8px; border-radius: 999px; text-align: center;
  font-size: 11px; font-weight: 500; color: #e5d6ff; background: rgba(123,44,255,.22); border: 1px solid rgba(182,137,255,.3);
}
.drop-toggle [data-icon] { flex: none; width: 18px; height: 18px; transition: transform .4s var(--ease); }
.drop.open .drop-toggle [data-icon] { transform: rotate(180deg); }
.drop-pane { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.drop.open .drop-pane { grid-template-rows: 1fr; }
.drop-inner { overflow: hidden; }
.drop-inner > * { margin: 0 12px 12px; }
.drop-inner > :first-child { margin-top: 2px; }
.sw-countries-card[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .drop-pane, .drop-toggle [data-icon] { transition: none; } }

/* Steam */
#steam-body > * + * { margin-top: 12px; }
#steam-body[hidden] + * { margin-top: 0; }
.dc-hero .sec-sub { margin-top: 2px; white-space: normal; line-height: 1.4; }
.field.app-id input { max-width: 160px; }
.countries { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.countries li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: center; font-size: 12.5px; }
.countries .c-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text); }
.countries .c-num { color: var(--muted); font-variant-numeric: tabular-nums; }
.countries .c-bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: rgba(182,137,255,.1); overflow: hidden; }
.countries .c-bar i { display: block; height: 100%; border-radius: 999px; background: #b689ff; }

/* Discord botu: yeni üyeler, duyuru */
#bot-body > * + *, #google-body > * + * { margin-top: 12px; }
#bot-banner:empty { display: none; }
.members-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.members-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.members-list img { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #1a1230; box-shadow: 0 0 0 2px rgba(182,137,255,.22); }
.members-list .m-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.members-list .m-when { flex: none; font-size: 11.5px; color: var(--faint); }
.select.wide { display: flex; }
.select.wide select { width: 100%; max-width: none; padding-top: 10px; padding-bottom: 10px; }
#bot-form .field > span .to::before { content: none; }
.bot-confirm { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; padding: 10px 12px; border-radius: 12px; font-size: 12.5px; background: rgba(250,178,25,.08); border: 1px solid rgba(250,178,25,.35); }
.bot-confirm span { flex: 1 1 100%; color: var(--text); }

/* yayın kartı */
.pub-line { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); }
.pub-line + .pub-line { margin-top: 8px; }
.pub-line b { color: var(--text); font-weight: 500; }
.pub-line .lvl { margin-top: 1px; }
.pub-files { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.pub-files .tag { font-weight: 400; letter-spacing: 0; }
.pub-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pub-actions .btn [data-icon] { width: 15px; height: 15px; }
.checks { list-style: none; margin: 0; padding: 4px 14px; }
.check { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid rgba(182,137,255,.08); }
.check:last-child { border-bottom: 0; }
.lvl { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.1); }
.lvl.good { background: rgba(12,163,12,.85); }
.lvl.warn { background: rgba(250,178,25,.9); color: #241800; }
.lvl.bad { background: var(--bad); }
.lvl.unknown { color: var(--muted); }
.c-main { flex: 1; min-width: 0; }
.c-label { font-size: 13px; font-weight: 500; }
.c-detail { font-size: 11.5px; font-weight: 300; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-value { flex: none; max-width: 48%; text-align: right; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------------- bağlantılar ---------------- */
.link-group + .link-group { margin-top: 18px; }
.link-group .kicker { margin: 0 2px 10px; }
.link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.link {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 9px; min-width: 0;
  padding: 10px 10px; border-radius: 14px; text-align: left;
  background: rgba(255,255,255,.035); border: 1px solid rgba(182,137,255,.16); color: var(--text);
  transition: transform .4s var(--ease), border-color .3s ease, background .3s ease, box-shadow .4s ease;
}
.link:hover { transform: translateY(-2px); background: rgba(123,44,255,.12); border-color: rgba(182,137,255,.45); box-shadow: 0 10px 24px rgba(0,0,0,.25), 0 0 20px rgba(123,44,255,.15); }
.l-ico {
  flex: none; width: 32px; height: 32px; padding: 7px; border-radius: 10px; color: #fff;
  background: linear-gradient(140deg, rgba(182,137,255,.5), rgba(106,34,230,.55)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.l-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.l-text b { font-size: 12.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-text small { font-size: 10.5px; font-weight: 300; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link .l-go { position: absolute; top: 7px; right: 7px; width: 11px; height: 11px; color: var(--faint); opacity: 0; transform: translate(-3px, 3px); transition: opacity .25s ease, transform .3s var(--ease); }
.link:hover .l-go { opacity: 1; transform: none; color: var(--accent); }

/* ---------------- ayarlar ---------------- */
.sheet {
  position: absolute; inset: 0; z-index: 20; display: flex; align-items: flex-end; overflow: clip;
  background: rgba(0,0,0,.5); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility 0s linear .35s;
}
.sheet.open { opacity: 1; visibility: visible; transition: opacity .35s ease; }
.sheet-card {
  width: 100%; height: calc(100% - 44px); display: flex; flex-direction: column; overflow: clip;
  border-radius: 22px 22px 0 0;
  background: radial-gradient(120% 50% at 50% -10%, rgba(123,44,255,.28), rgba(123,44,255,0) 60%), rgba(14,10,24,.98);
  border: 1px solid rgba(182,137,255,.22); border-bottom: 0;
  box-shadow: 0 -20px 60px rgba(0,0,0,.5), 0 0 50px rgba(123,44,255,.15);
  transform: translateY(40px); filter: blur(6px); opacity: 0;
  transition: transform .55s var(--ease), filter .45s ease, opacity .4s ease;
}
.sheet.open .sheet-card { transform: none; filter: none; opacity: 1; }
.sheet-head { flex: none; display: flex; align-items: center; padding: 18px 16px 8px 20px; }
.sheet-head h2 { flex: 1; margin: 0; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.sheet-body { position: relative; flex: 1; overflow-y: auto; padding: 4px 20px 10px; }
/* kayıtlı şifre / token: alan boş görünse de kayıt yerinde */
.field > span .saved { margin-left: 6px; font-style: normal; font-weight: 500; letter-spacing: .04em; text-transform: none; color: var(--good-soft); }
.field.has-secret input::placeholder { color: rgba(226,216,255,.55); letter-spacing: .02em; }
.sheet-foot { flex: none; padding: 10px 20px 16px; border-top: 1px solid rgba(182,137,255,.1); }
.sheet-foot .form-msg { margin: 0 0 8px; min-height: 0; }
.sheet-foot .form-msg:empty { display: none; }
.set-sec { padding: 14px 0 6px; border-bottom: 1px solid rgba(182,137,255,.1); }
.set-sec:last-child { border-bottom: 0; }
.set-sec > .kicker { margin-bottom: 12px; }
details { margin: -4px 0 12px; font-size: 12.5px; color: var(--muted); }
details summary { cursor: pointer; color: var(--accent); font-weight: 500; list-style: none; display: inline-flex; align-items: center; gap: 6px; }
details summary::before { content: '›'; display: inline-block; transition: transform .25s ease; font-size: 15px; line-height: 1; }
details[open] summary::before { transform: rotate(90deg); }
details summary::-webkit-details-marker { display: none; }
details ol { margin: 10px 0 6px; padding-left: 20px; line-height: 1.6; }
details p { margin: 6px 0 0; line-height: 1.55; font-weight: 300; }
details.help { padding: 0 2px; }
details.adv[open] { margin-bottom: 4px; }
details.adv > .row2:first-of-type { margin-top: 10px; }
b { font-weight: 500; color: var(--text); }

.toggle { display: flex; align-items: center; gap: 12px; padding: 7px 0; cursor: pointer; font-size: 13.5px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle i {
  position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(182,137,255,.25);
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.toggle i::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--muted); transition: transform .35s var(--ease), background .3s ease;
}
.toggle input:checked + i { background: linear-gradient(180deg, #8f4dff, #6a22e6); border-color: rgba(201,162,255,.6); box-shadow: 0 0 14px rgba(123,44,255,.45); }
.toggle input:checked + i::after { transform: translateX(16px); background: #fff; }
.toggle input:focus-visible + i { outline: 2px solid rgba(182,137,255,.8); outline-offset: 2px; }
.toggle small { color: var(--faint); font-weight: 300; }
.toggle + .field { margin-top: 12px; }
.daily { display: flex; align-items: flex-end; gap: 10px; margin: 4px 0 4px 50px; }
.daily .field { flex: 0 0 82px; margin-bottom: 0; }
.daily .btn { margin-bottom: 2px; }
.set-tools { display: flex; align-items: center; gap: 8px; margin: 6px 0 8px; }
.ver { font-size: 11px; color: var(--faint); }

.toast {
  position: absolute; left: 50%; bottom: 18px; z-index: 60; transform: translate(-50%, 16px);
  padding: 10px 16px; border-radius: 12px; font-size: 13px; white-space: nowrap;
  background: rgba(20,14,34,.96); border: 1px solid rgba(182,137,255,.35); box-shadow: 0 12px 30px rgba(0,0,0,.5), 0 0 30px rgba(123,44,255,.25);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, transform .4s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
.field > span i[lang="en"] { font-style: normal; }

/* Discord botu: Gateway bağlıyken "bot çevrimiçi" */
#bot-humans .live-dot { width: 7px; height: 7px; margin: 0 5px 0 1px; vertical-align: 1px; }
.pub-confirm { margin: 12px 0 0; }
#pub-msg:not(:empty) { margin-top: 12px; }

/* Ayarlar → Telefon: kurulum için gerekenler ve telefon ekleme kodu */
.m-checks { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.m-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; }
.m-checks .lvl { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.m-checks .lvl.good { color: var(--good-soft); }
.m-checks .lvl.warn { color: var(--warn); }
.m-checks b { display: block; font-weight: 500; color: var(--text); }
.m-checks small { display: block; color: var(--muted); font-size: 11.5px; }
.m-code { margin: 4px 0 14px; padding: 14px 16px; border-radius: 14px; background: rgba(123,44,255,.12); border: 1px solid rgba(182,137,255,.35); }
.m-code-label { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
#m-code-value { display: block; margin: 6px 0 10px; font-family: 'Space Grotesk', Inter, sans-serif; font-size: 30px; font-weight: 600; letter-spacing: .14em; user-select: all; }
.m-code ol { margin: 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.m-code ol b { color: var(--text); font-weight: 500; }


/* Duyuru: fotoğraf ve video ekleme (seçici + küçük önizlemeler) */
.bot-add {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer;
  border-radius: 14px; border: 1px dashed rgba(182,137,255,.45); background: rgba(123,44,255,.06);
  transition: background .2s ease, border-color .2s ease;
}
.bot-add:hover, .bot-add.over { background: rgba(123,44,255,.14); border-color: rgba(182,137,255,.8); }
.bot-add input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bot-add-ico { width: 22px; height: 22px; flex: none; color: var(--accent); }
.bot-add b { display: block; font-weight: 500; color: var(--text); font-size: 13px; letter-spacing: 0; text-transform: none; }
.bot-add small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.bot-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; margin-bottom: 8px; }
.bot-files:empty { display: none; }
.bot-file { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.bot-file img, .bot-file video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bot-file.big { border-color: var(--bad); }
.bot-file .bf-meta {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 4px; font-size: 10px; color: #fff; text-align: left;
  background: linear-gradient(transparent, rgba(0,0,0,.75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bot-file.big .bf-meta { color: var(--bad-soft); }
.bot-file .bf-kind { position: absolute; left: 5px; top: 5px; width: 18px; height: 18px; padding: 2px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; }
.bot-file .bf-x {
  position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; padding: 5px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff; cursor: pointer;
}
.bot-file .bf-x:hover { background: rgba(208,59,59,.85); }

/* Ayarlar: her bölüm açılır kutu (sitedeki indirilebilirler gibi) */
.sheet-body .set-sec.drop { padding: 0; margin: 0 0 10px; border: 1px solid rgba(182,137,255,.2); }
.sheet-body .set-sec.drop:first-of-type { margin-top: 8px; }
.sheet-body .set-sec.drop:last-child { border-bottom: 1px solid rgba(182,137,255,.2); }
.sheet-body .set-sec.drop.open, .sheet-body .set-sec.drop:hover { border-color: rgba(182,137,255,.42); }
.drop-toggle .st-ico { width: 18px; height: 18px; color: var(--accent); }
.drop.open .drop-toggle .st-ico { transform: none; }
.drop-inner > .set-sub { margin-top: 8px; margin-bottom: 8px; font-size: 10.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }

/* Açılır kutuların içi: her öğe kutunun kenarlarından eşit uzak durur.
   (Düğme satırı, liste gibi kendi kenar boşluğu tanımlı öğeler bunu ezmesin diye kural daha güçlü.) */
.drop .drop-inner > * { margin-left: 16px; margin-right: 16px; }
.drop .drop-inner > :first-child { margin-top: 2px; }
.drop .drop-inner > :last-child { margin-bottom: 16px; }
.drop .drop-inner > .daily { margin-left: 66px; }
.drop .drop-inner > .drop-sub { margin-top: 0; margin-bottom: 12px; white-space: normal; }
.drop .drop-inner > .set-tools { flex-wrap: wrap; margin-top: 4px; margin-bottom: 14px; }
.drop .drop-inner > .countries, .drop .drop-inner > .members-list, .drop .drop-inner > .m-checks { margin-bottom: 14px; }
/* başlığa tıklayınca çıkan odak çerçevesi başlığın içinde kalsın (alttaki yazının üstüne taşmasın) */
.drop-toggle:focus-visible { outline-offset: -3px; border-radius: 14px; }
