/* A0.16 — sistema visual próprio, fantasia editorial cinematográfica */
:root{--bg:#0a1418;--ink:#f0e7d7;--muted:#aebdc1;--gold:#c7a365;--gold2:#f2d69d;--forest:#101e23;--green:#263c3b;--line:#465052;--shadow:0 12px 35px #03090ccc;--heading:Georgia,"Palatino Linotype",serif}
body{background:#0a1519 url('vellum-grain.svg') repeat;color:var(--ink);line-height:1.62}
.header{background:linear-gradient(110deg,#142426,#0b161c);border-top:2px solid #ad8b50;border-bottom:1px solid #bc985d;box-shadow:0 4px 20px #0008}
.head-inner{min-height:76px;max-width:1440px}.brand{gap:12px}.brand strong{font-size:23px;letter-spacing:.19em;color:#edcf96}.brand small{letter-spacing:.21em;color:#c0c5b8}.seal{width:46px;height:46px;filter:drop-shadow(0 2px 6px #0008)}
.nav-item{border-radius:0;position:relative;color:#b9c6c8;padding:14px 15px;letter-spacing:.06em}.nav-item.active{background:linear-gradient(0deg,#c4a06422,transparent);color:#f4dca7;box-shadow:inset 0 -2px #d8b476}.nav-item.active:after{left:30%;right:30%;height:3px;background:#f2d39c;box-shadow:0 0 12px #dcb476}.head-help{border:1px solid #aa8955;border-radius:0}
main{max-width:1400px;padding:30px 32px 64px;min-width:0}
body[data-page="inicio"] main{max-width:1440px;padding-top:0}
.realm-opening{isolation:isolate;position:relative;min-height:clamp(520px,51vw,720px);display:flex;align-items:center;overflow:hidden;margin:0 -32px;justify-content:flex-start}
.realm-panorama,.realm-atmosphere{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}.realm-panorama{object-position:62% 48%}
.realm-atmosphere{z-index:-1;background:linear-gradient(90deg,#08131be8 0%,#0c1a22ca 25%,#0c17217a 52%,#0a14181c 80%),linear-gradient(0deg,#0a1519 0%,#0a151900 35%,#0a151933 100%)}
.realm-content{position:relative;padding:50px 5.5% 72px;max-width:780px}.realm-status{display:inline-flex;align-items:center;gap:8px;border-bottom:1px solid #bfa16b70;color:#d8c199;letter-spacing:.13em;font-size:.65rem;font-weight:700;padding:0 0 10px;margin:0 0 32px}
.realm-status-dot{width:7px;height:7px;background:#d0b173;transform:rotate(45deg);flex:none}.realm-edition{margin-left:5px;color:#b5c1c4;font-weight:400;letter-spacing:.04em}
.realm-kicker{color:#e0c188;letter-spacing:.24em;font-size:.72rem;font-weight:600;margin-bottom:14px}
.realm-opening h1{font-family:var(--heading);font-size:clamp(3.6rem,6.8vw,6.6rem);line-height:.98;letter-spacing:-.035em;color:#f2e6ce;margin:0;font-weight:400;text-shadow:0 3px 30px #0008}.realm-opening h1 em{font-style:normal;color:#e5c486}
.realm-rule{display:flex;align-items:center;gap:10px;width:210px;margin:20px 0;color:#d9b677}.realm-rule i{height:1px;flex:1;background:linear-gradient(90deg,transparent,#c8a86b)}.realm-rule i:last-child{transform:rotate(180deg)}.realm-rule svg{width:29px;height:29px}
.realm-content p{max-width:490px;font-size:1.05rem;color:#f0e9db;line-height:1.65;text-shadow:0 2px 6px #0009;margin:0 0 25px}
.realm-actions{display:flex;gap:12px;flex-wrap:wrap}
.realm-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 22px;min-height:55px;font-family:var(--heading);font-weight:700;font-size:.96rem;letter-spacing:.045em;text-transform:uppercase;color:#e9d6ad;position:relative;isolation:isolate;background:#c8a261;clip-path:polygon(8px 0,calc(100% - 8px) 0,100% 8px,100% calc(100% - 8px),calc(100% - 8px) 100%,8px 100%,0 calc(100% - 8px),0 8px);text-align:center}
.realm-cta:before{content:"";position:absolute;inset:2px;z-index:-1;background:linear-gradient(135deg,#203638,#111f25);clip-path:inherit}.realm-cta.primary{color:#1b211c;background:#f1d29c}.realm-cta.primary:before{background:linear-gradient(135deg,#efd6a6,#b88d49)}.realm-cta:hover{filter:brightness(1.13)}.realm-cta:focus-visible{outline:2px solid #fff3ce;outline-offset:-5px}.realm-cta .feature-icon{width:22px;height:22px;flex-shrink:0;color:inherit}
.realm-disclaimer{display:block;font-size:.73rem;color:#c1c8be;margin-top:14px}.realm-coordinate{position:absolute;bottom:28px;right:38px;color:#e1cda9;font-size:.64rem;letter-spacing:.14em;display:flex;align-items:center;gap:8px}.realm-coordinate i{width:15px;height:1px;background:#c0a06d}
.realm-divider{display:flex;align-items:center;gap:16px;margin:0 0 30px;color:#d5b374}.realm-divider span{height:1px;flex:1;background:linear-gradient(90deg,#a88b5340,#d5b374)}.realm-divider span:last-child{transform:rotate(180deg)}.realm-divider b{font-size:22px}
.realm-section{margin:0 0 48px;scroll-margin-top:100px}.chapter-heading{display:flex;gap:15px;align-items:center;margin:0 0 18px}.chapter-heading .eyebrow{font-size:.66rem;letter-spacing:.23em;margin:0 0 3px}.chapter-heading h2{font-size:clamp(1.65rem,3vw,2.8rem);line-height:1.05;letter-spacing:-.01em;margin:0;color:#f0e1c5}.chapter-number{flex-shrink:0;width:43px;height:43px;border:1px solid #ad8d59;transform:rotate(45deg);display:grid;place-items:center;color:#d5b77b;font:1.25rem Georgia;background:#111f24;box-shadow:inset 0 0 0 4px #0b1519;margin:0 8px}
.gateway-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.realm-gateway{position:relative;isolation:isolate;display:flex;align-items:flex-end;min-height:260px;aspect-ratio:1.25;overflow:hidden;padding:17px;border:1px solid #c3a069;background:#16282d;clip-path:polygon(11px 0,calc(100% - 11px) 0,100% 11px,100% calc(100% - 11px),calc(100% - 11px) 100%,11px 100%,0 calc(100% - 11px),0 11px)}
.realm-gateway:before{content:"";position:absolute;inset:6px;border:1px solid #d9b67970;z-index:2;pointer-events:none}.gateway-art{position:absolute;inset:0;background-position:center;background-size:cover;z-index:-2;transition:transform .35s ease}.realm-gateway:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#0a151bf7 0%,#0c1c25cf 28%,#09151b35 70%,#0a141b20);z-index:-1}.realm-gateway:hover .gateway-art{transform:scale(1.04)}.realm-gateway:focus-visible{outline:3px solid #eacb8e;outline-offset:-4px}.gateway-atlas .gateway-art{background-position:42% 40%;background-size:cover}.gateway-quests .gateway-art{filter:saturate(.8) sepia(.14)}.gateway-races .gateway-art{background-size:170% auto;background-position:52% 0}.gateway-people .gateway-art{background-position:center 40%}
.gateway-emblem{position:absolute;top:0;left:16px;background:linear-gradient(145deg,#2a4548,#0b1c24);border:1px solid #c9a568;border-top:0;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%);width:43px;height:55px;display:grid;place-items:center;color:#eed29b}.gateway-emblem .feature-icon{width:25px;height:25px;color:inherit}.gateway-index{position:absolute;top:13px;right:14px;font:11px Georgia;color:#fff0cb;text-shadow:0 2px 5px black;letter-spacing:.12em}
.gateway-copy{position:relative;width:100%;padding-right:13px}.gateway-copy h3{font-size:clamp(1.15rem,2.1vw,1.8rem);text-transform:uppercase;letter-spacing:.035em;color:#f5e0b7;margin:0 0 6px}.gateway-copy p{font-size:.84rem;color:#d1d7d2;line-height:1.45;margin:0;max-width:235px}.gateway-arrow{position:absolute;bottom:0;right:-5px;color:#e3c58c;font-size:22px}
.realm-world-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:22px}.world-editorial{position:relative;border:1px solid #bd9d62;background:#15272b;display:flex;flex-direction:column;overflow:hidden}.world-editorial img{width:100%;aspect-ratio:10/6;object-fit:cover;display:block;border-bottom:1px solid #c6a367}.world-editorial-copy{padding:22px}.world-editorial-copy h3{font-size:2rem;color:#efddba}.world-editorial-copy>span:last-child,.dispatch-feature-link,.closing-guide{color:#e3c48d;text-decoration:underline;text-underline-offset:4px}.world-editorial-copy p{color:#bbc8c7;font-size:.9rem}
.dispatch-board{padding:24px;border:1px solid #a58a5a;background:linear-gradient(145deg,#252f2c,#18262d);box-shadow:inset 0 0 0 5px #101c2260}.dispatch-board h3{font-size:1.7rem;color:#ead6b0}.dispatch-board>p{font-size:.9rem;color:#ccd3cc}.dispatch-feature-link{font-size:.85rem}.dispatch-list{margin:18px 0}.dispatch{border-top:1px solid #a68b5555;display:grid;grid-template-columns:23px minmax(0,1fr) 12px;gap:12px;align-items:center;padding:13px 0}.dispatch:last-child{border-bottom:1px solid #a68b5555}.dispatch-seal{color:#d5b278;font-size:20px}.dispatch strong{display:block;color:#e8d7b4}.dispatch small{display:block;font-size:.72rem;color:#aebfbd}.dispatch>span:last-child{color:#d4b67d}
.resident-grid .resident,.establishment-card{border-radius:0;background:linear-gradient(140deg,#182b2c,#0f1d23);border-color:#a78a5666}.resident-copy h3,.establishment-copy h3{letter-spacing:.02em;color:#eddbb8}.resident-copy .eyebrow{color:#c3a872}.resident-link{color:#dfbf84}
.realm-closing{display:flex;align-items:center;flex-direction:column;text-align:center;padding:32px 20px 38px;margin:38px 0 24px;border-block:1px solid #a789564f;background:radial-gradient(ellipse at center,#243a3a55,transparent 68%)}.realm-closing img{margin-bottom:12px}.realm-closing h2{font-size:2rem;color:#efddb7;margin:0 0 7px}.realm-closing p{font-size:.91rem;max-width:470px;margin-bottom:20px}.closing-guide{font-size:.84rem;margin-top:15px}
.notice{background:#1d292b;color:#cfdbd5;border:0;border-left:2px solid #c5a264;border-radius:0;letter-spacing:.02em}.notice strong{color:#e1c58d}
body:not([data-page="inicio"]) main>h1{letter-spacing:-.02em;color:#f0dfbf;text-transform:none}
body:not([data-page="inicio"]) main>.eyebrow{letter-spacing:.23em;color:#d1ad72}
.panel,.tile,.filter,.chip,.btn,.input,.list-item,.tag,.stat,.guide-nav,.wizard-skill,.wizard-kit,.race-art-card,.map-wrap,.atlas-board,.place-scene{border-radius:0}
.btn{background:linear-gradient(135deg,#294044,#15282c);border:1px solid #b79a62;color:#f0d9ae;letter-spacing:.045em}.btn.secondary{border-color:#ad8f5d;color:#e0c597}
.panel:not(.guide-content):not(.map-panel){background:linear-gradient(135deg,#1a2b30,#122229);border-color:#a88a5559}
.tile,.list-item,.wizard-skill,.wizard-kit{background:linear-gradient(135deg,#203336,#14262b);border-color:#ad8b535c}
.stat{background:#0d1b22;border-color:#a88c5959}.stat strong{color:#e6c586}.stat small{color:#b8c5bf}
.filter,.chip{background:#14272c;color:#d8dfd4;border-color:#a98e5e66}.chip.active,.chip[aria-pressed=true]{background:#cfb078;color:#152529}
.guide-nav a.active{box-shadow:inset 2px 0 #d2ae72;background:#d2ae7217;color:#ebd1a3}.guide-content{background:#eee4cf url('vellum-grain.svg') repeat;color:#303b36;border:1px solid #ad9568;box-shadow:inset 0 0 0 5px #b59c7023,0 9px 24px #0006}.guide-content h2,.guide-content h3{color:#304139}.guide-content .list-item{background:#f9f0dc;color:#33463c}.guide-content .btn.secondary{color:#475640}
body[data-page="missoes"] .mission-card{border-top:2px solid #c5a368;min-height:235px;padding:23px;background:linear-gradient(150deg,#252f2c,#15252d);box-shadow:inset 0 0 0 5px #0f1f2444}.mission-card .tag{background:#a4814e22;color:#ebd0a0}
.wizard-main{box-shadow:inset 0 0 0 5px #b79b6020,0 9px 28px #0005}.wizard-steps span{border-radius:0;border-color:#a5895555}.wizard-steps .active{background:#bc9c5c20;border-color:#c4a467}.wizard-summary{border-top:2px solid #bfa16b!important}.wizard-summary .eyebrow{color:#e3c28a}.wizard-race-hint,.wizard-selection{border-radius:0}
footer{background:#0b171b;border-color:#a98a534d;color:#c0c9c1}
@media(max-width:1050px){.gateway-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.realm-gateway{min-height:220px;aspect-ratio:1.65}}
@media(max-width:850px){.head-inner{min-height:62px;padding:0 15px}.brand strong{font-size:20px}.brand small{font-size:8px}.seal{width:36px;height:40px}.header{border-top-width:1px}main{padding:22px 14px 55px}body[data-page="inicio"] main{padding:0 14px 44px}.realm-opening{margin:0 -14px;min-height:0;align-items:flex-end;display:block}.realm-panorama{object-position:67% 36%}.realm-atmosphere{background:linear-gradient(90deg,#091820a6,#09182022),linear-gradient(0deg,#0a1519 0%,#0a1519f5 12%,#0a1519a6 37%,#0a15191f 80%)}.realm-content{padding:26px 21px 34px;max-width:610px}.realm-status{margin:0 0 28px;font-size:.58rem;letter-spacing:.1em}.realm-kicker{font-size:.6rem;letter-spacing:.17em;margin-bottom:10px}.realm-opening h1{font-size:clamp(2.75rem,10.5vw,4.8rem);line-height:.99}.realm-rule{width:125px;margin:13px 0}.realm-rule svg{width:21px;height:21px}.realm-content p{font-size:.9rem;line-height:1.57;margin:0 0 17px;max-width:420px}.realm-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.realm-cta{padding:10px 8px;font-size:.76rem;letter-spacing:.02em;min-height:49px;gap:6px}.realm-cta .feature-icon{width:18px;height:18px}.realm-disclaimer{font-size:.65rem;margin-top:11px}.realm-coordinate{display:none}.realm-divider{margin-bottom:20px}.realm-section{margin-bottom:29px;scroll-margin-top:78px}.chapter-heading{gap:12px;margin-bottom:13px}.chapter-number{width:30px;height:30px;margin:0 4px;font-size:.95rem}.chapter-heading h2{font-size:1.63rem}.chapter-heading .eyebrow{font-size:.57rem}.gateway-grid{gap:9px}.realm-gateway{aspect-ratio:1.12;min-height:167px;padding:12px 11px}.gateway-copy h3{font-size:1.11rem;letter-spacing:.01em}.gateway-copy p{font-size:.72rem;line-height:1.35}.gateway-emblem{left:11px;width:31px;height:40px}.gateway-emblem .feature-icon{width:19px;height:19px}.gateway-index{right:10px;top:9px;font-size:9px}.gateway-arrow{font-size:16px}.realm-world-grid{grid-template-columns:1fr;gap:12px}.world-editorial-copy{padding:16px}.world-editorial-copy h3{font-size:1.6rem}.dispatch-board{padding:17px}.realm-closing h2{font-size:1.65rem}#mobileNav{background:linear-gradient(#14272c,#0a181f);border-top:2px solid #ab8c58;padding:4px 4px calc(4px + env(safe-area-inset-bottom));box-shadow:0 -7px 24px #0005}#mobileNav .nav-item{border-radius:0;font-family:var(--heading);font-size:12px;letter-spacing:.015em;min-height:57px;justify-content:center;border-right:1px solid #a88a5330}#mobileNav .nav-item:last-child{border-right:0}#mobileNav .nav-item.active{background:linear-gradient(0deg,#b8995830,#13272b);box-shadow:inset 0 0 0 1px #c9a5689c,inset 0 -3px #d5b578}#mobileNav .nav-item .nav-icon{width:23px;height:23px;margin-bottom:3px}footer{padding-bottom:calc(100px + env(safe-area-inset-bottom))}#toast{bottom:90px}body[data-page="missoes"] .mission-card{padding:16px;min-height:0}}
@media(max-width:380px){.realm-content{padding:22px 17px 27px}.realm-opening h1{font-size:2.65rem}.realm-cta{font-size:.72rem;padding:9px 5px;gap:4px}.realm-cta .feature-icon{width:15px;height:15px}.realm-gateway{min-height:156px}.gateway-copy h3{font-size:1.01rem}.gateway-copy p{font-size:.69rem}.chapter-heading h2{font-size:1.47rem}}
@media(prefers-reduced-motion:reduce){.gateway-art{transition:none}.realm-gateway:hover .gateway-art{transform:none}}

/* A0.17 — marca aprovada */
.header .brand{display:flex;align-items:center;flex-shrink:1;min-width:0;padding:5px 0}.brand-wordmark{display:block;width:clamp(210px,23vw,295px);height:auto;max-height:85px;object-fit:contain;object-position:left center;filter:drop-shadow(0 2px 3px #0007)}.head-inner{min-height:91px;gap:18px}@media(max-width:1100px){.brand-wordmark{width:clamp(190px,23vw,250px)}.head-inner{gap:12px}.header .nav-item{padding-inline:9px}}@media(max-width:850px){.head-inner{min-height:76px;padding-inline:14px}.brand-wordmark{width:min(76vw,275px);max-height:78px}.header .brand{padding:4px 0}}
/* A0.23 — Ascell, marca do universo */
.header .ascell-wordmark{width:clamp(200px,23vw,285px);height:auto;max-height:84px}@media(max-width:850px){.header .ascell-wordmark{width:min(75vw,255px);max-height:74px}}