/* トップ：ルーレット */
.hero { position: relative; padding: 22px 0 10px; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(34px, 7.4vw, 72px); line-height: 1.08; }
.hero h1 .l1 { display: block; font-size: 0.42em; font-family: var(--body); font-weight: 900; letter-spacing: 0.3em; color: var(--cyan); text-shadow: 0 0 14px rgba(53, 227, 255, 0.6); margin-bottom: 6px; }
.hero h1 .l2 { background: linear-gradient(180deg, #fff 20%, var(--gold2) 60%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 rgba(160, 40, 0, 0.6)) drop-shadow(0 0 30px rgba(255, 120, 40, 0.45)); }
.hero p.lead { margin: 10px auto 0; max-width: 720px; color: var(--mute); font-size: 15px; }
.hero-art { position: absolute; inset: -80px 0 auto; height: 520px; z-index: -1; opacity: 0.38; mask-image: linear-gradient(180deg, #000 40%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; }

#roulette { padding: 10px 0 30px; }
.rl { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); gap: 20px; align-items: start; }
.rl-tabs { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 18px 0 14px; }
.rl-tab { border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--ink); padding: 9px 16px; border-radius: 14px; font-weight: 900; font-size: 15px; display: flex; gap: 6px; align-items: center; }
.rl-tab[aria-selected='true'] { background: linear-gradient(180deg, #ff6a4f, var(--shu)); border-color: transparent; box-shadow: 0 0 22px rgba(255, 75, 58, 0.55); }
.rl-stage { position: relative; border-radius: 26px; padding: 14px; background: radial-gradient(circle at 50% 40%, rgba(53, 227, 255, 0.12), rgba(10, 14, 39, 0.4) 70%), rgba(10, 14, 40, 0.65); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 60px rgba(53, 227, 255, 0.08), 0 20px 60px rgba(0, 0, 0, 0.4); min-height: 420px; display: grid; place-items: center; overflow: hidden; }
.rl-stage::before { content: ''; position: absolute; inset: 6px; border-radius: 22px; border: 2px dashed rgba(255, 204, 61, 0.22); pointer-events: none; }
.rl-map { width: 100%; max-width: 560px; margin: 0 auto; }
.rl-map svg { transition: transform 0.9s cubic-bezier(0.2, 0.9, 0.2, 1); }
.rl-map .pf { fill: #303884; }
.rl-map .pf.won { fill: color-mix(in srgb, var(--wc) 75%, #1a1f4f); }
.busy .rl-map .pf { cursor: default; }
.rl-side { display: grid; gap: 14px; }
.rl-side .panel { padding: 16px; }
.rl-side h3 { margin: 0 0 10px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.rl-regions { display: flex; flex-wrap: wrap; gap: 6px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 14px; font-weight: 700; }
.opt select { background: #1b2152; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 6px 8px; font: inherit; }
.sw { position: relative; width: 50px; height: 28px; flex: none; }
.sw input { opacity: 0; width: 0; height: 0; }
.sw span { position: absolute; inset: 0; border-radius: 99px; background: #2a2f63; transition: 0.2s; cursor: pointer; }
.sw span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: 0.2s; }
.sw input:checked + span { background: var(--lime); }
.sw input:checked + span::after { transform: translateX(22px); }
.rl-count { font-family: var(--en); font-size: 12px; color: var(--mute); font-weight: 600; }
.spin-wrap { display: grid; gap: 8px; justify-items: center; margin-top: 16px; }
#spin { font-size: clamp(20px, 3.6vw, 26px); padding: 18px 40px; min-width: min(420px, 100%); font-family: var(--disp); font-weight: 400; letter-spacing: 0.04em; }
#spin:not([disabled]) { animation: breathe 1.8s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 6px 0 #b85b00, 0 10px 50px rgba(255, 190, 60, 0.85); } }
.spin-wrap small { color: var(--dim); font-size: 12px; }
.rl-prog { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 14px; }
.rl-prog .bar { flex: 1 1 100%; height: 10px; border-radius: 99px; background: #23285a; overflow: hidden; }
.rl-prog .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--lime), var(--gold), var(--shu)); border-radius: 99px; transition: width 0.6s; }
.rl-prog b { font-family: var(--en); font-size: 20px; color: var(--gold); }
.rl-prog .dex { margin-left: auto; color: var(--mute); }
.rl-hist { display: flex; flex-wrap: wrap; gap: 6px; }
.rl-hist .chip { text-decoration: none; }
.muted { color: var(--dim); font-size: 13px; }

/* ホイール */
.rl-wheel { position: relative; width: min(560px, 100%); aspect-ratio: 1; }
.rl-wheel canvas { width: 100%; height: 100%; filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.6)); }
.rl-wheel .ptr { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); width: 0; height: 0; border-left: 20px solid transparent; border-right: 20px solid transparent; border-top: 44px solid var(--gold); filter: drop-shadow(0 0 10px rgba(255, 204, 61, 0.9)) drop-shadow(0 3px 0 #a35200); z-index: 2; }
.rl-wheel .hub { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe79a, var(--gold) 45%, #b35a00); display: grid; place-items: center; font-family: var(--disp); color: #5a1f00; font-size: clamp(22px, 5vw, 40px); box-shadow: 0 0 0 6px #1a0f05, 0 0 30px rgba(255, 204, 61, 0.7); }

/* ダーツ */
.rl-dart { position: relative; width: 100%; max-width: 560px; }
.rl-dart .cross { position: absolute; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 3px solid var(--shu); box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 75, 58, 0.8); pointer-events: none; z-index: 2; }
.rl-dart .cross::before, .rl-dart .cross::after { content: ''; position: absolute; left: 50%; top: -10px; bottom: -10px; width: 2px; margin-left: -1px; background: var(--shu); }
.rl-dart .cross::after { transform: rotate(90deg); }
.rl-dart .dart { position: absolute; font-size: 44px; line-height: 1; transform: translate(-50%, -50%) scale(0); opacity: 0; z-index: 3; pointer-events: none; }
.rl-dart .dart.fly { animation: dartfly 0.65s cubic-bezier(0.5, 0, 0.9, 0.6) forwards; }
@keyframes dartfly { 0% { transform: translate(-50%, 120%) scale(5); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.dart-tip { text-align: center; color: var(--mute); font-size: 13px; margin: 6px 0 0; }

/* スロット */
.rl-slot { width: min(560px, 100%); padding: 18px; border-radius: 28px; background: linear-gradient(180deg, #8a1020, #4a0612); border: 4px solid var(--gold); box-shadow: 0 0 0 6px #4a0612, 0 0 40px rgba(255, 75, 58, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.5); position: relative; }
.slot-top { text-align: center; font-family: var(--en); font-weight: 800; letter-spacing: 0.3em; color: var(--gold2); text-shadow: 0 0 12px var(--gold); margin-bottom: 12px; }
.reels { display: grid; grid-template-columns: 1fr 1.4fr 1.1fr; gap: 10px; }
.reel { position: relative; height: 96px; overflow: hidden; border-radius: 14px; background: linear-gradient(180deg, #ddd, #fff 30%, #fff 70%, #ccc); box-shadow: inset 0 8px 14px rgba(0, 0, 0, 0.45), inset 0 -8px 14px rgba(0, 0, 0, 0.45); }
.strip { will-change: transform; }
.cell { height: 96px; display: grid; place-items: center; font-family: var(--disp); font-size: clamp(16px, 3.4vw, 26px); color: #1a1030; text-align: center; padding: 0 4px; line-height: 1.15; }
.cell.win { color: var(--shu); }
.rl-lbl { position: absolute; bottom: 2px; left: 0; right: 0; text-align: center; font-size: 10px; font-weight: 900; color: #777; }
.slot-line { position: absolute; left: 12px; right: 12px; top: calc(50% + 14px); height: 2px; background: rgba(255, 75, 58, 0.6); pointer-events: none; }
.mission { border: 2px dashed var(--gold); border-radius: 16px; padding: 12px 16px; text-align: center; background: rgba(255, 204, 61, 0.08); }
.mission .mi { font-family: var(--en); font-weight: 800; letter-spacing: 0.2em; color: var(--gold); font-size: 13px; }
.mission b { display: block; font-size: 20px; margin: 4px 0; }
.mission p { margin: 0; color: var(--mute); font-size: 14px; }

/* ガチャ */
.rl-gacha { position: relative; width: min(360px, 90%); padding: 10px 0 120px; }
.gm { position: relative; width: 100%; }
.dome { position: relative; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.08) 40%, rgba(120, 200, 255, 0.12)); border: 6px solid #e6ecff; box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.25), 0 0 40px rgba(53, 227, 255, 0.35); overflow: hidden; }
.cap { position: absolute; left: var(--x); top: var(--y); width: 22%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(180deg, var(--c) 50%, #fff 50%); box-shadow: inset -4px -6px 10px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.3); animation: bob 3s ease-in-out infinite var(--d); }
@keyframes bob { 50% { transform: translateY(-6px) rotate(12deg); } }
.shake .cap { animation: jumble 0.18s linear infinite; }
@keyframes jumble { 50% { transform: translate(6px, -14px) rotate(40deg); } }
.gm .body { position: relative; margin: -10% 6% 0; height: 190px; border-radius: 20px 20px 30px 30px; background: linear-gradient(180deg, var(--shu), #a5121f); border: 4px solid var(--gold); display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.crank { position: absolute; left: 50%; top: 28px; width: 70px; height: 70px; margin-left: -35px; border-radius: 50%; background: radial-gradient(circle, #fff, #ccd 60%, #889); box-shadow: 0 4px 0 #556; transition: transform 0.84s ease-in-out; }
.crank span { position: absolute; left: 50%; top: 8px; bottom: 8px; width: 14px; margin-left: -7px; border-radius: 8px; background: #556; }
.crank.turn { transform: rotate(720deg); }
.gm .slot { position: absolute; bottom: 24px; left: 50%; width: 90px; height: 50px; margin-left: -45px; border-radius: 12px 12px 30px 30px; background: #2a0508; box-shadow: inset 0 6px 10px rgba(0, 0, 0, 0.7); }
.gm-name { position: absolute; bottom: 82px; font-family: var(--en); font-weight: 800; letter-spacing: 0.2em; color: var(--gold2); font-size: 13px; }
.ball { position: absolute; left: 50%; bottom: 40px; width: 80px; height: 80px; margin-left: -40px; opacity: 0; pointer-events: none; }
.ball i { position: absolute; left: 0; right: 0; height: 50%; background: var(--c, #fff); border: 3px solid rgba(0, 0, 0, 0.2); transition: transform 0.4s cubic-bezier(0.3, 1.6, 0.5, 1); }
.ball i:first-child { top: 0; border-radius: 40px 40px 0 0; }
.ball i:last-child { bottom: 0; border-radius: 0 0 40px 40px; background: #fff; }
.ball.drop { animation: balldrop 0.9s cubic-bezier(0.4, 0, 0.6, 1.4) forwards; }
@keyframes balldrop { 0% { opacity: 1; transform: translateY(-120px) scale(0.6); } 70% { transform: translateY(0) scale(1.1); opacity: 1; } 100% { transform: translateY(-10px) scale(1.3); opacity: 1; } }
.ball.rainbow i { animation: rb 0.4s linear infinite; }
@keyframes rb { 0% { filter: hue-rotate(0); box-shadow: 0 0 30px #fff; } 100% { filter: hue-rotate(360deg); box-shadow: 0 0 60px #ff4fa8; } }
.ball.open i:first-child { transform: translateY(-80px) rotate(-40deg); }
.ball.open i:last-child { transform: translateY(40px) rotate(30deg); opacity: 0; }
.rare { display: flex; gap: 12px; align-items: center; justify-content: center; font-weight: 900; }
.rare b { font-family: var(--en); font-size: 34px; padding: 0 16px; border-radius: 12px; }
.rare.r-SSR b { background: linear-gradient(90deg, #ff4fa8, #ffcc3d, #35e3ff, #b6ff4a); color: #111; animation: rb 1.2s linear infinite; }
.rare.r-SR b { background: var(--gold); color: #3a1a00; }
.rare.r-R b { background: var(--cyan); color: #00222a; }
.r-N b { background: #555a8c; }
.rare .nw { color: var(--shu); font-family: var(--en); font-size: 20px; }
.rare span:last-child { color: var(--mute); font-size: 13px; }

@media (max-width: 900px) {
  .rl { grid-template-columns: 1fr; }
  .rl-stage { min-height: 0; padding: 8px; }
}

/* ゲームの帯・紹介 */
.hl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.hl .panel { padding: 18px; }
.hl b { font-family: var(--disp); font-weight: 400; font-size: 18px; color: var(--gold2); display: block; margin-bottom: 4px; }
.hl p { margin: 0; color: var(--mute); font-size: 14px; }

/* ファーストビューにルーレットのボタンまで入るように */
.home .hero { padding: 14px 0 0; }
.home .hero h1 { font-size: clamp(32px, 5.6vw, 60px); }
.home .hero p.lead { font-size: 14px; margin-top: 6px; }
.rl-tabs { margin: 12px 0 10px; }
.rl-map svg { max-height: min(60vh, 640px); width: auto; max-width: 100%; margin: 0 auto; }
.rl-dart .rl-map { width: min(100%, max(280px, calc((100vh - 330px) * 0.904))); aspect-ratio: 891 / 985; margin: 0 auto; }
.rl-dart .rl-map svg { display: block; width: 100%; height: 100%; max-height: none; }
.rl-stage { min-height: 0; }
.spin-wrap { margin-top: 12px; }
@media (max-width: 640px) {
  .home .hero p.lead { display: none; }
  .rl-map svg { max-height: 52vh; }
  #spin { padding: 15px 20px; }
}
/* 回すボタンはいつも画面内に（ステージの下で画面下に吸いつく） */
.spin-wrap { position: sticky; bottom: 10px; z-index: 6; }
.spin-wrap small { background: rgba(9, 12, 36, 0.75); padding: 2px 10px; border-radius: 99px; }
#spin { box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55), 0 0 0 3px rgba(255, 204, 61, 0.35); }
.rl-wheel { width: min(560px, 100%, calc(100vh - 290px)); min-width: 280px; }
.rl-gacha { width: min(360px, 90%, calc(100vh - 540px)); min-width: 220px; padding-bottom: 90px; }
.gm .body { height: clamp(120px, 22vh, 190px); }
@media (hover: none) { .spin-wrap small { display: none; } }

/* 本格ホイール（canvas 1枚） */
.rl-wheel2 { position: relative; width: min(600px, 100%, calc(100vh - 300px)); min-width: 280px; aspect-ratio: 1; margin: 0 auto; }
.rl-wheel2 canvas { display: block; width: 100%; height: 100%; filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.65)); }
.rl-stage.rl-flash .rl-wheel2 canvas { animation: rlFlash 0.6s ease-out; }
@keyframes rlFlash { 0% { filter: drop-shadow(0 0 0 #fff) brightness(1.8); } 100% { filter: drop-shadow(0 14px 40px rgba(0, 0, 0, 0.65)) brightness(1); } }

/* サウンドえらび */
.rl-packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rl-pack { display: grid; place-items: center; gap: 2px; padding: 8px 2px 6px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); color: inherit; font: inherit; font-size: 11px; line-height: 1.2; cursor: pointer; transition: transform 0.15s, border-color 0.15s, background 0.15s; }
.rl-pack i { font-style: normal; font-size: 22px; }
.rl-pack:hover { transform: translateY(-2px); border-color: rgba(255, 204, 61, 0.5); }
.rl-pack[aria-checked="true"] { border-color: var(--gold); background: rgba(255, 204, 61, 0.16); box-shadow: 0 0 0 3px rgba(255, 204, 61, 0.15), 0 0 18px rgba(255, 204, 61, 0.25); }
.rl-pack.ping i { animation: packPing 0.5s; }
@keyframes packPing { 30% { transform: scale(1.35) rotate(-8deg); } }

/* まもりがみガチャ（canvas＋開封の演出） */
.rl-gacha2 { position: relative; height: clamp(360px, calc(100vh - 290px), 660px); aspect-ratio: 600 / 820; max-width: 100%; margin: 0 auto; }
.rl-gacha2 canvas { display: block; width: 100%; height: 100%; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.6)); }
.gc-ov { position: absolute; inset: 0 -40%; container-type: size; display: grid; place-items: center; pointer-events: none; z-index: 3; }
.gc-ov::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 46%, rgba(10, 6, 30, 0.2), rgba(5, 4, 18, 0.85) 62%); opacity: 0; transition: opacity 0.5s; }
.gc-ov.drop::before { opacity: 1; }
.gc-cap { position: absolute; left: 50%; top: 86%; width: 11cqh; aspect-ratio: 1; transform: translate(-50%, -50%) scale(0.6); }
.gc-cap i { position: absolute; left: 0; right: 0; height: 50%; transition: transform 0.55s cubic-bezier(.2, .9, .3, 1.2), opacity 0.55s; }
.gc-cap .t { top: 0; border-radius: 999px 999px 0 0; background: radial-gradient(circle at 32% 30%, #fff, var(--cc) 32%, color-mix(in srgb, var(--cc) 60%, #000)); border-bottom: 5px solid color-mix(in srgb, var(--cc) 70%, #000); }
.gc-cap .b { bottom: 0; border-radius: 0 0 999px 999px; background: linear-gradient(#fff, #c8d2ea); box-shadow: inset 0 -8px 16px rgba(0, 0, 0, 0.15); }
.gc-ov.drop .gc-cap { animation: gcDrop 1s cubic-bezier(.3, .6, .4, 1) forwards; }
@keyframes gcDrop { 0% { top: 86%; width: 11cqh; } 45% { top: 50%; width: 22cqh; } 62% { top: 40%; } 78% { top: 47%; width: 26cqh; } 90% { top: 44%; } 100% { top: 46%; width: 26cqh; transform: translate(-50%, -50%) scale(1); } }
.gc-ov.wig .gc-cap { animation: gcWig 0.45s ease-in-out; top: 46%; width: 26cqh; transform: translate(-50%, -50%); }
@keyframes gcWig { 20% { transform: translate(-50%, -50%) rotate(-14deg); } 50% { transform: translate(-50%, -50%) rotate(12deg) scale(1.04); } 80% { transform: translate(-50%, -50%) rotate(-6deg); } }
.gc-ov.drop.wig .gc-cap, .gc-ov.open .gc-cap { top: 46%; width: 26cqh; transform: translate(-50%, -50%); }
.gc-ov.glow .gc-cap { animation: gcGlow 0.5s linear infinite, gcWig 0.25s infinite; }
@keyframes gcGlow { 0% { filter: drop-shadow(0 0 18px #ff4fa8) drop-shadow(0 0 40px #ffcc3d); } 50% { filter: drop-shadow(0 0 26px #35e3ff) drop-shadow(0 0 60px #7dff6a); } 100% { filter: drop-shadow(0 0 18px #ff4fa8) drop-shadow(0 0 40px #ffcc3d); } }
.gc-ov.open .gc-cap { animation: none; }
.gc-ov.open .gc-cap .t { transform: translate(-70%, -180%) rotate(-50deg); opacity: 0; }
.gc-ov.open .gc-cap .b { transform: translate(60%, 160%) rotate(35deg); opacity: 0; }
.gc-rays { position: absolute; left: 50%; top: 44%; width: 120cqh; aspect-ratio: 1; transform: translate(-50%, -50%) scale(0); border-radius: 50%; background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--tc) 55%, transparent) 0 8deg, transparent 8deg 22deg); mask: radial-gradient(circle, #000 20%, transparent 68%); -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); transition: transform 0.6s cubic-bezier(.2, .9, .3, 1.3); }
.gc-ov.r-SSR .gc-rays { background: repeating-conic-gradient(from 0deg, #ff4fa8 0 6deg, transparent 6deg 12deg, #ffcc3d 12deg 18deg, transparent 18deg 24deg, #35e3ff 24deg 30deg, transparent 30deg 36deg); }
.gc-ov.open .gc-rays { transform: translate(-50%, -50%) scale(1); animation: gcSpin 9s linear infinite; }
@keyframes gcSpin { to { transform: translate(-50%, -50%) scale(1) rotate(360deg); } }
.gc-ov.open::after { content: ''; position: absolute; inset: 0; background: #fff; animation: gcFlash 0.5s ease-out forwards; }
@keyframes gcFlash { from { opacity: 0.95; } to { opacity: 0; } }
.gc-get { position: absolute; left: 50%; top: 47%; width: 46cqh; display: grid; justify-items: center; transform: translate(-50%, -50%) scale(0); }
.gc-ov.open .gc-get { animation: gcPop 0.7s 0.08s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes gcPop { from { transform: translate(-50%, -50%) scale(0) rotate(-12deg); } to { transform: translate(-50%, -50%) scale(1) rotate(0); } }
.gc-get img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 26px; border: 5px solid #fff; box-shadow: 0 0 0 4px var(--tc), 0 0 50px color-mix(in srgb, var(--tc) 70%, transparent), 0 20px 40px rgba(0, 0, 0, 0.5); animation: gcFloat 2.4s 0.8s ease-in-out infinite; }
.gc-ov.r-SSR .gc-get img { box-shadow: 0 0 0 4px #ffcc3d, 0 0 40px #ff4fa8, 0 0 90px #35e3ff, 0 20px 40px rgba(0, 0, 0, 0.5); }
@keyframes gcFloat { 50% { transform: translateY(-8px) rotate(1.5deg); } }
.gc-word { position: absolute; top: -12%; left: 50%; transform: translateX(-50%) rotate(-8deg); font-family: var(--disp); font-size: clamp(30px, 11cqh, 64px); color: #fff36b; -webkit-text-stroke: 3px #7a2100; paint-order: stroke; text-shadow: 0 6px 0 #7a2100, 0 0 30px rgba(255, 220, 60, 0.9); animation: gcWord 0.5s 0.4s both cubic-bezier(.2, 1.6, .4, 1); }
@keyframes gcWord { from { transform: translateX(-50%) rotate(-8deg) scale(3); opacity: 0; } }
.gc-name { margin-top: 10px; display: grid; justify-items: center; gap: 2px; padding: 8px 18px 10px; border-radius: 16px; background: rgba(10, 8, 34, 0.88); border: 2px solid var(--tc); text-align: center; animation: gcWord 0.4s 0.6s both; }
.gc-name strong { font-family: var(--disp); font-size: clamp(20px, 3.4vw, 30px); color: #fff; letter-spacing: 0.04em; }
.gc-name small { font-family: var(--en); color: #c8c6ff; font-size: 13px; }
.gc-name em { font-style: normal; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 99px; background: var(--tc); color: #10102a; }
.gc-rare { font-family: var(--en); font-weight: 900; font-size: 13px; letter-spacing: 0.1em; padding: 1px 10px; border-radius: 99px; background: #b6b3e6; color: #10102a; }
.r-R .gc-rare { background: var(--cyan); } .r-SR .gc-rare { background: var(--gold); } .r-SSR .gc-rare { background: linear-gradient(90deg, #ff4fa8, #ffcc3d, #35e3ff); }
/* 結果カードの中のキャラ */
.rv-chara { display: flex; align-items: center; gap: 12px; margin: 10px 0; padding: 10px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1.5px solid var(--tc); }
.rv-chara img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; }
.rv-chara p { margin: 2px 0 0; font-size: 13px; line-height: 1.5; }

/* 地図・ダーツの舞台：光る海 */
.rl-scene { position: relative; width: 100%; display: grid; justify-items: center; }
.rl-sea { position: absolute; inset: -14px; background: radial-gradient(ellipse at 50% 45%, rgba(53, 227, 255, 0.16), transparent 65%), repeating-linear-gradient(0deg, rgba(53, 227, 255, 0.07) 0 1px, transparent 1px 34px), repeating-linear-gradient(90deg, rgba(53, 227, 255, 0.07) 0 1px, transparent 1px 34px); mask: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 80%); -webkit-mask: radial-gradient(ellipse at 50% 50%, #000 40%, transparent 80%); animation: seaDrift 18s linear infinite; pointer-events: none; }
@keyframes seaDrift { to { background-position: 0 0, 0 34px, 34px 0; } }
.rl-scene .rl-map { position: relative; z-index: 1; }
.rl-scene .jmap .pf { fill: color-mix(in srgb, var(--wc, #303884) 26%, #222a6a); stroke: rgba(150, 200, 255, 0.35); stroke-width: 0.8; }
.rl-scene .jmap .pf.won { fill: color-mix(in srgb, var(--wc) 72%, #1a1f4f); }
.rl-scene .jmap .pf.off { fill: #141838; opacity: 0.5; }
.rl-scene .jmap .pf.lit { fill: #fff3a0 !important; filter: drop-shadow(0 0 8px #ffd84a) drop-shadow(0 0 18px rgba(255, 170, 0, 0.8)); }
.rl-scene .jmap .pf.t1 { fill: color-mix(in srgb, #ffcc3d 70%, var(--wc)) !important; }
.rl-scene .jmap .pf.t2 { fill: color-mix(in srgb, #ffcc3d 40%, var(--wc)) !important; }
.rl-scene .jmap .pf.t3 { fill: color-mix(in srgb, #ffcc3d 18%, var(--wc)) !important; }
.rl-scene .jmap.spot .pf:not(.hit) { opacity: 0.35; transition: opacity 0.6s; }
.rl-scene .jmap .beam { stroke: url(#beamG); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 6px #ffcc3d); animation: beamFade 0.6s ease-out forwards; }
@keyframes beamFade { from { opacity: 1; } to { opacity: 0; stroke-width: 1; } }
.rl-scene .jmap .flare { fill: url(#flareG); animation: flareFade 0.5s ease-out forwards; pointer-events: none; mix-blend-mode: screen; transform-box: fill-box; transform-origin: center; }
@keyframes flareFade { from { opacity: 1; transform: scale(1.4); } to { opacity: 0; transform: scale(0.4); } }
.rl-scene .jmap .ring { fill: none; stroke: var(--rc); stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: ringOut 1.6s ease-out forwards; opacity: 0; pointer-events: none; }
@keyframes ringOut { 0% { opacity: 1; transform: scale(1); stroke-width: 6; } 100% { opacity: 0; transform: scale(14); stroke-width: 0.5; } }
.rl-scene.map .jmap { transition: transform 0.75s cubic-bezier(0.2, 0.9, 0.2, 1); }

/* ダーツ */
.rl-scene.dart .rl-map { width: min(100%, max(280px, calc((100vh - 330px) * 0.904))); aspect-ratio: 891 / 985; margin: 0 auto; }
.rl-scene.dart .rl-map > svg.jmap { display: block; width: 100%; height: 100%; max-height: none; }
.rl-scene.dart .jmap .pf.aim { fill: color-mix(in srgb, var(--wc) 60%, #fff); filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)); }
.rl-scene.dart .rl-map.jolt { animation: jolt 0.35s; }
@keyframes jolt { 20% { transform: translate(3px, 2px); } 40% { transform: translate(-3px, -1px); } 60% { transform: translate(2px, -2px); } }
.scope { position: absolute; width: 86px; height: 86px; margin: -43px 0 0 -43px; z-index: 3; pointer-events: none; }
.scope svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 0 6px rgba(255, 60, 40, 0.8)); }
.scope .sc-o { fill: rgba(255, 60, 40, 0.06); stroke: #ff4b3a; stroke-width: 3; }
.scope .sc-d { fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: 1.5; stroke-dasharray: 4 6; }
.scope .sc-spin { stroke: #fff; stroke-width: 3; animation: scSpin 3s linear infinite; transform-origin: 0 0; }
@keyframes scSpin { to { transform: rotate(360deg); } }
.scope .sc-x { stroke: #ff4b3a; stroke-width: 2.4; }
.scope .sc-dot { fill: #ff4b3a; }
.scope.lock svg { animation: scLock 0.25s; }
.scope.lock .sc-o { stroke: #ffcc3d; }
.scope.lock .sc-x, .scope.lock .sc-dot { stroke: #ffcc3d; fill: #ffcc3d; }
@keyframes scLock { 50% { transform: scale(0.75); } }
.sc-name { position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 4px; white-space: nowrap; font-size: 12px; font-weight: 900; padding: 2px 10px; border-radius: 99px; background: rgba(10, 8, 30, 0.85); border: 1px solid rgba(255, 75, 58, 0.7); color: #fff; }
.dart3 { position: absolute; width: 120px; height: 36px; margin-top: -18px; z-index: 4; pointer-events: none; opacity: 0; transform-origin: 0 50%; }
.dart3.fly { animation: dartArc 0.56s cubic-bezier(0.45, 0, 0.85, 0.5) forwards; }
@keyframes dartArc { 0% { opacity: 0; transform: translate(260px, 260px) rotate(-18deg) scale(3.2); } 15% { opacity: 1; } 100% { opacity: 1; transform: translate(0, 0) rotate(-38deg) scale(1); } }
.dart3.stuck { opacity: 1; transform: rotate(-38deg); animation: quiver 0.5s ease-out; }
@keyframes quiver { 0% { transform: rotate(-30deg); } 25% { transform: rotate(-45deg); } 50% { transform: rotate(-34deg); } 75% { transform: rotate(-40deg); } 100% { transform: rotate(-38deg); } }

/* スロット台 */
.sl2 { position: relative; width: min(560px, calc(100% - 44px)); margin-right: 40px; padding: 14px 16px 16px; border-radius: 30px 30px 24px 24px; background: linear-gradient(90deg, #4a0612, #a3142a 18%, #d7263d 50%, #a3142a 82%, #4a0612); border: 4px solid var(--gold); box-shadow: 0 0 0 5px #3a0410, 0 22px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(0, 0, 0, 0.45); }
.sl2-top { position: relative; margin: -4px -4px 12px; padding: 10px 0 12px; border-radius: 22px 22px 12px 12px; background: linear-gradient(#1a0a2e, #2d0f4a); border: 3px solid #ffcc3d; overflow: hidden; }
.sl2-bulbs { position: absolute; inset: 4px; border-radius: 16px; background: radial-gradient(circle, #fff6c0 0 3px, transparent 4px) 0 0 / 18px 18px; -webkit-mask: linear-gradient(#000 0 8px, transparent 8px calc(100% - 8px), #000 calc(100% - 8px)); mask: linear-gradient(#000 0 8px, transparent 8px calc(100% - 8px), #000 calc(100% - 8px)); animation: bulbRun 0.8s steps(2) infinite; opacity: 0.9; }
.sl2.spinning .sl2-bulbs { animation-duration: 0.18s; }
@keyframes bulbRun { to { background-position: 18px 0; } }
.sl2-neon { position: relative; text-align: center; font-family: var(--disp); font-size: clamp(26px, 5vw, 40px); line-height: 1; color: #fff; text-shadow: 0 0 6px #fff, 0 0 14px #ff4fa8, 0 0 30px #ff4fa8; letter-spacing: 0.06em; }
.sl2-neon span { font-family: var(--en); font-weight: 900; margin-left: 10px; color: #b8fbff; text-shadow: 0 0 6px #fff, 0 0 16px var(--cyan), 0 0 30px var(--cyan); animation: neonFlick 3.2s infinite; }
@keyframes neonFlick { 0%, 92%, 100% { opacity: 1; } 93% { opacity: 0.3; } 95% { opacity: 1; } 96% { opacity: 0.5; } }
.sl2-win { position: relative; padding: 10px; border-radius: 18px; background: #12061c; box-shadow: inset 0 0 0 3px rgba(255, 204, 61, 0.35), inset 0 6px 20px #000; }
.sl2 .reels { display: grid; grid-template-columns: 1fr 1.4fr 1.05fr; gap: 8px; }
.sl2 .reel { position: relative; height: clamp(84px, 13vw, 104px); overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #b9b9c8, #fff 28%, #fff 72%, #a9a9b8); box-shadow: none; }
.sl2 .reel::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 30%, rgba(255, 255, 255, 0.25) 46%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.55)); }
.sl2 .strip.blur { filter: blur(2.2px); }
.sl2 .reel.stop .strip { animation: reelBump 0.25s; }
@keyframes reelBump { 50% { margin-top: 6px; } }
.sl2 .cell { height: clamp(84px, 13vw, 104px); display: grid; place-content: center; justify-items: center; gap: 2px; padding: 0 4px; color: #1a1030; text-align: center; }
.sl2 .cell b { font-family: var(--disp); font-weight: 400; font-size: clamp(16px, 3.2vw, 25px); line-height: 1.1; }
.sl2 .cell small { font-family: var(--en); font-size: 11px; color: #6a6488; }
.sl2 .cell .pill { font-family: var(--disp); font-size: clamp(15px, 2.8vw, 21px); padding: 4px 12px; border-radius: 99px; background: var(--c); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); }
.sl2 .cell .mi { font-size: clamp(26px, 5vw, 36px); line-height: 1; }
.sl2 .cell span { font-family: var(--disp); font-size: 14px; }
.sl2 .cell.win b { color: #d01a2a; }
.sl2 .rl-lbl { position: absolute; top: 3px; bottom: auto; left: 0; right: 0; text-align: center; font-size: 9px; font-weight: 900; color: #8a8aa0; z-index: 1; }
.sl2 .ar { position: absolute; top: 50%; width: 0; height: 0; border: 9px solid transparent; transform: translateY(-50%); z-index: 2; filter: drop-shadow(0 0 4px #ff4b3a); }
.sl2 .ar.l { left: -6px; border-left: 12px solid #ff4b3a; }
.sl2 .ar.r { right: -6px; border-right: 12px solid #ff4b3a; }
.sl2-line { position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: rgba(255, 75, 58, 0.7); box-shadow: 0 0 8px #ff4b3a; pointer-events: none; z-index: 1; }
.sl2.won .sl2-line { animation: lineFlash 0.25s 6 alternate; height: 4px; background: #ffcc3d; box-shadow: 0 0 16px #ffcc3d; }
.sl2.won .reel { animation: reelGlow 0.5s 3 alternate; }
@keyframes lineFlash { to { opacity: 0.2; } }
@keyframes reelGlow { to { box-shadow: 0 0 0 3px #ffcc3d, 0 0 22px #ffcc3d; } }
.sl2-tray { margin-top: 12px; padding: 8px; border-radius: 0 0 16px 16px; background: linear-gradient(#2a0a10, #12040a); border-top: 3px solid #ffcc3d; text-align: center; font-size: 11px; font-weight: 900; color: #ffcc3d; letter-spacing: 0.1em; }
.sl2-lever { position: absolute; right: -40px; top: 34%; width: 30px; height: 120px; }
.sl2-lever::before { content: ''; position: absolute; left: 4px; bottom: 0; width: 22px; height: 30px; border-radius: 8px; background: linear-gradient(90deg, #6d7286, #e2e5ee, #6d7286); }
.sl2-lever .rod { position: absolute; left: 11px; bottom: 22px; width: 8px; height: 90px; border-radius: 4px; background: linear-gradient(90deg, #8a8fa0, #fff, #8a8fa0); transform-origin: 50% 100%; transition: transform 0.25s; }
.sl2-lever .knob { position: absolute; left: -2px; bottom: 100px; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ff4b3a 40%, #8a0d05); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); transition: transform 0.25s; }
.sl2.pull .rod { transform: scaleY(-0.35); }
.sl2.pull .knob { transform: translateY(118px); }
.sl2-coins { position: absolute; left: 50%; bottom: 18px; width: 0; height: 0; z-index: 5; pointer-events: none; }
.sl2-coins i { position: absolute; width: 20px; height: 20px; margin: -10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff8c8, #ffcc3d 45%, #b06a00); box-shadow: inset 0 0 0 2px #e09a10; animation: coinFly 1.3s var(--d) cubic-bezier(0.2, 0.6, 0.4, 1) forwards; opacity: 0; }
@keyframes coinFly { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 55% { opacity: 1; transform: translate(calc(var(--x) * 0.7), var(--y)) rotate(var(--r)); } 100% { opacity: 0; transform: translate(var(--x), 40px) rotate(calc(var(--r) * 2)); } }
@media (max-width: 520px) { .sl2-lever { display: none; } .sl2 { margin-right: 0; width: 100%; } }

/* 旅人レベル */
.lv { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; margin-bottom: 10px; padding: 8px 12px; border-radius: 14px; background: linear-gradient(90deg, rgba(255, 204, 61, 0.14), rgba(255, 79, 168, 0.1)); border: 1px solid rgba(255, 204, 61, 0.35); }
.lv-n { grid-row: span 2; font-family: var(--en); font-weight: 800; font-size: 13px; color: var(--gold); }
.lv-n b { font-size: 26px; }
.lv-t { font-weight: 900; font-size: 14px; }
.lv-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.lv-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), #ff4fa8); border-radius: 99px; }

/* おみくじ＋図鑑ちら見せ */
.fun-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 860px) { .fun-grid { grid-template-columns: 1fr; } }
.fun .panel { padding: 22px; position: relative; overflow: hidden; }
.fun .sec-h { text-align: left; margin-bottom: 14px; }
.fun .sec-h h2 { font-size: clamp(22px, 3.4vw, 32px); }
.omk { background: radial-gradient(circle at 85% 10%, rgba(255, 75, 58, 0.22), transparent 55%), rgba(14, 16, 44, 0.75); }
.omk-stage { min-height: 200px; display: grid; place-items: center; margin-bottom: 14px; }
.omk-tube { position: relative; width: 92px; height: 170px; border-radius: 14px 14px 10px 10px; background: linear-gradient(90deg, #7a1c0e, #d23a1f 30%, #ff6a3d 50%, #d23a1f 70%, #7a1c0e); border: 3px solid #ffcc3d; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5); display: grid; place-items: center; }
.omk-tube span { writing-mode: vertical-rl; font-family: var(--disp); font-size: 24px; color: #fff3c4; letter-spacing: 0.1em; text-shadow: 0 2px 0 #5a1000; }
.omk-tube .stick { position: absolute; left: 50%; top: 4px; width: 10px; height: 60px; margin-left: -5px; border-radius: 3px; background: linear-gradient(90deg, #d9b98a, #fff1d6, #d9b98a); transition: transform 0.5s cubic-bezier(0.2, 1.4, 0.4, 1); z-index: -1; }
.omk-tube.shake { animation: omkShake 0.16s infinite; }
@keyframes omkShake { 25% { transform: rotate(-14deg) translateY(-6px); } 75% { transform: rotate(12deg) translateY(-2px); } }
.omk-tube.out .stick { transform: translateY(-46px); }
.omk-card { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 14px; width: 100%; text-align: left; }
.omk-card.in { animation: omkIn 0.6s cubic-bezier(0.2, 1.3, 0.4, 1); }
@keyframes omkIn { from { transform: translateY(30px) scale(0.9); opacity: 0; } }
@media (max-width: 560px) { .omk-card { grid-template-columns: 1fr; } }
.omk-paper { position: relative; padding: 16px 16px 14px; border-radius: 8px; background: #fffaf0; color: #2a1a10; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); border-top: 8px solid var(--fc); text-align: center; }
.omk-date { display: block; font-family: var(--en); font-size: 11px; color: #9a8a7a; letter-spacing: 0.1em; }
.omk-k { display: block; font-family: var(--disp); font-weight: 400; font-size: clamp(46px, 7vw, 64px); line-height: 1.1; color: var(--fc); text-shadow: 0 3px 0 rgba(0, 0, 0, 0.12); }
.omk-paper small { font-family: var(--en); font-weight: 800; color: #8a6a4a; }
.omk-paper p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.6; }
.omk-paper p.en { font-size: 12px; color: #7a6a5a; margin-top: 4px; }
.omk-luck { display: grid; gap: 10px; align-content: start; }
.omk-pref { position: relative; display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 7; color: #fff; text-decoration: none; }
.omk-pref img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.omk-pref:hover img { transform: scale(1.06); }
.omk-pref span { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.8)); font-size: 11px; font-weight: 700; }
.omk-pref b { display: block; font-family: var(--disp); font-weight: 400; font-size: 22px; }
.omk-luck ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.omk-luck li { padding: 6px 8px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); font-size: 10.5px; color: var(--mute); line-height: 1.3; }
.omk-luck li i { font-style: normal; margin-right: 3px; }
.omk-luck li b { display: block; color: #fff; font-size: 13px; }
.omk-chara { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; border: 1.5px solid var(--tc); background: rgba(255, 255, 255, 0.05); }
.omk-chara img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.omk-chara small { display: block; font-size: 10px; color: var(--mute); }
.omk-chara b { font-family: var(--disp); font-weight: 400; font-size: 18px; }
.omk-chara span { display: block; font-size: 12px; }
.omk-btn { width: 100%; }
.mm-teaser { background: radial-gradient(circle at 15% 0%, rgba(53, 227, 255, 0.18), transparent 55%), rgba(14, 16, 44, 0.75); }
.mm-prog { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.mm-prog .bar { flex: 1; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.mm-prog .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--cyan), var(--gold), #ff4fa8); border-radius: 99px; transition: width 0.8s; }
.mm-prog b { font-family: var(--en); font-size: 18px; white-space: nowrap; }
.mm-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 16px; }
.mm-row span { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: rgba(255, 255, 255, 0.05); }
.mm-row span { position: relative; }
.mm-row span:not(.got)::after, .zk-card:not(.got)::after { content: "？"; position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--disp); font-size: 26px; color: rgba(255, 255, 255, 0.8); text-shadow: 0 0 12px rgba(53, 227, 255, 0.9); pointer-events: none; }
.zk-card:not(.got)::after { inset: 10px 8px auto; aspect-ratio: 1; font-size: 46px; }
.mm-row img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.3) blur(5px) saturate(0.3); opacity: 0.9; transition: filter 0.5s, opacity 0.5s, transform 0.3s; }
.mm-row span.got img { filter: none; opacity: 1; }
.mm-row span:hover img { transform: scale(1.08); }
.mm-teaser .btn { width: 100%; }

/* ナナ */
.nana { position: fixed; left: 14px; bottom: 14px; z-index: 60; display: flex; align-items: flex-end; gap: 6px; pointer-events: none; }
.nana-pic { pointer-events: auto; width: 84px; height: 84px; padding: 0; border: 0; background: none; cursor: pointer; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); animation: nanaBob 3s ease-in-out infinite; order: 0; }
.nana-pic img { width: 100%; height: 100%; object-fit: contain; }
@keyframes nanaBob { 50% { transform: translateY(-6px) rotate(-3deg); } }
.nana.talk .nana-pic { animation: nanaHop 0.5s, nanaBob 3s 0.5s ease-in-out infinite; }
@keyframes nanaHop { 40% { transform: translateY(-16px) scale(1.06); } }
.nana-bub { order: 1; max-width: min(300px, calc(100vw - 130px)); margin-bottom: 40px; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #fff; color: #1a1638; font-size: 13.5px; font-weight: 700; line-height: 1.55; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45); opacity: 0; transform: translateY(10px) scale(0.9); transform-origin: 0 100%; transition: opacity 0.25s, transform 0.3s cubic-bezier(0.2, 1.4, 0.4, 1); pointer-events: none; }
.nana.open .nana-bub { opacity: 1; transform: none; pointer-events: auto; }
.nana-x { position: absolute; left: 62px; bottom: 70px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: rgba(10, 8, 30, 0.85); color: #fff; font-size: 12px; line-height: 1; cursor: pointer; pointer-events: auto; opacity: 0; transition: opacity 0.2s; }
.nana:hover .nana-x { opacity: 1; }
@media (hover: none) { .nana-x { opacity: 0.8; } }
@media (max-width: 600px) { .nana-pic { width: 64px; height: 64px; } .nana-x { left: 46px; bottom: 52px; } .nana-bub { margin-bottom: 30px; font-size: 12.5px; } }

/* まもりがみ図鑑ページ */
.zk-hero { text-align: center; }
.zk-prog { max-width: 520px; margin: 18px auto 12px; }
.zk-comp { font-weight: 900; color: var(--gold); font-size: 18px; }
.zk-types { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.zk-types span { padding: 3px 12px; border-radius: 99px; background: color-mix(in srgb, var(--tc) 22%, transparent); border: 1px solid var(--tc); font-weight: 900; font-size: 13px; }
.zk-types small { margin-left: 4px; font-family: var(--en); font-weight: 600; font-size: 11px; color: var(--mute); }
.zk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 26px; }
.zk-card { position: relative; display: grid; justify-items: center; gap: 2px; padding: 10px 8px 12px; border-radius: 18px; border: 2px solid rgba(255, 255, 255, 0.08); background: rgba(14, 16, 44, 0.75); color: inherit; font: inherit; cursor: pointer; transition: transform 0.2s, border-color 0.2s; }
.zk-card:hover { transform: translateY(-4px); }
.zk-card img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 14px; object-fit: cover; filter: brightness(0.28) blur(7px) saturate(0.3); opacity: 0.9; }
.zk-card .nm { display: none; font-family: var(--disp); font-weight: 400; font-size: 17px; }
.zk-card .q { font-family: var(--disp); font-size: 17px; color: var(--mute); }
.zk-card small { font-size: 11px; color: var(--mute); }
.zk-no { position: absolute; top: 14px; left: 14px; z-index: 1; font-family: var(--en); font-weight: 800; font-size: 10px; padding: 1px 6px; border-radius: 6px; background: rgba(0, 0, 0, 0.55); color: #fff; }
.zk-card.got { border-color: var(--tc); background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--tc) 25%, transparent), rgba(14, 16, 44, 0.8) 70%); }
.zk-card.got img { filter: none; opacity: 1; }
.zk-card.got .nm { display: block; }
.zk-card.got .q { display: none; }
.zk-card.nope { animation: zkNope 0.4s; }
@keyframes zkNope { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.zk-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(4, 4, 18, 0.82); backdrop-filter: blur(6px); animation: omkIn 0.3s; }
.zk-box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; width: min(760px, 100%); padding: 20px; border-radius: 24px; background: radial-gradient(circle at 25% 40%, color-mix(in srgb, var(--tc) 35%, transparent), #12123a 70%); border: 3px solid var(--tc); box-shadow: 0 0 60px color-mix(in srgb, var(--tc) 50%, transparent); }
.zk-box > img { width: 100%; border-radius: 18px; }
.zk-x { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.5); color: #fff; font-size: 20px; cursor: pointer; }
.zk-ty { display: inline-block; padding: 2px 12px; border-radius: 99px; background: var(--tc); color: #10102a; font-weight: 900; font-size: 13px; }
.zk-info h2 { font-family: var(--disp); font-weight: 400; font-size: clamp(28px, 5vw, 42px); margin: 8px 0; }
.zk-info h2 small { display: block; font-family: var(--en); font-size: 15px; color: var(--mute); }
.zk-line { font-size: 17px; font-weight: 700; margin: 0; }
@media (max-width: 600px) { .zk-box { grid-template-columns: 1fr; } .zk-box > img { width: 70%; margin: 0 auto; } }

@media (max-width: 600px) { .rl-gacha2 { height: clamp(320px, calc(100svh - 360px), 520px); } }

.hero-new { margin: 14px 0 0; }
.hero-new a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 99px; font-weight: 900; color: var(--ink); text-decoration: none; background: linear-gradient(90deg, rgba(255, 75, 58, 0.28), rgba(255, 204, 61, 0.22)); border: 1px solid rgba(255, 204, 61, 0.6); box-shadow: 0 0 22px rgba(255, 140, 40, 0.3); }
.hero-new a:hover { border-color: var(--gold); }
.hero-new .nw { font-family: var(--en); font-size: 11px; letter-spacing: 0.12em; padding: 2px 8px; border-radius: 99px; background: var(--shu, #ff4b3a); color: #fff; }
