:root {
  --paper: #f9f2ef; --ink: #1c1b20; --ink-2: #66605c; --line: #1c1b20; --soft: #d8cfc6; --red: #d8341c; --indigo: #1f2a55; --gold: #b58d43; --purple: #6b3fa0;
  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", serif; --gothic: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--gothic); line-height: 1.55; -webkit-tap-highlight-color: transparent; }
body[data-screen="clear"] { background: var(--paper) var(--resultbg, none) center top / cover no-repeat fixed; }
button { cursor: pointer; font: inherit; color: inherit; }
rt { font-size: .5em; }
.game { max-width: 560px; margin: 0 auto; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); }

/* 共通の部品 */
.btn { position: relative; display: block; width: 100%; min-height: 50px; padding: 12px 44px; border: 1px solid var(--line); border-radius: 2px; background: url(assets/ui2/btn_l_ink.svg) 11px 50% / 26px 10px no-repeat, url(assets/ui2/btn_r_ink.svg) calc(100% - 11px) 50% / 26px 10px no-repeat, linear-gradient(#fff, var(--paper)); color: var(--ink); font: 500 16px var(--mincho); letter-spacing: .14em; text-align: center; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 5px rgba(28, 27, 32, .14); transition: filter .15s, transform .1s, box-shadow .1s; }
.btn::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(181, 141, 67, .6); pointer-events: none; }
.btn.gold, .btn.red { border-color: #b22a15; background: url(assets/ui2/btn_l_light.svg) 11px 50% / 26px 10px no-repeat, url(assets/ui2/btn_r_light.svg) calc(100% - 11px) 50% / 26px 10px no-repeat, linear-gradient(#e4482c, #c82b15); color: #fff; box-shadow: 0 3px 8px rgba(216, 52, 28, .35); }
.btn.gold::before, .btn.red::before { border-color: rgba(243, 223, 174, .7); }
.btn.small { min-height: 44px; padding: 8px 4px; font-size: 14px; letter-spacing: .02em; background: linear-gradient(#fff, var(--paper)); color: var(--ink); }
.btn.small.gold, .btn.small.red { background: linear-gradient(#e4482c, #c82b15); color: #fff; }
.btn:hover:not([disabled]) { filter: brightness(1.06); box-shadow: 0 4px 10px rgba(28, 27, 32, .22); }
.btn:active:not([disabled]) { transform: translateY(1px); box-shadow: 0 1px 2px rgba(28, 27, 32, .2); }
.btn[disabled] { border-color: var(--soft); background: var(--paper); color: var(--soft); box-shadow: none; cursor: default; }
.btn[disabled]::before { border-color: var(--soft); }
.linkish { justify-self: center; border: 0; background: none; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; font-size: 13px; }
.back { line-height: 1.6; }
.game-note { margin: 0; font-size: 11px; color: var(--ink-2); text-align: center; }
.maker { justify-self: center; color: var(--ink-2); font-size: 12px; text-underline-offset: 3px; }

.soundbtn { padding: 1px 6px; border: 1px solid var(--soft); border-radius: 2px; background: var(--paper); color: var(--ink-2); font-size: 11px; white-space: nowrap; }
.title .soundbtn { position: absolute; right: 12px; top: 12px; z-index: 2; background: rgba(249, 242, 239, .9); }
.medal { order: -1; display: flex; align-items: center; gap: 8px; padding-bottom: 0; text-align: left; }
.medal strong { display: inline; }
.medal .soundbtn { min-height: 30px; padding: 3px 10px; }
.medal .soundbtn:first-of-type { margin-left: auto; }
.medal .soundbtn + .soundbtn { margin-left: 14px; }

/* タイトル */
.title { position: relative; display: grid; grid-template-rows: 1fr auto; width: min(100%, 66dvh); min-height: 100dvh; margin: 0 auto; padding: 0 20px 18px; overflow: hidden; background: var(--paper); }
.kv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% top; animation: kvin 1.1s ease-out both; }
@keyframes kvin { from { opacity: 0; transform: scale(1.04); } }
.logo { position: relative; align-self: start; margin-top: 4.5dvh; width: max-content; animation: rise-in .8s .35s ease-out both; }
.logo h1 { margin: 0; font: 500 clamp(26px, 8vw, 34px)/1.3 var(--mincho); letter-spacing: .12em; white-space: nowrap; }
.logo h1 rt { font-size: .26em; letter-spacing: .1em; }
.logo .en { margin: 0; font: 500 11px var(--gothic); letter-spacing: .34em; color: var(--ink-2); }
.logo .bar { display: block; width: 100%; height: 1px; margin: 8px 0; background: var(--gold); }
.lead { margin: 0; font: 500 13px var(--mincho); letter-spacing: .1em; }
@keyframes rise-in { from { opacity: 0; transform: translateY(10px); } }
.menu { position: relative; z-index: 1; display: grid; gap: 5px; padding: 12px; background: rgba(249, 242, 239, .92); }
.best { margin: 0; text-align: center; font: 500 13px var(--mincho); }

/* 戦闘 */
.battle { position: relative; display: flex; flex-direction: column; width: min(100%, 60dvh); height: 100dvh; min-height: 480px; margin: 0 auto; overflow: hidden; background: var(--paper); }
.boss { order: 4; flex: 1 1 0; min-height: 0; width: 100%; object-fit: cover; object-position: center 30%; }
.boss[alt="八俣遠呂智"] { object-fit: contain; }
.boss.shake { animation: shake .32s; }
@keyframes shake { 20% { transform: translate(-7px, 2px); filter: contrast(1.3); } 45% { transform: translate(6px, -2px); } 70% { transform: translate(-3px, 1px); } }
.shade { display: none; }
.top { order: 1; position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 8px 14px 0; }
.plate { min-width: 0; }
.name { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.name strong { font: 500 19px/1.4 var(--mincho); letter-spacing: .12em; }
.name span { font-size: 12px; white-space: nowrap; }
.medal { padding-bottom: 2px; text-align: right; line-height: 1.2; }
.medal strong { display: block; font: 500 12px var(--mincho); }
.medal span { font-size: 11px; color: var(--ink-2); }
.gauge { height: 3px; background: var(--soft); overflow: hidden; }
.gauge span { display: block; height: 100%; transition: width .3s; }
.gauge.red span { background: var(--red); }
.gauge.purple span { background: var(--purple); }
.gauge.danger span { background: var(--red); }
.heads { order: 2; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 3px; margin: 6px 14px 0; }
.heads span { border: 1px solid var(--line); text-align: center; font-size: 12px; background: var(--paper); }
.heads .gone { border-color: var(--soft); color: var(--soft); }
.rule { order: 3; position: relative; z-index: 2; margin: 5px 14px 0; padding-bottom: 5px; border-bottom: 1px solid var(--soft); font-size: 12px; line-height: 1.5; }
.low { order: 5; position: relative; z-index: 2; display: grid; gap: 4px; padding: 0 10px 10px; background: var(--paper); }
.buffs { position: absolute; left: 8px; right: 8px; top: -32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; pointer-events: none; }
.buffs span { padding: 1px 10px; background: var(--ink); color: #fff; font: 500 12px var(--mincho); letter-spacing: .06em; }
.msg { margin: 4px 0 0; min-height: 1.6em; text-align: center; font: 500 13px/1.5 var(--mincho); }
.msgtext.waiting { visibility: hidden; }
.tw { visibility: hidden; animation: tw .01s var(--d) forwards; }
@keyframes tw { to { visibility: visible; } }
.status { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; border-top: 1px solid var(--soft); border-bottom: 1px solid var(--soft); }
.gem, .chain { display: flex; align-items: baseline; gap: 8px; padding: 2px 12px; }
.gem { border-right: 1px solid var(--soft); }
.chain { border-left: 1px solid var(--soft); }
.gem span, .chain span { order: -1; font: 500 12px var(--mincho); }
.gem b, .chain b { font: 400 26px/1.2 var(--mincho); }
.chain.on b { color: var(--red); animation: pop .3s; }
@keyframes pop { 40% { transform: scale(1.5); } }
.stain { padding: 0 12px; }
.stain span { font-size: 12px; }
.actions { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6px; }
.actions.three { grid-template-columns: 1fr 1fr 1.3fr; }
.actions .gold[disabled] { border-color: var(--soft); color: var(--soft); }
.actions .btn.bind { border-color: var(--indigo); background: linear-gradient(#2a3970, var(--indigo)); color: #fff; animation: bindpulse 1s ease-in-out infinite alternate; }
@keyframes bindpulse { to { box-shadow: 0 0 0 3px rgba(31, 42, 85, .25); } }

/* カード */
.gcard { container-type: inline-size; position: relative; display: block; width: 100%; aspect-ratio: 5 / 7.6; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink); text-align: center; font: inherit; box-shadow: 0 2px 5px rgba(28, 27, 32, .16); overflow: hidden; }
.gcard .art { position: absolute; left: 8%; top: 3%; width: 84%; aspect-ratio: 1; object-fit: cover; }
.gcard .frame { position: absolute; inset: 3px; z-index: 1; pointer-events: none; background: url(assets/ui2/corner_tl.svg) 0 0 / 15cqw no-repeat, url(assets/ui2/corner_tr.svg) 100% 0 / 15cqw no-repeat, url(assets/ui2/corner_bl.svg) 0 100% / 15cqw no-repeat, url(assets/ui2/corner_br.svg) 100% 100% / 15cqw no-repeat; }
.gcard .cost { position: absolute; left: 4%; top: 3%; z-index: 2; display: grid; place-items: center; width: max(18px, 19cqw); height: max(18px, 19cqw); border: 1px solid var(--line); border-radius: 50%; background: #fff; font: 500 max(11px, 11cqw)/1 var(--mincho); }
.gcard .body { position: absolute; left: 3%; right: 3%; top: 56%; bottom: 3%; display: grid; align-content: center; justify-items: center; gap: 2px; overflow: hidden; }
.gcard .role { white-space: pre-line; order: 2; padding-top: 2px; border-top: 1px solid var(--soft); font-size: max(10px, 12.5cqw); line-height: 1.2; color: var(--ink); text-align: center; text-wrap: balance; }
.gcard.role-攻撃 .role { color: var(--red); }
.gcard.role-補助 .role { color: var(--indigo); }
.gcard strong { font: 500 max(11px, 14cqw)/1.15 var(--mincho); text-align: center; overflow-wrap: anywhere; text-wrap: balance; }
.gcard strong.long { font-size: max(10px, 12cqw); }
.gcard .short rt { display: none; }
.gcard rt { font-size: max(6px, .5em); line-height: 1; color: var(--ink); text-shadow: 0 0 2px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #fff; }
.gcard.bonded { border-color: var(--red); animation: bondglow 1s ease-in-out infinite alternate; }
.gcard.bonded::before { content: ""; position: absolute; inset: 0; z-index: 3; border: 2px solid var(--red); border-radius: 5px; pointer-events: none; }
@keyframes bondglow { from { box-shadow: 0 0 0 0 rgba(216, 52, 28, .2); } to { box-shadow: 0 0 10px 3px rgba(216, 52, 28, .55); } }
.gcard .bondtag rt { color: #fff; font-size: .62em; }
.gcard .bondtag { position: absolute; right: 3%; top: 3%; z-index: 4; padding: .15em .5em 0; background: var(--red); color: #fff; font-size: max(9px, 7.2cqw); white-space: nowrap; }
.gcard.off .art { filter: grayscale(1); opacity: .55; }
.gcard.off .cost { border-color: var(--soft); color: var(--soft); }
.hand { display: flex; justify-content: center; padding: 8px 0 14px; }
.hand .gcard { flex: 0 0 var(--cw); min-width: 0; max-width: 14dvh; height: auto; align-self: flex-start; margin-left: var(--ml); transform: translateY(var(--y)) rotate(var(--r)); transform-origin: 50% 110%; z-index: var(--z); transition: transform .14s; }
.hand .gcard:hover, .hand .gcard:focus-visible, .hand .gcard.selected { transform: translateY(-12px) rotate(var(--r)) scale(1.04); outline: none; }
.hand .gcard:focus-visible, .hand .gcard.selected { z-index: 40; }
@media (hover: hover) { .hand .gcard:hover { z-index: 40; } }
.hand .gcard.marked { transform: translateY(-14px) rotate(var(--r)); z-index: 30; border-color: var(--indigo); }
.gcard.marked::after { content: "入替"; position: absolute; left: 50%; top: 30%; z-index: 3; transform: translateX(-50%); padding: 0 .5em; background: var(--indigo); color: #fff; font-size: max(10px, 12cqw); }

/* 手札は重なるので、文字はカードの中央の、隣に隠れない幅へ収める */
.hand .gcard .body { left: calc((100% - var(--vis)) / 2); right: auto; top: 59%; bottom: 2%; width: var(--vis); align-content: start; }
.hand .gcard strong, .hand .gcard strong.long { font-size: max(8px, var(--nm)); white-space: nowrap; max-width: 100%; overflow: hidden; }
.hand .gcard .role { font-size: max(8px, min(var(--tm), 11cqw)); line-height: 1.12; max-width: 100%; white-space: pre; overflow: hidden; }
.hand .gcard .body { gap: 1px; } /* 名前のふりがなと説明2行が札の下で切れないように詰める */
.hand .gcard strong, .hand .gcard strong.long { line-height: 1.05; }
.hand .gcard rt { font-size: 5.5px; }
/* 最前面に出たカードは、重なりを気にせずカード全体の幅で名前と説明を出す */
.hand .gcard.selected .body, .hand .gcard:focus-visible .body { left: 3%; width: 94%; }
.hand .gcard.selected strong, .hand .gcard:focus-visible strong { font-size: max(8px, var(--nmF)); }
.hand .gcard.selected .role, .hand .gcard:focus-visible .role { font-size: max(8px, var(--tmF)); }
@media (hover: hover) {
  .hand .gcard:hover .body { left: 3%; width: 94%; }
  .hand .gcard:hover strong { font-size: max(8px, var(--nmF)); }
  .hand .gcard:hover .role { font-size: max(8px, var(--tmF)); }
}
.hand .gcard .bondtag { left: 2%; right: auto; top: 22%; }

/* カードの拡大 */
.preview { position: fixed; inset: 0; z-index: 100; display: grid; align-content: center; justify-items: center; gap: 8px; padding: 16px; background: rgba(28, 27, 32, .62); }
.preview .gcard { width: min(58vw, 280px, 34dvh); animation: lift .16s; }
.preview .btn { width: min(78vw, 360px); }
.preview .gcard .role { order: 0; border: 0; font-size: 12px; }
.preview .gcard strong { font-size: 20px; }
.preview .gcard .cost { font-size: 22px; }
.preview .gcard .bondtag { font-size: 13px; }
@keyframes lift { from { transform: translateY(16px) scale(.94); opacity: .5; } }
.effect .now { display: block; color: var(--red); font-weight: 500; }
.effect { width: min(78vw, 360px); margin: 0; padding: 10px 12px; border-radius: 3px; background: linear-gradient(160deg, #fff, var(--paper)); border: 1px solid rgba(181, 141, 67, .7); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); font-size: 15px; line-height: 1.6; text-align: center; }
.forecast { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 6px; width: min(78vw, 360px); padding: 6px 8px; background: var(--paper); }
.forecast b { font: 500 12px var(--mincho); }
.forecast span { padding: 0 8px; border: 1px solid var(--line); font-size: 12px; }
.forecast .good { border-color: var(--red); background: var(--red); color: #fff; }
.forecast .bad { border-color: var(--red); color: var(--red); }

/* チュートリアル */
.tutspot { position: fixed; z-index: 200; border-radius: 8px; pointer-events: none; box-shadow: 0 0 0 100vmax rgba(28, 27, 32, .6), 0 0 14px 2px rgba(214, 178, 106, .7);
  background:
    linear-gradient(var(--gold), var(--gold)) 0 0 / 18px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 0 / 2px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 0 / 18px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) 100% 0 / 2px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 100% / 18px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 100% / 2px 18px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 100% / 18px 2px no-repeat, linear-gradient(var(--gold), var(--gold)) 100% 100% / 2px 18px no-repeat;
  animation: tutglow 1.8s ease-in-out infinite alternate; }
@keyframes tutglow { to { box-shadow: 0 0 0 100vmax rgba(28, 27, 32, .6), 0 0 26px 7px rgba(214, 178, 106, .95); } }
.tutbox { position: fixed; z-index: 201; left: 50%; transform: translateX(-50%); display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 4px 12px; align-items: center; width: min(calc(100vw - 20px), 400px); padding: 14px 14px 10px; overflow: hidden; border-radius: 4px; background: linear-gradient(160deg, #fff 0%, var(--paper) 60%, #f3e8df 100%); box-shadow: 0 14px 34px rgba(0, 0, 0, .42), 0 2px 6px rgba(0, 0, 0, .25); animation: tutin .26s ease-out; }
.tutbox::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(181, 141, 67, .65); border-radius: 2px; pointer-events: none; }
.tutbox::after { content: ""; position: absolute; right: -46px; top: -46px; width: 130px; height: 130px; border: 1px solid rgba(181, 141, 67, .5); border-radius: 50%; pointer-events: none; }
@keyframes tutin { from { opacity: 0; margin-top: 8px; } }
.tutface { display: block; width: 62px; height: 62px; border-radius: 50%; background: url(assets/v3/uzume.jpg) 50% 30% / 230% no-repeat; box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px #fff, 0 0 0 5px rgba(181, 141, 67, .6); }
.tutbody { min-width: 0; }
.tutwho { margin: 0; font: 500 11px var(--mincho); letter-spacing: .14em; color: var(--gold); }
.tutbox p.tutsay { margin: 0; font: 500 15px/1.65 var(--mincho); }
.tutrow { grid-column: 1 / -1; position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; padding: 2px 4px 0; }
.tutcount { font-size: 11px; color: var(--ink-2); letter-spacing: .1em; }
.tutrow .linkish { font-size: 12px; }
.tutrow .btn { width: 112px; min-height: 36px; padding: 6px; border-radius: 2px; box-shadow: 0 3px 8px rgba(216, 52, 28, .35); }

/* 敵の攻撃 */
.battle.striking { animation: quake .5s .62s; }
.striking .boss { animation: charge 1.1s forwards; transform-origin: 50% 35%; }
.striking .hand .gcard { animation: knock .55s .66s forwards; }
.striking .hand .gcard:nth-child(even) { --kick: 14deg; }
.striking .actions, .striking .status, .striking .msg { transition: opacity .3s .6s; opacity: .25; }
.strikefx { position: absolute; inset: 0; z-index: 50; overflow: hidden; pointer-events: none; }
.strikefx::before { content: ""; position: absolute; inset: 0; background: var(--strike); opacity: 0; animation: flash .7s .58s; }
.strikefx::after { content: ""; position: absolute; inset: 0; background: rgba(28, 27, 32, .78); opacity: 0; animation: redout 1.1s .62s forwards; }
.strikefx i { position: absolute; left: -20%; width: 140%; height: 5px; background: var(--ink); transform: rotate(-24deg) scaleX(0); animation: slash .34s .6s forwards; }
.strikefx i:nth-child(1) { top: 30%; }
.strikefx i:nth-child(2) { top: 44%; height: 9px; background: var(--red); animation-delay: .66s; }
.strikefx i:nth-child(3) { top: 58%; animation-delay: .72s; }
.stainout .boss { animation: none; }
.stainout .strikefx i { display: none; }
.strikeword { position: absolute; left: 0; right: 0; top: 40%; z-index: 51; margin: 0; padding: 0 12px; text-align: center; color: #fff; font: 500 clamp(22px, 6.6vw, 30px)/1.4 var(--mincho); letter-spacing: .1em; opacity: 0; animation: word 1.05s .66s forwards; pointer-events: none; }
@keyframes charge { 0% { transform: scale(1); } 45% { transform: scale(.95); } 58% { transform: scale(1.28); } 100% { transform: scale(1.2); } }
@keyframes flash { 0% { opacity: 0; } 12% { opacity: .9; } 100% { opacity: 0; } }
@keyframes redout { to { opacity: 1; } }
@keyframes slash { 0% { transform: rotate(-24deg) scaleX(0); opacity: 1; } 55% { transform: rotate(-24deg) scaleX(1); opacity: 1; } 100% { transform: rotate(-24deg) scaleX(1.1); opacity: 0; } }
@keyframes quake { 15% { transform: translate(-9px, 5px); } 35% { transform: translate(8px, -6px); } 55% { transform: translate(-6px, 3px); } 80% { transform: translate(3px, -2px); } }
@keyframes knock { to { transform: translateY(70px) rotate(var(--kick, -14deg)); opacity: .5; } }
@keyframes word { 0% { opacity: 0; transform: scale(1.3); } 18% { opacity: 1; transform: scale(1); } 100% { opacity: 1; } }

/* 数字の知らせ */
.float { position: absolute; z-index: 5; left: 50%; top: 30%; transform: translateX(-50%); font: 500 26px var(--mincho); color: var(--ink); white-space: nowrap; pointer-events: none; animation: rise .95s forwards; text-shadow: 0 0 6px var(--paper), 0 0 3px var(--paper); }
.float.note { top: calc(36% + var(--i, 0) * 40px); padding: 3px 18px; border-radius: 2px; background: rgba(28, 27, 32, .9); color: #fff; font-size: 17px; letter-spacing: .06em; text-shadow: none; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); animation-delay: calc(var(--i, 0) * .16s); opacity: 0; }
.float.info { color: #f3dfae; }
.float.dmg { color: var(--red); font-size: 58px; font-weight: 700; }
.float.bond { top: 18%; padding: 3px 18px; border-radius: 2px; background: var(--red); color: #fff; font-size: 20px; text-shadow: none; box-shadow: 0 3px 10px rgba(216, 52, 28, .4); }
.float.purge { color: #bfe0ff; }
.float.energy { color: #9ff0d8; }
.float.foul { color: #e0c0ff; }
.float.seal { padding: 3px 18px; background: rgba(28, 27, 32, .9); color: #fff; font-size: 19px; text-shadow: none; }
@keyframes rise { from { opacity: 0; margin-top: 14px; } 15% { opacity: 1; } 70% { opacity: 1; } to { opacity: 0; margin-top: -34px; } }

/* 結果の画面 */
.reward { display: grid; align-content: center; gap: 10px; min-height: 100dvh; padding: 18px 14px; text-align: center; }
.reward h2 { margin: 0; font: 500 24px var(--mincho); letter-spacing: .1em; }
.reward h3 { margin: 6px 0 0; font: 500 14px var(--mincho); letter-spacing: .08em; }
.line { margin: 0; font: 500 17px var(--mincho); text-wrap: balance; }
.small { margin: 0; font-size: 13px; color: var(--ink-2); }
.got { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cardcap { width: min(31%, 150px); display: grid; align-content: start; gap: 4px; }
.got.mine .cardcap { width: min(25%, 120px); }
.cap { margin: 0; font-size: 11px; line-height: 1.45; }
.cap rt { font-size: 7px; }
.deckview { display: grid; gap: 10px; align-content: start; padding: 14px; }
.deckview h2 { margin: 0; font: 500 20px var(--mincho); letter-spacing: .1em; text-align: center; }
.deckgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: min(100%, 520px); margin: 0 auto; }
.deckitem { position: relative; }
.count { position: absolute; right: 4%; top: 3%; z-index: 3; padding: 0 6px; background: var(--ink); color: #fff; font-size: 12px; }
.modal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(28, 27, 32, .5); }
.sheet { position: relative; width: min(420px, 100%); max-height: 80vh; overflow: auto; display: grid; gap: 8px; padding: 18px; border-radius: 4px; background: linear-gradient(160deg, #fff 0%, var(--paper) 60%, #f3e8df 100%); border: 1px solid rgba(181, 141, 67, .7); box-shadow: 0 14px 34px rgba(0, 0, 0, .42); }
.sheet h3 { margin: 0; font: 500 15px var(--mincho); }
.sheet ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; }
.sheet small { display: block; color: var(--ink-2); }
.reward.clear { align-content: start; width: min(100%, 560px); margin: 0 auto; padding-top: 26px; }
.ranking-view { align-content: start; width: min(100%, 560px); margin: 0 auto; padding-top: 26px; }
.reward.clear h2, .reward.clear > .line, .reward.clear > .small { color: #fff; text-shadow: 0 1px 8px rgba(20, 50, 110, .75); }
.trophies { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.trophies .gcard { aspect-ratio: 1; border-radius: 3px; }
.trophies .gcard .art { inset: 0; left: 0; top: 0; width: 100%; height: 100%; }
.trophies .gcard .cost, .trophies .gcard .body { display: none; }
.box { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); background: rgba(249, 242, 239, .96); }
.box h3 { margin: 0; }
.resultpic { width: min(100%, 420px); margin: 0 auto; }
.resultpic img, .resultpic canvas { display: block; width: 100%; height: auto; box-shadow: 0 4px 16px rgba(20, 50, 110, .35); }
.outbox { display: grid; gap: 8px; }
.outbox:empty { display: none; }
/* 勝利 */
body[data-screen="win"] { background: #0d0f22; }
.win { width: min(100%, 560px); min-height: 100dvh; margin: 0 auto; color: #fbf6ec; background: url(assets/ui2/wave.svg) 0 0 / 46px 23px, linear-gradient(170deg, #232c58, #0d0f22 60%); }
.win-hero { position: relative; aspect-ratio: 1 / .84; max-height: 48dvh; width: 100%; overflow: hidden; }
.win-hero img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 6%; animation: kvin 1s ease-out both; }
.win-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 18px 12px; text-align: center; color: #fbf6ec; background: linear-gradient(transparent, rgba(13, 15, 34, .82) 34%, #1b2147); animation: rise-in .6s .2s ease-out both; }
.win-kicker { margin: 0; color: #d6b26a; font: 500 13px var(--mincho); letter-spacing: .34em; }
.win-title h2 { margin: 2px 0 4px; font: 500 clamp(21px, 6.2vw, 27px)/1.4 var(--mincho); letter-spacing: .08em; }
.win-title rt { color: #e9cf9a; }
.win-line { margin: 0; color: #e8e2d6; font: 500 14px/1.6 var(--mincho); }
.win-body { display: grid; gap: 10px; padding: 14px 14px 28px; }
.win-body h3 { display: flex; align-items: center; gap: 10px; margin: 2px 0 0; color: #d6b26a; font: 500 14px var(--mincho); letter-spacing: .12em; }
.win-body h3::before, .win-body h3::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, #d6b26a); }
.win-body h3::after { transform: scaleX(-1); }
.win-body .cap { color: #e8e2d6; text-align: center; text-shadow: none; }
.win-body .cap rt { color: #cdc6b3; }
.win .got.mine { position: relative; padding: 6px 0; }
.win .got.mine::before { content: ""; position: absolute; left: 50%; top: 50%; width: 240px; height: 240px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(214, 178, 106, .4), transparent 66%); pointer-events: none; animation: winglow 2.4s ease-in-out infinite alternate; }
@keyframes winglow { from { opacity: .55; } to { opacity: 1; } }
.win .got.mine .gcard { box-shadow: 0 0 0 1px #d6b26a, 0 6px 18px rgba(0, 0, 0, .5); animation: wincard .6s .35s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes wincard { from { opacity: 0; transform: translateY(14px) scale(.8) rotate(-4deg); } }
.win .got.pickable .gcard { box-shadow: 0 0 0 1px rgba(214, 178, 106, .6), 0 5px 14px rgba(0, 0, 0, .5); transition: transform .14s, box-shadow .14s; }
.win .got.pickable .gcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px #d6b26a, 0 8px 20px rgba(0, 0, 0, .55); }
.win-note { color: #cdc6b3; font-size: 12px; text-align: center; }

/* 敗北 */
.lose { background: url(assets/ui2/wave.svg) 0 0 / 46px 23px, linear-gradient(170deg, #3a1420, #0d0f22 62%); }
.lose .win-hero img { filter: grayscale(.55) brightness(.82); }
.lose .win-title { background: linear-gradient(transparent, rgba(13, 15, 34, .82) 34%, #2c1220); }
.lose .win-kicker { color: #ff9d8c; }
.lose-bar { display: grid; gap: 4px; }
.lose-bar p { margin: 0; text-align: center; font: 500 14px var(--mincho); }
.lose-gauge { height: 8px; border: 1px solid rgba(214, 178, 106, .6); background: rgba(0, 0, 0, .35); }
.lose-gauge span { display: block; height: 100%; background: linear-gradient(90deg, #c82b15, #e8a04e); }
.lose-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px 0; border-top: 1px solid rgba(214, 178, 106, .35); border-bottom: 1px solid rgba(214, 178, 106, .35); text-align: center; }
.lose-stat small { display: block; color: #d6b26a; font-size: 11px; }
.lose-stat b { font: 400 24px/1.3 var(--mincho); }
.lose-links { display: flex; justify-content: center; gap: 24px; }
.lose .linkish { color: #e8e2d6; }

/* ランキング */
.rk { display: flex; flex-direction: column; width: min(100%, 560px); min-height: 100dvh; margin: 0 auto; background: var(--paper); }
.rk-head { position: relative; padding: 26px 22px 40px; color: #fbf6ec; background: url(assets/ui2/wave.svg) 0 0 / 46px 23px, linear-gradient(135deg, #232c58, #0d0f22); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), 0 100%); }
.rk-headwrap { filter: drop-shadow(0 3px 0 #d6b26a) drop-shadow(0 7px 0 rgba(214, 178, 106, .35)); }
.rk-head rt, .rk-stat rt { display: none; }
.rk-head p { margin: 0; color: #d6b26a; font: 500 12px var(--mincho); letter-spacing: .36em; }
.rk-head h2 { margin: 4px 0 6px; font: 500 28px/1.3 var(--mincho); letter-spacing: .12em; }
.rk-head small { display: block; color: #cdc6b3; font-size: 12px; }
.rk-list { flex: 1; margin-top: 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 8px; padding: 10px 14px 16px; }
.rk-empty { grid-column: 1 / -1; margin: 40px 0; text-align: center; color: var(--ink-2); font: 500 15px var(--mincho); }
.rk-card { position: relative; display: grid; align-items: center; min-width: 0; overflow: hidden; color: var(--ink); text-decoration: none; }
.rk-no { font: 400 22px var(--mincho); text-align: center; }
.rk-face { display: block; border-radius: 50%; background: var(--paper) 50% 14% / 170% no-repeat; box-shadow: 0 0 0 1px var(--gold); }
.rk-who { min-width: 0; display: grid; gap: 1px; }
.rk-who strong { overflow: hidden; font: 500 15px/1.4 var(--mincho); text-overflow: ellipsis; white-space: nowrap; }
.rk-who small { font-size: 11px; color: var(--ink-2); }
.rk-rec { display: flex; gap: 12px; }
.rk-stat { display: grid; justify-items: end; line-height: 1.15; }
.rk-stat small { font-size: 10px; color: var(--gold); }
.rk-stat b { font: 400 20px var(--mincho); }
.rk-mark { display: block; width: 42px; height: 42px; clip-path: circle(46%); }
.rk-row { grid-column: 1 / -1; grid-template-columns: 30px 46px minmax(0, 1fr) auto 38px; gap: 8px; padding: 7px 2px; border-bottom: 1px solid var(--soft); }
.rk-row .rk-face { width: 46px; height: 46px; }
.rk-row .rk-mark { width: 38px; height: 38px; }
/* 1〜3位は札にする */
.rk-1, .rk-2, .rk-3 { border: 1px solid rgba(181, 141, 67, .75); border-radius: 4px; background: linear-gradient(160deg, #fff, var(--paper) 62%, #f3e8df); box-shadow: 0 5px 14px rgba(28, 27, 32, .14); }
.rk-1 { grid-column: 1 / -1; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 14px; padding: 14px; }
.rk-1 .rk-no { position: absolute; left: 10px; top: 4px; z-index: 1; color: var(--red); font-size: 34px; text-shadow: 0 0 6px #fff, 0 0 3px #fff; }
.rk-1 .rk-face { grid-row: 1 / 3; width: 112px; height: 112px; }
.rk-1 .rk-who strong { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 19px; white-space: normal; }
.rk-1 .rk-who small { font-size: 12px; }
.rk-1 .rk-rec { grid-column: 2; }
.rk-1 .rk-stat b { font-size: 28px; }
.rk-1 .rk-mark { position: absolute; right: 10px; bottom: 8px; width: 64px; height: 64px; }
.rk-2, .rk-3 { grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 12px 10px 10px; text-align: center; }
.rk-2 .rk-no, .rk-3 .rk-no { position: absolute; left: 8px; top: 2px; z-index: 1; color: var(--indigo); font-size: 26px; }
.rk-2 .rk-face, .rk-3 .rk-face { width: 78px; height: 78px; }
.rk-2 .rk-who, .rk-3 .rk-who { width: 100%; }
.rk-2 .rk-mark, .rk-3 .rk-mark { position: absolute; right: 6px; top: 6px; width: 36px; height: 36px; }
.rk-foot { padding: 0 14px 18px; }
.copybox { display: grid; gap: 6px; text-align: left; }
textarea { width: 100%; border: 1px solid var(--soft); border-radius: 2px; background: #fff; color: var(--ink); font: 14px/1.6 var(--gothic); padding: 8px; }
.statusline { margin: 0; font-size: 13px; color: var(--ink-2); min-height: 1.2em; text-align: center; }
.idrow { display: grid; grid-template-columns: minmax(0, 1fr) 100px; gap: 8px; align-items: center; }
.idrow input { min-width: 0; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--ink); font: 16px var(--gothic); padding: 11px 10px; }

/* 背の低い画面 */
@media (max-height: 640px) {
  .btn.small { min-height: 38px; padding-block: 5px; font-size: 13px; }
  .gem b, .chain b { font-size: 20px; }
  .rule { font-size: 11px; }
}

/* 幅の狭いスマホ：手札のフリガナは拡大で見せる */
@media (max-width: 340px) {
  .hand .gcard rt { display: none; }
}

/* ホーム画面から開いたとき：下のホームバーをよける */
@media (display-mode: standalone) {
  .low { padding-bottom: max(32px, calc(10px + env(safe-area-inset-bottom))); }
  .title { padding-bottom: 34px; }
  .rk-foot { padding-bottom: 36px; }
}

/* ---------- 七神チャレンジ ---------- */
.title .btn.seven-entry { border-color: #1f2a55; color: #1f2a55; }
.hall { position: relative; width: min(100%, 560px); min-height: 100dvh; margin: 0 auto; padding: 22px 14px 32px; display: grid; align-content: start; gap: 14px; }
.hall .soundbtn { position: absolute; top: 12px; right: 12px; }
.hall-head { text-align: center; }
.hall-head .en { margin: 0; color: var(--gold); font: 500 12px var(--mincho); letter-spacing: .4em; }
.hall-head h2 { margin: 4px 0; font: 500 28px var(--mincho); letter-spacing: .12em; }
.hall-head .lead { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.7; }
.hall-rec { text-align: center; font-size: 13px; }
.hall-rec p { margin: 2px 0; }
.hall-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hall-grid > :nth-child(7) { grid-column: 2; }
.scard { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 1px solid var(--gold); border-radius: 6px; background: #fff; box-shadow: 0 3px 10px rgba(28, 27, 32, .18); cursor: pointer; text-align: center; }
.scard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.scard::after { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(181, 141, 67, .55); border-radius: 4px; pointer-events: none; }
.scard-name { position: absolute; left: 0; right: 0; bottom: 0; display: grid; padding: 18px 4px 6px; background: linear-gradient(transparent, rgba(255, 255, 255, .94) 42%); }
.scard-name small { color: var(--sc); font: 500 10px var(--mincho); letter-spacing: .08em; }
.scard-name strong { color: var(--ink); font: 500 16px var(--mincho); letter-spacing: .1em; }
.scard-note { position: absolute; top: 6px; left: 6px; right: 6px; padding: 2px 4px; border-radius: 2px; background: var(--sc); color: #fff; font-size: 10px; }
.scard:hover { transform: translateY(-2px); }
.hall-menu { display: grid; gap: 10px; margin-top: 4px; }
.seven-pick { text-align: center; }
.seven-face { width: 100%; height: clamp(120px, 30dvh, 320px); object-fit: cover; object-position: center 14%; border-radius: 4px; }
.seven-pick { gap: 6px; }
.seven-title { margin: 4px 0 0; color: var(--sc); font: 500 13px var(--mincho); letter-spacing: .2em; }
.seven-pick h3 { font-size: 22px; letter-spacing: .14em; }
.seven-rule { margin: 0; padding: 8px 10px; border-left: 3px solid var(--sc); background: var(--paper); font-size: 13px; line-height: 1.6; text-align: left; }
.seven-line { margin: 0; font: 500 14px/1.7 var(--mincho); }
.rules7 ul li { display: grid; grid-template-columns: 4.6em 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(181, 141, 67, .3); font-size: 13px; line-height: 1.6; }
.rules7 ul li b { color: var(--red); font: 500 14px var(--mincho); }
.seven-got { justify-items: center; }
.seven-got .scard { width: min(46%, 180px); }
.seven-pic .hall-grid { width: 100%; }
.seven-pic canvas, .seven-pic img { display: block; width: 100%; height: auto; }
.rk-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px; }
.rk-tab { min-height: 40px; border: 1px solid var(--gold); border-radius: 2px; background: #fff; color: var(--ink-2); font: 500 14px var(--mincho); letter-spacing: .06em; }
.rk-tab.on { border-color: #1f2a55; background: #1f2a55; color: #fbf6ec; }
.rk-face.seven { background-size: cover; background-position: center 15%; }

/* 神カード（七神の収集カード） */
.ccard { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 2px solid var(--sc); border-radius: 8px; background: #fffaf3; box-shadow: 0 0 0 1px #d6b26a inset, 0 4px 12px rgba(28, 27, 32, .22); cursor: pointer; container-type: inline-size; }
.ccard-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 0; transform: scale(1.32); transform-origin: 50% 8%; } /* 札いっぱいに。丸が縁まで届くように少し寄せる */
.ccard-frame { position: absolute; inset: 3px; z-index: 1; pointer-events: none; border: 1px solid rgba(181, 141, 67, .7); border-radius: 6px; background: url(assets/ui2/corner_tl.svg) 0 0 / 16cqw no-repeat, url(assets/ui2/corner_tr.svg) 100% 0 / 16cqw no-repeat, url(assets/ui2/corner_bl.svg) 0 100% / 16cqw no-repeat, url(assets/ui2/corner_br.svg) 100% 100% / 16cqw no-repeat; }
.ccard-mark { position: absolute; top: 2.5%; left: 3%; z-index: 2; display: grid; place-items: center; width: 17cqw; height: 17cqw; border-radius: 50%; background: var(--sc); color: #fff; font: 500 9cqw var(--mincho); box-shadow: 0 0 0 1.5px #d6b26a; }
.ccard-name { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; padding: 16% 4% 6%; text-align: center; background: linear-gradient(transparent, rgba(255, 250, 243, .95) 45%); }
.ccard-name small { color: var(--sc); font: 500 max(9px, 7.5cqw) var(--mincho); letter-spacing: .12em; }
.ccard-name strong { color: var(--ink); font: 500 max(13px, 13cqw)/1.2 var(--mincho); letter-spacing: .14em; }
.ccard.big { width: min(78%, 280px); margin: 0 auto; cursor: default; }
.seven-got .ccard { width: min(60%, 240px); }
.ccard .scard-note { z-index: 3; top: 2.5%; left: auto; right: 3%; display: grid; place-items: center; width: 17cqw; height: 17cqw; padding: 0; border: 1.5px solid #fff; border-radius: 50%; font: 500 max(8px, 6.5cqw)/1 var(--mincho); letter-spacing: 0; transform: rotate(12deg); box-shadow: 0 0 0 1.5px var(--sc); } /* 撃破の印は右上の小さな判子にして、顔に掛けない */

/* 神カード（会話用） */
.talk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }

/* 神カードの束（手札の右上） */
.talkdeck { position: absolute; right: 10px; bottom: calc(100% + 6px); z-index: 3; display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border: 1px solid #d6b26a; border-radius: 22px; background: rgba(31, 42, 85, .92); color: #fbf6ec; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); cursor: pointer; animation: deckglow 2.2s ease-in-out infinite; }
.talkdeck-cards { position: relative; width: 40px; height: 34px; }
.talkdeck-cards img { position: absolute; top: 0; left: calc(var(--i) * 7px); width: 24px; height: 32px; object-fit: cover; object-position: center 12%; border: 1px solid #d6b26a; border-radius: 3px; transform: rotate(calc((var(--i) - 1) * 8deg)); }
.talkdeck-label { display: grid; line-height: 1.15; text-align: left; }
.talkdeck-label b { font: 500 13px var(--mincho); letter-spacing: .08em; }
.talkdeck-label small { color: #d6b26a; font-size: 10px; }
@keyframes deckglow { 50% { box-shadow: 0 0 0 3px rgba(214, 178, 106, .35), 0 4px 12px rgba(0, 0, 0, .3); } }
/* 会話の掛け合い */
.cutin { position: fixed; inset: 0; z-index: 60; overflow: hidden; cursor: pointer; animation: cutfade .25s ease-out; }
.cutin.out { animation: cutfade .25s ease-in reverse forwards; }
@keyframes cutfade { from { opacity: 0; } }
.cut-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(31, 42, 85, .55), rgba(10, 12, 28, .92)), repeating-linear-gradient(115deg, rgba(214, 178, 106, .07) 0 2px, transparent 2px 22px); }
.cut-open { position: absolute; left: 0; right: 0; top: 38%; z-index: 5; display: grid; place-items: center; padding: 14px 0; background: linear-gradient(90deg, transparent, rgba(181, 141, 67, .9) 20%, rgba(181, 141, 67, .9) 80%, transparent); color: #fff; pointer-events: none; animation: openband .9s ease-out forwards; }
.cut-open span { font: 500 12px var(--mincho); letter-spacing: .5em; }
.cut-open strong { font: 500 30px var(--mincho); letter-spacing: .3em; }
@keyframes openband { 0% { transform: scaleX(0); opacity: 1; } 25% { transform: scaleX(1); } 70% { opacity: 1; } 100% { opacity: 0; transform: scaleX(1.05); } }
.cut-actor { position: absolute; bottom: 26%; width: min(58vw, 46dvh); margin: 0; filter: brightness(.45) saturate(.6); transition: filter .25s, transform .3s; }
.cut-actor.left { left: -4%; transform: translateX(-6%) scale(.92); }
.cut-actor.right { right: -4%; transform: translateX(6%) scale(.92); }
.cut-actor.on { z-index: 2; filter: none; }
.cut-actor.left.on { transform: translateX(4%) scale(1); }
.cut-actor.right.on { transform: translateX(-4%) scale(1); }
.cut-actor.pop.left { animation: popL .35s ease-out; }
.cut-actor.pop.right { animation: popR .35s ease-out; }
@keyframes popL { from { transform: translateX(-30%) scale(1); opacity: .2; } }
@keyframes popR { from { transform: translateX(30%) scale(1); opacity: .2; } }
.cut-box { position: absolute; left: 50%; bottom: max(18px, 3dvh); z-index: 4; width: min(94vw, 560px); transform: translateX(-50%); padding: 26px 18px 18px; border: 1px solid #d6b26a; border-radius: 6px; background: rgba(251, 246, 236, .97); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
.cut-band { position: absolute; left: 14px; top: -16px; display: flex; align-items: baseline; gap: 8px; padding: 4px 16px; background: var(--sc); color: #fff; transform: skewX(-12deg); box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.cut-band.right { left: auto; right: 14px; }
.cut-band small, .cut-band strong { transform: skewX(12deg); }
.cut-band small { font: 500 11px var(--mincho); letter-spacing: .12em; opacity: .85; }
.cut-band strong { font: 500 18px var(--mincho); letter-spacing: .16em; }
.cut-text { margin: 0; min-height: 3.6em; color: var(--ink); font: 500 17px/1.8 var(--mincho); }
.cut-next { position: absolute; right: 14px; bottom: 8px; color: var(--gold); font-size: 12px; opacity: 0; }
.cut-box.ready .cut-next { opacity: 1; animation: nextblink 1s infinite; }
@keyframes nextblink { 50% { opacity: .2; } }
.cut-tools { position: absolute; top: max(14px, env(safe-area-inset-top)); right: 12px; z-index: 6; display: flex; gap: 8px; }
.cut-btn { padding: 6px 14px; border: 1px solid #d6b26a; border-radius: 16px; background: rgba(31, 42, 85, .8); color: #fbf6ec; font: 500 13px var(--mincho); letter-spacing: .08em; cursor: pointer; }
.cut-btn.on { background: #d6b26a; color: #1f2a55; }
.cut-actor .ccard { cursor: inherit; box-shadow: 0 0 0 1px #d6b26a inset, 0 10px 30px rgba(0, 0, 0, .55); }
.cut-actor.on .ccard { box-shadow: 0 0 0 1px #d6b26a inset, 0 0 0 3px var(--sc), 0 0 28px color-mix(in srgb, var(--sc) 70%, transparent), 0 10px 30px rgba(0, 0, 0, .55); }
.cut-actor.left { transform: translateX(-6%) rotate(-4deg) scale(.9); }
.cut-actor.right { transform: translateX(6%) rotate(4deg) scale(.9); }
.cut-actor.left.on { transform: translateX(6%) rotate(-2deg) scale(1); }
.cut-actor.right.on { transform: translateX(-6%) rotate(2deg) scale(1); }
