.fgo-typing{max-width:1280px}.fgt-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0}.fgt-intro h1{font-size:clamp(30px,4vw,48px);line-height:1.1;letter-spacing:-.04em;margin:8px 0 16px}.fgt-intro p{max-width:60ch;color:#c1b2d2}.fgt-intro img{width:180px;height:180px;object-fit:contain}.fgt-kicker{font-size:11px;letter-spacing:.15em;font-weight:800;color:#c598ff!important}.fgt-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 28px}.fgt-choices button{padding:18px;text-align:left;background:#21132f;color:#faf6ff;border:1px solid #49315c;border-radius:14px;cursor:pointer;font:inherit}.fgt-choices strong,.fgt-choices span{display:block}.fgt-choices span{font-size:13px;color:#c1b2d2;margin-top:8px;line-height:1.6}.fgt-choices [aria-pressed=true]{border:2px solid #bb85ff;background:#321b4b;padding:17px}.fgt-panel{padding:24px;background:#21132f;border:1px solid #624579;border-radius:18px}.fgt-panel-head{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.fgt-panel-head>div{flex:1}.fgt-panel h2{margin:0 0 10px}.fgo-typing button:not([data-fgt-mode]){min-height:44px;padding:10px 18px;background:#7c3aed;color:white;border:1px solid #a87bef;border-radius:10px;font:inherit;font-weight:700;cursor:pointer}.fgo-typing button:disabled{opacity:.5;cursor:default}.fgt-options{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0}.fgt-options label{display:flex;align-items:center;gap:8px;font-size:14px}.fgt-options select{padding:10px;border:1px solid #73528e;background:#160d24;color:#faf6ff;border-radius:8px;min-height:44px}.fgt-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;padding:16px 0;border-block:1px solid #49315c}.fgt-stats dt{color:#c1b2d2;font-size:12px}.fgt-stats dd{margin:4px 0;font-size:22px;font-weight:750}.fgt-stage{min-height:180px;padding:20px;background:#160d24;border-radius:12px}.fgt-passage{font:20px/1.8 ui-monospace,monospace;white-space:pre-wrap;overflow-wrap:anywhere;tab-size:2}.fgt-passage .correct{color:#65e8c5}.fgt-passage .wrong{color:#ffb4c3;text-decoration:underline}.fgt-passage .cursor{border-bottom:3px solid #bb85ff}.fgt-panel form{display:grid;gap:10px;margin-top:18px}.fgt-panel textarea{padding:14px;font:18px/1.6 ui-monospace,monospace;background:#160d24;color:#faf6ff;border:1px solid #73528e;border-radius:10px;resize:vertical;min-width:0;width:100%}.fgt-panel form button{justify-self:start}.fgt-feedback{min-height:24px;font-size:14px;color:#d9c4ef}.fgt-result{border-top:1px solid #624579;margin-top:20px;padding-top:16px}.fgt-arena{height:260px;position:relative;overflow:hidden}.fgt-target{position:absolute;background:#43265d;color:white;border:1px solid #bb85ff;border-radius:10px;padding:7px 12px;font:700 17px ui-monospace,monospace;max-width:96%;overflow-wrap:anywhere}.fgt-track{padding:10px 0;border-bottom:1px solid #49315c}.fgt-track label{display:block;margin-bottom:8px;font-size:13px}.fgt-track progress{width:100%;height:18px;accent-color:#bb85ff}.fgt-guide{margin:32px 0}.fgo-typing :focus-visible{outline:3px solid #65e8c5;outline-offset:3px}@media(max-width:700px){.fgt-intro img{width:100px;height:120px}.fgt-intro{gap:12px}.fgt-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.fgt-panel{padding:16px}.fgt-stats{grid-template-columns:repeat(3,1fr)}.fgt-passage{font-size:17px}.fgt-options{gap:12px}.fgt-options label{flex-wrap:wrap}.fgt-stage{padding:12px}}@media(prefers-reduced-motion:reduce){.fgo-typing *{scroll-behavior:auto!important;transition:none!important}}

.fgt-choices .fgt-choice-art{display:block;width:100%;height:160px;object-fit:contain;object-position:center;background:#160d24;border-radius:10px;margin-bottom:16px}.fgt-choices button{overflow:hidden}.fgt-choices strong{font-size:18px}@media(max-width:700px){.fgt-choices .fgt-choice-art{height:115px;margin-bottom:12px}.fgt-choices strong{font-size:16px}}

.fgt-choices .fgt-choice-art{height:auto;aspect-ratio:3/2;object-fit:cover;background:none}@media(max-width:700px){.fgt-choices .fgt-choice-art{height:auto;aspect-ratio:3/2}}

.fgt-guide h2{font-size:clamp(24px,3vw,32px);line-height:1.25}.fgt-guide h3{margin-top:30px;font-size:21px;line-height:1.35}.fgt-guide h4{margin-top:18px;font-size:16px;line-height:1.5;color:#d5b5ff}.fgt-guide p{max-width:72ch;line-height:1.8}.fgt-guide a{text-underline-offset:3px}
