/* Scoped field-manual/story layout and legal navigator. */
#app.information-screen{display:grid;place-items:center;padding:clamp(12px,3vh,38px) clamp(12px,3vw,48px);box-sizing:border-box;overflow:hidden;background-image:linear-gradient(#020c16aa,#020d17ce),url('/assets/daily-depot-1280-v2.webp');background-size:cover;background-position:center}
#app.information-screen .information-panel{position:relative;inset:auto;transform:none;margin:0;width:min(1060px,100%);max-width:100%;max-height:calc(100dvh - 80px);min-height:0;display:flex;flex-direction:column;gap:18px;padding:clamp(20px,3vw,40px);box-sizing:border-box;overflow:hidden;color:#d9e9ef;background:linear-gradient(135deg,#102c3aed,#06141ef7);border:1px solid #7bafc175;border-radius:14px;box-shadow:0 24px 90px #000b,inset 0 1px #d4f3ff18}
.information-panel>header{flex:none;position:static;text-align:left;padding:0;background:none;border:0}
.information-panel>header small{font-size:11px;letter-spacing:.2em;font-weight:800;color:#79d4ef}
.information-panel h1{margin:10px 0 14px;font-size:clamp(28px,3vw,44px);line-height:1.1;letter-spacing:.04em;color:#f6f1d8}
.information-divider{display:block;height:1px;background:linear-gradient(90deg,#e1ba66,#62c9e649,transparent)}
.information-categories{display:flex;flex-wrap:wrap;gap:7px;flex:none}
.information-categories button{min-height:36px;padding:7px 12px;font-size:12px;border:1px solid #6092ab75;background:#0a2333;color:#cae9f3;border-radius:5px}
.information-content{position:relative;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 12px 3px 0;line-height:1.7}
.faq-category{margin:0 0 25px;scroll-margin-top:8px}.faq-category h2{font-size:19px;color:#efcf85;margin:7px 0 12px}.faq-entry{margin:8px 0;background:#061923b5;border:1px solid #4d809445;border-radius:7px;overflow:hidden}.faq-entry[open]{border-color:#73c6e08a}.faq-entry summary{font-size:15px;line-height:1.4;font-weight:700;cursor:pointer;padding:15px 18px;color:#e4f4f6;min-height:22px;touch-action:manipulation}.faq-entry summary::marker{color:#7ad6f1}.faq-entry p{font-size:14px;margin:0;padding:0 20px 18px;color:#b8d0da;max-width:85ch}.information-panel footer{display:flex;flex:none;gap:20px;justify-content:space-between;align-items:center;border-top:1px solid #6f9eaf38;padding-top:16px}.information-panel footer>span{font-size:11px;color:#9db5bf}.information-back{min-width:140px;min-height:44px;color:#ffedb7;border:1px solid #c7a05b;background:linear-gradient(#493719,#201b12);font-weight:800;letter-spacing:.08em;border-radius:5px}.information-about .information-content{max-width:78ch;align-self:center;padding:5px 20px 5px 0;font-size:16px}.information-about .information-content p{margin:0 0 20px}.information-about .story-emphasis{color:#f4da96;font-size:clamp(21px,2vw,27px);font-weight:700;line-height:1.5;border-left:3px solid #e2be64;padding-left:20px}.information-categories button:hover,.information-categories button:focus-visible{background:#163d53;border-color:#8bd7ee}.information-panel button:focus-visible,.information-panel summary:focus-visible,.terms-nav-button:focus-visible{outline:2px solid #b5edff;outline-offset:3px}
.terms-modal>section{width:min(1180px,96vw)!important;max-width:96vw!important;max-height:92dvh;display:flex;flex-direction:column;overflow:hidden}
.terms-content-layout{display:grid;grid-template-columns:minmax(0,1fr) 238px;min-height:0;overflow:hidden;flex:1}
.terms-content-layout>.terms-document{position:relative;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px 24px!important;scroll-behavior:smooth}
.terms-content-layout .terms-section{width:auto!important;max-width:none!important;margin:0 0 16px;padding:22px!important;box-sizing:border-box;border-color:#47738870;background:#061a25b3;scroll-margin-top:15px;transition:border-color .3s,box-shadow .3s}
.terms-content-layout .terms-section h3{margin:0 0 12px;font-size:16px}.terms-content-layout .terms-section p{margin:0;line-height:1.65;font-size:14px;max-width:85ch}.terms-content-layout .terms-section.terms-emphasis{border-color:#efd28d;box-shadow:inset 3px 0 #efd28d,0 0 15px #e9c66e13}
.terms-navigator{min-height:0;overflow:auto;overscroll-behavior:contain;background:linear-gradient(100deg,#102d3b,#061822);border-left:1px solid #5f99b65c;padding:12px;display:flex;flex-direction:column;gap:6px;scrollbar-width:thin}
.terms-nav-button{display:flex;align-items:center;gap:11px;text-align:left;flex-shrink:0;width:100%;padding:9px;min-height:44px;border:1px solid transparent;border-radius:5px;background:#071b27b0;color:#a9c5d0;font-size:11px;line-height:1.3;cursor:pointer}
.terms-nav-button svg{width:24px;height:24px;flex-shrink:0;color:#76c9e7;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.terms-nav-button[aria-current="location"]{color:#f9e5ad;border-color:#cbad68;background:#35402f7a}.terms-nav-button[aria-current="location"] svg{color:#f0cd76}.terms-nav-button:hover{border-color:#64bdd886;background:#174051}.terms-modal footer{flex:none}
@media(max-width:700px){#app.information-screen{padding:9px}.information-screen .information-panel{max-height:calc(100dvh - 65px)!important;padding:18px!important;gap:12px}.information-panel h1{font-size:27px;margin:8px 0 12px}.information-panel>header small{font-size:9px}.information-categories{gap:5px}.information-categories button{font-size:10px;min-height:34px;padding:6px 8px}.faq-entry summary{padding:13px;font-size:14px}.faq-entry p{padding:0 13px 15px;font-size:13px}.information-panel footer>span{max-width:50%;font-size:10px}.information-back{min-width:108px}.information-about .information-content{font-size:14px;padding-right:10px}.terms-content-layout{display:flex;flex-direction:column-reverse}.terms-navigator{display:flex;flex-direction:row;overflow-x:auto;overflow-y:hidden;min-height:66px;max-height:66px;padding:6px;border-left:0;border-bottom:1px solid #5f99b65c;box-sizing:border-box}.terms-nav-button{width:46px;min-height:46px;justify-content:center;gap:0;padding:8px}.terms-nav-button span{display:none}.terms-content-layout>.terms-document{padding:14px!important}.terms-content-layout .terms-section{padding:16px!important}.terms-content-layout .terms-section p{font-size:13px}.terms-modal>section{max-height:96dvh}.terms-modal header h2{font-size:23px}}
@media(max-height:500px){.information-screen .information-panel{max-height:calc(100dvh - 58px)!important;padding:14px!important;gap:8px}.information-panel h1{font-size:25px;margin:6px 0}.information-panel footer{padding-top:8px}.information-categories button{min-height:30px}.information-panel>header small{font-size:8px}}
@media(prefers-reduced-motion:reduce){.terms-document{scroll-behavior:auto!important}.terms-section{transition:none!important}}

/* The shared rank header reserves real height; fit the archive to the remaining grid area. */
#app.information-screen .information-panel{height:min(900px,100%);max-height:100%!important}
#app.information-screen .information-content{flex:1}
@media(max-height:500px){#app.information-screen{padding:8px 14px}#app.information-screen .information-panel{height:100%;padding:12px!important;gap:8px}#app.information-screen .information-categories{flex-wrap:nowrap;overflow-x:auto;min-height:32px;max-height:32px;scrollbar-width:thin}#app.information-screen .information-categories button{flex:0 0 auto;min-height:30px;padding:5px 8px;font-size:10px}#app.information-screen .information-panel>header small{display:none}#app.information-screen .information-panel h1{font-size:24px;margin:0 0 8px}#app.information-screen .information-panel footer{padding-top:8px}#app.information-screen .information-back{height:34px;min-height:34px;padding:6px 12px;font-size:12px;line-height:1.2}#app.information-screen .information-panel footer>span{font-size:9px}}

/* Modal sizing includes its own padding inside the rank-reserved viewport. */
#app .terms-modal{display:flex;align-items:center;justify-content:center;padding:12px!important;box-sizing:border-box}
#app .terms-modal>section{min-height:0;max-height:100%!important;max-width:100%!important;width:min(1180px,100%)!important}
