/* クラブシステムの見本: 見た目（箱・表・タグ・ボタンの名前は somaru の style.css と同じにしてある） */
:root {
  --main: #4a2343; --main-d: #34162f; --main-l: #f6e9ef; --pink: #d9698c; --gold: #d8a542; --gold-l: #f6e7bd;
  --ok: #1e8449; --warn: #b9770e; --ng: #c0392b; --gray: #6d5f6a; --line: #eadfd9; --bg: #fdf6ee; --text: #33202f; --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); font: 15px/1.6 "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Noto Sans CJK JP", "Meiryo", sans-serif;
  background: linear-gradient(160deg, #fdf6ee 0%, #fdf3ee 55%, #fbe6ea 100%) fixed; min-height: 100vh; }
a { color: var(--main); }
h1 { font-size: 22px; margin: 4px 0 12px; }
h2 { font-size: 16px; margin: 0 0 8px; }
h3 { font-size: 14px; margin: 0 0 6px; color: var(--gray); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 14px 14px 110px; }
.small { font-size: 13px; color: var(--gray); }
.muted { color: var(--gray); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.row.between { justify-content: space-between; }
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cols { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.cols.wide-l { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 820px) { .cols, .cols.wide-l { grid-template-columns: 1fr; } }

.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 8px 14px; background: var(--main); color: #fff; box-shadow: 0 2px 10px rgba(74,35,67,.25); }
.top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #4a2343, #d9698c, #d8a542); }
.brand { font-weight: bold; color: #fff; text-decoration: none; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.brand small { font-weight: normal; color: #e9cfd9; font-size: 12px; }
.top .dev { background: rgba(255,255,255,.14); padding: 2px 12px; border-radius: 999px; font-size: 13px; }
.top .sp { flex: 1; }
.top a.lk { color: #f6e7bd; font-size: 13px; text-decoration: none; white-space: nowrap; }
.demo-note { background: #fff8e1; border-bottom: 1px solid #f0dfa8; color: #6b5310; font-size: 12.5px; padding: 3px 14px; text-align: center; }

.card { background: #fffdfa; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 1px 3px rgba(74,35,67,.04); }
.card.dark { background: var(--main); color: #fff; border-color: var(--main); }
.card.dark h2, .card.dark b.hl { color: #f3cf7a; }
.card.dark .small, .card.dark .muted { color: #e2cbd7; }
.card.pad0 { padding: 0; overflow: hidden; }
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { padding: 8px 9px; border-bottom: 1px solid var(--line); vertical-align: middle; text-align: left; }
table.list th { background: var(--main); color: #fff; font-size: 13px; white-space: nowrap; }
table.list tr:last-child td { border-bottom: 0; }
table.list td.num, table.list th.num { text-align: right; }
.scroll { overflow-x: auto; }
.tag { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 12.5px; font-weight: bold; background: #efe6ea; color: #5b4553; white-space: nowrap; }
.tag.ok { background: #e3f4ea; color: var(--ok); }
.tag.warn { background: #fdf0da; color: #8a5a00; }
.tag.ng { background: #fbe4e1; color: var(--ng); }
.tag.pink { background: #fbe0ea; color: #b23a63; }
.tag.gold { background: var(--gold-l); color: #7a5a10; }
.tag.dark { background: var(--main); color: #f3cf7a; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 7px 16px; border-radius: 10px; border: 1px solid #d9c9d2; background: #fff; color: var(--text); font: inherit; font-weight: bold; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--main-l); }
.btn.main { background: var(--main); border-color: var(--main); color: #fff; }
.btn.main:hover { background: var(--main-d); }
.btn.pink { background: var(--pink); border-color: var(--pink); color: #fff; }
.btn.gold { background: linear-gradient(135deg, #e9c15f, #d8a542); border-color: #c9952f; color: #40280a; }
.btn.big { min-height: 54px; font-size: 17px; padding: 10px 22px; border-radius: 14px; }
.btn.sm { min-height: 32px; padding: 3px 10px; font-size: 13px; border-radius: 8px; }
.btn.ng { color: var(--ng); border-color: #e9b9b2; }
button:disabled { opacity: .45; cursor: not-allowed; }
input[type=text], input[type=number], input[type=search], input[type=date], input[type=time], select, textarea { width: 100%; padding: 9px 10px; border: 1px solid #d9c9d2; border-radius: 10px; font: inherit; background: #fff; color: var(--text); }
input[type=number] { text-align: right; }
input:focus, select:focus, textarea:focus { outline: 2px solid #e7a9bf; border-color: var(--pink); }
label.f { display: block; margin-bottom: 10px; }
label.f > span { display: block; font-size: 13px; font-weight: bold; margin-bottom: 2px; color: #5b4553; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg .btn.on { background: var(--main); border-color: var(--main); color: #fff; }
.tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; padding-bottom: 2px; }
.tabs .btn { border-radius: 999px; }
.tabs .btn.on { background: var(--main); border-color: var(--main); color: #fff; }
.stat { display: flex; flex-direction: column; }
.stat b { font-size: 26px; line-height: 1.3; color: var(--main); font-variant-numeric: tabular-nums; }
.stats { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-bottom: 12px; }
.stats .card { margin: 0; }
.bar { height: 10px; border-radius: 999px; background: #efe6e0; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #e58aa6, #d8a542); transition: width .8s ease; }
.empty { text-align: center; color: var(--gray); padding: 26px 10px; }

/* 顔のまるい絵・アバター */
.face { display: inline-block; width: 40px; height: 40px; border-radius: 50%; background: #fbe6ea no-repeat 50% 14% / 185% auto; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); flex: none; vertical-align: middle; }
.face.lg { width: 64px; height: 64px; }
.av { position: relative; margin: 0 auto; }
.av img { position: absolute; pointer-events: none; }
.av .av-in { position: absolute; inset: 0; animation: idle 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.av.joy .av-in { animation: joy .55s ease-in-out infinite; }
.av .av-body { left: 0; top: 0; width: 100%; height: 100%; }
.av .av-o { transform: translate(-50%, -50%); z-index: 2; }
.av .av-back { transform: translate(-50%, -50%); z-index: 0; opacity: .95; }
.av .av-body { z-index: 1; }
.av .aura { position: absolute; left: 50%; top: 52%; width: 150%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; filter: blur(6px); animation: aura 2.6s ease-in-out infinite; }
.av .aura.a_gold { background: radial-gradient(circle, rgba(246,205,96,.75), rgba(246,205,96,0) 68%); }
.av .aura.a_pink { background: radial-gradient(circle, rgba(240,130,170,.65), rgba(240,130,170,0) 68%); }
@keyframes idle { 0%, 100% { translate: 0 0; scale: 1 1; } 50% { translate: 0 -1.2%; scale: 1 1.012; } }
@keyframes joy { 0%, 100% { translate: 0 0; rotate: -3deg; } 50% { translate: 0 -9%; rotate: 3deg; } }
@keyframes aura { 0%, 100% { opacity: .65; scale: .95; } 50% { opacity: 1; scale: 1.05; } }

/* 入口 */
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; align-items: center; margin-bottom: 8px; }
.hero img { width: 100%; max-width: 420px; justify-self: center; }
.hero h1 { font-size: 34px; line-height: 1.3; color: var(--main); margin: 0 0 8px; }
.hero .kicker { color: #a8842c; letter-spacing: .25em; font-size: 12px; font-weight: bold; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; } .hero h1 { font-size: 26px; } .hero img { max-width: 260px; } }
.devs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
a.devcard { display: block; text-decoration: none; color: var(--text); background: #fffdfa; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; transition: transform .15s, box-shadow .15s; }
a.devcard:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(74,35,67,.12); }
a.devcard .ic { font-size: 30px; }
a.devcard b { display: block; font-size: 17px; color: var(--main); }
a.devcard .who { font-size: 12.5px; color: #a8842c; font-weight: bold; }
.steps { counter-reset: st; padding: 0; margin: 0; list-style: none; }
.steps li { counter-increment: st; position: relative; padding: 5px 0 5px 38px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 5px; width: 26px; height: 26px; border-radius: 50%; background: var(--pink); color: #fff; font-weight: bold; display: grid; place-items: center; font-size: 13px; }

/* テーブルの注文 */
.menu { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.mitem { background: #fffdfa; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; text-align: center; position: relative; cursor: pointer; user-select: none; }
.mitem.sel { border-color: var(--pink); box-shadow: 0 0 0 2px #f3bfd0; }
.mitem img { width: 84px; height: 84px; object-fit: contain; }
.mitem b { display: block; line-height: 1.35; }
.mitem .pr { color: #a8842c; font-weight: bold; }
.mitem .qty { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 6px; }
.mitem .qty button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #d9c9d2; background: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.mitem .qty span { min-width: 22px; font-weight: bold; font-size: 17px; }
.mitem .badge { position: absolute; left: 8px; top: 8px; }
.cartbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--main); color: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; box-shadow: 0 -4px 16px rgba(0,0,0,.18); }
.cartbar .sum { flex: 1; }
.cartbar .sum b { font-size: 20px; color: #f3cf7a; }
.timer { font-variant-numeric: tabular-nums; font-weight: bold; }
.timer.over { color: var(--ng); }

/* 席の図 */
.floor { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.seat { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 2px; border-radius: var(--radius); border: 2px dashed #d9c9d2; background: #fffdfa; padding: 10px 12px; min-height: 118px; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.seat.on { border: 2px solid var(--pink); background: #fff3f6; }
.seat.vip { border-color: var(--gold); }
.seat.vip.on { background: #fff8e4; }
.seat .tn { font-weight: bold; font-size: 17px; color: var(--main); display: flex; justify-content: space-between; align-items: center; gap: 4px; }

/* 会計 */
.slipline { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dotted var(--line); }
.slipline.total { border: 0; font-size: 22px; font-weight: bold; color: var(--main); padding-top: 8px; }
.sliprow { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; background: #fffdfa; width: 100%; font: inherit; text-align: left; color: inherit; }
.sliprow.on { border-color: var(--pink); background: #fff3f6; box-shadow: 0 0 0 2px #f3bfd0; }
.receipt { font-family: "Noto Sans Mono CJK JP", monospace; background: #fff; border: 1px solid #ddd; padding: 16px; max-width: 320px; margin: 0 auto; font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.receipt h3 { text-align: center; color: #000; font-size: 16px; margin: 0 0 8px; }
.receipt hr { border: 0; border-top: 1px dashed #999; }

/* まど */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(40,16,36,.55); display: grid; place-items: center; padding: 14px; }
.modal > .box { background: #fffdfa; border-radius: 18px; padding: 18px; width: min(520px, 100%); max-height: 92vh; overflow: auto; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 200; background: #2b1227; color: #fff; padding: 10px 18px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.3); animation: pop .25s ease; max-width: 92vw; text-align: center; }
.toast.ng { background: var(--ng); }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 10px); } }

/* キャストのスマホ */
body.phone { background: #2b1227; }
body.phone .wrap { max-width: 440px; background: linear-gradient(170deg, #fdf6ee, #fbe6ea); min-height: 100vh; padding: 0 0 86px; position: relative; }
.ph-head { background: linear-gradient(160deg, #4a2343, #6b2f55); color: #fff; padding: 12px 16px 18px; border-radius: 0 0 26px 26px; position: relative; overflow: hidden; }
.ph-head .hi { font-size: 13px; color: #e9cfd9; }
.ph-sec { padding: 12px 14px 0; }
.ph-nav { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: min(440px, 100%); z-index: 60; background: #fffdfa; border-top: 1px solid var(--line); display: flex; justify-content: space-around; padding: 5px 0 calc(5px + env(safe-area-inset-bottom)); }
.ph-nav button { border: 0; background: none; font: inherit; font-size: 11px; color: var(--gray); display: flex; flex-direction: column; align-items: center; cursor: pointer; padding: 2px 6px; min-width: 58px; }
.ph-nav button span { font-size: 21px; line-height: 1.25; }
.ph-nav button.on { color: var(--main); font-weight: bold; }
.rankcard { background: var(--main); border: 3px solid var(--gold); border-radius: 22px; padding: 12px; color: #fff; }
.rankcard .ttl { text-align: center; color: #f3cf7a; font-weight: bold; margin-bottom: 8px; }
.rankcard .mine { background: #fff; color: var(--text); border-radius: 14px; text-align: center; padding: 8px; margin-bottom: 8px; }
.rankcard .mine b { display: block; font-size: 44px; line-height: 1.15; color: var(--main); }
.rankcard .mine em { font-style: normal; font-weight: bold; color: #b23a63; }
.rk { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.06); margin-bottom: 5px; transition: all .5s; }
.rk.me { background: #7b3d68; outline: 1.5px solid #f0a9c2; }
.rk .no { width: 22px; text-align: center; font-weight: bold; color: #f3cf7a; }
.rk .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rk .sl { color: #f3cf7a; font-variant-numeric: tabular-nums; font-weight: bold; }
.rk.light { background: #fffdfa; border: 1px solid var(--line); }
.rk.light.me { background: #fff0f5; outline: 1.5px solid var(--pink); }
.rk.light .no, .rk.light .sl { color: #8a6412; }
.ptbox { background: var(--gold-l); color: #40280a; border-radius: 12px; padding: 8px 12px; display: flex; justify-content: space-between; align-items: center; font-weight: bold; }
.ptbox b { font-size: 20px; font-variant-numeric: tabular-nums; }
.badge-g { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.bdg { background: #fffdfa; border: 1px solid var(--line); border-radius: 14px; padding: 10px; position: relative; opacity: .78; }
.bdg.done { opacity: 1; border-color: var(--gold); background: #fffaf0; }
.bdg.hidden-a { background: var(--main); color: #fff; border-color: var(--main); opacity: 1; }
.bdg.hidden-a.done { background: linear-gradient(135deg, #4a2343, #a8475f); }
.bdg .medal { position: absolute; right: 8px; top: 6px; font-size: 22px; filter: grayscale(1) opacity(.35); }
.bdg.done .medal { filter: none; }
.grades { display: flex; gap: 4px; align-items: center; }
.grades span { flex: 1; text-align: center; font-size: 11.5px; font-weight: bold; color: #fff; padding: 4px 0; border-radius: 999px; opacity: .35; }
.grades span.on { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--gold); }
.itemg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.itm { background: #fffdfa; border: 1px solid var(--line); border-radius: 14px; padding: 8px 6px; text-align: center; cursor: pointer; font: inherit; color: inherit; position: relative; min-height: 118px; }
.itm.on { border-color: var(--pink); box-shadow: 0 0 0 2px #f3bfd0; }
.itm.lock { opacity: .55; }
.itm img { width: 58px; height: 58px; object-fit: contain; }
.itm .nm { font-size: 12px; line-height: 1.3; display: block; }
.itm .st { color: #d8a542; font-size: 11px; letter-spacing: 1px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal > div { background: #fffdfa; border: 1px solid var(--line); border-radius: 8px; min-height: 62px; padding: 2px 3px; font-size: 11px; line-height: 1.35; overflow: hidden; }
.cal > div.hd { min-height: 0; background: none; border: 0; text-align: center; font-weight: bold; color: var(--gray); }
.cal > div.out { background: none; border: 0; }
.cal > div.today { border-color: var(--pink); box-shadow: 0 0 0 1.5px var(--pink); }
.cal .d { font-weight: bold; }
.cal i { display: block; font-style: normal; border-radius: 4px; padding: 0 3px; margin-top: 1px; white-space: nowrap; overflow: hidden; }
.cal i.w { background: #efe6ea; } .cal i.d2 { background: #fbe0ea; color: #b23a63; } .cal i.v { background: #e3f0fb; color: #1f5f99; } .cal i.b { background: var(--gold-l); color: #7a5a10; }
.tcard { background: #fffdfa; border: 1px solid #f3cfdb; border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; background-image: linear-gradient(135deg, #fff5f8, #fffdfa); }

/* お祝い */
.cele { position: fixed; inset: 0; z-index: 300; background: radial-gradient(circle at 50% 40%, rgba(123,61,104,.96), rgba(43,18,39,.97)); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; animation: fade .3s ease; }
.cele .in { position: relative; z-index: 2; padding: 16px; animation: zoom .6s cubic-bezier(.2,1.6,.4,1); }
.cele .big { font-size: clamp(26px, 8.4vw, 46px); white-space: nowrap; font-weight: bold; color: #f3cf7a; line-height: 1.2; text-shadow: 0 3px 0 rgba(0,0,0,.25); }
.cele .sub { font-size: 17px; margin: 6px 0 12px; }
.cele img.pose { height: min(46vh, 380px); filter: drop-shadow(0 10px 24px rgba(0,0,0,.4)); animation: joy2 .7s ease-in-out infinite; }
.cele .cf { position: absolute; top: -20px; width: 10px; height: 16px; border-radius: 2px; animation: fall linear infinite; z-index: 1; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom { from { transform: scale(.3); opacity: 0; } }
@keyframes joy2 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
.gacha-m { height: min(40vh, 320px); }
.gacha-m.shake { animation: shake .18s linear infinite; }
@keyframes shake { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.capsule { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff, #fbe0ea 55%, #e58aa6); box-shadow: 0 0 40px rgba(246,205,96,.8); }
.capsule.s3 { background: radial-gradient(circle at 35% 30%, #fff, #f6e7bd 55%, #d8a542); }
.capsule img { width: 110px; height: 110px; object-fit: contain; }
.capsule span { font-size: 60px; }
.stars { color: #f3cf7a; font-size: 24px; letter-spacing: 4px; }

/* 並べて見る */
.narabi { display: grid; grid-template-columns: 1.25fr 1.1fr 400px; gap: 10px; padding: 10px; height: calc(100vh - 78px); }
.narabi > div { display: flex; flex-direction: column; min-width: 0; }
.narabi iframe { flex: 1; width: 100%; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.narabi .cap { font-weight: bold; color: var(--main); padding: 2px 6px; display: flex; gap: 8px; align-items: center; }
@media (max-width: 1100px) { .narabi { grid-template-columns: 1fr; height: auto; } .narabi iframe { height: 640px; } }

.tiara { font: bold 54px/1.1 Georgia, 'Times New Roman', serif; color: var(--main); letter-spacing: .04em; margin: 2px 0 10px; }
.tiara small { font-size: 15px; color: #a8842c; letter-spacing: .15em; font-family: inherit; }
.hero h1 { font-size: 28px; }
.brand { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; letter-spacing: .04em; }
.brand small { font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif; letter-spacing: 0; }

/* 本部（全店） */
.adot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 1px; }
.yoy { font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text); }
.yoy.dn { color: #a5281e; font-weight: bold; }
.hbar { height: 10px; background: #f3ebe6; border-radius: 0 4px 4px 0; }
.hbar > i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: #b0577c; }
.vbars { display: flex; align-items: flex-end; gap: 2px; height: 150px; border-bottom: 1px solid #d9c9d2; }
.vbars > div { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.vbars i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: #d3a9bd; }
.vbars i.now { background: #b0577c; }
.vbars > div:hover i, tr[data-tip]:hover td { filter: brightness(.94); }
.jmap { width: 100%; max-height: 330px; display: block; margin-bottom: 8px; }
.jmap .ml { font-size: 13px; fill: var(--text); }
.st { font-size: 12.5px; font-weight: bold; white-space: nowrap; }
.st.warn { color: #8a5a00; } .st.crit { color: #a5281e; }
.alert { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 7px 0; border-bottom: 1px dotted var(--line); cursor: pointer; }
table.list tr.click { cursor: pointer; }
table.list tr.click:hover td { background: #fbf1f4; }
table.list tr.me td { background: #fff0f5; }
.p1hero { display: flex; justify-content: space-between; align-items: center; gap: 12px; overflow: hidden; }
.p1hero img { height: 120px; margin: -6px 0 -14px; }
.cd b { font-size: 34px; color: #f3cf7a; font-variant-numeric: tabular-nums; }
#tip { position: fixed; z-index: 400; background: #2b1227; color: #fff; font-size: 12.5px; line-height: 1.5; padding: 6px 10px; border-radius: 8px; pointer-events: none; box-shadow: 0 4px 14px rgba(0,0,0,.25); max-width: 260px; }

/* アバターエディター */
.editor { position: fixed; inset: 0; z-index: 250; background: rgba(40,16,36,.6); display: grid; place-items: center; padding: 10px; }
.ed-box { width: min(420px, 100%); max-height: 96vh; overflow: auto; background: #fffdfa; border-radius: 18px; padding: 14px; }
.ed-stage { margin: 10px 0 0; padding: 34px 0 10px; border-radius: 14px; touch-action: none; user-select: none; overflow: hidden;
  background: linear-gradient(180deg, #fff, #fbe6ea), repeating-linear-gradient(0deg, transparent 0 19px, rgba(74,35,67,.05) 19px 20px); background-blend-mode: multiply; }
.ed-stage img.ed-sel { outline: 2px dashed var(--pink); outline-offset: 2px; border-radius: 6px; }
.ed-box input[type=range] { width: 100%; accent-color: var(--pink); }

/* =====================================================================
   2 版めの見た目（2026-10-09）: 文字・余白・部品・動きの決まり。上の決まりを、ここで上書きする
   文字: 本文 Zen Kaku Gothic New ／ 数字 Outfit ／ ロゴ Playfair Display
   大きさ: 12・13・15・17・20・26・34   すきま: 4・8・12・16・24
   ===================================================================== */
:root {
  --ink: #2b1826; --ink-2: #6f5f6b; --ink-3: #a3949e; --text: var(--ink); --gray: var(--ink-2);
  --line: #efe4e3; --surface: #fffdfb; --main-l: #f7ecf1; --gold: #c9973a; --gold-l: #f7ebc9;
  --r-s: 10px; --r-m: 16px; --r-l: 22px; --radius: var(--r-m);
  --sh-1: 0 1px 2px rgba(74,35,67,.05), 0 6px 18px rgba(74,35,67,.06);
  --sh-2: 0 2px 6px rgba(74,35,67,.08), 0 16px 40px rgba(74,35,67,.14);
  --ease: cubic-bezier(.2,.8,.2,1);
  --f-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", "Meiryo", sans-serif;
  --f-num: "Outfit", var(--f-body); --f-logo: "Playfair Display", Georgia, serif;
}
html { -webkit-tap-highlight-color: transparent; scrollbar-width: thin; scrollbar-color: #dccdd5 transparent; }
body { font: 500 15px/1.65 var(--f-body); color: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; letter-spacing: 0; font-feature-settings: 'palt'; animation: pagein .35s ease both; }
@keyframes pagein { from { opacity: 0; } }
h1 { font-size: 26px; line-height: 1.35; font-weight: 700; letter-spacing: .02em; }
h2 { font-size: 16px; line-height: 1.45; font-weight: 700; letter-spacing: .02em; margin: 0 0 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
h2 .small { font-weight: 500; }
h3 { font-size: 12.5px; font-weight: 700; color: var(--ink-2); letter-spacing: .06em; margin: 0 0 8px; }
b, strong { font-weight: 700; }
.small { font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
p { margin: 0 0 12px; }
.wrap { padding: 20px 20px 120px; }
.cols, .grid, .stats, .devs { gap: 16px; }
.n, .num, .timer, .stat b, .cd, table.list td.num, .rk .sl, .rk .no, .pr { font-family: var(--f-num); font-variant-numeric: tabular-nums; letter-spacing: 0; }
.n { display: inline-block; }
.n.bump { animation: bump .9s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 18% { transform: scale(1.14); color: var(--gold); } 100% { transform: scale(1); } }

/* アイコン */
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.24em; flex: none; }
h2 > .ic:first-child { color: var(--pink); }
.rkb { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font: 700 12px/1 var(--f-num); box-shadow: inset 0 -2px 0 rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.15); }
.rkb.r1 { background: linear-gradient(145deg, #f0cf72, #c9973a); } .rkb.r2 { background: linear-gradient(145deg, #dfe3ea, #9aa3b2); } .rkb.r3 { background: linear-gradient(145deg, #e0ab85, #a86a42); }
.fic { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--main-l); color: var(--main); flex: none; }
.fic .ic { width: 15px; height: 15px; vertical-align: 0; }
.feed { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.feed:last-child { border-bottom: 0; }
.feed .small { margin-left: auto; white-space: nowrap; font-family: var(--f-num); }

/* 上の帯 */
.top { padding: 10px 20px; gap: 12px; background: linear-gradient(90deg, #45203f, #5a2850); box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 6px 20px rgba(74,35,67,.18); }
.top::before { height: 2px; background: linear-gradient(90deg, #d9698c, #e9c15f 60%, #d9698c); }
.brand { gap: 8px; font-family: var(--f-body); }
.brand img { height: 24px; }
.brand span { font: 700 21px/1 var(--f-logo); letter-spacing: .03em; }
.brand small { font: 500 11.5px/1 var(--f-body); color: #dcc3d0; letter-spacing: .04em; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.2); }
.top .dev { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.12); }
.top a.lk { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #f1ddb0; padding: 7px 12px; border-radius: 999px; transition: background .15s; }
.top a.lk:hover { background: rgba(255,255,255,.1); }
.sndbtn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #f1ddb0; cursor: pointer; font-size: 15px; transition: background .15s, transform .12s var(--ease); }
.sndbtn:active { transform: scale(.9); }
.demo-note { background: #fbf3e2; border-bottom: 0; color: #7a6220; font-size: 12px; font-weight: 500; padding: 5px 20px; }

/* 箱・表・タグ */
.card { background: var(--surface); border: 1px solid rgba(74,35,67,.06); border-radius: var(--r-l); padding: 18px 20px; margin-bottom: 16px; box-shadow: var(--sh-1); }
.card.dark { background: linear-gradient(150deg, #4a2343, #63294f); border-color: transparent; box-shadow: var(--sh-2); }
.card.dark h2 { color: #f0cf82; }
.card.pad0 > div:first-child:not(.scroll) { padding: 18px 20px 6px !important; }
.stats .card { padding: 16px 18px; }
.stat .small { font-weight: 700; letter-spacing: .04em; }
.stat b { font-size: 28px; font-weight: 600; line-height: 1.25; margin: 2px 0; }
table.list th { background: transparent; color: var(--ink-2); font-size: 11.5px; font-weight: 700; letter-spacing: .06em; padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.list th:first-child, table.list td:first-child { padding-left: 20px; }
table.list th:last-child, table.list td:last-child { padding-right: 20px; }
table.list td { padding: 11px 12px; border-bottom: 1px solid var(--line); }
.card:not(.pad0) table.list th:first-child, .card:not(.pad0) table.list td:first-child { padding-left: 4px; }
.card:not(.pad0) table.list th:last-child, .card:not(.pad0) table.list td:last-child { padding-right: 4px; }
.modal table.list th:first-child, .modal table.list td:first-child { padding-left: 4px; } .modal table.list th:last-child, .modal table.list td:last-child { padding-right: 4px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; font-size: 11.5px; line-height: 1.6; font-weight: 700; letter-spacing: .03em; background: #f1e9ee; color: #5b4553; }
.tag .ic { width: 13px; height: 13px; vertical-align: 0; }
.tag.gold { background: var(--gold-l); color: #7a5a10; } .tag.dark { background: var(--main); color: #f0cf82; }
.bar, .hbar { height: 8px; }
.bar > i { transition: width .9s var(--ease); background: linear-gradient(90deg, #e58aa6, #d9a441); }
.hbar > i { transition: width .9s var(--ease); }
.slipline { padding: 7px 0; border-bottom: 1px solid var(--line); }
.slipline.total { font-size: 24px; padding-top: 12px; font-family: var(--f-num); }
.slipline.total span:first-child { font-family: var(--f-body); font-size: 15px; align-self: center; }
.empty { padding: 32px 12px; color: var(--ink-3); font-size: 13.5px; }

/* ボタン */
button, .btn { touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.btn { min-height: 44px; padding: 8px 18px; border-radius: 12px; border: 1px solid #e3d5db; background: #fff; font: 700 14px/1.2 var(--f-body); letter-spacing: .03em; gap: 7px; box-shadow: 0 1px 1px rgba(74,35,67,.04); transition: transform .12s var(--ease), box-shadow .15s, background .15s, border-color .15s, color .15s; }
.btn:active:not(:disabled) { transform: scale(.96); }
.btn:focus-visible, .chipbtn:focus-visible, .pick:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.btn.main { background: linear-gradient(180deg, #5a2a52, #45203f); border-color: #45203f; box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 4px 12px rgba(74,35,67,.25); }
.btn.pink { background: linear-gradient(180deg, #e27a9b, #d15d83); border-color: #d15d83; box-shadow: 0 1px 0 rgba(255,255,255,.2) inset, 0 4px 12px rgba(209,93,131,.28); }
.btn.gold { background: linear-gradient(180deg, #f0cf72, #d9a441); border-color: #cf9a37; color: #3d2608; box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 4px 14px rgba(201,151,58,.35); }
.btn.danger { background: linear-gradient(180deg, #d85b4f, #c0392b); border-color: #c0392b; color: #fff; }
.btn.ng { background: #fff; }
.btn.big { min-height: 56px; font-size: 16px; padding: 12px 26px; border-radius: 16px; }
.btn.sm { min-height: 34px; padding: 4px 13px; font-size: 12.5px; border-radius: 10px; }
button:disabled { opacity: .4; }
@media (hover: none) { .btn:hover { background: #fff; } .btn.main:hover { background: linear-gradient(180deg, #5a2a52, #45203f); } }
.chipbtn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px 6px 16px; border-radius: 999px; border: 1px solid #e3d5db; background: #fff; color: var(--ink); font: 700 14px/1.2 var(--f-body); cursor: pointer; text-decoration: none; box-shadow: 0 1px 1px rgba(74,35,67,.04); transition: transform .12s var(--ease), background .15s; }
.chipbtn:active { transform: scale(.96); }
.chipbtn .ic { width: 16px; height: 16px; color: var(--ink-3); }
.chipbtn.light { min-height: 34px; padding: 4px 8px 4px 13px; font-size: 12.5px; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.18); color: #fff; box-shadow: none; }
.chipbtn.light .ic { color: #f1ddb0; }
.chipbtn.ico { padding: 0; width: 34px; justify-content: center; }
.ph-head .sndbtn { background: rgba(255,255,255,.14); }

/* タブ（まとまった切りかえ） */
.tabs, .seg { display: inline-flex; flex-wrap: nowrap; gap: 2px; max-width: 100%; padding: 4px; margin-bottom: 16px; border-radius: 14px; background: rgba(74,35,67,.07); overflow-x: auto; scrollbar-width: none; }
.seg { margin-bottom: 0; }
.tabs::-webkit-scrollbar, .seg::-webkit-scrollbar { display: none; }
.tabs .btn, .seg .btn { min-height: 36px; padding: 4px 16px; border: 0; border-radius: 10px; background: transparent; box-shadow: none; color: var(--ink-2); font-size: 13.5px; }
.tabs .btn.sm, .seg .btn.sm { min-height: 30px; padding: 3px 12px; font-size: 12.5px; }
.tabs .btn.on, .seg .btn.on { background: #fff; color: var(--main); box-shadow: 0 1px 2px rgba(74,35,67,.12), 0 2px 8px rgba(74,35,67,.08); }
.seg .btn .adot { margin-right: 5px; }

/* 入力の部品（ブラウザの標準の形は使わない） */
input[type=text], input[type=number], input[type=password], input[type=search], input[type=date], input[type=time], select, textarea { min-height: 44px; padding: 10px 13px; border: 1.5px solid #e6d9df; border-radius: 12px; font: 500 15px/1.5 var(--f-body); color: var(--ink); background-color: #fff; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
input[type=number] { font-family: var(--f-num); }
input:focus, select:focus, textarea:focus { outline: 0; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(217,105,140,.16); }
select { padding-right: 38px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3949e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9.5 7 7 7-7'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
textarea { min-height: 88px; }
::placeholder { color: var(--ink-3); }
label.f > span { font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-2); margin-bottom: 5px; }
label.opt { display: inline-flex; cursor: pointer; }
label.opt input { position: absolute; opacity: 0; pointer-events: none; }
label.opt span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid #e6d9df; background: #fff; font-weight: 700; font-size: 13.5px; transition: all .15s var(--ease); }
label.opt span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #cdbcc5; transition: all .15s; }
label.opt input:checked + span { border-color: var(--main); background: var(--main); color: #fff; }
label.opt input:checked + span::before { border-color: #fff; background: #f0cf82; box-shadow: inset 0 0 0 2px var(--main); }
label.opt input:focus-visible + span { box-shadow: 0 0 0 4px rgba(217,105,140,.2); }
label.sw { display: inline-block; cursor: pointer; }
label.sw input { position: absolute; opacity: 0; pointer-events: none; }
label.sw i { display: block; width: 40px; height: 24px; border-radius: 999px; background: #dccdd5; position: relative; transition: background .2s; }
label.sw i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s var(--ease); }
label.sw input:checked + i { background: var(--pink); }
label.sw input:checked + i::after { transform: translateX(16px); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: #eadde3; }
input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: #eadde3; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--pink); box-shadow: 0 2px 6px rgba(74,35,67,.25); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--pink); box-shadow: 0 2px 6px rgba(74,35,67,.25); }

/* 窓・確認・選ぶ窓・お知らせ */
.modal { background: rgba(43,18,39,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 16px; animation: fade .2s ease both; }
.modal > .box { border-radius: 24px; padding: 22px; width: min(540px, 100%); box-shadow: var(--sh-2); animation: boxin .28s var(--ease) both; }
.modal.small > .box { width: min(380px, 100%); }
.modal.out { animation: fadeout .18s ease both; } .modal.out > .box { animation: boxout .18s ease both; }
@keyframes boxin { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes boxout { to { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes fadeout { to { opacity: 0; } }
@media (max-width: 560px) {
  .modal:not(.small) { align-items: end; padding: 0; }
  .modal:not(.small) > .box { width: 100%; border-radius: 24px 24px 0 0; padding: 12px 18px calc(18px + env(safe-area-inset-bottom)); animation-name: sheetin; max-height: 88vh; }
  .modal:not(.small) > .box::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: #dccdd5; margin: 0 auto 12px; }
  .modal.out:not(.small) > .box { animation-name: sheetout; }
}
@keyframes sheetin { from { transform: translateY(100%); } } @keyframes sheetout { to { transform: translateY(100%); } }
.ask { text-align: center; }
.ask p { font-size: 15.5px; font-weight: 700; line-height: 1.7; margin: 4px 0 18px; }
.ask-ic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--main-l); color: var(--main); font-size: 22px; margin-bottom: 10px; }
.ask-ic.ng { background: #fbe4e1; color: var(--ng); }
.ask-btn { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.picklist { display: flex; flex-direction: column; gap: 6px; max-height: 60vh; overflow: auto; margin: 0 -4px; padding: 0 4px 2px; }
.pick { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; padding: 8px 16px; border-radius: 14px; border: 1.5px solid transparent; background: #f8f1f3; font: 500 15px/1.4 var(--f-body); color: var(--ink); text-align: left; cursor: pointer; transition: transform .12s var(--ease), background .15s; }
.pick:active { transform: scale(.98); }
.pick small { display: block; font-size: 12px; color: var(--ink-2); }
.pick.on { background: #fff; border-color: var(--pink); }
.pick .ic { color: var(--pink); }
.toast { display: flex; align-items: center; gap: 9px; padding: 11px 18px 11px 14px; border-radius: 16px; font-weight: 700; font-size: 13.5px; line-height: 1.5; background: rgba(43,18,39,.94); box-shadow: var(--sh-2); animation: toastin .32s var(--ease) both; text-align: left; }
.toast .ic { color: #8fe0ad; font-size: 15px; } .toast.ng .ic { color: #fff; }
.toast.out { animation: toastout .22s ease both; }
@keyframes toastin { from { opacity: 0; transform: translate(-50%, 16px) scale(.96); } } @keyframes toastout { to { opacity: 0; transform: translate(-50%, 8px); } }

/* 画面の出かた: タブや端末を切りかえたら、中身が下から順に出る */
#app.enter .wrap > * { animation: rise .42s var(--ease) both; }
#app.enter .wrap > *:nth-child(2) { animation-delay: .05s; } #app.enter .wrap > *:nth-child(3) { animation-delay: .1s; } #app.enter .wrap > *:nth-child(4) { animation-delay: .15s; } #app.enter .wrap > *:nth-child(n+5) { animation-delay: .2s; }
#app.enter .ph-sec > * { animation: rise .42s var(--ease) both; }
#app.enter .ph-sec > *:nth-child(2) { animation-delay: .06s; } #app.enter .ph-sec > *:nth-child(n+3) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* 入口 */
.hero .kicker { font: 700 12px/1 var(--f-num); letter-spacing: .32em; color: var(--gold); }
.tiara { font: 700 64px/1.05 var(--f-logo); letter-spacing: .01em; margin: 8px 0 12px; }
.tiara small { font: 700 13px/1 var(--f-body); letter-spacing: .3em; color: var(--gold); margin-left: 6px; }
.hero h1 { font-size: 26px; font-weight: 700; }
.hero p { color: var(--ink-2); max-width: 34em; }
a.devcard { border: 1px solid rgba(74,35,67,.06); border-radius: var(--r-l); padding: 18px; box-shadow: var(--sh-1); transition: transform .2s var(--ease), box-shadow .2s; }
a.devcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
a.devcard:active { transform: scale(.98); }
a.devcard .dic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--main-l); color: var(--main); font-size: 19px; margin-bottom: 10px; }
a.devcard b { font-size: 16px; line-height: 1.4; }
a.devcard .who { font-size: 11.5px; letter-spacing: .06em; color: var(--gold); display: block; margin-bottom: 4px; }
.steps li { padding: 7px 0 7px 40px; line-height: 1.6; }
.steps li::before { top: 7px; font-family: var(--f-num); background: var(--main); }

/* 注文・席・会計 */
.mitem { border: 1px solid rgba(74,35,67,.06); border-radius: var(--r-l); padding: 14px 12px; box-shadow: var(--sh-1); transition: transform .14s var(--ease), box-shadow .2s, border-color .15s; }
.mitem:active { transform: scale(.97); }
.mitem.sel { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(217,105,140,.22), var(--sh-1); }
.mitem b { font-size: 14.5px; margin-top: 4px; }
.mitem .pr { font-size: 15px; font-weight: 600; color: #9c7420; }
.mitem .qty button { width: 38px; height: 38px; border: 1.5px solid #e6d9df; color: var(--main); font-weight: 700; transition: transform .12s var(--ease), background .15s; }
.mitem .qty button:active { transform: scale(.88); background: var(--main-l); }
.mitem .qty span { font: 600 18px/1 var(--f-num); }
.cartbar { padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(90deg, #45203f, #5a2850); animation: slideup .32s var(--ease) both; }
@keyframes slideup { from { transform: translateY(100%); } }
.cartbar .sum b { font-size: 22px; font-weight: 600; color: #f0cf82; margin-left: 6px; }
.timer { font-weight: 600; }
.seat { border-radius: var(--r-l); border: 1.5px dashed #dccdd5; padding: 14px; min-height: 124px; transition: transform .14s var(--ease), box-shadow .2s; }
.seat:active { transform: scale(.97); }
.seat.on { border: 1.5px solid #ebb2c5; background: #fff5f8; box-shadow: var(--sh-1); }
.seat.vip { border-color: #e2c684; } .seat.vip.on { background: #fffaf0; }
.seat .tn { font: 600 19px/1.3 var(--f-num); }
.sliprow { padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 10px; background: #fff; transition: transform .14s var(--ease), border-color .15s, box-shadow .2s; }
.sliprow:active { transform: scale(.98); }
.sliprow.on { border-color: var(--pink); background: #fff8fa; box-shadow: 0 0 0 3px rgba(217,105,140,.18); }
.sliprow > .ic { color: var(--ink-3); }
.receipt { border-radius: 4px; }

/* キャストのスマホ */
body.phone { background: #241020; }
body.phone .wrap { padding: 0 0 96px; background: linear-gradient(175deg, #fdf6ee, #fbe9ec 70%); }
.ph-head { padding: 16px 18px 22px; border-radius: 0 0 30px 30px; background: radial-gradient(120% 90% at 50% 0%, #7a3a66 0%, #55264c 55%, #45203f 100%); box-shadow: 0 10px 30px rgba(74,35,67,.25); }
.ph-head::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 22%, rgba(240,207,130,.22) 0 1.5px, transparent 2px), radial-gradient(circle at 82% 34%, rgba(255,255,255,.2) 0 1.5px, transparent 2px), radial-gradient(circle at 66% 12%, rgba(240,207,130,.2) 0 1px, transparent 1.5px), radial-gradient(circle at 30% 64%, rgba(255,255,255,.14) 0 1px, transparent 1.5px); }
.ph-head > * { position: relative; z-index: 1; }
.ph-head .hi { font-size: 12px; letter-spacing: .06em; color: #dcc3d0; }
.ph-head > .row > b { font-size: 17px; letter-spacing: .04em; }
.ph-sec { padding: 16px 16px 0; }
.ph-sec .card { padding: 16px; border-radius: 20px; }
.ph-nav { padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); border-top: 0; background: rgba(255,253,251,.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 -1px 0 rgba(74,35,67,.08), 0 -8px 24px rgba(74,35,67,.08); }
.ph-nav button { gap: 2px; font: 700 10.5px/1.3 var(--f-body); letter-spacing: .02em; color: var(--ink-3); min-width: 54px; padding: 2px 4px; transition: color .15s; }
.ph-nav button span { display: grid; place-items: center; width: 46px; height: 28px; border-radius: 14px; font-size: 18px; line-height: 1; transition: background .2s, transform .2s var(--ease); }
.ph-nav button.on { color: var(--main); }
.ph-nav button.on span { background: var(--main-l); transform: translateY(-1px); }
.ph-nav button:active span { transform: scale(.88); }
.rankcard { border: 0; border-radius: 26px; padding: 16px; background: linear-gradient(160deg, #4a2343, #5e2a52); box-shadow: 0 0 0 1.5px #d9b25f, 0 0 0 5px rgba(217,178,95,.16), var(--sh-2); }
.rankcard .ttl { font-size: 13px; letter-spacing: .14em; color: #f0cf82; margin-bottom: 12px; }
.rankcard .mine { border-radius: 18px; padding: 12px 10px 14px; margin-bottom: 12px; }
.rankcard .mine b { font: 700 54px/1.1 var(--f-num); letter-spacing: -.01em; }
.rankcard .mine em { font-size: 13.5px; display: block; margin-bottom: 2px; }
.rk { gap: 10px; padding: 8px 12px; border-radius: 14px; margin-bottom: 6px; transition: background .4s, outline-color .4s; }
.rk .no { font-size: 15px; } .rk .sl { font-size: 15px; font-weight: 600; }
.rk.light { border: 1px solid rgba(74,35,67,.06); box-shadow: var(--sh-1); }
.ptbox { border-radius: 14px; padding: 11px 14px; background: linear-gradient(180deg, #f9eecb, #f3dfa4); }
.ptbox span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.ptbox b { font: 700 21px/1.2 var(--f-num); }
.bdg { border: 1px solid rgba(74,35,67,.06); border-radius: 18px; padding: 14px; box-shadow: var(--sh-1); opacity: 1; }
.bdg:not(.done):not(.hidden-a) { background: #fbf6f4; box-shadow: none; }
.bdg.done { border-color: #e8cf93; background: linear-gradient(160deg, #fffdf6, #fdf3d9); }
.bdg .medal { right: 10px; top: 10px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 15px; background: #ece2e6; color: #b3a3ac; filter: none; }
.bdg.done .medal { background: linear-gradient(145deg, #f0cf72, #c9973a); color: #fff; box-shadow: 0 2px 6px rgba(201,151,58,.4); }
.bdg.hidden-a .medal { background: rgba(255,255,255,.12); color: #f0cf82; }
.bdg > div { padding-right: 34px; }
.grades span { font-size: 11px; padding: 5px 0; letter-spacing: .04em; }
.itm { border: 1px solid rgba(74,35,67,.06); border-radius: 18px; padding: 10px 6px; box-shadow: var(--sh-1); transition: transform .14s var(--ease), box-shadow .2s, border-color .15s; }
.itm:active { transform: scale(.95); }
.itm.on { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(217,105,140,.22); }
.itm .ic { color: var(--ink-3); }
.cal > div { border-radius: 10px; border-color: var(--line); }
.cal .d { font-family: var(--f-num); }
.tcard { border-radius: 18px; padding: 14px 16px; box-shadow: var(--sh-1); }

/* お祝い・ガチャ */
.cele .big { font-weight: 900; letter-spacing: .02em; }
.cele .sub { font-size: 15px; font-weight: 500; line-height: 1.7; margin: 8px 0 16px; }
.cele .in > div[style*="font-size:96px"] { color: #f0cf82; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.capsule span { font-size: 54px; color: var(--main); line-height: 1; }
.stars { letter-spacing: 6px; }
.narabi .cap { font-size: 13.5px; min-height: 40px; }
.narabi iframe { border: 0; border-radius: 20px; box-shadow: var(--sh-2); }

/* 本部 */
.alert { padding: 10px 0; border-bottom: 1px solid var(--line); transition: background .15s; }
.st { display: inline-flex; align-items: center; gap: 4px; }
.p1hero { padding: 20px 24px; }
.cd b { font-family: var(--f-num); font-weight: 600; }
#tip { font-weight: 500; border-radius: 10px; }
.ed-box { border-radius: 24px; padding: 18px; animation: boxin .28s var(--ease) both; }
.editor { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s ease both; }

/* ===== 管理の画面（店舗）・本部の足した画面・重ねるアバター ===== */
.face { background: #fbe6ea no-repeat 50% 38% / 128% auto; }
.av .av-nk { position: absolute; border-style: solid; box-sizing: content-box; z-index: 1; }
.av .av-bd { z-index: 1; } .av .av-hd { z-index: 2; } .av .av-o { z-index: 3; }
.adm { display: grid; grid-template-columns: 208px minmax(0, 1fr); align-items: start; }
.adm-nav { position: sticky; top: 56px; display: flex; flex-direction: column; gap: 2px; padding: 16px 10px; max-height: calc(100vh - 56px); overflow: auto; scrollbar-width: none; }
.adm-nav button { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 12px; border: 0; border-radius: 12px; background: transparent; font: 700 13.5px/1.3 var(--f-body); color: var(--ink-2); text-align: left; cursor: pointer; transition: background .15s, color .15s, transform .12s var(--ease); }
.adm-nav button .ic { font-size: 15px; color: var(--ink-3); transition: color .15s; }
.adm-nav button:hover { background: rgba(74,35,67,.06); }
.adm-nav button:active { transform: scale(.97); }
.adm-nav button.on { background: #fff; color: var(--main); box-shadow: var(--sh-1); }
.adm-nav button.on .ic { color: var(--pink); }
.adm-main { max-width: none; margin: 0; padding: 20px 24px 120px 8px; }
@media (max-width: 900px) { .adm { grid-template-columns: 1fr; } .adm-nav { position: static; flex-direction: row; max-height: none; padding: 10px 12px 0; } .adm-nav button { white-space: nowrap; min-height: 38px; } .adm-main { padding: 16px 16px 120px; } }
.locknote { display: flex; align-items: center; gap: 8px; padding: 10px 16px; margin-bottom: 16px; border-radius: 14px; background: #f3ecf7; color: #5a3a78; font-weight: 700; font-size: 13.5px; }
.card.pad0 > .row.between:first-child { padding: 16px 20px 10px !important; }
.fgrid { display: grid; gap: 0 14px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.unit { position: relative; } .unit input { padding-right: 46px; text-align: right; }
.unit i { position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12.5px; color: var(--ink-3); pointer-events: none; }
.rowline { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rowline:last-child { border-bottom: 0; }
.btn.ico { padding: 0; width: 34px; min-width: 34px; }
.mitem.soldout img { filter: grayscale(1); opacity: .45; }
.mitem.soldout b, .mitem.soldout .pr { color: var(--ink-3); }
.mitem.adm-item { cursor: default; text-align: center; }
.mitem.adm-item:active { transform: none; }
table.shift th, table.shift td { text-align: center; }
table.shift th:first-child, table.shift td:first-child { text-align: left; }
table.shift .now { background: #fff6f9; }
table.shift th.now { color: var(--pink); }
.sft { min-width: 54px; min-height: 34px; border-radius: 10px; border: 1.5px dashed #dccdd5; background: transparent; color: var(--ink-3); font: 700 12.5px/1 var(--f-body); cursor: pointer; transition: all .15s var(--ease); }
.sft.on { border: 1.5px solid var(--pink); background: var(--pink); color: #fff; }
.sft:active { transform: scale(.92); }
.headpick { display: flex; flex-wrap: wrap; gap: 8px; }
.headpick button { padding: 4px; border-radius: 50%; border: 2.5px solid transparent; background: none; cursor: pointer; transition: transform .12s var(--ease), border-color .15s; }
.headpick button.on { border-color: var(--pink); }
.headpick button:active { transform: scale(.92); }
.imgpick { display: flex; gap: 14px; align-items: flex-start; }
.imgpick .now { flex: none; width: 104px; height: 104px; border-radius: 16px; background: #f8f1f3; display: grid; place-items: center; }
.imgpick .now img { max-width: 84px; max-height: 84px; }
.imgpick .lib { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.imgpick .lib button { aspect-ratio: 1; border-radius: 10px; border: 2px solid transparent; background: #f8f1f3; padding: 4px; cursor: pointer; }
.imgpick .lib button.on { border-color: var(--pink); background: #fff; }
.imgpick .lib img { width: 100%; height: 100%; object-fit: contain; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chips button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 3px 14px 3px 4px; border-radius: 999px; border: 1.5px solid #e6d9df; background: #fff; font: 700 13px/1.2 var(--f-body); color: var(--ink); cursor: pointer; transition: all .15s var(--ease); }
.chips button img { height: 30px; width: 24px; object-fit: contain; margin-left: 6px; }
.chips button.on { border-color: var(--main); background: var(--main); color: #fff; }
.chips .face { width: 30px; height: 30px; }
.kobo-stage { display: flex; justify-content: space-around; align-items: flex-end; gap: 8px; padding: 18px 8px 10px; border-radius: 18px; background: linear-gradient(180deg, #fff, #fbe9ec), repeating-linear-gradient(0deg, transparent 0 23px, rgba(74,35,67,.06) 23px 24px); background-blend-mode: multiply; overflow: hidden; }
.kobo-stage > div { text-align: center; }
.kobo-stage .av-in { animation: none; }
.thumb { width: 40px; height: 40px; object-fit: contain; }
.itm img { height: 62px; width: auto; }
.capsule img { height: 110px; width: auto; }

/* ===== 本格運用にあたって（お客様に条件を書いてもらうページ） ===== */
a.unyo-card { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 18px 20px; border-radius: var(--r-l); text-decoration: none; color: var(--ink); background: linear-gradient(120deg, #fffdfb, #fdf1e0); border: 1px solid #ecd9b4; box-shadow: var(--sh-1); transition: transform .2s var(--ease), box-shadow .2s; }
a.unyo-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
a.unyo-card .dic { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--gold-l); color: #7a5a10; font-size: 19px; }
a.unyo-card > span:nth-child(2) { flex: 1; } a.unyo-card b { display: block; font-size: 16px; } a.unyo-card small { color: var(--ink-2); font-size: 12.5px; }
a.unyo-card > .ic { color: var(--ink-3); }
.unyo .adm-nav button small { margin-left: auto; font: 600 11.5px/1 var(--f-num); color: var(--ink-3); }
.unyo .adm-nav button { font-size: 13px; }
.unyo .adm-main { max-width: 860px; }
.unyo-head { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 24px; align-items: center; }
.unyo-head h1 { margin: 2px 0 8px; color: #fff; }
.unyo-prog { text-align: center; } .unyo-prog b { font: 600 40px/1 var(--f-num); color: #f0cf82; } .unyo-prog > span { font-size: 13px; color: #e2cbd7; margin-left: 4px; }
.unyo-prog .bar { margin: 10px 0 8px; background: rgba(255,255,255,.16); }
.usec { scroll-margin-top: 72px; }
.uq { padding: 14px 0 6px; border-top: 1px solid var(--line); }
.uq-l { font-weight: 700; font-size: 14px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.uq-l::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #e3d5db; transition: background .2s; }
.uq.done .uq-l::before { background: #47b47a; }
.uq .row { gap: 8px; margin-bottom: 8px; }
.unyo-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
@media (max-width: 700px) { .unyo-head { grid-template-columns: 1fr; } }
@media print { .top, .adm-nav, .unyo-foot .row, .sndbtn { display: none !important; } body { background: #fff; animation: none; } .adm { display: block; } .card { box-shadow: none; break-inside: avoid; } .card.dark { background: #fff; color: #000; border: 1px solid #999; } .unyo-head h1, .unyo-prog b { color: #000; } #app.enter .wrap > * { animation: none; } }

/* ===================== 本番で足したもの: ログイン・回線が切れたとき・印刷・ガチャの演出 ===================== */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-box { width: min(400px, 100%); background: var(--surface); border-radius: 26px; padding: 30px 26px 26px; box-shadow: var(--sh-2); text-align: center; border-top: 4px solid var(--pink); animation: boxin .35s var(--ease) both; }
.login-box img { height: 54px; }
.login-box h1 { font: 700 40px/1.1 var(--f-logo); color: var(--main); margin: 4px 0 2px; }
.login-box p { color: var(--ink-2); font-size: 13px; margin-bottom: 18px; }
.login-box label.f { text-align: left; }
.login-err { background: #fbe4e1; color: var(--ng); border-radius: 12px; padding: 9px 12px; font-size: 13.5px; font-weight: 700; margin-bottom: 14px; }
.top a.lk { cursor: pointer; }
body.offline .top::after { content: "電波がありません"; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); background: var(--ng); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: 0 0 10px 10px; }
.qbadge { position: fixed; left: 50%; top: 62px; transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 8px; max-width: 92vw; background: #fff4d6; color: #6b4a00; border: 1.5px solid #e9c15f; border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700; box-shadow: var(--sh-2); animation: toastin .3s var(--ease) both; }
@media print { body > *:not(#modal) { display: none !important; } body { background: #fff !important; animation: none; } .modal { position: static; background: none; backdrop-filter: none; padding: 0; display: block; } .modal > .box { box-shadow: none; width: auto; max-height: none; padding: 0; animation: none; } .modal .btn, .modal .tag { display: none !important; } .receipt { box-shadow: none; border: 0; }
  body.print-page > * { display: block !important; } body.print-page .top, body.print-page .adm-nav, body.print-page .btn { display: none !important; } }

/* --- ガチャの入口のカード --- */
.gacha-card { position: relative; overflow: hidden; text-align: center; background: linear-gradient(180deg, #fff9f0, #fdeef3); }
.gacha-card.limited { background: linear-gradient(180deg, #3d1c38, #6b2f55); color: #fff; }
.gacha-card.limited .pity { background: rgba(255,255,255,.1); color: #fff; } .gacha-card.limited .small { color: #e2cbd7; }
.gc-rays { position: absolute; left: 50%; top: 150px; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none; opacity: .5; background: repeating-conic-gradient(from 0deg, rgba(240,207,130,.55) 0 8deg, transparent 8deg 20deg); -webkit-mask: radial-gradient(circle, #000 0 35%, transparent 68%); mask: radial-gradient(circle, #000 0 35%, transparent 68%); animation: spin 16s linear infinite; }
.gacha-card > *:not(.gc-rays) { position: relative; }
.gc-machine { width: 220px; display: block; margin: 6px auto 4px; animation: floaty 3s ease-in-out infinite; filter: drop-shadow(0 12px 18px rgba(74,35,67,.25)); }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-8px) rotate(1.5deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.pity { background: rgba(74,35,67,.06); border-radius: 14px; padding: 9px 14px 11px; margin: 4px 0 12px; font-size: 13px; font-weight: 700; text-align: left; }
.pity .bar { margin-top: 6px; height: 10px; } .pity b { font-family: var(--f-num); font-size: 15px; }
.pity.hot { background: linear-gradient(90deg, #fff1c9, #ffd9e6); color: #8a3a12; animation: hot 1.1s ease-in-out infinite; }
.pity.hot .bar > i { background: linear-gradient(90deg, #ff7aa8, #ffc64a, #ff7aa8); background-size: 200% 100%; animation: slide 1.2s linear infinite; }
@keyframes hot { 50% { box-shadow: 0 0 0 4px rgba(255,170,90,.35), 0 0 24px rgba(255,150,120,.5); } }
@keyframes slide { to { background-position: -200% 0; } }
.gc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gc-btns .btn { flex-direction: column; gap: 2px; padding: 10px 8px; min-height: 64px; position: relative; overflow: hidden; }
.gc-btns .btn small { font: 600 12px/1 var(--f-num); opacity: .8; }
.gc-btns .btn.ten { background: linear-gradient(135deg, #ff8fb4, #f0b94a 55%, #ffd76a); border-color: #e59a3a; }
.gc-btns .btn:not(:disabled)::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); animation: shine 2.4s ease-in-out infinite; }
@keyframes shine { 60%, 100% { left: 130%; } }

/* --- ガチャの舞台 --- */
.gsc { position: fixed; inset: 0; z-index: 320; overflow: hidden; color: #fff; text-align: center; display: grid; place-items: center; animation: fade .25s ease both; --c1: #5b2a7a; --c2: #1d0b2e; --ray: rgba(255,255,255,.16); }
.gsc.out { animation: fadeout .26s ease both; }
.gsc.r1, .gsc.drop { --c1: #3f4f9a; --c2: #12143a; --ray: rgba(170,200,255,.2); }
.gsc.r2 { --c1: #b8791c; --c2: #3a1c06; --ray: rgba(255,225,140,.34); }
.gsc.r3 { --c1: #d83a8a; --c2: #2a0b3a; --ray: rgba(255,255,255,.5); }
.g-bg { position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, var(--c1), var(--c2) 72%); transition: background .5s; }
.gsc.r3 .g-bg { animation: hue 2.4s linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }
.g-rays { position: absolute; left: 50%; top: 46%; width: 220vmax; height: 220vmax; margin: -110vmax 0 0 -110vmax; background: repeating-conic-gradient(from 0deg, var(--ray) 0 6deg, transparent 6deg 18deg); animation: spin 26s linear infinite; -webkit-mask: radial-gradient(circle, transparent 0 4%, #000 14%, transparent 62%); mask: radial-gradient(circle, transparent 0 4%, #000 14%, transparent 62%); }
.g-rays.b { animation: spin 40s linear infinite reverse; opacity: .6; background: repeating-conic-gradient(from 9deg, var(--ray) 0 3deg, transparent 3deg 24deg); }
.gsc.charge .g-rays { animation-duration: 4s; } .gsc.charge .g-rays.b { animation-duration: 6s; }
.gsc.open .g-rays { animation-duration: 9s; } .gsc.open.r3 .g-rays { animation-duration: 3s; }
.g-stars { position: absolute; inset: -50% 0 0 0; height: 200%; background-image: radial-gradient(2px 2px at 20px 30px, #fff, transparent), radial-gradient(1.5px 1.5px at 90px 120px, #ffe9a8, transparent), radial-gradient(2px 2px at 160px 60px, #fff, transparent), radial-gradient(1.5px 1.5px at 210px 180px, #ffc9de, transparent), radial-gradient(2.5px 2.5px at 60px 220px, #fff, transparent), radial-gradient(1.5px 1.5px at 250px 20px, #fff, transparent);
  background-size: 280px 260px; opacity: .7; animation: starfall 9s linear infinite; }
.g-stars.s2 { background-size: 190px 210px; opacity: .4; animation-duration: 5s; }
.gsc.charge .g-stars { animation-duration: 1.6s; } .gsc.open.r3 .g-stars { animation-duration: 1.2s; opacity: 1; }
@keyframes starfall { to { transform: translateY(50%); } }
.g-glow { position: absolute; left: 50%; top: 46%; width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.55), transparent 62%); animation: aura 1.6s ease-in-out infinite; }
.gsc.flash::after { content: ""; position: absolute; inset: 0; background: #fff; z-index: 9; animation: flash .5s ease-out both; pointer-events: none; }
@keyframes flash { from { opacity: 1; } to { opacity: 0; } }
.g-stage { position: relative; z-index: 3; width: min(440px, 100%); padding: 18px; cursor: pointer; }
.g-machine { height: min(42vh, 330px); filter: drop-shadow(0 16px 30px rgba(0,0,0,.45)); animation: mdrop .7s cubic-bezier(.2,1.5,.4,1) both, shake .22s linear .7s infinite; }
.gsc.charge .g-machine { animation: shake .09s linear infinite; transform-origin: 50% 90%; }
@keyframes mdrop { from { transform: translateY(-120vh) rotate(-20deg); } }
.g-msg { margin-top: 14px; font-size: 20px; font-weight: 900; letter-spacing: .12em; text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.g-msg.tap { animation: blink 1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; transform: scale(.96); } }
.g-count { position: absolute; left: 0; right: 0; top: -34px; font: 700 15px/1 var(--f-num); letter-spacing: .2em; color: #f0cf82; }
.g-skip { position: absolute; right: 14px; top: calc(14px + env(safe-area-inset-top)); z-index: 5; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.25); color: #fff; border-radius: 999px; padding: 7px 14px; font: 700 12.5px/1 var(--f-body); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.g-cap { position: relative; width: 190px; height: 190px; margin: 0 auto; border-radius: 50%; animation: capdrop .62s cubic-bezier(.3,1.7,.5,1) both, capidle 1.4s ease-in-out .62s infinite; box-shadow: 0 0 60px var(--glow, rgba(255,255,255,.6)), inset -14px -18px 30px rgba(0,0,0,.22), inset 12px 14px 24px rgba(255,255,255,.55); }
.g-cap i { position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(180deg, var(--top, #fff) 0 49%, #2b1227 49% 52%, var(--bot, #cfd8ff) 52%); }
.g-cap b { position: absolute; left: 22%; top: 14%; width: 26%; height: 16%; border-radius: 50%; background: rgba(255,255,255,.8); transform: rotate(-28deg); filter: blur(1px); }
.g-cap.r1 { --top: #fdfdff; --bot: #8fa8ff; --glow: rgba(150,180,255,.7); }
.g-cap.r2 { --top: #fff3c4; --bot: #e2a52a; --glow: rgba(255,210,90,.9); }
.g-cap.r3 { --top: #ffd1e8; --bot: #ff5fa8; --glow: rgba(255,255,255,1); animation: capidle .5s ease-in-out infinite, hue 1.2s linear infinite; }
.g-cap.r3 i { background: linear-gradient(180deg, #ff9ecb 0 16%, #ffd76a 16% 33%, #9be88f 33% 49%, #2b1227 49% 52%, #7fd4ff 52% 70%, #b79cff 70% 85%, #ff9ecb 85%); }
.g-cap.quake { animation: shake .07s linear infinite; }
@keyframes capdrop { from { transform: translateY(-90vh) scale(.5); } }
@keyframes capidle { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(4deg); } }
.g-rare { font: 700 30px/1.1 var(--f-num); letter-spacing: .22em; color: #fff; text-shadow: 0 0 18px var(--ray), 0 3px 0 rgba(0,0,0,.3); animation: rarein .5s cubic-bezier(.2,1.8,.4,1) both; }
.gsc.r3 .g-rare { font-size: 34px; background: linear-gradient(90deg, #fff, #ffe27a, #ff9ecb, #9fe0ff, #fff); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; animation: rarein .5s cubic-bezier(.2,1.8,.4,1) both, slide 1.6s linear infinite; filter: drop-shadow(0 3px 6px rgba(0,0,0,.4)); }
@keyframes rarein { from { transform: scale(3) rotate(-8deg); opacity: 0; } }
.g-prize { position: relative; width: 210px; height: 210px; margin: 10px auto 4px; display: grid; place-items: center; animation: prizein .7s cubic-bezier(.2,1.6,.4,1) .08s both; }
.g-prize img { position: relative; max-width: 170px; max-height: 190px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.4)); animation: floaty 2.6s ease-in-out infinite; }
.g-prize span { position: relative; font-size: 96px; line-height: 1; color: #fff; filter: drop-shadow(0 8px 16px rgba(0,0,0,.4)); }
.g-halo { position: absolute; inset: -40px; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.75) 0 7deg, transparent 7deg 22deg); -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%); animation: spin 6s linear infinite; }
@keyframes prizein { from { transform: scale(0) rotate(-200deg); opacity: 0; } }
.g-starsrow { height: 40px; } .g-starsrow b { display: inline-block; font-size: 34px; color: #ffd76a; text-shadow: 0 0 14px rgba(255,215,106,.9); animation: starpop .45s cubic-bezier(.2,2,.4,1) both; margin: 0 3px; }
.g-starsrow b:nth-child(1) { animation-delay: .45s; } .g-starsrow b:nth-child(2) { animation-delay: .7s; } .g-starsrow b:nth-child(3) { animation-delay: .95s; }
@keyframes starpop { from { transform: scale(0) rotate(-180deg); opacity: 0; } }
.g-name { font-size: 24px; font-weight: 900; line-height: 1.35; margin: 4px 0 6px; text-shadow: 0 2px 10px rgba(0,0,0,.45); animation: rise .5s var(--ease) .5s both; }
.g-note { font-size: 13.5px; line-height: 1.7; opacity: .92; margin-bottom: 16px; animation: rise .5s var(--ease) .7s both; }
.g-next { min-width: 200px; animation: rise .5s var(--ease) .9s both; }
.gsc .cf { z-index: 2; }
.g-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 16px 0 18px; }
.g-tile { background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.25); border-radius: 14px; padding: 6px 2px 5px; animation: tilein .45s cubic-bezier(.2,1.6,.4,1) both; }
.g-tile img { height: 46px; max-width: 100%; object-fit: contain; } .g-tile span:first-child { font-size: 30px; display: block; height: 46px; line-height: 46px; }
.g-tile small { display: block; color: #ffd76a; font-size: 10px; letter-spacing: 1px; } .g-tile span:last-child { display: block; font-size: 9.5px; line-height: 1.3; height: 2.6em; overflow: hidden; }
.g-tile.r2 { border-color: #f0cf82; background: rgba(240,207,130,.22); }
.g-tile.r3 { border-color: #fff; background: linear-gradient(135deg, rgba(255,158,203,.5), rgba(255,215,106,.5), rgba(127,212,255,.5)); box-shadow: 0 0 18px rgba(255,255,255,.7); }
@keyframes tilein { from { transform: scale(0) rotateY(180deg); opacity: 0; } }

input[type=password] { width: 100%; }

/* ===================== ソシャゲふうの要素 ===================== */
.dotn { position: absolute; right: -7px; top: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #f0366f; color: #fff; font: 700 10.5px/18px var(--f-num); font-style: normal; text-align: center; box-shadow: 0 0 0 2px #fff; animation: dotpop 1.6s ease-in-out infinite; }
@keyframes dotpop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.18); } }
.ph-nav button span { position: relative; }
.sg-top { padding-top: 14px; }
.sg-ban { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; box-shadow: var(--sh-1); }
.sg-ban::-webkit-scrollbar { display: none; }
.sg-b { flex: 0 0 100%; scroll-snap-align: start; display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 10px 14px; border: 0; color: #fff; text-align: left; font: inherit; cursor: pointer; position: relative; overflow: hidden; }
.sg-b.b1 { background: linear-gradient(110deg, #6b2f55, #d9698c); } .sg-b.b2 { background: linear-gradient(110deg, #3d2a7a, #c9973a); } .sg-b.b3 { background: linear-gradient(110deg, #b3407a, #f0b94a); }
.sg-b::after { content: ""; position: absolute; top: 0; bottom: 0; width: 34%; left: -50%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); animation: shine 3.2s ease-in-out infinite; }
.sg-b .ic-b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 18px; flex: none; }
.sg-b > span:nth-child(2) { flex: 1; } .sg-b b { display: block; font-size: 15px; } .sg-b small { font-size: 12px; opacity: .92; }
.sg-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.sg-row button { display: flex; flex-direction: column; align-items: center; gap: 5px; border: 0; background: none; font: 700 11px/1.2 var(--f-body); color: var(--ink-2); cursor: pointer; padding: 0; }
.sg-row button span { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 18px; background: #fff; color: var(--main); font-size: 20px; box-shadow: var(--sh-1); transition: transform .14s var(--ease); }
.sg-row button:active span { transform: scale(.9); }
.modal.sg > .box { background: linear-gradient(180deg, #fff, #fdf1f5); }
.sg-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.sg-head > .ic { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 16px; background: linear-gradient(135deg, #d9698c, #f0b94a); color: #fff; }
.sg-head h2 { margin: 0 0 2px; }
.lb-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lb { background: #fff; border: 1.5px solid #eadde3; border-radius: 16px; padding: 8px 4px 9px; text-align: center; position: relative; }
.lb small { display: block; font-size: 11px; font-weight: 700; color: var(--ink-3); } .lb span { display: block; font-size: 26px; color: #d8a542; line-height: 1.5; } .lb b { font: 700 15px/1 var(--f-num); }
.lb.big { grid-column: span 2; background: linear-gradient(135deg, #fff6d8, #ffe1ec); border-color: #f0cf82; } .lb.big span { color: #d9698c; }
.lb.got { background: #f3edf0; border-color: transparent; } .lb.got span { color: #47b47a; } .lb.got b, .lb.got small { color: var(--ink-3); }
.lb.today { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(217,105,140,.2), 0 6px 18px rgba(217,105,140,.35); animation: capidle 1.2s ease-in-out infinite; }
.ms { display: flex; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 8px; border-radius: 16px; background: #fff; border: 1.5px solid #f0e6ea; }
.ms > div { flex: 1; min-width: 0; } .ms b { display: flex; align-items: center; gap: 6px; font-size: 14px; } .ms .bar { margin: 6px 0 3px; }
.ms.done { border-color: #f0cf82; background: linear-gradient(90deg, #fffaf0, #fff); box-shadow: 0 0 0 3px rgba(240,207,130,.25); }
.ms.claimed { opacity: .6; }
.ms.chest { background: linear-gradient(120deg, #fff6d8, #ffe9f0); border-color: #f0cf82; }
.pass-lv { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px; background: linear-gradient(120deg, #4a2343, #6b2f55); color: #fff; margin-bottom: 12px; }
.pass-lv b { font: 700 40px/1 var(--f-num); color: #f0cf82; } .pass-lv > span { font-size: 12.5px; color: #e2cbd7; white-space: nowrap; } .pass-lv > div { flex: 1; } .pass-lv .bar { background: rgba(255,255,255,.18); margin-bottom: 4px; } .pass-lv .small { color: #e2cbd7; }
.pass-track { display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: thin; }
.pt { flex: 0 0 74px; position: relative; text-align: center; padding: 6px 4px 8px; border-radius: 16px; background: #f3edf0; border: 1.5px solid transparent; opacity: .75; }
.pt small { display: block; font: 700 11px/1.4 var(--f-num); color: var(--ink-3); } .pt span { display: grid; place-items: center; height: 46px; font-size: 24px; color: #d8a542; } .pt img { max-height: 44px; max-width: 54px; } .pt b { font: 700 12px/1 var(--f-num); }
.pt.rare { background: linear-gradient(160deg, #fff6d8, #ffe1ec); }
.pt.open { opacity: 1; background: #fff; border-color: #f0cf82; box-shadow: 0 0 0 3px rgba(240,207,130,.3); animation: capidle 1.4s ease-in-out infinite; }
.pt.claimed { opacity: .55; animation: none; }
.pt > i { position: absolute; right: 4px; top: 4px; font-size: 11px; color: var(--ink-3); } .pt.claimed > i { color: #47b47a; }
.book { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 14px; }
.book > div { background: #efe8ec; border-radius: 14px; padding: 6px 2px; text-align: center; border: 1.5px solid transparent; }
.book img { height: 48px; max-width: 100%; object-fit: contain; filter: brightness(0) opacity(.18); } .book span { display: block; height: 48px; line-height: 48px; font-size: 24px; color: #cbbcc5; }
.book small { display: block; font-size: 9.5px; color: #d8a542; letter-spacing: 1px; } .book em { display: block; font-style: normal; font-size: 10px; line-height: 1.3; height: 2.6em; overflow: hidden; color: var(--ink-3); }
.book > .own { background: #fff; box-shadow: var(--sh-1); } .book > .own img { filter: none; } .book > .own em { color: var(--ink); font-weight: 700; } .book > .own span { color: var(--pink); }
.book > .own.s3 { border-color: #f0cf82; background: linear-gradient(160deg, #fffdf3, #fff0f5); }
.bond { display: inline-flex; gap: 2px; vertical-align: -1px; }
.bond i { width: 11px; height: 10px; background: #e6d9df; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21S1 14 1 7a6 6 0 0 1 11-3 6 6 0 0 1 11 3c0 7-11 14-11 14z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 21S1 14 1 7a6 6 0 0 1 11-3 6 6 0 0 1 11 3c0 7-11 14-11 14z'/%3E%3C/svg%3E") center/contain no-repeat; }
.bond i.on { background: #f0638f; }
/* もらったときの演出 */
.rwd { position: fixed; inset: 0; z-index: 330; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; background: radial-gradient(circle at 50% 45%, #c9763a, #3a1638 72%); animation: fade .2s ease both; --ray: rgba(255,230,150,.3); }
.rwd.out { animation: fadeout .22s ease both; }
.rwd .g-rays { animation-duration: 10s; }
.rwd-in { position: relative; z-index: 2; padding: 20px; animation: zoom .5s cubic-bezier(.2,1.6,.4,1) both; }
.rwd-t { font: 700 34px/1 var(--f-num); letter-spacing: .3em; color: #fff3c4; text-shadow: 0 0 18px rgba(255,220,120,.9); }
.rwd-pt { font: 700 62px/1.15 var(--f-num); color: #ffe27a; text-shadow: 0 4px 0 rgba(0,0,0,.25), 0 0 26px rgba(255,220,120,.8); }
.rwd-pt small { font-size: 24px; }
.rwd-item { display: inline-flex; flex-direction: column; align-items: center; margin: 8px 6px 0; } .rwd-item img { height: 84px; filter: drop-shadow(0 6px 12px rgba(0,0,0,.4)); animation: floaty 2.4s ease-in-out infinite; } .rwd-item .ic { font-size: 54px; } .rwd-item b { font-size: 13px; margin-top: 4px; }
.rwd-list { margin: 12px 0 16px; font-size: 13px; line-height: 1.7; opacity: .92; }
.coin { position: absolute; left: 50%; top: -8%; font-size: 30px; font-style: normal; color: #ffd76a; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); animation: coinfall 1.5s cubic-bezier(.3,.1,.6,1) var(--d) both; z-index: 1; }
@keyframes coinfall { from { transform: translate(var(--x), 0) rotate(0); opacity: 1; } 80% { opacity: 1; } to { transform: translate(var(--x), 112vh) rotate(var(--r)); opacity: 0; } }

/* ===================== お知らせ ===================== */
.nt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; margin-bottom: 8px; border-radius: 16px; border: 1.5px solid #f0e6ea; background: #fff; font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: transform .12s var(--ease); }
.nt:active { transform: scale(.98); }
.nt.unread { border-color: #f3bfd0; background: linear-gradient(90deg, #fff5f8, #fff); }
.nt-ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--main-l); color: var(--main); font-size: 15px; }
.nt-ic.hq { background: var(--main); color: #f0cf82; }
.nt-b { flex: 1; min-width: 0; } .nt-b b { display: block; font-size: 14px; line-height: 1.45; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .nt-b small { font-size: 11.5px; color: var(--ink-2); }
.nt > .ic { color: var(--ink-3); flex: none; } .nt i.tag { font-style: normal; flex: none; }
.nt-card h2 { margin-bottom: 10px; } .nt-card .nt:last-child { margin-bottom: 0; }
.nt-view h2 { font-size: 19px; margin: 6px 0 12px; }
.nt-body, .nt-pre { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; }
.nt-body { font-size: 15px; padding: 14px 16px; border-radius: 16px; background: #fbf6f4; }
.nt-adm { padding: 14px 20px; border-top: 1px solid var(--line); }
.nt-pre { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 10px; max-height: 5.7em; overflow: hidden; }
.top a.lk.bell, .chipbtn.bell { position: relative; }
.top a.lk.bell { padding: 7px 10px; font-size: 16px; }

.push-card { display: flex; align-items: center; gap: 10px; padding: 12px 14px !important; background: linear-gradient(100deg, #fff8e6, #fff0f5); border-color: #f0cf82; }
.push-card > .ic { flex: none; font-size: 20px; color: #c9973a; }
.push-card > div { flex: 1; min-width: 0; } .push-card b { display: block; font-size: 14px; }

/* ---------- お客様の台帳 ---------- */
.cgroup { margin-bottom: 14px; } .cgroup > span { display: block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; } .cgroup > span small { font-weight: 500; color: var(--ink-3); margin-left: 6px; }
.cchips { display: flex; flex-wrap: wrap; gap: 7px; }
.cchip { min-height: 40px; padding: 6px 15px; border-radius: 999px; border: 1px solid #e3d5db; background: #fff; color: var(--ink); font: inherit; font-size: 14px; cursor: pointer; transition: transform .12s, background .15s, border-color .15s; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.25; }
.cchip small { font-size: 10.5px; color: var(--ink-3); } .cchip:active { transform: scale(.94); }
.cchip.on { background: var(--main); border-color: var(--main); color: #f6dc9a; font-weight: 700; box-shadow: 0 3px 10px rgba(74,35,67,.25); }
.csearch { width: 100%; margin-bottom: 10px; }
.tabs.cf .btn { flex: none; }
.cstat { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-top: 12px; }
.cstat > div { background: #faf3f0; border-radius: 12px; padding: 9px 12px; display: flex; flex-direction: column; } .cstat span { font-size: 11.5px; color: var(--ink-3); font-weight: 700; } .cstat b { font-family: var(--f-num); font-size: 17px; color: var(--main); } .cstat small { font-size: 11.5px; color: var(--ink-3); }
.cnote { margin-top: 10px; padding: 9px 12px; border-radius: 12px; background: var(--gold-l); color: #6b4e0c; font-weight: 700; font-size: 13.5px; display: flex; gap: 8px; align-items: center; }
.cvisit { padding: 9px 0; border-top: 1px solid var(--line); } .cvisit:first-of-type { border-top: 0; }
.cfree { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; margin-bottom: 10px; padding: 12px 14px; border: 0; border-radius: 16px; background: linear-gradient(120deg, #4a2343, #8a3b63); color: #fff; font: inherit; cursor: pointer; box-shadow: 0 6px 18px rgba(74,35,67,.3); }
.cfree span { flex: 1; display: flex; flex-direction: column; } .cfree small { opacity: .85; font-size: 12px; } .cfree .ic { color: #f6dc9a; flex: none; }
.ctool { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 8px; padding: 0 20px 4px; } .ctool .csearch { margin: 0; }
@media (max-width: 760px) { .ctool { grid-template-columns: 1fr 1fr; } .ctool .csearch { grid-column: 1 / -1; } }
.chb { display: grid; grid-template-columns: 96px 1fr 84px 78px; gap: 8px; align-items: center; padding: 5px 0; font-size: 13.5px; } .chb b { text-align: right; white-space: nowrap; font-family: var(--f-num); } .chb small { text-align: right; color: var(--ink-3); font-size: 12px; } .chb > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmon { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; height: 170px; } .cmon > div { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; } .cmon span { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.cmon .st { flex: none; height: 142px; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 6px 6px 0 0; overflow: hidden; } .cmon i { display: block; }
.cmon i.n, .dot.n { background: var(--pink); } .cmon i.r, .dot.r { background: #b0577c; } .cmon i.f, .dot.f { background: #cdb0bd; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; }
table.list td.nw { white-space: nowrap; }
.clink { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; } .clink .btn { flex: 1; justify-content: center; text-decoration: none; white-space: nowrap; }
.btn.line { background: #06c755; border-color: #06c755; color: #fff; }

/* ---------- 選ぶボタンは、横に流さず折り返す ---------- */
.tabs, .seg { flex-wrap: wrap; overflow-x: visible; display: flex; width: fit-content; }
@media (max-width: 900px) { .adm-nav { flex-wrap: wrap; overflow: visible; gap: 4px; } }
.modal.wide > .box { width: min(760px, 100%); }

/* ---------- 注文の演出 ---------- */
.ofx { position: fixed; inset: 0; z-index: 400; overflow: hidden; display: grid; place-items: center; text-align: center; color: #fff; cursor: pointer; animation: fade .35s ease both; background: radial-gradient(circle at 50% 42%, rgba(138,59,99,.94), rgba(43,18,39,.97)); }
.ofx.out { animation: fadeout .45s ease both; }
.ofx i, .ofx u { position: absolute; display: block; pointer-events: none; }
.fx-in { position: relative; z-index: 5; padding: 16px; animation: fxin .9s cubic-bezier(.2,1.5,.4,1) both; }
.fx-lv { font: 700 13px/1 var(--f-num); letter-spacing: .42em; color: #f6dc9a; margin-bottom: 14px; opacity: .9; }
.fx-img img { width: min(38vw, 220px); height: min(38vw, 220px); object-fit: cover; border-radius: 28px; box-shadow: 0 0 0 3px rgba(246,220,154,.7), 0 18px 50px rgba(0,0,0,.5), 0 0 60px rgba(246,220,154,.45); animation: floaty 2.4s ease-in-out infinite; }
.fx-name { font-size: clamp(24px, 6vw, 44px); font-weight: 900; margin-top: 18px; background: linear-gradient(100deg, #f6dc9a 20%, #fff 45%, #f6dc9a 70%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: slide 2.2s linear infinite reverse; }
.fx-name small { font-size: .6em; } .fx-msg { font-size: clamp(14px, 2.6vw, 20px); margin-top: 6px; letter-spacing: .12em; opacity: .92; }
@keyframes fxin { from { transform: scale(.2); opacity: 0; } }
.fx-glow { position: absolute; inset: -20%; background: radial-gradient(circle at 50% 45%, rgba(246,220,154,.35), transparent 55%); animation: aura 2s ease-in-out infinite; }
.fx-star { width: 14px; height: 14px; transform: scale(var(--s)); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: fxtw 1.5s ease-in-out infinite both; } .fx-star.dim { opacity: .5; }
@keyframes fxtw { 0%, 100% { opacity: 0; scale: .3; rotate: 0deg; } 50% { opacity: 1; scale: 1.3; rotate: 90deg; } }
.fx-bub { bottom: -30px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.75); background: rgba(255,255,255,.12); transform: scale(var(--s)); animation: fxup linear infinite both; } .fx-bub.gold { border-color: rgba(246,220,154,.9); background: rgba(246,220,154,.2); }
@keyframes fxup { from { translate: 0 0; opacity: 0; } 10% { opacity: 1; } to { translate: 20px -115vh; opacity: 0; } }
.fx-kp { position: absolute; top: 12%; left: 50%; width: 0; height: 0; z-index: 4; } .fx-kp span { position: absolute; top: 0; color: #f6dc9a; } .fx-kp .ic { width: clamp(70px, 14vw, 120px); height: clamp(70px, 14vw, 120px); filter: drop-shadow(0 6px 16px rgba(0,0,0,.4)); }
.fx-kp .l { right: 0; transform-origin: 50% 100%; animation: fxkl 1.2s cubic-bezier(.3,1.6,.5,1) .3s both; } .fx-kp .r { left: 0; transform-origin: 50% 100%; animation: fxkr 1.2s cubic-bezier(.3,1.6,.5,1) .3s both; }
@keyframes fxkl { from { translate: -40vw 0; rotate: -40deg; opacity: 0; } to { translate: 12px 0; rotate: 18deg; } } @keyframes fxkr { from { translate: 40vw 0; rotate: 40deg; opacity: 0; } to { translate: -12px 0; rotate: -18deg; } }
.fx-kp b { position: absolute; left: -60px; top: -20px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, #fff, rgba(246,220,154,.6) 30%, transparent 65%); animation: fxpop .7s ease-out 1.15s both; }
@keyframes fxpop { from { scale: 0; opacity: 1; } to { scale: 2.6; opacity: 0; } }
.fx-rays { position: absolute; left: 50%; top: 44%; width: 220vmax; height: 220vmax; margin: -110vmax; background: repeating-conic-gradient(rgba(246,220,154,.26) 0 6deg, transparent 6deg 18deg); animation: spin 14s linear infinite; -webkit-mask: radial-gradient(circle, #000 10%, transparent 60%); mask: radial-gradient(circle, #000 10%, transparent 60%); }
.fx-rays.slow { animation-duration: 26s; opacity: .7; } .fx-rays.rev { animation-direction: reverse; animation-duration: 20s; background: repeating-conic-gradient(rgba(255,143,179,.2) 0 4deg, transparent 4deg 22deg); }
.fx-coin { top: -30px; width: 12px; height: 18px; border-radius: 3px; transform: scale(var(--s)); animation: fxfall linear infinite both; box-shadow: 0 0 8px rgba(246,220,154,.6); }
@keyframes fxfall { from { translate: 0 -5vh; rotate: 0deg; } to { translate: 30px 112vh; rotate: 900deg; } }
.fx-flash { position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash .7s ease-out .1s both; z-index: 6; pointer-events: none; } .fx-flash.late { animation-delay: 3.1s; }
.ofx-hanabi { background: radial-gradient(circle at 50% 100%, #3a1b4a, #0d0716 75%); }
.fx-burst { position: absolute; width: 0; height: 0; } .fx-sp { left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 50%; opacity: 0; box-shadow: 0 0 10px currentColor; animation: fxsp 1.5s cubic-bezier(.1,.7,.3,1) both; }
@keyframes fxsp { 0% { transform: rotate(var(--a)) translateX(0) scale(1.6); opacity: 1; } 70% { opacity: 1; } 100% { transform: rotate(var(--a)) translateX(var(--d)) translateY(26px) scale(.2); opacity: 0; } }
.fx-burst u { left: -70px; top: -70px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.9), transparent 60%); opacity: 0; animation: fxpop .6s ease-out both; }
.ofx-tower .fx-in, .ofx-royal .fx-in { animation-delay: .2s; }
.fx-tw { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 0; opacity: .95; }
.fx-tw div { display: flex; margin-top: -10px; } .fx-tw span { color: rgba(255,255,255,.28); animation: fxfill .7s ease-out both; } .fx-tw .ic { width: clamp(34px, 6.5vw, 62px); height: clamp(34px, 6.5vw, 62px); }
@keyframes fxfill { 0% { color: rgba(255,255,255,.28); filter: none; } 50% { color: #fff; filter: drop-shadow(0 0 22px #fff); scale: 1.25; } 100% { color: #f6dc9a; filter: drop-shadow(0 0 12px rgba(246,220,154,.95)); } }
.fx-tw span { animation-fill-mode: both; }
.fx-pour { position: absolute; left: 50%; top: -5%; width: 10px; margin-left: -5px; height: 0; z-index: 2; border-radius: 6px; background: linear-gradient(180deg, transparent, #f6dc9a 20%, #fff6d8); box-shadow: 0 0 26px 8px rgba(246,220,154,.55); animation: fxpour 3.2s ease-in .5s both; }
@keyframes fxpour { 0% { height: 0; opacity: 1; } 25% { height: 100%; } 85% { height: 100%; opacity: 1; } 100% { height: 100%; opacity: 0; } }
.fx-ring { position: absolute; left: 50%; top: 44%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 4px solid #f6dc9a; opacity: 0; animation: fxring 2.4s ease-out .5s infinite; } .fx-ring.d2 { animation-delay: 1.1s; border-color: #ff8fb3; } .fx-ring.d3 { animation-delay: 1.7s; border-color: #fff; }
@keyframes fxring { 0% { scale: .2; opacity: .9; } 100% { scale: 40; opacity: 0; border-width: 0; } }
.fx-crown { position: absolute; left: 50%; top: 5%; z-index: 6; color: #f6dc9a; transform: translateX(-50%); animation: capdrop 1s cubic-bezier(.3,1.5,.5,1) .4s both; filter: drop-shadow(0 0 26px rgba(246,220,154,.9)); } .fx-crown .ic { width: clamp(70px, 13vw, 130px); height: clamp(70px, 13vw, 130px); }
.ofx.lv3 { animation: fade .35s ease both, fxshake .5s ease-in-out 3.1s 1; }
@keyframes fxshake { 20% { translate: -8px 4px; } 40% { translate: 8px -5px; } 60% { translate: -6px -3px; } 80% { translate: 5px 4px; } }
.ofx.lv3 .fx-img img { width: min(34vw, 200px); height: min(34vw, 200px); }
.fxpick { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 6px; }
.fxpick > div > span { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink-3); margin-bottom: 4px; } .fxpick .cchip { width: 100%; margin-bottom: 6px; min-height: 36px; font-size: 13px; }
.adm-main, .adm-nav { min-width: 0; }
@media (max-width: 900px) { .adm { grid-template-columns: minmax(0, 1fr); } }
.fx-img img { object-fit: contain; background: rgba(255,255,255,.1); }
@media (min-width: 560px) { .fxpick { grid-template-columns: repeat(4, 1fr); } }
.chipbtn { white-space: nowrap; }
.cchips.sm .cchip { min-height: 34px; padding: 4px 13px; font-size: 13px; }

/* ---------- AI に改善を頼む（開発の段階だけ） ---------- */
#kzbtn { position: fixed; right: 14px; bottom: 92px; z-index: 90; display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 14px; border: 0; border-radius: 999px; background: linear-gradient(120deg, #4a2343, #8a3b63); color: #fff; font: 700 13px/1 var(--f-body); box-shadow: 0 6px 18px rgba(74,35,67,.35); cursor: pointer; opacity: .92; }
#kzbtn .ic { width: 17px; height: 17px; color: #f6dc9a; } #kzbtn.has::after { content: ''; position: absolute; top: -2px; right: -2px; width: 12px; height: 12px; border-radius: 50%; background: #ff5b8a; border: 2px solid #fff; }
@media (max-width: 520px) { #kzbtn span { display: none; } #kzbtn { padding: 6px 12px; } }
.kz-l { max-height: 46vh; overflow-y: auto; } .kz { padding: 10px 0; border-top: 1px solid var(--line); } .kz p { margin: 6px 0; white-space: pre-wrap; }
.kz-r { background: #faf3f0; border-radius: 12px; padding: 9px 12px; font-size: 13.5px; white-space: pre-wrap; margin-bottom: 6px; }
@media print { #kzbtn { display: none; } }

/* ---------- スマホの幅（キャスト用のほかの画面）: 上の帯を細く・余白をつめる・並びを組み直す ---------- */
@media (max-width: 640px) {
  body:not(.phone) .top { padding: 6px 10px; gap: 4px; min-height: 0; }
  .top .brand { gap: 6px; min-width: 0; } .top .brand img { height: 20px; } .top .brand span { font-size: 17px; } .top .brand small { display: none; }
  .top .dev { padding: 3px 9px; font-size: 11.5px; white-space: nowrap; margin-left: 4px; } .top .dev .ic { width: 13px; height: 13px; }
  .top a.lk { padding: 6px 7px; } .top a.lk > span { display: none; } .top a.lk .ic { width: 18px; height: 18px; }
  .top .sndbtn { width: 30px; height: 30px; }
  .wrap { padding: 12px 12px 110px; } .adm-main { padding: 10px 12px 110px; }
  .card { padding: 14px 14px; margin-bottom: 12px; border-radius: 18px; } .card h2 { font-size: 15.5px; }
  .card.pad0 > div:first-child:not(.scroll), .card.pad0 > .row.between:first-child { padding: 12px 14px 8px !important; }
  .cols, .grid, .stats, .devs { gap: 10px; }
  .stats { grid-template-columns: 1fr 1fr; } .stats .card { padding: 12px 14px; } .stat b { font-size: 21px; }
  .floor { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .seat { min-height: 84px; padding: 9px 9px; border-radius: 14px; } .seat .tn { font-size: 16px; flex-wrap: wrap; } .seat .tag { padding: 1px 7px; font-size: 10.5px; }
  .menu { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; } .mitem { padding: 10px 8px; border-radius: 16px; } .mitem img { width: 64px; height: 64px; } .mitem b { font-size: 13px; } .mitem .pr { font-size: 13.5px; }
  .hero { grid-template-columns: 1fr 96px; align-items: end; margin-bottom: 12px; } .hero img { max-width: 96px; } .hero h1 { font-size: 20px; margin-bottom: 2px; } .hero p { font-size: 13px; margin: 0; }
  .devs { grid-template-columns: 1fr 1fr; } .devcard { padding: 12px 12px; } .devcard .small { display: none; } .devcard .dic { width: 38px; height: 38px; }
  .adm-nav { padding: 8px 10px 0; gap: 3px; } .adm-nav button { min-height: 32px; padding: 3px 9px; gap: 5px; font-size: 12px; border-radius: 10px; } .adm-nav button .ic { width: 14px; height: 14px; }
  table.list th, table.list td { padding: 8px 8px; font-size: 13px; } table.list th:first-child, table.list td:first-child { padding-left: 14px; } table.list th:last-child, table.list td:last-child { padding-right: 14px; }
  .tabs { margin-bottom: 10px; } .tabs .btn { padding: 4px 11px; font-size: 12.5px; min-height: 32px; }
  .row.between { flex-wrap: wrap; gap: 8px; }
  .ctool { padding: 0 14px 4px; }
}
@media (max-width: 640px) { .scroll table.list th, .scroll table.list td { white-space: nowrap; } .scroll table.list td.small { white-space: normal; min-width: 180px; } }
@media (max-width: 640px) { .card, .card.pad0 { overflow-x: auto; } .card table.list th, .card table.list td { white-space: nowrap; } .card table.list td.small { white-space: normal; min-width: 180px; } }
.grid > *, .cols > *, .adm-main > *, .wrap > * { min-width: 0; }
@media (max-width: 640px) { .grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 卓の状況・卓の連絡 ---------- */
.tk-h { font-size: 12px; font-weight: 700; color: var(--ink-3); margin: 10px 0 6px; display: flex; gap: 8px; align-items: center; }
.tk-it { display: flex; flex-wrap: wrap; gap: 6px; } .tk-it span { background: #f3ebe6; border-radius: 10px; padding: 4px 10px; font-size: 13px; } .tk-it span.nw { background: #fdf0da; color: #8a5a00; font-weight: 700; } .tk-it i { font-style: normal; font-size: 11px; }
.tk-ms { display: flex; flex-direction: column; gap: 6px; } .tkm { align-self: flex-start; max-width: 86%; } .tkm small { display: block; font-size: 10.5px; color: var(--ink-3); margin: 0 4px 1px; }
.tkm span { display: inline-block; background: #f3ebe6; border-radius: 14px 14px 14px 4px; padding: 6px 12px; font-size: 14px; } .tkm.me { align-self: flex-end; text-align: right; } .tkm.me span { background: var(--main); color: #fff; border-radius: 14px 14px 4px 14px; } .tkm.st span { background: #e3f0fb; color: #1f4f7a; }
.tk-p { margin-top: 10px; }
.acct { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 18px 0 6px; }
@media (min-width: 641px) { .top a.lk.out { border: 1px solid rgba(255,255,255,.22); } }

/* ---------- メニューの説明・ボトルキープ ---------- */
.mnote { display: block; font-size: 11.5px; color: var(--ink-3); line-height: 1.4; margin: 2px 0; }
.btbar { display: inline-flex; gap: 2px; vertical-align: middle; } .btbar i { width: 9px; height: 20px; border-radius: 3px; background: #ece2dc; cursor: pointer; } .btbar i.on { background: #c9963a; } .btbar.low i.on { background: var(--ng); }
.btrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); } .btrow:first-child { border-top: 0; } .btrow .btbar i { width: 13px; height: 26px; }

/* ---------- 売上の分析 ---------- */
.bzp { display: flex; flex-direction: column; gap: 10px; } .bzp input[type=date] { width: auto; min-height: 36px; padding: 5px 10px; }
.bzd { font: 600 11.5px/1.5 var(--f-num); padding: 0 7px; border-radius: 999px; background: #f1e9e4; color: var(--ink-3); white-space: nowrap; } .bzd.up { background: #e3f4ea; color: var(--ok); } .bzd.dn { background: #fbe4e1; color: var(--ng); }
.bzbars { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; height: 190px; align-items: end; } .bzbars > div { display: flex; flex-direction: column; align-items: center; gap: 3px; height: 100%; min-width: 0; } .bzbars span { font-size: 10px; color: var(--ink-3); }
.bzbars .b { flex: 1; width: 100%; position: relative; } .bzbars .b i { position: absolute; bottom: 0; border-radius: 4px 4px 0 0; } .bzbars .b .pv { left: 0; width: 100%; background: #e6d3da; } .bzbars .b .cu { left: 22%; width: 56%; background: #b0577c; }
.bzstack { display: flex; height: 22px; border-radius: 8px; overflow: hidden; margin-bottom: 12px; background: #f1e9e4; } .bzstack i { display: block; height: 100%; }
.bzrow { display: grid; grid-template-columns: 1fr auto 46px 78px; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--line); font-size: 13.5px; } .bzrow b { font-family: var(--f-num); } .bzrow small { text-align: right; color: var(--ink-3); font-size: 12px; }
.stat .bzd { margin-top: 2px; }
.stat b { white-space: nowrap; } @media (min-width: 641px) { .stats { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* ---------- 領収書 ---------- */
.ryoshu { border: 2px solid #333; padding: 22px 24px; background: #fff; color: #111; font-family: "Hiragino Mincho ProN", "Yu Mincho", serif; }
.ry-h { display: flex; justify-content: center; align-items: center; gap: 14px; } .ry-h h3 { font-size: 26px; letter-spacing: .3em; margin: 0; } .ry-h span { border: 1px solid #a33; color: #a33; font-size: 12px; padding: 1px 8px; }
.ry-no { text-align: right; font-size: 12.5px; margin: 6px 0 16px; } .ry-to { font-size: 19px; border-bottom: 1px solid #333; padding-bottom: 4px; width: 78%; }
.ry-amt { font-size: 30px; font-weight: 700; text-align: center; margin: 18px 0 8px; padding: 8px; background: #f3f0ea; letter-spacing: .04em; } .ry-amt small { font-size: 13px; font-weight: 400; }
.ry-t { font-size: 14px; margin-bottom: 14px; } .ry-d { font-size: 12.5px; display: flex; flex-direction: column; gap: 2px; border-top: 1px dotted #666; padding-top: 8px; } .ry-s { margin-top: 18px; text-align: right; display: flex; flex-direction: column; font-size: 13px; } .ry-s b { font-size: 16px; }
.ry-h h3 { color: #111; }

/* ---------- シフト・予約 ---------- */
table.yt th { text-align: center; font-size: 11px; line-height: 1.3; padding: 8px 2px; } table.yt th.we { color: var(--pink); } table.yt td { padding: 5px 2px; text-align: center; }
.ytc { position: relative; min-width: 52px; min-height: 34px; padding: 2px 4px; border-radius: 9px; border: 1.5px dashed #dccdd5; background: #fff; color: var(--ink-3); font: 600 12px/1.2 var(--f-body); cursor: pointer; }
.ytc.on { color: var(--main); } .ytc.base.on { border-color: #d7b9c6; background: #fbf3f6; } .ytc.fix { border-style: solid; border-color: #e6d9df; } .ytc.fix.on { background: var(--pink); border-color: var(--pink); color: #fff; } .ytc.fix:not(.on) { background: #f1ebe7; }
.ytc.want { border-style: solid; border-color: #e9c15f; background: #fff8e4; color: #7a5a10; } .ytc i { display: block; font-style: normal; font-size: 9.5px; font-weight: 700; } .ytc:disabled { cursor: default; }
.ytl { display: inline-block; width: 14px; height: 14px; border-radius: 4px; vertical-align: -2px; margin-right: 4px; } .ytl.fix { background: var(--pink); } .ytl.want { background: #fff8e4; border: 1.5px solid #e9c15f; } .ytl.base { background: #fbf3f6; border: 1.5px dashed #d7b9c6; }
.cal .tap { cursor: pointer; } .cal .past { opacity: .55; } .cal i.wn { background: #fdf0da; color: #8a5a00; } .cal i.o { background: #efe9e5; color: var(--ink-3); } .cal i.bs { background: transparent; color: var(--ink-3); border: 1px dashed #d7b9c6; }
.np-n { white-space: pre-wrap; background: #faf3f0; border-radius: 12px; padding: 10px 14px; margin: 10px 0; } .np-l { max-height: 70vh; overflow-y: auto; } .np-l .card { box-shadow: none; border: 1px solid var(--line); }
@media print { .np-l { max-height: none; overflow: visible; } }

/* ---------- 給与 ---------- */
.paybig { text-align: center; background: linear-gradient(120deg, #4a2343, #8a3b63); color: #fff; border-radius: 16px; padding: 16px; margin: 12px 0; display: flex; flex-direction: column; gap: 2px; } .paybig span { font-size: 12px; opacity: .85; } .paybig b { font: 700 32px/1.2 var(--f-num); color: #f6dc9a; } .paybig small { font-size: 11.5px; opacity: .8; }
