/* Geography shares Krillion's underwater palette, with a self-contained game layout. */
.geo-page{max-width:1000px!important}
.geo-intro{max-width:850px;margin-bottom:28px}
body[data-route="krillion-geography"] .geo-intro h1{font-size:clamp(1.75rem,3vw,2.25rem);line-height:1.1;margin:20px 0}
.geo-intro p{line-height:1.65}
.geo-ocean{position:relative;isolation:isolate;overflow:hidden;padding:40px 28px;border:2px solid #244950;box-shadow:5px 5px 0 #c1d0b8;background:linear-gradient(#247f9d,#061a31);color:#f8f5df}
.geo-ocean:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:url('/images/dive-reef.svg') center bottom/100% 100% no-repeat;opacity:.55}
.geo-panel{background:rgba(7,28,49,.92);border:1px solid #52818b;padding:26px 30px;max-width:640px;margin:0 auto;min-width:0;min-height:0;box-sizing:border-box}
.geo-panel h2{color:#f8f5df;font-size:clamp(22px,2.5vw,33px);line-height:1.3;margin:20px 0}
.geo-panel p,.geo-panel li{line-height:1.65;color:#c5dce3}
.geo-panel .geo-eyebrow{font-size:.8rem;letter-spacing:.14em;color:#a4d9d5;font-weight:700}
.geo-hud{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;color:#add5d8;font-size:11px;font-weight:600}
.geo-progress{height:4px;background:#284759;margin-top:18px}
.geo-progress span{display:block;height:100%;background:#ddeb9c}
#geo-form label{display:block;margin-bottom:12px;color:#c5dce3;font-size:13px}
.geo-answer-row{display:flex;align-items:stretch;gap:14px}
#geo-answer{display:block;flex:1;min-width:0;width:100%;box-sizing:border-box;background:#f8f5e9;border:2px solid #8baeb6;border-radius:0;color:#183c43;font:inherit;font-size:16px;padding:10px 12px;min-height:46px}
.geo-panel button{border:2px solid #e7b795;background:#f68a71;color:#102d3b;padding:12px 18px;min-height:46px;box-shadow:4px 4px 0 #244956;font:inherit;font-weight:750;font-size:13px;cursor:pointer;white-space:normal}
.geo-panel button:hover:not(:disabled){background:#ffac88}
.geo-panel :is(button,input,summary,a):focus-visible{outline:3px solid #ddeb9c;outline-offset:5px}
.geo-panel button.geo-secondary{background:#19394d;color:#c5e2e6;border-color:#588593;box-shadow:none;min-height:44px;padding:10px 18px;font-size:12px}
.geo-panel button.geo-secondary:hover{background:#294c60}
#geo-status{color:#ffd0ad;margin:12px 0;min-height:1.6em;font-size:12px}
.geo-tools,.geo-next-row{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.geo-tools span,.geo-next-row span{color:#a6c9d0;font-size:11px}
.geo-hint{border-bottom:0;border-top:1px solid #355668;margin-top:28px;padding-top:22px}
.geo-hint summary{font-size:13px;color:#b8dbdf;font-weight:600;cursor:pointer;min-height:30px}
.geo-panel .geo-result{font-size:clamp(24px,3vw,32px);font-weight:750;color:#ffb085;line-height:1.25;margin:28px 0}
.geo-explanation{margin-top:32px;padding:24px;background:#19384b;border-left:4px solid #ddeb9c}
.geo-explanation h2{font-size:1.25rem;margin:0 0 20px}
.geo-explanation h3{color:#f8f5df;font-size:1.1rem}
.geo-panel a{color:#ddeb9c;text-underline-offset:4px;overflow-wrap:anywhere}
.geo-guide{max-width:900px;margin:60px auto}
@media(max-width:600px){.geo-ocean{padding:20px 12px}.geo-panel{padding:22px 18px;min-height:0}.geo-answer-row{flex-direction:column;gap:14px}.geo-answer-row button{width:100%}.geo-hud{font-size:.8rem}.geo-panel h2{margin:24px 0}.geo-explanation{padding:18px}.geo-next-row{gap:12px}body[data-route="krillion-geography"] .geo-intro h1{font-size:2rem}.geo-guide{margin-top:36px}}
@media(prefers-reduced-motion:reduce){.geo-panel *{scroll-behavior:auto}}

.geo-panel{font-size:14px}.geo-intro p{font-size:15px}.geo-hint{margin-top:22px;padding-top:18px}

@media(max-width:420px){body[data-route="krillion-geography"] .site-header{flex-wrap:wrap;gap:16px}body[data-route="krillion-geography"] .nav{flex-wrap:wrap}.geo-page{padding-inline:12px}.geo-panel{padding-inline:16px}}
