/* Spinner Street: table, board host, lessons */
.match-host { position: relative; z-index: 2; height: 100dvh; }
.table-screen.fq { height: 100dvh; display: flex; flex-direction: column; background: radial-gradient(ellipse at 50% 30%, rgba(20,16,12,.0), rgba(0,0,0,.55)); }
.fq-hud { display: flex; align-items: center; gap: 10px; padding: 6px 12px; background: linear-gradient(180deg, rgba(8,7,10,.92), rgba(8,7,10,.72)); border-bottom: 1px solid var(--line); z-index: 7; flex-wrap: wrap; }
.fq-pl { display: flex; align-items: center; gap: 10px; padding: 3px 10px 3px 4px; border-radius: 99px; border: 1px solid transparent; transition: border-color .3s, box-shadow .3s; min-width: 0; }
.fq-pl.turn { border-color: var(--brass); box-shadow: 0 0 16px rgba(214,178,94,.35); }
.fq-pl .who { line-height: 1.15; min-width: 0; } .fq-pl .who b { font: 700 .95rem Cinzel, serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 190px; } .fq-pl .sub { max-width: 190px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fq-pl .sc { text-align: center; padding-left: 8px; border-left: 1px solid var(--line); } .fq-pl .sc b { font: 700 1.5rem Cinzel, serif; color: var(--brass); display: block; line-height: 1; }
.fq-mid .crawford { color: #ffb36b; }
.fq-mono { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 700 1.1rem Cinzel, serif; color: #20170c; border: 2px solid var(--brass); flex: none; }
.fq-stage { position: relative; flex: 1; min-height: 0; background: transparent; }
.board-host { position: absolute; inset: 0; display: grid; place-items: center; padding: 4px; }
.board-canvas { display: block; border-radius: 10px; box-shadow: 0 18px 60px rgba(0,0,0,.65); }
.fq-bubble { position: absolute; z-index: 8; top: 10px; max-width: min(340px, 60vw); background: rgba(250,240,215,.96); color: #20170c; padding: 8px 14px; border-radius: 14px; font-weight: 600; font-size: .92rem; box-shadow: 0 6px 22px rgba(0,0,0,.5); animation: pop .25s ease; }
.fq-bubble.opp { left: 12px; } .fq-bubble.me { right: 12px; } .fq-bubble.hidden, .fq-banner.hidden { display: none; }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }
.fq-banner { position: absolute; z-index: 9; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(10,8,12,.94); border: 2px solid var(--brass); border-radius: 18px; padding: 18px 26px; text-align: center; box-shadow: 0 20px 70px rgba(0,0,0,.8); max-width: min(560px, 90vw); }
.fq-banner .bn-text { font-size: 1.1rem; margin-bottom: 12px; }
.fq-bar { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
.fq-bar .msg { min-height: 1.3em; color: var(--parch); font-size: .92rem; text-align: center; }
.fq-bar .btns { flex-wrap: wrap; }
.fq-rot { display: none; position: absolute; z-index: 10; top: 6px; left: 50%; transform: translateX(-50%); font-size: .75rem; background: rgba(0,0,0,.7); border: 1px solid var(--line); padding: 3px 10px; border-radius: 99px; color: var(--muted); }
@media (orientation: portrait) and (max-width: 700px) { .fq-rot { display: block; } .fq-pl .who b { max-width: 110px; } .fq-pl .sub { display: none; } }
@media (max-height: 520px) { .fq-hud { padding: 3px 8px; } .fq-mono, .fq-pl canvas { width: 38px !important; height: 38px !important; } .fq-pl .tiny.sub { display: none; } .btn.act { padding: 7px 14px; font-size: .9rem; } .fq-bar { padding: 4px 8px; gap: 2px; } .fq-bar .msg { font-size: .8rem; min-height: 0; } }
.goal-chip { top: 10px; left: 50%; transform: translateX(-50%); z-index: 6; }
.lesson-board { width: min(100%, 52vh * 1.7778); aspect-ratio: 16/9; margin: 8px auto 0; position: relative; display: grid; place-items: center; }
.lesson-board .board-canvas { max-width: 100%; }
.free-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; margin-top: 10px; max-height: 46vh; overflow: auto; }
.free-opp { display: flex; gap: 10px; align-items: center; padding: 8px 10px; cursor: pointer; } .free-opp.sel { border-color: var(--brass); box-shadow: 0 0 0 2px var(--brass); }
.rules-body p { margin: .2em 0 .8em; } .rules-body h3 { margin-bottom: .1em; color: var(--brass); }
.btn.act.fold { border-color: #8a3a3a; }
.lesson { max-width: min(1100px, 96vw); } .lesson-board { width: min(100%, 56vh * 1.7778); }
/* Spinner Street additions */
.ss-hud .fq-pl:not(.mine) { order: 1; } .ss-hud .fq-mid { order: 2; } .ss-hud .fq-pl.mine { order: 3; } .ss-hud .hud-right { order: 4; }
.ss-hud .fq-pl .who b { max-width: 150px; } .ss-hud .fq-pl .sc b { font-size: 1.35rem; }
.ss-hud .fq-pl .sc { display: flex; flex-direction: column; align-items: center; }
.fq-mid b { color: var(--brass); }
.table-screen.fq .goal-chip { top: 8px; }
@media (max-width: 900px) { .ss-hud .fq-pl .who b { max-width: 96px; } .ss-hud .fq-pl .tiny.sub { display: none; } }
