#discover-screen.active{padding:0!important;display:flex!important;flex-direction:column;overflow:hidden!important}
#discover-screen>.discover-legacy{display:none!important}
#nest-discover{min-height:0;height:100%;display:flex;flex-direction:column;text-align:left;width:100%}
body:has(#discover-screen.active) .phone-shell>.bottom-nav{display:none!important}
#nest-discover .nd-scroll{overflow:auto;flex:1;padding:18px 16px 22px;min-height:0}
#nest-discover button{letter-spacing:normal;box-shadow:none;text-transform:none}
#nest-discover h1{font-size:25px;margin:0 0 7px;line-height:1.2}
#nest-discover .nd-sub{color:var(--nh-muted);font-size:12px;margin:0 0 16px}
#nest-discover .nd-scope{display:flex;gap:6px;margin-bottom:16px;flex-wrap:wrap}
#nest-discover .nd-scope button{border:1px solid var(--nh-line);border-radius:24px;background:white;padding:8px 12px;min-height:44px;font-size:12px}
#nest-discover .nd-scope [aria-pressed=true]{background:var(--nh-primary);color:white;border-color:var(--nh-primary)}
#nest-discover .nd-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
#nest-discover .nd-shortcuts button{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;background:white;border:1px solid var(--nh-line);border-radius:14px;padding:14px 4px;min-height:80px;font-size:11px;font-weight:600}
#nest-discover .nd-shortcuts svg{color:var(--nh-action)}
#nest-discover .nd-title{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:22px 0 8px}
#nest-discover .nd-title h2{font-size:15px;margin:0}
#nest-discover .nd-link{background:none;border:0;color:var(--nh-action);font-size:11px;min-height:44px;padding:4px}
#nest-discover .nd-list{border:1px solid var(--nh-line);background:white;border-radius:18px;overflow:hidden}
#nest-discover .nd-row{display:flex;gap:10px;align-items:center;width:100%;text-align:left;padding:13px;background:white;border:0;min-height:64px}
#nest-discover .nd-row+.nd-row{border-top:1px solid var(--nh-line)}
#nest-discover .nd-row>span:nth-child(2){flex:1;min-width:0}
#nest-discover strong{overflow-wrap:anywhere}
#nest-discover .nd-row small{display:block;font-size:11px;color:var(--nh-muted);margin-top:4px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
#nest-discover .nd-feature{display:block}
#nest-discover .nd-feature img{width:100%;max-height:220px;object-fit:contain;border-radius:12px;margin-bottom:10px}
#nest-discover .nd-feature strong{display:block;margin:5px 0;font-size:16px}
#nest-discover .nd-empty{margin:0;padding:14px;color:var(--nh-muted);font-size:12px}
#nest-discover .nd-stories{display:grid;gap:12px}
#nest-discover .nd-story{border:1px solid var(--nh-line);border-radius:18px;padding:14px;background:white;text-align:left;width:100%}
#nest-discover .nd-story img{width:100%;max-height:200px;object-fit:contain;border-radius:12px;margin:10px 0}
#nest-discover .nd-story p{font-size:13px;color:var(--nh-muted);line-height:1.6;margin:8px 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

#nest-discover .nd-row strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4}
/* Match approved Discover spacing; keep See all's touch area without inflating headings. */
#nest-discover .nd-shortcuts{gap:8px}
#nest-discover .nd-shortcuts button{min-height:64px;padding:10px 3px;gap:6px;line-height:1.3}
#nest-discover .nd-title{position:relative;min-height:20px;margin:22px 0 11px;padding-right:88px}
#nest-discover .nd-title>.nd-link{position:absolute;right:0;top:50%;transform:translateY(-50%);min-height:44px}
#nest-discover .nd-list{display:grid;gap:10px;border:0;border-radius:0;background:none;overflow:visible}
#nest-discover .nd-row{border:1px solid var(--nh-line);border-radius:14px;padding:12px;min-height:64px}
#nest-discover .nd-row+.nd-row{border-top:1px solid var(--nh-line)}
#nest-discover .nd-row strong{font-size:12px;line-height:1.4}
#nest-discover .nd-row small{font-size:10px;line-height:1.5;margin-top:5px}
#nest-discover .nd-feature strong{font-size:16px}
#nest-discover .nd-stories{gap:10px}
#nest-discover .nd-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;position:relative;padding-right:54px}
#nest-discover .nd-heading>.nd-link{position:absolute;right:0;top:-7px}
#nest-discover .nd-story-body{display:block;width:100%;padding:0;border:0;background:none;text-align:left;color:inherit}
#nest-discover .nd-actions{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;border-top:1px solid var(--nh-line);padding-top:10px;margin-top:12px}
#nest-discover .nd-actions>button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:44px;min-width:0;border:0;background:none;color:var(--nh-muted);font-size:10px;padding:2px}
#nest-discover .nd-actions svg{width:18px;height:18px}
#nest-discover .nd-actions [aria-pressed=true]{color:var(--nh-action)}
#nest-discover .nd-actions .nest-translate-bubble{display:grid;place-items:center;border-radius:50%;background:var(--nh-soft);color:#E85D3F;width:24px;height:24px;box-shadow:0 5px 15px #17213b0d}
#nest-discover .nd-actions .nest-translate-bubble svg{width:16px;height:16px}
#nest-discover .nd-filter-links{display:grid;gap:8px}
#nest-discover .nd-filter-links .nd-row{min-height:44px;justify-content:space-between}
#nest-discover .nh-dialog input{max-width:100%;width:100%;padding:10px;border:1px solid var(--nh-line);border-radius:12px;margin-bottom:12px}
#nest-discover .nd-actions{padding-top:6px}
#nest-discover .nd-actions .nest-translate-bubble svg{width:14px;height:14px;stroke-width:2.4}

#nest-discover .nd-row .guide-cover-thumb{width:44px;height:44px;flex:0 0 44px;border-radius:12px;}

/* Approved roomier nearby cards, 2026-10-27. */
#nest-discover .nd-outing{min-height:116px;padding:14px 12px;gap:12px;align-items:center}
#nest-discover .nd-outing .guide-cover-thumb,#nest-discover .nd-outing .nh-avatar,#nest-discover .nd-outing .nd-cover{width:78px;height:78px;flex:0 0 78px;border-radius:18px;object-fit:cover;background:var(--nh-soft)}
#nest-discover .nd-outing strong{font-size:15px;line-height:1.3;margin-bottom:5px}
#nest-discover .nd-outing small{font-size:12px;line-height:1.45;margin:2px 0}
#nest-discover .nd-outing .nd-facts{display:block;font-size:12px;line-height:1.45;margin-top:5px;color:var(--nh-ink,#17213B)}
#nest-discover .nd-chevron{font-size:23px;color:var(--nh-primary)}
@media(max-width:360px){#nest-discover .nd-outing{gap:9px}#nest-discover .nd-outing .guide-cover-thumb,#nest-discover .nd-outing .nh-avatar,#nest-discover .nd-outing .nd-cover{width:72px;height:72px;flex-basis:72px}#nest-discover .nd-outing strong{font-size:14px}}

/* Approved richer group cards: 27 October 2026. */
#nest-discover .nd-group{border-radius:16px}
#nest-discover .nd-group-copy{min-width:0;flex:1}
#nest-discover .nd-group .nd-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:12px;line-height:1.45;margin-top:6px;color:var(--nh-muted);font-weight:400}
#nest-discover .nd-group .nd-privacy{display:inline-block;font-size:11px;line-height:1.4;color:var(--nh-action);background:var(--nh-soft);border-radius:12px;padding:3px 8px;margin-top:5px;font-weight:400}
#nest-discover .nd-group [hidden]{display:none!important}

#nest-discover .nd-group .nh-avatar{font-size:24px;color:var(--nh-primary)}

#nest-discover .nd-link{min-width:44px}

#nest-discover .nd-outing [hidden]{display:none!important}
