/* KRX — The Strongest Battlegrounds klan sitesi
   Tema: manga "impact" — koyu zemin, eğik başlıklar, sert gölgeler.
   Rol renkleri: Member turuncu · VIP mavi · Yetkili sarı */

/* ------------------------------------------------------------ fontlar */
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-latin-ext-700-italic.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 700; font-display: swap; src: url('/fonts/barlow-condensed-latin-700-italic.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: 'Barlow Condensed'; font-style: italic; font-weight: 800; font-display: swap; src: url('/fonts/barlow-condensed-latin-ext-800-italic.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: italic; font-weight: 800; font-display: swap; src: url('/fonts/barlow-condensed-latin-800-italic.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: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/barlow-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/barlow-latin-400-normal.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: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/barlow-latin-ext-500-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/barlow-latin-500-normal.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: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-latin-ext-600-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/barlow-latin-600-normal.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: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/barlow-latin-700-normal.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; }

/* ------------------------------------------------------------ temel */
:root {
  --bg: #09090b;
  --bg-2: #0d0d11;
  --panel: #14141a;
  --panel-2: #1c1c25;
  --line: #2a2a35;
  --line-2: #3d3d4c;
  --text: #f4f1ea;
  --muted: #a3a2ad;
  --red: #ff2d3f;
  --red-deep: #7a0c19;
  --orange: #ff8a1f;
  --blue: #3fa9ff;
  --yellow: #ffd23f;
  --green: #3ddc84;
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-emoji: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  --wrap: 1120px;
  --topbar: 62px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--topbar) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--font-body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before {
  /* köşede hafif manga noktaları */
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 1.1px, transparent 1.5px) 0 0 / 13px 13px;
  -webkit-mask-image: linear-gradient(215deg, #000 0%, transparent 38%);
  mask-image: linear-gradient(215deg, #000 0%, transparent 38%);
  pointer-events: none;
}
h1, h2, h3, p, ul, ol, fieldset, pre { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: #fff; color: #000; font-weight: 700; }
.skip-link:focus { top: 12px; }
.noscript { padding: 40px 20px; text-align: center; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.link { color: var(--text); font-weight: 600; text-underline-offset: 3px; }
.link:hover { color: var(--red); }
.dot { color: var(--line-2); }
.tag-emoji { font-family: var(--font-emoji); font-style: normal; font-weight: 400; letter-spacing: 0; }

/* ------------------------------------------------------------ üst bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--topbar);
  background: rgba(9, 9, 11, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 28px; height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  display: inline-block;
  padding: 2px 12px 3px 9px;
  background: var(--red);
  color: #fff;
  font: italic 800 28px/1 var(--font-display);
  letter-spacing: 0.02em;
  transform: skewX(-10deg);
  box-shadow: 3px 3px 0 #000, 4px 4px 0 var(--line-2);
}
.logo-sub { font: 600 11px/1 var(--font-body); letter-spacing: 0.22em; color: var(--muted); }
.topnav { display: flex; gap: 4px; margin-right: auto; }
.topnav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: var(--topbar);
  padding: 0 12px;
  color: var(--muted);
  font: italic 700 18px/1 var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s;
}
.topnav-link .icon { display: none; }
.topnav-link:hover { color: var(--text); }
.topnav-link.is-active { color: var(--text); }
.topnav-link.is-active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; background: var(--red); transform: skewX(-30deg); }
.badge {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--red);
  color: #fff;
  font: 700 12px/1 var(--font-body);
  font-style: normal;
  border-radius: 10px;
  animation: pulse 1.8s ease-in-out infinite;
}
.topbar-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.panel-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; color: var(--yellow); font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid transparent; border-radius: 3px; }
.panel-link:hover, .panel-link.is-active { border-color: rgba(255, 210, 63, 0.45); background: rgba(255, 210, 63, 0.08); }
.userchip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; text-decoration: none; transition: border-color 0.15s; }
.userchip:hover { border-color: var(--line-2); }
.userchip-name { font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------ alt menü (mobil) */
.tabbar { display: none; }

/* ------------------------------------------------------------ sayfa */
.view { max-width: var(--wrap); margin: 0 auto; padding: 0 20px 72px; outline: none; }
.view > * { animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.view > *:nth-child(2) { animation-delay: 0.05s; }
.view > *:nth-child(3) { animation-delay: 0.1s; }
.view > *:nth-child(n + 4) { animation-delay: 0.15s; }

.kicker { display: flex; align-items: center; gap: 10px; color: var(--red); font: 700 12.5px/1.2 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; }
.kicker::before { content: ''; width: 22px; height: 3px; background: currentColor; transform: skewX(-30deg); flex: none; }
.kicker-blue { color: var(--blue); }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding: 44px 0 28px; }
.page-title { margin-top: 8px; font: italic 800 clamp(44px, 9vw, 76px) / 0.92 var(--font-display); letter-spacing: 0.005em; text-transform: uppercase; overflow-wrap: anywhere; }
.page-lead { max-width: 62ch; margin-top: 12px; color: var(--muted); font-size: 17px; }
.page-head-aside { flex: none; }
.section { padding: 56px 0 8px; }
.section-title { margin: 8px 0 24px; font: italic 800 clamp(34px, 6vw, 52px) / 0.95 var(--font-display); text-transform: uppercase; }
.section-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px; }
.footer { margin-top: 72px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }

/* ------------------------------------------------------------ butonlar */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: var(--red);
  color: #fff;
  font: italic 800 18px/1 var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transform: skewX(-10deg);
  box-shadow: 4px 4px 0 var(--red-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.btn > span { display: inline-flex; align-items: center; gap: 8px; transform: skewX(10deg); }
.btn:hover { transform: skewX(-10deg) translate(-1px, -2px); box-shadow: 6px 7px 0 var(--red-deep); }
.btn:active { transform: skewX(-10deg) translate(3px, 3px); box-shadow: 1px 1px 0 var(--red-deep); }
.btn:disabled, .btn.is-busy { opacity: 0.5; cursor: not-allowed; transform: skewX(-10deg); box-shadow: none; }
.btn.is-busy { cursor: progress; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 16px; box-shadow: 3px 3px 0 var(--red-deep); }
.btn-block { display: flex; width: calc(100% - 8px); margin-inline: 4px; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--text); }
.btn-ghost:hover { background: var(--text); color: #000; box-shadow: inset 0 0 0 2px var(--text), 5px 6px 0 var(--red); }
.btn-ghost:active { box-shadow: inset 0 0 0 2px var(--text); }
.btn-blue { background: var(--blue); color: #04121f; box-shadow: 4px 4px 0 #0e4270; }
.btn-blue:hover { box-shadow: 6px 7px 0 #0e4270; }
.btn-blue:active { box-shadow: 1px 1px 0 #0e4270; }
.btn-danger { background: var(--red); }
.btn-quiet { background: var(--panel-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-quiet:hover { background: #262632; box-shadow: inset 0 0 0 1px var(--muted); }
.btn-quiet:active { box-shadow: inset 0 0 0 1px var(--line-2); }
.icon-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; padding: 0; background: transparent; border: 1px solid transparent; border-radius: 3px; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--text); border-color: var(--line-2); background: var(--panel-2); }

/* ------------------------------------------------------------ rol etiketleri */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: color-mix(in srgb, currentColor 13%, transparent);
  font: italic 700 13.5px/1.3 var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-member { color: var(--orange); }
.tag-vip { color: var(--blue); }
.tag-staff { color: var(--yellow); }
.avatar {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
  border-radius: 4px;
  background: color-mix(in srgb, currentColor 16%, var(--bg));
  font: italic 800 17px/1 var(--font-display);
}
.av-member { color: var(--orange); }
.av-vip { color: var(--blue); }
.av-staff { color: var(--yellow); }
.avatar-sm { width: 24px; height: 24px; font-size: 14px; }
.avatar-lg { width: 64px; height: 64px; font-size: 38px; border-width: 2px; }
.userline { display: inline-flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: wrap; }
.username { font-weight: 600; overflow-wrap: anywhere; }
.stack { display: inline-flex; }
.stack .avatar + .avatar { margin-left: -7px; }

/* ------------------------------------------------------------ kartlar / formlar */
.card { padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; }
.card + .card { margin-top: 20px; }
.card-title { margin-bottom: 8px; font: italic 800 26px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
.card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.form { display: grid; gap: 16px; }
.form-intro { color: var(--muted); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 4px; }
.form-inline { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) auto; align-items: end; margin-top: 16px; padding-right: 6px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.field-label { color: var(--text); font-weight: 600; font-size: 14.5px; }
.field-hint { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.counter { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.input {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 3px;
  color: var(--text);
  font: 500 16px/1.4 var(--font-body);
  transition: border-color 0.15s, box-shadow 0.15s;
}
textarea.input { resize: vertical; min-height: 76px; }
select.input { padding-right: 34px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.input::placeholder { color: #6f6e7a; }
.input:hover { border-color: #5a5a6c; }
.input:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(255, 45, 63, 0.45); }
.input:disabled { opacity: 0.55; cursor: not-allowed; }
.input-sm { min-height: 38px; padding: 6px 30px 6px 10px; font-size: 14.5px; width: auto; }
.input-code { font: italic 800 24px/1.2 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; }
.input-code::placeholder { letter-spacing: 0.12em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -6px; }
.chip { padding: 6px 12px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 3px; color: var(--text); font: italic 700 15px/1.2 var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.chip:hover { border-color: var(--red); background: rgba(255, 45, 63, 0.12); }

.switch { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; cursor: pointer; width: fit-content; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch-track { position: relative; flex: none; width: 46px; height: 26px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 13px; transition: background 0.15s, border-color 0.15s; }
.switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--muted); border-radius: 50%; transition: transform 0.18s ease, background 0.15s; }
.switch input:checked + .switch-track { background: rgba(61, 220, 132, 0.2); border-color: var(--green); }
.switch input:checked + .switch-track::after { transform: translateX(20px); background: var(--green); }
.switch input:focus-visible + .switch-track { outline: 2px solid #fff; outline-offset: 2px; }

.segmented-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 8px; }
.segment { position: relative; cursor: pointer; }
.segment input { position: absolute; opacity: 0; inset: 0; }
.segment > span { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 8px 10px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 3px; font-weight: 600; transition: border-color 0.15s, background 0.15s; }
.segment:hover > span { border-color: #5a5a6c; }
.segment input:checked + span { border-color: var(--red); background: rgba(255, 45, 63, 0.14); box-shadow: inset 0 -3px 0 var(--red); }
.segment input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }

.tabs { display: flex; gap: 4px; margin-bottom: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; background: none; border: 0; color: var(--muted); font: italic 700 19px/1 var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap; cursor: pointer; }
.tab-btn:hover { color: var(--text); }
.tab-btn.is-active { color: var(--text); }
.tab-btn.is-active::after { content: ''; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; background: var(--red); transform: skewX(-30deg); }

.flag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; background: var(--panel-2); border-radius: 3px; color: var(--muted); font: 600 12px/1.3 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.flag .icon { width: 13px; height: 13px; }
.flag-pin { background: color-mix(in srgb, var(--accent, var(--blue)) 18%, transparent); color: var(--accent, var(--blue)); }
.flag-pin .icon { fill: currentColor; }
.flag-open { background: rgba(61, 220, 132, 0.14); color: var(--green); }
.flag-open::before, .flag-closed::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.flag-closed { color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.st-active { color: var(--green); }
.st-pending { color: var(--yellow); }
.st-banned { color: var(--red); }
.notice { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; padding: 14px 16px; background: rgba(255, 210, 63, 0.08); border: 1px solid rgba(255, 210, 63, 0.4); border-radius: 4px; color: var(--yellow); }
.upsell { display: flex; gap: 10px; align-items: center; margin-top: 14px; padding: 12px 14px; background: rgba(63, 169, 255, 0.09); border: 1px solid rgba(63, 169, 255, 0.4); border-radius: 4px; color: var(--blue); font-weight: 600; font-size: 14.5px; text-decoration: none; transition: background 0.15s; }
.upsell:hover { background: rgba(63, 169, 255, 0.17); }
.bullets { display: grid; gap: 10px; margin: 12px 0 18px; color: var(--muted); }
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 10px; height: 3px; background: var(--red); transform: skewX(-30deg); }
.checks { display: grid; gap: 8px; margin-top: 6px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks .icon { margin-top: 3px; color: var(--green); }

.empty { display: grid; justify-items: center; gap: 10px; padding: 56px 20px; text-align: center; background: var(--panel); border: 1px dashed var(--line-2); border-radius: 4px; }
.empty h3 { font: italic 800 30px/1 var(--font-display); text-transform: uppercase; letter-spacing: 0.02em; }
.empty p { max-width: 46ch; color: var(--muted); }
.empty-emoji { font: 400 44px/1 var(--font-emoji); }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 12px; }
.locked { padding-top: 48px; }

.countdown { font-variant-numeric: tabular-nums; }
.timebar { position: relative; display: block; height: 6px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.timebar-fill { display: block; height: 100%; background: var(--accent, var(--red)); transform-origin: left center; transition: transform 1s linear; }

/* ------------------------------------------------------------ ana sayfa */
.hero {
  position: relative;
  margin-inline: calc(50% - 50vw);
  padding: clamp(48px, 9vw, 104px) 20px clamp(44px, 7vw, 84px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 88% 0%, rgba(255, 45, 63, 0.34), transparent 58%),
    linear-gradient(180deg, #121218 0%, var(--bg) 100%);
}
.hero-lines {
  position: absolute;
  inset: -40%;
  background: repeating-conic-gradient(from 0deg at 72% 46%, rgba(255, 255, 255, 0.085) 0deg 0.6deg, transparent 0.6deg 4.5deg);
  -webkit-mask-image: radial-gradient(circle at 72% 46%, transparent 0 9%, #000 34%, transparent 62%);
  mask-image: radial-gradient(circle at 72% 46%, transparent 0 9%, #000 34%, transparent 62%);
  pointer-events: none;
}
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(-60deg, var(--red) 0 14px, transparent 14px 28px); opacity: 0.9; }
.hero-inner { position: relative; max-width: calc(var(--wrap) - 40px); margin: 0 auto; }
.hero-title {
  display: flex;
  margin: 10px 0 30px -0.03em;
  color: #fff;
  font: italic 800 clamp(128px, 31vw, 320px) / 0.78 var(--font-display);
  letter-spacing: -0.015em;
  text-shadow: 0.03em 0.03em 0 var(--red), 0.06em 0.06em 0 rgba(0, 0, 0, 0.55);
}
.hero-title span { display: inline-block; animation: slam 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both; }
.hero-title span:nth-child(2) { animation-delay: 0.09s; }
.hero-title span:nth-child(3) { animation-delay: 0.18s; }
.hero-lead { max-width: 30ch; font: 500 clamp(19px, 2.6vw, 24px) / 1.35 var(--font-body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; padding-left: 4px; }

.hero-dash { padding-top: clamp(36px, 6vw, 64px); }
.dash-title { margin: 8px 0 12px; font: italic 800 clamp(48px, 10vw, 96px) / 0.9 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; text-shadow: 0.035em 0.035em 0 var(--red); }
.dash-role { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14.5px; }
.dash-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; margin-top: 30px; }
.dash-card { padding: 20px; background: rgba(20, 20, 26, 0.94); border: 1px solid var(--line); border-radius: 4px; }
.dash-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.dash-card-head h2 { font: italic 800 22px/1 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; }
.dash-calls { display: grid; gap: 8px; }
.dash-call { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--orange); border-radius: 3px; text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.dash-call:hover { transform: translateX(3px); border-color: var(--line-2); border-left-color: var(--red); }
.dash-call.is-pinned { border-left-color: var(--blue); }
.dash-call-sit { font: italic 800 24px/1 var(--font-display); text-transform: uppercase; }
.dash-call-who { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--muted); font-size: 14.5px; overflow: hidden; white-space: nowrap; }
.dash-call-time { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 14px; }
.dash-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dash-stat { display: grid; gap: 4px; padding: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 3px; text-decoration: none; }
.dash-stat:hover { border-color: var(--line-2); }
.dash-stat-label { color: var(--muted); font-size: 13.5px; }
.dash-stat-value { font: italic 800 28px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; color: var(--green); }
.dash-stat-value .countdown { color: var(--text); }
.dash-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; padding-left: 4px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; text-decoration: none; transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s; }
.feature:hover { transform: translate(-3px, -3px); border-color: var(--red); box-shadow: 6px 6px 0 var(--red); }
.feature h3 { font: italic 800 30px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
.feature p { color: var(--muted); }
.feature-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; background: var(--red); color: #fff; font-size: 20px; transform: skewX(-10deg); box-shadow: 3px 3px 0 var(--red-deep); }
.feature-icon .icon { transform: skewX(10deg); }
.feature-go { margin-top: 4px; color: var(--text); font: italic 700 16px/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
.feature:hover .feature-go { color: var(--red); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 24px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 0 0 4px 4px; }
.step-no { display: block; margin-bottom: 10px; color: transparent; font: italic 800 60px/0.9 var(--font-display); -webkit-text-stroke: 1.5px var(--red); }
.step h3 { margin-bottom: 8px; font: italic 800 26px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
.step p { color: var(--muted); }

.vip-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 56px; padding: 28px; background: linear-gradient(100deg, rgba(63, 169, 255, 0.16), rgba(63, 169, 255, 0.03) 70%), var(--panel); border: 1px solid rgba(63, 169, 255, 0.45); border-radius: 4px; }
.vip-band .section-title { margin: 8px 0 10px; }
.vip-band p { max-width: 56ch; }
.vip-band .btn { margin-right: 8px; }

/* ------------------------------------------------------------ yardım çağrıları */
.help-layout { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 24px; align-items: start; }
.composer { position: sticky; top: calc(var(--topbar) + 18px); padding: 22px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 0 0 4px 4px; }
.composer-title { margin-bottom: 4px; font: italic 800 28px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
.composer-big { margin: 4px 0 10px; font: italic 800 68px/1 var(--font-display); letter-spacing: 0.01em; }
.composer .timebar { margin-bottom: 14px; }
.composer-summary { display: none; list-style: none; cursor: pointer; }
.composer-summary::-webkit-details-marker { display: none; }
.composer > .btn, .composer > div > .btn { margin-top: 16px; }
.calls { display: grid; gap: 16px; }
.call {
  --accent: var(--orange);
  position: relative;
  padding: 18px 20px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: 0 4px 4px 0;
  overflow: hidden;
  animation: rise 0.35s ease both;
}
.call-vip { --accent: var(--blue); }
.call-staff { --accent: var(--yellow); }
.call.is-pinned { background: linear-gradient(95deg, color-mix(in srgb, var(--accent) 13%, transparent), transparent 62%), var(--panel); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); border-left-color: var(--accent); }
.call.is-mine { outline: 1px dashed var(--line-2); outline-offset: 3px; }
.call-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.call-flags { display: flex; flex-wrap: wrap; gap: 6px; }
.call-timer { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 17px; }
.call-timer .icon { color: var(--accent); }
.call-situation { margin: 12px 0 4px; font: italic 800 clamp(44px, 9vw, 64px) / 0.9 var(--font-display); letter-spacing: 0.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.call-message { max-width: 60ch; font-size: 17.5px; overflow-wrap: anywhere; }
.call-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14.5px; }
.call-who .username { color: var(--text); }
.call-responders { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; font-size: 14.5px; }
.call-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; padding-left: 4px; }
.call > .timebar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; }

/* ------------------------------------------------------------ medya */
.cooldown-pill { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 4px; color: var(--muted); font-weight: 600; }
.cooldown-pill .countdown { color: var(--text); font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.gallery.is-empty { display: block; }
.gallery-more { display: flex; justify-content: center; margin-top: 30px; }
.shot { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s; }
.shot:hover { transform: translate(-2px, -2px); border-color: var(--line-2); box-shadow: 5px 5px 0 #000; }
.shot-open { display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: zoom-in; aspect-ratio: 4 / 3; overflow: hidden; }
.shot-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.shot:hover .shot-open img { transform: scale(1.04); }
.shot-open:focus-visible { outline-offset: -3px; }
.shot-meta { display: grid; gap: 6px; padding: 12px 14px 14px; }
.shot-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shot-caption { overflow-wrap: anywhere; }
.shot-time { color: var(--muted); font-size: 13px; }
.like { display: inline-flex; align-items: center; gap: 5px; flex: none; padding: 5px 10px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 3px; color: var(--muted); font-weight: 700; font-size: 14.5px; font-variant-numeric: tabular-nums; cursor: pointer; transition: color 0.15s, border-color 0.15s, background 0.15s; }
.like:hover { color: var(--orange); border-color: var(--orange); }
.like.is-liked { color: var(--orange); border-color: var(--orange); background: rgba(255, 138, 31, 0.14); }
.like.is-liked .icon { fill: currentColor; }
.lightbox-img { width: 100%; max-height: 70vh; object-fit: contain; background: #000; }
.lightbox .dialog-body { padding: 0; }
.lightbox-meta { display: grid; gap: 10px; justify-items: start; padding: 16px 20px 20px; }
.lightbox-meta .shot-row { width: 100%; }
.drop { position: relative; display: grid; place-items: center; min-height: 190px; padding: 18px; background: var(--bg-2); border: 2px dashed var(--line-2); border-radius: 4px; text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; }
.drop:hover, .drop.is-over, .drop:focus-within { border-color: var(--red); background: rgba(255, 45, 63, 0.07); }
.drop-text { display: grid; justify-items: center; gap: 4px; }
.drop-text .icon { width: 30px; height: 30px; color: var(--red); }
.drop.has-file .drop-text { margin-top: 10px; }
.drop.has-file .drop-text .icon, .drop.has-file .drop-text .muted { display: none; }
.drop-preview img { max-height: 260px; border-radius: 3px; }

/* ------------------------------------------------------------ feedback */
.feedback-layout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.feedback-layout .card + .card { margin-top: 0; }
.note h2 { font: italic 800 24px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
.sent { display: grid; justify-items: center; gap: 8px; padding: 26px 0; text-align: center; }
.sent h2 { font: italic 800 30px/1 var(--font-display); text-transform: uppercase; }

/* ------------------------------------------------------------ VIP */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { --accent: var(--orange); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--accent); border-radius: 0 0 4px 4px; }
.plan-vip { --accent: var(--blue); }
.plan-staff { --accent: var(--yellow); }
.plan.is-featured { background: linear-gradient(180deg, rgba(63, 169, 255, 0.13), transparent 55%), var(--panel); border-color: rgba(63, 169, 255, 0.5); border-top-color: var(--blue); box-shadow: 6px 6px 0 rgba(63, 169, 255, 0.28); }
.plan.is-current { outline: 2px solid var(--accent); outline-offset: 3px; }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; min-height: 26px; }
.plan-name { font: italic 800 48px/0.95 var(--font-display); text-transform: uppercase; color: var(--accent); }
.plan-price { padding-bottom: 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.plan-perks { display: grid; gap: 10px; margin-top: 6px; }
.plan-perks li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.plan-perks li .icon { margin-top: 3px; color: var(--line-2); }
.plan-perks li.is-good { color: var(--text); }
.plan-perks li.is-good .icon { color: var(--green); }
.plan-perks strong { font-weight: 600; }

/* ------------------------------------------------------------ giriş / hesap */
.auth { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 340px); justify-content: center; gap: 28px; align-items: start; padding-top: 48px; }
.auth-card { padding: 28px; border-top: 4px solid var(--red); border-radius: 0 0 4px 4px; }
.auth-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.auth-side { display: grid; gap: 14px; justify-items: start; padding: 24px 4px; }
.auth-side h2 { font: italic 800 30px/1 var(--font-display); text-transform: uppercase; }
.account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.account .card + .card { margin-top: 0; }
.profile { display: grid; gap: 16px; justify-items: start; }
.profile-top { display: flex; align-items: center; gap: 16px; }
.profile-name { margin-bottom: 6px; font: italic 800 34px/1 var(--font-display); text-transform: uppercase; overflow-wrap: anywhere; }
.profile .upsell { margin-top: 0; }

/* ------------------------------------------------------------ panel */
.form-inline > .btn { margin-bottom: 4px; }
.members { display: grid; margin-top: 14px; }
.member { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 14px 4px; border-top: 1px solid var(--line); }
.member-main { display: grid; gap: 6px; min-width: 0; }
.member-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.member-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.code-box { margin: 14px 0 10px; padding: 16px; background: var(--bg-2); border: 2px dashed var(--yellow); border-radius: 4px; color: var(--yellow); font: italic 800 clamp(30px, 8vw, 42px) / 1 var(--font-display); letter-spacing: 0.1em; text-align: center; user-select: all; }
.message-box { margin: 14px 0; padding: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font: 400 14px/1.5 var(--font-body); white-space: pre-wrap; overflow-wrap: anywhere; user-select: all; }
.fb-list { display: grid; gap: 14px; }
.fb { padding: 16px 18px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--line-2); border-radius: 0 4px 4px 0; }
.fb-oneri { border-left-color: var(--blue); }
.fb-sikayet { border-left-color: var(--red); }
.fb-hata { border-left-color: var(--orange); }
.fb-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--muted); font-size: 14px; }
.fb-head .icon-btn { margin-left: auto; }
.fb-message { margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }

/* ------------------------------------------------------------ diyalog / bildirim */
.dialog { width: 100%; max-width: min(540px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0 8px 8px 0; border: 0; background: transparent; color: var(--text); overflow: visible; }
.dialog::backdrop { background: rgba(0, 0, 0, 0.82); }
.dialog[open] > .dialog-panel { animation: rise 0.22s ease both; }
.dialog-sm { max-width: min(420px, calc(100vw - 24px)); }
.dialog-wide { max-width: min(960px, calc(100vw - 24px)); }
.dialog-panel { display: flex; flex-direction: column; max-height: calc(100dvh - 40px); background: var(--panel); border: 1px solid var(--line-2); box-shadow: 8px 8px 0 #000; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--line); }
.dialog-title { font: italic 800 26px/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; overflow-wrap: anywhere; }
.dialog-body { padding: 20px; overflow-y: auto; }
.dialog-text { color: var(--muted); }
.dialog-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; margin-top: 22px; padding: 0 6px 4px 4px; }

.toasts { position: fixed; left: 50%; bottom: 22px; z-index: 200; display: grid; gap: 8px; width: min(440px, calc(100vw - 24px)); transform: translateX(-50%); pointer-events: none; }
.toast { padding: 12px 16px; background: var(--panel-2); border: 1px solid var(--line-2); border-left: 4px solid var(--blue); box-shadow: 5px 5px 0 #000; font-weight: 500; animation: rise 0.25s ease both; pointer-events: auto; }
.toast-success { border-left-color: var(--green); }
.toast-error { border-left-color: var(--red); }
.toast-out { opacity: 0; transform: translateY(8px); transition: opacity 0.22s, transform 0.22s; }

/* ------------------------------------------------------------ animasyon */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes slam { from { opacity: 0; transform: translateY(-0.18em) scale(1.25); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 63, 0.6); } 50% { box-shadow: 0 0 0 6px rgba(255, 45, 63, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ dar ekranlar */
@media (max-width: 920px) {
  .help-layout, .feedback-layout, .account, .dash-grid { grid-template-columns: minmax(0, 1fr); }
  .composer { position: static; }
  .composer-summary { display: block; padding: 0 6px 4px 0; }
  .composer-details[open] > .composer-summary { display: none; }
  .features, .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .auth { grid-template-columns: minmax(0, 480px); }
  .auth-side { padding: 0 4px; }
}

@media (max-width: 760px) {
  :root { --topbar: 56px; }
  .topnav, .logo-sub { display: none; }
  .topbar-inner { gap: 12px; padding: 0 14px; }
  .userchip-name { display: none; }
  .userchip { padding-right: 6px; }
  .panel-link span { display: none; }
  .view { padding: 0 14px calc(96px + env(safe-area-inset-bottom)); }
  .page-head { padding: 28px 0 20px; }
  .section { padding-top: 44px; }
  .card, .composer, .auth-card { padding: 18px; }
  .form-inline { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-inline: 14px; }
  .hero-inner { max-width: none; }
  .member-actions { width: 100%; }

  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(13, 13, 17, 0.96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }
  .tab { position: relative; display: grid; justify-items: center; gap: 3px; padding: 6px 2px 4px; color: var(--muted); font: 600 11.5px/1.2 var(--font-body); text-decoration: none; -webkit-tap-highlight-color: transparent; }
  .tab .icon { width: 23px; height: 23px; }
  .tab.is-active { color: var(--text); }
  .tab.is-active .icon { color: var(--red); }
  .tab .badge { position: absolute; top: 0; left: calc(50% + 4px); min-width: 18px; height: 18px; font-size: 11px; }
  .toasts { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
