/* arcade-daily.css — the Daily Challenge (.dc…) and Your progress (.pg…) on /games/.
   Only the Arcade page loads this file. */
.page-games .ar-today { padding: 0 0 clamp(28px, 5vh, 52px); }
.ar-today-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }

/* ── the Daily Challenge ───────────────────────────────────────────────── */
.dc { position: relative; overflow: hidden; display: grid; gap: 10px; padding: clamp(18px, 3vw, 34px); border-radius: var(--radius-lg); background: var(--cyc); border: 2px solid var(--pen); box-shadow: var(--shadow-1); scroll-margin-top: calc(var(--bar-h) + 40px); }
.dc-kicker { justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--pen-soft); color: var(--ink); font-family: var(--f-display); font-size: .88rem; font-variation-settings: 'wght' 650; }
.dc-title { font-size: clamp(1.8rem, 1.4rem + 1.8vw, 2.8rem); letter-spacing: -.03em; line-height: 1.05; }
.dc-lede { color: var(--ink-2); font-size: 1.08rem; max-width: 46ch; }
.dc-body { display: grid; gap: 14px; margin-top: 6px; min-height: 96px; align-content: start; }
.dc-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.dc-acts .btn { min-height: 48px; padding: 13px 22px; font-size: 1rem; line-height: 1.2; white-space: normal; text-align: center; }
.dc-acts .btn:disabled { opacity: .6; cursor: default; }
.dc-small { color: var(--ink-2); font-size: .95rem; }
.dc-streak, .dc-done { padding: 12px 16px; border-radius: 14px; background: var(--cyc-2); font-size: 1.05rem; line-height: 1.45; }
.dc-done { background: var(--sound-soft); }

.dc-top { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.dc-count { color: var(--ink-2); font-size: .98rem; }
.dc-dots { display: flex; gap: 6px; }
.dc-dots i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--cyc-2); color: var(--ink-2); font-style: normal; font-family: var(--f-display); font-size: .88rem; font-variation-settings: 'wght' 700; }
.dc-dots i.now { background: var(--ink); color: var(--cyc); }
.dc-dots i.good { background: var(--sound); color: var(--cyc); }
.dc-dots i.bad { background: var(--live-soft); color: var(--ink); box-shadow: inset 0 0 0 2px var(--live); }

.dc-ask { font-size: clamp(1.2rem, 1.05rem + .7vw, 1.5rem); letter-spacing: -.02em; line-height: 1.25; }
.dc-ask:focus { outline: none; }
.dc-stem { padding: clamp(14px, 2.4vw, 22px); border-radius: 16px; background: var(--cyc-2); font-size: clamp(1.12rem, 1rem + .6vw, 1.35rem); line-height: 1.5; overflow-wrap: anywhere; }
.dc mark { padding: 0 .15em; border-radius: 4px; background: var(--pen); color: var(--ink); }
.dc-gap { display: inline-block; min-width: 2.6em; padding: 0 .3em; border-radius: 8px; border: 2px dashed var(--sound); color: var(--sound); text-align: center; font-family: var(--f-display); font-variation-settings: 'wght' 700; }
.dc-gap.ok { border-style: solid; background: var(--pen-soft); color: var(--ink); }

.dc-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dc-opts.long { grid-template-columns: minmax(0, 1fr); }
.dc-opt { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 14px; border: 2px solid var(--line-2); background: var(--cyc); color: var(--ink); text-align: left; font: inherit; font-size: 1.08rem; line-height: 1.3; cursor: pointer; overflow-wrap: anywhere; transition: border-color .2s, background .2s, transform .2s var(--ease-out); }
.dc-let { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--cyc-2); font-family: var(--f-display); font-size: .92rem; font-variation-settings: 'wght' 750; }
.dc-opt:hover:not(:disabled) { border-color: var(--sound); background: var(--sound-soft); }
.dc-opt:active:not(:disabled) { transform: scale(.985); }
.dc-opt:disabled { cursor: default; color: var(--ink); }
.dc-opt.right { border-color: var(--sound); background: var(--sound-soft); }
.dc-opt.right .dc-let { background: var(--sound); color: var(--cyc); }
.dc-opt.wrong { border-color: var(--live); background: var(--live-soft); }
.dc-opt.wrong .dc-let { background: var(--live); color: var(--cyc); }
.dc-opt.dim { color: var(--ink-2); border-color: var(--line); }

.dc-fb { display: grid; gap: 10px; padding: clamp(14px, 2.4vw, 20px); border-radius: 16px; border: 1.5px solid var(--line); border-left: 6px solid var(--sound); background: var(--cyc); font-size: 1.05rem; line-height: 1.5; animation: dc-in .35s var(--ease-out); }
.dc-fb.bad { border-left-color: var(--live); }
.dc-fb-h { font-family: var(--f-display); font-size: 1.2rem; }
.dc-eg { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--cyc-2); }
.dc-tip { color: var(--ink-2); }
.dc-hear { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--sound); color: var(--cyc); font-size: .95rem; cursor: pointer; transition: background .2s, transform .2s var(--ease-out); }
.dc-hear:hover { background: var(--sound-2); }
.dc-hear:active { transform: scale(.94); }
.dc-hear.on { background: var(--ink); box-shadow: 0 0 0 4px var(--sound-soft); }
.dc-others summary { display: flex; align-items: center; min-height: 44px; color: var(--sound); cursor: pointer; font-family: var(--f-display); font-variation-settings: 'wght' 650; }
.dc-others summary::before { content: "+"; width: 1.2em; }
.dc-others[open] summary::before { content: "−"; }
.dc-others summary::-webkit-details-marker { display: none; }
.dc-others ul { display: grid; gap: 8px; margin: 4px 0 0; padding: 0; }
.dc-others li { list-style: none; padding: 10px 12px; border-radius: 10px; background: var(--cyc-2); }

.dc-result { display: grid; gap: 10px; }
.dc-score { color: var(--ink-2); font-size: 1.15rem; }
.dc-score b { color: var(--sound); font-family: var(--f-display); font-size: 2.6rem; line-height: 1; font-variation-settings: 'wght' 800; }
.dc-h4 { margin-top: 6px; font-family: var(--f-display); font-size: 1.15rem; letter-spacing: -.01em; }
.dc-learned { display: grid; gap: 8px; margin: 0; padding: 0; }
.dc-learned li { list-style: none; display: grid; grid-template-columns: 28px minmax(0, 1fr) 44px; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--cyc-2); }
.dc-learned li > span:not(.dc-mark):not(.sr-only) { display: grid; gap: 1px; line-height: 1.35; }
.dc-learned li > span > span { color: var(--ink-2); font-size: .98rem; }
.dc-mark { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--sound); color: var(--cyc); font-size: .85rem; }
.dc-learned .bad .dc-mark { background: var(--live); }
@keyframes dc-in { from { opacity: 0; transform: translateY(8px); } }

/* ── Your progress ─────────────────────────────────────────────────────── */
.pg { padding: clamp(18px, 2.4vw, 28px); border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--cyc); box-shadow: var(--shadow-1); }
.pg-title { margin-bottom: 12px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); letter-spacing: -.03em; }
.pg [data-progress-body] { display: grid; gap: 14px; }
.pg-empty { color: var(--ink-2); font-size: 1.05rem; line-height: 1.5; }
.pg-list { display: grid; gap: 4px; margin: 0; padding: 0; }
.pg-list li { list-style: none; }
.pg-list a, .pg-list .day { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; min-height: 56px; padding: 6px 8px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background .2s; }
.pg-list a:hover { background: var(--cyc-2); color: var(--ink); }
.pg-list a:active { background: var(--cyc-3); }
.pg-n { min-height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--sound-soft); color: var(--sound-2); font-family: var(--f-display); font-size: 1.15rem; font-variation-settings: 'wght' 800; font-variant-numeric: tabular-nums; }
.pg-list .day .pg-n { background: var(--pen-soft); color: var(--ink); }
.pg-t { display: grid; line-height: 1.3; }
.pg-t span { color: var(--ink-2); font-size: .95rem; }
.pg-next { display: grid; gap: 3px; padding: 14px 16px; border-radius: 16px; background: var(--pen-soft); color: var(--ink); text-decoration: none; line-height: 1.4; transition: box-shadow .2s; }
.pg-next:hover { box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); }
.pg-next b { font-family: var(--f-display); font-size: 1.2rem; }
.pg-next-l { font-size: .92rem; color: var(--ink-2); }
.pg .ar-shelf { justify-self: stretch; gap: 8px; }
.pg .ar-shelf b { flex-basis: 100%; }
.pg .ar-shelf .cups { gap: 0; margin-left: -8px; }
.pg .ar-shelf .cups a { width: 44px; height: 44px; padding: 8px; border-radius: 10px; }

@media (max-width: 900px) { .ar-today-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .dc-opts { grid-template-columns: minmax(0, 1fr); }
  .dc-acts .btn { width: 100%; justify-content: center; }
  .dc-dots i { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .dc-fb { animation: none; }
  .dc-opt:active:not(:disabled), .dc-hear:active { transform: none; }
}
