:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#25322b;background:#f7f2e7;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button{font:inherit}.app{max-width:720px;min-height:100vh;margin:0 auto;padding:16px 14px 96px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.topbar-actions{display:flex;align-items:center;gap:7px}.online-button,.text-button,.copy-code{border:0;background:transparent;color:#356d5c;font-size:12px;font-weight:900;text-decoration:none;cursor:pointer}.brand{font-size:20px;font-weight:900;letter-spacing:.03em}.turn-badge{padding:7px 11px;border-radius:999px;background:#25322b;color:#fff;font-size:13px;font-weight:800}.notice{padding:13px 15px;border-radius:16px;background:#fff;border:1px solid #ded7c7;box-shadow:0 5px 18px #554a3420;line-height:1.55}.screen-switch{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px;padding:4px;border-radius:14px;background:#dce9e3}.screen-switch-button{min-height:42px;border:0;border-radius:11px;background:transparent;color:#5d6861;font-weight:900;cursor:pointer}.screen-switch-button.selected{background:#2e745f;color:#fff;box-shadow:0 3px 10px #254d4030}.game-board.view-overview .market-zone,.zone-title,.player-tabs{display:none}.players{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:14px 0}.player{background:#fff;border:2px solid transparent;border-radius:18px;padding:13px}.player.active{border-color:#ed9f31}.player-name{font-weight:900}.coins{margin-top:5px;font-size:24px;font-weight:900;color:#a56300}.small{color:#667069;font-size:12px}.player-transfers{display:grid;gap:5px;margin:8px 0 3px}.red-transfer{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto;align-items:center;gap:5px;padding:7px 8px;border:1px solid #e8a5a8;border-radius:10px;background:#fff0ef;color:#7e242a;font-size:12px;animation:effect-pop .55s ease both}.red-transfer strong{font-size:16px}.transfer-arrow{font-weight:1000}.transfer-player{overflow:hidden;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.red-transfer small{grid-column:1 / -1;color:#9a4a4f;font-size:10px}.transfer-shortage{padding:2px 4px;border-radius:5px;background:#f6d1d2;font-size:9px;font-weight:900}.dice-panel{padding:20px;border-radius:22px;background:linear-gradient(145deg,#256a56,#19483d);color:#fff;text-align:center}.dice{display:flex;min-height:78px;align-items:center;justify-content:center;gap:12px;margin-bottom:14px}.die{display:grid;width:68px;height:68px;place-items:center;border-radius:15px;background:#fffdf7;color:#25322b;font-size:34px;font-weight:900;box-shadow:0 7px #cfc7b8}.actions{display:flex;flex-wrap:wrap;justify-content:center;gap:9px}.button{min-height:46px;padding:10px 16px;border:0;border-radius:14px;background:#f2a93b;color:#2f2619;font-weight:900;cursor:pointer}.button.secondary{background:#e7ece8;color:#25322b}.button:disabled{cursor:not-allowed;opacity:.45}h2{margin:22px 0 10px;font-size:18px}.market{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.build-tabs{display:none}.card{position:relative;display:flex;min-height:260px;padding:0 0 42px;overflow:hidden;border:0;border-radius:17px;flex-direction:column;text-align:left;color:#172019;box-shadow:inset 0 0 0 1px #00000014;cursor:pointer}.card-number{display:grid;min-height:36px;place-items:center;color:#fff;font-size:22px;font-weight:1000;letter-spacing:.04em;text-shadow:0 1px 2px #0005}.card.blue .card-number{background:#2879bc}.card.red .card-number{background:#b83c48}.card.green .card-number{background:#3f884d}.card.purple .card-number{background:#7651a8}.card.landmark .card-number{background:#aa7418}.card-title{position:relative;min-height:43px;padding:10px 42px 7px 10px;font-weight:950;text-align:center}.industry-mark{display:inline-grid;width:28px;height:28px;place-items:center;border:2px solid currentColor;border-radius:50%;background:#fff9;color:#25322b}.industry-mark svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.card-title .industry-mark{position:absolute;top:7px;right:8px}.city-name .industry-mark{width:20px;height:20px;margin-left:5px;vertical-align:middle}.city-name .industry-mark svg{width:14px;height:14px}.card-art{position:relative;width:100%;height:102px;background-repeat:no-repeat;background-color:#d7e8dd;box-shadow:inset 0 1px #00000012,inset 0 -1px #00000012}.coin-effect{position:absolute;right:7px;bottom:6px;display:grid;min-width:34px;min-height:27px;padding:3px 7px;place-items:center;border:2px solid #fff;border-radius:999px;background:#25322be8;color:#fff;font-size:13px;font-weight:1000;line-height:1;letter-spacing:-.02em;box-shadow:0 2px 7px #17201970}.coin-effect.red{background:#9f2f3c}.coin-effect.green{background:#267340}.coin-effect.blue{background:#226c9f}.card-body{padding:9px 11px 3px}.card-cost{position:absolute;bottom:9px;left:10px;display:grid;min-width:31px;height:31px;padding:0 7px;place-items:center;border:2px solid #76550e;border-radius:999px;background:#f4bd3f;font-weight:1000;box-shadow:0 2px #6f511e44}.card.blue{background:#dcefff}.card.red{background:#ffe0df}.card.green{background:#dff3dd}.card.purple{background:#eadffd}.card.landmark{background:#fff1b9}.card:disabled{cursor:not-allowed;filter:grayscale(.5);opacity:.55}.card.selected{outline:4px solid #f0a82d;outline-offset:2px;transform:translateY(-2px);box-shadow:0 8px 20px #704d1533}.card-effect{font-size:12px;line-height:1.45}.related-count{display:grid;gap:2px;margin-top:7px;padding:6px 7px;border-radius:8px;background:#fff9;color:#435047;font-size:10px;line-height:1.35}.related-count span{color:#758078}.related-count strong{font-size:11px}.landmark-effect{font-size:12px;font-weight:700;line-height:1.5}.owned{position:absolute;right:10px;bottom:15px;font-size:11px;font-weight:800}.city-list{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px}.city-item{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:8px;min-width:0;padding:6px;border-radius:12px;border-left:5px solid #999;background:#f4f0e6}.city-item.triggered{position:relative;outline:3px solid #f0ab2f;animation:effect-pop .55s ease both}.effect-badge{position:absolute;z-index:2;top:-10px;right:-7px;padding:5px 8px;border:2px solid white;border-radius:999px;background:#177b52;color:#fff;font-size:11px;font-weight:1000;box-shadow:0 3px 9px #26392e55}.coin-change{display:inline-block;margin-left:7px;padding:2px 7px;border-radius:999px;font-size:12px;font-weight:1000}.coin-change.positive{background:#d8f2df;color:#166034}.coin-change.negative{background:#ffe0de;color:#a02b25}.city-item.blue{border-left-color:#2879bc;background:#e7f4ff}.city-item.red{border-left-color:#b83c48;background:#ffeae9}.city-item.green{border-left-color:#3f884d;background:#e9f6e7}.city-item.purple{border-left-color:#7651a8;background:#f0e9fb}.city-art{width:46px;height:46px;border-radius:9px;background-repeat:no-repeat;background-color:#d7e8dd}.city-info{min-width:0}.city-name{display:flex;align-items:center;overflow:hidden;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.city-activation{display:inline-block;min-width:23px;margin-top:3px;padding:2px 6px;border-radius:999px;background:#25322b;color:#fff;font-size:10px;font-weight:900;text-align:center}.city-count{min-width:25px;color:#6e5e3d;font-weight:900;text-align:right}.empty-city{padding:12px 4px 3px;color:#788078;font-size:12px}.landmark-status{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:10px}.landmark-dot{aspect-ratio:1;border-radius:9px;background-repeat:no-repeat;filter:grayscale(1);opacity:.32}.landmark-dot.complete{filter:none;opacity:1;box-shadow:0 0 0 2px #e9a52e}.log{display:grid;gap:7px}.log-row{display:grid;grid-template-columns:9px minmax(0,1fr);gap:9px;align-items:start;padding:11px 12px;border-radius:12px;background:#ffffffa8;font-size:13px;line-height:1.45}.log-color{width:9px;height:100%;min-height:35px;border-radius:9px;background:#999}.log-color.blue{background:#2879bc}.log-color.red{background:#b83c48}.log-color.green{background:#3f884d}.log-color.purple{background:#7651a8}.log-title{font-weight:900}.log-detail{color:#59625c}.footer-actions{position:fixed;right:0;bottom:0;left:0;padding:10px 14px;background:#f7f2e7ef;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border-top:1px solid #ded7c7}.footer-actions .inner{display:flex;max-width:692px;margin:auto;gap:8px}.footer-actions .button{flex:1}.error{margin-top:10px;color:#a82b20;font-weight:700}.dice-panel.rolling .die{animation:dice-roll .18s linear infinite}.effect-confirm{margin-top:12px;padding:13px;border-radius:16px;background:#fff4cd;color:#55410f;font-weight:800;text-align:center}.effect-summary{margin-top:12px;overflow:hidden;border:2px solid #d8c789;border-radius:18px;background:#fffaf0;box-shadow:0 8px 24px #5747191c}.effect-summary-header{display:flex;align-items:center;gap:10px;padding:12px;background:#fff0b9}.effect-summary-header>div{display:grid;min-width:52px;min-height:48px;place-items:center;border-radius:12px;background:#25322b;color:#fff;line-height:1}.effect-summary-header span{font-size:9px;font-weight:800}.effect-summary-header strong{font-size:22px}.effect-summary-header h2{margin:0;font-size:17px}.effect-summary-list{display:grid;max-height:min(46vh,420px);overflow-y:auto}.effect-player{padding:10px 12px;border-bottom:1px solid #e5dece}.effect-player:last-child{border-bottom:0}.effect-player-main{display:grid;grid-template-columns:minmax(0,1fr) auto 44px;align-items:center;gap:8px}.effect-player-main>span{overflow:hidden;font-weight:950;text-overflow:ellipsis;white-space:nowrap}.coin-transition{display:flex;align-items:center;gap:5px;color:#6d756f}.coin-transition b{color:#25322b;font-size:15px}.effect-total{padding:4px 6px;border-radius:999px;text-align:center}.effect-player.positive .effect-total{background:#d8f2df;color:#166034}.effect-player.negative .effect-total{background:#ffe0de;color:#a02b25}.effect-player.neutral .effect-total{background:#e9ece9;color:#69716c}.effect-lines{display:grid;gap:4px;margin-top:7px}.effect-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:7px;padding:5px 7px;border-radius:8px;background:#fff;font-size:11px}.effect-line.gain strong{color:#147044}.effect-line.loss strong{color:#aa302b}.effect-line small{grid-column:1 / -1;color:#9a4a4f}.effect-facility{overflow:hidden;font-weight:850;text-overflow:ellipsis;white-space:nowrap}.effect-direction{color:#6c746f}.effect-none{color:#858c87;font-size:11px}.effect-summary-action{position:sticky;bottom:0;padding:9px 12px;border-top:1px solid #e2d8bd;background:#fffaf0eb;text-align:right;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.selection-detail{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin-top:10px;padding:10px 11px;border:2px solid #eaa62f;border-radius:13px;background:#fff9e8;box-shadow:0 5px 15px #503b1420}.selection-label{padding:4px 6px;border-radius:6px;background:#eaa62f;color:#31240d;font-size:9px;font-weight:950}.selection-detail strong{font-size:13px}.selection-detail p{margin:2px 0 0;color:#667069;font-size:10px}.selection-price{font-size:11px;font-weight:950;white-space:nowrap}.lobby-shell{display:grid;min-height:100vh;padding:18px 14px 70px;place-items:center;background:radial-gradient(circle at top,#fff7d8,#e9f1e8 62%,#d7e6dd)}.lobby-shell>.text-button{position:fixed;top:16px;left:14px}.lobby-card{width:min(100%,430px);padding:24px;border:1px solid #d7d5c8;border-radius:24px;background:#fffdf8;box-shadow:0 16px 45px #344d3d25}.lobby-card h1{margin:4px 0 8px;font-size:28px}.lobby-card p{color:#667069;font-size:13px;line-height:1.6}.lobby-kicker{color:#39816a;font-size:11px;font-weight:1000;letter-spacing:.16em}.connection-state{margin:14px 0;padding:9px 11px;border-radius:10px;font-size:11px;font-weight:900}.connection-state.ready{background:#dff4e7;color:#246b45}.connection-state.demo{background:#fff0c9;color:#7a5a10}.lobby-card label{display:grid;gap:6px;margin-top:13px;color:#445047;font-size:12px;font-weight:900}.lobby-card input{width:100%;min-height:48px;padding:10px 12px;border:2px solid #d5d9d3;border-radius:12px;background:#fff;font-size:16px;outline:none}.lobby-card input:focus{border-color:#459478}.lobby-primary{width:100%;margin-top:12px}.lobby-divider{display:flex;align-items:center;gap:10px;margin:19px 0 4px;color:#899089;font-size:11px}.lobby-divider:before,.lobby-divider:after{height:1px;flex:1;background:#dedfd8;content:""}.room-card{text-align:center}.room-code{margin:8px 0 3px;color:#25322b;font-size:38px;font-weight:1000;letter-spacing:.12em}.room-phrase{margin:10px 0 5px;overflow-wrap:anywhere;color:#25322b;font-size:clamp(24px,7vw,34px);font-weight:1000}.lobby-hint{margin:-3px 0 0;color:#728078;font-size:10px}.copy-code{padding:6px 10px;border-radius:8px;background:#e6f0eb}.room-card h2{display:flex;justify-content:space-between;margin:22px 0 9px;font-size:15px}.member-list{display:grid;gap:7px;margin:0;padding:0;list-style:none;text-align:left}.member-list li{display:flex;align-items:center;gap:9px;padding:10px;border-radius:11px;background:#f1f4ef}.member-number{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#3c7d68;color:#fff;font-size:11px;font-weight:900}.host-badge{margin-left:auto;padding:3px 6px;border-radius:6px;background:#ffe8a9;color:#745314;font-size:9px;font-weight:900}.waiting-note{margin:14px 0 3px;color:#7b837d;font-size:12px}.room-card>.text-button{margin-top:14px}@keyframes dice-roll{0%{transform:rotate(-8deg) scale(.94)}50%{transform:rotate(9deg) scale(1.06)}to{transform:rotate(-8deg) scale(.94)}}@keyframes effect-pop{0%{transform:scale(.88)}70%{transform:scale(1.04)}to{transform:scale(1)}}@media(min-width:641px){.market{grid-template-columns:repeat(3,minmax(0,1fr))}.city-list{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px),(max-height:640px)and (orientation:landscape){:root{background:#d9eee9}.app{padding:10px 8px 96px}.topbar{margin-bottom:8px}.notice{padding:9px 11px;border-radius:12px;font-size:12px}.game-board{display:flex;margin-top:9px;padding:8px;border:3px solid #4d9b99;border-radius:22px;background:linear-gradient(145deg,#16839a,#136d7c);box-shadow:inset 0 0 0 2px #9ad7d3,0 8px 24px #164f5930;flex-direction:column}.screen-switch{position:sticky;z-index:4;top:0}.zone-title{display:block;margin-bottom:5px;color:#dffbfa;font-size:10px;font-weight:950;letter-spacing:.06em}.opponents-zone{order:1}.dice-zone{order:2;margin-top:6px}.effect-summary{order:3}.market-zone{order:4}.city-zone{order:5;margin-top:10px}.player-tabs{display:flex;gap:6px;margin:0;overflow-x:auto;padding:1px 1px 6px;scrollbar-width:thin}.player-tab{display:grid;flex:0 0 105px;gap:1px;padding:6px 8px;border:2px solid transparent;border-radius:10px;background:#f8fffd;color:#445047;text-align:left;box-shadow:0 2px 8px #123d451f}.player-tab span{overflow:hidden;font-size:11px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.player-tab strong{color:#9a620c;font-size:14px}.player-tab small{font-size:9px}.player-tab.active{border-color:#edc177}.player-tab.selected{border-color:#ed9f31;background:#fff8e8}.players{display:block;margin:0}.player{display:none;padding:11px}.player.focused{display:block}.game-board.view-overview .opponents-zone{display:none}.game-board.view-overview .players{display:grid;grid-template-columns:1fr;gap:8px}.game-board.view-overview .player{display:block}.city-list{display:flex;max-height:none;gap:6px;overflow-x:auto;padding:2px}.city-item{flex:0 0 145px;grid-template-columns:38px minmax(0,1fr) auto}.city-art{width:38px;height:38px}.dice-panel{display:flex;align-items:center;justify-content:center;gap:12px;padding:9px 12px;border-radius:15px;background:#123f52}.dice{min-height:48px;margin:0}.die{width:46px;height:46px;border-radius:11px;font-size:25px;box-shadow:0 5px #cfc7b8}.dice-panel .button{min-height:40px;padding:8px 12px;font-size:12px}.build-tabs{position:sticky;z-index:3;top:0;display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:9px 0 7px;padding:4px;border:1px solid #81c6c3;border-radius:12px;background:#eaf8f5ed;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.build-tab{min-height:42px;border:0;border-radius:10px;background:transparent;color:#687169;font-weight:900;cursor:pointer}.build-tab.selected{background:#2e745f;color:#fff;box-shadow:0 3px 10px #254d4030}.build-panel{display:none}.build-panel.selected{display:block}.build-panel h2{margin:8px 2px 5px;color:#ecffff;font-size:12px}.build-panel h2+.market+h2{margin-top:10px}.market{display:grid;grid-auto-columns:104px;grid-auto-flow:column;grid-template-columns:none;gap:6px;overflow-x:auto;padding:3px 2px 7px;scroll-snap-type:x proximity}.market .card{min-height:148px;padding-bottom:27px;border-radius:11px;scroll-snap-align:start}.market .card:disabled{filter:none;opacity:.72}.market .card-number{min-height:24px;font-size:15px}.market .card-title{min-height:33px;overflow:hidden;padding:8px 27px 5px 5px;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.market .card-title .industry-mark{top:5px;right:5px;width:21px;height:21px;border-width:1px}.market .card-title .industry-mark svg{width:14px;height:14px}.market .card-art{height:62px}.market .coin-effect{right:4px;bottom:4px;min-width:28px;min-height:21px;padding:2px 5px;border-width:1px;font-size:10px}.market .card-body{display:none}.market .card-cost{bottom:5px;left:5px;min-width:23px;height:23px;padding:0 5px;border-width:1px;font-size:10px}.market .owned{right:5px;bottom:9px;font-size:8px}.selection-detail{background:#f8fffd}.effect-summary{margin-top:8px}}@media(max-height:640px)and (orientation:landscape){.app{max-width:100%;padding:7px 8px 78px}.topbar{margin-bottom:5px}.notice{padding:6px 10px}.game-board{display:grid;grid-template-areas:"players market dice" "city market summary";grid-template-columns:190px minmax(360px,1fr) 190px;gap:8px;align-items:start}.game-board.view-overview{display:grid;grid-template-areas:"dice city" "summary city";grid-template-columns:190px minmax(0,1fr)}.opponents-zone{grid-area:players}.market-zone{grid-area:market}.dice-zone{grid-area:dice;margin-top:0}.city-zone{grid-area:city;margin-top:0}.effect-summary{grid-area:summary;margin-top:0}.player-tabs{display:grid;grid-template-columns:1fr 1fr}.player-tab{min-width:0;width:100%}.market{grid-auto-columns:88px}.market .card{min-height:128px}.market .card-art{height:48px}.player{padding:8px}.landmark-status{display:none}.city-list{max-height:118px;overflow-y:auto;flex-direction:column}.game-board.view-overview .players{grid-template-columns:repeat(2,minmax(0,1fr))}.game-board.view-overview .city-list{max-height:none;overflow-x:auto;overflow-y:hidden;flex-direction:row}.city-item{flex-basis:auto}.dice-panel{flex-direction:column}.app>h2,.app>.log{display:none}}.effect-summary,.announcement-overlay{position:fixed;z-index:50;inset:0;display:grid;margin:0;padding:18px;overflow:auto;place-items:center;border:0;border-radius:0;background:#102d35d9;box-shadow:none;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px)}.effect-summary-dialog{width:min(100%,880px);max-height:calc(100vh - 36px);overflow:auto;border:3px solid #f0cf71;border-radius:26px;background:linear-gradient(160deg,#fff9dc,#f4eee0);box-shadow:0 24px 80px #07191fc0}.effect-summary-header{position:sticky;z-index:2;top:0;display:flex;align-items:center;gap:13px;padding:14px 16px;background:linear-gradient(100deg,#ffe488,#fff3bd)}.effect-summary-header>div:first-child{display:grid;min-width:58px;min-height:58px;place-items:center;border-radius:15px;background:#173f49;color:#fff;line-height:1;box-shadow:0 4px #0c2830}.effect-summary-header>div:last-child{display:block;min-width:0;min-height:0;background:transparent;color:#25322b;box-shadow:none}.effect-summary-header small{color:#81651b;font-size:9px;font-weight:1000;letter-spacing:.13em}.effect-summary-header h2{margin:2px 0 0;font-size:23px}.effect-card-list{display:grid;grid-auto-columns:minmax(160px,190px);grid-auto-flow:column;justify-content:start;gap:12px;overflow-x:auto;padding:16px;scroll-snap-type:x proximity}.effect-event-card{position:relative;min-height:250px;overflow:hidden;border:4px solid #638277;border-radius:18px;background:#edf5ef;text-align:center;box-shadow:0 9px 24px #263a3240;scroll-snap-align:center}.effect-event-card.blue{border-color:#2879bc;background:#e3f2ff}.effect-event-card.red{border-color:#b83c48;background:#ffe5e4}.effect-event-card.green{border-color:#3f884d;background:#e7f5e4}.effect-event-card.purple{border-color:#7651a8;background:#eee5fa}.effect-card-number{padding:5px;background:#25322b;color:#fff;font-size:18px;font-weight:1000}.effect-event-card.blue .effect-card-number{background:#2879bc}.effect-event-card.red .effect-card-number{background:#b83c48}.effect-event-card.green .effect-card-number{background:#3f884d}.effect-event-card.purple .effect-card-number{background:#7651a8}.effect-card-title{position:relative;min-height:38px;padding:9px 35px 5px 8px;font-size:13px;font-weight:1000}.effect-card-title .industry-mark{position:absolute;top:5px;right:6px;width:25px;height:25px;border-width:1px}.effect-card-title .industry-mark svg{width:16px;height:16px}.effect-card-art{height:92px;background-repeat:no-repeat;background-color:#d7e8dd}.effect-card-amount{display:inline-flex;align-items:baseline;gap:4px;margin-top:-14px;padding:8px 13px;border:3px solid white;border-radius:999px;background:#157444;color:#fff;font-size:24px;font-weight:1000;box-shadow:0 4px 12px #18382c66}.effect-card-amount.transfer{background:#a43a3d}.effect-card-amount span{font-size:9px}.effect-card-route{display:flex;align-items:center;justify-content:center;gap:6px;padding:9px 7px 3px;font-size:10px}.effect-card-route strong{overflow:hidden;max-width:70px;text-overflow:ellipsis;white-space:nowrap}.effect-event-card>small{color:#9e352f;font-weight:900}.effect-no-card{display:grid;width:min(70vw,360px);min-height:150px;place-content:center;gap:7px;border:2px dashed #bea95f;border-radius:18px;text-align:center}.effect-no-card span{color:#77705e;font-size:11px}.effect-player-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:6px;padding:0 16px 13px}.effect-player-total{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px;padding:8px 10px;border-radius:11px;background:#fff;font-size:11px}.effect-player-total span{overflow:hidden;font-weight:900;text-overflow:ellipsis;white-space:nowrap}.effect-player-total strong{min-width:31px;padding:3px 5px;border-radius:999px;text-align:center}.effect-player-total.positive strong{background:#d8f2df;color:#166034}.effect-player-total.negative strong{background:#ffe0de;color:#a02b25}.effect-player-total.neutral strong{background:#e9ece9;color:#69716c}.effect-summary-action{position:sticky;bottom:0;display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:11px 16px;background:#fffaf0ed}.effect-summary-action small{color:#6d756f;font-weight:800}.announcement-overlay{z-index:60;background:radial-gradient(circle at center,#194a4be8,#071f2bed)}.build-announcement{position:relative;width:min(100%,520px);padding:23px;overflow:hidden;border:3px solid #93d9d0;border-radius:30px;background:linear-gradient(145deg,#f8fffc,#d9f1e9);text-align:center;box-shadow:0 25px 90px #04161fc9;animation:announcement-in .55s cubic-bezier(.2,.85,.3,1.2) both}.build-announcement.landmark{border-color:#ffe080;background:radial-gradient(circle at top,#fffce3,#ffe39a 54%,#efaa3e);box-shadow:0 0 45px #ffd85b99,0 25px 90px #321b06c9}.announcement-kicker{position:relative;z-index:1;color:#26816c;font-size:10px;font-weight:1000;letter-spacing:.18em}.build-announcement.landmark .announcement-kicker{color:#9e5e05}.build-announcement h2{position:relative;z-index:1;margin:5px 0 14px;font-size:clamp(22px,6vw,32px);line-height:1.25}.announcement-card{position:relative;z-index:1;width:min(68%,260px);margin:auto;overflow:hidden;border:5px solid #3f884d;border-radius:22px;background:#e7f5e4;box-shadow:0 14px 28px #20382c55}.announcement-card.blue{border-color:#2879bc;background:#e3f2ff}.announcement-card.red{border-color:#b83c48;background:#ffe5e4}.announcement-card.green{border-color:#3f884d;background:#e7f5e4}.announcement-card.purple{border-color:#7651a8;background:#eee5fa}.announcement-card.landmark{border-color:#c08013;background:#fff2bd;transform:rotate(-1.5deg);box-shadow:0 0 0 5px #fff7cb,0 16px 36px #73460c70}.announcement-card-number{padding:7px;background:#2e745f;color:#fff;font-size:20px;font-weight:1000}.announcement-card.landmark .announcement-card-number{background:linear-gradient(90deg,#9d620a,#e1a82e,#9d620a)}.announcement-card-title{padding:9px;font-size:17px;font-weight:1000}.announcement-card-art{height:125px;background-repeat:no-repeat;background-color:#d7e8dd}.announcement-card p{min-height:45px;margin:0;padding:9px 11px 12px;font-size:11px;font-weight:800;line-height:1.45}.announcement-close{position:relative;z-index:2;width:min(100%,300px);margin-top:17px}.build-announcement.landmark .announcement-close{background:#7c4c08;color:#fff}.announcement-sparkles i{--angle: calc(var(--spark) * 27deg);position:absolute;z-index:0;top:46%;left:50%;width:10px;height:20px;border-radius:3px;background:hsl(calc(var(--spark) * 42) 88% 57%);transform:rotate(var(--angle)) translateY(-210px);animation:sparkle-fall 1.8s calc(var(--spark) * -.09s) ease-in-out infinite}@keyframes announcement-in{0%{opacity:0;transform:translateY(35px) scale(.85)}to{opacity:1;transform:none}}@keyframes sparkle-fall{0%{opacity:0;transform:rotate(var(--angle)) translateY(-180px) scale(.4)}35%{opacity:1}to{opacity:0;transform:rotate(calc(var(--angle) + 190deg)) translateY(190px) scale(1)}}@media(max-width:640px){.effect-summary,.announcement-overlay{padding:8px}.effect-summary-dialog{max-height:calc(100vh - 16px);border-radius:20px}.effect-summary-header{padding:10px 11px}.effect-summary-header>div:first-child{min-width:50px;min-height:50px}.effect-summary-header h2{font-size:19px}.effect-card-list{grid-auto-columns:145px;gap:8px;padding:11px}.effect-event-card{min-height:222px;border-width:3px}.effect-card-art{height:78px}.effect-card-amount{font-size:20px}.effect-player-totals{grid-template-columns:1fr;padding:0 11px 9px}.effect-summary-action{padding:9px 11px}.build-announcement{padding:18px 13px;border-radius:24px}.announcement-card{width:min(72%,235px)}.announcement-card-art{height:110px}}.player-color-dot{display:inline-block;width:.72em;height:.72em;margin-right:5px;border:2px solid #fff;border-radius:50%;background:var(--player-color);box-shadow:0 0 0 1px #25322b35;vertical-align:.02em}.player-tab{border-left:7px solid var(--player-color, transparent);background:var(--player-soft, #fff)}.player-tab span{display:flex;align-items:center}.player{border-color:color-mix(in srgb,var(--player-color, transparent) 44%,transparent);background:linear-gradient(150deg,#fff,var(--player-soft, #fff))}.player.active{border-color:var(--player-color, #ed9f31);box-shadow:0 0 0 3px color-mix(in srgb,var(--player-color, #ed9f31) 22%,transparent)}.player-name{display:flex;align-items:center}.game-board.view-overview .city-zone{min-width:0}.game-board.view-overview .players{align-items:start;gap:7px;margin:0}.game-board.view-overview .player{display:grid;min-width:0;padding:7px;grid-template-areas:"player-name player-coins" "player-meta player-meta" "player-landmarks player-landmarks" "player-city player-city";grid-template-columns:minmax(0,1fr) auto;animation:city-panel-in .5s calc(var(--player-index) * 70ms) ease both}.game-board.view-overview .player-name{grid-area:player-name;overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.game-board.view-overview .coins{grid-area:player-coins;margin:0;font-size:15px;line-height:1}.game-board.view-overview .small{grid-area:player-meta;margin-top:3px;font-size:8px}.game-board.view-overview .landmark-status{grid-area:player-landmarks;gap:3px;margin-top:5px}.game-board.view-overview .landmark-dot{min-height:0;border-radius:5px}.game-board.view-overview .city-list{grid-area:player-city;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;max-height:none;margin-top:5px;overflow:visible;padding:0}.game-board.view-overview .city-item{position:relative;display:block;min-width:0;aspect-ratio:.82;padding:2px;overflow:hidden;border-left-width:2px;border-radius:6px;animation:mini-card-in .38s calc(var(--facility-index) * 28ms) ease both}.game-board.view-overview .city-art{width:100%;height:auto;aspect-ratio:1;border-radius:4px}.game-board.view-overview .city-info{position:static}.game-board.view-overview .city-name{display:none}.game-board.view-overview .city-activation{position:absolute;top:3px;left:3px;min-width:18px;margin:0;padding:1px 3px;border:1px solid #fff;font-size:7px;box-shadow:0 1px 3px #0005}.game-board.view-overview .city-count{position:absolute;right:3px;bottom:3px;min-width:18px;padding:1px 3px;border-radius:999px;background:#fffdddde;color:#463816;font-size:8px;box-shadow:0 1px 3px #0003}.game-board.view-overview .effect-badge{top:2px;right:2px;padding:2px 4px;border-width:1px;font-size:7px}.game-board.view-overview .empty-city{grid-column:1 / -1;padding:8px;font-size:9px}.effect-card-owner{display:flex;align-items:center;justify-content:center;gap:7px;margin:7px 8px 4px;padding:7px;border:2px solid var(--player-color);border-radius:10px;background:var(--player-soft);color:#25322b;font-size:11px}.effect-card-owner i{width:15px;height:15px;border:3px solid white;border-radius:50%;background:var(--player-color);box-shadow:0 0 0 1px #0003}.effect-event-card{animation:effect-card-enter .5s calc(var(--effect-index) * 90ms) cubic-bezier(.2,.8,.25,1.15) both}.build-announcement.establishment{border-color:var(--player-color, #93d9d0);box-shadow:0 0 35px color-mix(in srgb,var(--player-color, #93d9d0) 42%,transparent),0 25px 90px #04161fc9}.screen-switch-button.selected,.build-tab.selected{animation:selected-tab .28s ease both}.button:not(:disabled):active{transform:scale(.96)}@keyframes city-panel-in{0%{opacity:0;transform:translateY(9px) scale(.97)}to{opacity:1;transform:none}}@keyframes mini-card-in{0%{opacity:0;transform:translateY(7px) rotate(-2deg)}to{opacity:1;transform:none}}@keyframes effect-card-enter{0%{opacity:0;transform:translateY(24px) scale(.9)}to{opacity:1;transform:none}}@keyframes selected-tab{0%{transform:scale(.96)}70%{transform:scale(1.025)}to{transform:none}}@media(max-width:640px){.game-board.view-overview{padding:6px}.game-board.view-overview .players{grid-template-columns:repeat(2,minmax(0,1fr))}.game-board.view-overview .player{padding:6px}.game-board.view-overview .city-list{grid-template-columns:repeat(5,minmax(0,1fr))}.game-board.view-overview .landmark-status{display:grid}}@media(max-height:640px)and (orientation:landscape){.effect-summary,.announcement-overlay{padding:5px}.effect-summary-dialog{width:min(94vw,760px);max-height:calc(100vh - 10px);border-width:2px;border-radius:17px}.effect-summary-header{gap:8px;padding:7px 10px}.effect-summary-header>div:first-child{min-width:42px;min-height:42px;border-radius:11px}.effect-summary-header h2{font-size:17px}.effect-card-list{grid-auto-columns:120px;gap:6px;padding:7px 10px}.effect-event-card{min-height:172px;border-width:2px;border-radius:12px}.effect-card-number{padding:3px;font-size:14px}.effect-card-title{min-height:29px;padding:5px 26px 3px 5px;font-size:10px}.effect-card-title .industry-mark{top:3px;right:4px;width:20px;height:20px}.effect-card-art{height:52px}.effect-card-amount{margin-top:-10px;padding:5px 9px;border-width:2px;font-size:16px}.effect-card-owner{margin:4px 5px 2px;padding:4px;font-size:9px}.effect-card-route{padding:4px 4px 1px;font-size:8px}.effect-player-totals{grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:4px;padding:0 10px 6px}.effect-player-total{padding:5px 7px;font-size:9px}.effect-summary-action{padding:6px 10px}.build-announcement{width:min(90vw,430px);max-height:calc(100vh - 10px);padding:8px 12px;border-width:2px;border-radius:18px}.build-announcement h2{margin:2px 0 6px;font-size:18px}.announcement-kicker{font-size:8px}.announcement-card{width:min(42%,165px);border-width:3px;border-radius:13px}.announcement-card-number{padding:3px;font-size:14px}.announcement-card-title{padding:4px;font-size:12px}.announcement-card-art{height:58px}.announcement-card p{min-height:0;padding:5px 7px;font-size:8px;line-height:1.3}.announcement-close{width:min(100%,220px);margin-top:7px;padding:7px 10px}.game-board.view-overview{grid-template-areas:"dice city" "summary city";grid-template-columns:170px minmax(0,1fr)}.game-board.view-overview .players{grid-template-columns:repeat(3,minmax(0,1fr))}.game-board.view-overview .city-list{max-height:none;overflow:visible;flex-direction:initial}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
