:root {
  --bg: #F4F2EE;
  --stone-lt: #C9C3B8;
  --stone-dk: #8A857C;
  --ink: #2E2B27;
  --line: #DCD8D0;
  --moss: #6B7257;
  /* motion tokens (cairn) */
  --ease-quiet: cubic-bezier(.22,.61,.36,1); /* 기존 slideup 결: 조용히 안착 */
  --ease-settle: cubic-bezier(.34,1.4,.5,1); /* 기존 drop 결: 미세 overshoot */
  --dur-close: .4s;     /* 카드 닫힘 fadeout */
  --dur-settle: .5s;    /* 오늘 했어: 돌 settle */
  --dur-cancel: .25s;   /* pull 임계 미달 복귀 */
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Pretendard", "Apple SD Gothic Neo", system-ui, sans-serif;
  height: 100%;
  overscroll-behavior: none;
}

.serif { font-family: "Noto Serif KR", serif; font-weight: 500; letter-spacing: -0.01em; }
.hidden { display: none !important; }

.screen {
  min-height: 100dvh;
  width: 100%;
  max-width: 560px;          /* PC에서도 모바일 비율 유지 — 배경(.main-bg)은 전체 화면 */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
}

/* ---- topbar ---- */
.topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px;
  min-height: 56px;
}
.topbar-title { font-size: 18px; }
.icon-btn {
  border: none; background: rgba(255,255,255,.5);
  width: 44px; height: 44px; border-radius: 22px;
  font-size: 20px; color: var(--stone-dk); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
#trailBtn { margin-left: auto; }

/* ---- onboarding ---- */
/* 카피는 가운데(flex:1), composer는 바닥에 딱 붙게 */
#onboarding { padding-bottom: 0; }
.onb-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 28px; }
.onb-copy h1 { font-size: 32px; line-height: 1.4; }
.onb-copy .sub { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--stone-dk); }

/* ---- main head ---- */
.main-head { text-align: center; padding: 8px 28px 0; }
.main-head h1 { font-size: 24px; line-height: 1.4; }
.count { margin-top: 8px; font-size: 13px; color: var(--moss); opacity: .9; letter-spacing: .04em; }

/* ---- resurface ---- */
.resurface-area { padding: 0 28px; }
.resurface-card {
  position: relative;
  margin-top: 14px; padding: 16px 18px;
  background: rgba(107,114,87,.08);
  border-left: 3px solid var(--moss);
  border-radius: 10px;
  animation: fadein .5s ease;
}
.rs-label { font-size: 11px; color: var(--moss); letter-spacing: .05em; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.rs-text { font-size: 17px; color: var(--ink); line-height: 1.4; }
.rs-desire { font-size: 14px; color: var(--stone-dk); margin-top: 6px; }
.rs-ask { font-size: 14px; color: var(--moss); margin-top: 12px; }

/* done settle 시 라벨 옆에 잠깐 그려지는 작은 돌 */
.rs-stone { display: inline-flex; width: 26px; height: 26px; }
.rs-stone .stone { position: static; }

/* ---- resurface: 응답 3종 ---- */
.rs-actions { display: flex; gap: 8px; margin-top: 14px; }
.rs-action {
  flex: 1 1 0;                /* 셋 동등 탭 영역 — '지금은 아니야'가 회피처럼 작아지지 않게 */
  min-height: 40px;
  padding: 9px 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;    /* 채움 없음 — 여백 톤 */
  color: var(--stone-dk);
  font-family: inherit;
  font-size: 14px;
  letter-spacing: .01em;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
/* "오늘 했어"만 약하게 가장 또렷 — moss 1px 보더 (채우지 않음) */
.rs-action.is-primary { border-color: var(--moss); color: var(--moss); }
.rs-action:hover, .rs-action:focus-visible {
  border-color: var(--moss); color: var(--moss);
  background: rgba(107,114,87,.06); outline: none;
}
.rs-action:active { transform: translateY(1px); }

/* 무응답 닫기 어포던스 — 눈에 띄지 않게, moss 쓰지 않음(중립) */
.rs-dismiss {
  position: absolute; top: 10px; right: 12px;
  width: 24px; height: 24px;
  border: none; background: transparent;
  color: var(--stone-dk); opacity: .5;
  font-size: 16px; line-height: 1; cursor: pointer;
  transition: opacity .2s ease;
}
.rs-dismiss:hover { opacity: .8; }

/* ---- resurface: 닫힘 모션 ---- */
@keyframes fadeout { from { opacity: 1; } to { opacity: 0; } }

/* 아직 그래: moss로 0.2s 짧게 물든 뒤 닫힘 */
@keyframes rsStillWash {
  0%   { background: rgba(107,114,87,.08); }
  50%  { background: rgba(107,114,87,.18); }
  100% { background: rgba(107,114,87,.10); }
}
.resurface-card.is-still {
  animation:
    rsStillWash .20s ease both,
    fadeout var(--dur-close, .4s) var(--ease-quiet, cubic-bezier(.22,.61,.36,1)) .20s forwards;
  pointer-events: none;
}
/* 지금은 아니야 / 무응답 dismiss: 가장 조용한 닫힘 */
.resurface-card.is-notnow {
  animation: fadeout var(--dur-close, .4s) var(--ease-quiet, cubic-bezier(.22,.61,.36,1)) forwards;
  pointer-events: none;
}
/* 오늘 했어: 작은 돌이 차분히 한 번 settle 후 닫힘 */
@keyframes rsDoneSettle {
  0%   { transform: translateY(0)    rotate(var(--rot, 0deg)); }
  35%  { transform: translateY(-6px) rotate(var(--rot, 0deg)); }
  100% { transform: translateY(0)    rotate(var(--rot, 0deg)); }
}
.resurface-card.is-done .rs-stone .stone {
  animation: rsDoneSettle var(--dur-settle, .5s) var(--ease-settle, cubic-bezier(.34,1.4,.5,1)) both;
}
.resurface-card.is-done {
  animation: fadeout var(--dur-close, .4s) var(--ease-quiet, cubic-bezier(.22,.61,.36,1)) .5s forwards;
  pointer-events: none;
}

/* ---- pull-to-refresh 인디케이터 ---- */
.ptr-indicator {
  position: absolute;
  top: calc(env(safe-area-inset-top) + 6px);
  left: 50%;
  transform: translate(-50%, calc(var(--ptr-offset, 0px) - 12px));
  opacity: var(--ptr-progress, 0);
  pointer-events: none;
  z-index: 5;
  will-change: transform, opacity;
}
.ptr-arc { transition: stroke-dashoffset .08s linear; stroke: #8A857C; }
.ptr-indicator.is-ready .ptr-arc { stroke: var(--moss); }
.ptr-indicator.is-cancel {
  transition: transform var(--dur-cancel, .25s) ease, opacity var(--dur-cancel, .25s) ease;
}
.ptr-indicator.is-refreshing { transition: transform .2s ease; opacity: 1; }
.ptr-indicator.is-refreshing svg { animation: ptrSpin .9s linear infinite; }
.ptr-indicator.is-refreshing .ptr-arc { stroke: var(--moss); }
@keyframes ptrSpin { to { transform: rotate(360deg); } }

/* ---- reduced-motion: 회전·이동·overshoot 제거, opacity로만 ---- */
@media (prefers-reduced-motion: reduce) {
  .resurface-card.is-still,
  .resurface-card.is-notnow,
  .resurface-card.is-done {
    animation: fadeout .25s linear forwards;
  }
  .resurface-card.is-done .rs-stone .stone { animation: none; }
  .ptr-indicator.is-refreshing svg { animation: none; }
  .ptr-indicator.is-refreshing { animation: ptrPulse 1.1s ease-in-out infinite; }
  @keyframes ptrPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
}

/* ---- echo ---- */
.echo-area { padding: 0 28px; }
.echo-card {
  margin-top: 14px; padding: 12px 16px;
  background: rgba(220,216,208,.3);
  border-radius: 12px;
  animation: fadein .5s ease;
}
.echo-row { display: flex; align-items: center; gap: 10px; padding: 3px 0; }
.echo-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--moss); opacity: .55; flex: 0 0 auto; }
.echo-text { font-size: 14px; color: var(--stone-dk); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---- cairn stage ---- */
.cairn-stage {
  flex: 1; position: relative; min-height: 160px; overflow: hidden; border-radius: 16px;
  background: linear-gradient(to bottom, var(--sky-top, #d6dee6), var(--sky-bot, #f4f2ee));
  transition: background 1.2s ease;
}
#cairnLandscape {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46%;
  z-index: 0; pointer-events: none;
}
#cairnLandscape .ridge { transition: fill 1.2s ease; }
#cairnLandscape .ridge-far { opacity: .55; }
#cairnLandscape .ridge-near { opacity: .85; }
.stone {
  position: absolute;
  filter: drop-shadow(0 3px 3px rgba(46,43,39,.28));
  transform: rotate(var(--rot, 0deg));
  transition: none;
}
.stone.dropping { animation: drop .55s cubic-bezier(.34,1.4,.5,1); }
@keyframes drop {
  0%   { transform: translateY(-220px) rotate(var(--spin)); opacity: 0; }
  60%  { transform: translateY(0) rotate(var(--rot)); opacity: 1; }
  74%  { transform: translateY(-7px) rotate(var(--rot)); }
  100% { transform: translateY(0) rotate(var(--rot)); opacity: 1; }
}

.hint { text-align: center; font-size: 12px; color: var(--stone-dk); opacity: .8; padding-bottom: 10px; }

/* ---- composer ---- */
.composer { padding: 0 28px 28px; display: flex; flex-direction: column; gap: 12px; }
.field {
  width: 100%; border: 1px solid var(--line); background: var(--bg);
  border-radius: 12px; padding: 14px 16px; font-size: 16px; color: var(--ink);
  font-family: inherit; resize: none;
}
.field::placeholder { color: var(--stone-dk); opacity: .7; }
.field:focus { outline: none; border-color: var(--stone-dk); }
.field.desire { font-size: 14px; color: var(--stone-dk); }
/* 꾸욱-누르기: 슬라이더 대신 돌을 지그시 눌러 무게를 더한다 */
.press-row { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 6px 4px; }
.press-stone {
  width: 78px; height: 78px; display: flex; align-items: center; justify-content: center;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  -webkit-touch-callout: none; transition: transform .12s ease;
}
.press-stone:active { transform: scale(0.96); cursor: grabbing; }
/* 내부 SVG가 long-press 저장/복사 메뉴를 띄우지 않도록 이벤트·드래그 차단 */
.press-stone svg, .press-stone * { pointer-events: none; -webkit-user-drag: none; user-drag: none; }
/* 드래그 중 돌탑(드롭존) 하이라이트 */
.cairn-stage.drop-active { outline: 2px dashed rgba(255,255,255,.65); outline-offset: -10px; border-radius: 16px; }
.press-stone.disabled { opacity: .35; pointer-events: none; }
.press-stone:focus-visible { outline: 2px solid var(--moss); outline-offset: 4px; border-radius: 50%; }

/* ── 홈 화면에 추가 ───────────────────────────── */
.install-chip {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(16px);
  display: flex; align-items: center; gap: 2px;
  background: #fff; border: 1px solid var(--line, #e3ded6);
  border-radius: 999px; padding: 4px 4px 4px 16px;
  box-shadow: 0 6px 24px rgba(43,41,38,.12);
  opacity: 0; transition: opacity .4s ease, transform .4s ease; z-index: 60;
}
.install-chip.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.install-chip .install-go {
  border: 0; background: none; color: var(--ink, #2b2926);
  font-size: 14px; font-weight: 500; cursor: pointer; padding: 6px 2px;
}
.install-chip .install-x {
  border: 0; background: none; color: var(--muted, #6f6a63);
  font-size: 18px; line-height: 1; cursor: pointer; width: 32px; height: 32px; border-radius: 999px;
}
.install-chip .install-x:active { background: #f0ece5; }

.install-sheet {
  position: fixed; inset: 0; z-index: 70; background: rgba(43,41,38,.32);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity .3s ease;
}
.install-sheet.show { opacity: 1; }
.install-sheet .install-card {
  width: 100%; max-width: 460px; background: var(--bg, #F4F2EE);
  border-radius: 20px 20px 0 0; padding: 26px 24px calc(28px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .34s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 -8px 40px rgba(43,41,38,.18);
}
.install-sheet.show .install-card { transform: translateY(0); }
.install-title { font-size: 1.15rem; font-weight: 600; color: var(--ink, #2b2926); }
.install-sub { margin-top: 4px; color: var(--muted, #6f6a63); font-size: .92rem; }
.install-steps { margin: 18px 0 22px; padding-left: 20px; color: var(--ink, #2b2926); line-height: 1.9; }
.install-steps b { font-weight: 600; }
.install-steps .ios-share { color: #2f6fdb; }
.install-close {
  width: 100%; border: 0; background: var(--ink, #2b2926); color: #fff;
  padding: 13px; border-radius: 12px; font-size: 15px; font-weight: 500; cursor: pointer;
}

/* ── 알림 설정 ───────────────────────────── */
.topbar { display: flex; align-items: center; justify-content: space-between; }
.settings-title { font-size: 1.3rem; margin: 4px 0 2px; }
.settings-sub { color: var(--muted, #6f6a63); font-size: .92rem; margin: 0 0 18px; }
.settings-guest { color: var(--muted, #6f6a63); padding: 14px 0 6px; }
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--line, #e3ded6);
  font-size: 1rem; color: var(--ink, #2b2926);
}
.toggle {
  appearance: none; -webkit-appearance: none; width: 48px; height: 28px; flex: none;
  background: #d6d0c6; border-radius: 999px; position: relative; cursor: pointer; transition: background .2s;
}
.toggle:checked { background: var(--moss, #5b6e57); }
.toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  background: #fff; border-radius: 50%; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle:checked::after { transform: translateX(20px); }
.settings-email { margin-top: 14px; width: 100%; }
.settings-note { color: var(--muted, #6f6a63); font-size: .8rem; margin: 16px 0 4px; line-height: 1.6; }
.settings-close {
  width: 100%; margin-top: 18px; border: 0; background: var(--ink, #2b2926); color: #fff;
  padding: 13px; border-radius: 12px; font-size: 15px; font-weight: 500; cursor: pointer;
}

/* ── 메인·온보딩: 알프스 배경 + 가독성 처리 ───────────────── */
#main, #onboarding { position: relative; padding-bottom: 0; } /* composer가 자체 safe-area 처리 → 바닥에 밀착 */
.main-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.main-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%;
  filter: saturate(.9) brightness(1.02) contrast(1.02);
}
.main-bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20,18,15,.42) 0%, rgba(20,18,15,.06) 22%, rgba(244,242,238,0) 46%),
    linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(244,242,238,.30) 70%, rgba(244,242,238,.66) 88%, rgba(244,242,238,.82) 100%);
}
#main > *:not(.main-bg), #onboarding > *:not(.main-bg) { position: relative; z-index: 1; }
/* 온보딩 카피도 배경 위 흰색 + 그림자 */
#onboarding .onb-copy h1 { color: #fff; text-shadow: 0 2px 14px rgba(20,16,10,.45), 0 1px 2px rgba(0,0,0,.3); }
#onboarding .onb-copy .sub { color: rgba(255,255,255,.82); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
/* 배경 위 텍스트·아이콘은 흰색 + 그림자 */
#main .icon-btn { color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.55)); }
#main #mainHeadline { color: #fff; text-shadow: 0 2px 14px rgba(20,16,10,.45), 0 1px 2px rgba(0,0,0,.3); }
#main .count { color: rgba(255,255,255,.82); text-shadow: 0 1px 6px rgba(0,0,0,.5); }
#main .hint { color: rgba(255,255,255,.72); text-shadow: 0 1px 4px rgba(0,0,0,.4); }
/* 돌탑 무대: 임시 하늘 배경 제거(알프스가 비치게) */
.cairn-stage { background: none !important; border-radius: 0; }

/* 돌 고르기 팔레트 */
.palette { display: flex; gap: 12px; justify-content: center; align-items: flex-end; margin: 6px 0 2px; }
.swatch {
  position: relative; width: 46px; height: 46px; border: 0; background: transparent;
  cursor: pointer; padding: 0; display: grid; place-items: center;
  transition: transform .2s cubic-bezier(.2,.8,.2,1);
}
.swatch svg { filter: drop-shadow(0 3px 5px rgba(0,0,0,.28)); }
.swatch:active { transform: scale(.9); }
.swatch.sel { transform: translateY(-6px) scale(1.08); }
.swatch.sel::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--moss); box-shadow: 0 0 0 4px rgba(107,114,87,.2);
}
/* 직접 고르기 — 컬러 휠 스와치 (네이티브 컬러 피커) */
.swatch.custom {
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  background: conic-gradient(#e66465, #f6e58d, #78e08f, #60a3bc, #a29bfe, #e66465);
  border: 2px solid rgba(255,255,255,.8); box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.swatch.custom input { opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0; }

/* 메인·온보딩 composer: 알프스 배경 위 반투명 카드 (가독성) */
#main .composer, #onboarding .composer {
  position: relative;
  background: rgba(244,242,238,.55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 22px 22px 0 0;
  padding: 14px 24px calc(18px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 28px rgba(40,36,30,.14);
}
#main .field, #onboarding .field { background: rgba(255,255,255,.78); border-color: rgba(220,216,208,.55); }
#main .press-hint, #onboarding .press-hint { color: var(--stone-dk); }
.press-hint { font-size: 12px; color: var(--stone-dk); opacity: .85; }

/* 토스트 — 조용한 피드백(에러·안내) */
.toast {
  position: fixed; left: 50%; bottom: calc(28px + env(safe-area-inset-bottom));
  transform: translateX(-50%); z-index: 100;
  background: var(--ink); color: var(--bg); font-size: 14px;
  padding: 12px 20px; border-radius: 12px; max-width: 82%; text-align: center;
  box-shadow: 0 4px 16px rgba(46, 43, 39, .25);
  animation: toastIn .3s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---- 로그인 ---- */
#login { position: relative; padding: 0 32px; justify-content: center; align-items: center; text-align: center; }
#login > *:not(.main-bg) { position: relative; z-index: 1; }
.login-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 320px; }
.login-title { font-size: 40px; color: #fff; text-shadow: 0 2px 14px rgba(20,16,10,.45), 0 1px 2px rgba(0,0,0,.3); }
.login-sub { font-size: 15px; color: rgba(255,255,255,.85); text-shadow: 0 1px 6px rgba(0,0,0,.5); margin-bottom: 4px; }
/* 미니 돌탑 — 서비스가 뭘 하는지 한눈에 */
.login-cairn { position: relative; width: 180px; height: 110px; margin: 2px 0 6px; pointer-events: none; }
/* 3단계 안내 카드 (반투명 블러, 본가 composer 결) */
.login-guide {
  list-style: none; width: 100%; text-align: left;
  background: rgba(244,242,238,.6);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 16px; padding: 16px 18px; margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(40,36,30,.14);
}
.login-guide li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink); line-height: 1.5; padding: 5px 0; }
.guide-num {
  flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--moss); color: var(--bg); font-size: 11px;
  display: flex; align-items: center; justify-content: center;
}
.login-buttons { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.login-btn { width: 100%; min-height: 48px; padding: 14px; border: none; border-radius: 12px; font-size: 15px; font-family: inherit; cursor: pointer; }
.login-btn.google { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.gsi-holder { display: flex; justify-content: center; min-height: 44px; }
.guest-btn { margin-top: 14px; background: none; border: none; color: rgba(255,255,255,.9); text-shadow: 0 1px 4px rgba(0,0,0,.45); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.privacy-link { margin-top: 4px; color: rgba(255,255,255,.7); text-shadow: 0 1px 4px rgba(0,0,0,.4); font-size: 12px; text-underline-offset: 3px; }
.cta {
  width: 100%; padding: 16px; border: none; border-radius: 12px;
  background: var(--moss); color: var(--bg); font-size: 16px; font-family: inherit;
  letter-spacing: .02em; cursor: pointer; transition: background .3s;
}
.cta:disabled { background: var(--line); color: var(--stone-dk); }

/* ---- trail ---- */
.trail-list { flex: 1; overflow-y: auto; padding: 0 24px 28px; }
.trail-day { margin-bottom: 28px; }
.trail-date { font-size: 13px; color: var(--stone-dk); margin-bottom: 8px; letter-spacing: .03em; }
.trail-cairn {
  position: relative; height: 140px; overflow: hidden;
  background: rgba(220,216,208,.25); border-radius: 14px;
}
.trail-count { font-size: 12px; color: var(--moss); margin-top: 6px; }

/* ---- detail sheet ---- */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(46,43,39,.25); animation: fadein .3s ease; }
.sheet-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: var(--bg); border-radius: 24px 24px 0 0;
  padding: 12px 28px calc(36px + env(safe-area-inset-bottom));
  animation: slideup .35s cubic-bezier(.22,.61,.36,1);
}
@keyframes slideup { from { transform: translateY(100%); } to { transform: translateY(0); } }
.sheet-handle { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto 20px; }
.detail-stone { display: flex; justify-content: center; margin-bottom: 20px; }
#detailText { font-size: 22px; line-height: 1.4; }
.detail-desire { margin-top: 12px; font-size: 15px; color: var(--stone-dk); }
.detail-date { margin-top: 16px; font-size: 13px; color: var(--stone-dk); opacity: .8; }
