.qa.games-active .qa-scroll,.qa.games-active .composer,.qa.games-active #notice{display:none}
.game-panel{flex:1;min-height:0;overflow:auto;padding:24px 4.5% 18px;color:#173744;background:linear-gradient(135deg,#fffaf1,#f4eadb);scrollbar-width:thin}
.game-top{display:flex;align-items:start;justify-content:space-between;gap:15px}.game-kicker{font-size:11px;letter-spacing:.15em;color:#a57037;font-weight:700}.game-top h2{font:600 clamp(23px,2vw,37px)/1.3 SimSun,serif;margin:7px 0 8px}.game-top p{font-size:13px;line-height:1.6;color:#697b80;margin:0}
.game-panel button{font:inherit;cursor:pointer}.game-panel button:disabled{cursor:default;opacity:.6}.game-tabs{display:flex;gap:10px;margin:17px 0}.game-tabs button,.game-soft{border:1px solid #dac5a7;background:#fff9ee;border-radius:22px;padding:9px 16px;color:#173744}.game-tabs button[aria-pressed=true]{background:#103b49;border-color:#103b49;color:#fff3db}
.game-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0}.game-progress{font-size:12px;color:#7c826b}.game-level{font-size:11px;color:#a04b25;padding:5px 10px;background:#f9e9d3;border-radius:16px}.game-bank{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 19px;min-height:75px}.game-card{position:relative;touch-action:none;user-select:none;text-align:left;border:1px solid #dcc8ab;background:#fffdf7;color:#173744;border-radius:12px;padding:14px;box-shadow:0 3px 10px #42351b06}.game-card strong{display:block;font-size:15px;margin-bottom:6px}.game-card small{color:#66787b;font-size:12px;line-height:1.5}.game-card.selected{border:2px solid #ba4a21;background:#fff1dc;padding:13px}.game-card.dragging{opacity:.4}.game-grip{float:right;color:#ad936d;font-size:18px}.game-timeline{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;position:relative;padding-top:13px}.game-timeline:before{content:'';position:absolute;left:6%;right:6%;top:12px;border-top:2px solid #d5b886}.game-slot{min-height:164px;position:relative;padding:15px 10px 10px;border:1px dashed #bfa887;border-radius:12px;background:#f5eedf;text-align:center}.game-slot:before{content:'';position:absolute;top:-7px;left:calc(50% - 6px);width:10px;height:10px;border:2px solid #a97c43;border-radius:50%;background:#fff8e8}.game-slot .game-step{font-size:12px;color:#a17743;display:block;margin-bottom:10px}.game-slot .game-card{display:block;width:100%;margin-top:8px;font-size:13px;padding:9px}.game-slot .game-card.selected{padding:8px}.game-place{border:0;background:transparent;color:#71827f;font-size:13px!important;min-height:75px;width:100%}.game-slot.correct{border:1px solid #719279;background:#edf3e6}.game-slot.wrong{border:1px solid #b95d38;background:#fff1e7}.game-slot.drop-hover{outline:3px solid #be713f;outline-offset:2px}.game-date{display:block;font-size:14px;font-weight:700;color:#416a59;margin-top:8px}
.game-feedback{margin-top:15px;padding:12px 16px;border-left:3px solid #b94720;background:#ffffffb8;border-radius:8px;font-size:13px;line-height:1.7;min-height:48px}.game-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.game-primary{border:1px solid #0d3442;background:#0d3442;border-radius:10px;color:#fff6e5;padding:11px 18px;font-weight:700!important}.game-orange{background:#b94720;border-color:#b94720}.game-primary:hover{filter:brightness(1.1)}.game-source{margin-top:14px;color:#7e8e8b;font-size:11px;line-height:1.6}.game-source a{color:#527279;text-underline-offset:3px}.game-results{display:grid;gap:8px;margin-top:12px}.game-result{display:flex;gap:12px;padding:12px;background:#fff9ef;border:1px solid #dac7a9;border-radius:10px;font-size:12px;line-height:1.6}.game-result b{color:#a85a2b;white-space:nowrap}.game-best{font-size:11px;color:#637f72;margin-top:8px}
.game-match{display:grid;grid-template-columns:minmax(180px,.95fr) minmax(0,1.3fr);gap:16px}.game-photo-card{margin:0;background:#fffcf6;border:1px solid #d9c4a6;border-radius:13px;overflow:hidden}.game-photo-card img{width:100%;height:200px;object-fit:contain;background:#103441;display:block}.game-photo-card figcaption{padding:10px 13px;font-size:11px;color:#6a7d7c;line-height:1.6}.game-photo-card figcaption a{color:#587879}.game-missing{min-height:200px;display:flex;flex-direction:column;justify-content:center;padding:25px;text-align:center;background:#f4ead9}.game-missing strong{font:500 25px SimSun,serif;color:#8f744c}.game-missing p{font-size:15px;line-height:1.8;color:#354f57}.game-missing small{font-size:11px;color:#9b8669}.game-choice-group{padding:13px;background:#fffcf6;border:1px solid #dfccb0;border-radius:12px;margin-bottom:12px}.game-choice-group h3{margin:0 0 9px;font-size:14px}.game-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.game-choices button{padding:10px;border:1px solid #dcccb6;background:#fff9ee;color:#173744;border-radius:8px;text-align:left;font-size:13px}.game-choices button[aria-pressed=true]{border-color:#b94720;background:#fbe7d0;color:#97431d}.game-choices.descriptions{grid-template-columns:1fr}.game-choices.descriptions button{padding:8px;font-size:12px;line-height:1.4}.game-photo-note{font-size:11px;line-height:1.6;color:#8b745b;margin-bottom:12px}
.game-import{width:min(680px,90vw);max-height:85vh;overflow:auto;border:1px solid #b9935e;border-radius:16px;background:#fffbf1;padding:26px;color:#173744}.game-import::backdrop{background:#062d38aa}.game-import h2{font:600 26px SimSun,serif;margin:0 0 10px}.game-import p{font-size:13px;line-height:1.7}.game-import label{display:block;font-size:13px;margin:12px 0 5px}.game-import input:not([type=checkbox]),.game-import select{width:100%;padding:11px;border:1px solid #d5c2a6;border-radius:7px;background:#fff;color:#173744;font:inherit}.game-import .game-confirm{display:flex;align-items:start;gap:9px;line-height:1.6}.game-import input[type=checkbox]{margin-top:4px;accent-color:#b94720}.game-import header{display:flex;justify-content:space-between;gap:10px}.game-import button{font:inherit;cursor:pointer}.game-import-status{color:#aa4b25}.game-drag-ghost{position:fixed;z-index:1000;pointer-events:none;background:#fff9ee;border:2px solid #ba4a21;border-radius:10px;padding:12px;color:#173744;box-shadow:0 8px 25px #15313b33;max-width:240px;font-size:14px}
@media(max-height:800px){.game-panel{padding-top:16px}.game-top h2{font-size:26px}.game-tabs{margin:10px 0}.game-card{padding:10px}.game-card.selected{padding:9px}.game-slot{min-height:145px}.game-photo-card img,.game-missing{height:180px;min-height:180px}.game-result{padding:8px}}
@media(max-width:1100px){.game-top{flex-wrap:wrap}.game-timeline{grid-template-columns:repeat(2,minmax(0,1fr))}.game-timeline:before{display:none}.game-match{grid-template-columns:1fr}.game-photo-card img,.game-missing{height:180px;min-height:180px}}
.game-slot:has(.game-card) .game-place{min-height:24px}
.game-bank:has(>p){min-height:0}
.game-photo-card{align-self:start}
@media(max-height:800px){.game-panel{padding-top:14px}.game-choices:not(.descriptions){grid-template-columns:repeat(4,minmax(0,1fr))}.game-choice-group{padding:10px;margin-bottom:8px}.game-choices button{padding:8px;min-height:0}.game-choices.descriptions button{padding:6px}.game-feedback{margin-top:8px;padding:9px 12px;min-height:40px}.game-actions{margin-top:9px}.game-toolbar{margin:8px 0}}
