.language-switch{max-width:100%;color:inherit;align-items:center;gap:.35rem;display:inline-flex}.language-switch select{font:inherit;color:inherit;background:#fff0d0;border:1px solid #967349;border-radius:.6rem;max-width:100%;min-height:44px;padding:.45rem;font-size:16px}html[lang=en]{font-family:Georgia,Noto Sans,Arial,sans-serif}html[lang=en] button,html[lang=en] input,html[lang=en] select{letter-spacing:normal;font-family:inherit}html[lang=en] button{overflow-wrap:break-word;white-space:normal}html[lang=en] .garden-title-art{display:none}html[lang=en] .garden-logo-ready .garden-title-text{opacity:1;visibility:visible;display:block}html[lang=en] .garden-title-text{letter-spacing:normal;font-size:clamp(2rem,4vw,4rem);line-height:1.05}html[lang=en] .arcade-brand small{letter-spacing:normal}.arcade-header>.language-switch{flex-shrink:0}@media (width<=600px){.arcade-header{flex-wrap:wrap;gap:.5rem}.arcade-header .language-switch{margin-left:auto}html[lang=en] .arcade-motto{display:none}}.connection-diagnostics{color:#513e28;background:#fff7e8;border:1px dashed #c9ae7a;border-radius:12px;min-width:0;padding:12px}.connection-diagnostics-actions{flex-wrap:wrap;gap:8px;display:flex}.connection-diagnostics-actions button{white-space:normal;min-height:44px}.connection-diagnostics p{overflow-wrap:anywhere;margin:8px 0 0;font-size:12px;line-height:1.6}.connection-diagnostics details{margin-top:10px}.connection-diagnostics textarea{box-sizing:border-box;color:#352b20;resize:vertical;background:#fffdf7;width:100%;min-width:0;margin-top:8px;font-size:16px;line-height:1.4;display:block}.ra-account-trigger{color:#fff6e8;cursor:pointer;white-space:nowrap;background:#222e27c7;border:1px solid #fff4e057;border-radius:999px;align-items:center;gap:.4rem;padding:.36rem .72rem;font-size:.85rem;font-weight:600;transition:background .16s,border-color .16s;display:inline-flex}.ra-account-trigger:hover{background:#2d3e34eb;border-color:#ffdda8a6}.ra-account-dot{background:#d8b57d;border-radius:50%;width:.48rem;height:.48rem}.ra-account-dot.is-online{background:#63d488}.ra-account-dialog{color:#f6efe4;background:#1c2621;border:1px solid #d4b48061;border-radius:1.15rem;width:min(92vw,30rem);max-height:88vh;padding:1.35rem 1.4rem;overflow-y:auto;box-shadow:0 24px 56px #00000080}.ra-account-dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0a100da6}.ra-dialog-header{justify-content:space-between;align-items:flex-start;gap:.75rem;margin-bottom:.9rem;display:flex}.ra-dialog-header h2{color:#fff8ed;margin:.15rem 0 0;font-size:1.2rem}.ra-dialog-close{color:#f6efe4;cursor:pointer;background:#ffffff14;border:1px solid #ffffff38;border-radius:999px;width:2rem;height:2rem;font-size:1.1rem;line-height:1}.ra-guest-banner{background:#63d4881f;border:1px solid #63d48847;border-radius:.75rem;margin-bottom:1rem;padding:.7rem .85rem;font-size:.86rem;line-height:1.45}.ra-section{border-top:1px solid #fff4e01f;padding:.85rem 0}.ra-section h3{color:#f2d49b;margin:0 0 .55rem;font-size:.95rem}.ra-auth-grid{grid-template-columns:repeat(auto-fit,minmax(9.5rem,1fr));gap:.55rem;margin-top:.5rem;display:grid}.ra-btn{color:#fff6e8;cursor:pointer;background:#fff8eb14;border:1px solid #f2d49b57;border-radius:.65rem;justify-content:center;align-items:center;gap:.35rem;padding:.55rem .85rem;font-size:.88rem;font-weight:600;text-decoration:none;display:inline-flex}.ra-btn.primary{color:#1a150e;background:#d89b42;border-color:#e7b566}.ra-btn:disabled{opacity:.55;cursor:not-allowed}.ra-field{flex-direction:column;gap:.3rem;margin-bottom:.65rem;font-size:.86rem;display:flex}.ra-field input{color:#fff8ed;background:#0c120fb3;border:1px solid #fff4e040;border-radius:.55rem;padding:.52rem .7rem;font-size:.92rem}.ra-toggle-row{cursor:pointer;align-items:center;gap:.55rem;margin:.42rem 0;font-size:.88rem;display:flex}.ra-room-pills{flex-direction:column;gap:.4rem;margin:.45rem 0 0;padding:0;list-style:none;display:flex}.ra-room-pills li{background:#ffffff0d;border-radius:.55rem;justify-content:space-between;align-items:center;padding:.45rem .65rem;font-size:.85rem;display:flex}.ra-room-pills a{color:#f2d49b;font-weight:600;text-decoration:none}.ra-feedback{border-radius:.55rem;margin:.55rem 0 0;padding:.5rem .7rem;font-size:.85rem}.ra-feedback.ok{color:#a9f0c0;background:#63d48826}.ra-feedback.err{color:#ffb8b3;background:#eb5e552e}.ra-ad-slot{color:#f5ede0;background:linear-gradient(135deg,#1f2c25db,#18221deb);border:1px solid #d8b57d42;border-radius:.95rem;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.8rem;min-height:5.25rem;margin:1rem 0;padding:.85rem 1.05rem;display:flex}.ra-ad-copy{flex:15rem}.ra-ad-badge{letter-spacing:.04em;color:#f3cc8c;background:#d89b4238;border-radius:999px;margin-bottom:.28rem;padding:.14rem .48rem;font-size:.72rem;display:inline-block}.ra-ad-copy strong{color:#fff8ec;margin-bottom:.18rem;font-size:.96rem;display:block}.ra-ad-copy p{color:#f5ede0cc;margin:0;font-size:.83rem;line-height:1.4}.ra-ad-cta{color:#ffe7bd;white-space:nowrap;background:#f3cc8c24;border:1px solid #f3cc8c73;border-radius:999px;padding:.46rem .85rem;font-size:.83rem;font-weight:600;text-decoration:none}.ra-inapp-banner{color:#fff6e6;background:#d89b422e;border:1px solid #f3cc8c6b;border-radius:.7rem;justify-content:space-between;align-items:center;gap:.65rem;margin-bottom:.5rem;padding:.48rem .85rem;font-size:.8rem;line-height:1.38;display:flex}.ra-inapp-dismiss{color:#ffe7bd;cursor:pointer;background:#1c2621b3;border:1px solid #f3cc8c80;border-radius:999px;flex-shrink:0;padding:.25rem .6rem;font-size:.76rem;font-weight:600}:root{--font-ui:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", sans-serif;--font-display:"STKaiti", "KaiTi", "Kaiti SC", "Noto Serif CJK SC", "Noto Serif SC", "Songti SC", "SimSun", serif;font-family:var(--font-ui);color:#263b31;font-synthesis:weight;background:#f3f1e8;font-size:15px;font-weight:400;line-height:1.6}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}*{box-sizing:border-box}body{margin:0}.room-system-menu{border:0;margin:0;padding:0;display:contents}button,input,select,textarea{font:inherit}a{color:inherit}button,.button{color:#263b31;cursor:pointer;background:#fffef8;border:1px solid #cdd4c7;border-radius:9px;justify-content:center;align-items:center;gap:6px;padding:9px 14px;font-weight:600;text-decoration:none;transition:background .15s,transform .15s;display:inline-flex}button:hover:not(:disabled),.button:hover{background:#e6eddc;transform:translateY(-1px)}button:disabled{opacity:.42;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #b77534}.primary{color:#fff;background:#274d3b;border-color:#274d3b}.primary:hover:not(:disabled){background:#37634c}.finish{background:#ede3cb}.quiet{border:none;padding:6px;font-size:12px}.stack{gap:16px;display:grid}input,select,textarea{color:#263b31;background:#fffefb;border:1px solid #cdd4c7;border-radius:8px;width:100%;margin-top:7px;padding:11px 12px;font-size:16px}label{font-size:13px;font-weight:600}.participation-choice{cursor:pointer;align-items:center;gap:10px;min-height:44px;display:flex}.participation-choice input{accent-color:#274d3b;width:20px;height:20px;margin:0}h1,h2,h3,p{margin-top:0}h2{letter-spacing:-.5px;margin-bottom:20px;font-size:24px}h3{font-size:18px}.topbar{border-bottom:1px solid #dce0d2;justify-content:space-between;align-items:center;max-width:1440px;margin:auto;padding:22px 36px;display:flex}.brand{letter-spacing:2px;align-items:center;gap:10px;font-size:21px;font-weight:750;text-decoration:none;display:flex}.brand small{letter-spacing:3px;color:#6b7c68;font-size:10px}.brand-mark{color:#f4edda;background:#294b39;border-radius:8px;padding:2px 7px;font-family:serif}.tag{white-space:nowrap;background:#e5e9dc;border:1px solid #d3dcca;border-radius:6px;padding:5px 9px;font-size:11px}.tag.active{background:#cce3bb}.eyebrow{letter-spacing:2px;color:#687e66;margin-bottom:10px;font-size:11px;font-weight:700}.muted,footer{color:#75806e;font-size:12px}.home{grid-template-columns:1fr 1.15fr;gap:34px 60px;max-width:1180px;margin:auto;padding:60px 24px 20px;display:grid}.motion-catalog{grid-column:1/-1}.motion-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0;display:grid}.motion-card{color:inherit;border-radius:18px;flex-direction:column;min-width:0;padding:24px;text-decoration:none;display:flex}.motion-card p{flex:1;line-height:1.7}.motion-card.fishing{background:linear-gradient(150deg,#e7efe1,#cde3d4)}.motion-card.surf{background:linear-gradient(150deg,#e7f4ed,#b8dce2)}.motion-card.tilt{background:linear-gradient(150deg,#eeeaf6,#d2c5e8)}.motion-card:hover{transform:translateY(-3px)}@media (width<=700px){.motion-grid{grid-template-columns:1fr}}.hero{padding:36px 0}.hero h1{letter-spacing:-2px;margin-bottom:24px;font-family:Songti SC,SimSun,serif;font-size:clamp(38px,5vw,64px);font-weight:500;line-height:1.25}.lead{color:#697c66;line-height:1.9}.hero-note{color:#8d876e;gap:20px;margin-top:40px;font-size:11px;display:flex}.panel{background:#fffef8;border:1px solid #dde1d4;border-radius:16px;padding:26px;box-shadow:0 6px 30px #304d2e04}.create{grid-area:1/2/3}.join{max-width:440px}.game-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px;display:grid}.game-card{text-align:left;background:#f6f5ed;flex-direction:column;align-items:flex-start;padding:18px;display:flex}.game-card.selected{border-color:#4c7049;box-shadow:0 0 0 1px #4c7049}.game-card small{font-size:11px;font-weight:400}.game-symbol{color:#9a6839;font-family:serif;font-size:35px}.home footer{grid-column:1/-1}.room-layout{max-width:1440px;margin:auto;padding:26px 36px}.room-heading,.section-heading{justify-content:space-between;align-items:center;gap:15px;display:flex}.room-heading h1{letter-spacing:5px;margin:0;font-size:30px}.room-heading{margin-bottom:20px}.connection{color:#58734e;font-size:12px}.invite{background:#e9eddf;border:1px dashed #c3cfb6;border-radius:12px;align-items:center;gap:20px;margin-bottom:24px;padding:18px;display:flex}.invite img{border-radius:8px}.invite .button{margin-left:10px}.room-code{letter-spacing:5px;margin:4px 0 10px;font-size:24px;font-weight:750}.room-columns{grid-template-columns:minmax(0,1.4fr) minmax(330px,1fr);align-items:start;gap:24px;display:grid}.room-columns:has(>.main-column:only-child){grid-template-columns:1fr}.main-column{gap:24px;display:grid}.private-panel{position:sticky;top:16px}.controller-toolbar{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.room-layout.controller-layout{max-width:680px;padding-bottom:calc(185px + env(safe-area-inset-bottom,0px))}.controller-layout .private-panel{position:static}.controller-status{background:#e9eddf;border:1px solid #c3cfb6;border-left:5px solid #79876e;border-radius:12px;margin-bottom:18px;padding:14px 16px}.controller-status.your-turn{background:#fff7e5;border-left-color:#922f30}.controller-status strong{overflow-wrap:anywhere;font-size:22px;display:block}.controller-status p{margin:4px 0}.controller-status small{color:#596650}.controller-dock{z-index:20;width:min(100%,680px);padding:10px max(14px, env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(14px, env(safe-area-inset-left,0px));background:#f9f7ee;border-top:1px solid #c3cfb6;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -5px 20px #263b3114}.controller-dock nav{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.controller-dock nav button{min-height:48px;padding:8px 4px;font-size:14px}.controller-dock nav button[aria-pressed=true]{color:#fff;background:#274d3b;border-color:#274d3b}.controller-quick{justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px;display:flex}.controller-quick span{font-size:12px}.controller-dock .controller-quick button{flex-shrink:0;min-width:148px;min-height:52px}.controller-layout button,.controller-layout .button{min-height:44px}.controller-layout input,.controller-layout select{font-size:16px}.controller-layout .room-heading{align-items:flex-start;gap:8px}.controller-layout .room-heading h1{font-size:24px}.controller-layout .connection{max-width:105px}.controller-layout .panel{margin-bottom:16px}.controller-layout .consensus-controls .choices{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;display:grid}.controller-layout .consensus-controls .choices button{min-width:0;min-height:58px;padding:8px 0}.privacy-cover{text-align:center}.section-heading h2{margin-bottom:16px}.board{grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;display:grid}.tile{background:#f1f2e9;border:1px solid #e0e2d5;border-bottom-width:3px;border-radius:9px;flex-direction:column;min-height:100px;padding:8px;display:flex;position:relative}.tile strong{font-family:serif;font-size:15px}.tile>small{color:#8a977c;font-size:9px}.tile.city{background:#f8eedb}.tile.facility{background:#e8edde}.tile-detail{color:#8b7856;font-size:10px}.pieces{gap:2px;min-height:20px;margin-top:auto;display:flex}.pieces span{color:#fff;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:21px;height:21px;font-size:11px;display:inline-flex;box-shadow:0 1px 3px #0002}.seat-legend{flex-wrap:wrap;gap:14px;margin-top:17px;font-size:11px;display:flex}.seat-legend i{border-radius:50%;width:8px;height:8px;margin-right:5px;display:inline-block}.news{background:#edf1e5;border-radius:8px;align-items:center;gap:15px;margin-top:20px;padding:12px;font-size:12px;display:flex}.news>span{white-space:nowrap;color:#69835a}.news p{flex:1;margin:0}.news b{white-space:nowrap}.event{color:#9e653b;flex-wrap:wrap;gap:8px;margin-top:15px;font-size:12px;display:flex}.members{gap:12px;margin:0 0 20px;padding:0;list-style:none;display:grid}.members li{align-items:center;gap:12px;display:flex}.members li>span:nth-child(2){flex:1}.members small{color:#7b8871;font-size:11px;display:block}.avatar{background:#e9eddc;border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.resources{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.resources>div{background:#f1f1e6;border-radius:8px;padding:12px 8px}.resources small,.resources strong{display:block}.resources small{color:#7b836d;font-size:11px}.resources strong{font-family:Georgia,serif;font-size:23px}.personal-note{margin:18px 0 8px;font-size:13px}.actions{flex-wrap:wrap;gap:8px;margin:20px 0;display:flex}.actions button{font-size:12px}details{border-top:1px solid #e2e5d8;margin-top:18px;padding-top:16px}summary{cursor:pointer;font-size:14px;font-weight:600}summary small{color:#849076;margin-left:6px;font-size:10px;font-weight:400}.market{margin-top:12px;display:grid}.market>div{border-bottom:1px solid #eff0e7;align-items:center;gap:7px;padding:9px 0;display:flex}.market>div>span{flex:1}.market strong{font-size:12px}.market small{color:#879179;font-size:10px;display:block}.market button{min-height:44px;padding:5px 8px;font-size:11px}.market-actions{grid-template-columns:repeat(2,minmax(56px,1fr));gap:4px;display:grid}.cards{grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;display:grid}.strategy{background:#f2efdf;border-radius:8px;gap:8px;padding:12px;font-size:12px;display:grid}.strategy small{color:#7b7f65}.strategy button,.strategy select{padding:7px;font-size:11px}.strategy select{margin:0}.error,.notice{color:#86482e;background:#fff1e6;border:1px solid #e0b8a2;border-radius:10px;margin:12px 0;padding:14px 18px;font-size:13px}.notice button{margin-left:12px}.results{margin-top:24px}.results>div{border-top:1px solid #e2e5d8;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:12px 0;display:flex}.results small{color:#839176;width:100%;font-size:11px}.scoreboard{flex-wrap:wrap;gap:16px;display:flex}.scoreboard>div{background:#edf1e5;border-radius:10px;flex-direction:column;align-items:center;padding:15px 20px;display:flex}.scoreboard b{color:#729357;font-size:32px}.scoreboard small{font-size:11px}.choices{gap:15px;margin:25px 0;display:flex}.choices button{background:#e7e9d7;width:65px;height:75px;font-size:28px}.round-result{border-top:1px solid #dde1d4;flex-wrap:wrap;gap:18px;padding:16px 0;font-size:13px;display:flex}.round-result span{flex:1}footer{text-align:center;padding:28px 0}.screen .board{grid-template-columns:repeat(7,minmax(0,1fr))}.screen .tile{min-height:125px}.screen .tile strong{font-size:23px}.screen .private-panel{display:none}@media (width<=1000px){.room-columns{grid-template-columns:1fr}.private-panel{position:static}.home{gap:30px}.tile{min-height:90px}.brand small{display:none}}@media (width<=640px){.private-panel{grid-row:1}button,.button,input,select{min-height:44px}.topbar{padding:16px}.home{grid-template-columns:1fr;gap:22px;padding:24px 16px}.hero{padding:12px 0}.hero h1{font-size:42px}.hero-note{margin-top:22px}.create{grid-area:auto/1}.join{max-width:none}.panel{border-radius:12px;padding:18px}.room-layout{padding:20px 12px}.room-heading{align-items:flex-start}.connection{font-size:10px}.invite{gap:12px;padding:12px}.invite img{width:90px;height:90px}.invite .button{margin:8px 0 0}.invite button,.invite .button{padding:6px 8px;font-size:11px}.room-code{font-size:19px}.board{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.tile{min-height:87px}.section-heading h2{font-size:20px}.section-heading{flex-wrap:wrap;gap:0}.section-heading .tag{margin-bottom:14px}.game-card{padding:12px}.game-card strong{font-size:13px}.game-card small{font-size:9px}.screen .board{grid-template-columns:repeat(4,minmax(0,1fr))}.screen .tile{min-height:90px}.screen .tile strong{font-size:16px}.room-heading h1{font-size:23px}.choices{gap:8px}.choices button{width:52px;height:62px}.scoreboard{gap:8px}.scoreboard>div{padding:10px 15px}.hero-note{gap:15px}}.map-fullscreen-bar{justify-content:space-between;align-items:center;gap:12px;padding:0 0 12px;display:flex}.map-turn{overflow-wrap:anywhere;min-width:0;font-weight:600}.map-fullscreen-bar button{flex-shrink:0;min-height:44px}:is(.map3d-wrap.map3d-expanded,.map3d-wrap:fullscreen){z-index:1000;box-sizing:border-box;width:100%;height:100dvh;padding:max(10px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));background:#f4f2e8;flex-direction:column;display:flex;position:fixed;inset:0;overflow:auto}.map3d-expanded .map3d{border-radius:8px;flex:1 1 0;height:auto;min-height:100px}.map3d-wrap:fullscreen .map3d{border-radius:8px;flex:1 1 0;height:auto;min-height:100px}.map3d-expanded .map-fullscreen-bar,.map3d-expanded .map-toolbar,.map3d-expanded .map-loading-status{flex-shrink:0}.map3d-expanded .map-loading-status{margin:4px 0 0;font-size:12px}.map3d-expanded .map-toolbar{gap:8px;padding:6px 0 0}.map3d{border-radius:14px;width:100%;height:clamp(320px,52vw,590px);overflow:hidden}.map3d canvas{touch-action:none;width:100%;height:100%;display:block}.map-toolbar{flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;display:flex}.map-toolbar label{align-items:center;gap:12px;display:flex}.map-toolbar select{max-width:280px}.lord-portrait{object-fit:cover;border-radius:50%;width:42px;height:42px}.board-panel details>summary{cursor:pointer;padding:12px 0}.event-art{object-fit:cover;float:left;border-radius:10px;width:76px;height:76px;margin-right:14px}.event{display:flow-root}.strategy{background-image:linear-gradient(#fffc,#fffc),url(/games/kingdoms/deluxe/paper.webp);background-size:cover}.dice-feedback{animation:.45s ease-out dice-reveal}@keyframes dice-reveal{0%{opacity:.4;transform:rotate(-15deg)scale(.8)}to{opacity:1;transform:rotate(0)scale(1)}}@media (prefers-reduced-motion:reduce){.dice-feedback{animation:none}}
