:root{--navy:#040f1d;--navy-light:#081b2d;--panel:#0b2032;--gold:#e1b76b;--teal:#6acfd8;--white:#f6f1e8;--muted:#b0c0cc;--line:#b897553d;--side:220px;--rail:180px}
body{background:#040f1d;min-height:100vh}body:before{content:'';position:fixed;inset:0;pointer-events:none;z-index:-2;background-image:radial-gradient(1px 1px at 12% 13%,#84d5ff77,transparent),radial-gradient(1px 1px at 82% 44%,#84d5ff55,transparent),radial-gradient(1px 1px at 45% 68%,#e2cda455,transparent);background-size:233px 187px,317px 239px,417px 193px}.world-stage{position:absolute;top:0;left:0;width:100%;height:1000px;z-index:-1;background:linear-gradient(0deg,#040f1d 0%,#040f1ddd 12%,#040f1d44 38%,transparent 70%),url('assets/royal-hero.webp') center top/100% auto no-repeat;opacity:.44;transition:opacity .3s}.home-page .world-stage{opacity:1}body:not(.home-page) .world-stage{height:800px;background-image:linear-gradient(0deg,#040f1d,rgba(4,15,29,.4)),url('assets/royal-hero.webp')}
svg{display:block;width:24px;height:24px;flex-shrink:0}.command-header{height:72px;position:relative;margin-left:var(--side);display:flex;align-items:center;justify-content:space-between;padding:0 25px 0 30px;gap:20px;background:linear-gradient(180deg,#03101cf0,#020e18e6);border-bottom:1px solid #ab8b4e8a;z-index:40;clip-path:polygon(18px 0,100% 0,100% 100%,0 100%)}.command-header:before{content:'';position:absolute;left:7px;top:0;height:100px;width:1px;background:var(--gold);transform:rotate(18deg);transform-origin:top}.command-header #top-nav{display:flex;align-items:center;gap:25px;height:100%}#top-nav a{font-size:13px;font-weight:bold;text-transform:uppercase;position:relative;white-space:nowrap;letter-spacing:.015em;height:100%;display:flex;align-items:center;color:#e2e6e9}#top-nav .nav-medallion{display:none}#top-nav a.active{color:#ffdfa0;text-shadow:0 0 16px #ffb74099}#top-nav a.active:after{content:'';position:absolute;bottom:12px;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,#ffd483,transparent);box-shadow:0 0 9px #ffc35e}.command-actions{display:flex;align-items:center;gap:18px}.icon-button{width:38px;height:34px;background:#051626b3;border:1px solid #bd9453;color:#eae4d6;display:grid;place-items:center;border-radius:13px}.icon-button:hover{border-color:#ffe0a0;color:#ffe0a0}.icon-button svg{width:20px;height:20px}.languages{border:1px solid #bc9556;padding:3px 10px;clip-path:polygon(10px 0,100% 0,100% calc(100% - 6px),calc(100% - 10px) 100%,0 100%,0 7px);gap:8px}.languages button{font-size:14px;font-weight:bold}.languages button.active{color:#fce0a5}.languages button:not(.active){color:#68c9dd}.steam-gold,.royal-button{background:linear-gradient(115deg,#b78024,#ffe7a3 24%,#f3c45f 70%,#cb8b26);border:1px solid #ffe6a0;box-shadow:inset 0 0 10px #ffe4a15c,0 0 20px #e6ac3725;clip-path:polygon(13px 0,100% 0,calc(100% - 13px) 100%,0 100%);color:#10100d;font-weight:bold;display:flex;align-items:center;justify-content:center;gap:11px;padding:9px 24px;text-align:left;font-size:13px;line-height:1.2;min-height:43px}.steam-gold{width:188px}.steam-gold:hover,.royal-button:hover{background:linear-gradient(115deg,#d8a743,#fff0bd,#eac36c);transform:none}.steam-mark{display:inline-block;position:relative;width:25px;height:25px;border-radius:50%;background:#07121a;flex-shrink:0}.steam-mark:before{content:'';position:absolute;right:3px;top:3px;width:10px;height:10px;border:2px solid #ffe2a3;border-radius:50%}.steam-mark:after{content:'';position:absolute;left:4px;bottom:5px;width:14px;height:5px;background:#ffe2a3;border-radius:5px;transform:rotate(-30deg)}.mobile-brand,#mobile-menu{display:none}.mobile-navigation{display:none}
.side-shell{position:fixed;top:0;left:0;width:var(--side);height:100vh;z-index:45;overflow:hidden;pointer-events:none;background:linear-gradient(90deg,#031120c2,transparent)}.side-shell a{pointer-events:auto}.side-brand{display:block;margin:20px 15px 27px;width:190px;filter:drop-shadow(0 0 18px #0c6b8c88)}.side-brand img{width:100%;height:auto}#side-nav{position:relative;padding-top:10px;z-index:3}#side-nav:before{content:'';position:absolute;top:13px;bottom:16px;left:-120px;width:220px;border:1px solid #c49b52;border-radius:50%;box-shadow:1px 0 16px #f1c06144;pointer-events:none}#side-nav a{position:relative;display:flex;align-items:center;gap:12px;height:61px;font-size:14px;color:#eef0ed;padding-left:62px;white-space:nowrap}#side-nav a:nth-child(1),#side-nav a:nth-child(7){padding-left:31px}#side-nav a:nth-child(2),#side-nav a:nth-child(6){padding-left:47px}#side-nav a:nth-child(4){padding-left:68px}.nav-medallion{width:38px;height:38px;display:grid;place-items:center;background:#071827;border:1px solid #ba9755;border-radius:50%;color:#d5b471;flex-shrink:0}.nav-medallion svg{width:23px;height:23px}#side-nav a.active .nav-medallion,#side-nav a:hover .nav-medallion{border:2px solid #ffdb89;box-shadow:0 0 18px #eab04c77;color:#ffdc8a}#side-nav a.active{color:#ffe5b0;text-shadow:0 0 12px #eab04c88}.planet-decoration{position:absolute;bottom:-100px;left:-150px;width:340px;height:340px;border:1px solid #58bdebc9;border-radius:50%;background:radial-gradient(ellipse at 65% 25%,#4d9f9c99 0,transparent 35%),repeating-linear-gradient(32deg,transparent 0 35px,#5ab2d02e 36px 37px),repeating-linear-gradient(-28deg,transparent 0 45px,#cfb46a26 46px 47px),radial-gradient(circle at 65% 35%,#1c6784,#072840 55%,#010816 75%);box-shadow:0 -6px 20px #58bdeba3,0 0 65px #0e668e55,inset -35px -20px 60px #000b;opacity:.85}.planet-decoration:after{content:'';position:absolute;inset:0;border-radius:50%;background-image:radial-gradient(circle at 78% 31%,#ffdc88 0 2px,transparent 3px),radial-gradient(circle at 83% 38%,#ffdc88 0 2px,transparent 3px),radial-gradient(circle at 58% 25%,#ffdc88 0 2px,transparent 3px),radial-gradient(circle at 68% 48%,#ffdc88 0 1px,transparent 2px);filter:drop-shadow(0 0 6px #ffc85a)}.side-coordinates{position:absolute;bottom:23px;left:26px;font-size:14px;letter-spacing:.3em;color:#f5d28a;z-index:2}.side-coordinates span{font-size:9px;letter-spacing:.18em;color:#93b7cc}
main{margin-left:var(--side);margin-right:35px;position:relative;min-height:600px}.home-page main{margin-right:var(--rail)}.royal-hero{height:430px;position:relative;display:flex;align-items:flex-end;padding:0 10px 20px 28px}.hero-story{max-width:580px;position:relative;z-index:2}.royal-kicker{font-size:11px;color:#ecc17c;font-weight:bold;letter-spacing:.22em;text-transform:uppercase;margin-bottom:12px}.royal-hero h1{font-family:var(--serif);font-weight:normal;font-size:49px;line-height:1.04;letter-spacing:-.045em;margin:0 0 14px;text-shadow:0 2px 20px #000b}.royal-hero h1 em{color:#ffcf78;font-weight:normal}.royal-lead{font-size:16px;color:#e3e8eb;line-height:1.65;max-width:520px;margin:0 0 17px;text-shadow:0 1px 5px #000}.hero-buttons{gap:11px}.hero-buttons .button{font-size:14px;padding:10px 21px;min-height:43px}.button-outline{background:linear-gradient(110deg,#061623e6,#06121bb3);border-color:#d0bd83;clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%)}.royal-signature{position:absolute;right:3%;bottom:145px;display:flex;flex-direction:column;text-align:center;max-width:200px;text-shadow:0 1px 5px #0009}.royal-signature strong{font:italic 25px var(--serif);color:#f5cc83}.royal-signature span{font-size:10px;letter-spacing:.2em;text-transform:uppercase;line-height:1.7;margin-top:10px;color:#eef3f3}.royal-signature i{display:block;width:35px;height:2px;background:#e7bc65;align-self:center;margin-top:12px}
.age-rail{position:absolute;top:22px;right:calc(-1 * var(--rail));width:166px;padding:12px 0 0 20px;border-left:1px solid #d3a957c4;border-radius:130px 0 0 0;background:linear-gradient(90deg,#04111deb,#04111d70);box-shadow:-13px 0 25px #03101b55}.age-rail h2{font:italic 25px/1 var(--serif);text-align:center;margin:0 0 22px;color:#f5ebd7}.age-rail-list{border-left:1px solid #ab8744;margin-left:9px}.age-rail button{position:relative;display:block;background:linear-gradient(90deg,#061623e8,#0616237d),var(--age-bg) center/cover;width:100%;height:57px;text-align:left;border-bottom:1px solid #5b6a6f4a;padding:5px 12px 5px 20px}.age-rail button:hover{background:linear-gradient(90deg,#061623bd,#06162335),var(--age-bg) center/cover}.age-rail button b{display:block;font:21px/1.1 var(--serif);color:#f6e5c3}.age-rail button small{font-size:12px;color:#dbe4e7}.age-marker{width:7px;height:7px;border-radius:50%;background:#ffd17d;box-shadow:0 0 9px #e4a84699;position:absolute;left:-4px;top:23px}
.feature-ribbon{display:grid;grid-template-columns:repeat(6,1fr);gap:9px;margin:-3px 12px 17px 28px;position:relative}.feature-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:84px;position:relative;padding:11px 7px;background:linear-gradient(140deg,#1b2f3ba3,#020e1ccf);border:1px solid #aa8a4b88;clip-path:polygon(9px 0,100% 0,calc(100% - 9px) 100%,0 100%);text-align:center}.feature-tile:hover{border-color:#f0c67e;background:#193449b3}.feature-tile svg{color:#edc97d;width:28px;height:28px}.feature-tile span{font-size:12px;color:#e9e8e0;line-height:1.3;max-width:115px}.home-media{display:grid;grid-template-columns:1.1fr 1.65fr;gap:22px;padding:0 12px 0 28px;align-items:end}.trailer-frame{position:relative;background:#03101a;border:1px solid #ffd181;box-shadow:0 0 15px #d1a0434a;clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}.trailer-frame .film-poster{aspect-ratio:2.8}.trailer-frame .film-duration{display:none}.trailer-frame .round-play{width:54px;height:54px}.trailer-title{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:12px;color:#ebefed;padding:11px 16px;border-top:1px solid #455466;line-height:1.4}.trailer-title span{max-width:85%}.trailer-title:after{position:absolute;content:'';left:16px;bottom:4px;width:18%;height:2px;background:var(--gold)}.quick-media{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding-bottom:10px}.quick-tile{position:relative;display:block;padding:0;text-align:left;background:#081522;border:1px solid #a4a2856b;border-radius:5px;overflow:hidden}.quick-tile>img{width:100%;height:91px;object-fit:cover}.quick-tile>span{display:flex;justify-content:space-between;align-items:center;gap:4px;font-size:12px;padding:8px;color:#e4e8e5;background:#04121c}.mini-play{width:21px;height:21px;border:1px solid #e3c577;border-radius:50%;color:#f4cf79;display:grid;place-items:center;flex-shrink:0}.mini-play .play-icon{width:8px;height:10px;margin-left:2px}.quick-tile:hover{border-color:#ffe3a2}
.home-civilizations{display:grid;grid-template-columns:215px 1fr;gap:24px;align-items:center;margin:30px 12px 15px 28px;padding-bottom:20px;border-bottom:1px solid var(--line)}.civ-introduction .royal-kicker{font-size:9px;line-height:1.7;margin-bottom:4px}.civ-introduction h2{font:32px/1.1 var(--serif);font-weight:normal;margin-bottom:10px}.civ-introduction p:not(.royal-kicker){font-size:13px;line-height:1.6;color:#c3d0d9;margin-bottom:13px}.civ-introduction .button{font-size:11px;padding:8px 13px;min-height:34px}.civilization-strip{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px;min-width:0;align-items:stretch}.civilization-card{padding:1px;background:linear-gradient(180deg,#8a966f44,var(--civ-color));color:var(--civ-color);clip-path:polygon(0 0,100% 0,100% 94%,50% 100%,0 94%);height:178px;overflow:hidden;transition:transform .2s,filter .2s}.civilization-card:hover{transform:translateY(-6px);filter:brightness(1.2)}.civ-card-inner{display:flex;position:relative;flex-direction:column;background:linear-gradient(180deg,#061521,#06101c);clip-path:polygon(0 0,100% 0,100% 94%,50% 100%,0 94%);width:100%;height:100%;overflow:hidden}.civ-crest{height:40px;display:grid;place-items:center;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--civ-color) 17%,transparent),transparent);z-index:2}.civ-crest svg{width:25px;height:25px;filter:drop-shadow(0 0 6px currentColor)}.civ-card-art{position:relative;display:block;flex:1;min-height:0;overflow:hidden;background-size:cover;background-position:center}.civ-card-art:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#03101d,#03101d00 45%,#03101d55);pointer-events:none}.civ-card-art .ruler-left,.civ-card-art .ruler-right{position:absolute;top:5px;height:145px;width:145px;max-width:none;object-fit:contain}.civ-card-art .ruler-left{left:-51px;filter:brightness(.85)}.civ-card-art .ruler-right{right:-49px;top:16px}.civ-card-art .human-portrait{height:150px;width:100%;object-fit:cover;object-position:center top}.civ-card-title{font:12px var(--serif);text-transform:uppercase;text-align:center;position:relative;background:#03101d;z-index:3;padding:6px 1px 16px;white-space:nowrap}.home-section-links{margin:0 12px 0 28px;display:flex;justify-content:flex-end;gap:25px;align-items:center;font-size:12px;color:#cfb477}.home-section-links .art-note{margin-right:auto;color:#8197a7;font-size:10px;max-width:400px}.home-section-links a:hover{color:#ffdf9d}.royal-lower{margin:0;padding:70px 12px 65px 28px;max-width:none}.royal-lower .section-heading h2{font-size:38px}.home-page .home-gallery{grid-template-rows:200px 200px}.footer{margin-left:var(--side);padding:35px 35px 22px 28px;background:#03101bde}.footer-top{gap:25px}.footer-top p{font-size:20px}.footer-links{display:flex;gap:22px;font-size:13px;color:#dbc18d}.footer-bottom{font-size:11px}
.page-header{padding:60px 30px 40px;max-width:1240px}.page-header h1{font-size:52px;text-shadow:0 2px 20px #000}.page-header>p:last-child{font-size:16px;max-width:780px}.section{max-width:1240px;padding:45px 30px 65px}.page-content{padding-top:0}.page-header .section-kicker,.section-kicker{color:#e0bc7c}.section-heading h2{font-size:40px}.game-pillars{margin-top:45px}.pillar-symbol{color:var(--gold);margin:0 0 20px}.pillar-symbol svg{width:30px;height:30px}.pillar p,.film-copy p,.tip-body,.guide-intro p,.age-panel p,.intro p{font-size:16px}.game-cta-links{display:flex;gap:15px;flex-wrap:wrap;margin-top:25px}.universe-layout{display:grid;grid-template-columns:.95fr 1.05fr;gap:50px;align-items:start}.royal-capsule{position:relative;border:1px solid #a58a505e;box-shadow:0 0 30px #03101d88}.royal-capsule img{width:100%}.royal-capsule>span{font-size:11px;position:absolute;bottom:10px;right:12px;padding:4px 7px;background:#03101daa;color:#d6e1e9}.universe-copy{padding:25px 0}.universe-copy h2{font:36px/1.2 var(--serif);font-weight:normal}.universe-copy>p:not(.royal-kicker){color:var(--muted);font-size:16px;line-height:1.9}.future-note{margin-top:35px;border-top:1px solid #9f854777;padding-top:25px}.future-note h3{font:26px/1.3 var(--serif);font-weight:normal;color:#ebc47f}.future-note p{font-size:16px;color:var(--muted)}.civ-selector{display:flex;gap:8px;flex-wrap:wrap;padding:0 0 24px;border-bottom:1px solid var(--line)}.civ-selector button{background:#091d30b3;padding:10px 16px;font-size:14px;border:1px solid #8b8a6540;display:flex;align-items:center;gap:8px}.civ-selector button svg{width:21px;height:21px;color:var(--civ-color)}.civ-selector button[aria-pressed=true]{border-color:var(--civ-color);color:var(--civ-color);background:#10283e}.civilization-detail{display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;min-height:560px;margin:25px 0 30px;border-bottom:1px solid var(--line);padding-bottom:30px}.rulers-display{display:flex;align-items:flex-end;justify-content:center;height:520px;min-width:0;background:radial-gradient(ellipse,color-mix(in srgb,var(--civ-color) 18%,transparent),transparent 68%);overflow:hidden}.rulers-display>img{width:51%;height:100%;object-fit:contain;max-height:520px;filter:drop-shadow(0 12px 18px #0008)}.rulers-display .human-capsule{width:100%;max-width:440px;object-fit:cover;object-position:top;height:100%;border:1px solid #bca3655e}.civilization-copy h2{font:52px/1.1 var(--serif);font-weight:normal;margin:15px 0 20px;color:var(--civ-color)}.civilization-copy>p{color:var(--muted);font-size:16px;line-height:1.8}.ruler-labels{display:flex;flex-wrap:wrap;gap:15px;font-size:14px;color:var(--civ-color);border-top:1px solid var(--line);padding-top:15px}.civ-building{margin-top:25px;display:flex;align-items:center;width:100%;padding:10px;gap:20px;border:1px solid #6774775e;background:#081b2d;color:#b6c8d5;text-align:left;font-size:14px}.civ-building img{width:125px;height:100px;object-fit:contain}.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.news-article{background:#0a1c2e;border:1px solid var(--line)}.news-article>div{padding:28px}.news-article>a>img{width:100%;aspect-ratio:16/9;object-fit:cover}.news-article h2{font:30px/1.25 var(--serif);font-weight:normal;margin:16px 0}.news-article p{font-size:16px;color:var(--muted)}.news-article button.text-link{background:none}.community-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:35px}.community-visual>img{width:100%;aspect-ratio:16/10;object-fit:cover}.community-visual>div{padding:25px 0}.community-visual h2{font:35px/1.2 var(--serif);font-weight:normal}.community-visual p{color:var(--muted)}.contact-layout{gap:50px}.contact-card strong{font-size:28px}.contact-card p{font-size:15px}.age-dialog>p,.age-dialog>.text-link{margin:20px 25px}.age-dialog>img{max-height:60vh}.search-panel{padding:25px;max-width:700px;margin:0 auto}.search-panel label{display:block;color:var(--muted);font-size:16px;margin-bottom:15px}.search-panel input{width:100%;font:18px var(--sans);padding:15px;border:1px solid #ab8c50;background:#061726;color:#fff;outline-color:var(--teal)}#search-results{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:20px;max-height:55vh;overflow:auto}#search-results button{background:#10273b;padding:12px 15px;color:#e6e8e4;text-align:left;font-size:15px;border:1px solid #56717a50}#search-results button:hover{border-color:var(--gold);color:#f9d48c}dialog{border-color:#c4a26099}body:not(.home-page) .side-shell{background:linear-gradient(90deg,#031120ed,#03112099)}
@media(min-width:1700px){:root{--side:250px;--rail:205px}.side-brand{width:215px}.command-header{padding-left:40px;padding-right:35px}#top-nav a{font-size:14px}.command-header #top-nav{gap:34px}.royal-hero{height:435px}.royal-hero h1{font-size:58px}.hero-story{max-width:670px}.royal-lead{font-size:17px;max-width:600px}.royal-signature{bottom:140px;right:6%}.feature-ribbon{margin-left:44%;margin-top:-88px;margin-bottom:22px}.feature-tile{min-height:83px}.home-media{grid-template-columns:1.1fr 1.7fr;margin-top:14px}.trailer-frame .film-poster{aspect-ratio:3}.quick-tile>img{height:105px}.home-civilizations{grid-template-columns:260px 1fr;margin-top:30px}.civilization-card{height:194px}.civ-card-art .ruler-left,.civ-card-art .ruler-right{height:165px;width:165px}.civ-card-art .ruler-left{left:-45px}.civ-card-art .ruler-right{right:-45px}.civ-card-title{font-size:14px}.civ-introduction p:not(.royal-kicker){font-size:14px}.civ-introduction h2{font-size:37px}.age-rail{width:190px}.age-rail button{height:64px}.age-rail button small{font-size:14px}.age-rail h2{font-size:28px}}
@media(max-width:1360px){:root{--side:180px;--rail:155px}.side-brand{width:160px;margin:20px 10px 36px}#side-nav a{font-size:12px;gap:8px;padding-left:50px}#side-nav a:nth-child(1),#side-nav a:nth-child(7){padding-left:18px}#side-nav a:nth-child(2),#side-nav a:nth-child(6){padding-left:34px}#side-nav a:nth-child(4){padding-left:55px}#side-nav:before{left:-130px}.nav-medallion{width:33px;height:33px}.command-header{gap:15px;padding-left:25px;padding-right:15px}.command-header #top-nav{gap:19px}#top-nav a{font-size:11px}.command-actions{gap:12px}.steam-gold{width:160px;font-size:11px;padding:8px 17px}.icon-button{width:32px;height:31px}.languages{padding:2px 7px}.languages button{font-size:12px}.royal-hero{height:430px}.royal-hero h1{font-size:43px}.hero-story{max-width:530px}.royal-lead{font-size:15px;max-width:485px}.hero-buttons .button{font-size:12px;padding:10px 16px}.royal-signature{right:1%;bottom:155px;max-width:160px}.royal-signature strong{font-size:21px}.royal-signature span{font-size:9px}.age-rail{width:145px;padding-left:15px}.age-rail button{height:57px}.age-rail h2{font-size:23px}.feature-tile span{font-size:11px}.home-civilizations{grid-template-columns:180px 1fr;gap:15px}.civ-introduction h2{font-size:28px}.civ-introduction p:not(.royal-kicker){font-size:12px}.civ-introduction .royal-kicker{font-size:8px}.civilization-strip{gap:6px}.civilization-card{height:162px}.civ-card-title{font-size:10px}.civ-crest{height:32px}.civ-card-art .ruler-left,.civ-card-art .ruler-right{height:128px;width:128px}.civ-card-art .ruler-left{left:-46px}.civ-card-art .ruler-right{right:-45px}.civ-card-art .human-portrait{height:128px}.home-media{gap:16px}.quick-media{gap:8px}.quick-tile>img{height:74px}.quick-tile>span{font-size:10px;padding:7px 5px}.mini-play{width:17px;height:17px}.trailer-title{font-size:10px;padding:10px}.age-rail button small{font-size:11px}.footer-links{gap:15px;font-size:12px}}
@media(max-width:1100px){:root{--side:155px;--rail:0px}.side-brand{width:145px;margin-left:5px}.side-shell{width:155px}#side-nav a{padding-left:35px;font-size:11px}#side-nav a:nth-child(1),#side-nav a:nth-child(7){padding-left:9px}#side-nav a:nth-child(2),#side-nav a:nth-child(6){padding-left:22px}#side-nav a:nth-child(4){padding-left:42px}#side-nav:before{left:-145px}.command-header #top-nav{gap:19px}.command-actions .steam-gold{display:none}.age-rail{display:none}.home-page main{margin-right:25px}.royal-hero{height:435px}.royal-signature{right:3%;bottom:140px}.hero-story{max-width:530px}.royal-hero h1{font-size:44px}.world-stage{background-size:auto 880px;background-position:center top}.feature-ribbon{margin-top:0}.home-civilizations{grid-template-columns:190px 1fr}.civilization-strip{overflow-x:auto;display:flex;padding-bottom:6px;scrollbar-color:#b79a5c #102438;scrollbar-width:thin}.civilization-card{flex:0 0 91px;height:172px}.civ-card-art .ruler-left{left:-42px}.civ-card-art .ruler-right{right:-42px}.civ-card-title{font-size:11px}.home-media{grid-template-columns:1fr 1.25fr}.quick-media{grid-template-columns:repeat(2,1fr);gap:8px}.quick-tile>img{height:55px}.quick-tile>span{font-size:11px;padding:5px}.trailer-frame .film-poster{aspect-ratio:1.8}.footer-top{flex-wrap:wrap}.footer-links{width:100%;margin-top:5px}.universe-layout{gap:30px}.civilization-detail{gap:20px}.civilization-copy h2{font-size:44px}.rulers-display{height:470px}.contact-layout{grid-template-columns:1fr}.news-grid{gap:22px}.page-header h1{font-size:46px}}
@media(max-width:800px){:root{--side:0px;--rail:0px}.side-shell{display:none}.command-header{margin-left:0;height:70px;clip-path:none;padding:0 22px;position:sticky;top:0;border-bottom:1px solid #b8975559;background:#03111ff5}.command-header:before{display:none}#top-nav{display:none!important}.mobile-brand{display:block;width:156px}.mobile-brand img{width:100%;height:auto}#mobile-menu{display:grid}.command-actions{gap:13px}.command-actions .languages{padding:3px 9px}.languages button{font-size:13px}.mobile-navigation:not([hidden]){display:grid;grid-template-columns:1fr 1fr;position:fixed;top:70px;left:0;right:0;background:#061725fa;border-bottom:1px solid #c3a25e;padding:20px;gap:5px;z-index:45;max-height:calc(100svh - 70px);overflow:auto}.mobile-navigation a{display:flex;align-items:center;gap:12px;padding:10px;font-size:15px}.mobile-navigation a.active{color:var(--gold)}.mobile-navigation .nav-medallion{width:31px;height:31px}.mobile-navigation .nav-medallion svg{width:19px;height:19px}main,.home-page main{margin:0 24px}.world-stage{height:1000px;background-size:auto 800px;background-position:43% top}.royal-hero{height:460px;padding-left:0;padding-right:0}.royal-hero h1{font-size:47px}.hero-story{max-width:560px}.royal-lead{font-size:16px;max-width:500px}.royal-signature{top:20px;bottom:auto;right:0}.royal-signature strong{font-size:21px}.feature-ribbon{margin:0 0 20px}.home-media{padding:0;grid-template-columns:1.05fr 1fr;gap:15px}.trailer-title{font-size:11px}.quick-tile>img{height:64px}.quick-tile>span{font-size:12px}.home-civilizations{margin:28px 0 15px;grid-template-columns:190px 1fr}.civ-introduction h2{font-size:31px}.civ-introduction p:not(.royal-kicker){font-size:13px}.civ-introduction .royal-kicker{font-size:9px}.civilization-card{flex-basis:100px;height:180px}.home-section-links{margin:0;flex-wrap:wrap;gap:16px}.home-section-links .art-note{width:100%;max-width:none}.royal-lower{padding:55px 0}.royal-lower .section-heading h2{font-size:34px}.footer{margin-left:0;padding:30px 24px}.footer-wordmark{font-size:24px}.page-header{padding:45px 0 30px}.section{padding:30px 0 55px}.page-content{padding-top:0}.page-header h1{font-size:44px}.section-heading h2{font-size:34px}.universe-layout{grid-template-columns:1fr 1fr;gap:25px}.universe-copy{padding:10px 0}.universe-copy h2{font-size:29px}.universe-copy>p:not(.royal-kicker),.future-note p{font-size:15px}.future-note h3{font-size:24px}.rulers-display{height:420px}.civilization-detail{grid-template-columns:1.1fr 1fr}.civilization-copy h2{font-size:39px}.civilization-copy>p{font-size:15px}.ruler-labels{font-size:12px}.civ-building{font-size:13px;gap:10px}.civ-building img{width:85px;height:85px}.community-layout{grid-template-columns:1fr 1fr}.community-box{padding:25px}.community-box h2{font-size:28px}}
@media(max-width:540px){.command-header{height:66px;padding:0 16px}.mobile-brand{width:130px}.command-actions{gap:9px}.command-actions .icon-button{width:30px;height:30px}.command-actions .languages{padding:2px 7px;gap:6px}.languages button{font-size:12px}.mobile-navigation:not([hidden]){top:66px;grid-template-columns:1fr 1fr;padding:12px}.mobile-navigation a{font-size:13px;padding:8px;gap:8px}main,.home-page main{margin:0 18px}.world-stage{background-size:auto 580px;background-position:39% 66px;height:950px;background-image:linear-gradient(0deg,#040f1d 5%,#040f1d55 33%,transparent 72%),url('assets/royal-hero.webp')}.royal-hero{height:635px;padding:0 0 25px;align-items:flex-end}.hero-story{max-width:none}.royal-kicker{font-size:9px;margin-bottom:12px;letter-spacing:.19em}.royal-hero h1{font-size:40px;line-height:1.07;letter-spacing:-.04em;margin-bottom:15px}.royal-lead{font-size:16px;line-height:1.75;text-shadow:0 1px 7px #000;margin-bottom:20px}.hero-buttons{gap:10px;display:flex;flex-wrap:wrap}.hero-buttons .button{font-size:13px;min-height:45px;padding:10px 19px}.hero-buttons .royal-button{width:100%}.hero-buttons .button-outline{width:100%}.royal-signature{top:16px;right:0;max-width:145px}.royal-signature strong{font-size:18px}.royal-signature span{font-size:8px;letter-spacing:.13em;margin-top:5px}.royal-signature i{margin-top:7px;width:25px}.feature-ribbon{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:25px}.feature-tile{min-height:88px;padding:12px 5px}.feature-tile svg{height:27px;width:27px}.feature-tile span{font-size:12px}.home-media{display:block}.trailer-frame .film-poster{aspect-ratio:2}.trailer-title{font-size:12px;padding:12px}.quick-media{grid-template-columns:repeat(2,1fr);margin-top:18px;gap:12px}.quick-tile>img{height:100px}.quick-tile>span{font-size:14px;padding:9px}.mini-play{width:22px;height:22px}.home-civilizations{display:block;margin-top:30px;padding-bottom:15px}.civ-introduction{max-width:none;margin-bottom:22px}.civ-introduction h2{font-size:35px}.civ-introduction p:not(.royal-kicker){font-size:16px;line-height:1.75}.civ-introduction .royal-kicker{font-size:10px}.civ-introduction .button{font-size:13px;padding:10px 17px}.civilization-strip{gap:10px;padding:5px 0 15px}.civilization-card{flex-basis:122px;height:207px}.civ-crest{height:38px}.civ-crest svg{height:27px;width:27px}.civ-card-art .ruler-left,.civ-card-art .ruler-right{width:170px;height:170px}.civ-card-art .ruler-left{left:-48px}.civ-card-art .ruler-right{right:-48px}.civ-card-art .human-portrait{height:170px}.civ-card-title{font-size:13px;padding-bottom:20px}.home-section-links{font-size:12px;gap:18px;line-height:1.7}.home-section-links .art-note{font-size:10px}.home-page .home-gallery{grid-template-rows:230px 190px 190px}.royal-lower{padding-top:45px;padding-bottom:45px}.royal-lower .section-heading h2{font-size:32px}.footer{padding:30px 18px 20px}.footer-links{flex-wrap:wrap;gap:14px 22px;font-size:13px;margin-top:22px}.footer-top p{font-size:20px;line-height:1.5}.footer-bottom{font-size:11px}.page-header{padding-top:35px}.page-header h1{font-size:39px;line-height:1.12}.page-header>p:last-child{font-size:16px;line-height:1.8}.page-header .section-kicker{font-size:11px}.section{padding-bottom:45px}.game-pillars{margin-top:35px}.pillar p,.film-copy p,.tip-body,.guide-intro p,.age-panel p{font-size:16px}.game-cta-links .button{font-size:13px}.age-tabs button{flex-basis:100px;font-size:12px}.age-panel h3{font-size:32px}.universe-layout{grid-template-columns:1fr}.royal-capsule{max-width:420px;margin:auto}.universe-copy{padding:0}.universe-copy h2{font-size:33px}.universe-copy>p:not(.royal-kicker),.future-note p{font-size:16px}.future-note h3{font-size:27px}.civ-selector{gap:7px}.civ-selector button{padding:8px 10px;font-size:13px;gap:6px}.civ-selector button svg{height:17px;width:17px}.civilization-detail{grid-template-columns:1fr;gap:25px;min-height:0;margin-top:15px}.rulers-display{height:370px}.rulers-display .human-capsule{object-fit:cover;object-position:top;width:100%;max-width:350px}.civilization-copy h2{font-size:40px}.civilization-copy>p{font-size:16px}.ruler-labels{font-size:14px;gap:12px}.civ-building{font-size:14px}.civ-building img{width:100px;height:90px}.news-grid{grid-template-columns:1fr;gap:28px}.news-article>div{padding:24px}.news-article h2{font-size:29px}.community-layout{grid-template-columns:1fr;gap:20px}.community-visual h2{font-size:31px}.community-box h2{font-size:30px}.contact-card strong{font-size:26px}.contact-card p{font-size:15px}#search-results{grid-template-columns:1fr;max-height:50vh}.search-panel{padding:20px}.search-panel input{font-size:16px}.age-dialog>p,.age-dialog>.text-link{margin:18px;font-size:16px}.contact-layout{gap:30px}.roadmap-note{font-size:14px}.gallery-notice{font-size:14px}}
@media(prefers-reduced-motion:reduce){.world-stage{transition:none}.civilization-card:hover{transform:none}}
/* Keep the live headline below the supplied rulers' faces. */
@media(min-width:1101px){.royal-hero{height:505px}.hero-story{isolation:isolate}.hero-story:before{content:'';position:absolute;z-index:-1;left:-28px;right:-35px;top:-18px;bottom:-25px;background:radial-gradient(ellipse at 40% 60%,#020d1bd9,transparent 73%);filter:blur(10px)}.feature-ribbon{margin-left:46%;margin-top:-86px;margin-bottom:22px}.feature-tile{min-height:82px}.royal-signature{bottom:160px}.home-civilizations{margin-top:25px}}
@media(min-width:1700px){.royal-hero{height:490px}.feature-ribbon{margin-top:-86px}.royal-signature{bottom:155px}}
@media(max-width:540px){.world-stage{background-position:22% 66px}}

/* Contrast pass: keep live text legible over bright promotional artwork. */
:root{--muted:#c3d0dc;--white:#faf7ef}
.hero-story{isolation:isolate}
.hero-story:before{content:'';position:absolute;z-index:-1;inset:-20px -30px -20px -24px;background:linear-gradient(90deg,#020c19f0 0%,#020c19d6 60%,#020c1933 94%,transparent);filter:blur(12px);border-radius:8px;pointer-events:none}
.royal-hero h1{color:#fffdf6;text-shadow:0 2px 2px #000,0 4px 16px #000e,0 0 32px #0009;-webkit-text-stroke:.2px #081323}
.royal-hero h1 em{color:#ffdb91;text-shadow:0 2px 2px #000,0 4px 16px #000f}
.royal-lead{color:#f1f5f8;text-shadow:0 1px 2px #000,0 2px 8px #000d;font-weight:500}
.hero-story .royal-kicker{color:#ffe0a0;font-size:12px;font-weight:700;text-shadow:0 1px 2px #000,0 0 8px #000}
.royal-signature{padding:12px 17px;background:linear-gradient(110deg,#03111eea,#03111ebd);border-bottom:1px solid #e1b76b8c;border-radius:3px;backdrop-filter:blur(5px);box-shadow:0 5px 22px #0005}
.royal-signature strong{color:#ffdf9d;text-shadow:0 2px 3px #000;font-weight:600;white-space:nowrap}
.royal-signature span{color:#f1f5fa;font-size:11px;letter-spacing:.12em;text-shadow:0 1px 2px #000}
.side-shell{background:linear-gradient(90deg,#020c19f5,#031323d9 61%,#03132312)}
#side-nav a{color:#f5f6f2;font-weight:600;text-shadow:0 2px 3px #000,0 0 10px #000b}
#side-nav a>span:last-child{white-space:normal;line-height:1.3;min-width:0;padding-right:7px}
#side-nav a.active{color:#ffe4ad;text-shadow:0 1px 3px #000,0 0 12px #d99a464d}
#side-nav a .nav-medallion{background:#061727f5}
.feature-tile{background:linear-gradient(135deg,#10283bf5,#030f1cf0);border-color:#d2af6b9c}
.feature-tile span{color:#f7f5ed;font-weight:500;text-shadow:0 1px 2px #000}
.feature-tile svg{color:#ffda8b}
.age-rail{background:linear-gradient(90deg,#03111dfc,#03111de6)}
.age-rail button{background:linear-gradient(90deg,#03111df5 0%,#03111dd9 45%,#03111d94),var(--age-bg) center/cover}
.age-rail button b{color:#ffe4ac;text-shadow:0 1px 3px #000}
.age-rail button small{color:#fff9ed;text-shadow:0 1px 3px #000;font-weight:500}
.age-rail h2{color:#fff4db;text-shadow:0 2px 5px #000}
.civ-introduction{background:linear-gradient(90deg,#04101eed,#04101e80);padding:8px 8px 8px 0}
.civ-introduction .royal-kicker{color:#ffdb94;font-size:10px;text-shadow:0 1px 3px #000}
.civ-introduction h2{color:#fff8e8;text-shadow:0 2px 5px #000}
.civ-introduction p:not(.royal-kicker){color:#e0e8ef;text-shadow:0 1px 3px #000}
.civ-card-title{color:#fff0bf;background:#020b16;font-weight:600;text-shadow:0 1px 2px #000;font-size:13px}
.civ-crest{background:linear-gradient(90deg,#04101dee,color-mix(in srgb,var(--civ-color) 16%,#04101d),#04101dee)}
.home-section-links{color:#f2d291}.home-section-links .art-note{color:#b1c2d0}
.royal-lower{position:relative;isolation:isolate}.royal-lower:before{content:'';position:absolute;inset:15px -10px 0;z-index:-1;background:linear-gradient(180deg,#040f1dc9,#040f1d)}
.page-header{position:relative;isolation:isolate}.page-header:before{content:'';position:absolute;inset:20px -10px 0;z-index:-1;background:linear-gradient(90deg,#03101def,#03101d91 70%,transparent);filter:blur(10px)}
.page-header h1,.section-heading h2{color:#fff9ee;text-shadow:0 2px 5px #000b}
.page-header>p:last-child{color:#dce5ee;text-shadow:0 1px 3px #000}
.royal-kicker,.section-kicker{color:#f2cd8d;text-shadow:0 1px 2px #0008}
.gallery-item .caption{color:#f3f3ed}.gallery-item .subcaption,.gallery-notice,.roadmap-note{color:#b9c9d8}
.gallery-preview:after{background:linear-gradient(0deg,#020b18f2 0%,#020b1873 30%,transparent 72%)}
.gallery-preview span{color:#fff9eb;text-shadow:0 1px 3px #000;font-weight:600}
.trailer-title,.quick-tile>span{color:#fff9ee;background:#030e1cf5;text-shadow:0 1px 2px #000}
.film-duration{background:#020d1cdb;padding:4px 7px;border-radius:2px;color:#fff3db;text-shadow:0 1px 2px #000}
.text-link,.footer-links{color:#f1d29b}.footer-bottom{color:#b4c4d1}
.community-box,.guide-intro,.news-article,.featured-film{background:#081a2cf2}
.universe-copy,.civilization-copy{padding:22px;background:linear-gradient(120deg,#061625ee,#061625c2);border-radius:3px}
.ruler-labels{color:#f2e4c6}.civ-selector button[aria-pressed=true]{box-shadow:inset 0 -2px var(--civ-color);color:#fff1ce}
.button-outline{color:#fff7e4;background:#041321f2;border-color:#e3c389;text-shadow:0 1px 2px #000}
.royal-button,.steam-gold{color:#10100b;text-shadow:none}
@media(max-width:1360px){.civ-card-title{font-size:12px}.civ-introduction .royal-kicker{font-size:10px}#side-nav a{font-size:13px}}
@media(max-width:800px){.universe-copy,.civilization-copy{padding:18px}.royal-signature span{font-size:10px}.hero-story:before{inset:-18px -24px -18px -20px;background:linear-gradient(90deg,#020c19ec,#020c19ba 72%,#020c1940)}}
@media(max-width:540px){.hero-story:before{inset:-15px -18px -20px;background:linear-gradient(180deg,#020c1950,#020c19e8 35%,#020c19fa 75%);filter:blur(9px)}.hero-story .royal-kicker{font-size:11px}.royal-signature{top:8px;bottom:auto;max-width:none;padding:5px 9px}.royal-signature strong{font-size:16px}.royal-signature span,.royal-signature i{display:none}.civ-card-title{font-size:14px}.civ-introduction .royal-kicker{font-size:11px}.home-section-links .art-note{font-size:11px}.universe-copy,.civilization-copy{padding:20px 15px}.footer-bottom{font-size:12px}}
