/* One scoped adapter, after the unmodified test design. */
:root{--hg-ink:#17384d;--hg-muted:#617987;--hg-paper:#f7fafc;--hg-accent:#367fa8;--hg-line:#dce7ed;--hg-radius:20px;--hg-display:system-ui,-apple-system,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
html{-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%;overscroll-behavior:none}body{overflow-wrap:anywhere}button,a,[role=button],summary{touch-action:manipulation}button,summary{user-select:none;-webkit-user-select:none}button{cursor:pointer}input,select,textarea{font-size:16px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #367fa8;outline-offset:4px}button:active{opacity:.8;transform:scale(.98)}[hidden]{display:none!important}
body[data-view] .app-top{background:#f7fafcf5;padding-inline:20px;box-shadow:none}.header-tools>.icon-btn{width:36px;flex-basis:36px}.header-brand-image{object-fit:contain;border-radius:5px}.row1{gap:8px}.logo-mini{flex-shrink:0}.header-tools{min-width:0}.language{gap:3px}.language select{max-width:72px}.desktop-links{gap:24px}
.hg-title{font-family:var(--hg-display);white-space:pre-line;font-size:clamp(36px,9.5vw,48px);font-weight:500;letter-spacing:-.055em;line-height:1.06;margin:20px 0;color:var(--hg-ink)}.hg-intro{font-size:14px;line-height:1.65;color:var(--hg-muted);max-width:380px;margin:0}.hg-button{border:1px solid var(--hg-line);background:#fff;min-height:48px;padding:13px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-radius:999px;font-size:14px;font-weight:550;color:var(--hg-ink)}.hg-button svg{width:19px;height:19px;flex-shrink:0}.hg-wide{width:100%;margin-top:24px}.hg-button span{min-width:0}
/* Compact destination photography; weather is the only floating information layer. */
body[data-view=home] #view-home{display:flex;flex-direction:column;padding-top:0}.apple-hero{order:-3;width:calc(100% - 40px);margin:16px 20px 0;max-width:1120px;border-radius:24px;height:320px;min-height:320px;max-height:none;box-shadow:none;background:#1d3c51}.apple-hero>img{height:100%;width:100%;object-fit:cover}.apple-hero::after{background:linear-gradient(180deg,#0b1b2f18,transparent 32%,#071524d9 100%);pointer-events:none}.hg-cover-copy{position:absolute;z-index:2;bottom:94px;left:24px;right:24px;color:#fff}.hg-cover-description{font-size:14px;line-height:22px;margin:0;color:#ffffffe0}.apple-hero .hero-heading{left:24px;right:24px;bottom:128px}.apple-hero .hero-heading h1{font-size:30px;line-height:1.15;font-weight:550;letter-spacing:-.04em;max-width:390px;color:white}.apple-hero .hero-bottom{top:auto;bottom:20px;right:20px;left:auto;z-index:3}.hero-controls{background:transparent;border:1px solid #ffffff70;color:#fff;padding:0}.hero-controls .icon-btn{color:white;min-height:44px;min-width:32px;width:32px;flex-basis:32px;background:none}.hero-controls output{color:white;font-size:12px;min-width:43px}.sn-hero-action{left:20px;right:auto;bottom:20px;justify-content:space-between;font-size:14px;min-height:46px;min-width:112px;max-width:calc(100% - 156px);border-radius:999px;padding:12px 14px;gap:8px}.sn-hero-action span{order:0}.sn-hero-action svg{order:1;width:18px;height:18px}.sn-welcome{order:-2;padding:28px 20px 0}.sn-welcome h2{font-size:24px;line-height:1.25;letter-spacing:-.04em;margin:0}.service-dock{margin-top:4px}.sn-dock-heading{font-size:20px}
body[data-view] .apple-hero>.weather-strip{position:absolute;top:16px;right:16px;left:auto;bottom:auto;z-index:3;display:flex;align-items:center;gap:10px;width:auto;max-width:calc(100% - 32px);margin:0;padding:10px 12px;background:#173144b3;color:#fff;border:1px solid #ffffff24;border-radius:16px;box-shadow:none;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.apple-hero .weather-strip>svg{width:22px;height:22px;color:#fff}.apple-hero .weather-strip select{font-size:14px;line-height:20px;min-height:24px;max-width:142px;color:#fff;background:transparent}.apple-hero .weather-strip select option{color:#17384d;background:#fff}.apple-hero .weather-strip small{display:block;font-size:12px;line-height:18px;color:#ffffffe0}.apple-hero .weather-strip strong{font-size:24px;font-weight:450;color:#fff}
/* A single search input, with suggestions and the existing city filter shown on entry. */
body[data-view] .app-top .hg-search-row{display:none;position:relative;margin:8px auto 12px;padding:0;width:100%;max-width:1120px}body[data-view=home] .app-top .hg-search-row,body[data-view=explore] .app-top .hg-search-row{display:block}.hg-search-row #searchForm{width:100%;max-width:none;display:flex;align-items:center;min-height:50px;background:#fff;border:1px solid var(--hg-line);border-radius:16px;box-shadow:none;padding:0 6px 0 14px;gap:10px}.hg-search-row #searchInput{width:100%;min-width:0;flex:1;font-size:16px;line-height:24px;padding:12px 0;background:none}.hg-search-row #searchForm>.icon-btn{width:40px;height:44px;flex-basis:40px;background:none}.hg-search-panel{position:absolute;z-index:70;top:calc(100% + 8px);left:0;right:0;background:#fff;border:1px solid var(--hg-line);border-radius:20px;padding:16px;box-shadow:0 16px 36px #17384d1a;max-height:min(400px,55dvh);overflow-y:auto;overscroll-behavior:contain}.hg-search-panel .city-picker{display:flex;align-items:center;gap:8px;max-width:100%;padding:0;min-height:44px}.hg-search-panel .city-picker select{font-size:16px;max-width:100%;min-height:44px}.hg-search-panel .home-search-tags{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;padding:12px 0 0}.hg-search-panel .home-search-tags button{font-size:13px;min-height:40px;white-space:normal;margin:0;padding:10px 12px;background:#edf5f9!important;color:#36566c}.header-tools .language select{font-size:16px;max-width:108px}.header-tools .language>svg{display:none}
.hg-search-row #searchInput:focus-visible{outline:none}.hg-search-row #searchForm:focus-within{border-color:#7aadc7;box-shadow:0 0 0 3px #367fa812}
/* Explicit AI entry between Explore and My Trip. */
body[data-view] #navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:calc(100% - 24px);max-width:560px;min-height:70px;border-radius:26px;padding:5px}#navigation .nav-item{font-size:11px;line-height:14px;min-width:0;min-height:58px;border-radius:20px;padding:6px 1px;gap:4px}#navigation .hg-ai{background:#dfedf6;color:#285f80}#navigation .hg-ai span{font-size:10px;line-height:14px;white-space:nowrap}#navigation .hg-ai.active{background:#367fa8;color:#fff}#navigation .hg-ai.active svg{color:#fff}#navigation .nav-item svg{width:23px;height:23px;stroke-width:2}
/* Override the imported photo height attributes instead of enlarging narrow columns. */
body[data-view] .home-selected .selected-places img{display:block;width:100%;height:auto;aspect-ratio:4/3;max-height:240px;object-fit:cover;object-position:50% 40%;border-radius:18px}.selected-places{align-items:start}.selected-places button{min-width:0;gap:6px}.selected-places strong{font-size:16px;line-height:22px}.selected-places small{font-size:13px;line-height:19px}.selected-heading h2{flex:1;min-width:0}.selected-heading .portal-text-button{flex-shrink:0}
/* Featured collections are additional entries into the original place/city flows. */
.hg-collection{max-width:960px;margin:0 auto 40px}.hg-editorial-head{padding:12px 0 24px;border-bottom:1px solid var(--hg-line)}.hg-editorial-head .hg-title{margin:12px 0 0}.hg-filters{display:flex;flex-wrap:wrap;gap:8px;padding:20px 0 24px}.hg-chip{display:flex;align-items:center;justify-content:center;background:transparent;border:1px solid var(--hg-line);color:var(--hg-muted);font-size:13px;min-height:44px;padding:9px 14px;border-radius:999px}.hg-chip[aria-pressed=true]{background:#dcecf5;border-color:#dcecf5;color:#204b65}.hg-picks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}.hg-pick{display:flex;flex-direction:column;padding:0;text-align:left;background:none;border:0;min-width:0;border-radius:0;color:var(--hg-ink);overflow:visible}.hg-pick-media{width:100%;aspect-ratio:.83;position:relative;border-radius:18px;overflow:hidden;background:#e9f2f6}.hg-pick-media img{display:block;width:100%;height:100%;object-fit:cover}.hg-pick-index{position:absolute;top:10px;left:10px;font-size:11px;background:#ffffffec;color:#1c3e52;width:28px;height:28px;display:grid;place-items:center;border-radius:50%}.hg-pick-copy{padding:12px 0 0;min-width:0}.hg-pick h2{font-size:16px;line-height:1.3;letter-spacing:-.025em;font-weight:600;margin:0 0 6px}.hg-pick p{font-size:12px;line-height:1.5;color:var(--hg-muted);margin:0}.hg-pick-action{display:block;margin-top:10px;font-size:12px;color:var(--hg-accent)}.hg-collection+.page-head{margin-top:32px}
/* Useful answers, followed by every existing profile tool. */
.hg-faq{max-width:660px;margin:0 auto 40px}.hg-faq>.hg-intro{padding-bottom:28px}.hg-question{border-top:1px solid var(--hg-line);padding:0}.hg-question summary{list-style:none;display:flex;align-items:center;gap:16px;justify-content:space-between;cursor:pointer;min-height:102px;padding:18px 0}.hg-question summary::-webkit-details-marker{display:none}.hg-question summary span{flex:1;min-width:0}.hg-question summary small{font-size:11px;display:block;color:var(--hg-muted);margin-bottom:8px}.hg-question summary strong{font-size:18px;line-height:1.3;font-weight:500;letter-spacing:-.025em}.hg-question summary svg{width:20px;height:20px;flex-shrink:0}.hg-question[open] summary svg{transform:rotate(45deg)}.hg-question>p{font-size:14px;line-height:1.65;color:var(--hg-muted);margin:0 0 16px}.hg-answer-action{background:#eaf3f8;display:flex;gap:12px;align-items:center;padding:12px 16px;color:var(--hg-ink);border-radius:12px;min-height:44px;font-size:13px;margin-bottom:20px}.hg-answer-action svg{width:17px;height:17px}.hg-trip-lead{margin:4px 0 28px}.hg-trip-lead>p{white-space:pre-line;font-size:40px;line-height:1.06;letter-spacing:-.05em;font-weight:500;margin:16px 0}.sn-trip-heading h1{font-size:22px;letter-spacing:-.035em}.sn-trip-feature{border:1px solid var(--hg-line);box-shadow:none;border-radius:22px}.sn-trip-photo img{height:180px;display:block}.sn-trip-copy{padding:20px}.sn-trip-copy h2{font-size:22px;letter-spacing:-.03em}.sn-date{flex-direction:column;align-items:stretch;gap:10px}.sn-date input{width:100%;max-width:100%;min-height:50px;background:#f2f7fa;border:1px solid var(--hg-line)}.hg-local-note{font-size:12px;line-height:1.5;color:var(--hg-muted);margin:12px 0 0}.sn-trip-progress{margin-bottom:24px}.sn-stop-text h3{overflow-wrap:anywhere}
/* WoodNest retains a more immersive photograph and larger destination cards. */
html[data-demo=retreat]{--hg-paper:#f4f8fa;--hg-ink:#1c3b4b;--sn-bg:#f4f8fa}html[data-demo=retreat] .apple-hero{height:340px;min-height:340px}html[data-demo=retreat] .hg-title{font-weight:400;letter-spacing:-.055em}html[data-demo=retreat] .hg-picks{grid-template-columns:1fr;gap:20px}html[data-demo=retreat] .hg-pick{border-radius:22px;background:white;padding:10px;border:1px solid #e4edf1;box-shadow:0 8px 24px #183b4f06}html[data-demo=retreat] .hg-pick-media{aspect-ratio:1.95;border-radius:15px}html[data-demo=retreat] .hg-pick-copy{padding:15px 10px 10px;width:100%}html[data-demo=retreat] .hg-pick h2{font-size:22px;font-weight:450;letter-spacing:-.04em}html[data-demo=retreat] .hg-pick p{font-size:12px}html[data-demo=retreat] .hg-pick-action{background:#f0f6fa;border-radius:12px;padding:12px;text-align:center;font-size:13px;color:#2e5e7a;margin-top:14px}html[data-demo=retreat] .sn-trip-heading{margin-bottom:20px}html[data-demo=retreat] .sn-trip-photo img{height:190px}html[data-demo=retreat] .sn-trip-feature{border:0;box-shadow:0 12px 32px #163e5110}html[data-demo=retreat] .sn-trip-photo{padding:10px 10px 0}html[data-demo=retreat] .sn-trip-photo img{border-radius:16px}html[data-demo=retreat] .sn-trip-copy>small{color:var(--hg-muted)}
@media(min-width:701px){.apple-hero,html[data-demo=retreat] .apple-hero{width:calc(100% - 64px);margin:20px auto 0;height:360px;min-height:360px}.apple-hero .hero-heading h1{font-size:36px;max-width:600px}.sn-hero-action{min-width:150px}.hg-picks{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-demo=retreat] .hg-picks{grid-template-columns:repeat(2,minmax(0,1fr))}.hg-title{font-size:56px}.hg-faq .hg-title{font-size:48px}}
@media(max-width:350px){body[data-view] .app-top{padding-inline:14px}.header-tools>.icon-btn{width:40px;flex-basis:40px}.header-tools .language select{max-width:94px;font-size:16px}.language svg{display:none}.apple-hero{margin-inline:16px;width:calc(100% - 32px);height:320px;min-height:320px}.apple-hero .hero-heading{left:20px;right:20px}.apple-hero .hero-heading h1{font-size:26px}.hg-cover-copy{left:20px}.hg-chip{padding-inline:12px}.hg-picks{gap:24px 12px}.hg-pick h2{font-size:15px}.hg-title{font-size:38px}.hg-trip-lead>p{font-size:36px}.service-dock button span{overflow-wrap:normal}}
.hg-faq{scroll-margin-top:88px;margin-top:40px}
@media(max-width:300px){.home-selected .selected-heading{flex-wrap:wrap;gap:8px}.home-selected .selected-heading h2{max-width:100%;flex-basis:100%}.apple-hero .hero-heading h1{font-size:24px}.sn-hero-action{left:16px;min-width:100px;padding-inline:10px;max-width:calc(100% - 140px)}.apple-hero .hero-bottom{right:12px}.hero-controls{gap:0}.hero-controls .icon-btn{min-width:28px;width:28px;flex-basis:28px}}
/* Actionable handoffs to verified train and flight status pages. */
.st-body{font-size:15px;line-height:1.55;color:var(--hg-muted);margin:12px 0 20px}.st-card{background:#fff;border:1px solid var(--hg-line);border-radius:20px;padding:20px;margin:20px 0}.st-form{display:grid;gap:16px}.st-field-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px;min-width:0}.st-field{display:grid;gap:8px;min-width:0;font-size:15px;line-height:22px}.st-field input,.st-field select{width:100%;min-width:0;min-height:50px;padding:12px;border:1px solid var(--hg-line);border-radius:12px;background:#f7fafc;color:var(--hg-ink);font-size:16px;line-height:24px}.st-field input:focus-visible,.st-field select:focus-visible{outline:2px solid var(--hg-accent);outline-offset:3px}.st-button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:50px;padding:13px 16px;font-size:15px;line-height:22px;text-align:left;color:var(--hg-ink);background:#edf5f9;border-radius:14px;border:1px solid var(--hg-line);text-decoration:none}.st-button>span{min-width:0}.st-button svg{width:20px;height:20px;flex-shrink:0}.st-primary{background:var(--hg-accent);color:#fff;border-color:var(--hg-accent)}.st-board-links,.st-secondary{display:grid;gap:12px}.st-secondary{margin-top:28px;padding-top:24px;border-top:1px solid var(--hg-line)}.st-result:empty{display:none}.st-result{display:grid;gap:12px;margin-bottom:20px}.st-card .st-result{margin-bottom:0}.st-query-card{background:#edf5f9;border-radius:16px;padding:18px;font-size:15px;line-height:1.5}.st-query-card p{margin:0 0 8px}.st-query-card p:last-child{margin-bottom:0}.st-query-card strong{display:block;font-size:22px;line-height:30px;margin-bottom:8px;font-weight:600;overflow-wrap:anywhere}.st-error{font-size:15px;line-height:23px;color:#9b3838}.st-quick-tools{margin-bottom:32px}.st-quick-tools h2{font-size:24px;line-height:32px;letter-spacing:-.025em;margin:0 0 20px}.st-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.st-quick-button{background:#fff;border:1px solid var(--hg-line);border-radius:20px;min-height:110px;padding:20px;display:flex;flex-direction:column-reverse;align-items:flex-start;justify-content:space-between;gap:16px;text-align:left;font-size:17px;line-height:24px;font-weight:550}.st-quick-button svg{width:26px;height:26px;color:var(--hg-accent)}
@media(max-width:600px){.st-field-row{grid-template-columns:1fr}.st-card{padding:16px}.st-quick-grid{grid-template-columns:1fr}.st-quick-button{flex-direction:row;align-items:center;min-height:76px;font-size:16px}.st-quick-button svg{flex-shrink:0}}
@media(hover:hover) and (pointer:fine){.hg-pick:hover img{filter:brightness(1.06)}.hg-chip:hover{background:#eaf3f8}.hg-button:hover{background:#edf5f9}.st-button:not(.st-primary):hover{background:#e0eef6}.st-primary:hover{background:#2c6d93}.st-quick-button:hover{background:#f0f7fb}}
@media(prefers-reduced-motion:no-preference){.hg-cover-copy{animation:hg-enter .55s cubic-bezier(.16,1,.3,1) both}.hg-pick{animation:hg-enter .4s cubic-bezier(.16,1,.3,1) both}@keyframes hg-enter{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){body[data-view] .bottom-nav,body[data-view] .app-top{background:#fff;backdrop-filter:none;-webkit-backdrop-filter:none}.apple-hero .weather-strip{background:#17384d;backdrop-filter:none;-webkit-backdrop-filter:none}}
/* Trip history and payment guidance share the Snowlight type scale and existing dialog. */
.sn-stop-text .td-stop-context{font-size:15px;line-height:1.6;color:var(--hg-ink);margin:8px 0 10px}.td-station{margin:24px 0;padding:20px 0;border-block:1px solid var(--hg-line)}.td-station h2{font-size:22px;line-height:1.3;margin:0 0 14px}.td-station p{font-size:16px;line-height:1.65}
.journey-dialog.td-payments{border-radius:24px;border-color:var(--hg-line);color:var(--hg-ink);background:var(--hg-paper);max-height:90dvh}.td-payments header{padding:16px 20px;background:#fff;border-color:var(--hg-line);backdrop-filter:none;-webkit-backdrop-filter:none}.td-payments header h2{font-size:22px;letter-spacing:-.025em;overflow-wrap:anywhere}.td-payments .journey-body{padding:20px;font-size:16px;line-height:1.6;color:var(--hg-ink)}.td-payments h3{font-size:20px;line-height:1.35;letter-spacing:-.02em}.td-payments p{margin:0 0 16px}.td-back{width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;background:#edf5f9;border:0;border-radius:50%;color:var(--hg-accent);padding:10px}.td-back[hidden]{display:none}.td-back span{display:none}.td-back svg{width:22px;height:22px}.td-menu{display:grid;gap:12px;margin:20px 0 24px}.td-menu-item{width:100%;display:flex;align-items:center;gap:14px;text-align:left;padding:18px 16px;min-height:96px;background:#fff;color:var(--hg-ink);border:1px solid var(--hg-line);border-radius:18px;font:inherit}.td-menu-item>span{flex:1;min-width:0}.td-menu-item strong{display:block;font-size:17px;font-weight:600;line-height:1.35;margin-bottom:6px}.td-menu-item .td-description{display:block;color:var(--hg-muted);font-size:15px;line-height:1.5}.td-menu-item>svg{width:24px;height:24px;flex-shrink:0;color:var(--hg-accent)}.td-menu-item>svg:last-child{width:18px;height:18px}.td-button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:50px;width:100%;padding:13px 16px;border:1px solid var(--hg-line);border-radius:14px;background:#e7f1f7;color:var(--hg-ink);font:inherit;text-align:left;margin:18px 0}.td-button span{min-width:0}.td-button svg{width:22px;height:22px;flex-shrink:0}.td-link,.td-link-button{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:12px 0;color:var(--hg-accent);font:inherit;font-size:15px;text-decoration:none;border:0;background:none;text-align:left;width:100%}.td-link svg,.td-link-button svg{width:18px;height:18px;flex-shrink:0}.td-wallet{border:1px solid var(--hg-line);border-radius:18px;background:#fff;margin-bottom:16px;padding:0 18px}.td-wallet summary{font-size:20px;line-height:1.3;font-weight:600;padding:20px 0;cursor:pointer;min-height:56px}.td-steps{margin:0 0 20px;padding-left:24px}.td-steps li{padding-left:4px;margin-bottom:14px}.td-guide-block{padding:0 0 8px;margin:0 0 20px;border-bottom:1px solid var(--hg-line)}.td-guide-block h3{margin:0 0 14px}.td-phrase{display:block;width:100%;border:1px solid var(--hg-line);border-radius:18px;background:#fff;color:var(--hg-ink);padding:20px;text-align:left;font:inherit;margin-bottom:14px}.td-phrase strong{font-size:20px;line-height:1.5;font-weight:550;display:block;margin-bottom:10px}.td-phrase span{font-size:15px;line-height:1.6;color:var(--hg-muted);display:block}.td-payments .td-large-phrase{font-size:32px;line-height:1.7;margin:20px 0 28px;overflow-wrap:anywhere}.td-payments button:focus-visible,.td-payments a:focus-visible{outline:3px solid var(--hg-accent);outline-offset:3px}
@media(max-width:350px){.td-payments header{padding:12px}.td-payments .journey-body{padding:16px}.td-menu-item{padding:16px 12px;gap:10px}.td-menu-item>svg:first-child{width:22px;height:22px}.td-payments .td-large-phrase{font-size:28px}}
/* A compact cover leads into the community feed; travel services remain below it. */
body[data-view=home] .sn-welcome{order:0}.hf-home{order:-2;width:100%;max-width:1120px;padding:28px 20px 12px;margin:0 auto;scroll-margin-top:136px}.hf-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.hf-heading h2{font-size:26px;line-height:1.2;letter-spacing:-.035em;margin:0;font-weight:600}.hf-post{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 14px;border-radius:999px;background:var(--hg-accent);color:white;font-size:15px;flex-shrink:0}.hf-post svg{width:19px;height:19px}.hf-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:3px 3px 15px;margin:0 -3px 5px}.hf-tabs::-webkit-scrollbar{display:none}.hf-tab{min-height:44px;padding:10px 14px;border-radius:999px;white-space:nowrap;font-size:15px;color:var(--hg-muted);background:none;border:1px solid transparent;flex-shrink:0}.hf-tab[aria-pressed=true]{background:#e0eef6;color:#245879}.hf-grid{columns:2;column-gap:14px}.hf-card{break-inside:avoid;display:inline-block;width:100%;margin:0 0 20px;vertical-align:top;min-width:0}.hf-open{display:block;width:100%;min-width:0;padding:0;border:0;text-align:left;background:none;color:var(--hg-ink)}.hf-media{position:relative;aspect-ratio:1;border-radius:16px;overflow:hidden;background:#eaf2f7}.hf-media.hf-tall{aspect-ratio:5/6}.hf-media img{display:block;width:100%;height:100%;object-fit:cover}.hf-origin{position:absolute;top:8px;left:8px;background:#fffffff2;border-radius:7px;padding:4px 7px;font-size:12px;line-height:16px;color:#31536a}.hf-copy{padding:10px 1px 0}.hf-copy h3{font-size:16px;line-height:1.4;font-weight:600;letter-spacing:-.015em;margin:0 0 7px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.hf-place{font-size:13px;line-height:20px;color:var(--hg-muted);margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.hf-card-footer{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:44px;padding:0 1px}.hf-author{display:flex;align-items:center;gap:6px;min-width:0;font-size:13px;color:var(--hg-muted)}.hf-avatar{width:22px;height:22px;display:grid;place-items:center;background:#e7f0f6;color:#3e6a84;border-radius:50%;font-size:12px;flex-shrink:0}.hf-like{width:44px;height:44px;display:grid;place-items:center;color:var(--hg-muted);background:none;border:0;border-radius:50%;padding:12px;flex-shrink:0}.hf-like svg{width:20px;height:20px}.hf-like[aria-pressed=true]{color:var(--hg-accent)}.hf-like[aria-pressed=true] svg{fill:#367fa82b}.hf-all,.hf-more{display:flex;align-items:center;justify-content:center;gap:12px;min-height:48px;width:100%;padding:12px 16px;border:1px solid var(--hg-line);border-radius:14px;color:var(--hg-accent);font-size:15px;background:#fff;margin:8px 0 12px}.hf-all svg,.hf-more svg{width:19px;height:19px}.hf-empty{padding:28px 20px;text-align:center;background:white;border:1px solid var(--hg-line);border-radius:18px;margin-bottom:20px}.hf-empty>svg{width:28px;height:28px;color:var(--hg-accent)}.hf-empty p{font-size:16px;line-height:1.6}.hf-empty-post{min-height:48px;padding:12px 16px;border-radius:12px;background:#e7f1f7;color:var(--hg-ink);font-size:16px}
.hf-dialog{width:min(680px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid var(--hg-line);border-radius:24px;padding:0;background:var(--hg-paper);color:var(--hg-ink);box-shadow:0 24px 80px #1636472b;overscroll-behavior:contain}.hf-dialog::backdrop{background:#17384d66}.hf-compose-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;background:#fff;border-bottom:1px solid var(--hg-line)}.hf-compose-head h2{font-size:23px;line-height:1.3;letter-spacing:-.025em;margin:0}.hf-close{width:44px;height:44px;padding:11px;flex-shrink:0;border-radius:50%;background:#eff5f8;color:var(--hg-ink)}.hf-close svg{width:22px;height:22px}.hf-compose-body{padding:20px 20px calc(20px + env(safe-area-inset-bottom,0px));font-size:16px;line-height:1.6}.hf-local-status{font-size:15px;color:var(--hg-muted);margin:0 0 20px}.hf-form{display:grid;gap:18px}.hf-cover-preview{aspect-ratio:4/3;max-height:230px;overflow:hidden;border-radius:16px;background:#e9f2f6}.hf-cover-preview img{width:100%;height:100%;object-fit:cover;display:block}.hf-field{display:grid;gap:8px;min-width:0;font-size:15px;line-height:1.5}.hf-form input,.hf-form textarea,.hf-form select{min-width:0;max-width:100%;width:100%;padding:12px;border:1px solid var(--hg-line);border-radius:12px;background:white;color:var(--hg-ink);font:inherit;font-size:16px;line-height:1.5;min-height:48px}.hf-form textarea{resize:vertical}.hf-form .hf-file{font-size:15px;padding:10px;overflow:hidden}.hf-file::file-selector-button{min-height:40px;padding:8px 12px;background:#e7f1f7;border:0;border-radius:8px;color:var(--hg-ink);font:inherit;margin-right:10px}.hf-library{border:1px solid var(--hg-line);border-radius:14px;background:white;padding:0 14px}.hf-library summary{min-height:48px;padding:12px 0;font-size:15px;cursor:pointer}.hf-library .hf-field{padding-bottom:14px}.hf-error{color:#a23737;font-size:15px;line-height:1.6;margin:0}.hf-error:empty{display:none}.hf-submit{min-height:52px;background:var(--hg-accent);border:0;border-radius:14px;color:white;font-size:16px;padding:14px 16px}.hf-submit:disabled{opacity:.5;cursor:wait}.hf-form input:focus-visible,.hf-form textarea:focus-visible,.hf-form select:focus-visible{outline:2px solid var(--hg-accent);outline-offset:3px}.community-tabs{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none}.community-tabs button{flex:0 0 auto;width:auto;white-space:nowrap;min-height:44px;padding:10px 14px;font-size:15px}
html[data-demo=retreat] .hf-media{border-radius:19px}html[data-demo=retreat] .hf-card{padding:8px;background:#fff;border:1px solid var(--hg-line);border-radius:24px}html[data-demo=retreat] .hf-copy{padding:12px 4px 0}html[data-demo=retreat] .hf-card-footer{padding:0 4px}
.hf-home,.hf-dialog{font-family:var(--hg-display)}.hf-home button,.hf-dialog button{font-family:inherit}
@media(min-width:701px){.hf-home{padding:32px 32px 16px}.hf-grid{columns:3;column-gap:20px}.hf-heading h2{font-size:30px}}
@media(min-width:1100px){.hf-grid{columns:4}}
@media(max-width:350px){.hf-home{padding-inline:16px}.hf-heading h2{font-size:24px}.hf-heading{gap:8px}.hf-post{padding:10px 12px}.hf-grid{column-gap:12px}.hf-copy h3{font-size:15px}.hf-tab{padding:10px 12px}.hf-compose-head{padding:12px 16px}.hf-compose-body{padding-inline:16px}}
@media(hover:hover) and (pointer:fine){.hf-like:hover,.hf-tab:hover{background:#eaf3f8}.hf-post:hover,.hf-submit:hover{background:#2c6d93}.hf-open:hover img{filter:brightness(1.04)}}
