@font-face { font-family: "Scout Helvetica"; src: url("fonts/HelveticaNeue-Light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Scout Helvetica"; src: url("fonts/HelveticaNeue-Roman.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Scout Helvetica"; src: url("fonts/HelveticaNeue-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Scout Helvetica"; src: url("fonts/HelveticaNeue-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

/* Scout Info — тёмная тема из тизера: почти чёрный фон, оранжевый акцент, разреженные заглавные подписи */
:root {
  --night: #07090C;
  --night-2: #0D1117;
  --night-3: #161B23;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --brass: #F26B2A;          /* основной акцент (имя переменной оставлено для совместимости) */
  --brass-hi: #FF8A3D;
  --brass-bg: #2A160C;
  --parchment: #F2F3F5;
  --text-2: #D3D8DF;
  --muted: #A3ABB8;
  --muted-2: #8A93A1;
  --ember: #FF8A3D;
  --moss: #7FB069;
  --danger: #E5544B;
  --radius: 14px;
  --display: "Scout Helvetica", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ui: "Scout Helvetica", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--night); color: var(--parchment); }
body { font: 400 15px/1.5 var(--ui); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
a { color: var(--brass-hi); }
a:hover { color: #FFB07A; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; border-radius: 6px; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }

/* ---------- каркас ---------- */
.shell { display: flex; min-height: 100vh; }
.side { display: none; }
main { flex: 1; min-width: 0; padding-bottom: calc(84px + var(--safe-b)); }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 16px; }

.tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; justify-content: space-around;
  padding: 8px 10px calc(8px + var(--safe-b));
  background: rgba(7, 9, 12, 0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.tabs a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 4px; color: #959EAB; text-decoration: none; font-size: 10.5px; font-weight: 500; letter-spacing: .06em;
}
.tabs a svg { width: 24px; height: 24px; stroke-width: 1.6; }
.tabs a.on { color: var(--brass-hi); }

@media (min-width: 960px) {
  .tabs { display: none; }
  main { padding-bottom: 40px; }
  .side {
    display: flex; flex-direction: column; gap: 4px; width: 248px; flex: none;
    position: sticky; top: 0; height: 100vh; padding: 20px 14px;
    border-right: 1px solid var(--line); background: var(--night);
  }
  .side .brand { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; text-decoration: none; color: var(--parchment); }
  .side .brand img { width: 32px; height: 32px; }
  .side .brand span { font: 700 18px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
  .side a.nav { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 500; }
  .side a.nav svg { width: 20px; height: 20px; }
  .side a.nav:hover { color: var(--parchment); }
  .side a.nav.on { background: var(--brass-bg); color: var(--brass-hi); }
  .side .grow { flex: 1; }
  .wrap { padding: 0 32px; }
}

/* ---------- герой ---------- */
.hero { position: relative; margin: 0 -16px 8px; }
.hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 40% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,9,12,0) 30%, var(--night)); }
.hero::before {
  content: "SCOUT INFO"; position: absolute; z-index: 1; left: 18px; bottom: 26px;
  font-size: 11px; letter-spacing: .28em; color: var(--brass-hi);
}
@media (min-width: 720px) { .hero { margin: 0 0 8px; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; } }
.hero-note { position: relative; z-index: 1; margin: -6px 0 18px; color: var(--text-2); max-width: 52ch; font-size: 17px; line-height: 1.4; }
.compact-head { display: flex; align-items: center; gap: 12px; padding: 18px 0 10px; }
.compact-head img { width: 40px; height: 40px; }
.compact-head h1 { margin: 0; }

h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.005em; color: var(--parchment); }
h1 { font-size: 30px; line-height: 1.08; margin: 20px 0 8px; }
h2 { font-size: 11px; line-height: 1.2; margin: 28px 0 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
h3 { font-size: 19px; margin: 0 0 6px; }
p { margin: 0 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- день ---------- */
.day {
  display: flex; align-items: center; gap: 10px; margin: 22px 0 12px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
}
.day::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- карточка матча ---------- */
.plank {
  position: relative; display: block; width: 100%; text-align: left; cursor: pointer;
  margin: 0 0 10px; padding: 14px 16px; border-radius: var(--radius);
  color: var(--parchment); text-decoration: none;
  background: var(--night-2); border: 1px solid var(--line);
  transition: border-color .15s;
}
.plank:hover { border-color: rgba(242,107,42,.45); }
.plank:active { transform: translateY(1px); }
.plank .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.plank .t { font: 500 19px/1.2 var(--display); color: var(--parchment); }
.plank .league { font-size: 13px; color: var(--muted); margin-top: 3px; }
.plank .time { font-weight: 600; font-size: 17px; color: var(--parchment); white-space: nowrap; }
.plank .foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.plank .teaser { margin-top: 8px; color: var(--text-2); font-size: 14px; }

.tag {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 6px;
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  background: transparent; color: var(--text-2); border: 1px solid var(--line-2);
}
.tag.open { color: #B9E0A5; border-color: rgba(127,176,105,.45); }
.tag.sub { background: var(--brass-bg); color: var(--brass-hi); border-color: transparent; }
.tag.sub::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
.tag.soon { color: var(--brass-hi); border-color: rgba(242,107,42,.5); }

/* ---------- блоки ---------- */
.panel { background: var(--night-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 0 0 12px; }
.panel.gold { border-color: rgba(242,107,42,.35); background: var(--night-2); }
.content-text { white-space: pre-wrap; font-size: 15.5px; line-height: 1.6; color: #DFE3E8; }
.locked { position: relative; border: 1px dashed rgba(242,107,42,.4); border-radius: var(--radius); padding: 18px 16px; color: var(--muted); }
.locked b { color: var(--parchment); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 18px; border-radius: 12px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; text-decoration: none;
  background: var(--brass); color: #140803; box-shadow: none; transition: background .15s;
}
.btn:hover { background: #FF7D3D; color: #140803; }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--parchment); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: rgba(255,255,255,.3); }
.btn.quiet { background: var(--night-3); color: var(--parchment); }
.btn.quiet:hover { background: #1E2530; }
.btn.danger { background: transparent; color: #F2A59C; border: 1px solid rgba(229,84,75,.6); }
.btn.small { min-height: 34px; padding: 6px 12px; font-size: 13.5px; border-radius: 10px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.btns .btn { flex: 1 1 140px; }

.back { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0; color: var(--brass-hi); text-decoration: none; font-weight: 500; }

/* подписка */
.plan { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.plan:first-of-type { border-top: 0; }
.plan .name { font: 500 17px/1.2 var(--display); }
.plan .price { color: var(--muted); font-size: 13px; }
.status-line { display: flex; align-items: center; gap: 12px; }
.status-line img { width: 40px; height: 40px; flex: none; }
.sub-hero { margin: 0 -16px; position: relative; }
.sub-hero img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.sub-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,9,12,.1) 20%, var(--night)); }
@media (min-width: 720px) { .sub-hero { margin: 16px 0 0; border-radius: var(--radius); overflow: hidden; } }

.list-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; }
.list-row .main { min-width: 0; }
.list-row .main b { display: block; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.list-row .side-info { text-align: right; white-space: nowrap; font-size: 13.5px; }
.list-row .acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- админка ---------- */
.seg { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 14px -16px 4px; padding: 0 16px 4px; }
.seg::-webkit-scrollbar { display: none; }
.seg a, .seg button {
  flex: none; height: 32px; display: inline-flex; align-items: center; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line-2);
  color: var(--text-2); text-decoration: none; font-weight: 500; font-size: 13px; background: transparent; cursor: pointer;
}
.seg a.on, .seg button.on { background: var(--brass-bg); color: var(--brass-hi); border-color: rgba(242,107,42,.55); }
@media (min-width: 960px) { .seg.admin-nav { display: none; } .seg { margin: 14px 0 4px; padding: 0 0 4px; } }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 14px 0; }
.stat { background: var(--night-2); padding: 12px 14px; }
.stat .v { font: 500 28px/1.1 var(--display); color: var(--parchment); }
.stat .l { color: var(--muted); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.stat.warn .v { color: var(--brass-hi); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.event { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.event:first-child { border-top: 0; }
.event time { color: var(--muted); font-size: 12.5px; padding-top: 1px; }

label.f { display: block; margin: 0 0 12px; }
label.f > span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
label.f small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.in, textarea.in, select.in { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; background: var(--night); border: 1px solid var(--line-2); color: var(--parchment); }
textarea.in { min-height: 96px; resize: vertical; line-height: 1.5; }
.in:focus { border-color: var(--brass); outline: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brass); flex: none; }
.radios { display: flex; gap: 6px; flex-wrap: wrap; }
.radios label { flex: 1 1 auto; }
.radios input { position: absolute; opacity: 0; }
.radios span { display: block; text-align: center; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text-2); font-weight: 500; cursor: pointer; }
.radios input:checked + span { background: var(--brass-bg); color: var(--brass-hi); border-color: rgba(242,107,42,.55); }
.radios input:focus-visible + span { outline: 2px solid var(--brass); }
.plan-edit { display: grid; grid-template-columns: 1.3fr 0.8fr 0.9fr 0.9fr auto; gap: 6px; align-items: center; margin-bottom: 6px; }
.plan-edit .in { min-height: 40px; padding: 8px; }
.copy { display: flex; gap: 6px; }
.price-edit { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; align-items: center; margin-top: 8px; }
.price-edit .f { margin-bottom: 8px; }
.price-edit .check { margin: 0; }
.price-edit .btn { justify-self: end; }
.copy .in { font-size: 13px; }
.pill { font-size: 11px; letter-spacing: .08em; padding: 2px 8px; border-radius: 6px; background: var(--night-3); color: var(--muted); font-weight: 500; }
.pill.ok { color: #B9E0A5; } .pill.warn { color: var(--brass-hi); background: var(--brass-bg); } .pill.bad { color: #F2A59C; }

/* ---------- шторка, тосты ---------- */
.sheet-bg { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.65); display: flex; align-items: flex-end; justify-content: center; }
.sheet {
  width: 100%; max-width: 560px; background: var(--night-2); border: 1px solid var(--line); border-bottom: 0;
  border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + var(--safe-b)); max-height: 88vh; overflow: auto;
  animation: up .22s ease-out;
}
@media (min-width: 720px) { .sheet-bg { align-items: center; } .sheet { border-radius: 18px; border-bottom: 1px solid var(--line); } }
@keyframes up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet h3 { font-size: 22px; }
.toast {
  position: fixed; left: 50%; bottom: calc(92px + var(--safe-b)); transform: translateX(-50%); z-index: 50;
  max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 12px; font-weight: 600;
  background: var(--parchment); color: var(--night); box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.toast.bad { background: #F2C2BB; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--brass); animation: spin 0.8s linear infinite; margin: 30px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 28px 12px; color: var(--muted); }
.empty img { width: 64px; height: 64px; margin: 0 auto 14px; }

/* скелетоны загрузки */
.sk { display: block; margin: 0 0 8px; border-radius: 6px; background: linear-gradient(90deg, #121821 0%, #1C2430 50%, #121821 100%); background-size: 200% 100%; animation: sk 1.3s ease-in-out infinite; }
.sk-card { pointer-events: none; }
.sk-card .foot .sk { margin: 0; }
.sk-hero { aspect-ratio: 16 / 10; background: var(--night-2); }
.sub-hero.sk-hero { aspect-ratio: 16 / 7; }
.sk-hero::before { content: none; }
@keyframes sk { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* пустой день */
.no-today { display: flex; flex-direction: column; gap: 4px; margin: 0 0 10px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); }

/* переключатель языка */
.lang { display: inline-flex; flex: none; border: 1px solid var(--line-2); border-radius: 8px; overflow: hidden; }
.lang button { min-height: 32px; padding: 0 11px; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .12em; cursor: pointer; }
.lang button.on { background: var(--brass-bg); color: var(--brass-hi); }
.hero .lang { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(7, 9, 12, .65); backdrop-filter: blur(6px); }
.compact-head .lang { margin-left: auto; }
.side .lang { margin: 14px 8px 0; align-self: flex-start; }

.login { max-width: 420px; margin: 0 auto; text-align: center; padding-top: 40px; }
.login img.logo { width: 76px; height: 76px; margin: 0 auto 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- график событий ---------- */
.sch .in[type=search] { margin: 14px 0 0; }
.seg button .n, .day .n { margin-left: 6px; font-size: 11px; opacity: .75; }
.day .n { margin: 0; order: 3; letter-spacing: .08em; }
.sch-filters { margin-top: 0; }
.sch-prov { margin: 10px 0 0; }
.sch-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 0; }
.sch-bar .check { margin: 0; }
.sch-panel { padding: 0 14px; }
.sch-row { display: grid; grid-template-columns: 40px 1fr; gap: 4px; padding: 12px 0; border-top: 1px solid var(--line); }
.sch-row:first-child { border-top: 0; }
.sch-row.sel { background: linear-gradient(90deg, rgba(242,107,42,.10), transparent); margin: 0 -14px; padding-left: 14px; padding-right: 14px; }
.sch-row.linked .sch-match { color: var(--muted); }
.sch-chk { display: flex; align-items: flex-start; justify-content: center; margin-left: -8px; padding-top: 2px; cursor: pointer; }
.sch-chk input { width: 22px; height: 22px; margin: 6px 0 0; accent-color: var(--brass); }
.sch-body { min-width: 0; }
.sch-top { display: flex; align-items: baseline; gap: 10px; }
.sch-time { flex: none; min-width: 44px; font-weight: 600; color: var(--brass-hi); font-variant-numeric: tabular-nums; }
.sch-time small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.sch-match { font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.sch-sub { margin: 2px 0 0 54px; color: var(--muted); font-size: 13px; }
.sch-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.sch-foot .grow { flex: 1; }
.sch-foot .tag { height: 22px; font-size: 10.5px; }
.cov { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 7px 0 0; border-radius: 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; border: 1px solid transparent; }
.cov i { font-style: normal; align-self: stretch; display: inline-flex; align-items: center; padding: 0 6px; border-radius: 5px 0 0 5px; background: rgba(255,255,255,.08); color: var(--text-2); letter-spacing: .04em; }
.cov.scout { color: var(--muted); border-color: var(--line-2); border-style: dashed; }
.cov.tv { color: var(--brass-hi); background: var(--brass-bg); border-color: rgba(242,107,42,.45); }
.cov.tvp { color: #140803; background: var(--brass); border-color: var(--brass); }
.cov.tvp i { background: rgba(0,0,0,.22); color: #140803; }
.cov.none { padding: 0; color: var(--muted-2); font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: 12px; }
.selbar { position: fixed; left: 0; right: 0; bottom: calc(66px + var(--safe-b)); z-index: 19; background: var(--night-2); border-top: 1px solid rgba(242,107,42,.5); box-shadow: 0 -8px 24px rgba(0,0,0,.5); }
.selbar-in { display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 0 auto; padding: 10px 16px; flex-wrap: wrap; }
.selbar .grow { flex: 1; }
body.has-selbar main { padding-bottom: calc(160px + var(--safe-b)); }
body.has-selbar .toast { bottom: calc(150px + var(--safe-b)); }
@media (min-width: 960px) { .selbar { left: 248px; bottom: 0; padding-bottom: var(--safe-b); } body.has-selbar .toast { bottom: 90px; } }
.sch-prov .in { min-height: 38px; padding: 6px 10px; }
.sch-prov > span { margin-bottom: 4px; }
a.pill { text-decoration: none; }

/* ---------- дикторы ---------- */
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0; line-height: 1; }
.seg a .badge { margin-left: 7px; }
.ann-row .main > span { display: block; }
.ann-row.off { opacity: .6; }
.ann-row .main b { white-space: normal; }
.hot { color: var(--brass-hi); font-weight: 500; }
.ann-kv { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.ann-kv:first-child { border-top: 0; }
.ann-kv > span:first-child { color: var(--muted); flex: none; }
.ann-kv > span:last-child { text-align: right; overflow-wrap: anywhere; white-space: pre-wrap; }
.stat .v.ann-v { font-size: 17px; line-height: 1.4; overflow-wrap: anywhere; }
#ann-q { margin-top: 14px; }
.pill.bad { background: rgba(229,84,75,.16); }
a.list-row.ann-row { color: inherit; text-decoration: none; }

/* ---------- ScoutCoin ---------- */
.coin { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.coin.md { width: 30px; height: 30px; }
.coin.lg { width: 44px; height: 44px; }
.coin.xl { width: 88px; height: 88px; }
.coin-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px 0 5px; flex: none;
  border-radius: 999px; background: #160D08; border: 1px solid rgba(242,107,42,.35);
  color: var(--parchment); text-decoration: none; font-size: 14px;
}
.coin-chip:hover { border-color: rgba(242,107,42,.75); color: var(--parchment); }
.coin-chip .coin { width: 22px; height: 22px; }
.coin-chip b { font-weight: 600; }
.coin-chip span { font-size: 11px; letter-spacing: .12em; color: var(--brass-hi); }
.hero .coin-chip { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(22,13,8,.75); backdrop-filter: blur(6px); }
.compact-head .coin-chip { margin-left: auto; }
.compact-head .coin-chip + .lang { margin-left: 0; }
.coin-btn { color: var(--brass-hi); border-color: rgba(242,107,42,.55); }
.coin-btn:hover { background: #160D08; color: var(--brass-hi); }
.cashback { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.cashback .coin { width: 16px; height: 16px; }

.wallet-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 0 18px; background: radial-gradient(55% 70% at 50% 30%, #22130A 0%, rgba(7,9,12,0) 75%); }
.wallet-hero .kicker { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }
.wallet-hero .bal { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.wallet-hero .bal b { font: 700 52px/1 var(--display); letter-spacing: -.01em; }
.wallet-hero .bal span { font-size: 16px; letter-spacing: .14em; color: var(--brass-hi); }
.wallet-hero h1 { margin-top: 16px; }
.wallet-hero p { max-width: 40ch; margin: 10px 0 0; }

.earn { padding: 0 16px; }
.earn a.list-row { color: inherit; text-decoration: none; }
.earn-ic { width: 36px; height: 36px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--brass-bg); color: var(--brass-hi); }
.earn-ic svg { width: 18px; height: 18px; }
.earn-ic.pct { font-size: 13px; font-weight: 700; }
.earn .list-row .main { flex: 1; }
.list-row .side-info.plus { color: var(--brass-hi); }

.ref { margin: 0 0 4px; }
.ref .in { flex: 1; }
.stat .v small { font-size: 13px; letter-spacing: .12em; color: var(--brass-hi); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 12px; color: var(--text-2); }
.steps li::before { content: counter(s); width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1px solid rgba(242,107,42,.55); color: var(--brass-hi); font-size: 12px; display: flex; align-items: center; justify-content: center; }

.tip-who { display: flex; align-items: center; gap: 12px; }
.tip-who img, .tip-who > span { width: 44px; height: 44px; border-radius: 50%; flex: none; object-fit: cover; background: #1A2029; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.tip-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 16px 0 10px; }
.tip-opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-bottom: 12px; }
.tip-opts button { height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-weight: 600; cursor: pointer; }
.tip-opts button.on { background: var(--brass-bg); border-color: rgba(242,107,42,.6); color: var(--brass-hi); }
.coin-tag { gap: 5px; color: var(--brass-hi); border-color: rgba(242,107,42,.45); }
.coin-tag .coin { width: 14px; height: 14px; }
.pay-sum { margin: 4px 0 6px; }
.pay-sum .list-row b { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.pay-sum .plus, .plus { color: var(--brass-hi); }

.coin-in { display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--night); }
.coin-in .in { border: 0; background: transparent; padding-left: 0; font-size: 17px; font-weight: 600; }
.coin-in .in:focus { border: 0; }
.coin-in > span { font-size: 12px; letter-spacing: .12em; color: var(--brass-hi); }
.coin-in:focus-within { border-color: var(--brass); }
.nets { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; margin-bottom: 4px; }
.nets button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; text-align: left; }
.nets button b { font-size: 15px; }
.nets button.on { border-color: rgba(242,107,42,.6); background: var(--brass-bg); }
.nets button.on b { color: var(--brass-hi); }
.pay-box { padding: 4px 16px; }
.pay-field { padding: 12px 0; border-top: 1px solid var(--line); }
.pay-field:first-child { border-top: 0; }
.pay-field .copy { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.pay-field code { flex: 1; min-width: 0; font: 500 15px/1.35 ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all; color: var(--parchment); }
.warn-box { border-color: rgba(242,107,42,.45); background: #160D08; font-size: 14px; }
.topup-status { display: flex; align-items: center; gap: 10px; margin: 16px 0 4px; font-size: 14px; color: var(--text-2); }
.topup-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brass); flex: none; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.pending-topup { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: inherit; text-decoration: none; margin-top: 4px; }
.pending-topup b { color: var(--brass-hi); white-space: nowrap; }
.earn-ic img { width: 20px; height: 20px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all; }
.seg.wrapchips { flex-wrap: wrap; overflow: visible; margin: 0 0 12px; padding: 0; }
.pick-row { width: 100%; background: transparent; border: 0; border-top: 1px solid var(--line); color: inherit; text-align: left; cursor: pointer; padding: 10px 4px; }
.pick-row.on { background: var(--brass-bg); }
.pick-row .main b { display: block; }

/* label.f is display:block — keep the SC input row on one line */
label.f.coin-in { display: flex; margin-bottom: 12px; }
label.f.coin-in > span { display: inline; margin: 0; font-size: 12px; letter-spacing: .12em; text-transform: none; color: var(--brass-hi); }
