/* KnightATLAS dashboard: the approved parchment-and-gold layout */
body.atlas-home-mode{background:#21150c;color:#f0dfbd}
body.atlas-home-mode .shell{grid-template-columns:264px minmax(0,1fr);background:#26180e}
body.atlas-home-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-home-mode .brand{width:auto;max-width:none;height:264px;display:grid;place-items:center;margin:0 -9px 0;padding:10px 8px;border-bottom:2px solid #95651e;background:radial-gradient(ellipse at center,#553317 0,#281609 65%,#190d06 100%);box-shadow:inset 0 -3px #d9a43866}
body.atlas-home-mode .brand-logo{width:100%;max-width:246px;height:238px;object-fit:contain;filter:drop-shadow(0 4px 5px #000b)}
body.atlas-home-mode .side-label{height:0;margin:0;overflow:hidden;font-size:0}
body.atlas-home-mode .sidebar nav{display:grid;gap:0}
body.atlas-home-mode .sidebar nav button{height:57px;padding:0 19px;gap:18px;border:0;border-bottom:1px solid #88602c88;border-radius:0;color:#ead7b5;background:transparent;font:17px Georgia,serif;white-space:nowrap}
body.atlas-home-mode .sidebar nav button:hover{color:#fff0cb;background:#5a381b88}
body.atlas-home-mode .sidebar nav button.active{position:relative;color:#fff2c8;background:linear-gradient(90deg,#986219,#68400f 80%,#42270b);border:1px solid #e4b43d;border-radius:6px;box-shadow:inset 0 0 0 3px #56340d,inset 0 0 0 4px #f0c858,0 0 10px #d79c3566}
body.atlas-home-mode .sidebar nav button.active:after{position:absolute;right:0;content:"◈";color:#f4cf62;font-size:18px}
body.atlas-home-mode .sidebar nav .icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;color:#f4cb61;font:27px Georgia,serif;text-shadow:0 2px 5px #000}
body.atlas-home-mode .sidebar nav .icon img{width:31px;height:31px;object-fit:contain;filter:drop-shadow(0 2px 3px #000c)}
body.atlas-home-mode .side-bottom{padding:12px 16px 0;color:#c5a969;font-size:11px}
body.atlas-home-mode .side-bottom a{color:#b89c60}
body.atlas-home-mode .side-bottom .dot{width:12px;height:12px;background:#21c548;box-shadow:0 0 8px #22d34f;border:1px solid #b7d75c}
body.atlas-home-mode .content{min-width:0;background:#27170d}
body.atlas-home-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}
.dashboard-search{display:flex;width:min(570px,58%);height:46px;align-items:center;gap:13px;padding:0 16px;border:2px solid #9a6f2c;border-radius:28px;background:linear-gradient(#1e120a,#28180c);box-shadow:inset 0 0 0 2px #120a06,0 2px 7px #0008;color:#e6b943}
.dashboard-search>span{font:34px/1 Arial;transform:rotate(-20deg)}.dashboard-search input{width:100%;border:0;outline:0;background:transparent;color:#f3e4c9;font:16px Georgia,serif}.dashboard-search input::placeholder{color:#bdad91}.dashboard-search kbd{padding:2px 5px;border:1px solid #634724;border-radius:3px;color:#9a8256;font-size:10px;white-space:nowrap}
.topbar-actions{display:flex;align-items:center;gap:13px}.dashboard-notifications,.dashboard-user{height:56px;border:2px solid #8f672a;background:linear-gradient(#39230f,#241409);box-shadow:inset 0 0 0 2px #140c06,0 2px 8px #0008;color:#f3dfb8}.dashboard-notifications{position:relative;width:56px;border-radius:50%;font-size:28px}.dashboard-notifications i{position:absolute;right:-1px;top:-4px;width:22px;height:22px;border-radius:50%;background:#bd2519;border:2px solid #e5b65a;color:#fff;font:bold 12px/18px Arial;font-style:normal}.dashboard-user{display:flex;align-items:center;gap:12px;min-width:220px;padding:4px 14px;border-radius:30px;font:15px Georgia,serif}.dashboard-user>span:last-child{margin-left:auto;color:#e2b541}.dashboard-user-avatar{width:43px;height:43px;display:grid;place-items:center;overflow:hidden;border-radius:50%;border:2px solid #bd913f;background:#1a1008}.dashboard-user-avatar img{width:38px;height:38px;object-fit:contain}
body.atlas-home-mode .workspace{width:100%;max-width:none;box-sizing:border-box;margin:0;padding:0 0 30px}
body.atlas-home-mode #home{width:100%;max-width:none;margin:0;padding:0}
.atlas-welcome{height:245px;min-height:0;box-sizing:border-box;margin:0;border:0;border-bottom:3px solid #b18132;background:#201308;box-shadow:inset 0 0 0 4px #150d06,inset 0 0 0 7px #b3843888}
.atlas-welcome:after{inset:7px;border-color:#e1b65499}
.atlas-welcome-art{object-position:center 53%;filter:saturate(.92) contrast(1.05)}
.atlas-welcome-shade{background:linear-gradient(90deg,#100a06ec 0%,#17100bd6 24%,#1c140b63 48%,transparent 72%),linear-gradient(0deg,#160e0880,transparent 26%)}
.atlas-welcome-copy{max-width:680px;padding:34px 42px 24px}
.atlas-welcome h1{margin:4px 0 12px;color:#f5dfb2;font:700 clamp(36px,4.4vw,57px)/.98 Georgia,serif;letter-spacing:.02em;text-transform:none;text-shadow:0 3px 9px #000,0 0 17px #000}
.atlas-link-lines{color:#e6d1a9;font:700 12px/1.85 Georgia,serif;letter-spacing:3px;text-transform:uppercase;text-shadow:0 2px 6px #000}
.atlas-link-lines button{padding:0;border:0;background:none;color:inherit;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}.atlas-link-lines button:hover{color:#ffe07a}.atlas-link-lines b{padding:0 8px;color:#e5ae39}
.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1.1fr) minmax(0,1.06fr);gap:5px;padding:5px 4px 0;background:#211307}
.atlas-panel{position:relative;min-width:0;overflow:hidden;box-sizing:border-box;border:2px solid #7c531b;background:linear-gradient(135deg,#f4dfb3,#e7c991 58%,#f1dbac);color:#3d2812;box-shadow:inset 0 0 0 3px #fff0c9,inset 0 0 0 5px #9a6b2988,0 4px 9px #0009}
.atlas-panel:before{position:absolute;z-index:2;inset:5px;border:1px solid #915f1e77;content:"";pointer-events:none}
.atlas-panel-heading{position:relative;z-index:3;display:flex;height:66px;align-items:center;justify-content:space-between;gap:8px;padding:0 16px;border-bottom:1px solid #b8904d}
.atlas-panel-heading h2{display:flex;align-items:center;gap:11px;margin:0;color:#492e13;font:700 clamp(15px,1.5vw,23px) Georgia,serif;text-transform:uppercase;letter-spacing:.02em;white-space:nowrap}
.atlas-panel-heading h2>span{color:#633b14;font-size:30px;text-shadow:0 2px 2px #9b6c2b}
.atlas-panel-heading>button,.atlas-panel-heading>a{flex:0 0 auto;padding:8px 11px;border:2px solid #865614;border-radius:7px;background:linear-gradient(#87510e,#4e2a09);box-shadow:inset 0 0 0 2px #2b1608,0 2px 3px #765020;color:#f4d48a;text-decoration:none;font:14px Georgia,serif;white-space:nowrap}
.dashboard-events,.dashboard-character,.dashboard-market{min-height:390px}
.dashboard-event-list{position:relative;z-index:1;padding:4px 12px}
.dashboard-event-row{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:82px;padding:5px 2px;border-bottom:1px solid #c7a66b}
.dashboard-event-row:last-child{border-bottom:0}
.dashboard-event-image{width:68px;height:68px;box-sizing:border-box;padding:3px;border:2px solid #74501d;background:#32210f;box-shadow:inset 0 0 0 2px #d1a552,0 2px 4px #483016;object-fit:cover}
.dashboard-event-info{min-width:0}.dashboard-event-info strong{display:block;overflow:hidden;color:#3d2813;font:700 16px Georgia,serif;text-overflow:ellipsis;white-space:nowrap}.dashboard-event-info span{display:block;margin-top:5px;color:#71512a;font:13px Georgia,serif}.dashboard-event-info span:before{content:"⌖ ";font-size:17px;color:#8b5618}
.dashboard-event-time{min-width:90px;padding:9px 8px;border:1px solid #6e4b20;border-radius:9px;background:linear-gradient(#87653a,#574127);box-shadow:inset 0 0 0 2px #392817;color:#fff0ca;text-align:center}.dashboard-event-time strong{display:block;font:16px Georgia,serif}.dashboard-event-time span{display:block;margin-top:3px;color:#ebd3a3;font:11px Georgia,serif}
.dashboard-loading{position:relative;z-index:1;padding:20px;color:#76562b;font:14px Georgia,serif}
.dashboard-character-body{position:relative;z-index:1;display:grid;grid-template-columns:minmax(120px,.86fr) minmax(0,1fr);gap:14px;padding:12px 14px 5px}
.dashboard-character-art{height:276px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;border:2px solid #76501c;background:radial-gradient(ellipse at 50% 44%,#57401f 0,#26180e 64%,#140e08 100%);box-shadow:inset 0 0 0 3px #170e07,inset 0 0 0 5px #c18b3188}
.dashboard-character-art img{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 4px 4px #0009)}
.dashboard-character-details{min-width:0;padding-top:2px}.dashboard-character-details h3{overflow:hidden;margin:0;color:#3f2a14;font:700 24px Georgia,serif;text-overflow:ellipsis;white-space:nowrap}.dashboard-character-details>p{margin:3px 0 7px;color:#614421;font:16px Georgia,serif}.dashboard-nation{display:flex;align-items:center;gap:7px;color:#ad2922;font:700 14px Georgia,serif}.dashboard-nation span{font-size:22px;color:#ad2922}
.dashboard-exp{display:flex;justify-content:space-between;align-items:center;gap:6px;margin:9px 0 10px;padding:6px 0;border-top:1px solid #c4a16a;border-bottom:1px solid #c4a16a;color:#71502a;font-size:10px}.dashboard-exp button{padding:4px 6px;border:1px solid #9b7137;background:#f1d8a5;color:#65441c;font-size:10px}
.dashboard-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 9px}.dashboard-stat-grid>div{display:grid;grid-template-columns:25px 1fr;align-items:center;column-gap:5px;border-bottom:1px solid #c6a46b;padding-bottom:4px}.dashboard-stat-grid>div>span{grid-row:span 2;color:#713e17;font-size:23px}.dashboard-stat-grid small{color:#72532c;font:12px Georgia,serif}.dashboard-stat-grid strong{color:#39240e;font:700 15px Georgia,serif}
.dashboard-equipment-strip{position:relative;z-index:1;display:flex;justify-content:center;gap:7px;padding:7px 8px 12px}.dashboard-equipment-slot{width:60px;height:60px;display:grid;place-items:center;overflow:hidden;border:2px solid #73501e;background:linear-gradient(#43280f,#20150b);box-shadow:inset 0 0 0 3px #180e06,inset 0 0 0 4px #d7aa52,0 2px 4px #6d491d}.dashboard-equipment-slot img{width:84%;height:84%;object-fit:contain}.dashboard-equipment-slot span{color:#a17b40;font:22px Georgia,serif}
.dashboard-market-tabs{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,1fr);margin:8px 11px 0;border:1px solid #b58c4d}.dashboard-market-tabs button{min-width:0;padding:8px 2px;border:0;border-right:1px solid #c5a36b;background:#f0dbaF;color:#62431e;font:12px Georgia,serif}.dashboard-market-tabs button:last-child{border:0}.dashboard-market-tabs button.active{background:linear-gradient(#875512,#4e2a09);color:#f9d988;font-weight:bold}
.dashboard-market-list{position:relative;z-index:1;padding:0 11px}.dashboard-market-row{display:grid;grid-template-columns:47px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:54px;padding:4px 2px;border-bottom:1px solid #c7a66b}.dashboard-market-row:last-child{border-bottom:0}.dashboard-market-icon{width:42px;height:42px;display:grid;place-items:center;overflow:hidden;border:2px solid #78541e;background:linear-gradient(#32200f,#160d07);box-shadow:inset 0 0 0 2px #d2a64f}.dashboard-market-icon img{width:90%;height:90%;object-fit:contain}.dashboard-market-name{min-width:0;overflow:hidden;color:#3d2813;font:700 14px Georgia,serif;text-overflow:ellipsis;white-space:nowrap}.dashboard-market-server{display:block;margin-top:3px;color:#806039;font:11px Georgia,serif}.dashboard-market-price{color:#3f2912;text-align:right;font:700 13px Georgia,serif;white-space:nowrap}.dashboard-market-price small{display:block;margin-top:3px;color:#795728;font:10px Georgia,serif}.dashboard-market-empty{position:relative;z-index:1;display:grid;min-height:210px;place-content:center;gap:10px;padding:15px;color:#73542b;text-align:center;font:14px Georgia,serif}.dashboard-market-empty button{justify-self:center;padding:7px 11px;border:1px solid #875d26;background:#633a0c;color:#f5d48c;font:13px Georgia,serif}
.dashboard-market-example-badge{display:inline-block;margin-left:6px;padding:2px 4px;border:1px solid #96712e;border-radius:2px;background:#ead5a8;color:#6d450e;font:700 8px Georgia,serif;letter-spacing:.06em;vertical-align:2px}.dashboard-market-row.is-example .dashboard-market-icon{border-style:dashed}.dashboard-market-row.is-example .dashboard-market-price small{color:#8c6321}
.dashboard-lower-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:5px;padding:0 4px 5px;background:#211307}.dashboard-map,.dashboard-news{min-height:285px}.dashboard-map-art{position:relative;height:214px;overflow:hidden;margin:0 10px 10px;border:2px solid #8a5e20;box-shadow:inset 0 0 0 3px #3d240d,inset 0 0 0 5px #e2ba6099}.dashboard-map-art>img{width:100%;height:100%;object-fit:cover;filter:saturate(.95)}.map-pin{position:absolute;z-index:1;padding:6px 12px;border:2px solid #805720;border-radius:3px;background:linear-gradient(#ffebbd,#c89b51);box-shadow:0 2px 5px #4c2a0d;color:#42270e;font:700 13px Georgia,serif;cursor:pointer}.pin-delos{left:13%;bottom:25%}.pin-moradon{left:42%;top:25%}.pin-karus{right:28%;bottom:30%;color:#8e2117}.pin-ronark{right:5%;top:35%}
.dashboard-news .atlas-panel-heading{border:0}.dashboard-news .ntt-update-controls{position:relative;z-index:1;display:flex;gap:0;margin:0 13px 5px;border:1px solid #b58c4d}.dashboard-news .ntt-update-controls button{flex:1;padding:6px 4px;border:0;border-right:1px solid #c5a36b;border-radius:0;background:#f0dbaF;color:#62431e;font:11px Georgia,serif}.dashboard-news .ntt-update-controls button:last-child{border-right:0}.dashboard-news .ntt-update-controls button.active{background:linear-gradient(#875512,#4e2a09);color:#f9d988}
.dashboard-news .ntt-updates-status{position:relative;z-index:1;margin:4px 13px;color:#76562e;font:10px Georgia,serif}.dashboard-news .ntt-updates-list{position:relative;z-index:1;display:grid;grid-template-columns:1fr;gap:0;margin:0 12px}.dashboard-news .ntt-update-card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;align-items:center;gap:10px;padding:7px 1px;border:0;border-bottom:1px solid #c6a46d;background:transparent;color:#412a12;text-decoration:none}.dashboard-news .ntt-update-card:before{content:"";width:90px;height:43px;border:1px solid #825922;background:url("assets/app/realm-banner.webp") center/cover;box-shadow:0 1px 3px #633d17}.dashboard-news .ntt-update-card:nth-child(2n):before{background-position:75% center}.dashboard-news .ntt-update-card strong{overflow:hidden;color:#412a12;font:700 13px Georgia,serif;text-overflow:ellipsis;white-space:nowrap}.dashboard-news .ntt-update-card time{color:#76552a;font:10px Georgia,serif;white-space:nowrap}.dashboard-news .ntt-updates-note{position:relative;z-index:1;display:block;margin:7px 14px;color:#775a33;font:9px Georgia,serif}
.atlas-home-mode .home-member-summary{margin:12px 4px 24px;gap:8px}.atlas-home-mode .home-summary-card{border-color:#8a622b!important;background:linear-gradient(135deg,#f3deb0,#e3c78e)!important}.atlas-home-mode .home-summary-card :is(small,strong,span){color:#493219!important}
.atlas-home-mode #home>.section-label,.atlas-home-mode #home>.cards,.atlas-home-mode #home>.ad-slot,.atlas-home-mode #home>.bottom-note{margin-left:20px;margin-right:20px}
.atlas-home-mode #home>.section-label{margin-top:20px}.atlas-home-mode #home>.cards{gap:12px}.atlas-home-mode #home>.cards .card{border:2px solid #8c632c;border-radius:2px;background:linear-gradient(135deg,#f3deb0,#e3c78e);color:#493219;box-shadow:inset 0 0 0 3px #fff0cb,0 5px 14px #0005}.atlas-home-mode #home>.cards .card h3,.atlas-home-mode #home>.cards .card p{color:#493219}
.atlas-home-mode footer{background:#25160b;color:#c2a169}
@media(max-width:1180px){body.atlas-home-mode .shell{grid-template-columns:230px minmax(0,1fr)}body.atlas-home-mode .brand{height:230px}.dashboard-main-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-events,.dashboard-character,.dashboard-market{min-height:370px}.dashboard-market{grid-column:1/-1}.dashboard-market-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}.dashboard-market-row:nth-child(2n){border-left:1px solid #c7a66b;padding-left:10px}}
@media(max-width:760px){body.atlas-home-mode .shell{display:block}body.atlas-home-mode .sidebar{position:relative;width:100%;height:auto;padding:0 10px 10px;border-right:0;border-bottom:3px solid #a4762c}body.atlas-home-mode .brand{height:92px;margin:0 -10px 0;padding:2px 10px}.brand-logo{height:86px!important;width:180px!important}body.atlas-home-mode .sidebar nav{display:flex;overflow-x:auto;gap:3px;padding:5px 0}body.atlas-home-mode .sidebar nav button{height:45px;flex:0 0 auto;padding:0 10px;gap:7px;font-size:12px;border:1px solid #76501d}body.atlas-home-mode .sidebar nav .icon{width:23px;height:23px;flex-basis:23px;font-size:20px}body.atlas-home-mode .sidebar nav .icon img{width:22px;height:22px}body.atlas-home-mode .side-bottom{display:none}body.atlas-home-mode .topbar{height:58px;padding:0 10px}.dashboard-search{width:55%;height:39px;padding:0 10px}.dashboard-search input{font-size:12px}.dashboard-search kbd{display:none}.topbar-actions{gap:6px}.dashboard-notifications{width:42px;height:42px;font-size:21px}.dashboard-notifications i{width:18px;height:18px;font-size:10px;line-height:15px}.dashboard-user{min-width:0;height:42px;padding:3px 8px;gap:5px;font-size:11px}.dashboard-user-avatar{width:31px;height:31px}.dashboard-user-avatar img{width:28px;height:28px}.atlas-welcome{height:210px}.atlas-welcome-copy{padding:27px 22px 20px}.atlas-welcome h1{max-width:75%;font-size:32px}.atlas-link-lines{max-width:85%;font-size:9px;letter-spacing:1.6px}.atlas-link-lines b{padding:0 3px}.dashboard-main-grid{grid-template-columns:1fr;gap:5px}.dashboard-events,.dashboard-character,.dashboard-market{min-height:0;grid-column:1}.dashboard-event-row{grid-template-columns:54px minmax(0,1fr) auto;min-height:67px;gap:8px}.dashboard-event-image{width:50px;height:50px}.dashboard-event-info strong{font-size:13px}.dashboard-event-info span{font-size:10px}.dashboard-event-time{min-width:70px;padding:6px 4px}.dashboard-event-time strong{font-size:12px}.dashboard-event-time span{font-size:9px}.dashboard-character-body{grid-template-columns:120px minmax(0,1fr);gap:10px;padding:10px}.dashboard-character-art{height:220px}.dashboard-character-details h3{font-size:19px}.dashboard-character-details>p{font-size:12px}.dashboard-stat-grid{gap:5px}.dashboard-stat-grid small{font-size:10px}.dashboard-stat-grid strong{font-size:12px}.dashboard-equipment-slot{width:45px;height:45px}.dashboard-market-list{display:block}.dashboard-market-row:nth-child(2n){border-left:0;padding-left:2px}.dashboard-lower-grid{grid-template-columns:1fr}.dashboard-map,.dashboard-news{min-height:0}.dashboard-map-art{height:205px}.dashboard-news .ntt-update-card{grid-template-columns:70px minmax(0,1fr) auto}.dashboard-news .ntt-update-card:before{width:68px;height:38px}.atlas-home-mode #home>.section-label,.atlas-home-mode #home>.cards,.atlas-home-mode #home>.ad-slot,.atlas-home-mode #home>.bottom-note{margin-left:12px;margin-right:12px}}
@media(max-width:390px){.dashboard-character-body{grid-template-columns:94px minmax(0,1fr)}.dashboard-character-art{height:190px}.dashboard-character-details h3{font-size:16px}.dashboard-stat-grid{grid-template-columns:1fr 1fr}.dashboard-panel-heading h2{font-size:14px}.atlas-panel-heading{padding:0 10px}.atlas-panel-heading>button,.atlas-panel-heading>a{font-size:11px;padding:6px}.dashboard-news .ntt-update-card{grid-template-columns:58px minmax(0,1fr) auto;gap:6px}.dashboard-news .ntt-update-card:before{width:56px;height:33px}.dashboard-news .ntt-update-card strong{font-size:11px}.dashboard-news .ntt-update-card time{font-size:9px}}
body.atlas-home-mode .workspace .atlas-welcome{height:245px;min-height:0;margin:0;padding:0;border:0;border-bottom:3px solid #b18132;background:#201308;box-shadow:inset 0 0 0 4px #150d06,inset 0 0 0 7px #b3843888}
body.atlas-home-mode .workspace .atlas-welcome h1,#atlasWelcomeTitle{color:#f5dfb2!important;-webkit-text-fill-color:#f5dfb2!important;text-shadow:0 3px 9px #000,0 0 17px #000!important}
body.atlas-home-mode .workspace{max-width:none!important;width:100%!important;margin:0!important;padding:0 0 30px!important}
