/* question-bank — categories, question layout and progressive identity clues. */
body[data-play-game="question-bank"] .sjQText,body[data-play-game="question-bank"] .sjAnswer b{white-space:pre-line}
body[data-play-game="question-bank"] .sjQ:has(.sjHints) .sjQText{font-size:clamp(23px,2.3vw,34px);max-width:none}
body[data-play-game="question-bank"] .sjHints{width:100%;max-width:850px;text-align:right;background:#f5efdf;border:1px solid #d8c7a9;border-radius:14px;padding:20px;box-sizing:border-box}
body[data-play-game="question-bank"] .sjHintsHead{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#6b2737;font-size:18px}
body[data-play-game="question-bank"] .sjHintsHead span{font-size:13px;background:#e7dcc5;border-radius:20px;padding:4px 12px;white-space:nowrap}
body[data-play-game="question-bank"] .sjHints ol{display:grid;gap:13px;margin:18px 0;padding-inline-start:28px;font-size:clamp(18px,1.7vw,24px);line-height:1.8;color:#292421}
body[data-play-game="question-bank"] .sjHints li::marker{color:#6b2737;font-weight:700}
body[data-play-game="question-bank"] .sjHintValue{margin:0;border-top:1px solid #d8c7a9;padding-top:12px;font-size:14px;line-height:1.8;color:#335c49}
body[data-play-game="question-bank"] .sjHintBuy{border-color:#6b2737;color:#6b2737;background:#fff8e8}
@media(max-width:700px){body[data-play-game="question-bank"] .sjHints{padding:16px}body[data-play-game="question-bank"] .sjHints ol{font-size:18px;gap:12px}body[data-play-game="question-bank"] .sjHintsHead{font-size:16px}}
body[data-play-game="question-bank"].jalsa-active{background:#EDE2D2;--gold:#F5D758;--bg:#EDE2D2;--surface:#FBF6EE;--clarity:#F4EADA}
body[data-play-game="question-bank"].jalsa-active #app{max-width:1480px}
body[data-play-game="question-bank"] .sjScreen{height:auto;min-height:calc(100dvh - 130px);gap:22px}
body[data-play-game="question-bank"] .sjScores{gap:18px}
body[data-play-game="question-bank"] .sjTeam{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;padding:18px 24px;border-radius:10px;background:#FBF6EE;color:#231F20;outline:0;border:1px solid #d8c7b4;border-top:5px solid var(--teal)}
body[data-play-game="question-bank"] .sjTeam.t1{border-top-color:#A32B38}
body[data-play-game="question-bank"] .sjTeam.turn{box-shadow:0 0 0 2px #6B4E45}
body[data-play-game="question-bank"] .sjTeamTop{justify-content:start;gap:12px;font-size:17px}
body[data-play-game="question-bank"] .sjScoreRow{grid-row:1/3;grid-column:2;gap:10px}
body[data-play-game="question-bank"] .sjScore{font-size:42px;font-weight:500;color:#6B4E45}
body[data-play-game="question-bank"] .sjScoreRow button{border:1px solid #d8c7b4;background:transparent;color:#6B4E45;width:28px;height:28px;font-size:16px}
body[data-play-game="question-bank"] .sjLifeRow{justify-content:start;gap:9px}
body[data-play-game="question-bank"] .sjLifeRow .sjRing{width:27px;height:27px;color:#6B4E45;border-color:#c7b29c;padding:5px}
body[data-play-game="question-bank"] .sjTurnTag{font-size:10px;background:#6B4E45;color:#F4EADA;padding:3px 9px}
body[data-play-game="question-bank"] .sjFace b{font-size:19px;color:#fff;font-weight:700;text-shadow:0 1px 4px #0008}
body[data-play-game="question-bank"] .sjSec{font-size:10px;color:#fff;opacity:1}
body[data-play-game="question-bank"] .sjCol{gap:8px}
body[data-play-game="question-bank"] .sjVal:not(.done):hover{background:#A32B38;transform:none}
body[data-play-game="question-bank"] .sjVal.done.t0{background:#d4e2df;color:#315f68}
body[data-play-game="question-bank"] .sjVal.done.t1{background:#edd3d2;color:#8b2733}
body[data-play-game="question-bank"] .sjQTop{background:#231F20;color:#F4EADA;padding:18px 24px;border-radius:10px;gap:20px;flex-wrap:wrap}
body[data-play-game="question-bank"] .sjQCat{font-size:24px;font-weight:500;flex:1;color:#F4EADA}
body[data-play-game="question-bank"] .sjQVal{font-size:26px;background:#F5D758;color:#231F20;border-radius:5px;padding:7px 15px}
body[data-play-game="question-bank"] .sjQTurn{font-size:14px;line-height:1.5;border-radius:5px;padding:7px 12px}
body[data-play-game="question-bank"] .sjQText{font-size:calc(var(--qs,1) * clamp(26px,3.5vw,52px));font-family:var(--body);font-weight:500;line-height:1.75;max-width:38ch;color:#231F20}
body[data-play-game="question-bank"] .sjQMain{gap:25px}
body[data-play-game="question-bank"] .sjQ.withImg .sjQImg{height:clamp(240px,40dvh,550px);width:43%;max-width:43%;border:0;background:#eee3d2;border-radius:8px;padding:12px}
body[data-play-game="question-bank"] .sjAnswer{background:#e1ead6;color:#304325;border:1px solid #9bb582;border-radius:8px;padding:18px 30px;width:100%}
body[data-play-game="question-bank"] .sjAnswer small{font-size:12px;color:#45623a}
body[data-play-game="question-bank"] .sjAnswer b{font-size:clamp(24px,3vw,42px);line-height:1.6}
body[data-play-game="question-bank"] .sjQFoot{padding:20px 24px;background:#FBF6EE;border:1px solid #d8c7b4;border-radius:10px;grid-template-columns:1fr auto auto;gap:24px}
body[data-play-game="question-bank"] .sjClock{height:88px;width:88px;background:#231F20;color:#F4EADA;border:0;border-radius:12px;gap:5px}
body[data-play-game="question-bank"] .sjClock b{font-size:37px;color:#F4EADA}
body[data-play-game="question-bank"] .sjClock small{font-size:10px;color:#DCCFC2}
body[data-play-game="question-bank"] .sjClock:is(.low,.over){background:#A32B38}
body[data-play-game="question-bank"] .sjLifeBar{gap:12px!important;flex-wrap:wrap!important}
body[data-play-game="question-bank"] .sjLifeLab{font-size:12px;max-width:7em}
body[data-play-game="question-bank"] .sjLifeBtn{font-size:10px;gap:7px;min-width:45px}
body[data-play-game="question-bank"] .sjLifeBtn .sjRing{width:43px;height:43px;padding:9px;border-width:1px;background:#F4EADA;color:#6B4E45;border-color:#c7b29c}
body[data-play-game="question-bank"] .sjHost{gap:9px;flex-wrap:wrap}
body[data-play-game="question-bank"] .sjHost .btn{font-size:13px;min-height:46px;padding:11px 18px}
body[data-play-game="question-bank"] .sjWho{background:#FBF6EE;border-radius:10px;padding:24px;gap:15px}
body[data-play-game="question-bank"] .sjWho p{font-size:20px}
body[data-play-game="question-bank"] .sjWhoBtns .btn{font-size:18px;min-height:58px;border-radius:7px}
@media(max-width:1050px){body[data-play-game="question-bank"] .sjBoard{grid-template-columns:repeat(3,minmax(0,1fr))}}
body[data-play-game="question-bank"] .sjSetup{gap:24px}
body[data-play-game="question-bank"] .sjSetTeams{gap:18px}
body[data-play-game="question-bank"] .sjSetTeam{padding:22px;border:1px solid var(--j-line);border-top:5px solid var(--teal);border-radius:12px;background:var(--j-surface)}
body[data-play-game="question-bank"] .sjSetTeam.t1{border-top-color:var(--red)}
body[data-play-game="question-bank"] .sjSetHead{font-size:20px}
body[data-play-game="question-bank"] .sjSlots{padding:15px;background:var(--j-sand);border-radius:12px}
body[data-play-game="question-bank"] .sjSlot{min-height:64px;border-radius:8px}
body[data-play-game="question-bank"] .sjTabs{padding:10px;background:var(--j-surface);border:1px solid var(--j-line);border-radius:10px;scrollbar-width:thin}
body[data-play-game="question-bank"] .sjTabs button{border-radius:6px;min-height:44px;font-size:14px}
body[data-play-game="question-bank"] .sjCats{gap:15px}
body[data-play-game="question-bank"] .sjCat{border-radius:12px;overflow:hidden}
body[data-play-game="question-bank"] .sjCat.on{outline:3px solid var(--j-wine);outline-offset:3px}
body[data-play-game="question-bank"] .sjSecTitle{font-size:22px;padding-block:15px}
body[data-play-game="question-bank"] .sjReady{position:sticky;bottom:12px;z-index:4;background:var(--j-surface);border:1px solid var(--j-line);border-radius:12px;padding:16px;box-shadow:var(--j-shadow)}
body[data-play-game="question-bank"] .sjBoard{grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;align-items:stretch;flex:none;padding:20px;background:#e5d4ba;border:1px solid #cbb497;border-radius:16px}
body[data-play-game="question-bank"] .sjTile{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:auto 1fr;gap:8px;padding:8px;background:#FBF6EE;border:1px solid #d8c7b4;border-radius:70px 70px 10px 10px;overflow:hidden}
body[data-play-game="question-bank"] .sjFace{grid-column:1/-1;grid-row:1;min-height:150px;border-radius:65px 65px 5px 5px;padding:15px 7px;gap:8px;box-shadow:inset 0 -60px 40px -30px #231f20a0}
body[data-play-game="question-bank"] .sjVal{width:100%;min-height:54px;background:#6B4E45;color:#F4EADA;border-radius:5px;box-shadow:none;font-size:23px;font-weight:500;font-variant-numeric:tabular-nums}
body[data-play-game="question-bank"] .sjVal.done{background:#e4d7c7;color:#9d8d7f;box-shadow:none;border:1px dashed currentColor;opacity:.8}
body[data-play-game="question-bank"] .sjQ{min-height:330px;background:#FBF6EE;border:1px solid #d8c7b4;border-radius:8px 8px 18px 18px;box-shadow:none;padding:40px;overflow:visible;gap:35px;border-top:5px solid var(--j-gold)}
body[data-play-game="question-bank"] .sjOverlay{backdrop-filter:blur(5px);padding:18px}
body[data-play-game="question-bank"] .sjSearchBox{border-radius:18px;background:var(--j-surface);color:var(--j-ink);max-height:90dvh;overflow:auto;border:1px solid var(--j-line)}
body[data-play-game="question-bank"] .sjFinal{gap:25px;padding:24px}
body[data-play-game="question-bank"] .sjFinalTeam{border-radius:12px;padding:25px}
body[data-play-game="question-bank"] .sjWheelStage{padding:20px;background:var(--j-surface);border-radius:18px;border:1px solid var(--j-line)}
@media(max-width:700px){body[data-play-game="question-bank"] .sjScreen{min-height:calc(100dvh - 110px);gap:16px}
body[data-play-game="question-bank"] .sjScores{gap:10px}
body[data-play-game="question-bank"] .sjTeam{display:flex;flex-direction:column;padding:12px;gap:10px;border-top-width:4px;align-items:stretch}
body[data-play-game="question-bank"] .sjTeamTop{font-size:13px;gap:8px}
body[data-play-game="question-bank"] .sjScore{font-size:32px}
body[data-play-game="question-bank"] .sjLifeRow{justify-content:center;gap:5px}
body[data-play-game="question-bank"] .sjLifeRow .sjRing{width:23px;height:23px;padding:4px}
body[data-play-game="question-bank"] .sjFace b{font-size:15px}
body[data-play-game="question-bank"] .sjSec{font-size:9px}
body[data-play-game="question-bank"] .sjVal{font-size:20px;min-height:45px}
body[data-play-game="question-bank"] .sjQTop{padding:15px;gap:12px}
body[data-play-game="question-bank"] .sjQCat{font-size:18px}
body[data-play-game="question-bank"] .sjQVal{font-size:21px;padding:6px 10px}
body[data-play-game="question-bank"] .sjQTurn{font-size:11px;margin:0}
body[data-play-game="question-bank"] .sjQ{min-height:270px;padding:24px 20px;gap:22px}
body[data-play-game="question-bank"] .sjQ.withImg{flex-direction:column}
body[data-play-game="question-bank"] .sjQText{font-size:25px;line-height:1.8}
body[data-play-game="question-bank"] .sjQ.withImg .sjQImg{width:100%;max-width:100%;height:260px}
body[data-play-game="question-bank"] .sjQFoot{grid-template-columns:1fr auto;padding:16px;gap:17px}
body[data-play-game="question-bank"] .sjLifeBar{grid-column:1/-1;justify-content:start;gap:12px!important}
body[data-play-game="question-bank"] .sjLifeLab{font-size:11px}
body[data-play-game="question-bank"] .sjClock{height:75px;width:75px;grid-column:2;grid-row:2}
body[data-play-game="question-bank"] .sjClock b{font-size:30px}
body[data-play-game="question-bank"] .sjHost{grid-row:2;grid-column:1;justify-content:start;display:flex;flex-direction:column;align-items:stretch}
body[data-play-game="question-bank"] .sjHost .btn{font-size:12px;padding:10px 13px;min-height:42px}
body[data-play-game="question-bank"] .sjAnswer{padding:15px}
body[data-play-game="question-bank"] .sjAnswer b{font-size:24px}
body[data-play-game="question-bank"] .sjWhoBtns{grid-template-columns:1fr!important;gap:10px}
body[data-play-game="question-bank"] .sjWhoBtns .btn{font-size:16px;min-height:48px}
body[data-play-game="question-bank"] .sjBoard{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:10px}
body[data-play-game="question-bank"] .sjTile{gap:7px;padding:8px;border-radius:42px 42px 8px 8px}
body[data-play-game="question-bank"] .sjFace{min-height:110px;padding:10px 6px;border-radius:38px 38px 5px 5px}
body[data-play-game="question-bank"] .sjSetTeams{grid-template-columns:1fr}
body[data-play-game="question-bank"] .sjSetTeam{padding:17px}
body[data-play-game="question-bank"] .sjReady{position:static;padding:15px}
body[data-play-game="question-bank"] .sjSlots.six{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-play-game="question-bank"] .sjTabs button{font-size:12px}
body[data-play-game="question-bank"] .sjFinal{padding:10px;gap:12px}
body[data-play-game="question-bank"] .sjFinalTeam{padding:18px}}

/* Square artwork and a separate title strip; questions stay beside each portrait card. */
body[data-play-game="question-bank"] .sjCats{grid-template-columns:repeat(auto-fill,minmax(165px,1fr));gap:24px 20px}
body[data-play-game="question-bank"] .sjCat{display:flex;flex-direction:column;justify-content:flex-start;gap:0;aspect-ratio:auto;min-height:0;padding:0;border:0;border-radius:17px;background:#fffdf7;color:#174d40;box-shadow:0 3px 6px #48351614;overflow:hidden}
body[data-play-game="question-bank"] .sjCategoryArt{display:block;flex:none;width:100%;aspect-ratio:1;min-height:0;background-color:#fff1c6;background-repeat:no-repeat}
body[data-play-game="question-bank"] .sjCat b{display:grid;place-items:center;min-height:66px;width:100%;padding:12px 10px;box-sizing:border-box;font-size:18px;line-height:1.5;font-weight:700;color:#174d40;text-shadow:none;background:#fffdf7}
body[data-play-game="question-bank"] .sjQuestionCount{position:absolute;top:9px;left:50%;transform:translateX(-50%);border-radius:20px;min-width:32px;padding:2px 7px;background:#456a55;color:white;font:700 11px var(--body);line-height:1.2}
body[data-play-game="question-bank"] .sjCatNum{top:9px;inset-inline-start:9px;width:25px;height:25px;background:#174d40;color:#fffdf7;font-size:13px;box-shadow:0 0 0 3px #fffdf7}
body[data-play-game="question-bank"] .sjCat.on{outline:3px solid #2f7057;outline-offset:3px;box-shadow:0 5px 12px #174d4022}
body[data-play-game="question-bank"] .sjCat:focus-visible{outline:3px solid var(--j-wine);outline-offset:5px}
body[data-play-game="question-bank"] .sjBoard{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:22px 26px;padding:22px;background:#f4eddf;border-color:#dfd1b9;align-items:start}
body[data-play-game="question-bank"] .sjTile{grid-template-columns:minmax(44px,.3fr) minmax(0,1fr) minmax(44px,.3fr);grid-template-rows:auto;gap:9px;padding:0;border:0;border-radius:0;background:transparent;overflow:visible;align-items:stretch}
body[data-play-game="question-bank"] .sjFace{grid-column:2;grid-row:1;display:flex;flex-direction:column;justify-content:flex-start;gap:0;min-height:0;height:auto;padding:0;border-radius:15px;background:#fffdf7;box-shadow:0 3px 6px #48351614;overflow:hidden}
body[data-play-game="question-bank"] .sjFaceLabel{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:64px;padding:9px 7px;box-sizing:border-box;width:100%;background:#fffdf7}
body[data-play-game="question-bank"] .sjFace b{font-size:clamp(15px,1.3vw,21px);font-weight:700;line-height:1.45;color:#174d40;text-shadow:none}
body[data-play-game="question-bank"] .sjFace .sjSec{color:#77715c;font-size:10px}
body[data-play-game="question-bank"] .sjCol{display:grid;grid-template-rows:repeat(3,minmax(44px,1fr));gap:10px;grid-row:1;padding-block:3px}
body[data-play-game="question-bank"] .sjCol:first-child{grid-column:1}
body[data-play-game="question-bank"] .sjCol:last-child{grid-column:3}
body[data-play-game="question-bank"] .sjVal{display:grid;place-items:center;width:100%;min-width:0;min-height:44px;height:100%;border:1px solid #cabb9f;border-radius:11px;background:#fffaf0;color:#6b2737;box-shadow:0 2px 0 #d5c3a3;font-size:clamp(17px,1.7vw,27px);font-weight:700;padding:0}
body[data-play-game="question-bank"] .sjVal:not(.done):hover{background:#6b2737;color:#fffaf0;border-color:#6b2737}
body[data-play-game="question-bank"] .sjVal:focus-visible{outline:3px solid #174d40;outline-offset:3px}
body[data-play-game="question-bank"] .sjVal.done{box-shadow:none}
@media(max-width:1100px){body[data-play-game="question-bank"] .sjBoard{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}}
@media(max-width:700px){body[data-play-game="question-bank"] .sjCats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 14px}body[data-play-game="question-bank"] .sjCat b{font-size:16px;min-height:60px}body[data-play-game="question-bank"] .sjBoard{grid-template-columns:1fr;grid-template-rows:auto;padding:14px;gap:22px}body[data-play-game="question-bank"] .sjTile{grid-template-columns:minmax(44px,.28fr) minmax(0,1fr) minmax(44px,.28fr);gap:8px}body[data-play-game="question-bank"] .sjFace b{font-size:18px}body[data-play-game="question-bank"] .sjVal{font-size:21px}body[data-play-game="question-bank"] .sjFaceLabel{min-height:65px}}
@media(min-width:701px) and (max-height:600px){body[data-play-game="question-bank"] .sjBoard{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:12px}body[data-play-game="question-bank"] .sjFace b{font-size:14px}body[data-play-game="question-bank"] .sjFaceLabel{min-height:48px}body[data-play-game="question-bank"] .sjCol{gap:6px}body[data-play-game="question-bank"] .sjVal{font-size:18px}}
