/* A fixed compass table, illustrated tokens and visible construction goals. */
.v5 .table-and-workshop{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(250px,1fr);gap:18px;align-items:start}.v5 .table-and-workshop .direction-wall{margin-top:12px}.v5 .table-and-workshop .wonder-workshop{margin-top:12px;padding:0;border:0}.v5 .table-and-workshop .workshop-projects.planning{grid-template-columns:1fr}.v5 .table-and-workshop .workshop-loop{font-size:9px;line-height:1.8}.v5 .table-and-workshop .wonder-workshop>header{min-height:23px}.v5 .table-and-workshop .workshop-projects.has-projects{grid-template-columns:1fr}.v5 .table-and-workshop .wonder-project{flex-direction:column;padding:9px 13px 13px;gap:0}.v5 .table-and-workshop .project-scene{width:157px;height:98px;flex-basis:auto}.v5 .table-and-workshop .project-copy{width:100%}.v5 .table-and-workshop .wonder-plan{min-height:80px}.v5 .table-and-workshop .direction-heading small{display:none}.v5 .table-and-workshop .direction-piles{padding-left:26px;padding-right:26px}.v5 .table-and-workshop .direction-pile{width:145px;padding-left:9px;padding-right:9px;gap:8px}.v5 .table-and-workshop .direction-pile.direction-center{width:138px}.v5 .table-and-workshop .pile-inspector{padding:12px 8px 3px}.v5 .table-and-workshop .pile-face-art{width:23px;height:32px}.v5 .table-and-workshop .pile-suit{gap:5px}.v5 .table-and-workshop .pile-face-grid{gap:4px}.v5 .table-and-workshop .copy-marks{gap:2px}.v5 .table-and-workshop .copy-mark{width:5px;height:7px}
@media(max-width:1100px){.v5 .table-and-workshop{display:flex;flex-direction:column;gap:2px}.v5 .table-and-workshop>.direction-wall,.v5 .table-and-workshop>.wonder-workshop{width:100%}.v5 .table-and-workshop .workshop-projects.planning{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.v5 .table-and-workshop .wonder-project{flex-direction:row;gap:12px}.v5 .table-and-workshop .project-scene{width:130px;flex:0 0 130px;height:103px}.v5 .table-and-workshop .wonder-plan{min-height:72px}.v5 .table-and-workshop .direction-heading small{display:block}}
@media(max-width:600px){.v5 .table-and-workshop .direction-piles{padding-left:20px;padding-right:20px}.v5 .table-and-workshop .direction-pile,.v5 .table-and-workshop .direction-pile.direction-center{width:90px;padding-left:5px;padding-right:5px;gap:5px}.v5 .table-and-workshop .workshop-projects.planning{grid-template-columns:repeat(2,minmax(0,1fr))}.v5 .table-and-workshop .wonder-plan{min-height:0}.v5 .table-and-workshop .project-scene{flex-basis:90px;width:90px}.v5 .table-and-workshop .wonder-project{gap:5px;padding:10px 9px 10px 0}.v5 .table-and-workshop .copy-mark{width:4px}.v5 .table-and-workshop .pile-face-art{width:22px;height:30px}}
.wonder-project.newly-built{animation:architecture-arrives 1.25s ease-out}.wonder-project.newly-built .wonder-illustration{animation:architecture-illuminates 1.1s ease-out}
@keyframes architecture-arrives{0%{box-shadow:0 0 0 1px #ebd391,0 0 36px #e9d39170;background-color:#a8924755}100%{box-shadow:0 0 0 0 transparent}}
@keyframes architecture-illuminates{0%{opacity:.25;transform:translateY(8px)}65%{filter:drop-shadow(0 0 14px #e5c78580)}100%{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.wonder-project.newly-built,.wonder-project.newly-built .wonder-illustration{animation:none}}
.wonder-illustration{display:block;width:100%;height:100%;overflow:visible}.wonder-illustration .planned{opacity:.2;filter:saturate(.1)}.wonder-illustration.is-blueprint .planned{opacity:.48;filter:saturate(.2)}.wonder-illustration .built{opacity:1}.wonder-illustration.is-complete{filter:drop-shadow(0 0 10px #dac07b20)}
.wonder-workshop{margin:13px 0 8px;padding:13px 0 0;border-top:1px solid #b5c29a35}.wonder-workshop>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.wonder-workshop>header>span{display:flex;align-items:center;gap:12px}.wonder-workshop>header b{font-size:11px;letter-spacing:2px;color:#d8d3af}.wonder-workshop>header small{font-size:9px;color:#99b197}.wonder-workshop>header button{font-size:9px;padding:5px 9px}.workshop-loop{font-size:9px;color:#a6bea3;line-height:1.7;margin:0 0 9px}.workshop-projects{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px}.workshop-projects.planning{grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}
.wonder-plan{display:flex;align-items:center;gap:5px;text-align:left;min-width:0;background:#092c242b;border:1px solid #88a0733d;border-radius:7px;padding:4px 10px 5px 3px;transition:background .2s,border-color .2s}.wonder-plan:hover{background:#37563d60;border-color:#cfb67b}.plan-scene{flex:0 0 88px;height:62px}.wonder-plan>span:last-child{display:flex;flex-direction:column;gap:6px;min-width:0}.wonder-plan b{font:700 15px 'Songti SC',serif;letter-spacing:2px;color:#e0d4b0}.wonder-plan small{font-size:9px;color:#b8caae}.wonder-plan em{font-size:8px;color:#c8b887;font-style:normal;line-height:1.5}
.wonder-project{display:flex;align-items:center;min-width:0;gap:12px;border:1px solid #8da97a66;border-radius:8px;padding:10px 13px 10px 2px;text-align:left;background:linear-gradient(125deg,#315b435e,#173b3066);transition:border-color .2s,background .2s}.wonder-project:hover{border-color:#dbc282;background:#3d5a3d80}.wonder-project.complete{border-color:#d6bb73;background:linear-gradient(125deg,#655a2d52,#244c3652);box-shadow:inset 0 1px #ead79915}.project-scene{flex:0 0 139px;height:112px}.project-copy{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}.project-heading{display:flex;align-items:center;gap:10px}.project-heading>b{font:700 17px 'Songti SC',serif;letter-spacing:2px;color:#ebdbb2}.project-heading>small,.project-stage{font-size:9px;color:#dcca96;border:1px solid #b6a77166;border-radius:3px;padding:3px 6px}.project-ability{font-size:10px;line-height:1.7;color:#d2dec4}.project-next{font-size:9px;line-height:1.7;color:#a8bda0}.project-action{font-size:9px;color:#a7b69c;line-height:1.5}.project-action.ready{color:#ecd194;font-weight:600}.wonder-progress{display:flex;align-items:center;gap:10px}.wonder-progress>div{display:flex;gap:4px;flex:1;max-width:140px}.wonder-progress i{display:block;flex:1;height:5px;border:1px solid #82977750;border-radius:2px;background:#0e30274a}.wonder-progress i.filled{background:linear-gradient(90deg,#a8bc8c,#e0c781);border-color:#d4cb92}.wonder-progress>span{font-size:9px;color:#bfcbaa;white-space:nowrap}
.v5 .illustrated-blueprint{padding:15px;gap:12px;background:linear-gradient(150deg,#31544288,#142f27d9);border-color:#90a57870}.v5 .illustrated-blueprint .blueprint-scene{display:block;height:141px;position:relative;border-bottom:1px solid #b9b47d2b;margin:-3px 0 0}.blueprint-scene>span{position:absolute;right:0;top:0;font-size:8px;color:#c3c39a;border:1px solid #869b6c65;padding:3px 6px;border-radius:3px}.illustrated-blueprint>header{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.v5 .illustrated-blueprint h3{font:700 21px 'Songti SC',serif;letter-spacing:2px;color:#ebdbb2}.illustrated-blueprint>header small{font-size:9px;color:#a7bfa1}.v5 .illustrated-blueprint>p{font-size:11px;line-height:1.8;color:#dde3cd;flex:none}.illustrated-blueprint>p>b,.illustrated-blueprint>small>b{display:block;font-size:9px;font-weight:500;color:#97b08d;letter-spacing:1px;margin-bottom:3px}.illustrated-blueprint>small{line-height:1.8;font-size:10px;flex:1}.v5 .illustrated-blueprint .blueprint-stages{display:flex;flex-wrap:wrap;gap:5px;align-items:center;padding:8px 0;border-top:1px solid #82976c2e;border-bottom:1px solid #82976c2e;color:#d8cba1;font-size:9px}.blueprint-stages i{font-style:normal;color:#7f9e79}.building-cost{display:flex!important;gap:7px!important}.building-cost span{font-size:10px;border:1px solid #b390584f;background:#5d4a292b;border-radius:4px;padding:5px 8px;color:#c4ae82}.building-cost span.funded{border-color:#a6c18470;color:#cfe3b4;background:#72885826}.blueprint-reason{font-size:9px;color:#b6c5a8;line-height:1.7;min-height:16px}
.construction-forecast{max-width:680px;margin:8px auto 15px;text-align:left}.construction-forecast>span{display:flex;align-items:baseline;gap:10px;font-size:10px;line-height:1.8;padding:8px 12px;border-left:2px solid #bfc186;background:#3e603b63;border-radius:3px;color:#d6e0bb}.construction-forecast b{font-size:9px;color:#f2d99e;white-space:nowrap}.construction-forecast .will-complete{border-color:#f3d48b;background:#89723c38}
.wonder-detail-hero{display:flex;align-items:center;gap:20px;padding:5px 0 20px;border-bottom:1px solid #95a77850}.wonder-detail-hero>div{width:43%;height:195px;flex-shrink:0}.wonder-detail-hero>section{flex:1}.wonder-detail-hero h3{font:700 25px 'Songti SC',serif;color:#ecd5a2;margin:13px 0 8px}.wonder-detail-hero p{font-size:12px;line-height:1.9}.wonder-detail-hero .wonder-progress{margin:13px 0}.wonder-detail-hero small{font-size:10px;color:#b9c9aa;line-height:1.8;display:block}.wonder-ability-panel{background:#0b291f55;border:1px solid #879b6c55;border-radius:6px;padding:15px;margin:18px 0}.wonder-ability-panel h3{font-size:12px;color:#e8d09b}.wonder-ability-panel>p,.wonder-condition{font-size:11px;line-height:1.9}.wonder-ability-panel .detail-actions{flex-wrap:wrap;margin-top:12px}.wonder-ability-panel .detail-actions button{font-size:11px;padding:10px 14px}.carry-options{display:flex;flex-wrap:wrap;gap:10px;margin-top:13px}.carry-option{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px;border-radius:6px;background:#284b38;border:1px solid #8d9e75;min-width:96px}.carry-option.chosen{border-color:#e8cc86;background:#5b623a;box-shadow:0 0 0 1px #e8cc8670}.carry-tiles{display:flex;gap:5px}.carry-tiles i{display:block;width:30px;height:42px;border-radius:3px;background:#eee1bd;padding:2px;box-shadow:0 3px #a5a188}.carry-tiles svg{width:100%;height:100%}.carry-option>b{font-size:12px;color:#e8d3a4}.carry-option>small{font-size:9px;color:#b8cba6}
@media(max-width:850px){.project-scene{flex-basis:103px;height:103px}.project-heading>b{font-size:15px}.workshop-projects{grid-template-columns:1fr}.v5 .illustrated-blueprint{padding:12px}.wonder-detail-hero{gap:12px}}
@media(max-width:600px){.workshop-projects.planning{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.wonder-plan{flex-direction:column;padding:5px 6px 9px;gap:0;text-align:center}.plan-scene{flex-basis:auto;width:96px;height:61px}.wonder-plan b{font-size:14px}.wonder-plan small{font-size:8px}.wonder-plan em{font-size:8px}.workshop-loop{font-size:8px}.workshop-projects.has-projects{gap:8px}.wonder-project{padding:10px 9px 10px 0;gap:5px}.project-scene{flex-basis:92px;height:100px}.project-copy{gap:6px}.project-ability{font-size:9px}.project-next{font-size:8px}.project-heading{gap:7px}.project-heading>b{font-size:15px}.project-heading>small{font-size:8px}.wonder-progress>span{font-size:8px}.wonder-progress{gap:7px}.project-action{font-size:8px}.wonder-detail-hero{flex-direction:column;gap:2px;align-items:stretch}.wonder-detail-hero>div{width:100%;height:161px}.wonder-detail-hero h3{font-size:22px}.wonder-detail-hero .wonder-progress>div{max-width:none}.v5 .blueprint-grid{grid-template-columns:1fr}.v5 .illustrated-blueprint .blueprint-scene{height:146px}.illustrated-blueprint>header small{font-size:10px}.construction-forecast>span{font-size:9px;gap:7px;flex-wrap:wrap}.wonder-ability-panel{padding:12px}.wonder-ability-panel .detail-actions button{font-size:10px;padding:9px 11px}.carry-option{min-width:80px;padding:9px}}
.v5 .direction-wall{background:transparent;border:0;padding:0;margin-top:18px}
.v5 .direction-heading{padding:0 4px;margin-bottom:9px}.v5 .direction-heading b{color:#ead7a7;letter-spacing:3px}
.v5 .direction-piles{position:relative;display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr 1fr;align-items:center;justify-items:center;gap:7px 10px;padding:25px 40px 29px;height:314px;background:url('table-felt.svg') center/100% 100% no-repeat;isolation:isolate;filter:drop-shadow(0 8px 8px #001b1759)}
.v5 .direction-pile{width:168px;max-width:100%;height:75px;padding:9px 14px;gap:13px;flex-direction:row;border:1px solid #9db08c40;background:linear-gradient(140deg,#45664d80,#17372dd1);border-radius:7px;box-shadow:0 4px 7px #031d193d;transition:background .2s,box-shadow .2s,border-color .2s}
.v5 .direction-pile.direction-north{grid-area:1/2}.v5 .direction-pile.direction-west{grid-area:2/1}.v5 .direction-pile.direction-center{grid-area:2/2}.v5 .direction-pile.direction-east{grid-area:2/3}.v5 .direction-pile.direction-south{grid-area:3/2}
.v5 .direction-pile.direction-center{border-color:#b7976559;background:linear-gradient(140deg,#6b5c3c80,#304333);width:154px}
.v5 .direction-pile:hover,.v5 .direction-pile:focus-visible{background:#4b6243;border-color:#e5c681;box-shadow:0 0 18px #e6c77715,0 5px 8px #031d193d}
.v5 .direction-pile.last-drawn{border-color:#e2bd73;box-shadow:0 0 0 1px #d2af6459,0 0 22px #e4be661c;background:linear-gradient(140deg,#726538b3,#32503a)}
.v5 .direction-pile.inspecting{outline:1px solid #eeda9a;outline-offset:3px}.v5 .direction-token{width:34px;height:47px;flex-basis:34px;border-color:#eee2bd;box-shadow:0 3px #b5ac86,0 5px #152c23}
.v5 .pile-summary>b{justify-content:space-between;font-size:10px}.v5 .pile-summary strong{font-size:23px}.v5 .pile-summary>small{text-align:left;font-size:8px}.v5 .pile-backs{height:17px;justify-content:flex-start;margin-top:3px}.v5 .pile-backs .wall-stack{height:10px;flex:1;max-width:12px}
.v5 .draw-receipt{padding:11px 9px 0;gap:10px}.v5 .direction-note{padding:0 9px;margin-top:10px}.v5 .pile-inspector{background:#0d2d2566;border:1px solid #839c6847;border-radius:8px;padding:15px 15px 5px;margin-top:12px}
@media(max-width:850px){.v5 .direction-piles{height:298px;padding:25px 22px;gap:6px}.v5 .direction-pile{width:135px;padding:8px;gap:8px}.v5 .direction-pile.direction-center{width:126px}.v5 .direction-token{width:29px;height:40px;flex-basis:29px}.v5 .pile-summary strong{font-size:20px}}
@media(max-width:600px){.v5 .direction-piles{height:310px;padding:25px 20px;gap:5px;grid-template-columns:repeat(3,minmax(0,1fr))}.v5 .direction-pile,.v5 .direction-pile.direction-center{width:90px;height:77px;padding:7px 5px;gap:5px;flex-wrap:wrap;justify-content:center}.v5 .direction-token{width:25px;height:34px;flex-basis:25px}.v5 .pile-summary{flex:1;min-width:30px}.v5 .pile-summary>b{font-size:8px;flex-direction:column;gap:0;align-items:center}.v5 .pile-summary strong{font-size:19px}.v5 .pile-summary>small{font-size:7px;text-align:center;white-space:nowrap;margin-top:4px}.v5 .pile-backs{position:absolute;bottom:9px;left:8px;right:8px;margin:0;height:6px;gap:2px;justify-content:center;opacity:.65}.v5 .pile-backs .wall-stack{height:4px;max-width:9px}.v5 .pile-summary>small{position:absolute;left:0;right:0;bottom:0;transform:translateY(13px);color:#c2cfaf}.v5 .direction-heading small{font-size:8px}.v5 .direction-wall{margin-top:14px}.v5 .pile-inspector{padding:12px 8px 2px}.v5 .direction-note{line-height:1.8}.v5 .direction-pile.last-drawn .pile-summary>small{color:#f3d58e}}
