:root {
  color: #22231f;
  background: #f1f5fb;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.6;
  --ink: #22231f;
  --blue: #2054cb;
  --line: #dce2ec;
  --paper: #fff;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
button, select { font: inherit; }
button, select, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.site-header, footer { padding: .65rem max(1.2rem, calc((100% - 54rem) / 2)); background: var(--paper); }
.site-header { min-height: 3.75rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-bottom: 1px solid var(--line); }
.home-link { min-height: 2.75rem; display: inline-flex; align-items: center; gap: .5rem; font-weight: 900; text-decoration: none; }
.swatches { display: flex; gap: 3px; }
.swatches i { width: 5px; height: 13px; border-radius: 2px; transform: rotate(13deg); background: #e13938; }
.swatches i:nth-child(2) { background: #245ddb; }
.swatches i:nth-child(3) { background: #e9a500; }
.swatches i:nth-child(4) { background: #1c8b51; }
main { background: var(--paper); }
.hero { max-width: 67rem; margin: 0 auto; padding: .8rem 1rem 1.35rem; text-align: center; }
h1, h2, h3, p { margin: 0; }
.brand-stage { position: relative; isolation: isolate; width: min(100%, 42rem); margin: 0 auto; padding: clamp(1rem, 5vw, 2.3rem) 0 .7rem; }
.brand-stage::before { content: ""; position: absolute; z-index: -1; inset: 12% 2% 5%; border-radius: 42% 56% 38% 23% / 59% 42% 55% 34%; transform: rotate(-3deg); background: linear-gradient(115deg, #e4f4ff 12%, #ecf7ff 46%, #fff2b5 46%, #fff5cd 87%); }
.wordmark { display: flex; justify-content: center; align-items: baseline; gap: .01em; white-space: nowrap; font: 900 clamp(2.75rem, 14.8vw, 8rem)/.94 "Arial Black", "Arial", sans-serif; letter-spacing: -.06em; padding-right: .06em; }
.wordmark span { display: inline-block; color: var(--letter); transform: translateY(var(--lift, 0)) rotate(var(--tilt)); -webkit-text-stroke: .065em #fff; paint-order: stroke fill; text-shadow: .022em .057em 0 var(--shade); }
.wordmark span:nth-child(1) { --letter: #e7393a; --shade: #8b2425; --tilt: -9deg; }
.wordmark span:nth-child(2) { --letter: #2363db; --shade: #1a3f89; --tilt: 5deg; --lift: -.055em; }
body:not(:target) .wordmark span:nth-child(2), body#house-d:target .wordmark span:first-child { position: relative; color: transparent; -webkit-text-stroke: 0; text-shadow: none; filter: drop-shadow(.018em .045em 0 var(--shade)); }
body:not(:target) .wordmark span:nth-child(2)::before, body#house-d:target .wordmark span:first-child::before { content: ""; position: absolute; inset: .11em -.01em .08em .015em; background: var(--letter); border-radius: 48%; clip-path: polygon(evenodd, 0 0,100% 0,100% 100%,0 100%,0 0,50% 23%,77% 48%,70% 48%,70% 76%,30% 76%,30% 48%,23% 48%,50% 23%); }
.wordmark span:nth-child(3) { --letter: #0b9051; --shade: #215d3d; --tilt: -5deg; --lift: .05em; }
.wordmark span:nth-child(4) { --letter: #e6a000; --shade: #805200; --tilt: 8deg; --lift: -.045em; }
.wordmark span:nth-child(5) { --letter: #db3c42; --shade: #8b2425; --tilt: -8deg; }
.wordmark span:nth-child(6) { --letter: #2562dc; --shade: #1a3f89; --tilt: 5deg; --lift: .035em; }
.wordmark span:nth-child(7) { --letter: #0b9051; --shade: #215d3d; --tilt: 15deg; --lift: -.07em; margin-left: .055em; }
.brand-reading { display: inline-block; margin-top: .43rem; color: #25344a; font-size: .875rem; font-weight: 900; letter-spacing: .15em; padding-left: .15em; }
.brand-marks { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.brand-marks i { position: absolute; width: .85rem; height: .25rem; border-radius: .35rem; transform: rotate(var(--angle)); background: var(--mark); }
.brand-marks i:nth-child(1) { top: 17%; left: 6%; --angle: 28deg; --mark: #e94346; }
.brand-marks i:nth-child(2) { top: 4%; left: 11%; --angle: 62deg; --mark: #efbb13; }
.brand-marks i:nth-child(3) { bottom: 17%; left: 12%; --angle: -18deg; --mark: #20a461; }
.brand-marks i:nth-child(4) { top: 12%; right: 4%; --angle: -35deg; --mark: #26a16b; }
.brand-marks i:nth-child(5) { bottom: 19%; right: 11%; --angle: 19deg; --mark: #2462dd; }
.brand-marks i:nth-child(6) { bottom: 9%; right: 17%; width: .42rem; --angle: 55deg; --mark: #e74749; }
.tagline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .25em; margin: .75rem 0 .25rem; color: #263950; font-family: "Hiragino Maru Gothic ProN", Meiryo, sans-serif; font-weight: 800; line-height: 1.6; }
.tagline strong { font-size: clamp(1.3rem, 5.5vw, 1.85rem); transform: rotate(-3deg); border-radius: 45% 15% 40% 15%; background: linear-gradient(transparent 70%, #ffe274 70%, #ffe274 93%, transparent 93%); }
.tagline span { font-size: clamp(1rem, 4.1vw, 1.3rem); letter-spacing: .04em; }
.narrow { display: none; }
.intro { margin-top: .45rem; }
.entries { display: flex; justify-content: center; gap: .5rem; margin-top: 1rem; }
.entries { flex-wrap: wrap; }
#area-picker { max-width: 40rem; margin: .8rem auto 0; text-align: left; padding: 1rem; border: 1px solid var(--line); border-radius: .75rem; }
#area-picker h2 { margin-bottom: .5rem; }
#area-groups details { border-top: 1px solid var(--line); margin-top: .35rem; }
#area-groups summary { padding: .65rem .2rem; font-weight: 800; cursor: pointer; }
#area-groups button { margin: 0 .25rem .3rem 0; }
@media (max-width: 34rem) {
  .entries { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-width: 26rem; margin-inline: auto; }
  .entries .primary { grid-column: 1 / -1; }
}
.primary, .outline, .quiet { display: inline-flex; justify-content: center; align-items: center; min-height: 2.75rem; padding: .55rem .7rem; border: 1px solid transparent; border-radius: .65rem; font-weight: 800; text-decoration: none; font-size: .875rem; line-height: 1.3; }
.primary { background: var(--blue); color: white; border-color: var(--blue); }
.outline { background: white; border-color: #bac6da; color: var(--ink); }
.quiet { color: #23458b; background: transparent; text-decoration: underline; text-underline-offset: .2em; }
.section { width: min(100% - 2rem, 54rem); margin: auto; padding: 1rem 0 1.5rem; scroll-margin-top: 1rem; }
h2 { font-size: 1.27rem; line-height: 1.35; }
.themes { margin-top: .65rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.themes button { position: relative; background: var(--wash); border: 2px solid var(--edge); border-bottom-width: 4px; color: var(--ink); padding: .38rem .2rem .65rem; border-radius: 1rem .85rem .95rem .73rem; font-weight: 850; font-size: .9rem; line-height: 1.35; }
.themes button::after { content: ""; position: absolute; inset: 2px; border: 2px solid transparent; border-radius: 44% 42% 41% 43% / 30% 33% 34% 33%; pointer-events: none; transform: rotate(-3deg); }
.themes button[aria-pressed="true"]::after { border-color: var(--stroke); box-shadow: 1px 0 0 var(--stroke); }
.themes button[data-theme="vehicle"] { --wash: #e4efff; --edge: #84adfa; --stroke: #245ac9; }
.theme-name, .theme-note { display: block; }
.theme-note { margin-top: .13rem; color: #455475; font-size: .8rem; }
.themes button[data-theme="collection"] { --wash: #fff3c5; --edge: #edbf45; --stroke: #9a6106; }
.themes button[data-theme="wood"] { --wash: #e9f7da; --edge: #91c977; --stroke: #2b7648; }
.themes button[data-theme="shop"] { --wash: #ffe9e5; --edge: #ed9387; --stroke: #bd3935; }
canvas { display: block; width: 78px; height: 49px; margin: 0 auto .25rem; }
.results-heading { display: flex; justify-content: space-between; align-items: center; gap: .35rem; }
.muted { color: #555d69; font-size: .875rem; }
.vehicle-filters { margin-top: .65rem; padding: .65rem .75rem .75rem; border: 1px solid #d6e4ff; border-radius: .75rem; background: #f6f9ff; }
.vehicle-filters fieldset { position: relative; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; border: 0; }
.vehicle-filters fieldset + fieldset { margin-top: .45rem; }
.vehicle-filters legend { margin-bottom: .2rem; }
.vehicle-filters label { position: relative; cursor: pointer; }
.vehicle-filters input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.vehicle-filters label span { display: flex; align-items: center; min-height: 2.75rem; padding: .25rem .6rem; border: 1px solid #bdc9e0; border-radius: .5rem; background: #fff; font-size: .875rem; }
.vehicle-filters input:checked + span { color: #163e96; background: #e5edff; border-color: #2c56b1; font-weight: 800; }
.vehicle-filters input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
#reset { margin-top: .65rem; }
.cards { display: grid; gap: .85rem; margin-top: .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: .9rem; overflow: hidden; }
.card figure { margin: 0; position: relative; }
.card img, .no-photo { display: block; width: 100%; aspect-ratio: 16 / 8; height: auto; object-fit: cover; }
.no-photo { display: grid; place-items: center; background: #eef3fa; }
.card figcaption { position: absolute; bottom: .5rem; left: .5rem; padding: .1rem .45rem; border-radius: .3rem; color: white; background: #232323; font-size: .75rem; }
.card-body { padding: .8rem; }
.card h3 { font-size: 1.05rem; margin: .25rem 0; line-height: 1.4; }
.price { font-size: 1.15rem; font-weight: 850; }
.facts { margin: .6rem 0; }
.facts div { padding: .45rem 0; border-top: 1px solid var(--line); }
.facts dt { font-weight: 800; font-size: .875rem; }
.facts dd { margin: .15rem 0 0; font-size: .875rem; }
.state { display: inline-block; padding: .1rem .4rem; border-radius: .25rem; font-weight: 800; }
.state[data-level="A"] { color: #225e36; background: #e2f3e6; }
.state[data-level="B"] { color: #654700; background: #fff1bc; }
.state[data-level="C"] { color: #822a12; background: #ffeadc; }
.state[data-level="D"] { color: #872222; background: #ffe5e5; }
.state[data-level="未確認"] { color: #404957; background: #edf0f4; }
.card details { border-top: 1px solid var(--line); font-size: .875rem; }
.card details summary { min-height: 2.75rem; padding: .55rem 0; cursor: pointer; font-weight: 800; }
.card details p + p { margin-top: .45rem; }
.save { margin-top: .55rem; }
.save[aria-pressed="true"] { background: #eaf1ff; border-color: #92a7d2; }
.condition-panel { border-top: 1px solid var(--line); }
.deal { border: 0; padding: 0; margin: .65rem 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.deal label { display: flex; align-items: center; gap: .25rem; border: 1px solid var(--line); border-radius: .55rem; min-height: 2.75rem; padding: .3rem .55rem; cursor: pointer; }
.deal label:has(input:checked) { background: #eef4ff; border-color: #8ba7de; }
legend, .filters label { font-weight: 800; font-size: .875rem; }
.filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
select { display: block; margin-top: .2rem; border: 1px solid #bac6da; border-radius: .5rem; width: 100%; min-height: 2.75rem; padding: .35rem .5rem; color: var(--ink); background: white; }
.active-interest { margin-top: .45rem; display: flex; gap: .55rem; align-items: center; font-size: .875rem; }
.submit { margin-top: .8rem; width: 100%; }
footer { border-top: 1px solid var(--line); color: #555d69; font-size: .8rem; }
@media (max-width: 36rem) {
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 23rem) {
  .narrow { display: initial; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body#house-d:target .wordmark span:first-child::before { border-radius: 3% 50% 50% 3% / 3% 52% 48% 3%; }

html[data-logo="flat"] .brand-stage::before,
html[data-logo="flat"] .brand-marks { display: none; }
html[data-logo="flat"] .wordmark { gap: .04em; letter-spacing: -.055em; }
html[data-logo="flat"] .wordmark span {
  color: #203856;
  transform: none;
  text-shadow: none;
  -webkit-text-stroke: 0;
}
html[data-logo="flat"] body:not(:target) .wordmark span:nth-child(2) {
  color: transparent;
  filter: none;
}
html[data-logo="flat"] .wordmark span:last-child { color: #e34638; margin-left: .02em; }
html[data-logo="flat"] .brand-reading { display: inline-flex; align-items: center; gap: .6em; }
html[data-logo="flat"] .brand-reading::before,
html[data-logo="flat"] .brand-reading::after { content: ""; width: 1.25em; height: .28em; border-radius: .12em; }
html[data-logo="flat"] .brand-reading::before { background: #efb91b; }
html[data-logo="flat"] .brand-reading::after { background: #159361; }
.property-page { max-width: 46rem; margin: auto; padding: 1rem; }
.property-page h1 { font-size: clamp(1.45rem, 5vw, 2.1rem); line-height: 1.4; }
.property-page figure { margin: .8rem 0; position: relative; }
.property-page img { width: 100%; height: auto; aspect-ratio: 2.4; object-fit: cover; border-radius: .6rem; display: block; }
.property-page figcaption { position: absolute; bottom: .35rem; left: .4rem; padding: .1rem .4rem; color: white; background: #252525; border-radius: .3rem; font-size: .75rem; }
.property-page section { padding: .85rem 0; border-top: 1px solid #dce2ec; }
.property-page section p { margin-top: .3rem; }
#property-nav { display: flex; flex-wrap: wrap; gap: .2rem .8rem; }
#property-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .875rem; color: #23458b; }
.property-facts { display: grid; grid-template-columns: minmax(7rem, 38%) 1fr; margin: .6rem 0 0; font-size: .94rem; }
.property-facts dt, .property-facts dd { margin: 0; padding: .55rem .65rem; border-bottom: 1px solid #dee4ed; overflow-wrap: anywhere; }
.property-facts dt { background: #f2f6fb; font-weight: 700; }
.property-title { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.star { min-width: 44px; min-height: 44px; border: 1px solid #bbc7d7; border-radius: .65rem; background: white; color: #44536b; font-size: 1.5rem; line-height: 1; vertical-align: middle; }
.star[aria-pressed="true"] { background: #fff2bf; border-color: #dab047; color: #805300; }
.cards .card { position: relative; display: grid; grid-template-columns: clamp(4.5rem, 20vw, 7rem) minmax(0,1fr); align-content: start; padding: .7rem; column-gap: .65rem; }
.cards .card-body { padding: 0; }
.cards .card figure, .cards .no-photo { align-self: start; }
.cards .card img, .cards .no-photo { aspect-ratio: 1; border-radius: .5rem; font-size: .75rem; }
.cards .card figcaption { bottom: .15rem; left: .15rem; padding: 0 .15rem; }
.cards .card .muted { padding-right: 1.9rem; font-size: .8rem; }
.cards .card .no-photo { padding: 0; }
.cards .card h3 { padding-right: 1.5rem; }
.cards .card .price small { font-size: .75rem; }
.cards .card .state { font-size: .8rem; }
.cards .card-link { color: #18365b; text-decoration: underline; text-underline-offset: .15em; }
.cards .card-link::after { content: ""; position: absolute; inset: 0; }
.cards .star { position: absolute; right: .15rem; top: .15rem; border: 0; background: transparent; }
.cards .card-match { grid-column: 1 / -1; margin-top: .45rem; padding-top: .45rem; border-top: 1px solid #dce2ec; font-size: .875rem; }
#saved-filters { display:grid; grid-template-columns:1fr 1fr; gap:.7rem; margin:.75rem 0; }
#saved-filters label { min-width:0; font-size:.86rem; font-weight:bold; color:#283c59; }
#saved-filters select { display:block; width:100%; min-height:44px; margin-top:.2rem; padding:0 .5rem; background:white; border:1px solid #a9bbce; border-radius:.55rem; }
.playground { background:linear-gradient(#9edffa 0%,#cff1fb 35%,#fff1c4 35%,#fff4d5 100%); padding-bottom:1.3rem; }
.playground .hero { padding:1rem 0 0; max-width:none; overflow:hidden; background:radial-gradient(ellipse 48px 16px at 4% 27%,#fffaf1 95%,transparent),radial-gradient(ellipse 65px 19px at 98% 39%,#fffdf5 95%,transparent),linear-gradient(#98dcfa,#def6ff); }
.hero .brand-stage::before { background:none; }
.hero .tagline { margin:.35rem .5rem 0; }
.town { display:block; width:min(100%,480px); height:auto; margin:.3rem auto 0; }
.playground #interests { padding:.95rem 0 .4rem; max-width:48rem; }
#interests-title { text-align:center; color:#263c48; font-size:clamp(1.22rem,5vw,1.7rem); }
.playground .themes { gap:.8rem; margin:.95rem .2rem .5rem; }
.playground .themes button { border:1px solid #ccbda6; border-radius:4px 8px 5px 6px; background:linear-gradient(135deg,var(--wash),#fffdf6 85%); box-shadow:2px 4px 0 #79674128; padding:.55rem .25rem .65rem; }
.playground .themes button::before { content:""; position:absolute; width:2.2rem; height:.55rem; background:var(--edge); top:-.28rem; left:calc(50% - 1.1rem); transform:rotate(-5deg); }
.playground .entries { padding:0 1rem; margin-top:.55rem; }
.playground #area-picker { background:#fffdf8; }
.site-header { min-height:3.25rem; padding-block:.2rem; background:#fffefa; border-bottom:1px solid #dde3e4; }
.site-header .home-link { gap:.5rem; color:#293b47; }
.home-seal { position:relative; width:1.45rem; height:1.45rem; border-radius:48% 52% 50% 47%; background:#315c8c; }
.home-seal::after { content:""; position:absolute; inset:22% 20%; background:#fffefa; clip-path:polygon(50% 0,100% 46%,86% 46%,86% 100%,14% 100%,14% 46%,0 46%); }
.brand-name { font-size:.96rem; letter-spacing:.07em; font-weight:750; }
.collection-star { font:1.25rem/1 Arial,sans-serif; }
.playground .entries { margin:0 auto; padding:.6rem 1rem .15rem; }
.playground #interests { padding-top:.65rem; }
#interests-title { text-align:left; font-size:1rem; }
.playground { background:#fff1c4; }
.garage-view .site-header {position:sticky;top:0;z-index:5;}
.garage-view #results {scroll-margin-top:1rem;display:flex;flex-direction:column;position:relative;padding:0 0 1rem;isolation:isolate;}
.garage-view #garage-scene {height:6rem;background:linear-gradient(#a0def8,#e0f5ff);position:relative;border-radius:1rem 1rem 0 0;overflow:hidden;}
#garage-scene canvas {position:absolute;width:7.5rem;height:auto;bottom:-.2rem;right:0;}
.garage-view .results-heading {position:absolute;top:1.35rem;left:.8rem;right:7.5rem;align-items:start;flex-direction:column;gap:0;}
.garage-view .results-heading h2 {font-size:clamp(1.05rem,4.8vw,1.45rem);color:#173c52;}
.garage-view .results-heading .quiet {font-size:.78rem;min-height:2.75rem;padding:0;}
.garage-view .vehicle-filters {order:1;background:#fff3cc;border:0;border-radius:0 0 1rem 1rem;margin:0;padding:.75rem 1rem 1rem;}
.garage-view .vehicle-filters label span {justify-content:center;min-width:3.6rem;border-radius:.65rem;}
.garage-view .vehicle-filters input:checked + span {background:#244f89;color:white;}
.garage-view #summary {order:2;margin:1rem 0 .35rem;color:#25445a;font-weight:bold;}
.garage-view #reset {order:3;align-self:start;min-height:2.75rem;}
.garage-view #cards {order:4;}

body { padding-bottom:calc(3.6rem + env(safe-area-inset-bottom)); }
html { scroll-padding-bottom:calc(3.6rem + env(safe-area-inset-bottom)); }
.bottom-nav { position:fixed; bottom:0; left:0; right:0; z-index:10; display:flex; justify-content:center; background:#fffefb; border-top:1px solid #d5dce0; padding-bottom:env(safe-area-inset-bottom); }
.bottom-nav a { position:relative; width:min(50%,16rem); height:3.6rem; display:flex; align-items:center; justify-content:center; gap:.5rem; font-size:.85rem; font-weight:650; text-decoration:none; color:#43505c; }
.bottom-nav a[aria-current] { color:#204d78; }
.bottom-nav a[aria-current]::after { content:""; position:absolute; top:0; background:currentColor; width:2rem; height:3px; border-radius:0 0 3px 3px; }
.bottom-nav span { font:1.4rem/1 Arial,sans-serif; }
.search-glyph { display:inline-block; position:relative; width:14px; height:14px; border:1.7px solid currentColor; border-radius:50%; margin-right:3px; }
.search-glyph::after { content:""; position:absolute; width:7px; height:2px; background:currentColor; bottom:-3px; right:-5px; transform:rotate(46deg); }
.collection-view .playground,.collection-view #conditions { display:none; }
.site-header #back-list { text-decoration:none; }
/* Compact discovery masthead */
.playground { padding-bottom:0; }
.playground .hero { position:relative; max-width:54rem; text-align:left; padding:.85rem 1rem .65rem; background:linear-gradient(110deg,#effaff,#c3eafb); }
.playground .brand-stage { width:max-content; margin:0; padding:0; text-align:center; }
.playground .wordmark { font-size:2.1rem; }
.playground .brand-marks { display:none; }
.playground .brand-reading { margin:.2rem 0 0; font-size:.58rem; }
.playground .hero .tagline { position:relative; z-index:1; margin:.25rem 0 0; justify-content:flex-start; gap:.15rem; }
.playground .tagline strong,.playground .tagline span { font-size:.76rem; }
.playground .town { position:absolute; bottom:0; right:0; width:min(41%,15rem); margin:0; }
.playground .entries { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); max-width:54rem; padding:.55rem 1rem; gap:.45rem; }
.entries button.outline { min-width:0; padding:.35rem; gap:.35rem; border-color:#d3c79d; background:#fffdf6; }
.entries button::after { content:""; width:.36rem; height:.36rem; border-right:1.5px solid; border-bottom:1.5px solid; transform:translateY(-2px) rotate(45deg); }
.entries button[aria-expanded=true] { background:#fff1bd; border-color:#967839; }
#kind-picker { display:flex; flex-wrap:wrap; gap:.4rem; max-width:54rem; margin:auto; padding:.5rem 1rem 1rem; }
.discovery-view #results { padding-top:.65rem; }
.discovery-view .cards .card:first-child:has(img) { display:block; padding:0; overflow:hidden; }
.discovery-view .cards .card:first-child img { height:clamp(8rem,24vh,14rem); aspect-ratio:auto; border-radius:0; }
.discovery-view .cards .card:first-child .card-body { padding:.65rem .85rem .8rem; }
.discovery-view .cards .card:first-child .price { font-size:1.22rem; }
.discovery-view .cards .card:first-child .star { top:.55rem; right:.55rem; background:white; border:1px solid #d7dee7; border-radius:50%; }
@media (max-height:620px) {
  .discovery-view .cards .card:first-child img { height:19vh; }
  .discovery-view .playground .hero { padding-block:.45rem; }
  .discovery-view #summary { margin:0; }
}
.cards .card-body h3 { margin:.15rem 0; font-weight:750; line-height:1.45; }
.cards .card-link { text-decoration:none; color:#1d3449; }
.cards .card-link:hover { text-decoration:underline; }
.cards .card-body h3::after { content:"›"; margin-left:.45rem; color:#687a89; font-weight:500; }
.cards .card-body .muted { color:#5a6873; font-size:.78rem; }
.cards .card-body .price { color:#172c40; font-size:1.28rem; font-weight:750; }
.cards .price small { font-weight:500; color:#535f69; }
.cards .condition-row { display:flex; align-items:center; flex-wrap:wrap; gap:.25rem .55rem; margin:.5rem 0 .05rem; }
.condition-label { font-size:.72rem; color:#53616b; }
.cards .condition-row .state { margin:0; display:inline-flex; align-items:center; gap:.35rem; padding:0; background:none; color:#36434c; font-size:.78rem; }
.condition-row .state::before { content:""; width:.55rem; height:.55rem; border-radius:50%; background:#737e88; }
.condition-row [data-level=A]::before { background:#25815c; }
.condition-row [data-level=B]::before { background:#c09923; }
.condition-row [data-level=C]::before { background:#de7734; }
.condition-row [data-level=D]::before { background:#c9413d; }
.entries button.selected-filter { background:#fff7d7; border-color:#ac9356; color:#41391f; }
.discovery-view .cards .card:first-child:has(img) .price { font-size:1.45rem; }
.deal-switch { display:flex; gap:.25rem; max-width:52rem; margin:auto; padding:.35rem 1rem 0; background:#fff1c4; }
.deal-switch button { flex:1; min-height:44px; border:0; border-bottom:3px solid transparent; background:#fffaf0; color:#465466; font:inherit; font-weight:700; }
.deal-switch button[aria-pressed=true] { color:#183e67; background:#fff; border-color:#285e91; }
.collection-view .playground { display:block; }
.collection-view .playground > :not(.deal-switch) { display:none; }
@media (max-height:620px) { .discovery-view .cards .card:first-child img {height:15vh;} }

:root { font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic UI",Meiryo,sans-serif; }
.cards .card-body h3,.section h2,.deal-switch button { font-weight:700; letter-spacing:0; }
.cards .card-body .price { font-variant-numeric:tabular-nums; font-weight:700; }
#area-picker { margin:.25rem auto 0; padding:.85rem 1rem; }
#area-picker h2 { font-size:1.06rem; }
.city-row { display:flex; align-items:center; justify-content:space-between; width:100%; padding:.7rem .35rem; min-height:46px; background:white; border:0; border-top:1px solid #dae1e4; text-align:left; font-weight:650; color:#233b50; }
.city-row::after { content:"›"; color:#5c7383; }
label.city-row { justify-content:flex-start; gap:.75rem; cursor:pointer; }
label.city-row::after { content:none; }
.city-row input { width:1.15rem;height:1.15rem;accent-color:#255781; }
.city-apply { width:100%; margin-top:.6rem; }
.city-apply:disabled { opacity:.52; }
.cards article.photo-card { display:block; padding:0; overflow:hidden; }
.cards article.photo-card img,.discovery-view .cards article.photo-card:first-child img { width:100%; height:auto; max-height:min(45vh,24rem); aspect-ratio:auto; object-fit:contain; background:#edf0ec; border-radius:0; }
.cards article.photo-card .card-body,.discovery-view .cards article.photo-card:first-child .card-body {padding:.48rem .72rem .65rem;}
.cards article.photo-card .star {top:.45rem;right:.45rem;background:white;border-radius:50%;border:1px solid #ccd5d9;}
.cards .card .card-body h3 {font-size:.94rem;}
.cards .card .price,.discovery-view .cards .card:first-child:has(img) .price {font-size:1.13rem;}
.cards .condition-row {margin-top:.25rem;}
#photo a {display:block;background:#f2f3ee;}
.property-page #photo img {width:100%;height:auto;max-height:60vh;object-fit:contain;aspect-ratio:auto;}
#photo-controls {display:flex;align-items:center;justify-content:center;gap:.8rem;margin:-.35rem 0 .5rem;font-size:.8rem;}
#photo-controls button {width:44px;height:44px;background:white;border:1px solid #dce2ec;border-radius:50%;font-size:1.25rem;}
#photo-controls button:disabled {color:#a6b0b5;}
@media(max-height:650px){.cards article.photo-card img,.discovery-view .cards article.photo-card:first-child img {max-height:22vh;}}
.listing-photos { position:relative; z-index:1; display:flex; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; scrollbar-width:none; }
.listing-photos::-webkit-scrollbar { display:none; }
.cards .listing-photos figure { flex:0 0 100%; min-width:0; scroll-snap-align:start; scroll-snap-stop:always; align-self:stretch; aspect-ratio:4/3; max-height:min(45vh,24rem); background:#edf0ec; }
.listing-photos a { display:block; height:100%; }
.cards article.photo-card .listing-photos img,.discovery-view .cards article.photo-card:first-child .listing-photos img { height:100%; max-height:none; }
.listing-photos .photo-count { position:absolute; right:.45rem; bottom:.4rem; border-radius:.8rem; padding:.1rem .5rem; background:#182631d9; color:white; font:600 .72rem/1.6 system-ui,sans-serif; pointer-events:none; }
.cards article.photo-card .star { z-index:2; }
@media (max-height:650px) { .cards .listing-photos figure { max-height:22vh; } }
/* Search sheet and property navigation */
.playground .hero .tagline {width:max-content;max-width:100%;margin-top:.38rem;gap:.22em;line-height:1.35;}
.playground .town {width:min(37%,15rem);}
@media(max-width:350px){.playground .town{width:32%;}}
.filter-trigger,#more-results {border:1px solid #bbccd5;border-radius:1.5rem;background:#f3f9fb;color:#203d51;padding:.5rem .85rem;min-height:44px;font-size:.83rem;font-weight:700;}
.filter-trigger span {color:#245ba4;font-size:1.1rem;vertical-align:middle;}
#more-results {display:block;margin:1rem auto;}
body:has(#conditions[open]) {overflow:hidden;}
dialog#conditions {box-sizing:border-box;width:min(29rem,calc(100% - 1rem));max-height:85dvh;overflow:auto;border:0;border-radius:1.25rem;padding:1.1rem 1.15rem 1.35rem;margin:auto;background:#fffcf5;color:#24374b;box-shadow:0 14px 65px #132b4840;}
#conditions::backdrop {background:#192c46a8;}
.sheet-head {display:flex;justify-content:space-between;align-items:center;border-bottom:2px solid #edcf79;padding-bottom:.45rem;}
.sheet-head h2 {font-size:1.15rem;}
.sheet-head button {border:0;background:#efece2;color:#263747;border-radius:50%;width:44px;height:44px;font-size:1.4rem;}
#conditions .filters {grid-template-columns:repeat(2,minmax(0,1fr));}
#conditions .filters label:last-child {grid-column:1/-1;}
#conditions .filters select {min-width:0;width:100%;background:white;}
#conditions .submit {border-radius:.95rem;background:#244c77;box-shadow:0 3px 0 #112e4b;}
@media(max-width:540px){dialog#conditions {margin:auto auto 0;width:100%;border-radius:1.3rem 1.3rem 0 0;padding-bottom:calc(1.3rem + env(safe-area-inset-bottom));}}
.place-head {position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(120deg,#e5f6fd,#c1e8f6);border-radius:1rem 1rem .5rem .5rem;padding:.9rem 1rem .8rem;}
.place-head .town {position:absolute;z-index:-1;width:35%;bottom:0;right:0;margin:0;}
.place-head .property-title {display:block;margin:.25rem 0 .3rem;}
.property-page .place-head h1 {font-size:clamp(1.12rem,4.4vw,1.5rem);line-height:1.4;}
.place-head .price {font-size:1rem;color:#203d51;max-width:65%;}
.property-page #property-nav {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:1rem 0;}
#property-nav a {justify-content:space-between;border:1px solid #d8e1e7;border-left:4px solid var(--tab,#e16452);border-radius:.65rem;padding:.4rem .7rem;text-decoration:none;color:#233e52;background:#fffdf8;font-weight:700;box-shadow:0 2px 0 #e7e8df;}
#property-nav a::after {content:"›";color:#668398;}
#property-nav a:nth-child(2){--tab:#5281bb;} #property-nav a:nth-child(3){--tab:#e3af45;} #property-nav a:nth-child(4){--tab:#559572;}
.property-page #information h2 {font-size:1.05rem;border-left:4px solid #efd376;padding-left:.45rem;}
