:root { --ink:#263a40; --deep:#315d6b; --paper:#fbf9f3; --cream:#fff4d8; --sky:#9edbe4; --coral:#c45b3d; --leaf:#a8c96e; --blush:#e99aa0; --line:#e6e1d5; --sun:#f1b747; --muted:#728087; --shadow:0 12px 32px rgba(49,93,107,.1); }
* { box-sizing:border-box; }
html { background:var(--paper); scroll-behavior:smooth; }
body { margin:0; min-width:320px; color:var(--ink); background:var(--paper); font-family:"PingFang SC","Noto Sans CJK SC","Microsoft YaHei",system-ui,sans-serif; -webkit-font-smoothing:antialiased; }
button,input,textarea { font:inherit; } button { cursor:pointer; }
.app-shell { width:min(100%,1020px); margin:0 auto; padding:24px 20px 32px; }
.topbar { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:20px; }
.eyebrow,.section-kicker { color:var(--muted); font-size:12px; line-height:18px; letter-spacing:.04em; }
.eyebrow { display:flex; align-items:center; gap:7px; text-transform:uppercase; }
.status-dot { width:7px; height:7px; background:var(--leaf); border-radius:50%; box-shadow:0 0 0 4px rgba(168,201,110,.2); }
h1,h2,h3,p { margin:0; } h1 { font-size:clamp(24px,4vw,34px); line-height:1.18; font-weight:700; margin-top:4px; } h2 { font-size:19px; line-height:1.32; font-weight:700; } h3 { font-size:16px; line-height:1.35; font-weight:700; } p { font-size:14px; line-height:1.65; color:var(--muted); }
.topbar-actions { display:flex; align-items:center; gap:10px; } .icon-button,.round-action { display:inline-grid; place-items:center; border:1px solid var(--line); background:rgba(255,255,255,.72); color:var(--deep); transition:.2s ease; } .icon-button { width:40px; height:40px; border-radius:12px; } .icon-button:hover { transform:translateY(-1px); border-color:var(--deep); background:#fff; } .icon-button svg { width:18px; height:18px; stroke-width:1.8; }
.avatar-stack { display:flex; align-items:center; padding-left:8px; } .avatar { width:34px; height:34px; display:grid; place-items:center; border:2px solid var(--paper); border-radius:50%; color:var(--ink); font-size:11px; font-weight:700; } .avatar+.avatar { margin-left:-8px; } .avatar-a { background:var(--sky); } .avatar-b { background:var(--blush); }
.recap-card { display:grid; grid-template-columns:minmax(0,1fr) 180px; gap:18px; padding:20px; border:1px solid rgba(49,93,107,.16); border-radius:20px; background:var(--deep); color:#fff; box-shadow:var(--shadow); overflow:hidden; position:relative; } .recap-card::after { content:""; position:absolute; width:160px; height:160px; right:94px; top:-78px; border:1px solid rgba(255,255,255,.12); border-radius:50%; } .recap-card .section-kicker { color:rgba(255,255,255,.68); } .recap-card h2 { margin-top:6px; max-width:480px; } .recap-card h2 strong { color:var(--sun); font-size:1.25em; } .recap-card p { margin-top:9px; color:rgba(255,255,255,.72); max-width:520px; } .text-button { display:inline-flex; align-items:center; gap:5px; margin-top:15px; padding:0; border:0; background:transparent; color:#fff; font-size:13px; font-weight:700; } .text-button svg { width:15px; height:15px; }
.recap-mini-map { min-height:134px; border-radius:16px; background:#6b9ca8; position:relative; overflow:hidden; } .recap-mini-map::before,.recap-mini-map::after { content:""; position:absolute; border:1px dashed rgba(255,255,255,.62); border-radius:50%; transform:rotate(-16deg); } .recap-mini-map::before { width:210px; height:90px; left:-28px; top:18px; } .recap-mini-map::after { width:170px; height:72px; left:32px; top:60px; } .mini-route { position:absolute; left:15px; right:16px; top:52%; border-top:4px solid rgba(255,255,255,.72); transform:rotate(-18deg); } .mini-pin { position:absolute; width:10px; height:10px; border-radius:50% 50% 50% 0; transform:rotate(-45deg); background:var(--sun); } .pin-1 { left:32px; top:30px; } .pin-2 { left:94px; top:70px; background:var(--blush); } .pin-3 { right:31px; top:42px; background:#fff; } .mini-wave { position:absolute; right:18px; bottom:14px; width:62px; height:18px; border-top:2px solid rgba(255,255,255,.8); border-radius:50%; transform:rotate(-10deg); }
.days-card { display:flex; align-items:center; gap:16px; margin-top:14px; padding:14px 17px; border:1px solid var(--line); border-radius:16px; background:#fffdf8; box-shadow:0 5px 18px rgba(38,58,64,.04); position:relative; } .days-card>div { display:flex; flex-direction:column; gap:2px; } .days-label { color:var(--muted); font-size:11px; } .days-card strong { color:var(--deep); font-size:17px; } .days-divider { width:1px; height:34px; background:var(--line); } .days-note { margin-left:auto; color:var(--muted); font-size:11px; } .days-settings { padding:6px 9px; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--deep); font-size:11px; white-space:nowrap; }
.city-picker { display:flex; justify-content:space-between; align-items:end; gap:18px; margin-top:22px; } .city-picker-copy { margin-top:3px; font-size:12px; } .city-buttons { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; } .city-button { padding:8px 13px; border:1px solid var(--line); border-radius:999px; background:#fffdf8; color:var(--deep); font-size:12px; transition:.2s ease; } .city-button:hover,.city-button.selected { border-color:var(--deep); background:rgba(158,219,228,.28); box-shadow:0 3px 8px rgba(49,93,107,.08); }
.content-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(320px,.92fr); gap:18px; margin-top:15px; align-items:start; } .map-card,.feature-card { border:1px solid var(--line); box-shadow:0 5px 18px rgba(38,58,64,.05); } .map-card { background:#fffdf8; border-radius:20px; overflow:hidden; } .map-card-head { display:flex; justify-content:space-between; gap:14px; align-items:end; padding:18px 18px 14px; } .map-card-head h2 { margin-top:3px; } .map-progress-pill { white-space:nowrap; padding:7px 10px; border-radius:999px; background:rgba(158,219,228,.26); color:var(--deep); font-size:12px; font-weight:700; }
.map-search-wrap { padding:0 18px 14px; position:relative; } .map-search-box { display:flex; align-items:center; gap:8px; min-height:42px; padding:0 8px 0 12px; border:1px solid var(--line); border-radius:12px; background:var(--paper); } .map-search-box svg { width:17px; height:17px; color:var(--muted); flex:0 0 auto; } .map-search-box input { width:100%; min-width:0; border:0; outline:0; background:transparent; color:var(--ink); font-size:13px; } .map-search-box button { height:30px; padding:0 11px; border:0; border-radius:8px; background:var(--deep); color:#fff; font-size:12px; font-weight:700; } .search-hint { margin-top:6px; color:var(--muted); font-size:11px; } .search-results { position:absolute; z-index:5; left:18px; right:18px; top:76px; display:grid; gap:6px; padding:8px; border:1px solid var(--line); border-radius:12px; background:#fffdf8; box-shadow:0 10px 24px rgba(38,58,64,.12); } .search-results[hidden] { display:none; } .search-result { display:grid; grid-template-columns:1fr auto; gap:8px; align-items:center; padding:10px; border:1px solid transparent; border-radius:9px; background:var(--paper); color:var(--ink); text-align:left; } .search-result:hover { border-color:var(--deep); } .search-result strong { display:block; color:var(--deep); font-size:13px; } .search-result span { display:block; margin-top:3px; color:var(--muted); font-size:11px; } .search-result-action { padding:6px 8px; border:1px solid var(--deep); border-radius:8px; background:#fff; color:var(--deep); font-size:11px; font-weight:700; white-space:nowrap; }
.map-viewport { position:relative; aspect-ratio:1 / .94; overflow:hidden; background:var(--cream); } .city-map { display:block; width:100%; height:100%; } .map-map-tag { position:absolute; left:16px; top:14px; display:inline-flex; align-items:center; gap:6px; padding:7px 10px; border-radius:999px; background:rgba(255,253,248,.92); color:var(--deep); font-size:12px; font-weight:700; box-shadow:0 4px 12px rgba(38,58,64,.12); } .map-map-tag svg { width:14px; height:14px; color:var(--coral); } .map-legend { position:absolute; right:14px; top:14px; display:flex; gap:9px; padding:7px 9px; border-radius:10px; background:rgba(255,253,248,.82); color:var(--muted); font-size:10px; } .map-legend span { display:inline-flex; align-items:center; gap:4px; } .legend-dot { width:7px; height:7px; border-radius:50%; background:#a6afb0; } .legend-dot.lit-dot { background:var(--coral); box-shadow:0 0 0 3px rgba(196,91,61,.16); }
.map-bg { fill:#f8e6bb; stroke:#d5bc82; stroke-width:3; stroke-linejoin:round; } .map-island { fill:#f7d998; stroke:#d5bc82; stroke-width:3; } .map-water { fill:none; stroke:#83c9d0; stroke-width:15; stroke-linecap:round; opacity:.75; } .map-route { fill:none; stroke:#fffaf0; stroke-width:6; stroke-linecap:round; stroke-dasharray:3 9; opacity:.9; } .map-route-thin { fill:none; stroke:#d9b771; stroke-width:2; stroke-linecap:round; stroke-dasharray:2 7; } .map-label { fill:#6d7e77; font-size:14px; font-weight:700; letter-spacing:1px; } .place-marker { cursor:pointer; outline:none; } .place-marker circle { fill:#fffdf8; stroke:#99a7a4; stroke-width:2.3; transition:.2s ease; } .place-marker:hover circle,.place-marker:focus circle { stroke:var(--deep); stroke-width:4; } .place-marker.lit circle { fill:var(--coral); stroke:#fff7e3; stroke-width:3; } .place-marker .place-glyph { fill:var(--deep); font-size:15px; font-weight:800; text-anchor:middle; dominant-baseline:middle; } .place-marker.lit .place-glyph { fill:#fff; } .place-marker text.place-name { fill:var(--deep); font-size:12px; font-weight:700; text-anchor:middle; paint-order:stroke; stroke:#fff4d8; stroke-width:4px; stroke-linejoin:round; } .place-marker.lit text.place-name { fill:var(--coral); } .place-marker .pulse { fill:none; stroke:var(--coral); stroke-width:2; opacity:0; } .place-marker.lit .pulse { animation:place-pulse 2.4s ease-out infinite; } @keyframes place-pulse { 0%{r:15;opacity:.45} 100%{r:28;opacity:0} }
.map-footer { display:grid; grid-template-columns:repeat(2,1fr) auto; align-items:center; gap:8px; padding:14px 18px 16px; border-top:1px solid var(--line); } .map-footer-label { display:block; color:var(--muted); font-size:11px; } .map-footer strong { display:block; margin-top:2px; color:var(--deep); font-size:17px; } .map-footer-note { display:flex; align-items:center; gap:6px; color:var(--muted); font-size:11px; justify-self:end; } .sun-dot { width:7px; height:7px; border-radius:50%; background:var(--sun); }
.features { display:grid; gap:12px; } .feature-card { width:100%; display:grid; grid-template-columns:42px minmax(0,1fr) 18px; gap:12px; align-items:center; padding:15px 14px; border-radius:16px; color:var(--ink); text-align:left; transition:.2s ease; } .feature-card:hover { transform:translateY(-2px); box-shadow:var(--shadow); border-color:rgba(49,93,107,.22); } .feature-blue { background:#edf8f8; } .feature-green { background:#f4f8e9; } .feature-blush { background:#fff1ef; } .feature-memory { background:#f5f0fb; } .feature-icon { width:42px; height:42px; display:grid; place-items:center; border-radius:13px; } .feature-blue .feature-icon { color:var(--deep); background:rgba(158,219,228,.54); } .feature-green .feature-icon { color:#587146; background:rgba(168,201,110,.42); } .feature-blush .feature-icon { color:var(--coral); background:rgba(233,154,160,.35); } .feature-memory .feature-icon { color:#74528c; background:rgba(202,177,221,.38); } .feature-icon svg { width:21px; height:21px; stroke-width:1.8; } .feature-topline { display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--deep); font-size:12px; font-weight:700; } .feature-status { color:var(--muted); font-weight:500; white-space:nowrap; } .feature-body h3 { margin-top:4px; } .feature-body p { margin-top:4px; font-size:12px; line-height:1.5; } .feature-arrow { width:18px; height:18px; color:var(--muted); }
.page-footer { display:flex; justify-content:space-between; align-items:center; margin-top:24px; color:var(--muted); font-size:12px; } .page-footer span { display:inline-flex; align-items:center; gap:6px; } .page-footer svg { width:14px; height:14px; color:var(--coral); } .footer-link { border:0; padding:0; color:var(--muted); background:transparent; font-size:12px; } .footer-link:hover { color:var(--coral); }
.toast { position:fixed; left:50%; bottom:22px; z-index:30; width:max-content; max-width:calc(100vw - 40px); padding:10px 14px; border-radius:999px; color:#fff; background:var(--ink); font-size:13px; opacity:0; transform:translate(-50%,16px); pointer-events:none; transition:.25s ease; } .toast.show { opacity:1; transform:translate(-50%,0); }
.sheet-backdrop { position:fixed; inset:0; z-index:40; background:rgba(38,58,64,.36); backdrop-filter:blur(3px); } .bottom-sheet { position:fixed; z-index:41; left:50%; bottom:0; width:min(100%,640px); max-height:min(86vh,740px); overflow:auto; transform:translateX(-50%); padding:11px 20px 28px; border-radius:24px 24px 0 0; background:#fffdf8; box-shadow:0 -16px 40px rgba(38,58,64,.16); } .bottom-sheet[hidden],.sheet-backdrop[hidden] { display:none; } .sheet-handle { width:34px; height:4px; margin:0 auto 18px; border-radius:999px; background:var(--line); } .sheet-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:18px; } .sheet-head h2 { margin-top:4px; } .sheet-close { flex:0 0 auto; }
.sheet-question { padding:16px; border:1px solid var(--line); border-radius:16px; background:var(--paper); } .sheet-question+.sheet-question { margin-top:10px; } .question-label { color:var(--muted); font-size:11px; } .question-title { margin-top:5px; font-size:15px; line-height:1.5; font-weight:700; } .answer-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:13px; } .answer-option { min-height:40px; border:1px solid var(--line); border-radius:10px; background:#fff; color:var(--deep); font-size:12px; } .answer-option:hover,.answer-option.selected { border-color:var(--deep); background:rgba(158,219,228,.22); } .sheet-action { width:100%; height:44px; margin-top:16px; border:0; border-radius:12px; color:#fff; background:var(--deep); font-weight:700; } .sheet-action:disabled { opacity:.45; cursor:not-allowed; } .task-proof { display:flex; align-items:center; gap:9px; padding:12px 0 0; color:var(--muted); font-size:12px; } .task-proof input { accent-color:var(--deep); }
.capsule-form,.task-form { display:grid; gap:12px; } .capsule-form label,.task-form label { color:var(--muted); font-size:12px; } .capsule-form textarea,.task-form textarea { width:100%; min-height:105px; resize:vertical; margin-top:6px; padding:12px; border:1px solid var(--line); border-radius:12px; outline:none; color:var(--ink); background:var(--paper); } .capsule-form textarea:focus,.task-form textarea:focus { border-color:var(--deep); } .type-row { display:flex; flex-wrap:wrap; gap:8px; margin-top:7px; } .type-chip { padding:7px 10px; border:1px solid var(--line); border-radius:999px; background:#fff; color:var(--deep); font-size:12px; } .type-chip.selected { border-color:var(--deep); background:rgba(158,219,228,.22); } .file-picker { display:block; margin-top:7px; padding:12px; border:1px dashed #b9c5c1; border-radius:12px; background:var(--paper); color:var(--muted); } .file-picker input { width:100%; margin-top:7px; font-size:12px; } .file-name { display:block; margin-top:7px; color:var(--deep); font-size:12px; font-weight:700; }
.readonly-banner { display:flex; gap:10px; align-items:flex-start; padding:12px; border:1px solid var(--line); border-radius:12px; background:#f1f2f0; color:var(--muted); font-size:12px; line-height:1.5; } .readonly-banner svg { width:17px; height:17px; flex:0 0 auto; color:var(--coral); } .place-sheet { display:grid; gap:14px; } .place-hero { display:flex; gap:12px; align-items:center; padding:13px; border-radius:14px; background:var(--cream); } .place-glyph-large { width:44px; height:44px; display:grid; place-items:center; border-radius:14px; background:var(--deep); color:#fff; font-size:20px; font-weight:800; } .place-meta strong { display:block; color:var(--deep); font-size:16px; } .place-meta span { color:var(--muted); font-size:12px; } .place-copy { color:var(--muted); font-size:13px; line-height:1.6; } .place-action { width:100%; height:44px; border:0; border-radius:12px; background:var(--coral); color:#fff; font-weight:700; } .place-action:disabled { background:#c7ceca; cursor:not-allowed; }
.calendar-wrap { display:grid; gap:14px; } .calendar-toolbar { display:flex; align-items:center; justify-content:space-between; gap:10px; } .calendar-toolbar strong { color:var(--deep); font-size:15px; } .calendar-nav { display:flex; gap:6px; } .calendar-nav button { width:32px; height:32px; display:grid; place-items:center; border:1px solid var(--line); border-radius:9px; background:#fff; color:var(--deep); } .calendar-nav svg { width:15px; height:15px; } .calendar-grid { display:grid; grid-template-columns:repeat(7,1fr); gap:5px; } .calendar-weekday { color:var(--muted); text-align:center; font-size:10px; } .calendar-day { min-height:40px; display:grid; place-items:center; position:relative; border:1px solid transparent; border-radius:9px; background:var(--paper); color:var(--deep); font-size:12px; } .calendar-day.empty { background:transparent; } .calendar-day.has-memory { border-color:rgba(196,91,61,.36); background:#fff1e5; font-weight:700; } .calendar-day.has-capsule { box-shadow:inset 0 -3px 0 var(--blush); } .calendar-day .day-dot { position:absolute; right:4px; bottom:4px; width:5px; height:5px; border-radius:50%; background:var(--coral); } .memory-list { display:grid; gap:8px; max-height:280px; overflow:auto; } .memory-item { display:flex; gap:10px; align-items:flex-start; padding:11px; border:1px solid var(--line); border-radius:12px; background:var(--paper); } .memory-item-icon { width:28px; height:28px; display:grid; place-items:center; border-radius:9px; background:#fff; color:var(--deep); flex:0 0 auto; } .memory-item-icon svg { width:15px; height:15px; } .memory-item strong { display:block; color:var(--deep); font-size:12px; } .memory-item span { display:block; margin-top:3px; color:var(--muted); font-size:11px; line-height:1.45; }
@media (max-width:760px) { .app-shell { padding:18px 16px 24px; } .recap-card { grid-template-columns:1fr; padding:18px; } .recap-mini-map { min-height:92px; } .days-card { flex-wrap:wrap; gap:11px; } .days-note { width:100%; margin-left:0; } .days-settings { margin-left:auto; } .city-picker { display:block; } .city-buttons { justify-content:flex-start; margin-top:10px; } .content-grid { grid-template-columns:1fr; } .map-card { order:1; } .features { order:2; } .map-footer { grid-template-columns:repeat(2,1fr); } .map-footer-note { grid-column:1 / -1; justify-self:start; } .map-search-box input { font-size:12px; } }
@media (min-width:761px) { .map-card { position:sticky; top:18px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; } }
