/* 晴空蓝：共享同一套功能，按所选桌面概念调整视觉层级。 */
:root {
  --blue: #2f6fed; --blue-hover: #2057cb; --blue-ink: #173f80;
  --ink: #253247; --muted: #667791; --paper: #f5f8ff; --card: #fff;
  --green: var(--blue); --mint: #eaf1ff; --border: #dde6f5; --line: var(--border);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px; line-height: 1.65; color-scheme: light;
}
body { background: var(--paper); }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #87adff; outline-offset: 4px; }
a:hover { color: var(--blue-hover); }
button:not(:disabled):hover { transform: none; }
h1, h2, h3, h4 { letter-spacing: 0; color: var(--ink); }
p { line-height: 1.8; }
.topbar { max-width: none; min-height: 76px; padding: 13px max(32px, calc((100vw - 1240px)/2)); gap: 28px; background: #fff; border-bottom: 1px solid #e8edf7; }
.brand { gap: 12px; flex-shrink: 0; color: var(--blue-ink); line-height: 1; font-weight: 400; }
.brand-cn { font-family: "Smiley Sans Oblique", "Microsoft YaHei", sans-serif; font-size: 37px; }
.brand-en { display: inline; margin: 4px 0 0; color: #526da2; font-size: 17px; letter-spacing: 0; font-weight: 400; }
.header-home { margin-left: auto; color: var(--ink); font-size: 14px; white-space: nowrap; }
.account-status { margin-left: 0; gap: 14px; font-size: 13px; }
.account-status .text-button { font-size: 13px; }
.status-pill { margin-left: 0; background: #f0f5ff; color: #526d97; font-size: 10px; padding: 5px 9px; white-space: nowrap; }
body:has(.hero) .status-pill { display: none; }
main { max-width: 1304px; padding: 0 32px; min-height: 75vh; }
.eyebrow { font-size: 12px; line-height: 1.6; letter-spacing: .1px; font-weight: 500; color: #657ba3; }
.primary, .secondary { min-height: 44px; padding: 11px 20px; gap: 10px; border-radius: 6px; font-size: 14px; font-weight: 500; box-shadow: none; }
.primary { background: var(--blue); border: 1px solid var(--blue); }
.primary:not(:disabled):hover { background: var(--blue-hover); border-color: var(--blue-hover); }
.secondary { color: var(--blue); border: 1px solid #b6caf1; background: #fff; }
.secondary:not(:disabled):hover { color: var(--blue-hover); border-color: var(--blue); background: #f0f5ff; }
.text-button { font-size: 13px; line-height: 1.6; font-weight: 500; }
.helper { font-size: 12px; line-height: 1.85; color: var(--muted); }
.panel { border-radius: 9px; padding: 26px; box-shadow: none; }
label { color: #354866; font-size: 14px; font-weight: 500; }
input:not([type=checkbox]), select, textarea { min-height: 44px; padding: 10px 12px; font-size: 14px; background: #fff; border-color: #cddbf2; border-radius: 5px; }
input[readonly] { color: #70819a; background: #f5f7fb; }
.field-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.tag { color: #496b9f; background: #eaf1ff; border-radius: 4px; font-size: 11px; padding: 3px 8px; }
.avatar.mint, .avatar.blue { color: #245abe; background: #dfebff; }
.avatar.peach, .avatar.lavender { color: #3e65a3; background: #eaf1ff; }
.hero { grid-template-columns: .85fr 1.15fr; gap: 0; padding: 35px 0 30px; min-height: 530px; }
.hero-context { color: #637ca7; font-size: 14px; margin-bottom: 16px; }
.hero-copy { position: relative; z-index: 1; padding: 8px 0 20px; }
.hero h1 { margin: 0 0 20px; font-family: "Smiley Sans Oblique", "Microsoft YaHei", sans-serif; font-size: clamp(50px,5.1vw,76px); line-height: 1.15; font-weight: 400; letter-spacing: 0; color: var(--blue-ink); }
.hero-description { color: #657591; font-size: 16px; line-height: 1.9; }
.hero-actions { margin-top: 24px; gap: 16px; }
.hero-actions button { min-width: 166px; min-height: 48px; font-size: 16px; }
.hero-facts { margin-top: 24px; gap: 22px; color: #5e759d; font-size: 13px; }
.hero-facts span+span { border-left: 1px solid #cfdcf3; padding-left: 22px; }
.hero-photo { --photo-height: 470px; position: relative; width: calc(100% + 30px); margin: 0 0 0 -10px; }
.hero-photo img { display: block; width: 100%; height: var(--photo-height); object-fit: cover; object-position: 50% 50%; }
.hero-photo figcaption { margin: 4px 24px 0 42px; font-size: 11px; line-height: 1.8; color: #7384a0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.hero-photo figcaption a { color: #7384a0; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }
.sample-journey { padding: 28px; border: 1px solid #e3ebf9; border-radius: 10px; background: #fff; margin-bottom: 36px; }
.sample-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.sample-heading h2 { font-size: 26px; line-height: 1.5; margin-top: 5px; font-weight: 600; }
.sample-heading .text-button { white-space: nowrap; }
.sample-body { display: grid; grid-template-columns: 1.8fr 1fr; gap: 26px; }
.sample-route { background: #f5f8ff; padding: 20px 22px; border-radius: 7px; }
.sample-route h3 { font-size: 19px; font-weight: 600; }
.sample-route>p { color: #72819a; font-size: 12px; margin-top: 4px; }
.sample-days { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 20px; }
.sample-days strong { font-size: 12px; font-weight: 500; color: #435c84; }
.sample-days ol { list-style: none; padding: 0; margin: 12px 0 0; display: flex; justify-content: space-between; position: relative; gap: 10px; }
.sample-days ol:before { content: ''; position: absolute; left: 5px; right: 5px; top: 5px; height: 1px; background: #8fb2fa; }
.sample-days li { position: relative; padding-top: 18px; font-size: 12px; }
.sample-days li:before { content: ''; position: absolute; top: 1px; left: 1px; width: 7px; height: 7px; border: 2px solid var(--blue); border-radius: 50%; background: #f5f8ff; }
.sample-days li:last-child:before { left: auto; right: 1px; }
.sample-voices { padding: 8px 0; }
.sample-voices article { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 17px; }
.sample-voices strong { font-size: 12px; font-weight: 500; }
.sample-voices p { font-size: 13px; line-height: 1.7; margin-top: 3px; color: #536985; }
.sample-voices small { font-size: 10px; }
.journey-steps { margin-top: 24px; padding-top: 21px; border-top: 1px solid #e4ebf8; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.journey-steps>div+div { border-left: 1px solid #e4ebf8; padding-left: 24px; }
.journey-steps strong { font-size: 15px; font-weight: 500; color: #314c79; }
.journey-steps p { font-size: 12px; color: #7888a0; margin-top: 4px; }
.browser-save { background: #fff; border-radius: 9px; border-color: #e3ebf9; box-shadow: none; }
.browser-save h2 { font-size: 18px; letter-spacing: 0; }
.create-layout { gap: 72px; padding: 28px 0 70px; grid-template-columns: .9fr 1.1fr; }
.section-copy h2 { font-family: "Smiley Sans Oblique",sans-serif; font-weight: 400; color: var(--blue-ink); font-size: 38px; line-height: 1.4; }
.section-copy p { font-size: 14px; }
.quiet-note { border-color: #bbd0f5; color: #70819a; font-size: 12px; margin-top: 24px; }
#create-form>h3 { margin: 0 0 24px; }
.create-photo { max-width: 420px; margin: 24px 0 0; }
.create-photo img { width: 100%; height: 215px; object-fit: cover;  }
.create-photo figcaption, .activity-photo figcaption, .preference-street-photo figcaption { font-size: 10px; color: #7888a0; margin-top: 5px; }
.create-photo figcaption a, .activity-photo figcaption a, .preference-street-photo figcaption a { color: #7888a0; }
.room-shell { padding: 28px 0 65px; }
.room-banner { padding: 0 0 18px; }
.room-banner h1 { font-family: "Smiley Sans Oblique","Microsoft YaHei",sans-serif; font-size: 39px; font-weight: 400; color: var(--blue-ink); line-height: 1.4; margin: 8px 0; }
.room-banner p { font-size: 13px; }
.room-banner .home-button { font-size: 12px; margin-right: 18px; }
.compact-save { margin: 0 0 12px; background: transparent; padding: 0; border: 0; font-size: 11px; color: #7a8ba6; }
.compact-save summary { cursor: pointer; }
.tabs { width: 100%; position: relative; display: flex; gap: 16px; min-height: 54px; background: transparent; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 0; margin: 8px 0 26px; box-shadow: none; }
.tabs button { z-index: 1; padding: 14px 12px; border: 0; border-radius: 0; color: #667791; font-size: 14px; background: transparent; }
.tabs .selected { color: var(--blue); font-weight: 600; background: transparent; border: 0; box-shadow: none; }
.tab-indicator { position: absolute; top: auto; bottom: -1px; height: 3px; border-radius: 0; background: var(--blue); z-index: 0; box-shadow: none; }
.section-title { margin: 28px 0 22px; }
.section-title h2 { font-size: 27px; line-height: 1.5; letter-spacing: 0; font-weight: 600; }
.section-title p:not(.eyebrow) { font-size: 13px; }
.member-card { border-radius: 8px; padding: 24px; }
.member-heading strong { font-size: 15px; }
.member-heading small { font-size: 11px; }
.member-card .helper { font-size: 12px; }
.member-budget { color: var(--blue-ink); font-size: 28px; }
.conflict { border-radius: 8px; }
.conflict>p { font-size: 13px; }
.generation-bar { border: 1px solid #d5e3ff; background: #eaf1ff; border-radius: 8px; }
.preference-layout { display: grid; grid-template-columns: minmax(0,1.9fr) minmax(280px,1fr); gap: 24px; align-items: start; }
.preference-form { max-width: none; margin: 0; }
.preference-aside { position: sticky; top: 24px; }
.preference-aside h3 { font-size: 19px; }
.preference-people { margin-top: 16px; }
.preference-people article { display: flex; gap: 11px; align-items: center; padding: 15px 0; border-bottom: 1px solid #e7edf8; }
.preference-people article>div { flex: 1; min-width: 0; }
.preference-people strong { font-size: 14px; font-weight: 500; }
.preference-people p { font-size: 11px; line-height: 1.7; color: #7586a1; }
.tiny-status { font-size: 10px; white-space: nowrap; }
.aside-note { color: #7183a0; font-size: 12px; margin: 18px 0 4px; }
.preference-street-photo { margin: 20px 0 0; }
.preference-street-photo img { width: 100%; height: 235px; object-fit: cover;  }
.choice span { min-height: 44px; padding: 10px 8px; font-size: 13px; }
.choice input:checked+span { background: #eaf1ff; border-color: #7ba3f3; }
.check-line { font-size: 13px; }
.activity-picker { border-radius: 8px; background: #f7faff; }
.activity-choice-card { border-radius: 6px; }
.activity-choice-options { border-radius: 5px; }
.activity-choice-card[data-selection=must] { background: #eff5ff; border-color: #8baff4; }
.plan-grid { gap: 16px; margin: 22px 0; }
.plan-card { padding: 20px; border-radius: 8px; }
.plan-card.active { padding: 19px; border-color: var(--blue); background: #f8faff; }
.plan-card h3 { margin: 0 0 9px; font-size: 19px; }
.plan-price { color: var(--blue-ink); font-size: 25px; margin: 0 0 10px; }
.plan-card>.helper { font-size: 11px; line-height: 1.7; }
.plan-votes { margin: 12px 0 9px; padding-top: 9px; }
.plan-card .secondary.full { min-height: 40px; padding: 8px 12px; font-size: 13px; }
.plan-card.active .secondary.full { background: var(--blue); color: #fff; border-color: var(--blue); }
.option-difference { padding: 10px 0 0; color: #667b9d; }
.option-difference summary { color: #5372a4; cursor: pointer; font-size: 11px; }
.option-difference p { font-size: 11px; margin-top: 7px; }
.detail-grid { grid-template-columns: minmax(0,1.85fr) minmax(300px,1fr); gap: 24px; margin-top: 20px; align-items: start; }
.detail-heading h3 { font-size: 20px; }
.day-heading { gap: 16px; padding: 6px 0; }
.day-heading>span { font-size: 17px; font-weight: 600; letter-spacing: 0; }
.day-heading strong { font-size: 13px; font-weight: 400; }
.day-heading small { font-size: 11px; }
.activity { position: relative; grid-template-columns: 66px minmax(0,1fr); gap: 20px; margin: 6px 0 18px; padding-bottom: 8px; }
.itinerary .activity:before { content: ''; position: absolute; left: 75px; top: 16px; bottom: -28px; width: 1px; background: #c9dbfc; }
.itinerary .activity:after { content: ''; position: absolute; left: 71px; top: 9px; width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--blue); background: var(--blue); }
.itinerary .activity.meal:after { background: #fff; }
.time { font-size: 10px; color: #6680a8; padding-top: 5px; white-space: normal; }
.activity h4 { font-size: 17px; font-weight: 600; line-height: 1.7; }
.activity p { font-size: 12px; line-height: 1.8; }
.activity-content { display: flow-root; min-width: 0; }
.activity-photo { float: right; width: 40%; max-width: 220px; margin: 0 0 12px 18px; }
.activity-photo img { display: block; width: 100%; height: 120px; object-fit: cover; border-radius: 5px; }
.activity-photo figcaption { line-height: 1.6; font-size: 9px; }
.activity-links { clear: both; padding-top: 7px; font-size: 11px; }
.activity-links .text-button { font-size: 11px; }
.budget-panel .eyebrow { margin: 0 0 5px; }
.budget-panel h3 { font-size: 19px; margin: 0 0 12px; }
.big-price { color: var(--blue); font-size: 31px; margin: 0 0 13px; }
.budget-panel dl>div { font-size: 13px; padding: 9px 0; }
.budget-panel .helper { font-size: 11px; }
.discussion-preview, .decision-summary, .tradeoff { margin: 18px 0 0; }
.discussion-preview h3 { font-size: 18px; margin-bottom: 14px; }
.discussion-preview article { display: flex; gap: 10px; margin: 14px 0; }
.discussion-preview article>div { min-width: 0; }
.discussion-preview strong { font-size: 12px; font-weight: 500; }
.discussion-preview article p { font-size: 12px; color: #657590; overflow-wrap: anywhere; }
.discussion-preview .avatar { width: 32px; height: 32px; font-size: 12px; }
.decision-summary h3 { font-size: 18px; }
.decision-summary p { font-size: 12px; }
.decision-summary .draft-actions { gap: 8px 15px; flex-wrap: wrap; }
.decision-summary .secondary { font-size: 12px; padding: 9px 12px; }
.tradeoff p { color: #657590; }
.comments { margin-top: 26px; }
.comments form { max-width: 760px; }
.travel-category-tabs { display: flex; gap: 28px; margin: 18px 0 0; border-bottom: 1px solid var(--border); }
.travel-category { min-height: 50px; padding: 8px 4px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; gap: 9px; color: #7285a4; }
.travel-category.selected { color: var(--blue); border-color: var(--blue); background: none; }
.travel-category>span { width: auto; height: auto; border-radius: 0; background: none; font-size: 13px; font-weight: 400; }
.travel-category strong { font-size: 15px; font-weight: 500; }
.travel-search { border-radius: 0 0 8px 8px; margin: 0 0 22px; border-top: 0; }
.travel-search form { max-width: none; }
.travel-context { font-size: 12px; color: #697c9b; margin-bottom: 18px; }
.travel-search-actions { gap: 22px; }
.travel-search-actions .primary { min-width: 180px; }
.travel-empty { background: #fff; border-radius: 8px; }
.travel-empty>span { display: none; }
.travel-results { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 25px; }
.travel-results-heading { margin-top: 0; }
.travel-product-grid { display: block; }
.travel-product { display: grid; grid-template-columns: minmax(0,1fr) 210px; column-gap: 28px; row-gap: 5px; border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 22px 0; background: transparent; }
.travel-product>* { grid-column: 1; }
.travel-product-top { margin: 0 0 8px; justify-content: flex-start; gap: 12px; }
.travel-kind-mark { width: 30px; height: 30px; font-size: 13px; border-radius: 5px; background: #eaf1ff; }
.travel-product h3 { font-size: 19px; margin: 0; }
.travel-product .tags { margin: 5px 0; min-height: 0; }
.travel-address { font-size: 12px; margin: 0; }
.travel-product .travel-price { grid-column: 2; grid-row: 2; margin: 0; font-size: 20px; }
.travel-product .travel-detail-link { grid-column: 2; grid-row: 3 / span 2; align-self: start; margin-top: 8px; }
.travel-product>.helper { margin: 0; }
.travel-opening, .travel-ticket-list { font-size: 12px; margin-top: 9px; }
.nearby-discovery { margin: 0 0 24px; background: #fff; border: 1px solid var(--border); border-radius: 8px; }
.nearby-discovery>summary { padding: 17px 22px; cursor: pointer; color: #486b9f; font-size: 14px; }
.nearby-discovery>.nearby-panel { margin: 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; }
.notice { border-radius: 5px; font-size: 12px; }
footer { max-width: 1304px; padding: 25px 32px; color: #7888a0; font-size: 11px; gap: 20px; }
footer>div { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: #7185a6; }
@media(max-width:1000px) {
  .hero { grid-template-columns: 1fr 1.1fr; min-height: 460px; }
  .hero h1 { font-size: 58px; } .hero-photo { --photo-height: 410px; }
  .hero-actions button { min-width: 130px; }
  .sample-body { grid-template-columns: 1.5fr 1fr; }
  .preference-layout { grid-template-columns: minmax(0,1.6fr) minmax(250px,1fr); gap: 18px; }
  .preference-aside .panel { padding: 20px; }
  .detail-grid { grid-template-columns: minmax(0,1.5fr) minmax(270px,1fr); gap: 18px; }
  .activity-photo { float: none; width: 100%; max-width: none; margin: 0 0 12px; }
  .activity-photo img { height: 150px; }
  .create-layout { gap: 36px; }
  .topbar { gap: 18px; }
}
@media(max-width:760px) {
  .status-pill { display: none; }
  .hero { grid-template-columns: 1fr; gap: 0; padding: 30px 0 20px; }
  .hero-copy { padding-bottom: 8px; }
  .hero h1 { font-size: 55px; }
  .hero-photo { width: 100%; margin: 12px 0 0; }
  .hero-photo { --photo-height: 300px; }
  .hero-photo figcaption { margin: 0 14px; font-size: 10px; }
  .sample-body, .sample-days, .preference-layout, .detail-grid, .create-layout { grid-template-columns: minmax(0,1fr); }
  .sample-heading { align-items: flex-start; }
  .sample-heading h2 { font-size: 23px; }
  .sample-heading .text-button { font-size: 11px; }
  .sample-days { gap: 20px; }
  .sample-voices { border-top: 1px solid var(--border); padding-top: 20px; }
  .preference-aside { position: static; }
  .preference-street-photo { display: none; }
  .room-banner { align-items: flex-start; }
  .room-banner h1 { font-size: 31px; }
  .room-banner .home-button { display: block; margin: 0 0 5px auto; }
  .room-banner>div:last-child { min-width: 130px; }
  .room-banner .secondary { padding: 9px 11px; font-size: 12px; }
  .room-banner>div:last-child p { font-size: 10px; }
  .tabs { gap: 6px; }
  .tabs button { padding: 13px 10px; font-size: 13px; }
  .activity-photo { float: right; width: 40%; margin: 0 0 12px 14px; }
  .activity-photo img { height: 120px; }
  .create-layout { gap: 18px; }
  .create-photo { display: none; }
  footer { flex-direction: column; }
}
@media(max-width:650px) {
  main { padding: 0 20px; }
  .topbar { padding: 13px 20px; min-height: 66px; gap: 14px; }
  .brand-cn { font-size: 31px; } .brand-en { font-size: 12px; margin-left: -4px; }
  .header-home { display: none; }
  .account-status { margin-left: auto; font-size: 11px; }
  .account-status .text-button { font-size: 12px; }
  .hero h1 { font-size: 49px; } .hero-description { font-size: 14px; }
  .hero-actions { gap: 12px; } .hero-actions button { flex: 1; min-width: 0; font-size: 14px; }
  .hero-facts { font-size: 11px; gap: 16px; } .hero-facts span+span { padding-left: 16px; }
  .hero-photo { --photo-height: 260px; }
  .sample-journey { padding: 20px 17px; }
  .sample-heading { display: block; } .sample-heading .text-button { margin-top: 8px; }
  .sample-route { padding: 17px; }
  .journey-steps { grid-template-columns: 1fr; gap: 15px; }
  .journey-steps>div+div { padding-left: 0; border-left: 0; }
  .journey-steps strong { font-size: 14px; }
  .section-copy h2 { font-size: 31px; }
  .panel { padding: 21px 18px; }
  .field-grid { gap: 12px; }
  label { font-size: 12px; }
  .room-shell { padding-top: 24px; }
  .room-banner { flex-direction: column; gap: 10px; }
  .room-banner>div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; text-align: left; }
  .room-banner>div:last-child .home-button { margin: 0; }
  .room-banner>div:last-child p { margin: 0; }
  .room-banner h1 { font-size: 30px; }
  .room-banner p { font-size: 12px; }
  .section-title h2 { font-size: 23px; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 18px; }
  .activity { grid-template-columns: 54px minmax(0,1fr); gap: 14px; }
  .itinerary .activity:before { left: 60px; } .itinerary .activity:after { left: 56px; }
  .activity-photo { float: none; width: 100%; margin: 0 0 13px; }
  .activity-photo img { height: 155px; }
  .activity h4 { font-size: 16px; }
  .travel-category-tabs { gap: 26px; }
  .travel-category { flex-direction: row; min-height: 50px; padding: 8px 2px; gap: 8px; }
  .travel-category>span { width: auto; height: auto; font-size: 12px; }
  .travel-category strong { font-size: 13px; }
  .travel-results { padding: 20px 17px; }
  .travel-product { display: block; }
  .travel-product .travel-price { margin: 10px 0; }
  .travel-product .travel-detail-link { margin-top: 12px; }
  .travel-product h3 { font-size: 18px; }
  .preference-form[data-unsaved="true"] [data-save-dock] { background: #f5f8fff5; border-color: #d8e4fa; }
  footer { padding: 24px 20px; }
}
@media(prefers-reduced-motion:reduce) { *,*:before,*:after { scroll-behavior: auto!important; transition: none!important; animation: none!important; } }
@media print { :root,body { background: #fff; } .activity-photo,.preference-aside,.discussion-preview { display: none!important; } .detail-grid { display: block; } .itinerary .activity:before,.itinerary .activity:after { display: none; } }

.credits-page{max-width:1000px;padding-top:40px;padding-bottom:60px}.credits-page h1{font-size:30px;margin:22px 0 12px}.credits-page article{display:flex;gap:28px;padding:30px 0;border-bottom:1px solid var(--border)}.credits-page article img{width:35%;height:210px;object-fit:cover;border-radius:6px}.credits-page article>div{flex:1;min-width:0}.credits-page h2{font-size:21px;margin-bottom:10px}.credits-page p{font-size:13px;margin:10px 0}.credits-page a{text-decoration:underline;text-underline-offset:3px}@media(max-width:650px){.credits-page article{flex-direction:column}.credits-page article img{width:100%}}

/* 以透明渐变叠层柔化照片边缘，避免不同浏览器的复合蒙版差异。 */
.hero-photo:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: var(--photo-height); pointer-events: none; background: linear-gradient(to right,var(--paper),transparent 12%,transparent 95%,var(--paper)),linear-gradient(to bottom,var(--paper),transparent 6%,transparent 86%,var(--paper)); }
.create-photo,.preference-street-photo { position: relative; }
.create-photo:after,.preference-street-photo:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; background: linear-gradient(to bottom,transparent 72%,var(--paper)); }
.create-photo:after { height: 215px; }.preference-street-photo:after { height: 235px; }

@media(min-width:761px){.plan-toolbar{position:static;top:auto}}
.custom-preference { margin-top: 20px; padding: 18px; border: 1px solid #dce7fb; border-radius: 10px; background: #f6f9ff; min-width: 0; }
.custom-preference label { margin-bottom: 10px; }
.custom-preference textarea { background: #fff; min-height: 82px; }
.custom-match-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.custom-match-bar .helper { flex: 1; }
.match-button { flex-shrink: 0; gap: 8px; padding: 11px 15px; background: #fff; }
.activity-picker .custom-preference { margin: 14px 0 22px; background: #fff; }
.match-result { margin-top: 16px; padding-top: 14px; border-top: 1px solid #dce7fb; }
.match-summary { font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.match-interests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.match-interest { text-align: left; padding: 10px 12px; border: 1px solid #cfdfff; border-radius: 8px; background: #fff; color: #245abe; font-size: 12px; }
.match-interest span { display: block; margin-top: 4px; color: #687a95; font-size: 11px; max-width: 260px; line-height: 1.6; }
.match-place { display: flex; justify-content: space-between; align-items: center; gap: 14px; border: 1px solid #e2eaf8; background: #fff; border-radius: 8px; padding: 13px; margin-top: 10px; min-width: 0; }
.match-place > div:first-child { min-width: 0; overflow-wrap: anywhere; }
.match-place strong { font-size: 13px; }
.match-place p, .match-place a { font-size: 11px; line-height: 1.8; color: #687a95; }
.match-place a { color: #2f6fed; }
.match-actions { display: flex; flex-shrink: 0; gap: 12px; }
.match-unmatched, .match-footnote, .match-external, .match-status { margin-top: 12px; }
.match-error { color: #a5493f; font-size: 12px; margin-top: 12px; line-height: 1.8; }
.member-custom { white-space: pre-wrap; overflow-wrap: anywhere; }
/* 从初次访问到出发核对的就近引导。 */
.start-guide { margin: 12px 0 42px; padding: 26px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.start-guide-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 22px; }
.start-guide-heading h2 { font-size: 21px; }
.start-guide-heading p, .start-guide li p { color: var(--muted); font-size: 12px; }
.start-guide ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; padding: 0; list-style: none; margin: 0 0 18px; }
.start-guide li { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.start-guide li > span { color: var(--blue); font-size: 13px; padding-top: 3px; }
.start-guide li strong { font-size: 14px; }
.start-guide li p { margin-top: 6px; }
.journey-guide { margin: 0 0 30px; padding: 22px 26px 0; border: 1px solid #d5e3fa; border-radius: 12px; background: #fff; scroll-margin-top: 24px; overflow-wrap: anywhere; }
.journey-progress { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 0 0 18px; list-style: none; }
.journey-progress li { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; }
.journey-progress li > span { display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid var(--border); border-radius: 50%; font-size: 10px; }
.journey-progress li.current { color: var(--blue-ink); font-weight: 600; }
.journey-progress li.current > span { color: #fff; background: var(--blue); border-color: var(--blue); }
.journey-progress li.passed > span { color: var(--blue); background: var(--mint); border-color: var(--mint); }
.journey-next { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-bottom: 18px; }
.journey-next > div { min-width: 0; }
.journey-next .eyebrow { margin: 0 0 6px; font-size: 10px; letter-spacing: 1px; }
.journey-next h2 { font-size: 19px; line-height: 1.6; margin: 0 0 6px; }
.journey-next h2:focus { outline: none; }
.journey-next p:not(.eyebrow) { max-width: 780px; color: var(--muted); font-size: 12px; margin: 0; }
.journey-next > button { flex-shrink: 0; min-height: 44px; font-size: 12px; }
.guide-demo { color: var(--muted); font-size: 11px; border-left: 2px solid #c8dafa; padding-left: 10px; margin: 0 0 16px; }
#journey-help { border-top: 1px solid var(--border); }
#journey-help > summary { cursor: pointer; color: var(--blue); padding: 13px 0; font-size: 12px; min-height: 44px; }
.journey-help-content { padding: 0 0 22px; }
.guide-context { padding: 12px 14px; background: var(--paper); border-radius: 6px; color: var(--blue-ink); font-size: 12px; margin: 0 0 16px; }
.journey-help-content dl { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 28px; margin: 0; }
.journey-help-content dl > div { display: block; padding: 0; border: 0; min-width: 0; }
.journey-help-content dt { font-size: 12px; font-weight: 600; margin-bottom: 5px; }
.journey-help-content dd { margin: 0; color: var(--muted); font-size: 12px; font-weight: 400; text-align: left; line-height: 1.9; }
@media(max-width:800px) { .start-guide ol { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; } }
@media(max-width:600px) {
 .start-guide { margin-bottom: 30px; padding: 22px 0; }
 .start-guide-heading h2 { font-size: 19px; }
 .start-guide ol { grid-template-columns: minmax(0,1fr); gap: 16px; }
 .start-guide li > span { width: 25px; flex-shrink: 0; }
 .start-guide li p { margin-top: 3px; }
 .journey-guide { padding: 17px 16px 0; margin-bottom: 24px; }
 .journey-progress { gap: 8px 14px; margin-bottom: 14px; }
 .journey-progress li { font-size: 10px; gap: 5px; }
 .journey-next { align-items: flex-start; flex-direction: column; gap: 13px; padding-bottom: 16px; }
 .journey-next h2 { font-size: 17px; }
 .journey-next > button { max-width: 100%; white-space: normal; text-align: left; }
 .journey-help-content dl { grid-template-columns: minmax(0,1fr); gap: 14px; }
}
@media print { .start-guide,.journey-guide { display: none!important; } }
@media (max-width: 600px) {
 .custom-preference { padding: 14px; }
 .custom-match-bar { align-items: stretch; flex-direction: column; gap: 10px; }
 .match-place { align-items: flex-start; flex-direction: column; gap: 5px; }
 .match-interest { width: 100%; }
 .match-interest span { max-width: none; }
}
