.citadel-page{--accent:#ffd17d}.citadel-page [hidden]{display:none!important}.citadel-page .title-row p{font-size:12px;line-height:1.6;margin:5px 0;color:#b7cfe2}.citadel-page #chapterLabel{color:#ffdc91}.citadel-page #stage{background:#132c30}.citadel-page .game-stage-frame{background:#10232d}.citadel-page .control-dock{gap:8px}.citadel-readout{flex:1 0 100%;min-width:0;pointer-events:none}.citadel-meters{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;color:#ffe2a2;font-size:12px}.citadel-page #gameMetric,.citadel-page #feedback{position:static;transform:none;inset:auto;background:none;border:0;margin:5px 0 0;padding:0;max-width:none;text-align:center;font-size:12px;line-height:1.5;white-space:normal;opacity:1}.citadel-page #feedback{height:3em;overflow:hidden;color:#ffdf9e}.citadel-page #gameMetric{color:#c8e4db;min-height:1.5em}.tower-choices,.citadel-page .game-controls{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;width:100%}.tower-choices button{border:1px solid #45596c;background:#203543;color:#eef2e1;border-radius:11px;padding:10px 14px;min-height:44px;cursor:pointer}.tower-choices [aria-pressed=true]{border-color:#ffd17d;background:#415448;color:#fff0b2}.citadel-page button:disabled{opacity:.45}.citadel-page .game-controls button{min-height:44px;min-width:76px;flex:0 1 auto}.citadel-page #action{min-width:190px}.citadel-page .dialog-cover{width:100%;height:150px;object-fit:cover;border-radius:12px}.citadel-page .dialog button{display:block;width:100%;margin-top:8px}.citadel-page #resultStars{color:#ffcf6b;font-size:28px;letter-spacing:9px;margin:12px}.citadel-page dialog{width:720px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;background:#142a36;color:#e9f1f4;border:1px solid #496476;border-radius:20px;padding:22px}.citadel-page dialog::backdrop{background:#030d1add;backdrop-filter:blur(7px)}.citadel-page dialog button,.citadel-page dialog a{min-height:44px;cursor:pointer;border-radius:10px;border:1px solid #587280;background:#243e4a;color:#f3efde;padding:10px 14px;font:inherit}.citadel-page dialog .primary{background:#ffd17d;color:#21312b}.map-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.map-heading h2{font-size:22px}.world-tabs{display:flex;overflow:auto;gap:7px;padding:8px 0 15px}.world-tabs button{flex-shrink:0;font-size:12px!important}.world-tabs [aria-pressed=true]{background:#ffd17d;color:#26342e}.world-preview{display:flex;gap:15px;align-items:center;margin-bottom:16px}.world-preview img{width:150px;height:95px;object-fit:cover;border-radius:12px}.world-preview h3{margin:0 0 6px}.world-preview p{font-size:12px;color:#bfd7da}.level-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.level-grid button{display:flex;flex-direction:column;gap:6px;align-items:center;min-height:75px}.level-grid button small{color:#ffda85;font-size:11px}.level-grid [aria-current=true]{outline:2px solid #ffd17d;outline-offset:2px}.citadel-page #scoreDialog{width:400px}.citadel-page dialog input{display:block;width:100%;box-sizing:border-box;background:#0c1b27;color:#fff;border:1px solid #5a6a7a;border-radius:9px;padding:12px;margin:12px 0;font-size:16px}.citadel-page #shareDialog{width:460px}.citadel-page #shareDialog img{width:100%;max-height:35dvh;object-fit:contain}.citadel-page #shareDialog button,.citadel-page #shareDialog a{display:block;width:100%;box-sizing:border-box;margin-top:9px;text-align:center;text-decoration:none}.citadel-page .board h3:not(:first-child){margin-top:24px}@media(min-width:851px){.citadel-page .game-workspace{--desktop-stage-height:max(650px,calc(100svh - var(--site-header-height,72px) - 130px))}.citadel-page .game-sidebar{grid-template-columns:minmax(0,1fr) 270px!important}}@media(max-width:850px){.citadel-page main{padding:16px 12px}.citadel-page #stage{height:clamp(280px,78vw,360px)}.citadel-page .control-dock{position:static}.citadel-meters{gap:9px;font-size:11px}.citadel-page #gameMetric,.citadel-page #feedback{font-size:11px}.tower-choices{gap:5px}.tower-choices button{flex:1 1 85px;padding:8px 6px;font-size:11px}.citadel-page .game-controls{gap:5px}.citadel-page .game-controls button{padding:8px;font-size:11px;min-width:70px}.citadel-page .dialog-cover{height:110px}.world-preview img{width:100px;height:75px}.map-heading h2{font-size:18px}.level-grid{gap:6px}.citadel-page dialog{padding:16px}}
