.home-link{display:inline-block;margin:0 0 18px;color:var(--blue);font-weight:800}.btn{text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:48px}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #123e8a;outline-offset:3px}.correct{border-color:#178047!important;background:#eafbf2!important}.wrong{border-color:#c32940!important;background:#fff0f2!important}.tile:disabled{cursor:default}.tiles{margin-top:18px}.screen,.panel,.question-card,.hero>div{min-width:0}.panel:before,.hero:before{pointer-events:none}.question-text,.tile,.option{overflow-wrap:anywhere}input,select{max-width:100%;min-width:0}.cheat-card{max-height:90vh;overflow:auto}.catch-game{height:490px}.catch-game:before{content:none}.catch-item{top:-100px;min-height:60px;font-size:18px;animation:readableFall var(--dur,12s) linear forwards}.catch-item.caught{opacity:0;transition:opacity .25s}.static-catch{height:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px}.match-item{overflow-wrap:anywhere}.feedback .mini-btn{margin-top:12px}.btn.green{background:#178047}dialog{max-width:min(560px,92vw);border:3px solid var(--blue2);border-radius:22px;padding:26px;color:var(--ink)}dialog::backdrop{background:#08193399}#storageNotice:empty{display:none}@keyframes readableFall{from{transform:translateY(0)}to{transform:translateY(620px)}}@media(max-width:520px){.app{width:calc(100% - 20px);padding-top:16px}.panel,.hero{padding:22px 16px}.hero:before,.panel:before{width:70px;height:28px;opacity:.3}h1{font-size:42px}.subtitle,.question-text{font-size:19px}.question-title{font-size:26px}.buttons{gap:10px}.buttons .btn{flex:1 1 140px;padding:13px 14px}.safe{width:250px}.blank-box{font-size:18px;padding:12px}.match-item{min-height:48px}.tile{padding:12px;font-size:19px}.static-catch{grid-template-columns:1fr}.table th,.table td{padding:10px;font-size:14px}.code{font-size:26px}.level-card{padding:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.catch-item{position:static;transform:none}.confetti{display:none}}

#catchStatus:after{content:none}

/* Keep decorations behind opaque content on all screens. */
.hero:before,.panel:before{width:78px;height:26px;opacity:.45;z-index:0}
.hero>div,.panel>div{position:relative;z-index:1}
.catch-game{height:490px}.catch-item{min-width:0;max-width:none;min-height:94px;border-radius:50%;padding:14px 8px;font-size:17px;line-height:1.2;overflow-wrap:anywhere;aspect-ratio:1;display:flex;align-items:center;justify-content:center}
@media(max-width:520px){.catch-item{font-size:14px;padding:10px 5px;min-height:112px;aspect-ratio:auto;border-radius:48%}.catch-game{height:480px}}
.catch-item{max-width:220px}

.catch-item{top:0}
