/* 小月已终审稿：仅作用于海龟汤的真实房间状态。 */
.game-bar{padding:0 14px 10px;flex-direction:column;align-items:stretch;flex-shrink:0}
.game-bar-inner{gap:7px;min-width:0;padding-top:10px;flex-wrap:nowrap}
.game-bar-icon{font-size:16px;flex:none}.game-bar-text{flex:0 1 auto;min-width:0}
.game-bar-title{font-size:13px;color:#f0e8d6;white-space:nowrap;letter-spacing:.04em}
.game-bar-stats{margin-left:auto;font-size:11px;white-space:nowrap}
.turtle-status-badge{font-size:10.5px;white-space:nowrap;flex:none;padding:3px 8px;border-radius:999px;background:#d4a03a;color:#1a3a2a}
.turtle-status-badge.finished{background:#8fae8f}.game-bar-end{width:auto;padding:5px 9px;border-radius:9px;flex:none;white-space:nowrap}
.game-bar-surface{width:100%;max-width:800px;margin:7px auto 0;font-size:12px;line-height:1.55;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.game-bar .game-btn-join{width:auto;flex:none;font-size:12px;padding:6px 10px;min-height:34px;white-space:nowrap}
.turtle-start{width:auto;flex:none;font-size:12px;padding:6px 9px;min-height:34px;white-space:nowrap;background:#f0e8d6;color:#1a3a2a}
.turtle-start[hidden]{display:none!important}
.turtle-strip{font-size:12px;line-height:1.5;border:1px dashed var(--line,#d9cfbd);border-radius:11px;padding:8px 12px;margin:9px 14px;color:var(--ink-faint,#8c7f74);background:rgba(255,255,255,.4);flex:none}
.turtle-strip::before{content:'●';margin-right:7px;color:#3f7a4a}.turtle-strip.finished::before{color:#8c7f74}
.turtle-composer{padding:10px 0 2px}.turtle-modes{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:7px}
.turtle-mode{border:1px solid var(--line,#d9cfbd);border-radius:999px;background:var(--paper,#fbf7ec);color:var(--ink);font:inherit;font-size:12px;padding:6px 11px;min-height:34px;cursor:pointer;white-space:nowrap}
.turtle-mode[aria-pressed=true]{background:#1a3a2a;border-color:#1a3a2a;color:#f0e8d6}
.turtle-mode[data-mode=guess][aria-pressed=true]{background:#a4762a;border-color:#a4762a;color:#fff}
.turtle-mode:disabled{opacity:.5;cursor:default}.turtle-mode-hint{font-size:11px;color:var(--ink-faint,#8c7f74);line-height:1.5;margin:6px 0}
.turtle-pass{border:0;border-bottom:1px solid currentColor;background:transparent;color:var(--ink-faint);font-size:11px;cursor:pointer;padding:2px 0;margin-left:auto}
.composer.turtle-active{flex-wrap:wrap;gap:8px}.composer.turtle-active #turtleModeControls{width:100%;flex:0 0 100%;padding:0}
.composer.turtle-active .composer-input{min-width:0;flex:1;border:1px solid var(--line);border-radius:12px;padding:10px 12px;font-size:14px}
.composer.turtle-active .composer-send{flex:none;min-width:42px;min-height:36px;border-radius:11px;background:#2a6a4a;color:#fff;padding:8px 13px;font-size:17px}
.composer.turtle-active .composer-send:disabled{opacity:.45;color:#fff}
.turtle-new-game{display:flex;gap:8px;padding:12px 0;flex-wrap:wrap}.turtle-new-game button{flex:1}
.turtle-composer[hidden],.turtle-strip[hidden],#gvJoinBtn[hidden],#gvEndBtn[hidden],#gameJoinBtn[hidden],#gameEndBtn[hidden]{display:none!important}
.turtle-guess-input{border-color:#a4762a!important;background:#fdf6e6!important}.turtle-timeline{min-width:0}
.turtle-surface{position:relative;background:var(--paper,#fbf7ec);border:1px solid var(--line,#d9cfbd);border-radius:14px;padding:17px 15px 13px;margin:12px 0 17px;box-shadow:0 2px 8px rgba(90,80,72,.08)}
.turtle-label{position:absolute;top:-10px;left:14px;background:#b8553a;color:#fff;border-radius:999px;padding:3px 10px;font-size:10.5px;font-weight:700;letter-spacing:.1em;white-space:nowrap}
.turtle-surface-text{font-size:14.5px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.turtle-foot{font-size:11px;color:var(--ink-faint,#8c7f74);margin-top:9px}
.turtle-timeline > .message,.turtle-timeline > .system-message{animation:none;opacity:1}
.message.turtle-qa{display:block;border:1px solid var(--line-faint,#e5dccb);border-left:4px solid #d9cfbd;border-radius:12px;background:rgba(255,255,255,.55);padding:9px 12px;margin:10px 0;min-width:0}
.turtle-qa .msg-avatar{display:none}.turtle-qa .msg-header{display:flex;gap:8px;justify-content:space-between;margin-bottom:5px;min-width:0}
.turtle-qa .msg-name{font-size:11px;max-width:78%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.turtle-qa .msg-time{font-size:10px;white-space:nowrap}
.turtle-qa .msg-body{font-size:13.5px;overflow-wrap:anywhere;min-width:0;grid-column:auto;color:var(--ink,#3d352e)}
.turtle-qa.verdict-yes{border-left-color:#3f7a4a}.turtle-qa.verdict-no{border-left-color:#b8553a}.turtle-qa.verdict-na{border-left-color:#8c7f74}.turtle-qa.verdict-close{border-left-color:#a4762a}
.turtle-answer{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap;margin-top:7px;font-size:12.5px;line-height:1.6}
.turtle-verdict{padding:2px 9px;border-radius:999px;background:#8c7f74;color:#fff;font-size:10.5px;font-weight:700;white-space:nowrap;flex:none}
.turtle-verdict.yes{background:#3f7a4a}.turtle-verdict.no{background:#b8553a}.turtle-verdict.close{background:#a4762a}
.turtle-answer-text{flex:1;min-width:70px;overflow-wrap:anywhere;color:var(--ink-faint,#5a5048)}.turtle-referee{font-size:10px;color:#3d6b7a;white-space:nowrap}
.message.turtle-chat{font-size:12.5px;opacity:.86}.turtle-chat .msg-body{color:var(--ink-faint,#5a5048)}
.turtle-referee-note{font-size:12px;color:var(--ink-faint,#8c7f74)}
.turtle-reveal{position:relative;overflow:visible;background:linear-gradient(145deg,#f7e6ad,#f9efce);border:1px solid #cbae67;border-radius:14px;padding:18px 16px 14px;margin:17px 0;box-shadow:0 3px 12px rgba(130,96,34,.12)}
.turtle-reveal .turtle-label{background:#a4762a}.turtle-reveal-text{color:#4c3b1e;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.8}
#gameView{min-height:0}#gameView .game-panel{border-radius:14px;margin:10px 14px 0;padding:10px 12px;flex-shrink:0}
#gameView .game-panel-heading{gap:6px;min-width:0;flex-wrap:nowrap}#gvStatus{font-size:13px;color:#f0e8d6;white-space:nowrap;display:flex;align-items:center;gap:7px;margin-right:auto}
#gvSurface{font-size:12px;line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#gvJoinBtn,#gvEndBtn{width:auto;flex:none;font-size:12px;padding:6px 9px;white-space:nowrap;min-height:34px}#gameView .game-players:empty{display:none}
#gameView .game-panel-info{gap:5px;align-items:center}#gameView .game-panel-info span{font-size:11px;padding:2px 6px}#gameLeaveRoomBtn{margin-left:auto}
#gvLog{min-height:0;padding:6px 14px 12px}#gvActions{padding:0 14px max(10px,env(safe-area-inset-bottom));background:var(--bg,#f5f1ea);flex-shrink:0}
#gvActions .game-input-wrap{padding:0;min-width:0}#gvActions .game-input{min-width:0}#gvActions .game-send{flex-shrink:0}
@media(max-width:340px){.game-bar{padding-left:10px;padding-right:10px}.game-bar-inner{gap:5px}.game-bar-stats{font-size:10px}.game-bar .game-btn-join{padding:6px 8px}.turtle-mode{font-size:11px;padding:6px 9px}}
