@import url('../brand.css');
:root{color-scheme:light;--ink:#304e46;--muted:#78877c;--paper:#fffef6;--soft:#eff4e8;--line:#dce6d7;--green:#527d65;--shadow:0 14px 40px #284b3824;font-family:'Avenir Next','Nunito','PingFang SC','Microsoft YaHei',sans-serif;font-size:14px;color:var(--ink)}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#dee8dc}button,input,select{font:inherit;color:inherit}button,select,input{border:1px solid var(--line);border-radius:11px;background:var(--paper)}button{cursor:pointer;padding:10px 14px;line-height:1.3;min-height:38px;transition:background .15s,transform .15s,box-shadow .15s}button:hover:not(:disabled){background:#edf3e7;border-color:#afc8b1;transform:translateY(-1px)}button:active:not(:disabled){transform:translateY(1px)}button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #d3af65;outline-offset:3px}button:disabled{cursor:default;opacity:.48}input,select{min-height:40px;padding:8px 11px;min-width:0;max-width:100%}input{width:100%}button[aria-pressed=true]{background:#e1eddb;border-color:#83a98c;box-shadow:inset 0 0 0 1px #83a98c}button.primary-button,.roll-button{background:var(--green);color:white;border-color:var(--green);font-weight:750}button.primary-button:hover:not(:disabled),.roll-button:hover:not(:disabled){background:#426d55}h1,h2,h3,p{margin-top:0}h2{font-size:17px}p{line-height:1.6}small{font-size:11px;color:var(--muted)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}#world{position:fixed;inset:0;width:100%;height:100%;display:block;touch-action:none}.icon-button{padding:0;width:34px;height:34px;min-height:34px;display:grid;place-items:center;border-radius:50%;background:transparent}.text-button{padding:5px 7px;min-height:28px;border:0;background:transparent;font-size:12px;text-decoration:none}.r8-header{position:fixed;z-index:45;inset:14px 20px auto;display:flex;align-items:center;gap:20px;min-height:47px;padding:6px 10px 6px 14px;background:#fffef5ed;border:1px solid #fff9;border-radius:18px;box-shadow:0 4px 18px #244b2b12;backdrop-filter:blur(8px)}.r8-brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);white-space:nowrap}.brand-emblem{font-size:26px;color:#668768;line-height:1}.r8-header>span{font-size:12px;color:var(--muted)}.r8-header nav{margin-left:auto;display:flex;align-items:center;gap:5px}.r8-header select{border:0;background:transparent;font-size:11px;min-height:32px;max-width:140px;padding:4px 6px}.r8-setup{position:fixed;z-index:20;left:24px;top:83px;bottom:26px;width:min(540px,calc(100vw - 48px));display:flex;flex-direction:column;padding:25px 28px 18px;border-radius:27px;background:#fffef6f5;border:1px solid #fff;box-shadow:var(--shadow);backdrop-filter:blur(10px);animation:panel-in .32s ease-out}.setup-heading{position:relative;flex:none;padding-right:40px}.setup-heading h1{font-size:29px;letter-spacing:.03em;margin:0 0 6px}.setup-heading p{font-size:12px;color:var(--muted);margin-bottom:20px}.setup-flower{position:absolute;right:0;top:0;color:#deb995;font-size:37px;animation:flower-wave 5s ease-in-out infinite}.r8-setup form{display:flex;flex-direction:column;min-height:0;flex:1}.setup-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:3px;scrollbar-width:thin}.setup-section{margin-bottom:21px}.setup-section h2{margin:0 0 12px;font-size:13px;font-weight:750}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.section-heading h2{margin:0}.section-heading select{font-size:11px;min-height:32px;padding:5px 9px}.city-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.city-card{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center;min-height:71px;font-size:12px;padding:9px 5px;background:#f5f6ea}.city-card>span{font-size:24px;line-height:1;color:var(--city-color)}.city-card[aria-pressed=true]{background:#e7efde;border-color:#97b18f}.seat-row{display:grid;grid-template-columns:42px minmax(0,1fr) 108px;gap:11px;align-items:center;padding:10px 0;border-bottom:1px solid #e7ecdf}.seat-row:last-child{border:0}.seat-avatar{width:42px;height:50px;object-fit:contain;background:var(--player-color);border-radius:16px}.seat-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.seat-fields input,.seat-fields select,.seat-row>select{min-height:34px;font-size:12px;padding:6px 8px}.seat-fields input{font-weight:650}.seat-row>select{font-size:11px}.setup-actions{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding-top:18px;flex:none}.start-button{min-height:48px;display:flex;justify-content:space-between;align-items:center;font-size:16px;border-radius:14px}.boot-status{font-size:12px;color:var(--muted);margin:10px 0 0}.scene-caption{position:fixed;left:62%;top:34%;pointer-events:none;text-shadow:0 3px 18px #fff8;color:#fffef2;font-size:35px;letter-spacing:.1em}.r8-hud{position:fixed;z-index:25;right:20px;top:81px;width:274px;max-height:calc(100dvh - 151px);overflow:auto;padding:14px;background:#fffef6f2;border:1px solid #fff;border-radius:23px;box-shadow:var(--shadow);scrollbar-width:thin;backdrop-filter:blur(8px)}.hud-title,.self-title,.hud-status,.hand-dock-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.hud-title{font-size:12px;margin-bottom:9px}.hud-title .icon-button{height:25px;min-height:25px;width:25px}.player-list{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:14px}.player-chip{min-width:0;display:flex;flex-direction:column;align-items:center;gap:3px;border:1px solid transparent;padding:4px 2px;background:transparent;border-radius:12px;position:relative}.player-chip img{width:39px;height:44px;object-fit:contain;border-radius:12px;background:var(--player-color)}.player-chip span{font-size:9px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-chip.active{border-color:#99b08e;background:#ecf2e4}.player-chip.active:after{content:'';position:absolute;top:-2px;right:5px;width:7px;height:7px;border:2px solid var(--paper);border-radius:50%;background:#d5a857}.player-chip.bankrupt{filter:grayscale(1);opacity:.45}.self-title{font-size:11px;color:var(--muted);margin-bottom:5px}.asset-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}.asset-pair>div{display:flex;flex-direction:column;gap:3px}.asset-pair span{font-size:11px;color:var(--muted)}.asset-pair strong{font-size:21px;letter-spacing:-.02em;font-variant-numeric:tabular-nums}#self-player{padding:11px 12px 13px;background:#eff3e5;border-radius:14px}#self-player>small{display:block;margin-top:8px;font-size:10px}.active-identity{display:flex;align-items:center;gap:11px;margin:15px 0 12px}.actor-portrait{width:48px;height:56px;object-fit:contain;border-radius:17px;background:#eee5d0}.active-identity>div{display:flex;flex-direction:column;gap:4px;min-width:0}.actor-label{font-size:10px;color:var(--muted)}.active-identity strong{font-size:16px}.shield-badge{font-size:10px;color:#6383a0}.turn-actions{display:flex;flex-direction:column;gap:7px}.turn-actions .roll-button{min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:13px 17px;font-size:19px;border-radius:16px;box-shadow:0 4px 0 #34563f}.roll-button span{font-size:29px;animation:dice-nudge 4s ease-in-out infinite}.hud-tools{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-top:12px}.hud-tools button{font-size:11px;min-height:33px;padding:5px 0;background:transparent;border:0}.hud-status{border-top:1px solid var(--line);padding-top:9px;margin-top:9px}.hud-status select,.hud-status button{min-height:29px;font-size:11px;border:0;background:transparent;padding:4px 7px}.hud-folded #hud-body,.hud-folded .player-list{display:none}.hud-folded{width:205px}.standby{font-size:12px;color:var(--muted);padding:10px;text-align:center}.hand-dock{position:fixed;z-index:24;left:24px;bottom:77px;max-width:min(700px,calc(100vw - 346px));padding:12px 15px;background:#fffef6ed;border:1px solid #fff;border-radius:21px;box-shadow:var(--shadow);backdrop-filter:blur(8px);animation:panel-in .22s ease-out}.hand-dock-head{font-size:12px;margin-bottom:8px}.hand-dock-head small{font-weight:400;margin-left:5px}.hand-row{display:flex;gap:8px;overflow:auto;padding:5px 3px;scrollbar-width:thin}.empty-hand{padding:8px;color:var(--muted);font-size:12px}.hand-card.art-card{min-width:76px;max-width:76px;width:76px;padding:5px;background:#fffef6;border-color:#e0e7d6;border-radius:13px}.hand-card.art-card .card-art-svg{max-height:65px}.card-face .card-name{font-size:11px;color:var(--ink);margin-top:4px}.card-art-frame{border-color:#dfe5d2;box-shadow:none;border-radius:10px}.card-quantity{font-size:10px}.hand-card.art-card.card-blocked .card-art-frame{opacity:.68;filter:saturate(.7)}.card-collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.card-collection .art-card{width:auto;max-width:none;min-width:0;padding:12px;display:block;text-align:left}.card-collection .card-art-svg{height:110px}.card-description-short{display:block;font-size:11px;line-height:1.55;margin-top:7px;color:var(--muted)}.decision-panel,.route-panel,.target-panel{position:fixed;z-index:32;left:24px;bottom:80px;width:410px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 174px);background:#fffef8f7;border:1px solid white;border-radius:23px;box-shadow:var(--shadow);animation:panel-in .22s ease-out;backdrop-filter:blur(8px)}.decision-panel{display:flex;flex-direction:column;padding:17px 18px 15px}.decision-heading,.route-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.decision-heading{margin-bottom:9px}.decision-heading h2{font-size:16px;margin:0}.decision-heading .icon-button{height:26px;min-height:26px;width:26px;font-size:19px}#decision-body{min-height:0;overflow:auto;scrollbar-width:thin}.purchase-line{display:flex;align-items:center;gap:12px;margin-bottom:9px}.purchase-icon{display:grid;place-items:center;width:43px;height:43px;border-radius:14px;background:#f2e7ca;color:#95774c;font-size:30px}.purchase-line>div:last-child{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:1}.purchase-line span{font-size:12px}.purchase-line strong,.payment-line>strong{font-size:25px;font-variant-numeric:tabular-nums}.decision-meta{margin:4px 0;font-size:11px;color:var(--muted);line-height:1.5}.decision-meta b{color:var(--ink)}#decision-controls{display:flex;gap:9px;padding-top:12px;flex:none;flex-wrap:wrap}#decision-controls>button{flex:1;min-width:85px}#decision-controls>.primary-button{flex:1.6}.payment-line{display:flex;align-items:center;gap:16px;margin:6px 0 12px}.payment-line>span{font-size:12px}.target-panel{display:flex;flex-direction:column;padding:0;overflow:hidden;bottom:80px;top:auto}.target-scroll{padding:17px;min-height:0;overflow:auto}.target-heading{display:flex;gap:13px;align-items:center}.target-art{width:66px;flex:none}.target-art .card-art-svg{height:75px}.target-heading h2{font-size:17px;margin-bottom:7px}.target-heading p{font-size:11px;color:var(--muted);line-height:1.5}.target-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:13px 0;max-height:220px;overflow:auto}.target-choice{font-size:11px;text-align:left;min-height:37px;overflow-wrap:anywhere;padding:9px}.target-choice[aria-pressed=true]{background:#e4eddc}.target-preview{padding:10px 12px;background:#eef3e7;border:0;border-radius:11px;font-size:12px}.target-controls{display:grid;grid-template-columns:1fr 2fr;gap:9px;margin:0;padding:12px 17px;background:#fffef6;border-top:1px solid var(--line);flex:none}.route-panel{padding:17px}.route-heading{font-size:14px}.route-heading button{border:0;padding:5px}.route-options{display:grid;gap:8px;margin-top:12px}.r8-camera{position:fixed;z-index:25;bottom:21px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:3px;padding:5px;background:#fffef5e8;border:1px solid #fff9;border-radius:15px;box-shadow:0 4px 18px #284b3818;white-space:nowrap}.r8-camera button{border:0;background:transparent;font-size:11px;min-height:31px;padding:6px 10px}.map-function{position:fixed;z-index:5;width:27px;height:27px;min-height:27px;padding:0;transform:translate(-50%,-75%);border-radius:50%;color:#577761;background:#fffbe7e8;border:1px solid #fff;box-shadow:0 2px 5px #284b3822}.action-receipt{position:fixed;z-index:22;left:24px;top:84px;width:315px;max-width:calc(100vw - 350px);background:#fffef4ed;border:1px solid white;padding:12px 30px 12px 15px;border-radius:18px;box-shadow:0 6px 22px #284b3815;pointer-events:none;animation:panel-in .2s ease-out}.receipt-close{position:absolute;right:7px;top:7px;border:0;padding:0;width:22px;min-height:22px;background:transparent;pointer-events:auto;color:var(--muted)}.recent-action>strong{font-size:11px}.recent-action p{font-size:12px;margin:5px 0;line-height:1.5}.previous-result{padding-top:8px;margin-top:8px;border-top:1px solid var(--line);opacity:.6}.previous-result .receipt-changes{display:none}.receipt-changes{display:flex;flex-wrap:wrap;gap:4px 10px;font-size:12px}.gain{color:#507f53}.loss{color:#b57261}.receipt-changes small{font-size:9px}.character-reaction{position:fixed;z-index:26;left:50%;transform:translateX(-50%);bottom:86px;display:flex;align-items:center;gap:10px;max-width:350px;padding:10px 17px 10px 9px;background:#fffef7f5;border:1px solid white;border-radius:24px 24px 24px 7px;box-shadow:0 7px 25px #284b381a;pointer-events:none;animation:reaction-in .2s ease-out}.character-reaction>img{width:48px;height:50px;object-fit:contain;border-radius:16px;background:#f0e8d4}.character-reaction strong{font-size:10px;color:var(--muted)}.character-reaction p{margin:3px 0 0;font-size:13px}.scene-cutin{position:fixed;z-index:28;left:24px;top:220px;display:flex;gap:10px;align-items:center;pointer-events:none;padding:9px 15px 9px 8px;border-radius:20px;background:#fffef7ed;box-shadow:0 7px 20px #284b381a;max-width:330px}.cutin-portrait img{width:48px;height:60px;object-fit:contain}.cutin-copy{display:flex;flex-direction:column;gap:6px;font-size:12px}.cutin-copy .player-name{font-size:10px;color:var(--muted)}.cutin-card{width:48px}.r8-toast{position:fixed;z-index:90;left:50%;bottom:26px;transform:translateX(-50%);padding:12px 20px;border-radius:16px;background:#344f43f2;color:#fffef3;max-width:calc(100vw - 32px);font-size:13px;box-shadow:var(--shadow)}.r8-dialog{position:fixed;z-index:60;border:1px solid white;border-radius:25px;background:var(--paper);box-shadow:0 25px 100px #17342544;padding:0;width:min(650px,calc(100vw - 32px));max-height:calc(100dvh - 42px);overflow:hidden;color:var(--ink)}.r8-dialog::backdrop{background:#24473540}.dialog-heading{display:flex;align-items:center;justify-content:space-between;padding:20px 23px 15px;border-bottom:1px solid var(--line);gap:15px}.dialog-heading h2{font-size:20px;margin:0;overflow-wrap:anywhere}.r8-dialog #dialog-body{padding:21px 23px;overflow:auto;max-height:calc(100dvh - 130px);overscroll-behavior:contain;scrollbar-width:thin}.r8-dialog[data-kind=menu],.r8-dialog[data-kind=audio],.r8-dialog[data-kind=property],.r8-dialog[data-kind=property-sale],.r8-dialog[data-kind=phase],.r8-dialog[data-kind=leave]{width:min(440px,calc(100vw - 32px))}.dialog-intro{font-size:12px;color:var(--muted);margin:0 0 15px}.dialog-actions,.phase-actions-modal,.leave-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:17px}.dialog-actions>button{flex:1}.menu-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.finance-tabs{display:flex;gap:8px;margin:20px 0 17px}.finance-tabs button{flex:1}.r8-dialog label{display:flex;flex-direction:column;gap:7px;font-size:12px}#bank-amount{font-size:24px;letter-spacing:.02em;height:55px}.amount-shortcuts{display:flex;gap:7px;margin:10px 0}.amount-shortcuts button{font-size:11px;min-height:30px;padding:5px 10px}.balance-preview{display:grid;gap:6px;margin:14px 0;font-size:12px}.balance-preview>div{display:flex;justify-content:space-between;gap:10px}.balance-preview span{color:var(--muted)}.balance-preview i{font-style:normal;font-weight:400;color:var(--muted);margin:0 3px}.finance-success{font-size:12px;background:#e8f0df;padding:10px;border-radius:11px;margin-top:13px}.preview-error,.preview-warning{font-size:12px;color:#aa6f50;line-height:1.6}.asset-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:20px}.asset-summary>div{background:#eff3e6;border-radius:13px;padding:13px;display:flex;flex-direction:column;gap:5px}.asset-summary span{font-size:11px;color:var(--muted)}.asset-summary strong{font-size:21px}.property-list{display:grid;gap:9px}.property-list article{display:flex;align-items:center;justify-content:space-between;gap:13px;border-bottom:1px solid var(--line);padding:10px 0}.property-location{display:flex;flex-direction:column;gap:5px;align-items:flex-start;text-align:left;padding:5px;border:0;background:transparent;min-width:0}.property-location strong{font-size:13px}.property-location small{font-size:10px}.property-list article>div{display:flex;align-items:center;gap:10px}.property-list article>div button{font-size:11px;padding:6px 9px}.property-list article>div strong{font-size:13px;white-space:nowrap}.back-current{width:100%;margin-top:19px}.stat-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}.stat-strip>div{display:flex;flex-direction:column;gap:7px;font-size:11px}.stat-strip span{color:var(--muted)}.stat-strip strong{font-size:15px}.property-hero{display:flex;align-items:center;gap:13px}.property-hero>span{font-size:46px;color:#a58d64}.order-total{display:flex;justify-content:space-between;align-items:center;padding:15px 0}.order-total strong{font-size:25px}.standings-list{display:grid;gap:9px}.standings-list article{display:grid;grid-template-columns:25px 40px 1fr auto;align-items:center;gap:10px;padding:13px 7px;border-radius:13px}.standings-list img{width:38px;height:48px;object-fit:contain}.standings-list strong{font-size:13px}.standings-list small{display:block;line-height:1.5;margin-top:6px}.rank-number{font-size:19px;color:#9b9e7b}.winner-row{background:#f2eccf}.standings-list b{font-size:17px}.recent-save{padding-bottom:20px;border-bottom:1px solid var(--line);margin-bottom:20px}.recent-save h3{font-size:14px}.save-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.save-slot{border:1px solid var(--line);border-radius:14px;padding:13px}.save-slot>strong{font-size:12px}.save-slot p{font-size:11px;color:var(--muted);min-height:46px;margin:8px 0}.save-slot-actions{display:flex;gap:7px}.save-slot-actions button{flex:1;font-size:11px;padding:7px}.help-goal{font-size:17px;font-weight:700;padding:14px;background:#edf2e2;border-radius:13px}.help-steps{padding:0;list-style:none;display:grid;gap:10px;margin-bottom:24px}.help-steps li{display:flex;gap:12px;align-items:flex-start}.help-steps li>b{width:27px;height:27px;background:#ebeedc;display:grid;place-items:center;border-radius:50%;flex:none;font-size:12px}.help-steps p{font-size:12px;margin:0;line-height:1.7}.help-card-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.help-card-grid article{display:flex;gap:10px;align-items:center}.help-card-art{width:55px;flex:none}.help-card-grid strong{font-size:12px}.help-card-grid p{font-size:11px;line-height:1.55;color:var(--muted);margin:4px 0 0}.log-list{list-style:none;padding:0;margin:0}.log-list li{display:flex;gap:13px;border-bottom:1px solid var(--line);padding:11px 0;font-size:12px;line-height:1.6}.log-list small{font-size:9px;min-width:58px;padding-top:2px}.audio-settings{display:grid;gap:16px}.audio-settings label>span{display:flex;justify-content:space-between}.audio-settings .check-label{display:flex;flex-direction:row;align-items:center;gap:7px}.check-label input{width:17px;min-height:17px}.audio-settings input[type=range]{padding:0}.audio-credit{font-size:10px;color:var(--muted);margin:0}.card-detail{max-width:260px;margin:auto}.card-detail .card-art-svg{max-height:190px}.card-detail>p{font-size:12px;color:var(--muted);margin-top:15px}
@keyframes panel-in{from{opacity:0;translate:0 9px;scale:.985}to{opacity:1;translate:0 0;scale:1}}@keyframes reaction-in{from{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}@keyframes flower-wave{0%,70%,100%{rotate:0}80%{rotate:12deg}90%{rotate:-8deg}}@keyframes dice-nudge{0%,80%,100%{rotate:0}87%{rotate:9deg}94%{rotate:-7deg}}
@media(max-width:1000px){.r8-hud{width:245px;right:13px}.hand-dock{max-width:calc(100vw - 290px);left:15px}.decision-panel,.target-panel,.route-panel{left:15px;width:375px;max-width:calc(100vw - 290px)}.action-receipt{left:15px;width:285px;max-width:calc(100vw - 290px)}.r8-header{inset:12px 13px auto}.r8-setup{left:15px;top:80px;width:510px;bottom:21px}.character-reaction{left:45%;max-width:280px}.r8-camera button{padding:6px 8px}.hand-card.art-card{width:68px;min-width:68px;max-width:68px}}
@media(max-width:700px){:root{font-size:13px}.r8-header{inset:8px 9px auto;gap:9px;padding:5px 7px 5px 11px;border-radius:15px;min-height:43px}.r8-brand strong{font-size:13px}.brand-emblem{font-size:24px}.r8-header>span{display:none}.r8-header nav{gap:1px}.r8-header select{max-width:97px;font-size:10px}.icon-button{width:30px;height:30px;min-height:30px}.r8-setup{inset:64px 10px 13px;width:auto;padding:21px 18px 15px;border-radius:23px}.setup-heading h1{font-size:25px}.setup-heading p{font-size:11px;margin-bottom:15px}.setup-flower{font-size:32px}.city-picker{gap:6px}.city-card{min-height:64px;font-size:11px}.seat-row{grid-template-columns:35px 1fr 93px;gap:8px}.seat-avatar{width:35px;height:45px}.seat-fields{grid-template-columns:1fr;gap:4px}.seat-fields input,.seat-fields select,.seat-row>select{font-size:11px;min-height:30px;padding:5px 6px}.seat-fields select{border:0;background:transparent;padding:1px 3px;min-height:24px}.setup-section{margin-bottom:14px}.setup-actions{padding-top:12px;gap:8px}.start-button{min-height:45px;font-size:15px}.scene-caption{display:none}.r8-hud{top:62px;left:10px;right:10px;width:auto;max-height:220px;padding:9px 12px;border-radius:17px;display:grid;grid-template-columns:1fr 1fr;gap:0 12px;overflow:auto}.hud-title{grid-column:1;font-size:10px;margin:0 0 5px}.player-list{grid-column:1;grid-row:2;margin:0;gap:3px;max-width:190px}.player-chip{padding:2px}.player-chip img{width:29px;height:34px;border-radius:9px}.player-chip span{font-size:8px}.r8-hud #hud-body{display:contents}#self-player{grid-column:2;grid-row:1 / 3;padding:9px;border-radius:12px}.self-title{font-size:9px;margin:0}.self-title .text-button{min-height:20px}.asset-pair{gap:8px}.asset-pair strong{font-size:17px}.asset-pair span{font-size:9px}#self-player>small{font-size:8px;margin-top:5px}#current-player{grid-column:1;grid-row:3 / 5}.active-identity{margin:8px 0 0;gap:7px}.actor-portrait{width:30px;height:37px;border-radius:11px}.active-identity strong{font-size:12px}.actor-label{font-size:9px}.shield-badge{font-size:8px}.turn-actions{grid-column:2;grid-row:3 / 5;align-self:center;margin-top:8px}.turn-actions .roll-button{min-height:43px;font-size:15px;padding:8px 12px;border-radius:12px;box-shadow:0 3px 0 #34563f}.roll-button span{font-size:23px}.turn-actions>button{min-height:36px;font-size:11px}.hud-tools{grid-column:1;grid-row:5;margin:6px 0 0;gap:0}.hud-tools button{font-size:9px;min-height:25px}.hud-status{grid-column:2;grid-row:5;padding:4px 0 0;border:0;margin:3px 0 0}.hud-status select,.hud-status button{font-size:10px;min-height:24px;padding:2px 4px}.hud-folded{width:auto;max-height:48px;grid-template-columns:1fr 1fr}.hud-folded #hud-body,.hud-folded .player-list{display:none}.hud-folded .hud-title{margin:0}.hud-folded .hud-status{grid-column:2;grid-row:1;margin:0}.r8-camera{bottom:12px;padding:4px;border-radius:12px}.r8-camera button{font-size:10px;padding:5px 8px;min-height:28px}.hand-dock{left:10px;right:10px;bottom:64px;max-width:none;padding:8px 11px;border-radius:18px}.hand-dock-head{font-size:11px;margin-bottom:3px}.hand-dock-head .text-button{font-size:10px;min-height:22px}.hand-row{gap:7px;padding:4px 2px}.hand-card.art-card{width:59px;min-width:59px;max-width:59px;padding:4px}.hand-card.art-card .card-art-svg{height:49px}.card-face .card-name{font-size:9px;white-space:normal}.card-quantity{font-size:8px;padding:1px 4px}.decision-panel,.target-panel,.route-panel{left:10px;right:10px;bottom:63px;width:auto;max-width:none;max-height:calc(100dvh - 315px);border-radius:20px}.decision-panel{padding:13px 15px}.decision-heading h2{font-size:15px}.decision-heading{margin-bottom:7px}.purchase-line{margin-bottom:5px;gap:10px}.purchase-icon{width:35px;height:35px;font-size:25px;border-radius:11px}.purchase-line strong,.payment-line>strong{font-size:22px}.decision-meta{font-size:10px}#decision-controls{padding-top:10px;gap:7px}#decision-controls>button{min-height:37px;font-size:12px}.target-scroll{padding:13px}.target-heading h2{font-size:15px}.target-heading p{font-size:10px}.target-art{width:49px}.target-art .card-art-svg{height:61px}.target-grid{max-height:160px;grid-template-columns:repeat(3,1fr)}.target-choice{font-size:10px;padding:8px;min-height:34px}.target-controls{padding:10px 13px}.target-controls button{font-size:12px;min-height:36px}.action-receipt{top:281px;left:12px;width:250px;max-width:calc(100vw - 24px);padding:10px 25px 10px 12px;border-radius:15px}.recent-action p{font-size:10px;margin:4px 0}.recent-action>strong{font-size:9px}.receipt-changes{font-size:10px}.previous-result{display:none}.character-reaction{left:50%;bottom:242px;max-width:260px;padding:7px 13px 7px 6px;gap:7px}.character-reaction>img{width:33px;height:37px;border-radius:12px}.character-reaction strong{font-size:9px}.character-reaction p{font-size:11px}.scene-cutin{left:12px;top:355px;padding:6px 10px;max-width:250px}.cutin-portrait img{width:32px;height:40px}.cutin-copy{font-size:10px;gap:4px}.cutin-card{width:33px}.r8-dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:21px}.dialog-heading{padding:15px 17px 12px}.dialog-heading h2{font-size:17px}.r8-dialog #dialog-body{padding:17px;max-height:calc(100dvh - 96px)}.asset-summary{gap:9px}.asset-summary>div{padding:11px}.asset-summary strong{font-size:19px}.property-list article{gap:8px}.property-list article>div{gap:6px;flex-direction:column;align-items:flex-end}.property-location strong{font-size:12px}.property-location small{font-size:9px}.standings-list article{grid-template-columns:17px 31px 1fr;gap:7px}.standings-list img{width:30px;height:38px}.standings-list b{grid-column:3;font-size:14px;margin-top:-5px}.standings-list small{font-size:9px}.help-card-grid{grid-template-columns:1fr;gap:14px}.help-card-grid p{font-size:11px}.card-collection{grid-template-columns:1fr 1fr;gap:9px}.card-collection .art-card{padding:9px}.save-grid{gap:8px}.save-slot{padding:10px}.save-slot-actions{gap:4px}.save-slot-actions button{font-size:10px;padding:6px 4px}.r8-toast{font-size:12px;bottom:17px}.audio-settings{gap:13px}}
@media(max-height:650px) and (min-width:701px){.r8-setup{top:74px;bottom:15px;padding:18px 22px}.setup-heading h1{font-size:24px}.setup-heading p{margin-bottom:12px}.setup-section{margin-bottom:12px}.city-card{min-height:58px;padding:7px}.seat-row{padding:7px 0}.setup-actions{padding-top:10px}.r8-hud{top:73px;padding:10px;max-height:calc(100dvh - 128px)}.player-list{margin-bottom:8px}.active-identity{margin:9px 0}.turn-actions .roll-button{min-height:50px}.hand-dock{bottom:67px}.hand-card.art-card .card-art-svg{max-height:50px}.decision-panel,.target-panel,.route-panel{bottom:67px}.action-receipt{top:74px}.r8-camera{bottom:13px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:hover:not(:disabled),button:active:not(:disabled){transform:none}}
.card-effect-preview{margin-top:7px}.card-effect-preview>p{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;margin:5px 0}.card-effect-preview>p>span{color:var(--muted)}.card-effect-preview>p>strong{font-size:12px}.card-effect-preview>p.cash-unchanged{font-size:10px;color:var(--muted);margin-top:8px}.r8-dialog[data-kind=bankruptcy]{width:min(440px,calc(100vw - 32px))}.r8-dialog[data-kind=bankruptcy] .dialog-actions>.primary-button{flex-basis:100%}

.finish-banner{display:flex;align-items:center;gap:15px;padding:17px 18px;margin:0 0 17px;border-radius:17px;background:#f3e9c8}.finish-banner>span{font-size:33px;color:#bc9751}.finish-banner>div{display:flex;flex-direction:column;gap:5px;min-width:0}.finish-banner small{font-size:11px;color:#91845f}.finish-banner strong{font-size:18px;overflow-wrap:anywhere}

/* A route in the list and the same road on the board share a letter and ink. */
.route-heading>div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.route-steps{font-size:11px;color:var(--muted);font-weight:400}.route-choice{display:grid;grid-template-columns:31px minmax(0,1fr) 17px;gap:10px;align-items:center;text-align:left;padding:10px 12px;min-height:65px;background:#fffef8;border-color:#dce4d6}.route-letter{display:grid;place-items:center;flex:none;width:29px;height:29px;border-radius:10px;background:var(--route-color);color:#203d32;font-weight:800;font-size:15px}.route-choice>span:nth-child(2){min-width:0;display:flex;flex-direction:column;gap:4px}.route-choice strong{font-size:12px;font-weight:650;line-height:1.45;overflow-wrap:anywhere}.route-choice small{font-size:10px;line-height:1.45;overflow-wrap:anywhere}.route-direction{font-size:20px;color:var(--muted)}.route-choice.is-preview,.route-choice[aria-pressed=true]{background:#eff4e9;border-color:var(--route-color);box-shadow:inset 0 0 0 1px var(--route-color)}.route-choice.is-preview .route-direction{color:var(--ink)}.route-summary{font-size:11px;color:var(--muted);line-height:1.5;min-height:1.5em;margin:11px 0 10px}.route-panel #route-confirm{width:100%;min-height:40px;font-size:13px}.route-panel{display:flex;flex-direction:column;overflow:auto;scrollbar-width:thin}.route-options{flex:none}.route-heading,#route-confirm{flex:none}
.route-map-guide{position:fixed;inset:0;z-index:19;pointer-events:none}.route-map-badge,.route-map-stop{position:absolute;transform:translate(-50%,-115%);background:#fffef5;color:#244238;border:2px solid var(--route-color);box-shadow:0 3px 8px #203d3230;transition:opacity .12s,background .12s;pointer-events:auto}.route-map-badge{display:grid;place-items:center;width:31px;min-height:31px;height:31px;border-radius:11px;padding:0;font-size:16px;font-weight:800}.route-map-badge:after{content:'';position:absolute;left:50%;bottom:-6px;transform:translateX(-50%) rotate(45deg);width:8px;height:8px;border-right:2px solid var(--route-color);border-bottom:2px solid var(--route-color);background:inherit}.route-map-badge.is-active{background:var(--route-color);box-shadow:0 0 0 4px #fff7,0 4px 10px #203d3230}.route-map-badge:hover:not(:disabled),.route-map-badge:active:not(:disabled){transform:translate(-50%,-115%);background:var(--route-color);border-color:var(--route-color)}.route-map-stop{pointer-events:none;transform:translate(-50%,13px);max-width:220px;padding:5px 9px;border-width:1px;border-radius:9px;font-size:11px;font-weight:600;line-height:1.4;text-align:center}.route-map-stop:before{content:'';position:absolute;top:-5px;left:50%;transform:translateX(-50%) rotate(45deg);width:7px;height:7px;background:#fffef5;border-left:1px solid var(--route-color);border-top:1px solid var(--route-color)}
@media(max-width:700px){.route-choice{min-height:58px;padding:9px 10px;gap:9px}.route-panel{padding:13px 15px}.route-map-stop{font-size:10px;max-width:180px}.route-heading>div{gap:8px}.route-summary{margin:9px 0}.route-map-badge{width:28px;min-height:28px;height:28px;font-size:14px}}
/* Short landscape screens keep the map and every confirmation reachable. */
@media(max-width:700px) and (max-height:550px){.r8-header{inset:6px 9px auto;min-height:37px}.r8-hud{top:53px;left:auto;right:9px;width:199px;max-height:calc(100dvh - 106px);display:block;padding:8px 10px}.hud-title{margin-bottom:5px}.player-list{margin-bottom:6px;max-width:none}.r8-hud #hud-body{display:block}.r8-hud #current-player{display:none}#self-player{padding:6px 8px}.self-title{font-size:8px}.asset-pair strong{font-size:15px}.asset-pair span{font-size:8px}.r8-hud #self-player>small{display:none}.turn-actions{margin-top:7px}.turn-actions .roll-button{min-height:35px;font-size:13px}.hud-tools{margin-top:3px}.hud-status{margin-top:2px;padding-top:2px}.hud-folded{width:165px}.hud-folded #hud-body{display:none}.decision-panel,.target-panel,.route-panel{left:9px;right:auto;bottom:57px;width:calc(100vw - 224px);max-width:390px;max-height:calc(100dvh - 114px);border-radius:17px}.decision-panel,.route-panel{padding:11px 13px}.route-options{gap:6px;margin-top:7px}.route-choice{min-height:48px;padding:7px 9px;grid-template-columns:25px minmax(0,1fr) 14px;gap:8px}.route-letter{width:25px;height:25px;font-size:13px;border-radius:8px}.route-choice strong{font-size:11px}.route-choice small{font-size:9px}.route-summary{margin:7px 0;font-size:10px}.route-panel #route-confirm{min-height:32px;font-size:11px}.target-scroll{padding:11px 13px}.target-controls{padding:9px 13px}.target-art{width:42px}.target-art .card-art-svg{height:48px}.target-heading h2{font-size:14px;margin-bottom:3px}.target-grid{max-height:100px;margin:8px 0}.target-heading p{margin:0}.hand-dock{right:220px;max-height:148px;overflow:auto;bottom:58px}.r8-camera{bottom:8px}.action-receipt{top:55px;left:10px;max-width:calc(100vw - 235px)}.character-reaction{display:none}.r8-setup{inset:53px 10px 10px;padding:12px 18px}.setup-heading h1{font-size:22px}.setup-heading p{margin-bottom:10px}.setup-actions{padding-top:8px}}
@media(max-width:700px){body:has(#route-panel:not([hidden])) .r8-hud{display:block;max-height:110px}body:has(#route-panel:not([hidden])) #hud-body,body:has(#route-panel:not([hidden])) .hud-status{display:none}body:has(#route-panel:not([hidden])) .player-list{display:grid;max-width:none;grid-template-columns:repeat(4,1fr);margin:0}body:has(#route-panel:not([hidden])) .hud-title{margin-bottom:4px}}

/* One quiet control area; the board keeps the space between decisions. */
.r8-header{background:transparent;border:0;box-shadow:none;backdrop-filter:none;padding:0;gap:0;pointer-events:none}
.r8-brand,.r8-header>span,.r8-header nav{background:#fffef6ed;pointer-events:auto;backdrop-filter:blur(8px)}
.r8-brand{height:43px;padding:0 0 0 13px;border-radius:15px 0 0 15px}.r8-header>span{height:43px;display:flex;align-items:center;padding:0 15px 0 12px;border-radius:0 15px 15px 0;font-size:12px}.r8-header nav{padding:4px 7px;border-radius:15px;box-shadow:0 3px 14px #25473212}
.setup-heading p,.setup-flower{display:none}.setup-heading h1{margin-bottom:22px}
.r8-hud{width:244px;padding:14px 16px;border-radius:20px}.player-list{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px;margin-bottom:15px}.player-chip{padding:4px 2px;min-height:49px}.player-chip img{width:37px;height:42px}.player-chip .sr-only{position:absolute}.player-chip.active{background:#e8efdf;border-color:#819e80}
#self-player{padding:0 0 13px;background:none;border-radius:0;border-bottom:1px solid var(--line)}.self-title{font-size:12px;margin:0 0 10px}.asset-pair{gap:14px}.asset-pair span{font-size:12px}.asset-pair strong{font-size:23px}.turn-caption{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:13px 0 10px}.turn-caption strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.turn-caption>span{font-size:12px;color:var(--muted);white-space:nowrap}.turn-actions .roll-button{min-height:49px;padding:11px 14px;font-size:17px;border-radius:12px;box-shadow:none}.roll-button span{animation:none}.hud-tools{margin-top:9px;gap:3px}.hud-tools button{font-size:12px;min-height:35px}.hud-status{padding-top:6px;margin-top:7px}.hud-status select,.hud-status button{font-size:12px;min-height:32px}
body:has(#decision-panel:not([hidden])) #turn-actions,body:has(#route-panel:not([hidden])) #turn-actions,body:has(#target-panel:not([hidden])) #turn-actions{display:none}
.route-choice{grid-template-columns:31px minmax(0,1fr);padding:12px;min-height:70px}.route-choice strong{font-size:14px;line-height:1.45}.route-choice small{font-size:12px;line-height:1.4}.route-panel #route-confirm{margin-top:14px;min-height:44px;font-size:14px}.route-steps{font-size:12px}.route-map-stop{font-size:12px;max-width:240px;padding:6px 10px}.decision-meta{font-size:13px;line-height:1.6}.preview-warning{font-size:13px;line-height:1.6}.decision-panel #decision-controls button{font-size:14px;min-height:43px}
.action-receipt{top:80px;left:50%;transform:translateX(-50%);width:auto;max-width:min(460px,calc(100vw - 320px));padding:10px 33px 10px 14px;border-radius:13px}.recent-action p{font-size:13px;line-height:1.5;margin:0}.receipt-changes,.previous-result,.character-reaction{display:none}
.r8-camera{padding:4px 7px;gap:2px;border-radius:14px}.r8-camera button{font-size:12px;min-height:34px;padding:7px 10px}
.card-collection{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.card-description-short{font-size:12px;line-height:1.6}
.card-collection .card-name{font-size:13px}.card-collection .card-description-short{font-size:12px;line-height:1.6}
.card-collection .art-card{display:flex;align-items:flex-start}
.r8-dialog[data-kind=cards]:has(.card-collection>.art-card:only-child){width:min(360px,calc(100vw - 24px))}
.turn-actions:has(.standby){display:none}
.turn-caption{flex-wrap:wrap;row-gap:4px}.turn-caption strong{flex:1}.turn-caption .shield-badge{flex-basis:100%;text-align:right;font-size:11px}
.target-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.target-preview{background:none;border-top:1px solid var(--line);padding:8px 0 0;border-radius:0}.card-effect-preview>p{font-size:12px}.card-effect-preview>p>strong{font-size:13px}.target-heading p{font-size:12px}
.target-panel .target-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr))}.target-choice:has(.die-choice){justify-content:center;min-height:43px;padding:6px}.die-choice{display:block;width:30px;height:30px;color:#416a54}
@media(max-width:700px){.r8-brand,.r8-header>span{height:38px}.r8-header nav{padding:2px 4px}.r8-header select{max-width:90px}.r8-hud{width:auto;padding:11px 13px}.player-chip img{width:32px;height:36px}.player-chip{min-height:41px}.turn-caption{margin:9px 0}.turn-caption strong{font-size:13px}.turn-caption>span{font-size:12px}.asset-pair strong{font-size:20px}.route-choice{grid-template-columns:28px minmax(0,1fr);min-height:64px;padding:10px}.route-choice strong{font-size:13px}.route-choice small{font-size:12px}.route-panel #route-confirm{margin-top:11px}.action-receipt{left:12px;right:12px;top:auto;bottom:282px;transform:none;max-width:none;font-size:13px}.r8-camera button{font-size:12px;padding:6px 8px}}
@media(max-width:700px) and (max-height:550px){.r8-hud{width:199px}.asset-pair strong{font-size:17px}.route-choice{min-height:52px;padding:8px 10px;grid-template-columns:25px minmax(0,1fr)}.route-choice strong{font-size:12px}.route-choice small{font-size:11px}.route-panel #route-confirm{margin-top:9px;min-height:36px}.action-receipt{left:10px;right:220px;top:54px;bottom:auto;font-size:12px}}
@media(max-width:700px){.r8-header>span{display:none}.r8-brand{border-radius:14px;padding:0 12px}body:has(#route-panel:not([hidden])) .player-list{grid-template-columns:none}}
@media(max-width:700px) and (max-height:550px){.r8-hud #current-player{display:block}.turn-caption{margin:7px 0}.turn-caption strong{font-size:12px}.turn-caption>span{font-size:11px}}
@media(max-width:700px){.card-collection{grid-template-columns:repeat(2,minmax(0,1fr))}.card-collection .card-name{font-size:12px}}
@media(max-width:700px) and (max-height:550px){.r8-hud{padding:8px 10px;max-height:calc(100dvh - 66px)}.r8-hud .player-list{display:none}body:has(#route-panel:not([hidden])) .r8-hud .player-list{display:grid}.r8-hud #self-player{padding:0 0 7px}.r8-hud .self-title{display:none}.asset-pair span{font-size:11px;line-height:1.2}.asset-pair strong{font-size:17px;line-height:1.2}.turn-caption{margin:6px 0}.turn-actions{margin-top:4px}.turn-actions .roll-button{min-height:36px;padding:7px 10px;font-size:14px}.hud-tools{margin-top:3px}.hud-tools button{min-height:28px}.hud-status{margin-top:2px;padding-top:3px}.hud-status select,.hud-status button{min-height:28px;font-size:11px}}
@media(max-width:700px) and (max-height:550px){.target-heading p{font-size:11px;line-height:1.4}.target-art{width:34px}.target-art .card-art-svg{height:40px}.target-grid{margin:6px 0}.target-choice{min-height:30px;padding:6px;font-size:11px}.target-preview>strong{display:none}.target-preview{padding-top:4px}.card-effect-preview{margin-top:0}.card-effect-preview>p{margin:4px 0;font-size:12px}.target-controls{padding:8px 13px}}
@media(max-width:700px) and (max-height:550px){#target-panel .target-art svg{height:40px!important}.target-panel .target-grid{margin:6px 0}.target-preview{margin-top:6px}.target-choice:has(.die-choice){min-height:38px;padding:5px}.die-choice{width:26px;height:26px}}
@media(min-width:560px) and (max-width:700px) and (max-height:550px){.r8-dialog:has(#bank-order-form){width:calc(100vw - 24px)}.r8-dialog #dialog-body:has(#bank-order-form){display:grid;grid-template-columns:.9fr 1.1fr;gap:7px 20px;align-items:start;align-content:start}.r8-dialog #dialog-body:has(#bank-order-form)>.dialog-intro,.r8-dialog #dialog-body:has(#bank-order-form)>.asset-pair,.r8-dialog #dialog-body:has(#bank-order-form)>.finance-success,.r8-dialog #dialog-body:has(#bank-order-form)>.finance-tabs{grid-column:1;margin:0}.r8-dialog #bank-order-form{grid-column:2;grid-row:1 / span 5}.r8-dialog #bank-order-form .dialog-actions{margin-top:12px}.r8-dialog #bank-order-form .balance-preview{margin:10px 0}.r8-dialog #bank-order-form .dialog-actions button{font-size:12px;padding:8px 6px}.r8-dialog:has(#bank-order-form) .dialog-intro{font-size:12px;line-height:1.5}}

/* New decisions show their consequence where the player makes the choice. */
.r8-dialog[data-kind=project]{width:min(660px,calc(100vw - 24px))}.project-rule{font-size:13px;line-height:1.6;margin:0 0 17px}.project-visit{display:grid;grid-template-columns:1fr 1fr;gap:24px}.project-racer{margin-bottom:13px}.project-racer>div:first-child{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;margin-bottom:6px}.project-racer strong{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-racer span{white-space:nowrap;color:var(--muted);font-variant-numeric:tabular-nums}.project-track{height:6px;background:#e7ecdf;border-radius:4px;overflow:hidden}.project-track i{display:block;height:100%;border-radius:inherit;transition:width .4s}.project-risk{font-size:12px;line-height:1.6;color:var(--muted);margin:8px 0 0}#project-order-form label{display:flex;flex-direction:column;gap:8px;font-size:13px}#project-amount{font-size:23px;height:51px}#project-order-form .dialog-actions{display:grid;grid-template-columns:1fr;gap:7px;margin-top:12px}#project-order-form .dialog-actions button{min-height:41px;font-size:13px}.project-ready{font-size:13px;color:var(--green);font-weight:650}.project-asset{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding:14px 0}.project-asset button{border:0;background:none;text-align:left;padding:0;display:flex;flex-direction:column;gap:6px}.project-asset span{font-size:12px;color:var(--muted)}.stay-summary{display:flex;align-items:center;gap:12px;padding:8px 0 13px}.stay-summary>span{display:grid;place-items:center;width:45px;height:45px;border-radius:15px;background:#e9edde;color:#76927b;font-size:26px}.stay-summary strong{font-size:20px}.facility-explanation{font-size:14px;line-height:1.7}.hand-count{font-size:11px;margin-left:2px;color:var(--green)}
.action-receipt:has(.card-award){width:244px;max-width:calc(100vw - 28px);padding:18px;top:103px;left:50%;right:auto;bottom:auto;transform:translateX(-50%);box-shadow:0 15px 45px #23432a2b}.card-award{text-align:center;animation:card-award-in .4s cubic-bezier(.2,.8,.2,1)}.card-award>strong{font-size:13px;color:var(--muted)}.award-art{width:119px;margin:12px auto 10px}.award-art svg{height:132px}.card-award h2{font-size:18px;margin:8px 0}.card-award p{font-size:13px;line-height:1.6;margin:8px 0 12px}.card-award>span{font-size:12px;color:var(--green)}@keyframes card-award-in{from{opacity:0;transform:translateY(15px) rotate(-5deg) scale(.88)}to{opacity:1;transform:none}}
@media(max-width:559px){.project-visit{grid-template-columns:1fr;gap:15px}.project-racer{margin-bottom:9px}.project-rule{margin-bottom:13px}#project-order-form .dialog-actions{grid-template-columns:1fr 1fr}.action-receipt:has(.card-award){top:275px}}
@media(min-width:560px) and (max-width:700px) and (max-height:550px){.r8-dialog[data-kind=project]{width:calc(100vw - 24px)}.project-rule{font-size:12px;margin-bottom:10px}.project-visit{gap:20px}.project-racer{margin-bottom:9px}.project-racer>div:first-child{margin-bottom:4px}.project-racer strong{font-size:12px}.project-risk{font-size:11px}.project-track{height:5px}#project-order-form .dialog-actions{grid-template-columns:1fr 1fr}#project-order-form .dialog-actions button{font-size:12px;padding:7px 5px}#project-amount{height:43px;font-size:21px}.action-receipt:has(.card-award){width:260px;top:57px;left:14px;transform:none;padding:13px 17px}.award-art{width:68px;margin:8px auto}.award-art svg{height:75px}.card-award h2{font-size:16px}.card-award p{font-size:12px;margin:6px 0}.card-award>span{font-size:11px}.stay-summary strong{font-size:17px}}
.stay-receipt{display:grid;grid-template-columns:36px 1fr;gap:6px 10px;align-items:center;padding:3px 15px 3px 0}.stay-receipt-icon{grid-row:1/3;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#e1eee4;color:#427265;font-size:24px}.stay-receipt strong{font-size:17px;line-height:1.4}.stay-receipt p{margin:0;font-size:13px;line-height:1.65;color:#5e7064}.action-receipt:has(.stay-receipt){width:min(360px,calc(100vw - 32px));}
.stay-receipt strong small{display:block;margin-bottom:2px;font-size:11px;font-weight:500;color:var(--muted)}
.project-total{display:flex;flex-direction:column;gap:7px;margin-bottom:10px}.project-total>span{font-size:12px;color:var(--muted)}.project-total>strong{font-size:22px;font-variant-numeric:tabular-nums}.project-total small{font-size:13px;font-weight:500}.project-race .project-track{display:flex;height:10px}.project-race .project-track i{flex:none;border-radius:0}.project-contributors{margin-top:16px;display:grid;gap:12px}.project-contributor{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:center;gap:8px;font-size:12px}.project-contributor>i{width:8px;height:8px;border-radius:50%}.project-contributor>strong{font-size:12px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-contributor>span{font-variant-numeric:tabular-nums;color:var(--muted)}.project-risk{color:#92714c;font-size:12px;line-height:1.7;margin-top:15px}.project-asset.is-lost>strong{color:var(--muted)}.project-asset.is-lost span{color:#92714c}
.landmark-receipt{display:grid;grid-template-columns:44px 1fr;gap:4px 12px;align-items:center;padding:5px 8px}.landmark-receipt>span{grid-row:1/4;font-size:42px;color:#bc9a5b}.landmark-receipt>small{font-size:12px}.landmark-receipt>strong{font-size:19px}.landmark-receipt>p{font-size:13px;line-height:1.6;margin:0}.action-receipt:has(.landmark-receipt){width:min(380px,calc(100vw - 32px))}
.asset-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;border-bottom:1px solid var(--line);padding:0 0 20px}.asset-summary>div{background:transparent;padding:0;border-radius:0}.asset-summary strong{font-size:20px}@media(max-width:559px){.asset-summary{grid-template-columns:1fr 1fr;gap:15px}.asset-summary>div{padding:0}.asset-summary strong{font-size:19px}}
.clear-receipt{padding:3px 8px}.clear-receipt>strong{font-size:12px;font-weight:500;color:var(--muted)}.clear-receipt>p{font-size:16px;line-height:1.5;margin:4px 0 0;font-weight:600}
@media(max-width:559px){#project-order-form .dialog-actions>button:last-child{grid-column:1/-1}}
@media(min-width:560px) and (max-width:700px) and (max-height:550px){#project-order-form .amount-shortcuts{display:none}#project-order-form label{gap:5px}#project-amount{height:38px}#project-order-form .dialog-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin-top:7px}#project-order-form .dialog-actions button{min-height:37px;font-size:11px;padding:6px 4px}#project-preview .balance-preview{margin-top:8px;gap:4px}.project-total>strong{font-size:20px}.project-contributors{margin-top:12px;gap:10px}}

/* A seat number is shared by dolls, the player strip and owned parcels. */
.player-chip{position:relative;display:flex;flex-direction:column;align-items:center;gap:2px;min-width:0}.player-chip .player-chip-name{display:block;font-size:11px;line-height:1.3;max-width:48px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ink)}.player-chip .player-seat-number{position:absolute;left:-3px;top:-4px;display:grid;place-items:center;width:19px;height:19px;border:2px solid #fffdf3;border-radius:50%;background:var(--player-color);color:#283f37;font-size:12px;font-weight:800;line-height:1}
.parcel-owner{position:absolute;left:0;top:0;display:grid;place-items:center;width:26px;height:26px;min-height:26px;padding:0;border:2px solid #fffdf2;border-radius:8px;background:var(--owner-color);color:#263e38;font:800 14px/1 system-ui;box-shadow:0 2px 5px #273f4938;pointer-events:auto;cursor:pointer;will-change:transform}.parcel-owner:after{content:"";position:absolute;bottom:-5px;left:8px;width:7px;height:7px;background:var(--owner-color);border-right:2px solid #fffdf2;border-bottom:2px solid #fffdf2;transform:rotate(45deg);border-radius:0 0 2px 0}.parcel-owner-name{display:none;position:absolute;left:50%;bottom:31px;transform:translateX(-50%);padding:6px 9px;border-radius:9px;background:#fffdf3;color:#29463c;box-shadow:0 2px 8px #263c4438;font-size:12px;font-weight:600;white-space:nowrap}.parcel-owner:hover,.parcel-owner:focus-visible,.parcel-owner.is-located{z-index:3;outline:2px solid #536d5a;outline-offset:2px}.parcel-owner:hover .parcel-owner-name,.parcel-owner:focus-visible .parcel-owner-name{display:block}.parcel-owner-line{position:absolute;left:0;top:0;height:1px;background:var(--owner-color);transform-origin:left center;pointer-events:none;opacity:.8}
@media(max-width:700px){.player-chip .player-chip-name{font-size:10px;max-width:43px}.player-chip .player-seat-number{width:17px;height:17px;font-size:11px}.parcel-owner{width:26px;height:26px}}
@media(min-width:701px) and (max-height:800px){.r8-setup{padding:20px 26px 16px}.setup-heading h1{font-size:25px;margin-bottom:16px}.setup-section{margin-bottom:13px}.setup-section h2{margin-bottom:9px}.city-card{min-height:57px;padding:6px;gap:4px}.city-card>span{font-size:21px}.seat-row{padding:5px 0}.seat-avatar{height:43px}.setup-actions{padding-top:12px}}
