/* Option A, phone: Airbnb listing order and components (Sawyer, 2026-12-01). Tokens come from DESIGN.md v4. */
.g-rating-row{display:flex;align-items:center;gap:8px;min-height:44px;margin:4px 0;color:var(--g-ink);font-size:15px;text-decoration:none}
.g-rating-score{font-weight:700}
.g-rating-row>span+span{color:var(--g-muted);font-weight:400;text-decoration:underline;text-underline-offset:3px}
.g-highlight-clay{flex:0 0 56px;width:56px;height:56px;border-radius:12px;object-fit:contain;background:var(--g-surface)}
.g-where-place{margin:0 0 14px;color:var(--g-muted);font:400 15px/1.4 Inter,sans-serif}
.g-where-map{position:relative;margin:0;border-radius:16px;overflow:hidden;border:1px solid var(--g-line)}
.g-where-map img{display:block;width:100%;height:auto}
.g-where-chip{position:absolute;left:12px;top:12px;margin:0;padding:7px 12px;border-radius:999px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.16);font:600 12px/1.2 Inter,sans-serif;color:var(--g-ink)}
.g-where-attr{position:absolute;right:0;bottom:0;margin:0;padding:2px 6px;background:rgba(255,255,255,.88);font:400 12px/1.3 Inter,sans-serif;color:var(--g-muted)}
.g-where-area{margin:16px 0 0;font:700 16px/1.3 Inter,sans-serif;color:var(--g-ink)}
.g-where-drive{display:flex;align-items:center;gap:12px;margin:14px 0 0;padding-top:14px;border-top:1px solid var(--g-line)}
.g-where-drive-icon{flex:0 0 36px;width:36px;height:36px;border-radius:50%;background:var(--g-surface);display:grid;place-items:center;color:var(--g-link,#1f6ae0);font-size:18px}
.g-where-drive strong{font:700 15px/1.35 Inter,sans-serif;color:var(--g-ink)}
.g-review-name{font-weight:700}
.g-review-meta{font-weight:400;color:var(--g-muted)}
/* App-style phone page (Sawyer, 2026-12-02, look C from his Airbnb videos): the home's own photos stand in for icons, and the site header steps aside for the photo. Phone only. */
@media(min-width:701px){.g-property .g-highlight-photo,.g-property .g-room-photos,.g-topbar,.g-rating-row{display:none}.g-property .g-highlight-clay{display:block}}
@media(max-width:700px){
.g-booking{--g-line-strong:#8a9396}
.g-property{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}
.g-property .g-label,.g-detail-nav,.g-breadcrumb,.g-property-actions,.g-all-photos,.g-next-home>div>p{display:none}
.g-property-heading{padding:16px 0 8px}
.g-property-heading h1{font:600 26px/1.15 Inter,sans-serif;letter-spacing:-.02em}
.g-property-heading>div>p:not(.g-label){margin:6px 0 0;font:400 15px/1.45 Inter,sans-serif;color:var(--g-muted)}
.g-property-specs{display:block;padding-top:4px;font:400 14px/1.4 Inter,sans-serif;color:var(--g-muted)}
.g-property-specs span{display:inline}
.g-property-specs span+span::before{content:"·";margin:0 8px;color:var(--g-muted)}
.g-property-specs strong{font:inherit;font-weight:400;color:inherit}
.g-gallery-frame{max-width:none;width:100vw;margin:0 0 0 calc(50% - 50vw)}
/* The header keeps only its menu: the round button on the photo and the slim bar open it, with the phone number and the owners link. */
html{scroll-padding-top:64px}
.guest-site .g-header{position:fixed;top:0;left:0;right:0;z-index:45;height:0;padding:0;border:0;background:none}
.guest-site .g-header>:not(.g-mobile-menu){display:none}
.guest-site .g-header .g-mobile-menu{inset:64px 12px auto;border:0;border-radius:16px}
.g-topbar{position:fixed;top:0;left:0;right:0;z-index:40;display:flex;align-items:center;justify-content:space-between;height:56px;padding:0 8px;border-bottom:1px solid var(--g-line);background:var(--g-bg);transform:translateY(-100%);visibility:hidden;transition:transform 200ms var(--g-ease-out),visibility 0s 200ms}
.g-topbar.is-on{transform:none;visibility:visible;transition:transform 200ms var(--g-ease-out)}
.g-topbar>span{display:flex}
.g-topbar-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none;color:var(--g-ink);font-size:22px;-webkit-tap-highlight-color:transparent}
.g-topbar-button[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.g-topbar,.g-topbar.is-on{transition:none}}
.g-gallery-photo{aspect-ratio:4/3}
.g-rating-row{padding:12px 0;border-bottom:1px solid var(--g-line);font-size:14px}
.g-property-columns{margin-top:0;gap:0}
.g-property-content{display:contents}
.g-property-columns>*,.g-property-content>*{min-width:0;max-width:100%}
#overview{order:1}#sleeping{order:2}#amenities{order:3}#where{order:4}#reviews{order:5}[id=before-booking]{order:6}#stay-story{order:7}#ask-about-home{order:8}
/* Phone uses the sticky bar + Things-to-know Availability row; hide the mid-page booking card. Keep the form in the DOM for date state. */
.g-booking{display:none!important}
.g-detail-section{padding:28px 0;border:0;overflow-x:clip}
.g-detail-section h2,.g-booking h2{font:600 22px/1.2 Inter,sans-serif;letter-spacing:-.02em;margin:0 0 14px}
#overview>h2{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.g-detail-section p,.g-detail-section .g-lede{font:400 15px/1.55 Inter,sans-serif;color:var(--g-muted)}
.g-highlights{display:block;margin:4px 0 0;padding:0}
.g-property .g-highlights li{align-items:flex-start;gap:14px;min-height:44px;padding:10px 0;font:700 15px/1.3 Inter,sans-serif}
.g-highlights li>.ui-icon{flex:0 0 56px;width:56px;height:56px;border-radius:12px;background:var(--g-surface);font-size:26px;color:var(--g-link,#1f6ae0)}
.g-highlight-photo{flex:0 0 56px;width:56px;height:56px;border-radius:12px;object-fit:cover}
.g-highlight-clay+.ui-icon,.g-highlight-photo+.ui-icon{display:none!important}
.g-highlight-copy{display:flex;flex-direction:column;gap:2px;min-width:0}
.g-highlight-copy strong{font:700 15px/1.3 Inter,sans-serif;color:var(--g-ink)}
.g-highlight-copy small{font:400 14px/1.4 Inter,sans-serif;color:var(--g-muted)}
.g-about{margin-top:20px;padding-top:20px;border-top:1px solid var(--g-line)}
.g-about .g-host{margin-top:12px}
#sleeping>h2+p{display:none}
.g-sleeping-list{display:flex;gap:10px;overflow-x:auto;margin:16px -20px 0;padding:0 20px 6px;scroll-snap-type:x mandatory;scroll-padding-left:20px;scrollbar-width:none}
.g-sleeping-list::-webkit-scrollbar{display:none}
.g-sleeping-list li{flex:0 0 168px;display:flex;flex-direction:column;align-items:flex-start;border:1px solid var(--g-line);border-radius:12px;padding:0;overflow:hidden;scroll-snap-align:start}
.g-sleeping-list .ui-icon{margin:16px 16px 0;font-size:28px}
.g-sleep-photo{display:block;width:100%;height:110px;object-fit:cover}
.g-sleeping-list strong{margin:12px 14px 0;font-size:15px}
.g-sleeping-list small{margin:4px 14px 14px;font-size:14px}
.g-amenity-list .g-amenity{min-height:48px;padding:8px 0;font-size:15px}
.g-room-photos{display:flex;gap:12px;overflow-x:auto;margin:0 -20px 16px;padding:0 20px;list-style:none;scroll-snap-type:x mandatory;scroll-padding-left:20px;scrollbar-width:none}
.g-room-photos::-webkit-scrollbar{display:none}
.g-room-photos li{flex:0 0 72%;scroll-snap-align:start}
.g-room-photo{display:block;color:var(--g-ink);text-decoration:none}
.g-room-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:12px}
.g-room-photo span{display:-webkit-box;margin-top:8px;overflow:hidden;font:600 15px/1.35 Inter,sans-serif;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.g-consideration{margin:0 0 10px;padding:14px 16px;border:0;border-radius:12px;background:var(--g-surface);font-size:14px}
.g-faqs summary{min-height:44px;padding:14px 0;font:600 15px Inter,sans-serif}
.g-faqs details p{font-size:14px;color:var(--g-muted)}
.g-mobile-booking{background:var(--g-bg);border-top:1px solid var(--g-line);box-shadow:none}
.g-property .stay-story{padding:28px 0}
.stay-story-heading span,.stay-story .g-small{display:none}
.g-property .stay-story .stay-story-heading h2{font-size:22px;margin:0 0 14px}
.g-property .stay-story video{aspect-ratio:4/5;object-fit:cover;object-position:50% 100%;border-radius:16px}
.g-property .stay-story .story-play{left:calc(100% - 44px);top:calc(100% - 48px)}
.g-question select{border:1px solid var(--g-line-control);border-radius:8px;padding:0 12px}
.g-next-home{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:20px 0;border-top:1px solid var(--g-line)}
.g-property .g-next-home h2{font:600 22px/1.2 Inter,sans-serif;margin:0}
.g-next-home>.g-button{margin:0;background:var(--g-bg);color:var(--g-ink);border:1px solid var(--g-ink);border-radius:8px;font-weight:600}
}
/* The home photo's transition name for the three homes guest.css does not name (also in home-deck.css). */
@media(prefers-reduced-motion:no-preference){[data-transition-home="blue-house"]{view-transition-name:home-blue}[data-transition-home="coastal-stay"]{view-transition-name:home-coastal}[data-transition-home="relaxing-oasis"]{view-transition-name:home-relaxing}}
/* Airbnb polish: thin lines between sections, icon + chevron Things to know. */
@media(max-width:700px){
#sleeping,#amenities,#where,#reviews,[id=before-booking],#stay-story,#ask-about-home{border-top:1px solid var(--g-line)}
.g-know{margin:0}
.g-know-row{display:flex;align-items:flex-start;gap:16px;width:100%;min-height:48px;margin:0;padding:12px 0;border:0;background:none;color:var(--g-ink);text-align:left;font:inherit;-webkit-tap-highlight-color:transparent}
.g-know-button{cursor:pointer}
.g-know-copy{display:flex;flex:1 1 auto;flex-direction:column;gap:2px;min-width:0}
.g-know-copy strong{font:700 15px/1.35 Inter,sans-serif;color:var(--g-ink)}
.g-know-copy small{font:400 14px/1.4 Inter,sans-serif;color:var(--g-muted)}
.g-mobile-dates{font-weight:400}
.g-mobile-dates>span{font:700 15px/1.3 Inter,sans-serif;color:var(--g-ink)}
.g-mobile-dates>strong{font:700 13px/1.3 Inter,sans-serif}
[id=before-booking] .ui-icon{margin-top:1px;color:var(--g-ink);font-size:24px}
[id=before-booking] .g-faq-chevron{margin-left:auto;font-size:18px}
.g-know-details{border:0}
.g-know-details>summary{list-style:none;cursor:pointer;padding:0}
.g-know-details>summary::-webkit-details-marker{display:none}
.g-know-details[open] .g-faq-chevron{transform:rotate(90deg)}
.g-know-details>p,.g-know-rules{margin:0 0 12px 40px;padding:0;color:var(--g-muted);font:400 14px/1.45 Inter,sans-serif}
.g-know-rules{list-style:disc;padding-left:18px}
.g-know-rules li{margin:0 0 8px}
.g-know-cost{margin:8px 0 0;color:var(--g-muted);font:400 14px/1.45 Inter,sans-serif}
[id=before-booking] .g-source-note{margin-top:16px;color:var(--g-muted);font-size:13px}
.g-reviews-all{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:48px;margin-top:8px;padding:0 24px;border:1px solid var(--g-line);border-radius:8px;background:var(--g-bg);color:var(--g-ink);font:600 16px Inter,sans-serif;text-decoration:none}
.g-question .g-button{border-radius:8px}
/* Full-screen photo viewer: booking bar must not show through the dialog. */
html:has(.g-photo-dialog[open]) .g-mobile-booking{display:none!important}
.g-photo-dialog[open]{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:16px 16px max(16px,env(safe-area-inset-bottom));border:0;border-radius:0;background:var(--g-ink);color:#fff;z-index:80}
.g-photo-dialog[open]::backdrop{background:var(--g-ink)}
.g-photo-dialog[open]>div:first-child{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;padding:4px 0 12px;background:var(--g-ink)}
.g-photo-dialog[open] h2{margin:0;color:#fff;font:600 18px/1.3 Inter,sans-serif}
.g-photo-dialog[open] button{min-height:44px;padding:8px 16px;border:0;border-radius:999px;background:#fff;color:var(--g-ink);font:600 14px Inter,sans-serif}
.g-photo-dialog[open] .g-photo-grid{display:flex;flex-direction:column;gap:12px}
.g-photo-dialog[open] .g-photo-grid img{width:100%;height:auto;object-fit:contain;border-radius:8px;background:var(--g-ink)}
}
@media(max-width:700px) and (prefers-reduced-motion:no-preference){[id=before-booking] .g-faq-chevron{transition:transform 200ms var(--g-ease-out)}}
