/* ============================================================
   りんかのドロー（2026-10-01）— #rinka-draw-app の中だけに効く。夜のカードテーブルの続き。
   - 手札3枚・ライバルの札（裏→めくる）・相性の足し算・かち/まけのコールアウト・連勝ランのライフ
   - 動きは transform / opacity / filter と個別プロパティだけ。prefers-reduced-motion では止める。
   - 絵文字は使わない（属性のマークはインラインSVG）。押す所は 44px 以上。
   ============================================================ */

.rinka-cg-draw { --dr-w: clamp(80px, 25vw, 112px); --dr-h: calc(var(--dr-w) * 1.4); position: relative; }
.rinka-cg-draw .dr-asvg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35)); }

/* ---------- ティア選択のまわり ---------- */
.dr-rule { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; margin: 0 0 12px; padding: 10px 14px; border-radius: 16px; background: linear-gradient(120deg, rgba(247, 207, 115, .2), rgba(255, 143, 189, .14)); box-shadow: inset 0 0 0 1.5px rgba(247, 207, 115, .45); }
.dr-rule__tag { grid-row: 1 / 3; font-family: var(--cg-num); font-weight: 700; font-size: 10px; letter-spacing: .18em; color: #3a2408; background: var(--cg-gold); border-radius: 999px; padding: 4px 9px; }
.dr-rule b { font-size: 16px; letter-spacing: .05em; }
.dr-rule small { color: var(--cg-soft); font-size: 12px; }
.dr-stats { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--cg-soft); }
.rinka-cg-tier.is-ex { background: linear-gradient(135deg, rgba(255, 143, 189, .28), rgba(181, 155, 255, .28)); box-shadow: inset 0 0 0 1.5px rgba(247, 207, 115, .6); }
.dr-helpbtn .dr-q { font-weight: 900; font-size: 20px; line-height: 1; font-family: var(--cg-num); }

/* ---------- 対戦の上の部分 ---------- */
.dr-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 8px; margin: 2px 0 6px; }
.dr-hud small { display: block; font-size: 11px; letter-spacing: .1em; color: var(--cg-soft); font-weight: 700; }
.dr-hud__me { text-align: left; }
.dr-hud__rv { text-align: right; }
.dr-hud__mid { text-align: center; line-height: 1; }
.dr-hud__mid b { font-family: var(--cg-num); font-size: 30px; font-weight: 700; color: var(--cg-gold); display: inline-block; }
.dr-hud__mid em { font-style: normal; font-size: 13px; color: var(--cg-soft); }
.dr-hud__mid b.is-bump { animation: dr-bump .42s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes dr-bump { from { transform: scale(1.6); } }
.dr-pip { display: inline-block; width: 18px; height: 18px; margin: 4px 3px 0; border-radius: 50%; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); transition: transform .3s cubic-bezier(.3, 1.8, .5, 1), background .25s; }
.dr-pip.is-on { background: radial-gradient(circle at 35% 30%, #fff6cc, var(--cg-gold) 55%, var(--cg-gold2)); box-shadow: 0 0 10px rgba(247, 207, 115, .7); transform: scale(1.12); }
.dr-pip.is-rv.is-on { background: radial-gradient(circle at 35% 30%, #ffd2da, var(--cg-red) 60%, #c9384e); box-shadow: 0 0 10px rgba(255, 107, 125, .6); }
.dr-ruleline { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; color: var(--cg-soft); }
.dr-ruleline span:first-child { font-family: var(--cg-num); font-size: 10px; letter-spacing: .16em; color: #3a2408; background: var(--cg-gold); border-radius: 999px; padding: 2px 8px; }
.dr-ruleline b { color: var(--cg-cream); }
.dr-lives, .dr-inter .dr-lives { margin-left: auto; display: inline-flex; gap: 3px; }
.dr-heart { width: 20px; height: 20px; fill: rgba(255, 255, 255, .16); stroke: rgba(255, 255, 255, .3); stroke-width: 1.4; transition: transform .3s; }
.dr-heart.is-on { fill: var(--cg-red); stroke: #ffd2da; filter: drop-shadow(0 0 5px rgba(255, 107, 125, .6)); }

/* ---------- ステージ ---------- */
.dr-stage { position: relative; margin-top: 6px; padding: 8px 4px 6px; border-radius: 22px; background: radial-gradient(120% 90% at 50% 40%, rgba(255, 255, 255, .09), rgba(0, 0, 0, .18)); box-shadow: inset 0 0 0 1px var(--cg-line); min-height: calc(var(--dr-h) * 2 + 120px); }
.dr-rival { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 64px; }
.dr-rival__hand { display: flex; gap: 6px; justify-content: center; }
.dr-mini { width: 34px; height: 46px; border-radius: 7px; border: 2px solid var(--cg-gold); display: flex; align-items: center; justify-content: center; background: linear-gradient(150deg, #ff9ec8, #c76fd8 55%, #6a57d6); box-shadow: 0 3px 8px rgba(0, 0, 0, .3); }
.dr-mini .cg-emblem { width: 62%; }
.dr-mini:nth-child(1) { transform: rotate(-6deg); } .dr-mini:nth-child(3) { transform: rotate(6deg); }
.dr-hint { display: inline-flex; align-items: center; gap: 6px; max-width: 94%; padding: 5px 12px; border-radius: 999px; background: rgba(0, 0, 0, .28); font-size: 12px; font-weight: 700; color: var(--cg-cream); opacity: 0; transform: translateY(-4px); transition: opacity .35s, transform .35s; }
.dr-hint.is-on { opacity: 1; transform: none; }
.dr-hint__ico { width: 18px; height: 18px; display: inline-flex; flex: none; }

/* 真ん中のテーブル */
.dr-table { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: center; gap: 4px; margin: 6px 0; min-height: calc(var(--dr-h) + 34px); }
.dr-slot { position: relative; width: var(--dr-w); height: var(--dr-h); border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); transition: opacity .3s, transform .3s; }
.dr-slot.is-out { opacity: 0; transform: translateY(14px) scale(.92); }
.dr-slot.is-winner { z-index: 2; }
.dr-slot.is-loser { opacity: .55; filter: saturate(.5); animation: dr-shake .45s ease; }
@keyframes dr-shake { 20% { translate: -6px 0; } 45% { translate: 6px 0; } 70% { translate: -3px 0; } }
.dr-played { width: 100%; height: 100%; }
.dr-vs { position: relative; z-index: 3; font-family: var(--cg-num); font-weight: 700; font-size: 18px; letter-spacing: .06em; color: #3a2408; background: radial-gradient(circle at 35% 30%, #fff6cc, var(--cg-gold) 55%, var(--cg-gold2)); width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px rgba(43, 24, 66, .7), 0 4px 10px rgba(0, 0, 0, .35); }
.dr-vs.is-hot { animation: dr-vs 0.5s ease-in-out infinite alternate; }
@keyframes dr-vs { to { transform: scale(1.22); box-shadow: 0 0 0 3px rgba(43, 24, 66, .7), 0 0 26px rgba(247, 207, 115, .9); } }

/* ---------- 自分のカード ---------- */
.dr-hand { display: flex; justify-content: center; gap: 8px; margin-top: 4px; padding: 0 4px 6px; perspective: 900px; }
.dr-card {
  --ac: #ff8fbd; --ad: #c4487f;
  position: relative; display: block; width: var(--dr-w); height: var(--dr-h); padding: 0; border: 0; cursor: pointer; border-radius: 13px; overflow: hidden; flex: none;
  background: #2b1d33; box-shadow: 0 0 0 2.5px #fff, 0 8px 16px rgba(0, 0, 0, .4); color: #fff; font-family: var(--cg-num);
  transition: transform .22s cubic-bezier(.3, 1.4, .5, 1), box-shadow .22s, opacity .25s, filter .25s; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.dr-hand .dr-card:nth-child(1) { transform: rotate(-5deg) translateY(4px); }
.dr-hand .dr-card:nth-child(3) { transform: rotate(5deg) translateY(4px); }
.dr-hand .dr-card:hover, .dr-hand .dr-card:focus-visible { transform: translateY(-10px) scale(1.05) rotate(0deg); box-shadow: 0 0 0 3px var(--cg-gold), 0 16px 26px rgba(0, 0, 0, .45); z-index: 2; }
.dr-hand .dr-card:active { transform: translateY(-4px) scale(.98); }
.dr-hand .dr-card:focus-visible { outline: 3px solid var(--cg-gold); outline-offset: 3px; }
.dr-hand .dr-card.is-dim { opacity: .4; filter: saturate(.6); transform: translateY(10px) scale(.94); pointer-events: none; }
.dr-card.is-dealt { animation: dr-deal .5s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes dr-deal { from { filter: brightness(1.6); } }
.dr-card__art { position: absolute; inset: 0; }
.dr-card__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; display: block; pointer-events: none; }
.dr-card::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--ac), inset 0 -34px 26px -12px rgba(0, 0, 0, .55); }
.dr-card__pow { position: absolute; z-index: 3; left: 5px; top: 5px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, #fff6cc, var(--cg-gold) 55%, var(--cg-gold2)); box-shadow: 0 0 0 2px rgba(43, 24, 66, .75), 0 3px 6px rgba(0, 0, 0, .4); }
.dr-card__pow b { font-size: 16px; font-weight: 700; color: #3a2408; line-height: 1; }
.dr-card__attr { position: absolute; z-index: 3; right: 5px; top: 5px; width: 28px; height: 28px; padding: 4px; border-radius: 50%; background: rgba(43, 24, 66, .78); box-shadow: 0 0 0 2px var(--ac), 0 3px 6px rgba(0, 0, 0, .4); }
.dr-card__rar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 4px; text-align: center; line-height: 1; }
.dr-pstars { font-size: 11px; letter-spacing: 1px; color: var(--cg-gold); text-shadow: 0 1px 2px rgba(0, 0, 0, .7); }
.dr-card__sheen { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; mix-blend-mode: color-dodge; background: linear-gradient(120deg, #ff9ec8, #ffe79a, #8ff3e0, #a99bff, #ff9ec8); background-size: 300% 300%; }
.dr-card.r-sr .dr-card__sheen { opacity: .18; animation: cg-holo 5s linear infinite; }
.dr-card.r-ssr .dr-card__sheen, .dr-card.r-secret .dr-card__sheen { opacity: .34; animation: cg-holo 4s linear infinite; }
.dr-card.r-secret { box-shadow: 0 0 0 2.5px #e8e1ff, 0 0 18px rgba(169, 155, 255, .8), 0 8px 16px rgba(0, 0, 0, .4); }
.dr-card.r-ssr { box-shadow: 0 0 0 2.5px #ffe79a, 0 0 14px rgba(255, 215, 110, .6), 0 8px 16px rgba(0, 0, 0, .4); }
.dr-card.is-played { transform: none !important; cursor: default; pointer-events: none; }
.dr-slot.is-reveal .dr-card.is-played { box-shadow: 0 0 0 3px var(--cg-cream), 0 10px 22px rgba(0, 0, 0, .45); }
.dr-card.is-glow { box-shadow: 0 0 0 3px var(--cg-gold), 0 0 30px rgba(247, 207, 115, .9) !important; }

/* ---------- ライバルの札（裏→表） ---------- */
.dr-rc { --ac: #8fd0ff; --ad: #3f86c4; position: relative; width: 100%; height: 100%; perspective: 900px; }
.dr-rc__inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3, 1.3, .5, 1); }
.dr-rc__inner.is-up { transform: rotateY(180deg); }
.dr-rc__back, .dr-rc__front { position: absolute; inset: 0; border-radius: 13px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.dr-rc__back { display: flex; align-items: center; justify-content: center; border: 2.5px solid var(--cg-gold); background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .22), transparent 55%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 2px, transparent 2px 11px), linear-gradient(150deg, #ff9ec8 0%, #c76fd8 50%, #6a57d6 100%); box-shadow: 0 0 0 2.5px #fff, 0 8px 16px rgba(0, 0, 0, .4); }
.dr-rc__back .cg-emblem { width: 50%; }
.dr-rc__front { transform: rotateY(180deg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; border: 2.5px solid #fff; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--ac) 55%, #fff 45%), var(--ac) 55%, var(--ad)); box-shadow: 0 0 0 2.5px var(--ac), 0 8px 16px rgba(0, 0, 0, .4); color: #fff; }
.dr-rc__attr { width: 44%; aspect-ratio: 1; padding: 6px; border-radius: 50%; background: rgba(43, 24, 66, .55); }
.dr-rc__pow { font-family: var(--cg-num); font-size: 38px; font-weight: 700; line-height: 1; text-shadow: 0 2px 0 rgba(0, 0, 0, .3); }
.dr-rc__name { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.dr-rc .dr-pstars { color: #fff7ee; }

/* ---------- 足し算・コールアウト ---------- */
.dr-tally { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap; animation: dr-tally .4s cubic-bezier(.3, 1.6, .5, 1) both; z-index: 4; }
.dr-tally b { font-family: var(--cg-num); font-size: 26px; font-weight: 700; line-height: 1; color: var(--cg-cream); text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.dr-tally__adv { font-size: 10.5px; font-weight: 800; color: #3a2408; background: var(--cg-mint); border-radius: 999px; padding: 1px 8px; }
@keyframes dr-tally { from { opacity: 0; translate: 0 -10px; } }
.dr-callout { position: absolute; left: 50%; top: 50%; z-index: 6; transform: translate(-50%, -50%) scale(.4); opacity: 0; pointer-events: none; font-family: var(--cg-num); font-weight: 700; font-size: 44px; letter-spacing: .06em; white-space: nowrap; color: var(--cg-cream); text-shadow: 0 0 0 #000, 0 4px 0 rgba(0, 0, 0, .35), 0 0 26px rgba(255, 255, 255, .5); -webkit-text-stroke: 2px rgba(43, 24, 66, .7); paint-order: stroke fill; }
.dr-callout.is-on { animation: dr-callout 1.1s cubic-bezier(.3, 1.5, .5, 1) both; }
.dr-callout.is-win { color: var(--cg-gold); } .dr-callout.is-lose { color: #ff9aa8; } .dr-callout.is-draw { color: #c9e7ff; } .dr-callout.is-intro { color: var(--cg-cream); font-size: 36px; }
@keyframes dr-callout { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(-6deg); } 35% { opacity: 1; transform: translate(-50%, -50%) scale(1.15) rotate(2deg); } 55% { transform: translate(-50%, -50%) scale(1) rotate(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -62%) scale(1); } }

/* 山札 */
.dr-deck { position: absolute; right: 12px; top: 12px; width: 34px; height: 46px; }
.dr-deck__stack { position: absolute; inset: 0; border-radius: 6px; border: 2px solid var(--cg-gold); background: linear-gradient(150deg, #ff9ec8, #c76fd8 55%, #6a57d6); }
.dr-deck__stack:nth-child(1) { transform: translate(4px, 4px); opacity: .55; }
.dr-deck b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--cg-num); font-weight: 700; font-size: 16px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); z-index: 2; }

/* ---------- つぎへ／あそびかた ---------- */
.dr-inter, .dr-help { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(21, 12, 38, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: dr-fade .3s both; border-radius: inherit; }
@keyframes dr-fade { from { opacity: 0; } }
.dr-inter__card, .dr-help__card { width: min(100%, 360px); text-align: center; padding: 22px 18px; border-radius: 22px; background: linear-gradient(160deg, #3b2458, #22305f); box-shadow: inset 0 0 0 1.5px rgba(247, 207, 115, .55), 0 14px 34px rgba(0, 0, 0, .5); }
.dr-inter__card small { display: block; color: var(--cg-soft); font-weight: 700; }
.dr-inter__card b { display: block; margin: 4px 0 8px; font-family: var(--cg-num); font-size: 44px; line-height: 1.1; color: var(--cg-gold); }
.dr-inter .dr-lives { margin: 0 0 14px; display: flex; justify-content: center; }
.dr-help__card h3 { margin: 0 0 8px; font-size: 18px; }
.dr-help__card ul { margin: 10px 0 14px; padding-left: 1.1em; text-align: left; font-size: 13px; line-height: 1.7; color: var(--cg-soft); }
.dr-wheel { position: relative; width: 150px; height: 138px; margin: 4px auto 0; }
.dr-wheel__n { position: absolute; width: 38px; height: 38px; padding: 6px; border-radius: 50%; background: rgba(43, 24, 66, .7); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.dr-wheel__n.n0 { left: 12px; top: 6px; } .dr-wheel__n.n1 { right: 12px; top: 6px; } .dr-wheel__n.n2 { left: 56px; bottom: 6px; }
.dr-wheel__arrows { position: absolute; inset: 0; width: 100%; height: 100%; }

@media (max-width: 380px) { .dr-callout { font-size: 36px; } .dr-hand { gap: 5px; } .dr-rc__pow { font-size: 32px; } }
@media (prefers-reduced-motion: reduce) {
  .rinka-cg-draw *, .rinka-cg-draw *::before, .rinka-cg-draw *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 相性のしるし（勝った属性 → 負けた属性・足し算の理由が見える）*/
.dr-rel { position: absolute; left: 50%; top: calc(50% + 28px); transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 999px; background: rgba(21, 12, 38, .78); box-shadow: 0 0 0 1.5px rgba(247, 207, 115, .6); animation: dr-tally .4s cubic-bezier(.3, 1.6, .5, 1) both; }
.dr-rel .dr-asvg { width: 18px; height: 18px; }
.dr-rel i { font-style: normal; color: var(--cg-gold); font-weight: 900; font-size: 13px; line-height: 1; }
/* 手札のゆらぎ（呼吸するように・選んだら止まる） */
.dr-hand .dr-card:not(.is-dim):not(.is-picked) .dr-card__sheen { animation-play-state: running; }
@keyframes dr-breathe { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
.dr-hand:not(.is-busy) .dr-card:nth-child(1) { animation: dr-breathe 3.6s ease-in-out infinite; }
.dr-hand:not(.is-busy) .dr-card:nth-child(2) { animation: dr-breathe 3.6s ease-in-out -1.2s infinite; }
.dr-hand:not(.is-busy) .dr-card:nth-child(3) { animation: dr-breathe 3.6s ease-in-out -2.4s infinite; }
.dr-hand .dr-card.is-dealt { animation: dr-deal .5s cubic-bezier(.3, 1.4, .5, 1) both; }
/* テーブルの布：ステージにうっすら光のスポットと布目 */
.dr-stage::before { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(60% 40% at 50% 45%, rgba(255, 225, 160, .12), transparent 70%), repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 7px); }

/* ラベル・足し算の置き場・コールアウト中のVS */
.dr-table { margin: 22px 0 44px; }
.dr-slot::before { content: attr(data-l); position: absolute; left: 0; right: 0; top: -19px; text-align: center; font-family: var(--cg-num); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; color: var(--cg-soft); pointer-events: none; }
.dr-table .dr-vs, .dr-table .dr-rel { transition: opacity .2s; }
.dr-table.is-called .dr-vs, .dr-table.is-called .dr-rel { opacity: 0; }
.dr-callout { text-shadow: 0 0 0 #000, 0 4px 0 rgba(0, 0, 0, .4), 0 0 30px rgba(21, 12, 38, .9); }

/* ライバルずかん（勝ったライバルが埋まる・やりこみ） */
.dr-comp { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 8px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--cg-line); }
.dr-comp b { font-size: 12.5px; letter-spacing: .04em; }
.dr-comp__row { display: flex; gap: 6px; flex: 1; justify-content: center; flex-wrap: wrap; }
.dr-rvi { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 900; font-size: 13px; color: rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .18); }
.dr-rvi.is-on { color: #3a2408; background: radial-gradient(circle at 35% 30%, #fff6cc, var(--cg-gold) 60%, var(--cg-gold2)); box-shadow: 0 0 10px rgba(247, 207, 115, .6); }
.dr-comp small { font-family: var(--cg-num); font-weight: 700; color: var(--cg-gold); }

/* ---- はじめてガイドの見本（ドロー） ---- */
.gtd-c { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 72px; border-radius: 10px; color: #fff; font-family: var(--cg-num); background: linear-gradient(160deg, #ff9ec8, #c76fd8 55%, #6a57d6); box-shadow: 0 0 0 2px #fff, 0 6px 12px rgba(0, 0, 0, .4); }
.gtd-c b { font-size: 26px; font-weight: 700; line-height: 1; text-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.gtd-c small { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; margin-top: 2px; }
.gtd-c.big { width: 70px; height: 98px; } .gtd-c.big b { font-size: 38px; }
.gtd-c.is-me { background: linear-gradient(160deg, #ffd56a, #f0a93a); color: #3a2408; box-shadow: 0 0 0 2.5px #fff, 0 0 18px rgba(247, 207, 115, .8); }
.gtd-c.is-rv { background: linear-gradient(160deg, #8fd0ff, #3f86c4); }
.gtd-hand { position: relative; display: flex; gap: 8px; align-items: flex-end; padding: 8px 0; }
.gtd-hand .a { transform: rotate(-6deg); } .gtd-hand .c { transform: rotate(6deg); }
.gtd-hand .b { animation: gtd-lift 2.4s ease-in-out infinite; }
.gtd-tap { position: absolute; left: 50%; bottom: 14px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 3px rgba(247, 207, 115, .8); animation: gtd-tap 2.4s ease-in-out infinite; }
@keyframes gtd-lift { 0%, 35%, 100% { transform: translateY(0); } 50%, 80% { transform: translateY(-16px) scale(1.06); } }
@keyframes gtd-tap { 0%, 25% { opacity: 0; transform: scale(.4); } 40% { opacity: 1; transform: scale(1); } 60% { opacity: 0; transform: scale(1.6); } 100% { opacity: 0; } }
.gtd-vs { display: flex; align-items: center; gap: 14px; }
.gtd-vsb { font-family: var(--cg-num); font-weight: 700; color: var(--cg-gold); font-size: 20px; }
.gtd-win { position: absolute; left: 0; right: 0; bottom: 6px; font-size: 13px; font-weight: 800; color: var(--cg-gold); animation: gtd-blink 1.6s ease-in-out infinite; }
.gtd-vs { padding-bottom: 14px; }
@keyframes gtd-blink { 50% { opacity: .55; } }
.gtd-pips { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--cg-soft); flex-wrap: wrap; justify-content: center; padding: 0 8px; }
.gtd-pips i { width: 18px; height: 18px; border-radius: 50%; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.gtd-pips i.on { background: radial-gradient(circle at 35% 30%, #fff6cc, var(--cg-gold) 55%, var(--cg-gold2)); animation: gtd-pip 1.6s ease-in-out infinite; }
.gtd-pips i.on.rv { background: radial-gradient(circle at 35% 30%, #ffd2da, var(--cg-red) 60%, #c9384e); animation: none; }
.gtd-pips em { font-style: normal; color: var(--cg-gold); margin: 0 6px; }
@keyframes gtd-pip { 50% { transform: scale(1.25); } }
.gtd-hint { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px; }
.gtd-bub { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .35); font-size: 12.5px; font-weight: 700; color: var(--cg-cream); }
.gtd-mark, .dr-card__adv { font-size: 11px; font-weight: 900; letter-spacing: .06em; padding: 2px 9px; border-radius: 999px; }
.gtd-mark.up, .dr-card__adv.is-up { color: #0e4a36; background: var(--cg-mint); box-shadow: 0 0 10px rgba(127, 230, 210, .6); }
.gtd-mark.down, .dr-card__adv.is-down { color: #5a1420; background: #ff9aa8; }
.gtd-hint .gtd-mark { display: inline-block; margin: 0 4px; }
.dr-card__adv { position: absolute; z-index: 5; left: 50%; top: -9px; transform: translateX(-50%); white-space: nowrap; animation: dr-tally .35s cubic-bezier(.3, 1.6, .5, 1) both; pointer-events: none; }
.gtd-lives { display: flex; align-items: center; gap: 4px; } .gtd-lives b { margin-left: 10px; font-size: 18px; color: var(--cg-gold); }
.gtd-lives .dr-heart { width: 30px; height: 30px; animation: gtd-pip 1.4s ease-in-out infinite; }
.dr-legend { display: flex; align-items: center; justify-content: center; gap: 4px; margin: 2px 0 8px; font-size: 11px; color: var(--cg-soft); }
.dr-legend span { font-family: var(--cg-num); font-weight: 700; letter-spacing: .14em; font-size: 10px; color: var(--cg-gold); margin-right: 4px; }
.dr-legend .dr-asvg { width: 18px; height: 18px; }
.dr-legend i { font-style: normal; color: var(--cg-gold); font-weight: 900; font-size: 15px; line-height: 1; }
.dr-legend em { font-style: normal; margin-left: 6px; }
@media (prefers-reduced-motion: reduce) { .gtd-hand .b, .gtd-tap, .gtd-win, .gtd-pips i.on, .gtd-lives .dr-heart { animation: none !important; } }

/* ---- 勝負の理由・つよさの内わけ（2026-10-01） ---- */
.dr-tally { bottom: -38px; }
.dr-tally__row { display: flex; gap: 3px; justify-content: center; }
.dr-tally__adv.is-base { background: rgba(255, 255, 255, .22); color: var(--cg-cream); }
.dr-tally__adv.is-rule { background: var(--cg-gold); }
.dr-table { margin-bottom: 54px; }
.dr-why { margin: 0 6px 4px; padding: 8px 12px; border-radius: 14px; background: rgba(0, 0, 0, .34); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .16); text-align: center; animation: dr-why .35s cubic-bezier(.3, 1.4, .5, 1) both; }
.dr-why b { display: block; font-family: var(--cg-num); font-size: 15px; letter-spacing: .03em; color: var(--cg-cream); }
.dr-why span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.6; color: var(--cg-soft); }
.dr-why.is-win { box-shadow: inset 0 0 0 1.5px rgba(247, 207, 115, .7); } .dr-why.is-win b { color: var(--cg-gold); }
.dr-why.is-lose { box-shadow: inset 0 0 0 1.5px rgba(255, 107, 125, .6); } .dr-why.is-lose b { color: #ff9aa8; }
.dr-why.is-draw { box-shadow: inset 0 0 0 1.5px rgba(201, 231, 255, .7); } .dr-why.is-draw b { color: #c9e7ff; }
@keyframes dr-why { from { opacity: 0; transform: translateY(8px); } }
.dr-handcap { margin: 0 0 2px; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--cg-soft); }

/* ガイドの見本の微調整 */
.gt__demo { min-height: 150px; }
.gtd-vs { padding-bottom: 30px; }
.gtd-win { bottom: 8px; }
.gtd-pips { flex-wrap: nowrap; gap: 4px; font-size: 11px; }
.gtd-pips em { margin: 0 3px; white-space: nowrap; }
.gtd-pips span { white-space: nowrap; }
.gtd-pips i { width: 15px; height: 15px; }

/* ============ ドロー v2：わざ・ダブル・いきおい・ライバルの「ぞくせい」のしるし（2026-10-01） ============ */
.dr-hud__mid { position: relative; }
.dr-dbl { display: block; margin-top: 2px; font-size: 10px; font-weight: 900; letter-spacing: .08em; color: #3a2408; background: var(--cg-gold); border-radius: 999px; padding: 1px 8px; animation: dr-dbl .9s ease-in-out infinite alternate; }
@keyframes dr-dbl { to { transform: scale(1.08); box-shadow: 0 0 12px rgba(247, 207, 115, .8); } }
.dr-pip { width: 14px; height: 14px; margin: 4px 2px 0; }
.dr-skills { display: flex; gap: 8px; justify-content: center; margin: 0 6px 8px; }
.dr-skill { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 900; color: var(--cg-cream); background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); transition: transform .15s, box-shadow .2s, background .2s; -webkit-tap-highlight-color: transparent; }
.dr-skill b { letter-spacing: .03em; }
.dr-skill em { font-style: normal; font-family: var(--cg-num); font-weight: 700; color: var(--cg-gold); }
.dr-skill__ico { width: 20px; height: 20px; flex: none; color: var(--cg-gold); }
.dr-skill:hover:not(:disabled) { transform: translateY(-2px); }
.dr-skill:active:not(:disabled) { transform: scale(.96); }
.dr-skill:focus-visible { outline: 3px solid var(--cg-gold); outline-offset: 2px; }
.dr-skill:disabled { opacity: .4; cursor: default; filter: grayscale(.5); }
.dr-skill.is-on { color: #3a2408; background: linear-gradient(180deg, #ffe39a, var(--cg-gold) 45%, var(--cg-gold2)); box-shadow: 0 0 0 2px #fff, 0 0 18px rgba(247, 207, 115, .85); }
.dr-skill.is-on em, .dr-skill.is-on .dr-skill__ico { color: #3a2408; }
.dr-skill.is-on .dr-skill__ico { animation: dr-bolt .6s ease-in-out infinite alternate; }
@keyframes dr-bolt { to { transform: scale(1.25) rotate(-8deg); } }
/* ブースト中は手札の数字に +2 */
.dr-hand.is-boost .dr-card__pow::after { content: '+2'; position: absolute; left: 50%; top: 100%; transform: translate(-50%, 2px); font-size: 11px; font-weight: 900; color: #3a2408; background: var(--cg-mint); border-radius: 999px; padding: 0 6px; line-height: 16px; box-shadow: 0 0 8px rgba(127, 230, 210, .8); }
.dr-hand.is-boost .dr-card { box-shadow: 0 0 0 3px var(--cg-mint), 0 0 18px rgba(127, 230, 210, .55), 0 8px 16px rgba(0, 0, 0, .4); }
/* とりかえ中は手札がゆれて「どれ？」 */
.dr-hand.is-swapmode .dr-card { animation: dr-swapwig .5s ease-in-out infinite alternate; box-shadow: 0 0 0 3px #b59bff, 0 0 16px rgba(181, 155, 255, .7); }
@keyframes dr-swapwig { to { transform: rotate(2.5deg) translateY(-4px); } }
.dr-card.is-boosted { box-shadow: 0 0 0 3px var(--cg-mint), 0 0 26px rgba(127, 230, 210, .9) !important; }
.dr-boostfx { position: absolute; z-index: 6; left: 50%; top: -12px; transform: translateX(-50%); font-family: var(--cg-num); font-weight: 700; font-size: 18px; color: #3a2408; background: var(--cg-mint); border-radius: 999px; padding: 0 10px; line-height: 24px; box-shadow: 0 0 16px rgba(127, 230, 210, .9); animation: dr-boostfx .9s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes dr-boostfx { from { opacity: 0; transform: translate(-50%, 14px) scale(.4); } }
/* ライバルの伏せ札に見える「ぞくせい」のしるし */
.dr-rc__tell { position: absolute; left: 50%; top: 50%; z-index: 4; width: 52%; aspect-ratio: 1; margin: -26% 0 0 -26%; padding: 7px; border-radius: 50%; background: rgba(43, 24, 66, .78); box-shadow: 0 0 0 2.5px var(--tc, #fff), 0 0 18px var(--tc, #fff); pointer-events: none; animation: dr-tell .5s cubic-bezier(.3, 1.6, .5, 1) both; transition: opacity .25s; }
.dr-rc__tell small { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); white-space: nowrap; font-size: 9.5px; font-weight: 900; color: #3a2408; background: #ffd56a; border-radius: 999px; padding: 0 6px; }
.dr-rc__tell.is-fuzzy { box-shadow: 0 0 0 2.5px var(--tc, #fff), 0 0 0 5px rgba(255, 255, 255, .15), 0 0 18px var(--tc, #fff); border: 0; animation: dr-tell .5s cubic-bezier(.3, 1.6, .5, 1) both, dr-fuzz 1.3s ease-in-out .5s infinite alternate; }
@keyframes dr-tell { from { opacity: 0; transform: scale(.3); } }
@keyframes dr-fuzz { to { opacity: .72; filter: blur(.4px); } }
.dr-rc__inner.is-up ~ .dr-rc__tell { opacity: 0; }
.dr-tally__adv.is-skill { background: var(--cg-mint); }
.dr-tally__adv.is-mom { background: #ffb27a; color: #3a2408; }
/* ガイドの見本（わざ・ダブル・いきおい） */
.gtd-skills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 10px; }
.gtd-skill { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 900; color: var(--cg-cream); background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.gtd-skill .dr-skill__ico { width: 18px; height: 18px; } .gtd-skill em { font-style: normal; color: var(--cg-gold); font-family: var(--cg-num); }
.gtd-skill.on { color: #3a2408; background: linear-gradient(180deg, #ffe39a, var(--cg-gold) 45%, var(--cg-gold2)); box-shadow: 0 0 0 2px #fff, 0 0 18px rgba(247, 207, 115, .85); animation: gtd-pip 1.4s ease-in-out infinite; }
.gtd-skill.on em, .gtd-skill.on .dr-skill__ico { color: #3a2408; }
.gtd-rounds { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center; padding: 10px; }
.gtd-rounds span { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; font-family: var(--cg-num); font-weight: 700; font-size: 16px; color: var(--cg-cream); background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .28); }
.gtd-rounds span.dbl { color: #3a2408; background: radial-gradient(circle at 35% 30%, #fff6cc, var(--cg-gold) 55%, var(--cg-gold2)); box-shadow: 0 0 12px rgba(247, 207, 115, .7); animation: gtd-pip 1.3s ease-in-out infinite; }
.gtd-rounds em { width: 100%; text-align: center; font-style: normal; font-size: 13px; font-weight: 900; color: var(--cg-gold); margin-top: 4px; }
.gtd-mom { display: flex; align-items: center; gap: 10px; } .gtd-mom b { font-family: var(--cg-num); font-size: 34px; color: #ffb27a; animation: gtd-pip 1.2s ease-in-out infinite; } .gtd-mom small { font-weight: 900; color: var(--cg-soft); letter-spacing: .08em; }
@media (prefers-reduced-motion: reduce) { .dr-dbl, .dr-skill.is-on .dr-skill__ico, .dr-hand.is-swapmode .dr-card, .dr-rc__tell, .gtd-skill.on, .gtd-rounds span.dbl, .gtd-mom b { animation: none !important; } }

/* ---- 演出ましまし：ぶつかる光・輪・ゆれ・いきおいの炎（2026-10-01） ---- */
.dr-table { position: relative; }
.dr-flash { position: absolute; inset: -8px; z-index: 12; pointer-events: none; border-radius: 22px; mix-blend-mode: screen; opacity: 0; animation: dr-fl .55s ease-out both; }
@keyframes dr-fl { 0% { opacity: .8; } 100% { opacity: 0; } }
.dr-ring { position: absolute; z-index: 11; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; pointer-events: none; box-shadow: 0 0 0 4px var(--rc, #fff), 0 0 18px var(--rc, #fff); opacity: 0; animation: dr-ring .75s cubic-bezier(.2, .8, .3, 1) both; }
@keyframes dr-ring { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(4.2); opacity: 0; } }
.dr-k1 { animation: dr-k1 .42s ease; } .dr-k2 { animation: dr-k2 .5s ease; }
@keyframes dr-k1 { 20% { transform: translate(-3px, 2px); } 45% { transform: translate(3px, -2px); } 70% { transform: translate(-2px, 1px); } }
@keyframes dr-k2 { 15% { transform: translate(-7px, 4px) rotate(-.5deg); } 35% { transform: translate(7px, -4px) rotate(.5deg); } 55% { transform: translate(-4px, 3px); } 75% { transform: translate(3px, -2px); } }
.dr-table.is-hurt::after { content: ''; position: absolute; inset: -6px; z-index: 10; pointer-events: none; border-radius: 22px; box-shadow: inset 0 0 40px 6px rgba(255, 70, 100, .65); animation: dr-hurt .7s ease-out both; }
@keyframes dr-hurt { 0% { opacity: 1; } 100% { opacity: 0; } }
.dr-card.is-fire { animation: dr-fire .5s ease-in-out infinite alternate; }
@keyframes dr-fire { from { box-shadow: 0 0 0 2.5px #fff, 0 0 16px rgba(255, 140, 60, .8); } to { box-shadow: 0 0 0 2.5px #fff6cc, 0 0 30px rgba(255, 90, 30, 1), 0 -10px 24px rgba(255, 170, 60, .7); } }
@media (prefers-reduced-motion: reduce) { .dr-card.is-fire, .dr-k1, .dr-k2 { animation: none !important; } }
