/* Dear Me · 天天的爱自己小站 */
:root {
  --bg: #FBF5F2;
  --ink: #6B4A42;
  --ink-title: #8A5E54;
  --ink-2: #7E5E55;
  --ink-3: #8C6C63;
  --ink-4: #9C766C;
  --rose: #B26F79;
  --rose-2: #C97B86;
  --line: rgba(178, 130, 118, .28);
  --line-soft: rgba(178, 130, 118, .16);
  --glass: rgba(255, 252, 250, .72);
  --script: 'Pinyon Script', cursive;
  --serif-en: 'Cormorant Garamond', 'Times New Roman', serif;
  --serif-zh: 'Noto Serif SC', 'Songti SC', 'STSong', 'SimSun', serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif-zh);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rose); }
button { font-family: inherit; color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--rose-2); outline-offset: 3px; border-radius: 6px; }

/* atmosphere */
.page { position: relative; min-height: 100vh; overflow: hidden; }
.haze { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.haze.a { left: -12%; top: -260px; width: 760px; height: 760px; background: radial-gradient(circle, rgba(246,205,212,.55) 0%, rgba(246,205,212,0) 68%); filter: blur(30px); }
.haze.b { right: -10%; top: 360px; width: 900px; height: 900px; background: radial-gradient(circle, rgba(250,226,214,.7) 0%, rgba(250,226,214,0) 66%); filter: blur(40px); }
.haze.c { left: 20%; top: 1500px; width: 900px; height: 700px; background: radial-gradient(circle, rgba(244,212,222,.5) 0%, rgba(244,212,222,0) 66%); filter: blur(40px); }
.grain { position: fixed; inset: 0; width: 100%; height: 100%; opacity: .09; mix-blend-mode: multiply; pointer-events: none; z-index: 50; }
.wrap { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* nav */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; padding: 26px 0 18px; border-bottom: 1px solid var(--line); }
.logo { font-family: var(--script); font-size: 36px; line-height: 1; color: var(--ink-title); }
.nav nav { display: flex; flex-wrap: wrap; gap: 4px 34px; font-family: var(--serif-en); font-weight: 500; font-size: 13px; letter-spacing: .24em; }
.nav nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nav nav a.on { color: var(--rose); }

/* type */
.script { font-family: var(--script); font-weight: 400; color: var(--ink-title); }
.en { font-family: var(--serif-en); }
.eyebrow { margin: 0; font-family: var(--serif-en); font-size: 13px; letter-spacing: .32em; color: var(--ink-4); }
.numeral { margin: 0; display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--serif-en); font-style: italic; font-size: 20px; color: var(--ink-4); }
.numeral::before, .numeral::after { content: ""; width: 56px; height: 1px; background: rgba(178,130,118,.45); }
.glow { text-shadow: 0 0 36px rgba(246,196,204,.65); }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-head h2 { margin: 10px 0 0; font-size: 72px; line-height: 1.05; }
.section-head p.zh { margin: 6px 0 0; font-size: 15px; font-weight: 300; letter-spacing: .3em; }

/* glass panels & buttons */
.glass { background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(178,130,118,.26); border-radius: 22px; box-shadow: 0 34px 70px -48px rgba(178,110,120,.65); }
.btn { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(178,130,118,.35); background: rgba(255,255,255,.6); color: var(--ink-title); font-size: 14px; letter-spacing: .1em; cursor: pointer; transition: background .3s var(--ease), transform .3s var(--ease); }
.btn:hover { background: #fff; }
.btn.primary { border: 0; background: linear-gradient(135deg, #F6D6DA, #ECC0C7); color: #7C3F4A; box-shadow: 0 12px 26px -16px rgba(178,90,105,.7); }
.btn.primary:hover { transform: translateY(-1px); }
.btn.round { width: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.link-btn { border: 0; background: none; padding: 0; min-height: 32px; font-size: 13px; color: var(--ink-4); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--rose); }
.dot { display: inline-block; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; }
.dot.diamond { border-radius: 1px; transform: rotate(45deg); width: 6px; height: 6px; }

/* ledger stat grid */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(178,130,118,.35); border-bottom: 1px solid rgba(178,130,118,.35); }
.stats > div { padding: 18px 16px; display: flex; flex-direction: column; gap: 6px; }
.stats > div + div { border-left: 1px solid rgba(178,130,118,.25); }
.stats > div:first-child { padding-left: 0; }
.stat-k { font-family: var(--serif-en); font-size: 11px; letter-spacing: .24em; color: var(--ink-4); }
.stat-v { font-family: var(--serif-en); font-weight: 300; font-size: 34px; line-height: 1; color: var(--ink); }
.stat-zh { font-size: 12px; color: var(--ink-3); }

/* ---------- home ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 64px 56px; padding: 56px 0 48px; }
.hero-text { flex: 1 1 460px; max-width: 600px; }
.hero h1 { margin: 18px 0 0 -8px; font-size: 148px; line-height: .95; }
.hero .sub { margin: 22px 0 0; font-size: 19px; font-weight: 300; letter-spacing: .32em; }
.hero .intro { margin: 30px 0 0; max-width: 440px; font-size: 15px; font-weight: 300; line-height: 2.1; color: var(--ink-2); }
.hero .stats { margin-top: 44px; max-width: 520px; }
.more-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--serif-en); font-style: italic; font-size: 17px; color: var(--rose); }
.more-link::after { content: ""; width: 40px; height: 1px; background: currentColor; }
.hero-figure { flex: 0 1 400px; display: flex; justify-content: center; padding-right: 24px; }
.hero-figure figure { position: relative; margin: 0; width: 356px; max-width: 100%; aspect-ratio: 3 / 4; }
.arch-line { position: absolute; inset: -16px; border: 1px solid rgba(178,130,118,.45); border-radius: 999px 999px 6px 6px; }
.arch { position: absolute; inset: 0; border-radius: 999px 999px 6px 6px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(178,110,120,.55); }
.arch img, .room-ph img { width: 100%; height: 100%; object-fit: cover; }
.soft { filter: saturate(.86) contrast(.9) brightness(1.05); }
.arch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,240,238,.35) 0%, rgba(255,240,238,0) 40%, rgba(246,210,214,.28) 100%); }
.seal { position: absolute; right: -64px; bottom: -44px; width: 148px; height: 148px; animation: spin 48s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .seal { animation: none; } html { scroll-behavior: auto; } }
.hero-figure figcaption { position: absolute; left: 0; bottom: -46px; font-family: var(--serif-en); font-style: italic; font-size: 14px; color: var(--ink-4); }

/* calendar */
.cal-section { padding: 24px 0 72px; position: relative; }
.cal-layout { margin-top: 56px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.cal { flex: 999 1 620px; min-width: 0; padding: 24px 22px 18px; display: flex; flex-direction: column; }
.cal-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 0 6px 18px; }
.cal-title { display: flex; align-items: baseline; gap: 14px; }
.cal-title .m-en { font-family: var(--serif-en); font-weight: 300; font-size: 44px; line-height: 1; }
.cal-title .m-zh { font-size: 16px; font-weight: 300; letter-spacing: .16em; color: var(--ink-3); }
.cal-ctrl { display: flex; align-items: center; gap: 8px; }
.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-week { border-bottom: 1px solid rgba(178,130,118,.25); }
.cal-week span { padding: 0 10px 10px; text-align: right; font-size: 13px; font-weight: 300; letter-spacing: .1em; color: var(--ink-3); }
.cell { min-width: 0; min-height: 106px; padding: 8px 6px 6px; border: 0; border-bottom: 1px solid var(--line-soft); border-right: 1px solid rgba(178,130,118,.12); background: transparent; border-radius: 10px; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 4px; transition: background .25s; }
.cell:nth-child(7n) { border-right: 0; }
.cell:hover { background: rgba(246,206,212,.2); }
.cell.sel { background: rgba(246,206,212,.42); }
.cell.out { opacity: .42; }
.cell .num { align-self: flex-end; min-width: 30px; height: 30px; padding: 0 4px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-family: var(--serif-en); font-size: 19px; font-weight: 500; }
.cell.today .num { background: var(--rose-2); color: #fff; }
.pill { display: flex; align-items: center; gap: 5px; min-width: 0; padding: 3px 7px; border-radius: 6px; font-size: 11.5px; line-height: 1.35; }
.pill span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more { padding-left: 7px; font-size: 11px; color: var(--ink-3); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 16px 6px 2px; }
.legend span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.day-panel { flex: 1 1 280px; padding: 28px 26px; display: flex; flex-direction: column; }
.day-panel .wk { font-family: var(--serif-en); font-size: 12px; letter-spacing: .3em; color: var(--ink-4); }
.day-panel .big { margin-top: 8px; font-family: var(--serif-en); font-weight: 300; font-size: 64px; line-height: 1; }
.day-panel .full { margin-top: 8px; font-size: 15px; letter-spacing: .1em; }
.day-panel hr { margin: 22px 0 0; border: 0; height: 1px; background: var(--line); }
.ev { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 12px; padding: 16px 0; border-bottom: 1px solid rgba(178,130,118,.18); }
.ev .amt { font-family: var(--serif-en); font-size: 16px; color: var(--ink-3); padding-top: 1px; }
.ev .t { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.ev .r { grid-column: 2; font-family: var(--serif-en); font-style: italic; font-size: 14px; color: var(--ink-4); }
.empty { margin: 22px 0 0; font-size: 14px; font-weight: 300; line-height: 1.9; color: var(--ink-2); }
.summary { margin-top: auto; padding-top: 28px; }
.summary-box { padding: 20px 18px 18px; border-radius: 16px; background: linear-gradient(160deg, rgba(248,224,226,.7), rgba(250,236,228,.55)); display: flex; flex-direction: column; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.7); font-size: 12.5px; }
.chip b { font-family: var(--serif-en); font-weight: 400; font-size: 15px; color: var(--ink-3); }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid rgba(178,130,118,.25); font-size: 13px; color: var(--ink-2); }
.sum-total b { font-family: var(--serif-en); font-weight: 300; font-size: 28px; color: var(--ink); }

/* rooms */
.rooms { padding: 48px 0 120px; }
.room-grid { margin-top: 72px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px 36px; }
.room { flex: 1 1 230px; display: flex; flex-direction: column; color: var(--ink); }
.room:nth-child(even) { margin-top: 64px; }
.room-frame { position: relative; aspect-ratio: 3 / 4.1; }
.room-ph { position: absolute; inset: 0; overflow: hidden; transition: transform 1.2s var(--ease); }
.room:hover .room-ph { transform: scale(1.045); }
.room-ph.m1 { -webkit-mask-image: radial-gradient(ellipse 50% 46% at 50% 46%, #000 42%, rgba(0,0,0,.55) 70%, transparent 100%); mask-image: radial-gradient(ellipse 50% 46% at 50% 46%, #000 42%, rgba(0,0,0,.55) 70%, transparent 100%); }
.room-ph.m2 { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 46%, rgba(0,0,0,.55) 72%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 46%, rgba(0,0,0,.55) 72%, transparent 100%); }
.room-ph.m3 { -webkit-mask-image: radial-gradient(ellipse 50% 48% at 50% 52%, #000 42%, rgba(0,0,0,.55) 70%, transparent 100%); mask-image: radial-gradient(ellipse 50% 48% at 50% 52%, #000 42%, rgba(0,0,0,.55) 70%, transparent 100%); }
.room-ph.m4 { background: radial-gradient(circle at 30% 20%, #FFF3EF 0%, #F6DCD8 45%, #EBC9C6 100%); -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 56%, rgba(0,0,0,.6) 78%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 56%, rgba(0,0,0,.6) 78%, transparent 100%); }
.mini { position: absolute; width: 72%; aspect-ratio: 1.586; border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 24px -12px rgba(140,90,80,.5); }
.mini small { font-family: var(--serif-en); font-size: 10px; letter-spacing: .3em; }
.mini i { font-family: var(--script); font-style: normal; font-size: 18px; }
.room-no { margin-top: 30px; display: flex; align-items: center; gap: 12px; font-family: var(--serif-en); font-style: italic; font-size: 15px; color: var(--ink-4); }
.room-no::after { content: ""; flex-grow: 1; height: 1px; background: rgba(178,130,118,.35); }
.room .t-en { margin-top: 10px; font-family: var(--script); font-size: 46px; line-height: 1.05; color: var(--ink-title); }
.room .t-zh { margin-top: 6px; font-size: 15px; font-weight: 500; letter-spacing: .22em; }
.room .desc { margin-top: 10px; font-size: 14px; line-height: 1.9; }
.room .soon { margin-top: 8px; font-family: var(--serif-en); font-style: italic; font-size: 14px; color: var(--ink-4); }

footer.foot { position: relative; z-index: 1; padding: 0 0 48px; }
footer.foot .in { border-top: 1px solid rgba(178,130,118,.3); padding-top: 44px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
footer.foot .script { font-size: 40px; }
footer.foot .zh { font-size: 13px; font-weight: 300; letter-spacing: .24em; color: var(--ink-2); }
footer.foot .credit { margin-top: 14px; font-family: var(--serif-en); font-size: 12px; letter-spacing: .08em; color: var(--ink-4); }

/* ---------- little cards ---------- */
.lc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; padding-top: 40px; }
.back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--serif-en); font-style: italic; font-size: 16px; color: var(--ink-4); }
.back::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lc-head .numeral { justify-content: flex-start; margin-top: 14px; }
.lc-head h1 { margin: 6px 0 0 -6px; font-size: 104px; line-height: 1; }
.lc-month { margin-top: 14px; display: flex; align-items: center; gap: 12px; }
.lc-month span { font-size: 17px; font-weight: 300; letter-spacing: .3em; }
.lc-month .btn.round { min-height: 36px; width: 36px; }
.ledger { flex: 0 1 560px; display: flex; flex-direction: column; gap: 10px; }
.ledger .glass { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ledger .cellv { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.ledger .cellv + .cellv { border-left: 1px solid rgba(178,130,118,.2); }
.ledger .big { font-family: var(--serif-en); font-weight: 300; font-size: 40px; line-height: 1; }
.ledger .row { padding: 16px 22px; border-top: 1px solid rgba(178,130,118,.2); display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2); }
.ledger .row + .row { border-left: 1px solid rgba(178,130,118,.2); }
.ledger .row b { font-family: var(--serif-en); font-weight: 400; font-size: 22px; color: var(--ink); }
.ledger p { margin: 0; padding: 0 6px; font-size: 12px; font-weight: 300; color: var(--ink-3); }

.lc-body { padding-top: 56px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.lc-main { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.bar h2 { margin: 0; font-size: 22px; font-weight: 500; letter-spacing: .12em; }
.bar .en { font-style: italic; font-size: 16px; color: var(--ink-4); margin-left: 14px; }
.bar .acts { display: flex; flex-wrap: wrap; gap: 10px; }
.wallet { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.mcard { position: relative; overflow: hidden; aspect-ratio: 1.586; padding: 18px 20px; border: 0; border-radius: 18px; text-align: left; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 22px 40px -26px rgba(150,90,95,.55); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.mcard::before { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 70%); }
.mcard > * { position: relative; }
.mcard:hover { transform: translateY(-5px) rotate(-.6deg); }
.mcard.on { box-shadow: 0 0 0 2px rgba(255,255,255,.9), 0 0 0 4px rgba(214,150,162,.55), 0 26px 44px -24px rgba(150,90,95,.65); }
.mcard.done { filter: grayscale(.5); opacity: .7; }
.mc-top { display: flex; justify-content: space-between; align-items: baseline; }
.mc-top small { font-family: var(--serif-en); font-size: 11px; letter-spacing: .3em; }
.mc-top i { font-family: var(--script); font-style: normal; font-size: 20px; }
.mc-name { font-size: 18px; font-weight: 500; letter-spacing: .06em; }
.mc-foot { display: flex; flex-direction: column; gap: 8px; }
.mc-foot .l { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; }
.mc-foot .l b { font-family: var(--serif-en); font-weight: 400; font-size: 22px; }
.mc-foot .l em { font-family: var(--serif-en); font-style: normal; font-size: 15px; }
.track { height: 3px; border-radius: 3px; background: rgba(255,255,255,.6); overflow: hidden; }
.track span { display: block; height: 100%; background: currentColor; opacity: .55; }
.add-card { aspect-ratio: 1.586; border-radius: 18px; border: 1.5px dashed rgba(178,130,118,.4); background: rgba(255,255,255,.35); color: var(--ink-4); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.add-card:hover { background: rgba(255,255,255,.6); }
.add-card b { font-family: var(--serif-en); font-weight: 300; font-size: 40px; line-height: 1; }
.add-card span { font-size: 14px; letter-spacing: .12em; }
.add-card small { font-size: 12px; font-weight: 300; }

.detail { margin-top: 32px; padding: 26px 28px; display: flex; flex-wrap: wrap; gap: 24px 40px; }
.detail > div { flex: 1 1 260px; display: flex; flex-direction: column; min-width: 0; }
.detail .k { font-family: var(--serif-en); font-size: 12px; letter-spacing: .3em; color: var(--ink-4); }
.detail .n { margin-top: 8px; font-size: 22px; font-weight: 500; letter-spacing: .06em; }
.kv { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.kv div { display: flex; flex-direction: column; gap: 2px; }
.kv span { font-size: 12px; color: var(--ink-3); }
.kv b { font-family: var(--serif-en); font-weight: 400; font-size: 24px; }
.item-chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.ichip { min-height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid transparent; background: rgba(246,214,218,.5); font-size: 12.5px; cursor: pointer; }
.ichip.on { border-color: rgba(178,110,120,.55); background: #fff; }
.use-row { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.use-row input { min-height: 44px; width: 160px; }
.log-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.log-row .d { font-family: var(--serif-en); font-size: 16px; color: var(--ink-3); }
.log-row .t { font-size: 14px; }
.log-row .n { font-family: var(--serif-en); font-size: 15px; color: var(--ink-3); }
.x { width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-4); cursor: pointer; font-size: 14px; line-height: 1; opacity: .5; }
.x:hover { opacity: 1; background: rgba(246,214,218,.6); }
.tx-panel { flex: 1 1 300px; padding: 26px 24px; display: flex; flex-direction: column; }
.tx { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.tx .l { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tx .l span { font-size: 15px; }
.tx .l small { font-size: 12px; color: var(--ink-3); }
.tx .r { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.amt-tag { padding: 3px 10px; border-radius: 999px; font-family: var(--serif-en); font-size: 16px; }
.amt-tag.paid { background: rgba(246,214,218,.55); color: #7C3F4A; }
.amt-tag.use { background: rgba(241,226,207,.6); color: #6E4B2E; }
.backup { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.note { margin-top: 14px; font-size: 12px; font-weight: 300; color: var(--ink-4); line-height: 1.7; }

/* sheet */
.sheet-bg { position: fixed; inset: 0; z-index: 100; background: rgba(120,84,76,.18); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 6vh 20px; overflow-y: auto; }
.sheet-bg[hidden] { display: none; }
.sheet { position: relative; width: 860px; max-width: 100%; background: linear-gradient(170deg, rgba(255,252,250,.97), rgba(252,240,240,.95)); border-radius: 28px; box-shadow: 0 50px 100px -40px rgba(140,80,85,.55); padding: 36px 40px 34px; display: flex; flex-wrap: wrap; gap: 28px 40px; animation: rise .45s var(--ease); }
.sheet.narrow { width: 520px; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.sheet .close { position: absolute; right: 20px; top: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(246,214,218,.6); color: #8A4A55; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sheet .col { flex: 1 1 340px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.sheet .script { font-size: 40px; line-height: 1; }
.sheet h2 { margin: 6px 0 0; font-size: 22px; font-weight: 500; letter-spacing: .14em; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-2); }
.fld { width: 100%; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(178,130,118,.3); background: rgba(255,255,255,.7); font-family: var(--serif-zh); font-size: 15px; color: var(--ink); outline: none; }
.fld:focus { border-color: #D9A0AA; box-shadow: 0 0 0 4px rgba(242,196,204,.35); }
.fld::placeholder { color: #B59A92; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.cats { display: flex; flex-wrap: wrap; gap: 8px; }
.cat { min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(178,130,118,.3); background: rgba(255,255,255,.6); color: var(--ink-2); font-size: 14px; cursor: pointer; }
.cat.on { border-color: transparent; }
.hint { margin: -6px 0 0; font-size: 12px; font-weight: 300; color: var(--ink-3); }
.item-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px 36px; gap: 10px; align-items: center; }
.err { margin: 0; font-size: 13px; color: #A2505E; }
.preview-k { font-family: var(--serif-en); font-size: 12px; letter-spacing: .3em; color: var(--ink-4); }
.pv-row { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 4px; border-bottom: 1px solid rgba(178,130,118,.2); font-size: 13px; color: var(--ink-2); }
.pv-row b { font-family: var(--serif-en); font-weight: 400; font-size: 24px; color: var(--ink); }
.pv-row span:last-child { color: var(--ink); }
.save { margin-top: auto; min-height: 52px; border-radius: 999px; border: 0; background: linear-gradient(135deg, #F2C9CF, #E3AEB7); color: #6E3442; font-size: 16px; letter-spacing: .2em; cursor: pointer; box-shadow: 0 16px 30px -18px rgba(178,90,105,.8); }

.toast { position: fixed; left: 50%; bottom: 32px; z-index: 120; transform: translateX(-50%); padding: 12px 22px; border-radius: 999px; background: rgba(107,74,66,.92); color: #FBF5F2; font-size: 14px; letter-spacing: .06em; opacity: 0; pointer-events: none; transition: opacity .3s; }
.toast.show { opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .hero h1 { font-size: 104px; }
  .section-head h2 { font-size: 56px; }
  .lc-head h1 { font-size: 80px; }
  .room:nth-child(even) { margin-top: 0; }
}
@media (max-width: 640px) {
  .nav nav { gap: 0 18px; font-size: 11px; letter-spacing: .16em; }
  .hero { padding-top: 32px; }
  .hero h1 { font-size: 84px; }
  .hero .sub { letter-spacing: .2em; }
  .hero-figure { padding-right: 0; }
  .seal { right: -12px; bottom: -40px; width: 112px; height: 112px; }
  .stat-v { font-size: 26px; }
  .stats > div { padding: 14px 10px; }
  .cal { padding: 18px 8px 14px; }
  .cal-title .m-en { font-size: 32px; }
  .cal-title .m-zh, .cell .mpre { display: none; }
  .hero-figure figure { width: 300px; }
  .cell { min-height: 64px; padding: 4px 2px; border-radius: 8px; }
  .cell .num { font-size: 16px; min-width: 26px; height: 26px; }
  .pill { padding: 0; background: transparent !important; justify-content: center; }
  .pill span:last-child { display: none; }
  .more { display: none; }
  .cal-week span { padding: 0 4px 8px; text-align: center; font-size: 11px; }
  .room-grid { gap: 48px 20px; }
  .room { flex-basis: 140px; }
  .room .t-en { font-size: 34px; }
  .lc-head h1 { font-size: 64px; }
  .ledger .big { font-size: 30px; }
  .sheet { padding: 28px 20px 24px; border-radius: 22px; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .detail { padding: 22px 18px; }
}
