/* Table refinements and the private comparison presentation. */
.home-info small{font-size:13px;line-height:1.3;color:#526477}.hide-photos .home-info small{font-size:13px;line-height:1.3}.hide-photos .home-info strong{font-size:13px}.home-info{min-width:230px}.price,.numeric-price{text-align:right;font-variant-numeric:tabular-nums}.numeric-price .sort{justify-content:flex-end}.choose-home{display:flex;align-items:center;gap:7px}.choose-home input{margin:0;accent-color:#214e70}.choose-home strong{display:inline}.comparison-launch{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0 16px;font-size:12px}.comparison-launch>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.comparison-launch strong{margin-right:5px}.comparison-launch>span{color:#a15a30}.comparison-launch button{font-size:12px}.home-info span,.home-info small{padding-left:20px}#comparison{width:100vw;max-width:none;height:100vh;max-height:none;border:0;margin:0;padding:0;background:#f5f7f9;color:#202833;overflow:auto}#comparison::backdrop{background:#f5f7f9}.compare-shell{max-width:1230px;margin:auto;padding:28px 36px 45px}.compare-header{display:flex;align-items:center;justify-content:space-between;gap:20px}.compare-header h2{font-size:28px;letter-spacing:-.6px;margin:5px 0 20px}.compare-header>button{font-size:20px;border:0;background:transparent;margin-top:-20px}.compare-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:2px 0 15px}.mode-tabs{display:flex;gap:3px;padding:4px;background:#e5ebf0;border-radius:8px}.mode-tabs button{border:0;background:transparent;min-width:112px}.mode-tabs button[aria-pressed=true]{background:white;box-shadow:0 1px 4px #20324620}.compare-controls{display:flex;gap:8px}.compare-context{color:#667587;font-size:13px;margin:14px 0 20px}.compare-warning{background:#fff0d8;border:1px solid #ead5ae;padding:12px;border-radius:7px;font-size:13px}.compare-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.compare-cards.three-homes{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.card-letter{font-size:12px;font-weight:750;letter-spacing:.08em;text-transform:uppercase;color:#6a7d8b;margin:0 4px 8px}.zcard{background:#fff;border-radius:20px;box-shadow:0 5px 18px #1c2b3d13;overflow:hidden;border:1px solid #e4e8eb;color:#191b22}.zcard-image{position:relative;aspect-ratio:1.94;background:#e7ecf0;overflow:hidden;display:flex;align-items:center;justify-content:center}.zcard-image>img:not(.mls-logo){width:100%;height:100%;object-fit:cover;object-position:center;display:block}.zcard-image .mls-logo{position:absolute;width:104px;height:auto;max-height:32px;object-fit:contain;right:7px;bottom:6px;background:white}.no-image{color:#697a87;font-size:13px}.zcard-body{padding:8px 12px 14px}.zcard-price{font-size:32px;line-height:1.2;font-weight:850;letter-spacing:-.8px;margin:0 0 6px}.zcard-specs{display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:20px;line-height:1.3;margin-bottom:8px}.zcard-specs strong{font-weight:700}.spec-divider{color:#a1a8b4}.zcard-address{font-size:20px;line-height:1.3;color:#333642;margin-bottom:6px;overflow-wrap:anywhere}.zcard-attribution{font-size:14px;line-height:1.65;color:#62677b;overflow-wrap:anywhere}.card-context{font-size:12px;line-height:1.6;color:#516579;margin:10px 4px 3px}.photo-provenance{font-size:10px;color:#83909b;margin:0 4px 10px}.guess{width:100%;margin:3px 0 0;padding:12px}.guess[aria-pressed=true]{background:#e2edf5;color:#164b71;border-color:#5c90b4}.chosen .card-letter{color:#165880}.reveal-bar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:22px 0 10px;min-height:20px}.reveal-bar>span{font-size:13px;color:#5f7283}.reveal-bar .primary{padding:12px 22px;font-size:15px}.comparison-note{font-size:12px;color:#6c7c88;margin:8px 0 18px}#compare-results{background:white;border:1px solid #dde5eb;border-radius:10px;padding:20px;overflow:auto}#compare-results h3{font-size:17px;margin:0 0 16px}.comparison-results-table{min-width:750px;font-size:13px}.comparison-results-table th{position:static;font-size:11px}.comparison-results-table th,.comparison-results-table td{padding:10px 12px;text-align:right}.comparison-results-table th:first-child,.comparison-results-table td:first-child{text-align:left}.comparison-results-table td{font-weight:600;font-variant-numeric:tabular-nums}.results-explanation{font-size:12px;color:#677a8a;line-height:1.6;margin:16px 0}.measurement-date{font-size:11px;color:#798894;margin:4px 0}.matching-settings{margin-top:24px;background:white;border:1px solid #dde5eb;border-radius:8px;padding:14px 17px;font-size:12px}.matching-settings summary{cursor:pointer;font-weight:650}.match-fields{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-top:15px}.match-fields>label{max-width:170px;color:#5f7283}.match-fields input[type=number]{width:100%;padding:8px}.match-fields .same-beds{max-width:none;padding-bottom:10px}.matching-settings p{color:#70818f}.three-homes .zcard-price{font-size:28px}.three-homes .zcard-specs,.three-homes .zcard-address{font-size:16px}.three-homes .zcard-attribution{font-size:12px}@media(max-width:800px){.compare-shell{padding:20px 16px}.compare-header h2{font-size:23px}.compare-toolbar{align-items:flex-start;flex-direction:column}.compare-controls{flex-wrap:wrap}.compare-cards,.compare-cards.three-homes{grid-template-columns:1fr;max-width:550px;margin:auto}.comparison-launch{align-items:flex-start;flex-direction:column}.three-homes .zcard-specs,.three-homes .zcard-address{font-size:20px}.zcard-price,.three-homes .zcard-price{font-size:30px}}@media print{.compare-toolbar,.compare-header>button,.matching-settings,.guess,.reveal-bar{display:none}#comparison{position:static;height:auto;overflow:visible}.compare-shell{max-width:none;padding:0}.zcard{break-inside:avoid}}
/* Scored game: compact listing cards, clear voting and a finite round deck. */
#comparison [hidden]{display:none!important}.game-progress{display:inline-block;border-radius:999px;background:#dce9f7;color:#174f80;font-size:13px;font-weight:750;padding:8px 15px;margin:6px 0}.game-mode .compare-shell{max-width:1000px;padding-top:18px}.game-mode .compare-header h2{margin-bottom:10px}.game-mode .compare-context{margin:9px 0 12px}.game-mode .compare-cards{max-width:760px;margin:0 auto;gap:22px}.game-mode .zcard{border-radius:13px}.game-mode .zcard-price{font-size:25px}.game-mode .zcard-specs,.game-mode .zcard-address{font-size:15px}.game-mode .zcard-attribution{font-size:10px;line-height:1.35}.game-mode .zcard-body{padding:8px 10px 10px}.game-mode .zcard-image .mls-logo{width:74px;max-height:24px}.game-mode .card-context{font-size:11px;line-height:1.4}.game-mode .photo-provenance{font-size:9px;line-height:1.3;margin-bottom:6px}.game-mode .guess{background:#214e70;color:white;border:0;border-radius:10px;font-size:15px;font-weight:750;min-height:44px;box-shadow:0 4px 0 #12344e;transition:transform .15s,background .15s}.game-mode .guess:hover{background:#17669b;transform:translateY(-2px)}.game-mode .guess:focus-visible,.game-actions button:focus-visible{outline:3px solid #df9c12;outline-offset:4px}.game-mode .reveal-bar{margin:10px 0 0;min-height:0}.game-mode .matching-settings{margin-top:15px}.game-actions{display:flex;justify-content:center;gap:12px;margin:16px 0}.game-actions:has(button:not([hidden])){min-height:44px}.game-actions button{font-size:15px;min-height:44px;padding:11px 24px;border-radius:10px}.game-feedback{display:flex;align-items:center;gap:15px;border-radius:14px;padding:18px 22px;margin:18px auto 10px;max-width:760px;animation:verdict-pop .25s ease-out}.game-feedback h3{margin:0 0 5px;font-size:23px}.game-feedback p{margin:0 0 6px;font-size:15px;font-weight:650}.game-feedback small{font-size:11px}.correct{--verdict:#167047;--tint:#e7f5ed}.incorrect{--verdict:#ae3545;--tint:#fff0f1}.game-feedback,.recap-round{color:var(--verdict);background:var(--tint);border:1px solid var(--verdict)}.verdict-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:50%;background:var(--verdict);color:white;font-size:30px;font-weight:800}.score-hero{text-align:center;padding:22px;background:linear-gradient(135deg,#e4effc,#f0eafb);border-radius:18px;margin:16px 0 24px}.score-medal{font-size:50px;color:#ad7600;text-shadow:0 3px 0 #fff}.score-hero h3{font-size:32px;margin:8px 0}.score-hero p{margin:8px 0;color:#526477}.recap-round{border-radius:14px;padding:16px;margin:16px 0}.recap-round h4{font-size:18px;margin:0 0 14px}.recap-homes{display:grid;grid-template-columns:1fr 1fr;gap:18px}.recap-home{color:#263b4c}.recap-home .zcard-image{max-width:230px;border-radius:8px;margin-bottom:8px}.recap-home strong{font-size:13px}.recap-home p,.recap-ratio{font-size:13px}.recap-ratio{font-weight:750}.game-revealed .compare-cards{display:none}.game-revealed .compare-context{margin-bottom:0}@keyframes verdict-pop{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.game-feedback{animation:none}.game-mode .guess{transition:none}}@media(max-width:800px){.game-mode .compare-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-mode .compare-toolbar{flex-direction:row;align-items:center}.game-mode .compare-shell{padding:12px}.game-mode .compare-header h2{font-size:22px}.game-mode .zcard-price{font-size:22px}.game-mode .zcard-specs,.game-mode .zcard-address{font-size:12px}.game-mode .zcard-specs{gap:4px}.game-mode .zcard-attribution{font-size:9px}.game-mode .guess{font-size:13px}.game-feedback{padding:14px}.game-feedback h3{font-size:20px}.recap-homes{gap:10px}}

.game-mode .compare-cards{align-items:stretch}.game-mode .comparison-home{display:flex;flex-direction:column}.game-mode .guess{margin-top:auto}.game-mode .photo-provenance{margin-bottom:10px}
/* Presentation layout: put the decision first, with secondary controls below. */
#compare-context,.card-letter{display:none}.compare-toolbar{margin-top:22px;margin-bottom:0;padding-top:14px;border-top:1px solid #dde5eb}.game-mode .compare-shell{max-width:840px;padding:14px 20px 24px}.game-mode .compare-header .eyebrow{display:none}.game-mode .compare-header h2{font-size:26px;margin:0 0 7px;line-height:1.2}.game-mode .compare-header>button{margin:0;align-self:flex-start}.game-mode .game-progress{font-size:12px;padding:6px 12px;margin:6px 0 13px}.game-mode .compare-cards{max-width:640px;gap:18px}.game-mode .photo-provenance{display:none}.game-mode .card-context{margin:8px 2px 10px;line-height:1.35}.game-mode .zcard-price{font-size:23px}.game-mode .zcard-specs,.game-mode .zcard-address{font-size:14px}.game-mode .zcard-attribution{font-size:10px;line-height:1.3}.game-mode:not(.game-revealed) .reveal-bar,.game-mode:not(.game-revealed) .comparison-note{display:none}.game-mode .game-actions:has(button:not([hidden])){margin:14px 0}.game-mode .matching-settings{margin-top:18px}.standalone-game #compare-close{display:none}.game-mode .zcard-image{height:clamp(90px,22vh,155px);aspect-ratio:auto}.game-mode .zcard-image>img:not(.mls-logo){object-fit:cover}.game-mode .compare-toolbar{justify-content:center}@media(max-height:650px) and (min-width:801px){.game-mode .compare-shell{padding-top:10px}.game-mode .compare-header h2{font-size:23px}.game-mode .game-progress{margin:2px 0 9px}.game-mode .zcard-image{height:120px}.game-mode .zcard-attribution{font-size:9px}.game-mode .zcard-address{font-size:13px}.game-mode .card-context{font-size:10px}.game-mode .zcard-body{padding-bottom:8px}.game-mode .guess{padding:9px;font-size:14px}}
@media(max-width:800px){.game-mode .compare-shell{padding:12px}.game-mode .compare-header h2{font-size:22px}.game-mode .zcard-image{height:auto;aspect-ratio:1.94}.game-mode .zcard-price{font-size:21px}.game-mode .zcard-specs,.game-mode .zcard-address{font-size:12px}.game-mode .zcard-attribution{font-size:9px}.game-mode .compare-cards{gap:12px}.compare-toolbar{flex-direction:column;align-items:center}}
.game-mode .zcard-image{height:auto;aspect-ratio:1.94}@media(max-height:650px) and (min-width:801px){.game-mode .compare-cards{max-width:520px}.game-mode .zcard-image{height:auto;aspect-ratio:1.94}}
