:root{
  color-scheme:dark;
  font-family:system-ui,Segoe UI,sans-serif;
  color:#e6edf7;
  background:#101722;
  --owner-neutral:#51657a;
  --player1:#2b9be8;
  --player2:#e69a4b;
  --tile-bg:#253847;
  --tile-bg2:#2b4252;
}
*{box-sizing:border-box}
body{margin:0}
button,select{font:inherit;border:1px solid #56718a;color:#e8f2fa;background:#21394f;border-radius:7px;padding:8px}
button{cursor:pointer;font-weight:700}
button:disabled{opacity:.4;cursor:not-allowed}
button.secondary{background:#263646}
a{color:#b7d7fa;text-decoration:none}
.topbar{height:44px;display:flex;align-items:center;padding:0 16px;gap:16px;background:#182433;border-bottom:1px solid #354b63}
.topbar strong{margin-right:auto;font-size:15px}.topbar small{font-size:10px;color:#a4bcd1}.topbar nav{display:flex;gap:14px;font-size:12px}.topbar #chain-light{border:1px solid #567890;padding:3px 8px;border-radius:20px;font-size:10px}
main{padding:5px 8px;height:calc(100dvh - 44px);display:flex;flex-direction:column;min-height:0}
.toolbar{height:30px;display:flex;align-items:center;gap:15px;font-size:13px;flex-shrink:0}.toolbar-actions{margin-left:auto;display:flex;gap:6px}.toolbar button{padding:4px 9px;font-size:11px}
.message{height:24px;padding:3px 8px;background:#1c3346;border-left:3px solid #62ad9f;margin:2px 0 5px;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex-shrink:0}.message.error{background:#44272c;border-color:#ea7f7f}
.layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:9px;flex:1;min-height:0}.layout.board-focus .sidebar>details{display:none}
.board-panel{background:#182536;border:1px solid #344960;border-radius:10px;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;padding:6px;overflow:hidden}
.board{display:grid;grid-template-columns:1.15fr repeat(9,minmax(0,1fr)) 1.15fr;grid-template-rows:1.15fr repeat(9,minmax(0,1fr)) 1.15fr;gap:2px;width:100%;height:100%;aspect-ratio:1.32/1;min-width:0;min-height:0}
.tile{position:relative;min-width:0;min-height:0;background:var(--tile-bg);border:1px solid #526981;border-radius:4px;overflow:hidden}
.tile-inner{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:space-between;align-items:center;text-align:center;padding:4px 3px;gap:2px;background:linear-gradient(180deg,var(--tile-bg2),var(--tile-bg));}
.tile.pending .tile-inner{animation:pulseP1 .7s ease-in-out infinite alternate}
.tile.pending.pending-p2 .tile-inner{animation:pulseP2 .7s ease-in-out infinite alternate}
@keyframes pulseP1{from{background:#285373}to{background:#3671a0; box-shadow:inset 0 0 0 1px #69c4ff}}
@keyframes pulseP2{from{background:#66452b}to{background:#996738; box-shadow:inset 0 0 0 1px #ffc07b}}
.tile.start .tile-inner{background:linear-gradient(180deg,#204f43,#16382f)}
.tile.chance .tile-inner{background:linear-gradient(180deg,#244766,#1a3851)}
.tile.community .tile-inner{background:linear-gradient(180deg,#405273,#2a3c58)}
.tile.reward .tile-inner{background:linear-gradient(180deg,#285c4a,#1b4637)}
.tile.penalty .tile-inner,.tile.fee .tile-inner{background:linear-gradient(180deg,#564b59,#403945)}
.tile.utility .tile-inner,.tile.transit .tile-inner,.tile.corner .tile-inner{background:linear-gradient(180deg,#32536c,#244255)}
.owner-strip{position:absolute;z-index:3;pointer-events:none;background:var(--owner-neutral);opacity:1;box-shadow:0 0 0 1px rgba(12,23,35,.5)}
.owner-strip.top{left:4px;right:4px;top:4px;height:7px;border-radius:4px}
.owner-strip.bottom{left:4px;right:4px;bottom:4px;height:7px;border-radius:4px}
.owner-strip.left{top:4px;bottom:4px;left:4px;width:7px;border-radius:4px}
.owner-strip.right{top:4px;bottom:4px;right:4px;width:7px;border-radius:4px}
.tile.owner1 .owner-strip{background:var(--player1)}
.tile.owner2 .owner-strip{background:var(--player2)}
.tile-number{align-self:flex-start;color:#a2bcd3;font-size:clamp(7px,.55vw,10px)}
.tile-name{font-size:clamp(8px,.75vw,13px);font-weight:700;line-height:1.08;overflow-wrap:anywhere}
.tile.corner .tile-name,.tile.start .tile-name{font-size:clamp(10px,.95vw,15px)}
.tile-price{font-size:clamp(7px,.54vw,9px);white-space:nowrap;color:#9bb3cc}
.tile-tokens{min-height:12px;display:flex;align-items:center;justify-content:center;gap:2px;flex-wrap:wrap}
.token{background:#187fbf;border-radius:4px;font-size:clamp(10px,.92vw,15px);line-height:1.15;padding:0 2px}.token.p2{background:#b97532}
.tile-owner{font-size:8px}
.board-center{grid-column:3/10;grid-row:3/10;background:radial-gradient(ellipse at center,#1b374a,#101e2e);border:1px solid #3a5875;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;padding:10px;min-width:0;min-height:0}
.center-top{display:flex;align-items:center;gap:16px}.board-center h1{font-size:clamp(18px,2vw,30px);margin:0}.active-icon{font-size:clamp(28px,3vw,44px)}.subhead{color:#a8c6dd;font-size:12px;text-align:center}
.dice-pair{display:flex;gap:18px}.dice-face{font-size:clamp(58px,8vh,104px);line-height:1;filter:drop-shadow(0 8px 8px #080e19)}.dice-face.blank{display:block;width:.76em;height:.76em;border:5px solid #e4f1ff;border-radius:8px;background:rgba(18,41,58,.5);box-shadow:0 3px 12px rgba(0,0,0,.32);filter:none}.dice-face.rolling{animation:roll .12s linear infinite alternate;opacity:.72}@keyframes roll{from{transform:rotate(-16deg) scale(.94)}to{transform:rotate(14deg) scale(1.06)}}
.roll-button{min-width:180px;background:#247cae;font-size:17px;padding:12px 24px}
.sidebar{overflow:auto;min-height:0}.card{background:#192636;border:1px solid #3b4f66;border-radius:9px;margin-bottom:7px;padding:11px;font-size:12px}.card h2{font-size:16px;margin:0 0 9px}.card summary{font-weight:700;cursor:pointer}.card label{display:block;margin:9px 0 4px;color:#b4cce2}.card select{width:100%}.card button{width:100%;margin-top:7px}.card #execute{background:#247da9}.card #landing,.card #estimate,.event-panel{padding:8px;margin:7px 0;background:#24394e;border-radius:5px;line-height:1.4;white-space:pre-wrap}.event-panel{min-height:68px;border-left:3px solid #638bb4}.card dl{display:grid;grid-template-columns:1fr auto;gap:5px}.card dd{margin:0}.card pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:10px}.player{display:flex;align-items:center;justify-content:space-between;padding:6px 0;border-top:1px solid #35475a;gap:4px}.player .bal{font-size:11px}.player .pos{font-size:10px;color:#abc0d5}.player.active .name{font-weight:700}
@media(max-width:1180px){.layout{grid-template-columns:minmax(0,1fr) 290px}}
@media(max-width:820px){main{height:auto;min-height:calc(100dvh - 44px)}.layout{display:flex;flex-direction:column}.board-panel{height:68vh;min-height:420px}.sidebar{overflow:visible}.board{min-width:720px}.board-panel{overflow-x:auto;justify-content:flex-start}}
@media(max-height:760px) and (min-width:821px){.board-center{gap:8px}.dice-face{font-size:54px}.active-icon{font-size:24px}.roll-button{padding:8px 13px}.tile-price{display:none}}
/* v0.6.8: compact verified event reveal inside the landing square */
.tile.revealed .tile-inner{box-shadow:inset 0 0 0 1px rgba(203,233,255,.2)}
.tile-reveal{position:absolute;left:10px;right:10px;top:45%;padding:3px 2px;border-radius:4px;
  background:rgba(14,27,43,.89);border:1px solid #7197b4;color:#e3f4ff;font-size:clamp(7px,.62vw,10px);
  font-weight:700;line-height:1.2;pointer-events:none;overflow:hidden;animation:cardReveal .35s ease-out both}
@keyframes cardReveal{from{opacity:0;transform:rotateY(80deg) scale(.9)}to{opacity:1;transform:rotateY(0deg) scale(1)}}

/* v0.6.10 — town-square transactions and enlarged markers on inner board edge. */
.board-center{gap:9px;position:relative;overflow:visible;z-index:1}
.town-square{z-index:2;width:min(95%,520px);padding:12px 14px;background:rgba(15,30,45,.78);border:1px solid rgba(127,177,215,.5);border-radius:12px;backdrop-filter:blur(6px);box-shadow:0 9px 28px rgba(0,0,0,.22);font-size:12px}
.town-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}
.town-head strong{font-size:14px}.town-head span{font-size:11px;color:#a4d1e8}
.town-description{font-size:11px;color:#adc7db;margin-bottom:8px}
.town-form{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.town-form label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#bcd5e7}
.town-form select,.town-form input{width:100%;min-width:0;background:#1b364a;border:1px solid #62809d;border-radius:6px;padding:7px;color:#eff7ff}
.town-action{margin-top:8px;width:100%;background:#226d98}
#town-offer-summary{white-space:pre-line;background:rgba(40,67,88,.65);padding:10px;border-radius:6px;margin:8px 0;line-height:1.5}
.town-buttons{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.tile{overflow:visible;z-index:3}.tile-inner{overflow:hidden;border-radius:3px}
.tile-tokens{position:absolute;z-index:7;bottom:2px;left:50%;transform:translateX(-50%);width:max-content;max-width:110%;pointer-events:none}
.token{display:inline-grid;place-items:center;width:clamp(25px,2.2vw,35px);height:clamp(25px,2.2vw,35px);font-size:clamp(17px,1.65vw,25px);line-height:1;border:2px solid #e8f4ff;border-radius:50%;box-shadow:0 3px 7px #07141d,0 0 0 1px #183143}
.tile-owner{display:none}
/* Move tokens toward the board centre, overlapping the inner square boundary. */
.tile.marker-bottom .tile-tokens{top:auto;bottom:-12px}
.tile.marker-top .tile-tokens{bottom:auto;top:-12px}
.tile.marker-left .tile-tokens{left:-12px;right:auto;transform:none}
.tile.marker-right .tile-tokens{left:auto;right:-12px;transform:none}
.board-center:has(.town-square) .dice-face{font-size:clamp(35px,5.5vh,63px)}
.board-center:has(.town-square) .active-icon{font-size:26px}
@media(max-height:740px){.town-square{padding:7px 9px}.town-description{display:none}.town-head{margin-bottom:4px}.board-center:has(.town-square) .dice-face{font-size:42px}}

/* v0.6.10: inward markers, property development strip and financial hover details */
.tile{isolation:auto}
.tile:focus-visible{outline:2px solid #c7efff;outline-offset:1px}
.tile-price{display:none !important}
.tile-inner{justify-content:center;padding:10px 6px}
.tile-number{position:absolute;top:3px;left:4px}
.tile-name{font-size:clamp(9px,.82vw,14px)}
.tile-tokens{z-index:12}
.tile:has(.tile-tokens .token){z-index:8}
.development-strip{position:absolute;z-index:5;display:flex;gap:2px;pointer-events:none}
.development-strip.bottom,.development-strip.top{left:4px;right:4px;height:14px;flex-direction:row}
.development-strip.bottom{bottom:14px}
.development-strip.top{top:14px}
.development-strip.left,.development-strip.right{top:4px;bottom:4px;width:14px;flex-direction:column}
.development-strip.left{left:14px}
.development-strip.right{right:14px}
.dev-slot{display:flex;align-items:center;justify-content:center;background:#506173;opacity:.48;border-radius:3px;min-width:0;min-height:0;line-height:1}
.dev-slot.house{flex:1}
.dev-slot.hotel{flex:2}
.dev-slot.house.built{background:#2ac46d;opacity:1}
.dev-slot.hotel.built{background:#e94950;opacity:1}
.dev-slot svg{width:min(100%,12px);height:min(100%,12px);fill:currentColor;stroke:none;opacity:.8}
.dev-slot:not(.built) svg{opacity:.3}
.asset-popover{position:fixed;z-index:200;max-width:min(310px,calc(100vw - 20px));width:265px;
 background:#142638;border:1px solid #81a9c8;border-radius:10px;padding:12px;
 box-shadow:0 12px 30px #0009;color:#eaf4ff;font-size:12px;pointer-events:none}
.asset-popover[hidden]{display:none}
.asset-popover h3{margin:0 0 8px;font-size:15px}
.asset-popover .detail-row{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #304a60;padding:6px 0}
.asset-popover .detail-row strong{text-align:right}
.town-improvements{border-top:1px solid #34566e;margin-top:10px;padding-top:10px}
.town-improvements .town-form{align-items:end}
.town-improvements button{width:100%;margin-top:6px}
.town-improvements .town-description{margin-bottom:6px}

/* v0.6.11 — immersive board: separate walkway, visit carpet and central controls. */
.layout.board-focus{grid-template-columns:minmax(0,1fr)}
.layout.board-focus .sidebar{display:none}
.board{position:relative;isolation:isolate}
.walkway{grid-column:2/11;grid-row:2/11;position:relative;z-index:1;min-width:0;min-height:0;
  background:repeating-linear-gradient(95deg,#111923,#111923 17px,#151f2b 18px,#151f2b 19px);
  border:2px solid #3b6480;border-radius:26px;box-shadow:inset 0 0 24px #02060bcc,0 0 12px #060f19}
.walkway-markers{position:absolute;inset:0;pointer-events:none;overflow:visible}
.visitor-carpet{position:absolute;z-index:2;height:12px;background:#667788;opacity:.9;border-radius:4px;
  transform-origin:0 50%;box-shadow:0 0 7px #070c15;pointer-events:none}
.visitor-carpet.owner1{background:var(--player1)}
.visitor-carpet.owner2{background:var(--player2)}
.walkway-token{position:absolute;z-index:4;width:clamp(30px,2.6vw,43px);height:clamp(30px,2.6vw,43px);
  transform:translate(-50%,-50%);display:grid;place-items:center;font-size:clamp(19px,1.75vw,27px);
  background:#147fc0;border:2px solid #e6f5ff;border-radius:50%;box-shadow:0 2px 9px #02050b,0 0 0 2px #26455c}
.walkway-token.p2{background:#b87932}
.tile{z-index:2}
.tile:hover,.tile:focus-visible{z-index:5}
.tile.asset:has(.owner-strip){cursor:default}
.tile.asset.visitable{cursor:pointer}
.tile.asset.visitable:hover{outline:2px solid #83d9fa;outline-offset:0}
.tile.asset .tile-name{display:none}
.board-center{z-index:2;grid-column:3/10;grid-row:3/10;overflow:hidden;display:flex;flex-direction:column;
  justify-content:flex-start;align-items:stretch;gap:0;padding:clamp(8px,1.2vw,18px);
  border:2px solid #3c82b5;box-shadow:0 0 13px #091629, inset 0 0 18px #081929}
.center-player-view{width:100%;height:100%;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:8px;align-items:stretch;scrollbar-width:thin;padding-right:2px}
.center-player-view[hidden],.asset-feature[hidden]{display:none}
.center-player-view>.center-top{justify-content:center;gap:8px}
.center-player-view>.dice-pair{justify-content:center;gap:10px}
.center-player-view>.dice-pair .dice-face{font-size:clamp(37px,5vh,60px)}
.center-player-view>.roll-button{align-self:center;font-size:14px;padding:8px 18px;min-width:155px}
.center-player-view>.town-square{width:100%;max-width:720px;align-self:center;flex-shrink:0;box-shadow:none;padding:9px 11px}
.center-player-view>.center-decisions{width:100%;max-width:720px;align-self:center;flex-shrink:0;margin:0;
  padding:9px 11px;background:rgba(17,35,51,.7);border:1px solid #476e87}
.center-decisions h2{font-size:14px;margin-bottom:5px}
.center-decisions #event-panel{min-height:0}
.center-decisions #landing,.center-decisions #estimate,.center-decisions .event-panel{padding:5px 8px;margin:4px 0;font-size:11px}
.center-decisions label{margin:5px 0 3px}
.center-decisions button{margin-top:5px}
.center-decisions #turn-outcome{font-size:11px}
.asset-feature{width:100%;height:100%;overflow-y:auto;min-height:0;padding:4px 7px 12px;scrollbar-width:thin}
.feature-header{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:9px}
.feature-header button{padding:6px 10px;font-size:12px}
.feature-visit{font-size:11px;color:#a8c8df}
.feature-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.feature-title h2{margin:0;font-size:clamp(17px,1.5vw,24px)}
.feature-owner{font-size:11px;padding:5px 8px;border:1px solid #607b90;border-radius:12px}
.feature-owner.owner1{border-color:#2b9be8;color:#92d2ff}
.feature-owner.owner2{border-color:#e69a4b;color:#ffd7a2}
.feature-showcase{height:clamp(135px,23vh,265px);border:1px solid #426887;border-radius:10px;overflow:hidden;background:#172940}
.feature-showcase img{width:100%;height:100%;object-fit:cover;display:block}
.feature-description{color:#bfd5e8;font-size:12px;line-height:1.45;margin:8px 0}
.feature-upgrades{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:12px;font-weight:700;margin:9px 0}
.feature-development{display:flex;gap:3px;width:min(230px,45%);height:23px}
.feature-slot{display:grid;place-items:center;border-radius:3px;min-width:0;background:#4c6072;color:#a1acb7;opacity:.6;font-size:18px}
.feature-slot.house{flex:1}.feature-slot.hotel{flex:2}
.feature-slot.house.built{background:#29b960;color:#fff;opacity:1}
.feature-slot.hotel.built{background:#df414a;color:#fff;opacity:1}
.feature-finances{background:rgba(9,24,38,.72);padding:4px 12px;border:1px solid #355770;border-radius:10px}
.feature-finance-row{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px solid #2e455a;font-size:12px}
.feature-finance-row:last-child{border:0}
.feature-finance-row strong{text-align:right;white-space:nowrap}
.feature-rent-chart{padding:9px 11px;margin:10px 0;border-radius:8px;border:1px solid #385b75;background:#13283c}
.feature-rent-chart>strong{font-size:12px}
.feature-bars{height:137px;display:flex;align-items:flex-end;justify-content:space-around;gap:6px}
.feature-bar{height:125px;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;flex:1;gap:3px;font-size:11px}
.feature-bar>div{width:80%;max-width:55px;background:#218ebf;border:1px solid #68c2ed;border-radius:4px 4px 0 0}
.feature-bar>div.current{background:#e9a643;border-color:#ffcf80}
.feature-bar small{font-size:10px;color:#c1d2e5;text-align:center}
.feature-footnote{font-size:11px;color:#a4b9cb}
@media(max-height:850px){.center-player-view>.center-top h1{font-size:18px}.center-player-view>.active-icon{font-size:21px}}

.jump-decisions{align-self:center;font-size:11px;padding:5px 11px}


/* v0.6.12 — immersive stage, no walkway stripes, separate player decisions. */
.walkway{background:#080d14;border:0;box-shadow:none;border-radius:18px}
.board-center{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible;
 grid-column:3/10;grid-row:3/10;align-items:center;justify-content:center;padding:clamp(8px,1.2vw,18px)}
.center-player-view{height:auto;max-height:100%;overflow:visible;justify-content:center;align-items:center;gap:12px;
 padding:8px 4px;text-align:center}
.center-player-view>.center-top{justify-content:center}
.center-player-view>.dice-pair .dice-face{font-size:clamp(31px,4.5vh,55px)}
.center-player-view>.roll-button{min-width:140px;padding:10px 22px}
.center-player-view .active-icon{font-size:30px}
.center-player-view #active-player{font-size:clamp(20px,2vw,28px)}
.board-center.event-mode .center-top,.board-center.event-mode .dice-pair,
.board-center.event-mode .roll-button,.board-center.event-mode #dice-result{display:none}
.landing-stage{width:min(100%,620px);margin:auto;animation:stageAppear .38s ease-out both;
 padding:clamp(12px,2vw,24px);text-align:center;color:#eef7ff;text-shadow:0 2px 8px #000a}
.landing-stage[hidden]{display:none}
.landing-stage h2{font-size:clamp(23px,2.3vw,36px);margin:0 0 8px}
.stage-subtitle{font-size:clamp(13px,1.2vw,17px);color:#b9def5;margin-bottom:15px}
.stage-event{font-size:clamp(12px,1.05vw,15px);line-height:1.8;white-space:pre-line;
 max-width:560px;margin:auto;color:#d8eaf9}
.stage-hint{color:#8cabc1;margin-top:20px;font-size:11px}
@keyframes stageAppear{from{opacity:0;transform:translateY(16px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.asset-feature{background:transparent;border:0;padding:4px 2px 14px;animation:stageAppear .32s ease-out both}
.feature-showcase{border-color:#29445a}
.feature-finances,.feature-rent-chart{background:rgba(7,16,28,.83)}
.sidebar .player-actions{border-color:#537890}
.sidebar .center-decisions{margin:9px 0 0;padding:0;background:transparent;border:0;width:100%;max-width:none}
.sidebar .center-decisions h2{font-size:13px;margin:5px 0}
.sidebar .center-decisions #landing,.sidebar .center-decisions #estimate,
.sidebar .center-decisions .event-panel{font-size:11px;padding:7px;margin:7px 0}
.sidebar .town-square{width:100%;max-width:none;margin-top:9px;background:#15273a;
 padding:9px;border:1px solid #37516a;box-shadow:none;backdrop-filter:none}
.sidebar .town-form{grid-template-columns:1fr;gap:7px}
.sidebar .town-head{align-items:flex-start}
.sidebar .town-head strong{font-size:12px}
.sidebar .town-head span{font-size:10px}
.sidebar .town-description{display:block;font-size:10px}
.sidebar .player-trades{border-top:1px solid #344f65;margin-top:12px;padding-top:9px}
.sidebar .player-trades>summary{font-weight:700;font-size:12px;cursor:pointer}
.sidebar .town-buttons{grid-template-columns:1fr 1fr}
.sidebar .portfolio{border-top:1px solid #34475c;margin-top:8px;padding-top:7px;font-size:11px}
.portfolio-heading{font-weight:700;margin-bottom:5px;color:#b9d8ef}
.portfolio-item{display:flex;justify-content:space-between;gap:8px;padding:3px 0;color:#a8c4d9}
.portfolio-item strong{color:#edf4fa;font-weight:600}
.portfolio-empty{color:#92a9b9;font-size:11px}
.sidebar .card{padding:10px}
@media(max-width:1180px){.sidebar .town-form{grid-template-columns:1fr}}

.sidebar .player-turn{padding-top:7px}
.sidebar .player-turn>summary{font-size:12px;font-weight:700;cursor:pointer}

/* v0.6.13 — auto-settle stage cards and themed visit samples. */
.tile.visited .tile-inner{box-shadow:inset 0 0 0 2px #84d5ff,0 0 14px #0a2233;background:#24465b}
.stage-kicker{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#9fcbe9;margin-bottom:8px;font-weight:700}
.stage-scene{margin:0 auto 14px;width:min(100%,560px);border:1px solid #375a76;border-radius:14px;overflow:hidden;background:#102234;box-shadow:0 12px 30px #0007}
.stage-scene[hidden]{display:none}
.stage-scene img{display:block;width:100%;height:clamp(160px,26vh,270px);object-fit:cover}
.stage-scene-caption{padding:8px 12px;font-size:11px;color:#b7d4ea;background:rgba(8,17,28,.9);text-align:left}
.stage-event{display:grid;gap:9px;text-align:left;max-width:560px;margin:0 auto;color:#d8eaf9}
.stage-event p{margin:0;padding:10px 12px;border:1px solid #355b77;border-radius:10px;background:rgba(8,18,30,.74)}
.stage-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:560px;margin:14px auto 0}
.stage-actions[hidden]{display:none}
.stage-chip{padding:7px 11px;border-radius:999px;border:1px solid #4b7191;background:rgba(21,42,61,.84);font-size:11px;color:#ddecf8}
#recovery-panel[hidden],#purchase-panel[hidden]{display:none}
.feature-description{white-space:pre-line}

.stage-cta{cursor:pointer;background:#24648b;border-color:#78b9df;color:#fff}.stage-cta:hover{background:#307ca9}
