/* 抢答端布局（手机优先） */
.play-shell { max-width: 780px; margin: 0 auto; padding: 12px 12px 40px; }
@supports (padding-bottom: env(safe-area-inset-bottom)) { .play-shell { padding-bottom: calc(40px + env(safe-area-inset-bottom)); } }
.play-top { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--line); }
.play-top-inner { max-width: 780px; margin: 0 auto; padding: 8px 12px; display: flex; align-items: center; gap: 8px; }
.play-top-inner > * { flex: none; }
.play-top .who { flex: 1 1 auto; min-width: 0; }
.play-top .chip, .play-top .btn { white-space: nowrap; }
.play-top .myscore span { display: none; }
.play-top .myscore { text-align: right; }
.avatar { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: var(--primary); color: #fff; flex: none; }
.play-top .who { line-height: 1.25; min-width: 0; }
.play-top .who b { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.play-top .who span { font-size: 11.5px; color: var(--muted); }
.play-top .spacer { flex: 1; }
.myscore { text-align: right; }
.myscore b { display: block; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.myscore span { font-size: 11px; color: var(--muted); }
@media (min-width: 700px) { .play-top .myscore span { display: block; } }

.banner { padding: 11px 14px; border-radius: 12px; font-weight: 600; font-size: 14.5px; text-align: center; margin-bottom: 12px; border: 1px solid var(--line); background: var(--surface2); color: var(--ink2); }
.banner.out { border-color: #f3c9c9; background: #fdeeee; color: #b42318; }
.banner.win { border-color: #bfe6cc; background: #eef9f1; color: var(--ok); }
.banner.wait { color: var(--ink2); }

.ready-card { padding: 46px 18px; text-align: center; border: 1px dashed #cfd8e3; border-radius: 14px; background: var(--surface2); }
.ready-main { font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.ready-sub { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

.stage-note { margin: 2px 0 12px; padding: 9px 13px; border-radius: 10px; background: var(--surface2); border: 1px dashed #d5dce6; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.stage-note b { color: var(--ink2); }

.answer-zone { margin-top: 14px; position: sticky; bottom: 10px; z-index: 6; }
.answer-hint { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink2); font-weight: 700; text-align: center; font-size: 15px; box-shadow: var(--shadow); }
.answer-hint.live { border-color: #bfe6cc; background: #eef9f1; color: var(--ok); }

.opts-play { display: grid; gap: 10px; grid-template-columns: 1fr; margin-top: 12px; }
.opts-play.dense { grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 7px; }
@media (min-width: 560px) { .opts-play { grid-template-columns: 1fr 1fr; } }
.opt-play { padding: 15px; font-size: 16.5px; border-radius: 14px; cursor: pointer; }
.opt-play:disabled, .opt-play.locked { opacity: .62; cursor: not-allowed; }
.opt-play.mine { cursor: pointer; opacity: 1; -webkit-tap-highlight-color: transparent; }
.opt-play.mine:hover { background: #f2f6ff; }
.opt-play.mine:active { background: #e8f0ff; transform: scale(.97); }

/* pictionary player */
.hint-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.hint-row .word-box { font-weight: 700; font-size: 16px; color: var(--warn); }
.guess-form { display: flex; gap: 8px; margin-top: 12px; }
.guess-form input { flex: 1; font-size: 16.5px; padding: 13px; border-radius: 12px; }
.guess-form button { border-radius: 12px; padding: 13px 20px; font-size: 15.5px; font-weight: 700; }

.tools { display: flex; flex-direction: column; gap: 8px; }
.tool-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.tool-row .swatch, .tool-row .size-btn { flex: none; }
.swatch { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); cursor: pointer; padding: 0; }
.swatch[aria-pressed="true"] { outline: 2px solid var(--primary); outline-offset: 1px; }
.size-btn { padding: 6px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 13px; }
.size-btn[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.word-reveal { font-size: 22px; font-weight: 700; color: var(--warn); text-align: center; padding: 8px; }

.mini-lb { margin-top: 12px; }
.mini-lb .lb-row { grid-template-columns: 26px 1fr auto; padding: 5px 7px; font-size: 14px; }
.linklike { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 0; font-size: 12.5px; }
