/* Illusion V4.2 — forged dark fantasy, restrained gold, crimson and jade */
:root{--bg:#0c0b0d;--bg2:#121013;--panel:#19161a;--panel2:#211b1e;--line:#393033;--line2:#625040;--ivory:#f0e6d7;--muted:#b7aca6;--gold:#dfbd83;--gold2:#b58c55;--wine:#9a2936;--green:#7dc4a4}
body{background:radial-gradient(ellipse at 50% 0,#24161a 0%,#0c0b0d 42%);font-size:15px;line-height:1.65;min-height:100vh}.container{width:min(1320px,calc(100% - 64px))}h1,h2,h3{letter-spacing:-.022em}.ui-icon{width:19px;height:19px;flex:none;display:inline-block;vertical-align:middle}.top-accent{height:2px;background:linear-gradient(90deg,#3b171c,#a85e42,#d1a469,#67212c,#301218)}.header42{position:sticky;top:0;background:#110e11f5;backdrop-filter:blur(14px);box-shadow:0 4px 35px #0007;border-bottom:1px solid #514039;z-index:30}.header42 .header-inner{min-height:80px;gap:22px}.header42 .brand-wordmark{width:184px}.header42 .desktop-nav{gap:2px;margin-left:auto}.menu-link{display:flex;align-items:center;gap:10px;text-align:left;min-height:42px;padding:10px 12px;color:#c8bbb2;border:1px solid transparent;border-radius:5px;font-size:13px;font-weight:560;white-space:nowrap}.desktop-nav .menu-link{font-size:13px;padding:10px 9px;gap:6px}.desktop-nav .ui-icon{display:none}.menu-link:hover,.menu-link.selected{background:#2b2021;border-color:#553e37;color:var(--gold)}.menu-link.selected{box-shadow:inset 2px 0 #d6aa66}.header-actions{gap:10px;margin-left:0}.header42 .button{min-height:40px;padding:9px 15px;letter-spacing:.02em;font-size:13px;display:inline-flex;align-items:center;gap:7px}.button{border-radius:5px;transition:background .18s,border-color .18s,transform .18s}.button:not(:disabled):hover{transform:translateY(-1px)}.button-red{background:linear-gradient(180deg,#983a34,#631f25);border:1px solid #b8644f;color:#fff1dd;box-shadow:inset 0 1px #d1926260,0 5px 20px #4e141944}.button-gold{background:linear-gradient(145deg,#e2c28f,#b48850);border:1px solid #efcc92;color:#161011}.nav-login{border-radius:5px;font-weight:650}.account-menu{position:relative}.account-menu summary,.mobile-nav summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;padding:9px 10px;border:1px solid #4b3b35;border-radius:5px;color:#e5c891;background:#1c1618;font-size:13px;font-weight:600}.account-menu summary::-webkit-details-marker,.panel-menu summary::-webkit-details-marker{display:none}.account-menu summary>.ui-icon:last-child{width:14px;transform:rotate(90deg)}.account-menu>div,.mobile-nav>div{position:absolute;right:0;top:calc(100% + 9px);min-width:220px;z-index:40;background:#1b171a;border:1px solid #57453c;padding:8px;border-radius:7px;box-shadow:0 15px 45px #000b}.account-menu button.menu-link,.mobile-nav button.menu-link{background:transparent;width:100%;font-family:inherit;cursor:pointer}.account-menu button:hover,.mobile-nav button:hover{background:#2a2022}.account-menu form,.mobile-nav form{margin:0}.header42 .mobile-nav{display:none}
.hero42{min-height:610px;background:radial-gradient(ellipse at 65% 30%,#462323 0,#180e13 40%,#0b0a0e 78%)}.hero42::before{background-image:linear-gradient(90deg,#100d10 2%,#100d10fa 25%,#100d10c9 44%,#120e1030 68%,#120e1055 100%),url('/assets/img/fortress-v42.webp');background-position:center,right center;background-size:cover,auto 112%;opacity:1}.hero42::after{background:linear-gradient(0deg,#0c0b0d 0%,#0c0b0d00 28%),linear-gradient(180deg,#100d1022,transparent 20%)}.hero-frame{position:absolute;inset:18px 18px 65px;border:1px solid #c0985b28;pointer-events:none;z-index:1}.hero42 .hero-inner{padding:57px 0 98px;min-height:610px;display:flex;align-items:center}.hero-copy{max-width:660px}.hero-logo{width:min(420px,100%);display:block;filter:drop-shadow(0 6px 18px #0008);margin:0 0 17px -9px}.hero42 .hero-kicker{margin-bottom:13px;font-size:11px;letter-spacing:.18em}.hero42 h1{font-size:clamp(2.45rem,4.5vw,4.1rem);line-height:1.05;margin:0 0 15px}.hero42 p.lead{font-size:1.03rem;max-width:520px;color:#d6c7bd}.hero-worlds{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0 8px}.world-chip{display:flex;gap:10px;align-items:center;border:1px solid #4a7967;background:linear-gradient(125deg,#192d27,#171c1b);border-radius:6px;padding:11px 17px;min-width:182px;box-shadow:inset 0 1px #abc4a515}.world-chip.eternal{background:linear-gradient(120deg,#30231b,#20191a);border-color:#81603a}.world-chip strong{font:600 1.15rem Georgia;color:#c2e5cf;display:block}.world-chip.eternal strong{color:#e7bd83}.world-chip small{font-size:11px;color:#c5b7aa;display:block}.world-dot{width:8px;height:8px;background:#7dc4a4;border-radius:50%;box-shadow:0 0 12px #6cc3a4}.eternal .world-dot{background:#d2ac77;box-shadow:none}.hero42 .hero-actions{margin-top:17px}.hero42 .hero-actions .button{display:inline-flex;align-items:center;gap:9px;min-width:184px;justify-content:center}.hero42 .hero-caption{margin-top:22px;margin-bottom:0;color:#b7aaa5}.gateway-grid{position:relative;z-index:2;margin-top:-47px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:25px}.gateway{min-height:93px;display:flex;align-items:center;gap:13px;padding:17px 18px;background:linear-gradient(145deg,#251b1d,#171417);border:1px solid #60423b;border-radius:7px;box-shadow:0 12px 30px #0005}.gateway>.ui-icon{width:30px;height:30px;color:#d9b16f;filter:drop-shadow(0 0 8px #bc784b46)}.gateway strong{display:block;font:600 1.02rem Georgia;color:#f1dfc3}.gateway small{display:block;color:#b5a6a0;font-size:11px;line-height:1.35;margin-top:4px}.gateway-arrow{margin-left:auto;color:var(--gold2)}.gateway:hover{border-color:#bb8b58;background:#322124}.stats-bar{border-radius:7px;overflow:hidden}.world-card,.panel,.mini-stat,.news-card,.feature,.shop-card,.download-strip,.auth-card,.character-card,.account-badge,.notice,.alert,.empty{border-radius:8px}.panel,.mini-stat,.news-card,.shop-card{background:linear-gradient(145deg,#20191d,#151317);border-color:#423237}.world-card{border-color:#795247;background:linear-gradient(110deg,#201719ed,#1a1819bb),url('/assets/img/fortress-v42.webp') right center/cover}.world-card.legacy{border-color:#695035;background:linear-gradient(110deg,#271f1be8,#191618cb),url('/assets/img/fortress-v42.webp') right center/cover}.world-card::after{display:none}.feature{background:#171417;border:1px solid #3a2c32;padding:26px}.section{padding-block:60px}.section-title h2{font-size:clamp(1.8rem,3vw,2.75rem)}.page-head{background:linear-gradient(100deg,#201519 5%,#1a1115dd 58%,#1c1014a0),url('/assets/img/fortress-v42.webp') right 45%/cover;padding:52px 0;border-bottom:1px solid #593e36}.auth-wrap{background:linear-gradient(90deg,#100d12c9,#100d12e6),url('/assets/img/fortress-v42.webp') center/cover;min-height:72vh}.auth-card{box-shadow:0 25px 90px #0009;border:1px solid #61493f;background:#19151bf7}.auth-card h1{font-size:clamp(2rem,4vw,2.8rem)}input,textarea,select{border-radius:5px!important}.site-footer{margin-top:30px}
.portal-body .page-head{padding:26px 0 24px;background:linear-gradient(95deg,#27191d,#140f14)}.portal-body .page-head h1{font-family:system-ui,sans-serif;font-size:clamp(1.6rem,3.5vw,2.5rem);font-weight:650;line-height:1.15}.portal-body .page-head .lead{font-size:.9rem;margin:0;color:#b6a9a4}.portal-body .page-head .eyebrow{font-size:.65rem;margin-bottom:8px}.portal-shell{display:grid;grid-template-columns:236px minmax(0,1fr);align-items:start;gap:24px;margin:26px auto 50px}.portal-sidebar{position:sticky;top:106px;max-height:calc(100vh - 125px);overflow:auto;scrollbar-width:thin;border:1px solid #3b3035;border-radius:8px;background:#171316}.panel-menu>summary{display:none}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:16px 14px;border-bottom:1px solid #3c3034}.sidebar-brand img{width:40px;height:40px;object-fit:contain}.sidebar-brand strong{display:block;color:#efdcc0;font-size:13px}.sidebar-brand small{display:block;font-size:11px;color:#a99891}.nav-group{padding:14px 9px 4px}.nav-group>small{display:block;font-size:10px;color:#ae946f;letter-spacing:.12em;font-weight:700;text-transform:uppercase;padding:0 9px 5px}.nav-group .menu-link{padding:8px 10px;min-height:38px;font-size:12.5px;white-space:normal;line-height:1.35}.nav-group .ui-icon{color:#ba996c;width:17px;height:17px}.sidebar-end{padding:9px;border-top:1px solid #392b31;margin-top:11px}.portal-shell>.container{width:100%;min-width:0;margin:0;padding:0 0 36px}.portal-shell h2{font-size:clamp(1.3rem,2vw,1.9rem)}.portal-shell h3{font-size:1.12rem;font-family:system-ui,sans-serif;font-weight:650;letter-spacing:-.015em}.portal-shell .panel{padding:21px}.portal-shell .mini-stat{padding:18px}.portal-shell .mini-stat strong{font-family:system-ui,sans-serif;font-size:1.8rem;font-weight:650}.portal-shell .grid-2,.portal-shell .grid-3,.editor-grid{min-width:0}.portal-shell .table-wrap{max-width:100%}.portal-shell table{min-width:570px}.portal-shell th{font-size:10px;letter-spacing:.075em;white-space:nowrap}.portal-shell td{font-size:13px}.portal-shell td,.portal-shell th{padding:13px 11px;overflow-wrap:anywhere}.portal-shell tr:hover td{background:#ffffff03}.compact-panel{padding:0!important}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.section-heading h2{margin:0}.count-chip{font:600 12px system-ui;color:#e9c588;border:1px solid #634c39;border-radius:20px;padding:4px 8px;vertical-align:middle}.filter-panel{display:flex;align-items:end;flex-wrap:wrap;gap:10px;background:#171317;border:1px solid #403137;border-radius:7px;padding:14px;margin-bottom:14px}.filter-panel .field{margin:0;flex:1 1 150px}.filter-panel .button{min-height:44px}.account-link{display:flex;align-items:center;gap:10px;min-width:170px}.account-link strong{color:#edcd98;display:block}.account-link small{display:block;color:var(--muted);font-size:11px;overflow-wrap:anywhere}.avatar-mini,.avatar-large{display:grid;place-items:center;background:radial-gradient(circle at top,#583326,#26191d);border:1px solid #806044;border-radius:7px;font:600 1.1rem Georgia;color:#eed0a1;flex:none;width:37px;height:37px}.avatar-large{width:66px;height:66px;font-size:2rem}.profile-banner{display:flex;align-items:center;gap:18px;flex-wrap:wrap;background:linear-gradient(95deg,#302025,#181418);padding:22px;border:1px solid #624237;border-radius:8px;margin-bottom:14px}.profile-banner>div{flex:1;min-width:130px;overflow-wrap:anywhere}.profile-banner h2{margin:2px 0 3px;font-size:1.8rem}.profile-banner p{margin-bottom:5px}.profile-tabs{display:flex;flex-wrap:wrap;gap:5px;background:#151216;border:1px solid #3e3135;border-radius:7px;padding:6px;margin-bottom:18px}.profile-tabs a{padding:9px 11px;border:1px solid transparent;border-radius:5px;font-size:12px;color:#c7b9ad}.profile-tabs a.selected{background:#302124;border-color:#66483d;color:#ebc58f;font-weight:650}.breadcrumbs{font-size:12px;color:#cfad7f;margin-bottom:12px}.profile-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.profile-title>div{flex:1}.profile-title h3,.profile-title p{margin:0}.profile-title p{font-size:12px}.profile-stat{overflow-wrap:anywhere}.action-details{border:1px solid #48363c;border-radius:6px;margin:10px 0;background:#1b151a;padding:11px}.action-details summary{cursor:pointer;font-weight:650;color:#e1bb85}.action-details form{padding-top:12px}.sanction-row{border-top:1px solid #4d393b;padding:16px 0}.sanction-row p{white-space:pre-wrap;overflow-wrap:anywhere}.sanction-row small{color:#c6b9ab}.quick-actions{display:grid;gap:9px}.quick-actions a{text-align:center}.pagination{display:flex;justify-content:center;align-items:center;gap:18px;padding:15px;color:#c6ac8a;font-size:13px}.support-link{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px;border:1px solid #47343a;border-radius:6px}.player-warnings{margin-bottom:18px;border-color:#b17242;background:#2a1d18}.player-warnings p{overflow-wrap:anywhere}.error-page{display:grid;place-items:center;min-height:100vh;background:radial-gradient(ellipse at center,#361c24,#100c10 60%)}.error-shell{text-align:center;max-width:680px;padding:32px}.error-shell img{width:min(320px,100%)}.error-shell h1{font-size:2.5rem}.error-shell p{color:#cbbcaf}
@media(max-width:1130px){.header42 .desktop-nav{display:none}.header42 .header-actions{margin-left:auto}.header42 .mobile-nav{display:block;position:relative}.portal-shell{grid-template-columns:205px minmax(0,1fr);gap:17px}.gateway-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.header42 .mobile-nav>div{display:flex;flex-direction:column}.hero42::before{background-position:center,right -95px center}.portal-shell .editor-grid{grid-template-columns:1fr}}
@media(max-width:830px){.container{width:calc(100% - 34px)}.portal-shell{grid-template-columns:minmax(0,1fr);gap:15px;margin-top:16px}.portal-sidebar{position:relative;top:auto;max-height:none;overflow:visible}.panel-menu>summary{display:flex;align-items:center;gap:9px;cursor:pointer;padding:13px 15px;color:var(--gold);font-weight:650}.panel-menu>summary>.ui-icon:last-child{margin-left:auto;transform:rotate(90deg)}.panel-menu[open]>summary{border-bottom:1px solid #403137}.sidebar-brand{display:none}.panel-menu nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:3px 6px}.nav-group{padding:8px 4px}.sidebar-end{margin:0;padding:5px}.portal-shell .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-shell .grid-2{grid-template-columns:minmax(0,1fr)}.hero42 .hero-inner{min-height:570px;padding:55px 0 82px}.hero42{min-height:570px}.hero42::before{background-image:linear-gradient(90deg,#100d10fa 0%,#100d10c9 52%,#100d1055 100%),url('/assets/img/fortress-v42.webp');background-position:center,right center}.hero-frame{inset:9px 9px 56px}.hero-logo{width:min(345px,100%)}.hero42 h1{font-size:clamp(2.1rem,7vw,3.1rem)}.portal-shell .grid-3 .mini-stat{min-width:0}.portal-shell .grid-3 .mini-stat strong{overflow-wrap:anywhere}.header42 .header-inner{min-height:68px;gap:8px}.header42 .brand-wordmark{width:152px}.header42 .download-cta{display:none}.header42 .account-menu summary{max-width:145px}.header42 .account-menu summary span{overflow:hidden;text-overflow:ellipsis}.header42 .mobile-nav summary{padding:9px}.header42 .mobile-nav>div{max-width:calc(100vw - 35px);width:252px}.portal-shell .table-wrap{overflow-x:auto}.section{padding-block:42px}}
@media(max-width:480px){.container{width:calc(100% - 26px)}.hero42 .hero-inner{padding:37px 0 76px;min-height:560px}.hero42 .hero-actions{flex-direction:row;gap:8px}.hero42 .hero-actions .button{flex:1;min-width:0;padding:12px 9px;font-size:12px}.hero42 .hero-worlds{gap:8px;display:grid;grid-template-columns:1fr 1fr}.world-chip{min-width:0;padding:10px;gap:7px}.world-chip small{font-size:10px}.hero42 p.lead{font-size:.95rem}.gateway-grid{gap:8px;margin-top:-40px}.gateway{padding:12px 10px;gap:8px;min-height:83px}.gateway>.ui-icon{width:23px;height:23px}.gateway strong{font-size:.94rem}.gateway small{font-size:10px}.gateway-arrow{display:none}.hero-logo{width:min(285px,100%);margin-left:-6px}.hero42 .hero-kicker{font-size:9px}.portal-shell .grid-3{grid-template-columns:1fr}.portal-shell .panel{padding:15px}.portal-shell .profile-banner{padding:15px;gap:11px}.avatar-large{width:50px;height:50px}.profile-banner h2{font-size:1.45rem}.profile-banner .button{width:100%;text-align:center}.portal-shell .profile-tabs a{padding:8px;font-size:11px}.portal-shell .mini-stat{padding:14px}.header42 .brand-wordmark{width:132px}.account-menu summary>.ui-icon:last-child{display:none}.account-menu summary{padding:7px}.header42 .account-menu summary span{max-width:80px}.filter-panel .field{flex-basis:100%}.filter-panel .button{flex:1}.section-heading{flex-wrap:wrap}.profile-stat{gap:8px}.profile-stat dd{text-align:right;min-width:0}.auth-wrap{padding-inline:13px}.auth-card{padding:22px}.portal-body .page-head{padding:20px 0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Keep quick links fully above the statistics, and soften the artwork edge. */
.gateway-grid+.container .stats-bar{margin-top:0;position:relative;z-index:1}.hero42::before{mask-image:linear-gradient(90deg,transparent 0%,transparent 20%,#000 67%)}
@media(max-width:830px){.hero42::before{mask-image:none}}
