#game .tycoon-inspector .result-profit{padding:11px 14px;border:1px solid #526575;border-radius:5px;background:#15202d;color:#cad6df}
#game .tycoon-inspector .result-net-negative{background:rgba(239,68,68,.12);border-color:rgba(239,68,68,.35);color:#F87171}
#game .tycoon-inspector .result-net-positive{background:rgba(16,185,129,.12);border-color:rgba(16,185,129,.35);color:#34D399}
#game .tycoon-inspector .result-profit strong{color:inherit;font-variant-numeric:tabular-nums;margin:3px 0 0;background:transparent}
#game .tycoon-inspector .result-profit small{color:#ccd4dc}
.postmatch-overlay{position:absolute;inset:0;display:grid;grid-template-rows:minmax(0,1fr);align-items:center;justify-items:center;padding:clamp(8px,2vw,24px);pointer-events:none;box-sizing:border-box}
.postmatch-card{box-sizing:border-box;width:min(560px,100%);max-height:100%;overflow:auto;pointer-events:auto;padding:clamp(14px,2.1vw,25px);border:1px solid #596878;border-top:3px solid #d6b26a;border-radius:8px;background:linear-gradient(125deg,#202d3af5,#0e1924fa 76%);color:#edf1f4;box-shadow:0 12px 34px #0007;text-shadow:none;transform:translateY(min(3vh,20px))}
.postmatch-header,.postmatch-card h2{display:flex;align-items:center;justify-content:space-between;gap:10px}
.postmatch-header small,.postmatch-tile small,.postmatch-attendance{font:600 11.5px/1.3 var(--font-ui);letter-spacing:0.035em}
.postmatch-header small{color:#f0cb80}.postmatch-card h2{margin:14px 0 4px;font:700 clamp(18px,2.4vw,30px)/1.07 var(--font-display);justify-content:flex-start}
.postmatch-card h2 b{font-variant-numeric:tabular-nums;white-space:nowrap;color:#f2ce89}
.postmatch-attendance{margin:6px 0 14px;color:#b7c6d3}
.postmatch-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #ffffff26;padding:13px 0}
.postmatch-tile{padding:0 11px;min-width:0;border-left:1px solid #ffffff20}.postmatch-tile:first-child{padding-left:0;border:0}
.postmatch-tile small,.postmatch-tile span,.postmatch-tile strong{display:block}.postmatch-tile small{text-transform:uppercase;font-size:11.5px;color:#bac9d4}
.postmatch-tile strong{font:600 clamp(17px,2.3vw,27px)/1.15 var(--font-ui);font-variant-numeric:tabular-nums;margin:5px 0}
.postmatch-tile span{font:13px/1.4 var(--font-ui);color:#c4d1dd}.postmatch-negative{color:#F87171}.postmatch-positive{color:#34D399}
#game button.postmatch-next,#game button.postmatch-dismiss,#game button.postmatch-reopen{pointer-events:auto;border-radius:4px;min-height:36px;padding:6px 12px;font:600 14px var(--font-ui);cursor:pointer}
#game button.postmatch-next{margin-top:14px;min-height:44px;background:#e7c47f;color:#171d23;border:1px solid #f0cf92}
#game button.postmatch-dismiss,#game button.postmatch-reopen{background:#14202e;color:#d6e1e9;border:1px solid #526575}
.postmatch-reopen{align-self:end}.postmatch-overlay [hidden]{display:none!important}
@media(max-width:900px){#game:has(.postmatch-overlay){--sheet-default-h:28dvh}#game:has(.postmatch-card:not([hidden])) .tycoon-world-utilities{display:none}.postmatch-card{transform:none}.postmatch-header small,.postmatch-tile small{font-size:11.5px}.postmatch-card h2{margin:7px 0 4px}.postmatch-tiles{padding:8px 0}.postmatch-tile{padding:0 7px}.postmatch-tile span{font-size:13px}.postmatch-card .postmatch-attendance{margin:4px 0 7px}#game .postmatch-next{margin-top:7px}}
