/* 割符（warifu）— 和モダン。生成り × 朱一点。文字は一系で、余白で明瞭に。 */
:root{
  --wa-bg:#ece1c9;
  --wa-bg-2:#e2d6b8;
  --wa-card:rgba(241,233,214,.90);
  --wa-ink:#2b2620;
  --wa-sub:#6c6355;
  --wa-line:rgba(43,38,32,.18);
  --wa-ai:#2b2620;
  --wa-shu:#c3402b;
  --wa-kin:#a9822f;
  --wa-ok:#4a7247;
  --wa-paper:#f8f2e6;
  --wa-shadow:0 1px 2px rgba(50,38,22,.10),0 18px 34px -18px rgba(60,45,25,.32);

  /* 型スケール（全画面共通） */
  --fs-xs:12px;     /* hint / meta / 補足 */
  --fs-sm:13px;     /* label / section */
  --fs-md:14px;     /* lead / 本文寄り */
  --fs-base:15px;   /* セグメント・チップ */
  --fs-ui:16px;     /* 名前・入力 */
  --fs-btn:17px;
  --lh:1.65;
  --ls-label:.5px;

  /* 書体：本文＝筆、UIラベル＝角ゴ、金額＝宿 */
  --font-body:"Klee One","Zen Kaku Gothic New","Hiragino Kaku Gothic ProN",sans-serif;
  --font-ui:"Zen Kaku Gothic New","Hiragino Kaku Gothic ProN","Klee One",sans-serif;
  --font-display:"Yuji Syuku","Shippori Mincho","Yu Mincho",serif;
}
*{box-sizing:border-box}
html,body{margin:0}
body{
  font-family:var(--font-body);
  font-weight:400;
  color:var(--wa-ink);
  line-height:var(--lh);
  -webkit-font-smoothing:antialiased;
  min-height:100dvh;
  background:
    radial-gradient(140% 90% at 20% 6%, rgba(255,251,238,.7), transparent 55%),
    radial-gradient(120% 80% at 85% 30%, rgba(196,178,138,.28), transparent 60%),
    radial-gradient(150% 120% at 50% 118%, rgba(120,96,52,.20), transparent 55%),
    linear-gradient(165deg, #efe6d1 0%, var(--wa-bg) 50%, var(--wa-bg-2) 100%);
  background-attachment:fixed;
}
body::before{
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  opacity:.42; mix-blend-mode:multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.028 0.32' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.26 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='130' height='130'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size:220px 220px, 130px 130px;
}
#pond{position:fixed; inset:0; width:100%; height:100%; z-index:0; pointer-events:none;}
#pond-surface{position:fixed; inset:0; width:100%; height:100%; z-index:40; pointer-events:none; filter:blur(.6px); mix-blend-mode:soft-light;}
.wrap{position:relative; z-index:1; max-width:520px; margin:0 auto; padding:24px 20px calc(40px + env(safe-area-inset-bottom));}
.mincho{font-family:var(--font-display);}
.tnum{font-variant-numeric:tabular-nums; font-feature-settings:"tnum" 1;}

/* —— ラベル／補足（全画面で同一） —— */
.label,
.section-title,
.gauge-top .k,
.settle-total,
.per .k,
.preview-hero .k{
  font-family:var(--font-ui);
  font-size:var(--fs-sm);
  font-weight:700;
  color:var(--wa-sub);
  letter-spacing:var(--ls-label);
  margin:0 0 8px;
  line-height:1.4;
}
.label-gap{margin-top:18px;}
.section-title{margin:20px 2px 8px;}
.btn-stack{margin-top:10px;}
.edit-actions{display:flex; gap:10px; margin-top:12px;}
.edit-actions .edit-cancel{flex:1; padding:14px 0;}
.edit-actions .edit-save{flex:2;}
.hint,
.unit-explain,
.preview-note,
.per-sub,
.meta,
.lead{
  font-family:var(--font-body);
  font-weight:400;
  color:var(--wa-sub);
  line-height:1.55;
}
.hint,
.unit-explain,
.preview-note,
.per-sub{font-size:var(--fs-xs); margin:10px 0 0;}
.hint-tight{margin:0 0 8px;}
.hint-before-seg{margin:0 0 10px;}
.lead{font-size:var(--fs-md); margin:2px 0 18px;}
.err{
  font-family:var(--font-ui);
  color:var(--wa-shu);
  font-size:var(--fs-sm);
  margin-top:10px;
  min-height:1em;
  font-weight:500;
}

/* ブランド */
.brand{display:flex; align-items:center; gap:12px; margin:8px 0 4px;}
.brand-link{
  justify-content:center; margin-bottom:6px; text-decoration:none; color:inherit;
}
.brand .mark{
  font-family:var(--font-display); font-weight:400; font-size:40px; letter-spacing:3px;
  color:var(--wa-ink);
}
.brand .mark-sm{font-size:32px;}
.seal{
  display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px;
  border:2px solid var(--wa-shu); border-radius:6px; color:var(--wa-shu);
  font-family:var(--font-display); font-size:15px; line-height:1; letter-spacing:0;
  transform:rotate(-4deg); flex:none;
  box-shadow:0 1px 6px rgba(216,69,44,.25) inset;
}
.brand .sub{
  font-family:var(--font-ui);
  font-size:var(--fs-xs);
  font-weight:500;
  color:var(--wa-sub);
  letter-spacing:1px;
}

/* カード＝和紙 */
.card{
  position:relative; z-index:0;
  padding:22px; margin-bottom:18px; background:transparent;
}
.card::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background-color:var(--wa-card);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='c'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23c)'/%3E%3C/svg%3E");
  background-size:140px 140px; background-blend-mode:multiply;
  border-radius:9px;
  box-shadow:var(--wa-shadow), 0 0 0 1px rgba(255,250,238,.45) inset;
  filter:url(#deckle);
}

/* 使い方：カードではなく細い補助行（本文と同系） */
.howto{
  list-style:none; display:flex; gap:0; padding:0; margin:0 0 22px;
  border-top:1px solid var(--wa-line);
  border-bottom:1px solid var(--wa-line);
}
.howto li{
  flex:1; text-align:center;
  font-family:var(--font-body);
  font-size:var(--fs-xs);
  font-weight:400;
  color:var(--wa-sub);
  line-height:1.45;
  padding:12px 6px;
  position:relative;
}
.howto li + li::before{
  content:""; position:absolute; left:0; top:22%; bottom:22%; width:1px;
  background:var(--wa-line);
}
.howto li b{
  font-family:var(--font-ui);
  font-weight:700;
  color:var(--wa-ink);
  display:block;
  margin-bottom:2px;
  font-size:var(--fs-sm);
  letter-spacing:var(--ls-label);
}
.howto li span{display:block;}

/* 入力 */
.amount-input{display:flex; align-items:center; gap:8px; border-bottom:2px solid var(--wa-line); padding:4px 2px;}
.amount-input .yen{
  font-family:var(--font-display);
  font-size:28px; color:var(--wa-shu); font-weight:400;
}
.amount-input input{
  border:0; background:transparent; outline:none; width:100%;
  font-family:var(--font-display); font-size:48px; font-weight:400; color:var(--wa-ink); letter-spacing:1px;
}
.amount-input input::placeholder{color:var(--wa-sub); opacity:.3; font-weight:400;}
.amount-input:focus-within{border-bottom-color:var(--wa-shu);}

input[type=text]{
  width:100%; border:1px solid var(--wa-line); border-radius:10px; padding:12px 14px;
  font-family:var(--font-body);
  font-size:var(--fs-ui); font-weight:400;
  background:var(--wa-paper); color:var(--wa-ink); outline:none;
}
input[type=text]:focus{border-color:var(--wa-ai);}
input[type=text]::placeholder{color:var(--wa-sub); opacity:.55;}

/* 参加者チップ */
.chips{display:flex; flex-wrap:wrap; gap:8px; margin:10px 0;}
.chip{
  display:inline-flex; align-items:center; gap:6px;
  background:var(--wa-paper); border:1px solid var(--wa-line);
  border-radius:999px; padding:7px 12px;
  font-family:var(--font-body);
  font-size:var(--fs-base); font-weight:400;
}
.chip .x{color:var(--wa-sub); cursor:pointer; font-weight:600; line-height:1; padding:0 2px;}
.add-row{display:flex; gap:8px;}
.add-row button{white-space:nowrap;}

/* 単位セグメント（本文と同系の1行＋小さな副題） */
.seg{
  display:flex; border:1px solid var(--wa-line); border-radius:10px;
  overflow:hidden; background:var(--wa-paper);
}
.seg button{
  flex:1; border:0; background:transparent;
  padding:11px 4px; cursor:pointer;
  font-family:var(--font-ui);
  font-size:var(--fs-base);
  font-weight:500;
  color:var(--wa-sub);
  line-height:1.25;
}
.seg button.active{
  background:var(--wa-ai); color:#fff; font-weight:700;
}
.seg-rich button{
  display:flex; flex-direction:column; align-items:center; gap:3px;
  padding:10px 4px 9px;
}
.seg-rich .seg-main{
  font-size:var(--fs-base);
  font-weight:inherit;
  letter-spacing:.5px;
}
.seg-rich .seg-sub{
  font-family:var(--font-body);
  font-size:10px;
  font-weight:400;
  letter-spacing:.3px;
  opacity:.8;
}
.seg-rich button.active .seg-sub{opacity:.9; color:rgba(255,255,255,.88);}
.unit-explain{min-height:2.5em;}

/* 金額ハイライト（作成プレビュー＝精算の .per と同型） */
.per,
.preview-hero{
  margin-top:4px; padding:18px 16px; text-align:center;
  background:linear-gradient(180deg, rgba(255,252,244,.55), rgba(206,190,155,.24));
  border:1px solid var(--wa-line); border-radius:10px;
  box-shadow:0 1px 0 rgba(255,250,238,.5) inset;
}
.per{margin-top:12px;}
.preview-hero.compact{padding:12px 12px 10px; margin:12px 0 0;}
.per .k,
.preview-hero .k{
  margin:0 0 4px;
  letter-spacing:1px;
}
.per .v,
.preview-hero .v{
  font-family:var(--font-display);
  font-size:54px; font-weight:400; color:var(--wa-ink);
  line-height:1.05; letter-spacing:2px;
}
.preview-hero .v{font-size:48px;}
.per .v .yen,
.preview-hero .v .yen{
  font-size:30px; color:var(--wa-shu); font-weight:400;
}
.preview-hero .v .yen{font-size:26px;}
.preview-hero .sub,
.per-sub{
  font-size:var(--fs-xs);
  color:var(--wa-sub);
  margin-top:6px;
  letter-spacing:.3px;
}

/* 内訳表：線は薄く、文字は label/金額の対 */
.breakdown{margin:12px 0 0; padding:0;}
.breakdown .row{
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
  padding:9px 0;
  border-bottom:1px solid var(--wa-line);
  font-size:var(--fs-sm);
}
.breakdown .row:last-child{border-bottom:0;}
.breakdown dt{
  font-family:var(--font-body);
  font-weight:400;
  color:var(--wa-sub);
  margin:0; flex:1; min-width:0;
  line-height:1.4;
}
.breakdown dd{
  margin:0;
  font-family:var(--font-ui);
  font-weight:700;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
  color:var(--wa-ink);
  white-space:nowrap;
  font-size:var(--fs-md);
}
.breakdown .row-emph dt{
  font-family:var(--font-ui);
  font-weight:700;
  color:var(--wa-ink);
}
.breakdown .row-emph dd{
  color:var(--wa-shu);
  font-size:var(--fs-base);
}
.breakdown .row-emph.is-even dd{color:var(--wa-ok);}

/* 補足文：枠なし（hint と同型） */
.preview-note{
  margin-top:12px;
  padding:0;
  background:none;
  box-shadow:none;
  border-radius:0;
}
.preview-inline{margin-top:4px;}
.settle-breakdown{margin-top:14px;}
.meta-foot{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px;
  margin-top:12px;
  font-size:var(--fs-xs);
  color:var(--wa-sub);
}

/* FAQ＝notice と同じ和紙パネル */
.faq{
  position:relative; z-index:0;
  margin:18px 0 8px;
  font-size:var(--fs-xs);
  color:var(--wa-sub);
  background:transparent;
}
.faq::before{
  content:""; position:absolute; inset:0; z-index:-1; border-radius:8px;
  background:rgba(248,242,230,.7);
  box-shadow:0 1px 3px rgba(60,45,25,.10);
  filter:url(#deckle-sm);
}
.faq summary{
  cursor:pointer;
  padding:12px 14px;
  font-family:var(--font-ui);
  font-size:var(--fs-sm);
  font-weight:700;
  color:var(--wa-ink);
  letter-spacing:var(--ls-label);
  list-style:none;
  display:flex; align-items:center; justify-content:space-between; gap:8px;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{
  content:"＋";
  font-family:var(--font-ui);
  color:var(--wa-shu);
  font-weight:700;
  font-size:15px;
  line-height:1;
}
.faq[open] summary::after{content:"−";}
.faq-body{
  padding:0 14px 14px;
  font-family:var(--font-body);
  font-size:var(--fs-xs);
  font-weight:400;
  line-height:1.65;
  color:var(--wa-sub);
}
.faq-body p{margin:0 0 10px;}
.faq-body p:last-child{margin-bottom:0;}
.faq-body b{
  font-family:var(--font-ui);
  font-weight:700;
  color:var(--wa-ink);
}

/* ボタン */
.btn{
  display:block; width:100%; border:0; border-radius:12px; padding:16px; cursor:pointer;
  font-family:var(--font-ui);
  font-size:var(--fs-btn);
  font-weight:700;
  letter-spacing:1px;
}
.btn-primary{background:var(--wa-shu); color:#fff; box-shadow:0 6px 16px -6px rgba(198,64,47,.6);}
.btn-primary:active{transform:translateY(1px);}
.btn-ghost{
  background:transparent; color:var(--wa-ai); border:1px solid var(--wa-line);
  font-weight:700;
}
.btn:disabled{opacity:.5;}

/* ===== 精算ページ ===== */
.settle-head{text-align:center; padding:6px 0 2px;}
.settle-total{margin:0 0 2px; text-align:center;}
.settle-amount{
  font-family:var(--font-display); font-weight:400; font-size:32px;
  margin:2px 0; letter-spacing:1px;
}

/* 回収ゲージ */
.gauge-wrap{margin:18px 0 6px;}
.gauge-top{display:flex; justify-content:space-between; align-items:baseline; margin-bottom:6px;}
.gauge-top .k{margin:0; color:var(--wa-ink);}
.gauge-top .v{
  font-family:var(--font-ui);
  font-size:var(--fs-sm);
  font-weight:500;
  color:var(--wa-sub);
}
.gauge{height:12px; border-radius:8px; background:rgba(35,32,27,.08); overflow:hidden;}
.gauge-bar{height:100%; width:0; border-radius:8px; background:linear-gradient(90deg,var(--wa-shu),var(--wa-kin)); transition:width .5s ease;}
.gauge-done .gauge-bar{background:linear-gradient(90deg,var(--wa-ok),var(--wa-kin));}
.gauge-track{position:relative;}
.gauge-fish{
  position:absolute; top:50%; left:0; width:30px; height:20px; z-index:2; pointer-events:none;
  transform:translate(-50%,-50%);
  transition:left .55s cubic-bezier(.35,1,.45,1);
}
.gauge-fish .gf{width:100%; height:100%; display:block; filter:drop-shadow(0 1px 2px rgba(60,45,25,.28)); animation:gf-swim 1.25s ease-in-out infinite;}
@keyframes gf-swim{0%,100%{transform:translateY(-1.5px) rotate(-5deg);} 50%{transform:translateY(1.5px) rotate(5deg);}}
@media (prefers-reduced-motion:reduce){ .gauge-fish{transition:none;} .gauge-fish .gf{animation:none;} }

/* 参加者行 */
.plist{list-style:none; padding:0; margin:14px 0 0;}
.prow{
  display:flex; align-items:center; gap:12px; padding:14px;
  border-radius:12px; margin-bottom:10px;
  position:relative; z-index:0; background:transparent; border:0;
}
.prow::before{
  content:""; position:absolute; inset:0; z-index:-1; border-radius:8px;
  background:var(--wa-paper); box-shadow:0 1px 3px rgba(60,45,25,.12); filter:url(#deckle-sm);
}
.prow.is-paid::before{background:var(--wa-bg-2);}
.prow.is-me::before{background:#f5edda;}
.pname{
  font-family:var(--font-ui);
  font-size:var(--fs-ui);
  font-weight:700;
  flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; cursor:pointer;
}
.pname .tag{
  font-size:11px; color:#fff; background:var(--wa-ai); border-radius:6px;
  padding:1px 7px; margin-left:6px; font-weight:700;
  font-family:var(--font-ui);
  vertical-align:middle;
}
.pamt{
  font-family:var(--font-ui);
  font-size:var(--fs-btn);
  font-weight:700;
  color:var(--wa-ink);
  font-variant-numeric:tabular-nums;
}
.pamt .yen{font-size:var(--fs-sm); color:var(--wa-sub); font-weight:500;}
.stamp{
  display:none; align-items:center; justify-content:center; width:38px; height:38px; flex:none;
  border:2px solid var(--wa-shu); color:var(--wa-shu); border-radius:7px;
  font-family:var(--font-display);
  font-weight:400; font-size:19px; transform:rotate(-8deg);
  box-shadow:0 1px 6px rgba(216,69,44,.22) inset;
}
.prow.is-paid .stamp{display:inline-flex;}
.paybtn{
  flex:none;
  border:0; background:transparent; color:var(--wa-ai); border-radius:10px;
  padding:9px 14px;
  font-family:var(--font-ui);
  font-size:var(--fs-sm);
  font-weight:700;
  cursor:pointer; white-space:nowrap;
  position:relative; z-index:0;
}
.prow.is-paid .paybtn{color:var(--wa-sub);}

.notice{
  position:relative; z-index:0;
  font-family:var(--font-body);
  font-size:var(--fs-xs);
  font-weight:400;
  color:var(--wa-sub);
  padding:12px 14px;
  margin-top:16px;
  line-height:1.55;
  background:transparent; border:0;
}
.notice::before{
  content:""; position:absolute; inset:0; z-index:-1; border-radius:8px;
  background:rgba(248,242,230,.7); box-shadow:0 1px 3px rgba(60,45,25,.10); filter:url(#deckle-sm);
}
.notice b{
  font-family:var(--font-ui);
  font-weight:700;
  color:var(--wa-ink);
}
.center{text-align:center;}
.empty{
  text-align:center; color:var(--wa-sub); padding:40px 0;
  font-family:var(--font-body); font-size:var(--fs-md);
}
.toast{
  position:fixed; left:50%; bottom:calc(20px + env(safe-area-inset-bottom)); transform:translateX(-50%);
  background:var(--wa-ink); color:#fff; padding:11px 18px; border-radius:999px;
  font-family:var(--font-ui);
  font-size:var(--fs-sm);
  font-weight:500;
  opacity:0; pointer-events:none; transition:opacity .25s; z-index:50;
}
.toast.show{opacity:1;}
@media (prefers-reduced-motion:reduce){ *{transition:none!important} }

.new-link{text-align:center; margin:20px 0 4px;}
.new-link a{
  display:inline-block; color:var(--wa-shu);
  font-family:var(--font-ui);
  font-weight:700; font-size:var(--fs-base);
  text-decoration:none;
  border-radius:999px; padding:11px 22px;
  position:relative; z-index:0;
}

/* ボタン＝札の耳 */
.btn, .paybtn, .new-link a, .ks-close, .btn-ghost{position:relative; z-index:0;}
.btn::before, .paybtn::before, .new-link a::before, .ks-close::before, .btn-ghost::before{
  content:""; position:absolute; inset:0; z-index:-1; border-radius:9px; filter:url(#deckle-sm);
}
.btn-primary{background:transparent !important; box-shadow:none !important;}
.btn-primary::before{background:var(--wa-shu); box-shadow:0 7px 16px -7px rgba(195,64,43,.6);}
.btn-ghost{background:transparent !important; border:0 !important;}
.btn-ghost::before{background:rgba(248,242,230,.6); box-shadow:inset 0 0 0 1px var(--wa-line);}
.paybtn{background:transparent !important; border:0 !important;}
.paybtn::before{background:var(--wa-paper); box-shadow:0 1px 3px rgba(60,45,25,.14); border-radius:8px;}
.new-link a{background:transparent !important; border:0 !important;}
.new-link a::before{background:rgba(195,64,43,.06); box-shadow:inset 0 0 0 1.5px var(--wa-shu);}
.ks-close::before{background:transparent; box-shadow:inset 0 0 0 1px var(--wa-line);}

/* 音 */
.mute-btn{
  position:fixed; top:calc(10px + env(safe-area-inset-top)); right:12px; z-index:45;
  width:42px; height:42px; border-radius:50%; border:1px solid var(--wa-line);
  background:var(--wa-card); color:var(--wa-ink); cursor:pointer; line-height:1;
  font-family:var(--font-display); font-size:21px; font-weight:400;
  box-shadow:0 2px 9px -4px rgba(60,45,25,.5), 0 0 0 1px rgba(255,250,238,.4) inset;
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
}
.mute-btn.off{color:var(--wa-sub); opacity:.72;}

/* ===== 記念品 ===== */
.keepsake{
  position:fixed; inset:0; z-index:60; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:16px; padding:22px; background:rgba(28,22,14,.52); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px);
  transition:opacity .5s ease; overflow:auto;
}
.ks-controls{text-align:center;}
.ks-controls .ks-hint{color:rgba(246,238,220,.82); margin:0 0 8px; transition:opacity .8s ease;}
.ks-controls .ks-hint.faded{opacity:0;}
.keepsake.hidden{display:none;}
.keepsake.enter{opacity:0;}
.ks-sheet{
  position:relative; z-index:0; width:100%; max-width:390px; text-align:center;
  padding:38px 26px 24px; color:var(--wa-ink);
  animation:ks-rise .7s cubic-bezier(.2,.9,.3,1) both;
}
.ks-sheet::before{
  content:""; position:absolute; inset:0; z-index:-1; border-radius:8px;
  background-color:#f4edd9;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.34 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
  background-size:150px 150px; background-blend-mode:multiply;
  box-shadow:0 34px 70px -22px rgba(0,0,0,.55); filter:url(#deckle);
}
@keyframes ks-rise{from{opacity:0; transform:translateY(24px) scale(.97);} to{opacity:1; transform:none;}}
.ks-seal{
  position:absolute; top:16px; right:18px; width:52px; height:52px;
  border:2.5px solid var(--wa-shu); border-radius:8px; color:var(--wa-shu);
  display:flex; align-items:center; justify-content:center; transform:rotate(-6deg);
  font-family:var(--font-display); font-size:19px; letter-spacing:1px; line-height:1.05;
  box-shadow:0 2px 10px rgba(195,64,43,.25) inset; writing-mode:vertical-rl;
}
.ks-kicker{
  font-family:var(--font-ui);
  font-size:var(--fs-xs); letter-spacing:4px; color:var(--wa-sub); margin-top:4px;
}
.ks-title{font-family:var(--font-display); font-weight:400; font-size:52px; letter-spacing:8px; margin:2px 0 4px; color:var(--wa-ink);}
.ks-sub{font-family:var(--font-body); font-size:var(--fs-md); color:var(--wa-sub); margin:0 0 14px;}
.ks-amount{font-family:var(--font-display); font-weight:400; font-size:52px; line-height:1; color:var(--wa-ink); letter-spacing:2px;}
.ks-amount .yen{font-size:28px; color:var(--wa-shu);}
.ks-meta{
  display:flex; justify-content:center; gap:14px;
  font-family:var(--font-body);
  font-size:var(--fs-sm); color:var(--wa-sub); margin:8px 0 16px;
}
.ks-meta b{font-family:var(--font-ui); font-weight:700; color:var(--wa-ink);}
.ks-names{list-style:none; padding:0; margin:0 0 18px; display:flex; flex-wrap:wrap; justify-content:center; gap:8px;}
.ks-names li{
  display:inline-flex; align-items:center; gap:5px;
  font-family:var(--font-body);
  font-size:var(--fs-sm);
  padding:5px 11px 5px 9px; border-radius:999px; background:rgba(255,252,244,.6);
  box-shadow:inset 0 0 0 1px var(--wa-line);
}
.ks-names li::before{content:"済"; font-family:var(--font-display); color:var(--wa-shu); font-size:13px;}
.ks-foot{display:flex; align-items:center; justify-content:center; gap:12px; margin-top:6px;}
.ks-brand{font-family:var(--font-display); font-size:20px; color:var(--wa-ink); letter-spacing:2px;}
.ks-date{font-family:var(--font-ui); font-size:var(--fs-xs); color:var(--wa-sub);}
.ks-hint{font-size:var(--fs-xs); color:var(--wa-sub); margin:14px 0 4px;}
.ks-close{
  border:0; background:transparent; color:rgba(246,238,220,.92);
  font-family:var(--font-ui);
  font-size:var(--fs-sm); font-weight:700;
  padding:11px 26px; border-radius:9px; cursor:pointer;
}
.ks-close::before{background:rgba(255,255,255,.06) !important; box-shadow:inset 0 0 0 1px rgba(246,238,220,.4) !important;}
