/* Shared parchment-and-gold frame for every section outside the dashboard. */
body.atlas-subpage-mode{background:#21150c;color:#f0dfbd}
body.atlas-subpage-mode .shell{grid-template-columns:264px minmax(0,1fr);min-height:100svh;background:#26180e}
body.atlas-subpage-mode .sidebar{z-index:5;box-sizing:border-box;height:100vh;padding:0 9px 14px;background:radial-gradient(ellipse at 45% 5%,#58391a 0,#321d0e 47%,#1d1008 100%);border-right:3px solid #a87629;box-shadow:inset -2px 0 #e2b44a55,5px 0 12px #0008}
body.atlas-subpage-mode .brand{width:auto;max-width:none;height:240px;display:grid;place-items:center;margin:0 -9px 0;padding:8px 4px;border-bottom:2px solid #95651e;background:radial-gradient(ellipse at center,#583719 0,#321d0e 62%,#190d06 100%);box-shadow:inset 0 -3px #d9a43866}
body.atlas-subpage-mode .brand-logo{width:100%;max-width:245px;height:220px;object-fit:contain;filter:drop-shadow(0 5px 7px #000c)}
body.atlas-subpage-mode .side-label{height:0;margin:0;overflow:hidden;font-size:0}
body.atlas-subpage-mode .sidebar nav{display:grid;gap:0}
body.atlas-subpage-mode .sidebar nav button{height:52px;padding:0 15px;gap:14px;border:0;border-bottom:1px solid #88602c88;border-radius:0;color:#ead7b5;background:transparent;font:15px Georgia,serif;white-space:nowrap}
body.atlas-subpage-mode .sidebar nav button:hover{color:#fff0cb;background:#5a381b88}
body.atlas-subpage-mode .sidebar nav button.active{position:relative;color:#fff2c8;background:linear-gradient(90deg,#986219,#68400f 80%,#42270b);border:1px solid #e4b43d;border-radius:5px;box-shadow:inset 0 0 0 3px #56340d,inset 0 0 0 4px #f0c858,0 0 10px #d79c3566}
body.atlas-subpage-mode .sidebar nav button.active:after{position:absolute;right:8px;content:"◈";color:#f4cf62;font-size:16px}
body.atlas-subpage-mode .sidebar nav .icon{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;color:#f4cb61;font:25px Georgia,serif;text-shadow:0 2px 5px #000}
body.atlas-subpage-mode .sidebar nav .icon img{width:29px;height:29px;object-fit:contain;filter:drop-shadow(0 2px 4px #000c)}
body.atlas-subpage-mode .sidebar nav .boss-nav-icon{width:36px;height:36px;filter:drop-shadow(0 0 4px #eab443aa) drop-shadow(0 3px 4px #000d)}
body.atlas-subpage-mode .sidebar nav .news-nav-icon{width:33px;height:33px;filter:drop-shadow(0 0 4px #eab44399) drop-shadow(0 3px 4px #000d)}
body.atlas-subpage-mode .side-bottom{padding:12px 16px 0;color:#c5a969;font-size:11px}
body.atlas-subpage-mode .side-bottom a{color:#b89c60}
body.atlas-subpage-mode .side-bottom .dot{width:12px;height:12px;background:#21c548;box-shadow:0 0 8px #22d34f;border:1px solid #b7d75c}
body.atlas-subpage-mode .content{min-width:0;background:#27170d}
body.atlas-subpage-mode .topbar{height:70px;box-sizing:border-box;padding:0 24px;background:linear-gradient(90deg,#2d1b0e,#3c2411 65%,#27160c);border-bottom:3px solid #a4762c;box-shadow:inset 0 -1px #ebc45b66}
body.atlas-subpage-mode .workspace{width:min(1380px,100%);padding:28px clamp(18px,3vw,42px) 40px}
body.atlas-subpage-mode .page:not(#home)>.title-row{position:relative;min-height:112px;margin:0 0 22px;padding:20px 24px;border:2px solid #8d6227;background:linear-gradient(120deg,#f4e2bd,#e8ce9e 58%,#f1dcae);box-shadow:inset 0 0 0 3px #fff0cf,inset 0 0 0 5px #a77a3c88,0 5px 16px #0006;color:#492e13}
body.atlas-subpage-mode .page:not(#home)>.title-row:after{position:absolute;inset:6px;border:1px solid #9b6b2877;content:"";pointer-events:none}
body.atlas-subpage-mode .page:not(#home)>.title-row h1{color:#492e13;font:700 clamp(27px,3vw,38px)/1.15 Georgia,serif;text-shadow:0 1px #fff2d6}
body.atlas-subpage-mode .page:not(#home)>.title-row p{color:#6f512d;font:14px/1.6 Georgia,serif}
body.atlas-subpage-mode .page:not(#home)>.title-row .kicker{color:#81551d;font-weight:700}
body.atlas-subpage-mode .page:not(#home)>.panel{border-color:#8d6227;box-shadow:inset 0 0 0 2px #fff0cb,0 5px 14px #0005}
body.atlas-subpage-mode .page:not(#home)>.panel h2{color:#f0dfbd}
body.atlas-subpage-mode .event-next h2{color:#f1d590!important}
body.atlas-subpage-mode .event-tools label,body.atlas-subpage-mode .event-reminder span{color:#503719}
body.atlas-subpage-mode .event-tools .badge{border-color:#99703a;color:#67471f}
body.atlas-subpage-mode .event-reminder{border-color:#a37a36;background:linear-gradient(120deg,#f3dfb4,#e5c88f)}
body.atlas-subpage-mode .event-reminder strong{color:#503719}
@media(max-width:1180px){body.atlas-subpage-mode .shell{grid-template-columns:230px minmax(0,1fr)}body.atlas-subpage-mode .brand{height:205px}body.atlas-subpage-mode .brand-logo{height:185px}}
@media(max-width:760px){body.atlas-subpage-mode .shell{display:block}body.atlas-subpage-mode .sidebar{position:relative;width:100%;height:auto;padding:0 10px 10px;border-right:0;border-bottom:3px solid #a4762c}body.atlas-subpage-mode .brand{width:auto;height:128px;margin:0 -10px 0;padding:2px 10px}body.atlas-subpage-mode .brand-logo{height:120px!important;width:205px!important;max-width:205px}body.atlas-subpage-mode .sidebar nav{display:flex;overflow-x:auto;gap:3px;padding:5px 0}body.atlas-subpage-mode .sidebar nav button{height:45px;flex:0 0 auto;padding:0 10px;gap:7px;font-size:12px;border:1px solid #76501d}body.atlas-subpage-mode .sidebar nav .icon{width:23px;height:23px;flex-basis:23px;font-size:20px}body.atlas-subpage-mode .sidebar nav .icon img{width:22px;height:22px}body.atlas-subpage-mode .sidebar nav .boss-nav-icon{width:28px;height:28px}body.atlas-subpage-mode .sidebar nav .news-nav-icon{width:26px;height:26px}body.atlas-subpage-mode .side-bottom{display:none}body.atlas-subpage-mode .topbar{height:58px;padding:0 10px}body.atlas-subpage-mode .workspace{padding:22px 12px 30px}body.atlas-subpage-mode .page:not(#home)>.title-row{min-height:92px;padding:16px}body.atlas-subpage-mode .page:not(#home)>.title-row h1{font-size:26px}body.atlas-subpage-mode .page:not(#home)>.title-row p{font-size:12px}}
