/* Hub + how-to layout. Paper, chrome, footer: shared/site.css (tokens included). */
@import url("./shared/site.css?v=2e3175c7b3b9a9dd51fae826e036696c2e61b7b6");
@import url("./shared/product.css?v=2e3175c7b3b9a9dd51fae826e036696c2e61b7b6");
@import url("./shared/site-chrome.css?v=2e3175c7b3b9a9dd51fae826e036696c2e61b7b6");

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  overflow-x: clip;
  max-width: 100%;
}

body {
  background-image:
    radial-gradient(1100px 520px at 8% -12%, var(--paper-wash) 0%, transparent 52%),
    radial-gradient(800px 380px at 108% 8%, var(--paper-shade) 0%, transparent 48%);
}

.page {
  --page-gutter: 28px;
  width: min(1080px, 100%);
  max-width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  padding: 18px var(--page-gutter) 48px;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* Header/footer chrome: shared/site-chrome.css — do not restyle here. */

.games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.games > .card {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.card .glyph {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.card .glyph.sudoku {
  background:
    linear-gradient(var(--gold), var(--gold)) 50% 33% / 18px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% 66% / 18px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 33% 50% / 2px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 66% 50% / 2px 18px no-repeat,
    var(--gold-wash);
}

.card .glyph.stars {
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 3px, transparent 3.5px),
    radial-gradient(circle at 50% 18%, var(--gold) 0 2px, transparent 2.4px),
    radial-gradient(circle at 50% 82%, var(--gold) 0 2px, transparent 2.4px),
    radial-gradient(circle at 18% 50%, var(--gold) 0 2px, transparent 2.4px),
    radial-gradient(circle at 82% 50%, var(--gold) 0 2px, transparent 2.4px),
    var(--gold-wash);
}


.card .glyph.killer {
  background:
    linear-gradient(var(--gold), var(--gold)) 50% 33% / 18px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% 66% / 18px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 33% 50% / 2px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 66% 50% / 2px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 22% 22% / 9px 1.5px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 22% 28% / 1.5px 9px no-repeat,
    var(--gold-wash);
}
.card .glyph.binary {
  background:
    linear-gradient(var(--gold), var(--gold)) 50% 22% / 20px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% 36% / 20px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% 50% / 20px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% 64% / 20px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% 78% / 20px 1px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 22% 50% / 1px 20px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 36% 50% / 1px 20px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 50% 50% / 1px 20px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 64% 50% / 1px 20px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 78% 50% / 1px 20px no-repeat,
    var(--gold-wash);
}

.card h2 {
  margin: 0 0 6px;
  letter-spacing: 0.04em;
  font-size: 1.25rem;
  font-weight: 600;
}

.card p {
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.4;
  font-size: 0.98rem;
}

.card .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--paper-shade, #FFF6DF);
  color: var(--ink-strong, #2B2419);
  text-decoration: none;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.2;
  box-shadow: none;
}

.btn:hover { border-color: var(--cta, #C88708); background: color-mix(in srgb, var(--cta, #C88708) 18%, var(--paper-shade, #FFF6DF)); }

.btn.primary {
  background: var(--cta, #C88708);
  color: var(--cta-ink, #201A12);
  border-color: var(--cta, #C88708);
  font-weight: 500;
}

.btn.primary:hover { background: var(--cta-hover, #A86E06); border-color: var(--cta-hover, #A86E06); }

.foot {
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.continue { margin: 0 0 20px; }

.daily-trio {
  margin: 0 0 28px;
}

.trio-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin: 0 0 12px;
}

.trio-head h2 {
  margin: 0;
  font-size: 1.28rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.trio-sub {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.trio-count {
  margin-left: 0.6em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

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

@media (max-width: 760px) {
  .trio-grid {
    grid-template-columns: 1fr;
  }
}

.continue-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}

.continue-label { font-weight: 600; }
.continue-sub { color: var(--muted); font-size: 0.95rem; }

.recent { margin-top: 32px; }

.recent-head,
.solved-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 16px;
}

.recent-head h2,
.page-title {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.page-title {
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.08em;
}

.recent-all {
  color: var(--muted);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.recent-all:hover { color: var(--ink); }

.recent-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.recent-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.recent-list a:hover { color: var(--gold); }

.article, .howto { max-width: 40rem; }
.article h1, .howto h1 { font-size: 1.8rem; letter-spacing: 0.03em; margin: 0 0 16px; }
.article h2, .howto h2 { font-size: 1.15rem; letter-spacing: 0.04em; margin: 28px 0 10px; }
.article p, .article li, .howto p, .howto li { font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.article ul, .howto ul { padding-left: 1.2em; }
.article .err, .howto .err { color: var(--bad); }

.history { margin-top: 28px; }
.history h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  font-weight: 600;
}

@media (max-width: 760px) {
  .page { --page-gutter: 2.5vw; width: var(--mobile-content-width, 95%); padding: 10px 0 36px; }
  .games {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
}
.foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--ink); }

/* Local account — this machine only. Not a cloud signup. */
.lede {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.45;
}
#names {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
}
#names button,
#names a {
  font: inherit;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-bright);
  color: var(--ink);
  cursor: pointer;
}
#names [aria-current="true"],
#names .active {
  border-color: var(--gold-border);
  background: var(--gold-fill);
}
#add.name-form {
  max-width: 22rem;
}
.howto-rich { margin-top: 8px; }
.howto-rich h1 { margin-top: 0; }

.howto > .name-form {
  max-width: 22rem;
}
#boards { margin-top: 28px; }
.achv-panel { margin: 20px 0; }
.achv-panel h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.achv-streak,
.achv-freeze { margin: 0 0 12px; color: var(--ink); }
.achv-freeze { color: var(--muted); font-size: 0.95rem; }
.achv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.achv-chips li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.88rem;
  background: var(--paper-bright);
}
.achv-next { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 0.92rem; }
.achv-toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  min-width: min(18rem, 88vw);
  max-width: min(92vw, 420px);
  padding: 14px 36px 14px 16px;
  background: var(--paper-bright, #FFF9E8);
  border: 1px solid var(--cta, #C88708);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(43, 36, 25, 0.12);
  color: var(--ink, #2B2419);
  font-size: 0.92rem;
}
.achv-toast[hidden],
.achv-toast.is-hidden { display: none !important; }
.achv-toast-kicker {
  margin: 0 0 4px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cta, #C88708);
}
.achv-toast-dismiss {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}
#boards h2,
#solved h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.seo-daily { max-width: 40rem; }
.seo-daily h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: 0.02em;
  margin: 0 0 12px;
}
.seo-board {
  --n: 8;
  display: grid;
  gap: 0;
  width: min(100%, 22rem);
  margin: 18px 0 12px;
  border: 1px solid var(--line);
  background: var(--paper-bright);
  box-shadow: var(--shadow);
}
.seo-row {
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
}
.seo-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
  font-size: 1rem;
}
.seo-row .seo-cell:last-child { border-right: 0; }
.seo-row:last-child .seo-cell { border-bottom: 0; }
.seo-cell.is-given { font-weight: 600; color: var(--ink); }
.seo-ascii {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  overflow-x: auto;
}
.seo-meta { margin: 0 0 16px; color: var(--muted); font-size: 0.95rem; }

.who {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1rem;
}
.who a { color: inherit; text-underline-offset: 3px; }

.name-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.name-actions button,
.name-actions .btn {
  background: transparent;
  color: var(--muted);
}
.name-actions button:hover { color: var(--ink); }

.confirm-pop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--paper) 45%, transparent);
  z-index: 20;
  padding: 24px 16px;
}
.confirm-pop[hidden] { display: none !important; }
.confirm-pop .rules-pop-card,
.confirm-card {
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  max-width: 22rem;
  width: min(22rem, 100%);
  box-shadow: var(--shadow);
}
.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.confirm-actions .danger {
  color: var(--bad);
  border-color: var(--bad);
  background: transparent;
}

.board-list { list-style: none; margin: 0; padding: 0; }
.board-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  min-height: 44px;
  border-bottom: 1px solid var(--line);
}
.board-row .band,
.board-row .count { color: var(--muted); }

.games > .card {
  transition: none;
}

.games > .card:hover {
  transform: none;
  box-shadow: none;
}

.article h1, .howto h1 {
  letter-spacing: 0.02em;
}

.auth-card h1 {
  letter-spacing: 0.03em;
}

.times-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.times-table tbody tr {
  border-bottom: 1px solid var(--line);
}

.times-table th,
.times-table td {
  padding: 11px 10px;
  text-align: left;
  vertical-align: middle;
  border: 0;
}

.times-table thead th {
  padding-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom-color: var(--gold-border);
}

.times-table th:first-child,
.times-table td:first-child {
  width: 2.1rem;
  padding-left: 2px;
  color: var(--gold);
  font-weight: 600;
}

.times-table th:last-child,
.times-table td:last-child {
  width: 7.2rem;
  text-align: right;
}

.times-table tbody tr:last-child {
  border-bottom: 0;
}

/* Mobile home (≤480). Desktop / tablet homepage stays as-is. */
.home-mobile,
.home-overlay,
.home-sheet {
  display: none;
}

@media (max-width: 480px) {
  body.home {
    --sumi: #2C2C2C;
    --ink-muted: #6B6560;
    --indigo: #3E48AB;
    --vermillon: #CB4B31;
    --matcha: #7B9E5C;
    --gris: #E8E4DD;
    --hairline: rgba(26, 26, 26, 0.12);
    --mark: #C4A574;
    --overlay: rgba(26, 26, 26, 0.40);
    --home-washi: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.42 0 0 0 0 0.38 0 0 0 0 0.30 0 0 0 0.28 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23w)'/%3E%3C/svg%3E");
    font-family: var(--font-sans);
  }

  /* Beat product.css `html:not(.is-play) body` (0,1,2). Do not assign a color to --washi. */
  html:not(.is-play):has(body.home),
  html:not(.is-play) body.home,
  html:not(.is-play) body.home .page,
  html:not(.is-play) body.home .home-mobile {
    color-scheme: only light;
    background-color: var(--paper);
    background-image: none;
    color: var(--ink);
  }

  body.home::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: var(--home-washi);
    background-size: 180px 180px;
    opacity: 0.07;
  }

  body.home .page {
    --page-gutter: 16px;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 0 0 16px;
    overflow-x: clip;
  }

  body.home .home-desk { display: none !important; }
  body.home .home-mobile { display: block; }

  .home-mobile {
    position: relative;
    padding: 0 16px 8px;
  }

  .home-motif {
    position: absolute;
    top: 4px;
    right: -8px;
    width: 168px;
    height: 84px;
    pointer-events: none;
    color: var(--indigo);
    opacity: 0.14;
    z-index: 0;
  }

  .home-motif-seigaiha {
    display: block;
    width: 100%;
    height: 100%;
  }

  .home-motif-seigaiha path {
    stroke: currentColor;
    stroke-width: 1;
    fill: none;
  }

  .home-greet {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    margin: 12px 0 0;
  }

  .home-greet-main { min-width: 0; }

  .home-greet-text {
    margin: 0;
    font-family: var(--font-serif), var(--font-display), serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 26px;
    color: var(--ink);
  }

  .home-greet-kicker {
    margin: 2px 0 0;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-muted);
  }

  .home-ritual {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex: 0 0 auto;
  }

  .home-streak {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 22px;
    min-width: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--vermillon) 14%, var(--paper));
    color: var(--vermillon);
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 22px;
    letter-spacing: 0;
  }

  .home-streak::before {
    content: "";
    width: 8px;
    height: 10px;
    background: var(--vermillon);
    clip-path: polygon(50% 0, 78% 38%, 100% 48%, 70% 100%, 50% 78%, 30% 100%, 0 48%, 22% 38%);
  }

  .home-lantern-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 22px;
    padding: 0 8px 0 6px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--indigo) 10%, var(--paper));
    color: var(--sumi);
  }

  .home-lantern {
    display: block;
    width: 12px;
    height: 14px;
    flex: 0 0 12px;
    color: var(--indigo);
  }

  .home-lantern path,
  .home-lantern ellipse {
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .home-trio { position: relative; z-index: 1; margin-top: 14px; }

  .home-today {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 18px;
    margin: 0 0 6px;
    box-sizing: border-box;
  }

  .home-today h2 {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 15px;
    color: var(--ink);
  }

  .home-today-count {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 15px;
    color: var(--sumi);
  }

  #homeTrioRows {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .home-row {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 64px;
    height: auto;
    padding: 8px 10px 8px 8px;
    margin: 0;
    border: 1px solid var(--hairline);
    border-left: 2px solid var(--indigo);
    border-radius: 2px;
    box-sizing: border-box;
    background: var(--paper-bright);
    box-shadow: none;
    text-decoration: none;
    color: var(--sumi);
    transition: background-color 80ms linear;
  }

  .home-row[data-game="killer-sudoku"] {
    border-left-color: var(--vermillon);
  }

  .home-row[data-game="binary-puzzle"] {
    border-left-color: var(--matcha);
  }

  .home-row:active { background: var(--gris); }

  .home-row-glyph {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 2px;
  }

  .home-row[data-game="sudoku"] .home-row-glyph {
    background:
      linear-gradient(var(--indigo), var(--indigo)) 50% 33% / 16px 1px no-repeat,
      linear-gradient(var(--indigo), var(--indigo)) 50% 66% / 16px 1px no-repeat,
      linear-gradient(var(--indigo), var(--indigo)) 33% 50% / 1px 16px no-repeat,
      linear-gradient(var(--indigo), var(--indigo)) 66% 50% / 1px 16px no-repeat,
      color-mix(in srgb, var(--indigo) 12%, var(--paper-bright));
  }

  .home-row[data-game="killer-sudoku"] .home-row-glyph {
    background:
      linear-gradient(var(--vermillon), var(--vermillon)) 50% 33% / 16px 1px no-repeat,
      linear-gradient(var(--vermillon), var(--vermillon)) 50% 66% / 16px 1px no-repeat,
      linear-gradient(var(--vermillon), var(--vermillon)) 33% 50% / 1px 16px no-repeat,
      linear-gradient(var(--vermillon), var(--vermillon)) 66% 50% / 1px 16px no-repeat,
      linear-gradient(var(--vermillon), var(--vermillon)) 22% 18% / 9px 1.5px no-repeat,
      linear-gradient(var(--vermillon), var(--vermillon)) 18% 26% / 1.5px 9px no-repeat,
      color-mix(in srgb, var(--vermillon) 12%, var(--paper-bright));
  }

  .home-row[data-game="binary-puzzle"] .home-row-glyph {
    background:
      linear-gradient(var(--matcha), var(--matcha)) 50% 22% / 16px 1px no-repeat,
      linear-gradient(var(--matcha), var(--matcha)) 50% 40% / 16px 1px no-repeat,
      linear-gradient(var(--matcha), var(--matcha)) 50% 58% / 16px 1px no-repeat,
      linear-gradient(var(--matcha), var(--matcha)) 50% 76% / 16px 1px no-repeat,
      linear-gradient(var(--matcha), var(--matcha)) 28% 50% / 1px 16px no-repeat,
      linear-gradient(var(--matcha), var(--matcha)) 50% 50% / 1px 16px no-repeat,
      linear-gradient(var(--matcha), var(--matcha)) 72% 50% / 1px 16px no-repeat,
      color-mix(in srgb, var(--matcha) 14%, var(--paper-bright));
  }

  .home-row-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .home-row-name {
    font-family: var(--font-display), var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
    color: var(--ink);
  }

  .home-row-diff {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
  }

  .home-row[data-band="easy"] .home-row-diff { color: var(--indigo); }
  .home-row[data-band="medium"] .home-row-diff { color: var(--matcha); }
  .home-row[data-band="hard"] .home-row-diff { color: var(--vermillon); }

  .home-row-cta {
    flex: 0 0 auto;
    font-family: var(--font-display), var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--vermillon);
    background: none;
    border: 0;
    padding: 0;
    min-height: 0;
  }

  .home-row-check {
    color: var(--matcha);
    font-size: 12px;
    line-height: 16px;
  }

  .home-row-time {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--sumi);
  }

  .home-row.is-soon,
  .home-row.is-soon .home-row-name,
  .home-row.is-soon .home-row-diff,
  .home-row.is-soon .home-row-cta {
    color: var(--ink-muted);
    pointer-events: none;
  }

  .home-stats {
    display: flex;
    align-items: center;
    height: 28px;
    margin: 10px 0 0;
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--ink-muted);
    box-sizing: border-box;
  }

  .home-acc { position: relative; z-index: 1; margin-top: 6px; }

  .home-acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 8px 8px 8px 6px;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
    box-shadow: none;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
  }

  .home-acc-btn:hover {
    background: transparent;
    border-color: transparent;
    color: var(--ink);
  }

  .home-acc-glyph {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
  }

  .home-acc-copy {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }

  .home-acc-name {
    font-family: var(--font-display), var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: var(--ink);
  }

  .home-acc-meta {
    font-family: var(--font-sans);
    font-size: 11px;
    color: var(--ink-muted);
  }

  .home-acc-side {
    flex: 0 0 auto;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--vermillon);
  }

  .home-acc-fm .home-acc-btn {
    background: color-mix(in srgb, var(--indigo) 7%, var(--paper));
    border-color: color-mix(in srgb, var(--indigo) 18%, var(--gris));
  }

  .home-acc-fm .home-acc-glyph {
    background:
      radial-gradient(circle at 50% 50%, transparent 0 5px, var(--indigo) 5.5px 6.5px, transparent 7px),
      color-mix(in srgb, var(--indigo) 14%, var(--paper));
  }

  .home-acc-explore .home-acc-btn {
    background: color-mix(in srgb, var(--paper-shade) 55%, var(--paper));
    border-color: var(--hairline);
  }

  .home-acc-explore .home-acc-glyph {
    border-radius: 2px;
    background:
      linear-gradient(var(--sumi), var(--sumi)) 50% 33% / 12px 1px no-repeat,
      linear-gradient(var(--sumi), var(--sumi)) 50% 66% / 12px 1px no-repeat,
      linear-gradient(var(--sumi), var(--sumi)) 33% 50% / 1px 12px no-repeat,
      linear-gradient(var(--sumi), var(--sumi)) 66% 50% / 1px 12px no-repeat,
      var(--gris);
  }

  .home-acc-read .home-acc-btn {
    background: color-mix(in srgb, var(--matcha) 8%, var(--paper));
    border-color: color-mix(in srgb, var(--matcha) 20%, var(--gris));
  }

  .home-acc-read .home-acc-glyph {
    background:
      radial-gradient(ellipse 80% 55% at 50% 55%, transparent 0 42%, var(--matcha) 44% 52%, transparent 54%),
      color-mix(in srgb, var(--matcha) 12%, var(--paper));
  }

  .home-acc-chevron {
    color: var(--ink-muted);
    font-size: 16px;
    line-height: 1;
  }

  .home-acc-panel {
    padding: 8px 0 0;
  }

  .home-fm-meta {
    margin: 0 0 8px;
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--ink-muted);
  }

  .home-fm-list {
    margin: 0 0 8px;
    padding: 0 0 0 1.1em;
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--sumi);
  }

  .home-fm-list li { margin: 0 0 4px; }

  .home-text-cta {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    font-family: var(--font-display), var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--vermillon);
    text-decoration: none;
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
  }

  .home-acc-link {
    display: flex;
    align-items: center;
    height: 40px;
    border-bottom: 1px solid var(--hairline);
    box-sizing: border-box;
    color: var(--sumi);
    text-decoration: none;
    font-family: var(--font-display), var(--font-sans);
    font-size: 15px;
    font-weight: 500;
  }

  .home-foot {
    position: relative;
    z-index: 1;
    margin: 18px 0 0;
    padding: 14px 8px 10px;
    border-top: 1px solid var(--hairline);
    min-height: 96px;
    background:
      radial-gradient(120px 40px at 88% 20%, color-mix(in srgb, var(--vermillon) 10%, transparent), transparent 70%);
  }

  .home-foot-motif {
    display: block;
    width: 100%;
    height: 52px;
    margin: 0 0 8px;
    color: var(--sumi);
    opacity: 0.42;
  }

  .home-foot-motif circle {
    fill: var(--vermillon);
    opacity: 0.55;
  }

  .home-foot-motif path {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
  }

  .home-foot-note {
    margin: 0 0 6px;
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--ink-muted);
  }

  .home-support {
    display: flex;
    align-items: center;
    min-height: 24px;
    margin: 0;
  }

  .home-support a {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--ink-muted);
    text-decoration: none;
    min-height: 0;
    padding: 0;
  }

  .home-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--overlay);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms linear, visibility 180ms linear;
  }

  .home-sheet {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 70;
    background: var(--paper);
    box-shadow: none;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 180ms ease, visibility 180ms linear;
  }

  .home-overlay.is-open,
  .home-sheet.is-open {
    visibility: visible;
    pointer-events: auto;
  }

  .home-overlay.is-open { opacity: 1; }
  .home-sheet.is-open { transform: translateX(0); }

  .home-sheet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 16px;
    border-bottom: 1px solid var(--hairline);
    box-sizing: border-box;
  }

  .home-sheet-head p {
    margin: 0;
    font-family: var(--font-display), var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .home-sheet-close {
    width: 44px;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--sumi);
    font-size: 22px;
    line-height: 1;
  }

  .home-sheet-close:hover {
    background: transparent;
    border: 0;
    color: var(--sumi);
  }

  .home-sheet-nav {
    display: flex;
    flex-direction: column;
    padding: 0 16px;
  }

  .home-sheet-nav a {
    display: flex;
    align-items: center;
    height: 48px;
    border-bottom: 1px solid var(--hairline);
    box-sizing: border-box;
    color: var(--sumi);
    text-decoration: none;
    font-family: var(--font-display), var(--font-sans);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    min-height: 0;
    padding: 0;
  }

  body.home .home-row:focus-visible,
  body.home .home-acc-btn:focus-visible,
  body.home .home-text-cta:focus-visible,
  body.home .home-acc-link:focus-visible,
  body.home .home-support a:focus-visible,
  body.home .home-sheet-close:focus-visible,
  body.home .home-sheet-nav a:focus-visible {
    outline: 2px solid var(--indigo);
    outline-offset: 2px;
  }

  @media (prefers-reduced-motion: reduce) {
    .home-overlay,
    .home-sheet,
    .home-row {
      transition: none;
    }
  }
}
