@font-face {
  font-family: 'RndMn';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/app/fonts/rnd-mn-500.woff2') format('woff2');
  unicode-range: U+04AE-04AF, U+04E8-04E9;
}

@font-face {
  font-family: 'RndMn';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/app/fonts/rnd-mn-600.woff2') format('woff2');
  unicode-range: U+04AE-04AF, U+04E8-04E9;
}

@font-face {
  font-family: 'RndMn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/app/fonts/rnd-mn-700.woff2') format('woff2');
  unicode-range: U+04AE-04AF, U+04E8-04E9;
}

@font-face {
  font-family: 'RndMn';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/static/app/fonts/rnd-mn-800.woff2') format('woff2');
  unicode-range: U+04AE-04AF, U+04E8-04E9;
}

:root,
:root[data-theme="dark"] {
  --bg: #0f1012;
  --s1: #17181b;
  --s2: #1f2024;
  --s3: #2a2b30;
  --line: rgba(255, 255, 255, 0.10);
  --line2: rgba(255, 255, 255, 0.18);
  --tx: #f2f1ec;
  --tx2: #b4b3ad;
  --tx3: #8f8e88;
  --ink: #f5b83d;
  --gold: #f5b83d;
  --dark: #0f1012;
  --live: #ff5a4e;
  --ok: #3ccf7e;
  --on-sub: #3d2a00;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --dsp: 'Unbounded', 'RndMn', 'Onest', system-ui, sans-serif;
  --tabbar-h: 66px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

:root[data-theme="copper"] {
  --bg: #0e0d0c;
  --s1: rgba(255, 240, 228, 0.045);
  --s2: rgba(255, 240, 228, 0.075);
  --s3: rgba(255, 240, 228, 0.13);
  --line: rgba(255, 236, 220, 0.08);
  --line2: rgba(255, 236, 220, 0.16);
  --tx: #f5f0ea;
  --tx2: #bbb2a9;
  --tx3: #8e857c;
  --ink: #e2b48a;
  --gold: #6e4630;
  --dark: #f7ebdf;
  --on-sub: #f7ebdf;
  --live: #ff6b5b;
  --ok: #4fca8b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f3f2ec;
  --s1: #ffffff;
  --s2: #eceae3;
  --s3: #e2e0d8;
  --line: rgba(20, 20, 20, 0.12);
  --line2: rgba(20, 20, 20, 0.22);
  --tx: #141414;
  --tx2: #4a4a46;
  --tx3: #68675f;
  --ink: #8a5a00;
  --live: #d92d20;
  --ok: #17803d;
  --shadow: 0 10px 30px rgba(20, 20, 20, 0.10);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  overscroll-behavior-x: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.dsp {
  font-family: var(--dsp);
}

.num {
  font-variant-numeric: tabular-nums;
}

.muted {
  color: var(--tx2);
}

.faint {
  color: var(--tx3);
}

.ink {
  color: var(--ink);
}

.hide {
  display: none !important;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.app {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.view {
  outline: none;
  width: 100%;
  max-width: 100%;
  padding-bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px);
}

.no-chrome .view {
  padding-bottom: 0;
}

.no-chrome .topnav,
.no-chrome .tabbar {
  display: none !important;
}

.topnav {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--s1);
  position: sticky;
  top: 0;
  z-index: 30;
}

.topnav-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tx);
}

.brand .dsp {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.tn-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.tn-links a {
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--tx2);
}

.tn-links a.on {
  background: var(--s3);
  color: var(--tx);
  font-weight: 700;
}

.tn-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.tn-search {
  width: 260px;
  max-width: 40vw;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--tx);
  font-size: 14px;
  outline: none;
}

.tn-search:focus {
  border-color: var(--gold);
}

.tn-av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--s3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  overflow: hidden;
  border: none;
  color: var(--tx);
  padding: 0;
}

.tn-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 6px 8px max(12px, var(--safe-b));
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  background: var(--s1);
  border-top: 1px solid var(--line);
}

.tabbar a {
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--tx3);
  font-size: 11px;
  font-weight: 600;
  min-width: 0;
}

.tabbar a i {
  font-size: 21px;
  line-height: 24px;
}

.tabbar a.on {
  color: var(--ink);
}

.tabbar a.tab-play {
  height: auto;
  margin-top: -22px;
  font-weight: 700;
}

.tabbar a.tab-play.on {
  color: var(--tx);
}

.tab-play-c {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px var(--bg);
}

.tab-play-c i {
  font-size: 24px !important;
}

@media (min-width: 900px) {
  .topnav {
    display: block;
  }

  .tabbar {
    display: none;
  }

  .view {
    padding-bottom: 56px;
  }
}

.page {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.page > * {
  min-width: 0;
}

.page.sub {
  padding-top: 12px;
  gap: 20px;
}

.page.tight {
  gap: 16px;
}

.page.narrow {
  max-width: 560px;
}

.page.mid {
  max-width: 640px;
}

@media (min-width: 900px) {
  .page {
    padding-top: 32px;
  }
}

.h1 {
  margin: 8px 0 0;
  font-family: var(--dsp);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.hdr {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
}

.hdr h1 {
  font-family: var(--dsp);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  min-width: 0;
  overflow-wrap: anywhere;
}

.hdr .sp {
  flex: 1;
}

.ph {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ph-sub {
  font-size: 13px;
  color: var(--tx3);
  margin-top: 2px;
}

.back {
  width: 44px;
  height: 44px;
  margin-left: -10px;
  border: none;
  background: transparent;
  color: var(--tx);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  border-radius: 50%;
  flex-shrink: 0;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  position: relative;
}

.icon-btn.plain {
  border: none;
  background: transparent;
}

.icon-btn .dot {
  position: absolute;
  top: 9px;
  right: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
}

.sh {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tx3);
  text-transform: uppercase;
}

.sec {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.sec.g10 {
  gap: 10px;
}

.sec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.lnk {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: none;
  border: none;
  padding: 0;
}

.card {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  min-width: 0;
}

.card.flat {
  background: var(--s2);
  border-color: transparent;
}

.lc,
.list {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.row,
.li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--tx);
  width: 100%;
  text-align: left;
  min-width: 0;
  min-height: 0;
}

.row:last-child,
.li:last-child {
  border-bottom: none;
}

.li-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.li-t {
  display: block;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.li-s {
  display: block;
  font-size: 12px;
  color: var(--tx3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.li-r {
  flex-shrink: 0;
  text-align: right;
  font-size: 12px;
  color: var(--tx3);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.li-r b {
  font-size: 15px;
  color: var(--tx);
  font-weight: 800;
}

.chev {
  color: var(--tx3);
  font-size: 14px;
  flex-shrink: 0;
}

.rank {
  width: 24px;
  flex-shrink: 0;
  font-family: var(--dsp);
  font-weight: 800;
  font-size: 15px;
  color: var(--tx3);
  font-variant-numeric: tabular-nums;
}

.rank.r1 {
  color: var(--ink);
}

.av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--s3);
  color: var(--tx);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  overflow: hidden;
}

.av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av.s {
  width: 36px;
  height: 36px;
  font-size: 14px;
}

.av.m {
  width: 44px;
  height: 44px;
}

.av.l {
  width: 56px;
  height: 56px;
  font-size: 18px;
}

.av.xl {
  width: 84px;
  height: 84px;
  font-size: 30px;
  font-family: var(--dsp);
  font-weight: 800;
}

.av.sq {
  border-radius: 14px;
}

.av.gold {
  background: var(--gold);
  color: var(--dark);
}

.tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--dsp);
  font-weight: 800;
  font-size: 16px;
  color: var(--dark);
  flex-shrink: 0;
  overflow: hidden;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile.xl {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  font-size: 24px;
}

.ic-tile {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--s3);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  flex-shrink: 0;
}

.date-tile {
  width: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--s2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}

.date-tile b {
  font-family: var(--dsp);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.date-tile span {
  font-size: 11px;
  font-weight: 700;
  color: var(--tx3);
}

.date-tile.s {
  width: 52px;
  border-radius: 12px;
  padding: 6px 0;
}

.date-tile.s b {
  font-size: 18px;
}

.vbadge {
  color: var(--gold);
  font-size: 15px;
}

.btn {
  height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
  font-weight: 700;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  min-width: 0;
}

.btn:active {
  transform: scale(0.98);
}

.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.btn.pri {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 800;
}

.btn.pri.danger-pri {
  background: var(--live);
  border-color: var(--live);
  color: #ffffff;
}

.btn.ghost {
  background: transparent;
  border-color: transparent;
  color: var(--tx2);
}

.btn.danger {
  color: var(--live);
}

.btn.lg {
  height: 54px;
  font-size: 16px;
}

.btn.xl {
  height: 56px;
  font-size: 17px;
  border-radius: 16px;
}

.btn.sm {
  height: 40px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 12px;
}

.btn.block {
  width: 100%;
}

.btn-row {
  display: flex;
  gap: 10px;
}

.btn-row > .btn {
  flex: 1;
}

.btn-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pills {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pills.c4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pills.c3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pill {
  height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
  font-weight: 700;
  font-size: 15px;
  padding: 0 8px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.pill.on {
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--dark);
}

.pill.game {
  height: 56px;
  font-family: var(--dsp);
  font-size: 17px;
}

.pill.game.word {
  font-size: 13px;
}

.pill.tall {
  height: 64px;
}

.pill.tall small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
}

.pill.fmt {
  min-height: 64px;
  height: auto;
  padding: 10px 12px;
  align-items: flex-start;
  text-align: left;
}

.pill.fmt b {
  font-size: 14px;
}

.pill.fmt small {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.8;
}

.pill[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.segt,
.tabs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
  background: var(--s1);
  border: 1px solid var(--line);
  min-width: 0;
}

.segt button,
.tabs button {
  height: 40px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--tx2);
  font-weight: 700;
  font-size: 14px;
  padding: 0 4px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.segt.sm button {
  font-size: 13px;
}

.segt button.on,
.tabs button.on {
  background: var(--s3);
  color: var(--tx);
}

.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 8px;
}

.seg button {
  height: 50px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
  font-weight: 700;
  font-size: 15px;
  min-width: 0;
}

.seg button.on {
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--dark);
}

.chiptabs,
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -20px;
  padding: 0 20px;
  max-width: calc(100% + 40px);
}

.chiptabs::-webkit-scrollbar,
.chips::-webkit-scrollbar {
  display: none;
}

.chiptabs button,
.chip {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx2);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.chiptabs button.on,
.chip.on {
  border-color: var(--tx);
  background: var(--tx);
  color: var(--bg);
}

.sw {
  width: 52px;
  height: 32px;
  border-radius: 999px;
  border: none;
  padding: 3px;
  background: var(--s3);
  display: flex;
  justify-content: flex-start;
  flex-shrink: 0;
}

.sw span {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
}

.sw[aria-checked="true"] {
  background: var(--gold);
  justify-content: flex-end;
}

.sw[aria-checked="true"] span {
  background: #ffffff;
}

.sw[disabled] {
  opacity: 0.5;
}

.set-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.set-row:last-child {
  border-bottom: none;
}

.set-row .li-b span:first-child {
  font-weight: 600;
}

.set-row .li-b span + span {
  font-size: 12px;
  color: var(--tx3);
}

.stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stepper button {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--tx);
  font-size: 20px;
}

.stepper span {
  min-width: 92px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field label,
.field .lbl {
  font-size: 13px;
  font-weight: 600;
  color: var(--tx2);
}

.field .opt {
  font-weight: 500;
  color: var(--tx3);
}

.field .hint {
  font-size: 12px;
  color: var(--tx3);
}

.inp,
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
  font-size: 16px;
  outline: none;
}

.field textarea {
  height: auto;
  min-height: 96px;
  padding: 12px 14px;
  resize: vertical;
}

.field select,
select.inp {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--tx3) 50%), linear-gradient(135deg, var(--tx3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.inp:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
}

.field input[type="date"],
.field input[type="datetime-local"],
.field input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-align: left;
  line-height: 50px;
}

.field input[type="date"]::-webkit-date-and-time-value,
.field input[type="datetime-local"]::-webkit-date-and-time-value,
.field input[type="time"]::-webkit-date-and-time-value {
  margin: 0;
  text-align: left;
  min-height: 1.4em;
}

@supports (-webkit-touch-callout: none) {
  .field input[type="date"],
  .field input[type="datetime-local"],
  .field input[type="time"] {
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23999' d='M128 0c17.7 0 32 14.3 32 32v32h128V32c0-17.7 14.3-32 32-32s32 14.3 32 32v32h48c26.5 0 48 21.5 48 48v48H0v-48c0-26.5 21.5-48 48-48h48V32c0-17.7 14.3-32 32-32zM0 192h448v272c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 16px 16px;
    background-position: calc(100% - 16px) 50%;
  }
}

.field input[readonly] {
  background: var(--s2);
  color: var(--tx2);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.row2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.5;
  color: var(--tx2);
}

.check input {
  width: 22px;
  height: 22px;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--gold);
}

.check a {
  color: var(--ink);
  font-weight: 600;
}

.err-msg {
  min-height: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--live);
}

.err-msg:empty {
  min-height: 0;
}

.srch {
  position: relative;
}

.srch i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tx3);
  pointer-events: none;
}

.srch input {
  width: 100%;
  height: 48px;
  padding: 0 14px 0 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
  font-size: 16px;
  outline: none;
}

.srch input:focus {
  border-color: var(--gold);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--s3);
  color: var(--tx2);
  white-space: nowrap;
  align-self: flex-start;
}

.badge.live {
  background: var(--live);
  color: #ffffff;
}

.badge.live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
}

.badge.open {
  background: var(--gold);
  color: var(--dark);
}

.badge.acc {
  background: var(--s3);
  color: var(--ink);
}

.badge.ok {
  background: var(--s2);
  color: var(--ok);
}

.badge.lg {
  font-size: 12px;
  padding: 4px 10px;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  color: var(--live);
}

.live-tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
}

.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.fact {
  min-width: 0;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fact span {
  font-size: 12px;
  color: var(--tx3);
}

.fact b {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.fact.pad {
  padding: 12px;
}

.notice {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: var(--s2);
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tx);
  width: 100%;
  border: none;
  text-align: left;
}

.notice i {
  color: var(--ink);
  flex-shrink: 0;
}

.note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--s2);
  color: var(--tx2);
  font-size: 13px;
  line-height: 1.5;
}

.note i {
  color: var(--ink);
  margin-top: 2px;
}

.note.warn i {
  color: var(--live);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.stats.c2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat {
  min-width: 0;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat b {
  font-family: var(--dsp);
  font-size: 19px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.stat span {
  font-size: 12px;
  line-height: 1.3;
  color: var(--tx3);
}

.stat.acc b {
  color: var(--ink);
}

.ld {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 0;
  color: var(--tx3);
  font-size: 22px;
}

.empty {
  text-align: center;
  padding: 28px 16px;
  color: var(--tx3);
}

.empty i {
  font-size: 26px;
  margin-bottom: 10px;
}

.empty h3 {
  font-size: 16px;
  color: var(--tx);
  margin-bottom: 6px;
}

.empty p {
  font-size: 14px;
  max-width: 340px;
  margin: 0 auto;
}

.empty .btn {
  margin-top: 16px;
}

.txt-empty {
  margin: 8px 0;
  text-align: center;
  color: var(--tx3);
  font-size: 14px;
}

.play-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.play-card {
  min-height: 96px;
  border-radius: 22px;
  padding: 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx);
  min-width: 0;
}

.play-card .ic-tile {
  font-size: 22px;
}

.play-card.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.play-card.gold .ic-tile {
  background: var(--dark);
  color: var(--gold);
}

.play-card .pc-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.play-card .pc-t b {
  font-family: var(--dsp);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.play-card .pc-t span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--tx3);
}

.play-card.gold .pc-t span {
  color: var(--on-sub);
}

.home-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.home-hdr .who {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.home-hdr .who small {
  display: block;
  font-size: 13px;
  color: var(--tx3);
}

.home-hdr .who b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hrow {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -20px;
  padding: 0 20px;
  max-width: calc(100% + 40px);
}

.hrow::-webkit-scrollbar {
  display: none;
}

.up-card {
  flex: 0 0 240px;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--tx);
  min-width: 0;
}

.up-card .dpill {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--s3);
  color: var(--tx2);
}

.up-card b {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.up-card .cl {
  font-size: 13px;
  color: var(--tx3);
}

.up-card .ft {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--tx2);
}

.t-item {
  display: flex;
  gap: 14px;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  color: var(--tx);
  min-width: 0;
}

.t-item .li-b {
  gap: 5px;
}

.t-item .st-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.t-item .st-line span:last-child {
  font-size: 12px;
  color: var(--tx3);
}

.t-item .nm {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.t-item .cl {
  font-size: 13px;
  color: var(--tx3);
}

.t-item .ft {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--tx2);
}

.prof-hd {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px 18px;
  border-radius: 24px;
  background: var(--s1);
  border: 1px solid var(--line);
  text-align: center;
}

.prof-hd .gear {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--tx2);
}

.prof-hd .av.xl {
  border: 3px solid var(--gold);
}

.prof-hd h1 {
  margin-top: 6px;
  font-family: var(--dsp);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.prof-hd .meta {
  font-size: 14px;
  color: var(--tx3);
}

.prof-hd .meta b {
  color: var(--tx2);
  font-variant-numeric: tabular-nums;
}

.prof-hd .meta a {
  color: var(--ink);
  font-weight: 700;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--s2);
  color: var(--tx2);
}

.pill-badge i {
  color: var(--gold);
}

.acc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  width: 100%;
  text-align: left;
  font-weight: 600;
  color: var(--tx);
}

.acc-row:last-child {
  border-bottom: none;
}

.acc-row.red {
  color: var(--live);
}

.toasts {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 24px);
  transform: translateX(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(420px, calc(100vw - 32px));
  pointer-events: none;
}

.no-chrome .toasts {
  bottom: auto;
  top: 16px;
}

@media (min-width: 900px) {
  .toasts {
    bottom: 24px;
  }
}

.toast {
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--tx);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 10px;
  align-items: center;
}

.toast.err {
  background: var(--live);
  color: #ffffff;
}

.mdl {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
}

.mdl-box {
  width: 100%;
  max-width: 520px;
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--s1);
  border-radius: 24px 24px 0 0;
  padding: 10px 20px max(20px, var(--safe-b));
}

.mdl-box::before {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 4px;
  background: var(--s3);
  margin: 0 auto 14px;
}

@media (min-width: 620px) {
  .mdl {
    align-items: center;
    padding: 20px;
  }

  .mdl-box {
    border-radius: 24px;
    padding: 22px 24px 24px;
  }

  .mdl-box::before {
    display: none;
  }
}

.mdl-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.mdl-h h2 {
  font-family: var(--dsp);
  font-size: 18px;
  font-weight: 700;
}

.mdl-f {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.mdl-f .btn {
  flex: 1;
}

.sheet-list {
  display: flex;
  flex-direction: column;
}

.sheet-list button,
.sheet-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--tx);
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  width: 100%;
  padding: 0;
}

.sheet-list > :last-child {
  border-bottom: none;
}

.sheet-list i {
  width: 22px;
  color: var(--tx2);
  text-align: center;
}

.sheet-list .red,
.sheet-list .red i {
  color: var(--live);
}

.sheet-list .sw {
  margin-left: auto;
}

.auth {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
}

.auth-in {
  width: 100%;
  max-width: 440px;
  padding: 40px 24px max(28px, var(--safe-b));
  display: flex;
  flex-direction: column;
}

.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.auth-top.reg {
  margin-top: -20px;
}

.auth h1 {
  font-family: var(--dsp);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin-top: 56px;
  letter-spacing: -0.01em;
}

.auth h1.reg {
  margin-top: 28px;
  font-size: 26px;
}

.auth .lead {
  margin-top: 12px;
  color: var(--tx2);
  font-size: 15px;
  line-height: 1.5;
}

.auth-form {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-foot {
  margin-top: auto;
  padding-top: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--tx2);
}

.auth-foot a {
  color: var(--ink);
  font-weight: 700;
}

.auth .brand-big {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tx);
}

.auth .brand-big span {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.auth .brand-big b {
  font-family: var(--dsp);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.auth .brand-big small {
  font-size: 12px;
  color: var(--tx3);
  margin-top: 4px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--tx3);
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.steps {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.steps span {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--s3);
}

.steps span.on {
  background: var(--gold);
}

@media (min-width: 900px) {
  .auth {
    align-items: center;
    padding: 32px 0;
  }

  .auth-in {
    background: var(--s1);
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 32px;
  }
}

.photo-pick {
  display: flex;
  align-items: center;
  gap: 14px;
}

.photo-pick .av {
  width: 64px;
  height: 64px;
  border: 2px dashed var(--line2);
  background: var(--s1);
  color: var(--tx3);
}

.photo-pick .av.has {
  border-style: solid;
}

.kv {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 16px;
  font-size: 14px;
  margin: 0;
}

.kv dt {
  color: var(--tx3);
}

.kv dd {
  margin: 0;
  text-align: right;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.share-box {
  display: flex;
  gap: 8px;
}

.share-box input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--s2);
  color: var(--tx);
  font-size: 14px;
}

.code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  border: none;
  background: var(--s3);
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

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

@media (max-width: 899px) {
  .no-bar .tabbar {
    display: none;
  }

  .no-bar .view {
    padding-bottom: 0;
  }

  .no-bar .toasts {
    bottom: calc(24px + var(--safe-b));
  }
}

.pick-f {
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
  font-size: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
}

.pick-f i {
  color: var(--ink);
  font-size: 15px;
  flex-shrink: 0;
}

.pick-f span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pick-f.empty span {
  color: var(--tx3);
}

.pick-f:focus-visible {
  border-color: var(--gold);
}

.row2.dt-row {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
}

.cal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cal-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cal-h b {
  font-size: 16px;
}

.cal-wd,
.cal-g {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.cal-wd span {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--tx3);
}

.cal-g button {
  height: 42px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--tx);
  font-size: 15px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.cal-g button.today {
  border-color: var(--line);
  color: var(--ink);
}

.cal-g button.on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.cal-g button:disabled {
  opacity: .3;
}

.cal-q {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.cal-q .chip {
  height: 36px;
  font-size: 13px;
}

.tp {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tp-now {
  text-align: center;
  font-size: 40px;
  font-weight: 800;
  padding: 4px 0 6px;
}

.tp-l {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--tx3);
}

.tp-g {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.tp-g button {
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--s2);
  color: var(--tx);
  font-size: 15px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tp-g button.on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.brand-t {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--dsp);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--tx);
}

.brand-t span {
  color: var(--ink);
  letter-spacing: 0;
}

.brand-t.lg {
  font-size: 21px;
}

.brand-t.sm {
  font-size: 17px;
}

.tn-buy {
  height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--tx);
  background: transparent;
}

.tn-buy i {
  color: var(--ink);
}

.lang-btn {
  height: 40px;
  min-width: 44px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx2);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.page.wide {
  max-width: 1240px;
  padding: 28px 24px 56px;
  gap: 32px;
}

.ttl {
  font-family: var(--dsp);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.hdr h1.plain {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 700;
}

.hdr.tight {
  margin: 0 -10px;
  gap: 4px;
}

.hdr.tight .back {
  margin-left: 0;
}

.d-only {
  display: none !important;
}

@media (min-width: 900px) {
  .m-only {
    display: none !important;
  }

  .d-only {
    display: flex !important;
  }

  .d-only.grid {
    display: grid !important;
  }
}

.cred-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx);
  min-width: 0;
}

.cred-strip .ci {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--s3);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.cred-strip .cb {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cr-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.cr-line b {
  font-size: 16px;
  font-weight: 800;
}

.tool-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.tool-tiles a {
  height: 92px;
  border-radius: 18px;
  background: var(--s1);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--tx);
  min-width: 0;
  text-align: center;
}

.tool-tiles a i {
  color: var(--ink);
  font-size: 22px;
  line-height: 24px;
}

.tool-tiles.c2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-tiles.c2 a {
  height: 84px;
  flex-direction: row;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 16px;
  font-size: 15px;
}

.t-item .date-tile {
  height: 64px;
}

.st {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--s3);
  color: var(--tx2);
  white-space: nowrap;
}

.st.live {
  background: var(--gold);
  color: var(--dark);
}

.st.done {
  background: var(--s2);
  color: var(--tx3);
}

.st.lg {
  font-size: 12px;
  padding: 4px 10px;
}

.st-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pub-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.t-item .meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--tx3);
}

.dash-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1.5px dashed var(--line2);
  color: var(--tx);
  background: transparent;
  text-align: left;
  width: 100%;
}

.dash-card .di {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--s2);
  color: var(--tx3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.dash-card .db {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dash-card .db b {
  font-weight: 700;
}

.dash-card .db span {
  font-size: 13px;
  color: var(--tx3);
}

.dash-btn {
  height: 52px;
  border-radius: 16px;
  border: 1.5px dashed var(--line2);
  background: none;
  color: var(--tx2);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.pub-card {
  flex: 0 0 236px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: 20px;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx);
  min-width: 0;
}

.pub-card .pd {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

.pub-card .pn {
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pub-card .po {
  font-size: 13px;
  color: var(--tx3);
}

.pub-card .pf {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  color: var(--tx2);
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.pub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.pub-grid .pub-card {
  padding: 18px;
}

.pub-grid .pub-card .pn {
  font-size: 16px;
}

.hcards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hcard {
  flex: 1 1 280px;
  min-width: 0;
  min-height: 240px;
  border-radius: 28px;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.hcard.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.hcard .hi {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--s3);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.hcard.gold .hi {
  background: var(--dark);
  color: var(--gold);
}

.hcard .ht {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hcard .ht b {
  font-family: var(--dsp);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
}

.hcard .ht span {
  font-size: 15px;
  line-height: 1.45;
  color: var(--tx3);
}

.hcard.gold .ht span {
  color: var(--on-sub);
}

.hcard.cred {
  justify-content: flex-start;
  gap: 16px;
  padding: 26px;
}

.hcard .cr-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--tx3);
}

.hcard .cr-h b {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cr-g {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cr-g > span {
  border-radius: 18px;
  background: var(--s2);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cr-g b {
  font-family: var(--dsp);
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.cr-g b.ink {
  color: var(--ink);
}

.cr-g span span {
  font-size: 13px;
  color: var(--tx2);
}

.hcard .cr-n {
  font-size: 13px;
  color: var(--tx3);
}

.hcard .cr-a {
  margin-top: auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.hsplit {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
}

.hsplit > .sec:first-child {
  flex: 2 1 560px;
}

.hsplit > .sec:last-child {
  flex: 1 1 300px;
}

.rows-card {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 18px;
  display: flex;
  flex-direction: column;
}

.rows-card .rw {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--tx);
  min-width: 0;
}

.rows-card .rw:last-child {
  border-bottom: none;
}

.rows-card .rw .date-tile {
  width: 52px;
  height: 56px;
  border-radius: 12px;
}

.rows-card .rw .date-tile b {
  font-size: 18px;
}

.rows-card .st {
  font-size: 12px;
  padding: 4px 10px;
}

.foot {
  border-top: 1px solid var(--line);
}

.foot-in {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13px;
  color: var(--tx3);
}

.foot-in .sp {
  margin-left: auto;
}

.foot-c {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  font-size: 12px;
  color: var(--tx3);
}

.wheel-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.wheel-wrap[role="button"] {
  cursor: pointer;
  border-radius: 50%;
}

.wheel-wrap[role="button"]:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 6px;
}

.wh-acts {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.snd-b {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--s3);
  background: var(--s2);
  color: var(--tx2);
  display: inline-grid;
  place-items: center;
  font-size: 14px;
  cursor: pointer;
}

.snd-b[aria-pressed="true"] {
  color: var(--ink);
}

.wheel-wrap svg {
  width: 100%;
  height: 100%;
  display: block;
}

.wheel-rot {
  transform-origin: 150px 150px;
}

.wheel-rot text {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
}

.res-box {
  min-height: 64px;
  border-radius: 18px;
  background: var(--s1);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  text-align: center;
  flex-wrap: wrap;
}

.res-box span {
  font-size: 13px;
  color: var(--tx3);
}

.res-box b {
  font-family: var(--dsp);
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  overflow-wrap: anywhere;
}









.pw-card {
  border-radius: 20px;
  background: var(--s1);
  border: 1px solid var(--line);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pw-out {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 20px;
  font-weight: 700;
  word-break: break-all;
  line-height: 1.4;
}

.bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--s3);
  display: flex;
  overflow: hidden;
}

.bar span {
  border-radius: 999px;
  background: var(--gold);
  transition: width 0.3s;
}

.str-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.str-row b {
  font-size: 13px;
  font-weight: 700;
}

.rng {
  width: 100%;
  accent-color: #f5b83d;
}

.mode-pills {
  display: flex;
  gap: 8px;
}

.mode-pills .chip {
  flex: 1;
  height: 44px;
  justify-content: center;
}

.num-res {
  height: 220px;
  border-radius: 24px;
  background: var(--s1);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 0 12px;
}

.num-res span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--tx3);
}

.num-res b {
  font-family: var(--dsp);
  font-size: 64px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.num-res b.word {
  font-size: 44px;
}

.num-res.roll b {
  animation: rnd-pop 0.35s ease;
}

@keyframes rnd-pop {
  0% {
    transform: scale(0.7);
    opacity: 0.3;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.cred-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx);
}

.cred-card .cc-t {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
}

.cred-card .cc-t > span:first-child {
  font-weight: 700;
}

.cred-card .cc-t > span:last-child {
  color: var(--tx3);
}

.cred-card .cc-t b {
  color: var(--ink);
}

.cred-card small {
  font-size: 12px;
  color: var(--tx3);
}

.kf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.kf.c2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kf > div {
  min-width: 0;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kf b {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.kf b.ink {
  color: var(--ink);
}

.kf span {
  font-size: 12px;
  color: var(--tx3);
}

.sel-hd {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sel-hd h1 {
  font-family: var(--dsp);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.sel-hd p {
  font-size: 14px;
  color: var(--tx3);
}

.sel-hd .desc {
  color: var(--tx2);
  line-height: 1.5;
  white-space: pre-wrap;
}

.prize-card {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.prize-card .pc-h {
  display: flex;
  gap: 14px;
  align-items: center;
}

.pz-ic {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--s3);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}

.pz-ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pz-ic.s {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 18px;
}

.prize-card .pc-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prize-card .pc-b b {
  font-weight: 700;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.prog {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prog .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--tx2);
}

.w-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.w-chips span {
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--s2);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.full-msg {
  font-size: 13px;
  font-weight: 700;
  color: var(--tx3);
}

.btn.md {
  height: 48px;
}

.u-av {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--s3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.li .li-t.n {
  font-weight: 600;
}

.li .li-s.m {
  font-size: 13px;
}

.st-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--dark);
  flex-shrink: 0;
}

.share-card {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-card .set-row {
  padding: 0;
  border: none;
}

.link-box {
  display: flex;
  gap: 8px;
}

.link-box span {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--s2);
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--tx2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.link-box .btn {
  height: 44px;
  border-radius: 12px;
  background: var(--s2);
  font-size: 14px;
}

.up-zone {
  min-height: 116px;
  border-radius: 20px;
  border: 1.5px dashed var(--line2);
  background: none;
  color: var(--tx);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  text-align: center;
  width: 100%;
}

.up-zone .ui {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--s2);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.up-zone b {
  font-weight: 700;
}

.up-zone span {
  font-size: 13px;
  color: var(--tx3);
}

.up-zone.has {
  border-style: solid;
  border-color: var(--gold);
}

.or-row {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--tx3);
}

.or-row button {
  border: none;
  background: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 4px;
}

.mini-step {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--s2);
  border-radius: 12px;
  padding: 3px;
  flex-shrink: 0;
}

.mini-step button {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 9px;
  background: none;
  color: var(--tx);
  font-size: 18px;
}

.mini-step span {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.qty-step {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--s2);
  border-radius: 14px;
  padding: 4px;
  flex-shrink: 0;
}

.qty-step button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: none;
  color: var(--tx);
  font-size: 20px;
}

.qty-step button:disabled {
  opacity: 0.35;
}

.qty-step span {
  min-width: 28px;
  text-align: center;
  font-weight: 800;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}

.cr-box {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cr-box .cb {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cr-box .cb b {
  font-weight: 700;
}

.cr-box .cb b .ink {
  font-variant-numeric: tabular-nums;
}

.cr-box .cb > span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--tx3);
}

.cr-box.warn {
  border-color: var(--live);
}

.foot-btns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 10px;
}

.foot-btns .btn {
  height: 56px;
  border-radius: 16px;
}

.draw {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 560px;
  margin: 0 auto;
  padding: 16px 20px max(28px, var(--safe-b));
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.draw-hd {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 -10px;
}

.draw-hd .dt {
  flex: 1;
  min-width: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.draw-hd .dt b {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.draw-hd .dt span {
  font-size: 12px;
  color: var(--tx3);
}

.draw-cd {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.draw-cd .cap {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tx3);
}

.draw-cd .big {
  font-family: var(--dsp);
  font-size: 160px;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.draw-cd .big.q {
  font-size: 120px;
}

.draw-cd .big.tick {
  animation: rnd-pop 0.5s ease;
}

.draw-cd .sub {
  font-size: 14px;
  color: var(--tx3);
}

.win-card {
  flex: 1;
  border-radius: 28px;
  background: var(--gold);
  color: var(--dark);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  text-align: center;
  animation: rnd-pop 0.45s ease;
}

.win-card .wl {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.win-card .wn {
  font-family: var(--dsp);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.win-card .wd {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--on-sub);
  overflow-wrap: anywhere;
}

.win-card .wp {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  max-width: 100%;
}

.draw-act {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn.inv {
  height: 58px;
  border-radius: 16px;
  border-color: var(--tx);
  background: var(--tx);
  color: var(--bg);
  font-size: 17px;
  font-weight: 800;
}

.draw-act .btn-grid .btn {
  height: 48px;
  font-size: 14px;
}

.draw-full {
  background: var(--bg);
}

.draw-full .draw {
  max-width: 900px;
}

.draw-full .win-card .wn {
  font-size: clamp(34px, 7vw, 72px);
}

.pub-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 18px 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pub-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pub-hd .btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 14px;
}

.pub-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--s2);
  font-size: 12px;
  font-weight: 700;
  color: var(--tx2);
}

.pub-pill i {
  color: var(--ink);
}

.pub-pill.live i {
  color: var(--live);
}

.pub-title {
  font-family: var(--dsp);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.pub-meta {
  font-size: 14px;
  line-height: 1.5;
  color: var(--tx2);
}

.verify {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--s2);
  font-size: 13px;
  line-height: 1.5;
  color: var(--tx2);
}

.verify i {
  color: var(--ok);
  font-size: 18px;
  margin-top: 1px;
}

.no-tile {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--s3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.cta-card {
  margin-top: 6px;
  border-radius: 22px;
  background: var(--s1);
  border: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--tx);
}

.cta-card b {
  font-family: var(--dsp);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
}

.cta-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--tx2);
}

.cta-card .go {
  height: 48px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.soon {
  flex: 1;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding: 0 12px;
}

.soon .si {
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.soon .sl {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.soon h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
}

.soon p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--tx2);
  max-width: 420px;
}

.lead-p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--tx2);
}

.prod {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 2px solid var(--line);
  background: var(--s1);
}

.prod.on {
  border-color: var(--gold);
}

.prod .pr-h {
  display: flex;
  gap: 14px;
  align-items: center;
}

.prod .pr-i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--s3);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.prod .pr-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.prod .pr-b b {
  font-weight: 700;
  font-size: 16px;
}

.prod .pr-b span {
  font-size: 13px;
  line-height: 1.4;
  color: var(--tx3);
}

.prod .pr-f {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.prod .pr-p {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prod .pr-p b {
  font-family: var(--dsp);
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.prod .pr-p span {
  font-size: 12px;
  color: var(--tx3);
}

.bul {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--tx2);
}

.paybar {
  position: sticky;
  bottom: 0;
  margin: auto -20px -28px;
  padding: 14px 20px max(24px, var(--safe-b));
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 5;
}

.paybar .pb-t {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.paybar .pb-t span {
  font-size: 13px;
  color: var(--tx3);
}

.paybar .pb-t b {
  font-family: var(--dsp);
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.paybar .btn {
  height: 54px;
  padding: 0 28px;
  border-radius: 16px;
}

.sum-card {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sum-card .sc-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.sum-card .sc-h > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sum-card .sc-h b {
  font-family: var(--dsp);
  font-size: 18px;
  font-weight: 800;
}

.sum-card .sc-h small {
  font-size: 13px;
  color: var(--tx3);
}

.sum-card .sc-r {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.sum-card .sc-r > span {
  display: flex;
  justify-content: space-between;
  color: var(--tx2);
}

.sum-card .sc-r > span.tot {
  font-weight: 800;
  font-size: 16px;
  color: var(--tx);
  padding-top: 4px;
}

.qr-card {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.qr-box {
  width: 200px;
  height: 200px;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-box img {
  width: 176px;
  height: 176px;
  image-rendering: pixelated;
}

.qr-card > span {
  font-size: 13px;
  color: var(--tx3);
  text-align: center;
}

.bank-ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--s3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
}

.bank-ic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wait {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--s2);
}

.wait > i {
  color: var(--ink);
  font-size: 18px;
  flex-shrink: 0;
}

.wait .wb {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wait .wb b {
  font-weight: 700;
  font-size: 14px;
}

.wait .wb span {
  font-size: 12px;
  color: var(--tx3);
}

.wait.ok > i {
  color: var(--ok);
}

.prof-hd h1.nm {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
}

.cr-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cr-tiles a {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--tx);
  min-width: 0;
}

.cr-tiles b {
  font-family: var(--dsp);
  font-size: 30px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.cr-tiles b.ink {
  color: var(--ink);
}

.cr-tiles span {
  font-weight: 700;
}

.cr-tiles small {
  font-size: 12px;
  color: var(--tx3);
}

.sm-note {
  font-size: 13px;
  color: var(--tx3);
  line-height: 1.5;
}

.acc-row .v {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--tx3);
}

.pay-amt {
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.rcpt {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.rcpt[disabled] {
  color: var(--tx3);
  opacity: 0.5;
}

.btn.out {
  height: 52px;
  border-radius: 16px;
  color: var(--live);
}

.help-q {
  border-bottom: 1px solid var(--line);
}

.help-q:last-child {
  border-bottom: none;
}

.help-q summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  font-weight: 600;
  cursor: pointer;
}

.help-q summary::-webkit-details-marker {
  display: none;
}

.help-q summary i {
  color: var(--tx3);
  transition: transform 0.2s;
}

.help-q[open] summary i {
  transform: rotate(180deg);
}

.help-q p {
  padding: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--tx2);
}

.ntf {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--tx);
}

.ntf:last-child {
  border-bottom: none;
}

.ntf i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--s3);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ntf span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--tx3);
}

.ntf span b {
  font-size: 15px;
  color: var(--tx);
}

.manual-ta {
  min-height: 180px !important;
}

@media (min-width: 900px) {
  .draw .win-card .wn {
    font-size: 44px;
  }

  .tool-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }
}

.foot .foot-in {
  width: 100%;
}

.ph .ttl {
  font-size: 22px;
}

.opt-ta {
  width: 100%;
  min-height: 200px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
  outline: none;
}

.opt-ta:focus {
  border-color: var(--gold);
}

.opt-ta[readonly] {
  opacity: 0.6;
}

.hint-t {
  font-size: 12px;
  color: var(--tx3);
}

@media (min-width: 900px) {
  .topnav-in {
    max-width: none;
    padding: 14px 40px;
  }

  .page {
    max-width: 960px;
  }

  .page.sub {
    max-width: 760px;
  }

  .page.narrow {
    max-width: 560px;
  }

  .page.wide {
    max-width: none;
    padding: 28px 40px 56px;
  }

  .foot-in {
    max-width: none;
    padding: 22px 40px;
  }
}

.spin-w {
  position: relative;
  flex-shrink: 0;
  display: block;
}

.spin-w img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: rnd-spin 9s linear infinite;
}

.spin-w::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -3px;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 12px solid var(--tx);
}

.spin-w.s {
  width: 56px;
  height: 56px;
}

.spin-w.s::after {
  border-left-width: 6px;
  border-right-width: 6px;
  border-top-width: 10px;
}

.spin-w.l {
  width: 168px;
  height: 168px;
}

.spin-w.l::after {
  top: -4px;
  border-left-width: 11px;
  border-right-width: 11px;
  border-top-width: 18px;
}

.hcard.wcard {
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
}

.hcard.wcard .ht {
  align-self: flex-end;
  min-width: 0;
}

@keyframes rnd-spin {
  to {
    transform: rotate(360deg);
  }
}

.wh-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

.wh-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

@media (min-width: 900px) {
  .page.tools-pg {
    max-width: 1100px;
  }

  .wh-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr);
    gap: 36px;
    align-items: start;
  }

  .wh-grid .wheel-wrap {
    max-width: 580px;
  }
}

.tl-tabs {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.tl-tabs button {
  height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  padding: 0 2px;
}

.tl-tabs button i {
  font-size: 17px;
  color: var(--tx3);
}

.tl-tabs button.on i {
  color: var(--ink);
}

.tl-tabs button span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tl-narrow {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.wh-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.pick-res {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  padding: 8px 0 4px;
}

.pick-res b {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  overflow-wrap: anywhere;
  animation: rnd-pop 0.45s ease;
}

.confetti {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 95;
  pointer-events: none;
}

.nr-v {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dice-ic {
  font-size: 104px;
  color: var(--ink);
  line-height: 1;
}

.num-res .coin-ic {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  letter-spacing: 0;
}

.num-res.roll .coin-ic {
  animation: rnd-flip 0.6s ease;
}

.num-res.roll .dice-ic {
  animation: rnd-roll 0.5s ease;
}

@keyframes rnd-flip {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(720deg);
  }
}

@keyframes rnd-roll {
  0% {
    transform: rotate(-200deg) scale(0.6);
  }

  100% {
    transform: rotate(0deg) scale(1);
  }
}

.spin-cnt {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px !important;
  font-weight: 700;
  color: var(--ink) !important;
}

.chip .cn {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.65;
}

.page.sl-pg {
  gap: 18px;
}

.sl-hd {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "t b" "s s";
  gap: 14px 12px;
  align-items: center;
}

.sl-hd .ttl {
  grid-area: t;
  font-size: 22px;
}

.sl-hd .sl-srch {
  grid-area: s;
}

.sl-hd .sl-new {
  grid-area: b;
  height: 44px;
  padding: 0 16px;
}

.sl-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.sl-st {
  min-width: 0;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--tx);
}

.sl-st b {
  font-family: var(--dsp);
  font-size: 20px;
  font-weight: 800;
}

.sl-st span {
  font-size: 12px;
  line-height: 1.25;
  color: var(--tx3);
  overflow-wrap: anywhere;
}

.sl-st small {
  display: none;
}

.sl-st.cr {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
}

.sl-st.cr span {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: var(--tx);
}

.sl-st.cr small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.sl-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

@media (min-width: 900px) {
  .tl-tabs button {
    height: 46px;
    flex-direction: row;
    gap: 8px;
    font-size: 14px;
  }

  .tl-tabs button i {
    font-size: 15px;
  }

  .wh-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 1fr);
  }

  .wh-main .wheel-wrap {
    max-width: 580px;
  }

  .wh-main .res-box {
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
  }

  .page.sl-pg {
    max-width: none;
    padding: 28px 40px 56px;
    gap: 22px;
  }

  .sl-hd {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "t s b";
    gap: 20px;
  }

  .sl-hd .ttl {
    font-size: 26px;
  }

  .sl-hd .sl-srch {
    max-width: 480px;
    justify-self: end;
    width: 100%;
  }

  .sl-stats {
    grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .sl-st {
    padding: 18px 20px;
    border-radius: 20px;
    gap: 6px;
  }

  .sl-st b {
    font-size: 30px;
  }

  .sl-st span {
    font-size: 13px;
  }

  .sl-st.cr {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 18px 20px;
  }

  .sl-st.cr span {
    font-size: 13px;
    font-weight: 400;
    color: var(--tx3);
  }

  .sl-st.cr small {
    margin-top: auto;
  }

  .sl-pg .chips {
    margin: 0;
    padding: 0;
    max-width: 100%;
    flex-wrap: wrap;
  }

  .sl-grid {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 14px;
  }

  .sl-grid.one {
    grid-template-columns: minmax(0, 1fr);
  }

  .view {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 73px);
    min-height: calc(100dvh - 73px);
    padding-bottom: 0;
  }

  .view > .foot {
    margin-top: auto;
  }

  .view > .page {
    flex-shrink: 0;
  }

  .no-chrome .view {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

.sn-grid,
.sd-grid,
.sn-main,
.sd-main,
.sn-side,
.sd-side,
.sn-cols {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sn-crumb {
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--tx3);
  min-width: 0;
}

.sn-crumb a {
  color: var(--tx2);
  font-weight: 600;
}

.sn-crumb i {
  font-size: 11px;
}

.sn-crumb span {
  color: var(--tx);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sn-h {
  margin: 0;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}

.sn-h i {
  color: var(--ink);
}

.pz-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.sd-facts,
.sd-acts {
  flex-direction: column;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.sd-facts {
  padding: 18px 20px;
  gap: 16px;
}

.sd-prog {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.sd-prog b {
  font-family: var(--dsp);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.sd-prog .bar {
  grid-column: 1 / -1;
  height: 8px;
}

.sd-prog .bar span {
  background: var(--ink);
  border-radius: 999px;
}

.sd-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.sd-dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.sd-dl dt {
  color: var(--tx3);
}

.sd-dl dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.sd-dl dd.ink {
  color: var(--ink);
}

.sd-acts {
  padding: 4px 16px;
}

.sd-acts button {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 50px;
  border: none;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--tx);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.sd-acts button:last-child {
  border-bottom: none;
}

.sd-acts button span {
  flex: 1;
}

.sd-acts button i {
  width: 20px;
  text-align: center;
  color: var(--tx2);
}

.sd-acts button i.ch {
  font-size: 11px;
  color: var(--tx3);
}

.sd-acts button.red,
.sd-acts button.red i {
  color: var(--live);
}

.sd-acts button:hover span {
  color: var(--ink);
}

.sd-acts button.red:hover span {
  color: var(--live);
}

.tbl-wrap {
  flex-direction: column;
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow-x: auto;
}

.ptbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ptbl th {
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx3);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.ptbl td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--tx2);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ptbl tbody tr:last-child td {
  border-bottom: none;
}

.ptbl tbody tr:hover td {
  background: var(--s2);
}

.ptbl td.b {
  color: var(--tx);
  font-weight: 600;
}

.ptbl .n {
  width: 48px;
  color: var(--tx3);
}

.ptbl .a {
  width: 56px;
  text-align: right;
}

.ptbl tr.win td.b {
  color: var(--ink);
}

.ptbl .muted {
  font-size: 13px;
  color: var(--tx3);
}

@media (min-width: 900px) {
  .page.sd-pg,
  .page.sn-pg {
    max-width: none;
    padding: 24px 40px 56px;
    gap: 22px;
  }

  .sd-top,
  .sn-hd {
    margin: 0;
    gap: 12px;
  }

  .sn-hd h1.plain {
    display: none;
  }

  .sd-grid,
  .sn-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
  }

  .sd-side,
  .sn-side {
    position: sticky;
    top: 96px;
    gap: 16px;
  }

  .sd-main {
    gap: 22px;
  }

  .sd-pg .sel-hd h1 {
    font-size: 34px;
  }

  .sd-pg .sel-hd p {
    font-size: 15px;
  }

  .sd-tabs {
    max-width: 520px;
  }

  .pz-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
  }

  .pz-grid .prize-card > .btn,
  .pz-grid .prize-card > .full-msg {
    margin-top: auto;
  }

  .sd-pg #sd-body > .list {
    max-width: none;
  }

  .sn-card {
    background: var(--s1);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .sn-card .list {
    background: var(--s2);
  }

  .sn-side .sec {
    background: var(--s1);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 20px;
  }

  .sn-side .list {
    background: var(--s2);
  }

  .sn-side .foot-btns .btn {
    height: 52px;
  }
}

@media (min-width: 1240px) {
  .sn-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }

  .sd-grid,
  .sn-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
  }
}

.pf-grid,
.pf-side,
.pf-main,
.pf-two {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.pf-pg {
  padding: 20px 16px 32px;
}

.pf-pays > :nth-child(n+4) {
  display: none;
}

.pf-dl {
  width: 100%;
  margin: 10px 0 0;
  flex-direction: column;
}

.pf-dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  text-align: left;
}

.pf-dl dt {
  color: var(--tx3);
}

.pf-dl dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.ct-i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--s3);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 6px;
}

@media (min-width: 900px) {
  .page.pf-pg {
    max-width: none;
    padding: 32px 40px 56px;
  }

  .pf-grid {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .pf-side {
    position: sticky;
    top: 96px;
    gap: 14px;
  }

  .pf-side .prof-hd {
    padding: 32px 24px 24px;
    gap: 10px;
  }

  .pf-side .prof-hd h1 {
    font-size: 22px;
  }

  .pf-side .prof-hd .pill-badge {
    white-space: normal;
    text-align: left;
  }

  .pf-edit {
    margin-top: 8px;
    background: var(--s2);
    height: 46px;
  }

  .pf-main {
    gap: 26px;
  }

  .pf-pg .cr-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .pf-pg .cr-tiles a {
    padding: 22px 22px 20px;
    gap: 6px;
  }

  .pf-pg .cr-tiles b {
    font-size: 40px;
    line-height: 1.1;
  }

  .pf-pg .cr-tiles a:hover {
    border-color: var(--ink);
  }

  .cr-tiles .ct-buy {
    border-style: dashed;
    justify-content: center;
  }

  .cr-tiles .ct-buy .ct-i {
    display: flex;
    background: var(--ink);
    color: var(--on-sub);
  }

  .cr-tiles .ct-buy span:not(.ct-i) {
    color: var(--ink);
  }

  .pf-pays > :nth-child(n+4) {
    display: flex;
  }

  .pf-two {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }
}

.sd-card {
  background: var(--s1);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  gap: 10px;
}

.sd-card h1 {
  margin: 0;
}

.sd-card h1 .nm {
  margin-right: 10px;
}

.sd-card h1 .st {
  vertical-align: middle;
  position: relative;
  top: -0.15em;
  font-family: var(--font);
  white-space: nowrap;
}

.sd-card .when {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sd-card .when i {
  color: var(--ink);
  font-size: 13px;
}

.sd-card .desc {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.sd-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.sd-bar .btn.sm {
  height: 42px;
}

.sd-cnt {
  font-size: 14px;
  font-weight: 600;
  color: var(--tx2);
}

.uniq-t {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 46px;
  padding: 0 8px 0 16px;
  border-radius: 14px;
  background: var(--s1);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}

.uniq-t .sw {
  transform: scale(0.85);
  transform-origin: right center;
}

.photo-pick .pp-b {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.photo-pick .av.sq {
  border-radius: 16px;
  font-size: 22px;
}

.sn-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
}

.sn-note i {
  color: var(--ink);
  margin-top: 3px;
}

@media (min-width: 900px) {
  .sd-card {
    padding: 24px 26px;
    gap: 12px;
  }
}

.dr-stage,
.dr-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  min-width: 0;
}

.win-card .wf {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  text-align: center;
}

.win-card .wf div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.win-card .wf dt {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-sub);
  opacity: 0.75;
}

.win-card .wf dd {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}

.win-card .wf.many {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.win-card.nn .wf dd {
  font-family: var(--dsp);
  font-size: 20px;
  font-weight: 800;
}

.dr-side {
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.dr-pz {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  background: var(--s1);
  border: 1px solid var(--line);
}

.dr-pz .pc-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dr-pz .pc-b b {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.dr-pz .bar span {
  background: var(--gold);
  border-radius: 999px;
}

.dr-wl {
  list-style: none;
  margin: 0;
  padding: 2px 16px;
  border-radius: 20px;
  background: var(--s1);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: calc(100vh - 330px);
}

.dr-wl li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

.dr-wl li:last-child {
  border-bottom: none;
}

.dr-wl li .li-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dr-wl li .li-t {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dr-wl li .li-s {
  color: var(--tx3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dr-wl li.em .li-t {
  color: var(--tx3);
  font-weight: 500;
}

.dr-wl li.on .no-tile {
  background: var(--gold);
  color: var(--dark);
}

.dr-wl li.on .li-t {
  color: var(--ink);
}

.dr-wl .tm {
  font-size: 12px;
  color: var(--tx3);
}

.dr-meta {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--tx3);
}

@media (min-width: 900px) {
  .draw,
  .draw-full .draw {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 40px 32px;
    gap: 20px;
  }

  .draw-hd {
    margin: 0;
  }

  .draw-hd .dt b {
    font-size: 18px;
  }

  .draw-hd .dt span {
    font-size: 13px;
  }

  .dr-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: stretch;
  }

  .dr-main {
    gap: 16px;
  }

  .win-card {
    border-radius: 32px;
    padding: 40px 48px;
    gap: 24px;
  }

  .win-card .wl {
    font-size: 15px;
  }

  .win-card .wn,
  .draw-full .win-card .wn {
    font-size: clamp(44px, 5.4vw, 104px);
  }

  .win-card .wf {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 14px 22px;
    max-width: 980px;
    width: 100%;
    margin: 0 auto;
  }

  .win-card .wf.many {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  }

  .win-card .wf dt {
    font-size: 12px;
  }

  .win-card .wf dd {
    font-size: 20px;
  }

  .win-card.nn .wf dd {
    font-size: clamp(22px, 2.2vw, 34px);
  }

  .win-card .wp {
    height: 42px;
    padding: 0 18px;
    font-size: 15px;
  }

  .draw-cd .big {
    font-size: 220px;
  }

  .draw-act {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }

  .draw-act .btn-grid {
    display: contents;
  }

  .draw-act .btn-grid .btn,
  .draw-act .btn.inv {
    height: 58px;
  }
}

.pub-grid2,
.pub-main,
.pub-side,
.pub-pzs,
.m-only-b {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.pub-desc {
  white-space: pre-wrap;
}

.pub-pz {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pub-pz .pp-h {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.pub-pz .pp-h h2 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.pub-pz .pp-c {
  font-size: 13px;
  color: var(--tx3);
  white-space: nowrap;
}

.pub-pz .pp-e {
  text-align: left;
  margin: 0;
}

.pub-st {
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border-radius: 20px;
  background: var(--s1);
  border: 1px solid var(--line);
}

.pub-st .pst-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pub-st .pst-h b {
  font-family: var(--dsp);
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
}

.pub-st .bar {
  flex: none;
  height: 8px;
}

.pub-st .bar span {
  background: var(--gold);
  border-radius: 999px;
}

.pub-st .kf {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.pub-st .kf > div {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: none;
  padding: 12px 0;
}

.pub-st .kf > div span {
  order: -1;
  font-size: 14px;
}

@media (min-width: 900px) {
  .m-only-b {
    display: none;
  }

  .pub-wrap {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    padding: 20px 40px 32px;
    gap: 26px;
  }

  .pub-hd .btn {
    height: 44px;
  }

  .pub-grid2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
  }

  .pub-side {
    position: sticky;
    top: 20px;
    gap: 16px;
  }

  .pub-hero {
    background: var(--s1);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 28px 30px;
    gap: 12px;
  }

  .pub-title {
    font-size: 36px;
  }

  .pub-meta {
    font-size: 15px;
  }

  .pub-pzs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
    align-items: start;
  }

  .pub-pz {
    background: var(--s1);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px 18px;
  }

  .pub-pz .list {
    background: var(--s2);
    border: none;
  }

  .pub-pz .pp-h h2 {
    font-size: 16px;
  }

  .pub-pz .pp-e {
    padding: 14px 0 6px;
  }
}

.btn[hidden],
[hidden] {
  display: none !important;
}

.sd-tabrow {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sd-tabrow .uniq-t {
  display: flex;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.sl-stats.nocr {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cr-tiles.one {
  grid-template-columns: minmax(0, 1fr);
}

.kf.c1 {
  grid-template-columns: minmax(0, 1fr);
}

.pub-wrap {
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}

.pub-wrap > .foot-c {
  margin-top: auto;
}

@media (min-width: 900px) {
  .sd-tabrow {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .sd-tabrow .sd-tabs {
    flex: 0 1 520px;
    min-width: 0;
  }

  .sd-tabrow .uniq-t {
    width: auto;
    height: 52px;
    flex-shrink: 0;
  }

  .sl-stats.nocr {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .pf-pg .cr-tiles.one {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pub-wrap > .foot-c {
  padding: 18px 0 4px;
  border-top: 1px solid var(--line);
}

.pz-late {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--s3);
  color: var(--tx2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  vertical-align: middle;
  white-space: nowrap;
  text-transform: none;
}

.ck-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--s3);
  border-radius: 14px;
  overflow: hidden;
}

.ck-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 14px;
  cursor: pointer;
  background: var(--s1);
}

.ck-row + .ck-row {
  border-top: 1px solid var(--s3);
}

.ck-row input {
  flex: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.ck-row span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ck-row b {
  font-size: 14px;
  font-weight: 600;
  color: var(--tx);
}

.ck-row em {
  font-style: normal;
  font-size: 12.5px;
  color: var(--tx3);
}

.ck-row.off {
  opacity: .5;
  cursor: default;
}

.ck-row.off input {
  cursor: default;
}

.gift-b {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px 4px 4px;
}

.gift-b .gift-ic {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--on-sub);
  font-size: 28px;
}

.gift-b b {
  font-family: var(--dsp);
  font-size: 18px;
  color: var(--tx);
}

.gift-b p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--tx2);
}

.field input[readonly] {
  color: var(--tx3);
  cursor: default;
}


.ev-st {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--s2);
  color: var(--tx2);
  white-space: nowrap;
  flex-shrink: 0;
}

.ev-st.live {
  background: rgba(255, 90, 78, 0.14);
  color: var(--live);
}

.ev-st.live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.ev-st.done,
.ev-st.ok {
  background: rgba(60, 207, 126, 0.14);
  color: var(--ok);
}

.ev-st.bad {
  background: rgba(255, 90, 78, 0.14);
  color: var(--live);
}

.av.ev-lg {
  border-radius: 12px;
  background: var(--s2);
  color: var(--ink);
  font-family: var(--dsp);
}

.av.ev-lg.t3 {
  font-size: 12px;
  letter-spacing: -0.02em;
}

.av.ev-lg.s.t3 {
  font-size: 9px;
}

.av.ev-lg.xs.t3 {
  font-size: 8px;
}

.av.ev-lg.s {
  width: 28px;
  height: 28px;
  font-size: 11px;
  border-radius: 8px;
}

.av.ev-lg.xs {
  width: 22px;
  height: 22px;
  font-size: 10px;
  border-radius: 6px;
}

.av.ev-lg.l {
  border-radius: 16px;
}

.av.ev-lg.xl {
  border-radius: 22px;
}

.ev-sup {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--tx3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ev-pg .hdr,
.ev-mg .hdr {
  align-items: center;
}

.ev-pg .hdr .li-b,
.ev-mg .hdr .li-b {
  gap: 0;
}

.ev-pg,
.ev-mg {
  gap: 20px;
}

.ev-home .sl-hd {
  grid-template-areas: "t b";
}

.ev-intro {
  border-radius: 24px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(245, 184, 61, 0.22), transparent 55%), var(--s1);
  border: 1px solid var(--line);
  padding: 24px 20px;
}

.ev-ib {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

.ev-ik {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.ev-ib h2 {
  font-family: var(--dsp);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
}

.ev-ib p {
  color: var(--tx2);
  font-size: 14px;
  line-height: 1.6;
}

.ev-feat {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ev-feat li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
}

.ev-feat i {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--s2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.ev-ib .btn-row {
  justify-content: flex-start;
}

.ev-ib .btn-row .btn {
  flex: 0 1 auto;
}

.ev-cr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx);
}

.ev-cr i {
  color: var(--ink);
}

.ev-cr span:nth-of-type(1) {
  flex: 1;
  font-weight: 600;
}

.ev-cr b {
  font-family: var(--dsp);
  font-size: 20px;
}

.ev-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.ev-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx);
  min-width: 0;
}

.ev-cb {
  height: 92px;
  background: linear-gradient(135deg, var(--s3), var(--s2));
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 28px;
}

.ev-cc {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  min-width: 0;
}

.ev-role {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.ev-cn {
  font-size: 16px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ev-cm {
  font-size: 13px;
  color: var(--tx3);
}

.ev-cf {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 12px;
  color: var(--tx2);
  margin-top: 2px;
}

.ev-cf i {
  margin-right: 5px;
  color: var(--tx3);
}

.ev-co {
  color: var(--tx3);
}

.ev-hero {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 16, 18, 0.35), rgba(15, 16, 18, 0.92)), var(--bn, radial-gradient(120% 140% at 100% 0%, rgba(245, 184, 61, 0.25), transparent 60%)), #17181b;
  background-size: cover;
  background-position: center;
  color: #f2f1ec;
}

.ev-hb {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 18px 20px;
}

.ev-bk {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(242, 241, 236, 0.75);
  align-self: flex-start;
  min-height: 32px;
}

.ev-org {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(242, 241, 236, 0.82);
  flex-wrap: wrap;
}

.ev-org img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.ev-hero h1 {
  font-family: var(--dsp);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.ev-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 13px;
  color: rgba(242, 241, 236, 0.8);
}

.ev-meta i {
  margin-right: 6px;
  color: #f5b83d;
}

.ev-meta.sm {
  color: var(--tx2);
  font-size: 12px;
}

.ev-meta.sm i {
  color: var(--ink);
}

.ev-acts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ev-hero .btn:not(.pri) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f2f1ec;
}

.ev-hero .note {
  background: rgba(0, 0, 0, 0.35);
  color: rgba(242, 241, 236, 0.85);
}

.ev-kpi {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-kpi span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 4px;
  font-size: 11px;
  color: rgba(242, 241, 236, 0.7);
  text-align: center;
}

.ev-kpi span + span {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.ev-kpi b {
  font-family: var(--dsp);
  font-size: 18px;
  font-weight: 800;
  color: #f2f1ec;
}

.ev-kpi .lv b {
  color: #ff5a4e;
}

.ev-kpi.in {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--s1);
}

.ev-kpi.in span {
  color: var(--tx3);
}

.ev-kpi.in span + span {
  border-left-color: var(--line);
}

.ev-kpi.in b {
  color: var(--tx);
}

.ev-kpi.in .lv b {
  color: var(--live);
}

.ev-tabs .chip i {
  font-size: 13px;
}

.ev-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--live);
}

.ev-live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--live);
  animation: evPulse 1.4s ease-in-out infinite;
}

.ev-live-dot.sm {
  width: 7px;
  height: 7px;
  gap: 0;
}

.ev-live-dot.lg {
  font-size: 12px;
  justify-content: center;
}

@keyframes evPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.ev-mlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.ev-mc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx);
  min-width: 0;
}

.ev-mc.live {
  border-color: rgba(255, 90, 78, 0.45);
}

.ev-mm {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tx3);
  min-height: 14px;
}

.ev-mm i {
  margin-right: 4px;
}

.dot-s {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--tx3);
}

.ev-mr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.ev-mt {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}

.ev-mt span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ev-mt.b {
  justify-content: flex-end;
  text-align: right;
}

.ev-mc.done .ev-mt:not(.win) {
  color: var(--tx3);
}

.ev-mt.win {
  font-weight: 800;
}

.ev-sc {
  font-family: var(--dsp);
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
  min-width: 52px;
}

.ev-sc.mute {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: var(--tx3);
}

.ev-sets {
  font-size: 11px;
  color: var(--tx3);
  text-align: center;
}

.ev-sets b {
  color: var(--live);
}

.ev-rule {
  font-size: 12px;
  color: var(--tx3);
  line-height: 1.5;
  margin-top: -4px;
}

.ev-tb {
  border-radius: 16px;
  background: var(--s1);
  border: 1px solid var(--line);
  overflow: hidden;
}

.ev-tr {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) repeat(4, 30px) 40px 36px;
  align-items: center;
  gap: 4px;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.ev-tb.wd .ev-tr {
  grid-template-columns: 26px minmax(0, 1fr) repeat(4, 28px) 40px 36px;
}

.ev-tb:not(.wd) .ev-tr {
  grid-template-columns: 26px minmax(0, 1fr) repeat(3, 30px) 40px 36px;
}

.ev-tr.th {
  border-top: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--tx3);
  text-transform: uppercase;
  background: var(--s2);
}

.ev-tr > span:not(.tn) {
  text-align: center;
}

.ev-tr > span:nth-child(2) {
  text-align: left;
}

.ev-tr .tn {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 600;
}

.ev-tr .tn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ev-tr .b {
  font-weight: 800;
}

.ev-tr.adv > span:first-child {
  color: var(--ok);
  font-weight: 800;
}

.ev-leg {
  font-size: 11px;
  color: var(--tx3);
}

.ev-grp {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ev-grp + .ev-grp {
  margin-top: 6px;
}

.ev-gh {
  font-size: 14px;
  font-weight: 700;
}

.bk {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
}

.bk-c {
  flex: 0 0 210px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-snap-align: start;
}

.bk-h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx3);
}

.bk-ms {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 10px;
  flex: 1;
}

.bk-m {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: var(--s1);
  border: 1px solid var(--line);
  overflow: hidden;
  color: var(--tx);
}

.bk-m.live {
  border-color: rgba(255, 90, 78, 0.5);
}

.bk-s {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
}

.bk-s + .bk-s {
  border-top: 1px solid var(--line);
}

.bk-n {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bk-s b {
  font-family: var(--dsp);
  font-size: 13px;
}

.bk-s.win {
  font-weight: 800;
  background: rgba(245, 184, 61, 0.1);
}

.bk-s.win b {
  color: var(--ink);
}

.bk-s.tbd {
  color: var(--tx3);
}

.bk-third {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 230px;
}

.ev-pl {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--dsp);
  font-size: 12px;
  font-weight: 800;
  background: var(--s2);
  color: var(--tx2);
  flex-shrink: 0;
}

.ev-pl.g {
  background: #f5b83d;
  color: #3d2a00;
}

.ev-pl.s {
  background: #c9ccd3;
  color: #24262b;
}

.ev-pl.b {
  background: #d08a4f;
  color: #2e1704;
}

.ev-pp {
  font-size: 12px;
  font-weight: 700;
  color: var(--tx2);
}

.ev-ov {
  border-radius: 18px;
  background: var(--s1);
  border: 1px solid var(--line);
  overflow: hidden;
}

.ev-or {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  list-style: none;
  cursor: default;
}

.ev-or::-webkit-details-marker {
  display: none;
}

.ev-ov.md .ev-or {
  grid-template-columns: 34px minmax(0, 1fr) repeat(3, 24px) 44px;
  gap: 4px;
}

.ev-ov.md .ev-or .av.ev-lg {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

@media (min-width: 620px) {
  .ev-ov.md .ev-or {
    grid-template-columns: 38px minmax(0, 1fr) repeat(3, 40px) 56px;
    gap: 6px;
  }
}

.ev-or.th {
  border-top: none;
  background: var(--s2);
  font-size: 11px;
  font-weight: 700;
  color: var(--tx3);
  text-transform: uppercase;
  padding-top: 8px;
  padding-bottom: 8px;
}

.ev-or > span:nth-child(n+3) {
  text-align: center;
}

.ev-or .tn {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
}

.ev-or .tn span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ev-or .b {
  font-family: var(--dsp);
  font-size: 16px;
  font-weight: 800;
}

.ev-md.g {
  color: #f5b83d;
}

.ev-md.s {
  color: #c9ccd3;
}

.ev-md.b {
  color: #d08a4f;
}

.ev-od > summary {
  cursor: pointer;
}

.ev-od[open] > summary {
  background: var(--s2);
}

.ev-ob {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px 14px;
  background: var(--s2);
}

.ev-oc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--s1);
  font-size: 12px;
}

.ev-oc i {
  color: var(--ink);
}

.ev-oc b {
  font-weight: 700;
}

.ev-oc .num {
  color: var(--tx3);
}

.ev-dgrid,
.ev-tgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.ev-dc,
.ev-tc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx);
  min-width: 0;
}

.ev-di {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--s2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ev-di.lg {
  width: 56px;
  height: 56px;
  font-size: 24px;
  border-radius: 18px;
}

.ev-dn {
  font-weight: 700;
  font-size: 15px;
}

.ev-pod {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
}

.ev-pod .ev-pl {
  width: 20px;
  height: 20px;
  font-size: 10px;
}

.ev-pod span:not(.ev-pl) {
  margin-right: 6px;
}

.ev-prog {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: var(--s3);
  overflow: hidden;
  margin-top: 6px;
}

.ev-prog span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--ink);
}

.ev-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--tx2);
}

.ev-spsec {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.ev-spg {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ev-spg + .ev-spg {
  margin-top: 6px;
}

.ev-sph {
  font-size: 12px;
  font-weight: 600;
  color: var(--tx3);
}

.ev-sps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ev-sp {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: var(--s1);
  border: 1px solid var(--line);
  color: var(--tx);
  min-width: 0;
}

.ev-sp img,
.ev-spi {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: contain;
  background: #ffffff;
  flex-shrink: 0;
}

.ev-spi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--s2);
  color: var(--ink);
  font-family: var(--dsp);
  font-weight: 800;
}

.ev-spn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ev-spn b {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.ev-spn span {
  font-size: 12px;
  color: var(--tx3);
}

.ev-spg.main .ev-sps,
.ev-spg.organizer .ev-sps {
  grid-template-columns: minmax(0, 1fr);
}

.ev-spg.main .ev-sp {
  padding: 16px;
  border-color: rgba(245, 184, 61, 0.45);
  background: radial-gradient(120% 140% at 100% 0%, rgba(245, 184, 61, 0.16), transparent 60%), var(--s1);
}

.ev-spg.main .ev-sp img,
.ev-spg.main .ev-spi {
  width: 64px;
  height: 64px;
  border-radius: 16px;
}

.ev-spg.main .ev-spn b {
  font-size: 17px;
}

.ev-aw {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.ev-awc {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: radial-gradient(140% 140% at 0% 0%, rgba(245, 184, 61, 0.16), transparent 55%), var(--s1);
  border: 1px solid var(--line);
  min-width: 0;
}

.ev-awi {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--gold);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ev-awt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.ev-awc b {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.ev-rnd {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ev-rnd + .ev-rnd {
  margin-top: 6px;
}

.ev-rh {
  font-size: 12px;
  font-weight: 700;
  color: var(--tx2);
}

.ev-dinfo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ev-dinfo .li-b {
  gap: 8px;
  flex: 1 1 220px;
}

.ev-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ev-tags span,
.ev-tags a {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--s2);
  font-size: 12px;
  font-weight: 600;
  color: var(--tx2);
}

.ev-rules summary,
.ev-rs summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.ev-rules summary::-webkit-details-marker,
.ev-rs summary::-webkit-details-marker {
  display: none;
}

.ev-rules summary i:last-child,
.ev-rs summary > i:last-child {
  margin-left: auto;
  color: var(--tx3);
  transition: transform 0.2s;
}

.ev-rules[open] summary i:last-child,
.ev-rs[open] summary > i:last-child {
  transform: rotate(180deg);
}

.ev-rules summary i:first-child {
  color: var(--ink);
}

.ev-rules p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--tx2);
}

.ev-rs {
  flex-direction: column;
  align-items: stretch;
}

.ev-rs summary {
  width: 100%;
}

.ev-rl {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.ev-rl span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--s2);
  font-size: 13px;
}

.ev-rl b {
  color: var(--ink);
  font-size: 12px;
}

.ev-thero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.ev-thero .ev-tags {
  justify-content: center;
}

.ev-ckl .ck-row > span {
  display: block;
  line-height: 1.4;
}

.ev-ckl .ck-row > span span,
.ev-ckl .ck-row > span i {
  display: inline;
}

.ev-ckl .ck-row i {
  color: var(--ink);
  margin-right: 4px;
}

.ev-gt {
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--s2);
  color: var(--tx2);
}

.ev-rsh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.ev-rsh b {
  font-size: 14px;
}

.ev-rsh b.bad {
  color: var(--live);
}

.ev-rrow {
  cursor: pointer;
}

.ev-rrow > i:last-child {
  color: var(--tx3);
}

.ev-rc {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: var(--s2);
  color: var(--tx2);
}

.ev-rc.ok {
  background: rgba(60, 207, 126, 0.14);
  color: var(--ok);
}

.ev-rc.bad {
  background: rgba(255, 90, 78, 0.14);
  color: var(--live);
}

.ev-iss {
  display: block;
  font-size: 12px;
  color: var(--live);
  line-height: 1.4;
  white-space: normal;
}

.ev-iss i {
  margin-right: 5px;
}

.ev-tcard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: var(--s1);
  border: 1px solid var(--line);
}

.ev-tch {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ev-tch b {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.ev-code {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: var(--s2);
}

.ev-code .lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--tx3);
}

.ev-code > b {
  font-family: var(--dsp);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.ev-code .btn-row .icon-btn {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.ev-cdm {
  font-family: var(--dsp);
  font-size: 18px;
  letter-spacing: 0.1em;
  color: var(--ink);
  min-height: 52px;
  display: flex;
  align-items: center;
}

.ev-rb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ev-rb .icon-btn {
  width: 40px;
  height: 40px;
}

.icon-btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.ev-mrow {
  cursor: pointer;
}

.ev-mrow > i:last-child {
  color: var(--tx3);
}

.ev-join {
  gap: 18px;
}

.ev-brand {
  align-self: flex-start;
}

.ev-codein {
  font-family: var(--dsp) !important;
  font-size: 22px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}

.ev-jt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: var(--s1);
  border: 1px solid var(--line);
  min-width: 0;
}

.ev-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 26px 20px;
}

.ev-done b {
  font-family: var(--dsp);
  font-size: 19px;
}

.ev-done > span:last-child {
  color: var(--tx2);
  font-size: 14px;
  line-height: 1.5;
}

.ev-ok {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(60, 207, 126, 0.16);
  color: var(--ok);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.ev-pub {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ev-pubh {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ev-pubh b {
  font-size: 16px;
  overflow-wrap: anywhere;
}

.ev-step.ok .li-t {
  color: var(--tx3);
  text-decoration: line-through;
}

.ev-step > i:last-child {
  color: var(--tx3);
}

.ev-sn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--tx2);
  flex-shrink: 0;
}

.ev-step.ok .ev-sn {
  background: var(--ok);
  border-color: var(--ok);
  color: #0f1012;
}

.ev-ovg {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.ev-trow {
  gap: 10px;
}

.ev-tl {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
  color: var(--tx);
}

.ev-cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

.ev-mf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ev-cfg:empty {
  display: none;
}

.ev-cfg {
  padding: 4px 14px;
}

.ev-cfg > .row2,
.ev-cfg > .field {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.ev-cfg > .hint {
  display: block;
  padding: 0 0 12px;
  font-size: 12px;
  color: var(--tx3);
}

.ev-wst {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.ev-wst li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tx3);
  text-align: center;
}

.ev-wst li span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--s2);
  font-weight: 800;
}

.ev-wst li.on {
  color: var(--tx);
}

.ev-wst li.on span {
  background: var(--gold);
  color: var(--dark);
}

.ev-wst li.ok span {
  background: rgba(60, 207, 126, 0.18);
  color: var(--ok);
}

.ev-tpl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ev-tp {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
  font-weight: 700;
  font-size: 14px;
  text-align: left;
}

.ev-tp i {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--s2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ev-tp.on {
  border: 2px solid var(--gold);
}

.ev-fmts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.ev-wnav {
  padding-top: 4px;
}

.ev-acts2 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ev-acts2 .btn {
  height: 44px;
  font-size: 14px;
  padding: 0 14px;
}

.ev-acts2 .sm-note {
  flex-basis: 100%;
}

.ev-rk .li {
  gap: 10px;
}

.ev-rin {
  width: 92px !important;
  height: 44px !important;
  text-align: center;
  flex-shrink: 0;
}

.ev-un {
  min-width: 30px;
  font-size: 12px;
  color: var(--tx3);
}

.ev-dm {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.ev-score {
  gap: 16px;
  padding-bottom: calc(24px + var(--safe-b));
}

.sc-sv {
  width: 32px;
  display: inline-flex;
  justify-content: center;
  color: var(--tx3);
}

.sc-sv .ok {
  color: var(--ok);
}

.sc-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.sc-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: 22px;
  background: var(--s1);
  border: 1px solid var(--line);
  min-width: 0;
  text-align: center;
}

.sc-side.win {
  border: 2px solid var(--gold);
}

.sc-tn {
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
  min-height: 38px;
  display: flex;
  align-items: center;
}

.sc-big {
  font-family: var(--dsp);
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
}

.sc-sw {
  font-size: 12px;
  color: var(--tx3);
}

.sc-sw b {
  color: var(--ink);
  font-size: 14px;
}

.sc-btns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: 100%;
}

.sc-pl {
  display: flex;
  gap: 8px;
}

.sc-pl .sc-p {
  flex: 1;
  min-width: 0;
}

.sc-p {
  height: 64px;
  border-radius: 16px;
  border: none;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--dsp);
  font-size: 24px;
  font-weight: 800;
  touch-action: manipulation;
}

.sc-p:active,
.sc-m:active {
  transform: scale(0.97);
}

.sc-m {
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--s2);
  color: var(--tx2);
  font-size: 16px;
  touch-action: manipulation;
}

.sc-vs {
  align-self: center;
  font-family: var(--dsp);
  font-size: 14px;
  font-weight: 800;
  color: var(--tx3);
  padding-top: 40px;
}

.sc-vs .num {
  font-size: 20px;
  color: var(--tx);
}

.sc-sets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-sets .lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--tx3);
}

.sc-sl {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sc-set {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 64px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
}

.sc-set span {
  font-size: 10px;
  font-weight: 700;
  color: var(--tx3);
}

.sc-set b {
  font-family: var(--dsp);
  font-size: 15px;
}

.sc-set.cur {
  border-color: rgba(255, 90, 78, 0.5);
}

.sc-set.cur b {
  color: var(--live);
}

.sc-res {
  display: grid;
  gap: 10px;
}

.sc-res .btn {
  white-space: normal;
  height: auto;
  min-height: 60px;
  padding: 10px 16px;
}

.sc-foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (min-width: 620px) {
  .ev-grid,
  .ev-dgrid,
  .ev-tgrid,
  .ev-aw,
  .ev-mlist {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ev-tpl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ev-fmts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ev-sps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ev-spg.main .ev-sps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ev-mf {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

}

@media (min-width: 900px) {
  .ev-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ev-hb {
    padding: 28px 32px 30px;
    max-width: 820px;
  }

  .ev-hero h1 {
    font-size: 34px;
  }

  .ev-kpi span {
    padding: 16px 8px;
    font-size: 12px;
  }

  .ev-kpi b {
    font-size: 22px;
  }

  .ev-intro {
    padding: 36px 40px;
  }

  .ev-ib h2 {
    font-size: 28px;
  }

  .ev-dgrid,
  .ev-tgrid,
  .ev-aw {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ev-ovg {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
  }

  .ev-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .ev-dm {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    align-items: start;
  }

  .ev-dm .ev-mlist {
    grid-template-columns: minmax(0, 1fr);
  }

  .ev-tr,
  .ev-tb:not(.wd) .ev-tr {
    grid-template-columns: 30px minmax(0, 1fr) repeat(3, 40px) 50px 44px;
    padding: 11px 16px;
    font-size: 14px;
  }

  .ev-tb.wd .ev-tr {
    grid-template-columns: 30px minmax(0, 1fr) repeat(4, 40px) 50px 44px;
  }

  .bk-c {
    flex-basis: 230px;
  }

  .ev-tpl {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ev-wz.page.narrow {
    max-width: 720px;
  }

  .sc-big {
    font-size: 72px;
  }
}

.ev-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ev-hd .btn {
  flex-shrink: 0;
  height: 44px;
  padding: 0 16px;
}

.ev-2c {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.ev-hint {
  margin-top: -6px;
  font-size: 12px;
  color: var(--tx3);
  line-height: 1.5;
}

.ev-next {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ev-next ol {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--tx2);
}

.ev-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(245, 184, 61, 0.55);
  text-underline-offset: 3px;
}

.ev-meta .ev-map i:first-child,
.ev-meta .ev-map i.ev-ext {
  margin-right: 0;
}

.ev-ext {
  font-size: 10px;
  opacity: 0.7;
}

.kv dd .ev-map {
  justify-content: flex-end;
}

.kv dd .ev-map i:first-child {
  color: var(--ink);
}

.ev-sw {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--line2);
  flex-shrink: 0;
}

.ev-cols-pick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ev-cp {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line2);
  background: var(--s2);
  color: var(--tx3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  padding: 0;
}

.ev-cp.on {
  box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--gold);
}

.ev-tmeta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 12px;
  color: var(--tx2);
  margin-top: 4px;
}

.ev-tmeta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ev-tmeta i {
  color: var(--tx3);
}

.av.ev-lg.kc {
  box-shadow: inset 0 -3px 0 var(--kc);
}

.ev-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--s1);
  border: 1px solid var(--line);
  min-width: 0;
}

.ev-lk {
  font-size: 13px;
  font-weight: 600;
  color: var(--tx2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

.ev-code .btn-row .btn {
  flex: 1;
}

.ev-left {
  text-align: left;
}

.ev-tbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ev-tbar .chips {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0;
  max-width: none;
}

.ev-tbar .btn {
  flex-shrink: 0;
  height: 40px;
}

.ev-inv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 2px;
}

.ev-pubh {
  flex-wrap: wrap;
}

.ev-vis button {
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ev-vis button.on {
  background: var(--gold);
  color: var(--dark);
}

.ev-span {
  grid-column: 1 / -1;
}

.ev-capr {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ev-capr b {
  overflow-wrap: anywhere;
}

.ev-inrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.ev-inrow .btn {
  height: 52px;
}

.ev-jside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ev-jside .brand-t {
  align-self: flex-start;
}

.ev-jbad {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}

.ev-thero.card {
  padding: 24px 16px;
}

.ev-thn {
  font-family: var(--dsp);
  font-size: 20px;
  text-align: center;
}

.ev-mlist.one {
  grid-template-columns: minmax(0, 1fr) !important;
}

.ev-score > * {
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .ev-2c {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .ev-2c.wide-l {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  }

  .ev-side {
    position: sticky;
    top: 92px;
  }

  .ev-tpl {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .ev-fmts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ev-wz .form {
    max-width: none;
  }

  .ev-join .ev-2c {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
  }

  .ev-join .ev-jside {
    position: sticky;
    top: 92px;
  }

  .sc-p {
    height: 80px;
    font-size: 28px;
  }
}

@media (min-width: 1280px) {
  .ev-tpl {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .ev-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.ev-mh {
  min-height: 52px;
}

.ev-sec {
  position: relative;
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 10px;
}

.ev-sec > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--s1);
  color: var(--tx);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.ev-sec > summary::-webkit-details-marker {
  display: none;
}

.ev-sec > summary > i:first-child {
  font-size: 13px;
  color: var(--ink);
}

.ev-sec > summary > i:last-child {
  font-size: 11px;
  color: var(--tx3);
  transition: transform 0.15s ease;
}

.ev-sec[open] > summary {
  border-color: var(--gold);
}

.ev-sec[open] > summary > i:last-child {
  transform: rotate(180deg);
}

.ev-sdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--live);
}

.ev-secm {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  width: 260px;
  max-width: calc(100vw - 32px);
  padding: 6px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--s1);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ev-secm button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--tx2);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
}

.ev-secm button > i:first-child {
  width: 18px;
  text-align: center;
  font-size: 14px;
  color: var(--tx3);
}

.ev-secm button > span:not(.ev-bdg) {
  flex: 1;
  min-width: 0;
}

.ev-secm button > i:last-child:not(:first-child) {
  font-size: 12px;
  color: var(--ink);
}

.ev-secm button:hover {
  background: var(--s2);
  color: var(--tx);
}

.ev-secm button.on {
  background: rgba(245, 184, 61, 0.16);
  color: var(--tx);
}

.ev-secm button.on > i:first-child {
  color: var(--ink);
}

.ev-mh .li-b {
  min-width: 0;
  flex: 1;
}

.ev-mh h1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 560px) {
  .ev-mh h1 {
    font-size: 16px;
  }
}

.ev-bdg {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--live);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ev-mbody {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.ev-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.ev-panel {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245, 184, 61, 0.045), rgba(245, 184, 61, 0) 140px), var(--s1);
  min-width: 0;
}

.ev-ph {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 14px;
}

.ev-pi {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(245, 184, 61, 0.15);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ev-ph h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.ev-ph p {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--tx3);
  line-height: 1.45;
}

.ev-pa {
  flex-shrink: 0;
  display: inline-flex;
  gap: 8px;
}

.ev-pa .btn {
  height: 40px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 12px;
}

.ev-pb {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.ev-panel.flush .ev-pb {
  padding: 0 0 4px;
}

.ev-panel.flush .ev-ov {
  border: none;
  border-radius: 0 0 22px 22px;
  background: transparent;
}

.ev-panel.flush .ev-pb > .card {
  margin: 0 16px 12px;
}

.ev-panel.danger {
  background: var(--s1);
}

.ev-panel.danger .ev-pi {
  background: rgba(255, 90, 78, 0.14);
  color: var(--live);
}

.ev-pb > .list {
  background: var(--bg);
}

.ev-soft {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 26px 16px;
  border-radius: 16px;
  border: 1px dashed var(--line2);
  color: var(--tx3);
}

.ev-soft i {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 4px;
}

.ev-soft b {
  color: var(--tx);
  font-size: 15px;
}

.ev-soft span {
  font-size: 13px;
  max-width: 420px;
  line-height: 1.5;
}

.ev-steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ev-step {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: var(--bg);
  color: var(--tx);
  text-align: left;
}

.ev-step .li-b b {
  font-size: 14px;
}

.ev-step .li-b span {
  font-size: 12px;
  color: var(--tx3);
}

.ev-step > i:last-child {
  color: var(--tx3);
}

.ev-step.ok .li-b b {
  color: var(--tx3);
  text-decoration: none;
}

.ev-step:not(.ok) {
  border-color: rgba(245, 184, 61, 0.18);
}

.ev-hero.in .ev-hb {
  padding-top: 20px;
}

.ev-hero.in h1 {
  font-size: 22px;
}

.ev-selwrap select {
  font-weight: 600;
}

.ev-sel {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.ev-sel select {
  appearance: none;
  -webkit-appearance: none;
  height: 36px;
  padding: 0 30px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--s2);
  color: var(--tx2);
  font: 700 12px var(--font);
  cursor: pointer;
}

.ev-sel i {
  position: absolute;
  right: 11px;
  font-size: 10px;
  pointer-events: none;
  color: var(--tx3);
}

.ev-sel.st-approved select {
  background: rgba(60, 207, 126, 0.12);
  border-color: rgba(60, 207, 126, 0.3);
  color: var(--ok);
}

.ev-sel.st-pending select {
  background: rgba(245, 184, 61, 0.12);
  border-color: rgba(245, 184, 61, 0.35);
  color: var(--ink);
}

.ev-sel.st-rejected select {
  background: rgba(255, 90, 78, 0.12);
  border-color: rgba(255, 90, 78, 0.3);
  color: var(--live);
}

.ev-chips {
  margin: 0;
  padding: 0;
  max-width: none;
}

.ev-swl {
  border-radius: 16px;
  background: var(--bg);
  padding: 2px 14px;
}

.ev-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--tx2);
  margin-top: 4px;
}

.ev-pf {
  display: flex;
  justify-content: flex-end;
}

.ev-pf .btn,
.ev-savebar .btn {
  height: 46px;
  padding: 0 22px;
}

.ev-savebar {
  position: sticky;
  bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px);
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  pointer-events: none;
}

.ev-savebar .btn {
  pointer-events: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.ev-link {
  gap: 6px;
  padding: 4px 4px 4px 14px;
}

.ev-link .ev-lk {
  flex: 1;
  min-width: 0;
}

.ev-lb {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: var(--s2);
  color: var(--tx2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ev-lb:hover,
.ev-lb:focus-visible {
  background: rgba(245, 184, 61, 0.16);
  color: var(--ink);
}

.ev-newlink {
  align-self: flex-start;
  height: 34px;
  padding: 0 4px;
}

@media (min-width: 900px) {
  .ev-savebar {
    bottom: 16px;
  }

  .ev-ph {
    padding: 18px 20px 14px;
  }

  .ev-pb {
    padding: 0 20px 20px;
  }

  .ev-panel.flush .ev-pb > .card {
    margin: 0 20px 16px;
  }

  .ev-hero.in h1 {
    font-size: 28px;
  }
}

.ev-pa .ev-st {
  align-self: center;
}

.ev-tl {
  flex: 1 1 220px;
}

.ev-trow {
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .ev-ph {
    flex-wrap: wrap;
  }

  .ev-ph .li-b {
    flex: 1 1 calc(100% - 60px);
  }

  .ev-pa {
    margin-left: 52px;
    flex-wrap: wrap;
  }

  .ev-trow .ev-sel {
    margin-left: 52px;
  }
}

.ev-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(245, 184, 61, 0.07), rgba(245, 184, 61, 0) 40%), var(--s1);
  margin-top: 8px;
}

.ev-strip-in {
  display: flex;
  padding: 14px 16px;
  min-width: 0;
}

.ev-mq {
  position: relative;
  overflow: hidden;
  min-width: 0;
  flex: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.ev-mq-t {
  display: flex;
  width: max-content;
}

.ev-mq-g {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 5px;
}

.ev-mq-g.dup {
  display: none;
}

.ev-mq:not(.run) .ev-mq-t {
  width: auto;
  padding: 0 15px;
}

.ev-mq:not(.run) .ev-mq-g {
  flex-wrap: wrap;
}

.ev-mq.run .ev-mq-g.dup {
  display: flex;
}

.ev-mq.ms .ev-mq-t {
  width: max-content;
  padding: 0;
}

.ev-mq.ms .ev-mq-g {
  flex-wrap: nowrap;
}

.ev-mq.run .ev-mq-t {
  animation: evMq var(--dur, 30s) linear infinite;
}

.ev-mq.run:hover .ev-mq-t,
.ev-mq.run:focus-within .ev-mq-t {
  animation-play-state: paused;
}

@keyframes evMq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ev-mi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 6px 14px 6px 6px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--tx);
  max-width: 280px;
}

a.ev-mi:hover,
a.ev-mi:focus-visible {
  border-color: rgba(245, 184, 61, 0.55);
}

.ev-mi-p {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ev-mi-p img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ev-mi-p.r img {
  object-fit: cover;
}

.ev-mi-i {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--s2);
  color: var(--ink);
  font-family: var(--dsp);
  font-weight: 800;
  font-size: 14px;
}

.ev-mi-t {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.ev-mi-t b {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev-mi-t small {
  font-size: 11px;
  color: var(--tx3);
  white-space: nowrap;
}

.ev-mi.t-main {
  border-color: rgba(245, 184, 61, 0.6);
  background: radial-gradient(120% 160% at 0% 0%, rgba(245, 184, 61, 0.2), transparent 60%), var(--bg);
  padding: 8px 18px 8px 8px;
  border-radius: 16px;
}

.ev-mi.t-main .ev-mi-p {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.ev-mi.t-main .ev-mi-t b {
  font-size: 15px;
}

.ev-mi.t-main .ev-mi-t small {
  color: var(--ink);
  font-weight: 700;
}

.ev-mi.t-gold .ev-mi-t small {
  color: var(--ink);
}

@media (min-width: 900px) {
  .ev-strip-in {
    padding: 16px 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ev-mq.run {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ev-mq.run .ev-mq-t {
    animation: none;
  }

  .ev-mq.run .ev-mq-g.dup {
    display: none;
  }
}

.ev-cq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ev-cqr {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px 150px 40px;
  gap: 8px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: var(--bg);
}

.ev-cqr .inp,
.ev-stg .inp {
  height: 44px;
  font-size: 15px;
  border-radius: 12px;
}

.ev-cqr .ev-cqo {
  grid-column: 1 / -1;
}

.ev-cqa {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ev-cqa .hint {
  flex: 1;
  min-width: 180px;
}

.ev-mg .form > .hint,
.ev-cqa .hint,
.ev-stgs .hint,
#aw-hint:empty {
  display: none;
}

#aw-hint {
  font-size: 12px;
  line-height: 1.45;
  color: var(--tx3);
}

.ev-stgs .hint {
  margin-top: -4px;
}

.ev-ans {
  color: var(--tx3);
}

.ev-stgs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ev-stg {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--s1);
  border: 1px solid var(--line);
}

.ev-stg .inp:disabled {
  opacity: 0.6;
}

.ev-stgh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ev-stgh b {
  font-size: 15px;
}

.ev-stgh .inp {
  width: auto;
  min-width: 170px;
}

.ev-stps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.ev-stp {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--tx2);
}

.ev-stp.w {
  grid-column: 1 / -1;
}

.ev-pkh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

@media (max-width: 560px) {
  .ev-cqr {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
  }

  .ev-cqr [data-cf="label"] {
    grid-column: 1 / -1;
  }

  .ev-stgh {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .ev-stgh .inp {
    width: 100%;
    min-width: 0;
  }

  .ev-cqr select.inp {
    padding-left: 12px;
    padding-right: 28px;
    background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
  }
}

.no-chrome .ev-side,
.no-chrome .ev-join .ev-jside {
  top: 24px;
}

.no-chrome .ev-savebar {
  bottom: calc(var(--safe-b) + 16px);
}

.no-chrome #ev-strip {
  padding-bottom: var(--safe-b);
}

.view:has(> #ev-strip) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.view:has(> #ev-strip) > .page {
  flex-shrink: 0;
}

.view > #ev-strip {
  margin-top: auto;
}

.sc-guide {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--s1);
  border: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--tx2);
}

.sc-guide i {
  color: var(--gold);
  margin-top: 3px;
}

.sc-guide b {
  color: var(--tx);
}

.sc-unit {
  font-size: 12px;
  font-weight: 600;
  color: var(--tx3);
  margin-top: -4px;
}

.note.ok i {
  color: var(--ok);
}

:root[data-theme="copper"] {
  background: #0d0c0b;
}

:root[data-theme="copper"] body {
  background: transparent;
}

:root[data-theme="copper"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 30%, rgba(222, 138, 88, 0.55) 0 180px, rgba(222, 138, 88, 0) 182px),
    radial-gradient(circle at 16% 84%, rgba(168, 90, 46, 0.55) 0 220px, rgba(168, 90, 46, 0) 222px),
    radial-gradient(circle at 54% 50%, rgba(244, 176, 118, 0.22) 0 130px, rgba(244, 176, 118, 0) 132px),
    radial-gradient(circle at 98% 98%, rgba(128, 64, 30, 0.5) 0 200px, rgba(128, 64, 30, 0) 202px),
    radial-gradient(circle at 34% 0%, rgba(150, 84, 44, 0.42) 0 150px, rgba(150, 84, 44, 0) 152px),
    #0d0c0b;
}

:root[data-theme="copper"] .card,
:root[data-theme="copper"] .list,
:root[data-theme="copper"] .ev-card,
:root[data-theme="copper"] .ev-panel,
:root[data-theme="copper"] .hcard:not(.gold),
:root[data-theme="copper"] .cta-card,
:root[data-theme="copper"] .pub-card,
:root[data-theme="copper"] .rows-card,
:root[data-theme="copper"] .sd-card,
:root[data-theme="copper"] .sn-card,
:root[data-theme="copper"] .tbl-wrap,
:root[data-theme="copper"] .ev-mc:not(.live),
:root[data-theme="copper"] .ev-tc,
:root[data-theme="copper"] .ev-tcard,
:root[data-theme="copper"] .ev-oc,
:root[data-theme="copper"] .ev-ov,
:root[data-theme="copper"] .ev-dc,
:root[data-theme="copper"] .stat,
:root[data-theme="copper"] .prize-card,
:root[data-theme="copper"] .cred-card,
:root[data-theme="copper"] .share-card,
:root[data-theme="copper"] .res-box,
:root[data-theme="copper"] .sum-card,
:root[data-theme="copper"] .qr-card,
:root[data-theme="copper"] .up-card,
:root[data-theme="copper"] .pw-card,
:root[data-theme="copper"] .prof-hd,
:root[data-theme="copper"] .t-item,
:root[data-theme="copper"] .play-card:not(.gold),
:root[data-theme="copper"] .ev-kpi.in,
:root[data-theme="copper"] .ev-sec > summary,
:root[data-theme="copper"] .sc-guide {
  background: linear-gradient(160deg, rgba(255, 240, 228, 0.09) 0%, rgba(255, 240, 228, 0.03) 55%, rgba(255, 240, 228, 0.05) 100%), rgba(18, 15, 13, 0.42);
  border-color: rgba(255, 236, 220, 0.13);
  -webkit-backdrop-filter: blur(34px) saturate(140%);
  backdrop-filter: blur(34px) saturate(140%);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

:root[data-theme="copper"] .topnav,
:root[data-theme="copper"] .tabbar {
  background: rgba(14, 12, 11, 0.72);
  border-color: rgba(255, 236, 220, 0.1);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  backdrop-filter: blur(24px) saturate(140%);
}

:root[data-theme="copper"] .mdl-box,
:root[data-theme="copper"] .ev-secm {
  background: rgba(26, 22, 20, 0.86);
  border: 1px solid rgba(255, 236, 220, 0.13);
  -webkit-backdrop-filter: blur(34px) saturate(140%);
  backdrop-filter: blur(34px) saturate(140%);
}

:root[data-theme="copper"] .btn.pri {
  background: linear-gradient(135deg, #7d5236 0%, #4b2f1e 100%);
  border-color: rgba(255, 220, 190, 0.16);
  color: #f7ebdf;
  box-shadow: inset 0 1px 0 rgba(255, 225, 200, 0.16);
}

:root[data-theme="copper"] .field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
:root[data-theme="copper"] .field select,
:root[data-theme="copper"] .field textarea {
  background: rgba(10, 8, 7, 0.35);
  border-color: rgba(255, 236, 220, 0.12);
}

:root[data-theme="copper"] .sw[aria-checked="true"] {
  background: #8a5a3a;
}

.thm-pick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--s2);
}

.thm-pick button {
  height: 38px;
  border: none;
  border-radius: 9px;
  background: none;
  color: var(--tx2);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.thm-pick button.on {
  background: var(--s1);
  color: var(--tx);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.thm-pick button.on i {
  color: var(--ink);
}

:root[data-theme="copper"] .thm-pick button.on,
:root[data-theme="light"] .thm-pick button.on {
  background: var(--s3);
}

.set-row.thm-row {
  flex-wrap: wrap;
  gap: 10px;
}

.set-row.thm-row .thm-pick {
  flex: 0 0 168px;
}

.thm-pick:not(.lng-pick) button {
  font-size: 15px;
}

@media (max-width: 999px) {
  :root[data-theme="copper"] body::before {
    background:
      radial-gradient(circle at 92% 26%, rgba(222, 138, 88, 0.5) 0 90px, rgba(222, 138, 88, 0) 92px),
      radial-gradient(circle at 6% 70%, rgba(168, 90, 46, 0.5) 0 110px, rgba(168, 90, 46, 0) 112px),
      radial-gradient(circle at 96% 96%, rgba(128, 64, 30, 0.5) 0 100px, rgba(128, 64, 30, 0) 102px),
      radial-gradient(circle at 30% 2%, rgba(150, 84, 44, 0.4) 0 80px, rgba(150, 84, 44, 0) 82px),
      #0d0c0b;
  }
}

.gm-wrap {
  position: relative;
  flex-shrink: 0;
}

.gm-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--tx);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}

.gm-ic {
  display: grid;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  gap: 3px;
}

.gm-ic i {
  display: block;
  border-radius: 2.5px;
  background: currentColor;
}

.gm-btn:hover,
.gm-btn[aria-expanded="true"] {
  background: var(--s2);
}

.gm-btn[aria-expanded="true"] {
  color: var(--ink);
}

.gm-pop {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  width: 280px;
  max-width: calc(100vw - 32px);
  padding: 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--s1);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm-pop[hidden] {
  display: none;
}

.gm-l {
  font-size: 12px;
  font-weight: 700;
  color: var(--tx3);
  padding: 2px 2px 0;
}

.gm-pop .gm-in {
  margin-top: 6px;
}

.lng-pick {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

:root[data-theme="copper"] .gm-pop {
  background: #1b1715;
  border-color: rgba(255, 236, 220, 0.13);
}

:root[data-theme="copper"] .hcard.gold,
:root[data-theme="copper"] .play-card.gold {
  background: linear-gradient(135deg, #7d5236 0%, #4b2f1e 100%);
  border-color: transparent;
}

.play-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.play-card.v {
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  min-height: 168px;
  padding: 16px;
}

.play-card.v .pc-t b {
  font-size: 14px;
  line-height: 1.3;
}

.hcard.tcard .tc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tc-sp {
  display: flex;
  gap: 6px;
}

.tc-sp i {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--s2);
  color: var(--tx3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.hcard.tcard:hover .tc-sp i {
  color: var(--ink);
}

.hsplit aside .hcard.cred {
  min-height: 0;
  margin-top: 12px;
}

.ev-intro h2.ev-lead {
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
  color: var(--tx);
}

@media (min-width: 900px) {
  .ev-intro h2.ev-lead {
    font-size: 18px;
  }
}

.brand-t::before {
  content: "";
  align-self: center;
  flex-shrink: 0;
  width: 1.55em;
  height: 1.55em;
  margin-right: 0.45em;
  border-radius: 0.36em;
  background: url("/static/brand/icon.svg") center / cover no-repeat;
}
