@font-face{font-family:Nunito;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/nunito-1.ttf) format("truetype")}@font-face{font-family:Nunito;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/nunito-2.ttf) format("truetype")}@font-face{font-family:Nunito;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/nunito-3.ttf) format("truetype")}@font-face{font-family:Nunito;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/nunito-4.ttf) format("truetype")}@font-face{font-family:Nunito;font-style:normal;font-weight:800;font-display:swap;src:url(/fonts/nunito-5.ttf) format("truetype")}@font-face{font-family:Nunito;font-style:normal;font-weight:900;font-display:swap;src:url(/fonts/nunito-6.ttf) format("truetype")}:root{font-family:Nunito,Trebuchet MS,Arial,sans-serif;color:#3d3929;background:#f4e8ca;font-synthesis:none;--paper:#fff5da;--ink:#3d3929;--muted:#7c725a;--forest:#284e40;--berry:#b84936;--gold:#d6a13d;--line:#d7c59b;--owner:#b84936}*{box-sizing:border-box}body{margin:0;min-width:320px;background-image:radial-gradient(#90734512 .8px,transparent .8px);background-size:6px 6px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.46;box-shadow:none!important;transform:none!important}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #457dab;outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.13;letter-spacing:-.035em}h1{font-size:32px}h2{font-size:24px}p{line-height:1.55}svg{flex-shrink:0;vertical-align:middle}button{color:inherit}small{font-size:12px}.muted{color:var(--muted);font-size:14px;line-height:1.55}.eyebrow{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.13em;color:#8b6840;display:flex;align-items:center;gap:7px}.full{width:100%}.lead{font-size:18px;line-height:1.6}.btn{border:1px solid transparent;border-radius:12px;padding:12px 18px;min-height:46px;font-weight:800;display:inline-flex;gap:10px;align-items:center;justify-content:center;transition:transform .15s,box-shadow .15s}.btn:hover:not(:disabled){transform:translateY(-2px)}.btn.primary{background:var(--berry);border-color:#a13f2e;color:#fff8e7;box-shadow:0 4px #873b2d}.btn.secondary{background:#fff5dd;border-color:#d4bc86;box-shadow:0 3px #d9c7a4}.btn.selected,.payment-options .selected{border:2px solid var(--forest);background:#e8edda}.ready-button{background:var(--forest);color:#fff7df;box-shadow:0 4px #193b2e}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:36px;min-height:36px;background:transparent;border:0;border-radius:9px;padding:6px}.icon-button:hover{background:#a4804220}.text-button{display:inline-flex;gap:8px;align-items:center;justify-content:center;color:var(--berry);font-weight:800;background:none;border:0;padding:8px 0;text-decoration:none;font-size:13px}.text-button:hover{text-decoration:underline}.button-row{display:flex;gap:12px;flex-wrap:wrap}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.section-heading h2{font-size:22px}.parchment{background:var(--paper);border:1px solid var(--line);border-radius:20px 10px;padding:24px;box-shadow:0 5px #af916b18}.note{background:#ebdfbe;border:1px solid #d7c399;border-radius:10px;padding:12px 14px;font-size:13px;color:#6c593b;line-height:1.5;margin:16px 0}.error-note{padding:12px 14px;background:#fae0ce;color:#973625;border-radius:10px;border:1px solid #d9a07f;font-size:14px;line-height:1.5}.score-formula{padding:20px;background:#e5e9cf;color:#385a3f;border-radius:14px;font-weight:800}.loading-screen{display:grid;place-items:center;min-height:100vh;font-size:24px;font-weight:800}.site-header{background:var(--forest);color:#fff4d1;border-bottom:4px solid #ddb15a;box-shadow:0 4px 20px #342b2520}.header-inner{max-width:1440px;margin:auto;min-height:82px;padding:12px 36px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none}.brand-seal{width:48px;height:48px;display:grid;place-items:center;border:1px solid #e0ba665e;border-radius:50%;background:#e0ba6615;color:#eac270}.brand b{font-size:25px;letter-spacing:-.04em;line-height:1.1}.brand small{display:block;letter-spacing:.22em;font-size:8px;margin-top:4px;font-weight:900;color:#ddc791}.header-actions{display:flex;align-items:center;gap:23px}.header-link{display:flex;align-items:center;gap:8px;background:none;border:0;color:#f5e7c7;font-size:13px;font-weight:800;padding:9px 0}.room-tag{font-size:11px;color:#c6d0ae;max-width:180px;overflow-wrap:anywhere}.room-tag b{display:block;color:#fff2c7;font-size:15px;letter-spacing:.06em}.day-ribbon{display:flex;gap:16px;align-items:center;font-size:12px;color:#d9dfc5}.day-ribbon strong{font-size:18px;color:#fff1c4}.day-ribbon strong span{font-size:12px;font-weight:500;color:#bccaae}.day-ribbon time{font-size:23px;letter-spacing:.04em;color:#f4cc72;font-variant-numeric:tabular-nums;border-left:1px solid #aabe9940;padding-left:16px;line-height:1.1}.day-ribbon time small{display:block;font-size:9px;text-align:center;color:#c4ceaf;margin-top:3px}.day-ribbon time.urgent{color:#ffb19e}.preview-strip{background:#ead6a9;color:#6c542f;padding:7px 24px;text-align:center;font-size:11px}.preview-strip a{margin-left:20px;font-weight:800}.preview-controls{display:flex;justify-content:center;gap:8px;align-items:center;padding:8px;font-size:11px}.preview-controls button{background:transparent;border:1px solid #c5ab75;padding:5px 12px;border-radius:20px;font-weight:800}.preview-controls .selected{background:#284e40;color:#fff4d1;border-color:#284e40}.welcome-layout{max-width:1280px;display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:78px;margin:auto;padding:58px 40px 50px;align-items:center}.welcome-story>.eyebrow{color:#a34931;font-size:11px}.welcome-story h1{font-size:64px;line-height:1.02;letter-spacing:-.055em;color:var(--forest);margin:18px 0 20px;font-weight:900}.welcome-intro{font-size:18px;max-width:560px;color:#6d654e}.welcome-art{position:relative;margin-top:30px}.welcome-art>img{width:100%;height:290px;object-fit:cover;object-position:45% 65%;border-radius:140px 140px 26px 26px;border:6px solid #ffefd0;box-shadow:0 10px #d4ba8670,0 18px 35px #6d4e2520}.art-stamp{position:absolute;bottom:14px;right:10px;background:#30533f;color:#fff3ca;border:3px solid #ecd49b;border-radius:50%;width:106px;height:106px;transform:rotate(8deg);display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;line-height:1.25;font-size:11px;font-weight:800;gap:5px;box-shadow:0 6px 15px #382c2430}.story-facts{display:flex;gap:32px;justify-content:space-around;margin-top:28px}.story-facts span{font-size:12px;color:#7c6847;display:flex;gap:9px;align-items:center}.story-facts b{font-size:30px;color:#a64c34}.join-parchment{position:relative;padding:38px 34px 28px;background:#fff6df;border:1px solid #d7c298;border-radius:110px 110px 22px 22px;box-shadow:0 10px #d6bd8b50,0 20px 50px #795b2220;text-align:center}.join-seal{background:#efd793;border:4px double #b38636;color:#926326;width:70px;height:70px;border-radius:50%;display:grid;place-items:center;margin:0 auto 18px}.join-parchment>.eyebrow{justify-content:center}.join-parchment h2{font-size:33px;color:var(--forest);margin:8px 0 12px}.join-parchment>p{font-size:13px}.join-parchment form{margin-top:23px;text-align:left}.form-field{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:800;color:#715b38;margin-bottom:15px}.form-field input,.form-field select{border:1px solid #c8b187;border-radius:9px;background:#fffaf0;min-height:44px;padding:10px 12px;color:#403c2c;width:100%;font-size:15px}.form-field input:focus,.form-field select:focus{border-color:#567856}.court-picker{border:0;padding:0;margin:2px 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.court-picker legend{font-size:12px;font-weight:800;color:#715b38;margin-bottom:8px}.court-option{display:flex;align-items:center;gap:6px;min-height:40px;border:1px solid #d7c6a2;background:#faf0d8;border-radius:10px;padding:8px;font-size:11px;text-align:left}.court-option>span{width:22px;height:22px;border-radius:50%;background:var(--owner);color:#fff8df;display:grid;place-items:center}.court-option b{flex:1}.court-option.selected{border:2px solid var(--owner);padding:7px;background:#fffaf1}.court-option svg{color:var(--owner)}.join-extra{display:flex;justify-content:space-between;gap:15px;border-top:1px dashed #d5bf92;margin-top:24px;padding-top:16px}.small-note{font-size:10px!important;line-height:1.5;color:#8b7958;margin-top:10px}.join-button{margin-top:5px}.game-main{max-width:1440px;margin:auto;padding:28px 36px 0}.player-banner{display:flex;align-items:center;justify-content:space-between;gap:30px;margin-bottom:25px}.court-title{display:flex;gap:14px;align-items:center;min-width:0}.court-title h1{font-size:28px;letter-spacing:-.04em;margin-top:5px;color:var(--forest)}.court-seal{width:58px;height:65px;color:#ffebac;display:grid;place-items:center;background:var(--owner);font-size:33px;clip-path:polygon(8% 0,92% 0,100% 75%,50% 100%,0 75%);flex-shrink:0;padding-bottom:8px}.resource-bar{display:flex;gap:12px}.resource-counter{display:flex;align-items:center;gap:11px;min-width:145px;padding:9px 18px 9px 10px;background:#fff3d4;border:1px solid #d8bf89;border-radius:36px 16px 16px 36px;box-shadow:0 4px #c5a86a28}.resource-medallion{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;background:#edcc6c;color:#866020;border:2px solid #d5a449}.resource-counter.people .resource-medallion{background:#cfddb8;color:#48633e;border-color:#a9be8f}.resource-counter.demand .resource-medallion{background:#dfb995;color:#875737;border-color:#c7916e}.resource-counter small{display:block;color:#89704b;font-size:10px;font-weight:800}.resource-counter strong{font-size:26px;line-height:1.1;font-weight:900;font-variant-numeric:tabular-nums;color:#433b27}.resource-counter em{display:block;font-style:normal;font-size:9px;color:#a34c39;line-height:1.1;margin-top:2px}.resource-line{display:flex;flex-wrap:wrap;gap:8px;font-size:12px}.resource-line>span{display:inline-flex;gap:3px;align-items:center;white-space:nowrap}.resource-line .money{color:#966b1e}.resource-line .people{color:#4e713f}.resource-line .demand{color:#8d6142}.resource-line>span>span{font-size:10px;font-weight:600}.game-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;align-items:start}.realm-column{min-width:0}.world-banner{height:180px;position:relative;overflow:hidden;background:#e8d5a1;border:1px solid #d4b97f;border-radius:24px 70px 24px 24px;box-shadow:0 5px #b99b5620}.world-banner img{position:absolute;width:73%;height:100%;right:0;top:0;object-fit:cover;object-position:45% 60%}.world-banner:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#f1dfb0 5%,#f1dfb0 23%,#f1dfb0f2 32%,#f1dfb033 63%,transparent 75%);pointer-events:none}.world-banner-text{position:relative;z-index:1;max-width:440px;padding:24px 30px}.world-banner h2{font-size:31px;line-height:1.05;color:#354f32;max-width:330px;margin:10px 0}.world-banner p{font-size:12px;max-width:260px;color:#736146}.realm-board{position:relative;margin-top:26px;padding:0 0 10px}.board-heading{display:flex;justify-content:space-between;align-items:center;margin:0 2px 15px}.board-heading h2{font-size:24px;color:#45462e;margin-top:4px}.board-heading h2 span{font-size:13px;font-weight:600;color:#99845a;margin-left:8px}.board-legend{font-size:10px;color:#827553;display:flex;gap:6px;align-items:center}.board-legend i{width:8px;height:8px;border-radius:50%;background:#b1a17b;margin-left:4px}.board-legend i.yours{background:#b84936}.realm-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 14px;position:relative}.realm-card{position:relative;display:flex;flex-direction:column;align-items:stretch;min-width:0;min-height:181px;padding:0 10px 8px;background:#fff2d3;border:1px solid #cfb783;border-radius:48% 48% 12px 12px/28px 28px 12px 12px;box-shadow:0 5px #c8b280,0 9px 12px #8f713014;transition:transform .16s,box-shadow .16s;text-align:center;isolation:isolate}.realm-card:after{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1px solid #d8c19475;border-radius:inherit;pointer-events:none;z-index:-1}.realm-card:hover{transform:translateY(-5px);box-shadow:0 8px #baa06e,0 14px 18px #8f713027}.realm-card.owned{border:2px solid var(--owner);padding:0 9px 7px;box-shadow:0 5px 0 var(--owner)}.realm-card.claimed{outline:2px dashed #b86736;outline-offset:3px}.realm-card.industrial{background:#f3ebd6}.realm-card.residential{background:#f0eed3}.card-coordinate{position:absolute;top:16px;left:12px;font-size:10px;font-weight:800;color:#8b7751}.level-stars{position:absolute;right:12px;top:17px;display:flex;gap:1px;color:#ba8731}.land-art{display:block;height:87px;padding:12px 6px 0}.building-art{width:100%;height:100%;display:block;filter:drop-shadow(0 4px 2px #6147180a)}.realm-card>strong{display:flex;align-items:center;justify-content:center;font-size:13px;line-height:1.1;min-height:30px;color:#49442d;margin:0 2px}.land-yield{display:flex;justify-content:center;align-items:center;padding:7px 0;min-height:29px}.land-yield .resource-line{gap:5px;font-size:11px}.land-yield .resource-line svg{width:13px;height:13px}.land-yield .resource-line>span>span{font-size:8px}.owner-label{border-top:1px dashed #c4b18a;display:flex;align-items:center;gap:5px;justify-content:center;padding:7px 0 0;font-size:9px;color:#826e4b;line-height:1.1;min-height:20px}.owner-label i{width:6px;height:6px;border-radius:50%;background:var(--owner)}.owner-label b{color:#b44b31;margin-left:3px}.board-tip{font-size:10px;color:#8b7855;text-align:center;margin-top:18px}.turn-column{display:flex;flex-direction:column;gap:23px;min-width:0}.event-scroll{position:relative;background:#e4d2a7;padding:22px 24px 17px;border-top:7px solid #bf9c60;border-bottom:5px solid #bf9c60;border-radius:9px;box-shadow:0 5px #a6874630}.event-scroll:before,.event-scroll:after{content:"";position:absolute;top:-8px;bottom:-6px;width:10px;border-radius:8px;background:linear-gradient(90deg,#b48c4d,#dabb7a,#b89353);box-shadow:1px 2px 4px #70552120}.event-scroll:before{left:-3px}.event-scroll:after{right:-3px}.event-scroll h2{font-size:25px;color:#604b2c;margin:10px 0}.event-scroll p{font-size:12px;color:#725d38;line-height:1.6}.event-scroll .text-button{font-size:11px;padding:10px 0 0}.turn-actions h2{font-size:23px;color:#4b4b30}.action-count{font-size:11px;white-space:nowrap;background:#dec897;border:1px solid #c6aa73;border-radius:18px;padding:5px 10px;font-weight:900;color:#73532e}.action-menu{display:flex;flex-direction:column;gap:8px}.action-choice{display:flex;align-items:center;gap:12px;text-align:left;background:#fdf3d8;border:1px solid #d4bd8c;border-radius:12px 20px 20px 12px;min-height:61px;padding:10px 12px;box-shadow:0 3px #cbb28450;transition:transform .15s}.action-choice:hover:not(:disabled){transform:translate(3px);background:#fff9e8}.action-choice>span:nth-child(2){flex:1}.action-choice b{font-size:13px;display:block;color:#59482f}.action-choice small{font-size:9px;color:#907551;display:block;line-height:1.2;margin-top:3px}.action-icon{display:grid;place-items:center;width:34px;height:34px;color:#a35434}.action-choice.recruitment .action-icon{color:#557347}.action-choice.deal .action-icon{color:#8b5c37}.action-choice>svg{color:#c4aa77;width:14px}.action-choice.delivery{background:#b84936;border-color:#a64331;box-shadow:0 3px #883b2b}.action-choice.delivery b,.action-choice.delivery .action-icon,.action-choice.delivery>svg{color:#fff5d6}.action-choice.delivery small{color:#f3d4ad}.action-choice.delivery:hover:not(:disabled){background:#ab432f}.plan-parchment{position:relative;padding:24px 19px 18px;background:#fff5d9;border:1px solid #ddc798;border-radius:3px 3px 20px 5px;box-shadow:0 5px #d0b98140;transform:rotate(-.6deg)}.plan-parchment>*{transform:rotate(.6deg)}.plan-pin{position:absolute;left:calc(50% - 12px);top:-12px;background:#ab4736;color:#f9d99a;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:2px solid #c56243;box-shadow:0 2px 3px #5d322533}.plan-parchment h2{font-size:22px}.plan-parchment .muted{font-size:10px;margin:14px 0 16px}.plan-list{list-style:none;padding:0;margin:0}.plan-list li{display:flex;align-items:center;gap:9px;font-size:12px;padding:10px 0;border-bottom:1px dashed #d8c69b}.plan-list li>span:nth-child(2){flex:1}.plan-number{background:#e9dcb8;border-radius:50%;width:23px;height:23px;display:grid;place-items:center;font-weight:900;color:#8d724b;flex-shrink:0}.empty-plan{justify-content:center;color:#a18a61;line-height:1.5;padding:12px 0!important}.plan-parchment .btn{font-size:12px;min-height:42px}.plan-parchment .section-heading{margin-bottom:8px}.plan-parchment .section-heading small{color:#8f7b52;font-size:10px}.game-footer{padding:26px 0 22px;margin-top:16px;border-top:1px solid #d7c7a2;display:flex;justify-content:space-between;gap:16px;font-size:10px;color:#9b8560}.storybook-dialog{color:var(--ink);background:#fff5dc;border:1px solid #c6a971;border-radius:25px 25px 16px 16px;padding:0;width:min(580px,calc(100% - 28px));max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 15px #694c2d45,0 30px 100px #1c271b70}.storybook-dialog.wide{width:min(850px,calc(100% - 28px))}.storybook-dialog::backdrop{background:#1c3028b8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.dialog-inner{padding:30px}.dialog-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;border-bottom:1px dashed #d1b985;padding-bottom:18px;margin-bottom:20px}.dialog-heading h2{font-size:29px;color:var(--forest);margin-top:7px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;border-top:1px dashed #ceb889;margin-top:24px;padding-top:20px}.action-illustration{display:flex;gap:22px;align-items:center;padding:24px;margin:20px 0;background:#ead8ac;border-radius:16px 45px 16px 16px;color:#a55435}.action-illustration.recruitment{background:#dce6c6;color:#547047}.action-illustration small{display:block;color:#8d714e;font-size:11px}.action-illustration strong{display:block;font-size:21px;margin-top:6px;line-height:1.2}.amount-label{display:block;font-size:14px;font-weight:800;margin:24px 0 14px}.amount-picker{display:flex;gap:12px;justify-content:center;align-items:center;margin:0 0 24px}.amount-option{width:64px;height:64px;border:1px solid #ceb688;border-radius:16px;background:#f1e4c3;font-size:29px;font-weight:900;box-shadow:0 4px #ccb58b}.amount-option.selected{background:var(--forest);color:#fff3cd;border-color:#234030;box-shadow:0 4px #1a3628}.cost-receipt{background:#eee0bd;border-radius:12px;padding:16px 20px;display:flex;justify-content:space-between;gap:20px}.cost-receipt small{display:block;margin-bottom:9px;color:#8b714a;font-size:11px}.cost-receipt .resource-line{font-size:16px}.bonus-note{display:flex;gap:8px;align-items:center;color:#48733c;background:#e0e9ca;padding:11px 13px;border-radius:10px;font-size:12px;margin:15px 0}.land-selector{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-height:410px;overflow:auto;padding:5px 4px 12px}.land-selector button{min-width:0;background:#f0e4c2;border:1px solid #cbb481;border-radius:25px 25px 10px 10px;padding:10px;display:flex;flex-direction:column;align-items:center}.land-selector button.selected{border:2px solid #3c6643;background:#e6ead2;padding:9px}.land-selector .building-art{height:80px}.land-selector b{font-size:12px;line-height:1.2}.land-selector small{font-size:10px;color:#8c724a;margin-top:5px}.payment-options{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0}.payment-options>span{font-size:13px;font-weight:800}.territory-detail{display:flex;flex-direction:column;align-items:center;background:#e8e6c9;border-radius:70px 70px 12px 12px;padding:12px 20px 20px;margin:0 30px 20px;color:#7b714e;font-size:12px;gap:10px}.territory-detail .building-art{width:260px;height:146px}.exchange-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.resource-inputs{padding:14px;border:1px solid #ceb685;background:#f5e8c7;border-radius:12px;min-width:0}.resource-inputs legend{font-size:13px;font-weight:900;color:#78603b}.resource-inputs label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;margin:8px 0}.resource-inputs input{width:74px;min-width:0;border:1px solid #cbb080;border-radius:6px;padding:8px;color:#4a3f2a;background:#fff7e1;font-weight:800}.exchange-summary{background:#ecdfbf;border-radius:12px;padding:18px}.exchange-summary small{display:block;margin-bottom:12px;color:#92754a}.exchange-summary .resource-line{flex-direction:column;gap:10px;font-size:16px}.waiting-note{padding:22px;text-align:center;display:flex;justify-content:center;align-items:center;gap:10px;color:#8f7040;background:#eaddb8;border-radius:12px}.event-crest{background:#ead7a6;color:#aa7830;border:5px double #bd9958;border-radius:50%;width:104px;height:104px;display:grid;place-items:center;margin:20px auto 24px}.rules-content{display:flex;flex-direction:column;gap:20px}.rule-steps{list-style:none;counter-reset:rule;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:18px}.rule-steps li{counter-increment:rule;position:relative;padding-left:38px}.rule-steps li:before{content:counter(rule);position:absolute;left:0;top:0;background:#365a40;color:#fff2c9;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;font-weight:900}.rule-steps b{display:block;font-size:15px;margin-bottom:7px}.rule-steps span{font-size:13px;color:#83704e;line-height:1.5;display:block}.rules-table{overflow:auto}.rules-table table{border-collapse:collapse;min-width:520px;width:100%;font-size:13px;text-align:left}.rules-table th{background:#e4d3a8;color:#765b36}.rules-table th,.rules-table td{padding:12px;border-bottom:1px solid #dac79e;line-height:1.4}.rules-content .note{margin:0}.toast-stack{position:fixed;z-index:100;bottom:24px;right:24px;display:flex;flex-direction:column;gap:10px;max-width:min(420px,calc(100vw - 32px))}.toast{background:#fff8e6;border:1px solid #b99d65;box-shadow:0 8px 30px #56442240;border-radius:12px;padding:12px 12px 12px 18px;display:flex;align-items:center;gap:14px;font-size:14px}.toast.success{border-left:5px solid #507a45}.toast.error{border-left:5px solid #b84936}.master-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px}.master-controls{grid-column:1/-1}.master-controls h1{color:var(--forest);margin:8px 0 12px}.master-controls>.button-row{margin:20px 0}.master-controls>.muted{margin-top:14px}.master-controls>.form-field{max-width:420px;margin-top:20px}.master-event{display:flex;align-items:flex-start;gap:16px;border-top:1px dashed #cdb681;margin-top:22px;padding-top:20px;color:#876431}.master-event p{font-size:13px;margin-top:5px}.master-teams{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}.team-overview{border-top:5px solid var(--owner);padding:18px}.team-overview h2{font-size:19px}.team-overview .resource-bar{gap:5px}.team-overview .resource-counter{min-width:0;flex:1;padding:8px;gap:5px}.team-overview .resource-medallion{width:25px;height:25px;border-width:1px}.team-overview .resource-medallion svg{width:15px;height:15px}.team-overview .resource-counter strong{font-size:23px}.team-overview .resource-counter small{font-size:8px}.status-label{font-size:10px;background:#e6d7b5;color:#8b7249;border-radius:20px;padding:6px 10px}.status-label.ready{background:#d1debe;color:#456938}.compact-plan{font-size:12px;line-height:1.6;padding-left:20px}.ranking{align-self:start;padding:20px}.ranking-row{display:flex;gap:9px;align-items:center;padding:16px 0;border-bottom:1px dashed #d6c095}.ranking-row:last-child{border:0}.rank-place{font-size:18px;font-weight:900;color:#a88546}.court-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.ranking-row>div{flex:1;font-size:11px}.ranking-row small{display:block;color:#92774c;font-size:9px;margin-top:4px}.ranking-row>strong{font-size:23px;text-align:center;line-height:1;color:#726039}.daily-results h2{margin:9px 0 18px}.daily-results>div{margin:12px 0}.daily-results>div>small{color:#91784e;display:block;margin-bottom:7px}.total-score{display:block;font-size:44px;color:#4b673f;margin:20px 0 10px}.total-score span{font-size:17px}.auction-card{text-align:center}.auction-card>svg{color:#a87635;margin-bottom:10px}.auction-card .eyebrow{justify-content:center}.auction-card h2{margin:12px 0 20px}.bid-number{font-size:58px;display:block;color:#a66a2b;margin:20px 0;line-height:1}.bid-number small{display:block;font-size:13px;margin-top:5px}.auction-card .btn{width:100%;margin-top:16px}@media (min-width:1500px){.game-main{padding-top:32px}.world-banner{height:195px}.realm-card{min-height:194px}.land-art{height:97px}}@media (max-width:1150px){.game-main{padding:22px 22px 0}.header-inner{padding:12px 22px}.game-layout{grid-template-columns:minmax(0,1fr) 290px;gap:20px}.player-banner{gap:15px}.court-title h1{font-size:23px}.court-seal{width:46px;height:54px}.resource-counter{min-width:120px;padding-right:12px;gap:7px}.resource-medallion{width:34px;height:34px}.resource-bar{gap:8px}.realm-grid{gap:13px 9px}.realm-card{padding-left:6px;padding-right:6px;min-height:172px}.realm-card.owned{padding-left:5px;padding-right:5px}.realm-card>strong{font-size:11px}.land-yield .resource-line>span>span{display:none}.card-coordinate{font-size:9px;left:10px}.level-stars{right:10px;gap:0}.level-stars svg{width:9px}.land-art{height:86px;padding-top:20px}.world-banner h2{font-size:27px}.world-banner-text{padding:25px}.world-banner h2{max-width:290px}.welcome-layout{gap:42px;padding:42px 30px;grid-template-columns:minmax(0,1fr) 390px}.welcome-story h1{font-size:54px}.welcome-art>img{height:270px}.master-teams{grid-template-columns:1fr}.header-actions{gap:17px}.day-ribbon{gap:10px}.day-ribbon>span{display:none}.board-legend{display:none}}@media (max-width:850px){.header-inner{min-height:74px;padding:12px 18px}.brand b{font-size:21px}.brand-seal{width:40px;height:40px}.header-actions .room-tag{display:none}.header-link>span{display:none}.day-ribbon strong{font-size:15px}.day-ribbon time{font-size:18px}.game-main{padding:20px 18px 0}.player-banner{flex-wrap:wrap;gap:18px}.player-banner>.resource-bar{margin-left:auto}.game-layout{grid-template-columns:minmax(0,1fr)}.turn-column{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:24px}.event-scroll{grid-column:1/-1}.turn-actions{grid-column:1}.plan-parchment{grid-column:2}.realm-grid{gap:18px 12px}.realm-card{min-height:188px}.realm-card>strong{font-size:13px}.land-art{height:95px;padding-top:16px}.land-yield .resource-line>span>span{display:inline;font-size:8px}.world-banner{height:180px}.court-title h1{font-size:25px}.realm-board{margin-top:22px}.welcome-layout{grid-template-columns:1fr 360px;gap:28px;padding:34px 22px}.welcome-story h1{font-size:43px}.welcome-story>.eyebrow{font-size:9px}.welcome-intro{font-size:15px}.welcome-art>img{height:230px;border-radius:100px 100px 20px 20px}.art-stamp{width:82px;height:82px;font-size:9px}.story-facts{gap:12px}.story-facts span{font-size:9px;flex-direction:column;gap:1px;text-align:center}.join-parchment{padding:28px 26px 22px}.master-layout{grid-template-columns:1fr}.master-teams{grid-template-columns:1fr 1fr}.ranking{width:100%}}@media (max-width:650px){.welcome-layout{display:flex;flex-direction:column;gap:32px;padding:27px 20px 40px;max-width:470px}.welcome-story h1{font-size:45px;margin:13px 0 14px}.welcome-story h1 br{display:none}.welcome-intro{font-size:15px}.welcome-art{margin-top:20px}.welcome-art>img{height:210px;object-position:center 65%;border-radius:70px 70px 18px 18px}.story-facts{margin-top:20px;gap:24px}.story-facts span{flex-direction:row;font-size:10px;gap:8px}.join-parchment{width:100%;border-radius:65px 65px 18px 18px;padding:28px 24px}.join-parchment h2{font-size:30px}.join-seal{width:54px;height:54px;margin-bottom:12px}.header-inner{gap:12px;flex-wrap:wrap}.brand{gap:8px}.brand b{font-size:21px}.brand small{font-size:7px}.brand-seal{width:36px;height:36px}.brand-seal svg{width:22px}.header-actions{gap:16px;margin-left:auto}.day-ribbon{order:3;width:100%;justify-content:center;padding-top:8px;border-top:1px solid #9ba77c30}.day-ribbon>span{display:inline}.day-ribbon strong{font-size:15px}.day-ribbon time{font-size:19px;padding-left:10px;display:flex;align-items:center;gap:6px}.day-ribbon time small{display:inline;margin:0}.header-actions .header-link{padding:3px}.preview-strip{font-size:9px;line-height:1.6;padding:6px 12px}.preview-strip a{display:block;margin:0}.preview-controls{font-size:10px}.game-main{padding:18px 14px 0}.player-banner{display:block;margin-bottom:20px}.court-title{gap:10px}.court-title h1{font-size:25px;margin-top:3px}.court-seal{width:42px;height:48px;font-size:25px}.court-title .eyebrow{font-size:9px}.player-banner>.resource-bar{margin-top:18px}.resource-bar{gap:7px;width:100%}.resource-counter{flex:1;min-width:0;padding:8px 8px 8px 6px;gap:6px;border-radius:26px 10px 10px 26px}.resource-medallion{width:29px;height:29px;border-width:1px}.resource-medallion svg{width:17px;height:17px}.resource-counter strong{font-size:22px}.resource-counter small,.resource-counter em{font-size:8px}.world-banner{height:170px;border-radius:16px 50px 16px 16px}.world-banner img{width:100%;object-position:40% 65%}.world-banner:after{background:linear-gradient(90deg,#efdcab 0%,#efdcabed 24%,#efdcab65 65%,transparent 90%)}.world-banner-text{padding:21px 18px;max-width:245px}.world-banner h2{font-size:26px;max-width:210px}.world-banner .eyebrow{font-size:8px}.world-banner p{font-size:11px;max-width:200px}.board-heading h2{font-size:23px}.board-heading .eyebrow{font-size:9px}.realm-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 13px}.realm-card{min-height:181px}.land-art{height:88px;padding-top:13px}.land-yield .resource-line{font-size:12px;gap:7px}.land-yield .resource-line>span>span{font-size:9px}.realm-card>strong{font-size:13px}.level-stars svg{width:11px}.card-coordinate{font-size:10px}.owner-label{font-size:9px}.turn-column{display:flex;gap:24px}.event-scroll{margin:0 3px}.turn-actions{width:100%}.action-menu{display:grid;grid-template-columns:1fr 1fr;gap:10px}.action-choice{flex-direction:column;align-items:flex-start;gap:6px;border-radius:12px;min-height:123px;padding:13px;position:relative}.action-choice>svg{position:absolute;right:11px;top:15px}.action-choice b{font-size:12px}.action-choice small{font-size:10px;line-height:1.3}.action-choice.deal{grid-column:1/-1;flex-direction:row;align-items:center;min-height:61px;gap:14px}.action-choice.deal>svg{top:23px}.plan-parchment{width:100%;transform:none}.plan-parchment>*{transform:none}.plan-parchment .btn,.plan-list li{font-size:14px}.plan-parchment .muted{font-size:12px}.game-footer{display:block;text-align:center;font-size:9px;line-height:1.8;margin-top:24px}.game-footer>span{display:block}.dialog-inner{padding:22px 18px}.dialog-heading h2{font-size:25px}.dialog-heading .eyebrow{font-size:8px}.dialog-heading{gap:8px}.dialog-actions{gap:10px}.dialog-actions .btn{flex:1;padding:12px;font-size:12px}.action-illustration{padding:20px 15px;gap:15px}.action-illustration strong{font-size:20px}.action-illustration svg{width:42px;height:42px}.amount-picker{gap:9px}.amount-option{width:54px;height:58px}.amount-picker .icon-button{min-width:27px;padding:2px}.cost-receipt{padding:13px;gap:12px;flex-direction:column}.cost-receipt .resource-line{font-size:16px}.cost-receipt .resource-line>span>span{font-size:11px}.land-selector{grid-template-columns:1fr 1fr;gap:10px}.resource-inputs{padding:8px}.resource-inputs label{display:block;font-size:11px}.resource-inputs input{width:100%;margin-top:4px}.exchange-grid{gap:10px}.resource-inputs legend{font-size:12px}.rule-steps{grid-template-columns:1fr;gap:20px}.lead{font-size:16px}.territory-detail{margin:0 8px 20px}.master-teams{grid-template-columns:1fr}.master-controls{padding:20px}.master-controls h1{font-size:27px}.master-controls>.button-row{gap:10px}.master-controls>.button-row>.btn{flex:1;font-size:12px;padding:10px}.master-event{gap:10px}.master-controls .form-field select{font-size:13px}.toast-stack{bottom:15px;right:15px}.total-score{font-size:42px}.team-overview .resource-counter small{font-size:9px}.team-overview .resource-medallion{width:30px;height:30px}}.mobile-game-nav{display:none}@media (max-width:650px){.mobile-game-nav{display:flex;position:fixed;z-index:20;bottom:0;left:0;right:0;background:#284e40f5;color:#f8e8be;border-top:3px solid #cfaa5c;padding:8px 12px calc(8px + env(safe-area-inset-bottom));justify-content:space-around;box-shadow:0 -5px 20px #182c2430;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.mobile-game-nav button{border:0;background:transparent;color:inherit;display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:800;min-width:80px;padding:3px 10px}.game-main{padding-bottom:70px}.realm-board,.turn-column,.plan-parchment,.daily-results{scroll-margin-top:18px}.toast-stack{bottom:84px}}@media (prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
