/* 線上接龍專用樣式；牌面全部用 CSS 與文字符號繪製，沒有圖檔 */
.sol-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 6px 0 8px; }
.sol-bar .btn { min-height: 44px; }
.sol-modes { display: inline-flex; gap: 6px; }
.sol-modes .btn[aria-pressed=true] { background: var(--brand); color: #fff; border-color: var(--brand); }
.sol-stats { display: flex; gap: 16px; margin: 4px 0 8px; font-weight: 700; color: var(--brand-dark); }
.sol-stats span b { font-variant-numeric: tabular-nums; }
.sol-msg { min-height: 1.5em; margin: 0 0 8px; color: var(--muted); font-size: .98rem; }
.sol-wrap { position: relative; }
#sol-board { position: relative; width: 100%; background: #0f6b3a; border-radius: 12px; padding: 0; user-select: none; -webkit-user-select: none; box-sizing: border-box; overflow: hidden; touch-action: manipulation; }
.sol-slot { position: absolute; width: var(--cw); height: calc(var(--cw) * 1.4); box-sizing: border-box; border: 2px dashed rgba(255,255,255,.35); border-radius: 6px; color: rgba(255,255,255,.4); display: flex; align-items: center; justify-content: center; font-size: calc(var(--cw) * .4); font-weight: 700; }
.sol-stock-slot { cursor: pointer; }
.sol-card { position: absolute; width: var(--cw); height: calc(var(--cw) * 1.4); box-sizing: border-box; border-radius: 6px; border: 1px solid #5b6472; background: #fff; touch-action: none; cursor: grab; font-size: calc(var(--cw) * .3); line-height: 1.05; font-weight: 700; overflow: hidden; }
.sol-card.down { background: repeating-linear-gradient(45deg, #1d4ed8 0 5px, #2563eb 5px 10px); border: 2px solid #fff; cursor: default; touch-action: manipulation; }
.sol-card.blk { color: #111827; }
.sol-card.red { color: #c81e1e; }
.sol-cr { position: absolute; left: 4%; top: 3%; text-align: center; }
.sol-cs { position: absolute; right: 8%; bottom: 4%; font-size: 1.6em; line-height: 1; }
.sol-stock-top { cursor: pointer; display: flex; align-items: center; justify-content: center; touch-action: manipulation; }
.sol-count { background: rgba(255,255,255,.9); color: #1e3a8a; border-radius: 10px; padding: 0 6px; font-size: .85em; }
.sol-cover { cursor: default; touch-action: manipulation; }
.sol-cover.up { cursor: default; }
.sol-hide { visibility: hidden; }
.sol-ghost { position: absolute; left: 0; top: 0; z-index: 900; pointer-events: none; }
.sol-ghost .sol-card { box-shadow: 0 6px 14px rgba(0,0,0,.4); }
.sol-hint { outline: 3px solid #facc15; outline-offset: 0; box-shadow: 0 0 10px 3px #facc15; }
.sol-win { margin-top: 10px; background: #eff4ff; border: 2px solid var(--brand); border-radius: 12px; padding: 12px 14px; text-align: center; }
.sol-win[hidden] { display: none; }
.sol-win strong { display: block; font-size: 1.3rem; color: var(--brand-dark); }
@media (min-width: 700px) { .sol-card { font-size: calc(var(--cw) * .27); } }
.sources li, .sources a { overflow-wrap: anywhere; word-break: break-word; }
