
@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage';
  src: url('/fonts/bricolage-latin-ext.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --paper: #fbf5ea;
  --paper-2: #f3e8d4;
  --card: #fffdf8;
  --ink: #221b13;
  --ink-2: #4b3f33;
  --muted: #6b5e4f;
  --line: #e9dcc5;
  --copper: #c4541b;
  --copper-2: #a3420e;
  --copper-soft: #f8e1cd;
  --emerald: #0f6b5c;
  --emerald-2: #0a5045;
  --emerald-soft: #d7ede6;
  --red: #bf2f20;
  --red-soft: #fbe0dc;
  --gold: #e3a634;
  --tile: #f5e5c4;
  --tile-edge: #d6ba86;
  --tile-ink: #2a2015;
  --on-copper: #fff;
  --shadow: 0 1px 2px rgba(70, 45, 15, .07), 0 10px 28px -14px rgba(70, 45, 15, .28);
  --shadow-lg: 0 2px 4px rgba(70, 45, 15, .06), 0 24px 60px -24px rgba(70, 45, 15, .4);
  --r: 20px;
  --font-d: 'Bricolage', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ease: cubic-bezier(.2, .9, .25, 1.2);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #15110d; --paper-2: #1d1813; --card: #221c16; --ink: #f7efe3; --ink-2: #dccfbd; --muted: #a59684;
    --line: #3a3027; --copper: #ee7d3f; --copper-2: #ff9a5e; --copper-edge: #b4541f; --copper-soft: #3e2516; --emerald: #43c6aa; --emerald-2: #6ad9c0;
    --emerald-soft: #12382f; --red: #ff6f5e; --red-soft: #47201b; --gold: #f1bd52; --tile: #3b2f21; --tile-edge: #1f170f; --tile-ink: #fbefd9; --on-copper: #1e0f05;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .7);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 60px -24px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --paper: #15110d; --paper-2: #1d1813; --card: #221c16; --ink: #f7efe3; --ink-2: #dccfbd; --muted: #a59684;
  --line: #3a3027; --copper: #ee7d3f; --copper-2: #ff9a5e; --copper-edge: #b4541f; --copper-soft: #3e2516; --emerald: #43c6aa; --emerald-2: #6ad9c0;
  --emerald-soft: #12382f; --red: #ff6f5e; --red-soft: #47201b; --gold: #f1bd52; --tile: #3b2f21; --tile-edge: #1f170f; --tile-ink: #fbefd9; --on-copper: #1e0f05;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .3), 0 24px 60px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: var(--copper-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }
h1, h2, h3 { font-family: var(--font-d); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.2rem); margin-top: 0; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; margin-top: 1.6em; }
p { margin: 0 0 1em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 2px; border-radius: 8px; }
.sr { position: absolute !important; 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; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.site-head { padding: 14px 0; }
.site-head .wrap { display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); font: 800 1.45rem/1 var(--font-d); letter-spacing: -.03em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand small { font-weight: 600; color: var(--muted); font-size: .7em; letter-spacing: 0; }
.site-nav { margin-left: auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.site-nav a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; padding: 8px 11px; border-radius: 999px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current='page'] { background: var(--paper-2); color: var(--ink); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); flex: none; }
.icon-btn:hover { background: var(--paper-2); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; }
@media (max-width: 640px) {
  .site-nav .opt { display: none; }
  .site-nav a { padding: 8px 9px; font-size: .9rem; }
  .brand small { display: none; }
  .site-head .icon-btn { width: 38px; height: 38px; }
}
@media (max-width: 400px) { .site-nav .opt2 { display: none; } }
.site-foot { margin-top: 64px; padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); background: var(--paper-2); color: var(--ink-2); font-size: .92rem; }
.site-foot .cols { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.site-foot .foot-h { font: 700 .8rem/1 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-foot a { color: var(--ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--copper); text-decoration: underline; }
.site-foot .fine { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.site-foot .fine a { text-decoration: underline; color: var(--ink-2); }
.tile {
  --s: 1;
  display: inline-grid; place-items: center;
  width: calc(1.9em * var(--s)); height: calc(2.05em * var(--s));
  border-radius: .32em;
  background: var(--tile);
  color: var(--tile-ink);
  box-shadow: inset 0 calc(-3px * var(--s)) 0 var(--tile-edge), 0 1px 1px rgba(0, 0, 0, .06);
  font: 800 1em/1 var(--font-d);
  text-transform: uppercase;
  user-select: none;
}
.tiles { display: inline-flex; gap: .22em; }
.btn {
  --bg: var(--card); --fg: var(--ink); --edge: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  border: 0; border-radius: 16px;
  background: var(--bg); color: var(--fg);
  box-shadow: inset 0 -3px 0 var(--edge), 0 1px 2px rgba(0, 0, 0, .06);
  font: 700 1.04rem/1.15 var(--font-d); letter-spacing: -.01em;
  text-decoration: none;
  transition: transform .12s var(--ease), box-shadow .12s, background .2s;
  touch-action: manipulation;
}
.btn:hover { color: var(--fg); filter: brightness(1.03); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 -1px 0 var(--edge); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary { --bg: var(--copper); --fg: var(--on-copper); --edge: var(--copper-edge, var(--copper-2)); }
.btn-primary:hover { color: var(--on-copper); }
.btn-green { --bg: var(--emerald); --fg: #fff; --edge: var(--emerald-2); }
.btn-green:hover { color: #fff; }
.btn-ghost { --bg: transparent; box-shadow: none; color: var(--ink-2); }
.btn-ghost:active { box-shadow: none; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 8px 14px; border-radius: 12px; font-size: .95rem; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; background: var(--paper-2); border-radius: 14px; }
.seg button { border: 0; background: transparent; padding: 9px 6px; border-radius: 10px; font: 700 .92rem/1 var(--font-d); color: var(--ink-2); transition: background .2s, color .2s; }
.seg button[aria-pressed='true'] { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.hero { padding: 8px 0 28px; }
.hero .wrap { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) {
  .hero { padding: 36px 0 56px; }
  .hero .wrap { grid-template-columns: 1.05fr .95fr; grid-template-rows: auto auto; column-gap: 56px; row-gap: 0; }
  .hero .hero-copy { grid-column: 1; grid-row: 1; align-self: end; }
  .hero .launcher { grid-column: 2; grid-row: 1 / span 2; }
  .hero .hero-facts { grid-column: 1; grid-row: 2; align-self: start; }
}
@media (max-width: 899px) { .hero .hero-facts { margin: 0; justify-content: center; } .lede { margin-bottom: 0; } }
.hero-tiles { font-size: clamp(1.25rem, 6vw, 2.6rem); margin-bottom: 14px; }
.hero-tiles .tile { animation: tileIn .6s var(--ease) both; }
.hero-tiles .tile:nth-child(2) { animation-delay: .07s; }
.hero-tiles .tile:nth-child(3) { animation-delay: .14s; }
.hero-tiles .tile:nth-child(4) { animation-delay: .21s; }
.hero-tiles .tile:nth-child(5) { animation-delay: .28s; }
.hero-tiles .tile.hot { background: var(--copper); color: var(--on-copper); box-shadow: inset 0 -3px 0 var(--copper-2); }
@keyframes tileIn { from { transform: translateY(-14px) rotate(-8deg); opacity: 0; } }
.hero h1 { font-size: clamp(2.3rem, 9vw, 4.1rem); margin: 0 0 .3em; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--copper); }
.lede { font-size: clamp(1.05rem, 2.8vw, 1.22rem); color: var(--ink-2); max-width: 34em; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .9rem; }
.hero-facts li { display: flex; align-items: center; gap: 6px; }
.hero-facts li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--emerald); }
.launcher { background: var(--card); border-radius: 28px; padding: 18px; box-shadow: var(--shadow-lg); display: grid; gap: 12px; position: relative; }
@media (min-width: 560px) { .launcher { padding: 24px; } }
.launcher .play-cpu { min-height: 64px; font-size: 1.22rem; border-radius: 18px; }
.launcher .play-cpu svg { width: 26px; height: 26px; }
@media (max-width: 360px) { .launcher .play-cpu { font-size: 1.05rem; } .launcher { padding: 14px; } }
.launcher .lvl-label { font: 600 .82rem/1 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .07em; margin: 4px 2px -4px; }
.launcher .lvl-desc { margin: -4px 4px 2px; font-size: .84rem; color: var(--muted); line-height: 1.35; min-height: 2.7em; }
@media (min-width: 560px) { .launcher .lvl-desc { min-height: 0; } }
.launcher .duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.launcher .duo .btn { --bg: var(--paper); flex-direction: column; gap: 6px; min-height: 84px; font-size: .98rem; }
.launcher .duo .btn small { font: 500 .78rem/1.2 var(--font); color: var(--muted); }
.daily-card {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; text-decoration: none; color: var(--ink);
  background: linear-gradient(120deg, var(--emerald-soft), var(--copper-soft));
  border: 0; text-align: left; width: 100%;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .06);
  transition: transform .12s var(--ease);
}
.daily-card:active { transform: translateY(2px); }
.daily-card:hover { color: var(--ink); }
.daily-card .cal { flex: none; width: 50px; height: 54px; border-radius: 12px; background: var(--card); display: grid; place-items: center; box-shadow: var(--shadow); text-align: center; line-height: 1; }
.daily-card .cal b { font: 800 1.35rem/1 var(--font-d); display: block; }
.daily-card .cal span { font: 700 .62rem/1 var(--font); text-transform: uppercase; color: var(--red); letter-spacing: .06em; }
.daily-card .txt { flex: 1; min-width: 0; }
.daily-card .txt b { font: 800 1.06rem/1.2 var(--font-d); display: block; }
.daily-card .txt span { font-size: .88rem; color: var(--ink-2); }
.daily-card .go { flex: none; color: var(--emerald); }
.launcher .note { font-size: .82rem; color: var(--muted); text-align: center; margin: 2px 0 0; }
.content { padding: 8px 0; }
.content section { padding: 34px 0; border-top: 1px solid var(--line); }
.content section:first-child { border-top: 0; }
.content ul, .content ol { padding-left: 1.3em; }
.content li { margin: .35em 0; }
.content .kicker { font: 700 .8rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--copper-2); margin: 0 0 10px; }
.steps { list-style: none; padding: 0 !important; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: var(--card); border-radius: 16px; box-shadow: var(--shadow); margin: 0 !important; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 13px; width: 32px; height: 34px; border-radius: 8px; background: var(--tile); box-shadow: inset 0 -3px 0 var(--tile-edge); display: grid; place-items: center; font: 800 1.05rem/1 var(--font-d); color: var(--tile-ink); }
.demo-chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin: 18px 0; font: 800 1.1rem/1 var(--font-d); letter-spacing: .02em; }
.demo-chain .w { background: var(--card); padding: 9px 12px; border-radius: 12px; box-shadow: var(--shadow); }
.demo-chain .arrow { color: var(--muted); font-weight: 400; }
.demo-chain .end { color: var(--copper-2); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.demo-chain .lock { background: var(--red-soft); color: var(--red); }
.callout { background: var(--emerald-soft); border-radius: 16px; padding: 16px 18px; margin: 18px 0; }
.callout p:last-child { margin: 0; }
.callout.warm { background: var(--copper-soft); }
.word-grid { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 20px; padding: 0 !important; list-style: none; }
.word-grid li { margin: 0 !important; }
.word-grid a, .word-grid span { display: inline-block; padding: 6px 11px; border-radius: 10px; background: var(--card); box-shadow: inset 0 -2px 0 var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.word-grid a:hover { background: var(--copper-soft); }
.word-grid .rare { color: var(--muted); font-weight: 500; }
.ending-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 8px; }
.ending-nav a { display: inline-flex; align-items: baseline; gap: 5px; padding: 7px 10px; border-radius: 10px; background: var(--card); box-shadow: inset 0 -2px 0 var(--line); text-decoration: none; color: var(--ink); font: 800 .95rem/1 var(--font-d); }
.ending-nav a small { font: 600 .74rem/1 var(--font); color: var(--muted); }
.ending-nav a:hover { background: var(--copper-soft); }
.prefix-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; padding: 0 !important; list-style: none; }
.prefix-grid li { margin: 0 !important; }
.prefix-grid a { display: block; text-align: center; padding: 10px 4px; border-radius: 12px; background: var(--card); box-shadow: inset 0 -2px 0 var(--line); text-decoration: none; color: var(--ink); font: 800 1.05rem/1 var(--font-d); text-transform: uppercase; }
.prefix-grid a small { display: block; font: 500 .68rem/1.4 var(--font); color: var(--muted); text-transform: none; }
.prefix-grid a:hover { background: var(--copper-soft); }
.prefix-grid .letter-head { grid-column: 1 / -1; font: 800 1.3rem/1 var(--font-d); margin: 14px 0 2px; text-transform: uppercase; color: var(--copper); }
.breadcrumbs { font-size: .88rem; color: var(--muted); margin: 6px 0 14px; }
.breadcrumbs a { color: var(--muted); }
.page-head { padding: 18px 0 8px; }
.page-head h1 { font-size: clamp(2rem, 7vw, 3.1rem); letter-spacing: -.03em; }
.cta-band { margin: 28px 0; padding: 22px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.cta-band p { margin: 0; font: 700 1.15rem/1.3 var(--font-d); }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 26px 0 0; }
.pager a { font-weight: 700; text-decoration: none; }
details.faq { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); margin: 10px 0; }
details.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font: 700 1.05rem/1.35 var(--font-d); list-style: none; position: relative; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 400 1.6rem/1 var(--font); color: var(--copper); transition: transform .2s; }
details.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.faq > div { padding: 0 18px 16px; color: var(--ink-2); }
details.faq > div p:last-child { margin: 0; }
table.simple { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: .95rem; }
table.simple th, table.simple td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.simple th { font: 700 .8rem/1.2 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ad-slot { margin: 24px auto; width: min(970px, 100% - 32px); min-height: 120px; display: grid; place-items: center; }
.ad-slot.placeholder { border: 2px dashed var(--line); border-radius: 16px; color: var(--muted); font-size: .85rem; }
.ad-slot ins { display: block; width: 100%; }
.ad-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-align: center; margin-bottom: 4px; }
.game {
  position: fixed; left: 0; right: 0; top: 0; z-index: 50;
  height: 100vh; height: 100dvh;
  background: var(--paper);
  display: flex; flex-direction: column;
  overflow: hidden; overflow: clip;
  animation: gameIn .35s var(--ease);
}
.game[hidden] { display: none; }
@keyframes gameIn { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 760px) {
  .game { background: color-mix(in srgb, var(--paper-2) 82%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 20px; }
  .game > .g-shell { width: min(620px, 100%); margin: 0 auto; height: 100%; border-radius: 28px; box-shadow: var(--shadow-lg); background: var(--paper); overflow: hidden; }
}
.g-shell { display: flex; flex-direction: column; height: 100%; position: relative; overflow: hidden; overflow: clip; }
.g-top { display: flex; align-items: center; gap: 4px; padding: calc(8px + env(safe-area-inset-top)) 8px 6px; flex: none; }
.g-title { flex: 1; text-align: center; font: 800 1.02rem/1.1 var(--font-d); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-title small { display: block; font: 600 .74rem/1.3 var(--font); color: var(--muted); }
.g-board { display: flex; gap: 8px; padding: 4px 12px 10px; flex: none; overflow-x: auto; scrollbar-width: none; }
.g-board.many { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 6px; }
.g-board.many .pl { min-width: 0; padding: 7px 8px 8px; border-radius: 13px; }
.g-board.many .pl-name { font-size: .82rem; margin-bottom: 5px; }
.g-board.many .pl-name .turn { display: none; }
.g-board.many .fz { gap: 3px; }
.g-board.many .fz span { height: 21px; font-size: .7rem; border-radius: 5px; }
.pl { flex: 1 1 0; min-width: 132px; padding: 9px 10px 10px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow); border: 2px solid transparent; transition: border-color .25s, transform .25s var(--ease), opacity .3s; }
.pl.now { border-color: var(--c, var(--copper)); transform: translateY(-1px); }
.pl.out { opacity: .5; }
.pl-name { display: flex; align-items: center; gap: 7px; font: 700 .9rem/1.1 var(--font-d); margin-bottom: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-name i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--copper)); flex: none; }
.pl-name .turn { margin-left: auto; font: 700 .66rem/1 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--c, var(--copper)); opacity: 0; transition: opacity .2s; }
.pl.now .pl-name .turn { opacity: 1; }
.fz { display: flex; gap: 4px; }
.fz span {
  flex: 1; max-width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center;
  font: 800 .92rem/1 var(--font-d); color: color-mix(in srgb, var(--muted) 55%, transparent);
  border: 1.5px dashed var(--line); background: transparent;
  transform-style: preserve-3d;
}
.fz span.on { background: var(--red); color: #fff; border: 0; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2); animation: flip .6s var(--ease); }
@keyframes flip { 0% { transform: rotateY(0) scale(1); } 40% { transform: rotateY(90deg) scale(1.25); } 100% { transform: rotateY(0) scale(1); } }
.g-chain { flex: 1; overflow-y: auto; padding: 6px 14px 12px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; scroll-behavior: smooth; }
.g-chain .spacer { flex: 1; }
.g-empty { margin: auto; text-align: center; color: var(--muted); max-width: 300px; padding: 20px; font-size: .95rem; }
.g-empty .tiles { font-size: 1.4rem; margin: 0 auto 12px; }
.round-mark { align-self: center; font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 8px 12px; margin-top: 6px; }
.bubble { max-width: 86%; display: flex; flex-direction: column; animation: pop .35s var(--ease); }
.bubble.left { align-self: flex-start; }
.bubble.right { align-self: flex-end; align-items: flex-end; }
.bubble .who { font: 600 .74rem/1 var(--font); color: var(--muted); margin: 0 6px 4px; }
.bubble .word {
  border: 0; text-align: left; cursor: pointer;
  background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 16px; box-shadow: var(--shadow);
  font: 800 clamp(1.25rem, 5vw, 1.5rem)/1.1 var(--font-d); letter-spacing: .03em; text-transform: uppercase; word-break: break-all;
  border-bottom: 3px solid var(--c, var(--line));
}
.bubble.right .word { border-bottom-right-radius: 6px; }
.bubble.left .word { border-bottom-left-radius: 6px; }
.bubble .word .h { color: var(--emerald); }
.bubble .word .t { color: var(--copper); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.bubble.closed .word { background: var(--red-soft); }
.bubble.closed .word .t { color: var(--red); }
.bubble .def { font-size: .8rem; margin: 5px 8px 0; }
.bubble.typing .word { color: var(--muted); letter-spacing: .2em; }
.dots { display: inline-flex; gap: 5px; padding: 6px 2px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .15s; }
.dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-5px); opacity: 1; } }
@keyframes pop { from { transform: scale(.85) translateY(8px); opacity: 0; } }
.note-line { align-self: center; text-align: center; font-size: .86rem; color: var(--ink-2); background: var(--paper-2); padding: 7px 12px; border-radius: 12px; max-width: 92%; animation: pop .35s var(--ease); }
.note-line.bad { background: var(--red-soft); color: var(--red); }
.note-line.good { background: var(--emerald-soft); color: var(--emerald-2); }
.g-dock { flex: none; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--card); box-shadow: 0 -10px 30px -18px rgba(60, 40, 20, .35); border-radius: 22px 22px 0 0; position: relative; }
.g-timer { position: absolute; left: 22px; right: 22px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--paper-2); overflow: hidden; }
.g-timer i { display: block; height: 100%; width: 100%; background: var(--emerald); transform-origin: left; transition: transform .25s linear, background .3s; }
.g-timer.low i { background: var(--red); }
.g-need { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; margin: 4px 2px 8px; }
.g-need .lbl { font-size: .88rem; color: var(--ink-2); line-height: 1.25; }
.g-need .lbl b { display: block; font: 800 1rem/1.2 var(--font-d); color: var(--ink); }
.g-need .tiles { font-size: 1.45rem; }
.g-need .tiles .tile { animation: tileIn .45s var(--ease) both; }
.g-need .tiles .tile:nth-child(2) { animation-delay: .06s; }
.g-need .secs { font: 800 1.1rem/1 var(--font-d); font-variant-numeric: tabular-nums; color: var(--muted); min-width: 2.2em; text-align: right; }
.g-need .secs.low { color: var(--red); animation: pulse .5s ease-in-out infinite alternate; }
@keyframes pulse { to { transform: scale(1.15); } }
.g-form { display: flex; gap: 8px; }
.g-input {
  flex: 1; min-width: 0; height: 56px; padding: 0 16px; border-radius: 16px;
  border: 2px solid var(--line); background: var(--paper);
  font: 800 1.35rem/1 var(--font-d); letter-spacing: .04em; text-transform: uppercase;
  transition: border-color .2s;
}
.g-input::placeholder { text-transform: none; font: 500 1rem var(--font); letter-spacing: 0; color: var(--muted); }
.g-input:focus { outline: none; border-color: var(--emerald); }
.g-form.idle .g-input { opacity: .6; }
.g-send { width: 56px; height: 56px; padding: 0; min-height: 0; border-radius: 16px; flex: none; }
.g-mic { width: 48px; height: 56px; border: 0; border-radius: 16px; background: transparent; color: var(--ink-2); flex: none; display: grid; place-items: center; }
.g-mic[hidden] { display: none; }
.g-mic svg { width: 24px; height: 24px; }
.g-mic.on { background: var(--red); color: #fff; animation: pulse .6s ease-in-out infinite alternate; }
.g-send svg { width: 24px; height: 24px; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-7px); } 40%, 80% { transform: translateX(7px); } }
.g-msg { min-height: 22px; font-size: .9rem; color: var(--ink-2); margin: 8px 4px 0; line-height: 1.35; }
.g-msg.bad { color: var(--red); }
.g-msg.good { color: var(--emerald-2); }
.g-msg button.linkish { border: 0; background: none; color: var(--copper-2); text-decoration: underline; padding: 0; font-weight: 700; }
.g-keys { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.g-keys .dia { display: flex; gap: 5px; }
.g-keys .dia button { width: 38px; height: 40px; border: 0; border-radius: 10px; background: var(--tile); color: var(--tile-ink); box-shadow: inset 0 -2px 0 var(--tile-edge); font: 800 1.05rem/1 var(--font-d); touch-action: manipulation; }
.g-keys .dia button:active { transform: translateY(1px); box-shadow: none; }
.g-keys .grow { flex: 1; }
.g-keys .btn-sm { padding: 8px 10px; min-height: 40px; font-size: .86rem; gap: 6px; position: relative; }
.g-keys .btn-sm svg { width: 18px; height: 18px; }
.g-keys .s { display: none; }
.g-keys .cnt { position: absolute; top: 2px; right: 0; min-width: 16px; height: 16px; border-radius: 8px; background: var(--copper); color: #fff; font: 700 .66rem/16px var(--font); text-align: center; padding: 0 4px; }
.g-keys .cnt:empty { display: none; }
@media (max-width: 460px) {
  .g-keys .l { display: none; }
  .g-keys .s { display: inline; }
  .g-keys [data-act=hint] { padding: 8px 9px; }
}
@media (max-width: 360px) { .g-keys .dia button { width: 31px; } }
.sheet-wrap { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-end; justify-content: center; background: rgba(25, 18, 10, .35); animation: fade .2s; }
.sheet-wrap[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.sheet { width: 100%; max-height: 92%; overflow-y: auto; background: var(--card); border-radius: 26px 26px 0 0; padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); box-shadow: var(--shadow-lg); animation: up .35s var(--ease); text-align: center; }
@media (min-width: 560px) { .sheet-wrap { align-items: center; } .sheet { width: min(460px, 92%); border-radius: 26px; } }
@keyframes up { from { transform: translateY(40px); opacity: .4; } }
.sheet h2 { font-size: 1.7rem; margin: 6px 0 8px; }
.sheet p { color: var(--ink-2); margin: 0 auto 12px; max-width: 26em; }
.sheet .big { font-size: 3rem; line-height: 1; margin: 2px 0 6px; }
.sheet .acts { display: grid; gap: 10px; margin-top: 18px; }
.sheet .acts.two { grid-template-columns: 1fr 1fr; }
.sheet .examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 4px; }
.sheet .examples a { padding: 6px 10px; border-radius: 10px; background: var(--paper-2); font: 800 .95rem/1 var(--font-d); text-transform: uppercase; color: var(--ink); text-decoration: none; letter-spacing: .03em; }
.sheet .examples a:hover { background: var(--copper-soft); }
.sheet .fzbig { display: flex; justify-content: center; gap: 6px; margin: 14px 0 6px; }
.sheet .fzbig span { width: 42px; height: 46px; border-radius: 10px; display: grid; place-items: center; font: 800 1.4rem/1 var(--font-d); border: 2px dashed var(--line); color: var(--muted); }
.sheet .fzbig span.on { background: var(--red); border: 0; color: #fff; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .2); }
.sheet .fzbig span.new { animation: flip .8s var(--ease) .2s both; }
.sheet .stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0 6px; }
.sheet .stat-row div { background: var(--paper-2); border-radius: 14px; padding: 12px 6px; }
.sheet .stat-row div.wide { grid-column: 1 / -1; }
.sheet .stat-row b { display: block; font: 800 1.45rem/1.1 var(--font-d); overflow-wrap: anywhere; }
.sheet .stat-row b.sm { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .04em; }
.sheet .score { font: 800 3.2rem/1 var(--font-d); letter-spacing: -.03em; margin: 4px 0 2px; }
.sheet .score small { font-size: .45em; color: var(--muted); letter-spacing: 0; }
.sheet .stat-row span { font-size: .74rem; color: var(--muted); }
.roulette { font: 800 7rem/1 var(--font-d); margin: 10px auto 4px; width: 1.4em; height: 1.45em; border-radius: .2em; background: var(--tile); color: var(--tile-ink); box-shadow: inset 0 -8px 0 var(--tile-edge); display: grid; place-items: center; }
.roulette.done { animation: bump .5s var(--ease); background: var(--copper); color: #fff; box-shadow: inset 0 -8px 0 var(--copper-2); }
@keyframes bump { 40% { transform: scale(1.18) rotate(-4deg); } }
.grid-emoji { font-size: 2rem; letter-spacing: .1em; margin: 8px 0; }
.daily-q { font: 800 2.1rem/1.1 var(--font-d); text-transform: uppercase; letter-spacing: .03em; margin: 4px 0; word-break: break-all; }
.daily-dots { display: flex; justify-content: center; gap: 7px; padding: 4px 0 10px; }
.daily-dots i { width: 26px; height: 8px; border-radius: 4px; background: var(--line); transition: background .3s; }
.daily-dots i.g { background: #3fae5a; }
.daily-dots i.y { background: var(--gold); }
.daily-dots i.x { background: var(--muted); }
.daily-dots i.now { background: var(--copper); }
.clock-score { display: flex; justify-content: center; gap: 22px; padding: 2px 0 8px; font: 800 1.9rem/1 var(--font-d); font-variant-numeric: tabular-nums; }
.clock-score small { display: block; font: 600 .7rem/1.4 var(--font); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; text-align: center; }
.clock-score .low { color: var(--red); }
.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 99; background: var(--ink); color: var(--paper); padding: 11px 18px; border-radius: 14px; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-lg); animation: up .3s var(--ease); max-width: calc(100% - 32px); }
dialog.dlg { border: 0; padding: 0; background: transparent; max-width: 100%; max-height: 100%; width: 100%; height: 100%; margin: 0; color: var(--ink); }
dialog.dlg::backdrop { background: rgba(25, 18, 10, .45); }
dialog.dlg[open] { display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 560px) { dialog.dlg[open] { align-items: center; } }
.dlg-box { width: 100%; max-height: 92vh; overflow-y: auto; background: var(--card); border-radius: 26px 26px 0 0; padding: 20px 20px calc(20px + env(safe-area-inset-bottom)); animation: up .35s var(--ease); }
@media (min-width: 560px) { .dlg-box { width: min(480px, 94%); border-radius: 26px; } }
.dlg-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dlg-head h2 { font-size: 1.5rem; margin: 0; }
.field { padding: 13px 0; border-bottom: 1px solid var(--line); }
.field:last-of-type { border-bottom: 0; }
.field > .lbl { display: block; font: 700 1rem/1.3 var(--font-d); margin-bottom: 8px; }
.field .hint { font-size: .84rem; color: var(--muted); margin: 6px 0 0; line-height: 1.4; }
.toggle { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.toggle .t-txt { flex: 1; }
.toggle .t-txt b { display: block; font: 700 1rem/1.3 var(--font-d); }
.toggle .t-txt span { display: block; font-size: .84rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.toggle input { appearance: none; -webkit-appearance: none; width: 50px; height: 30px; border-radius: 30px; background: var(--line); position: relative; flex: none; cursor: pointer; transition: background .2s; margin: 0; }
.toggle input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .25s var(--ease); }
.toggle input:checked { background: var(--emerald); }
.toggle input:checked::after { transform: translateX(20px); }
.players-list { display: grid; gap: 8px; }
.player-row { display: flex; gap: 8px; align-items: center; }
.player-row i { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.player-row input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; border: 2px solid var(--line); background: var(--paper); font-weight: 600; }
.player-row input:focus { outline: none; border-color: var(--emerald); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0; }
.stats-grid div { background: var(--paper-2); border-radius: 14px; padding: 12px; }
.stats-grid b { display: block; font: 800 1.5rem/1.1 var(--font-d); }
.stats-grid span { font-size: .8rem; color: var(--muted); }
.feathers { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.feathers svg { position: absolute; top: -60px; width: 34px; height: 60px; animation: fall linear forwards; }
@keyframes fall {
  0% { transform: translate3d(0, 0, 0) rotate(var(--r0)); }
  25% { transform: translate3d(var(--dx), 25vh, 0) rotate(calc(var(--r0) + 40deg)); }
  50% { transform: translate3d(calc(var(--dx) * -1), 52vh, 0) rotate(calc(var(--r0) - 20deg)); }
  75% { transform: translate3d(var(--dx), 80vh, 0) rotate(calc(var(--r0) + 30deg)); }
  100% { transform: translate3d(0, 110vh, 0) rotate(var(--r0)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .feathers { display: none; }
}
@media print { .site-head, .site-foot, .ad-slot, .launcher, .game { display: none !important; } }
