/* ============================================================
   パシャリッチ — Prestige UI
   オブシディアン × シャンパンゴールド × エメラルド。
   ガラス質感・オーロラ背景・シマー/グローで「スーパーリッチ」を体現。
   ※ app.js が使うクラス/ID フックは一切変えない（見た目のみ刷新）。
   ============================================================ */

:root {
  /* --- surface / ink --- */
  --bg-0: #05060B;
  --bg-1: #0A0D18;
  --bg-2: #101526;
  --ink: #F5F7FE;
  --ink-soft: #C7CEDF;
  --muted: #828CA6;
  --hair: rgba(255, 255, 255, .10);
  --hair-soft: rgba(255, 255, 255, .06);
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .075);

  /* --- champagne gold（唯一の“富”のアクセント）--- */
  --gold-1: #FBEEC2;
  --gold-2: #EFD08A;
  --gold-3: #D4AC5B;
  --gold-4: #B98A3C;
  --gold-grad: linear-gradient(135deg, #FBEEC2 0%, #EAC77E 38%, #C79A46 72%, #E4C77C 100%);
  --gold-line: rgba(233, 199, 117, .55);
  --gold-glow: rgba(226, 190, 110, .45);

  /* --- emerald（お金＝即現金化の意味づけ）--- */
  --emerald: #37D9A6;
  --emerald-soft: #7BE9C6;

  /* --- radius / shadow --- */
  --r-xl: 26px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  --shadow-card: 0 22px 60px -24px rgba(0, 0, 0, .8), 0 2px 0 rgba(255, 255, 255, .04) inset;
  --shadow-gold: 0 14px 40px -12px var(--gold-glow), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  --safe-b: env(safe-area-inset-bottom, 0px);

  font-family: -apple-system, BlinkMacSystemFont, "SF Pro JP", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--bg-0); }
body {
  position: relative;
  min-height: 100dvh;
  background: var(--bg-0);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  letter-spacing: .012em;
  overflow-x: hidden;
}

/* ---- オーロラ背景（深い富の光）---- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg::before,
.bg::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .55; mix-blend-mode: screen;
  animation: drift 22s ease-in-out infinite;
}
.bg::before {
  width: 62vmax; height: 62vmax; top: -22vmax; left: -14vmax;
  background: radial-gradient(circle at 40% 40%, rgba(224, 190, 110, .55), transparent 62%);
}
.bg::after {
  width: 54vmax; height: 54vmax; bottom: -20vmax; right: -16vmax;
  background: radial-gradient(circle at 55% 55%, rgba(55, 217, 166, .32), transparent 60%);
  animation-delay: -8s; animation-duration: 27s;
}
.bg__glow {
  position: absolute; left: 50%; top: 34%;
  width: 44vmax; height: 44vmax; transform: translate(-50%, -50%);
  border-radius: 50%; filter: blur(90px); opacity: .30; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(120, 150, 255, .5), transparent 60%);
  animation: drift 33s ease-in-out infinite reverse;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vmax, 3vmax) scale(1.12); }
}
/* 上質なグレイン + ビネット */
.bg__grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: .05; mix-blend-mode: overlay;
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% -10%, transparent 40%, rgba(0, 0, 0, .55) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .bg::before, .bg::after, .bg__glow { animation: none; }
}

#app { position: relative; z-index: 1; max-width: 520px; margin: 0 auto; min-height: 100dvh; }

/* ---- 画面切替（フェード + わずかなブラー）---- */
.screen { display: none; padding: 30px 22px 44px; }
.screen.is-active { display: block; animation: rise .5s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px) scale(.985); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) { .screen.is-active { animation: none; } }

/* ============================================================
   共通：ボタン（シャンパンゴールド + シマー）
   ============================================================ */
.cta {
  position: relative; width: 100%; border: 0; overflow: hidden;
  border-radius: var(--r-md);
  background: var(--gold-grad);
  background-size: 200% 200%;
  color: #241a04;
  font-size: 17px; font-weight: 800; letter-spacing: .02em;
  padding: 17px 18px; cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform .16s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease, filter .2s ease, opacity .2s ease;
  -webkit-tap-highlight-color: transparent;
  animation: goldflow 6s ease infinite;
}
@keyframes goldflow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
/* シマー・スイープ */
.cta::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .75), transparent);
  transform: skewX(-18deg); filter: blur(2px);
  animation: shimmer 4.6s ease-in-out infinite;
}
@keyframes shimmer { 0% { left: -60%; } 55%, 100% { left: 130%; } }
.cta:hover { filter: brightness(1.04); }
.cta:active { transform: scale(.975); box-shadow: 0 8px 26px -14px var(--gold-glow); }
.cta:disabled {
  background: linear-gradient(135deg, #1c2233, #171c2b);
  color: #616c86; box-shadow: inset 0 0 0 1px var(--hair-soft); cursor: default;
  animation: none;
}
.cta:disabled::after { display: none; }
.cta:focus-visible { outline: 3px solid var(--gold-line); outline-offset: 3px; }
.cta--ghost {
  background: var(--glass); color: var(--gold-2); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--gold-line); animation: none;
}
.cta--ghost::after { display: none; }
.cta--ghost:active { background: var(--glass-2); }

/* ガラス面共通の縁取り（ゴールド・ヘアライン）を疑似要素で */
.picker, .ready, .card, .submitbar__inner, .loader, .done__mark {
  position: relative;
}

/* ============================================================
   [1] 撮影
   ============================================================ */
.brand { display: flex; align-items: center; gap: 13px; margin-bottom: 34px; }
.brand__logo {
  width: 42px; height: 42px; border-radius: 12px; display: block;
  box-shadow: 0 10px 26px -10px var(--gold-glow), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.brand__lockup { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.brand__name {
  margin: 0; font-size: 20px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  background: var(--gold-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 14px var(--gold-glow));
  animation: goldflow 7s ease infinite;
}
.brand__sub {
  font-size: 10px; font-weight: 600; letter-spacing: .42em;
  text-transform: uppercase; color: var(--muted); padding-left: .1em;
}

.hero-copy { margin: 6px 0 32px; }
.hero-copy__title {
  margin: 0 0 16px; font-size: 33px; line-height: 1.3;
  font-weight: 800; letter-spacing: -.015em;
  background: linear-gradient(180deg, #ffffff 0%, #d6dcec 70%, #b7c0d6 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 1px 30px rgba(160, 180, 255, .12);
}
.hero-copy__lead { margin: 0; color: var(--ink-soft); font-size: 15px; opacity: .82; }

.picker {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--glass); backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1.5px dashed rgba(233, 199, 117, .35);
  border-radius: var(--r-xl); padding: 42px 20px;
  text-align: center; cursor: pointer; color: var(--gold-2);
  transition: border-color .25s ease, background .25s ease, transform .16s ease, box-shadow .25s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.picker:active { transform: scale(.99); }
.picker.has-files {
  border-style: solid; border-color: var(--gold-line);
  background: linear-gradient(180deg, rgba(233, 199, 117, .12), rgba(233, 199, 117, .04));
  box-shadow: 0 20px 50px -26px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.picker__icon {
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(233, 199, 117, .3), rgba(233, 199, 117, .08));
  color: var(--gold-1); box-shadow: inset 0 0 0 1px rgba(233, 199, 117, .4);
  transition: transform .3s cubic-bezier(.2, .9, .3, 1.2);
}
.picker.has-files .picker__icon { transform: scale(1.06); }
.picker__title { font-size: 17px; font-weight: 700; color: var(--ink); }
.picker__hint { font-size: 13px; color: var(--muted); }

#appraise-btn { margin-top: 20px; }

.note {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 24px 2px 0; font-size: 12.5px; color: var(--muted); line-height: 1.6;
}
.note__text { flex: 1; min-width: 0; }
.note strong { color: var(--ink-soft); font-weight: 700; white-space: nowrap; }
.note__dot {
  flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 12px 1px rgba(55, 217, 166, .7);
}

/* ============================================================
   [2] 査定中
   ============================================================ */
.screen--loading { display: none; }
.screen--loading.is-active { display: grid; place-items: center; min-height: 80dvh; }
.loader { text-align: center; }
.loader__spin {
  display: block; width: 58px; height: 58px; margin: 0 auto 24px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0%, rgba(233, 199, 117, .15) 25%, var(--gold-2) 90%, var(--gold-1) 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px));
  animation: spin 1s linear infinite;
  filter: drop-shadow(0 0 10px var(--gold-glow));
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loader__spin { animation-duration: 2.6s; } }
.loader__title {
  margin: 0 0 8px; font-size: 20px; font-weight: 700;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.loader__sub { margin: 0; color: var(--muted); font-size: 14px; }

/* ============================================================
   [3] 出品の最終確認
   ============================================================ */
.ready {
  background: linear-gradient(180deg, var(--glass-2), var(--glass));
  backdrop-filter: blur(20px) saturate(150%); -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-radius: var(--r-xl); box-shadow: var(--shadow-card);
  padding: 30px 24px 26px; text-align: center; margin-bottom: 20px;
  overflow: hidden;
}
.ready::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(150deg, var(--gold-line), transparent 40%, transparent 60%, rgba(255, 255, 255, .14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
/* 上部のゴールドの光の帯 */
.ready::after {
  content: ""; position: absolute; top: -40%; left: -20%; width: 140%; height: 80%;
  background: radial-gradient(60% 60% at 50% 0%, rgba(233, 199, 117, .22), transparent 70%);
  pointer-events: none;
}
.ready > * { position: relative; z-index: 1; }
.ready__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(233, 199, 117, .12); color: var(--gold-1);
  font-size: 13.5px; font-weight: 700; padding: 8px 15px; border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(233, 199, 117, .32);
}
.ready__check {
  width: 17px; height: 17px; border-radius: 50%; background: var(--gold-grad);
  position: relative; flex: none; box-shadow: 0 0 10px var(--gold-glow);
}
.ready__check::after {
  content: ""; position: absolute; left: 5.5px; top: 3.5px;
  width: 4px; height: 7px; border: solid #241a04; border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.ready__label {
  margin: 20px 0 6px; font-size: 12px; color: var(--muted);
  letter-spacing: .14em; text-transform: uppercase;
}
.ready__total {
  margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.ready__yen { font-size: 26px; font-weight: 700; }
.ready__num {
  font-size: 52px; font-variant-numeric: tabular-nums;
  background: var(--gold-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 22px var(--gold-glow));
  animation: goldflow 5s ease infinite;
}
.ready__sub { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); }
.ready__sub b { color: var(--emerald); font-weight: 700; }

/* 売り方トグル（ガラスのセグメント）*/
.mode {
  display: flex; gap: 4px; padding: 5px;
  background: rgba(255, 255, 255, .05); border-radius: 15px; margin-bottom: 9px;
  box-shadow: inset 0 0 0 1px var(--hair-soft);
}
.mode__btn {
  flex: 1; border: 0; background: transparent; cursor: pointer;
  font-size: 15px; font-weight: 700; color: var(--muted);
  padding: 10px 8px; border-radius: 11px;
  transition: color .2s ease, box-shadow .25s ease, background .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.mode__btn.is-on {
  color: #241a04;
  background: var(--gold-grad);
  box-shadow: 0 6px 18px -8px var(--gold-glow), inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.mode__btn:focus-visible { outline: 3px solid var(--gold-line); outline-offset: 2px; }
.mode__hint { margin: 0 4px 22px; font-size: 12.5px; color: var(--muted); }

.list-head { display: flex; align-items: baseline; justify-content: space-between; margin: 0 2px 14px; }
.list-head__title { margin: 0; font-size: 17px; font-weight: 700; color: var(--ink); }
.list-head__note { margin: 0; font-size: 12.5px; color: var(--muted); }

.cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 15px; row-gap: 10px;
  background: var(--glass); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-radius: var(--r-md); box-shadow: 0 12px 34px -22px rgba(0, 0, 0, .8);
  padding: 17px;
  transition: opacity .25s ease, filter .25s ease, transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
  animation: cardin .55s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes cardin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.card:nth-child(1) { animation-delay: .02s; }
.card:nth-child(2) { animation-delay: .07s; }
.card:nth-child(3) { animation-delay: .12s; }
.card:nth-child(4) { animation-delay: .17s; }
.card:nth-child(5) { animation-delay: .22s; }
.card:nth-child(6) { animation-delay: .27s; }
.card:nth-child(n+7) { animation-delay: .32s; }
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .16), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.card:active { transform: scale(.995); }
.card.is-off { opacity: .42; filter: grayscale(.7); }
@media (prefers-reduced-motion: reduce) { .card { animation: none; } }

.card__rank {
  grid-column: 1; grid-row: 1 / span 2; align-self: start;
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #fff;
  position: relative; z-index: 1;
}
.card__body { grid-column: 2; grid-row: 1 / span 2; align-self: center; position: relative; z-index: 1; }
.rank-S { background: var(--gold-grad); color: #241a04; box-shadow: 0 8px 20px -8px var(--gold-glow), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.rank-A { background: linear-gradient(135deg, #45E3B0, #22A97C); box-shadow: 0 8px 20px -10px rgba(55, 217, 166, .7); }
.rank-B { background: linear-gradient(135deg, #8FA0C0, #5E6E90); }
.rank-C { background: linear-gradient(135deg, #7E889E, #4E5872); }

.card__name { font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); word-break: keep-all; overflow-wrap: anywhere; }
.card__plan { margin-top: 4px; font-size: 12px; color: var(--muted); line-height: 1.45; }
.card__alt { margin-top: 2px; font-size: 12px; color: var(--muted); }
.card__alt b { color: var(--emerald); font-weight: 700; }
.card__meta { margin-top: 3px; font-size: 11.5px; color: var(--muted); line-height: 1.35; font-variant-numeric: tabular-nums; word-break: break-all; }
.card__hint { margin-top: 6px; font-size: 11px; line-height: 1.4; color: #F3E0AE; opacity: .82; }
.card__ch { margin-top: 7px; display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 10.5px; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; line-height: 1; white-space: nowrap; }
.chip--vendor { color: #F3E0AE; background: rgba(224, 199, 117, .12); box-shadow: inset 0 0 0 1px rgba(224, 199, 117, .3); }
.chip--c2c { color: #9EE9CE; background: rgba(55, 217, 166, .12); box-shadow: inset 0 0 0 1px rgba(55, 217, 166, .32); }
.card__price {
  grid-column: 3; grid-row: 1; align-self: center; position: relative; z-index: 1;
  text-align: right; font-size: 15.5px; font-weight: 800; line-height: 1.25;
  font-variant-numeric: tabular-nums; max-width: 128px;
  background: linear-gradient(180deg, #ffffff, #d7ddee);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* トグルスイッチ（ゴールド）*/
.switch { grid-column: 3; grid-row: 2; justify-self: end; align-self: end; position: relative; z-index: 1; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track {
  display: block; width: 52px; height: 31px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); position: relative; cursor: pointer;
  transition: background .25s ease, box-shadow .25s ease;
  box-shadow: inset 0 0 0 1px var(--hair-soft);
}
.switch__track::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 27px; height: 27px; border-radius: 50%; background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .5); transition: transform .25s cubic-bezier(.2, .9, .3, 1.3);
}
.switch input:checked + .switch__track {
  background: var(--gold-grad);
  box-shadow: 0 0 16px -2px var(--gold-glow), inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.switch input:checked + .switch__track::after { transform: translateX(21px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--gold-line); outline-offset: 2px; }

.foot {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  margin: 24px 6px 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5;
}

.bar-spacer { height: 96px; }

/* スティッキー出品バー（ガラス）*/
.submitbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: linear-gradient(180deg, rgba(8, 10, 18, .3), rgba(8, 10, 18, .78));
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--hair);
  padding: 13px 22px calc(13px + var(--safe-b));
}
.submitbar__inner { max-width: 520px; margin: 0 auto; }
.cta--submit { font-size: 17px; }

/* ============================================================
   [4] 出品しました
   ============================================================ */
.screen--done { display: none; }
.screen--done.is-active { display: grid; place-items: center; min-height: 82dvh; }
.done { text-align: center; max-width: 330px; }
.done__mark {
  width: 96px; height: 96px; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(233, 199, 117, .28), rgba(233, 199, 117, .06));
  display: grid; place-items: center; margin: 0 auto 26px;
  box-shadow: 0 0 0 1px rgba(233, 199, 117, .4) inset, 0 20px 50px -18px var(--gold-glow);
  animation: pop .55s cubic-bezier(.2, .9, .3, 1.3) both;
}
.done__mark::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 1.5px solid rgba(233, 199, 117, .35);
  animation: ring 2.4s ease-out infinite;
}
.done__mark::after {
  content: ""; width: 32px; height: 17px; border: solid var(--gold-1);
  border-width: 0 0 5px 5px; transform: rotate(-45deg) translate(2px, -3px);
  border-radius: 2px; filter: drop-shadow(0 2px 8px var(--gold-glow));
}
@keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ring {
  0% { transform: scale(.9); opacity: .8; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .done__mark, .done__mark::before { animation: none; } }
.done__title {
  margin: 0 0 10px; font-size: 27px; font-weight: 800;
  background: linear-gradient(180deg, #ffffff, #d6dcec);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.done__sum { margin: 0 0 22px; font-size: 15px; color: var(--muted); }
.done__sum b { color: var(--gold-1); font-weight: 700; }
.done__note { margin: 0 0 28px; font-size: 12px; color: var(--muted); }

/* ---- トースト ---- */
.toast {
  position: fixed; left: 50%; bottom: calc(104px + var(--safe-b));
  transform: translate(-50%, 12px); z-index: 40;
  background: rgba(16, 20, 34, .92); color: #fff; font-size: 14px; font-weight: 600;
  padding: 13px 20px; border-radius: 13px; opacity: 0; pointer-events: none;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .8), inset 0 0 0 1px var(--hair);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: opacity .25s ease, transform .25s ease; max-width: 86vw; text-align: center;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
