@layer legacy{:root{--ui-text-xs:12px;--ui-text-sm:14px;--ui-text-md:16px;--ui-text-lg:18px;--ui-text-xl:24px;--ui-space-1:4px;--ui-space-2:8px;--ui-space-3:12px;--ui-space-4:16px;--ui-space-5:20px;--ui-space-6:24px;--ui-radius-sm:3px;--ui-radius-md:6px;--ui-surface-raised:#2b4338;--ui-accent-strong:#f0ce8e;--ui-danger:#c87b68;--ui-shadow:0 18px 50px #06141180;--ui-motion-screen:.28s;--player:#4a9eff;--enemy:#ff4a4a}*{box-sizing:border-box;margin:0;padding:0}html,body,#app{background:var(--bg);width:100%;height:100%;color:var(--text);-webkit-user-select:none;user-select:none;overflow:hidden}#game{cursor:default;width:100%;height:100%;display:block;position:absolute;inset:0}#hud{pointer-events:none;z-index:10;position:absolute;inset:0}#top-bar{outline-offset:1px;align-items:center;font-size:14px;display:flex;position:absolute}#civ-badge{border-right:1px solid #e8c54a40;align-items:center;gap:7px;padding:4px 12px 4px 6px;display:flex}#civ-badge .cb-emblem{font-size:20px}#civ-badge .cb-name{color:var(--gold);font-weight:700}.res{border-radius:8px;align-items:center;gap:6px;display:flex}#selection-info{color:var(--text-dim);min-width:130px;font-size:13px}#fps{color:#6c6450;font-size:11px}.hidden{display:none!important}#top-bar .res{color:var(--text);font-size:14px}#top-bar .res b{color:var(--gold);font-weight:700}#top-bar .res.supply b{color:#8fd0ff}#top-bar .res small{color:var(--text-dim);font-size:11px}#build-menu-container{pointer-events:auto;position:absolute;bottom:12px;left:12px}#build-menu-trigger{letter-spacing:1.6px;cursor:pointer;-webkit-user-select:none;user-select:none;text-shadow:1px 1px 2px #000;align-items:center;gap:8px;min-height:46px;font-weight:700;transition:border-color .18s,transform .18s,background .18s;display:flex}#build-menu-trigger:hover{border-color:var(--gold);background:linear-gradient(180deg, #724d24fa, #2d1c0dfc), var(--panel);transform:translateY(-1px)}#build-menu-container.open #build-menu-trigger{border-color:var(--gold);box-shadow:0 12px 32px #000000a3,0 0 0 2px #d4af371f}.bm-trigger-arrow{color:#d4af3799;margin-left:auto;font-size:9px;transition:transform .3s;display:inline-block}#build-menu-container.open .bm-trigger-arrow{color:#f7ecd3;transform:rotate(180deg)}#build-menu{overscroll-behavior:contain;opacity:0;visibility:hidden;pointer-events:none;transform-origin:0 100%;flex-direction:column;align-items:stretch;gap:9px;transition:transform .2s cubic-bezier(.2,.8,.2,1),opacity .16s,visibility 0s linear .2s;display:flex;position:absolute;overflow:hidden auto;transform:translateY(8px)scale(.98)}#build-menu-container.open #build-menu{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s;transform:translateY(0)scale(1)}button:focus-visible,input:focus-visible,#build-menu-trigger:focus-visible{outline-offset:2px;outline:3px solid #8fd0ff}.build-group{flex-direction:column;gap:6px;display:flex}.build-group-cards{grid-template-columns:repeat(4,minmax(0,1fr))}.bcard{height:66px;color:var(--text);cursor:pointer;border:1px solid #e8c54a2e;justify-content:center;transition:transform .15s ease-out,border-color .15s,background .15s;position:relative}.bcard:hover{box-shadow:0 7px 16px #00000057,inset 0 1px #ffffff14}.bcard.active{background:linear-gradient(145deg,#8d2c28 0%,#451412 100%);border-color:#d99066;transform:translateY(-2px);box-shadow:0 4px 8px #0000004d,inset 0 1px 3px #fff3}.bcard.disabled,.bcard:disabled{background:#0c0d11b8;border-color:#ffffff12}.bcard .ic{text-shadow:0 2px 4px #000000a6;font-size:21px}.bcard.active .ic{text-shadow:1px 1px 2px #0009}.bcard .nm{text-overflow:ellipsis;max-width:100%;overflow:hidden}.bcard.active .nm{color:#f7ecd3}.bcard .cost{font-weight:600}.bcard.active .cost{color:#f2d982}.bcard .hot{font-weight:600;position:absolute}.bcard.active .hot{color:#f2d982}#building-panel{border:1px solid var(--panel-border);pointer-events:auto;position:absolute}#bp-title{color:var(--gold);margin-bottom:8px;font-weight:700}#bp-trains{flex-wrap:wrap}.tcard{color:var(--text);cursor:pointer;border:1px solid #ffd7002e;flex-direction:column;justify-content:center;align-items:center;display:flex;position:relative}.tcard .ic{font-size:20px}.tcard .nm{color:var(--text-dim)}#bp-queue{align-items:center;min-height:26px;margin-top:8px}.qitem{border:1px solid var(--panel-border);background:#ffffff0f;border-radius:6px;justify-content:center;align-items:center;font-size:13px;display:flex;position:relative;overflow:hidden}.qitem .prog{background:#5fd0ff59;position:absolute;top:0;bottom:0;left:0}#bp-hint{color:var(--text-dim);margin-top:6px}#minimap{pointer-events:auto;cursor:pointer;outline-offset:1px;background:#0b0e16;position:absolute;bottom:12px;right:12px}#building-panel{outline-offset:1px}@keyframes logo-glow{0%{filter:drop-shadow(0 4px 10px #0009)}to{filter:drop-shadow(0 4px 16px #e8c54a40)drop-shadow(0 4px 8px #0009)}}.sr-only{clip:rect(0, 0, 0, 0);border:0;margin:-1px;padding:0}@keyframes mm-fade{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes mm-spin{to{transform:rotate(360deg)}}#gameover{pointer-events:auto;z-index:40;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}#go-title{color:var(--gold);text-shadow:0 0 30px #e8c54a80}#go-title.lose{color:var(--enemy);text-shadow:0 0 30px #ff4a4a80}#go-restart{cursor:pointer;padding:14px 36px;font-size:18px;font-weight:700}#top-bar{flex-wrap:wrap;justify-content:center;max-width:96vw}@media (width<=640px){#top-bar{flex-wrap:nowrap;max-width:calc(100vw - 96px);font-size:12px}#civ-badge{gap:4px;padding:2px 7px 2px 3px}#civ-badge .cb-emblem{font-size:17px}#top-bar .res{gap:3px;padding:3px 6px;font-size:12px}#top-bar .res small{font-size:9px}#selection-info{text-align:center;background:#0e0b07eb;border-radius:6px;width:max-content;min-width:0;max-width:80vw;padding:3px 8px;font-size:11px;position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%)}#build-menu-container{bottom:6px;left:6px}#build-menu{overscroll-behavior-x:contain}#minimap{width:144px;height:90px;bottom:6px;right:6px}}#help-container{z-index:25;position:absolute}#help-btn{border:1px solid var(--panel-border);background:var(--panel);width:28px;height:28px;color:var(--gold);cursor:pointer;pointer-events:auto;border-radius:50%;justify-content:center;align-items:center;font-size:16px;font-weight:700;transition:all .15s;display:flex;box-shadow:0 2px 8px #0006}#help-btn:hover{background:var(--gold);color:#000;border-color:var(--gold)}#help-tooltip{background:var(--panel);border:1px solid var(--panel-border);width:280px;color:var(--text);pointer-events:auto;border-radius:8px;padding:12px 16px;font-size:13px;line-height:1.5;position:absolute;top:35px;right:0;box-shadow:0 4px 15px #00000080}#help-tooltip h4{color:var(--gold);font-family:var(--font-display);border-bottom:1px solid var(--panel-border);margin:0 0 8px;padding-bottom:4px;font-size:14px}#help-tooltip ul{margin:0;padding-left:18px}#help-tooltip li{margin-bottom:6px}#pause-modal{pointer-events:auto;z-index:40;background:#05080eb8;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.pause-box{text-align:center;flex-direction:column;gap:15px;width:320px;padding:30px;display:flex}.pause-box h2{color:var(--gold);margin-bottom:5px}.pause-btn{cursor:pointer;border:1px solid var(--panel-border);color:var(--text);background:#ffffff14;border-radius:8px;padding:12px;font-size:15px;font-weight:600;transition:all .15s}.pause-btn:hover{background:var(--gold);color:#000;border-color:var(--gold)}.pause-btn.danger{color:#ff6b6b;background:#dc354533;border-color:#dc354566}.pause-btn.danger:hover{color:#fff;background:#dc3545;border-color:#dc3545}#selection-panel{background:var(--panel);border:1px solid var(--panel-border);outline-offset:1px;pointer-events:auto;z-index:10;display:flex;position:absolute;bottom:12px;transform:translate(-50%)}.sel-mode{align-items:center;width:100%;height:100%;display:flex}#sel-portrait{flex-shrink:0;justify-content:center;align-items:center;margin-right:12px;font-size:32px;display:flex}#sel-details{flex-direction:column;flex-grow:1;justify-content:center;display:flex}#sel-name{color:var(--gold);margin-bottom:2px;font-weight:700}#sel-stats{margin-bottom:4px;font-size:11px}#sel-desc{text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}#sel-grid{flex-wrap:wrap;flex-grow:1;padding-right:4px;display:flex;overflow-y:auto}#sel-grid::-webkit-scrollbar{width:4px}#sel-grid::-webkit-scrollbar-thumb{background:var(--panel-border);border-radius:2px}.sel-grid-item{justify-content:center;align-items:center;font-size:14px;transition:all .1s;display:flex}#sel-multi-summary{color:var(--gold);flex-shrink:0;margin-left:8px;font-size:10px;font-weight:600}#formation-stance-panel{pointer-events:auto;z-index:100;border:2px solid #8b5a2b;border-width:2px 5px;align-items:center;gap:12px;transition:bottom .3s cubic-bezier(.25,.8,.25,1);display:flex;position:absolute;bottom:12px}#formation-stance-panel.hidden{display:none!important}.hud-group{align-items:center;gap:6px;display:flex}.hud-group-label{font-family:var(--font-display);color:var(--gold);text-transform:uppercase;letter-spacing:1px;margin-right:4px;font-size:10px}.hud-btn{color:#f7ecd3;cursor:pointer;text-shadow:1px 1px 2px #000;justify-content:center;align-items:center;padding:5px 9px;font-size:14px;transition:all .2s;display:flex}.hud-btn:hover{border-color:var(--gold);background:#ffd70026}.hud-sep-v{background:#e8c54a40;width:1px;height:20px;margin:0 4px}@media (width<=900px){#top-bar{flex-wrap:nowrap;max-width:calc(100vw - 96px)}#selection-info{text-align:center;background:#0e0b07eb;border-radius:6px;width:max-content;min-width:0;max-width:80vw;padding:3px 8px;font-size:11px;position:absolute;top:calc(100% + 4px);left:50%;transform:translate(-50%)}#minimap,#building-panel,#selection-panel{bottom:68px}#sel-portrait{margin-right:8px;font-size:26px}#formation-stance-panel{gap:5px;max-width:calc(100vw - 24px)}.hud-group{gap:4px}.hud-group-label{display:none}.hud-btn{min-width:36px;min-height:36px;padding:5px 7px}}@media (width<=640px){#help-btn{width:36px;height:36px}#minimap{bottom:56px}#selection-panel{bottom:56px;transform:none}#sel-desc{display:none}#formation-stance-panel{bottom:6px!important}.hud-btn{min-width:40px;min-height:40px}#build-menu-container{bottom:6px;left:6px}#build-menu-trigger{min-height:44px}#build-menu{gap:8px;overflow-x:hidden}.build-group-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.bcard{height:62px}}:root{--gold:#d8b27a;--gold-dim:#a78d65;--bg:#122124;--panel:#17282b;--panel-border:#405052;--text:#e8e5d7;--text-dim:#a7b4ae}button{touch-action:manipulation}button:focus-visible{outline-offset:3px;outline:2px solid #e2c48b}.piece-portrait{object-fit:contain;pointer-events:none;width:48px;height:48px}#top-bar{outline:0;top:14px;left:16px;transform:none}#civ-badge .cb-name{font-family:inherit;font-size:12px}.res{background:0 0;border:0;padding:4px 8px}#selection-info,#fps{display:none}#attack-alert{z-index:150;pointer-events:auto;color:#ffe2d6;background:linear-gradient(100deg,#4c1a12f7,#2b1612f7);border:1px solid #d9765c;border-radius:4px;align-items:stretch;width:max-content;max-width:calc(100vw - 32px);animation:.28s ease-out attack-alert-in;display:flex;position:absolute;top:max(64px,9vh);left:50%;overflow:hidden;transform:translate(-50%);box-shadow:0 10px 30px #000a,0 0 0 1px #0007}#attack-alert[hidden]{display:none}#attack-alert.alert-castle{background:linear-gradient(100deg,#6c160ff9,#3c120ef9);border-color:#ff8a6a}#attack-alert button{color:inherit;box-shadow:none;cursor:pointer;background:0 0;border:0;border-radius:0;margin:0}#attack-alert button:hover{background:#ffffff12}#attack-alert button:focus-visible{outline-offset:-3px;outline:2px solid #ffcbbb}#attack-alert .alert-look{text-align:left;min-height:52px;font:600 15px/1.25 var(--font-ui);align-items:center;gap:12px;padding:8px 14px 8px 10px;display:flex}#attack-alert .alert-icon{background:#d9765c38;border:1px solid #ff9a7a99;border-radius:50%;flex:none;place-items:center;width:32px;height:32px;font-size:16px;line-height:1;display:grid}#attack-alert .alert-text{min-width:0}#attack-alert .alert-action{color:#ffcbbb;font:600 12px var(--font-ui);white-space:nowrap;align-items:center;gap:6px;margin-left:8px;display:flex}#attack-alert kbd{font:600 11px var(--font-ui);color:#ffcbbb;border:1px solid #ffb59f88;border-radius:2px;padding:1px 5px}#attack-alert .alert-close{color:#ffcbbb;border-left:1px solid #d9765c55;flex:none;width:40px;font-size:20px;line-height:1}#attack-alert .alert-timer{transform-origin:0;pointer-events:none;background:#ff9a7a;width:100%;height:2px;animation:8s linear forwards attack-alert-timer;position:absolute;bottom:0;left:0}@keyframes attack-alert-in{0%{opacity:0;transform:translate(-50%,-8px)}}@keyframes attack-alert-timer{to{transform:scaleX(0)}}@media (prefers-reduced-motion:reduce){#attack-alert{animation:none}}@media (width<=700px){#attack-alert .alert-look{min-height:44px;font-size:13px}#attack-alert .alert-action{display:none}}#match-status{background:var(--panel);border:1px solid var(--panel-border);pointer-events:auto;border-radius:3px;flex-wrap:wrap;justify-content:center;align-items:center;display:flex;position:absolute;top:14px;left:50%;transform:translate(-50%)}#match-status>.mode-label{display:none}#match-status>small{text-align:center;color:#a9b6aa;width:100%;font-size:10px}#match-clock{font:500 13px var(--font-ui);font-variant-numeric:tabular-nums;color:#bac6b8}kbd{font:500 10px var(--font-ui);color:#a6b5a4}#minimap{border-radius:3px;outline:0;width:208px;height:130px;bottom:34px;left:16px;right:auto}#build-menu-container{max-width:calc(100vw - 32px);bottom:174px;left:16px}#build-menu-trigger{outline:0;width:100%;font-size:11px}#build-menu{outline:0;width:530px;max-width:calc(100vw - 32px);max-height:55vh;left:0;overflow:auto}.bcard,.tcard{box-shadow:none;background:#243837;border-color:#4c6154;border-radius:3px;font-family:inherit}.bcard .ic,.tcard .ic{display:block}.bcard .nm,.tcard .nm{letter-spacing:0}.bcard .cost,.tcard .cost{color:#d1b881}.bcard:hover,.tcard:hover{background:#3d5143;border-color:#d1b881;transform:none}#building-panel{box-shadow:none;outline:0}#bp-title{font:650 14px var(--font-body);letter-spacing:0}#bp-hint{font-size:10px;line-height:1.5}.qitem .piece-portrait{width:28px;height:28px}#selection-panel{width:405px;box-shadow:none;border-radius:3px;outline:0;padding:10px;bottom:105px;left:50%}#sel-name{letter-spacing:0}#sel-desc{font-size:10px;line-height:1.4}#sel-portrait{background:#253936;border:0;border-radius:2px;width:59px;height:64px}#sel-portrait .piece-portrait{width:64px;height:64px}#sel-grid{overflow:auto}.sel-grid-item{border-radius:2px}.sel-grid-item .piece-portrait{width:29px;height:29px}#formation-stance-panel{border-radius:3px;outline:0;padding:5px 8px;left:50%;transform:translate(-50%);bottom:207px!important}.hud-group-label{font:9px var(--font-body)}.hud-btn{border-radius:2px;width:29px;height:27px}#help-container{top:15px;right:16px}.pause-box{background:#172a2c;border:1px solid #68715b;border-radius:4px;box-shadow:0 15px 70px #0006}.pause-box h2,#go-title{letter-spacing:-.4px}#gameover{background:#112225ed;gap:20px}#go-title{text-align:center;max-width:90vw}#match-summary{color:#b7c2ad;font-size:16px}#go-restart{color:#18292b;background:#d6b17a;border:0;border-radius:3px;font-family:inherit}@media (width>=1050px) and (width<=1400px){#match-status{left:auto;right:65px;transform:none}}@media (width<=1049px){#match-status{top:67px}#selection-panel{width:300px}#minimap{width:175px;height:110px}#build-menu-container{bottom:154px}#building-panel{width:180px}}@media (width<=849px){#top-bar{top:8px;left:8px}#civ-badge{padding:3px}.cb-emblem{display:none}#minimap{width:128px;height:80px;bottom:100px;left:8px}#build-menu-container{bottom:188px;left:8px}#selection-panel{min-width:0;bottom:100px}#formation-stance-panel{display:none}#build-menu{width:calc(100vw - 16px)}}@media (prefers-reduced-motion:reduce){:root:not([data-reduced-motion=false]) *,:root:not([data-reduced-motion=false]) :before,:root:not([data-reduced-motion=false]) :after{transition:none!important;animation:none!important}}#formation-stance-panel{box-shadow:none;background:#172a2c;border:1px solid #435a50}.hud-btn{box-shadow:none;background:#283e3a;border:1px solid #4b5c4e}.hud-btn.active{box-shadow:none;background:#657451;border-color:#b0b388}#sel-multi-summary,#sel-name{font-family:inherit}.sel-grid-item{cursor:pointer;background:#2b413d;border:1px solid #53675a;padding:0}.sel-grid-item:hover{background:#4e624a;border-color:#ddc293}@media (width<=849px){#selection-panel{padding:8px;bottom:100px}#sel-single{gap:7px}#sel-details{display:flex}#sel-portrait{width:42px;min-width:42px;height:60px;display:flex}#sel-portrait .piece-portrait{width:48px;height:58px}#sel-stats{font-size:9px}#sel-desc{display:none}#sel-multi-summary{font-size:11px}.sel-grid-item,.sel-grid-item .piece-portrait{width:29px;height:29px}}#heritage-bar{pointer-events:auto;flex-direction:column;gap:6px}#heritage-bar>span{color:#ddd9bd;font-size:12px;font-weight:650}#age-research{text-align:left;color:#18292b;cursor:pointer;background:#d6b17a;border:1px solid #917f5c;font-weight:600}#age-research:disabled{color:#a7b19e;cursor:default;background:#33463c;border-color:#4d5e4e}#heritage-dialog.hidden{display:none}.heritage-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0 18px;display:grid}.heritage-card{text-align:left;color:#e7e4ce;border:1px solid #5a6b55;border-top:4px solid var(--civ-accent);cursor:pointer;background:#263b36;border-radius:3px;flex-direction:column;align-items:stretch;padding:18px;transition:background .15s,transform .15s;display:flex;position:relative}.heritage-card:hover,.heritage-card:focus-visible{background:#3a4f3e;transform:translateY(-4px)}.heritage-card .piece-portrait{width:100%;height:150px}.heritage-card small{color:#c9b793;text-transform:uppercase;letter-spacing:1.3px;font-size:10px;font-family:var(--font-display)}.heritage-card strong{margin:10px 0;font-size:21px}.heritage-card>span{color:#dcbe80;font-size:13px}.heritage-card em{color:#a4b5a4;margin-top:18px;font-size:11px;font-style:normal;line-height:1.6}@media (width<=849px){#heritage-bar{gap:4px}.heritage-cards{grid-template-columns:1fr;gap:9px;margin:16px 0}.heritage-card{grid-template-columns:75px 1fr;gap:4px 12px;padding:12px;display:grid}.heritage-card .piece-portrait{grid-row:span 4;align-self:center;width:75px;height:110px}.heritage-card strong{margin:3px 0;font-size:18px}.heritage-card em{margin-top:4px}}@media (prefers-reduced-motion:reduce){.heritage-card{transition:none}}.heritage-bar-heading{color:#ded8bd;justify-content:space-between;align-items:center;gap:8px;font-weight:650;display:flex}#heritage-toggle{color:#d8b27a;cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:3px;font-size:11px}#age-research.choice-ready{background:#ddbd85;box-shadow:inset 3px 0 #f1dfb6}#heritage-dialog{z-index:70;pointer-events:auto;background:#172a2bf7;flex-direction:column;width:420px;max-width:calc(100vw - 32px);padding:0;display:flex;position:absolute;inset:108px 16px 24px auto;overflow:hidden}#heritage-dialog>header{flex:none;justify-content:space-between;align-items:center;padding:17px 20px 13px;display:flex}#heritage-dialog>header small{color:#c8ad7b;letter-spacing:1.6px;font-size:9px}#heritage-dialog h2{letter-spacing:-.4px;margin:5px 0 0}#heritage-close{color:#d9dfc9;cursor:pointer;background:#273e35;border:1px solid #56694f;border-radius:3px;width:32px;height:32px;font-size:20px}.heritage-content{overscroll-behavior:contain;padding:13px 20px 20px;overflow:auto}.heritage-content h3{color:#e3d6b7;margin:18px 0 10px;font-size:15px}#heritage-dialog .heritage-cards{flex-direction:column;gap:9px;margin:0;display:flex}#heritage-dialog .heritage-card{border-top:1px solid #5a6b55;border-left:3px solid var(--civ-accent);flex-direction:row;align-items:center;gap:10px;padding:9px 12px 9px 3px;display:flex}#heritage-dialog .heritage-card:hover{transform:translate(-2px)}#heritage-dialog .heritage-card .piece-portrait{flex:none;width:68px;height:84px}.heritage-card-copy{flex-direction:column;gap:4px;display:flex}.heritage-card-copy strong{margin:0;font-size:16px}.heritage-card-copy span{color:#dcc08b;font-size:11px}.heritage-card-copy em{margin:2px 0 0;font-size:10px}@media (width<=849px){#heritage-dialog{width:auto;max-width:none;inset:auto 8px 8px}.heritage-content,#heritage-dialog>header{padding:12px 16px}}#heritage-dialog{justify-content:flex-start;align-items:stretch}.heritage-content{min-height:0}#battle-menu{color:#d8c799;pointer-events:auto;cursor:pointer;background:#192e2f;border:1px solid #536658;border-radius:50%;width:34px;height:34px;position:fixed;top:16px;right:60px}#selection-panel{bottom:26px}#formation-stance-panel{bottom:132px!important}#resource-wood{color:#d1b48b}#heritage-dialog{border:1px solid #b29a68;border-radius:8px 2px;box-shadow:inset 0 0 0 4px #233b35,0 15px 45px #081c22aa}#heritage-dialog>header{background:linear-gradient(110deg,#384639,#182e30);border-bottom:1px solid #9f895b}#heritage-dialog h2{font:26px var(--font-body);color:#ecd8aa}.culture-dossier{color:#e3c995;border-block:1px solid #7e735246;margin-top:16px;padding:12px 0;font-size:12px;line-height:1.65}.culture-dossier summary{cursor:pointer}.legacy-choice{text-align:left;color:#e6dbc0;cursor:pointer;background:#283e34;border:1px solid #6f785b;border-radius:3px;flex-direction:column;gap:5px;width:100%;margin-top:8px;padding:12px;display:flex}.legacy-choice span{font-size:11px}.legacy-choice small{color:#c9b384;font-size:10px}.legacy-choice:disabled{opacity:.45;cursor:default}.legacy-choice:not(:disabled):hover{background:#43523b;border-color:#d8b77f}.heritage-card-copy span{line-height:1.55}.culture-choice{border:1px solid #50634f;border-left:3px solid var(--civ-accent);background:#203632;border-radius:3px;min-width:0;overflow:hidden}#heritage-dialog .culture-choice .heritage-card{box-sizing:border-box;background:0 0;border:0;border-radius:0;width:100%;padding:10px 12px 8px 3px}#heritage-dialog .culture-choice .heritage-card:hover{background:#324a3b;transform:none}#heritage-dialog .culture-choice .heritage-card:focus-visible{outline-offset:-3px;outline:2px solid #e2c48b;transform:none}#heritage-dialog .culture-choice .heritage-card .piece-portrait{width:62px;height:84px}.culture-choice .heritage-card-copy{overflow-wrap:anywhere;gap:3px;min-width:0}.culture-choice .heritage-card-copy>small{letter-spacing:.6px;font-size:9px}.culture-choice .heritage-card-copy .choice-unit{color:#e4d6b7;font-size:11px}.culture-choice .heritage-card-copy .choice-unit-stats{color:#b8c5ad;font-size:10px}.culture-choice .heritage-card-copy .choice-action{color:#e6c589;margin-top:5px;font-size:10px;font-style:normal}.choice-facts{padding:0 12px 10px}.choice-legacy{color:#e2c98f;background:#132b29;border-left:2px solid #af9867;margin:0 0 9px;padding:7px 8px;font-size:11px;line-height:1.45}.choice-era{color:#a6b4a4;font-size:9px}.choice-effects{flex-wrap:wrap;gap:5px;margin:5px 0 0;padding:0;list-style:none;display:flex}.choice-effects li{color:#c8d5ac;overflow-wrap:anywhere;border:1px solid #526348;border-radius:2px;padding:4px 6px;font-size:10px;line-height:1.4}.choice-effects .tradeoff{color:#e0b3a3;background:#452e251f;border-color:#79594b}.choice-details{border-top:1px solid #465b47;padding:0 12px}.choice-details summary{cursor:pointer;color:#bfc4ad;padding:8px 0;font-size:10px}.choice-details summary:focus-visible{outline-offset:2px;outline:2px solid #e2c48b}.choice-details>p{color:#c7cbb6;margin:3px 0 8px;font-size:11px;line-height:1.65}.choice-monument{color:#d9c18f;align-items:center;gap:9px;padding-bottom:10px;font-size:11px;display:flex}.choice-monument .piece-portrait{width:48px;height:48px;display:block}@media (width<=400px){.choice-facts{padding-inline:9px}#heritage-dialog .culture-choice .heritage-card{gap:6px;padding-right:8px}#heritage-dialog .culture-choice .heritage-card .piece-portrait{width:52px}}@media (width<=849px){#selection-panel,#minimap{bottom:18px}#build-menu-container{bottom:108px}#formation-stance-panel{bottom:126px!important}}@media (width<=600px){#selection-panel{bottom:84px}}@media (width<=360px){#selection-panel{bottom:70px}}#selection-info,#sel-desc{display:none!important}#match-status{gap:9px;width:276px;padding:7px 10px}.heritage-bar-heading{font-size:11px}#age-research{padding:6px 8px;font-size:11px}#build-menu-container.hidden{display:none!important}#build-menu-container{z-index:90}#build-menu{padding:14px}.bcard{min-height:116px}.bcard .ic{width:68px}.bcard .ic .piece-portrait{width:68px;height:58px}.bcard .nm{color:#e0dbc5;text-align:center;width:100%;display:block!important}.bcard .cost{font-size:10px}.bcard .hot{font-size:8px}.bcard[hidden]{display:none!important}.heritage-bar-heading span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#resource-food{color:#bdca87}.tcard .cost{font-size:10px}@media (width>=1050px) and (width<=1400px){#match-status{width:276px}}@media (width>=850px) and (width<=1049px){#match-status{top:66px}}@media (width<=849px){#match-status{width:calc(100% - 16px);top:52px}#income{display:none}#build-menu{max-height:52vh;overflow:auto}#heritage-dialog{max-height:55vh}}@media (width>=850px){#match-status{right:104px}}@media (width<=849px){#top-bar{max-width:calc(100% - 105px);font-size:9px}#civ-badge{display:none}#battle-menu{right:51px}}#match-status.conquest-status>.mode-label{display:inline}#match-status.conquest-status time{color:#e0ddcb}#match-failure{z-index:10000;color:#e8dfc6;text-align:center;background:#142623f5;flex-direction:column;justify-content:center;align-items:center;gap:20px;display:flex;position:fixed;inset:0}#match-failure p{max-width:440px;line-height:1.6}#match-failure button{border-radius:3px;font-family:inherit;font-size:14px;font-weight:600}.seat-controls label{gap:5px;font-size:11px;display:grid}.seat-controls select{color:#eee4c9;width:100%;min-width:0;min-height:36px;font:12px var(--font-body);background:#142823;border:1px solid #74816a;border-radius:3px;padding:7px}.seat-controls select:disabled{opacity:.65}.seat-controls select:focus-visible{outline-offset:2px;outline:2px solid #d0b679}#match-roster{z-index:25;pointer-events:auto;color:#e6dfc7;font:12px var(--font-body);position:absolute;top:74px;right:16px}#match-roster summary{cursor:pointer;background:#162b27ed;border:1px solid #877f5e;border-radius:3px;width:max-content;margin-left:auto;padding:8px 12px}#match-roster summary:focus-visible{outline-offset:3px;outline:2px solid #d0b679}#match-roster ol{box-sizing:border-box;background:#142722f5;border:1px solid #877f5e;border-radius:3px;width:min(285px,100vw - 32px);max-height:min(470px,55vh);margin:6px 0 0;padding:7px 12px;list-style:none;overflow:auto;box-shadow:0 10px 30px #0006}#match-roster li{border-bottom:1px solid #8c956330;align-items:center}#match-roster li:last-child{border-bottom:0}#match-roster li>b{border:1px solid var(--seat-color);width:25px;height:25px;color:var(--seat-color);border-radius:50%;flex:none;place-items:center;display:grid}#match-roster li>div{gap:4px;min-width:0;display:grid}#match-roster strong{font:500 14px var(--font-body);overflow-wrap:anywhere}#match-roster small{color:#b9c4ac;font-size:10px}#match-roster .is-defeated{opacity:.6}@media (width<=600px){#match-roster{top:108px;right:8px}}#performance-report{z-index:26;pointer-events:auto;color:#e5ddc8;font:11px var(--font-body);cursor:pointer;background:#182b25ed;border:1px solid #938364;border-radius:3px;padding:7px 11px;position:absolute;top:115px;left:50%;transform:translate(-50%)}#performance-report:focus-visible{outline-offset:3px;outline:2px solid #d0b679}html,body,#app,button,input,select,textarea{font-family:var(--font-body)}#heritage-dialog h2,.pause-box h2,#go-title{font-family:var(--font-display);font-size:32px;line-height:1.15}#bp-title,#sel-name{font-family:var(--font-display);font-size:23px;line-height:1.15}.bcard .nm,.tcard .nm{font-family:var(--font-body);font-size:12px;line-height:1.25}.culture-manuscript{color:#cbbb98;text-align:left;background:linear-gradient(110deg,#28271f,#191e1a);border:1px solid #a38b59;padding:19px 23px;position:relative;box-shadow:inset 0 0 0 3px #191e1a,inset 0 0 0 4px #a991622b}.culture-manuscript>small{color:#ac9870;font:11px/1.4 var(--font-body);letter-spacing:.06em;display:block}.culture-manuscript h3{color:#d6bb7f;font:400 34px/1.1 var(--font-display);margin:6px 0 10px}.culture-manuscript .manuscript-intro{font:italic 14px/1.55 var(--font-body);color:#b9ac91;margin:0 0 12px}.culture-manuscript .manuscript-intro:first-letter{float:left;font:34px/.9 var(--font-body);color:#c0a371;padding:4px 6px 0 0}.culture-manuscript ul{font:12px/1.65 var(--font-body);margin:10px 0;padding:0 0 0 16px}.culture-manuscript li{margin:5px 0;padding-left:3px}.culture-manuscript li::marker{color:#956f36}.culture-manuscript .manuscript-legacy{color:#c9b584;font:13px/1.45 var(--font-body);border-bottom:1px solid #9e865b44;margin:0 0 12px;padding:8px 0}.manuscript-benefits h4{color:#d6bb7f;font:400 24px/1.1 var(--font-display);margin:0 0 5px}.manuscript-benefits ul{margin:5px 0 10px}.culture-manuscript dl{font:12px/1.45 var(--font-body);border-top:1px solid #9e865b66;grid-template-columns:110px 1fr;gap:7px 12px;margin:14px 0 0;padding-top:12px;display:grid}.culture-manuscript dt{color:#a89164}.culture-manuscript dd{color:#d5c5a3;margin:0}.manuscript-doctrine{border-top:1px solid #9e865b44;margin-top:12px;padding-top:8px}.manuscript-doctrine summary{cursor:pointer;color:#bba475;font-size:13px}.manuscript-doctrine .manuscript-intro{margin:10px 0 0}.manuscript-doctrine summary:focus-visible{outline-offset:3px;outline:1px solid #c7a667}#heritage-dialog .culture-manuscript p,#heritage-dialog .culture-manuscript h3{color:#d6bb7f}#top-bar{background:#192b28f5;border:1px solid #837659;border-radius:2px;box-shadow:0 3px 12px #08171140}#top-bar .res{border-left:1px solid #b0a07830;border-radius:0;padding-inline:10px}#match-status.conquest-status{background:#192b28ed;border:1px solid #837659;border-radius:2px;gap:9px;min-width:0;padding:9px 13px;left:auto;right:112px;transform:none}#match-status.conquest-status>.mode-label{font:400 12px var(--font-body);letter-spacing:0;text-transform:none;color:#cbb990}#match-status.conquest-status time{font:13px var(--font-body);font-variant-numeric:tabular-nums}#age-research,#heritage-toggle,#build-menu-trigger{box-shadow:none;font-family:var(--font-body);border-radius:2px}#build-menu-trigger{color:#e4d8bb}#build-menu{border-radius:3px}#build-menu button{box-shadow:none;border-radius:2px}#building-panel{scrollbar-color:#8f805b #192b28;background:#192b28f5;border-color:#837659;border-radius:3px}#landmark-studies{border-top:1px solid #b5a07255;gap:7px;margin-top:12px;padding-top:10px;display:grid}#landmark-studies[hidden],#legacy-ribbon[hidden]{display:none}#landmark-studies h3{color:#ead9b2;margin:0 0 4px}.monument-status{color:#c4b899;font:11px/1.5 var(--font-body);margin:3px 0}#legacy-ribbon{pointer-events:auto;background:#192b28d9;border:1px solid #83765980;border-radius:2px;align-items:start;gap:9px;padding:5px 10px;display:flex;position:absolute;top:68px;left:286px}.legacy-era{justify-items:center;gap:3px;min-width:30px;display:grid}.legacy-era>small{color:#c5b287;font:10px var(--font-body)}.legacy-shield{color:#e3d2a3;width:40px;height:40px;box-shadow:none;cursor:help;background:0 0;border:0;border-radius:0;flex:none;padding:0;display:inline-flex;position:relative}.legacy-shield svg{width:100%;height:100%;overflow:visible}.seal-body{fill:#283c33;stroke:var(--seal-color,#b49a66);stroke-width:1.6px}.legacy-shield:hover,.legacy-shield:focus-visible{color:#fff0c6;background:0 0;transform:none}.seal-tip{z-index:60;color:#d6c6a3;width:230px;font:12px/1.5 var(--font-body);text-align:left;pointer-events:none;background:#20271f;border:1px solid #a48b5d;padding:10px;display:none;position:absolute;top:calc(100% + 8px);left:0;box-shadow:0 5px 18px #0005}.legacy-shield:hover .seal-tip,.legacy-shield:focus-visible .seal-tip{display:block}#match-roster[data-expanded=true]{z-index:40;width:min(1000px,94vw);position:absolute;top:140px;left:50%;right:auto;transform:translate(-50%)}#match-roster[data-expanded=true] summary{width:auto;font:18px var(--font-body);color:#e4d1a3;border-color:#a18c60;margin:0;padding:13px 18px}#match-roster[data-expanded=true] ol{background:#172822f5;border-color:#a18c60;border-top-style:none;border-top-width:0;width:100%;max-height:65vh;margin:0;padding:0 15px}#match-roster li{grid-template-columns:28px minmax(130px,1fr) minmax(0,3fr);gap:13px;padding:12px 0;display:grid}#match-roster li>.roster-history{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.roster-era{justify-items:center;gap:4px;display:grid}.roster-era>small{text-align:center;font-size:10px;line-height:1.4}#match-roster .seal-tip{left:auto;right:0}#heritage-bar{border-left:3px solid #a68a51}.heritage-bar-heading>span{font:25px/1.1 var(--font-display);color:#d4bc88}#heritage-bar #age-research{position:relative}#heritage-bar #age-research.choice-ready{color:#e0c888;border-bottom:1px solid #a68a51}#civilization-council{z-index:155;pointer-events:auto;outline:5px solid #24271f;position:absolute;overflow:auto}#civilization-council>header{border-bottom:1px solid #9f855c;justify-content:space-between;align-items:center;margin-bottom:22px;display:flex}#civilization-council h2{margin:0}#civilization-council>header button{color:#d9c697;cursor:pointer;background:0 0;border:1px solid #8d7855}#civilization-council .heritage-cards{display:grid}#civilization-council .culture-choice{box-shadow:inset 0 0 0 4px #161e1970,0 8px 20px #0004}#civilization-council .heritage-card{flex-direction:column}#civilization-council .piece-portrait{width:148px;height:148px}#civilization-council .choice-facts,#civilization-council .choice-details{padding:12px 18px}#civilization-council .heritage-card:focus-visible{outline-offset:-4px;outline:2px solid #e1c48d}#minimap{border:2px solid #8a7750;width:224px;height:140px;bottom:18px;left:auto;right:16px;box-shadow:0 0 0 4px #20291f,0 4px 16px #0006}#build-menu-container{width:210px;bottom:24px;left:16px}#build-menu-trigger{font:20px var(--font-display);background:linear-gradient(#3b3c2c,#202a22);border:1px solid #9b8355;padding:14px 18px;box-shadow:inset 0 0 0 3px #181f19}#build-menu{background:#202a22f7;border:1px solid #96825b;bottom:calc(100% + 8px);box-shadow:inset 0 0 0 4px #161e19,0 8px 25px #0006}#production-watch{position:absolute;overflow:auto}.production-watch-item{text-align:left;cursor:pointer;align-items:center}.production-watch-item img{grid-row:1/3;width:40px;height:40px}.production-watch-item span{text-overflow:ellipsis;white-space:nowrap;font:12px var(--font-body);overflow:hidden}.production-watch-item small{font-size:10px}.production-watch-item:hover{border-color:#dec58b}@media (width<=849px){#civilization-council h2{font-size:28px}#minimap{width:160px;height:100px;bottom:12px;right:8px}#build-menu-container{width:150px;bottom:14px;left:8px}#selection-panel{width:auto;bottom:14px;left:170px;right:180px;transform:none}}#civilization-decree{font:700 15px/1 var(--font-display);letter-spacing:.6px;transform-origin:0}#civilization-decree:before,#civilization-decree:after{content:"";background:linear-gradient(90deg,#60472c,#b58a53 48%,#6c4e2f);border-radius:50%;width:13px;height:70px;position:absolute;top:-6px;box-shadow:0 2px 4px #1b130c88}#civilization-decree:after{right:2px}#civilization-decree:focus-visible{outline-offset:3px;outline:2px solid #f0d49a}@keyframes decree-unfurl{0%{opacity:.2;transform:scaleX(.08)}to{opacity:1;transform:scaleX(1)}}@media (width<=849px){#civilization-decree{font-size:13px}}@media (prefers-reduced-motion:reduce){:root:not([data-reduced-motion=false]) #civilization-decree{animation:none}}.monument-age{color:#dec48a;font:15px/1.4 var(--font-body);cursor:pointer;background:#373b29;border:1px solid #9b824e;padding:12px 10px}.monument-age:disabled{cursor:default}.monument-age:focus-visible{outline-offset:2px;outline:2px solid #d6bd80}#match-roster:not([data-expanded=true]){top:auto;bottom:174px;right:16px}#match-roster:not([data-expanded=true]) summary{width:100%;font:18px/1.15 var(--font-display);border-bottom:0;margin:0}#match-roster:not([data-expanded=true]) ol{max-height:24vh;box-shadow:none;border-top:0;margin:0}#match-roster:not([data-expanded=true]) li>b{border-radius:2px;width:18px;height:18px;font-size:10px}#match-roster:not([data-expanded=true]) li>div>strong{font-size:12px}#match-roster:not([data-expanded=true]) .roster-history,#match-roster:not([data-expanded=true]) .roster-power>small{display:none}#match-roster .roster-power{text-align:right}#match-roster .roster-power:after{opacity:.65;transition:width .3s}#match-roster .roster-power strong{font-variant-numeric:tabular-nums;color:#dec58f}#match-roster[data-expanded=true]{background:#161e19;border:1px solid #a18c60;padding:4px;box-shadow:0 14px 60px #0009}#match-roster[data-expanded=true] summary{font:30px/1.2 var(--font-display);background:linear-gradient(90deg,#3c3827,#202c24);border:0}#match-roster[data-expanded=true] ol{border:0}#match-roster[data-expanded=true] li:nth-child(2n){background:#a7905410}#match-roster[data-expanded=true] .roster-era{border-left:1px solid #8b77452e}@media (width<=900px){#match-status.conquest-status>.mode-label{display:none}#legacy-ribbon{top:130px;left:16px}#match-roster[data-expanded=true]{top:90px}#match-roster[data-expanded=true] li>.roster-history{grid-column:1/-1}}@media (width<=600px){#match-roster:not([data-expanded=true]){top:auto;right:8px}#match-status.conquest-status{top:65px;right:10px}#legacy-ribbon{gap:5px;top:166px;left:8px}.culture-manuscript{padding:16px}.culture-manuscript dl{grid-template-columns:90px 1fr}}@media (width>=601px) and (width<=849px){#match-roster:not([data-expanded=true]){bottom:126px;right:8px}}}@layer interface{:root{--font-ui:"Cradlecrown Text", "Segoe UI", system-ui, sans-serif;--font-body:"Cradlecrown Text", "Segoe UI", system-ui, sans-serif;--font-display:"Cradlecrown Display", "Palatino Linotype", "Book Antiqua", Georgia, serif;--ui-surface-0:#12231f;--ui-surface-1:#1b2d26;--ui-surface-2:#293a30;--ui-ink:#e9e3d2;--ui-ink-muted:#b9c2b3;--ui-line:#687260;--ui-line-soft:#78816855;--ui-accent:#cfb47b;--ui-focus:#e7ce92;--ui-radius:3px;--ui-motion-fast:.16s;--ui-scroll-track:#12231f;--ui-scroll-thumb:#8e805b;--ui-scroll-hover:#cfb47b}#app,#app *{scrollbar-width:thin;scrollbar-color:var(--ui-scroll-thumb) var(--ui-scroll-track)}#app ::-webkit-scrollbar{width:10px;height:10px}#app ::-webkit-scrollbar-track{background:var(--ui-scroll-track)}#app ::-webkit-scrollbar-corner{background:var(--ui-scroll-track)}#app ::-webkit-scrollbar-thumb{background:var(--ui-scroll-thumb);border:2px solid var(--ui-scroll-track);border-radius:4px;min-height:32px}#app ::-webkit-scrollbar-thumb:hover{background:var(--ui-scroll-hover)}#app ::-webkit-scrollbar-button{display:none}#build-menu,#building-panel,.pause-box{scrollbar-gutter:stable}:root[data-high-contrast=true]{--ui-surface-0:#080e0e;--ui-surface-1:#101b1b;--ui-surface-2:#1a2928;--ui-ink:#fffdf2;--ui-ink-muted:#e3e9df;--ui-line:#c3d7d3;--ui-line-soft:#9fbab4;--ui-accent:#ffe293;--ui-focus:#fff;--ui-scroll-track:#080e0e;--ui-scroll-thumb:#c3d7d3;--ui-scroll-hover:#fff}:root[data-high-contrast=true] #hud :is(#top-bar,#selection-panel,#building-panel,#build-menu,#help-tooltip,.pause-box){color:var(--ui-ink);border-color:var(--ui-line);background:#0a1515}:root[data-high-contrast=true] #hud :is(button,input,summary):focus-visible{outline-offset:3px;outline:3px solid #fff}:root[data-high-contrast=true] #top-bar .res{color:#fffdf2}:root[data-high-contrast=true] #top-bar .res b{color:#fff}#pause-modal{box-sizing:border-box;padding:12px}#pause-modal .pause-box{box-sizing:border-box;background:var(--ui-surface-0);border:1px solid var(--ui-line);border-radius:var(--ui-radius);width:min(400px,100%);max-height:calc(100dvh - 24px);color:var(--ui-ink);gap:10px;padding:24px;overflow-y:auto}#pause-modal .pause-box h2{font:normal 28px/1.2 var(--font-display);letter-spacing:0;color:var(--ui-ink);margin:0 0 12px}#pause-modal .pause-btn{border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:var(--ui-surface-2);min-height:44px;color:var(--ui-ink);font:600 14px/1.4 var(--font-ui);transition:background-color var(--ui-motion-fast),border-color var(--ui-motion-fast);padding:10px 16px}#pause-modal .pause-btn:hover{border-color:var(--ui-accent);background:#344937}#pause-modal .pause-btn.primary{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-surface-0);margin-bottom:8px}#pause-modal .pause-btn.primary:hover{background:var(--ui-focus)}#pause-modal .pause-btn.danger{color:#f0b7a4;background:#392924;border-color:#9b6657}#pause-modal .pause-btn.danger:hover{background:#56352d;border-color:#d79983}#pause-modal .pause-btn.discard{background:0 0;margin-top:6px}#pause-modal :is(button,input):focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}#pause-exit{margin-top:12px}:root[data-reduced-motion=true] #app *,:root[data-reduced-motion=true] #app :before,:root[data-reduced-motion=true] #app :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}.game-dialog{box-sizing:border-box;border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:var(--ui-surface-0);width:min(580px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--ui-ink);font:14px/1.5 var(--font-ui);scrollbar-gutter:stable;margin:auto;padding:24px;overflow:auto;box-shadow:0 20px 80px #0008}.game-dialog::backdrop{background:#071310cc}.game-dialog h2{font:normal 28px/1.2 var(--font-display);color:var(--ui-ink);letter-spacing:0;margin:0}.game-dialog header{z-index:1;background:var(--ui-surface-0);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex;position:sticky;top:-24px}.game-dialog p{color:var(--ui-ink-muted);margin:12px 0}.game-dialog button,.game-dialog select{box-sizing:border-box;border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:var(--ui-surface-2);min-height:42px;color:var(--ui-ink);font:600 14px/1.4 var(--font-ui);cursor:pointer;padding:9px 16px}.game-dialog button:hover{border-color:var(--ui-accent);background:#344937}.game-dialog .dialog-danger{color:#f5c0ab;background:#422d26;border-color:#a56b58}.game-dialog .dialog-danger:hover{background:#56352d}.game-dialog :is(button,input,select):focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}.game-dialog footer{flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.game-dialog fieldset{border:0;border-top:1px solid var(--ui-line-soft);min-width:0;margin:20px 0 0;padding:16px 0 0}.game-dialog legend{color:var(--ui-accent);padding:0 12px 0 0;font-weight:600}.preference-volume{grid-template-columns:1fr auto;gap:6px 16px;margin:0 0 16px;display:grid}.preference-volume output{color:var(--ui-accent);font-variant-numeric:tabular-nums}.preference-volume input{width:100%;accent-color:var(--ui-accent);cursor:pointer;grid-column:1/-1;margin:4px 0}.preference-toggle{cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:44px;display:flex}.preference-toggle input{appearance:none;box-sizing:border-box;border:1px solid var(--ui-line);background:var(--ui-surface-2);cursor:pointer;border-radius:12px;flex:none;width:38px;height:24px;margin:0;padding:3px}.preference-toggle input:before{content:"";background:var(--ui-ink-muted);border-radius:50%;width:16px;height:16px;display:block}.preference-toggle input:checked{background:var(--ui-accent);border-color:var(--ui-accent)}.preference-toggle input:checked:before{background:var(--ui-surface-0);transform:translate(14px)}@media (width<=480px){.game-dialog{padding:20px}.game-dialog footer{flex-direction:column-reverse}}@media (forced-colors:active){.preference-toggle input{appearance:auto}.preference-toggle input:before{display:none}}.culture-overview{min-height:100%;color:var(--ui-ink);border:1px solid var(--ui-line-soft);background:#12261d;grid-template-columns:minmax(160px,.8fr) minmax(0,1.3fr);align-items:center;gap:18px;padding:18px;display:grid}.culture-overview-copy{min-width:0}.culture-overview-scene{background:radial-gradient(#b1a06c24,#0000 70%);grid-template-columns:1fr 1fr;align-items:start;gap:8px;margin:0;display:grid}.culture-overview-scene figure{text-align:center;min-width:0;margin:0}.culture-overview-scene img{aspect-ratio:1;object-fit:contain;width:100%;max-width:128px;height:auto;margin:0 auto;display:block;position:static}.culture-overview-scene figcaption{font:13px/1.4 var(--font-ui);color:#ceceb8;overflow-wrap:anywhere}.culture-overview h3{color:#ddc698;margin:0 0 5px}.culture-overview-role{font:600 14px/1.4 var(--font-ui);color:#c3ceb8;margin:0 0 12px}.culture-overview-intro{color:var(--ui-ink-muted);font:14px/1.5 var(--font-ui);max-width:60ch;margin:0 0 16px}.culture-overview-strengths{gap:6px;margin:0 0 12px;padding:0;list-style:none;display:grid}.culture-overview-strengths li{font:14px/1.4 var(--font-ui);border-left:2px solid #a38f60;justify-content:space-between;align-items:center;gap:10px;padding:5px 0 5px 10px;display:flex}.culture-overview-strengths strong{color:#e1ca91;font-variant-numeric:tabular-nums;flex:none}.culture-overview-strengths .tradeoff{border-color:#ab8068}.culture-overview-strengths .tradeoff strong{color:#dcb293}.culture-overview-details{border-top:1px solid var(--ui-line-soft);background:#10231c;grid-column:1/-1;min-width:0;margin-top:0}.culture-overview-details>summary{cursor:pointer;min-height:38px;color:var(--ui-accent);font:600 13px/1.35 var(--font-ui);padding:10px 36px 10px 12px;list-style:none;position:relative}.culture-overview-details>summary::-webkit-details-marker{display:none}.culture-overview-details>summary:after{content:"+";color:#d5c18f;font:20px/1 var(--font-ui);position:absolute;top:50%;right:13px;transform:translateY(-50%)}.culture-overview-details[open]>summary:after{content:"−"}.culture-overview-details[open]>summary{border-bottom:1px solid var(--ui-line-soft);background:#1a2d24}.culture-overview-details>.culture-manuscript{color:#d6d3c3;background:linear-gradient(115deg,#24342b 0%,#182820 58%,#111e1a 100%);border:0;border-left:2px solid #877652;margin:0;animation:.16s ease-out culture-details-open;box-shadow:inset 0 1px #d8c99718,inset 0 0 28px #07110d38}.culture-overview-details>.culture-manuscript>small{color:#ad9c78}.culture-overview-details>.culture-manuscript h3,.culture-overview-details>.culture-manuscript h4{color:#dcc58e}.culture-overview-details>.culture-manuscript :is(p,li,dd){color:#cbcbbb}.culture-overview-details>.culture-manuscript dt{color:#b59f74}.culture-overview-details>.culture-manuscript .manuscript-legacy{color:#d2bc88;border-color:#98845b55}.culture-overview-details>.culture-manuscript :is(dl,.manuscript-doctrine){border-color:#98845b55}@keyframes culture-details-open{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}.join-code-form{flex:none}.join-code-form label{font:14px var(--font-ui)}.create-room-body{flex:1;min-height:0;overflow:auto}.create-room-fields{flex-direction:column}.seat-controls{grid-template-columns:repeat(2,minmax(0,1fr))}.seat-controls label{min-width:0;font:12px/1.3 var(--font-ui);color:var(--ui-ink-muted)}.build-group-cards{flex-wrap:wrap;gap:7px;display:flex}.build-group[hidden]{display:none}.build-categories{gap:6px;margin-bottom:12px;display:flex}.build-categories button{border:1px solid var(--ui-line-soft);min-width:0;min-height:40px;color:var(--ui-ink-muted);font:600 13px var(--font-ui);cursor:pointer;background:#1b2d26;flex:1;padding:7px}.build-categories button[aria-pressed=true]{border-color:var(--ui-accent);color:var(--ui-ink);background:#3b4935}.build-categories button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}@media (width>=1050px){#selection-panel{box-sizing:border-box;background:#192b28f5;border:1px solid #837659;border-radius:3px;width:min(520px,100vw - 540px);padding:12px;inset:auto auto 26px 50%;transform:translate(-50%)}#bp-trains{flex-wrap:wrap}}.bcard{flex-direction:column;align-items:center;gap:3px;width:102px;min-width:96px;padding:18px 6px 7px;display:flex}.bcard .ic,.tcard .ic{height:46px}.bcard .piece-portrait,.tcard .piece-portrait{object-fit:contain;width:48px;height:46px}.bcard .nm,.tcard .nm{font:500 11px/1.25 var(--font-ui);white-space:normal;overflow-wrap:anywhere;min-height:28px}.bcard .cost,.tcard .cost{font:600 11px/1.2 var(--font-ui);flex-wrap:wrap;justify-content:center;gap:3px 0;display:flex}.bcard .hot{font:600 9px var(--font-ui);color:#c9b990;opacity:1;top:4px;left:6px}.bcard .hot:empty{display:none}.bcard.disabled,.bcard:disabled,.tcard.disabled,.tcard:disabled{opacity:.76;filter:none;pointer-events:auto;cursor:not-allowed}.bcard:focus-visible,.tcard:focus-visible{outline-offset:2px;outline:2px solid #dcc38b}#top-bar{font:14px var(--font-ui);gap:4px;padding:6px 8px}#top-bar .res,#top-bar .res b{font:600 15px var(--font-ui);font-variant-numeric:tabular-nums}#top-bar .res small{font:12px var(--font-ui)}.hud-facts{border-top:1px solid var(--ui-line-soft);min-width:0;color:var(--ui-ink-muted);margin-top:7px}#sel-more,#bp-more{padding-top:7px}.hud-facts>summary{cursor:pointer;width:max-content;max-width:100%;color:var(--ui-accent);font:600 12px/1.3 var(--font-ui);padding:5px 0 2px}.hud-facts>summary:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}#selection-panel{flex-direction:column;align-items:stretch;gap:10px;max-width:calc(100vw - 24px);height:auto;min-height:80px;max-height:min(42vh,300px);overflow-y:auto}#selection-panel #formation-stance-panel{border:0;border-top:1px solid var(--ui-line-soft);width:100%;box-shadow:none;background:0 0;flex-wrap:wrap;flex:none;gap:8px 14px;margin:0;padding:8px 0 0;transition:none;display:flex;position:static;transform:none}#formation-stance-panel .hud-group{flex-wrap:wrap;gap:4px}#formation-stance-panel .hud-group-label{font:600 11px/1.3 var(--font-ui);letter-spacing:0;flex-basis:100%;display:block}#formation-stance-panel .hud-sep-v{display:none}#formation-stance-panel .hud-btn{min-width:36px;min-height:36px;padding:5px}#formation-stance-panel .hud-btn:focus-visible,.sel-kind-group:focus-visible,.sel-grid-item:focus-visible,.qitem:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}#sel-multi{flex-direction:column;align-items:stretch;gap:8px;height:auto}#sel-multi-summary{text-align:left;width:auto;font:600 13px/1.3 var(--font-ui);order:-1;margin:0}#sel-kind-groups{flex-wrap:wrap;gap:6px;display:flex}.sel-kind-group{border:1px solid var(--ui-line-soft);min-height:36px;color:var(--ui-ink);font:500 12px/1.3 var(--font-ui);cursor:pointer;text-align:left;background:#263b30;border-radius:3px;padding:6px 9px}.sel-kind-group:hover{border-color:var(--ui-accent);background:#3b4935}#sel-individuals{margin-top:0}#sel-grid{gap:5px;max-height:104px;padding:4px}.sel-grid-item{flex:none;width:36px;height:36px}#bp-queue{gap:6px}#bp-queue:empty,#bp-hint:empty{display:none}.qitem{flex:none;width:36px;height:36px}#sel-single{align-items:flex-start;height:auto;min-height:62px}#sel-details{min-width:0}#sel-glance{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 10px;display:flex}#sel-name{font:600 15px/1.3 var(--font-ui);margin:0}.sel-health{white-space:nowrap;color:#dce7ca;font:600 12px/1.3 var(--font-ui);font-variant-numeric:tabular-nums}#sel-stats{color:var(--ui-ink);font:12px/1.35 var(--font-ui);flex-wrap:wrap;gap:4px 12px;margin:6px 0;display:flex}#sel-stats span{align-items:baseline;gap:4px;display:inline-flex}#sel-stats b{font-variant-numeric:tabular-nums}#sel-desc{color:var(--ui-ink-muted);font:13px/1.4 var(--font-ui);display:block;overflow:visible}#building-panel{overflow-y:auto}#building-panel #bp-title{min-width:0;font:600 13.5px/1.3 var(--font-ui);letter-spacing:.01em;color:#e3c784;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:7px;margin:0;display:flex;overflow:hidden}#building-panel #bp-title .civ-emblem{flex:none;width:20px;height:20px}#building-panel #bp-title .bp-name{text-overflow:ellipsis;min-width:0;overflow:hidden}.tcard{gap:3px;width:96px;height:auto;min-height:108px;padding:8px 6px}#bp-facts{flex-wrap:wrap;gap:6px;padding:5px 0 2px;display:flex}#bp-facts>span{border:1px solid var(--ui-line-soft);color:var(--ui-ink);font:12px/1.3 var(--font-ui);font-variant-numeric:tabular-nums;background:#1b2d26;padding:4px 6px}.res-icon{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}.res.gold{color:#e7bd68}.res.food{color:#bdd18b}.res.wood{color:#d6ac7c}.res.supply{color:#9bc8d4}#production-watch{scrollbar-width:thin;pointer-events:auto;flex-wrap:nowrap;justify-content:flex-start;gap:6px;width:max-content;max-width:36vw;max-height:72px;padding:3px 3px 8px;display:flex;inset:70px 16px auto auto;overflow:auto hidden;transform:none}#production-watch[hidden]{display:none}.production-watch-item{color:#eadcbd;background:#25352a;border:1px solid #82745c;flex:0 0 182px;grid-template-rows:1fr 1fr;grid-template-columns:38px minmax(0,1fr);gap:0 5px;width:182px;height:60px;padding:5px 43px 7px 5px;display:grid;position:relative}.production-portrait{grid-row:1/3;align-self:center}.production-portrait img{object-fit:contain;width:38px;height:38px}.production-watch-item .production-name{font:600 13px/1.3 var(--font-ui);text-overflow:ellipsis;white-space:nowrap;align-self:center;overflow:hidden}.production-next{gap:2px;display:flex;position:absolute;bottom:7px;right:5px}.production-next[hidden]{display:none}.production-next img{object-fit:contain;background:#19281f;border-bottom:1px solid #877451;width:17px;height:22px}.production-watch-item:focus-visible{outline-offset:1px;outline:2px solid #dcc38b}.production-watch-item small{font:11px var(--font-ui);color:#c3c8b4;font-variant-numeric:tabular-nums;align-self:center}.production-count{font:600 12px var(--font-ui);color:#e4c782;position:absolute;top:8px;right:6px}.production-watch-item i{width:var(--progress);background:#c9b075;height:3px;position:absolute;bottom:0;left:0}.production-watch-item.is-blocked{border-color:#c48b59}#match-roster li>b{position:relative}#match-roster:not([data-expanded=true]) h2{box-sizing:border-box;min-height:40px;font:600 13px/1.4 var(--font-ui);color:var(--ui-ink-muted);padding:10px 12px}#match-roster h2{background:#162b27ed;border:1px solid #877f5e;border-bottom:0;border-radius:3px 3px 0 0;margin:0;padding:10px 12px}#match-roster .roster-power>small{display:block}#match-roster[data-expanded=true]{box-sizing:border-box}#match-roster[data-expanded=true] h2{border:0}#match-roster ol:focus-visible,#minimap:focus-visible,#help-tooltip:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}#match-roster[data-expanded=true] h2{font:normal 24px/1.3 var(--font-display)}#match-roster li>b:after{content:"";background:var(--seat-color);border:1px solid #dfd3b2;width:7px;height:7px;position:absolute;bottom:-2px;right:-3px;box-shadow:0 0 0 1px #18271f}#match-roster li[data-relation=ally]>b:after{border-radius:50%}#match-roster li[data-relation=enemy]>b:after{transform:rotate(45deg)}.resource-cost{white-space:nowrap;font-variant-numeric:tabular-nums;color:#d2c5a7;align-items:center;gap:3px;display:inline-flex}.resource-cost+.resource-cost{margin-left:7px}.resource-cost svg{fill:none;stroke:currentColor;stroke-width:1.7px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:14px;height:14px}.resource-cost.gold svg{color:#c6aa6b}.resource-cost.food svg{color:#a7b47b}.resource-cost.wood svg{color:#bba17c}.res.stone,.resource-cost.stone svg{color:#b9c4d0}.resource-cost.is-missing{color:#dfa389;text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#match-failure{width:min(440px,100vw - 32px);padding:24px}#match-failure p{color:var(--ui-ink);font:15px/1.6 var(--font-ui);margin:0 0 20px}#match-failure button{border:1px solid var(--ui-accent);color:#142724;min-height:44px;font:600 14px var(--font-ui);cursor:pointer;background:#c6ac70;padding:10px 18px}#match-failure button:focus-visible{outline:2px solid var(--ui-focus);outline-offset:3px}.monument-age .age-hint{font:12px/1.4 var(--font-ui);color:var(--ui-ink-muted);flex-basis:100%;display:block}.monument-age{flex-wrap:wrap;gap:6px}.monument-age:disabled{opacity:.8}#landmark-studies h3{font:600 14px/1.3 var(--font-ui)}@media (width>=1050px){#landmark-studies{grid-template-columns:repeat(2,minmax(0,1fr))}#landmark-studies>:is(h3,.monument-age,.monument-status,.legacy-shield){grid-column:1/-1}}.monument-age .age-cost{margin-left:8px}.monument-age .age-cost[hidden]{display:none}.production-watch-item.is-blocked small{color:#e2b38b;text-underline-offset:3px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#legacy-ribbon{max-width:max(80px,64vw - 320px);overflow-x:auto}#legacy-ribbon>*{flex-shrink:0}#civilization-decree{pointer-events:auto}#civ-badge .cb-name{font:600 13px/1.25 var(--font-ui);letter-spacing:0}#top-bar:has(#heritage-bar:not([hidden])) #civ-badge{display:none}#heritage-bar{width:auto;max-width:210px;box-shadow:none;cursor:pointer;background:0 0;border:0;border-right:1px solid #e8c54a40;border-radius:0;grid-template-rows:auto auto;grid-template-columns:30px minmax(0,auto);align-items:center;gap:0 8px;margin:0;padding:0 12px 0 0;display:grid;position:relative;top:auto;left:auto}#heritage-bar .heritage-bar-heading{display:contents}#heritage-bar .heritage-bar-emblem{grid-row:1/3}#heritage-bar .heritage-bar-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:500 13px/1.2 var(--font-display);color:#e8c878;letter-spacing:.02em;grid-area:1/2;overflow:hidden}#heritage-bar #heritage-toggle{clip-path:inset(50%);border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}#heritage-bar #age-research{min-height:0;box-shadow:none;color:#b9c2b3;font:11px/1.3 var(--font-ui);text-align:left;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;background:0 0;border:0;grid-area:2/2;padding:0;overflow:hidden}#heritage-bar #age-research:hover{color:#f2ead8}#heritage-bar #age-research:after{display:none}@media (height<=560px) and (width>=701px){.culture-overview{grid-template-columns:minmax(150px,.85fr) minmax(0,1.4fr);gap:12px;padding:10px}.culture-overview-role{margin-bottom:5px;font-size:12px}.culture-overview-strengths{gap:2px;margin-bottom:5px}.culture-overview-strengths li{padding-block:2px;font-size:12px}.culture-overview-scene img{max-width:76px}.culture-overview-scene figcaption{font-size:11px}.culture-overview-details>summary{min-height:30px;padding-block:6px;font-size:12px}}@media (width<=700px){.culture-overview{grid-template-columns:1fr;gap:10px;padding:12px}.culture-overview-scene img{max-width:76px}.join-code-form label{flex:1 0 100%}#production-watch{width:auto;max-width:none;top:68px;left:246px;right:8px}#legacy-ribbon{max-width:220px}}@media (width<=480px){#production-watch{top:104px;left:8px}#heritage-bar{top:180px}}@media (prefers-reduced-motion:reduce){:root:not([data-reduced-motion=false]) .culture-overview-details>.culture-manuscript{animation:none}}#pause-save-status{color:#e4c994;font:12px/1.4 var(--font-ui);display:block}#pause-save-status:empty,#mobile-command-bar{display:none}#hud #help-tooltip{box-sizing:border-box;background:var(--ui-surface-0);width:min(680px,100vw - 24px);max-height:calc(100dvh - 85px);color:var(--ui-ink);font:13px/1.55 var(--font-ui);padding:18px;overflow-y:auto}#help-tooltip .help-guide-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}#help-tooltip .help-guide-card{border:1px solid var(--ui-line-soft);background:var(--ui-surface-1);min-width:0;padding:12px}#help-tooltip .help-guide-card h4{font:600 15px/1.4 var(--font-ui);color:var(--ui-accent)}#help-tooltip .help-guide-card ol{margin:8px 0 0;padding-left:20px}#help-tooltip .help-guide-card li{margin-bottom:8px}.help-guide-flow{justify-content:space-around;align-items:center;gap:4px;display:flex}.help-guide-flow figure{text-align:center;flex:1;min-width:0;margin:0;font-size:11px}.help-guide-flow img{object-fit:contain;width:64px;max-width:100%;height:64px;margin:auto;display:block}.help-guide-arrow{color:var(--ui-accent)}#help-tooltip details{border-top:1px solid var(--ui-line-soft);margin-top:14px;padding-top:12px}#help-tooltip summary{cursor:pointer;min-height:28px;color:var(--ui-accent)}@media (width<=600px){#help-tooltip .help-guide-grid{grid-template-columns:1fr}}@keyframes offering-glow{50%{opacity:.25;transform:translateY(-3px)}}.landmark-dialog progress{width:100%;accent-color:var(--ui-accent)}.landmark-dialog a{color:var(--ui-accent);overflow-wrap:anywhere;padding:12px 0;display:block}.landmark-dialog>button{margin-top:16px}.help-touch{display:none}#help-container:has(#help-tooltip:not(.hidden)){z-index:39}@media (width<=849px),(pointer:coarse){#help-tooltip{width:min(310px,100vw - 16px);max-height:calc(100dvh - 60px);overflow-y:auto}#help-tooltip .help-desktop{display:none}#help-tooltip .help-touch{display:block}#help-tooltip .help-touch ul{padding-left:18px}#help-tooltip .help-touch li{margin-bottom:8px}}@media (width<=849px){#mobile-command-bar{z-index:35;pointer-events:auto;gap:6px;width:150px;display:flex;position:absolute;bottom:194px;left:8px}#mobile-command-bar button{color:#f0e5cc;min-width:0;min-height:44px;font:600 13px var(--font-ui);touch-action:manipulation;background:#192f2ce8;border:1px solid #9d875f;border-radius:3px;flex:1;padding:5px 3px}#mobile-command-bar button:disabled{opacity:.46}#mobile-command-bar button.armed{color:#142725;background:#b99b63;border-color:#e5c789}}@media (width<=600px){#mobile-command-bar{width:160px;bottom:126px;left:auto;right:8px}#match-roster:not([data-expanded=true]){bottom:180px}}@media (width<=849px) and (height<=560px) and (width>=500px),(width<=499px) and (height<=500px){#mobile-command-bar{width:150px;bottom:10px;left:8px;right:auto}#hud:has(#build-menu-container:not(.hidden)) #mobile-command-bar{bottom:72px}}#match-status.conquest-status{flex-wrap:wrap;justify-content:space-between;width:310px;max-width:calc(100vw - 20px)}#match-status.conquest-status>small{color:#d9d0b4;width:100%;font:11px/1.35 var(--font-ui);text-align:left;display:block}@media (width>=850px){#production-watch{max-width:min(36vw,100vw - 620px);top:100px;right:282px}}@media (width>=850px) and (width<=1049px){#production-watch,#building-panel{top:160px}#legacy-ribbon{top:198px;left:16px}}@media (width<=849px){#production-watch{width:auto;max-width:none;inset:auto 180px 140px 8px}#legacy-ribbon{top:195px;left:8px}#hud:has(#building-panel:not(.hidden)) #match-roster:not([data-expanded=true]){top:160px;bottom:auto}#hud:has(#building-panel:not(.hidden)) #match-roster:not([data-expanded=true]) ol{max-height:120px}}@media (width<=480px){#legacy-ribbon{top:342px}}@media (width>=500px) and (width<=849px) and (height<=560px){#bp-trains{flex-wrap:nowrap;padding-bottom:6px;overflow-x:auto}#bp-trains .tcard{flex:0 0 96px}#selection-panel{max-height:calc(100dvh - 190px)}#production-watch{width:150px;max-width:150px;left:8px;right:auto}#production-watch .production-watch-item{flex-basis:142px;width:142px}}@media (width<=600px){#selection-panel{width:auto;min-width:0;left:8px;right:176px}#sel-portrait{width:34px;min-width:34px;margin-right:6px}#sel-portrait .piece-portrait{width:34px}}@media (width<=360px){#top-bar{justify-content:space-between;gap:0;padding:5px 3px}#top-bar .res{gap:2px;min-width:0;padding:2px 3px}#top-bar .res b{font:600 12px var(--font-ui)}#top-bar .res-icon{width:16px;height:16px}#sel-multi{flex-direction:column;align-items:stretch;gap:3px;height:auto}#sel-grid{flex:0 auto;width:100%;max-height:61px;padding-right:0}#sel-multi-summary{text-align:left;width:100%;font:600 10px/1.15 var(--font-ui);margin:0}}@media (width<=360px) and (height<=500px){#legacy-ribbon{display:none}}@media (width<=700px) and (height<=560px){#match-roster[data-expanded=true]{max-height:calc(100dvh - 66px);top:54px;overflow:hidden}#match-roster[data-expanded=true] ol{max-height:calc(100dvh - 146px);overflow-y:auto}}:root[data-guidance-conquest=false] #match-status .mode-label,:root[data-guidance-conquest=false][data-guidance-opening=false] #match-status>small{display:none}#match-status.conquest-status>time{margin-left:auto}#objective-close{color:#b9c2b3;width:22px;height:22px;font:16px/1 var(--font-ui);cursor:pointer;background:0 0;border:0;border-radius:2px;margin-left:-4px;padding:0}#objective-close:hover{color:#f2ead8;background:#ffffff14}:root[data-guidance-conquest=false][data-guidance-opening=false] #objective-close{display:none}:root[data-guidance-conquest=false][data-guidance-opening=false] #match-status.conquest-status{width:auto}.preference-toggle small{font:12px/1.45 var(--font-ui);color:var(--ui-ink-muted);margin-top:4px;display:block}.preference-help{color:var(--ui-ink-muted);font:12px/1.45 var(--font-ui);grid-column:1/-1}.preferences-dialog fieldset{border:1px solid #88775666;border-radius:4px;margin:14px 0;padding:14px}.preferences-dialog legend{color:#e1c58b;padding:0 6px}.preferences-dialog details summary{cursor:pointer;padding:8px 0}.preferences-dialog{width:min(640px,100vw - 32px)}.preference-tabs{border-bottom:1px solid var(--ui-line-soft);gap:4px;margin:6px 0 4px;display:flex}.game-dialog .preference-tab{min-height:40px;color:var(--ui-ink-muted);font:600 13px/1.3 var(--font-ui);letter-spacing:.04em;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:8px 14px}.game-dialog .preference-tab:hover{color:var(--ui-ink);background:0 0;border-color:#0000}.game-dialog .preference-tab[aria-selected=true]{color:var(--ui-accent);border-bottom-color:var(--ui-accent)}.preference-panel{scrollbar-gutter:stable;height:min(390px,58dvh);padding-right:6px;overflow-y:auto}.preference-panel[hidden]{display:none}.preferences-dialog .preference-panel fieldset:first-child{margin-top:12px}.preference-keys{grid-template-columns:max-content 1fr;align-items:baseline;gap:8px 16px;margin:4px 0 0;display:grid}.preference-keys dt{margin:0}.preference-keys dd{color:var(--ui-ink-muted);margin:0}.preference-keys kbd{border:1px solid var(--ui-line);background:var(--ui-surface-2);min-width:18px;color:var(--ui-ink);font:600 12px/1.5 var(--font-ui);text-align:center;white-space:nowrap;border-bottom-width:2px;border-radius:4px;padding:2px 8px;display:inline-block}.preference-footer{border-top:1px solid var(--ui-line-soft);justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:14px;display:flex}.preference-footer p{margin:0;font-size:12px}@media (width<=480px){.preference-tabs{overflow-x:auto}.preference-keys{grid-template-columns:1fr;gap:2px 0}.preference-keys dd{margin-bottom:8px}}#match-roster:not([data-expanded=true]){width:min(260px,100vw - 32px)}#match-roster:not([data-expanded=true]) ol{background:#142521ee;border:1px solid #877f5e;border-radius:0 0 3px 3px;width:100%;padding:4px 12px}#match-roster:not([data-expanded=true]) li{grid-template-rows:auto auto;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:10px 0;display:grid}#match-roster li>b.roster-civ{border:0;width:30px;height:30px}#match-roster li strong{font:500 14px/1.25 var(--font-display);letter-spacing:.01em}#match-roster .roster-verified{vertical-align:1px;color:#fff;width:14px;height:14px;font:700 9px/1 var(--font-ui);background:#3d7bd6;border-radius:50%;place-items:center;margin-left:5px;display:inline-grid}#match-roster li>div>small{color:#aeb8a4;font:11px var(--font-ui)}#match-roster .roster-power{justify-items:end;gap:2px;min-width:54px;padding-bottom:5px;display:grid;position:relative}#match-roster .roster-power>small{color:#8f9a88;font:10px var(--font-display);letter-spacing:.06em;text-transform:uppercase}#match-roster .roster-power>strong{font:700 14px var(--font-ui);font-variant-numeric:tabular-nums;color:#ecdcb0}#match-roster .roster-power:after{content:"";width:var(--power,0%);background:var(--seat-color);border-radius:1px;max-width:100%;height:2px;position:absolute;bottom:0;right:0}.roster-research{flex-wrap:wrap;grid-column:2/-1;align-items:center;gap:3px;min-width:0;min-height:0;display:flex}.roster-research:empty{display:none}.roster-research-seal{cursor:help;place-items:center;width:22px;height:22px;display:inline-grid}.roster-research-seal svg,.roster-research-seal.legacy-shield{width:22px;height:22px}.roster-research-more{color:#cdb77f;font:600 11px var(--font-ui);cursor:help;padding:0 5px}#match-roster[data-expanded=true] .roster-history{grid-column:1/-1}#match-roster[data-expanded=true] li{grid-template-columns:28px minmax(0,1fr) 75px}#match-roster[data-expanded=true] .roster-era{gap:6px;padding:3px;display:flex}#match-roster[data-expanded=true] .roster-era .legacy-shield{width:28px;height:28px}#building-panel{width:380px;max-width:calc(100vw - 500px);max-height:min(34dvh,300px);padding:10px;inset:auto auto 26px 246px;overflow:auto;transform:none}.bp-header{justify-content:space-between;align-items:center;gap:8px;display:flex}#bp-trains{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:6px;margin-top:6px;display:grid}#bp-trains .tcard{text-align:left;grid-template-columns:32px minmax(0,1fr);gap:3px 6px;width:auto;min-width:0;height:auto;min-height:60px;padding:6px;display:grid}#bp-trains .tcard .ic{grid-row:1/3;height:38px}#bp-trains .tcard .piece-portrait{width:32px;height:38px}#bp-trains .tcard .nm{min-height:0;font-size:11px}#bp-trains .tcard .cost{justify-content:flex-start}#bp-queue{flex-wrap:nowrap;padding-bottom:3px;display:flex;overflow-x:auto}#bp-queue .qitem{width:44px;height:44px}#bp-logistics,#bp-rally,#sel-logistics{font:12px/1.45 var(--font-ui);color:#ded5bc;margin-top:6px}#bp-logistics:empty,#bp-rally:empty,#sel-logistics:empty{display:none}#sel-field{gap:5px;margin-top:7px;display:grid}#sel-field:empty{display:none}#sel-field .field-row{flex-wrap:wrap;gap:5px;display:flex}#sel-field .field-chip{height:26px;font:700 11px/1 var(--font-ui);color:#e9d9a9;cursor:help;background:#13201bcc;border:1px solid #6b775f88;border-radius:3px;align-items:center;gap:2px;padding:0 6px 0 2px;display:inline-flex}#sel-field .field-chip img{width:24px;height:24px}#sel-field .field-chip svg{width:18px;height:18px;margin-left:3px}#sel-field .field-strong{border-color:#7fae5f}#sel-field .field-strong .field-arrows{color:#9fd17f}#sel-field .field-weak{border-color:#c8735c}#sel-field .field-weak .field-arrows{color:#f0937a}#sel-field .field-arrows{letter-spacing:-1px;font-size:9px;font-style:normal}#sel-field .field-muted{opacity:.6}@media (width<=1049px) and (width>=850px){#building-panel{width:340px;max-width:calc(100vw - 440px);left:220px}}@media (width<=849px){#building-panel{width:360px;max-width:calc(100vw - 16px);max-height:min(38dvh,300px);bottom:184px;left:auto;right:8px}#hud:has(#building-panel:not(.hidden)) #production-watch{display:none}}@media (width<=849px) and (width>=500px) and (height<=560px){#building-panel{width:auto;max-width:none;max-height:calc(100dvh - 190px);bottom:12px;left:170px;right:180px}}#top-bar #idle-villagers{font:inherit;color:inherit;cursor:pointer;background:#5a3a1440;border:1px solid #d49a4a99;border-radius:3px;align-items:center;gap:4px;padding:2px 8px;animation:1.6s ease-in-out infinite idle-call;display:inline-flex}#top-bar #idle-villagers[hidden]{display:none}#top-bar #idle-villagers b{color:#ffc670}#top-bar #idle-villagers:hover,#top-bar #idle-villagers:focus-visible{background:#7a4f1c66;border-color:#ffc670}@keyframes idle-call{50%{box-shadow:0 0 0 3px #d49a4a33}}:root[data-reduced-motion=true] #top-bar #idle-villagers{animation:none}#gameover{padding:24px 16px;overflow:auto}#match-report{width:min(980px,100%);overflow-x:auto}#match-report:empty{display:none}.match-report{border-collapse:collapse;width:100%;font:13px/1.35 var(--font-ui);color:#ded5bc;background:#0f1f1ccc;border:1px solid #6b775f}.match-report caption{text-align:left;color:#c9ae78;font:600 12px var(--font-display);letter-spacing:.08em;text-transform:uppercase;padding:0 0 8px}.match-report th,.match-report td{text-align:right;white-space:nowrap;border-bottom:1px solid #6b775f44;padding:8px 10px}.match-report thead th{color:#b7c2ad;background:#162c27;font-size:11px;font-weight:600}.match-report thead th:first-child,.match-report tbody th{text-align:left}.match-report tbody th{white-space:normal;min-width:180px}.match-report tbody th strong{color:#f0ddb2;font-size:14px;display:block}.match-report tbody th small{color:#9fae9a}.match-report td{font-variant-numeric:tabular-nums}.match-report tr.is-you{background:#3c4c3533}.match-report tr.is-winner th strong:after{content:" ♛";color:#e6c170}.match-report .age-path{flex-wrap:wrap;gap:4px;margin:6px 0 0;padding:0;list-style:none;display:flex}.match-report .age-path li{color:#d8d8ba;background:#192e29;border:1px solid #6b775f88;border-radius:2px;padding:1px 6px;font-size:11px}.match-story{color:#ded5bc;font:13px/1.45 var(--font-ui);text-align:left;background:#0f1f1ccc;border:1px solid #6b775f;margin-top:14px;padding:12px 14px}.match-story h3{color:#c9ae78;font:600 12px var(--font-display);letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px}.story-curve{width:100%;height:auto;display:block}.story-curve polyline{fill:none;stroke-width:2px;stroke-linejoin:round;vector-effect:non-scaling-stroke}.story-curve .curve-army{stroke:#e0785a}.story-curve .curve-workers{stroke:#ecd18a;opacity:.8}.story-curve .curve-mark{stroke-width:1px;stroke-dasharray:2 3;vector-effect:non-scaling-stroke}.story-curve .mark-good{stroke:#9fd17f}.story-curve .mark-bad{stroke:#f0937a}.story-curve .mark-age{stroke:#c9b4ef}.story-curve text{fill:#9fae9a;font:10px var(--font-ui)}.story-legend{color:#9fae9a;gap:14px;margin:4px 0 8px;font-size:11px;display:flex}.story-legend span:before{content:"";vertical-align:middle;width:14px;height:2px;margin:0 6px 3px 0;display:inline-block}.legend-curve-army:before{background:#e0785a}.legend-curve-workers:before{background:#ecd18a}.story-moments{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:4px 16px;margin:0;padding:0;list-style:none;display:grid}.story-moments li{align-items:baseline;gap:8px;display:flex}.story-moments time{font-variant-numeric:tabular-nums;color:#9fae9a;font-size:12px}.story-moments .moment-good:after{content:""}.story-moments .moment-bad time{color:#f0937a}.story-moments .moment-good time{color:#9fd17f}.story-moments .moment-age time{color:#c9b4ef}.story-lesson{background:#1a2b26;border-left:3px solid #c9ae78;margin:10px 0 0;padding:8px 10px}.story-lesson strong{color:#f0ddb2}.go-actions{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}#go-rematch{font:600 15px var(--font-ui);color:#18292b;cursor:pointer;background:#d6b17a;border:0;border-radius:3px;padding:12px 24px}#go-rematch[hidden]{display:none}#go-rematch:not([hidden])+#go-restart{color:#e8dcc0;background:0 0;border:1px solid #c9ae78;padding:12px 24px;font-size:15px}#go-rematch:focus-visible,#go-restart:focus-visible{outline-offset:3px;outline:2px solid #eee2bb}@media (width>=1050px){#selection-panel:has(#sel-multi:not(.hidden)){flex-direction:row;align-items:center;gap:16px;width:min(980px,100vw - 500px);min-height:0;max-height:none;padding:10px 14px;overflow:visible}#selection-panel #sel-multi:not(.hidden){flex-direction:row;flex:1;align-items:center;gap:14px;min-width:0;display:flex}#sel-multi #sel-multi-summary{font:500 14px/1.2 var(--font-display);letter-spacing:.02em;color:#e8c878;white-space:nowrap;flex:none;order:-1}#sel-multi #sel-kind-groups{scrollbar-width:thin;flex-wrap:nowrap;flex:1;min-width:0;overflow-x:auto}#sel-multi .sel-kind-group{white-space:nowrap;flex:none;min-height:32px;padding:5px 8px}#sel-multi #sel-individuals{border:0;flex:none;margin:0;position:relative}#sel-multi #sel-individuals>summary{white-space:nowrap;padding:0}#sel-multi #sel-individuals[open]>#sel-grid{z-index:5;background:#192b28f7;border:1px solid #837659;border-radius:3px;flex-wrap:wrap;width:320px;max-height:180px;padding:8px;display:flex;position:absolute;bottom:calc(100% + 14px);right:-8px;overflow:auto;box-shadow:0 10px 26px #0008}#selection-panel:has(#sel-multi:not(.hidden)) #formation-stance-panel{border-top:0;border-left:1px solid var(--ui-line-soft);flex-wrap:nowrap;flex:none;width:auto;padding:0 0 0 16px}#selection-panel:has(#sel-multi:not(.hidden)) #formation-stance-panel .hud-group{flex-wrap:nowrap;align-items:center}#selection-panel:has(#sel-multi:not(.hidden)) #formation-stance-panel .hud-group-label{writing-mode:vertical-rl;color:#8f9a88;text-transform:uppercase;letter-spacing:.08em;font-size:10px;font-family:var(--font-display);flex-basis:auto;margin-right:4px;transform:rotate(180deg)}}#civilization-decree{z-index:72;color:#f2e2b6;text-align:left;cursor:pointer;background:linear-gradient(100deg,#4a3a1cf2,#2a2a1ef2);border:1px solid #d6b46c;border-radius:3px;gap:1px;width:auto;height:auto;padding:9px 16px 9px 44px;animation:2.4s ease-in-out infinite age-ready;display:grid;position:absolute;top:74px;left:16px;right:auto;box-shadow:0 6px 20px #0008,0 0 0 1px #0006}#civilization-decree:before{content:"✦";color:#f0cf7c;border:0;width:auto;height:auto;font-size:18px;position:absolute;top:50%;left:14px;transform:translateY(-50%)}#civilization-decree:after,#civilization-decree[hidden],#civilization-council[hidden],#heritage-bar[hidden]{display:none}#civilization-decree strong{font:500 15px/1.2 var(--font-display);letter-spacing:.03em;color:#f6dc97}#civilization-decree small{font:12px/1.3 var(--font-ui);color:#d8ccad}#civilization-decree:hover{filter:brightness(1.1);padding-left:44px}@keyframes age-ready{0%,to{box-shadow:0 6px 20px #0008,0 0 0 1px #0006}50%{box-shadow:0 6px 20px #0008,0 0 0 4px #d6b46c40}}#civilization-council{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:radial-gradient(70% 40% at 50% 0,#d6b46c1f,#0000 70%),linear-gradient(#18261fe8,#0f1813f2);border:1px solid #9f855c;border-radius:4px;width:min(1120px,100vw - 48px);max-height:calc(100dvh - 64px);padding:18px 22px 22px;animation:.45s cubic-bezier(.2,.8,.2,1) both council-in;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 24px 70px #000c,inset 0 0 0 4px #0b120e,inset 0 0 0 5px #9f855c40}#civilization-council>header{background:linear-gradient(90deg,#0000,#9f855c99,#0000) bottom/100% 1px no-repeat;border-bottom:0;margin:0 0 16px;padding:0 0 12px}#civilization-council h2{text-align:center;width:100%;font:400 clamp(22px,2.4vw,30px)/1.15 var(--font-display);letter-spacing:.06em;color:#f2dca2;text-shadow:0 2px #000a,0 0 24px #d6b46c40}#civilization-council>header button{border-radius:50%;flex:none;width:34px;height:34px;font-size:20px}#civilization-council .heritage-cards{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px;margin:0}#civilization-council .culture-choice{--civ-tint:#cfb47b;border:1px solid color-mix(in srgb,var(--civ-tint) 40%,#4d4a3a);background:#121b16;border-radius:4px;flex-direction:column;min-width:0;transition:transform .25s,box-shadow .25s,border-color .25s;animation:.6s cubic-bezier(.2,.8,.2,1) both council-card-in;display:flex;overflow:hidden;box-shadow:0 12px 28px #0008}#civilization-council .culture-choice:nth-child(2){animation-delay:.12s}#civilization-council .culture-choice:nth-child(3){animation-delay:.24s}#civilization-council .culture-choice:hover,#civilization-council .culture-choice:focus-within{border-color:color-mix(in srgb,var(--civ-tint) 75%,#f2dca2);box-shadow:0 20px 40px #000a,0 0 0 1px color-mix(in srgb,var(--civ-tint) 50%,#0000),0 0 34px color-mix(in srgb,var(--civ-tint) 30%,#0000);transform:translateY(-6px)}#civilization-council .heritage-card{text-align:left;color:#e6dfc7;cursor:pointer;background:0 0;border:0;grid-template-rows:auto auto 1fr auto;align-items:stretch;gap:0;width:100%;padding:0;display:grid}#civilization-council .heritage-card:hover{background:0 0;transform:none}#civilization-council .heritage-card:focus-visible{outline-offset:-3px;outline:2px solid #f2dca2}#civilization-council .choice-stage{isolation:isolate;border-bottom:1px solid color-mix(in srgb,var(--civ-tint) 40%,#0000);height:clamp(150px,24vh,230px);position:relative;overflow:hidden}#civilization-council .choice-stage .civ-scene{filter:saturate(.9)brightness(.92);transition:filter .3s}#civilization-council .culture-choice:is(:hover,:focus-within) .choice-stage .civ-scene{filter:saturate(1.1)brightness(1.08)}#civilization-council .choice-head{z-index:2;align-items:center;gap:10px;display:flex;position:absolute;top:12px;left:12px;right:12px}#civilization-council .choice-head .civ-emblem{filter:drop-shadow(0 2px 4px #000c);flex:none}#civilization-council .heritage-card-copy{text-align:left;text-shadow:0 1px 2px #000c,0 0 14px #0009;gap:1px;min-width:0;display:grid}#civilization-council .heritage-card-copy small{color:#eadcb8;font:10.5px/1.3 var(--font-display);letter-spacing:.1em;text-transform:uppercase;opacity:.85}#civilization-council .heritage-card-copy strong{color:#fff3d4;font:400 clamp(19px,1.7vw,24px)/1.1 var(--font-display);letter-spacing:.02em;margin:0}#civilization-council .choice-style{box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--civ-tint) 60%,#0000);color:color-mix(in srgb,var(--civ-tint) 60%,#fbf1d6);font:600 11px/1.5 var(--font-ui);text-shadow:none;white-space:nowrap;background:#0d120f9c;border-radius:999px;justify-self:start;margin-top:3px;padding:1px 9px}#civilization-council .choice-landmark,#civilization-council .choice-guard{z-index:1;justify-items:center;margin:0;display:grid;position:absolute;bottom:4px}#civilization-council .choice-landmark{width:44%;left:6%}#civilization-council .choice-guard{width:40%;right:6%}#civilization-council .choice-stage canvas{object-fit:contain;filter:drop-shadow(0 6px 6px #000a);width:100%;height:auto;max-height:clamp(110px,17vh,150px);display:block}#civilization-council .choice-guard canvas{max-height:clamp(120px,19vh,166px)}#civilization-council .choice-landmark figcaption{color:#e8dfc6;font:600 10.5px/1.4 var(--font-ui);white-space:nowrap;text-overflow:ellipsis;background:#0b110dc4;border-radius:3px;max-width:100%;margin-top:-4px;padding:1px 8px;overflow:hidden}#civilization-council .choice-figure{background:linear-gradient(90deg,color-mix(in srgb,var(--civ-tint) 14%,#0000),#0000 70%);justify-content:space-between;align-items:center;gap:10px;padding:10px 14px;display:flex}#civilization-council .choice-unit-copy{gap:1px;min-width:0;display:grid}#civilization-council .choice-unit-copy small,#civilization-council .choice-legacy small{color:color-mix(in srgb,var(--civ-tint) 45%,#a6ad9a);font:600 10px/1.3 var(--font-display);letter-spacing:.09em;text-transform:uppercase;display:block}#civilization-council .choice-unit{color:#f0e3c0;font:400 16px/1.25 var(--font-display);letter-spacing:.02em}#civilization-council .choice-unit-stats{color:#c4cbb9;font:12px/1.3 var(--font-ui);font-variant-numeric:tabular-nums}#civilization-council .choice-ability{color:#f1dfaf;font:600 11.5px/1.4 var(--font-ui);cursor:help;white-space:nowrap;background:#0d120f9c;border-radius:999px;flex:none;padding:3px 10px;box-shadow:inset 0 0 0 1px #e6c78066}#civilization-council .choice-ability:before{content:"⚡";color:#e6c780;margin-right:5px;font-size:.9em}#civilization-council .culture-choice>.heritage-card{flex:1}#civilization-council .choice-chips{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}#civilization-council .choice-chips li{color:#e6dfc7;cursor:help;background:#eee9db08;border:1px solid #ffffff1c;border-radius:3px;align-items:center;gap:3px;padding:4px 7px;animation:.4s .35s both council-chip-in;display:inline-flex}#civilization-council .choice-chips svg{width:20px;height:20px}#civilization-council .choice-chips i{letter-spacing:-1px;font-size:10px;font-style:normal}#civilization-council .choice-chips .benefit i{color:#9fd17f}#civilization-council .choice-chips .tradeoff{border-color:#c98a7666}#civilization-council .choice-chips .tradeoff i{color:#f0937a}#civilization-council .choice-chips .legacy{border-color:color-mix(in srgb,var(--civ-tint) 60%,#af9867);color:#f2dca2}#civilization-council .choice-chips .now{color:#f0e3c0}#civilization-council .choice-details{color:#c4cbb9;font:12px/1.4 var(--font-ui);padding:0 14px 10px}#civilization-council .choice-details summary{cursor:pointer;color:color-mix(in srgb,var(--civ-tint) 55%,#a6ad9a);font:600 10px/1.6 var(--font-display);letter-spacing:.09em;text-transform:uppercase}#civilization-council .choice-details[open]{gap:8px;display:grid}#civilization-council .choice-facts{align-content:start;gap:10px;padding:4px 14px 12px;display:grid}#civilization-council .choice-effects{flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;display:flex}#civilization-council .choice-effects li{font:12px/1.3 var(--font-ui);color:#e6dfc7;animation:council-chip-in .4s calc(.35s + var(--i,0) * 50ms) both;background:#eee9db06;border:1px solid #ffffff1c;border-left:3px solid #9fbd7e;border-radius:3px;align-items:baseline;gap:6px;padding:4px 9px;display:inline-flex}#civilization-council .choice-effects b{font-variant-numeric:tabular-nums;font-weight:700}#civilization-council .choice-effects .benefit b{color:#b7cf98}#civilization-council .choice-effects .tradeoff{border-left-color:#c98a76}#civilization-council .choice-effects .tradeoff b{color:#e0a891}#civilization-council .choice-legacy{border-left:2px solid color-mix(in srgb,var(--civ-tint) 60%,#af9867);color:#ddd5be;font:13px/1.45 var(--font-body);background:#0d140f80;margin:0;padding:7px 10px}#civilization-council .choice-action{color:#f2dca2;text-align:center;font:400 14px var(--font-display);letter-spacing:.08em;background:linear-gradient(#d6b46c14,#0000);border:1px solid #9d8556;border-radius:3px;margin:0 14px 14px;padding:10px;font-style:normal;transition:background .2s,color .2s;display:block}#civilization-council .culture-choice:is(:hover,:focus-within) .choice-action{color:#1d2520;background:linear-gradient(#e8cf95,#c7a868);border-color:#f0dba6}@keyframes council-in{0%{opacity:0;transform:translate(-50%,-47%)scale(.98)}to{opacity:1;transform:translate(-50%,-50%)}}@keyframes council-card-in{0%{opacity:0;transform:translateY(26px)}to{opacity:1;transform:none}}@keyframes council-chip-in{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){:root:not([data-reduced-motion=false]) :is(#civilization-council,#civilization-council *){transition:none!important;animation:none!important}}:root[data-reduced-motion=true] :is(#civilization-council,#civilization-council *){transition:none!important;animation:none!important}@media (width<=849px){#civilization-council{width:calc(100vw - 16px);max-height:calc(100dvh - 70px);padding:14px}}#bp-tax{border-top:1px solid var(--ui-line-soft);cursor:help;align-items:center;gap:8px;padding-top:8px;display:flex}#bp-tax[hidden]{display:none}#bp-tax h3{font:500 13px/1.2 var(--font-display);letter-spacing:.04em;color:#e8c878;margin:0}#bp-tax .tax-stepper{background:#0d1512;border:1px solid #6d6750;border-radius:3px;align-items:stretch;display:inline-flex}#bp-tax .tax-step{color:#d7d0b8;width:24px;min-height:26px;font:700 15px/1 var(--font-ui);cursor:pointer;background:0 0;border:0;padding:0}#bp-tax .tax-step:hover:not(:disabled){color:#f6e7b8;background:#ffffff10}#bp-tax .tax-step:disabled{opacity:.3;cursor:default}#bp-tax .tax-value{color:#f2ead8;min-width:62px;font:600 12px/1.5 var(--font-ui);text-align:center;border-inline:1px solid #6d675066;padding:4px 6px}#bp-tax .tax-value[data-level=exempt],#bp-tax .tax-value[data-level=low]{color:#b7cf98}#bp-tax .tax-value[data-level=high],#bp-tax .tax-value[data-level=harsh]{color:#e0a891}#bp-tax .tax-mood{font:600 12px var(--font-ui);font-variant-numeric:tabular-nums;color:#d7d0b8;margin-left:auto}#bp-tax .tax-mood[data-tone=up]{color:#b7cf98}#bp-tax .tax-mood[data-tone=down]{color:#e0a891}#top-bar #morale-chip{font:600 12px var(--font-ui);font-variant-numeric:tabular-nums}#top-bar #morale-chip[hidden]{display:none}#top-bar #morale-chip[data-tone=up]{color:#b7cf98}#top-bar #morale-chip[data-tone=down]{color:#e0a891}.founder-badge{--founder:#e3b64c;color:var(--founder);font:600 11.5px/1.2 var(--font-ui);letter-spacing:.03em;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.founder-badge canvas{filter:drop-shadow(0 1px 2px #0008);flex:none}.founder-badge.tier-citizen{--founder:#c98a63}.founder-badge.tier-caravaneer{--founder:#d19a55}.founder-badge.tier-warden{--founder:#cfd5d5}.founder-badge.tier-friend{--founder:#e3b64c}.founder-badge.tier-treasurer{--founder:#f2cf6b}#match-roster .founder-badge{vertical-align:-3px;margin-left:5px}.room-seat-info .founder-badge,.ml-text .founder-badge{justify-self:start;margin-top:2px}#match-status .objective-guide{color:#f1e6c6;font:600 12px/1.2 var(--font-ui);cursor:pointer;background:#cfb47b22;border:1px solid #cfb47b;border-radius:2px;margin:6px 0 0;padding:4px 12px}#match-status .objective-guide:hover{background:#cfb47b44}#match-status .objective-guide[hidden]{display:none}#civilization-council .choice-now,#civilization-council .choice-plan{border-left:2px solid color-mix(in srgb,var(--civ-tint) 60%,#af9867);color:#ddd5be;font:12.5px/1.45 var(--font-body);background:#0d140f80;margin:6px 0 0;padding:6px 10px}#civilization-council .choice-now small,#civilization-council .choice-plan small{color:color-mix(in srgb,var(--civ-tint) 45%,#a6ad9a);font:600 10px/1.3 var(--font-display);letter-spacing:.09em;text-transform:uppercase;display:block}.issue-dialog .issue-words{box-sizing:border-box;border:1px solid var(--ui-line);border-radius:var(--ui-radius);background:var(--ui-surface-1,#1c2a25);width:100%;color:var(--ui-ink);font:14px/1.45 var(--font-ui);resize:vertical;padding:10px}.issue-dialog details{color:var(--ui-ink-muted);margin:10px 0}.issue-dialog .issue-preview{border:1px solid var(--ui-line);white-space:pre-wrap;word-break:break-all;background:#0b1412;max-height:180px;padding:8px;font:11px/1.4 ui-monospace,monospace;overflow:auto}.issue-dialog .issue-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.issue-dialog .issue-actions small{color:var(--ui-ink-muted)}#hud #building-panel:not(.hidden){--seal-gold:#c9a96a;--seal-line:#9f855c;border:1px solid var(--seal-line);background:radial-gradient(60% 120% at 0%,#d6b46c14,#0000 60%),linear-gradient(#1f2e28f8,#121c18f8);border-radius:6px;grid-template-columns:86px minmax(150px,240px) minmax(0,auto);align-items:center;gap:0 16px;width:fit-content;min-width:0;max-width:980px;max-height:min(300px,48dvh);margin:0 auto;padding:12px 16px 12px 12px;animation:.18s ease-out both seal-in;display:grid;inset:auto 316px 28px 16px;overflow:visible auto;transform:none;box-shadow:0 12px 32px #000a,inset 0 0 0 3px #0b130f,inset 0 0 0 4px #9f855c2e}#hud #building-panel:not(.hidden):before,#hud #building-panel:not(.hidden):after{content:"";border:1px solid var(--seal-gold);background:#1a2722;width:9px;height:9px;position:absolute;top:-5px;transform:rotate(45deg);box-shadow:0 0 0 2px #0b130f}#hud #building-panel:not(.hidden):before{left:22px}#hud #building-panel:not(.hidden):after{right:22px}@keyframes seal-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}:root[data-reduced-motion=true] #hud #building-panel:not(.hidden){animation:none}#hud #building-panel:not(.hidden)>.bp-medallion{grid-area:1/1}#hud #building-panel:not(.hidden)>.bp-info{grid-area:1/2}#hud #building-panel:not(.hidden)>#bp-body{grid-area:1/3}#hud #building-panel:not(.hidden):not(:has(#bp-body>:not(:empty):not([hidden]))){grid-template-columns:86px minmax(150px,260px)}.bp-medallion{place-items:center;width:86px;height:86px;display:grid;position:relative}.bp-ring{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.bp-ring circle{fill:none;stroke-width:6px}.bp-ring-track{stroke:#0d1612}.bp-ring-fill{stroke:#8fb36f;stroke-linecap:round;transition:stroke-dashoffset .35s,stroke .35s}#building-panel[data-health=mid] .bp-ring-fill{stroke:#d4b064}#building-panel[data-health=low] .bp-ring-fill{stroke:#c9765c}:root[data-reduced-motion=true] .bp-ring-fill{transition:none}#bp-portrait{background:radial-gradient(circle at 45% 35%,#2d4238,#13201b 75%);border-radius:50%;place-items:center;width:66px;height:66px;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #c9a96a66,inset 0 4px 10px #0008}#bp-portrait :is(img,svg,canvas,.piece-portrait){object-fit:contain;width:58px;height:58px;transform:translateY(3px)}.bp-info{align-content:center;gap:4px;min-width:0;display:grid}#hud #building-panel .bp-header{border:0;padding:0;display:block}#hud #building-panel #bp-title{font:500 17px/1.15 var(--font-display);letter-spacing:.03em;color:#f0d89c;white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:7px;display:flex;overflow:hidden}#hud #building-panel #bp-title .civ-emblem{flex:none;width:20px;height:20px}#bp-role{color:#b9bfae;font:11.5px/1.35 var(--font-ui);-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}#bp-role:empty{display:none}#hud #building-panel #bp-more{border:0;margin:2px 0 0;padding:0}#hud #building-panel #bp-facts{flex-wrap:wrap;gap:4px;padding:0;display:flex}#hud #building-panel #bp-facts>span{color:#e2dac0;font:11px/1.45 var(--font-ui);font-variant-numeric:tabular-nums;background:#0f1915;border:1px solid #5e5a47;border-radius:999px;padding:2px 8px}#hud #building-panel #bp-health b{font-weight:600}#building-panel[data-health=high] #bp-health{border-color:#6f9452aa}#building-panel[data-health=mid] #bp-health{border-color:#b48f42}#building-panel[data-health=low] #bp-health{color:#f1b9a6;border-color:#a1513a}#hud #building-panel :is(#bp-hint,#bp-logistics,#bp-rally){font:11.5px/1.35 var(--font-ui);color:#d8cfb6;white-space:nowrap;text-overflow:ellipsis;margin:0;overflow:hidden}#hud #building-panel #bp-rally{color:#9fa894}#hud #building-panel :is(#bp-hint,#bp-logistics,#bp-rally):empty{display:none}#hud #building-panel #bp-body{border-left:1px solid #9f855c40;grid-auto-flow:row;align-content:center;gap:6px;min-width:0;padding-left:16px;display:grid}#hud #building-panel #bp-body:not(:has(>:not(:empty):not([hidden]))){display:none}#hud #building-panel #bp-trains{flex-wrap:wrap;gap:6px;margin:0;display:flex}#hud #building-panel #bp-trains:empty{display:none}#hud #building-panel #bp-trains .tcard{text-align:center;background:linear-gradient(#22322b,#17231e);border:1px solid #6a6450;border-radius:4px;flex-direction:column;align-items:center;gap:2px;width:78px;height:auto;min-height:0;padding:5px 4px;transition:border-color .15s,transform .15s;display:flex;position:relative}#hud #building-panel #bp-trains .tcard:hover:not(:disabled){border-color:var(--seal-gold);transform:translateY(-2px)}#hud #building-panel #bp-trains .tcard .ic{height:44px}#hud #building-panel #bp-trains .tcard .piece-portrait{width:40px;height:44px}#hud #building-panel #bp-trains .tcard .nm{max-width:100%;min-height:0;font:600 10.5px/1.2 var(--font-ui);white-space:nowrap;text-overflow:ellipsis;color:#eadfc2;overflow:hidden}#hud #building-panel #bp-trains .tcard .cost{font:600 10px/1.2 var(--font-ui);justify-content:center;gap:0 2px}#hud #building-panel #bp-trains .tcard .cost .res-icon{width:13px;height:13px}#hud #building-panel #bp-trains .tcard .tm{font:10px var(--font-ui);color:#a9ae9c;font-variant-numeric:tabular-nums;position:absolute;top:3px;right:4px}#hud #building-panel #bp-queue{gap:4px;margin:0;display:flex;overflow:visible}#hud #building-panel #bp-queue:empty{display:none}#hud #building-panel #bp-queue .qitem{background:#13201b;border:1px solid #6a6450;border-radius:50%;width:30px;height:30px;overflow:hidden}#hud #building-panel #bp-queue .qitem:first-child{border-color:var(--seal-gold)}#hud #building-panel #bp-queue .qitem .piece-portrait{width:26px;height:28px}#hud #building-panel #bp-trains .bed{cursor:pointer;background:0 0;border:0;align-content:start;justify-items:center;gap:2px;width:52px;height:62px;padding:4px 0 0;display:grid;position:relative}#hud #building-panel #bp-trains .bed .ic{--ring:conic-gradient(#8fb36f calc(var(--mended,0)*360deg),#0d1612 0);background:radial-gradient(circle,#1d2c26 60%,#0000 61%),var(--ring);border-radius:50%;place-items:center;width:44px;height:44px;display:grid;overflow:hidden;box-shadow:0 0 0 1px #6a6450}#hud #building-panel #bp-trains .bed .piece-portrait{width:34px;height:38px;transform:translateY(2px)}#hud #building-panel #bp-trains .bed .tm{font:600 10px/1 var(--font-ui);color:#cfd6c2;font-variant-numeric:tabular-nums}#hud #building-panel #bp-trains .bed:hover .ic,#hud #building-panel #bp-trains .bed:focus-visible .ic{box-shadow:0 0 0 1px var(--seal-gold)}#hud #building-panel #bp-trains .bed.empty{cursor:default}#hud #building-panel #bp-trains .bed.empty:before{content:"";background:radial-gradient(50% 22% at 50% 58%,#ece6d61a,#0000 70%);border:1px dashed #5e5a4788;border-radius:50%;width:44px;height:44px}#hud #building-panel #landmark-studies{border:0;flex-wrap:wrap;align-items:stretch;gap:6px;margin:0;padding:0;display:flex}#hud #building-panel #landmark-studies[hidden],#hud #building-panel #landmark-studies>h3{display:none}#hud #building-panel #landmark-studies .monument-age{border:1px solid var(--seal-gold);color:#f3e2b2;text-align:center;background:linear-gradient(160deg,#4a3c1ecc,#2a2617);border-radius:4px;align-content:center;gap:2px;width:132px;min-height:84px;padding:6px 8px;display:grid}#hud #building-panel #landmark-studies .monument-age .age-label{font:500 13px/1.2 var(--font-display);letter-spacing:.03em}#hud #building-panel #landmark-studies .monument-age .age-cost{font:600 10.5px var(--font-ui);justify-content:center}#hud #building-panel #landmark-studies .monument-age .age-hint{font:10px/1.25 var(--font-ui);color:#cbbf9c}#hud #building-panel #landmark-studies .monument-age:disabled{filter:saturate(.6)brightness(.85)}#hud #building-panel #landmark-studies .monument-status{display:none}#hud #building-panel #landmark-studies .legacy-shield{align-self:center;width:46px;height:46px}#hud #building-panel #bp-tax{font:11.5px var(--font-ui);border:0;align-items:center;gap:6px;margin:0;padding:0;display:flex}#hud #building-panel #bp-tax[hidden]{display:none}#hud #building-panel #bp-tax h3{font:500 12px var(--font-display);color:#f0d89c;letter-spacing:.04em;margin:0}@media (width<=849px){#hud #building-panel:not(.hidden){grid-template-columns:64px minmax(0,1fr);width:auto;max-width:none;max-height:none;animation:none;bottom:184px;left:8px;right:8px;transform:none}.bp-medallion{width:64px;height:64px}#bp-portrait{width:48px;height:48px}#bp-portrait :is(img,svg,canvas,.piece-portrait){width:42px;height:42px}#hud #building-panel #bp-body{border-top:1px solid #9f855c40;border-left:0;grid-column:1/-1;padding:8px 0 0}#hud #building-panel :is(#bp-trains,#landmark-studies){flex-wrap:wrap}}#hud #top-bar{isolation:isolate}#top-sky{z-index:-1;border-radius:inherit;pointer-events:none;width:100%;height:100%;position:absolute;inset:0}#top-bar :is(.res,#civ-badge,#heritage-bar,#morale-chip,#selection-info){text-shadow:0 1px 2px #000c,0 0 6px #0008}#hud #top-bar{border-top:0;border-radius:0 0 8px 8px;top:0}#left-dock{z-index:72;pointer-events:none;flex-direction:column;align-items:flex-start;gap:8px;max-width:min(440px,42vw);display:flex;position:absolute;top:52px;left:16px}#left-dock>*{pointer-events:auto}@media (width>=850px){#left-dock>:is(#civilization-decree,#reform-edict-box,#production-watch){max-width:100%;margin:0;position:relative;inset:auto;transform:none}#left-dock #production-watch{flex-wrap:wrap;gap:6px;width:auto;max-height:none;padding:0;display:flex;overflow:visible}#left-dock #production-watch[hidden]{display:none}#left-dock .production-watch-item{background:linear-gradient(#22322bf2,#17231ef2);border-color:#6a6450;border-radius:3px;flex:none;grid-template-columns:30px minmax(0,1fr);width:auto;min-width:148px;max-width:210px;height:40px;padding:3px 34px 5px 4px;box-shadow:0 4px 12px #0006}#left-dock .production-watch-item:hover{border-color:#c9a96a}#left-dock .production-portrait img,#left-dock .production-portrait svg{width:30px;height:30px}#left-dock .production-watch-item .production-name{font:600 12px/1.2 var(--font-ui)}#left-dock .production-watch-item small{font:11px/1.1 var(--font-ui)}#left-dock .production-count{font-size:11px;top:5px;right:6px}#left-dock .production-next{display:none}}@media (width<=849px){#left-dock{display:contents}}#reform-edict{color:#f2e2b6;text-align:left;cursor:pointer;background:linear-gradient(100deg,#3d2f1af2,#24261df2);border:1px solid #c9a96a;border-radius:3px;grid-template-rows:auto auto;grid-template-columns:34px minmax(0,1fr);align-items:center;column-gap:10px;min-width:236px;padding:8px 28px 10px 10px;display:grid;position:relative;overflow:hidden;box-shadow:0 6px 20px #0008,0 0 0 1px #0006}#reform-edict[hidden]{display:none}#reform-edict .edict-seal{color:#f8ecd0;background:radial-gradient(circle at 38% 32%,color-mix(in srgb,var(--seal,#9a3b2c) 55%,#fff),var(--seal,#9a3b2c) 55%,color-mix(in srgb,var(--seal,#9a3b2c) 55%,#000));border-radius:50%;grid-row:1/3;place-items:center;width:34px;height:34px;display:grid;box-shadow:inset 0 0 0 2px #0003,inset 0 -3px 5px #0004,0 2px 4px #0008}#reform-edict .edict-seal svg{width:100%;height:100%}#reform-edict[data-state=open] .edict-seal:before{content:"✦";color:#fbefd2;text-shadow:0 1px 1px #0008;font-size:16px}#reform-edict strong{font:500 15px/1.2 var(--font-display);letter-spacing:.03em;color:#f6dc97;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#reform-edict small{font:12px/1.3 var(--font-ui);color:#d8ccad;font-variant-numeric:tabular-nums}#reform-edict .edict-progress{height:3px;width:var(--progress,0%);background:linear-gradient(90deg,#b58f4c,#f0d58f);transition:width .4s linear;position:absolute;bottom:0;left:0}#reform-edict[data-state=open]{animation:2.4s ease-in-out 3 age-ready}#reform-edict-box{position:relative}#reform-edict-box[hidden],#reform-edict[data-state=open] .edict-progress{display:none}#reform-edict[data-state=open]:hover{filter:brightness(1.1)}#reform-edict[data-state=underway]{cursor:default;border-color:#9f855c}:root[data-reduced-motion=true] #reform-edict{animation:none}#reform-council{z-index:155;pointer-events:auto;background:radial-gradient(70% 40% at 50% 0,#d6b46c1f,#0000 70%),linear-gradient(#18261fee,#0f1813f5);border:1px solid #9f855c;border-radius:4px;width:min(900px,100vw - 48px);max-height:calc(100dvh - 64px);padding:18px 22px 22px;animation:.45s cubic-bezier(.2,.8,.2,1) both council-in;position:absolute;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 24px 70px #000c,inset 0 0 0 4px #0b120e,inset 0 0 0 5px #9f855c40}#reform-council[hidden]{display:none}#reform-council>header{background:linear-gradient(90deg,#0000,#9f855c99,#0000) bottom/100% 1px no-repeat;justify-items:center;gap:4px;margin:0 0 16px;padding:0 40px 12px;display:grid;position:relative}#reform-council h2{text-align:center;font:400 clamp(22px,2.4vw,30px)/1.15 var(--font-display);letter-spacing:.06em;color:#f2dca2;text-shadow:0 2px #000a,0 0 24px #d6b46c40;margin:0}#reform-council .reform-lead{text-align:center;font:13px/1.4 var(--font-ui);color:#c9c2a8;margin:0}#reform-council>header button{color:#e3c784;font:400 18px/1 var(--font-ui);cursor:pointer;background:radial-gradient(circle at 40% 35%,#24332b,#0f1813);border:1px solid #9f855c;border-radius:50%;place-items:center;width:34px;height:34px;padding:0;transition:color .15s,border-color .15s,background .15s,transform .15s;display:grid;position:absolute;top:0;right:0;box-shadow:inset 0 0 0 2px #0b120e,0 2px 6px #0008}#reform-council>header button:hover,#reform-council>header button:focus-visible{color:#fbe7b0;background:radial-gradient(circle at 40% 35%,#34463b,#152019);border-color:#e3c784;outline:none;transform:scale(1.06)}#reform-council .reform-cards{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;display:grid}#reform-council .reform-card{color:#e6dfc7;text-align:center;cursor:pointer;background:linear-gradient(#1c2b23,#121b16);border:1px solid #6a6450;border-radius:4px;align-content:start;justify-items:center;gap:8px;min-width:0;padding:20px 16px 14px;transition:transform .25s,border-color .25s,box-shadow .25s;animation:.6s cubic-bezier(.2,.8,.2,1) both council-card-in;display:grid;box-shadow:0 12px 28px #0008}#reform-council .reform-card:nth-child(2){animation-delay:.12s}#reform-council .reform-card:nth-child(3){animation-delay:.24s}#reform-council .reform-card:hover:not(:disabled),#reform-council .reform-card:focus-visible{border-color:#d6b46c;outline:none;transform:translateY(-5px);box-shadow:0 18px 36px #000a,0 0 30px #d6b46c2c}#reform-council .reform-card:disabled{opacity:.62;cursor:not-allowed}#reform-council .reform-seal{color:#f8ecd0;background:radial-gradient(circle at 38% 32%,color-mix(in srgb,var(--seal) 55%,#fff),var(--seal) 55%,color-mix(in srgb,var(--seal) 55%,#000));border-radius:50%;place-items:center;width:66px;height:66px;display:grid;box-shadow:inset 0 0 0 3px #0003,inset 0 -5px 8px #0004,0 4px 10px #0009}#reform-council .reform-seal svg{width:100%;height:100%}#reform-council .reform-card strong{font:400 20px/1.15 var(--font-display);letter-spacing:.02em;color:#f6e3ad}#reform-council .reform-card p{font:12.5px/1.45 var(--font-ui);color:#c9c5b0;margin:0}#reform-council .reform-gains{width:100%;font:600 12px/1.4 var(--font-ui);color:#b9d39a;border-top:1px solid #9f855c40;gap:2px;margin:2px 0 0;padding:8px 0 0;list-style:none;display:grid}#reform-council .reform-cost{font:600 12px var(--font-ui);flex-wrap:wrap;justify-content:center;gap:4px 10px;display:flex}:root[data-reduced-motion=true] #reform-council,:root[data-reduced-motion=true] #reform-council .reform-card{animation:none}#heritage-dialog .heritage-content{flex-direction:column;gap:16px;padding:16px 18px 20px;display:flex}#heritage-dialog .heritage-content h3{font:600 11px var(--font-display);letter-spacing:.14em;text-transform:uppercase;color:#cdbb8c;margin:0 0 8px}.hx-hero{background:radial-gradient(130% 150% at 0% 0%,color-mix(in srgb,var(--civ,#8a6a3a) 40%,transparent),transparent 62%),linear-gradient(120deg,#2b3b31,#18282a);border:1px solid #b29a6866;border-radius:6px;align-items:center;gap:14px;padding:12px 14px;display:flex;box-shadow:inset 0 1px #ffffff14}.hx-hero .civ-emblem{filter:drop-shadow(0 3px 6px #0009);flex:none}.hx-hero small{color:#b9c4ad;font:500 10px var(--font-ui);letter-spacing:.12em;text-transform:uppercase;display:block}.hx-hero strong{font:28px/1.05 var(--font-display);color:#f2dfae;text-shadow:0 2px 6px #0008;margin:2px 0 3px;display:block}.hx-hero span{color:#e0c58e;font:600 12px var(--font-ui);letter-spacing:.04em}.hx-path{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;padding:0;list-style:none;display:grid;position:relative}.hx-path:before{content:"";background:linear-gradient(90deg,#d8b86e var(--done,0%),#4f5c4b var(--done,0%));height:2px;position:absolute;top:30px;left:12.5%;right:12.5%}.hx-step{text-align:center;flex-direction:column;align-items:center;gap:4px;min-width:0;display:flex;position:relative}.hx-medal{box-sizing:border-box;color:#8f9b88;width:62px;height:62px;font:600 22px var(--font-display);background:radial-gradient(circle at 50% 35%,#34503f,#16241f);border:2px solid #5d6a58;border-radius:50%;place-items:center;display:grid;position:relative}.hx-medal img,.hx-medal canvas,.hx-medal .piece-portrait{object-fit:cover;border-radius:50%;width:100%;height:100%}.hx-medal .civ-emblem{filter:drop-shadow(0 1px 2px #000b);position:absolute;bottom:-5px;right:-7px}.hx-step.is-done .hx-medal{border-color:#c9a96a}.hx-step.is-now .hx-medal{box-shadow:0 0 0 3px color-mix(in srgb,var(--civ,#c9a96a) 55%,transparent),0 0 18px #f0d58f50;border-color:#f0d58f}.hx-step.is-next .hx-medal{color:#e0c58e;border:2px dashed #c9a96a;animation:2.4s ease-in-out infinite hx-beckon}.hx-step.is-ahead .hx-medal{opacity:.5}.hx-step b{font:600 10px var(--font-display);letter-spacing:.12em;color:#c9a96a}.hx-step span{font:600 11px/1.2 var(--font-ui);color:#ece0c0;overflow-wrap:anywhere}.hx-step:is(.is-next,.is-ahead) span{color:#98a592;font-weight:500}@keyframes hx-beckon{50%{box-shadow:0 0 0 5px #e0c58e26}}.hx-next{background:#13221ce6;border:1px solid #c9a96a55;border-radius:6px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:7px 10px;padding:10px 12px;display:grid}.hx-next p{color:#f0e2bd;font:600 13px/1.35 var(--font-ui);margin:0}.hx-bar{background:#0a1511;border-radius:3px;grid-column:1/-1;height:6px;overflow:hidden;box-shadow:inset 0 1px 2px #000a}.hx-bar i{background:linear-gradient(90deg,#b58f4c,#f0d58f);width:0;height:100%;transition:width .4s linear;display:block}.hx-next[data-state=ready]{background:linear-gradient(100deg,#3d2f1af2,#1c2a22f2);border-color:#f0d58f;box-shadow:0 0 16px #f0d58f22}.hx-next[data-state=halt] .hx-bar i{background:#b85a43}.hx-next[data-state=final] .hx-bar{display:none}.hx-next .hx-act{color:#fbefd2;font:600 12px var(--font-ui);cursor:pointer;background:#5a4320;border:1px solid #f0d58f;border-radius:3px;grid-area:1/2;padding:6px 16px}.hx-next .hx-act[hidden]{display:none}.hx-next .hx-act:hover,.hx-next .hx-act:focus-visible{background:#6e5226}.hx-seals{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.hx-reform{text-align:center;color:#eadcb8;min-width:0;font:600 11px/1.25 var(--font-ui);flex-direction:column;align-items:center;gap:6px;display:flex}.hx-seal{box-sizing:border-box;color:#c9a96a;width:56px;height:56px;font:600 16px var(--font-display);border-radius:50%;place-items:center;display:grid}.hx-seal svg{filter:drop-shadow(0 3px 5px #0009);width:100%;height:100%}.hx-reform.is-open .hx-seal{background:#1b2a24;border:2px dashed #e0c58e;animation:2.4s ease-in-out infinite hx-beckon}.hx-reform.is-open{color:#f0d58f}.hx-reform.is-underway .hx-seal svg{opacity:.62}.hx-reform.is-passed{opacity:.5;font-weight:500}.hx-reform.is-passed .hx-seal{border:1px solid #5d6a58}.hx-chips{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.hx-chip{background:#1c2e26;border-left:3px solid #c9a96a;border-radius:4px;flex-direction:column;gap:3px;min-width:0;padding:8px 10px;display:flex}.hx-chip b{font:600 19px/1 var(--font-display);color:#f3d98d}.hx-chip span{font:500 11px/1.3 var(--font-ui);color:#c6cfbd;overflow-wrap:anywhere}.hx-chip.is-cost{border-left-color:#8c6d5e}.hx-chip.is-cost b{color:#e3b9a6}.hx-empty{color:#98a592;font:italic 12px var(--font-ui);grid-column:1/-1;margin:0}#heritage-dialog :is(.hx-sources,.hx-dossier){border:0;border-top:1px solid #7e735246;margin:0;padding:10px 0 0}#heritage-dialog :is(.hx-sources,.hx-dossier) summary{cursor:pointer;color:#e3c995;font:600 12px var(--font-ui)}.hx-source{color:#c6cfbd;font:12px/1.4 var(--font-ui);border-bottom:1px solid #ffffff0d;gap:2px;padding:7px 0;display:grid}.hx-source strong{color:#ead5a3;align-items:center;gap:6px;font-weight:600;display:flex}.hx-sources p{color:#98a592;margin:8px 0 0;font-size:11px}@media (prefers-reduced-motion:reduce){.hx-step.is-next .hx-medal,.hx-reform.is-open .hx-seal{animation:none}}@media (width<=420px){.hx-chips{grid-template-columns:1fr}.hx-medal{width:52px;height:52px}.hx-path:before{top:25px}}}@layer kit{@property --d{syntax:"<length>";inherits:true;initial-value:6px}:root{--cc-plaster:#eadcbd;--cc-plaster-top:#f4e9d1;--cc-plaster-side:#ad9873;--cc-plaster-hover:#f1e4c9;--cc-hollow:#ddcdaa;--cc-hollow-deep:#c3ae86;--cc-stone:#d4c29c;--cc-stone-top:#e3d4b3;--cc-stone-side:#95805c;--cc-ink-soft:#66513e;--cc-light:#fff8e68c;--cc-on-glaze:#2b1d16;--cc-on-dye:#fff4e3;--cc-backdrop:#2c3552;--cc-wood:#3e4a72;--cc-wood-top:#56659a;--cc-wood-side:#222a47;--cc-wood-raise:#485583;--cc-wood-deep:#333d60;--cc-on-wood:#f6eedb;--cc-on-wood-soft:#cdc6b4;--cc-wood-line:#f6eedb2e;--cc-lapis-light:#f2be62;--cc-malachite-light:#b4dc96;--cc-terra-light:#f6a993;--cc-ink:#2b1d16;--cc-ink-faint:#2b1d162e;--cc-lapis:#d39a2c;--cc-lapis-top:#e8b44c;--cc-lapis-side:#7f5612;--cc-terra:#b3392c;--cc-terra-top:#cb5141;--cc-terra-side:#6d1f16;--cc-malachite:#5d7f45;--cc-malachite-ink:#3d5f2b;--cc-terra-ink:#8f2a1c;--cc-ochre:#d39a2c;--cc-bronze:#8b6a3c;--cc-madder:#a8352a;--cc-band:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='20' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23a8352a'/%3E%3Crect width='28' height='2' fill='%23f2e6cc'/%3E%3Crect y='18' width='28' height='2' fill='%23f2e6cc'/%3E%3Cpath d='M14 3 25 10 14 17 3 10Z' fill='%23f2e6cc'/%3E%3Cpath d='M14 6 20 10 14 14 8 10Z' fill='%233e4a72'/%3E%3Cpath d='M14 8.6 16.2 10 14 11.4 11.8 10Z' fill='%23d39a2c'/%3E%3Cpath d='M0 5 3 10 0 15ZM28 5 25 10 28 15Z' fill='%23d39a2c'/%3E%3C/svg%3E");--cc-mesopotamia:#2f5fab;--cc-nile:#2a8a84;--cc-india:#c9952c;--cc-china:#9b2f27;--cc-aegean:#b8603a;--cc-west-europe:#4f7440;--cc-north-europe:#5e4a7e;--cc-display:"Cradlecrown Display", "Palatino Linotype", serif;--cc-text:"Cradlecrown Text", "Segoe UI", sans-serif;--cc-shadow:0 1.1rem 2rem -1.2rem #101424b3}html{font-size:clamp(13px,min(1.8vh,1vw),24px)}.cc-slab{--d:.55rem;--face:var(--cc-plaster);--top:var(--cc-plaster-top);--side:var(--cc-plaster-side);isolation:isolate;background:var(--face);color:var(--cc-ink);box-shadow:var(--cc-shadow);position:relative}.cc-slab:before,.cc-slab:after{content:"";z-index:-1;pointer-events:none;position:absolute}.cc-slab:before{left:0;right:calc(-1 * var(--d));top:calc(-.72 * var(--d));height:calc(.72 * var(--d));background:var(--top);clip-path:polygon(0 100%, var(--d) 0, 100% 0, calc(100% - var(--d)) 100%)}.cc-slab:after{width:var(--d);left:100%;top:calc(-.72 * var(--d));background:var(--side);clip-path:polygon(0 calc(.72 * var(--d)), 100% 0, 100% calc(100% - .72 * var(--d)), 0 100%);bottom:0}.cc-slab.is-stone{--face:var(--cc-stone);--top:var(--cc-stone-top);--side:var(--cc-stone-side)}.cc-slab.is-glaze{--face:var(--cc-lapis);--top:var(--cc-lapis-top);--side:var(--cc-lapis-side);color:var(--cc-on-glaze)}.cc-slab.is-terra{--face:var(--cc-terra);--top:var(--cc-terra-top);--side:var(--cc-terra-side);color:var(--cc-on-dye)}.cc-hollow{background:var(--cc-hollow);box-shadow:inset .18rem .22rem 0 var(--cc-hollow-deep), inset -.08rem -.08rem 0 var(--cc-light)}.cc-carved{font-family:var(--cc-display);color:var(--cc-ink);text-shadow:.06em .07em 0 var(--cc-light);letter-spacing:.01em}.cc-relief{font-family:var(--cc-display);text-shadow:-.04em -.05em #ffffff38,.05em .06em #00000059}.cc-kicker{font:600 .72rem/1.2 var(--cc-text);letter-spacing:.16em;text-transform:uppercase;color:var(--cc-ink-soft)}.cc-rule{border:0;border-top:.12rem solid var(--cc-ink-faint);border-bottom:.08rem solid var(--cc-light);height:0;margin:0}.cc-glyph{vertical-align:-.22em;flex:none;width:1.25em;height:1.25em;display:inline-block}.cc-emblem{display:block}.cc-frieze{background-image:var(--frieze);background-position:50%;background-repeat:repeat-x;background-size:auto 100%;height:1.5rem}.cc-btn{--d:.32rem;appearance:none;cursor:pointer;min-height:2.5rem;font:600 .95rem/1 var(--cc-text);color:var(--cc-ink);border:0;justify-content:center;align-items:center;gap:.5em;margin:0;padding:.45rem 1.05rem;transition:--d 90ms ease-out,transform 90ms ease-out,background-color .12s;display:inline-flex;box-shadow:0 .45rem .7rem -.5rem #0009}.cc-btn:hover{--face:var(--cc-plaster-hover)}.cc-btn:active,.cc-btn[aria-pressed=true].is-sink{--d:.06rem;box-shadow:none;transform:translate(.26rem,-.19rem)}.cc-btn:focus-visible{outline:.14rem solid var(--cc-lapis);outline-offset:.3rem}.cc-btn[disabled]{cursor:not-allowed;--face:var(--cc-hollow);--top:var(--cc-hollow);--side:var(--cc-hollow-deep);color:#2b1d166b;box-shadow:none}.cc-btn.is-glaze:hover{--face:var(--cc-lapis-top)}.cc-btn.is-large{--d:.5rem;min-height:3.6rem;font:1.45rem/1 var(--cc-display);letter-spacing:.02em;padding:.7rem 2rem}.cc-btn.is-large:active{transform:translate(.4rem,-.29rem)}.cc-btn.is-square{width:2.5rem;padding:0}.cc-tokens{flex-wrap:wrap;gap:.55rem;display:flex}.cc-token{--d:.26rem;--face:var(--cc-plaster);--top:var(--cc-plaster-top);--side:var(--cc-plaster-side);isolation:isolate;appearance:none;cursor:pointer;background:var(--face);min-width:2.6rem;min-height:2.2rem;color:var(--cc-ink);font:600 .88rem/1 var(--cc-text);border:0;padding:.3rem .8rem;transition:--d 90ms ease-out,transform 90ms ease-out;position:relative}.cc-token:before,.cc-token:after{content:"";z-index:-1;pointer-events:none;position:absolute}.cc-token:before{left:0;right:calc(-1 * var(--d));top:calc(-.72 * var(--d));height:calc(.72 * var(--d));background:var(--top);clip-path:polygon(0 100%, var(--d) 0, 100% 0, calc(100% - var(--d)) 100%)}.cc-token:after{width:var(--d);left:100%;top:calc(-.72 * var(--d));background:var(--side);clip-path:polygon(0 calc(.72 * var(--d)), 100% 0, 100% calc(100% - .72 * var(--d)), 0 100%);bottom:0}.cc-token:hover{--face:var(--cc-plaster-hover)}.cc-token[aria-pressed=true],.cc-token.is-on{--d:.1rem;--face:var(--cc-lapis);--top:var(--cc-lapis-top);--side:var(--cc-lapis-side);color:var(--cc-on-glaze);transform:translate(.13rem,-.1rem)}.cc-token:focus-visible{outline:.14rem solid var(--cc-lapis);outline-offset:.3rem}.cc-pegs{align-items:center;gap:.28rem;display:inline-flex}.cc-pegs i{background:var(--cc-ink);width:.62rem;height:.62rem;box-shadow:.08rem .1rem 0 var(--cc-light);border-radius:50%}.cc-pegs i.is-empty{box-shadow:inset .1rem .12rem 0 var(--cc-hollow-deep), inset 0 0 0 .1rem #0009;background:0 0}.cc-field{appearance:none;min-height:2.5rem;font:500 .95rem/1.2 var(--cc-text);color:var(--cc-ink);background:var(--cc-hollow);box-shadow:inset .18rem .22rem 0 var(--cc-hollow-deep), inset -.08rem -.08rem 0 var(--cc-light);border:0;border-radius:0;padding:.4rem .7rem}.cc-field:focus-visible{outline:.14rem solid var(--cc-lapis);outline-offset:.15rem}@media (prefers-reduced-motion:reduce){.cc-btn,.cc-token{transition:none}}#main-menu{--m-gap:2.6rem;z-index:50;color:var(--cc-ink);font:1rem/1.45 var(--cc-text);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#3b4a33;display:block;position:fixed;inset:0;overflow:hidden}#main-menu.hidden{display:none}#main-menu *,#main-menu :before,#main-menu :after{box-sizing:border-box}:where(#main-menu) :where(button,input,select){font:inherit;color:inherit}:where(#main-menu) button{cursor:pointer}:where(#main-menu) button:disabled{cursor:not-allowed}:where(#main-menu) :focus-visible{outline:.14rem solid var(--cc-lapis);outline-offset:.2rem}:where(#main-menu) :where(h1,h2,h3,p){margin:0}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}:is(.mm-frame,.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.mm-room,.civ-show-stage figcaption,.resume-save,.mm-status,.seat-choice){--d:.32rem;--face:var(--cc-plaster);--top:var(--cc-plaster-top);--side:var(--cc-plaster-side);isolation:isolate;background:var(--face);color:var(--cc-ink);border:0;border-radius:0;position:relative}:is(.mm-frame,.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.mm-room,.civ-show-stage figcaption,.resume-save,.mm-status,.seat-choice):before{content:"";z-index:-1;pointer-events:none;left:0;right:calc(-1 * var(--d));top:calc(-.72 * var(--d));height:calc(.72 * var(--d));background:var(--top);clip-path:polygon(0 100%, var(--d) 0, 100% 0, calc(100% - var(--d)) 100%);position:absolute}:is(.mm-frame,.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.mm-room,.civ-show-stage figcaption,.resume-save,.mm-status,.seat-choice):after{content:"";z-index:-1;pointer-events:none;width:var(--d);left:100%;top:calc(-.72 * var(--d));background:var(--side);clip-path:polygon(0 calc(.72 * var(--d)), 100% 0, 100% calc(100% - .72 * var(--d)), 0 100%);position:absolute;bottom:0}.mm-stage{z-index:1;inset:0 0 0 var(--rail-w);padding:var(--m-gap);justify-content:center;align-items:center;display:flex;position:absolute}#main-menu[data-screen=landing] .mm-stage{pointer-events:none;background:0 0}#main-menu[data-screen=landing] .mm-frame{display:none}.mm-frame{--d:.8rem;width:min(94rem,100%);height:min(62rem,100% - .6rem);min-height:0;box-shadow:var(--cc-shadow);flex-direction:column;margin-top:.6rem;display:flex}#main-menu[data-screen=join] .mm-frame{width:min(34rem,100%);height:auto}#main-menu[data-screen=create] .mm-frame{width:min(70rem,100%)}.mm-screen{display:none}.mm-screen.active{flex-direction:column;flex:1;min-height:0;display:flex}.mm-screen[data-screen=landing]{display:none!important}.screen-head{border-bottom:.12rem solid var(--cc-ink-faint);box-shadow:0 .08rem 0 var(--cc-light);flex:none;align-items:center;gap:1.4rem;margin:0 2.2rem;padding:1.6rem 0 1.15rem;display:flex}.screen-titles{gap:.25rem;min-width:0;margin-right:auto;display:grid}.screen-kicker,#main-menu .mm-label{color:var(--cc-ink-soft);font:600 .72rem/1.2 var(--cc-text);letter-spacing:.14em;text-transform:uppercase;display:block}.screen-titles h2{font:400 2.35rem/1.05 var(--cc-display);color:var(--cc-ink);text-shadow:.06em .07em 0 var(--cc-light);overflow-wrap:anywhere}.screen-body{flex:1;min-height:0;padding:1.4rem 2.2rem;overflow:auto}.screen-foot{border-top:.12rem solid var(--cc-ink-faint);box-shadow:inset 0 .08rem 0 var(--cc-light);flex:none;align-items:center;gap:1.4rem;margin:0 2.2rem;padding:1.1rem 0 1.4rem;display:flex}.screen-foot>.mm-primary:last-child{margin-left:auto}:is(.civ-column,.single-setup,.waiting-roster,.waiting-civ-picker,.screen-body,.solo-seats){scrollbar-width:thin;scrollbar-color:var(--cc-plaster-side) transparent}:is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back){min-height:2.5rem;font:600 .95rem/1 var(--cc-text);letter-spacing:0;white-space:nowrap;flex:none;justify-content:center;align-items:center;gap:.5em;padding:.45rem 1.05rem;transition:--d 90ms ease-out,transform 90ms ease-out;display:inline-flex;box-shadow:0 .45rem .7rem -.5rem #0009}:is(.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back):hover:not(:disabled){--face:var(--cc-plaster-hover)}#main-menu .mm-primary{--face:var(--cc-lapis);--top:var(--cc-lapis-top);--side:var(--cc-lapis-side);color:var(--cc-on-glaze)}#main-menu .mm-primary:hover:not(:disabled){--face:var(--cc-lapis-top)}#main-menu :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back):active:not(:disabled){--d:.06rem;box-shadow:none;transform:translate(.26rem,-.19rem)}#main-menu :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back):disabled{--face:var(--cc-hollow);--top:var(--cc-hollow);--side:var(--cc-hollow-deep);color:#2b1d166b;box-shadow:none;opacity:1}.mm-mini-btn{min-height:2.2rem;padding:.35rem .8rem;font-size:.84rem}.mm-back{min-height:2.3rem;padding-inline:.9rem}#sp-start,#create-confirm,#join-confirm,#room-start,#room-ready.mm-primary{--d:.5rem;min-width:14rem;min-height:3.4rem;font:1.35rem/1 var(--cc-display);letter-spacing:.02em;padding:.7rem 1.8rem}.mm-input{background:var(--cc-hollow);width:100%;min-height:2.6rem;color:var(--cc-ink);font:500 .95rem/1.2 var(--cc-text);box-shadow:inset .18rem .22rem 0 var(--cc-hollow-deep), inset -.08rem -.08rem 0 var(--cc-light);border:0;border-radius:0;padding:.45rem .75rem}.mm-input::placeholder{color:#2b1d166b}.mm-input:focus{outline:.14rem solid var(--cc-lapis);outline-offset:.15rem}select.mm-input{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--cc-ink) 50%), linear-gradient(-45deg, transparent 50%, var(--cc-ink) 50%);background-position:right 1.05rem center,right .7rem center;background-repeat:no-repeat;background-size:.35rem .35rem;padding-right:2.2rem}.mm-field{gap:.45rem;display:grid}.mm-segmented{background:0 0;border:0;border-radius:0;flex-wrap:wrap;gap:.55rem;display:flex;overflow:visible}.mm-segmented button{--d:.26rem;--face:var(--cc-plaster);--top:var(--cc-plaster-top);--side:var(--cc-plaster-side);isolation:isolate;background:var(--face);min-width:2.6rem;min-height:2.2rem;color:var(--cc-ink);font:600 .88rem/1 var(--cc-text);letter-spacing:0;white-space:nowrap;box-shadow:none;border:0;flex:0 auto;padding:.3rem .8rem;transition:--d 90ms ease-out,transform 90ms ease-out;position:relative}.mm-segmented button:before,.mm-segmented button:after{content:"";z-index:-1;pointer-events:none;position:absolute}.mm-segmented button:before{left:0;right:calc(-1 * var(--d));top:calc(-.72 * var(--d));height:calc(.72 * var(--d));background:var(--top);clip-path:polygon(0 100%, var(--d) 0, 100% 0, calc(100% - var(--d)) 100%)}.mm-segmented button:after{width:var(--d);left:100%;top:calc(-.72 * var(--d));background:var(--side);clip-path:polygon(0 calc(.72 * var(--d)), 100% 0, 100% calc(100% - .72 * var(--d)), 0 100%);bottom:0}.mm-segmented button:hover{--face:var(--cc-plaster-hover);color:var(--cc-ink);background:var(--face)}.mm-segmented button:is(.active,[aria-pressed=true]){--d:.1rem;box-shadow:none;--face:var(--cc-lapis);--top:var(--cc-lapis-top);--side:var(--cc-lapis-side);color:var(--cc-on-glaze);background:var(--face);transform:translate(.13rem,-.1rem)}.mm-status{--d:.3rem;z-index:3;max-width:calc(100% - 2rem);font:600 .92rem/1.35 var(--cc-text);box-shadow:var(--cc-shadow);padding:.75rem 1.1rem;position:absolute;bottom:6rem;left:50%;transform:translate(-50%)}.mm-status.hidden{display:none}.resume-save{--d:.28rem;text-align:left;gap:.1rem;margin-left:auto;padding:.5rem .9rem;display:grid;box-shadow:0 .45rem .7rem -.5rem #0009}.resume-save[hidden],.resume-note[hidden]{display:none}.resume-kicker{color:var(--cc-lapis-side);font:600 .7rem/1.2 var(--cc-text);letter-spacing:.12em;text-transform:uppercase}.resume-save strong{font:1.05rem/1.2 var(--cc-display)}.resume-save small{color:var(--cc-ink-soft);font-size:.78rem}.resume-save:hover{--face:var(--cc-plaster-hover)}.resume-note{color:var(--cc-ink-soft);margin-left:auto;font-size:.8rem}.mm-civs{grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;align-items:start;gap:.6rem;padding-top:.9rem;display:grid}.mm-civs .civ-tile{justify-self:center;width:min(clamp(3.9rem,8.2vh,5rem),86%)}.mm-civ-btn{appearance:none;min-width:0;color:var(--cc-ink);text-align:center;cursor:pointer;background:0 0;border:0;grid-template-columns:minmax(0,1fr);justify-items:center;gap:.5rem;padding:0;display:grid;position:relative}.civ-tile{--d:.42rem;--face:var(--glaze);--top:color-mix(in srgb, var(--glaze) 74%, white);--side:color-mix(in srgb, var(--glaze) 58%, black);grid-template-rows:1fr auto;justify-self:stretch;height:clamp(4.8rem,10vh,7.2rem);transition:--d .14s ease-out,transform .14s ease-out;display:grid;box-shadow:0 .6rem 1rem -.7rem #000000b3}.civ-tile-seal{place-items:center;min-height:0;display:grid}.civ-tile-seal svg{width:clamp(2.8rem,5.6vh,4.6rem);height:auto}.civ-tile-seal svg circle{display:none}.civ-tile-seal svg path[fill]:not([fill=none]){fill:currentColor}.civ-tile-seal svg path[stroke]{stroke:currentColor}.civ-tile-frieze{opacity:.9;height:1.3rem}.mm-civ-btn strong{width:max-content;max-width:calc(100% + 1.2rem);font:.9rem/1.05 var(--cc-display);text-shadow:.06em .07em 0 var(--cc-light)}.mm-civ-btn small{display:none}.mm-civ-btn:hover:not(:disabled) .civ-tile{--d:.62rem;transform:translate(-.1rem,.07rem)}.mm-civ-btn.active .civ-tile{--d:1.05rem;transform:translate(-.3rem,.22rem)}.mm-civ-btn.active strong{-webkit-text-decoration:underline .12rem var(--cc-lapis);text-decoration:underline .12rem var(--cc-lapis);text-underline-offset:.3rem}.mm-civ-btn:focus-visible{outline:none}.mm-civ-btn:focus-visible .civ-tile{outline:.16rem solid var(--cc-ink);outline-offset:.35rem}.mm-civ-btn:disabled{cursor:default}.mm-civ-btn:disabled:not(.active) .civ-tile{filter:saturate(.55)}:is(.civ-show,.culture-choice)[data-region=mesopotamia]{--sky-top:#cfa86f;--sky-low:#dcc292;--glaze:var(--cc-mesopotamia)}:is(.civ-show,.culture-choice)[data-region=nile]{--sky-top:#d0b47c;--sky-low:#ddc8a0;--glaze:var(--cc-nile)}:is(.civ-show,.culture-choice)[data-region=india]{--sky-top:#cc9566;--sky-low:#d9b48b;--glaze:var(--cc-india)}:is(.civ-show,.culture-choice)[data-region=china]{--sky-top:#aab4a2;--sky-low:#c9c6b1;--glaze:var(--cc-china)}:is(.civ-show,.culture-choice)[data-region=aegean]{--sky-top:#9cb3c0;--sky-low:#c9c9b9;--glaze:var(--cc-aegean)}:is(.civ-show,.culture-choice)[data-region=west-europe]{--sky-top:#a8b8a8;--sky-low:#cfcdb6;--glaze:var(--cc-west-europe)}:is(.civ-show,.culture-choice)[data-region=north-europe]{--sky-top:#9aa8b8;--sky-low:#c6c8c0;--glaze:var(--cc-north-europe)}.mm-civ-bonus{min-width:0}.civ-show{min-width:0;color:var(--cc-ink);gap:.9rem;display:grid}.civ-show-stage{--pad-top:clamp(4.2rem, 8vh, 5.4rem);isolation:isolate;min-height:clamp(15rem,36vh,26rem);padding:var(--pad-top) 1.2rem 0;background:var(--cc-hollow-deep);box-shadow:inset .22rem .28rem 0 #0006, inset -.08rem -.08rem 0 var(--cc-light);border:0;border-radius:0;grid-template-columns:1.1fr 1fr 1fr;align-items:end;gap:.6rem;display:grid;position:relative;overflow:hidden}.civ-scene{z-index:-1;background:linear-gradient(var(--sky-top), var(--sky-low));animation:none;position:absolute;inset:0 0 2.6rem;overflow:hidden}.scene-sun{opacity:.85;width:3.2rem;height:3.2rem;box-shadow:none;background:#e7c88a;border-radius:50%;animation:none;position:absolute;top:14%;right:12%}.scene-cloud,.scene-mote{display:none}.scene-land{width:100%;height:46%;position:absolute;inset:auto 0 0}.scene-land .far{fill:#2b1d1629}.scene-land .water{fill:#6f8f98;opacity:.25}.scene-land .near{fill:#2b1d161a}.civ-show-head{align-items:center;gap:.9rem;display:flex;position:absolute;top:1.1rem;left:1.3rem;right:5rem}.civ-show-medal{background:var(--glaze);width:3.4rem;height:3.4rem;color:var(--cc-on-glaze);box-shadow:.22rem -.16rem 0 color-mix(in srgb, var(--glaze) 58%, black);border-radius:0;flex:none;place-items:center;padding:0;animation:none;display:grid}.civ-show-medal svg{width:2.3rem!important;height:2.3rem!important}.civ-show-medal svg circle{display:none}.civ-show-medal svg path[fill]:not([fill=none]){fill:currentColor}.civ-show-medal svg path[stroke]{stroke:currentColor}.civ-show-titles{min-width:0;text-shadow:none;gap:.15rem;display:grid}.civ-show-region{color:#2b1d16b8;font:600 .7rem/1.2 var(--cc-text);letter-spacing:.14em;text-transform:uppercase;opacity:1;animation:none}.civ-show-name{color:var(--cc-ink);font:400 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--cc-display);letter-spacing:.01em;text-shadow:.05em .06em #00000073;margin:0;animation:none}.civ-show-stage figure{text-align:center;grid-template-rows:auto auto auto;justify-items:center;min-width:0;margin:0;animation:none;display:grid;position:relative}.civ-show-stage figure:before{content:"";background:var(--cc-stone);width:86%;height:1.2rem;box-shadow:.3rem -.22rem 0 var(--cc-stone-side), 0 .5rem .8rem -.5rem #0009;grid-row:2;margin-top:-1.1rem}.civ-show-stage .is-unit:before{background:var(--cc-stone);width:54%;height:1.15rem;box-shadow:inset 0 -.3rem 0 var(--cc-stone-side), 0 .5rem .8rem -.5rem #0009;border-radius:50%;animation:none;position:static;top:auto;left:auto;transform:none}.civ-show-stage canvas{z-index:1;filter:none;grid-row:1;width:clamp(6rem,min(11vw,17vh),11rem);max-width:100%;height:auto;display:block;position:relative}.civ-show-stage .is-unit canvas{width:clamp(6.8rem,min(12vw,19vh),12.4rem)}.civ-show-stage figcaption{--d:.22rem;max-width:100%;font:600 .88rem/1.2 var(--cc-text);overflow-wrap:anywhere;grid-row:3;justify-items:center;gap:.1rem;margin:.55rem 0 .9rem;padding:.35rem .7rem .4rem;display:grid;box-shadow:0 .4rem .6rem -.45rem #0000008c}.civ-show-stage figcaption small{color:var(--cc-ink-soft);font:600 .6rem/1.1 var(--cc-text);letter-spacing:.14em;text-transform:uppercase}@container (height<=300px){.civ-show-stage figcaption small{display:none}.civ-show-stage figcaption{padding-block:.15rem .2rem}}.civ-show.is-compact{gap:.8rem}.civ-show.is-compact .civ-show-stage{--pad-top:clamp(5rem, 10vh, 6rem);min-height:clamp(10rem,18vh,16rem)}.civ-show.is-compact .civ-show-name{font-size:clamp(1.4rem,2vw,1.9rem)}.civ-bonus{background:var(--cc-plaster);color:var(--cc-ink);box-shadow:.22rem .26rem 0 var(--cc-plaster-side);font:500 .9rem/1.3 var(--cc-text);gap:.45rem;padding:.75rem .95rem .8rem;display:grid}.civ-bonus-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem 1.1rem;margin:0;padding:0;list-style:none;display:grid}.civ-bonus-list li{align-items:center;gap:.45rem;min-width:0;display:flex}.civ-bonus-icon{color:#fff;border-radius:50%;flex:none;place-items:center;width:1.45rem;height:1.45rem;display:grid}.civ-bonus-icon svg{width:.95rem;height:.95rem}.civ-bonus-list .is-gain .civ-bonus-icon{background:var(--cc-malachite-ink)}.civ-bonus-list .is-cost .civ-bonus-icon{background:var(--cc-terra-ink)}.civ-bonus-list .is-cost{color:var(--cc-terra-ink)}.civ-bonus :is(.civ-bonus-unit,.civ-bonus-legacy){color:var(--cc-ink-soft);margin:0;font-size:.84rem}.civ-bonus :is(.civ-bonus-unit,.civ-bonus-legacy) b{color:var(--cc-ink);font-weight:700}.civ-bonus-unit{border-top:1px solid color-mix(in srgb, var(--cc-ink) 14%, transparent);padding-top:.4rem}.civ-bonus.is-compact{padding:.6rem .75rem .65rem;font-size:.84rem}.civ-bonus.is-compact .civ-bonus-list{grid-template-columns:minmax(0,1fr);gap:.28rem}.civ-column{flex-direction:column;gap:1.1rem;min-width:0;display:flex}.single-layout{grid-template-columns:minmax(0,1fr) 24rem;align-items:start;gap:1.4rem 2.2rem;display:grid}.single-setup{box-shadow:none;background:0 0;border:0;align-content:start;gap:0;min-width:0;padding:0;display:grid}@media (width>=1000px){.screen-body:is(.single-layout,.waiting-layout){align-items:stretch;height:100%;padding-block:0;overflow:hidden}:is(.civ-column,.single-setup,.waiting-roster,.waiting-civ-picker){overscroll-behavior:contain;min-height:0;overflow-y:auto}.civ-column{padding:1.1rem .4rem 1.2rem 0}.single-setup{padding:1.1rem .5rem 1.2rem 0}.waiting-roster,.waiting-civ-picker{align-content:start;padding:1.1rem .4rem 1.2rem 0}.waiting-layout>.waiting-civ-picker{flex-direction:column;gap:1rem;display:flex}:is(.civ-column,.waiting-civ-picker)>.mm-civ-bonus,:is(.civ-column,.waiting-civ-picker) .civ-show{flex-direction:column;flex:auto;min-height:0;display:flex}:is(.civ-column,.waiting-civ-picker) .civ-show-stage{flex:auto;min-height:12rem;max-height:30rem;container-type:size}:is(.civ-column,.waiting-civ-picker) .civ-bonus{flex:none}:is(.civ-column,.waiting-civ-picker) .civ-show-stage canvas{width:clamp(4.2rem,100cqh - 4.4rem,17rem)}:is(.civ-column,.waiting-civ-picker) .civ-show-stage .is-unit canvas{width:clamp(4.6rem,100cqh - 5.4rem,17rem)}}#setup-title{font:400 1.3rem/1 var(--cc-display);letter-spacing:.01em;text-shadow:.06em .07em 0 var(--cc-light);margin-bottom:.55rem;display:block}#setup-title:after{content:none}.setup-options{gap:0;display:grid}.setup-group,.setup-map,.setup-seats{border-top:.1rem solid var(--cc-ink-faint);min-width:0;box-shadow:inset 0 .08rem 0 var(--cc-light);gap:.55rem;padding:.85rem 0;display:grid}.setup-group>.mm-label,.setup-map>.mm-label,.waiting-civ-picker>.mm-label{display:block}.setup-group>.mm-label:before,.setup-map>.mm-label:before,.waiting-civ-picker>.mm-label:before{content:none}.setup-hint{color:var(--cc-ink-soft);font:.78rem/1.4 var(--cc-text)}#selected-map-description{display:none}.map-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.map-card{text-align:center;background:var(--cc-plaster-top);min-width:0;color:var(--cc-ink);box-shadow:.14rem .18rem 0 var(--cc-plaster-side);border:0;border-radius:0;gap:.3rem;padding:.3rem;display:grid;position:relative;overflow:visible}.map-card canvas{aspect-ratio:16/10;width:100%;height:auto;image-rendering:pixelated;display:block}.map-card strong{color:inherit;font:600 .72rem/1.15 var(--cc-text);background:0 0;padding:0 0 .1rem;position:static}.map-card small{display:none}.map-card:hover{background:var(--cc-plaster-hover)}.map-card[aria-pressed=true]{background:var(--cc-lapis);color:var(--cc-on-glaze);box-shadow:inset .12rem .14rem 0 var(--cc-lapis-side);transform:translate(.1rem,.1rem)}.map-card[aria-pressed=true]:after{content:none}.match-brief{gap:.25rem;min-width:0;display:grid}.match-brief strong{font:400 1.45rem/1.05 var(--cc-display);text-shadow:.06em .07em 0 var(--cc-light)}.match-brief span{color:var(--cc-ink-soft);font-size:.9rem}.solo-seats{scrollbar-gutter:stable;gap:.45rem;max-height:22rem;margin:0;padding:0 .2rem 0 0;list-style:none;display:grid;overflow-y:auto}.solo-seat{background:var(--cc-hollow);box-shadow:inset .16rem .2rem 0 var(--cc-hollow-deep), inset -.08rem -.08rem 0 var(--cc-light);border:0;border-radius:0;grid-template-columns:2rem minmax(0,1fr);align-items:center;gap:.3rem .6rem;padding:.45rem .55rem;display:grid}.solo-seat.is-you{background:color-mix(in srgb, var(--cc-hollow) 80%, var(--cc-plaster-top))}.solo-seat.is-closed{opacity:.55}.solo-seat-mark{background:var(--seat-color,var(--cc-ink-soft));width:2rem;height:2rem;color:var(--cc-on-glaze);font:700 .8rem/1 var(--cc-text);place-items:center;display:grid;box-shadow:.12rem -.09rem #0000004d}.solo-seat-name{min-width:0;color:var(--cc-ink);font:600 .9rem/1.3 var(--cc-text);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.seat-controls{flex-wrap:wrap;grid-column:3;justify-content:flex-end;gap:.4rem;max-width:18rem;display:flex}.solo-seat .seat-controls{grid-column:1/-1;justify-content:flex-start;gap:.4rem;max-width:none}.seat-chip{--d:.2rem;text-align:left;gap:.05rem;min-width:0;padding:.28rem .55rem;display:grid;box-shadow:0 .3rem .5rem -.4rem #0000008c}.seat-chip small{color:var(--cc-ink-soft);font:600 .58rem/1.1 var(--cc-text);letter-spacing:.12em;text-transform:uppercase}.seat-chip strong{color:var(--cc-ink);font:600 .8rem/1.2 var(--cc-text);white-space:nowrap}.seat-chip:hover:not(:disabled){--face:var(--cc-plaster-hover)}.seat-chip:disabled{cursor:default;--face:transparent;--top:transparent;--side:transparent;box-shadow:none}.seat-choice{--d:.3rem;z-index:200;min-width:11rem;max-width:15rem;box-shadow:var(--cc-shadow);flex-direction:column;padding:.3rem;display:flex;position:fixed;overflow-y:auto}.seat-choice-option{text-align:left;color:var(--cc-ink);font:500 .86rem/1.3 var(--cc-text);cursor:pointer;background:0 0;border:0;border-radius:0;padding:.4rem .6rem}.seat-choice-option:hover,.seat-choice-option:focus-visible{background:var(--cc-hollow);outline:none}.seat-choice-option[aria-selected=true]{background:var(--cc-lapis);color:var(--cc-on-glaze);font-weight:700}.lobby-toolbar{flex-wrap:wrap;align-items:center;gap:.9rem;margin:0 2.2rem;padding:1.3rem 0 1rem;display:flex}.join-code-form{flex-wrap:wrap;align-items:center;gap:.5rem;margin-left:auto;display:flex}.join-code-form label{color:var(--cc-ink-soft);font:600 .72rem/1 var(--cc-text);letter-spacing:.12em;text-transform:uppercase;margin-right:.2rem}.join-code-form .mm-input{text-align:center;text-transform:uppercase;letter-spacing:.3em;width:8.4rem;min-height:2.5rem;font:1.2rem/1 var(--cc-display)}.lobby-meta{border-block:.1rem solid var(--cc-ink-faint);color:var(--cc-ink-soft);flex-wrap:wrap;gap:.5rem;margin:0 2.2rem;padding:.7rem 0;font-size:.84rem;display:flex}#lobby-room-count:not(:empty):before{content:"· "}#lobby-connection{margin-left:auto;font-weight:600}#lobby-connection:before{content:"";background:var(--cc-ink-soft);opacity:.5;border-radius:50%;width:.5rem;height:.5rem;margin-right:.4rem;display:inline-block}#lobby-connection.is-connected:before{background:var(--cc-malachite-ink);opacity:1}.mm-room-list{align-content:start;gap:.9rem;padding-top:1.2rem;display:grid}.mm-room-list:has(.mm-room-empty){align-content:center}.mm-room{--d:.32rem;grid-template-columns:5.4rem minmax(0,1fr) auto auto;align-items:center;gap:1.3rem;padding:.7rem 1rem .7rem .7rem;display:grid;box-shadow:0 .5rem .9rem -.6rem #0000008c}.lobby-map-preview{aspect-ratio:16/10;width:5.4rem;height:auto;image-rendering:pixelated;outline:.12rem solid var(--cc-ink)}.lobby-room-info{gap:.3rem;min-width:0;display:grid}.lobby-room-info strong{color:var(--cc-ink);font:400 1.3rem/1.1 var(--cc-display);overflow-wrap:anywhere}.lobby-room-info small{color:var(--cc-ink-soft);font-size:.84rem}.lobby-room-seats{flex-wrap:wrap;justify-content:flex-end;max-width:9rem}.lobby-room-lock{width:1rem;height:1rem;color:var(--cc-ink-soft);margin-right:.3rem}#main-menu .mm-join-btn{--face:var(--cc-lapis);--top:var(--cc-lapis-top);--side:var(--cc-lapis-side);color:var(--cc-on-glaze)}#main-menu .mm-join-btn:hover:not(:disabled){--face:var(--cc-lapis-top)}.mm-room-empty{text-align:center;justify-items:center;gap:.7rem;padding:1.5rem 1rem 2.6rem;display:grid}.lobby-empty-icon{width:15rem;height:auto;color:var(--cc-ink);opacity:1;margin-bottom:.4rem}.lobby-empty-icon svg{width:100%;height:auto}.mm-room-empty h3{font:400 1.6rem/1.1 var(--cc-display);text-shadow:.06em .07em 0 var(--cc-light)}.mm-room-empty p{max-width:40ch;color:var(--cc-ink-soft);line-height:1.5}.mm-room-empty button{margin-top:.5rem}.create-room-body{grid-template-columns:minmax(0,1.2fr) minmax(14rem,.8fr);align-items:start;gap:2.4rem;display:grid}.create-room-fields{gap:1.1rem;min-width:0;display:grid}.create-room-fields .map-picker{grid-template-columns:repeat(4,minmax(0,1fr))}#create-room-summary{background:var(--cc-stone);box-shadow:.4rem -.3rem 0 var(--cc-stone-side), var(--cc-shadow);border:0;gap:.7rem;padding:1.1rem;display:grid}#create-room-summary canvas{aspect-ratio:16/10;width:100%;height:auto;image-rendering:pixelated;outline:.12rem solid var(--cc-ink);margin-bottom:.2rem;display:block}#create-room-summary h3{font:400 1.5rem/1.1 var(--cc-display);overflow-wrap:anywhere}#create-room-summary p{color:var(--cc-ink-soft);font-size:.84rem}#join-pass-field[hidden]{display:none}.room-code{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.room-code small{color:var(--cc-ink-soft);font:600 .72rem/1 var(--cc-text);letter-spacing:.12em;text-transform:uppercase}.room-code code{background:var(--cc-hollow);box-shadow:inset .16rem .2rem 0 var(--cc-hollow-deep), inset -.08rem -.08rem 0 var(--cc-light);color:var(--cc-ink);font:1.5rem/1 var(--cc-display);letter-spacing:.32em;font-variant-numeric:tabular-nums;border:0;border-radius:0;padding:.35rem .7rem}.waiting-layout{grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:start;gap:0 2.2rem;display:grid}.waiting-roster,.waiting-civ-picker{gap:1rem;min-width:0;display:grid}.waiting-civ-picker .civ-tile{height:clamp(3.8rem,7.5vh,5.6rem)}.waiting-civ-picker .civ-tile-seal svg{width:clamp(2.6rem,5.5vh,4rem)}.waiting-civ-picker .mm-civ-btn strong{max-width:calc(100% + .5rem);font-size:.78rem}.room-map-label{color:var(--cc-ink-soft);font-size:.88rem}#room-seats{gap:.55rem;display:grid}.room-seat{background:var(--cc-hollow);box-shadow:inset .16rem .2rem 0 var(--cc-hollow-deep), inset -.08rem -.08rem 0 var(--cc-light);border:0;border-radius:0;grid-template-columns:3rem minmax(0,1fr) auto;align-items:center;gap:.8rem;padding:.6rem .7rem;transition:none;display:grid}.room-seat.is-ready{background:color-mix(in srgb, var(--cc-hollow) 75%, #8fae7f)}.room-seat.is-empty{opacity:.7}.room-seat-art{background:var(--cc-plaster-top);width:3rem;height:3rem;box-shadow:.14rem -.1rem 0 var(--cc-plaster-side);border-radius:0;place-items:center;display:grid;position:relative}.room-seat-art>*{max-width:3rem;max-height:3rem}.room-seat.is-empty .room-seat-art{background:0 0;box-shadow:inset 0 0 0 .1rem #0000008a}.room-seat.is-empty .room-seat-art:before{content:none}.room-seat-info{gap:.15rem;min-width:0;display:grid}.room-seat-info small{color:var(--cc-ink-soft);font-size:.78rem}.room-seat-info small.is-verified{color:var(--cc-ink)}.room-seat-info strong{font:400 1.1rem/1.2 var(--cc-display)}.room-seat-status{color:var(--cc-malachite-ink);font:600 .78rem/1.2 var(--cc-text)}.room-team-badge{color:var(--cc-ink-soft);justify-self:start;font-size:.72rem}.seat-name{flex-wrap:wrap;grid-column:2/-1;gap:.4rem;display:flex}.seat-name-form{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.seat-name-form input{background:var(--cc-plaster-top);width:11rem;min-width:0;color:var(--cc-ink);font:.9rem/1.3 var(--cc-text);box-shadow:inset .12rem .14rem 0 var(--cc-hollow-deep);border:0;border-radius:0;padding:.35rem .6rem}.seat-name-form input:focus-visible{outline:.14rem solid var(--cc-lapis);outline-offset:.1rem}.seat-name-form .seat-chip{min-width:0}.seat-name-error{color:var(--cc-terra-ink);flex-basis:100%;font-size:.78rem}.room-actions{flex-wrap:wrap}#room-ready-hint{color:var(--cc-ink-soft);flex:12rem;margin-right:auto;font-size:.88rem}#main-menu #room-ready[aria-pressed=true]{--face:var(--cc-malachite);--top:color-mix(in srgb, var(--cc-malachite) 72%, white);--side:color-mix(in srgb, var(--cc-malachite) 58%, black);color:var(--cc-on-dye)}#room-start[hidden]{display:none}.room-invite-wrap{display:inline-flex;position:relative}.menu-civic{z-index:1;pointer-events:none;position:absolute;inset:0}#main-menu:not([data-screen=landing]) .menu-civic{display:none}.civic-site{pointer-events:auto;cursor:pointer;background:0 0;border:0;padding:0;position:fixed}.civic-site:focus-visible{outline:none}.civic-sign{position:absolute;top:100%;left:50%}@media (width<=899px){.menu-civic{display:none}}@media (width>=761px) and (width<=999px){.single-layout{grid-template-columns:minmax(0,1fr);gap:1.4rem}.single-setup{grid-template-columns:1fr 1.15fr;gap:0 1.6rem}#setup-title{grid-column:1/-1}.waiting-layout{grid-template-columns:minmax(0,1fr);gap:1.8rem}}@media (width>=1000px) and (width<=1399px){.single-layout{grid-template-columns:minmax(0,1fr) 20rem;gap:0 1.6rem}}@media (height<=820px) and (width>=761px){.screen-head{padding-block:1.1rem .9rem}.screen-foot{padding-block:.8rem 1rem}.screen-titles h2{font-size:2rem}}@media (width<=760px){#main-menu{--m-gap:0;overflow-y:auto}#main-menu:not([data-screen=landing]) .menu-rail{display:none}.mm-stage{min-height:100dvh;padding:0;position:relative;inset:auto}#main-menu:not([data-screen=landing]) .mm-stage{padding:0}#main-menu[data-screen=landing] .mm-stage{display:none}.mm-frame,#main-menu:is([data-screen=join],[data-screen=create]) .mm-frame{--d:0px;width:100%;height:auto;min-height:100dvh;box-shadow:none;margin:0}.screen-head{z-index:2;background:var(--cc-plaster);margin:0;padding:1rem 1.2rem;position:sticky;top:0}.screen-titles h2{font-size:1.7rem}.screen-body{padding:1.3rem 1.2rem;overflow:visible}.screen-foot{z-index:2;background:var(--cc-plaster);flex-wrap:wrap;margin:0;padding:.9rem 1.2rem;position:sticky;bottom:0}.lobby-toolbar,.lobby-meta{margin-inline:1.2rem}.single-layout,.create-room-body,.waiting-layout{grid-template-rows:none;grid-template-columns:1fr;gap:1.8rem}.mm-civs{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;row-gap:1rem}.civ-show-stage{grid-template-columns:repeat(3,minmax(0,1fr));padding-inline:.4rem}.single-setup .setup-options{grid-template-columns:1fr 1fr;gap:0 1rem}.match-brief{flex:9rem}#sp-start,#create-confirm,#join-confirm,#room-start,#room-ready.mm-primary{min-width:9rem;font-size:1.1rem}.join-code-form{width:100%;margin-left:0}.mm-room{grid-template-columns:4.6rem minmax(0,1fr);gap:.8rem}.lobby-map-preview{width:4.6rem}.lobby-room-seats{grid-column:2;justify-content:flex-start}.mm-room .mm-join-btn{grid-column:1/-1}.create-room-fields .map-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.room-heading{flex-wrap:wrap}.room-code{width:100%}.room-seat{grid-template-columns:2.6rem minmax(0,1fr)}.seat-controls{grid-column:2;max-width:none}}:root[data-high-contrast=true] #main-menu{--cc-ink-soft:#2a2119;--cc-ink-faint:#2b1d166b}@media (prefers-reduced-motion:reduce){:root:not([data-reduced-motion=false]) #main-menu *{transition:none!important}}:root[data-reduced-motion=true] #main-menu *{transition:none!important}#main-menu .mm-frame{--face:var(--cc-wood);--top:var(--cc-wood-top);--side:var(--cc-wood-side);color:var(--cc-on-wood);box-shadow:0 1.4rem 2.6rem -1.2rem #0a0602d9}.screen-head{box-shadow:none;border-bottom:0;padding-bottom:1.5rem;position:relative}.screen-head:after{content:"";background-image:var(--frieze-mesopotamia);opacity:.95;background-repeat:repeat-x;background-size:auto 100%;height:.85rem;position:absolute;bottom:0;left:0;right:0}.screen-foot{border-top:.12rem solid var(--cc-wood-line);box-shadow:none}.screen-titles h2{color:var(--cc-on-wood);text-shadow:0 .08rem #00000073}.screen-kicker,#main-menu .mm-label{color:var(--cc-on-wood-soft)}.match-brief strong{color:var(--cc-on-wood);text-shadow:none}.match-brief span,.setup-hint,.room-map-label,#room-ready-hint,.resume-note{color:var(--cc-on-wood-soft)}:is(.civ-column,.single-setup,.waiting-roster,.waiting-civ-picker,.screen-body,.solo-seats){scrollbar-color:var(--cc-wood-top) transparent}.mm-civ-btn{color:var(--cc-on-wood)}.mm-civ-btn strong{color:var(--cc-on-wood);text-shadow:none}.mm-civ-btn small{color:var(--cc-on-wood-soft)}.mm-civ-btn.active strong{-webkit-text-decoration-color:var(--cc-ochre);text-decoration-color:var(--cc-ochre)}.mm-civ-btn:focus-visible .civ-tile{outline-color:var(--cc-on-wood)}.civ-tile{box-shadow:0 .7rem 1.1rem -.7rem #000c}.civ-show-stage{background:var(--cc-wood-deep);box-shadow:inset .22rem .28rem #00000059}.civ-show{color:var(--cc-on-wood)}.single-setup{background:var(--cc-plaster);color:var(--cc-ink);box-shadow:.42rem -.3rem 0 var(--cc-plaster-side), 0 1rem 1.6rem -1rem #000000b3;align-self:start;padding:1.1rem 1.2rem 1.2rem}@media (width>=1000px){.single-setup{max-height:calc(100% - 2.3rem);margin:1.1rem .5rem 1.2rem 0;padding:1.1rem 1.2rem 1.2rem}}.single-setup :is(#setup-title,.mm-label,.setup-hint){color:var(--cc-ink-soft)}.single-setup #setup-title{color:var(--cc-ink)}.single-setup .setup-hint{color:var(--cc-ink-soft)}.lobby-toolbar .join-code-form label,.lobby-meta{color:var(--cc-on-wood-soft)}.lobby-meta{border-block-color:var(--cc-wood-line)}#lobby-connection.is-connected{color:#9fd08a}#lobby-connection.is-connected:before{background:#9fd08a}#main-menu .mm-input{background:var(--cc-plaster-top);box-shadow:inset .16rem .2rem 0 var(--cc-hollow-deep);color:var(--cc-ink)}.mm-room-empty{background:var(--cc-plaster);width:min(36rem,100%);color:var(--cc-ink);box-shadow:.42rem -.3rem 0 var(--cc-plaster-side), 0 1rem 1.6rem -1rem #000000b3;justify-self:center;padding:1.6rem 1.4rem 2rem}.mm-room-empty p{color:var(--cc-ink-soft)}.create-room-fields .mm-label{color:var(--cc-on-wood-soft)}.map-card{background:var(--cc-plaster);box-shadow:.14rem .18rem 0 var(--cc-plaster-side)}.room-code small{color:var(--cc-on-wood-soft)}.room-code code{background:var(--cc-plaster-top)}.room-seat,.solo-seat{background:var(--cc-plaster);box-shadow:.26rem -.19rem 0 var(--cc-plaster-side);color:var(--cc-ink)}.solo-seat{background:var(--cc-plaster-top);box-shadow:inset .12rem .14rem 0 var(--cc-hollow-deep)}.solo-seat.is-you{background:var(--cc-plaster-top);box-shadow:inset .12rem .14rem 0 var(--cc-hollow-deep), inset .3rem 0 0 var(--cc-lapis)}.room-seat.is-ready{background:var(--cc-plaster);box-shadow:.26rem -.19rem 0 var(--cc-plaster-side), inset .3rem 0 0 var(--cc-malachite)}.room-seat.is-empty{background:var(--cc-wood-raise);opacity:1;box-shadow:inset .14rem .18rem #0000004d}.room-seat.is-empty :where(*){color:var(--cc-on-wood-soft)}.room-seat.is-empty .seat-chip,.room-seat.is-empty .seat-chip :where(*){color:var(--cc-ink)}.room-seat-art{background:var(--cc-hollow);box-shadow:inset .12rem .14rem 0 var(--cc-hollow-deep)}.screen-titles h2{font-size:2.5rem}.mm-segmented button:is(.active,[aria-pressed=true]){box-shadow:0 0 0 .12rem var(--cc-lapis-side)}#main-menu .mm-segmented button{--face:#fbf5e8;--top:#fff;--side:#a08960;font-size:.92rem;box-shadow:inset 0 0 0 .08rem #2b1d1647}#main-menu .mm-segmented button:hover{--face:#fff}#main-menu .mm-segmented button:is(.active,[aria-pressed=true]){--face:var(--cc-lapis);--top:var(--cc-lapis-top);--side:var(--cc-lapis-side);color:var(--cc-on-glaze);box-shadow:inset 0 0 0 .1rem var(--cc-lapis-side)}#main-menu :is(.single-setup,.waiting-roster,#create-room-summary) .mm-label{color:#4a3626;font-size:.76rem}#setup-title{color:var(--cc-ink)}.setup-group,.setup-map,.setup-seats{border-top-color:#2b1d1638}.setup-hint{color:#4a3626;font-size:.82rem}.solo-seat{box-shadow:inset 0 0 0 .08rem #2b1d162e}.solo-seat-name{font-size:.95rem}.seat-chip small{color:#4a3626;font-size:.62rem}.map-card{box-shadow:inset 0 0 0 .08rem #2b1d1640, .14rem .18rem 0 var(--cc-plaster-side);background:#fbf5e8}.map-card strong{font-size:.8rem}#create-room-summary{color:var(--cc-ink)}#create-room-summary h3{color:var(--cc-ink);text-shadow:none}#create-room-summary p{color:#4a3626}#create-room-summary strong{color:var(--cc-terra-ink,#8f2a20);font:600 1rem/1.2 var(--cc-text)}#main-menu :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back):disabled{--face:var(--cc-wood-raise);--top:var(--cc-wood-top);--side:var(--cc-wood-side);color:var(--cc-on-wood-soft);cursor:not-allowed}#main-menu{--rail-w:25.4rem;--scene-left:21rem}#menu-scene{inset:0 0 0 var(--scene-left);width:calc(100% - var(--scene-left));z-index:0;height:100%;position:absolute}#main-menu:not([data-screen=landing]) .mm-stage{padding-left:calc(var(--rail-w) + var(--m-gap));background:#2e21146b;inset:0}.stele{z-index:2;width:20rem;color:var(--cc-ink);font-family:var(--cc-text);flex-direction:column;display:flex;position:absolute;top:2.4rem;bottom:0;left:2.6rem}.stele-depth{min-height:0;filter:drop-shadow(.12rem -.09rem 0 var(--cc-plaster-side)) drop-shadow(.12rem -.09rem 0 var(--cc-plaster-side)) drop-shadow(.12rem -.09rem 0 var(--cc-plaster-side)) drop-shadow(.12rem -.09rem 0 var(--cc-plaster-side)) drop-shadow(.12rem -.09rem 0 var(--cc-plaster-side)) drop-shadow(.6rem 1.6rem 1.4rem #1e120661);flex:1;display:flex}.stele-body{scrollbar-width:thin;background:#2b2825;border-radius:10rem 10rem 0 0/6.4rem 6.4rem 0 0;flex-direction:column;flex:1;min-height:0;padding:2.4rem 0 1rem;display:flex;overflow:hidden auto}.stele-name{text-align:center;flex:none;align-self:center;margin:1.6rem 0 0;font-size:3.7rem;font-weight:400;line-height:.86}.stele-name span{display:block}.stele-frieze{background-image:var(--frieze-mesopotamia);height:1.7rem;box-shadow:inset 0 .16rem 0 var(--cc-lapis-side);flex:none;margin:1.5rem 0 1rem}.stele-nav{flex-direction:column;flex:none;gap:.2rem;margin:0;padding:0 1.1rem;list-style:none;display:flex}.stele-item{cursor:pointer;text-align:left;width:100%;color:var(--cc-ink);background:0 0;border:0;border-radius:0;align-items:center;gap:.9rem;padding:.62rem .9rem;display:flex;position:relative}.stele-item .rail-title{font:1.5rem/1 var(--cc-display);white-space:nowrap;text-shadow:.06em .07em 0 var(--cc-light)}.stele-item .cc-glyph{width:1.45rem;height:1.45rem;color:var(--cc-ink-soft);filter:drop-shadow(.07rem .08rem 0 var(--cc-light))}.stele-item:hover,.stele-item:focus-visible,.stele-item[aria-current=page]{background:var(--cc-lapis);color:var(--cc-on-glaze);box-shadow:inset .2rem .26rem 0 var(--cc-lapis-side)}.stele-item:hover .rail-title,.stele-item:focus-visible .rail-title,.stele-item[aria-current=page] .rail-title{text-shadow:none}.stele-item:hover .cc-glyph,.stele-item:focus-visible .cc-glyph,.stele-item[aria-current=page] .cc-glyph{color:var(--cc-on-glaze);opacity:.78;filter:none}.stele-item:focus-visible{outline:.14rem solid var(--cc-ink);outline-offset:.14rem}.stele-meta{font:600 .78rem/1 var(--cc-text);color:var(--cc-ink-soft);align-items:center;gap:.35rem;margin-left:auto;display:inline-flex}.stele-meta .mm-dot{background:var(--cc-ink-soft);opacity:.5;border-radius:50%;width:.5rem;height:.5rem}.stele-meta.online{color:var(--cc-malachite-ink)}.stele-meta.online .mm-dot{background:var(--cc-malachite-ink);opacity:1}.stele-meta.online:after{content:attr(data-count)}.stele-item:hover .stele-meta,.stele-item[aria-current=page] .stele-meta{color:var(--cc-on-glaze)}.stele-item:hover .stele-meta .mm-dot,.stele-item[aria-current=page] .stele-meta .mm-dot{background:var(--cc-on-glaze)}.stele-news{flex:none;grid-template-columns:minmax(0,1fr);gap:.45rem;padding:0 2rem .4rem;display:grid}.stele-news[hidden]{display:none}.stele-news h2{font:600 .72rem/1.2 var(--cc-text);letter-spacing:.16em;text-transform:uppercase;color:var(--cc-ink-soft);margin:0}.stele-news a{color:inherit;text-decoration:none}.stele-news .news-feature{gap:.3rem;display:grid}.stele-news .news-meta{font:.76rem/1 var(--cc-text);color:var(--cc-ink-soft);align-items:center;gap:.5rem;display:flex}.stele-news .news-meta b{background:var(--cc-lapis);color:var(--cc-on-glaze);font:700 .7rem/1 var(--cc-text);padding:.18rem .4rem}.stele-news .news-feature strong{font:600 .98rem/1.25 var(--cc-text);overflow-wrap:anywhere}.stele-news .news-summary{-webkit-line-clamp:3;font:.86rem/1.35 var(--cc-text);color:var(--cc-ink-soft);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.stele-news .news-feature:hover strong{text-underline-offset:.2rem;text-decoration:underline}.stele-news .news-earlier{gap:.15rem;margin:0;padding:0;list-style:none;display:grid}.stele-news .news-earlier li:nth-child(n+2){display:none}.stele-news .news-earlier li{min-width:0}.stele-news .news-earlier a{min-width:0;font:.8rem/1.3 var(--cc-text);white-space:nowrap;gap:.5rem;display:flex;overflow:hidden}.stele-news .news-earlier time{color:var(--cc-ink-soft);font-variant-numeric:tabular-nums;flex:none}.stele-news .news-earlier-title{text-overflow:ellipsis;min-width:0;overflow:hidden}.stele-news .news-loading{background:var(--cc-hollow);height:3.4rem}.stele-news .news-all{font:600 .82rem/1 var(--cc-text);color:var(--cc-lapis-light);align-items:center;gap:.4rem;margin-top:.15rem;display:flex}.stele-news .news-all-icon{display:none}.stele-news .news-all:hover .news-arrow{transform:translate(.2rem)}.stele-news .news-arrow{transition:transform .12s}.stele-base{--d:.7rem;border:0;flex:none;gap:.7rem;margin:0 -1.3rem;padding:.95rem 1.4rem 1.1rem;display:grid}.stele-base-row{align-items:center;gap:.5rem;display:flex}.stele-base .cc-token{min-width:2.2rem;min-height:1.9rem;padding:.2rem .5rem;font-size:.78rem}.stele-base .mm-lang-btn.active{--d:.1rem;--face:var(--cc-lapis);--top:var(--cc-lapis-top);--side:var(--cc-lapis-side);color:var(--cc-on-glaze);transform:translate(.13rem,-.1rem)}#mm-music .cc-glyph{width:1.1rem;height:1.1rem}#mm-music.off{color:var(--cc-ink-soft)}#mm-music.off .cc-glyph{opacity:.55}#mm-music.off{background-image:linear-gradient(135deg, transparent 46%, var(--cc-terra-ink) 46% 54%, transparent 54%)}.stele-base .rail-social{gap:.2rem;margin-left:auto;display:flex}.stele-base .rail-social a{width:1.9rem;height:1.9rem;color:var(--cc-ink-soft);place-items:center;display:grid}.stele-base .rail-social a:hover,.stele-base .rail-social a:focus-visible{color:var(--cc-lapis-light)}.stele-base .rail-social svg{width:1.15rem;height:1.15rem}.stele-legal{font:.68rem/1.2 var(--cc-text);color:var(--cc-ink-soft);align-items:baseline;gap:.4rem;display:flex}.stele-legal .rail-links{flex-wrap:nowrap;flex:none;gap:.35rem;display:flex}.stele-legal .rail-status{white-space:nowrap;flex:none;align-items:baseline;gap:.35rem;margin-left:auto;display:flex}.stele-legal a{color:inherit;white-space:nowrap;text-decoration:none}.stele-legal a:hover,.stele-legal a:focus-visible{color:var(--cc-ink);text-decoration:underline}.stele-legal .rail-visitors{color:inherit;font:inherit;font-variant-numeric:tabular-nums;white-space:nowrap;cursor:pointer;background:0 0;border:0;padding:0}.stele-legal .rail-visitors:hover,.stele-legal .rail-visitors:focus-visible{color:var(--cc-ink);text-decoration:underline}.stele-legal .rail-version{font-variant-numeric:tabular-nums}.stele-base #mm-music[aria-pressed=true]{--d:.26rem;--face:var(--cc-plaster);--top:var(--cc-plaster-top);--side:var(--cc-plaster-side);color:var(--cc-ink);transform:none}.civic-sign,.civic-site:hover .civic-sign,.civic-site:focus-visible .civic-sign{filter:none;transform:translate(-50%,.45rem)}.civic-sign-frame{--d:.3rem;clip-path:none;padding:0;display:block}.civic-sign-face{white-space:nowrap;box-shadow:none;clip-path:none;background:0 0;align-items:center;gap:.45rem;padding:.38rem .85rem .4rem .7rem;display:flex}.civic-sign .civic-icon{fill:currentColor;stroke:none;width:1rem;height:1rem;color:var(--cc-ink-soft)}.civic-plaque{color:var(--cc-ink);font:1rem/1.1 var(--cc-display);letter-spacing:.02em;text-shadow:.06em .07em 0 var(--cc-light)}.civic-site:hover .civic-sign-frame,.civic-site:focus-visible .civic-sign-frame{--face:var(--cc-lapis);--top:var(--cc-lapis-top);--side:var(--cc-lapis-side)}.civic-site:hover :is(.civic-plaque,.civic-icon),.civic-site:focus-visible :is(.civic-plaque,.civic-icon){color:var(--cc-on-glaze);text-shadow:none}.civic-site:focus-visible .civic-sign-frame{outline:.14rem solid var(--cc-ink);outline-offset:.3rem}@media (height<=820px) and (width>=761px){.stele{top:1.4rem}.stele-body{padding-top:1.8rem}.stele-name{margin-top:1rem;font-size:3.1rem}.stele-frieze{margin:1.1rem 0 .7rem}.stele-item{padding-block:.5rem}.stele-news .news-summary{-webkit-line-clamp:2}.stele-news .news-earlier{display:none}}@media (width<=760px){#main-menu{--rail-w:0px;--scene-left:0px}.stele{width:min(22rem,100% - 2rem);min-height:100dvh;margin:0 auto;padding-top:1.4rem;position:relative;top:auto;bottom:auto;left:auto}.stele-base{margin:0}}.game-dialog{background:var(--cc-wood);color:var(--cc-on-wood);box-shadow:.6rem -.44rem 0 var(--cc-wood-side), 0 1.4rem 2.6rem -1.2rem #0a0602d9;font:.95rem/1.5 var(--cc-text);border:0;border-radius:0}.game-dialog::backdrop{background:#2e211494}.game-dialog header{background:var(--cc-wood);border-bottom:.12rem solid var(--cc-wood-line);box-shadow:none}.game-dialog h2{font:400 2rem/1.1 var(--cc-display);color:var(--cc-on-wood);text-shadow:0 .08rem #00000073}.game-dialog p{color:var(--cc-on-wood-soft)}.game-dialog :is(button,select){background:var(--cc-plaster);color:var(--cc-ink);font:600 .95rem/1.3 var(--cc-text);box-shadow:.26rem -.19rem 0 var(--cc-plaster-side), 0 .4rem .7rem -.5rem #0a0602b3;border:0;border-radius:0}.game-dialog button:hover{background:var(--cc-plaster-top);border:0}.game-dialog button:active:not(:disabled){box-shadow:.04rem -.03rem 0 var(--cc-plaster-side);transform:translate(.22rem,-.16rem)}.game-dialog button:disabled{background:var(--cc-wood-raise);box-shadow:none;color:var(--cc-on-wood-soft)}.game-dialog :is(.account-primary,.dialog-primary,[data-primary]){background:var(--cc-lapis);color:var(--cc-on-glaze);box-shadow:.26rem -.19rem 0 var(--cc-lapis-side)}.game-dialog :is(.account-primary,.dialog-primary,[data-primary]):hover{background:var(--cc-lapis-top)}.game-dialog .dialog-danger{background:var(--cc-terra);color:var(--cc-on-dye);box-shadow:.26rem -.19rem 0 var(--cc-terra-side)}.game-dialog .dialog-danger:hover{background:var(--cc-terra-top)}.game-dialog :is(input[type=text],input[type=email],input[type=search],input[type=number],textarea){box-shadow:inset 0 0 0 1px var(--cc-plaster-side);border-radius:var(--r,0)!important;background:var(--cc-wood-deep)!important;color:var(--cc-ink)!important;border:0!important}.game-dialog :is(button,input,select,textarea):focus-visible{outline:.14rem solid var(--cc-lapis);outline-offset:.2rem}.game-dialog fieldset{border-top-color:var(--cc-wood-line)}.game-dialog legend,.preferences-dialog legend{color:var(--cc-on-wood-soft);font:600 .72rem/1.2 var(--cc-text);letter-spacing:.14em;text-transform:uppercase}.preferences-dialog fieldset{border:0;border-top:.1rem solid var(--cc-wood-line);border-radius:0;padding:.9rem 0 0}.preference-volume output{color:var(--cc-lapis-light)}.preference-volume input,.game-dialog input[type=range]{accent-color:var(--cc-lapis-light)}.preference-toggle input{background:var(--cc-wood-deep);border:0;border-radius:1rem;box-shadow:inset .12rem .14rem #0006}.preference-toggle input:before{background:var(--cc-on-wood-soft)}.preference-toggle input:checked{background:var(--cc-lapis);box-shadow:inset .12rem .14rem 0 var(--cc-lapis-side)}.preference-toggle input:checked:before{background:var(--cc-on-glaze)}.preference-toggle small,.preference-help{color:var(--cc-on-wood-soft)}.preference-tabs{border-bottom:.12rem solid var(--cc-wood-line);gap:.4rem}.game-dialog .preference-tab{box-shadow:none;color:var(--cc-on-wood-soft);font:600 .9rem/1.3 var(--cc-text);letter-spacing:.02em;background:0 0;border:0;border-radius:0}.game-dialog .preference-tab:hover{background:var(--cc-wood-raise);color:var(--cc-on-wood)}.game-dialog .preference-tab[aria-selected=true]{background:var(--cc-lapis);color:var(--cc-on-glaze);border:0}.preference-keys kbd{background:var(--cc-plaster);box-shadow:inset 0 -.14rem 0 var(--cc-plaster-side);color:var(--cc-ink);border:0;border-radius:0}.preference-keys dd{color:var(--cc-on-wood-soft)}.preference-footer{border-top-color:var(--cc-wood-line)}.issue-dialog .issue-preview{background:var(--cc-wood-deep);color:var(--cc-on-wood-soft);border:0}#match-failure button{background:var(--cc-lapis);color:var(--cc-on-glaze);box-shadow:.26rem -.19rem 0 var(--cc-lapis-side);border:0}:is(.friend,.stats-figures,.treasury-uses,.treasury-ranking,.treasury-give,.treasury-row,.treasury-step,.treasury-uses li){border-radius:var(--r,0)!important;border:0!important}:is(.friend,.stats-figures,.treasury-row,.treasury-uses li),:is(.treasury-uses,.treasury-ranking,.treasury-give){box-shadow:inset 0 0 0 1px var(--cc-wood-line);background:var(--cc-wood-raise)!important}.leaderboard-profile{background:var(--cc-wood-raise);box-shadow:.35rem -.26rem 0 var(--cc-wood-side), var(--cc-shadow);border:0;border-radius:0}.treasury-step{box-shadow:inset 0 0 0 1px var(--cc-wood-line);background:var(--cc-wood-raise)!important}.treasury-step.active{background:var(--cc-wood)!important;box-shadow:inset 0 0 0 .14rem var(--tier)!important}.friends-chip,.social-chip,.account-chip{border-radius:0}.preferences-dialog .preference-panel{background:var(--cc-plaster);color:var(--cc-ink);scrollbar-color:var(--cc-plaster-side) transparent;margin-top:.8rem;padding:.2rem 1.2rem 1rem;box-shadow:inset 0 0 0 .1rem #2b1d162e}.preferences-dialog .preference-panel :where(*){color:var(--cc-ink)}.preferences-dialog .preference-panel fieldset{border-top:0;padding:1rem 0 0}.preferences-dialog .preference-panel legend{color:#8f2a20;font:700 .76rem/1.2 var(--cc-text);letter-spacing:.14em}.preferences-dialog :is(.preference-toggle,.preference-volume){border-bottom:.08rem solid #2b1d1629;margin:0;padding:.7rem 0}.preferences-dialog :is(.preference-toggle,.preference-volume):last-child{border-bottom:0}.preferences-dialog .preference-toggle>span,.preferences-dialog .preference-volume>label{font:600 1rem/1.3 var(--cc-text)}.preferences-dialog .preference-toggle small,.preferences-dialog .preference-panel .preference-help{color:#5a4532;font:.84rem/1.45 var(--cc-text);margin-top:.25rem;display:block}.preferences-dialog .preference-volume output{color:#8f2a20;font:700 .95rem/1 var(--cc-text)}.preferences-dialog .preference-volume input{accent-color:#b07a1c}.preferences-dialog .preference-toggle input{background:#c9b58e;width:2.9rem;height:1.6rem;padding:.2rem;box-shadow:inset .1rem .12rem #2b1d164d}.preferences-dialog .preference-toggle input:before{background:#fffaf0;width:1.2rem;height:1.2rem;box-shadow:0 .08rem .12rem #2b1d1666}.preferences-dialog .preference-toggle input:checked{background:var(--cc-lapis);box-shadow:inset .1rem .12rem 0 var(--cc-lapis-side)}.preferences-dialog .preference-toggle input:checked:before{background:var(--cc-ink);transform:translate(1.3rem)}.preferences-dialog .preference-panel select.mm-input,.preferences-dialog .preference-panel select{color:var(--cc-ink);background-color:#fbf5e8;box-shadow:inset 0 0 0 .08rem #2b1d164d}.preferences-dialog .preference-keys kbd{box-shadow:inset 0 0 0 .08rem #2b1d164d, inset 0 -.14rem 0 var(--cc-plaster-side);color:var(--cc-ink);background:#fbf5e8}.preferences-dialog .preference-keys dd{color:#4a3626}.preferences-dialog .preference-tab{color:var(--cc-on-wood);font-size:.95rem}.preferences-dialog .preferences-note{color:var(--cc-on-wood)}.dialog-crest{color:#3a250c;width:3.1rem;height:3.1rem;box-shadow:0 0 0 .18rem var(--u-0,#24201d), 0 0 0 .3rem #d8a64f8c, inset 0 .12rem .2rem #ffffff73, inset 0 -.28rem .45rem #3c230a73, 0 .45rem .8rem -.25rem #000000a6;background:radial-gradient(circle at 50% 30%,#f5dc9a,#cf9d45 52%,#84601f);border-radius:50%;flex:none;place-items:center;display:grid;position:relative}.dialog-crest:before{content:"";border:1px dashed #3a250c6b;border-radius:50%;position:absolute;inset:.3rem}.dialog-crest-mark{filter:drop-shadow(0 1px #fff0c88c);width:1.45rem;height:1.45rem;position:relative}.game-dialog header:has(>.dialog-crest){justify-content:flex-start;gap:1rem}.game-dialog header:has(>.dialog-crest)>:last-child{margin-left:auto}#library-root{flex-direction:column;min-height:0;padding:0;display:flex;overflow:hidden;container:library/inline-size}.civ-library{--walnut:#3d2f25;--walnut-hi:#5a4434;--walnut-lo:#241b15;--hollow:#17120e;--gilt:#e2c072}.lib-toolbar{border-bottom:1px solid var(--u-line);background:linear-gradient(#fff4e205,#0000);flex-wrap:wrap;flex:none;align-items:center;gap:.7rem 1.4rem;padding:.85rem 2.4rem .8rem;display:flex}.lib-trail{min-width:0;font:600 .74rem/1.2 var(--cc-text);letter-spacing:.12em;text-transform:uppercase;flex:0 auto;align-items:center;gap:.4rem;display:flex}.lib-trail-step{white-space:nowrap;color:var(--u-text-3);font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer;box-shadow:none;background:0 0;border:0;padding:.3rem .15rem}.lib-trail-step:hover,.lib-trail-step:focus-visible{color:var(--brass-hi)}.lib-trail-here{color:var(--brass-hi);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.lib-trail-sep{color:var(--u-5)}.civ-library:not([data-view=hall]) .lib-toolbar{flex-wrap:nowrap}.civ-library:not([data-view=hall]) .lib-trail{overflow:hidden}#main-menu .lib-search{width:15rem;min-height:2.3rem;margin-left:auto}.lib-legend{flex-wrap:wrap;gap:.3rem .85rem;margin:0;padding:0;list-style:none;display:flex}.lib-legend li{color:var(--u-text-2);font:600 .74rem/1.2 var(--cc-text);align-items:center;gap:.35rem;display:inline-flex}.lib-kind-mark{width:.95rem;height:.95rem;color:var(--brass-hi)}.lib-status{color:var(--brass-hi);font:600 .8rem/1.2 var(--cc-text);margin:0 0 .6rem}.lib-room{background:radial-gradient(at 50% 0,#d8a64f1a,#0000 60%),linear-gradient(#0000 calc(100% - 2.2rem),#00000047 calc(100% - 2.2rem));flex:1;grid-template-columns:minmax(0,1fr) auto;gap:1.2rem;min-height:0;padding:1.4rem 2.4rem 1.5rem;display:grid;position:relative}.lib-hall{justify-content:center;align-self:center;align-items:stretch;gap:clamp(.45rem,1.1vw,1.1rem);height:100%;min-height:0;max-height:34rem;margin:0;padding:0;display:flex}.lib-case-slot{flex:1 1 0;min-width:0;max-width:11rem;display:flex}.lib-case{cursor:pointer;min-width:0;color:var(--u-text);background:linear-gradient(90deg, var(--walnut-lo), var(--walnut-hi) 9%, var(--walnut) 18%, var(--walnut) 82%, var(--walnut-hi) 91%, var(--walnut-lo));box-shadow:inset 0 .3rem 0 #ffdcaa1f, inset 0 -.5rem 0 var(--walnut-lo), 0 1.2rem 1.6rem -1rem #000c;animation:.55s cubic-bezier(.2,.8,.2,1) both lib-case-in;animation-delay:calc(var(--i,0) * 55ms);border:0;border-radius:5.5rem 5.5rem .3rem .3rem/3.2rem 3.2rem .3rem .3rem;flex:1;grid-template-rows:minmax(0,1fr) auto;gap:.55rem;padding:1.9rem .5rem .6rem;transition:transform .28s cubic-bezier(.2,.8,.2,1),filter .25s,box-shadow .25s,opacity .25s;display:grid;position:relative}.lib-case:hover,.lib-case:focus-visible{box-shadow:inset 0 .3rem 0 #ffdcaa2e, inset 0 -.5rem 0 var(--walnut-lo), 0 0 0 .14rem var(--brass), 0 1.6rem 2rem -1rem #000000e6;transform:translateY(-.4rem)}.lib-case:focus-visible{outline:none}.lib-case-crown{background:radial-gradient(circle at 50% 35%, var(--walnut-hi), var(--walnut-lo));width:3rem;height:3rem;box-shadow:0 0 0 .14rem var(--brass-lo), 0 0 0 .22rem var(--walnut-lo), 0 .3rem .5rem #00000080;border-radius:50%;place-items:center;display:grid;position:absolute;top:-.5rem;left:50%;transform:translate(-50%)}.lib-case-seal{border-radius:50%;width:2.2rem;height:2.2rem}.lib-case-seal svg{width:1.8rem;height:1.8rem}.lib-case-shelves{background:var(--hollow);border-radius:.2rem;grid-template-rows:repeat(4,minmax(0,1fr));gap:.3rem;min-height:0;padding:.35rem .3rem;display:grid;box-shadow:inset 0 .4rem .8rem #0009,inset 0 0 0 1px #00000080}.lib-case-board{background:linear-gradient(#0000 calc(100% - .28rem),#7a5a3e calc(100% - .28rem),#4d3828);justify-content:center;align-items:flex-end;gap:.1rem;min-height:0;padding:.25rem .4rem .28rem;display:flex;position:relative}.lib-case-board>i{width:clamp(.7rem,1vw,.95rem);height:var(--h,70%);background:linear-gradient(#00000073, transparent .14rem), linear-gradient(transparent 20%, #e2c072e6 20% 24%, transparent 24% 76%, #e2c072e6 76% 80%, transparent 80%), linear-gradient(transparent 38%, #120a0699 38% 62%, transparent 62%) 50% 0 / 55% 100% no-repeat, linear-gradient(90deg, #0006, #ffffff2e 35%, #00000059), var(--binding);border-radius:.14rem .14rem .05rem .05rem;flex:none;max-height:3.4rem;transition:filter .2s,transform .2s;position:relative;box-shadow:.06rem 0 .1rem #00000080}.lib-case-board>i.is-leaning{transform-origin:0 100%;margin-left:.1rem;transform:rotate(9deg)}.lib-case-stack{gap:.06rem;margin-left:.2rem;display:grid}.lib-case-stack i{background:linear-gradient(#ffffff2e,#0000004d),#6f5139;border-radius:.06rem;width:clamp(1.4rem,2vw,1.9rem);height:.32rem;display:block;box-shadow:inset -.2rem 0 #e6d6b0}.lib-case-stack i:first-child{background:linear-gradient(#ffffff2e,#0000004d),#7c4032;width:clamp(1.2rem,1.7vw,1.6rem);margin-left:.15rem}.lib-case-board b{color:#e2c07273;font:400 .58rem/1 var(--cc-display);position:absolute;top:.1rem;right:.25rem}.lib-case:hover .lib-case-board>i{filter:brightness(1.15)}.lib-case-plate{text-align:center;height:4.3rem;color:var(--brass-ink);background:linear-gradient(#e3bf78,#b8893f);border-radius:.2rem;grid-template-rows:3.45em auto;align-content:center;justify-items:center;gap:.15rem;padding:.35rem .3rem;font-size:clamp(.74rem,.95vw,.9rem);display:grid;box-shadow:inset 0 1px #ffffff59,0 .15rem .3rem #0006}.lib-case-plate strong{-webkit-line-clamp:3;font:400 1em/1.15 var(--cc-display);text-wrap:balance;-webkit-box-orient:vertical;align-self:center;display:-webkit-box;overflow:hidden}.lib-case-plate small{font:600 .62rem/1.2 var(--cc-text);letter-spacing:.04em;opacity:.78}.lib-hall.is-searching .lib-case:not(.has-match){opacity:.35;filter:saturate(.5)}.lib-case-board>i.is-match{filter:brightness(1.35);box-shadow:0 0 .45rem .1rem #e8bf72bf}@keyframes lib-case-in{0%{opacity:0;transform:translateY(1rem)}}.lib-catalogue{border:1px solid var(--u-line-strong);border-radius:var(--r);background:linear-gradient(160deg, var(--u-3), var(--u-2));width:18rem;min-height:0;box-shadow:var(--panel-shadow);flex-direction:column;padding:1rem;display:flex}.lib-catalogue[hidden]{display:none}.lib-results{scrollbar-width:thin;scrollbar-color:var(--u-5) transparent;flex:1;align-content:start;gap:.35rem;min-height:0;margin:0;padding:0 .2rem 0 0;list-style:none;display:grid;overflow:auto}.lib-result{border:0;border-left:.25rem solid var(--binding);width:100%;color:var(--u-text);text-align:left;cursor:pointer;background:#00000029;border-radius:.2rem;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:.6rem;padding:.4rem .6rem .4rem .4rem;display:grid}.lib-result:hover,.lib-result:focus-visible{background:var(--brass-wash)}.lib-result-seal{border-radius:50%;grid-row:1/3;width:1.9rem;height:1.9rem}.lib-result-seal svg{width:1.6rem;height:1.6rem}.lib-result strong{font:400 .95rem/1.15 var(--cc-display)}.lib-result small{color:var(--u-text-3);font:.72rem/1.2 var(--cc-text)}.lib-walk{flex:none;align-items:center;gap:.7rem;margin-left:auto;display:flex}.lib-turn{border:1px solid var(--brass-lo);width:2.2rem;height:2.2rem;color:var(--brass-hi);font:400 1.5rem/1 var(--cc-display);cursor:pointer;box-shadow:none;background:#d8a64f14;border-radius:50%;place-items:center;padding:0 0 .15rem;display:grid}.lib-turn:hover,.lib-turn:focus-visible{background:var(--brass);color:var(--brass-ink)}.lib-shelf-title{min-width:13rem;color:var(--u-text);font:400 clamp(1.05rem, 1.5vw, 1.3rem)/1.1 var(--cc-display);white-space:nowrap;justify-content:center;align-items:center;gap:.55rem;margin:0;display:flex}.lib-reading-room{flex:1;grid-template-columns:minmax(0,1fr) clamp(13rem,17vw,16rem);gap:1.4rem;min-height:0;padding:1.2rem 2.4rem 1.5rem;display:grid}.lib-cabinet{background:linear-gradient(90deg, var(--walnut-lo), var(--walnut-hi) 3%, var(--walnut) 6%, var(--walnut) 94%, var(--walnut-hi) 97%, var(--walnut-lo));width:100%;max-width:54rem;min-height:0;box-shadow:inset 0 .35rem 0 #ffdcaa1f, inset 0 -.6rem 0 var(--walnut-lo), 0 1.6rem 2.4rem -1.2rem #000000d9;border-radius:14rem 14rem .4rem .4rem/2.4rem 2.4rem .4rem .4rem;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(2,minmax(0,1fr));justify-self:center;gap:1.25rem .9rem;padding:1.6rem 1.1rem 1.1rem;display:grid;position:relative}.lib-cabinet.is-arriving{transform-origin:var(--from-x,50%) var(--from-y,50%);animation:.5s cubic-bezier(.2,.8,.2,1) both lib-arrive}@keyframes lib-arrive{0%{opacity:0;transform:scale(.3)}}.lib-bay{background:repeating-linear-gradient(90deg,#ffffff06 0 .08rem,#0000 .08rem 3.4rem),linear-gradient(#1b1510,#120d0a);border-radius:.2rem;flex-direction:column;min-height:0;padding:1rem .8rem 0;display:flex;position:relative;box-shadow:inset 0 .8rem 1.2rem #0000008c,inset 0 0 0 1px #0009}.lib-bay[data-age="0"]{background:var(--orn-medallion) 50% 58% / min(9rem, 55%) auto no-repeat, repeating-linear-gradient(90deg, #ffffff06 0 .08rem, transparent .08rem 3.4rem), linear-gradient(#1b1510, #120d0a)}.lib-bay-head{z-index:1;background:var(--walnut);border-radius:.15rem;align-items:center;gap:.5rem;padding-right:.7rem;display:flex;position:absolute;top:-.55rem;left:.7rem;box-shadow:0 .1rem .25rem #00000073}.lib-end{min-width:1.9rem;height:1.6rem;color:var(--brass-ink);font:400 .9rem/1 var(--cc-display);background:linear-gradient(#e3bf78,#b8893f);border-radius:.15rem;place-items:center;padding:0 .35rem;display:grid;box-shadow:inset 0 1px #ffffff59}.lib-bay-name{color:var(--u-text-3);font:600 .7rem/1.2 var(--cc-text);letter-spacing:.14em;text-transform:uppercase}.lib-row{background:linear-gradient(#0000 calc(100% - .95rem),#8f6644 calc(100% - .95rem),#6b4a2c calc(100% - .35rem),#3e2a1b);flex:1;justify-content:center;align-items:flex-end;gap:.3rem;min-height:0;margin:0 -.8rem;padding:.6rem 1rem .95rem;list-style:none;display:flex}.lib-slot{align-items:flex-end;height:100%;min-height:0;display:flex}.lib-book{--spine-dark:color-mix(in srgb, var(--binding), #120804 58%);--band:linear-gradient(#00000080, #ffe8c457 38%, #ffe8c41a 62%, #00000080);--fillet:linear-gradient(var(--gilt), var(--gilt));--dots:radial-gradient(circle, var(--gilt) 0 .055rem, transparent .065rem);isolation:isolate;width:3.2rem;height:min(var(--book-h,92%), 15rem);cursor:pointer;min-height:7.2rem;color:var(--gilt);background: var(--band) 0 .36rem / 100% .3rem no-repeat, var(--band) 0 calc(100% - .36rem) / 100% .3rem no-repeat, var(--fillet) 0 .24rem / 100% .06rem no-repeat, var(--fillet) 0 .74rem / 100% .06rem no-repeat, var(--fillet) 0 calc(100% - .24rem) / 100% .06rem no-repeat, var(--fillet) 0 calc(100% - .74rem) / 100% .06rem no-repeat, var(--dots) .1rem .84rem / .3rem .14rem repeat-x, var(--dots) .1rem calc(100% - .84rem) / .3rem .14rem repeat-x,  linear-gradient(90deg, #0000008c, #fff3 17%, #ffffff12 38%, #0000000f 66%, #0000008c),  radial-gradient(ellipse 70% .55rem at 50% 0, #ffe4ba4d, transparent), radial-gradient(ellipse 70% .5rem at 50% 100%, #ffe4ba38, transparent), var(--binding);border:0;border-radius:.4rem .4rem .22rem .22rem/.55rem .55rem .3rem .3rem;grid-template-rows:auto minmax(0,1fr) auto;justify-items:center;gap:.3rem;padding:1rem .16rem .92rem;transition:transform .28s cubic-bezier(.2,.8,.2,1),filter .2s,opacity .2s,box-shadow .25s;display:grid;position:relative;box-shadow:inset 0 .14rem #ffeccd2e,inset 0 -.14rem #00000059,.16rem 0 .26rem #0a06028c,-.05rem 0 #00000073}.lib-book:after{content:"";z-index:0;border-radius:inherit;pointer-events:none;mix-blend-mode:multiply;opacity:.6;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .12 0 0 0 0 .07 0 0 0 0 .03 .9 0 0 0 -.3'/%3E%3C/filter%3E%3Crect width='96' height='96' filter='url(%23g)'/%3E%3C/svg%3E") 0 0/64px 64px;position:absolute;inset:0}.lib-book:before{content:"";z-index:2;border-radius:inherit;pointer-events:none;opacity:0;background:linear-gradient(170deg,#0000 30%,#fff4d647 46%,#0000 60%) 0 -12rem/100% 200% no-repeat;transition:opacity .2s;position:absolute;inset:0}.lib-book>*{z-index:1;position:relative}.lib-book-crest{width:1.5rem;height:1.5rem;color:var(--spine-dark);box-shadow:0 0 0 .1rem var(--spine-dark), 0 0 0 .16rem #e2c072bf, 0 .1rem .18rem .12rem #00000073;background:radial-gradient(circle at 35% 30%,#f8e6ac,#d4a846 58%,#8f6a22);border-radius:50%;place-items:center;display:grid}.lib-book-crest svg{width:1.15rem;height:1.15rem}.lib-book-crest svg circle{display:none}.lib-book-crest svg path[fill]:not([fill=none]){fill:currentColor}.lib-book-crest svg path[stroke]{stroke:currentColor}.lib-book-label{background:linear-gradient(90deg, #00000073, #ffffff0f 30%, transparent 55%, #0006), var(--spine-dark);min-height:0;box-shadow:inset 0 0 0 .07rem #e2c072d9, inset 0 0 0 .16rem var(--spine-dark), inset 0 0 0 .21rem #e2c07273, 0 0 .12rem #0009;border-radius:.1rem;justify-self:stretch;place-items:center;padding:.38rem .18rem;display:grid;overflow:hidden;container-type:size}.lib-book-title{writing-mode:vertical-rl;white-space:nowrap;text-align:center;color:#f0d48c;font:400 min(.95rem, calc(100cqh / (var(--chars,8) * .64)), calc(100cqw / (var(--lines,1) * 1.22)))/1.12 var(--cc-display);letter-spacing:.02em;text-shadow:0 .06rem #000000b3,0 0 .3rem #f0c87826}.lib-book-kind{width:1.05rem;height:1.05rem;color:var(--gilt);border-radius:50%;place-items:center;display:grid;box-shadow:inset 0 0 0 .06rem #e2c07299}.lib-book-kind svg{width:.68rem;height:.68rem}.lib-book:hover,.lib-book:focus-visible{z-index:3;filter:brightness(1.06)saturate(1.08);transform:translateY(-.55rem)scale(1.12);box-shadow:inset 0 .14rem #ffeccd38,inset 0 -.14rem #00000059,.3rem .5rem .9rem #0a0602a6}.lib-book:hover:before,.lib-book:focus-visible:before{opacity:1;animation:1.4s ease-out both lib-gleam}@keyframes lib-gleam{to{background-position:0 12rem}}.lib-book:focus-visible{outline:.15rem solid var(--brass-hi);outline-offset:.2rem}.lib-cabinet.is-browsing .lib-book:not(.is-current,.is-next,.is-prev){filter:brightness(.74)saturate(.85)}.lib-book.is-next{box-shadow:0 0 0 .14rem var(--good), .16rem 0 .26rem #0a06028c;transform:translateY(-.3rem)}.lib-book.is-prev{box-shadow:0 0 0 .14rem var(--u-text-2), .16rem 0 .26rem #0a06028c}@media (prefers-reduced-motion:reduce){:root:not([data-reduced-motion=false]) .lib-book:before{animation:none}}:root[data-reduced-motion=true] .lib-book:before{animation:none}.lib-label{isolation:isolate;text-align:center;border:1px solid var(--u-line-strong);min-height:min(100%,24rem);color:var(--u-text);background:var(--orn-medallion) 50% 18% / 7rem 7rem no-repeat, linear-gradient(155deg, var(--u-3), var(--u-2));box-shadow:inset 0 0 0 5px var(--u-2), inset 0 0 0 6px var(--u-line), 0 4px 12px #17120d55;border-radius:.3rem;align-content:center;align-self:center;justify-items:center;gap:.6rem;padding:1.4rem;display:grid;position:relative}.lib-label.is-book{box-shadow:inset 0 3px var(--binding), inset 0 0 0 5px var(--u-2), inset 0 0 0 6px var(--u-line), 0 4px 12px #17120d55}.lib-label strong{font:400 1.15rem/1.15 var(--cc-display)}.lib-label-meta{color:var(--u-text-2);font:600 .74rem/1.25 var(--cc-text)}.lib-label-hint{color:var(--u-text-3);font:.78rem/1.4 var(--cc-text)}.lib-label-facts{text-align:left;font:.78rem/1.3 var(--cc-text);grid-template-columns:auto minmax(0,1fr);gap:.25rem .55rem;margin:.3rem 0 0;display:grid}.lib-label-facts dt{color:var(--u-text-3);letter-spacing:.08em;text-transform:uppercase;padding-top:.12rem;font-size:.62rem;font-weight:600}.lib-label-facts dd{color:var(--u-text);margin:0}:is(.lib-plaque-seal,.lib-label-seal,.lib-case-seal,.lib-result-seal){background:var(--glaze);flex:none;place-items:center;display:grid;box-shadow:.1rem .1rem #00000059}:is(.lib-plaque-seal,.lib-label-seal,.lib-case-seal,.lib-result-seal) svg circle{display:none}:is(.lib-plaque-seal,.lib-label-seal,.lib-case-seal,.lib-result-seal) svg path[fill]:not([fill=none]){fill:currentColor}:is(.lib-plaque-seal,.lib-label-seal,.lib-case-seal,.lib-result-seal) svg path[stroke]{stroke:currentColor}.lib-plaque-seal{border-radius:.2rem;width:1.8rem;height:1.8rem}.lib-plaque-seal svg{width:1.5rem;height:1.5rem}.lib-label-seal{border:1px solid var(--brass-lo);width:3rem;height:3rem;box-shadow:0 0 0 4px var(--u-2), 0 0 0 5px var(--u-line-strong);border-radius:50%;margin-bottom:.45rem}.lib-label-seal svg{width:2.5rem;height:2.5rem}.lib-reader{--gilt:#e2c072;z-index:400;pointer-events:none;place-items:center;display:grid;position:fixed;inset:0}.lib-reader-veil{background:radial-gradient(at 50% 45%,#281c1073,#100a06c7);position:absolute;inset:0}.lib-book-ghost{z-index:2;transform-origin:50%;margin:0;transition:none;position:fixed}.lib-tome-stage{z-index:1;place-items:center;display:grid;position:absolute;inset:0}.lib-tome{--gilt:#e2c072;z-index:1;aspect-ratio:5/7;visibility:hidden;height:min(68vh,36rem);transform-style:preserve-3d;position:relative}.lib-tome.is-shown{visibility:visible}.lib-tome{transform-origin:0}.lib-tome-spine{top:0;left:calc(-1 * var(--spine-w,2rem));width:var(--spine-w,2rem);transform-origin:100%;backface-visibility:hidden;height:100%;position:absolute;overflow:hidden;transform:rotateY(-90deg)}.lib-tome-spine-face{transform-origin:0 0;pointer-events:none;margin:0;transition:none;position:absolute;top:0;left:0}.lib-tome-leaf{text-align:center;color:#2e2519;box-shadow:inset .5rem 0 1rem -.4rem #5a3c1473, .16rem .16rem 0 #d8c599, .32rem .32rem 0 #c9b385, .48rem .48rem 0 color-mix(in srgb, var(--binding), #000 20%), 0 2rem 3rem -1rem #000000b3;background:radial-gradient(at 20% 15%,#f8eed4,#0000 45%),radial-gradient(at 85% 90%,#c7a46a66,#0000 50%),linear-gradient(170deg,#efe2c3,#e1cda2);border-radius:0 .3rem .3rem 0;align-content:center;justify-items:center;gap:1rem;padding:2.4rem 2rem;display:grid;position:absolute;inset:0;transform:translateZ(-1px)}.lib-tome-leaf:before{content:"";outline-offset:.3rem;pointer-events:none;border:.08rem solid #7a2c1d73;outline:.08rem solid #b38a3e80;position:absolute;inset:1rem}.lib-tome-leaf small{color:#9a7330;font:600 .78rem/1.3 var(--cc-text);letter-spacing:.14em;text-transform:uppercase}.lib-tome-initial{color:#f6e6b8;width:5.2rem;height:5.2rem;font:400 3.6rem/1 var(--cc-display);text-shadow:0 .08rem #0006;background:linear-gradient(135deg,#7a2c1d,#4f1a10);border:.18rem solid #b38a3e;place-items:center;display:grid;box-shadow:inset 0 0 0 .3rem #7a2c1d,inset 0 0 0 .4rem #d9b25a,0 .2rem .5rem #4f1a1066}.lib-tome-leaf strong{color:#7a2c1d;font:400 2.1rem/1.1 var(--cc-display)}.lib-tome-lines{background:repeating-linear-gradient(#0000 0 .82rem,#2e251959 .82rem .92rem) 0 0/100% 100%,linear-gradient(90deg,#0000 0 100%);width:70%;height:4.4rem;-webkit-mask-image:linear-gradient(90deg,#000 85%,#0000);mask-image:linear-gradient(90deg,#000 85%,#0000)}.lib-tome-cover{transform-origin:0;transform-style:preserve-3d;position:absolute;inset:0}.lib-tome-front,.lib-tome-endpaper{backface-visibility:hidden;border-radius:0 .4rem .4rem 0;position:absolute;inset:0}.lib-tome-front{color:var(--gilt);text-align:center;background:linear-gradient(90deg, #00000073, #0000001a 6%, #ffffff14 9%, transparent 20%, #0000002e), radial-gradient(ellipse at 30% 25%, #ffffff1f, transparent 55%), var(--binding);box-shadow:inset 0 0 0 .3rem color-mix(in srgb, var(--binding), #000 30%), 0 2rem 3rem -1rem #000000b3;align-content:center;justify-items:center;gap:1.1rem;padding:2rem;display:grid}.lib-tome-front:before{content:"";border:.14rem solid var(--gilt);outline:.07rem solid var(--gilt);outline-offset:-.45rem;opacity:.85;position:absolute;inset:1.3rem 1.2rem 1.3rem 1.8rem}.lib-tome-front:after{content:"❦   ❦";color:var(--gilt);text-align:center;white-space:pre;opacity:.8;font-size:1.2rem;position:absolute;bottom:2rem;left:1.8rem;right:1.2rem}.lib-tome-boss{width:7.4rem;height:7.4rem;color:color-mix(in srgb, var(--binding), #000 45%);box-shadow:0 0 0 .3rem color-mix(in srgb, var(--binding), #000 25%), 0 0 0 .45rem var(--gilt), 0 .4rem .8rem #00000073;background:radial-gradient(circle at 35% 30%,#f8e7b0,#d2a645 55%,#8f6a22);border-radius:50%;place-items:center;display:grid}.lib-tome-boss svg{width:5.4rem;height:5.4rem}.lib-tome-boss svg circle{display:none}.lib-tome-boss svg path[fill]:not([fill=none]){fill:currentColor}.lib-tome-boss svg path[stroke]{stroke:currentColor}.lib-tome-front strong{font:400 2rem/1.1 var(--cc-display);text-shadow:0 .1rem #00000080}.lib-tome-front span:last-child{font:400 1.1rem/1 var(--cc-display);opacity:.85}.lib-tome-endpaper{color:#7a2c1d;box-shadow:inset 0 0 0 .75rem var(--binding), inset 0 0 0 .82rem #e2c072cc, inset 0 0 0 1.1rem #00000014, inset -.8rem 0 1.2rem -.5rem #5a3c1473;background:radial-gradient(at 70% 20%,#f7ecd0,#0000 50%),radial-gradient(at 20% 85%,#c7a46a59,#0000 55%),linear-gradient(170deg,#efe2c3,#e1cda2);border-radius:.4rem 0 0 .4rem;place-items:center;display:grid;transform:rotateY(180deg)}.lib-tome-endpaper svg{opacity:.16;width:42%;height:auto}.lib-tome-endpaper svg circle{display:none}.lib-tome-endpaper svg path[fill]:not([fill=none]){fill:currentColor}.lib-tome-endpaper svg path[stroke]{stroke:currentColor}.lib-crumbs{text-align:center;min-width:9rem;color:var(--u-text-3);font:600 .72rem/1.2 var(--cc-text);letter-spacing:.1em;text-transform:uppercase}.lib-page{background:repeating-linear-gradient(90deg,#00000024 0 .12rem,#0000 .12rem 9rem),linear-gradient(#3a2d24,#2a211b);flex:1;min-height:0;padding:1.1rem 2.4rem 1.4rem;display:flex;overflow:hidden;box-shadow:inset 0 1rem 1.4rem #00000059}@media (width<=1250px){.lib-reading-room{grid-template-columns:minmax(0,1fr)}.lib-label,.lib-legend{display:none}}@media (width<=760px){#library-root{overflow:auto}.lib-toolbar,.lib-room,.lib-reading-room,.lib-page{padding-inline:1rem}#main-menu .lib-search{width:100%;margin-left:0}.lib-room{grid-template-columns:1fr}.lib-hall{flex-wrap:wrap;max-height:none}.lib-case-slot{flex:8rem;height:16rem}.lib-catalogue{width:auto;max-height:20rem}.lib-cabinet{grid-template-rows:none;grid-template-columns:1fr;grid-auto-rows:14rem}.lib-shelf-title{min-width:0;font-size:1.05rem}.lib-page{overflow:visible}}@media (height<=760px){.lib-toolbar{padding-block:.55rem}.lib-room,.lib-reading-room{padding-block:.9rem 1rem}.lib-page{padding-block:.7rem .9rem}.lib-cabinet{padding:1.3rem .8rem .8rem}.lib-row{padding-top:.3rem}.lib-book{gap:.25rem}}@media (height<=680px){.lib-book-kind{display:none}.lib-book{grid-template-rows:auto minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){:root:not([data-reduced-motion=false]) :is(.lib-case,.lib-cabinet.is-arriving){animation:none}}:root[data-reduced-motion=true] :is(.lib-case,.lib-cabinet.is-arriving){animation:none}#main-menu{--rail-w:25rem;--scene-left:25rem}#menu-scene{box-shadow:none}.stele{width:var(--rail-w);top:0;bottom:0;left:0}.stele:before{content:none}.stele-depth{filter:none;padding:0;position:relative}.stele-body{border-radius:0;padding:2.8rem 1.5rem 0}.stele-name{margin-top:.2rem}.stele-frieze{height:1px;margin:1.8rem .4rem 1.2rem}.stele-nav{padding:0}.stele-news{margin:auto 0 0;padding:1rem 1.1rem 1.05rem}.stele .stele-base.cc-slab.is-stone{margin:1.2rem 0 0;padding:1rem 1.5rem 1.05rem}@media (height<=820px) and (width>=761px){.stele-body{padding-top:1.8rem}.stele-frieze{margin:1.2rem .4rem .8rem}}@media (width<=760px){#main-menu{--rail-w:0px;--scene-left:0px}.stele{width:100%;box-shadow:none}}:root{--btn-face:linear-gradient(#fdf6e7, #ebdcbc);--btn-face-hover:linear-gradient(#fffaf0, #f1e4c7);--btn-edge:#8a7150;--btn-floor:#6c573a;--btn-stitch:#7a603c80;--btn-glaze:linear-gradient(#f4c964, #d79a2d 58%, #c4861c);--btn-glaze-hover:linear-gradient(#f8d47a, #e0a63a 58%, #cd8f22);--btn-glaze-edge:#7f5612;--btn-glaze-floor:#6a470e;--btn-glaze-stitch:#603c0a73;--btn-madder:linear-gradient(#c84c3c, #a8352a)}:is(#main-menu,.game-dialog) :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.resume-save,.cc-token,.dialog-primary,.dialog-secondary,.dialog-danger,.account-primary,[data-primary]),#main-menu .mm-segmented button,.game-dialog header button{isolation:isolate;background:var(--btn-face);color:var(--cc-ink);box-shadow:inset 0 0 0 .08rem var(--btn-edge), inset 0 .1rem 0 .08rem #fffcf4b3, 0 .16rem 0 var(--btn-floor), 0 .34rem .55rem -.22rem #0a0e1a80;text-shadow:none;border:0;border-radius:.32rem;transition:transform 80ms ease-out,box-shadow 80ms ease-out,filter .12s;position:relative;transform:none}:is(#main-menu,.game-dialog) :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.resume-save,.cc-token,.dialog-primary,.dialog-secondary,.dialog-danger,.account-primary,[data-primary]):before,#main-menu .mm-segmented button:before,.game-dialog header button:before{content:"";z-index:0;border:.07rem dashed var(--btn-stitch);clip-path:none;pointer-events:none;background:0 0;border-radius:.18rem;width:auto;height:auto;position:absolute;inset:.2rem}:is(#main-menu,.game-dialog) :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.resume-save,.cc-token,.dialog-primary,.dialog-secondary,.dialog-danger,.account-primary,[data-primary]):after,#main-menu .mm-segmented button:after,.game-dialog header button:after{content:none}:is(#main-menu,.game-dialog) :is(.cc-token,.seat-chip,.mm-mini-btn):before,#main-menu .mm-segmented button:before{inset:.14rem}:is(#main-menu,.game-dialog) :is(.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.resume-save,.cc-token,.dialog-secondary):hover:not(:disabled),#main-menu .mm-segmented button:hover:not(:is(.active,[aria-pressed=true])),.game-dialog header button:hover{background:var(--btn-face-hover);transform:translateY(-.05rem)}:is(#main-menu,.game-dialog) :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.resume-save,.cc-token,.dialog-primary,.dialog-secondary,.dialog-danger,.account-primary,[data-primary]):active:not(:disabled),#main-menu .mm-segmented button:active,.game-dialog header button:active{box-shadow:inset 0 0 0 .08rem var(--btn-edge), inset 0 .14rem .2rem #3c281440, 0 .02rem 0 var(--btn-floor);transform:translateY(.14rem)}#main-menu .mm-primary,.game-dialog :is(.dialog-primary,.account-primary,[data-primary]),#main-menu .mm-segmented button:is(.active,[aria-pressed=true]),#main-menu :is(.cc-token[aria-pressed=true],.cc-token.is-on,.mm-lang-btn.active){--btn-stitch:var(--btn-glaze-stitch);background:var(--btn-glaze);color:var(--cc-on-glaze);box-shadow:inset 0 0 0 .08rem var(--btn-glaze-edge), inset 0 .1rem 0 .08rem #ffeebe8c, 0 .16rem 0 var(--btn-glaze-floor), 0 .34rem .55rem -.22rem #0a0e1a80}#main-menu .mm-primary:hover:not(:disabled),.game-dialog :is(.dialog-primary,.account-primary,[data-primary]):hover{background:var(--btn-glaze-hover);transform:translateY(-.05rem)}#main-menu .mm-segmented button:is(.active,[aria-pressed=true]),#main-menu :is(.cc-token[aria-pressed=true],.cc-token.is-on,.mm-lang-btn.active){box-shadow:inset 0 0 0 .08rem var(--btn-glaze-edge), inset 0 .14rem .22rem #5a370a59, 0 .06rem 0 var(--btn-glaze-floor);transform:translateY(.1rem)}#main-menu .stele-base #mm-music[aria-pressed=true]{background:var(--btn-face);color:var(--cc-ink);box-shadow:inset 0 0 0 .08rem var(--btn-edge), inset 0 .1rem 0 .08rem #fffcf4b3, 0 .16rem 0 var(--btn-floor);--btn-stitch:#7a603c80;transform:none}.game-dialog .dialog-danger{--btn-stitch:#ffe6d273;background:var(--btn-madder);color:var(--cc-on-dye);box-shadow:inset 0 0 0 .08rem #6f1f16,inset 0 .1rem 0 .08rem #ffc8b44d,0 .16rem #5a1810,0 .34rem .55rem -.22rem #0a0e1a80}#main-menu :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back):disabled,.game-dialog :is(.dialog-primary,.dialog-secondary,.account-primary,[data-primary]):disabled{--btn-stitch:#cdc6b44d;background:var(--cc-wood-raise);color:var(--cc-on-wood-soft);box-shadow:inset 0 0 0 .08rem var(--cc-wood-side), inset 0 .14rem .22rem #10142459;transform:none}#main-menu :is(#sp-start,#create-confirm,#join-confirm,#room-start,#room-ready.mm-primary){padding-inline:2.6rem}#main-menu :is(#sp-start,#create-confirm,#join-confirm,#room-start,#room-ready.mm-primary):after{content:"";z-index:0;pointer-events:none;opacity:.55;clip-path:none;background:linear-gradient(45deg,#0000 32%,currentColor 32% 68%,#0000 68%) 0/.5rem .5rem no-repeat,linear-gradient(45deg,#0000 32%,currentColor 32% 68%,#0000 68%) 100%/.5rem .5rem no-repeat;width:auto;height:.5rem;position:absolute;inset:50% .95rem auto;transform:translateY(-50%)}#main-menu :is(#sp-start,#create-confirm,#join-confirm,#room-start,#room-ready.mm-primary):disabled:after{opacity:.3}@media (prefers-reduced-motion:reduce){:is(#main-menu,.game-dialog) button{transition:none}}body>.seat-choice{z-index:400;position:fixed}}@layer theme{:root{--u-0:#24201d;--u-1:#312c28;--u-2:#3b3530;--u-3:#463f39;--u-4:#524a43;--u-5:#625950;--u-line:#fff4e21a;--u-line-strong:#fff4e22e;--u-text:#f3ecdf;--u-text-2:#c9bfae;--u-text-3:#b2a897;--brass:#d8a64f;--brass-hi:#e8bf72;--brass-lo:#a17733;--brass-ink:#24190b;--brass-wash:#d8a64f29;--good:#9cc77a;--bad:#ef9580;--bad-fill:#a8402f;--panel-alpha:#312c28ed;--panel-shadow:0 .6rem 1.6rem -.4rem #0a08068c;--r:.45rem;--cc-wood:var(--u-1);--cc-wood-top:var(--u-3);--cc-wood-side:var(--u-0);--cc-wood-raise:var(--u-2);--cc-wood-deep:var(--u-0);--cc-on-wood:var(--u-text);--cc-on-wood-soft:var(--u-text-2);--cc-wood-line:var(--u-line);--cc-plaster:var(--u-3);--cc-plaster-top:var(--u-3);--cc-plaster-side:var(--u-line-strong);--cc-plaster-hover:var(--u-4);--cc-stone:var(--u-4);--cc-stone-top:var(--u-4);--cc-stone-side:var(--u-1);--cc-hollow:var(--u-2);--cc-hollow-deep:var(--u-line-strong);--cc-ink:var(--u-text);--cc-ink-soft:var(--u-text-2);--cc-ink-faint:var(--u-line);--cc-light:transparent;--cc-on-glaze:var(--brass-ink);--cc-on-dye:#fff6ea;--cc-backdrop:var(--u-0);--cc-lapis:var(--brass);--cc-lapis-top:var(--brass-hi);--cc-lapis-side:var(--brass-lo);--cc-lapis-light:var(--brass-hi);--cc-ochre:var(--brass);--cc-bronze:var(--brass-lo);--cc-terra:var(--bad-fill);--cc-terra-top:#bd4f3c;--cc-terra-side:#6e2519;--cc-terra-ink:var(--bad);--cc-terra-light:var(--bad);--cc-malachite:#6f9a52;--cc-malachite-ink:var(--good);--cc-malachite-light:var(--good);--cc-madder:var(--u-line-strong);--cc-band:none;--cc-shadow:var(--panel-shadow);--cc-mesopotamia:#5b7393;--cc-nile:#4f8a83;--cc-india:#b08a3e;--cc-china:#9a4b40;--cc-aegean:#a86e4d;--cc-west-europe:#6a8257;--cc-north-europe:#7a6a8c;--btn-face:var(--u-3);--btn-face-hover:var(--u-4);--btn-edge:var(--u-line-strong);--btn-floor:transparent;--btn-stitch:transparent;--btn-glaze:var(--brass);--btn-glaze-hover:var(--brass-hi);--btn-glaze-edge:var(--brass-lo);--btn-glaze-floor:transparent;--btn-glaze-stitch:transparent;--btn-madder:var(--bad-fill);--bg:var(--u-0);--panel:var(--u-1);--panel-border:var(--u-line-strong);--text:var(--u-text);--text-dim:var(--u-text-2);--gold:var(--brass-hi);--gold-dim:var(--u-text-2);--ui-surface-0:var(--u-1);--ui-surface-1:var(--u-2);--ui-surface-2:var(--u-3);--ui-surface-raised:var(--u-3);--ui-ink:var(--u-text);--ui-ink-muted:var(--u-text-2);--ui-line:var(--u-line-strong);--ui-line-soft:var(--u-line);--ui-accent:var(--brass-hi);--ui-focus:var(--brass-hi);--ui-accent-strong:var(--brass);--ui-danger:var(--bad);--ui-shadow:var(--panel-shadow);--ui-radius:var(--r);--ui-scroll-track:transparent;--ui-scroll-thumb:var(--u-4);--ui-scroll-hover:var(--u-5);--seal-gold:var(--u-3);--seal-line:var(--u-line-strong)}.cc-slab,.cc-slab.is-stone{box-shadow:var(--panel-shadow);border-radius:var(--r)}.cc-slab:before,.cc-slab:after{content:none}#app button:focus-visible,#app a:focus-visible{outline:.12rem solid var(--brass-hi);outline-offset:.15rem}::selection{background:var(--brass);color:var(--brass-ink)}#main-menu{background:var(--u-0)}.stele{box-shadow:.2rem 0 1.8rem #0a080680}.stele-depth{filter:none}.stele-depth:before,.stele-depth:after,.stele-body:before{content:none}.stele-body:after{display:none}.stele-body{background:var(--u-1);box-shadow:none;border-radius:0;padding:2.8rem 1.5rem 0}.stele-name{color:var(--u-text);text-shadow:none;letter-spacing:.01em;margin-top:.2rem}.stele-frieze{background:var(--u-line-strong);height:1px;box-shadow:none;border:0;margin:1.8rem .4rem 1.2rem}.stele-nav{gap:.15rem;padding:0}.stele-item{border-radius:var(--r);padding:.7rem 1rem}.stele-item,.stele-item .rail-title{color:var(--u-text);text-shadow:none}.stele-item .cc-glyph{color:var(--u-text-3);filter:none}.stele-item:hover,.stele-item:focus-visible,.stele-item[aria-current=page]{background:var(--brass-wash);color:var(--brass-hi);box-shadow:inset .2rem 0 0 var(--brass)}:is(.stele-item:hover,.stele-item:focus-visible,.stele-item[aria-current=page]) :is(.rail-title,.cc-glyph){color:var(--brass-hi);text-shadow:none;opacity:1}.stele-item:focus-visible{outline:.12rem solid var(--brass-hi);outline-offset:0}.stele-meta,.stele-item:hover .stele-meta,.stele-item[aria-current=page] .stele-meta{color:var(--u-text-3)}.stele-meta.online{color:var(--good)}.stele-meta.online .mm-dot,.stele-item:hover .stele-meta.online .mm-dot{background:var(--good)}.stele-news{background:var(--u-2);border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--u-line);margin:auto 0 0;padding:1rem 1.1rem 1.05rem}.stele-news .news-meta,.stele-news .news-earlier time,.stele-news .news-summary{color:var(--u-text-2)}.stele-news h2{color:var(--u-text-3)}.stele-news .news-feature strong,.stele-news .news-earlier a{color:var(--u-text)}.stele-news .news-meta b{background:var(--brass);color:var(--brass-ink);border-radius:.2rem}.stele-news .news-all{color:var(--brass-hi)}.stele-news .news-loading{background:var(--u-3);border-radius:var(--r)}.stele .stele-base.cc-slab.is-stone{background:var(--u-1);border-top:1px solid var(--u-line);box-shadow:none;border-radius:0;margin:1.2rem 0 0;padding:1rem 1.5rem 1.05rem}.stele-base .stele-legal,.stele-base .stele-legal a,.stele-base .rail-social a{color:var(--u-text-3)}.stele-base .rail-social a:hover,.stele-base .stele-legal a:hover,.stele-legal .rail-visitors:hover{color:var(--u-text)}.civic-sign-frame{border-radius:var(--r);background:var(--panel-alpha);box-shadow:inset 0 0 0 1px var(--u-line-strong), var(--panel-shadow)}.civic-sign-frame:before,.civic-sign-frame:after{content:none}.civic-plaque{color:var(--u-text);text-shadow:none}.civic-sign .civic-icon{color:var(--brass-hi)}.civic-site:hover .civic-sign-frame,.civic-site:focus-visible .civic-sign-frame{background:var(--brass)}.civic-site:hover :is(.civic-plaque,.civic-icon),.civic-site:focus-visible :is(.civic-plaque,.civic-icon){color:var(--brass-ink)}#main-menu:not([data-screen=landing]) .mm-stage{background:#14110e8c}#main-menu .mm-frame{background:var(--u-1);box-shadow:inset 0 0 0 1px var(--u-line-strong), 0 1.4rem 2.6rem -1.2rem #080604b3;border-radius:.7rem}.screen-head:after{background:var(--u-line-strong);height:1px;left:0;right:0}:is(#main-menu,.game-dialog) :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.resume-save,.cc-token,.dialog-primary,.dialog-secondary,.dialog-danger,.account-primary,[data-primary]),#main-menu .mm-segmented button,.game-dialog header button{border-radius:var(--r);background:var(--btn-face);color:var(--u-text);box-shadow:inset 0 0 0 1px var(--u-line-strong)}:is(#main-menu,.game-dialog) :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.resume-save,.cc-token,.dialog-primary,.dialog-secondary,.dialog-danger,.account-primary,[data-primary]):before,#main-menu .mm-segmented button:before,.game-dialog header button:before,#main-menu :is(#sp-start,#create-confirm,#join-confirm,#room-start,#room-ready.mm-primary):after{content:none}:is(#main-menu,.game-dialog) :is(.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.resume-save,.cc-token,.dialog-secondary):hover:not(:disabled),#main-menu .mm-segmented button:hover:not(:is(.active,[aria-pressed=true])),.game-dialog header button:hover{background:var(--btn-face-hover);transform:none}:is(#main-menu,.game-dialog) :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back,.seat-chip,.resume-save,.cc-token,.dialog-primary,.dialog-secondary,.dialog-danger,.account-primary,[data-primary]):active:not(:disabled),#main-menu .mm-segmented button:active,.game-dialog header button:active{box-shadow:inset 0 0 0 1px var(--u-line-strong);transform:translateY(1px)}#main-menu .mm-primary,.game-dialog :is(.dialog-primary,.account-primary,[data-primary]),#main-menu .mm-segmented button:is(.active,[aria-pressed=true]),#main-menu :is(.cc-token[aria-pressed=true],.cc-token.is-on,.mm-lang-btn.active){background:var(--brass);color:var(--brass-ink);box-shadow:none;transform:none}#main-menu .mm-primary:hover:not(:disabled),.game-dialog :is(.dialog-primary,.account-primary,[data-primary]):hover{background:var(--brass-hi);transform:none}#main-menu .stele-base #mm-music[aria-pressed=true]{background:var(--btn-face);color:var(--u-text);box-shadow:inset 0 0 0 1px var(--u-line-strong)}.game-dialog .dialog-danger{background:var(--bad-fill);color:var(--cc-on-dye);box-shadow:none}#main-menu :is(.mm-primary,.mm-secondary,.mm-mini-btn,.mm-join-btn,.mm-back):disabled,.game-dialog :is(.dialog-primary,.dialog-secondary,.account-primary,[data-primary]):disabled{background:var(--u-2);color:var(--u-text-3);box-shadow:inset 0 0 0 1px var(--u-line)}.game-dialog{background:var(--u-1);color:var(--u-text);box-shadow:inset 0 0 0 1px var(--u-line-strong), 0 1.6rem 3rem -1rem #080604bf;border:0;border-radius:.7rem}.game-dialog::backdrop{background:#100d0a9e}.game-dialog header:after{content:none}.game-dialog header{border-bottom:1px solid var(--u-line)}.game-dialog>header{gap:1rem;margin-bottom:.3rem;padding-bottom:1.35rem}.game-dialog>header h2{font-family:var(--cc-display);letter-spacing:.015em;font-weight:400}.game-dialog :is(input:not([type=checkbox],[type=radio],[type=range]),select):focus-visible,.game-dialog :is(.dialog-secondary,.preference-tab,.account-tab):focus-visible{outline:2px solid var(--brass-hi);outline-offset:2px}.game-dialog .preference-tab{min-height:2.65rem}.stele{background:var(--u-1)}.stele .stele-base.cc-slab.is-stone{margin-top:1.2rem}.mm-civs{gap:.65rem;padding:.4rem .15rem .2rem}.mm-civs .civ-tile{--d:0;isolation:isolate;background:radial-gradient(ellipse at 50% 30%, color-mix(in srgb, var(--glaze) 24%, transparent), transparent 75%), linear-gradient(160deg, var(--u-4), var(--u-2));border:1px solid var(--u-line-strong);width:100%;height:clamp(5.3rem,10vh,6.5rem);box-shadow:inset 0 0 0 3px var(--u-2), inset 0 0 0 4px var(--u-line), 0 3px 6px #18141044;border-radius:.55rem .55rem .2rem .2rem;transition:border-color .18s,box-shadow .18s;position:relative;overflow:hidden}.civ-tile-seal{color:color-mix(in srgb, var(--glaze) 55%, #f3ecdf);z-index:1;place-items:center;display:grid;position:absolute;inset:12% 12% 20%}.mm-civs .civ-tile-seal svg{width:min(3.8rem,90%);height:auto;max-height:100%}.civ-tile-frieze{border-top:1px solid var(--u-line-strong);opacity:.65;background-repeat:repeat-x;background-size:auto 100%;height:.45rem;margin:0;position:absolute;bottom:4px;left:6px;right:6px}.mm-civ-btn:hover:not(:disabled) .civ-tile{--d:0;border-color:var(--brass-hi);box-shadow:inset 0 0 0 3px var(--u-2), inset 0 0 0 4px var(--u-line-strong), 0 3px 8px #18141055;transform:none}.mm-civ-btn.active .civ-tile{--d:0;border-color:var(--brass);box-shadow:inset 0 0 0 2px var(--brass-lo), 0 3px 8px #18141055;transform:none}.mm-civ-btn.active .civ-tile-seal{color:var(--brass-hi)}.mm-civ-btn strong{overflow-wrap:normal;text-wrap:balance;max-width:100%;font-size:.78rem;line-height:1.2}.mm-civ-btn.active strong{color:var(--brass-hi);text-decoration:none}.mm-civ-btn:focus-visible .civ-tile{outline:.12rem solid var(--brass-hi);outline-offset:.2rem}.mm-civ-btn:disabled:not(.active) .civ-tile{filter:none;opacity:.55}.seat-choice{background:var(--u-2);border:1px solid var(--brass-lo);box-shadow:0 8px 24px #17120dcc, inset 0 0 0 3px var(--u-1);border-radius:.4rem;gap:.2rem;padding:.4rem}.seat-choice:before,.seat-choice:after{content:none}.seat-choice-option{border-radius:.2rem;align-items:center;gap:.65rem;min-height:2.35rem;padding:.45rem .65rem;display:flex}.seat-choice-option .civilization-emblem{flex:none}.seat-choice-option:hover,.seat-choice-option:focus-visible{background:var(--u-4);outline:1px solid var(--brass-lo);outline-offset:-1px}.seat-choice-option[aria-selected=true]{background:var(--brass-wash);color:var(--brass-hi);box-shadow:inset 3px 0 var(--brass)}#main-menu .seat-chip[aria-haspopup=listbox]{background:linear-gradient(145deg, var(--u-4), var(--u-3));padding-right:1.35rem}#main-menu .seat-chip[aria-haspopup=listbox]:after{content:"";z-index:0;border:solid var(--u-text-2);clip-path:none;background:0 0;border-width:0 1px 1px 0;width:.35rem;height:.35rem;position:absolute;inset:45% .5rem auto auto;transform:rotate(45deg)}#main-menu .seat-chip[aria-expanded=true]{box-shadow:inset 0 0 0 1px var(--brass)}.single-setup,.mm-room-empty{background:linear-gradient(155deg, #ffffff04, transparent 45%), var(--u-2);border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--u-line), inset 0 3px 0 #d8a64f33}#main-menu :is(.single-setup,.waiting-roster,#create-room-summary) .mm-label,.single-setup :is(#setup-title,.mm-label,.setup-hint),.setup-hint,.seat-chip small,#create-room-summary p{color:var(--u-text-3)}.single-setup #setup-title,#setup-title,#create-room-summary,#create-room-summary h3{color:var(--u-text)}.setup-group,.setup-map,.setup-seats{border-top-color:var(--u-line);box-shadow:none}#main-menu .mm-segmented button{background:var(--u-3);color:var(--u-text);box-shadow:inset 0 0 0 1px var(--u-line-strong)}#main-menu .mm-segmented button:hover:not(:is(.active,[aria-pressed=true])){background:var(--u-4)}#main-menu .mm-segmented button:is(.active,[aria-pressed=true]){background:var(--brass);color:var(--brass-ink);box-shadow:none}.solo-seat,.room-seat{background:linear-gradient(110deg, #ffffff05, transparent 55%), var(--u-3);border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--u-line);color:var(--u-text)}.solo-seat.is-you{box-shadow:inset 0 0 0 1px var(--u-line), inset .2rem 0 0 var(--brass)}.room-seat.is-ready{box-shadow:inset 0 0 0 1px var(--u-line), inset .2rem 0 0 var(--good)}.room-seat.is-empty{background:var(--u-2);box-shadow:inset 0 0 0 1px var(--u-line)}.room-seat.is-empty .seat-chip,.room-seat.is-empty .seat-chip :where(*){color:var(--u-text)}.room-seat-art{background:radial-gradient(ellipse at 50% 40%, #d8a64f18, transparent 72%), var(--u-2);border:1px solid var(--u-line-strong);border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--u-line)}.mm-room{border:1px solid var(--u-line-strong)}.room-code{border:1px solid var(--brass-lo);border-radius:var(--r);background:linear-gradient(140deg, var(--u-3), var(--u-2));padding:.65rem .9rem}.map-card{background:var(--u-3);border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--u-line-strong)}.room-code code{background:var(--u-2);border-radius:.25rem}#main-menu .mm-input{background:var(--u-0);border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--u-line-strong);color:var(--u-text)}#main-menu .mm-input:focus{box-shadow:inset 0 0 0 .1rem var(--brass);outline:none}.mm-room-empty p{color:var(--u-text-2)}.civ-show-stage{border-radius:var(--r);box-shadow:inset 0 0 0 1px var(--u-line);overflow:hidden}.screen-titles h2{text-shadow:none}#lobby-connection.is-connected{color:var(--good)}#lobby-connection.is-connected:before{background:var(--good)}.resume-kicker{color:var(--brass-hi)}.game-dialog h2{text-shadow:none}.game-dialog p{color:var(--u-text-2)}.game-dialog :is(button,select){border-radius:var(--r);background:var(--u-3);color:var(--u-text);box-shadow:inset 0 0 0 1px var(--u-line-strong)}.game-dialog button:hover{background:var(--u-4)}.game-dialog button:active:not(:disabled){box-shadow:inset 0 0 0 1px var(--u-line-strong);transform:translateY(1px)}.game-dialog button:disabled{background:var(--u-2);color:var(--u-text-3);box-shadow:inset 0 0 0 1px var(--u-line)}.game-dialog :is(.account-primary,.dialog-primary,[data-primary]){background:var(--brass);color:var(--brass-ink);box-shadow:none}.game-dialog :is(.account-primary,.dialog-primary,[data-primary]):hover{background:var(--brass-hi)}.game-dialog .dialog-danger:hover{background:var(--cc-terra-top)}.game-dialog :is(input,textarea):focus{box-shadow:inset 0 0 0 .1rem var(--brass);outline:none}.preferences-dialog .preference-panel :where(*){color:var(--u-text)}.preferences-dialog .preference-panel legend{color:var(--brass-hi)}.preferences-dialog :is(.preference-toggle,.preference-volume){border-bottom-color:var(--u-line)}.preferences-dialog .preference-toggle small,.preferences-dialog .preference-panel .preference-help,.preferences-dialog .preference-keys dd{color:var(--u-text-3)}.preferences-dialog .preference-volume input,.game-dialog input[type=range]{accent-color:var(--brass)}.preferences-dialog .preference-panel select.mm-input,.preferences-dialog .preference-panel select{background-color:var(--u-0);color:var(--u-text);box-shadow:inset 0 0 0 1px var(--u-line-strong)}.game-dialog.preferences-dialog{width:min(780px,100vw - 32px)}.preferences-dialog .preferences-note{color:var(--u-text-3);margin:.2rem 0 0;font-size:.85rem}.preference-body{grid-template-columns:12.5rem minmax(0,1fr);gap:1.1rem;margin-top:1rem;display:grid}.preferences-dialog .preference-tabs{border:0;flex-direction:column;align-self:start;gap:.35rem;margin:0;padding:.2rem 0}.game-dialog.preferences-dialog .preference-tab{text-align:left;min-height:2.9rem;color:var(--u-text-2);font:600 .95rem/1.2 var(--cc-text);clip-path:polygon(0 0,100% 0,calc(100% - .8rem) 50%,100% 100%,0 100%);background:#fff4e208;border-radius:.3rem 0 0 .3rem;align-items:center;gap:.7rem;padding:.5rem 1.4rem .5rem .55rem;transition:background .15s,color .15s;display:flex}.game-dialog.preferences-dialog .preference-tab:hover{background:var(--u-3);color:var(--u-text)}.game-dialog.preferences-dialog .preference-tab[aria-selected=true]{background:linear-gradient(90deg, var(--brass-lo), var(--brass));color:var(--brass-ink)}.preference-tab-mark{background:var(--u-0);width:1.95rem;height:1.95rem;color:var(--brass-hi);box-shadow:inset 0 0 0 1px var(--u-line-strong);border-radius:50%;flex:none;padding:.38rem}.preference-tab[aria-selected=true] .preference-tab-mark{color:var(--brass-ink);background:#24190b33;box-shadow:inset 0 0 0 1px #24190b59}.preferences-dialog .preference-panel{background:radial-gradient(ellipse at 50% 0, #d8a64f12, transparent 60%), var(--u-2);height:min(440px,60dvh);box-shadow:inset 0 0 0 1px var(--u-line-strong), inset 0 0 0 5px var(--u-2), inset 0 0 0 6px var(--u-line);border-radius:.35rem;margin:0;padding:.3rem 1.4rem 1rem}.preferences-dialog .preference-panel legend{width:100%;color:var(--brass-hi);font:700 .72rem/1.2 var(--cc-text);letter-spacing:.16em;align-items:center;gap:.6rem;padding:0;display:flex}.preferences-dialog .preference-panel legend:after{content:"";background:linear-gradient(90deg, var(--brass-lo), transparent);flex:1;height:1px}.preferences-dialog .preference-volume input[type=range]{appearance:none;background:0 0;height:1.4rem;margin:.3rem 0}.preferences-dialog .preference-volume input[type=range]::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--brass-lo), var(--brass-hi) var(--fill,50%), #00000059 var(--fill,50%));border-radius:.2rem;height:.3rem;box-shadow:inset 0 0 0 1px #00000059}.preferences-dialog .preference-volume input[type=range]::-moz-range-track{background:linear-gradient(90deg, var(--brass-lo), var(--brass-hi) var(--fill,50%), #00000059 var(--fill,50%));border-radius:.2rem;height:.3rem}.preferences-dialog .preference-volume input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background:var(--brass-hi);width:1rem;height:1rem;box-shadow:0 0 0 .18rem var(--u-0), 0 .1rem .3rem #0009;border:0;margin-top:-.35rem;transform:rotate(45deg)}.preferences-dialog .preference-volume input[type=range]::-moz-range-thumb{background:var(--brass-hi);width:.9rem;height:.9rem;box-shadow:0 0 0 .18rem var(--u-0);border:0;border-radius:0;transform:rotate(45deg)}.preferences-dialog .preference-volume input[type=range]:focus-visible{outline:2px solid var(--brass-hi);outline-offset:2px}.preferences-dialog .preference-volume output{color:var(--brass-hi);font:700 .95rem/1 var(--cc-text);font-variant-numeric:tabular-nums}.preferences-dialog .preference-toggle input{background:var(--u-0);width:2.9rem;height:1.55rem;box-shadow:inset 0 .1rem .2rem #0000008c, inset 0 0 0 1px var(--u-line-strong);border:0;border-radius:1rem;padding:.18rem}.preferences-dialog .preference-toggle input:before{background:var(--u-5);width:1.18rem;height:1.18rem;transition:transform .18s,background .18s;box-shadow:0 .08rem .15rem #00000080}.preferences-dialog .preference-toggle input:checked{background:linear-gradient(90deg, var(--brass-lo), var(--brass));box-shadow:inset 0 .1rem .2rem #3c230a80}.preferences-dialog .preference-toggle input:checked:before{background:#fff3d6;transform:translate(1.35rem)}.preferences-dialog .preference-keys kbd{min-width:1.6rem;color:var(--u-text);box-shadow:inset 0 -.15rem 0 #00000073, inset 0 0 0 1px var(--u-line-strong);background:linear-gradient(#4e463f,#3a332d);border:0;border-radius:.25rem}@media (width<=620px){.preference-body{grid-template-columns:1fr}.preferences-dialog .preference-tabs{flex-direction:row;overflow-x:auto}.game-dialog.preferences-dialog .preference-tab{clip-path:none;border-radius:.3rem;flex:none;padding-right:.8rem}.preference-tab-mark{width:1.6rem;height:1.6rem;padding:.3rem}}.issue-dialog .issue-preview{background:var(--u-0);border-radius:var(--r)}#match-failure button{border-radius:var(--r);background:var(--brass);color:var(--brass-ink);box-shadow:none}.leaderboard-profile{border-radius:var(--r);background:var(--u-2);box-shadow:inset 0 0 0 1px var(--u-line-strong), var(--panel-shadow)}.friends-chip,.social-chip,.account-chip{border-radius:999px}#main-menu .mm-input::placeholder,.game-dialog input::placeholder{color:var(--u-text-3);opacity:1}.screen-head,.screen-foot,.lobby-toolbar,.lobby-meta{margin-inline:2.4rem}.screen-body{padding-inline:2.4rem}.game-dialog{padding:1.8rem 1.9rem}.game-dialog header{padding-bottom:1.1rem;position:sticky}#pause-modal .pause-box,#heritage-dialog{padding-top:1.6rem}#hud #heritage-dialog>header:after{content:none}.civ-bonus-list .is-gain .civ-bonus-icon{background:color-mix(in srgb, var(--good) 20%, transparent);color:var(--good)}.civ-bonus-list .is-cost .civ-bonus-icon{background:color-mix(in srgb, var(--bad) 20%, transparent);color:var(--bad)}.civ-bonus-unit{border-top-color:var(--u-line)}#civilization-council .heritage-card-copy small{color:#24190b9e}.bcard.active{background:var(--brass);box-shadow:none}.bcard.active :where(*){color:var(--brass-ink)}.map-card[aria-pressed=true]{background:var(--brass);color:var(--brass-ink);box-shadow:none;transform:none}.map-card[aria-pressed=true] strong{color:var(--brass-ink)}#top-bar #idle-villagers{background:var(--brass);color:var(--brass-ink)}#top-bar #idle-villagers :is(b,svg){color:var(--brass-ink)}#top-bar #idle-villagers:hover,#top-bar #idle-villagers:focus-visible{background:var(--brass-hi)}#build-menu-trigger:hover,#build-menu-container.open #build-menu-trigger{background:var(--brass)}:is(#build-menu-trigger:hover,#build-menu-container.open #build-menu-trigger) :where(*){color:var(--brass-ink)}.game-dialog .preference-tab{box-shadow:none;color:var(--u-text-2);background:0 0}.game-dialog .preference-tab:hover{background:var(--u-3);color:var(--u-text)}.game-dialog .preference-tab[aria-selected=true]{background:var(--brass);color:var(--brass-ink)}#create-room-summary strong{color:var(--brass-hi)}#gameover{background:#14110eb8}#go-title{color:var(--brass-hi);text-shadow:0 .2rem 1.2rem #0000008c}#go-title.lose{color:#eaa48f}.map-card:hover:not([aria-pressed=true]){background:var(--u-4)}:root[data-high-contrast=true]{--u-text:#fff;--u-text-2:#f1eadc;--u-text-3:#d9cfbf;--u-line:#fff4e252;--u-line-strong:#fff4e28c;--panel-alpha:#1d1a17;--brass:#f0bd5c;--brass-hi:#ffd27e}:root[data-high-contrast=true] #main-menu{--cc-ink-soft:var(--u-text-2);--cc-ink-faint:var(--u-line)}:root[data-high-contrast=true] #hud :is(#top-bar,#selection-panel,#building-panel,#build-menu,#help-tooltip,.pause-box){color:var(--u-text);background:var(--panel-alpha)}:root[data-high-contrast=true] #top-bar .res,:root[data-high-contrast=true] #top-bar .res b{color:var(--u-text)}.civ-show-stage{--pad-top:3.9rem}.civ-show-head{gap:.7rem;top:.75rem;left:1rem}.civ-show-medal{border-radius:var(--r);width:2.8rem;height:2.8rem;box-shadow:none}.civ-show-stage figcaption small{display:none}.civ-show-stage figcaption{border-radius:var(--r);margin:.3rem 0 .55rem;padding:.22rem .65rem}.civ-show-stage canvas{width:clamp(7rem,min(14vw,22vh),15rem)}.civ-show-stage .is-unit canvas{width:clamp(7.4rem,min(15vw,24vh),16rem)}@media (width>=1000px){:is(.civ-column,.waiting-civ-picker) .civ-show-stage canvas{width:clamp(4.2rem,100cqh - 2.7rem,17rem)}:is(.civ-column,.waiting-civ-picker) .civ-show-stage .is-unit canvas{width:clamp(4.6rem,100cqh - 3rem,17rem)}}.civ-show-stage figure:before{background:var(--u-3);border-radius:.3rem;box-shadow:0 .5rem .8rem -.5rem #0000008c}.civ-show-stage .is-unit:before{background:var(--u-3);box-shadow:0 .5rem .8rem -.5rem #0000008c}.civ-bonus-trait{border-radius:var(--r);background:var(--brass-wash);box-shadow:inset .2rem 0 0 var(--brass);color:var(--u-text-2);font:.86rem/1.4 var(--cc-text);padding:.45rem .7rem;margin:0 0 .5rem!important}.civ-bonus-trait small{color:var(--brass-hi);font:600 .62rem/1 var(--cc-text);letter-spacing:.14em;text-transform:uppercase;margin-right:.45rem}.civ-bonus-trait b{color:var(--u-text);font:400 1rem/1.2 var(--cc-display);margin-right:.3rem}.civ-bonus-edict b{color:var(--brass-hi)}.civ-bonus.is-compact .civ-bonus-trait{padding:.35rem .55rem;font-size:.8rem}@media (width>=1000px){:is(.civ-column,.waiting-civ-picker) .civ-show{scrollbar-width:thin;overflow-y:auto}:is(.civ-column,.waiting-civ-picker) .civ-show-stage{flex-shrink:1;min-height:10.5rem}}.reform-gains .reform-rule{color:var(--brass-hi);font-weight:600}.hx-hero .hx-trait{color:var(--brass-hi);font:italic .8rem/1.35 var(--cc-text);margin-top:.3rem;display:block}.mm-civ-bonus{container:civsheet/inline-size}.civ-sheet{min-width:0;min-height:0;color:var(--u-text);grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:.75rem;display:grid}.civ-sheet-stage{isolation:isolate;border-radius:var(--r);min-height:13rem;box-shadow:inset 0 0 0 1px var(--u-line);background:var(--u-1);grid-template-rows:auto minmax(0,1fr);display:grid;position:relative;overflow:hidden}.civ-sheet .civ-scene{inset:0}.civ-sheet .scene-land{height:38%}.civ-sheet-head{align-items:center;gap:.65rem;min-width:0;padding:.75rem .85rem 0;display:flex}.civ-sheet-medal{border-radius:var(--r);background:var(--glaze);width:2.6rem;height:2.6rem;color:var(--cc-on-glaze);flex:none;place-items:center;display:grid}.civ-sheet-medal svg{width:1.8rem!important;height:1.8rem!important}.civ-sheet-medal svg circle{display:none}.civ-sheet-medal svg path[fill]:not([fill=none]){fill:currentColor}.civ-sheet-medal svg path[stroke]{stroke:currentColor}.civ-sheet-titles{gap:.12rem;min-width:0;display:grid}.civ-sheet-titles small{color:#2b1d16c7;font:600 .6rem/1.2 var(--cc-text);letter-spacing:.12em;text-transform:uppercase}.civ-sheet-titles h3{color:var(--cc-ink);font:400 clamp(1.3rem, 2.1vw, 1.9rem)/1 var(--cc-display);text-shadow:.05em .06em #0000004d;margin:0}.civ-sheet-style{color:var(--u-text);font:600 .66rem/1.3 var(--cc-text);background:#24201db8;border-radius:.25rem;justify-self:start;margin-top:.15rem;padding:.08rem .45rem}.civ-sheet-works{grid-template-columns:1.15fr 1fr;align-items:end;gap:.3rem;min-height:0;padding:.3rem .6rem .6rem;display:grid;container-type:size}.civ-sheet-works figure{align-content:end;justify-items:center;min-width:0;min-height:0;margin:0;display:grid}.civ-sheet-works canvas{width:min(100%,100cqh - 1.7rem,17rem);height:auto;display:block}.civ-sheet-works .is-unit canvas{width:min(100%,100cqh - 1.4rem,15rem)}.civ-sheet-works figcaption{max-width:100%;color:var(--u-text);font:600 .7rem/1.25 var(--cc-text);white-space:nowrap;text-overflow:ellipsis;background:#24201dc7;border-radius:.25rem;margin-top:.2rem;padding:.12rem .5rem;overflow:hidden}.civ-sheet-info{align-content:start;gap:.55rem;min-width:0;min-height:0;display:grid}.civ-sheet-card{border:1px solid var(--u-line-strong);border-radius:var(--r);background:var(--u-2);gap:.2rem;padding:.6rem .75rem .65rem;display:grid}.civ-sheet-card>small,.civ-sheet-lean small{color:var(--brass-hi);font:600 .6rem/1.2 var(--cc-text);letter-spacing:.12em;text-transform:uppercase}.civ-sheet-card h4{color:var(--u-text);font:400 1.08rem/1.2 var(--cc-display);margin:0}.civ-sheet-card p{color:var(--u-text-2);font:.82rem/1.4 var(--cc-text);margin:0}.civ-sheet-trait{background:linear-gradient(140deg, var(--brass-wash), var(--u-2) 70%);box-shadow:inset .2rem 0 0 var(--brass)}.civ-sheet-trait h4{color:var(--brass-hi)}.civ-sheet-lean{gap:.35rem;display:grid}.civ-sheet-lean p{border:1px solid var(--u-line);border-radius:var(--r);background:var(--u-2);font:600 .82rem/1.3 var(--cc-text);align-items:center;gap:.55rem;margin:0;padding:.4rem .6rem;display:flex}.civ-sheet-lean span{gap:.05rem;min-width:0;display:grid}.civ-sheet-lean .is-gain{color:var(--good)}.civ-sheet-lean .is-cost,.civ-sheet-lean .is-cost small{color:var(--bad)}.civ-sheet-lean .is-gain small{color:var(--good)}.civ-sheet-lean .civ-bonus-icon{width:1.5rem;height:1.5rem}.civ-sheet-lean .is-gain .civ-bonus-icon{background:var(--cc-malachite-ink)}.civ-sheet-lean .is-cost .civ-bonus-icon{background:var(--cc-terra-ink)}.civ-sheet-stats{flex-wrap:wrap;gap:.3rem;margin:.1rem 0 .2rem;padding:0;list-style:none;display:flex}.civ-sheet-stats li{background:var(--u-3);color:var(--u-text-2);font:600 .72rem/1.35 var(--cc-text);border-radius:.25rem;align-items:baseline;gap:.3rem;padding:.1rem .45rem;display:flex}.civ-sheet-stats b{color:var(--brass-hi);font-size:.82rem}.civ-sheet-unit p b{color:var(--u-text)}.civ-sheet-edict{border-left:2px solid var(--brass-lo);color:var(--u-text-2);font:.8rem/1.4 var(--cc-text);margin:0;padding:.4rem .65rem}.civ-sheet-edict b{color:var(--brass-hi)}@container civsheet (width<=42rem){.civ-sheet{grid-template-rows:minmax(4.6rem,1fr) auto;grid-template-columns:minmax(0,1fr);gap:.5rem}.civ-sheet-stage{grid-template-rows:none;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);min-height:0;max-height:8rem}.civ-sheet-head{align-self:start;padding:.6rem .75rem}.civ-sheet-works{padding:.25rem .5rem .35rem}.civ-sheet-works canvas,.civ-sheet-works .is-unit canvas{width:min(100%,100cqh - .4rem,9rem)}.civ-sheet-works figcaption{display:none}.civ-sheet-info{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem}.civ-sheet-trait,.civ-sheet-edict{grid-column:1/-1}.civ-sheet-lean{align-content:start;gap:.45rem}.civ-sheet-card{padding:.5rem .65rem .55rem}.civ-sheet-card p,.civ-sheet-lean p{font-size:.78rem}.civ-sheet-lean p{padding:.45rem .55rem}}@media (width>=1000px){:is(.civ-column,.waiting-civ-picker):has(.civ-sheet){overflow:hidden}:is(.civ-column,.waiting-civ-picker)>.mm-civ-bonus>.civ-sheet{flex:auto;min-height:0}:is(.civ-column,.waiting-civ-picker) .civ-sheet-stage{min-height:0}}.civ-sheet[data-region=mesopotamia]{--sky-top:#cfa86f;--sky-low:#dcc292;--glaze:var(--cc-mesopotamia)}.civ-sheet[data-region=nile]{--sky-top:#d0b47c;--sky-low:#ddc8a0;--glaze:var(--cc-nile)}.civ-sheet[data-region=india]{--sky-top:#cc9566;--sky-low:#d9b48b;--glaze:var(--cc-india)}.civ-sheet[data-region=china]{--sky-top:#aab4a2;--sky-low:#c9c6b1;--glaze:var(--cc-china)}.civ-sheet[data-region=aegean]{--sky-top:#9cb3c0;--sky-low:#c9c9b9;--glaze:var(--cc-aegean)}.civ-sheet[data-region=west-europe]{--sky-top:#a8b8a8;--sky-low:#cfcdb6;--glaze:var(--cc-west-europe)}.civ-sheet[data-region=north-europe]{--sky-top:#9aa8b8;--sky-low:#c6c8c0;--glaze:var(--cc-north-europe)}@container civsheet (width>=44rem){.civ-sheet-info{gap:.7rem}.civ-sheet-card{padding:.75rem .9rem .8rem}.civ-sheet-card h4{font-size:1.22rem}.civ-sheet-card p,.civ-sheet-lean p{font-size:.9rem}.civ-sheet-stats li{font-size:.78rem}}@media (width>=1000px) and (height<=860px){.single-setup :is(.setup-group,.setup-map,.setup-seats){gap:.4rem;padding:.55rem 0}#setup-title{margin-bottom:.3rem}}:root{--orn-meander:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M0 10.5H17.5V1.5H3.5V7.5H12.5V4.5H8.5' fill='none' stroke='%23d8a64f' stroke-width='1.3'/%3E%3C/svg%3E");--orn-rosette:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cellipse cx='12' cy='5.4' rx='1.7' ry='3.4' fill='%23ece3cf' transform='rotate(0 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.7' ry='3.4' fill='%23ece3cf' transform='rotate(45 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.7' ry='3.4' fill='%23ece3cf' transform='rotate(90 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.7' ry='3.4' fill='%23ece3cf' transform='rotate(135 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.7' ry='3.4' fill='%23ece3cf' transform='rotate(180 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.7' ry='3.4' fill='%23ece3cf' transform='rotate(225 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.7' ry='3.4' fill='%23ece3cf' transform='rotate(270 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.7' ry='3.4' fill='%23ece3cf' transform='rotate(315 12 10)'/%3E%3Ccircle cx='12' cy='10' r='2.3' fill='%23d8a64f'/%3E%3C/svg%3E");--orn-rosette-glow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 20'%3E%3Cellipse cx='12' cy='5.4' rx='1.9' ry='3.6' fill='%23d8a64f' transform='rotate(0 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.9' ry='3.6' fill='%23d8a64f' transform='rotate(45 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.9' ry='3.6' fill='%23d8a64f' transform='rotate(90 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.9' ry='3.6' fill='%23d8a64f' transform='rotate(135 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.9' ry='3.6' fill='%23d8a64f' transform='rotate(180 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.9' ry='3.6' fill='%23d8a64f' transform='rotate(225 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.9' ry='3.6' fill='%23d8a64f' transform='rotate(270 12 10)'/%3E%3Cellipse cx='12' cy='5.4' rx='1.9' ry='3.6' fill='%23d8a64f' transform='rotate(315 12 10)'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%23ffe3a6'/%3E%3C/svg%3E");--orn-lattice:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 2 46 24 24 46 2 24Z' fill='none' stroke='%23fff4e2' stroke-opacity='.06' stroke-width='1'/%3E%3Ccircle cx='24' cy='24' r='1.6' fill='%23d8a64f' fill-opacity='.18'/%3E%3Ccircle cx='0' cy='0' r='1.2' fill='%23fff4e2' fill-opacity='.08'/%3E%3Ccircle cx='48' cy='0' r='1.2' fill='%23fff4e2' fill-opacity='.08'/%3E%3Ccircle cx='0' cy='48' r='1.2' fill='%23fff4e2' fill-opacity='.08'/%3E%3Ccircle cx='48' cy='48' r='1.2' fill='%23fff4e2' fill-opacity='.08'/%3E%3C/svg%3E");--orn-capital:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 18'%3E%3Crect x='0' y='0' width='42' height='3.4' fill='%23ece3cf'/%3E%3Crect x='0' y='3' width='42' height='.6' fill='%239c8c6a'/%3E%3Crect x='5' y='3.6' width='32' height='4' fill='%23ece3cf'/%3E%3Crect x='5' y='7.2' width='32' height='4.4' fill='%23ece3cf'/%3E%3Cellipse cx='11' cy='8.6' rx='1.5' ry='1.8' fill='%23c9bb9c' stroke='%239c8c6a' stroke-width='.4'/%3E%3Cellipse cx='15' cy='8.6' rx='1.5' ry='1.8' fill='%23c9bb9c' stroke='%239c8c6a' stroke-width='.4'/%3E%3Cellipse cx='19' cy='8.6' rx='1.5' ry='1.8' fill='%23c9bb9c' stroke='%239c8c6a' stroke-width='.4'/%3E%3Cellipse cx='23' cy='8.6' rx='1.5' ry='1.8' fill='%23c9bb9c' stroke='%239c8c6a' stroke-width='.4'/%3E%3Cellipse cx='27' cy='8.6' rx='1.5' ry='1.8' fill='%23c9bb9c' stroke='%239c8c6a' stroke-width='.4'/%3E%3Ccircle cx='6.2' cy='10' r='5.4' fill='%23ece3cf' stroke='%239c8c6a' stroke-width='.8'/%3E%3Ccircle cx='6.2' cy='10' r='3.4' fill='none' stroke='%239c8c6a' stroke-width='.7'/%3E%3Ccircle cx='6.2' cy='10' r='1.5' fill='%239c8c6a'/%3E%3Ccircle cx='35.8' cy='10' r='5.4' fill='%23ece3cf' stroke='%239c8c6a' stroke-width='.8'/%3E%3Ccircle cx='35.8' cy='10' r='3.4' fill='none' stroke='%239c8c6a' stroke-width='.7'/%3E%3Ccircle cx='35.8' cy='10' r='1.5' fill='%239c8c6a'/%3E%3Crect x='9' y='15' width='24' height='3' fill='%23c9bb9c'/%3E%3Crect x='9' y='15' width='24' height='.6' fill='%239c8c6a'/%3E%3C/svg%3E");--orn-base:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 42 14'%3E%3Crect x='8' y='0' width='26' height='1.6' fill='%23c9bb9c'/%3E%3Crect x='6' y='1.6' width='30' height='3.2' rx='1.6' fill='%23ece3cf' stroke='%239c8c6a' stroke-width='.5'/%3E%3Crect x='8' y='4.8' width='26' height='1.6' fill='%23c9bb9c'/%3E%3Crect x='3.5' y='6.4' width='35' height='3.6' rx='1.8' fill='%23ece3cf' stroke='%239c8c6a' stroke-width='.5'/%3E%3Crect x='1' y='10' width='40' height='4' fill='%23ece3cf'/%3E%3Crect x='1' y='10' width='40' height='.6' fill='%239c8c6a'/%3E%3C/svg%3E");--orn-tl:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg %3E%3Cpath d='M3 45V15A12 12 0 0 1 15 3H45' fill='none' stroke='%23d8a64f' stroke-width='1.6'/%3E%3Cpath d='M9 45V19A10 10 0 0 1 19 9H45' fill='none' stroke='%23d8a64f' stroke-opacity='.45' stroke-width='1'/%3E%3Cpath d='M15 9 21 15 15 21 9 15Z' fill='%23d8a64f'/%3E%3Ccircle cx='15' cy='15' r='1.4' fill='%232b241d'/%3E%3C/g%3E%3C/svg%3E");--orn-tr:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg transform='translate(48 0) scale(-1 1)'%3E%3Cpath d='M3 45V15A12 12 0 0 1 15 3H45' fill='none' stroke='%23d8a64f' stroke-width='1.6'/%3E%3Cpath d='M9 45V19A10 10 0 0 1 19 9H45' fill='none' stroke='%23d8a64f' stroke-opacity='.45' stroke-width='1'/%3E%3Cpath d='M15 9 21 15 15 21 9 15Z' fill='%23d8a64f'/%3E%3Ccircle cx='15' cy='15' r='1.4' fill='%232b241d'/%3E%3C/g%3E%3C/svg%3E");--orn-bl:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg transform='translate(0 48) scale(1 -1)'%3E%3Cpath d='M3 45V15A12 12 0 0 1 15 3H45' fill='none' stroke='%23d8a64f' stroke-width='1.6'/%3E%3Cpath d='M9 45V19A10 10 0 0 1 19 9H45' fill='none' stroke='%23d8a64f' stroke-opacity='.45' stroke-width='1'/%3E%3Cpath d='M15 9 21 15 15 21 9 15Z' fill='%23d8a64f'/%3E%3Ccircle cx='15' cy='15' r='1.4' fill='%232b241d'/%3E%3C/g%3E%3C/svg%3E");--orn-br:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg transform='translate(48 48) scale(-1 -1)'%3E%3Cpath d='M3 45V15A12 12 0 0 1 15 3H45' fill='none' stroke='%23d8a64f' stroke-width='1.6'/%3E%3Cpath d='M9 45V19A10 10 0 0 1 19 9H45' fill='none' stroke='%23d8a64f' stroke-opacity='.45' stroke-width='1'/%3E%3Cpath d='M15 9 21 15 15 21 9 15Z' fill='%23d8a64f'/%3E%3Ccircle cx='15' cy='15' r='1.4' fill='%232b241d'/%3E%3C/g%3E%3C/svg%3E");--orn-medallion:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg opacity='.24'%3E%3Ccircle cx='60' cy='60' r='57' fill='none' stroke='%23d8a64f' stroke-width='1.2'/%3E%3Ccircle cx='60' cy='60' r='51' fill='none' stroke='%23d8a64f' stroke-width='.6' stroke-dasharray='2 3'/%3E%3Ccircle cx='60' cy='60' r='22' fill='none' stroke='%23d8a64f' stroke-width='1'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(0.0 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(22.5 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(45.0 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(67.5 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(90.0 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(112.5 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(135.0 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(157.5 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(180.0 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(202.5 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(225.0 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(247.5 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(270.0 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(292.5 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(315.0 60 60)'/%3E%3Cellipse cx='60' cy='30' rx='5' ry='14' fill='none' stroke='%23d8a64f' stroke-width='.9' transform='rotate(337.5 60 60)'/%3E%3Cpolygon points='60.0,44.0 62.7,53.5 71.3,48.7 66.5,57.3 76.0,60.0 66.5,62.7 71.3,71.3 62.7,66.5 60.0,76.0 57.3,66.5 48.7,71.3 53.5,62.7 44.0,60.0 53.5,57.3 48.7,48.7 57.3,53.5' fill='%23d8a64f' fill-opacity='.55'/%3E%3C/g%3E%3C/svg%3E");--orn-procession:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 72'%3E%3Cg transform='translate(0 0)'%3E%3Ccircle cx='20' cy='9' r='3.1' fill='%231d1713'/%3E%3Cpath d='M16.5 7.5Q19 1.5 25.5 4.5L22 6Z' fill='%231d1713'/%3E%3Cpath d='M17.5 12H22.5L22 22H18Z' fill='%231d1713'/%3E%3Ccircle cx='23.5' cy='17' r='6' fill='%231d1713'/%3E%3Ccircle cx='23.5' cy='17' r='3.4' fill='none' stroke='%23b8794a' stroke-width='.7'/%3E%3Cpath d='M13 31L33 3' stroke='%231d1713' stroke-width='1.2'/%3E%3Cpath d='M19 22L15.5 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M21 22L25 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cellipse cx='48' cy='22' rx='1.3' ry='5' transform='rotate(-50 48 28)' fill='%231d1713'/%3E%3Cellipse cx='48' cy='22' rx='1.3' ry='5' transform='rotate(-25 48 28)' fill='%231d1713'/%3E%3Cellipse cx='48' cy='22' rx='1.3' ry='5' transform='rotate(0 48 28)' fill='%231d1713'/%3E%3Cellipse cx='48' cy='22' rx='1.3' ry='5' transform='rotate(25 48 28)' fill='%231d1713'/%3E%3Cellipse cx='48' cy='22' rx='1.3' ry='5' transform='rotate(50 48 28)' fill='%231d1713'/%3E%3Cpath d='M44 31Q48 26 52 31' stroke='%231d1713' stroke-width='1.3' fill='none'/%3E%3Cellipse cx='81' cy='20' rx='10.5' ry='4.8' fill='%231d1713'/%3E%3Cpath d='M88 18L93 9L97 10L92 21Z' fill='%231d1713'/%3E%3Cellipse cx='97' cy='11.5' rx='4.2' ry='2.1' transform='rotate(28 97 11.5)' fill='%231d1713'/%3E%3Cpath d='M71 18Q65 20 67 28' stroke='%231d1713' stroke-width='2' fill='none'/%3E%3Cpath d='M79.5 8.5V17' stroke='%231d1713' stroke-width='3.2' stroke-linecap='round'/%3E%3Ccircle cx='80' cy='5.6' r='2.6' fill='%231d1713'/%3E%3Cpath d='M80 16L83 22.5' stroke='%231d1713' stroke-width='2'/%3E%3Cpath d='M74 15L94 2' stroke='%231d1713' stroke-width='1.1'/%3E%3Cpath d='M74 23L70 34' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M77 24L79 34' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M86 24L83.5 34' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M89 23L94 31' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cellipse cx='118' cy='22' rx='1.3' ry='5' transform='rotate(-50 118 28)' fill='%231d1713'/%3E%3Cellipse cx='118' cy='22' rx='1.3' ry='5' transform='rotate(-25 118 28)' fill='%231d1713'/%3E%3Cellipse cx='118' cy='22' rx='1.3' ry='5' transform='rotate(0 118 28)' fill='%231d1713'/%3E%3Cellipse cx='118' cy='22' rx='1.3' ry='5' transform='rotate(25 118 28)' fill='%231d1713'/%3E%3Cellipse cx='118' cy='22' rx='1.3' ry='5' transform='rotate(50 118 28)' fill='%231d1713'/%3E%3Cpath d='M114 31Q118 26 122 31' stroke='%231d1713' stroke-width='1.3' fill='none'/%3E%3Ccircle cx='149' cy='7' r='2.8' fill='%231d1713'/%3E%3Cpath d='M148.5 10L146.5 21' stroke='%231d1713' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M148 13L153 9' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M148 13L142 16' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M146.5 21L153 26' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M153 26L154 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M146.5 21L141 27' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M141 27L138.5 31' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Ccircle cx='179' cy='8' r='2.9' fill='%231d1713'/%3E%3Cpath d='M176.5 11.5H181.5L181 22H177Z' fill='%231d1713'/%3E%3Cpath d='M187 4Q194 14 187 24' stroke='%231d1713' stroke-width='1.6' fill='none'/%3E%3Cpath d='M187 4L182 14L187 24' stroke='%231d1713' stroke-width='.6' fill='none'/%3E%3Cpath d='M180 14L191 14' stroke='%231d1713' stroke-width='1.6'/%3E%3Cpath d='M191 14L197 14' stroke='%231d1713' stroke-width='.8'/%3E%3Cpath d='M178 22L174.5 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M180 22L183.5 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cellipse cx='214' cy='22' rx='1.3' ry='5' transform='rotate(-50 214 28)' fill='%231d1713'/%3E%3Cellipse cx='214' cy='22' rx='1.3' ry='5' transform='rotate(-25 214 28)' fill='%231d1713'/%3E%3Cellipse cx='214' cy='22' rx='1.3' ry='5' transform='rotate(0 214 28)' fill='%231d1713'/%3E%3Cellipse cx='214' cy='22' rx='1.3' ry='5' transform='rotate(25 214 28)' fill='%231d1713'/%3E%3Cellipse cx='214' cy='22' rx='1.3' ry='5' transform='rotate(50 214 28)' fill='%231d1713'/%3E%3Cpath d='M210 31Q214 26 218 31' stroke='%231d1713' stroke-width='1.3' fill='none'/%3E%3Ccircle cx='242' cy='9' r='3.1' fill='%231d1713'/%3E%3Cpath d='M238.5 7.5Q241 1.5 247.5 4.5L244 6Z' fill='%231d1713'/%3E%3Cpath d='M239.5 12H244.5L244 22H240Z' fill='%231d1713'/%3E%3Ccircle cx='245.5' cy='17' r='6' fill='%231d1713'/%3E%3Ccircle cx='245.5' cy='17' r='3.4' fill='none' stroke='%23b8794a' stroke-width='.7'/%3E%3Cpath d='M235 31L255 3' stroke='%231d1713' stroke-width='1.2'/%3E%3Cpath d='M241 22L237.5 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M243 22L247 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Ccircle cx='270' cy='9' r='3.1' fill='%231d1713'/%3E%3Cpath d='M266.5 7.5Q269 1.5 275.5 4.5L272 6Z' fill='%231d1713'/%3E%3Cpath d='M267.5 12H272.5L272 22H268Z' fill='%231d1713'/%3E%3Ccircle cx='273.5' cy='17' r='6' fill='%231d1713'/%3E%3Ccircle cx='273.5' cy='17' r='3.4' fill='none' stroke='%23b8794a' stroke-width='.7'/%3E%3Cpath d='M263 31L283 3' stroke='%231d1713' stroke-width='1.2'/%3E%3Cpath d='M269 22L269.5 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M271 22L271.5 33.5' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cellipse cx='300' cy='22' rx='1.3' ry='5' transform='rotate(-50 300 28)' fill='%231d1713'/%3E%3Cellipse cx='300' cy='22' rx='1.3' ry='5' transform='rotate(-25 300 28)' fill='%231d1713'/%3E%3Cellipse cx='300' cy='22' rx='1.3' ry='5' transform='rotate(0 300 28)' fill='%231d1713'/%3E%3Cellipse cx='300' cy='22' rx='1.3' ry='5' transform='rotate(25 300 28)' fill='%231d1713'/%3E%3Cellipse cx='300' cy='22' rx='1.3' ry='5' transform='rotate(50 300 28)' fill='%231d1713'/%3E%3Cpath d='M296 31Q300 26 304 31' stroke='%231d1713' stroke-width='1.3' fill='none'/%3E%3C/g%3E%3Cg transform='translate(0 36)'%3E%3Ccircle cx='20' cy='9' r='3.1' fill='%231d1713'/%3E%3Cpath d='M16.5 7.5Q19 1.5 25.5 4.5L22 6Z' fill='%231d1713'/%3E%3Cpath d='M17.5 12H22.5L22 22H18Z' fill='%231d1713'/%3E%3Ccircle cx='23.5' cy='17' r='6' fill='%231d1713'/%3E%3Ccircle cx='23.5' cy='17' r='3.4' fill='none' stroke='%23b8794a' stroke-width='.7'/%3E%3Cpath d='M13 31L33 3' stroke='%231d1713' stroke-width='1.2'/%3E%3Cpath d='M19 22L19.5 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M21 22L21.5 33.5' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cellipse cx='48' cy='22' rx='1.3' ry='5' transform='rotate(-50 48 28)' fill='%231d1713'/%3E%3Cellipse cx='48' cy='22' rx='1.3' ry='5' transform='rotate(-25 48 28)' fill='%231d1713'/%3E%3Cellipse cx='48' cy='22' rx='1.3' ry='5' transform='rotate(0 48 28)' fill='%231d1713'/%3E%3Cellipse cx='48' cy='22' rx='1.3' ry='5' transform='rotate(25 48 28)' fill='%231d1713'/%3E%3Cellipse cx='48' cy='22' rx='1.3' ry='5' transform='rotate(50 48 28)' fill='%231d1713'/%3E%3Cpath d='M44 31Q48 26 52 31' stroke='%231d1713' stroke-width='1.3' fill='none'/%3E%3Cellipse cx='81' cy='20' rx='10.5' ry='4.8' fill='%231d1713'/%3E%3Cpath d='M88 18L93 9L97 10L92 21Z' fill='%231d1713'/%3E%3Cellipse cx='97' cy='11.5' rx='4.2' ry='2.1' transform='rotate(28 97 11.5)' fill='%231d1713'/%3E%3Cpath d='M71 18Q65 20 67 28' stroke='%231d1713' stroke-width='2' fill='none'/%3E%3Cpath d='M79.5 8.5V17' stroke='%231d1713' stroke-width='3.2' stroke-linecap='round'/%3E%3Ccircle cx='80' cy='5.6' r='2.6' fill='%231d1713'/%3E%3Cpath d='M80 16L83 22.5' stroke='%231d1713' stroke-width='2'/%3E%3Cpath d='M74 15L94 2' stroke='%231d1713' stroke-width='1.1'/%3E%3Cpath d='M74 23L75 34' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M77 24L73 34' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M86 24L90 34' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M89 23L88 34' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cellipse cx='118' cy='22' rx='1.3' ry='5' transform='rotate(-50 118 28)' fill='%231d1713'/%3E%3Cellipse cx='118' cy='22' rx='1.3' ry='5' transform='rotate(-25 118 28)' fill='%231d1713'/%3E%3Cellipse cx='118' cy='22' rx='1.3' ry='5' transform='rotate(0 118 28)' fill='%231d1713'/%3E%3Cellipse cx='118' cy='22' rx='1.3' ry='5' transform='rotate(25 118 28)' fill='%231d1713'/%3E%3Cellipse cx='118' cy='22' rx='1.3' ry='5' transform='rotate(50 118 28)' fill='%231d1713'/%3E%3Cpath d='M114 31Q118 26 122 31' stroke='%231d1713' stroke-width='1.3' fill='none'/%3E%3Ccircle cx='149' cy='7' r='2.8' fill='%231d1713'/%3E%3Cpath d='M148.5 10L146.5 21' stroke='%231d1713' stroke-width='3.4' stroke-linecap='round'/%3E%3Cpath d='M148 13L143 10' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M148 13L153 17' stroke='%231d1713' stroke-width='1.8' stroke-linecap='round'/%3E%3Cpath d='M146.5 21L148 28' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M148 28L147 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M146.5 21L144 27' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M144 27L141 25' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Ccircle cx='179' cy='8' r='2.9' fill='%231d1713'/%3E%3Cpath d='M176.5 11.5H181.5L181 22H177Z' fill='%231d1713'/%3E%3Cpath d='M187 4Q194 14 187 24' stroke='%231d1713' stroke-width='1.6' fill='none'/%3E%3Cpath d='M187 4L182 14L187 24' stroke='%231d1713' stroke-width='.6' fill='none'/%3E%3Cpath d='M180 14L191 14' stroke='%231d1713' stroke-width='1.6'/%3E%3Cpath d='M191 14L197 14' stroke='%231d1713' stroke-width='.8'/%3E%3Cpath d='M178 22L178 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M180 22L181 33.5' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cellipse cx='214' cy='22' rx='1.3' ry='5' transform='rotate(-50 214 28)' fill='%231d1713'/%3E%3Cellipse cx='214' cy='22' rx='1.3' ry='5' transform='rotate(-25 214 28)' fill='%231d1713'/%3E%3Cellipse cx='214' cy='22' rx='1.3' ry='5' transform='rotate(0 214 28)' fill='%231d1713'/%3E%3Cellipse cx='214' cy='22' rx='1.3' ry='5' transform='rotate(25 214 28)' fill='%231d1713'/%3E%3Cellipse cx='214' cy='22' rx='1.3' ry='5' transform='rotate(50 214 28)' fill='%231d1713'/%3E%3Cpath d='M210 31Q214 26 218 31' stroke='%231d1713' stroke-width='1.3' fill='none'/%3E%3Ccircle cx='242' cy='9' r='3.1' fill='%231d1713'/%3E%3Cpath d='M238.5 7.5Q241 1.5 247.5 4.5L244 6Z' fill='%231d1713'/%3E%3Cpath d='M239.5 12H244.5L244 22H240Z' fill='%231d1713'/%3E%3Ccircle cx='245.5' cy='17' r='6' fill='%231d1713'/%3E%3Ccircle cx='245.5' cy='17' r='3.4' fill='none' stroke='%23b8794a' stroke-width='.7'/%3E%3Cpath d='M235 31L255 3' stroke='%231d1713' stroke-width='1.2'/%3E%3Cpath d='M241 22L241.5 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M243 22L243.5 33.5' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Ccircle cx='270' cy='9' r='3.1' fill='%231d1713'/%3E%3Cpath d='M266.5 7.5Q269 1.5 275.5 4.5L272 6Z' fill='%231d1713'/%3E%3Cpath d='M267.5 12H272.5L272 22H268Z' fill='%231d1713'/%3E%3Ccircle cx='273.5' cy='17' r='6' fill='%231d1713'/%3E%3Ccircle cx='273.5' cy='17' r='3.4' fill='none' stroke='%23b8794a' stroke-width='.7'/%3E%3Cpath d='M263 31L283 3' stroke='%231d1713' stroke-width='1.2'/%3E%3Cpath d='M269 22L265.5 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cpath d='M271 22L275 34' stroke='%231d1713' stroke-width='2.3' stroke-linecap='round'/%3E%3Cellipse cx='300' cy='22' rx='1.3' ry='5' transform='rotate(-50 300 28)' fill='%231d1713'/%3E%3Cellipse cx='300' cy='22' rx='1.3' ry='5' transform='rotate(-25 300 28)' fill='%231d1713'/%3E%3Cellipse cx='300' cy='22' rx='1.3' ry='5' transform='rotate(0 300 28)' fill='%231d1713'/%3E%3Cellipse cx='300' cy='22' rx='1.3' ry='5' transform='rotate(25 300 28)' fill='%231d1713'/%3E%3Cellipse cx='300' cy='22' rx='1.3' ry='5' transform='rotate(50 300 28)' fill='%231d1713'/%3E%3Cpath d='M296 31Q300 26 304 31' stroke='%231d1713' stroke-width='1.3' fill='none'/%3E%3C/g%3E%3C/svg%3E");--orn-col:2.1rem;--orn-top:2.7rem;--orn-gleam:linear-gradient(100deg, transparent 0 40%, #ffecbe8c 50%, transparent 60% 100%)}.stele-body{isolation:isolate;padding:calc(var(--orn-top) + 1.5rem) calc(var(--orn-col) + 1rem) 0;position:relative}@keyframes orn-ambient{0%,to{opacity:.6}50%{opacity:.72}}@keyframes orn-rosette-light{0%,to{opacity:.18}50%{opacity:.65}}@keyframes orn-highlight{0%{background-position:-70% 0,50%}to{background-position:170% 0,50%}}@keyframes orn-procession-drift{0%{background-position-x:0,0}to{background-position-x:calc(var(--band) * 320 / 36), 0}}@keyframes orn-procession-step{0%,to{background-position-y:0,0}50%{background-position-y:calc(-1 * var(--band)), 0}}.stele-body:after{content:"";z-index:-1;pointer-events:none;background:var(--orn-medallion) 50% 73% / min(10rem, 60%) auto no-repeat, var(--orn-lattice) 0 0 / 3rem 3rem, radial-gradient(ellipse at 50% 30%, #d8a64f12, transparent 70%);opacity:.65;height:auto;margin:0;animation:20s ease-in-out infinite orn-ambient;display:block;position:absolute;inset:0}.stele-body:before{content:"";z-index:2;height:var(--orn-top);pointer-events:none;background:linear-gradient(#efe6d3, #d6c9ad) 0 0 / 100% .42rem no-repeat, repeating-linear-gradient(90deg, #e3d7bc 0 .42rem, #9f8f6d .42rem .62rem) 0 .42rem / 100% .32rem no-repeat, linear-gradient(#b38a3e, #b38a3e) 0 .78rem / 100% 1px no-repeat, var(--orn-meander) 0 .98rem / auto 1.05rem repeat-x, linear-gradient(#b38a3e, #b38a3e) 0 2.18rem / 100% 1px no-repeat, linear-gradient(#2a2420, #2a2420) 0 .78rem / 100% 1.42rem no-repeat, linear-gradient(#e9e0cb 0 .3rem, #b9aa86 .3rem .36rem, #ddd1b6 .36rem) 0 2.2rem / 100% .5rem no-repeat;position:absolute;top:0;left:0;right:0;box-shadow:0 .35rem .7rem #08060473}.stele-depth>.stele-body>.stele-name:before{content:"";z-index:3;pointer-events:none;background:var(--orn-gleam) -70% 0 / 40% 100% no-repeat;mix-blend-mode:screen;opacity:.65;height:1.42rem;animation:20s ease-in-out infinite orn-highlight;position:absolute;top:.78rem;left:0;right:0}.stele-depth:before,.stele-depth:after{content:"";z-index:3;top:var(--orn-top);width:var(--orn-col);pointer-events:none;background:var(--orn-capital) 50% 0 / 100% auto no-repeat, var(--orn-base) 50% 100% / 100% auto no-repeat, linear-gradient(90deg, #281e1261, transparent 28%, #fffcf04d 46%, transparent 64%, #281e126b) 50% 0 / 64% 100% no-repeat, repeating-linear-gradient(90deg, #ece4d2 0 .24rem, #c7b99b .24rem .32rem) 50% 0 / 64% 100% no-repeat,  linear-gradient(90deg, #1c1714, #2a231e 50%, #1c1714) 0 0 / 100% 100% no-repeat;filter:drop-shadow(.25rem 0 .4rem #08060480);position:absolute;bottom:0}.stele-depth{position:relative}.stele-depth:before{left:0}.stele-depth:after{right:0}.stele-frieze{background:var(--orn-rosette) 50% 50% / auto 1.1rem repeat-x, #2a2420;border-block:1px solid #b38a3e;height:1.45rem;margin:1.5rem -1rem 1.1rem;position:relative;box-shadow:inset 0 0 0 1px #00000040}.stele-frieze:after{content:"";pointer-events:none;background:var(--orn-rosette-glow) 50% 50% / auto 1.1rem repeat-x;opacity:.18;filter:blur(1px);mix-blend-mode:screen;animation:7s ease-in-out infinite orn-rosette-light;position:absolute;inset:0}.stele-name{text-shadow:0 .15rem 1.2rem #d8a64f2e}.stele .stele-base.cc-slab.is-stone{background:linear-gradient(#efe6d3, #cfc1a3) 0 0 / 100% .3rem no-repeat, linear-gradient(#9f8f6d, #9f8f6d) 0 .3rem / 100% 1px no-repeat, var(--u-1);border-top:0;margin-top:0;padding-top:1.2rem}.stele-news{background:linear-gradient(90deg, transparent, #d8a64f8c, transparent) 50% 0 / 80% 1px no-repeat, var(--orn-lattice) 0 0 / 3rem 3rem, var(--u-2);margin-bottom:1.2rem}#main-menu .mm-frame,.game-dialog{background:var(--orn-tl) .55rem .55rem / 2.6rem 2.6rem no-repeat, var(--orn-tr) calc(100% - .55rem) .55rem / 2.6rem 2.6rem no-repeat, var(--orn-bl) .55rem calc(100% - .55rem) / 2.6rem 2.6rem no-repeat, var(--orn-br) calc(100% - .55rem) calc(100% - .55rem) / 2.6rem 2.6rem no-repeat, var(--orn-lattice) 0 0 / 3rem 3rem, var(--u-1)}.screen-head{padding-bottom:3.8rem}.screen-head:after{--band:2.8rem;height:var(--band);opacity:1;background:var(--orn-procession) 0 0 / calc(var(--band) * 320 / 36) calc(var(--band) * 2) repeat-x, linear-gradient(#bf8a58, #a26f45);border-block:2px solid #2a2017;border-radius:.15rem;animation:100s linear infinite orn-procession-drift,1.8s step-end infinite orn-procession-step;bottom:.35rem;box-shadow:0 0 0 1px #d8a64f73,inset 0 .1rem .3rem #ffdcaa2e,inset 0 -.2rem .4rem #28140840}.game-dialog>header{border-bottom:0;position:relative}.game-dialog>header:after{content:"";opacity:.7;background:var(--orn-gleam) -70% 0 / 30% 100% no-repeat, var(--orn-meander) 50% 50% / auto 100% repeat-x;height:.6rem;animation:22s ease-in-out infinite orn-highlight;position:absolute;bottom:0;left:0;right:0}body:has(.game-dialog[open]) #main-menu :is(.stele-body,.stele-frieze,.screen-head):after{animation-play-state:paused}body:has(.game-dialog[open]) #main-menu .stele-name:before{animation-play-state:paused}@media (height<=820px) and (width>=761px){:root{--orn-top:2.3rem}.stele-frieze{margin:1rem -1rem .7rem}}@media (width<=760px){:root{--orn-col:1.3rem}}@media (prefers-reduced-motion:reduce){:root:not([data-reduced-motion=false]) .stele-body:after,:root:not([data-reduced-motion=false]) .stele-name:before,:root:not([data-reduced-motion=false]) .stele-frieze:after,:root:not([data-reduced-motion=false]) .screen-head:after,:root:not([data-reduced-motion=false]) .game-dialog header:after{animation:none}}:root[data-reduced-motion=true] .stele-body:after,:root[data-reduced-motion=true] .stele-name:before,:root[data-reduced-motion=true] .stele-frieze:after,:root[data-reduced-motion=true] .screen-head:after,:root[data-reduced-motion=true] .game-dialog header:after{animation:none}:root{--basalt:#2a2420;--brass-line:#b38a3e}.founder-plaque .plaque-face,.stele .news-panel,.feedback-line{box-sizing:border-box;background:var(--orn-lattice) 0 0 / 3rem 3rem, linear-gradient(180deg, #302924, #24201c);border:0;border-block:1px solid var(--brass-line);border-radius:.12rem;box-shadow:inset 0 0 0 1px #0000004d,0 .4rem .8rem -.35rem #0806048c}.founder-plaque{cursor:pointer;background:0 0;border:0;flex:1 0 4.8rem;align-content:end;min-height:4.8rem;margin:.5rem 0 0;padding:0 0 .7rem;display:grid}.founder-plaque:focus-visible{outline:none}.plaque-face{text-align:left;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:.85rem;padding:.7rem 1.4rem .72rem 1.1rem;transition:background-color .15s;display:grid;position:relative}.plaque-face:before,.plaque-face:after{content:"";background:var(--brass-line);width:.42rem;height:.42rem;margin-top:-.21rem;position:absolute;top:50%;transform:rotate(45deg)}.plaque-face:before{left:-.21rem}.plaque-face:after{right:-.21rem}.plaque-crest{filter:drop-shadow(0 .08rem .1rem #0009);grid-row:1/3;width:2.6rem;height:auto}.plaque-crest path:not(.crest-cut),.plaque-crest circle{fill:url(#plaque-gilt)}.plaque-crest .crest-cut{fill:none;stroke:#4a3517;stroke-width:.9px;stroke-linecap:round}.plaque-title{font:400 1.4rem/1 var(--cc-display);white-space:nowrap;color:var(--brass-hi);background:linear-gradient(#f3d792,#d8a64f 60%,#b98a3e);-webkit-text-fill-color:transparent;filter:drop-shadow(0 .06rem #0000008c);-webkit-background-clip:text;background-clip:text;align-self:end}.plaque-note{font:600 .64rem/1.25 var(--cc-text);letter-spacing:.07em;white-space:nowrap;text-transform:uppercase;color:var(--u-text-2);align-self:start;padding-top:.22rem}.founder-plaque:hover .plaque-face,.founder-plaque:focus-visible .plaque-face{background:linear-gradient(var(--brass-wash), var(--brass-wash)), var(--orn-lattice) 0 0 / 3rem 3rem, linear-gradient(180deg, #302924, #24201c)}.founder-plaque:focus-visible .plaque-face{outline:.12rem solid var(--brass-hi);outline-offset:.2rem}@media (height>=821px) and (height<=1150px) and (width>=761px){.stele-item{padding-block:.56rem}}.stele .news-panel{min-height:10.2rem;color:var(--u-text);flex:none;grid-template-rows:min-content 1fr min-content;gap:.3rem;margin:0;padding:0 1rem .72rem}.stele .news-panel h2{font:400 .86rem/1 var(--cc-display);letter-spacing:.1em;text-transform:none;color:var(--brass-hi);justify-content:center;align-items:center;gap:.6rem;margin:0 0 .2rem;padding:.5rem 0 .1rem;display:flex}.stele .news-panel h2:before,.stele .news-panel h2:after{content:"";background:var(--orn-meander) 0 50% / auto 100% repeat-x;opacity:.55;flex:1;height:.5rem}.stele .news-panel :is(.news-meta,.news-earlier time){color:var(--u-text-3)}.stele .news-panel .news-feature{align-content:start}.stele .news-panel .news-summary{-webkit-line-clamp:2;height:2lh;color:var(--u-text-2);font-size:.8rem}.stele .news-panel :is(.news-feature strong,.news-earlier a){color:var(--u-text)}.stele .news-panel .news-feature strong{-webkit-line-clamp:2;height:2lh;font:400 1rem/1.15 var(--cc-display);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.stele .news-panel .news-earlier{display:none}.stele .news-panel .news-meta b{background:var(--brass);color:var(--brass-ink);border-radius:.1rem}.stele .news-panel .news-all{color:var(--brass-hi);grid-row:3;align-self:end;margin-top:.05rem;font-size:.78rem}.stele .news-panel .news-loading{background:var(--u-3);border-radius:.1rem;height:2.6rem}.feedback-line{cursor:pointer;width:100%;color:var(--u-text);text-align:left;font:600 .84rem/1 var(--cc-text);letter-spacing:.03em;border-block-color:#b38a3e80;flex:none;align-items:center;gap:.55rem;margin:.7rem 0 .9rem;padding:.5rem 1rem;display:flex}.feedback-line svg{width:1rem;height:1rem;color:var(--brass);flex:none}.feedback-line .line-go{color:var(--brass-hi);margin-left:auto;transition:transform .15s}.feedback-line:hover,.feedback-line:focus-visible{background:linear-gradient(var(--brass-wash), var(--brass-wash)), var(--orn-lattice) 0 0 / 3rem 3rem, linear-gradient(180deg, #302924, #24201c);color:var(--brass-hi)}.feedback-line:hover .line-go,.feedback-line:focus-visible .line-go{transform:translate(.2rem)}.feedback-line:focus-visible{outline:.12rem solid var(--brass-hi);outline-offset:.2rem}@media (height<=740px) and (width>=761px){.stele-body{padding-top:calc(var(--orn-top) + .65rem)}.stele-name{font-size:2.65rem}.stele-frieze{margin:.65rem -1rem .45rem}.stele-item{padding-block:.42rem}}@media (height<=640px) and (width>=761px){.stele-body{padding-top:calc(var(--orn-top) + .45rem)}.stele-name{font-size:2.25rem}.stele-frieze{margin:.4rem -1rem .25rem}.stele-item{padding-block:.3rem}.stele-item .rail-title{font-size:1.32rem}.feedback-line{margin-bottom:.1rem}}.founder-coin{box-sizing:border-box;text-align:left;background:var(--orn-lattice) 0 0 / 3rem 3rem, var(--basalt);border-block:1px solid var(--brass-line);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:1rem;width:min(620px,100%);margin:18px auto 0;padding:.8rem 1.3rem .8rem 1.2rem;display:grid;position:relative;box-shadow:inset 0 0 0 1px #00000040,0 .5rem 1rem -.3rem #00000080}.coin-face{background:radial-gradient(circle at 36% 30%,#f2d48e,#d8a64f 46%,#a47a33 78%,#6e4f1e);border-radius:50%;place-items:center;width:3.3rem;height:3.3rem;display:grid;box-shadow:inset 0 0 0 .16rem #6e4f1e8c,inset 0 0 0 .3rem #ffe8af59,0 .2rem .4rem #0000008c}.coin-face svg{width:2.2rem;height:auto}.coin-face svg path:not(.crest-cut),.coin-face svg circle{fill:#6b4a1a}.coin-face svg .crest-cut{fill:none;stroke:#e3bb6c;stroke-width:.9px;stroke-linecap:round}.coin-words{gap:.22rem;display:grid}.coin-words small{font:600 .7rem/1 var(--cc-text);letter-spacing:.13em;text-transform:uppercase;color:var(--brass)}.coin-words strong{font:400 1.4rem/1 var(--cc-display);color:var(--brass-hi);background:linear-gradient(#f3d792,#d8a64f 60%,#b98a3e);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;justify-self:start}.founder-coin:before,.founder-coin:after{content:"";background:var(--brass-line);width:.42rem;height:.42rem;margin-top:-.21rem;position:absolute;top:50%;transform:rotate(45deg)}.founder-coin:before{left:-.21rem}.founder-coin:after{right:-.21rem}.coin-words span{font:.82rem/1.3 var(--cc-text);color:var(--u-text-2)}#gameover .founder-coin button{border-radius:var(--r);background:var(--brass);min-height:0;color:var(--brass-ink);font:600 .9rem/1 var(--cc-text);white-space:nowrap;cursor:pointer;box-shadow:none;border:0;padding:.62rem 1rem}#gameover .founder-coin button:hover,#gameover .founder-coin button:focus-visible{background:var(--brass-hi)}@media (width<=560px){.founder-coin{grid-template-columns:auto minmax(0,1fr)}.founder-coin button{grid-column:1/-1;justify-self:start}}.feedback-dialog{width:min(34rem,100vw - 2rem)}.feedback-dialog .feedback-intro{margin:.3rem 0 1rem}.feedback-kinds{flex-wrap:wrap;gap:.4rem;margin-bottom:.7rem;display:flex}.feedback-dialog .feedback-kind{padding:.45rem .8rem;font-size:.88rem}.feedback-dialog .feedback-kind[aria-checked=true]{background:var(--brass);color:var(--brass-ink)}.feedback-dialog .feedback-words{box-sizing:border-box;resize:vertical;width:100%;min-height:7.5rem;font:.95rem/1.4 var(--cc-text);padding:.6rem .7rem;display:block}.feedback-count{text-align:right;color:var(--u-text-3);font-variant-numeric:tabular-nums;margin:.25rem 0 .8rem;display:block}.feedback-mail{color:var(--u-text-2);gap:.3rem;margin-bottom:.8rem;font-size:.86rem;display:grid}.feedback-mail input{box-sizing:border-box;width:100%;font:.95rem/1.3 var(--cc-text);padding:.5rem .7rem}.feedback-trap{opacity:0;width:1px;height:1px;position:absolute;left:-9999px}.feedback-included{color:var(--u-text-2);margin-bottom:1rem;font-size:.84rem}.feedback-included pre{white-space:pre-wrap;word-break:break-all;max-height:10rem;padding:.6rem;font-size:.74rem;overflow:auto}.feedback-actions{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.feedback-status{color:var(--u-text-2);flex:12rem}.feedback-status a{color:var(--brass-hi)}.feedback-thanks{margin:.8rem 0 1.2rem}.feedback-thanks strong{font:400 1.3rem/1.2 var(--cc-display);color:var(--brass-hi);display:block}#hud{--hud-stone:#b9b19a;--hud-face:#3d403c;--hud-recess:#292d2b;--hud-sand:#a9a38a;--hud-ink:#f6eed8;--hud-muted:#c6c3b5;--hud-bronze:#c7a46a;--hud-line:#bda57b66;--hud-surface:linear-gradient(115deg, #484a43, #333935 70%, #40443d);--hud-inset:linear-gradient(120deg, #50534a, #383e38);--hud-active:linear-gradient(#8b7042, #5d4f35);--hud-shadow:0 2px 5px #0f1c1880;--hud-grain:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%3e%3cpath%20fill='%23c6c3a5'%20opacity='.035'%20d='m0%2016%2044%202%209%2012-32-6Zm68%2057%2030-6%2030%204-32%202ZM15%20109l38%202%2012%209-35-6Z'/%3e%3cpath%20stroke='%23eee0bb'%20stroke-opacity='.025'%20fill='none'%20d='m0%2067%2023%202%2018-7%2021%203m9-40%2016%204%2025-8m-96%2094%2032-6%2021%208m28-19%2021-4%2019%208'/%3e%3cpath%20stroke='%231f211c'%20stroke-opacity='.06'%20fill='none'%20d='m2%2034%2018%203%2019-6m32%2055%2016%205%2031-5M49%200l4%209-2%2010m-9%2075-12%208%204%209'/%3e%3cpath%20fill='%23d9d2b6'%20opacity='.06'%20d='M12%2015h1v1h-1ZM75%2010h1v1h-1ZM103%2048h1v1h-1ZM31%2079h1v1h-1ZM64%20107h1v1h-1ZM117%20113h1v1h-1Z'/%3e%3c/svg%3e");--hud-frame:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='stone'%20x2='.3'%20y2='1'%3e%3cstop%20stop-color='%23d5ccb0'/%3e%3cstop%20offset='.45'%20stop-color='%23a59e87'/%3e%3cstop%20offset='1'%20stop-color='%236b6c59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='bronze'%20x2='.7'%20y2='1'%3e%3cstop%20stop-color='%23e4c380'/%3e%3cstop%20offset='.45'%20stop-color='%23ad8545'/%3e%3cstop%20offset='1'%20stop-color='%236f542e'/%3e%3c/linearGradient%3e%3cg%20id='corner'%3e%3cpath%20d='M2%2024V10L10%202h14v7H12v15Z'%20fill='url(%23stone)'%20stroke='%233c382f'%20stroke-width='2'/%3e%3cpath%20d='M4%2022V11l7-7h11M10%2023V12h13'%20stroke='%23e0d7bd'%20stroke-opacity='.8'/%3e%3cpath%20d='m5%2012%207-7%2011%2010-8%208Z'%20fill='url(%23stone)'%20stroke='%23514935'/%3e%3cpath%20d='m11%2010%206%205-3%203-4-4%203-2%205%205'%20stroke='%23504735'%20stroke-linecap='round'/%3e%3cpath%20d='m10%209%206%205-3%203-3-3'%20stroke='%23d1c8ae'%20stroke-width='.6'/%3e%3cpath%20d='m4%2023%204-4%204%204-4%204Z'%20fill='url(%23bronze)'%20stroke='%23554028'/%3e%3ccircle%20cx='8'%20cy='23'%20r='1'%20fill='%23e6c47f'/%3e%3c/g%3e%3c/defs%3e%3cpath%20d='M10%203h100l7%207v100l-7%207H10l-7-7V10Z'%20stroke='%23363228'%20stroke-width='5'/%3e%3cpath%20d='M10%206h100l4%204v100l-4%204H10l-4-4V10Z'%20stroke='url(%23stone)'%20stroke-width='7'/%3e%3cpath%20d='M23%203h74M3%2024v72M117%2024v72M24%20117h72'%20stroke='%23d4cbb0'%20stroke-width='1'/%3e%3cpath%20d='M23%2010h74M10%2024v72M110%2024v72M24%20110h72'%20stroke='%233e392d'%20stroke-width='1.5'/%3e%3cpath%20d='m32%205%204%202%204-2%204%202%204-2%204%202%204-2%204%202%204-2%204%202%204-2%204%202%204-2%204%202'%20stroke='%23514938'%20stroke-width='.8'/%3e%3cpath%20d='m32%20114%204-2%204%202%204-2%204%202%204-2%204%202%204-2%204%202%204-2%204%202%204-2%204%202%204-2'%20stroke='%23c7c0a8'%20stroke-opacity='.5'%20stroke-width='.8'/%3e%3cuse%20href='%23corner'/%3e%3cuse%20href='%23corner'%20transform='translate(120%200)%20rotate(90)'/%3e%3cuse%20href='%23corner'%20transform='translate(120%20120)%20rotate(180)'/%3e%3cuse%20href='%23corner'%20transform='translate(0%20120)%20rotate(270)'/%3e%3c/svg%3e");--hud-map-width:clamp(224px, 18vw, 272px);--hud-dock-height:156px;--hud-map-height:clamp(140px, 11.25vw, 170px);--cc-wood:var(--hud-face);--cc-on-wood:var(--hud-ink);--cc-on-wood-soft:var(--hud-muted);--cc-wood-line:var(--hud-line);--cc-ink:var(--hud-ink);--cc-ink-soft:var(--hud-muted);color:var(--hud-ink);font-family:var(--cc-text)}#hud *,#hud :before,#hud :after{box-sizing:border-box}#hud [hidden],#hud .hidden{display:none!important}#hud button{touch-action:manipulation}#hud button:focus-visible,#hud [tabindex]:focus-visible{outline-offset:2px;outline:2px solid #f1cd7f}#hud :is(#top-bar,#command-dock,#match-status,#help-tooltip,#heritage-dialog,#civilization-council,#reform-council),#hud #match-roster:not([data-expanded=true]) ol{border:8px solid #0000;border-image:var(--hud-frame) 24 / 12px / 1px stretch;background:var(--hud-grain), var(--hud-surface);box-shadow:var(--hud-shadow);color:var(--hud-ink);opacity:1;filter:none;-webkit-backdrop-filter:none;backdrop-filter:none;background-origin:border-box;border-radius:5px}#hud :is(#top-bar,#command-dock,#match-status,#match-roster) :where(*){text-shadow:none}#hud :is(#command-dock,#match-status):before,#hud :is(#command-dock,#match-status):after{content:none}#hud #top-bar{pointer-events:auto;width:max-content;max-width:calc(100% - 240px);min-height:44px;font:600 13px/1.1 var(--cc-text);z-index:30;border-width:7px;border-image-width:10px;border-radius:14px;flex-wrap:nowrap;justify-content:center;align-items:center;gap:0;margin-inline:auto;padding:0 5px;display:flex;inset:8px 0 auto;transform:none}#hud #top-bar:before,#hud #top-bar:after{content:"";pointer-events:none;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='56'%20viewBox='0%200%2032%2056'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='stone'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23d5ccb0'/%3e%3cstop%20offset='.45'%20stop-color='%23a59e87'/%3e%3cstop%20offset='1'%20stop-color='%236b6c59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='bronze'%20x2='.6'%20y2='1'%3e%3cstop%20stop-color='%23e4c380'/%3e%3cstop%20offset='1'%20stop-color='%23926c36'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20d='M32%203H23c-3%200-3%205-8%209L4%2023c-3%203-3%207%200%2010l11%2011c5%204%205%209%208%209h9'%20fill='url(%23stone)'%20stroke='%2337392c'%20stroke-width='2'/%3e%3cpath%20d='M31%207h-7c-3%205-6%208-10%2012l-8%208v3l9%209c5%204%206%206%209%2010h7'%20stroke='%23ded6bd'%20stroke-opacity='.8'/%3e%3cpath%20d='m23%2014-6%207%207%207-7%207%206%207M15%2023l-5%205%205%205%205-5-5-5Z'%20stroke='%23514b37'%20stroke-width='2'%20stroke-linejoin='round'/%3e%3cpath%20d='m23%2013-6%207%207%207-7%207%206%207m-8-19-5%205%205%205'%20stroke='%23ded6bd'%20stroke-width='.7'/%3e%3cpath%20d='m25%2024%204%204-4%204-4-4Z'%20fill='url(%23bronze)'%20stroke='%23624a2b'/%3e%3ccircle%20cx='25'%20cy='28'%20r='1.2'%20fill='%23f4d498'/%3e%3c/svg%3e") 50%/100% 100% no-repeat;width:26px;position:absolute;top:-7px;bottom:-7px}#hud #top-bar:before{left:-26px}#hud #top-bar:after{right:-26px;transform:scaleX(-1)}#hud #top-bar .res{border:0;border-left:1px solid var(--hud-line);min-width:42px;min-height:24px;box-shadow:none;color:var(--hud-ink);text-shadow:none;background:0 0;border-radius:0;flex:none;align-items:center;gap:5px;padding:2px 7px;display:inline-flex}#hud #top-bar .res b{font:600 14px/1.1 var(--cc-text);color:var(--hud-ink);font-variant-numeric:tabular-nums}#hud #top-bar .res small{font:10px/1 var(--cc-text);color:#bfdc86}#hud #top-bar .res-icon{flex:none;width:16px;height:16px}#hud #top-bar .gold svg,#hud .resource-cost.gold svg{color:#e8be61}#hud #top-bar .food svg,#hud .resource-cost.food svg{color:#d7c878}#hud #top-bar .wood svg,#hud .resource-cost.wood svg{color:#d29c6a}#hud #top-bar .stone svg,#hud .resource-cost.stone svg{color:#c3c2b1}#hud #top-bar .supply svg{color:#e6d6b4}#hud #top-bar #idle-villagers{min-width:36px;color:var(--hud-ink);background:var(--hud-active);border:1px solid #be9658;border-radius:4px;margin-left:3px;padding:3px 6px;animation:none;box-shadow:inset 0 0 0 1px #e2c28626}#hud #top-bar #idle-villagers b{color:#fff0bf}#hud #top-bar #idle-villagers:hover{background:#75683f}#hud #selection-info{clip-path:inset(50%);width:1px;min-width:0;height:1px;position:absolute;overflow:hidden}#hud #fps{display:none}#hud #top-bar #top-sky{opacity:1;z-index:0;border-radius:14px 14px 4px 4px;flex:0 0 38px;order:-1;width:38px;height:23px;position:relative;inset:auto;box-shadow:inset 0 0 0 1px #c6ab7477}#hud :is(#heritage-bar,#civ-badge){min-width:0;max-width:180px;color:var(--hud-ink);background:0 0;border:0;flex-direction:column;flex:0 auto;justify-content:center;gap:1px;padding:0 7px 0 3px;display:flex;position:static}#hud #top-bar:has(#heritage-bar:not([hidden])) #civ-badge{display:none}#hud #heritage-bar,#hud #heritage-bar #age-research{cursor:default}#hud .heritage-bar-heading{align-items:center;gap:5px;display:flex}#hud #heritage-bar .heritage-bar-label,#hud #civ-badge .cb-name{font:400 13px/1.15 var(--cc-display);color:var(--hud-ink);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#hud .heritage-bar-emblem{flex:none;width:20px;height:20px}#hud .heritage-bar-emblem .civ-emblem{width:20px;height:20px}#hud #heritage-toggle{z-index:156;pointer-events:auto;color:#ead4a6;background:radial-gradient(at 50% 20%,#77664b,#3b4039 75%);border:1px solid #bfa272;border-radius:12px 4px;place-items:center;width:66px;height:60px;padding:6px;animation:none;display:grid;position:absolute;top:76px;right:14px;transform:none;box-shadow:inset 0 0 0 3px #30352e,inset 0 0 0 4px #bfa27266,0 4px 9px #18211c77}#hud #heritage-toggle svg{filter:drop-shadow(0 2px 1px #25291f);width:48px;height:36px;display:block}#hud #heritage-toggle:hover,#hud #heritage-toggle[aria-expanded=true]{background:radial-gradient(at 50% 20%,#947448,#464b3e 75%);border-color:#f2d89e;box-shadow:inset 0 0 0 3px #3c4136,inset 0 0 0 4px #ddbc7b,0 4px 9px #18211c77}#hud #heritage-toggle[data-reform=open]:before{content:"";background:#cf6742;border:1px solid #ffdda0;border-radius:50%;width:8px;height:8px;position:absolute;top:5px;right:5px}#hud #age-research{font:10px/1.1 var(--cc-text);color:var(--hud-muted)}#hud #morale-chip{font:600 11px var(--cc-text);font-variant-numeric:tabular-nums;padding-left:6px}#hud #morale-chip[data-tone=up]{color:#bfdc86}#hud #morale-chip[data-tone=down]{color:#f0a58a}#hud #top-bar .res b{text-align:left;min-width:3.4ch;display:inline-block}#hud #top-bar #resource-gold small{min-width:6.2ch;display:inline-block}#hud #top-bar #resource-supply b{min-width:5.2ch}#hud #top-bar #morale-chip{justify-content:flex-start;min-width:62px}#hud #top-bar #idle-villagers b{text-align:center;min-width:2ch}#hud #top-bar #idle-villagers[data-idle="0"]{border-color:var(--hud-line);box-shadow:none;background:0 0}#hud #top-bar #idle-villagers[data-idle="0"] b{color:var(--hud-muted)}#hud #top-bar #heritage-bar,#hud #top-bar #civ-badge{flex:0 0 176px;width:176px;max-width:176px}#hud #help-container{pointer-events:auto;z-index:38;gap:8px;display:flex;position:absolute;top:12px;right:12px}#hud :is(#help-btn,#battle-menu){border:5px solid #0000;border-image:var(--hud-frame) 24 / 7px / 1px stretch;background:var(--hud-grain), var(--hud-surface);width:36px;height:36px;color:var(--hud-ink);box-shadow:var(--hud-shadow);border-radius:5px;place-items:center;padding:3px;display:grid;position:static}#hud :is(#help-btn,#battle-menu):hover{filter:brightness(1.15)}#hud :is(#help-btn,#battle-menu) svg{width:18px;height:18px}#hud #help-tooltip{font:13px/1.5 var(--cc-text);padding:16px;top:48px;right:0}#hud .help-guide-card{border-color:var(--hud-line);background:#383d32;border-radius:3px}#hud .help-guide-card h4,#hud #help-tooltip summary{color:#e8cb8f}#hud #match-status.conquest-status{width:168px;max-width:24vw;font:11px/1.3 var(--cc-text);align-items:center;gap:2px 5px;padding:3px 5px;display:flex;top:12px;left:12px;right:auto}#hud #match-status .mode-label{font:400 13px/1.1 var(--cc-display);color:#f1dfb6}#hud #match-status>small{width:100%;color:var(--hud-muted);font:11px/1.35 var(--cc-text)}#hud #match-clock{font:11px var(--cc-text);color:var(--hud-muted);margin-left:auto}#hud #objective-close{width:17px;height:17px;color:var(--hud-muted)}#hud #match-status .objective-guide{border:1px solid var(--hud-line);background:var(--hud-inset);color:var(--hud-ink);border-radius:3px;padding:4px 6px;font-size:11px}:root[data-guidance-conquest=false][data-guidance-opening=false] #hud #match-status.conquest-status{background:var(--hud-face);width:max-content;min-width:0;max-width:none;height:24px;min-height:0;box-shadow:none;border:1px solid #ad7c3f;border-image:;border-radius:3px;gap:0;padding:2px 7px}:root[data-guidance-conquest=false][data-guidance-opening=false] #hud #match-status>:not(#match-clock){display:none}:root[data-guidance-conquest=false][data-guidance-opening=false] #hud #match-clock{color:var(--hud-ink);margin:0}#hud #left-dock{gap:6px;max-width:min(320px,30vw);top:120px;left:14px}#hud #command-dock{width:min(620px, calc(100% - var(--hud-map-width) - 38px));z-index:32;pointer-events:auto;align-items:stretch;gap:8px;min-height:92px;max-height:min(34dvh,280px);padding:4px 6px;display:flex;position:absolute;bottom:12px;left:12px;right:auto}#hud #command-dock:has(#build-menu-container:not(.hidden)){width:min(1080px, calc(100% - var(--hud-map-width) - 38px));min-height:var(--hud-dock-height)}#hud #command-dock:has(#build-menu-container:not(.hidden)){background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='120'%20viewBox='0%200%20240%20120'%20fill='none'%3e%3cg%20stroke='%23c9ab73'%20stroke-opacity='.34'%20stroke-width='1'%3e%3cpath%20d='M8%208h224v104H8Zm5%205h214v94H13'/%3e%3cpath%20d='M24%2018v17h17M199%2018v17h17M24%20102V85h17M199%20102V85h17'/%3e%3cpath%20d='M92%2098q28-11%2056%200m-46-1-8-11%2014%206m5%203-4-16%2011%2013m8%203%204-16-11%2013m17%205%208-11-14%206'/%3e%3cpath%20d='m120%2014%205%205-5%205-5-5Z'%20fill='%23c9ab73'%20fill-opacity='.22'/%3e%3cpath%20d='M30%2019h73m34%200h73M30%20101h51m78%200h51'/%3e%3c/g%3e%3c/svg%3e") left center / 190px 100% no-repeat, var(--hud-grain), linear-gradient(100deg, #4d4c40, #353c36 30%, #3d433c)}#hud #command-dock:has(#building-panel:not(.hidden)):not(:has(#bp-body>:not(:empty):not([hidden]))){width:min(330px, calc(100% - var(--hud-map-width) - 38px))}#hud #command-dock:not(:has(>:not(.hidden))){display:none}#hud #selection-panel{width:auto;min-width:0;max-width:none;height:auto;min-height:0;max-height:none;box-shadow:none;background:0 0;border:0;border-radius:0;flex-direction:row;flex:1;align-items:center;gap:8px;margin:0;padding:3px 4px;display:flex;position:static;inset:auto;overflow:visible;transform:none}#hud #command-dock:has(#build-menu-container:not(.hidden)) #selection-panel{border-right:1px solid var(--hud-line);flex:0 0 180px;padding-right:10px}#hud #selection-panel[data-kind=villager]{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%20viewBox='0%200%20160%20160'%20fill='none'%3e%3cg%20stroke='%23c4aa78'%20stroke-opacity='.2'%3e%3ccircle%20cx='80'%20cy='80'%20r='55'/%3e%3ccircle%20cx='80'%20cy='80'%20r='50'/%3e%3cpath%20d='M80%2018v12m0%20100v12M18%2080h12m100%200h12M36%2036l8%208m72%2072%208%208M36%20124l8-8m72-72%208-8'/%3e%3cpath%20d='m51%20112%2051-59%205%205-51%2059Zm-3-60%2012-13%2014%2012-4%205%2034%2043-6%205-37-40-4%204Z'%20fill='%23c4aa78'%20fill-opacity='.08'/%3e%3cpath%20d='m92%2042%2018%2016m-72%2065h84M44%20130h72'/%3e%3cpath%20d='M10%2040V10h30M120%2010h30v30M150%20120v30h-30M40%20150H10v-30'%20stroke-opacity='.35'/%3e%3c/g%3e%3c/svg%3e") 50%/132px 132px no-repeat}#hud #sel-single{flex:0 270px;align-items:center;gap:8px;min-width:0;display:flex}#hud #sel-portrait{background:radial-gradient(at 50% 25%,#a59064,#4e5945 80%);border:1px solid #bea47a;border-radius:22px 22px 3px 3px;flex:0 0 52px;place-items:center;width:52px;height:68px;display:grid;position:relative;box-shadow:inset 0 0 0 3px #3d4134,inset 0 0 0 4px #d4bd8166,0 2px 4px #1d251d55}#hud #sel-portrait .piece-portrait{object-fit:contain;width:42px;height:54px}#hud #sel-portrait .civ-emblem{position:absolute;bottom:-4px;right:-4px}#hud #sel-details{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}#hud #sel-glance{flex-direction:column;align-items:stretch;gap:5px;display:flex}#hud #sel-name{font:400 17px/1.15 var(--cc-display);color:var(--hud-ink)}#hud .sel-health{font:11px/1.2 var(--cc-text);color:var(--hud-muted);justify-content:space-between;gap:4px;padding-bottom:5px;display:flex;position:relative}#hud .sel-health:after{content:"";background:linear-gradient(90deg, #97b770 var(--health,100%), #252e24 0);height:3px;position:absolute;bottom:0;left:0;right:0;box-shadow:0 0 0 1px #a9a07b44}#hud .sel-health[data-tone=mid]:after{background:linear-gradient(90deg, #d5b362 var(--health), #252e24 0)}#hud .sel-health[data-tone=low]:after{background:linear-gradient(90deg, #ed9b80 var(--health), #252e24 0)}#hud #sel-more{border:0;margin:0;padding:0;display:block}#hud #sel-stats{color:var(--hud-muted);font:11px var(--cc-text);flex-wrap:wrap;gap:4px 8px;margin:0;display:flex}#hud #sel-desc{font:11px/1.3 var(--cc-text);color:var(--hud-muted);margin-top:4px}#hud #sel-logistics{color:#e7d9b6;font:11px/1.3 var(--cc-text);overflow-wrap:anywhere;margin:0}#hud #selection-panel[data-kind=villager] :is(#sel-stats,#sel-desc){display:none}#hud #selection-panel[data-kind=villager] #sel-logistics{display:block}#hud #selection-panel[data-kind=villager] #sel-field:empty{display:none}#hud #sel-multi{flex-direction:column;flex:1;align-items:stretch;gap:6px;min-width:0;display:flex}#hud #sel-kind-groups{flex-wrap:wrap;gap:4px;display:flex}#hud .sel-kind-group{border:1px solid var(--hud-line);background:var(--hud-inset);color:var(--hud-ink);border-radius:3px;padding:6px 8px;font-size:12px}#hud #sel-individuals{max-height:80px;overflow-y:auto}#hud #sel-multi-summary{color:var(--hud-muted);font-size:11px}#hud #sel-grid{flex-wrap:wrap;gap:4px;display:flex}#hud .sel-grid-item{border:1px solid var(--hud-line);background:var(--hud-inset);width:36px;height:38px;padding:0}#hud .sel-grid-item .piece-portrait{width:30px;height:28px}#hud #formation-stance-panel{border:0;border-left:1px solid var(--hud-line);width:auto;min-width:0;box-shadow:none;background:0 0;flex-wrap:wrap;flex:1;align-items:center;gap:6px 8px;margin:0;padding:0 0 0 8px;display:flex;position:static;inset:auto;transform:none}#hud #formation-stance-panel .hud-group{flex-wrap:wrap;gap:4px}#hud .hud-group-label{font:10px/1.2 var(--cc-text);color:var(--hud-muted);letter-spacing:.06em}#hud .hud-btn{border:1px solid var(--hud-line);background:var(--hud-inset);width:31px;height:31px;color:var(--hud-ink);border-radius:3px;box-shadow:inset 0 1px #c9b58722}#hud .hud-btn.active,#hud .hud-btn[aria-pressed=true]{background:var(--hud-active);color:#fff0c7;border-color:#c3a065}#hud .hud-sep-v{display:none}#hud #build-menu-container{z-index:auto;flex-direction:column;flex:1;gap:3px;width:auto;min-width:0;max-width:none;display:flex;position:relative;inset:auto}#hud #build-menu{opacity:1;visibility:visible;width:auto;min-width:0;max-width:none;max-height:none;box-shadow:none;pointer-events:auto;background:0 0;border:0;border-radius:0;flex-direction:column;flex:1;gap:0;padding:0;transition:none;display:flex;position:static;inset:auto;overflow:visible;transform:none}#hud .build-categories{flex:0 0 37px;gap:4px;margin:0;padding:0 0 3px;display:flex}#hud .build-categories:after{content:"";background:repeating-linear-gradient(90deg,#0000 0 10px,#b49c6d44 10px 12px);border-block:1px solid #b49c6d77;flex:1;align-self:center;min-width:18px;height:7px;margin-inline:5px}#hud .build-categories button{background:var(--hud-grain), var(--hud-inset);border:1px solid var(--hud-line);min-width:0;min-height:34px;font:600 14px/1.2 var(--cc-text);color:var(--hud-muted);border-radius:3px;flex:0 170px;padding:4px 12px;box-shadow:inset 0 1px #e7cf8d15}#hud .build-categories button[aria-pressed=true]{background:var(--hud-grain), var(--hud-active);color:#fff3d3;border-color:#c7a566;box-shadow:inset 0 -2px #c7a566}#hud .build-group{flex:1;min-width:0;margin:0;padding:0;display:flex}#hud .build-group-cards{scrollbar-width:thin;scrollbar-color:#ad9361 #383b30;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%20viewBox='0%200%20160%20160'%20fill='none'%3e%3cg%20stroke='%23c4aa78'%20stroke-opacity='.2'%3e%3ccircle%20cx='80'%20cy='80'%20r='55'/%3e%3ccircle%20cx='80'%20cy='80'%20r='50'/%3e%3cpath%20d='M80%2018v12m0%20100v12M18%2080h12m100%200h12M36%2036l8%208m72%2072%208%208M36%20124l8-8m72-72%208-8'/%3e%3cpath%20d='m51%20112%2051-59%205%205-51%2059Zm-3-60%2012-13%2014%2012-4%205%2034%2043-6%205-37-40-4%204Z'%20fill='%23c4aa78'%20fill-opacity='.08'/%3e%3cpath%20d='m92%2042%2018%2016m-72%2065h84M44%20130h72'/%3e%3cpath%20d='M10%2040V10h30M120%2010h30v30M150%20120v30h-30M40%20150H10v-30'%20stroke-opacity='.35'/%3e%3c/g%3e%3c/svg%3e") 0 0/calc(14.2857% + .714286px) 84px repeat-x;flex:none;grid-template-rows:84px;grid-template-columns:repeat(7,minmax(78px,1fr));grid-auto-columns:minmax(78px,calc(14.2857% - 4.28571px));grid-auto-flow:column;align-content:start;gap:5px;width:100%;height:94px;padding:0 1px 2px;display:grid;overflow:auto hidden}#hud .bcard{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='120'%20height='60'%20viewBox='0%200%20120%2060'%20preserveAspectRatio='none'%20fill='none'%3e%3cdefs%3e%3clinearGradient%20id='field'%20x2='0'%20y2='1'%3e%3cstop%20stop-color='%23b4ad93'/%3e%3cstop%20offset='1'%20stop-color='%2385876e'/%3e%3c/linearGradient%3e%3c/defs%3e%3cpath%20fill='url(%23field)'%20d='M0%200h120v60H0z'/%3e%3cpath%20d='M3%2020V8l5-5h104l5%205v12M3%2043v10l4%204h106l4-4V43'%20stroke='%23ded5b8'%20stroke-opacity='.5'/%3e%3cpath%20d='M5%2020V9l4-4h102l4%204v11M5%2043v9l3%203h104l3-3V43'%20stroke='%23535c47'%20stroke-opacity='.6'/%3e%3cpath%20d='M9%2020V9h12l-5%205%205%205H9m102%201V9H99l5%205-5%205h12'%20stroke='%2360634e'%20stroke-width='1'/%3e%3cpath%20d='m29%205%204%204-4%204-4-4Zm62%200%204%204-4%204-4-4Z'%20stroke='%23ddd2b1'%20stroke-opacity='.45'/%3e%3cpath%20d='m22%2040%2023-3%2012%204%2024-5%2017%202M34%2020l18%203%2011-2%2019%203'%20stroke='%23d9d2b5'%20stroke-opacity='.12'/%3e%3cpath%20d='M0%2059h120'%20stroke='%23c7bc95'/%3e%3c/svg%3e") center top / 100% 39px no-repeat, var(--hud-grain), var(--hud-recess);width:100%;min-width:0;height:84px;min-height:0;color:var(--hud-ink);text-align:center;border:1px solid #a49b7b;border-radius:4px;flex-direction:column;justify-content:flex-end;align-items:center;gap:2px;padding:1px 3px 3px;transition:border-color .12s,box-shadow .12s;display:flex;position:relative;transform:none;box-shadow:inset 0 0 0 1px #1e2a2388}#hud .bcard .ic{flex:0 0 34px;justify-content:center;align-items:center;width:100%;height:34px;min-height:34px;display:flex;overflow:hidden}#hud .bcard .piece-portrait{object-fit:contain;width:58px;height:34px;max-height:34px}#hud .bcard .nm{max-width:100%;min-height:0;font:600 12px/1.2 var(--cc-text);color:var(--hud-ink);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}#hud .bcard .cost{height:26px;font:600 10px/1.2 var(--cc-text);flex-wrap:wrap;flex:0 0 26px;place-content:center;gap:0 4px;display:flex}#hud .resource-cost{color:#f1e1bb;align-items:center;gap:2px;display:inline-flex}#hud .bcard.active .resource-cost :where(*){color:inherit}#hud .resource-cost+.resource-cost{margin-left:0}#hud .resource-cost svg{width:12px;height:12px}#hud .resource-cost.is-missing{color:#ffb29b;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}#hud .bcard:hover:not(:disabled),#hud .bcard:focus-visible{border-color:#f2d38d;transform:none;box-shadow:inset 0 0 0 1px #e7c277}#hud .bcard:is(.disabled,:disabled){opacity:1;cursor:not-allowed}#hud .bcard:is(.disabled,:disabled) .ic{filter:saturate(.3);opacity:.55}#hud .bcard:is(.disabled,:disabled) .nm{color:#c6bea4}#hud .bcard.active{border-color:#f5d68b;box-shadow:inset 0 0 0 2px #e7c277}#hud #build-menu-trigger{display:none}#hud #build-menu-container.is-placing #build-menu-trigger{width:auto;min-height:32px;font:600 12px var(--cc-text);color:#ffe0ba;box-shadow:var(--hud-shadow);background:#6e4536;border:1px solid #c58b6a;border-radius:4px;align-items:center;gap:5px;padding:5px 12px;display:flex;position:absolute;bottom:calc(100% + 14px);right:0}#hud .is-placing #build-menu-trigger .bm-trigger-arrow{display:none}#hud #building-panel:not(.hidden){width:100%;max-width:none;max-height:none;box-shadow:none;color:var(--hud-ink);background:0 0;border:0;border-radius:0;grid-template-columns:52px minmax(120px,180px) minmax(0,1fr);gap:8px;margin:0;padding:0 3px;animation:none;display:grid;position:static;inset:auto;overflow:auto;transform:none}#hud #building-panel:not(.hidden):not(:has(#bp-body>:not(:empty):not([hidden]))){grid-template-columns:52px minmax(120px,1fr)}#hud #building-panel:before,#hud #building-panel:after{content:none}#hud .bp-medallion{width:52px;height:52px}#hud #bp-portrait{background:var(--hud-grain), var(--hud-inset);width:42px;height:42px;box-shadow:inset 0 0 0 1px #ac9c75}#hud #bp-portrait .piece-portrait{width:40px;height:40px}#hud .bp-ring-track{stroke:#2c342a}#hud .bp-ring-fill{stroke:#a9bf7a}#hud #building-panel #bp-title{font:400 15px/1.15 var(--cc-display);color:#f2e3bb}#hud #bp-role,#hud #building-panel :is(#bp-hint,#bp-logistics,#bp-rally){font:11px/1.3 var(--cc-text);color:var(--hud-muted)}#hud #building-panel #bp-facts>span{border:1px solid var(--hud-line);background:var(--hud-recess);color:var(--hud-ink);font:11px var(--cc-text);border-radius:3px;padding:2px 6px}#hud #building-panel #bp-body{border-left-color:var(--hud-line);gap:4px;min-width:0;padding-left:10px}#hud #building-panel #bp-trains{gap:4px}#hud #building-panel #bp-trains .tcard{background:var(--hud-grain), var(--hud-inset);border:1px solid #ab986e;border-radius:4px;width:72px;padding:3px;box-shadow:inset 0 0 0 1px #2d382a55}#hud #building-panel #bp-trains .tcard:hover:not(:disabled){border-color:#f0cb7b;transform:none}#hud #building-panel #bp-trains .tcard .nm{color:var(--hud-ink)}#hud #building-panel #bp-trains .tcard .ic{height:28px}#hud #building-panel #bp-trains .tcard .piece-portrait{width:32px;height:32px}#hud #building-panel #bp-trains .tcard .tm{color:#ded0ab}#hud #building-panel #bp-queue .qitem{background:var(--hud-inset);border-color:#b3a16e}#hud #building-panel #bp-queue .qitem.empty{background:var(--hud-recess);border:1px dashed #bda57b55}#hud #building-panel #bp-tax h3{color:var(--hud-muted)}#hud #building-panel #bp-tax .tax-stepper{background:var(--hud-inset);color:var(--hud-ink)}#hud #building-panel #landmark-studies .monument-age{background:var(--hud-active);color:var(--hud-ink);border-color:#c0a36b}#hud #minimap{width:var(--hud-map-width);height:var(--hud-map-height);border:8px solid #0000;border-image:var(--hud-frame) 24 / 12px / 1px stretch;box-shadow:var(--hud-shadow);background:#1b3026;border-radius:3px;position:absolute;bottom:12px;left:auto;right:12px}#hud #match-roster:not([data-expanded=true]){top:auto;bottom:calc(var(--hud-map-height) + 20px);width:var(--hud-map-width);right:12px}#hud #match-roster:not([data-expanded=true]) h2{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}#hud #match-roster:not([data-expanded=true]) ol{border-width:7px;scrollbar-width:thin;border-image-width:10px;width:100%;max-height:min(224px,30dvh);margin:0;padding:1px 4px}#hud #match-roster:not([data-expanded=true]) li{border-color:var(--hud-line);grid-template-rows:auto;grid-template-columns:24px minmax(0,1fr) auto;gap:7px;min-height:30px;padding:4px 0}#hud #match-roster:not([data-expanded=true]) li>b.roster-civ{width:24px;height:24px;box-shadow:none;background:0 0}#hud #match-roster:not([data-expanded=true]) .roster-civ .civ-emblem{width:24px;height:24px}#hud #match-roster:not([data-expanded=true]) li>div>strong{font:600 13px/1.2 var(--cc-text);color:var(--hud-ink);text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}#hud #match-roster:not([data-expanded=true]) li>div>small,#hud #match-roster:not([data-expanded=true]) .roster-power>small,#hud #match-roster:not([data-expanded=true]) .roster-power:after,#hud #match-roster:not([data-expanded=true]) .roster-history{display:none}#hud #match-roster:not([data-expanded=true]) .roster-research{flex-wrap:wrap;grid-column:2/-1;gap:3px;padding:0 0 2px;display:flex}#hud #match-roster:not([data-expanded=true]) .roster-research:empty{display:none}#hud #match-roster:not([data-expanded=true]) .roster-research-seal,#hud #match-roster:not([data-expanded=true]) .roster-research-seal svg{width:18px;height:18px}#hud #match-roster:not([data-expanded=true]) .roster-research-seal .seal-tip{display:none}#hud #match-roster:not([data-expanded=true]) .roster-power{min-width:25px;padding:0}#hud #match-roster:not([data-expanded=true]) .roster-power>strong{font:600 14px var(--cc-text);color:#edd5a5}#hud #match-roster[data-expanded=true]{top:80px}#hud #match-roster[data-expanded=true] :is(h2,ol){background:var(--hud-grain), var(--hud-surface);color:var(--hud-ink);border-color:#ac996c}#hud .build-group-cards .bcard:focus-visible{outline-offset:-3px}#hud #civilization-council,#hud #reform-council,#hud #heritage-dialog{box-shadow:var(--hud-shadow)!important}#hud :is(#civilization-council,#reform-council)>header{background:0 0}#hud #attack-alert{color:#fff0d0;background:#8c4632;border-radius:4px}#hud #attack-alert.alert-note-card{background:var(--hud-grain), var(--hud-surface);color:var(--hud-ink);pointer-events:none;border-color:#bda57b}#hud #attack-alert .alert-note{font:600 13px/1.3 var(--cc-text);padding:9px 16px}#hud #left-dock{z-index:34;align-items:stretch;width:244px}#hud #left-dock>*{max-width:100%;margin:0;position:relative;inset:auto;transform:none}#hud :is(#civilization-decree,#reform-edict,.production-watch-item){border:6px solid #0000;border-image:var(--hud-frame) 24 / 9px / 0 stretch;background:var(--hud-grain), var(--hud-surface);box-shadow:var(--hud-shadow);color:var(--hud-ink);text-shadow:none;font-family:var(--cc-text);border-radius:4px;animation:none}#hud #civilization-decree{letter-spacing:0;gap:4px;width:100%;min-width:0;padding:7px 9px;transition:border-color .15s;display:grid}#hud #civilization-decree:before,#hud #civilization-decree:after{content:none}#hud #civilization-decree:hover{filter:none;background:var(--hud-inset);padding:7px 9px}#hud #civilization-decree strong,#hud #reform-edict strong{font:400 15px/1.2 var(--cc-display);color:var(--hud-ink);letter-spacing:0}#hud #civilization-decree small,#hud #reform-edict small{color:var(--hud-muted);font:11px/1.4 var(--cc-text)}#hud #reform-edict{grid-template-columns:30px minmax(0,1fr);column-gap:8px;width:100%;min-width:0;padding:7px 22px 9px 6px}#hud #reform-edict .edict-seal{width:30px;height:30px;box-shadow:inset 0 0 0 1px #cab17d,0 1px 2px #17251d88}#hud #reform-edict strong{white-space:normal;overflow-wrap:anywhere}#hud #reform-edict .edict-progress{background:#b8c68d;height:3px}#hud #left-dock #production-watch{scrollbar-width:thin;scrollbar-color:var(--hud-sand) var(--hud-recess);flex-flow:column;gap:5px;width:100%;max-height:min(180px,25dvh);padding:1px;display:flex;overflow:auto}#hud #left-dock .production-watch-item{flex:none;grid-template-columns:30px minmax(0,1fr);gap:1px 7px;width:100%;min-width:0;max-width:none;height:48px;padding:2px 28px 4px 4px;display:grid;position:relative}#hud #left-dock .production-portrait{grid-row:1/3}#hud #left-dock .production-portrait :is(img,svg,canvas){object-fit:contain;width:30px;height:30px}#hud #left-dock .production-name{color:var(--hud-ink);font:600 12px/1.2 var(--cc-text)}#hud #left-dock .production-watch-item small{color:var(--hud-muted);font:11px/1 var(--cc-text)}#hud #left-dock .production-count{color:var(--hud-ink);font:11px var(--cc-text);top:4px;right:4px}#hud #left-dock .production-next{display:none}#hud #left-dock .production-watch-item>i{background:#aabd82}#hud :is(#heritage-dialog,#civilization-council,#reform-council){font:13px/1.45 var(--cc-text);z-index:155;outline:0;padding:0;animation:none;overflow:hidden}#hud :is(#civilization-council,#reform-council){flex-direction:column;max-height:calc(100dvh - 40px);display:flex;inset:50% auto auto 50%;transform:translate(-50%,-50%)}#hud #civilization-council{width:min(1040px,100vw - 40px)}#hud #reform-council{width:min(870px,100vw - 40px)}#hud #heritage-dialog{background:var(--hud-grain), linear-gradient(100deg, #40443d, #303832);width:min(460px,100vw - 108px);max-width:none;max-height:calc(100dvh - 78px);inset:64px 94px 14px auto;transform:none;box-shadow:0 8px 24px #17201c99!important}#hud :is(#heritage-dialog,#civilization-council,#reform-council)>header{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='120'%20viewBox='0%200%20240%20120'%20fill='none'%3e%3cg%20stroke='%23c9ab73'%20stroke-opacity='.34'%20stroke-width='1'%3e%3cpath%20d='M8%208h224v104H8Zm5%205h214v94H13'/%3e%3cpath%20d='M24%2018v17h17M199%2018v17h17M24%20102V85h17M199%20102V85h17'/%3e%3cpath%20d='M92%2098q28-11%2056%200m-46-1-8-11%2014%206m5%203-4-16%2011%2013m8%203%204-16-11%2013m17%205%208-11-14%206'/%3e%3cpath%20d='m120%2014%205%205-5%205-5-5Z'%20fill='%23c9ab73'%20fill-opacity='.22'/%3e%3cpath%20d='M30%2019h73m34%200h73M30%20101h51m78%200h51'/%3e%3c/g%3e%3c/svg%3e") right 46px center/168px 84px no-repeat,linear-gradient(100deg,#595545,#383e35);border:0;border-bottom:1px solid #e4b56099;flex-wrap:wrap;flex:none;justify-content:space-between;align-items:center;gap:5px 12px;margin:0;padding:14px 52px 12px 16px;display:flex;position:relative;box-shadow:inset 0 -3px #2d332c,inset 0 -4px #b88a4344}#hud :is(#heritage-dialog,#civilization-council,#reform-council)>header:before,#hud :is(#heritage-dialog,#civilization-council,#reform-council)>header:after{content:none}#hud :is(#heritage-dialog,#civilization-council,#reform-council) h2{width:auto;color:var(--hud-ink);text-align:left;font:400 clamp(21px, 2vw, 27px)/1.15 var(--cc-display);letter-spacing:0;text-shadow:none;margin:0}#hud #heritage-dialog>header small{color:var(--hud-muted);font:10px/1.5 var(--cc-text);letter-spacing:.1em}#hud #heritage-dialog>header{border-left:3px solid var(--heritage-accent,#d4a350);padding:12px 52px 12px 18px}#hud #heritage-dialog>header h2{color:#f1dcb0}#hud #heritage-dialog .heritage-content h3{color:#f3cf88;align-items:center;gap:9px;display:flex}#hud #heritage-dialog .heritage-content h3:after{content:"";background:linear-gradient(90deg,#cda15a22,#0000);border-block:1px solid #cda15a66;flex:1;height:5px}#hud :is(#heritage-dialog,#civilization-council,#reform-council)>header button{border:1px solid var(--hud-line);background:var(--hud-recess);width:30px;height:30px;color:var(--hud-ink);font:20px/1 var(--cc-text);border-radius:3px;place-items:center;padding:0;display:grid;position:absolute;top:12px;right:12px;transform:none;box-shadow:inset 0 1px #c8b98b22}#hud :is(#heritage-dialog,#civilization-council,#reform-council)>header button:hover{background:var(--hud-active)}#hud :is(#heritage-dialog,#civilization-council,#reform-council) :is(button,summary):focus-visible{outline-offset:-3px;outline:2px solid #ead29a}#hud :is(.heritage-content,.council-cards,.reform-cards){overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--hud-sand) var(--hud-recess);min-height:0;overflow-y:auto}#hud #heritage-dialog .heritage-content{gap:12px;padding:12px}#hud #heritage-dialog .heritage-content h3{color:#e5c68d;font:400 15px/1.2 var(--cc-display);letter-spacing:.02em;text-transform:none;margin:0 0 8px}#hud #heritage-dialog .hx-hero{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='240'%20height='120'%20viewBox='0%200%20240%20120'%20fill='none'%3e%3cg%20stroke='%23c9ab73'%20stroke-opacity='.34'%20stroke-width='1'%3e%3cpath%20d='M8%208h224v104H8Zm5%205h214v94H13'/%3e%3cpath%20d='M24%2018v17h17M199%2018v17h17M24%20102V85h17M199%20102V85h17'/%3e%3cpath%20d='M92%2098q28-11%2056%200m-46-1-8-11%2014%206m5%203-4-16%2011%2013m8%203%204-16-11%2013m17%205%208-11-14%206'/%3e%3cpath%20d='m120%2014%205%205-5%205-5-5Z'%20fill='%23c9ab73'%20fill-opacity='.22'/%3e%3cpath%20d='M30%2019h73m34%200h73M30%20101h51m78%200h51'/%3e%3c/g%3e%3c/svg%3e") 50%/100% 100% no-repeat,linear-gradient(115deg,#d0bb91,#b7a47d);border:1px solid #e1c89b;border-radius:3px;grid-template-columns:48px minmax(0,1fr) 74px;align-items:center;gap:10px;padding:14px 12px;display:grid;position:relative;box-shadow:inset 0 0 0 3px #6b5a3e44,0 2px 4px #17221a44}#hud #heritage-dialog .hx-hero-copy{min-width:0}#hud #heritage-dialog .hx-hero strong{color:#302d24;text-shadow:0 1px #ead8b066;font:400 25px/1.1 var(--cc-display);margin:3px 0}#hud #heritage-dialog .hx-hero small{color:#514937;font:600 9px/1.4 var(--cc-text);letter-spacing:.05em}#hud #heritage-dialog .hx-hero span{color:#54462f;font:600 11px/1.35 var(--cc-text)}#hud #heritage-dialog .hx-trait{color:#39392b;font:11px/1.45 var(--cc-text);grid-column:1/-1;margin-top:7px;display:block}#hud #heritage-dialog .hx-hero-monument{border-left:1px solid #79694755;justify-content:center;align-self:stretch;align-items:center;display:flex}#hud #heritage-dialog .hx-hero-monument .piece-portrait{object-fit:contain;filter:drop-shadow(0 3px 2px #59492c44);width:74px;height:80px}#hud #heritage-dialog .hx-path{background:linear-gradient(90deg,#0000,#c7ae6f0c,#0000);border-block:1px solid #b49c6d44;padding:10px 4px}#hud #heritage-dialog .hx-medal{background:radial-gradient(circle at 35% 25%,#696c56,#343f34);border-color:#93977b;width:48px;height:48px}#hud #heritage-dialog .hx-path:before{background:linear-gradient(90deg, #c8a464 var(--done,0%), #69715c 0);top:34px}#hud #heritage-dialog .hx-step.is-now .hx-medal{border-color:#e8c88b;box-shadow:0 0 0 3px #b28d4555,inset 0 0 0 2px #e6bf6533}#hud #heritage-dialog .hx-step.is-next .hx-medal{border-color:#bca778;animation:none}#hud #heritage-dialog .hx-step span{color:#e3ddc9;font:10px/1.35 var(--cc-text)}#hud #heritage-dialog .hx-next{background:#272f29;border:1px solid #a28e624d;border-radius:3px;padding:10px 12px;box-shadow:inset 3px 0 #a08b5b}#hud #heritage-dialog .hx-next[data-state=ready]{background:#424835;border-color:#baa169}#hud #heritage-dialog .hx-next p{color:#e7dfc8;font:11px/1.4 var(--cc-text)}#hud #heritage-dialog .hx-act{background:var(--hud-active);border-color:var(--hud-bronze);color:var(--hud-ink)}#hud #heritage-dialog .hx-bar{box-shadow:none;background:#1e2922;height:3px}#hud #heritage-dialog .hx-bar i{background:#b3ad76}#hud #heritage-dialog .hx-next[data-state=halt] .hx-bar i{background:#c58b6c}#hud #heritage-dialog .hx-seals{grid-template-columns:repeat(auto-fit,minmax(min(165px,100%),1fr));gap:6px}#hud #heritage-dialog .hx-reform{text-align:left;color:#eee2c4;min-height:50px;font:11px/1.35 var(--cc-text);background:linear-gradient(110deg,#514d3b,#3a4136);border:1px solid #aa91604d;border-radius:3px;flex-direction:row;justify-content:flex-start;gap:9px;padding:8px}#hud #heritage-dialog .hx-seal{flex:none;width:32px;height:32px;font-size:13px}#hud #heritage-dialog .hx-seal svg{filter:none}#hud #heritage-dialog .hx-reform.is-open .hx-seal{background:#343c30;border:1px dashed #b9a372;animation:none}#hud #heritage-dialog .hx-chip{background:linear-gradient(120deg,#485043,#353f34);border:1px solid #a8956355;border-left:2px solid #a5b181;border-radius:3px;flex-direction:row;align-items:center;gap:10px;padding:10px}#hud #heritage-dialog .hx-chip b{color:#d6d9ab;font:400 20px var(--cc-display);flex:none}#hud #heritage-dialog .hx-chip.is-cost{border-left-color:#bc8e70}#hud #heritage-dialog .hx-chip.is-cost b{color:#e4b998}#hud #heritage-dialog :is(.hx-chip span,.hx-empty,.hx-source,.hx-sources p){color:var(--hud-muted);font:11px/1.45 var(--cc-text)}#hud #heritage-dialog :is(.hx-sources,.hx-dossier){background:#272f2933;border:1px solid #a8956344;border-radius:3px;padding:10px}#hud #heritage-dialog :is(summary,.hx-source strong){color:#d9c6a1}#hud #heritage-dialog .culture-manuscript{border-color:var(--hud-line);background:var(--hud-recess);box-shadow:none;margin-top:10px;padding:12px}#hud #heritage-dialog .culture-manuscript :is(p,li,dd){color:var(--hud-muted);font:12px/1.5 var(--cc-text)}#hud #heritage-dialog .culture-manuscript :is(h3,h4,dt){color:var(--hud-ink)}#hud #civilization-council .council-cards{padding:14px}#hud #civilization-council .heritage-cards{grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px}#hud #civilization-council .culture-choice{border:1px solid var(--hud-line);background:var(--hud-recess);border-radius:4px;transition:border-color .15s;animation:none;transform:none;box-shadow:inset 0 1px #cbbb8b22}#hud #civilization-council .culture-choice:is(:hover,:focus-within){border-color:var(--hud-bronze);box-shadow:inset 0 0 0 1px var(--hud-bronze);transform:none}#hud #civilization-council .heritage-card{color:var(--hud-ink);box-shadow:none;background:0 0}#hud #civilization-council .choice-stage{border-color:var(--hud-line);height:220px}#hud #civilization-council .choice-stage .civ-scene{filter:none}#hud #civilization-council .choice-head{border-bottom:1px solid var(--hud-line);background:#30382ef2;gap:8px;padding:10px;inset:0 0 auto}#hud #civilization-council .heritage-card-copy{text-shadow:none}#hud #civilization-council .heritage-card-copy small{color:var(--hud-muted);font:10px/1.3 var(--cc-text);opacity:1}#hud #civilization-council .heritage-card-copy strong{color:var(--hud-ink);font:400 21px/1.15 var(--cc-display)}#hud #civilization-council .choice-style{box-shadow:none;color:#dcc99d;white-space:normal;font:11px/1.3 var(--cc-text);background:0 0;margin:2px 0 0;padding:0}#hud #civilization-council .choice-stage canvas{filter:drop-shadow(0 2px 2px #15291b55);max-height:126px}#hud #civilization-council .choice-guard canvas{max-height:132px}#hud #civilization-council .choice-figure{background:var(--hud-inset);flex-wrap:wrap;padding:10px 12px}#hud #civilization-council .choice-ability{white-space:normal;background:var(--hud-recess);color:var(--hud-ink);box-shadow:inset 0 0 0 1px var(--hud-line);border-radius:3px}#hud #civilization-council .choice-unit-copy small{color:var(--hud-muted)}#hud #civilization-council .civ-bonus{color:var(--hud-ink);box-shadow:none;font:12px/1.45 var(--cc-text);background:0 0;padding:12px}#hud #civilization-council .civ-bonus-trait{background:var(--hud-inset);color:var(--hud-ink);box-shadow:inset 2px 0 var(--hud-bronze);font:12px/1.45 var(--cc-text)}#hud #civilization-council .civ-bonus-trait :is(b,small){color:var(--hud-ink)}#hud #civilization-council .civ-bonus-list{gap:7px}#hud #civilization-council .civ-bonus-list .is-cost{color:#f0bda6}#hud #civilization-council :is(.civ-bonus-legacy,.civ-bonus-edict){color:var(--hud-muted);font:12px/1.45 var(--cc-text)}#hud #civilization-council .choice-action{background:var(--hud-active);color:var(--hud-ink);font:400 15px/1.2 var(--cc-display);letter-spacing:0;border-color:#bca16b;margin:4px 12px 12px}#hud #civilization-council .culture-choice:is(:hover,:focus-within) .choice-action{color:#fff0cf;background:#75663c}#hud #civilization-council .choice-details{color:var(--hud-muted);padding:0 12px 12px}#hud #civilization-council .choice-details summary{color:#e6cca1;font:12px var(--cc-text);letter-spacing:0;text-transform:none}#hud #reform-council .reform-lead{width:100%;color:var(--hud-muted);text-align:left;font:12px/1.45 var(--cc-text)}#hud #reform-council .reform-cards{grid-template-columns:repeat(auto-fit,minmax(min(210px,100%),1fr));gap:12px;padding:14px}#hud #reform-council .reform-card{border-color:var(--hud-line);background:var(--hud-recess);color:var(--hud-ink);grid-template-rows:52px auto 1fr auto;align-content:stretch;gap:12px;padding:16px 12px 12px;transition:border-color .15s;animation:none;transform:none;box-shadow:inset 0 1px #cbbb8b22}#hud #reform-council .reform-card:is(:hover,:focus-visible){border-color:var(--hud-bronze);box-shadow:inset 0 0 0 1px var(--hud-bronze);transform:none}#hud #reform-council .reform-seal{width:52px;height:52px;box-shadow:inset 0 0 0 2px #d0b87a66,0 2px 4px #17251d66}#hud #reform-council .reform-card strong{color:var(--hud-ink);font:400 21px/1.2 var(--cc-display);letter-spacing:0}#hud #reform-council .reform-gains{border-color:var(--hud-line);text-align:left;color:#ccdda7;font:12px/1.5 var(--cc-text);align-content:start;gap:8px;padding-top:12px}#hud #reform-council .reform-rule{color:var(--hud-muted);font-weight:400}#hud #reform-council .reform-cost{border:1px solid var(--hud-line);background:var(--hud-active);width:100%;color:var(--hud-ink);font:600 12px/1.3 var(--cc-text);border-radius:3px;padding:8px}#hud #heritage-reform-controls{gap:10px;display:grid}#hud #heritage-reform-controls:has(>#reform-council[hidden]){display:none}#hud #reform-edict{background:linear-gradient(110deg,#65583c,#414735);border:1px solid #b99b65;border-image:;border-radius:3px;padding:10px;box-shadow:inset 0 0 0 3px #dcc4910b}#hud #heritage-reform-controls #reform-council{border:1px solid var(--hud-line);background:var(--hud-recess);border-image:;width:100%;max-height:none;position:static;inset:auto;overflow:visible;transform:none;box-shadow:none!important}#hud #heritage-reform-controls #reform-council>header{padding:10px 44px 10px 12px}#hud #heritage-reform-controls #reform-council h2{font-size:20px}#hud #heritage-reform-controls #reform-council .reform-cards{grid-template-columns:minmax(0,1fr);gap:8px;padding:10px;overflow:visible}#hud #heritage-reform-controls #reform-council .reform-card{text-align:left;grid-template-rows:auto auto auto;grid-template-columns:40px minmax(0,1fr);justify-items:start;gap:8px 10px;padding:12px}#hud #heritage-reform-controls .reform-seal{grid-row:1/3;width:40px;height:40px}#hud #heritage-reform-controls .reform-card strong{font-size:18px}#hud #heritage-reform-controls .reform-gains{grid-column:2;gap:5px;padding-top:8px}#hud #heritage-reform-controls .reform-cost{grid-column:1/-1}#hud #heritage-reform-controls .reform-card:first-child{border-left:3px solid #a7b082}#hud #heritage-reform-controls .reform-card:nth-child(2){border-left:3px solid #c5ac75}#hud #heritage-reform-controls .reform-card:nth-child(3){border-left:3px solid #bd927c}#hud .build-slot{min-width:0;height:84px;position:relative}#hud .context-help-button{color:#ead4a7;width:23px;height:23px;font:600 13px/1 var(--cc-text);pointer-events:auto;cursor:pointer;background:#354034;border:1px solid #b49b6e;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}#hud .context-help-button:hover,#hud .context-help-button[aria-expanded=true]{color:#fff0ce;background:#75613e}#hud .build-slot>.context-help-button{width:20px;height:20px;font-size:12px;position:absolute;top:3px;right:3px}#hud .hx-hero>.context-help-button{position:absolute;top:5px;right:5px}#hud .cost-free{color:#d7dcb0;font:600 10px/1.2 var(--cc-text)}#hud :is(#bp-role,#bp-rally){display:none}#hud #bp-title .context-help-button{margin-left:4px}#hud #context-help{z-index:210;left:16px;bottom:calc(var(--hud-dock-height) + 28px);color:#e9dec4;pointer-events:auto;width:min(360px,100vw - 32px);max-height:min(440px,68dvh);font:12px/1.6 var(--cc-text);background:#303b32;border:1px solid #bca174;border-radius:5px;flex-direction:column;gap:10px;padding:14px;display:flex;position:absolute;box-shadow:0 8px 24px #15201999}#hud #context-help>strong{font:400 18px var(--cc-display);padding-right:28px}#hud #context-help>button{color:#ecd7ab;background:#44503d;border:1px solid #b49b6e;border-radius:3px;width:25px;height:25px;position:absolute;top:8px;right:8px}#hud .context-help-body{overscroll-behavior:contain;white-space:pre-line;min-height:0;overflow-y:auto}#hud #context-help .culture-manuscript{box-shadow:none;background:0 0;border:0;margin:0;padding:0}#hud #context-help :is(p,li,dd){color:#d5d3bd;font:12px/1.6 var(--cc-text)}#hud #context-help :is(h3,h4,dt,summary){color:#e8cea0;font:400 15px/1.4 var(--cc-display)}#hud #context-help .hx-sources{border-top:1px solid #b49b6e44;padding-top:12px}#hud #left-dock #reform-edict-box{width:min(252px,100%)}#hud #left-dock #reform-edict{width:100%;min-width:0}#hud #heritage-toggle{height:74px;box-shadow:none;background:0 0;border:0;border-radius:0;padding:0}#hud #heritage-toggle:is(:hover,[aria-expanded=true]){box-shadow:none;filter:brightness(1.14);background:0 0;border:0}#hud #heritage-toggle svg{filter:drop-shadow(0 3px 3px #17221877);width:66px;height:74px}#hud .relic-ribbon{transform-origin:38px 12px;animation:7s ease-in-out infinite relic-cloth}#hud .relic-aura{animation:8s ease-in-out infinite relic-light}@keyframes relic-cloth{0%,to{transform:skewY(-2deg)}50%{transform:skewY(3deg)}}@keyframes relic-light{0%,to{opacity:.55}50%{opacity:.85}}@media (width<=700px){#hud #heritage-toggle{width:54px;height:58px;padding:0;top:84px}#hud #heritage-toggle svg{width:52px;height:58px}#hud #heritage-dialog{width:auto;max-height:calc(100dvh - 158px);inset:150px 8px 8px}#hud :is(#civilization-council,#reform-council){width:calc(100vw - 16px);max-height:calc(100dvh - 24px)}#hud :is(#civilization-council .heritage-cards,#reform-council .reform-cards){grid-template-columns:minmax(0,1fr)}#hud #reform-council .reform-card{text-align:left;grid-template-rows:auto auto auto;grid-template-columns:42px minmax(0,1fr);justify-items:start;gap:8px 12px;padding:12px}#hud #reform-council .reform-seal{grid-row:1/3;width:42px;height:42px}#hud #reform-council .reform-gains{grid-column:2;padding-top:8px}#hud #reform-council .reform-cost{grid-column:1/-1}}@media (width<=1100px){#hud{--hud-map-width:208px;--hud-map-height:130px}#hud #top-bar{max-width:calc(100% - 130px);padding-inline:3px}#hud #top-bar .res{min-width:44px;padding-inline:6px}#hud #top-bar .res small,#hud #top-bar #top-sky{display:none}#hud #match-status.conquest-status{top:72px}#hud #left-dock{top:166px}#hud #command-dock:has(#build-menu-container:not(.hidden)) #selection-panel{flex-basis:148px}#hud #sel-portrait{flex-basis:44px;width:44px;height:58px}#hud #sel-portrait .piece-portrait{width:42px;height:54px}#hud #sel-name{font-size:15px}#hud #building-panel:not(.hidden){grid-template-columns:48px minmax(110px,160px) minmax(0,1fr)}}@media (width<=849px){#hud{--hud-map-width:176px;--hud-map-height:110px}#hud #top-bar:before,#hud #top-bar:after{content:none}#hud #top-bar{max-width:calc(100% - 106px);margin-inline:0;top:6px;left:8px;right:auto;transform:none}#hud :is(#heritage-bar,#civ-badge){max-width:135px;padding-right:6px}#hud #heritage-bar .heritage-bar-label{font-size:12px}#hud #top-bar .res{gap:3px;min-width:38px;padding-inline:4px}#hud #top-bar .res b{font-size:12px}#hud #top-bar .res-icon{width:16px;height:16px}#hud #help-container{gap:6px;top:10px;right:8px}#hud #match-status.conquest-status{max-width:220px;top:70px}#hud #command-dock{bottom:8px;left:8px;right:auto}#hud #minimap{bottom:8px;right:8px}#hud #match-roster:not([data-expanded=true]){right:8px;bottom:calc(var(--hud-map-height) + 16px)}#hud #mobile-command-bar{left:auto;right:8px;bottom:calc(var(--hud-dock-height) + 106px);width:var(--hud-map-width)}#hud #mobile-command-bar button{background:var(--hud-inset);color:var(--hud-ink);border-color:#af9660}#hud #selection-panel{flex-direction:column;align-items:stretch;gap:6px}#hud #sel-single{flex-basis:auto}#hud #formation-stance-panel{border-left:0;border-top:1px solid var(--hud-line);gap:4px;padding:4px 0 0}#hud #formation-stance-panel .hud-group-label,#hud #sel-desc{display:none}#hud #building-panel:not(.hidden){grid-template-columns:48px minmax(0,1fr);gap:4px 8px}#hud #building-panel:not(.hidden)>.bp-medallion{grid-area:1/1}#hud #building-panel:not(.hidden)>.bp-info{grid-area:1/2}#hud #building-panel:not(.hidden)>#bp-body{border:0;border-top:1px solid var(--hud-line);grid-area:2/1/auto/-1;padding:4px 0 0}#hud .bp-medallion{width:48px;height:48px}#hud #bp-portrait{width:38px;height:38px}#hud #bp-portrait .piece-portrait{width:34px;height:34px}#hud #building-panel #bp-trains{flex-wrap:nowrap;padding:2px;overflow-x:auto}#hud #building-panel #bp-trains .tcard{flex:0 0 68px}#hud #left-dock{max-width:220px;display:flex;top:160px}#hud #left-dock>*{max-width:100%;position:static}}@media (width<=600px){#hud{--hud-dock-height:232px;--hud-map-width:136px;--hud-map-height:85px}#hud #top-bar{border-width:8px;grid-template-columns:repeat(6,minmax(0,1fr));gap:3px 0;width:auto;max-width:none;min-height:72px;padding:2px 0;display:grid;left:8px;right:8px}#hud :is(#heritage-bar,#civ-badge){flex-direction:row;grid-column:1/5;justify-content:flex-start;align-items:center;max-width:none;padding-left:4px}#hud #heritage-bar .heritage-bar-label{font-size:13px}#hud .heritage-bar-heading{flex:1;min-width:0}#hud #age-research{flex:0 72px;max-width:72px;font-size:9px}#hud #top-bar .res{grid-row:2;justify-content:center;min-width:0;min-height:28px;padding:2px}#hud #top-bar .res b{font-size:11px}#hud #top-bar #idle-villagers{min-width:0;margin-left:0;padding:2px}#hud #morale-chip{display:none}#hud #help-container{gap:5px;top:12px;right:16px}#hud :is(#help-btn,#battle-menu){border-width:3px;width:29px;height:29px;padding:0}#hud #heritage-toggle{right:12px}#hud #heritage-toggle svg{width:52px;height:58px}#hud :is(#heritage-bar,#civ-badge){grid-column:1/4}#hud :is(#help-btn,#battle-menu) svg{width:17px;height:17px}#hud #match-status.conquest-status{width:195px;max-width:calc(100% - var(--hud-map-width) - 30px);top:102px;left:10px}:is(#hud #command-dock,#hud #command-dock:has(#build-menu-container:not(.hidden)),#hud #command-dock:has(#building-panel:not(.hidden)):not(:has(#bp-body>:not(:empty):not([hidden])))){width:auto;min-height:0}#hud #command-dock{flex-direction:column;gap:5px;max-height:42dvh;bottom:8px;left:8px;right:8px}#hud #command-dock:has(#build-menu-container:not(.hidden)) #selection-panel{border:0;border-bottom:1px solid var(--hud-line);flex:none;min-height:50px;padding:0 0 5px}#hud #sel-single{gap:8px;width:100%}#hud #sel-portrait{flex-basis:42px;width:42px;height:48px}#hud #sel-portrait .piece-portrait{width:38px;height:44px}#hud #sel-details{gap:3px}#hud #sel-glance{flex-direction:row;justify-content:space-between;align-items:center;gap:10px}#hud .sel-health{width:100px}#hud #sel-logistics{font-size:11px}#hud #build-menu-container{flex:1;min-height:84px}#hud .build-group-cards{grid-template-columns:repeat(7,78px);grid-auto-columns:78px}#hud .build-categories button{min-height:30px}#hud #build-menu-container.is-placing #build-menu-trigger{bottom:calc(100% + 72px)}#hud #minimap{bottom:calc(var(--hud-dock-height) + 22px);right:10px}#hud #match-roster:not([data-expanded=true]){width:var(--hud-map-width);top:146px;bottom:auto;right:10px}#hud #match-roster:not([data-expanded=true]) ol{border-width:7px;max-height:112px}#hud #match-roster:not([data-expanded=true]) li{grid-template-columns:17px minmax(0,1fr) auto;gap:4px;min-height:25px}#hud #match-roster:not([data-expanded=true]) li>b.roster-civ{width:17px;height:17px}#hud #match-roster:not([data-expanded=true]) .roster-civ .civ-emblem{width:16px;height:16px}#hud #match-roster:not([data-expanded=true]) li>div>strong{font-size:11px}#hud #match-roster:not([data-expanded=true]) .roster-power>strong{font-size:12px}#hud #mobile-command-bar{left:10px;right:auto;bottom:calc(var(--hud-dock-height) + 22px);width:150px}#hud #left-dock{max-width:52vw;top:190px;left:10px}#hud #help-tooltip{max-height:calc(100dvh - 115px);top:82px;right:-6px}#hud #match-roster[data-expanded=true]{top:96px}#hud #command-dock:not(:has(#build-menu-container:not(.hidden))){min-height:128px}}@media (height<=560px) and (width>=601px){#hud{--hud-map-width:176px;--hud-map-height:110px}#hud #command-dock{max-height:48dvh}#hud #match-status.conquest-status{top:66px}#hud #left-dock{top:134px}#hud #sel-desc{display:none}}:root[data-high-contrast=true] #hud{--hud-ink:#fff8e2;--hud-muted:#f0dfb9;--hud-line:#d3ba8e}:root[data-high-contrast=true] #hud :is(#top-bar,#command-dock,#match-status,#help-tooltip){color:var(--hud-ink);background:#303b2d}:root[data-high-contrast=true] #hud .resource-cost.is-missing{color:#ffc2ab;text-decoration-style:solid}:root[data-reduced-motion=true] #hud *,:root[data-reduced-motion=true] #hud :before,:root[data-reduced-motion=true] #hud :after{transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){:root:not([data-reduced-motion=false]) #hud *,:root:not([data-reduced-motion=false]) #hud :before,:root:not([data-reduced-motion=false]) #hud :after{transition:none!important;animation:none!important}}#hud #top-bar .res[role=button]{cursor:pointer}#hud #top-bar .res[role=button]:focus-visible{outline-offset:-2px;outline:2px solid #e2c286}#hud .economy-panel{z-index:45;pointer-events:auto;background:var(--hud-grain), var(--hud-surface);width:min(440px,100% - 32px);max-height:calc(100% - 140px);color:var(--hud-ink);font:12px/1.35 var(--cc-text);border:1px solid #bda57b;border-radius:6px;padding:10px 12px;position:absolute;top:62px;left:50%;overflow:auto;transform:translate(-50%);box-shadow:0 8px 22px #0008}#hud .economy-panel h3{font:400 14px/1.2 var(--cc-display);color:var(--hud-ink);margin:0 0 6px}#hud .economy-panel table{table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums;width:100%}#hud .economy-panel th:first-child{width:22%}#hud .economy-panel th{text-align:right;vertical-align:bottom;white-space:normal;overflow-wrap:anywhere;font:600 10px/1.15 var(--cc-text);color:var(--hud-muted);border-bottom:1px solid var(--hud-line);padding:2px 4px}#hud .economy-panel th:first-child,#hud .economy-panel td:first-child{text-align:left}#hud .economy-panel td{text-align:right;border-bottom:1px solid #bda57b22;padding:3px 4px}#hud .economy-panel tr[data-resource=gold] td:first-child{color:#e8be61}#hud .economy-panel tr[data-resource=food] td:first-child{color:#d7c878}#hud .economy-panel tr[data-resource=wood] td:first-child{color:#d29c6a}#hud .economy-panel tr[data-resource=stone] td:first-child{color:#c3c2b1}#hud .economy-panel p{margin:6px 0 0}#hud .economy-panel .economy-note{color:var(--hud-muted);font-size:11px}@media (width<=600px){#hud .economy-panel{padding:8px;font-size:11px;top:92px}}#hud #command-dock:has(#bp-market:not([hidden])){width:min(980px, calc(100% - var(--hud-map-width) - 38px));height:min(46dvh,380px);max-height:none}#hud #building-panel:not(.hidden):has(#bp-market:not([hidden])){grid-template:"med info trains queue""market market market market"minmax(0,1fr)/40px auto auto minmax(0,1fr);align-self:stretch;align-items:center;gap:6px 10px;height:100%;min-height:0;overflow:hidden}#hud #building-panel:has(#bp-market:not([hidden]))>.bp-medallion{grid-area:med;width:40px;height:40px}#hud #building-panel:has(#bp-market:not([hidden])) #bp-portrait{width:32px;height:32px}#hud #building-panel:has(#bp-market:not([hidden])) #bp-portrait .piece-portrait{width:30px;height:30px}#hud #building-panel:has(#bp-market:not([hidden]))>.bp-info{grid-area:info;gap:2px;min-width:0}#hud #building-panel:has(#bp-market:not([hidden])) :is(#bp-role,#bp-hint,#bp-logistics,#bp-rally){display:none}#hud #building-panel #bp-body:has(#bp-market:not([hidden])){display:contents}#hud #building-panel #bp-body:has(#bp-market:not([hidden]))>#bp-trains{grid-area:trains}#hud #building-panel #bp-body:has(#bp-market:not([hidden]))>#bp-queue{flex-wrap:nowrap;grid-area:queue;justify-self:start}#hud #building-panel #bp-body:has(#bp-market:not([hidden]))>#bp-trains .tcard{text-align:left;flex:none;grid-template-rows:auto auto;grid-template-columns:26px auto auto;align-items:center;gap:0 6px;width:auto;height:auto;min-height:0;padding:3px 8px 3px 4px;display:grid}#hud #building-panel #bp-body:has(#bp-market:not([hidden]))>#bp-trains .tcard>.ic{grid-row:1/3}#hud #building-panel #bp-body:has(#bp-market:not([hidden]))>#bp-trains .tcard>.tm{grid-area:1/3/3;position:static}#hud #building-panel #bp-body:has(#bp-market:not([hidden]))>#bp-trains .tcard .ic{height:28px}#hud #building-panel #bp-body:has(#bp-market:not([hidden]))>#bp-trains .tcard .piece-portrait{width:26px;height:28px}#hud #building-panel #bp-body:has(#bp-market:not([hidden]))>#bp-queue .qitem{width:24px;height:24px}#hud #building-panel #bp-body>#bp-market:not([hidden]){border-top:1px solid var(--hud-line);grid-area:market;align-self:stretch;min-height:0;margin:0;padding-top:6px}#hud .market-panel{--mk-gold:#f2d27a;--mk-ok:#9fcf8a;--mk-warn:#e8b85c;--mk-bad:#e48a74;min-width:0;min-height:0;font:12px/1.35 var(--cc-text);color:var(--hud-ink);grid-template-rows:auto minmax(0,1fr);gap:6px;display:grid}#hud .market-panel .market-tabs{border-bottom:1px solid var(--hud-line);gap:2px;display:flex}#hud .market-panel .market-tabs button{color:var(--hud-muted);font:600 11.5px var(--cc-text);cursor:pointer;background:0 0;border:1px solid #0000;border-bottom:0;border-radius:4px 4px 0 0;margin-bottom:-1px;padding:4px 12px 5px}#hud .market-panel .market-tabs button:hover{color:var(--hud-ink)}#hud .market-panel .market-tabs button[aria-selected=true]{border-color:var(--hud-line);background:var(--hud-recess);color:var(--mk-gold)}#hud .market-panel .market-body{scrollbar-width:thin;align-content:start;gap:6px;min-height:0;padding-right:2px;display:grid;overflow:auto}#hud .market-panel h4{font:600 11px var(--cc-text);color:var(--hud-muted);text-transform:uppercase;letter-spacing:.04em;margin:2px 0 0}#hud .market-panel p{margin:0}#hud .market-panel button{color:var(--hud-ink);font:600 11px var(--cc-text);cursor:pointer;background:#3a3f37;border:1px solid #bda57b88;border-radius:3px;padding:3px 8px}#hud .market-panel button:hover:not(:disabled){border-color:#f0cb7b}#hud .market-panel button[aria-pressed=true]{background:var(--hud-active);border-color:#f2d89e}#hud .market-panel button:disabled{opacity:.42;cursor:default}#hud .market-panel input[type=number]{background:var(--hud-recess);width:70px;color:var(--hud-ink);font:600 11.5px var(--cc-text);font-variant-numeric:tabular-nums;border:1px solid #bda57b88;border-radius:3px;padding:3px 6px}#hud .market-panel input[type=number]:focus{outline:1px solid var(--mk-gold);border-color:var(--mk-gold)}#hud .market-panel .market-note{color:var(--hud-muted);font-size:11px}#hud .market-panel .market-done{color:var(--mk-ok);font-size:11px;font-weight:600}#hud .market-panel .market-why{color:var(--mk-warn);font-size:11px}#hud .market-panel .market-empty{border:1px dashed var(--hud-line);color:var(--hud-muted);border-radius:4px;padding:8px;font-size:11.5px}#hud .market-panel .market-goods{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}#hud .market-panel button.market-good{text-align:left;background:var(--hud-recess);border-color:var(--hud-line);border-radius:4px;grid-template-columns:1fr auto;align-items:baseline;gap:1px 6px;padding:5px 7px;display:grid}#hud .market-panel button.market-good[aria-pressed=true]{border-color:var(--mk-gold);background:linear-gradient(#5a4c30,#3d3628);box-shadow:inset 0 0 0 1px #f2d27a33}#hud .market-panel .mg-name{font:600 12px var(--cc-text);align-items:center;gap:4px;display:inline-flex}#hud .market-panel .mg-stock{font:600 12px var(--cc-text);font-variant-numeric:tabular-nums}#hud .market-panel .mg-price{font:10.5px var(--cc-text);color:var(--hud-muted);font-variant-numeric:tabular-nums;grid-column:1/-1}#hud .market-panel .market-seg{flex-wrap:wrap;align-items:center;gap:3px;display:flex}#hud .market-panel .market-seg button{min-width:42px}#hud .market-panel .market-deals{grid-template-columns:1fr 1fr;gap:5px;display:grid}#hud .market-panel .market-deal{border:1px solid var(--hud-line);background:var(--hud-recess);border-radius:4px;align-content:start;gap:3px;padding:6px 8px;display:grid}#hud .market-panel .market-deal.sell{border-left:3px solid var(--mk-gold)}#hud .market-panel .market-deal.buy{border-left:3px solid #8fb6c9}#hud .market-panel .md-head{justify-content:space-between;align-items:center;gap:6px;display:flex}#hud .market-panel .md-head h4{color:var(--hud-ink);margin:0}#hud .market-panel .md-head button{padding:1px 6px;font-size:10.5px}#hud .market-panel .md-row{color:var(--hud-muted);justify-content:space-between;gap:6px;font-size:11.5px;display:flex}#hud .market-panel .md-row>:last-child{color:var(--hud-ink);font-variant-numeric:tabular-nums;font-weight:600}#hud .market-panel button.market-go{color:#fff4d6;background:linear-gradient(#7b6338,#54462c);border-color:#e2c27f;margin-top:2px;padding:5px 8px;font-size:11.5px}#hud .market-panel button.market-go:disabled{color:var(--hud-muted);background:#3a3f37;border-color:#bda57b55}#hud .market-panel .market-cap{color:var(--hud-muted);gap:3px;font-size:11px;display:grid}#hud .market-panel .market-bar{background:#1d211f;border-radius:3px;height:6px;display:flex;overflow:hidden;box-shadow:inset 0 0 0 1px #0005}#hud .market-panel .market-bar>span{background:linear-gradient(90deg, #b8913e, var(--mk-gold));height:100%;transition:width .3s;display:block}#hud .market-panel .market-bar.stacked>.done{background:var(--mk-ok)}#hud .market-panel .market-bar.stacked>.road{background:var(--mk-gold)}#hud .market-panel .market-bar.stacked>.lost{background:var(--mk-bad)}#hud .market-panel .market-summary{background:var(--hud-recess);color:var(--hud-muted);border-radius:4px;flex-wrap:wrap;justify-content:space-between;gap:4px 10px;padding:4px 8px;font-size:11px;display:flex}#hud .market-panel .market-summary>:first-child{color:var(--mk-gold);font-weight:600}#hud .market-panel .market-pick{border:1px solid var(--mk-gold);color:#fff1cc;background:#4a3f26;border-radius:4px;align-items:center;gap:8px;padding:6px 8px;font-size:11.5px;animation:1.6s ease-in-out infinite market-pick;display:flex}#hud .market-panel .market-pick>span{flex:1}@keyframes market-pick{50%{box-shadow:0 0 0 2px #f2d27a44}}@media (prefers-reduced-motion:reduce){#hud .market-panel .market-pick{animation:none}}#hud .market-panel .market-route{border:1px solid var(--hud-line);background:var(--hud-recess);border-radius:4px;gap:4px;padding:0;display:grid}#hud .market-panel div.market-route{padding:6px 8px}#hud .market-panel .market-route.picking{border-color:var(--mk-gold)}#hud .market-panel .mr-summary{cursor:pointer;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;padding:6px 8px;list-style:none;display:grid}#hud .market-panel .mr-summary::-webkit-details-marker{display:none}#hud .market-panel .mr-summary:hover{background:#ffffff08}#hud .market-panel .mr-summary:focus-visible{outline:1px solid var(--mk-gold);outline-offset:-1px}#hud .market-panel .mr-title{align-items:center;gap:6px;min-width:0;display:flex}#hud .market-panel div.market-route>.mr-title{justify-content:space-between}#hud .market-panel .mr-title strong{font:600 12.5px var(--cc-text);color:#f2e3bb;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#hud .market-panel .mr-line{color:var(--hud-muted);font-variant-numeric:tabular-nums;flex-wrap:wrap;grid-column:1;gap:2px 12px;font-size:11px;display:flex}#hud .market-panel .mr-quick{grid-area:1/2/3;align-items:center;gap:6px;display:flex}#hud .market-panel .mr-caret{color:var(--hud-muted);text-align:center;width:10px;font-size:11px}#hud .market-panel .mr-more{border-top:1px solid #bda57b26;gap:5px;padding:6px 8px 7px;display:grid}#hud .market-panel .mr-chips{flex-wrap:wrap;gap:3px;display:flex}#hud .market-panel .chip{font:600 10.5px var(--cc-text);white-space:nowrap;border:1px solid;border-radius:9px;padding:1px 6px}#hud .market-panel .chip.ok{color:var(--mk-ok)}#hud .market-panel .chip.warn{color:var(--mk-warn)}#hud .market-panel .chip.bad{color:var(--mk-bad)}#hud .market-panel .chip.muted{color:var(--hud-muted)}#hud .market-panel .mr-facts{grid-template-columns:auto 1fr;gap:1px 10px;margin:0;font-size:11px;display:grid}#hud .market-panel .mr-facts dt{color:var(--hud-muted)}#hud .market-panel .mr-facts dd{color:var(--hud-ink);font-variant-numeric:tabular-nums;margin:0}#hud .market-panel .mr-ops{flex-wrap:wrap;gap:3px;display:flex}#hud .market-panel .mr-ops button[data-act=delete]{color:var(--mk-bad);border-color:#e48a7466;margin-left:auto}#hud .market-panel .aid-label{color:var(--hud-muted);margin-right:4px;font-size:11px}#hud .market-panel .aid-plan{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;display:grid}#hud .market-panel .aid-row{justify-content:space-between;align-items:center;gap:6px;display:flex}#hud .market-panel .aid-row>span{align-items:center;gap:4px;display:inline-flex}#hud .market-panel .aid-row small{color:var(--hud-muted);font-variant-numeric:tabular-nums}@media (width<=849px){#hud #command-dock:has(#bp-market:not([hidden])){width:calc(100% - var(--hud-map-width) - 38px);height:min(48dvh,340px)}#hud #building-panel:not(.hidden):has(#bp-market:not([hidden])){grid-template-columns:34px minmax(0,1fr) auto;grid-template-areas:"med info trains""market market market"}#hud #building-panel #bp-body:has(#bp-market:not([hidden]))>#bp-queue{display:none}#hud .market-panel .market-deals{grid-template-columns:1fr}}@media (width<=600px){#hud #command-dock:has(#bp-market:not([hidden])){height:50dvh}#hud .market-panel{font-size:11px}#hud .market-panel .market-goods,#hud .market-panel .aid-plan{grid-template-columns:1fr}}#hud #left-dock{pointer-events:none;gap:4px;width:184px;max-width:184px;top:72px;left:0}#hud #left-dock #realm-herald{pointer-events:none;isolation:isolate;flex:none;width:184px;max-width:100%;min-height:166px;display:flow-root;position:relative}#realm-herald .herald-art{filter:drop-shadow(2px 4px 3px #140e0873);width:100%;height:auto;display:block;position:absolute;inset:0;overflow:visible}#realm-herald .herald-jester{transform-origin:40px 84px;animation:5s ease-in-out infinite herald-breathe}#realm-herald .herald-horn{transform-origin:63px 47px;animation:5s ease-in-out infinite herald-blow}#realm-herald .herald-flag{transform-origin:124px 49px;transition:opacity .3s;animation:7s ease-in-out infinite herald-cloth}#realm-herald:has(#civilization-decree:not([hidden]),#reform-edict-box:not([hidden])) .herald-flag{opacity:0}#realm-herald .herald-cord{opacity:0;transition:opacity .35s}#realm-herald:has(#civilization-decree:not([hidden]),#reform-edict-box:not([hidden])) .herald-cord{opacity:1}#realm-herald .herald-pennants{filter:drop-shadow(1px 5px 4px #140e0880);pointer-events:none;flex-direction:column;gap:5px;width:52.5%;margin-top:38.5%;padding-bottom:6px;display:flex;position:relative;left:33.7%}#hud #realm-herald #reform-edict-box{width:100%;margin:0;position:static}#hud #realm-herald :is(#civilization-decree,#reform-edict){--cloth-top:#46684f;--cloth-bottom:#22382b;background:repeating-linear-gradient(0deg, #fff0c809 0 1px, transparent 1px 3px), linear-gradient(90deg, #00000038, #fff0c80f 22%, transparent 46%, #0000002e 78%, #fff0c80d), linear-gradient(var(--cloth-top), var(--cloth-bottom));color:#f6e5bd;clip-path:polygon(0 0,100% 0,100% 100%,50% calc(100% - 13px),0 100%);width:100%;min-width:0;min-height:64px;font-family:var(--cc-text);text-align:center;text-shadow:0 1px 1px #142224;pointer-events:auto;cursor:pointer;transform-origin:50% 0;border:0;border-image:;border-radius:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;margin:0;padding:12px 9px 24px;transition:filter .18s;animation:.65s cubic-bezier(.22,.65,.3,1) both herald-unfurl,10s ease-in-out .65s infinite herald-cloth;display:flex;position:relative;inset:auto;transform:none;box-shadow:inset 0 4px #e2b65c,inset 0 5px #3c230a80}#hud #realm-herald #reform-edict{--cloth-top:#93393a;--cloth-bottom:#571f24}#hud #realm-herald :is([data-state=ready],[data-state=open]){animation-name:herald-ready,herald-cloth}#hud #realm-herald :is(#civilization-decree,#reform-edict):before{content:"";pointer-events:none;background:0 0;border:1px solid #e2b65cb3;border-bottom:0;border-radius:0;width:auto;height:auto;position:absolute;inset:8px 5px 16px;box-shadow:inset 0 0 0 2px #0000001f}#hud #realm-herald :is(#civilization-decree,#reform-edict):after{content:"";opacity:.85;pointer-events:none;background:repeating-linear-gradient(90deg,#f0c769 0 2px,#0000 2px 4px);border:0;border-radius:0;width:auto;height:3px;position:absolute;bottom:14px;left:5px;right:5px}#hud #realm-herald :is(#civilization-decree,#reform-edict):hover{filter:brightness(1.17);padding:12px 9px 24px}#hud #realm-herald :is(#civilization-decree,#reform-edict):focus-visible{filter:brightness(1.16);outline:0;box-shadow:inset 0 0 0 3px #fff1b9}#hud #realm-herald :is(#civilization-decree,#reform-edict) strong{color:#ffebbc;font:400 15px/1.15 var(--cc-display);letter-spacing:0;white-space:normal;overflow-wrap:normal}#hud #realm-herald :is(#civilization-decree,#reform-edict) small{color:#e5d8bd;font:11px/1.25 var(--cc-text)}#hud #realm-herald .edict-seal{display:none}#hud #realm-herald :is(.edict-progress,.decree-progress){background:linear-gradient(90deg, #edcb7e var(--progress,0%), #111d244d var(--progress,0%));border-radius:2px;width:auto;height:3px;display:none;position:absolute;inset:auto 12px 19px;overflow:hidden}#hud #realm-herald [data-state=underway] :is(.edict-progress,.decree-progress),#hud #realm-herald [data-state=paused] .decree-progress{display:block}#hud #realm-herald [data-state=paused]{--cloth-top:#6b6052;--cloth-bottom:#45403a}#hud #left-dock #production-watch{width:calc(100% - 10px);margin-left:10px}@keyframes herald-breathe{0%,65%,to{transform:rotate(-1deg)}25%,40%{transform:rotate(2deg)translateY(-1.5px)}}@keyframes herald-blow{0%,65%,to{transform:rotate(0)}25%,40%{transform:rotate(-2deg)}}@keyframes herald-unfurl{0%{opacity:0;transform:scaleY(.08)}to{opacity:1;transform:scaleY(1)}}@keyframes herald-ready{0%{opacity:0;transform:scaleY(.08)}to{opacity:1;transform:scaleY(1)}}@keyframes herald-cloth{0%,to{transform:skew(-1deg)}50%{transform:skew(1.6deg)}}@media (width<=849px),(height<=650px){#hud #left-dock{width:176px;max-width:176px;top:116px}#hud #left-dock #realm-herald{width:176px;min-height:160px}#hud #realm-herald :is(#civilization-decree,#reform-edict){min-height:66px;padding-inline:7px}#hud #realm-herald :is(#civilization-decree,#reform-edict) strong{font-size:13px}#hud #realm-herald :is(#civilization-decree,#reform-edict) small{font-size:10px}}@media (prefers-reduced-motion:reduce){:root:not([data-reduced-motion=false]) #realm-herald :is(.herald-jester,.herald-horn,.herald-flag,#civilization-decree,#reform-edict){animation:none}}:root[data-reduced-motion=true] #realm-herald :is(.herald-jester,.herald-horn,.herald-flag,#civilization-decree,#reform-edict){animation:none}}.civ-emblem{vertical-align:middle;flex:none;display:inline-block;overflow:visible}.civ-name{align-items:center;gap:.55em;display:flex}.civ-name>.civ-emblem{flex-shrink:0}.unit-civ-emblem{position:absolute;bottom:-3px;right:-3px}#sel-portrait,.sel-grid-item{position:relative;overflow:visible}#civ-badge .cb-emblem{align-items:center;display:flex}.heritage-bar-emblem{flex:none;align-items:center;display:flex}.heritage-bar-heading>.heritage-bar-label{flex:1}.room-seat-art{position:relative}.room-seat-art>.civ-emblem{position:absolute;bottom:-4px;right:-4px}#match-roster li>.roster-civ{border-color:#0000}.roster-civ>.civ-emblem{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.roster-seat-number{min-width:10px;color:var(--seat-color);font:700 9px/11px var(--font-ui);text-align:center;background:#182522;border:1px solid;border-radius:2px;padding:0 1px;position:absolute;bottom:-7px;left:-6px}#hud #tutorial-guide{pointer-events:auto;z-index:42;width:328px;max-height:calc(100dvh - 280px);color:var(--u-text);background:var(--panel-alpha);border:1px solid var(--u-line-strong);border-radius:var(--r);box-shadow:var(--panel-shadow);scrollbar-width:thin;scrollbar-color:var(--brass-lo) transparent;font-family:Cradlecrown Text,serif;position:absolute;top:108px;left:18px;overflow:auto}#tutorial-guide .tutorial-heading{border-bottom:1px solid var(--u-line);align-items:center;gap:11px;padding:15px 16px 12px;display:flex}#tutorial-guide .tutorial-heading h2{color:var(--u-text);margin:3px 0 0;font:21px/1.12 Cradlecrown Display,serif}#tutorial-guide small{color:var(--u-text-3);letter-spacing:.08em;font:10px/1.4 Cradlecrown Text,serif;display:block}#tutorial-guide .tutorial-heading small{color:var(--brass);font-size:9px}#tutorial-guide .tutorial-number{height:40px;color:var(--brass-hi);border:1px solid var(--brass-lo);background:var(--brass-wash);border-radius:15px 15px 3px 3px;flex:0 0 36px;place-items:center;font:21px Cradlecrown Display,serif;display:grid}#tutorial-guide .tutorial-chapter-toggle{flex-shrink:0;margin-left:auto;padding:5px 7px;font-size:10px}.tutorial-body{padding:12px 16px 0}#tutorial-guide p{margin:0;font-size:13px;line-height:1.55}#tutorial-guide .tutorial-voice{border-bottom:1px solid var(--u-line);background:linear-gradient(90deg,var(--brass-wash),transparent 70%);margin:0;padding:12px 16px 12px 18px}#tutorial-guide .tutorial-voice cite{letter-spacing:.1em;text-transform:uppercase;color:var(--brass);margin-bottom:3px;font:9px/1.3 Cradlecrown Text,serif;display:block}#tutorial-guide .tutorial-voice p{color:var(--u-text-2);font-size:13.5px;font-style:italic}#tutorial-guide .tutorial-instruction{border-left:3px solid var(--brass);background:#0000001f;padding:13px 16px}#tutorial-guide .tutorial-instruction small{color:var(--brass-hi);margin-bottom:5px;font-size:9px}#tutorial-guide .tutorial-steps{margin:6px 0 0;padding-left:19px;font-size:13px;line-height:1.5}#tutorial-guide .tutorial-steps li{margin-bottom:7px;padding-left:3px}#tutorial-guide .tutorial-steps li:last-child{margin-bottom:0}#tutorial-guide .tutorial-steps li::marker{color:var(--brass);font-weight:600}.tutorial-completion{background:#9cc77a12;border:1px solid #9cc77a4d;border-radius:3px;margin-bottom:12px;padding:9px 11px}#tutorial-guide .tutorial-completion small{color:var(--good);margin-bottom:4px;font-size:9px}#tutorial-guide .tutorial-completion p{color:var(--u-text-2);font-size:12px}#tutorial-guide .tutorial-checklist{gap:6px;margin:0 0 12px;padding:0;list-style:none;display:grid}.tutorial-checklist li{color:var(--u-text-3);gap:9px;font-size:12px;line-height:1.4;display:flex}.tutorial-checklist li:before{content:"◇";color:var(--u-5)}.tutorial-checklist li.is-done{color:var(--good)}.tutorial-checklist li.is-done:before{content:"✓";color:var(--good)}.tutorial-checklist li.is-current{color:var(--u-text)}.tutorial-checklist li.is-current:before{content:"◆";color:var(--brass)}.tutorial-why{border-top:1px solid var(--u-line);padding:9px 0 2px}#tutorial-guide .tutorial-why summary{cursor:pointer;color:var(--u-text-2);font-size:12px}#tutorial-guide .tutorial-why p{color:var(--u-text-3);margin-top:6px;font-size:11.5px}#tutorial-guide .tutorial-actions{background:var(--u-1);border-top:1px solid var(--u-line);flex-wrap:wrap;gap:7px;padding:12px 16px 15px;display:flex;position:sticky;bottom:0}.tutorial-chapters{background:var(--u-0);border-block:1px solid var(--u-line);grid-template-columns:1fr;gap:4px;max-height:240px;padding:10px 16px;display:grid;overflow:auto}#tutorial-guide .tutorial-chapters button{text-align:left}.tutorial-chapters button[aria-current=true]{border-color:var(--brass)!important;color:var(--brass-hi)!important}:is(#tutorial-guide,.tutorial-cinema) button{color:var(--u-text-2);border:1px solid var(--u-line-strong);cursor:pointer;background:#fff4e20a;border-radius:3px;padding:8px 11px;font:12px/1.3 Cradlecrown Text,serif}:is(#tutorial-guide,.tutorial-cinema) button:hover{border-color:var(--brass-lo);color:var(--u-text);background:#fff4e217}:is(#tutorial-guide,.tutorial-cinema) button:focus-visible{outline:2px solid var(--brass-hi);outline-offset:2px}:is(#tutorial-guide,.tutorial-cinema) .tutorial-primary{background:var(--brass);color:var(--brass-ink);border-color:var(--brass-hi);font-weight:600}:is(#tutorial-guide,.tutorial-cinema) .tutorial-primary:hover{background:var(--brass-hi);color:var(--brass-ink)}#hud .tutorial-marker{border:2px solid var(--brass-hi);pointer-events:none;z-index:8;border-radius:50%;width:45px;height:45px;animation:1.8s ease-in-out infinite tutorial-marker;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 6px #d8a64f29,0 2px 6px #0009}.tutorial-marker:before{content:"";border:7px solid #0000;border-top-color:var(--brass-hi);position:absolute;top:-19px;left:13px}@keyframes tutorial-marker{50%{box-shadow:0 0 0 11px #d8a64f12,0 2px 6px #0009}}#hud .tutorial-highlight{outline:2px solid var(--brass-hi);outline-offset:-2px;box-shadow:inset 0 0 16px #d8a64f4d}#hud[data-tutorial] #left-dock{top:var(--tutorial-guide-bottom,400px)}#hud[data-tutorial] #production-watch{display:none}#hud[data-tutorial]:has(#tutorial-guide:not([data-lesson=reform]):not([data-lesson=age])) #left-dock{display:none}#hud[data-tutorial] :is(#mobile-command-bar,#match-status){display:none}#hud .tutorial-cue{z-index:44;pointer-events:none;max-width:min(600px,100vw - 420px);color:var(--u-text);border:1px solid var(--u-line-strong);box-shadow:var(--panel-shadow);background:linear-gradient(90deg,#1a1613f0,#24201de6);border-radius:48px 10px 10px 48px;align-items:center;gap:14px;padding:10px 22px 10px 10px;animation:.55s cubic-bezier(.2,.8,.2,1) both tutorial-cue-in;display:flex;position:absolute;top:86px;left:50%;transform:translate(-50%)}#hud .tutorial-cue[hidden]{display:none}#hud .tutorial-cue.is-leaving{animation:.6s ease-in forwards tutorial-cue-out}.tutorial-cue p{color:var(--u-text);margin:0;font:italic 15px/1.45 Cradlecrown Text,serif}.tutorial-speaker{flex-direction:column;flex:none;align-items:center;gap:2px;display:flex}.tutorial-speaker span{letter-spacing:.09em;text-transform:uppercase;color:var(--brass);white-space:nowrap;font:9px/1.2 Cradlecrown Text,serif}.tutorial-speaker .tutorial-vignette{background:radial-gradient(circle at 50% 70%,var(--u-4),var(--u-1));width:52px;height:52px;box-shadow:inset 0 0 0 1px var(--brass-lo);border-radius:50%;overflow:hidden}@keyframes tutorial-cue-in{0%{opacity:0;transform:translate(-50%,-14px)}}@keyframes tutorial-cue-out{to{opacity:0;transform:translate(-50%,-8px)}}#hud .tutorial-cinema{z-index:60;pointer-events:none;color:var(--u-text);flex-direction:column;justify-content:space-between;font-family:Cradlecrown Text,serif;display:flex;position:absolute;inset:0}#hud .tutorial-cinema[hidden]{display:none}.tutorial-cinema:before{content:"";pointer-events:none;background:radial-gradient(at 50% 45%,#0000 45%,#0a08068c);position:absolute;inset:0}#hud[data-tutorial-cinema=true]>:not(.tutorial-cinema,.tutorial-veil,#tutorial-guide,.tutorial-marker){opacity:0;pointer-events:none;transition:opacity .45s}.cinema-bar{pointer-events:auto;background:#14110f;position:relative}.cinema-top{border-bottom:1px solid #d8a64f47;align-items:center;gap:30px;min-height:74px;padding:12px clamp(16px,3vw,40px);animation:.8s cubic-bezier(.2,.8,.2,1) both cinema-top;display:flex}.cinema-bottom{scrollbar-width:thin;scrollbar-color:var(--brass-lo) transparent;border-top:1px solid #d8a64f47;max-height:58dvh;padding:24px clamp(16px,3vw,40px) 26px;animation:.8s cubic-bezier(.2,.8,.2,1) both cinema-bottom;overflow:auto}@keyframes cinema-top{0%{transform:translateY(-100%)}}@keyframes cinema-bottom{0%{transform:translateY(100%)}}.cinema-act small{letter-spacing:.16em;color:var(--brass);font-size:9.5px;display:block}.cinema-act strong{color:var(--u-text);white-space:nowrap;margin-top:3px;font:22px/1.1 Cradlecrown Display,serif;display:block}.cinema-stage{grid-template-columns:132px minmax(0,1fr) minmax(250px,330px);align-items:start;gap:clamp(18px,2.6vw,36px);max-width:1240px;margin:0 auto;display:grid}.cinema-stage>.tutorial-vignette{background:radial-gradient(circle at 50% 68%,var(--u-4),var(--u-0) 72%);border-radius:50%;width:132px;height:132px;overflow:hidden;box-shadow:inset 0 0 0 1px #d8a64f59,0 0 0 6px #d8a64f0f}.tutorial-vignette :is(svg,img,canvas){object-fit:contain;filter:drop-shadow(0 6px 4px #0005);width:100%;height:100%}.cinema-heading small{letter-spacing:.14em;text-transform:uppercase;color:var(--brass);font-size:10px;display:block}.cinema-heading h2{color:var(--u-text);margin:5px 0 14px;font:clamp(24px,2.6vw,32px)/1.1 Cradlecrown Display,serif}.cinema-story{cursor:default}.cinema-story p{max-width:68ch;margin:0 0 10px}.cinema-narration{color:var(--u-text);animation:1s ease-out both cinema-narrate;animation-delay:calc(var(--i,0) * 1.5s + .5s);font-size:16px;line-height:1.62}.cinema-story.is-told .cinema-narration{animation:none}.cinema-lesson{color:var(--u-text-2);border-left:2px solid var(--good);background:#9cc77a0f;padding:10px 14px;font-size:13.5px;line-height:1.55;margin-top:14px!important}@keyframes cinema-narrate{0%{opacity:0;filter:blur(2px);transform:translateY(6px)}}.cinema-side{gap:14px;display:grid}.tutorial-mission{background:linear-gradient(150deg,#d8a64f1f,#d8a64f08);border:1px solid #d8a64f52;border-radius:3px;padding:14px 16px}.tutorial-mission small{letter-spacing:.14em;color:var(--brass);font-size:9.5px;display:block}.tutorial-mission strong{color:var(--u-text);margin-top:6px;font-size:14.5px;font-weight:500;line-height:1.45;display:block}.tutorial-mission>span{color:var(--u-text-3);margin-top:5px;font-size:12px;font-style:italic;display:block}.tutorial-outline{color:var(--u-text-2);margin:10px 0 0;padding-left:18px;font-size:12.5px;line-height:1.75}.tutorial-outline li::marker{color:var(--brass)}.tutorial-tally{color:var(--brass-hi);font:18px Cradlecrown Display,serif;display:block}.tutorial-cinema .tutorial-actions{flex-wrap:wrap;gap:8px;display:flex}.tutorial-cinema .tutorial-primary{flex:1 0 100%;padding:11px 14px;font-size:14px}.tutorial-route{align-items:center;gap:0;margin:0 0 0 auto;padding:0;list-style:none;display:flex}.tutorial-route li{align-items:center;display:flex;position:relative}.tutorial-route li+li:before{content:"";background:#d8a64f4d;width:clamp(8px,1.4vw,20px);height:1px}.tutorial-route li.opens-act{margin-left:clamp(8px,1.2vw,16px)}.tutorial-route li.opens-act:before{background:#d8a64f59;width:1px;height:26px;margin-right:clamp(8px,1.2vw,16px)}.tutorial-route :is(button,span){place-items:center;width:26px;height:26px;display:grid;color:var(--u-text-3)!important;border:1px solid var(--u-line-strong)!important;background:#1c1815!important;border-radius:50%!important;padding:0!important;font:11px/1 Cradlecrown Text,serif!important}.tutorial-route li[data-state=done] :is(button,span){background:var(--brass-lo)!important;color:var(--brass-ink)!important;border-color:var(--brass)!important}.tutorial-route li[data-state=done]+li:before,.tutorial-route li[data-state=current]:before{background:var(--brass)}.tutorial-route li[data-state=current] :is(button,span){width:32px;height:32px;box-shadow:0 0 0 4px #d8a64f2e;color:var(--brass-ink)!important;background:var(--brass)!important;border-color:var(--brass-hi)!important}.tutorial-route li[data-state=skipped] :is(button,span){border-style:dashed!important}.tutorial-route button:hover{color:var(--u-text)!important;border-color:var(--brass)!important}#hud .tutorial-veil{z-index:80;text-align:center;opacity:0;pointer-events:auto;background:radial-gradient(#1f1a16,#0b0908 70%);place-content:center;justify-items:center;gap:8px;font-family:Cradlecrown Text,serif;display:grid;position:fixed;inset:0}#hud .tutorial-veil[hidden]{display:none}#hud .tutorial-veil.is-falling{animation:.65s ease-in forwards veil-fall}#hud .tutorial-veil.is-lifting{animation:.7s ease-out forwards veil-lift}.tutorial-veil>*{animation:1s ease-out .55s both veil-line}.tutorial-veil-act{letter-spacing:.3em;color:var(--brass);font-size:11px}.tutorial-veil-title{color:var(--u-text);margin-bottom:14px;font:clamp(34px,5vw,58px)/1.05 Cradlecrown Display,serif}.tutorial-veil-time{color:var(--u-text-2);font:italic clamp(20px,2.4vw,28px)/1.2 Cradlecrown Text,serif;animation-delay:.75s!important}.tutorial-veil-place{letter-spacing:.18em;text-transform:uppercase;color:var(--u-text-3);font-size:12px;animation-delay:.95s!important}.tutorial-veil[data-act=true] .tutorial-veil-time:before{content:"";background:var(--brass-lo);width:56px;height:1px;margin:0 auto 16px;display:block}@keyframes veil-fall{0%{opacity:0}to{opacity:1}}@keyframes veil-lift{0%{opacity:1}to{opacity:0}}@keyframes veil-line{0%{opacity:0;transform:translateY(8px)}}@media (width<=1100px){.cinema-stage{grid-template-columns:minmax(0,1fr) minmax(230px,300px)}.cinema-stage>:first-child{display:none}.cinema-top{gap:16px}.tutorial-route li+li:before{width:6px}}@media (width<=760px){.cinema-stage{grid-template-columns:1fr}.cinema-top{flex-wrap:wrap;min-height:0}.tutorial-route{flex-wrap:wrap;row-gap:6px;margin:0}.cinema-narration{font-size:14.5px}#hud .tutorial-cue{max-width:calc(100vw - 32px);top:70px}}@media (width<=900px){#hud #tutorial-guide{width:280px;max-height:calc(100dvh - 250px);top:90px;left:8px}#tutorial-guide .tutorial-heading{padding:12px}#tutorial-guide .tutorial-heading h2{font-size:19px}.tutorial-body{padding:12px 12px 0}#tutorial-guide .tutorial-instruction,#tutorial-guide .tutorial-actions{padding:12px}}@media (height<=650px){#hud #tutorial-guide{max-height:calc(100dvh - 230px);top:74px}.cinema-bottom{max-height:64dvh;padding-block:16px}.cinema-narration{font-size:14px}}@media (prefers-reduced-motion:reduce){.cinema-top,.cinema-bottom,.cinema-narration,#hud .tutorial-cue,#hud .tutorial-marker,.tutorial-veil>*{animation:none!important}}:root[data-reduced-motion=true] :is(.cinema-top,.cinema-bottom,.cinema-narration,.tutorial-cue,.tutorial-marker){animation:none!important}@font-face{font-family:Cradlecrown Display;src:url(/assets/cradlecrown-display-Do7XFNn_.woff)format("woff");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Cradlecrown Text;src:url(/assets/cradlecrown-text-regular-CLp5lHJs.woff)format("woff");font-weight:100 499;font-style:normal;font-display:swap}@font-face{font-family:Cradlecrown Text;src:url(/assets/cradlecrown-text-medium-DERY28B4.woff)format("woff");font-weight:500 649;font-style:normal;font-display:swap}@font-face{font-family:Cradlecrown Text;src:url(/assets/cradlecrown-text-bold-CWoHzwVq.woff)format("woff");font-weight:650 900;font-style:normal;font-display:swap}
