/* Second layout batch (user, 2026-11-14): simple and flat, few boxes, no shadows or gradients. Loaded last. */
:root{--si-green:#1f7a46;--si-green-soft:#e6f3ea;--si-orange-soft:#fdf0e3;--si-grey-soft:#f1f3f2;--si-line:#eceeed;--si-ink:#26302b;--si-mute:#6b746f}

/* ---- Top of the home page ---- */
.top-card .controls{display:block!important;padding:0!important;margin:4px 0 0!important;border:0!important}
.top-card .controls .filter-row,.top-card .controls #btn-gps,.top-card #suggest-sight-entry{display:none!important}
.top-card .si-place-search-form{display:flex!important;align-items:center;width:100%!important;max-width:none!important;box-sizing:border-box;margin:0!important;padding:0 10px!important;min-height:42px;border:0!important;border-radius:10px;background:var(--si-grey-soft)!important;box-shadow:none!important}
.top-card .si-place-search-form button{flex:0 0 auto;width:auto!important;min-height:40px;padding:0 6px 0 0!important;border:0!important;background:transparent!important;color:var(--si-mute)}
.top-card .si-place-search-form input{flex:1 1 auto;min-width:0;width:100%!important;border:0!important;background:transparent!important;font-size:16px!important;padding:8px 0!important;text-overflow:clip!important}
.top-card .si-place-search-form input::placeholder{color:#8b938e;opacity:1}
.top-card header #lang-select-button,.top-card #lang-select-button{padding:4px 10px!important;min-height:36px!important;font-size:14px!important;border:0!important;background:var(--si-grey-soft)!important;border-radius:999px;box-shadow:none!important}

.si-cat-tabs{display:flex;gap:20px;overflow-x:auto;scrollbar-width:none;margin:6px 0 0;padding:0 2px}
.si-cat-tabs::-webkit-scrollbar{display:none}
.si-cat-tabs button{position:relative;flex:0 0 auto;width:auto!important;min-height:40px;margin:0!important;padding:6px 0 8px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:var(--si-ink)!important;font-size:15px!important;font-weight:400!important;white-space:nowrap}
.si-cat-tabs button[aria-selected=true]{color:var(--si-green)!important;font-weight:700!important}
.si-cat-tabs button[aria-selected=true]::after{content:'';position:absolute;left:50%;bottom:2px;width:18px;height:3px;margin-left:-9px;border-radius:2px;background:var(--si-green)}

.si-tools-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:2px 0 0;border:0!important}
.si-tools-row .si-tool{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:100%!important;min-width:0;min-height:52px!important;margin:0!important;padding:4px 2px!important;border:0!important;border-radius:10px;background:transparent!important;box-shadow:none!important;color:var(--si-ink)!important;font-size:12px!important;line-height:1.3!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere}
.si-tools-row .si-tool::before{content:attr(data-icon);font-size:20px;line-height:1.1}
.si-tools-row .si-tool:disabled{color:#a3aaa6!important;opacity:1}
.si-tools-row .si-tool:disabled::before{filter:grayscale(1);opacity:.55}
.si-tools-row .si-tool[aria-pressed=true]{background:var(--si-green-soft)!important;color:var(--si-green)!important}
.si-origin-note{display:block;font-size:12px;color:var(--si-mute);padding:0 4px}
.si-origin-note:empty{display:none}
#live-position{display:none!important}
#live-position,.si-tools-row,.top-card .controls{border-top:0!important;border-bottom:0!important}

#walking-safety-notice{height:auto!important;min-height:0!important;padding:2px 2px 4px!important;overflow:visible!important;white-space:normal!important;line-height:1.5!important;font-size:12px!important;color:#8a5a00!important;background:transparent!important;border:0!important}
#walking-safety-notice .walking-safety-track{display:block!important;transform:none!important;animation:none!important;white-space:normal!important}

.si-refresh-control{margin:6px 8px 0 0!important;border:0!important}
#si-refresh-area{display:flex!important;align-items:center;justify-content:center;width:34px!important;height:34px;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:#fff!important;color:transparent!important;font-size:0!important;box-shadow:none!important;outline:1px solid rgba(0,0,0,.15)}
#si-refresh-area::before{content:'↻';font-size:19px;line-height:1;color:var(--si-green)}
#si-refresh-area[aria-busy=true]::before{animation:si-spin 1s linear infinite}
@keyframes si-spin{to{transform:rotate(360deg)}}

/* ---- Sight cards: full width, a faint line between them ---- */
#si-results #spots-container>.spot-card{border:0!important;border-bottom:1px solid var(--si-line)!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;padding:8px 4px!important;grid-template-columns:minmax(0,1fr) 72px!important;row-gap:2px!important;margin:0!important}
#si-results #spots-container>.spot-card.si-near-sight{box-shadow:none!important;background:#fff!important}
#si-results #spots-container>.spot-card:has(.si-arrived){background:#f3faf5!important}
#si-results .spot-card .si-photo{grid-row:1/span 2!important;align-self:start}
#si-results .spot-card .si-photo img,#si-results .spot-card .si-photo-album-button{width:72px!important;height:60px!important}
#si-results .spot-card .si-photo>small{display:none!important}
#si-results .spot-card>.spot-actions{grid-column:1/-1!important;grid-row:auto!important}
#si-results .spot-card .si-photo-placeholder{width:72px!important;height:60px!important;box-sizing:border-box;padding:4px!important}

#si-results .si-card-status{display:flex;flex-wrap:wrap;align-items:center;gap:2px 14px;margin:2px 0 0;font-size:12px;color:var(--si-mute);line-height:1.4}
#si-results .si-card-status:not(:has(>:not([hidden]))){display:none}
#si-results .si-card-status .si-near-badge{order:0;margin:0!important;padding:0!important;font-size:12px!important;color:var(--si-green)!important;background:transparent!important;border:0!important;font-weight:600}
#si-results .si-card-status .si-listen-count{order:1}
#si-results .si-card-status .si-arrival-button{order:2}
#si-results .si-card-status>button{position:relative;width:auto!important;min-height:30px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:12px!important;color:var(--si-mute)!important;white-space:nowrap}
#si-results .si-card-status .si-arrival-button.si-arrived{color:var(--si-ink)!important}
#si-results .si-card-status .si-arrival-button.si-arrival-off{color:#a3aaa6!important}
.si-tip{position:absolute;left:0;bottom:100%;z-index:5;padding:3px 8px;border-radius:6px;background:#2b332f;color:#fff;font-size:11px;white-space:nowrap;pointer-events:none}
.si-tip[hidden]{display:none}

#si-results .spot-actions{position:relative}
#si-results .si-guide-buttons{display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px!important;margin:6px 0 0;width:100%}
#si-results .si-guide-buttons>button{display:flex!important;align-items:center;justify-content:center!important;width:100%!important;min-width:0;min-height:40px!important;margin:0!important;padding:0 6px!important;border:0!important;border-radius:8px!important;box-shadow:none!important;font-size:14px!important;font-weight:600;text-align:center!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#si-results .si-guide-buttons>button[hidden]{display:none!important}
#si-results .si-guide-buttons>.si-btn-simple{background:var(--si-green)!important;color:#fff!important}
#si-results .si-guide-buttons>.si-btn-detail{background:var(--si-green-soft)!important;color:#1f5c37!important}
#si-results .si-guide-buttons>.si-guide-map-open{background:var(--si-orange-soft)!important;color:#8a4b12!important}
#si-results .si-guide-buttons.si-audio-locked>.si-btn-simple,#si-results .si-guide-buttons.si-audio-locked>.si-btn-detail,#si-results .si-guide-buttons>button:disabled{background:var(--si-grey-soft)!important;color:#7c857f!important}
#si-results .si-audio-lock-note,#si-results .si-arrival-note{position:static;margin:6px 0 0!important;padding:6px 10px!important;border:0!important;border-radius:8px;background:#fff6e0!important;color:#77520a!important;font-size:13px!important;line-height:1.5}
#si-results .si-audio-lock-note[hidden],#si-results .si-arrival-note[hidden]{display:none!important}

#si-results .si-location-row{border-top:0!important}
#si-results .si-location-row .si-navigation-button,#si-results .si-location-row summary{border:0!important;background:transparent!important;box-shadow:none!important}

/* Last row: 一起完善 two fifths, the ad three fifths, a thin line between. */
#si-results .spot-card>.si-demo-card-footer{grid-template-columns:minmax(0,2fr) minmax(0,3fr)!important;border:0!important;margin-top:2px!important}
#si-results .si-demo-card-footer>button{margin-top:0!important}
#si-results .si-demo-card-footer>button.si-entry-off{color:#a3aaa6!important}
.si-demo-ad{border:0!important;border-left:1px solid var(--si-line)!important;background:transparent!important;box-shadow:none!important}

/* ---- 我的 ---- */
.si-profile-top{display:grid;gap:2px;padding:4px 0 10px;border-bottom:1px solid var(--si-line)}
.si-profile-top .si-profile-account{justify-content:flex-start;text-align:left;font-size:16px!important;font-weight:600;color:var(--si-ink)!important;padding:0!important}
.si-profile-top .si-profile-account::after{content:' ›';color:#9aa29d}
.si-profile-note{font-size:12px;color:var(--si-mute);line-height:1.5}
.si-profile-top .si-profile-logout{justify-self:start;font-size:13px!important;color:var(--si-mute)!important;padding:0!important;min-height:32px!important}
.si-profile-list{display:grid;margin:4px 0 8px}
.si-profile-list>button{font-weight:400!important;display:flex!important;align-items:center;gap:10px;width:100%!important;min-height:48px;padding:0 2px!important;border:0!important;border-bottom:1px solid var(--si-line)!important;border-radius:0;background:transparent!important;color:var(--si-ink)!important;font-size:15px!important;text-align:left}
.si-profile-list>button::before{content:attr(data-icon);width:24px;text-align:center;font-size:18px}
.si-profile-list>button::after{content:'›';margin-left:auto;color:#9aa29d;font-size:18px}
.si-profile-badge{min-width:20px;height:20px;padding:0 6px;box-sizing:border-box;border-radius:10px;background:var(--si-green);color:#fff;font-size:12px;line-height:20px;text-align:center}
.si-profile-badge.si-soon{background:#d39b00}
.si-help-content .si-profile-admin{display:block;margin-top:18px!important;font-size:12px!important;color:#9aa29d!important;min-height:36px!important}
/* The card picked on the map: a thin orange edge instead of a frame. */
#si-results #spots-container>.spot-card.si-selected{outline:0!important;box-shadow:inset 3px 0 0 #dc551e!important}
/* The Japanese name is longer: a little smaller so it fits beside the language button. */
html:lang(ja) #ui-title{font-size:18px!important;letter-spacing:-.02em}

/* Fixes after review (user, 2026-11-14). */
/* Ad: text on the left, the car picture beside it, never on top of the words. */
#si-results .si-demo-ad{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto;column-gap:6px!important;align-items:center;padding-left:8px!important}
#si-results .si-demo-ad strong{grid-column:1!important;grid-row:1!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#si-results .si-demo-ad p{grid-column:1!important;grid-row:2!important;padding-right:0!important;white-space:normal!important}
#si-results .si-demo-ad p span{white-space:nowrap}
#si-results .si-demo-ad .si-demo-more{display:inline-block!important;white-space:nowrap;padding:2px 0}
#si-results .si-demo-ad .si-demo-car-logo{position:static!important;grid-column:2!important;grid-row:1/3!important;width:56px!important;height:auto!important;max-height:40px;object-fit:contain!important;align-self:center}
#si-results .si-demo-ad small{top:-4px!important}
/* Location status: hidden normally, one sentence when locating goes wrong. */
#live-position.si-gps-trouble{display:block!important;padding:2px 2px 0!important;min-height:0!important;border:0!important;background:transparent!important}
#live-position.si-gps-trouble>*{display:none!important}
#live-position.si-gps-trouble>.si-gps-note{display:block!important;font-size:12px;line-height:1.5;color:#a04a12}
/* 更多信息 › beside the distance when there are no hours or tickets to show. */
#si-results .spot-card h3 .si-basic-info{display:inline;margin-left:8px;font-size:13px;font-weight:400}
#si-results .spot-card h3 .si-basic-info summary{display:inline;padding:0;min-height:0}
#si-results .spot-card h3 .si-basic-info details[open] dl,#si-results .spot-card h3 .si-basic-info details[open]>a{display:block;font-size:13px;font-weight:400}
/* Tighter rows; buttons stay at least 40 px tall. */
#si-results .spot-card .si-basic-info{margin:0!important}
#si-results .si-card-status{margin:0!important}
#si-results .si-card-status>button{min-height:28px!important}
#si-results .si-guide-buttons{margin:4px 0 0!important}
#si-results .si-location-row{margin:0!important;padding:0!important;min-height:0!important}
#si-results .si-location-row .si-navigation-button{margin:0!important;min-height:40px!important;padding:0 6px!important}
#si-results .si-location-row summary{min-height:40px!important;padding:0 4px!important;display:flex;align-items:center}
#si-results .spot-card>.si-demo-card-footer{margin-top:0!important;min-height:40px!important}
#si-results .si-demo-card-footer>button{min-height:40px!important}
/* Guide buttons: icon and words centred in every state (locked, unlocked, playing, paused), whichever button is last. */
#si-results .spot-card .si-guide-buttons>button,#si-results .spot-card .si-guide-buttons>button:last-child,#si-results .spot-card .si-guide-buttons>button:first-child{display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:4px}
/* One guide row (user, 2026-11-14): buttons as wide as their words, then the marks 📍 🎧 👣; the marks move to the next
   line together when the row is full, so the buttons are never squeezed. */
#si-results .spot-card .si-guide-buttons{display:flex!important;flex-wrap:wrap;align-items:center;gap:6px 8px!important}
#si-results .spot-card .si-guide-buttons>button{flex:0 0 auto!important;width:auto!important;min-height:40px!important;padding:0 10px!important;font-size:13px!important}
#si-results .spot-card .si-guide-buttons>.si-card-status{display:inline-flex!important;flex:0 0 auto;flex-wrap:nowrap;gap:0 12px;margin:0 0 0 2px!important}
#si-results .spot-card .si-guide-buttons>.si-card-status:not(:has(>:not([hidden]))){display:none!important}
#si-results .si-card-status>button,#si-results .si-card-status>.si-near-badge{min-width:28px;min-height:40px!important;padding:0!important;font-size:15px!important;cursor:pointer}
#si-results .si-card-status .si-listen-count{font-size:13px!important}
#si-results .si-card-status .si-arrival-button{font-size:0!important}
#si-results .si-card-status .si-arrival-button::before{content:'👣';font-size:16px}
#si-results .si-card-status .si-arrival-button.si-arrival-off::before{filter:grayscale(1);opacity:.45}
#si-results .si-card-status .si-tip{font-size:11px!important}
#si-results .spot-card .si-guide-buttons>.si-card-status{position:relative}
/* 2026-11-14 fixes: marks 📍 → 👣 → 🎧 (the count grows, so it goes last); categories share the full row and scroll
   only when they do not fit; a bigger car picture in the ad; the map-selected card gets a full green frame. */
#si-results .si-card-status .si-near-badge{order:0!important}
#si-results .si-card-status .si-arrival-button{order:1!important}
#si-results .si-card-status .si-listen-count{order:2!important}
.si-cat-tabs{gap:8px!important}
.si-cat-tabs button{flex:1 0 auto!important;text-align:center}
#si-results .si-demo-ad .si-demo-car-logo{width:86px!important;max-height:56px!important}
#si-results #spots-container>.spot-card.si-selected{box-shadow:inset 0 0 0 2px #28764b!important;border-radius:8px!important;transition:none!important}
/* 2026-11-14 outline buttons: no fill, 1px border, pill shape; green when it can play, orange-brown for the map,
   grey when locked, very light when it cannot be tapped. Marks still wrap as one group. */
#si-results .spot-card .si-guide-buttons{gap:6px!important}
#si-results .spot-card .si-guide-buttons>button,#si-results .spot-card .si-guide-buttons>button:first-child,#si-results .spot-card .si-guide-buttons>button:last-child{min-height:38px!important;padding:0 10px!important;font-size:14px!important;border:1px solid #28764b!important;border-radius:999px!important;background:transparent!important;color:#28764b!important;font-weight:600}
#si-results .spot-card .si-guide-buttons>.si-guide-map-open{border-color:#8f3f1d!important;color:#8f3f1d!important}
#si-results .spot-card .si-guide-buttons.si-audio-locked>.si-btn-simple,#si-results .spot-card .si-guide-buttons.si-audio-locked>.si-btn-detail{border-color:#a9b1ac!important;color:#7c857f!important;background:transparent!important}
#si-results .spot-card .si-guide-buttons>button:disabled{border-color:#e1e5e2!important;color:#b5bbb7!important;background:transparent!important}
#si-results .spot-card .si-guide-buttons>.si-card-status{gap:0 8px!important;margin:0!important}
#si-results .spot-card .si-card-status>button,#si-results .spot-card .si-card-status>.si-near-badge{min-width:24px}
#si-results .spot-card .si-guide-buttons>button,#si-results .spot-card .si-guide-buttons>button:first-child,#si-results .spot-card .si-guide-buttons>button:last-child{padding:0 9px!important}
#si-results .spot-card .si-guide-buttons>.si-card-status{gap:0 6px!important}
#si-results .spot-card .si-card-status>button,#si-results .spot-card .si-card-status>.si-near-badge{min-width:22px}
/* 导航 left, 讲解文字 centre, 资料来源 right: the two panels already span the row with their titles in the middle and
   right thirds; the titles are flex boxes, so place the words with justify-content. */
#si-results .si-location-row>.si-transcript-panel>summary{justify-content:center!important}
#si-results .si-location-row>.si-location-info>summary{justify-content:flex-end!important}
/* Landscape phones (2026-11-14): the tool buttons become a row of icons, the safety line goes, the top rows are
   tighter, and the map gets what is saved (at least half the left column). Portrait is untouched. */
@media (orientation:landscape) and (min-width:640px) and (max-height:600px){
 .container{grid-template-rows:auto minmax(50%,1fr)!important}
 .top-card header{min-height:0!important}
 .top-card header #lang-select-button,.top-card #lang-select-button{min-height:32px!important;padding:2px 10px!important}
 #si-profile-button,.top-card header a,.top-card header button{min-height:32px!important}
 .top-card .controls{margin:2px 0 0!important}
 .top-card .si-place-search-form{min-height:36px!important}
 .top-card .si-place-search-form input{padding:4px 0!important}
 .top-card .si-place-search-form button{min-height:36px!important}
 .si-cat-tabs{margin:0!important}
 .si-cat-tabs button{min-height:34px!important;padding:4px 0 6px!important}
 .si-tools-row{display:flex!important;gap:6px!important;margin:0 0 2px!important}
 .si-tools-row .si-tool{position:relative;flex:0 0 auto;width:44px!important;min-width:40px;min-height:40px!important;height:40px;padding:0!important;font-size:0!important;gap:0}
 .si-tools-row .si-tool::before{font-size:20px}
 .si-tools-row{position:relative}
 .si-tools-row>.si-tool-tip:not([hidden]){display:block!important}
 .si-tools-row>.si-tool-tip{position:absolute;left:50%;top:100%;z-index:900;transform:translateX(-50%);margin-top:2px;padding:4px 8px;border-radius:6px;background:#2b332f;color:#fff;font-size:12px;white-space:nowrap;pointer-events:none}
 #walking-safety-notice,.walking-safety-track{display:none!important}
 #live-position.si-gps-trouble>.si-gps-note{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .si-origin-note{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
@media not ((orientation:landscape) and (min-width:640px) and (max-height:600px)){.si-tools-row>.si-tool-tip{display:none!important}}
.si-tools-row>.si-tool-tip[hidden]{display:none!important}
/* 探索附近景点 (founder, 2026-11-14): a clear centred capsule with a thin green outline, like the guide buttons. */
.welcome-banner #welcome-start{display:flex!important;align-items:center;justify-content:center;width:auto!important;max-width:100%;min-height:40px!important;margin:14px auto 0!important;padding:0 20px!important;border:1px solid #28764b!important;border-radius:999px!important;background:transparent!important;color:#28764b!important;font-size:16px!important;font-weight:600;line-height:1.3}
.welcome-banner #welcome-start:disabled{border-color:#a9b1ac!important;color:#7c857f!important}
/* Small shops: three lines (user, 2026-11-15) - name; hours · 暂无介绍 👣; 导航 · 资料来源 · ✍ 一起完善. A card with a photo keeps its layout. */
#si-results .si-transcript-panel[data-unavailable=true]{display:none!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder))){display:flex!important;flex-wrap:wrap;align-items:center;column-gap:12px;row-gap:2px;padding-top:8px!important;padding-bottom:8px!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-card-head{display:contents!important}
#si-results .spot-card.si-card-compact .si-photo-placeholder{display:none!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder))) h3{flex:1 1 100%;margin:0!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder))) .si-basic-info{flex:0 1 auto;margin:0!important}
#si-results .spot-card.si-card-compact .si-basic-oneline{margin:0!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.spot-actions{flex:1 1 auto;margin:0!important;padding:0!important}
#si-results .spot-card.si-card-compact>.spot-actions .si-guide-buttons{margin:0!important;min-height:0!important;padding:0!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-location-row{flex:0 1 auto;width:auto!important;margin:0!important;padding:0!important;gap:14px;border:0!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-demo-card-footer{flex:0 1 auto;margin:0!important;padding:0!important;border:0!important}
#si-results .spot-card.si-card-compact>.si-demo-card-footer>button{margin:0!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-demo-card-footer:has(>:not(button)){flex:1 1 100%}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-location-row{display:flex!important;align-items:center;justify-content:flex-start;grid-template-columns:none!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-location-row>*{flex:0 0 auto!important;min-height:0!important;height:auto!important;padding-top:0!important;padding-bottom:0!important;margin:0!important;width:auto!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-location-row>details>summary{min-height:0!important;padding-top:0!important;padding-bottom:0!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-demo-card-footer:not(:has(>:not(button))){display:flex!important;min-height:0!important}
#si-results .spot-card.si-card-compact>.spot-actions .si-guide-buttons,#si-results .spot-card.si-card-compact>.spot-actions .si-guide-buttons>*{height:auto!important;min-height:0!important;margin-top:0!important;margin-bottom:0!important}
#si-results .spot-card.si-card-compact>.spot-actions .si-guide-buttons{display:flex!important;align-items:center;gap:8px}
#si-results .spot-card.si-card-compact .si-basic-info{padding:0!important;min-height:0!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-location-row>details>summary{margin-left:0!important;white-space:nowrap;height:auto!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-location-row>details:not([open])>:not(summary){display:none!important}
#si-results .spot-card.si-card-compact>.spot-actions .si-footprint-here{height:26px!important;min-height:0!important}
#si-results .spot-card.si-card-compact>.si-demo-card-footer>button{min-height:0!important;height:auto!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-location-row{column-gap:18px!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-location-row>.si-navigation-button{min-width:max-content!important;width:max-content!important;max-width:none!important;flex-basis:auto!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder)))>.si-location-row>.si-location-info.si-location-info{margin-left:30px!important}
#si-results .spot-card.si-card-compact:not(:has(.si-photo:not(.si-photo-placeholder))) .si-contribute-account-note{display:none!important}
/* 2026-11-15 narrow phones (320-374 px): the car picture overlapped the ad lines; smaller picture, lines may wrap. */
@media (max-width:374px){#si-results .si-demo-ad .si-demo-car-logo{width:60px!important;max-height:42px!important}#si-results .si-demo-ad p,#si-results .si-demo-ad strong{min-width:0}#si-results .si-demo-ad p span{white-space:normal}}
/* 2026-11-15 a card with an ad: "(需注册/登录)" goes under "一起完善" instead of running into the ad. */
#si-results .si-demo-card-footer:has(.si-demo-ad)>button{white-space:normal!important;overflow:hidden;min-width:0}
#si-results .si-demo-card-footer:has(.si-demo-ad)>button .si-contribute-account-note{display:block!important;white-space:nowrap}
/* 2026-11-15 a short fee (门票：收费) stays on one line. */
.si-basic-fee{white-space:nowrap}
/* Small look changes (user, 2026-11-16): centred safety line with a ⚠ at each end, a smaller language pill,
   a smaller offline-pack pill, a darker tagline on the title's baseline, lighter inset card dividers. */
#walking-safety-notice,#walking-safety-notice .walking-safety-track{text-align:center!important;width:auto!important}
#walking-safety-notice .walking-safety-track::after{content:" ⚠"}
.top-card header #lang-select-button,.top-card #lang-select-button{min-height:28px!important;height:28px!important;padding:0 9px!important;font-size:12.5px!important;gap:3px!important}
.si-offline-map .si-offline-pill{min-height:26px!important;padding:1px 9px!important;font-size:11.5px!important;line-height:1.3!important;border-radius:13px!important}
.top-card .si-brand-tagline{color:#4f5a54!important;align-self:end!important}
#si-results #spots-container>.spot-card{border-bottom:0!important;position:relative}
#si-results #spots-container>.spot-card::after{content:"";position:absolute;left:12px;right:12px;bottom:0;border-bottom:.5px solid #eef0ef;pointer-events:none}
/* ---- B look (user, 2026-11-16, "加一点温暖感"): a warm off-white page, white search box and cards with round
   corners and a soft shadow, a heading over the list, distance and audio as small tags, one row of links, the ad
   as a strip across the bottom of its card. Looks only: what each part does is unchanged. ---- */
:root{--si-paper:#faf7f2;--si-card-ink:#1f2430}
html,body,.top-card{background:var(--si-paper)!important}
.top-card .si-place-search-form{background:#fff!important;border:1px solid #ece5da!important;border-radius:12px!important}
.top-card header #lang-select-button,.top-card #lang-select-button{background:#fff!important}
#si-map{margin:2px 6px 8px!important;border-radius:16px!important;overflow:hidden!important}
.si-list-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px;margin:6px 6px 8px;padding:0 2px}
.si-list-head[hidden]{display:none!important}
.si-list-head strong{font-size:17px;font-weight:800;color:var(--si-card-ink);min-width:0}
.si-list-head span{flex:0 0 auto;font-size:13px;color:#6b7280}
#si-results #spots-container{display:flex!important;flex-direction:column;gap:12px;padding:0 6px!important}
#si-results #spots-container>.spot-card{background:#fff!important;border:0!important;border-radius:16px!important;box-shadow:0 1px 3px rgba(31,36,48,.06),0 6px 18px rgba(31,36,48,.05)!important;padding:14px 14px 6px!important;grid-template-columns:minmax(0,1fr) 88px!important;column-gap:12px!important}
#si-results #spots-container>.spot-card::after{content:none!important}
#si-results #spots-container>.spot-card.si-near-sight{background:#fff!important;box-shadow:0 1px 3px rgba(31,36,48,.06),0 6px 18px rgba(31,36,48,.05)!important}
#si-results #spots-container>.spot-card:has(.si-arrived){background:#f3faf5!important}
#si-results #spots-container>.spot-card.si-selected{border-radius:16px!important;box-shadow:inset 0 0 0 2px #28764b,0 6px 18px rgba(31,36,48,.05)!important}
#si-results #spots-container>.spot-card:has(.si-photo-placeholder),#si-results #spots-container>.spot-card:not(:has(.si-photo)){grid-template-columns:minmax(0,1fr)!important}
/* The "附近小景点 · 等你来发现" list nests its cards one level down: give them the same separate rounded cards. */
#si-results .si-discover{display:block}
#si-results .si-discover>.spot-card+.spot-card{margin-top:12px!important}
#si-results .si-discover>.spot-card{background:#fff!important;border:0!important;border-radius:16px!important;box-shadow:0 1px 3px rgba(31,36,48,.06),0 6px 18px rgba(31,36,48,.05)!important;padding:14px 14px 6px!important;margin:0!important;grid-template-columns:minmax(0,1fr) 88px!important;column-gap:12px!important}
#si-results .si-discover>.spot-card::after{content:none!important}
#si-results .si-discover>.spot-card:has(.si-arrived){background:#f3faf5!important}
#si-results .si-discover>.spot-card.si-selected{outline:0!important;border-radius:16px!important;box-shadow:inset 0 0 0 2px #28764b,0 6px 18px rgba(31,36,48,.05)!important}
#si-results .si-discover>.spot-card:has(.si-photo-placeholder),#si-results .si-discover>.spot-card:not(:has(.si-photo)){grid-template-columns:minmax(0,1fr)!important}
#si-results .spot-card .si-photo-placeholder{display:none!important}
#si-results .spot-card .si-photo img,#si-results .spot-card .si-photo-album-button{width:88px!important;height:88px!important;border-radius:12px!important;object-fit:cover}
#si-results .spot-card .si-photo{grid-row:1/span 3!important}
#si-results .spot-card h3{font-size:19px!important;font-weight:800!important;color:var(--si-card-ink)!important;line-height:1.3!important;margin:0!important}
#si-results .spot-card h3 .si-walk-meta{display:none!important}
.si-chips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:5px 0 2px;min-width:0}
.si-chips>.si-basic-info{margin:0!important;font-size:13px}
.si-chips>.si-basic-info .si-basic-unknown{color:#8a919c;font-size:12px}
.si-chips>.si-basic-info .si-basic-line{display:flex!important;flex-wrap:wrap;align-items:center;column-gap:6px;row-gap:2px}
.si-chips>.si-basic-info .si-basic-line>span{white-space:nowrap}
.si-chips>.si-basic-info .si-basic-toggle{margin:0!important}
.si-chips[hidden]{display:none!important}
.si-chip{padding:2px 8px;border-radius:999px;background:#f1f3f2;color:#3d4453;font-size:12px;line-height:1.5;white-space:nowrap}
.si-chip-audio{background:#e6f3eb;color:#1e6b41;font-weight:600}
/* 🗺️ 导航 · ▸ 讲解文字 · ▸ 资料来源 · ✍ 一起完善 › on one row; an opened panel drops to its own full line. */
/* One line at 320 px in every language (user, 2026-11-21); si-layout.js shrinks the words a little if they still don't fit. */
#si-results .spot-card .si-location-row{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;column-gap:6px;grid-template-columns:none!important;--si-row-font:13px}
#si-results .spot-card .si-location-row>:not(details[open]){white-space:nowrap}
#si-results .spot-card .si-location-row>*{flex:0 0 auto!important;width:auto!important;min-width:0;margin:0!important}
#si-results .spot-card .si-location-row>details[open]{flex:1 1 100%!important;order:5}
#si-results .spot-card .si-location-row .si-navigation-button,#si-results .spot-card .si-location-row>details>summary{min-height:40px!important;padding:0 2px!important;font-size:var(--si-row-font)!important;white-space:nowrap;color:#6b7280!important;justify-content:flex-start!important}
#si-results .spot-card .si-location-row>button{min-height:40px!important;padding:0 2px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:var(--si-row-font)!important;color:#6b7280!important;white-space:nowrap}
#si-results .spot-card .si-location-row>button.si-entry-off,#si-results .spot-card .si-location-row>button[aria-disabled=true]{color:#a3aaa6!important}
#si-results .spot-card .si-location-row>button .si-contribute-account-note{display:none!important}
/* The ad: one strip across the bottom of the card; name and "· 广告", one or two lines, the car on the right. */
#si-results .spot-card>.si-demo-card-footer{display:block!important;grid-column:1/-1!important;min-height:0!important;margin:4px 0 8px!important;border:0!important}
#si-results .spot-card>.si-demo-card-footer:empty{display:none!important}
#si-results .spot-card .si-demo-card-footer>.si-demo-ad{display:flex!important;align-items:center;gap:10px!important;width:100%;box-sizing:border-box;padding:8px 10px!important;border:0!important;border-radius:12px!important;background:var(--si-paper)!important;color:var(--si-card-ink)!important;text-decoration:none!important;min-height:0}
#si-results .spot-card .si-demo-ad .si-ad-words{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px}
#si-results .spot-card .si-demo-ad .si-ad-head{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;line-height:1.45}
#si-results .spot-card .si-demo-ad .si-ad-head strong{font-size:13px!important;font-weight:700!important;white-space:nowrap}
#si-results .spot-card .si-demo-ad .si-ad-head small{position:static!important;font-size:11px!important;font-weight:400!important;color:#8a919c!important}
#si-results .spot-card .si-demo-ad .si-ad-desc{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:12px;line-height:1.45;color:#5b6472;overflow-wrap:anywhere}
#si-results .spot-card .si-demo-ad .si-demo-car-logo{position:static!important;flex:0 0 auto;width:72px!important;height:44px!important;max-height:none!important;object-fit:contain!important}
/* 足迹记录: a white rounded block like the cards. */
#si-results .travel-record{background:#fff;border-radius:16px;margin:14px 6px 0!important;padding:2px 14px!important;border:0!important}
/* B look fixes: the tagline always shows, under the title; square photos; the link row stays on one line each. */
.top-card .si-brand-row{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:0!important;min-width:0}
.top-card .si-brand-row .si-brand-tagline{display:block!important;font-size:11.5px!important;line-height:1.3!important;padding-left:30px;color:#4f5a54!important;align-self:auto!important;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.top-card{border-bottom:0!important}
#si-results .spot-card .si-photo,#si-results .spot-card .si-photo-album-button{width:88px!important;height:88px!important;min-height:0!important;border-radius:12px!important;overflow:hidden}
#si-results .spot-card .si-photo img{width:88px!important;height:88px!important;object-fit:cover!important;border-radius:12px!important}
#si-results .spot-card .si-location-row>details{width:max-content!important}
#si-results .spot-card .si-location-row>details>summary,#si-results .spot-card .si-location-row .si-navigation-button{white-space:nowrap!important;margin:0!important}
@media(max-width:360px){.top-card .si-brand-row{white-space:normal!important}.top-card .si-brand-row #ui-title{display:block!important;font-size:16px!important;letter-spacing:-.3px;white-space:normal!important;word-break:keep-all;line-height:1.2!important}.top-card .si-brand-row .si-brand-tagline{padding-left:24px}}
/* Tapping the map focused it and Safari drew a blue frame round it (user, 2026-11-18); the map needs no focus frame. */
#si-map,#si-map:focus,#si-map:focus-visible{outline:none!important}
