/* AUREN: game-first Roman civilization. All existing interaction targets are retained. */
:root{--game-navy:#422d2e;--game-ink:#423b2e;--game-gold:#d7b472;--game-paper:#f9efd8;--gold:#bc9353;--green:#765047;--red:#a15b44;--paper:#fcf5e6;--ink:#403a2e;--muted:#8a7c62;--line:#ddcba7}
body{background:#70944d}.viewport{background:#72974d}.game-mode .player-profile{background:linear-gradient(125deg,#503b37,#392b2b);border:1px solid #c7a261;border-bottom:3px solid #a07a43;box-shadow:inset 0 1px #e2c68e2b,0 5px 20px #243b2c35;border-radius:13px;padding:12px 17px 13px 10px}.game-mode .player-crest{width:48px;height:52px}.game-mode .vilko-mark{border-radius:9px;box-shadow:0 0 0 1px #d1b57670}.game-mode .game-wordmark{letter-spacing:4px;color:#e7c17e;font-size:10px}.game-mode .player-info>strong{font:700 27px/1.1 Georgia,serif;color:#fff3d1;margin-top:5px;letter-spacing:-.3px}.game-mode .player-info>small{font-size:8px;color:#ddccaa}.game-mode .level-badge{background:linear-gradient(#aa4744,#72312e);border:2px solid #e3bf79;color:#fff0c4}.game-mode .xp-track{background:#2a2422;border-color:#7e6545}.game-mode .xp-track i{background:linear-gradient(90deg,#b38c47,#e3c688)}.game-mode .village-identity{font-size:8px;letter-spacing:.6px;color:#fff5d8;text-shadow:0 2px 4px #294229}.game-mode .realm-heading{font-size:10px;letter-spacing:3px;top:30px;color:#fff5d6;text-shadow:0 2px 4px #35542b}.game-mode .realm-heading p{font:italic 17px Georgia,serif;letter-spacing:0;color:#f6f2d5;margin-top:9px}.realm-ornament{border-color:#e4c785}.game-mode .wallet-chip{background:linear-gradient(#5b4039,#3c2e2a);color:#f8edce;border-color:#d3b274;border-bottom-color:#977343;box-shadow:0 3px 12px #1c38202b;border-radius:8px;min-height:39px}.game-mode .wallet-top .preview-label{display:none}.game-mode .game-resource{background:linear-gradient(110deg,#4e5034,#343d2b);border:1px solid #c7ae77;border-bottom:3px solid #977c48;box-shadow:inset 0 1px #fff3b22e,0 3px 12px #233c233b;border-radius:9px;height:55px}.game-mode .resource-track>b{font-size:20px;font-weight:800;letter-spacing:.2px}.game-mode .resource-track>small{font-size:8px;letter-spacing:1.3px;color:#ebe0bb}.game-mode .hud-resources{width:267px;gap:12px 16px;right:28px;top:86px}.game-mode .hud-counter{background:linear-gradient(#f6edcf,#e3d6af);border:1px solid #c2a970;border-bottom:3px solid #9f8858;color:#5f5c3c;border-radius:9px;box-shadow:0 3px 10px #28422026;padding:7px 10px;gap:9px}.game-mode .hud-counter strong{font-size:14px;color:#514d34;text-shadow:none}.game-mode .hud-counter small{color:#86784e;font-size:7px}.game-mode .hud-counter .game-art{width:30px;height:30px}.game-mode .game-tool{background:linear-gradient(145deg,#fff3d7,#e6cfa2);border:1px solid #efddad;border-bottom:4px solid #987549;border-radius:11px;box-shadow:0 2px 0 #5b5030,0 5px 12px #2d44283d;color:#695235;width:61px;height:62px}.game-mode .game-tool>b{font-size:9px;letter-spacing:.2px;margin-top:3px}.game-mode .game-tool:hover{background:linear-gradient(#fff8e3,#f1ddb4);transform:translateY(-2px)}.game-mode .game-tool>span .game-art{width:37px;height:37px}.game-mode .game-tool>span svg{color:#996440;width:29px;height:29px}.game-mode .left-game-tools{left:28px;top:229px;gap:12px}.game-mode .knowledge-tool{background:linear-gradient(#f6e5bc,#dbbd7c)}.game-mode .right-game-tools .game-tool{width:40px;height:42px;border-bottom-width:3px;border-radius:8px}.game-mode .right-game-tools .game-tool svg{width:19px;height:19px;color:#88663d}.game-mode .right-game-tools{top:240px;right:30px;gap:10px}.game-mode .bottom-dock-game{background:linear-gradient(130deg,#4b3c32,#322e29);border:1px solid #cfac6d;border-bottom:4px solid #937042;border-radius:15px;padding:9px 14px 10px;box-shadow:inset 0 1px #e6cb8d30,0 8px 30px #233d2866;bottom:25px;gap:7px}.game-mode .dock-game-item{min-width:61px;padding:3px 8px 6px;color:#e8dbb8}.game-mode .dock-game-item>b{font-size:10px;margin-top:5px;letter-spacing:.3px}.game-mode .dock-game-item>span .game-art{width:36px;height:36px}.game-mode .dock-game-item>span>.vilko-mark{width:34px;height:34px}.game-mode .dock-game-item.build-highlight{background:linear-gradient(#ac7b3d,#88612d);border-color:#d6b676;border-radius:9px;color:#fff4d4;box-shadow:inset 0 1px #f4d69b4d,0 2px #2c2922}.game-mode .dock-game-item:hover{background:#9d825c2b}.game-mode .dock-game-item.build-highlight:hover{background:linear-gradient(#bd8b49,#947039)}.game-mode .token-rewards-dock{display:none}.game-mode .token-rewards-button{background:linear-gradient(110deg,#8c4241,#652f33);border:1px solid #dab379;color:#fff1cf;border-bottom:3px solid #412722;border-radius:8px;min-height:39px;box-shadow:0 3px 12px #2d342230}.game-mode .bottom-village-name{bottom:134px;color:#f7edce;text-shadow:0 2px 5px #294522}.game-mode .bottom-village-name>strong{font:700 18px Georgia,serif;letter-spacing:3px}.game-mode .bottom-village-name>span{font-size:11px;color:#e2e5c8}.game-mode .bottom-village-name>small{font-size:7px;letter-spacing:1px}.game-mode .journey-teaser{background:linear-gradient(110deg,#fcf0d3,#e2c896);border:1px solid #efd9a8;border-bottom:4px solid #a18351;border-radius:11px;width:258px;left:28px;bottom:115px;box-shadow:0 4px 15px #30472e40}.game-mode .teaser-copy>strong{font-size:13px;color:#5b4b32}.game-mode .teaser-copy>small{font-size:7px;letter-spacing:1px}.game-mode .latest-story{right:28px;bottom:115px;background:linear-gradient(110deg,#f6edd3f5,#ebd9b3ed);border:1px solid #d8bd86;border-bottom:3px solid #a88b57;border-radius:10px;width:262px;padding:13px;box-shadow:0 4px 15px #30472e40}.game-mode .latest-story strong{color:#705632;font-size:11px}.game-mode .latest-story p{color:#8c7c5b;font-size:10px;line-height:1.6}.game-mode .game-clock{left:28px;bottom:36px}.game-mode .game-clock button{background:#4b3930;border-color:#b49b63}.game-mode .contribution-chip{top:218px;right:30px;bottom:auto;background:#f6e9c8;border:1px solid #bc9b60;border-bottom:3px solid #a2814b;box-shadow:0 3px 10px #304d2a30;border-radius:8px;min-height:35px;gap:6px;padding:4px 9px}.game-mode .contribution-chip>span:last-child{font-size:9px}.game-mode .corner-links{bottom:8px;right:28px;font-size:9px;color:#eee4c7;text-shadow:0 1px 3px #354b2e}.game-mode .modal{background:#fbf3e1;border:1px solid #dec08c;border-bottom:5px solid #9f8050;border-radius:15px;box-shadow:0 20px 80px #1b291e80;max-height:88dvh}.game-mode .modal-header{background:linear-gradient(120deg,#eee0bc,#fcf3dd);border-color:#d9c89e}.game-mode .modal-header h2{font:700 28px/1.2 Georgia,serif;color:#6d3836}.game-mode .modal-header p{font-size:13px;color:#8b7857}.game-mode .modal-header .eyebrow{font-size:9px;letter-spacing:1.2px;color:#ab8650}.game-mode .modal-tabs{background:#f1e5c9;border-color:#ddc99d}.game-mode .modal-tabs button{font-size:12px;font-weight:650;min-height:47px}.game-mode .modal-tabs button.active{color:#863e3d;border-color:#9c4b43}.game-mode .btn{border-radius:7px;min-height:41px;font-size:12px;background:#f5e9cc;border:1px solid #ccb683;color:#705d3d;box-shadow:0 2px 0 #c9b181}.game-mode .btn.primary{background:linear-gradient(#9d5047,#7c3739);border-color:#b06a55;color:#fff3d8;box-shadow:inset 0 1px #edb28b3b,0 3px 0 #542d2a}.game-mode .btn.primary:hover:not(:disabled){background:linear-gradient(#ae5d51,#914342)}.game-mode .paper-card,.game-mode .production-card,.game-mode .order-card,.game-mode .building-tile{background:linear-gradient(145deg,#fff9eb,#f6ecd5);border:1px solid #dfcdab;border-radius:10px}.game-mode .paper-card h3,.game-mode .production-card h3,.game-mode .building-tile h3{color:#675234}.game-mode .body-copy,.game-mode .paper-card>p{font-size:13px;color:#887454;line-height:1.8}.game-mode .building-thumb{filter:drop-shadow(0 7px 6px #65583b26)}.game-mode .building-tile img{height:113px;object-fit:contain}.game-mode .notice{background:#f0e5c9;color:#87724e;border-color:#d9c49b;font-size:12px;line-height:1.8}.game-mode .building-actions{background:linear-gradient(115deg,#fdf2d5,#e9d4a9);border-color:#ddbd83;border-bottom:4px solid #9d7744;border-radius:12px;box-shadow:0 10px 30px #2e402c45}.game-mode .building-actions h2{color:#6d4b36}.game-mode .building-action{background:linear-gradient(#f8edcf,#dec79a);border-color:#d4b678}.game-mode .building-action.upgrade{background:linear-gradient(#9f5449,#7d393b);color:#fff2d6;border-color:#c58a67}.game-mode .building-action.upgrade small{color:#edcba4}.game-mode .move-actions{border-color:#d2b778;background:#f8edce;color:#6c5435;box-shadow:0 8px 30px #263f2b50}.game-mode .avatar.portrait{background-image:url('assets/portraits-v10.webp');background-color:#dfd2b7}.game-mode .load-track i{background:linear-gradient(90deg,#b28549,#e6cb82)}.game-launch{background:linear-gradient(90deg,#2f2827ed,#3e3327b0),url('assets/roman-hero.webp') center/cover}.game-launch .launch-card h1{letter-spacing:9px;color:#f3db9e}.game-launch .launch-eyebrow{color:#ddbd80}.game-launch .launch-tagline{color:#f5ebce}.roman-section-intro{padding:0 0 24px;border-bottom:1px solid #ddcca8;margin-bottom:24px}.roman-section-intro>span{font-size:9px;letter-spacing:1.4px;color:#ac8954;font-weight:700}.roman-section-intro h3{font:700 29px Georgia,serif;color:#6d3e37;margin:12px 0}.roman-section-intro p{font-size:13px;line-height:1.8;color:#8d7c5e;margin:0;max-width:580px}.roman-research-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.roman-technology{padding:22px;display:flex;flex-direction:column}.roman-tech-icon{margin-bottom:17px;display:flex;width:54px;height:54px;align-items:center;justify-content:center;background:#e9ddbb;border:1px solid #d5c294;border-radius:10px}.roman-tech-icon .game-art{width:38px;height:38px}.roman-tech-icon svg{width:30px;height:30px;color:#9b6b47}.roman-tier{font-size:8px;letter-spacing:1px;color:#a38d64}.roman-technology h3{font:700 21px Georgia,serif;margin:10px 0}.roman-technology p{font-size:12px;line-height:1.8;margin:0 0 14px;flex:1;min-height:62px}.roman-technology .recipe-cost{display:flex;gap:12px;margin:17px 0}.roman-technology .recipe-cost span{display:flex;align-items:center;gap:4px;font-size:11px}.roman-technology .recipe-cost .game-art{width:22px;height:22px}.roman-prereq{font-size:9px;color:#a68e64;display:block}.roman-technology.researched{border-color:#aeb98d;background:#f0f0d9}.roman-technology.researched .roman-tier{color:#85935c}.roman-commission-list{display:flex;flex-direction:column;gap:15px}.roman-commission-list .paper-card{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px}.roman-commission-list h3{margin:9px 0;font-size:23px}.roman-commission-list p{font-size:12px;margin:0 0 14px}.roman-commission-list small{font-size:10px;color:#a08557}.roman-progress{width:220px;height:5px;background:#ded2b2;margin:12px 0;border-radius:3px;overflow:hidden}.roman-progress i{display:block;height:100%;background:#a48b53}.game-mode .life-panel{border-color:#cfb079;background:#fcf3dd;border-radius:12px}.game-mode .life-heading h2{color:#764840}.game-mode .hud-player{left:28px;top:26px;width:252px}.game-mode .hud-centre{top:163px;left:28px}.game-mode .wallet-top{top:28px;right:28px}.game-mode .right-game-tools{top:278px}.game-mode .hud-resources{grid-template-columns:1fr 1fr}.game-mode .token-rewards-button img{width:23px;height:23px}
@media(min-width:1550px){.game-mode .hud-player{left:36px;top:32px;width:275px}.game-mode .hud-centre{left:36px;top:179px}.game-mode .left-game-tools{left:36px;top:250px;gap:14px}.game-mode .game-tool{width:65px;height:67px}.game-mode .right-game-tools{right:37px;top:294px}.game-mode .hud-resources{right:37px;top:93px;width:286px;gap:15px 20px}.game-mode .game-resource{height:58px}.game-mode .wallet-top{right:37px;top:32px}.game-mode .contribution-chip{right:37px;top:232px}.game-mode .journey-teaser{left:36px;width:285px;bottom:131px}.game-mode .latest-story{right:37px;bottom:131px;width:286px}.game-mode .bottom-dock-game{bottom:31px;padding:10px 18px 12px;gap:10px}.game-mode .dock-game-item{min-width:69px}.game-mode .dock-game-item>span .game-art{width:41px;height:41px}.game-mode .dock-game-item>b{font-size:11px}.game-mode .bottom-village-name{bottom:158px}.game-mode .game-clock{left:36px;bottom:41px}}
@media(max-width:1150px){.game-mode .hud-player{left:20px;top:20px;width:224px}.game-mode .player-info>strong{font-size:23px}.game-mode .hud-centre{left:20px;top:153px}.game-mode .hud-counter{padding:6px 8px;gap:7px}.game-mode .hud-counter strong{font-size:12px}.game-mode .hud-counter small{font-size:6px}.game-mode .left-game-tools{left:20px;top:215px;gap:10px}.game-mode .game-tool{width:53px;height:55px}.game-mode .game-tool>b{font-size:8px}.game-mode .game-tool>span .game-art{width:32px;height:32px}.game-mode .realm-heading{font-size:8px;top:28px;letter-spacing:2px}.game-mode .realm-heading p{font-size:13px}.game-mode .hud-resources{width:225px;right:22px;top:78px}.game-mode .wallet-top{top:23px;right:22px}.game-mode .game-resource{height:49px}.game-mode .resource-track>b{font-size:17px}.game-mode .resource-track>small{font-size:7px}.game-mode .right-game-tools{right:22px;top:264px}.game-mode .contribution-chip{right:22px;top:202px}.game-mode .journey-teaser{left:20px;width:225px;bottom:112px}.game-mode .latest-story{width:225px;right:22px;bottom:112px}.game-mode .dock-game-item{min-width:51px;padding-left:6px;padding-right:6px}.game-mode .bottom-village-name{bottom:137px}.game-mode .bottom-village-name>strong{font-size:15px}.game-mode .bottom-village-name>small{display:none}}
@media(max-width:950px){.game-mode .latest-story,.game-mode .journey-teaser{display:none}.game-mode .bottom-village-name{bottom:135px}.game-mode .realm-heading{display:none}.game-mode .game-clock{bottom:126px}.roman-research-grid{grid-template-columns:1fr 1fr}}
@media(max-width:760px){.game-mode .hud-player{left:12px;top:max(14px,env(safe-area-inset-top));width:176px}.game-mode .player-profile{padding:9px 9px 10px 7px;border-radius:10px;gap:8px}.game-mode .player-info>strong{font-size:20px}.game-mode .player-crest{width:34px;height:38px}.game-mode .game-wordmark{font-size:7px;letter-spacing:2px}.game-mode .player-info>small{font-size:6px}.game-mode .village-identity{font-size:6px;letter-spacing:0;margin-top:7px}.game-mode .hud-resources{right:15px;top:75px;width:172px;gap:8px 10px}.game-mode .game-resource{height:42px;padding:3px 10px 4px 6px;border-radius:7px}.game-mode .resource-track>b{font-size:15px}.game-mode .resource-track>small{font-size:6px;letter-spacing:.5px;margin-bottom:4px}.game-mode .wallet-top{top:17px;right:13px;gap:6px}.game-mode .wallet-chip{min-height:32px;padding:5px 8px}.game-mode .wallet-chip b{font-size:9px}.game-mode .wallet-chip .game-art{width:22px;height:22px}.game-mode .token-rewards-button{min-height:32px;padding:5px 8px;gap:5px;font-size:9px}.game-mode .token-rewards-button img{width:20px;height:20px}.game-mode .token-rewards-button>b{font-size:9px}.game-mode .token-rewards-button>span{display:none}.game-mode .hud-centre{left:12px;top:132px;gap:6px}.game-mode .hud-counter{padding:4px 6px;gap:4px}.game-mode .hud-counter .game-art{width:23px;height:23px}.game-mode .hud-counter strong{font-size:10px}.game-mode .hud-counter small{font-size:6px}.game-mode .happiness-counter{display:none}.game-mode .left-game-tools{left:12px;top:190px;gap:8px}.game-mode .game-tool{width:45px;height:48px;border-radius:8px;border-bottom-width:3px}.game-mode .game-tool>span .game-art{width:27px;height:27px}.game-mode .game-tool>span svg{width:23px;height:23px}.game-mode .game-tool>b{font-size:6px;margin-top:2px;letter-spacing:0}.game-mode .left-game-tools{display:grid;grid-template-columns:45px;gap:8px}.game-mode .right-game-tools{right:14px;top:223px;gap:8px}.game-mode .right-game-tools .game-tool{width:32px;height:34px}.game-mode .right-game-tools .game-tool svg{width:16px;height:16px}.game-mode .contribution-chip{right:14px;top:179px;min-height:30px;padding:3px 7px;gap:4px}.game-mode .contribution-chip>span:last-child{font-size:7px}.game-mode .contribution-chip>b{font-size:10px}.game-mode .contribution-chip .game-art{width:20px;height:20px}.game-mode .bottom-dock-game{bottom:max(22px,env(safe-area-inset-bottom));padding:6px 7px 7px;gap:0;max-width:calc(100% - 24px);border-radius:12px}.game-mode .dock-game-item{min-width:43px;padding:4px 5px}.game-mode .dock-game-item>span .game-art{width:29px;height:29px}.game-mode .dock-game-item>span>.vilko-mark{width:27px;height:27px}.game-mode .dock-game-item>b{font-size:8px;margin-top:5px}.game-mode .bottom-village-name{bottom:109px}.game-mode .bottom-village-name>strong{font-size:13px;letter-spacing:2px}.game-mode .bottom-village-name>span{font-size:9px}.game-mode .game-clock{left:13px;bottom:116px}.game-mode .game-clock strong{font-size:11px}.game-mode .game-clock small{font-size:6px}.game-mode .game-clock svg{width:19px}.game-mode .game-clock button{width:24px;height:24px;font-size:9px}.game-mode .zoom-tools{bottom:123px;right:14px}.game-mode .zoom-tools button{width:30px;height:30px}.game-mode .corner-links{right:12px;bottom:5px;font-size:8px;gap:12px}.game-mode .corner-links .return-home{display:none}.game-mode .modal{border-radius:11px;max-height:92dvh}.game-mode .modal-header h2{font-size:24px}.game-mode .modal-header p{font-size:12px}.game-mode .modal-tabs button{font-size:11px;min-height:44px}.game-mode .modal-body{font-size:13px}.roman-research-grid{grid-template-columns:1fr;gap:13px}.roman-technology{padding:22px}.roman-technology p{min-height:0}.roman-section-intro h3{font-size:25px}.roman-section-intro p{font-size:12px}.roman-commission-list .paper-card{flex-direction:column;align-items:stretch;padding:20px}.roman-progress{width:100%}.game-mode .building-actions{max-width:calc(100vw - 25px);bottom:104px}.game-mode .move-actions{max-width:calc(100vw - 24px)}.game-mode .token-rewards-dock{display:none}.game-mode .save-alert{bottom:99px;max-width:calc(100vw - 24px);font-size:10px}}
@media(max-height:740px) and (min-width:761px){.game-mode .left-game-tools{top:207px;gap:8px}.game-mode .left-game-tools .game-tool{width:46px;height:46px}.game-mode .game-tool>span .game-art{width:27px;height:27px}.game-mode .game-tool>b{font-size:6px}.game-mode .journey-teaser{display:none}.game-mode .bottom-village-name{bottom:127px}.game-mode .latest-story{display:none}}
@media(prefers-reduced-motion:reduce){.game-mode *{transition:none!important;animation:none!important}}
