/* 랜덤 질문 — 포인트 색: 머스터드 */
.qpage { --accent: #c98a12; --accent-soft: #fdf0c4; }
.controls { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.controls .spacer, .qactions .spacer { flex: 1; }
.seg { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.seg button.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
select { font: inherit; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); }
.check { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; cursor: pointer; }
.check input { accent-color: var(--accent); width: 16px; height: 16px; }

.qcard { margin-top: 18px; padding: 28px 28px 20px; background: var(--accent-soft); border: 3px solid #2b2622; border-radius: 22px; box-shadow: 0 5px 0 #2b2622; }
.qcard.swap { animation: swap .35s ease; }
@keyframes swap { from { transform: translateY(8px) rotate(-.6deg); opacity: 0; } }
.qmeta { display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; color: #7a5a14; }
.pill { background: #2b2622; color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.qtext { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; margin: 16px 0 6px; min-height: 2.6em; }
.points { margin: 8px 0 0; padding: 0; list-style: none; font-size: 18px; }
.points::before { content: "You should say:"; display: block; font-size: 14px; color: #7a5a14; font-weight: 700; margin-bottom: 6px; }
.points li { padding: 3px 0 3px 22px; position: relative; }
.points li::before { content: "•"; position: absolute; left: 6px; color: var(--accent); font-weight: 800; }
.points[hidden] { display: none; }
.qactions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 20px; }
.btn.sm { padding: 7px 13px; font-size: 14px; }
.btn.ghost { border-color: #cdb98a; background: transparent; }
#favBtn[aria-pressed="true"] { background: #2b2622; color: #ffd76a; }

.lower { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; margin-top: 18px; }
.timer { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 16px; background: var(--bg); }
.timer img { width: 84px; }
.t-body { flex: 1; }
.t-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.t-time { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.timer.prep .t-time { color: #4a8cc0; }
.timer.run .t-time { color: var(--accent); }
.timer.end .t-time { color: #d6455d; animation: blink .5s 4; }
@keyframes blink { 50% { opacity: .3; } }
.starters { padding: 14px 18px; border-radius: 16px; background: var(--bg); }
.starters h3 { margin: 0 0 8px; font-size: 13px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; font-size: 14px; font-weight: 600; }
#notes { width: 100%; margin-top: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; resize: vertical; background: var(--paper); }
#notes[hidden] { display: none; }

.about { max-width: 680px; margin: 48px auto 0; color: var(--ink-soft); }
.about h2 { color: var(--ink); font-size: 20px; }

body.big .site-header, body.big .site-footer, body.big .about { display: none; }
body.big .wrap { max-width: none; padding: 16px 24px; }
body.big .board { min-height: calc(100vh - 32px); border: 0; box-shadow: none; }
body.big .qtext { font-size: clamp(34px, 5vw, 60px); }
body.big .points { font-size: 26px; }

@media (max-width: 760px) { .lower { grid-template-columns: 1fr; } .qcard { padding: 22px 18px 16px; } }
