/* Focused two-home chooser and a result that leads to the next comparison. */
/* Keep series identity, with readable labels on both light and dark surfaces. */
.play-page{--series-text-weight:50%}
:root[data-theme="dark"] .play-page{--series-text-weight:100%}
.time-result .time-series-title{color:color-mix(in srgb,var(--house-color) var(--series-text-weight),var(--text));}
.time-redesign .time-card .house-letter{color:color-mix(in srgb,var(--house-color) var(--series-text-weight),var(--text));}
.time-redesign .play-heading{display:none}
.time-redesign .play-main{width:min(1280px,calc(100% - 48px));max-width:none;padding:20px 0 40px;margin:auto}
.time-redesign #timeGame{background:var(--surface);color:var(--text);padding:28px;border:1px solid var(--line);border-radius:18px;color-scheme:inherit}
.time-redesign #timeGame .play-toolbar{align-items:center;flex-direction:row;gap:24px;margin:0 0 16px}
.time-redesign #timeTitle{font-size:30px;letter-spacing:-.045em;line-height:1.25;margin:0;color:var(--text)}
.time-redesign #timeIntro{font-size:16px;margin:8px 0 0;line-height:1.4;color:var(--muted)}
.time-settings{position:relative;min-width:280px;max-width:100%;border:1px solid var(--line);border-radius:10px;background:var(--surface-strong)}
.time-settings>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:12px 16px;list-style:none;cursor:pointer;font-size:14px;font-weight:600;color:var(--text)}
.time-settings>summary::-webkit-details-marker{display:none}.time-settings>summary>span:last-child{color:var(--primary);font-size:13px;white-space:nowrap}
.time-settings .play-fields{padding:0 16px 16px;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.time-settings .play-fields label{font-size:13px;min-width:0;display:grid;gap:8px}
.time-settings .play-fields select{width:100%;min-width:0;min-height:44px;background:var(--surface);color:var(--text);border:1px solid var(--line)}
.time-redesign #timeLoad{grid-column:1/-1;width:100%;font-size:14px;background:var(--surface-strong);color:var(--primary)}
.time-redesign .time-selection-mode{border:0;border-bottom:1px solid var(--line);background:transparent;border-radius:0;padding:0;margin:0 0 18px;gap:24px;display:flex;width:100%}
.time-redesign .time-selection-mode button{border:0;border-radius:0;background:none;color:var(--muted);min-height:44px;padding:8px 0;flex:none;box-shadow:none;font-size:14px}
.time-redesign .time-selection-mode button[aria-pressed=true]{color:var(--primary);border-bottom:2px solid var(--primary);background:none;box-shadow:none}
.time-redesign .time-cockpit{display:flex;flex-direction:column;background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.time-redesign .time-cockpit:not(.is-replaying) .time-instruments{display:none}
.time-redesign .time-candidates{order:0;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
.time-redesign .time-cockpit[data-house-count="3"] .time-candidates{grid-template-columns:repeat(3,minmax(0,1fr))}
.time-candidate-wrap{position:relative;min-width:0}
.time-redesign .time-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 18px;width:100%;height:100%;border:1px solid var(--line);border-radius:12px;padding:20px;background:var(--surface-strong);box-shadow:none;transform:none;text-align:left}
.time-redesign .time-card[aria-pressed=true]{padding:20px;border-color:color-mix(in srgb,var(--house-color) var(--series-text-weight),var(--text));background:color-mix(in srgb,var(--house-color) 7%,var(--surface-strong))}
.time-redesign .time-card:hover:not(:disabled){background:var(--surface-strong);transform:none}
.time-redesign .time-card .house-letter{grid-column:1/-1;margin:0 52px 4px 0;letter-spacing:.02em;font-size:13px}
.time-redesign .time-card .house-letter span:last-child{font-size:12px}
.time-redesign .time-card h3{grid-column:1/-1;font-size:22px;min-height:0;margin:0;line-height:1.35;color:var(--text)}
.time-redesign .time-card .house-area{grid-column:1;grid-row:auto;font-size:14px;line-height:1.5;margin:0;align-self:center}
.time-redesign .time-card .house-price{grid-column:2;grid-row:3;font-size:27px;line-height:1.3;margin:0;max-width:none;align-self:center}
.time-redesign .time-card .house-count{grid-column:1/-1;font-size:12px;margin:2px 0 0;line-height:1.4;color:var(--muted)}
.time-redesign .time-card-change{position:absolute;right:14px;top:8px;min-width:44px;min-height:44px;border:0;background:none;color:var(--primary);border-radius:6px;font:inherit;font-size:13px;cursor:pointer}
.time-redesign .time-card-change:hover{background:var(--surface-strong)}
.time-candidate-tools{order:1;display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 0}
.time-redesign .time-candidate-tools button{min-height:44px;border:1px dashed var(--line);border-radius:8px;padding:10px 14px;background:none;color:var(--muted);font:inherit;font-size:14px;cursor:pointer}
.time-candidate-tools small{font-size:12px;font-weight:400;margin-left:12px;color:var(--muted)}
.time-candidate-tools>span{margin-left:auto;color:var(--muted);font-size:14px}
.time-redesign .time-criteria-disclosure{order:2;margin:8px 0;font-size:13px}
.time-redesign .time-criteria-disclosure>summary{min-height:36px;padding:8px 0}
.time-redesign .time-action{order:3;margin:8px 0 0;position:static!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important;max-width:none!important}
.time-redesign .time-action p{font-size:14px;color:var(--muted)}
.time-redesign #timeStart{background:var(--primary);color:var(--on-active);border-color:var(--primary);min-height:50px;font-size:16px;padding:12px 24px;box-shadow:none}
.time-redesign #timeStart:disabled{background:var(--surface-strong);border-color:var(--line);color:var(--muted);opacity:1}
.time-redesign .time-cockpit:not(.is-replaying):has(#timeStart:not(:disabled)){padding-bottom:0}
.time-redesign .time-coverage-details{font-size:12px;color:var(--muted);margin:8px 0 12px}
.time-redesign .time-coverage-details summary{cursor:pointer;min-height:28px}
.time-redesign .time-coverage-details:not([open]){display:block}
.time-redesign .play-method .time-coverage-details{display:block}
.time-redesign .time-journey{order:4;min-width:0}
.time-redesign .is-replaying .time-instruments,.time-redesign .is-replaying .time-candidates,.time-redesign .is-replaying .time-criteria-disclosure,.time-redesign .is-replaying .time-action,.time-redesign .is-replaying .time-candidate-tools{display:none}
.time-redesign .is-replaying .time-journey{border:0;padding:0;margin:0}
.time-redesign .time-replay-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 14px}
.time-redesign .time-replay-heading>div{display:grid;gap:5px}.time-redesign .time-replay-heading span{font-size:13px;color:var(--muted)}.time-redesign .time-replay-heading time{font-size:25px;font-weight:700}
.time-redesign .time-chart-help{font-size:12px;margin:8px 0}.time-redesign .time-chart-help>summary{min-height:32px}
.time-redesign .time-arrival-gap{font-size:24px;line-height:1.4;letter-spacing:-.035em;margin:0 0 18px;color:var(--text)}
.time-arrival-gap b{color:var(--primary)}
.time-redesign .time-highlight{padding:22px;border-radius:12px;margin:16px 0;background:var(--surface-strong);border-color:var(--line)}
.time-redesign .time-highlight-main>span{font-size:15px}.time-redesign .time-highlight-main>strong{font-size:42px;line-height:1.2;margin:10px 0 8px;letter-spacing:-.04em}
.time-redesign .time-highlight-main p{font-size:16px;line-height:1.5}.time-redesign .time-highlight-main p b{font-size:22px}
.time-redesign .time-highlight-comparison{font-size:14px;line-height:1.5}
.time-redesign .time-highlight>small{font-size:12px;line-height:1.5}
.time-result-actions{display:flex;gap:12px;order:5;margin:20px 0 0;align-items:center}
.time-redesign .time-result-actions>.play-primary{background:var(--primary);color:var(--on-active);border-color:var(--primary);min-height:50px;font-size:16px;padding:12px 22px}
.time-redesign .time-result-actions>.play-secondary{min-height:48px;font-size:14px}
.time-redesign .is-complete .time-transport{position:static;display:flex;flex-wrap:wrap;max-width:none;padding:12px 0;background:none;border:0;box-shadow:none}
.time-redesign .is-complete .time-transport>.time-speed,.time-redesign .is-complete .time-transport>#timePause{display:none}
.time-redesign .is-complete .time-transport>label{width:100%;margin:0;font-size:12px}
.time-redesign .is-complete .time-transport input{height:28px;min-height:28px}
.time-redesign #timeGame.is-complete{padding-bottom:26px}
.time-insight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:0 0 22px}
.time-insight-card{min-width:0;padding:17px;border:1px solid var(--line);border-radius:10px;background:var(--surface-strong)}
.time-insight-card>span{font-size:12px;line-height:1.5;color:var(--muted);font-weight:600}
.time-redesign .time-insight-card h4{font-size:21px;line-height:1.4;letter-spacing:-.03em;margin:10px 0 14px;color:var(--text);overflow-wrap:anywhere}
.time-redesign .time-insight-card p{font-size:13px;line-height:1.5;margin:8px 0;color:var(--muted)}
.time-insight-card small{display:block;font-size:11px;line-height:1.6;margin-top:12px;color:var(--muted)}
.time-insight-card details{font-size:12px;color:var(--muted);margin-top:10px}.time-insight-card summary{cursor:pointer;min-height:32px;padding:6px 0}
.time-gap-row{display:grid;grid-template-columns:30px minmax(24px,1fr) auto;align-items:center;gap:8px;margin:9px 0;font-size:12px;color:var(--muted)}
.time-gap-row i{display:block;height:7px;width:100%;border-radius:4px;background:linear-gradient(to right,#7f99b3 var(--gap-size),var(--surface-strong) var(--gap-size))}
.time-gap-row.is-arrival i{background:linear-gradient(to right,var(--primary) var(--gap-size),var(--surface-strong) var(--gap-size))}.time-gap-row b{font-size:13px;font-weight:600;color:var(--text);font-variant-numeric:tabular-nums}
.time-redesign .time-result-actions{flex-direction:column;align-items:stretch;border-top:1px solid var(--line);padding-top:18px;gap:14px}
.time-result-reyear{display:grid;grid-template-columns:auto minmax(110px,180px) auto;justify-content:start;align-items:center;gap:10px}
.time-result-reyear label{font-size:14px;font-weight:600;color:var(--muted)}
.time-result-reyear select{width:100%;min-height:44px;background:var(--surface-strong);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:9px 30px 9px 12px;font:inherit;font-size:16px}
.time-redesign .time-result-reyear .play-secondary,.time-redesign .time-result-buttons button{min-height:44px;font-size:14px;margin:0;padding:10px 15px}
.time-result-buttons{display:flex;flex-wrap:wrap;gap:10px}.time-redesign .time-result-buttons>.play-primary{background:var(--primary);border-color:var(--primary);color:var(--on-active)}
.time-redesign .time-result-status{margin:0;color:var(--muted);font-size:13px;line-height:1.5}.time-result-status:empty{display:none}
.time-redesign .time-result-replace{display:block;min-height:44px;margin-top:12px;border:1px solid var(--line);border-radius:8px;padding:8px 12px;background:transparent;color:var(--muted);font:inherit;font-size:13px;text-align:left;cursor:pointer}
.time-redesign .time-result-replace:hover{background:var(--surface-strong)}.time-redesign .time-result-actions button:focus-visible,.time-redesign .time-result-replace:focus-visible{outline:2px solid var(--primary);outline-offset:3px}
.time-redesign .time-chart .chart-line{stroke-width:2.25}.time-redesign .time-chart .chart-line.is-chosen{stroke-width:3}
.time-redesign .time-chart .time-day-marker{opacity:.85}
.time-redesign .time-chart [data-trade-line]{stroke-width:1.4;opacity:.8}
.time-redesign .time-chart [data-trade-line].is-chosen{stroke-width:1.8;opacity:.95}
.time-redesign .time-chart:focus-visible{outline:2px solid var(--primary);outline-offset:5px;border-radius:6px}
.time-chart-reading{margin:8px 0 0;border-top:1px solid var(--line);padding-top:12px}
.time-redesign .time-chart-reading>p{margin:0 0 10px;font-size:12px;line-height:1.5;color:var(--muted)}
.time-chart-quotes{display:grid;grid-template-columns:repeat(var(--quote-count,2),minmax(0,1fr));gap:10px}
.time-chart-quote{min-width:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 9px;align-content:start;padding:10px 12px;border-left:2px solid var(--house-color);background:var(--surface);border-radius:0 7px 7px 0}
.time-chart-quote b{font-size:12px;line-height:1.5;color:color-mix(in srgb,var(--house-color) var(--series-text-weight),var(--text))}.time-chart-quote strong{font-size:18px;line-height:1.25;color:var(--text);font-variant-numeric:tabular-nums;font-weight:700;overflow-wrap:anywhere;min-height:2.5em}
.time-chart-quote small{grid-column:1/-1;font-size:11px;line-height:1.5;color:var(--muted)}.time-chart-quote .time-quote-range{color:var(--muted)}
.time-redesign .time-chart-reading>.time-chart-interaction-hint{margin:9px 0 0;font-size:11px;color:var(--muted)}
@media(max-width:720px){
 .time-redesign .play-main{width:calc(100% - 24px);padding:12px 0 28px}
 .time-redesign #playMenu{margin-bottom:12px}
 .time-redesign #timeGame{padding:18px 14px;border-radius:14px}
 .time-redesign #timeGame .play-toolbar{display:block;margin-bottom:8px}
 .time-redesign #timeTitle{font-size:27px}.time-redesign #timeIntro{font-size:16px;margin-top:7px}
 .time-settings{width:100%;margin-top:16px;min-width:0}.time-settings>summary{padding:10px 12px;min-height:44px}
 .time-settings .play-fields{padding:4px 12px 12px}.time-redesign #timeLoad{grid-column:1/-1}
 .time-redesign .time-selection-mode{margin:0 0 14px;gap:20px}.time-redesign .time-selection-mode button{font-size:13px;min-height:40px}
 .time-redesign .time-candidates,.time-redesign .time-cockpit[data-house-count="3"] .time-candidates{grid-template-columns:1fr;gap:10px}
 .time-redesign .time-card,.time-redesign .time-card[aria-pressed=true]{padding:14px;gap:5px 10px}
 .time-redesign .time-card .house-letter{font-size:12px;margin-bottom:0;margin-right:48px}
 .time-redesign .time-card h3{font-size:18px}.time-redesign .time-card .house-area{font-size:13px;line-height:1.4}
 .time-redesign .time-card .house-price{font-size:24px;line-height:1.2;max-width:145px}
 .time-redesign .time-card .house-count{font-size:12px}.time-redesign .time-card-change{top:3px;right:6px}
 .time-candidate-tools{margin-top:12px;gap:8px}.time-redesign .time-candidate-tools button{width:100%;display:flex;justify-content:space-between;font-size:14px}
 .time-candidate-tools>span{margin:4px 0 0;font-size:13px}
 .time-redesign .time-criteria-disclosure{order:4;margin:8px 0 0}.time-redesign .time-criteria-disclosure>summary{font-size:12px;min-height:32px}
 .time-redesign .time-action{gap:8px;align-items:stretch;flex-direction:column}.time-redesign .time-action p{font-size:13px;line-height:1.4}
 .time-redesign .time-action>div{width:100%;display:flex}.time-redesign #timeStart{width:100%;min-height:48px}
 .time-redesign .time-action:has(#timeStart:disabled) #timeChoice{display:none}
 .time-redesign .time-custom-panel{padding:14px;margin-bottom:14px}.time-redesign .time-custom-note{font-size:13px;line-height:1.5}
 .time-redesign .time-custom-panel>summary>span{font-size:12px}
 .time-redesign #timeGame.is-playing>.play-toolbar,.time-redesign #timeGame.is-playing>.time-coverage-details{display:none}
 .time-redesign #timeGame.is-playing{padding-bottom:140px}.time-redesign #timeGame.is-complete{padding-bottom:18px}
 .time-redesign .time-replay-stage .time-highlight{order:3}
 .time-redesign .time-replay-stage .time-result-actions{order:4}
 .time-redesign .time-replay-stage .time-chart-heading{order:5}
 .time-redesign .time-replay-stage .time-chart-help{order:6}
 .time-redesign .time-highlight{padding:16px;margin:14px 0}
 .time-redesign .time-arrival-gap{font-size:21px;margin-bottom:16px}
 .time-redesign .time-highlight-main>strong{font-size:38px}.time-redesign .time-highlight-main p{font-size:14px}.time-redesign .time-highlight-main p b{font-size:23px}
 .time-redesign .time-result-actions{display:grid;grid-template-columns:1fr;margin-top:16px;gap:6px}
 .time-redesign .time-result-actions>.play-primary{min-height:50px;font-size:15px;padding:12px}
 .time-redesign .time-result-actions>.play-secondary{background:none;border:0;font-size:14px}
 .time-insight-grid{grid-template-columns:1fr;margin-bottom:18px;gap:10px}.time-insight-card{padding:14px}.time-redesign .time-insight-card h4{font-size:20px}
 .time-result-reyear{grid-template-columns:minmax(0,1fr) auto;gap:8px}.time-result-reyear label{grid-column:1/-1}.time-result-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.time-result-buttons>.play-primary{grid-column:1/-1}
 .time-chart-quotes{gap:7px}.time-chart-quote{grid-template-columns:1fr;padding:8px;gap:4px}.time-chart-quote strong{font-size:17px}.time-chart-quote small{font-size:11px;min-height:3em}.time-chart-quote .time-quote-range{display:none}
 .time-chart-reading{padding-top:9px}.time-redesign .time-chart-reading>p{font-size:11px;margin-bottom:8px}
}
