/* اسم‌فامیل — Persian tilework theme.
   Lapis & turquoise faience, gold leaf, saffron, pomegranate, ivory paper. */

@font-face { font-family: 'Vazirmatn'; src: url('/fonts/Vazirmatn.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Lalezar'; src: url('/fonts/Lalezar-arabic.woff2') format('woff2'); unicode-range: U+0600-06FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFF; font-display: swap; }
@font-face { font-family: 'Lalezar'; src: url('/fonts/Lalezar-latin.woff2') format('woff2'); unicode-range: U+0000-00FF; font-display: swap; }

:root {
  --bg-0: #070f26; --bg-1: #0c1838; --bg-2: #13265a;
  --lapis: #1b3a8c; --lapis-2: #2a4fb0; --lapis-ink: #0f2259;
  --turq: #1fb5a8; --turq-2: #7ee0d4; --turq-dark: #0e6f67;
  --gold: #e3b04b; --gold-2: #f7d98b; --gold-dark: #a8741e;
  --saffron: #f29f05; --pome: #c0283f; --pome-2: #e5484d; --clay: #c76a3c; --emerald: #1f8a5b;
  --ivory: #f8f1e3; --ivory-2: #efe3c8; --ink: #1d1a2e; --ink-2: #5b5470;
  --ok: #1f8a5b; --bad: #c0283f;
  --line: rgba(227, 176, 75, .28);
  --glass: linear-gradient(160deg, rgba(42, 79, 176, .34), rgba(12, 24, 56, .78));
  --radius: 20px;
  --girih: none; --band: none;
  --safe-t: env(safe-area-inset-top, 0px); --safe-b: env(safe-area-inset-bottom, 0px);
  --display: 'Lalezar', 'Vazirmatn', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  color: #fff; background: var(--bg-0); direction: rtl; overflow-x: hidden; line-height: 1.65;
  -webkit-font-smoothing: antialiased; touch-action: manipulation;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(90% 55% at 100% -5%, rgba(31, 181, 168, .32) 0%, transparent 60%),
    radial-gradient(80% 50% at -10% 105%, rgba(242, 159, 5, .22) 0%, transparent 62%),
    radial-gradient(70% 40% at 50% 50%, rgba(27, 58, 140, .45) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
}
body::after {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: var(--girih); background-size: 96px 96px;
  -webkit-mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 80%);
  mask-image: radial-gradient(120% 80% at 50% 0%, #000 0%, transparent 80%);
}
button, input, select { font-family: inherit; }
a { color: var(--gold-2); }
.hidden { display: none !important; }
.muted { color: rgba(255, 255, 255, .64); }
.small { font-size: .84rem; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 10px; }
.col { display: flex; flex-direction: column; gap: 12px; }
.grow { flex: 1; min-width: 0; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: 0; }

/* ------------------------------------------------------------ layout */
#app { min-height: 100dvh; display: flex; }
.screen {
  width: 100%; max-width: 540px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px;
  padding: calc(14px + var(--safe-t)) 16px calc(24px + var(--safe-b));
  animation: screenIn .35s cubic-bezier(.2, .8, .2, 1) both;
}
.screen.wide { max-width: 760px; }
.screen.has-nav { padding-bottom: calc(96px + var(--safe-b)); }
@keyframes screenIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; }
.title-sm { font-family: var(--display); font-size: 1.35rem; color: var(--gold-2); }

/* ------------------------------------------------------------ cards */
.card {
  position: relative; border-radius: var(--radius); padding: 16px; background: var(--glass);
  border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.card.orn::before, .card.orn::after {
  content: ''; position: absolute; width: 14px; height: 14px; background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: .85;
}
.card.orn::before { top: -7px; right: 22px; }
.card.orn::after { bottom: -7px; left: 22px; }
.card.paper {
  background: var(--ivory); color: var(--ink); border: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  padding-top: 22px; overflow: hidden;
}
.card.paper::before {
  content: ''; position: absolute; top: 0; inset-inline: 0; height: 8px; background: var(--band); background-size: 28px 8px;
  clip-path: none; width: auto; opacity: 1; border-radius: 0;
}
.card.paper .muted { color: var(--ink-2); }
.h { font-family: var(--display); font-size: 1.2rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.card.paper .h { color: var(--lapis); }

/* ------------------------------------------------------------ buttons */
.btn {
  appearance: none; border: 0; cursor: pointer; border-radius: 16px; padding: 12px 18px; font-size: 1rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; position: relative;
  transition: transform .12s ease, filter .2s ease, box-shadow .2s ease; user-select: none; white-space: nowrap;
}
.btn:active:not(:disabled) { transform: translateY(2px) scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }
.btn-lg { padding: 16px 22px; font-size: 1.15rem; border-radius: 18px; }
.btn-sm { padding: 8px 12px; font-size: .88rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #2a1700; background: linear-gradient(180deg, #ffd166 0%, var(--saffron) 100%);
  box-shadow: 0 6px 0 #a86400, 0 12px 26px rgba(242, 159, 5, .35);
}
.btn-primary:active:not(:disabled) { box-shadow: 0 3px 0 #a86400, 0 6px 14px rgba(242, 159, 5, .3); }
.btn-turq { background: linear-gradient(180deg, #34cbbd, var(--turq-dark)); box-shadow: 0 5px 0 #0a4d47, 0 10px 22px rgba(31, 181, 168, .3); }
.btn-lapis { background: linear-gradient(180deg, var(--lapis-2), var(--lapis-ink)); box-shadow: 0 5px 0 #081538, 0 10px 22px rgba(27, 58, 140, .4); border: 1px solid var(--line); }
.btn-pome { background: linear-gradient(180deg, var(--pome-2), #8e1a2e); box-shadow: 0 5px 0 #5c0f1e; }
.btn-ghost { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.card.paper .btn-ghost, .sheet .btn-ghost { color: var(--ink); background: rgba(29, 26, 46, .06); border-color: rgba(29, 26, 46, .14); }
.icon-btn {
  appearance: none; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .07); color: #fff;
  width: 44px; height: 44px; border-radius: 14px; display: inline-grid; place-items: center; cursor: pointer; position: relative; flex: none;
}
.icon-btn .ico { width: 22px; height: 22px; }
.icon-btn.on { background: var(--turq); border-color: transparent; }
.icon-btn.warn { background: var(--pome); border-color: transparent; }
.icon-btn .dot { position: absolute; top: 7px; left: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--pome-2); box-shadow: 0 0 0 2px var(--bg-1); }

/* ------------------------------------------------------------ inputs */
.field {
  width: 100%; border-radius: 14px; border: 2px solid rgba(29, 26, 46, .12); background: #fff; color: var(--ink);
  padding: 12px 14px; font-size: 1.05rem; outline: none; transition: border-color .2s, box-shadow .2s;
}
.field:focus { border-color: var(--turq); box-shadow: 0 0 0 4px rgba(31, 181, 168, .18); }
.field.dark { background: rgba(7, 15, 38, .55); color: #fff; border-color: rgba(227, 176, 75, .25); }
.field.dark::placeholder { color: rgba(255, 255, 255, .45); }
.field.code { text-align: center; letter-spacing: .3em; font-weight: 900; font-size: 1.25rem; direction: ltr; }
.sel { border-radius: 10px; border: 1px solid rgba(29, 26, 46, .2); padding: 6px 8px; font-size: .95rem; background: #fff; color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none; cursor: pointer; border-radius: 999px; padding: 7px 14px; font-size: .92rem; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .06); color: #fff; display: inline-flex; gap: 6px; align-items: center;
}
.chip.on { background: linear-gradient(180deg, #34cbbd, var(--turq-dark)); border-color: transparent; box-shadow: 0 3px 10px rgba(31, 181, 168, .3); }
.chip.static { cursor: default; }
.chip .x { opacity: .7; font-size: .8em; }
.chip.ai { border-style: dashed; }
.seg { display: flex; background: rgba(7, 15, 38, .5); border-radius: 14px; padding: 4px; gap: 4px; border: 1px solid rgba(255, 255, 255, .08); }
.seg button {
  flex: 1; appearance: none; border: 0; border-radius: 10px; padding: 9px 6px; background: transparent; color: rgba(255, 255, 255, .75);
  font-weight: 800; font-size: .9rem; cursor: pointer;
}
.seg button.on { background: var(--gold); color: #2a1700; box-shadow: 0 3px 10px rgba(227, 176, 75, .35); }
input[type=range] { width: 100%; accent-color: var(--saffron); }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .82rem; font-weight: 800;
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .12); white-space: nowrap;
}
.pill.gold { background: rgba(227, 176, 75, .16); border-color: rgba(227, 176, 75, .45); color: var(--gold-2); }
.pill.prem { background: linear-gradient(90deg, var(--gold), var(--saffron)); color: #2a1700; border: 0; }
.pill.turq { background: rgba(31, 181, 168, .18); border-color: rgba(31, 181, 168, .5); color: var(--turq-2); }

/* ------------------------------------------------------------ avatars */
.avatar { width: var(--s); height: var(--s); display: inline-block; position: relative; flex: none; border-radius: 50%; transition: transform .2s, filter .3s, opacity .3s; }
.avatar svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)); }
.avatar.off { filter: grayscale(1); opacity: .45; }
.avatar.speaking { box-shadow: 0 0 0 3px var(--turq), 0 0 18px var(--turq); animation: speak 1s ease-in-out infinite; }
@keyframes speak { 50% { box-shadow: 0 0 0 5px var(--turq-2), 0 0 26px var(--turq); } }

/* ------------------------------------------------------------ home */
.home-head { display: flex; align-items: center; gap: 10px; }
.me-chip {
  display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 999px; cursor: pointer; flex: 1; min-width: 0;
  background: rgba(7, 15, 38, .5); border: 1px solid var(--line); color: #fff; appearance: none; text-align: right;
}
.me-chip b { display: block; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-chip small { color: var(--gold-2); font-weight: 700; font-size: .75rem; }
.coins { display: inline-flex; align-items: center; gap: 5px; font-weight: 900; color: var(--gold-2); }
.coins .coin { flex: none; }
.streak-badge { display: inline-flex; align-items: center; gap: 3px; color: #ffb347; font-weight: 900; }
.hero { position: relative; display: flex; justify-content: center; margin-top: 6px; }
.hero-svg { display: block; width: auto; height: min(36vh, 330px); max-width: 100%; }
.logo { text-align: center; margin-top: 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.logo h1 {
  font-family: var(--display); font-weight: 400; font-size: clamp(2.8rem, 13vw, 4rem); margin: 0; line-height: 1.35; padding: 0 .1em;
  background: linear-gradient(180deg, #fff6d8 10%, var(--gold) 55%, #b77a1c 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(12, 24, 56, .9)) drop-shadow(0 8px 18px rgba(0, 0, 0, .4));
}
.logo p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .98rem; }
.screen > .logo + .card, .screen > .logo + .play-grid { margin-top: 10px; }
.play-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.play-tile {
  appearance: none; border: 1px solid var(--line); border-radius: 22px; padding: 16px 12px; cursor: pointer; color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; background: var(--glass); position: relative; overflow: hidden;
}
.play-tile .ico { width: 34px; height: 34px; color: var(--gold-2); }
.play-tile b { font-size: 1.02rem; }
.play-tile small { color: rgba(255, 255, 255, .62); font-size: .78rem; }
.play-tile.big { grid-column: 1 / -1; flex-direction: row; justify-content: center; padding: 20px; gap: 12px;
  background: linear-gradient(180deg, #ffd166, var(--saffron)); color: #2a1700; border: 0; box-shadow: 0 6px 0 #a86400, 0 16px 30px rgba(242, 159, 5, .3); }
.play-tile.big .ico { color: #2a1700; width: 30px; height: 30px; }
.play-tile.big b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; }
.play-tile:active { transform: translateY(2px); }
.online-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 rgba(61, 220, 132, .6); animation: ping 1.6s infinite; margin-left: 4px; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.join-row { display: flex; gap: 8px; }
.daily { display: flex; align-items: center; gap: 12px; }
.daily .ico { width: 36px; height: 36px; color: #ffb347; }

/* bottom nav */
.nav {
  position: fixed; bottom: 0; inset-inline: 0; z-index: 30; display: flex; justify-content: center;
  padding: 8px 16px calc(8px + var(--safe-b)); background: linear-gradient(180deg, transparent, rgba(7, 15, 38, .92) 35%);
}
.nav-in { display: flex; gap: 6px; background: rgba(12, 24, 56, .92); border: 1px solid var(--line); border-radius: 22px; padding: 6px; width: 100%; max-width: 420px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); }
.nav button {
  flex: 1; appearance: none; border: 0; background: transparent; color: rgba(255, 255, 255, .6); border-radius: 16px; padding: 7px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: .74rem; font-weight: 800; cursor: pointer; position: relative;
}
.nav button .ico { width: 24px; height: 24px; }
.nav button.on { color: #2a1700; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }

/* ------------------------------------------------------------ onboarding */
.onb { text-align: center; }
.onb h2 { font-family: var(--display); font-weight: 400; font-size: 1.8rem; margin: 0; color: var(--gold-2); }
.av-pick { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; justify-items: center; }
.av-pick button { appearance: none; border: 0; background: none; padding: 3px; border-radius: 50%; cursor: pointer; transition: transform .15s; width: 100%; max-width: 58px; }
.av-pick .avatar { width: 100%; height: auto; aspect-ratio: 1; }
.av-pick button.on { box-shadow: 0 0 0 3px var(--gold); transform: scale(1.08); }
.av-big { display: flex; justify-content: center; margin: 4px 0; }

/* ------------------------------------------------------------ lobby */
.code-card { text-align: center; }
.code-digits { font-family: var(--display); font-size: 3rem; letter-spacing: .18em; color: var(--gold-2); line-height: 1.2; direction: ltr; text-shadow: 0 3px 0 var(--lapis-ink); }
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 12px 8px; }
.pl { display: flex; flex-direction: column; align-items: center; gap: 4px; position: relative; animation: popIn .4s both; }
.pl .nm { font-size: .82rem; font-weight: 800; max-width: 84px; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl .lv { position: absolute; top: 40px; left: 10px; background: var(--lapis); border: 1.5px solid var(--gold); color: var(--gold-2); font-size: .66rem; font-weight: 900; border-radius: 8px; padding: 0 5px; }
.pl .crown-badge { position: absolute; top: -12px; color: var(--gold); width: 24px; height: 24px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .5)); z-index: 2; }
.pl .kick { position: absolute; top: -4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: var(--pome); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; padding: 0; }
.pl .kick .ico { width: 12px; height: 12px; }
.pl .mic-dot { position: absolute; top: 38px; right: 12px; background: var(--turq); border-radius: 50%; width: 20px; height: 20px; display: grid; place-items: center; }
.pl .mic-dot .ico { width: 12px; height: 12px; }
.slot { width: 58px; height: 58px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .22); display: grid; place-items: center; color: rgba(255, 255, 255, .35); }
.slot.locked { border-color: rgba(227, 176, 75, .5); color: var(--gold); cursor: pointer; background: rgba(227, 176, 75, .08); }
.set-row { margin-bottom: 16px; }
.set-label { display: flex; justify-content: space-between; align-items: center; font-weight: 800; margin-bottom: 8px; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.level-hint { font-size: .82rem; color: var(--gold-2); margin-top: 6px; }
.cat-add { display: flex; gap: 8px; margin-top: 10px; }
.rb { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rb label { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; font-weight: 700; }
.pv { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pv .b { font-size: .78rem; padding: 3px 9px; border-radius: 999px; background: rgba(31, 181, 168, .2); }
.pv .b.zero { background: rgba(192, 40, 63, .3); }
.pv .b.unk { background: rgba(227, 176, 75, .2); }
.upsell { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 18px; cursor: pointer; background: linear-gradient(90deg, rgba(227, 176, 75, .18), rgba(242, 159, 5, .1)); border: 1px solid rgba(227, 176, 75, .4); }
.public-note { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 16px; background: rgba(31, 181, 168, .12); border: 1px solid rgba(31, 181, 168, .35); font-size: .88rem; }
.voicebar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(7, 15, 38, .55); border: 1px solid rgba(31, 181, 168, .3); }
.voicebar .st { flex: 1; font-size: .84rem; color: rgba(255, 255, 255, .75); }
.reacts { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.reacts button { appearance: none; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .06); border-radius: 14px; font-size: 1.35rem; width: 46px; height: 46px; cursor: pointer; }
.reacts button:active { transform: scale(1.2); }
.float-emoji { position: fixed; bottom: 90px; font-size: 2.4rem; z-index: 60; pointer-events: none; animation: floatUp 2.4s ease-out forwards; display: flex; flex-direction: column; align-items: center; }
.float-emoji small { font-size: .7rem; background: rgba(0, 0, 0, .5); border-radius: 8px; padding: 0 6px; color: #fff; }
@keyframes floatUp { from { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translateY(-30px) scale(1.1); } to { transform: translateY(-62vh) scale(1); opacity: 0; } }

/* ------------------------------------------------------------ round */
.round-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rno { font-family: var(--display); font-size: 1.3rem; color: var(--gold-2); line-height: 1.3; }
.ring { position: relative; width: 74px; height: 74px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .bg { stroke: rgba(255, 255, 255, .12); }
.ring .arc { stroke: var(--turq); stroke-linecap: round; transition: stroke-dashoffset .25s linear, stroke .3s; }
.ring .t { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 1.7rem; }
.ring.low .arc { stroke: var(--pome-2); }
.ring.low .t { color: #ff8f9c; animation: beat 1s infinite; }
@keyframes beat { 50% { transform: scale(1.12); } }
.rules { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 2px; animation: tileIn .7s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(var(--i) * .18s); }
.tile .art { position: relative; width: 88px; height: 88px; }
.tile .art svg { width: 100%; height: 100%; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); }
.tile .gl { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 2.3rem; color: #fff; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); padding-bottom: 4px; }
.tile .gl.pair { font-size: 1.8rem; }
.tile .cp { font-size: .8rem; font-weight: 800; color: var(--gold-2); }
@keyframes tileIn { from { transform: rotate(-200deg) scale(0); opacity: 0; } to { transform: none; opacity: 1; } }
.rule-text { text-align: center; font-weight: 800; color: rgba(255, 255, 255, .9); font-size: .98rem; }
.ans { display: flex; flex-direction: column; gap: 10px; }
.ans-row { display: grid; grid-template-columns: 84px 1fr; gap: 4px 10px; align-items: center; }
.ans-row .lb { font-weight: 900; color: var(--lapis); font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ans-row .lb .ai-tag { display: block; font-size: .64rem; color: var(--turq-dark); font-weight: 800; }
.ans-row .inp { position: relative; }
.ans-row .inp .field { padding-left: 98px; }
.ans-row .st { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; }
.ans-row .st .ico { width: 22px; height: 22px; }
.ans-row.ok .field { border-color: rgba(31, 138, 91, .6); background: #f1fbf5; }
.ans-row.ok .st { color: var(--ok); }
.ans-row.bad .field { border-color: rgba(192, 40, 63, .55); background: #fff4f5; }
.ans-row.bad .st { color: var(--bad); }
.ans-row.off { opacity: .45; }
.ans-row.off .field { background: repeating-linear-gradient(-45deg, #eee5d3, #eee5d3 8px, #e6dcc6 8px, #e6dcc6 16px); }
.ans-row.na .field { background: #efe7d6; color: var(--ink-2); }
.ans-msg { grid-column: 2; font-size: .76rem; color: var(--bad); font-weight: 700; min-height: 0; }
.ans-msg:empty { display: none; }
.noans { appearance: none; border: 1px solid rgba(29, 26, 46, .18); background: #f6efe0; color: var(--ink-2); border-radius: 10px; font-size: .74rem; font-weight: 800; padding: 4px 8px; cursor: pointer; white-space: nowrap; }
.noans.on { background: var(--ink-2); color: #fff; }
.stop-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 4px; }
.stop {
  appearance: none; border: 0; cursor: pointer; width: 132px; height: 132px; position: relative; background: none; padding: 0;
  font-family: var(--display); font-size: 2rem; color: #fff; transition: transform .15s, filter .3s;
}
.stop svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 10px 18px rgba(192, 40, 63, .45)); }
.stop span { position: relative; z-index: 1; text-shadow: 0 3px 0 rgba(0, 0, 0, .3); }
.stop:not(:disabled) { animation: stopPulse 1.4s ease-in-out infinite; }
.stop:disabled { filter: grayscale(.85) brightness(.75); cursor: not-allowed; }
.stop:active:not(:disabled) { transform: scale(.92); }
@keyframes stopPulse { 50% { transform: scale(1.06); } }
.stop-hint { font-size: .86rem; color: rgba(255, 255, 255, .78); min-height: 1.4em; text-align: center; }
.strip { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px; }
.pp { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 58px; }
.pp .nm { font-size: .72rem; font-weight: 700; max-width: 64px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pp .bar { width: 52px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.pp .bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--turq), var(--gold)); transition: width .4s; }
.pp.done .bar i { background: var(--gold); }
.pp.stopper .avatar { box-shadow: 0 0 0 3px var(--pome-2); }
.grace { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: linear-gradient(90deg, var(--pome), #8e1a2e); animation: shake .5s; }
.grace .ico { width: 34px; height: 34px; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* countdown + reveal */
.overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: radial-gradient(circle, rgba(12, 24, 56, .88), rgba(7, 15, 38, .97)); text-align: center; }
.count-num { font-family: var(--display); font-size: 8rem; line-height: 1; color: var(--gold-2); animation: countPop .9s cubic-bezier(.2, 1.6, .4, 1); text-shadow: 0 6px 0 var(--lapis-ink); }
.count-label { font-size: 1.1rem; color: rgba(255, 255, 255, .8); margin-top: 10px; }
@keyframes countPop { from { transform: scale(2.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.reveal { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reveal .slots { display: flex; gap: 10px; }
.reveal .slot-l { width: 74px; height: 92px; border-radius: 16px; background: var(--ivory); color: var(--lapis); display: grid; place-items: center; font-family: var(--display); font-size: 2.8rem; box-shadow: inset 0 -6px 0 var(--ivory-2), 0 10px 22px rgba(0, 0, 0, .4); overflow: hidden; }
.reveal .slot-l.spin span { animation: slotSpin .09s linear infinite; }
@keyframes slotSpin { from { transform: translateY(-40%); } to { transform: translateY(40%); } }
.reveal .lvl { font-family: var(--display); font-size: 1.4rem; color: var(--turq-2); }

/* ------------------------------------------------------------ judging */
.judging { margin: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.judge-svg { width: 220px; height: auto; }
.judge-svg .pen { animation: penMove 2.2s ease-in-out infinite; transform-origin: 150px 150px; }
@keyframes penMove { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-10px, 22px) rotate(-6deg); } 50% { transform: translate(4px, 44px) rotate(3deg); } 75% { transform: translate(-6px, 66px) rotate(-4deg); } }
.judge-svg .jmark { opacity: 0; animation: markIn 2.25s infinite; animation-delay: inherit; }
.jline { animation-delay: 0s; }
@keyframes markIn { 0%, 30% { opacity: 0; transform: scale(0); } 45%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.judge-words { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; max-width: 360px; }
.judge-words span { padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; animation: wordBlink 1.6s infinite; animation-delay: calc(var(--i) * .15s); }
@keyframes wordBlink { 50% { background: rgba(31, 181, 168, .3); border-color: var(--turq); } }

/* ------------------------------------------------------------ results */
.rwin { display: flex; align-items: center; gap: 12px; justify-content: center; text-align: center; padding: 6px; }
.rwin .ico { width: 40px; height: 40px; color: var(--gold); }
.rrow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed rgba(29, 26, 46, .14); }
.rrow:last-child { border-bottom: 0; }
.rrow .tx { flex: 1; min-width: 0; }
.rrow .tx b { font-size: 1.04rem; }
.rrow .tx small { display: block; color: var(--ink-2); font-size: .76rem; }
.rrow .vd { display: inline-flex; align-items: center; gap: 3px; font-size: .72rem; font-weight: 800; padding: 1px 7px; border-radius: 999px; margin-inline-start: 6px; vertical-align: 2px; }
.rrow .vd .ico { width: 13px; height: 13px; }
.vd.dict { background: rgba(27, 58, 140, .1); color: var(--lapis); }
.vd.ai { background: rgba(31, 181, 168, .14); color: var(--turq-dark); }
.vd.no { background: rgba(192, 40, 63, .12); color: var(--bad); }
.vd.unk { background: rgba(227, 176, 75, .2); color: var(--gold-dark); }
.rrow.zero .tx b { color: #9a90a8; text-decoration: line-through; text-decoration-color: rgba(192, 40, 63, .6); }
.pts { font-family: var(--display); font-size: 1.25rem; min-width: 46px; text-align: center; padding: 2px 8px; border-radius: 12px; background: rgba(31, 138, 91, .12); color: var(--ok); animation: popIn .5s both; animation-delay: calc(var(--i) * .04s); }
.pts.sole { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2a1700; }
.pts.dup { background: rgba(227, 176, 75, .18); color: var(--gold-dark); }
.pts.z { background: rgba(29, 26, 46, .06); color: #9a90a8; }
.pts.bonus { background: var(--pome); color: #fff; }
.cat-title { display: flex; align-items: center; justify-content: space-between; }
.res-sheet { padding: 18px 14px 6px; }
.cat-sec + .cat-sec { margin-top: 6px; padding-top: 8px; border-top: 2px solid var(--ivory-2); }
.cat-sec .cat-title b { font-family: var(--display); font-weight: 400; color: var(--lapis); font-size: 1.1rem; }
.res-sheet .rrow { padding: 5px 0; }
.tag { font-size: .76rem; padding: 2px 8px; border-radius: 999px; background: rgba(29, 26, 46, .08); }
.sb-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; animation: slideIn .4s both; animation-delay: calc(var(--i) * .07s); }
.sb-row + .sb-row { margin-top: 4px; }
.sb-row.leader { background: linear-gradient(90deg, rgba(227, 176, 75, .25), transparent); }
.sb-row.me { box-shadow: inset 0 0 0 1.5px rgba(31, 181, 168, .7); }
.sb-row .rank { font-family: var(--display); width: 26px; text-align: center; color: var(--gold-2); font-size: 1.2rem; }
.sb-name { flex: 1; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-score { font-family: var(--display); font-size: 1.35rem; min-width: 44px; text-align: left; }
.delta { color: var(--turq-2); font-weight: 900; font-size: .9rem; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: none; } }
.sugg ul { margin: 0; padding-inline-start: 18px; }
.sugg { display: flex; gap: 12px; align-items: flex-start; }
.sugg > .ico { width: 34px; height: 34px; color: var(--saffron); flex: none; }

/* ------------------------------------------------------------ final + rewards */
.scene { display: flex; justify-content: center; height: 170px; }
.scene svg { height: 100%; width: auto; }
.banner-win { text-align: center; font-family: var(--display); font-size: 2.1rem; color: var(--gold-2); line-height: 1.3; text-shadow: 0 3px 0 var(--lapis-ink); animation: popIn .6s both .3s; }
.banner-lose { text-align: center; font-family: var(--display); font-size: 1.6rem; line-height: 1.4; }
.podium { display: flex; justify-content: center; align-items: flex-end; gap: 8px; margin-top: 4px; }
.pod { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 31%; max-width: 140px; position: relative; }
.pod .who { font-weight: 800; font-size: .88rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; animation: popIn .5s both; animation-delay: var(--dl); }
.pod .col { width: 100%; border-radius: 16px 16px 6px 6px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 8px; font-family: var(--display); font-size: 1.5rem; gap: 0;
  background: linear-gradient(180deg, var(--lapis-2), var(--lapis-ink)); border: 1px solid var(--line); animation: rise .7s cubic-bezier(.2, 1.2, .4, 1) both; animation-delay: var(--dl); transform-origin: bottom; }
.pod.p1 .col { height: 130px; background: linear-gradient(180deg, var(--gold-2), var(--gold-dark)); color: #2a1700; }
.pod.p2 .col { height: 96px; }
.pod.p3 .col { height: 72px; background: linear-gradient(180deg, var(--clay), #7d3a17); }
.pod .crown-top { position: absolute; top: -26px; width: 34px; height: 34px; color: var(--gold); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .5)); }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.rewards { display: flex; flex-direction: column; gap: 10px; }
.rw-top { display: flex; gap: 10px; }
.rw-box { flex: 1; text-align: center; padding: 12px 8px; border-radius: 16px; background: rgba(7, 15, 38, .5); border: 1px solid var(--line); }
.rw-box b { display: block; font-family: var(--display); font-size: 2rem; line-height: 1.2; color: var(--gold-2); }
.rw-box.xp b { color: var(--turq-2); }
.rw-box small { color: rgba(255, 255, 255, .7); font-weight: 700; }
.rw-items { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.rw-items span { font-size: .78rem; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.lvbar { height: 12px; border-radius: 12px; background: rgba(255, 255, 255, .1); overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.lvbar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, var(--turq), var(--gold)); border-radius: 12px; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.lvline { display: flex; justify-content: space-between; font-size: .8rem; color: rgba(255, 255, 255, .7); margin-top: 4px; }
.ach-new { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: linear-gradient(90deg, rgba(227, 176, 75, .25), rgba(31, 181, 168, .12)); border: 1px solid rgba(227, 176, 75, .5); animation: popIn .5s both; }
.ach-new .ico { width: 34px; height: 34px; color: var(--gold-2); }

/* ------------------------------------------------------------ profile / leaderboard / shop */
.prof-head { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.prof-head h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.9rem; }
.prof-title { color: var(--gold-2); font-weight: 800; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { text-align: center; padding: 10px 4px; border-radius: 14px; background: rgba(7, 15, 38, .45); border: 1px solid rgba(255, 255, 255, .08); }
.stat b { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--gold-2); line-height: 1.2; }
.stat small { font-size: .74rem; color: rgba(255, 255, 255, .7); font-weight: 700; }
.ach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.ach { text-align: center; padding: 10px 6px; border-radius: 14px; background: rgba(7, 15, 38, .45); border: 1px solid rgba(255, 255, 255, .08); }
.ach .ico { width: 32px; height: 32px; color: rgba(255, 255, 255, .25); }
.ach b { display: block; font-size: .8rem; margin-top: 2px; }
.ach small { display: block; font-size: .68rem; color: rgba(255, 255, 255, .5); line-height: 1.4; }
.ach.done { border-color: rgba(227, 176, 75, .5); background: linear-gradient(180deg, rgba(227, 176, 75, .16), rgba(7, 15, 38, .45)); }
.ach.done .ico { color: var(--gold-2); }
.lb-row { display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 14px; }
.lb-row + .lb-row { border-top: 1px solid rgba(255, 255, 255, .06); }
.lb-row.me { background: rgba(31, 181, 168, .14); }
.lb-row .rank { font-family: var(--display); width: 30px; text-align: center; font-size: 1.25rem; color: rgba(255, 255, 255, .7); }
.lb-row .rank.r1 { color: var(--gold); } .lb-row .rank.r2 { color: #cfd6e6; } .lb-row .rank.r3 { color: #e09a6b; }
.lb-row .score { font-family: var(--display); font-size: 1.2rem; color: var(--turq-2); }
.lb-row .lvl { font-size: .72rem; color: var(--gold-2); }
.shop-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(7, 15, 38, .45); border: 1px solid var(--line); }
.shop-item + .shop-item { margin-top: 8px; }
.shop-item .ico { width: 34px; height: 34px; color: var(--gold-2); }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; cursor: pointer; }
.list-row + .list-row { border-top: 1px solid rgba(255, 255, 255, .07); }
.list-row > .ico { width: 24px; height: 24px; color: var(--turq-2); }
.list-row .chev { width: 18px; height: 18px; color: rgba(255, 255, 255, .4); }
.switch { width: 46px; height: 28px; border-radius: 28px; background: rgba(255, 255, 255, .18); position: relative; transition: background .2s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch.on { background: var(--turq); }
.switch.on::after { transform: translateX(-18px); }

/* ------------------------------------------------------------ sheets, toasts */
.sheet-back { position: fixed; inset: 0; z-index: 90; background: rgba(4, 8, 22, .6); display: flex; align-items: flex-end; justify-content: center; animation: fade .2s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.sheet {
  width: 100%; max-width: 540px; background: var(--ivory); color: var(--ink); border-radius: 26px 26px 0 0;
  padding: 26px 20px calc(20px + var(--safe-b)); max-height: 90dvh; overflow-y: auto; animation: sheetUp .32s cubic-bezier(.2, .9, .3, 1); position: relative;
}
.sheet::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 8px; background: var(--band); background-size: 28px 8px; border-radius: 26px 26px 0 0; }
.sheet h2 { margin: 4px 0 4px; font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: var(--lapis); }
.sheet .sub { color: var(--ink-2); margin-bottom: 12px; font-size: .92rem; }
.sheet ul { padding-inline-start: 20px; margin: 8px 0 14px; } .sheet li { margin-bottom: 6px; }
.sheet .field { background: #fff; }
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } }
.steps { display: flex; flex-direction: column; gap: 10px; margin: 10px 0 16px; }
.step { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid rgba(29, 26, 46, .08); }
.step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--lapis); color: #fff; display: grid; place-items: center; font-weight: 900; flex: none; }
.step .ico { width: 26px; height: 26px; color: #0a84ff; flex: none; }
.phone-art { width: 170px; display: block; margin: 0 auto; }
.plans { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.plan { display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 16px; border: 2px solid rgba(29, 26, 46, .1); background: #fff; cursor: pointer; position: relative; }
.plan.on { border-color: var(--saffron); box-shadow: 0 0 0 4px rgba(242, 159, 5, .15); }
.plan .badge { position: absolute; top: -10px; left: 12px; background: var(--pome); color: #fff; font-size: .7rem; padding: 1px 8px; border-radius: 999px; font-weight: 800; }
.plan .price { font-weight: 900; color: var(--lapis); }
.toast {
  position: fixed; top: calc(14px + var(--safe-t)); left: 50%; transform: translateX(-50%); z-index: 120; max-width: min(92vw, 460px);
  padding: 11px 18px; border-radius: 16px; background: rgba(12, 24, 56, .96); border: 1px solid var(--line); font-weight: 700; font-size: .92rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4); animation: toastIn .3s cubic-bezier(.2, 1.4, .4, 1); text-align: center;
}
.toast.good { background: linear-gradient(90deg, var(--turq-dark), #0b5751); border-color: var(--turq); }
.toast.bad { background: linear-gradient(90deg, #8e1a2e, var(--pome)); border-color: var(--pome-2); }
@keyframes toastIn { from { transform: translate(-50%, -30px); opacity: 0; } }
.net { position: fixed; bottom: calc(14px + var(--safe-b)); left: 50%; transform: translateX(-50%); z-index: 110; background: var(--pome); padding: 8px 16px; border-radius: 999px; font-size: .85rem; font-weight: 800; }
.how { appearance: none; background: none; border: 0; color: var(--gold-2); font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; font-size: .92rem; }

/* ------------------------------------------------------------ effects */
@keyframes popIn { from { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } to { transform: none; opacity: 1; } }
.pop-in { animation: popIn .7s cubic-bezier(.2, 1.4, .4, 1) both; transform-origin: center; transform-box: fill-box; }
.spin-slow { animation: spin 30s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.star-spin { animation: spin 2.4s cubic-bezier(.6, .1, .4, .9) infinite; }
.sway { animation: sway 5s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom center; }
.sway.d2 { animation-delay: -1.6s; } .sway.d3 { animation-delay: -3s; }
@keyframes sway { 50% { transform: rotate(2.4deg); } }
.sun-rise { animation: sunRise 2.4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes sunRise { from { transform: translateY(60px); opacity: 0; } to { transform: none; opacity: 1; } }
.shimmer { animation: shimmer 2.2s ease-in-out infinite; }
@keyframes shimmer { 50% { opacity: .3; transform: translateX(2px); } }
.fountain { animation: fountain 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
@keyframes fountain { 50% { transform: scaleY(1.25); } }
.bird-flap { animation: flap .7s ease-in-out infinite alternate, drift 14s linear infinite; transform-box: fill-box; }
@keyframes flap { to { transform: scaleY(.4); } }
@keyframes drift { from { translate: 0 0; } to { translate: 60px -10px; } }
.twinkle { animation: twinkle 2.4s ease-in-out infinite; transform-box: fill-box; }
@keyframes twinkle { 50% { opacity: .3; transform: scale(.6); } }
.steam { animation: steam 2.4s ease-in-out infinite; }
@keyframes steam { from { opacity: 0; transform: translateY(8px); } 40% { opacity: .8; } to { opacity: 0; transform: translateY(-14px); } }
.pulse { animation: pulse 1.4s ease-in-out infinite; transform-box: fill-box; }
@keyframes pulse { 50% { transform: scale(1.35); opacity: .7; } }
.confetti-layer { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.cf { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 2px; animation: fall linear forwards; }
.cf-star { width: 14px; height: 14px; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); border-radius: 0; }
@keyframes fall { to { transform: translate(var(--dx), 110vh) rotate(var(--r)); } }
.coin-fly { position: fixed; z-index: 100; pointer-events: none; animation: coinFly 1s cubic-bezier(.5, -.4, .6, 1) forwards; }
@keyframes coinFly { to { transform: translate(var(--tx), var(--ty)) scale(.5); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (min-width: 720px) {
  .hero-svg { height: 300px; }
}
@media (max-height: 700px) {
  .hero-svg { height: 30vh; }
}

/* readable text on ivory surfaces */
.sheet .muted, .sheet .small.muted, .card.paper .small.muted { color: var(--ink-2); }
.sheet .coins, .card.paper .coins { color: var(--gold-dark); }
.sheet .pill { background: rgba(29, 26, 46, .06); border-color: rgba(29, 26, 46, .12); color: var(--ink); }
.sheet .code-digits { text-shadow: none; }
.sheet .how { color: var(--lapis); }
.sheet .how:disabled { color: var(--ink-2); text-decoration: none; cursor: default; }
