@font-face{font-family:Bodoni;src:url(/fonts/bodoni.woff2) format("woff2");font-weight:400 900;font-display:swap}
:root{--n:#0C0F1A;--n2:#151A2A;--n3:#1E2438;--ink:#EDE8DC;--mute:#A39E92;--gold:#D8B36A;--goldD:#C49E55}
*{box-sizing:border-box;margin:0}
html{background:var(--n);-webkit-text-size-adjust:100%}
body{font-family:Bodoni,Georgia,serif;font-optical-sizing:auto;color:var(--ink);background:var(--n);font-size:18px;line-height:1.5;font-weight:500;-webkit-font-smoothing:antialiased;padding-bottom:calc(96px + env(safe-area-inset-bottom))}
body.plain{padding-bottom:0}
p{text-wrap:pretty}
button,input{font:inherit;color:inherit}
a{color:inherit}
:focus{outline:none}:focus-visible{box-shadow:0 0 0 3px var(--gold);border-radius:14px}
.top{display:flex;justify-content:center;padding:16px 18px 0}
.mark{display:inline-flex;align-items:center;gap:10px;text-decoration:none;font-weight:600;font-size:1.25rem;min-height:44px;letter-spacing:.01em}
.mark svg{width:30px;height:30px}
main{max-width:1180px;margin:0 auto;padding:0 18px}
.lead{text-align:center;padding:22px 0 18px}
h1{font-size:clamp(2.1rem,8.6vw,4rem);line-height:1.02;font-weight:500;letter-spacing:-.01em;text-wrap:balance;max-width:16ch;margin:0 auto}
.lede{color:var(--mute);max-width:36ch;margin:12px auto 0}
.print{width:100%;margin:0 auto;display:flex;justify-content:center}
.print canvas{display:block;border-radius:6px;box-shadow:0 24px 60px rgba(0,0,0,.55)}
.ctl{max-width:560px;margin:26px auto 0}
.lbl{font-size:1.05rem;font-weight:600;margin:24px 0 10px;color:var(--ink)}
.slips{list-style:none;padding:0;display:grid;gap:8px}
.slip{width:100%;border:0;background:var(--n2);border-radius:20px;min-height:72px;padding:12px 16px 12px 12px;display:flex;align-items:center;gap:14px;text-align:left;cursor:pointer;transition:background .15s,transform .12s}
.slip:hover{background:var(--n3)}.slip:active,.btn:active{transform:scale(.97)}
.mini svg{width:44px;height:44px;display:block}
.tx{display:flex;flex-direction:column;min-width:0}.tx b{font-weight:600;font-size:1.08rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tx span{color:var(--mute);font-size:.9rem}
.btn{border:0;cursor:pointer;min-height:50px;padding:0 22px;border-radius:999px;font-weight:600;transition:transform .12s,background .15s}
.btn.tone{background:var(--n2)}.btn.tone:hover{background:var(--n3)}
.btn.gold{background:var(--gold);color:#17130A}.btn.gold:hover{background:var(--goldD)}
.btn.ghost{background:transparent;color:var(--mute)}
#addB{width:100%;margin-top:8px}.wide{width:100%;margin-top:14px}
.ways{display:flex;gap:8px}
.ways button{flex:1;border:0;background:var(--n2);border-radius:20px;min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;cursor:pointer;font-weight:550}
.ways button i{width:34px;height:34px;border-radius:50%;display:block}
.ways button[aria-checked=true],.sizes button[aria-checked=true],.seg button[aria-checked=true]{background:var(--ink);color:var(--n)}
.fld{display:flex;flex-direction:column;gap:6px;margin-top:10px;font-size:.92rem;color:var(--mute);font-weight:550}
.fld input{min-height:52px;border:0;border-radius:16px;background:var(--n2);padding:0 16px;font-size:1.05rem;color:var(--ink)}
.fld input:focus-visible{box-shadow:none;background:var(--n3)}
.fld input::placeholder{color:#9C978B}
.fld input[type=date],.fld input[type=time]{color-scheme:dark}
.sizes{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px}
.sizes button{border:0;background:var(--n2);border-radius:18px;min-height:64px;padding:8px 14px;text-align:left;cursor:pointer;display:flex;flex-direction:column;justify-content:center}
.sizes button span{font-size:.84rem;color:var(--mute)}.sizes button[aria-checked=true] span{color:#3d3a33}
.seg{display:flex;background:var(--n2);border-radius:999px;padding:4px;gap:4px;margin-top:14px}
.seg button{flex:1;border:0;background:transparent;min-height:44px;border-radius:999px;font-weight:550;cursor:pointer}
.next{margin-top:18px;color:var(--mute);font-size:.98rem}.next b{color:var(--ink);font-weight:600}
.news{max-width:560px;margin:40px auto 0;padding:26px 22px;background:var(--n2);border-radius:28px}
.news h2{font-size:1.6rem;font-weight:500}.news p{color:var(--mute);margin:8px 0 16px}
.sub{display:flex;flex-wrap:wrap;gap:8px}.sub .in{flex:1 1 200px;min-height:52px;border:0;border-radius:999px;padding:0 20px;background:var(--n3);color:var(--ink)}.sub .in::placeholder{color:#A39E92}
.sub .err{flex-basis:100%;color:#F0A898;font-size:.9rem}.news .ok{margin:0;color:var(--ink)}
.hp{border:0;padding:0;position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.guide{max-width:680px;margin:60px auto 0;padding:0 18px}
.guide h2{font-size:1.9rem;font-weight:500;margin:42px 0 12px;line-height:1.1}
.guide h3{font-size:1.1rem;font-weight:600;margin:22px 0 6px}
.guide p{margin:0 0 14px;color:#D6D0C3;max-width:62ch}
.cal{list-style:none;padding:0;display:grid;gap:6px;margin:10px 0 16px}.cal li{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px 14px;background:var(--n2);border-radius:16px;padding:12px 16px}.cal li span{color:var(--mute)}
.others{display:flex;flex-wrap:wrap;gap:8px}.chipl{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:var(--n2);text-decoration:none;font-weight:550}.chipl:hover{background:var(--n3)}
.foot{max-width:680px;margin:48px auto 0;padding:26px 18px 40px;color:var(--mute);font-size:.92rem}.foot nav{display:flex;flex-wrap:wrap;gap:4px 16px;margin:14px 0}.foot nav a{min-height:32px;display:inline-flex;align-items:center}.foot .mark{color:var(--ink)}
.solo{margin-top:24px}.solo h1{margin:0 0 14px;text-align:left}
.bar{position:fixed;left:0;right:0;bottom:0;z-index:15;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(to top,var(--n) 70%,rgba(12,15,26,0))}
.bar .btn{width:100%;max-width:560px;margin:0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:62px;line-height:1.2;box-shadow:0 10px 28px rgba(0,0,0,.45)}
.bar .btn b{font-weight:650;font-size:1.08rem}.bar .btn span{font-size:.8rem;font-weight:550;color:#3d3220}
.scrim{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:20}
.sheet{position:fixed;left:0;right:0;bottom:0;z-index:21;background:var(--n2);border-radius:28px 28px 0 0;padding:10px 20px calc(20px + env(safe-area-inset-bottom));max-height:90vh;overflow:auto;max-width:560px;margin:0 auto}
.sheet .fld input{background:var(--n3)}
.grab{width:44px;height:5px;border-radius:9px;background:var(--n3);margin:0 auto 14px}
.sheet h2{font-size:1.6rem;font-weight:500}
.hint{color:var(--mute);font-size:.94rem;margin-top:12px}.err{color:#F0A898;font-size:.9rem;min-height:1px}
.acts{display:flex;gap:8px;margin-top:16px;flex-wrap:wrap}
.toast{position:fixed;left:50%;bottom:calc(92px + env(safe-area-inset-bottom));transform:translate(-50%,24px);opacity:0;visibility:hidden;z-index:30;background:var(--ink);color:var(--n);border-radius:18px;padding:12px 16px;display:flex;align-items:center;gap:14px;max-width:calc(100% - 28px);width:max-content;transition:transform .26s cubic-bezier(.2,.8,.2,1),opacity .2s,visibility .26s;font-size:.95rem}
.toast.on{transform:translate(-50%,0);opacity:1;visibility:visible}
.toast button{border:0;background:var(--n);color:var(--ink);border-radius:999px;min-height:40px;padding:0 14px;font-weight:600;cursor:pointer}
@media (min-width:960px){
  .studio{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:56px;align-items:start}
  .print{position:sticky;top:20px}
  .ctl{margin-top:0}
  .lbl:first-child{margin-top:0}
  .sheet{bottom:auto;top:50%;transform:translateY(-50%);border-radius:28px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
