/* 사주오락실 · 오락실 테마 (밝게/밤) — html[data-theme] */
/* ---------- 공통: 오락실 장식 ---------- */
html[data-theme] body { background-color: var(--bg); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 16px 16px; }
html[data-theme] .app { background: transparent; }
html[data-theme] .topbar { background: var(--bar); border-bottom: 4px solid var(--ink); box-shadow: 0 3px 0 var(--pink); }
html[data-theme] .band { position: relative; border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); padding-top: 30px; }
html[data-theme] .band::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); opacity: .9; }
html[data-theme] .section-head h2 { display: inline-block; padding: 4px 12px 2px; background: var(--ink); color: var(--head-ink); border-radius: 4px; box-shadow: 3px 3px 0 var(--pink); letter-spacing: .5px; }
html[data-theme] .section-head h2::before { content: '▶ '; color: var(--yellow); font-size: .8em; }
html[data-theme] .btn { box-shadow: 0 5px 0 var(--ink); transform: translateY(-2px); }
html[data-theme] .btn:active { box-shadow: 0 1px 0 var(--ink); transform: translateY(2px); }
html[data-theme] .free-card, html[data-theme] .trust, html[data-theme] .today-card, html[data-theme] .round { box-shadow: 4px 4px 0 var(--ink); }
html[data-theme] .faq details { border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
html[data-theme] .tabbar { background: var(--bar); box-shadow: 0 4px 0 var(--ink); }

/* ---------- 밝은 오락실 ---------- */
html[data-theme="light"] {
  --bg: #FFF3C9; --grid: rgba(42, 27, 74, .07); --bar: #FFFFFF; --head-ink: #FFF3C9;
}
html[data-theme="light"] .band-pink { background: #F6C9DA; }
html[data-theme="light"] .band-mint { background: #BDE6DC; }
html[data-theme="light"] .band-yellow { background: #F6E2A6; }
html[data-theme="light"] .band-lilac { background: #D4CBF2; }
html[data-theme="light"] .band .cab-desc, html[data-theme="light"] .band .rep-desc { color: var(--ink); }

/* ---------- 밤 오락실 ---------- */
html[data-theme="dark"] {
  --bg: #0D0A24; --card: #1B1540; --ink: #F3EEFF; --ink-2: #D2C8F2; --ink-3: #ADA0DC; --line: #3E3275;
  --pink: #FF4FA0; --pink-text: #FF8CC4; --teal: #3FE0C0; --teal-text: #5CEBCF;
  --grid: rgba(120, 90, 255, .10); --bar: #140F33; --head-ink: #0D0A24;
  color-scheme: dark;
}
html[data-theme="dark"] body::after { content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 9999; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px); }
html[data-theme="dark"] .section-head h2 { background: #FF4FA0; color: #fff; box-shadow: 0 0 12px #FF4FA0, 3px 3px 0 #3FE0C0; }
html[data-theme="dark"] .band { border-color: #3FE0C0; }
html[data-theme="dark"] .band::before { background: repeating-linear-gradient(90deg, #3FE0C0 0 8px, transparent 8px 16px); }
html[data-theme="dark"] .band-pink { background: #2A0F33; box-shadow: inset 0 0 40px rgba(255, 79, 160, .35); }
html[data-theme="dark"] .band-mint { background: #0B2A2E; box-shadow: inset 0 0 40px rgba(63, 224, 192, .3); }
html[data-theme="dark"] .band-yellow { background: #2B2410; box-shadow: inset 0 0 40px rgba(255, 210, 63, .3); }
html[data-theme="dark"] .band-lilac { background: #1D1748; }
html[data-theme="dark"] .free-card, html[data-theme="dark"] .trust, html[data-theme="dark"] .today-card, html[data-theme="dark"] .round, html[data-theme="dark"] .faq details { border-color: #3FE0C0; box-shadow: 0 0 10px rgba(63, 224, 192, .35); }
html[data-theme="dark"] .trust-grid div { background: #241C55 !important; }
html[data-theme="dark"] .topbar, html[data-theme="dark"] .tabbar { border-color: #FF4FA0; box-shadow: 0 0 14px rgba(255, 79, 160, .5); }
html[data-theme="dark"] .tabbar .on { color: #FF8CC4; }
html[data-theme="dark"] .btn { box-shadow: 0 5px 0 #000, 0 0 12px rgba(255, 79, 160, .45); }
html[data-theme="dark"] .footer { border-color: var(--line); }
html[data-theme="dark"] .yellow { color: #FFD23F; }
html[data-theme="dark"] .cyan { color: #6FD8F2; }

/* ---------- 네온 테두리 (밝게/밤 공통, 색만 다르게) ---------- */
html[data-theme="light"] { --neon-a: #FF3E9A; --neon-b: #00C2D1; --neon-glow: .55; }
html[data-theme="dark"] { --neon-a: #FF4FA0; --neon-b: #3FE0C0; --neon-glow: .8; }
html[data-theme] .mini-cab, html[data-theme] .main-cab, html[data-theme] .rep-cab { filter: drop-shadow(0 0 4px var(--neon-a)) drop-shadow(0 0 10px color-mix(in srgb, var(--neon-a) 50%, transparent)); }
html[data-theme] .band:nth-of-type(odd) .mini-cab, html[data-theme] .games > :nth-child(even) .mini-cab { filter: drop-shadow(0 0 4px var(--neon-b)) drop-shadow(0 0 10px color-mix(in srgb, var(--neon-b) 50%, transparent)); }
html[data-theme="light"] .free-card, html[data-theme="light"] .trust, html[data-theme="light"] .today-card, html[data-theme="light"] .round, html[data-theme="light"] .faq details, html[data-theme="light"] .modal-box, html[data-theme="light"] .input {
  border-color: var(--ink); box-shadow: 0 0 0 2px var(--neon-a), 0 0 12px 2px color-mix(in srgb, var(--neon-a) 45%, transparent), 4px 4px 0 2px var(--ink); }
html[data-theme="light"] .round:nth-of-type(even), html[data-theme="light"] .free-card:nth-child(even), html[data-theme="light"] .faq details:nth-child(even), html[data-theme="light"] .trust-grid + * {
  box-shadow: 0 0 0 2px var(--neon-b), 0 0 12px 2px color-mix(in srgb, var(--neon-b) 45%, transparent), 4px 4px 0 2px var(--ink); }
html[data-theme="light"] .topbar { box-shadow: 0 2px 0 var(--neon-a), 0 4px 14px color-mix(in srgb, var(--neon-a) 50%, transparent); }
html[data-theme="light"] .tabbar { border-color: var(--ink); box-shadow: 0 0 0 2px var(--neon-a), 0 0 16px color-mix(in srgb, var(--neon-a) 55%, transparent); }
html[data-theme="light"] .section-head h2 { box-shadow: 0 0 0 2px var(--neon-a), 0 0 12px var(--neon-a); }
html[data-theme="light"] .btn-pink { box-shadow: 0 5px 0 var(--ink), 0 0 14px color-mix(in srgb, var(--neon-a) 70%, transparent); }
html[data-theme="dark"] .round:nth-of-type(even), html[data-theme="dark"] .free-card:nth-child(even), html[data-theme="dark"] .faq details:nth-child(even) { border-color: var(--neon-a); box-shadow: 0 0 0 1px var(--neon-a), 0 0 14px rgba(255, 79, 160, .55); }
html[data-theme="dark"] .round, html[data-theme="dark"] .free-card, html[data-theme="dark"] .trust, html[data-theme="dark"] .today-card, html[data-theme="dark"] .faq details, html[data-theme="dark"] .modal-box { box-shadow: 0 0 0 1px var(--neon-b), 0 0 16px rgba(63, 224, 192, .5); }
html[data-theme="dark"] .round:nth-of-type(even) { box-shadow: 0 0 0 1px var(--neon-a), 0 0 16px rgba(255, 79, 160, .55); }
/* 밤: 다크 바탕에서 묻히는 곳 */
html[data-theme="dark"] .pill.coin { background: #FFD23F; color: #2A1B4A; border-color: #FFD23F; box-shadow: 0 0 10px rgba(255, 210, 63, .6); }
html[data-theme="dark"] .pill { border-color: var(--neon-a); }
html[data-theme="dark"] .sheet-box, html[data-theme="dark"] .modal-box { border-color: var(--neon-b); }
html[data-theme] .pill.thm { font-size: 17px; }

/* 밤: 밝은 칩·버튼 위 글씨는 진하게 유지 */
html[data-theme="dark"] :is(.pill.coin, .btn-yellow, .ticket button, .cta, .tc-badge, .tc-share, .my-ava, .sl.open, .chip:hover, .chip:focus-visible, .node.k-good, .node.k-calm, .tags span, .pack:has(input:checked), .paym-o:has(input:checked), .sj-crit em, .pl-rel, .pick-row.on, .td-situ b, .rp-deep .dp-chips span, .rp-banner) { color: #2A1B4A; }
html[data-theme="dark"] :is(.pick-row.on, .pack:has(input:checked), .paym-o:has(input:checked)) * { color: #2A1B4A; }
html[data-theme="dark"] .plays { background: #1B1540; border-color: var(--neon-a); }
html[data-theme="dark"] .price s { color: #8E82B8; }
html[data-theme="dark"] .rp-banner { background: #FFE8A3; }
/* 상단 버튼 4개가 들어가도 로고가 잘리지 않게 */
html[data-theme] .top-actions { gap: 5px; }
html[data-theme] .pill.snd { width: 34px; min-height: 34px; font-size: 16px; }
html[data-theme] .top-actions .pill { min-height: 34px; padding: 0 9px; }
html[data-theme] .top-actions .pill.snd { padding: 0; }
html[data-theme] .topbar { padding-left: 12px; padding-right: 12px; }
@media (max-width: 360px) { html[data-theme] .brand { font-size: 20px; } }
@media (max-width: 360px) {
  html[data-theme] .brand { font-size: 19px; }
  html[data-theme] .top-actions { gap: 4px; }
  html[data-theme] .pill.snd { width: 30px; min-height: 30px; font-size: 14px; }
  html[data-theme] .top-actions .pill { min-height: 30px; padding: 0 7px; font-size: 13px; }
  html[data-theme] .top-actions .pill.me { max-width: 58px; line-height: 26px; }
  html[data-theme] .topbar { padding-left: 10px; padding-right: 10px; }
}

/* 로고 아래 문구 · 게임기 신뢰 배지 · 하이스코어 숫자 */
html[data-theme] .brand-sub { font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: -.2px; }
@media (max-width: 360px) { html[data-theme] .brand-sub { font-size: 11px; } }
.sec-note { margin: -4px 0 2px; font-size: 13.5px; line-height: 1.55; font-weight: 700; color: var(--ink); word-break: keep-all; }
.end-ig { display: block; margin-top: 4px; padding: 10px 12px; border-radius: 12px; border: 2px dashed var(--ink-3); text-align: center; font-size: 13.5px; color: var(--ink-2); text-decoration: none; }
.end-ig b { color: var(--pink-text); }
.hs-num small { font-family: var(--title); font-size: 18px; margin-left: 6px; letter-spacing: 0; color: #FFE89A; text-shadow: none; }

/* 로딩: 몽이 사장 + 알바생 봉이 */
.ld-spr.duo2 { width: 150px; height: 90px; }
.loading .stage-spr.duo2 { width: 200px; height: 120px; }
.duo2 .spr { position: absolute; }
/* 봉이 알바일지 */
.cm-box { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.cm-t { font-family: var(--title); font-weight: 400; font-size: 18px; }
.cm-s { margin-top: -6px; font-size: 13px; color: var(--ink-2); }
.cm-img { position: relative; border: 3px solid var(--ink); border-radius: 10px; overflow: hidden; }
.cm-img img { width: 100%; height: auto; display: block; }
.cm-img.fold { max-height: 300px; }
.cm-img.fold::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(transparent, var(--card)); }
.cm-more { min-height: 44px; }
.cm-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cm-nav button { min-height: 40px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 10px; background: var(--card); font-family: var(--title); font-size: 15px; }
.cm-nav button:disabled { opacity: .35; }
.cm-ig { min-height: 48px; font-size: 15px; white-space: nowrap; letter-spacing: -.3px; }
@media (max-width: 360px) { .cm-ig { font-size: 12.5px; padding: 0 8px; letter-spacing: -.5px; } }
.comic .section-head h2 { font-size: 20px; white-space: nowrap; }
@media (max-width: 360px) { .comic .section-head h2 { font-size: 17px; } }
.sec-note span { display: inline-block; white-space: nowrap; } /* 의미 덩어리 안에서는 줄이 안 바뀌게 */
.nw { display: inline-block; white-space: nowrap; }

/* ---------- 오늘의 손님 뽑기 (#/gacha) ---------- */
.gc { word-break: keep-all; }
.gc-sub { text-align: center; margin: 10px 0 8px; }
.gc-today { display: inline-block; background: #2A1B4A; color: #FFF3C9; border-radius: 6px; padding: 5px 10px; font-size: 14px; box-shadow: 0 0 0 2px #FF3E9A, 0 0 12px #FF3E9A; }
.gc-mc { position: relative; margin: 0 auto; width: 300px; height: 430px; }
.gc-marq { position: absolute; left: 14px; right: 14px; top: 0; height: 46px; border: 5px solid #2A1B4A; border-radius: 12px; background: #2A1B4A; display: flex; align-items: center; overflow: hidden; box-shadow: 0 0 0 3px #FF3E9A, 0 0 18px rgba(255, 62, 154, .7); }
.gc-marq b { font-size: 11px; color: #FFE07A; white-space: nowrap; animation: gcScroll 7s linear infinite; text-shadow: 0 0 6px #FF9F1C; }
@keyframes gcScroll { from { transform: translateX(270px); } to { transform: translateX(-100%); } }
.gc-dome { position: absolute; left: 40px; top: 54px; width: 220px; height: 180px; border-radius: 110px 110px 16px 16px; background: radial-gradient(circle at 30% 25%, #fff 0 10%, rgba(255, 255, 255, .3) 11% 100%), #BFEFFF; border: 5px solid #2A1B4A; box-shadow: 0 0 0 3px #00C2D1, 0 0 22px rgba(0, 194, 209, .6); overflow: hidden; }
.gc-ball { position: absolute; width: 36px; height: 36px; border-radius: 50%; border: 3px solid #2A1B4A; }
.gc-ball::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 3px; background: #2A1B4A; }
.gc-mc.mix .gc-ball { animation: gcMix .35s ease-in-out infinite alternate; }
@keyframes gcMix { from { transform: translate(-6px, 4px) rotate(-30deg); } to { transform: translate(6px, -14px) rotate(40deg); } }
.gc-mc.gold .gc-dome { box-shadow: 0 0 0 3px #FFC93C, 0 0 40px 8px rgba(255, 201, 60, .9); }
.gc-mc.pinkglow .gc-dome { box-shadow: 0 0 0 3px #FF3E9A, 0 0 34px 6px rgba(255, 62, 154, .8); }
.gc-mc.villain .gc-dome { box-shadow: 0 0 0 3px #8B5CF6, 0 0 34px 6px rgba(139, 92, 246, .8); }
.gc-body { position: absolute; left: 28px; top: 226px; width: 244px; height: 190px; background: #FF7DB8; border: 5px solid #2A1B4A; border-radius: 14px; box-shadow: 0 0 0 3px #FF3E9A, 0 0 22px rgba(255, 62, 154, .55), 6px 6px 0 3px #2A1B4A; }
.gc-bulbs { position: absolute; inset: -5px; pointer-events: none; }
.gc-bulbs i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #FFE07A; box-shadow: 0 0 6px #FFE07A; animation: gcBl .5s steps(1) infinite; }
.gc-bulbs i:nth-child(even) { animation-delay: .25s; }
@keyframes gcBl { 50% { background: #FF7DB8; box-shadow: 0 0 6px #FF3E9A; } }
.gc-mc.hot .gc-bulbs i { animation-duration: .12s; }
.gc-mc.gold .gc-bulbs i { background: #FFC93C; box-shadow: 0 0 12px #FFC93C; }
.gc-scr { position: absolute; left: 14px; right: 14px; top: 12px; height: 34px; background: #0E1230; border: 3px solid #2A1B4A; border-radius: 6px; color: #7FE3CF; font-size: 9px; display: flex; align-items: center; justify-content: center; text-shadow: 0 0 6px #3FE0C0; }
.gc-slot { position: absolute; left: 18px; top: 58px; width: 56px; height: 46px; border: 3px solid #2A1B4A; border-radius: 8px; background: #FFE07A; display: grid; place-items: center; }
.gc-slot::before { content: ''; width: 8px; height: 26px; border-radius: 4px; background: #2A1B4A; }
.gc-coin { position: absolute; left: -60px; top: 62px; width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF6B0, #FFC93C 60%, #C99400); border: 3px solid #2A1B4A; display: none; z-index: 4; }
.gc-coin.go { display: block; animation: gcCoin .7s cubic-bezier(.4, 0, .6, 1) forwards; }
@keyframes gcCoin { 0% { transform: translate(0, -30px) rotateY(0); } 60% { transform: translate(100px, -6px) rotateY(540deg); } 100% { transform: translate(114px, 8px) rotateY(720deg) scale(.4); opacity: 0; } }
.gc-chute { position: absolute; left: 18px; bottom: 16px; width: 96px; height: 64px; background: #2A1B4A; border-radius: 10px 10px 6px 6px; border: 4px solid #ffffff44; }
.gc-chute span { position: absolute; left: 0; right: 0; top: 4px; text-align: center; color: #ffffff55; font-size: 8px; }
.gc-lever { position: absolute; right: 20px; top: 58px; width: 92px; height: 120px; cursor: pointer; background: none; border: 0; padding: 0; }
.gc-base { position: absolute; left: 22px; bottom: 0; width: 48px; height: 22px; border-radius: 8px 8px 4px 4px; background: #2A1B4A; }
.gc-arm { position: absolute; left: 41px; bottom: 16px; width: 10px; height: 78px; background: #C9BFE8; border: 3px solid #2A1B4A; border-radius: 5px; transform-origin: 50% 100%; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.gc-knob { position: absolute; left: -17px; top: -38px; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, #FF3E9A 20%); border: 4px solid #2A1B4A; }
.gc-lever.pull .gc-arm { transform: rotate(55deg) scaleY(.9); }
.gc-lever.ready .gc-knob { animation: gcPulse 1s ease-in-out infinite; }
@keyframes gcPulse { 50% { box-shadow: 0 0 0 6px rgba(255, 62, 154, .35); } }
.gc-mc.shake { animation: gcShake .12s linear 8; }
.gc-mc.nope { animation: gcShake .12s linear 3; }
@keyframes gcShake { 0% { transform: translate(0); } 25% { transform: translate(-4px, 2px) rotate(-1deg); } 75% { transform: translate(4px, -2px) rotate(1deg); } }
.gc-cap { position: absolute; left: 52px; top: 338px; width: 46px; height: 46px; z-index: 5; display: none; }
.gc-cap .t, .gc-cap .b { position: absolute; left: 0; width: 46px; height: 23px; border: 4px solid #2A1B4A; }
.gc-cap .t { top: 0; border-radius: 23px 23px 0 0; border-bottom-width: 2px; }
.gc-cap .b { bottom: 0; border-radius: 0 0 23px 23px; background: #fff; border-top-width: 2px; }
.gc-cap.drop { display: block; animation: gcDrop 1s cubic-bezier(.3, 0, .6, 1) forwards; }
@keyframes gcDrop { 0% { transform: translate(0, -50px) scale(.5); } 40% { transform: translate(10px, 4px) scale(1); } 55% { transform: translate(20px, -16px); } 70% { transform: translate(30px, 4px); } 82% { transform: translate(36px, -5px); } 100% { transform: translate(40px, 4px) rotate(200deg); } }
.gc-tip { text-align: center; font-size: 15px; margin: 4px 0 0; min-height: 20px; }
.gc-stage { position: fixed; inset: 0; display: none; place-items: center; background: rgba(20, 12, 40, .6); z-index: 60; }
.gc-stage.on { display: grid; }
.gc-rays { position: absolute; left: 50%; top: 40%; width: 700px; height: 700px; margin: -350px 0 0 -350px; border-radius: 50%; opacity: 0; pointer-events: none; background: repeating-conic-gradient(rgba(255, 255, 255, .22) 0 10deg, transparent 10deg 20deg); animation: gcSpin 8s linear infinite; }
.gc-rays.on { opacity: 1; transition: opacity .4s; }
.gc-stage.r-rare .gc-rays { background: repeating-conic-gradient(rgba(255, 125, 184, .35) 0 10deg, transparent 10deg 20deg); }
.gc-stage.r-secret .gc-rays { background: repeating-conic-gradient(rgba(255, 201, 60, .5) 0 10deg, transparent 10deg 20deg); }
.gc-stage.r-villain .gc-rays { background: repeating-conic-gradient(rgba(139, 92, 246, .4) 0 10deg, transparent 10deg 20deg); }
@keyframes gcSpin { to { transform: rotate(360deg); } }
.gc-card { position: relative; width: min(340px, 90vw); max-height: 92vh; overflow: auto; padding: 20px 18px 16px; border-radius: 20px; background: #fff; color: #2A1B4A; border: 5px solid #2A1B4A; text-align: center; box-shadow: 0 0 0 3px #7FE3CF, 0 0 26px rgba(63, 201, 168, .6); }
.gc-card.rare { box-shadow: 0 0 0 3px #FF3E9A, 0 0 40px 6px rgba(255, 62, 154, .85); }
.gc-card.villain { background: linear-gradient(#F3ECFF, #E3D4FF); box-shadow: 0 0 0 3px #8B5CF6, 0 0 40px 6px rgba(139, 92, 246, .85); }
.gc-card.secret { background: linear-gradient(#FFF8DE, #FFE7A3); box-shadow: 0 0 0 3px #FFC93C, 0 0 50px 10px rgba(255, 201, 60, .95); }
.gc-bigcap { position: relative; width: 130px; height: 130px; margin: 6px auto 0; cursor: pointer; }
.gc-bigcap .t, .gc-bigcap .b { position: absolute; left: 0; width: 130px; height: 65px; border: 6px solid #2A1B4A; transition: transform .45s cubic-bezier(.3, 1.5, .5, 1), opacity .4s; }
.gc-bigcap .t { top: 0; border-radius: 65px 65px 0 0; }
.gc-bigcap .b { bottom: 0; border-radius: 0 0 65px 65px; background: #fff; }
.gc-bigcap .seam { position: absolute; left: -10px; right: -10px; top: 59px; height: 12px; border-radius: 6px; background: #fff; opacity: 0; transition: opacity .2s, box-shadow .2s; }
.gc-bigcap.c1 .seam { opacity: .7; box-shadow: 0 0 14px 4px var(--glow, #fff); }
.gc-bigcap.c2 .seam { opacity: 1; box-shadow: 0 0 26px 10px var(--glow, #fff); }
.gc-bigcap.c1 .t { transform: translateY(-4px); }
.gc-bigcap.c2 .t { transform: translateY(-10px) rotate(-4deg); }
.gc-bigcap.hit { animation: gcHit .25s; }
@keyframes gcHit { 20% { transform: scale(1.12, .88); } 45% { transform: scale(.92, 1.1) rotate(-8deg); } 70% { transform: rotate(7deg); } }
.gc-bigcap.open .t { transform: translate(-50px, -80px) rotate(-40deg); opacity: 0; }
.gc-bigcap.open .b { transform: translate(50px, 70px) rotate(30deg); opacity: 0; }
.gc-spark { position: absolute; left: 61px; top: 61px; width: 8px; height: 8px; background: var(--glow, #FFE07A); pointer-events: none; animation: gcSpark .5s ease-out forwards; }
@keyframes gcSpark { to { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
.gc-taphint { font-size: 16px; margin-top: 6px; animation: gcPulse2 .8s ease-in-out infinite; }
@keyframes gcPulse2 { 50% { transform: scale(1.08); } }
.gc-flash { position: fixed; inset: 0; pointer-events: none; opacity: 0; z-index: 61; background: #fff; }
.gc-flash.go { animation: gcFlash .5s ease-out; }
@keyframes gcFlash { 0% { opacity: .95; } 100% { opacity: 0; } }
.gc-warn { position: fixed; inset: 0; z-index: 62; pointer-events: none; display: none; place-items: center; background: rgba(220, 0, 40, .25); }
.gc-warn.on { display: grid; animation: gcWr .25s steps(1) 6; }
.gc-warn b { font: 22px 'Press Start 2P', monospace; color: #fff; background: #C8102E; padding: 12px 16px; border: 4px solid #2A1B4A; text-shadow: 2px 2px 0 #2A1B4A; }
@keyframes gcWr { 50% { background: transparent; } }
.gc-hero { position: relative; width: 200px; height: 200px; margin: 0 auto; display: none; cursor: pointer; }
.gc-hero.on { display: block; }
.gc-hero .sh { position: absolute; left: 50%; bottom: 6px; width: 110px; height: 14px; margin-left: -55px; background: rgba(42, 27, 74, .18); border-radius: 50%; animation: gcShb 2.4s ease-in-out infinite; }
.gc-hero img { position: absolute; inset: 0; width: 200px; height: 200px; image-rendering: pixelated; transform-origin: 50% 95%; }
.gc-hero.pop img { animation: gcPop .75s cubic-bezier(.2, 1.4, .4, 1) forwards; }
@keyframes gcPop { 0% { transform: translateY(60px) scale(.2); } 55% { transform: translateY(-40px) scale(1.05); } 75% { transform: translateY(0) scale(1.2, .82); } 90% { transform: scale(.95, 1.06); } 100% { transform: scale(1); } }
.gc-hero.idle img { animation: gcBreath 2.4s ease-in-out infinite; }
@keyframes gcBreath { 50% { transform: scale(1.03, .97); } }
@keyframes gcShb { 50% { transform: scaleX(1.08); } }
.gc-hero.hop img { animation: gcHop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes gcHop { 0% { transform: scale(1.15, .85); } 40% { transform: translateY(-26px) scale(.95, 1.05); } 100% { transform: none; } }
.gc-hero.lvup img { animation: gcLvup .9s ease-out; }
@keyframes gcLvup { 30% { filter: brightness(2.2) drop-shadow(0 0 12px #fff); } }
.gc-fx { position: absolute; pointer-events: none; font-size: 18px; animation: gcFloat 2.6s linear forwards; opacity: 0; }
@keyframes gcFloat { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-130px) scale(1.1); opacity: 0; } }
.gc-conf { position: fixed; top: -10px; width: 8px; height: 12px; z-index: 63; pointer-events: none; animation: gcFall 1.8s linear forwards; }
@keyframes gcFall { to { transform: translateY(110vh) rotate(720deg); } }
.gc-rank { display: inline-block; padding: 5px 10px; border-radius: 6px; font-size: 10px; color: #fff; background: #3FC9A8; }
.gc-rank.rare { background: #FF3E9A; box-shadow: 0 0 12px #FF3E9A; }
.gc-rank.villain { background: #8B5CF6; box-shadow: 0 0 12px #8B5CF6; }
.gc-rank.secret { background: #C99400; box-shadow: 0 0 14px #FFC93C; }
.gc-name { font-family: var(--title); font-size: 28px; margin: 6px 0 0; }
.gc-who { font-size: 14px; color: #5B4A7A; }
.gc-lv { display: inline-block; margin-left: 6px; font-size: 10px; padding: 3px 6px; border-radius: 5px; background: #2A1B4A; color: #FFE07A; vertical-align: middle; }
.gc-stats { margin: 10px auto 0; max-width: 260px; text-align: left; font-size: 14px; }
.gc-st { display: grid; grid-template-columns: 56px 1fr 30px; align-items: center; gap: 6px; margin: 3px 0; }
.gc-bar { height: 10px; border: 2px solid #2A1B4A; border-radius: 5px; background: #F2EEFB; overflow: hidden; }
.gc-bar i { display: block; height: 100%; background: linear-gradient(90deg, #FF7DB8, #FF3E9A); transition: width .8s cubic-bezier(.3, 1.4, .5, 1); }
.gc-st em { font-style: normal; font-size: 8px; text-align: right; }
.gc-st .up { color: #FF3E9A; margin-left: 2px; }
.gc-unl { margin-top: 8px; font-size: 14px; color: #C2276E; min-height: 18px; }
.gc-bub { position: relative; margin: 10px auto 0; max-width: 280px; min-height: 42px; padding: 9px 12px; border: 3px solid #2A1B4A; border-radius: 14px; background: #fff; font-size: 17px; }
.gc-bub::before { content: ''; position: absolute; left: 50%; top: -12px; margin-left: -8px; border: 8px solid transparent; border-bottom-color: #2A1B4A; border-top: 0; }
.gc-hint { font-size: 13px; color: #8a7aa8; margin-top: 4px; }
.gc-stamp { position: absolute; right: 10px; top: 10px; transform: rotate(12deg) scale(0); border: 3px solid #FF3E9A; color: #FF3E9A; border-radius: 8px; padding: 4px 6px; font-size: 11px; background: #fff; transition: transform .3s cubic-bezier(.3, 1.8, .5, 1); z-index: 2; }
.gc-stamp.on { transform: rotate(12deg) scale(1); }
.gc-stamp.lvs { border-color: #C99400; color: #C99400; }
.gc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.gc-btns .btn { min-height: 48px; font-size: 16px; }
.gc-dex { margin: 28px 0 0; background: var(--card); border: 4px solid var(--ink); border-radius: 16px; padding: 14px; }
.gc-dex h2 { margin: 0 0 4px; font-family: var(--title); font-size: 20px; font-weight: 400; }
.gc-dex p { margin: 0 0 8px; font-size: 14px; color: var(--ink-2); }
.gc-legend { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.gc-legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; background: var(--c); }
.gc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.gc-slot-d { position: relative; aspect-ratio: 1; padding: 0; border-radius: 9px; border: 3px solid var(--c); background: #F6F0FF; cursor: pointer; }
.gc-slot-d img { width: 100%; height: 100%; image-rendering: pixelated; filter: brightness(0) opacity(.2); }
.gc-slot-d.got { background: #fff; box-shadow: 0 0 8px var(--c); }
.gc-slot-d.got img { filter: none; }
.gc-slot-d.villain { background: #F3ECFF; }
.gc-slot-d.secret { background: repeating-linear-gradient(45deg, #FFF6D6 0 6px, #FFEFB8 6px 12px); }
.gc-slot-d[aria-disabled] { cursor: default; }
.gc-slot-d b { position: absolute; right: -4px; bottom: -6px; font: 8px 'Press Start 2P', monospace; background: #2A1B4A; color: #FFE07A; border-radius: 4px; padding: 2px 3px; }
.gc-slot-d.rep::after { content: '★'; position: absolute; left: -5px; top: -7px; font-size: 14px; color: #FF3E9A; text-shadow: 0 0 4px #fff; }
.gc-note { margin-top: 10px !important; font-size: 13px !important; }
.gc-link { border: 0; background: none; padding: 0; color: var(--pink-text); text-decoration: underline; font: inherit; cursor: pointer; }
.gc-peek { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gc-peek img { width: 160px; height: 160px; image-rendering: pixelated; }
.gc-peek b { font-family: var(--title); font-weight: 400; font-size: 24px; }
.gc-peek small { font-size: 14px; color: #5B4A7A; }
.gc-peek .gc-btns { width: 100%; }
/* 대표 캐릭터 아바타 */
.rep-ava { width: 44px; height: 44px; flex: none; border-radius: 50%; background: #FFF6E5; border: 2px solid var(--ink); image-rendering: pixelated; object-fit: contain; }
.pill.me .pill-ava { width: 22px; height: 22px; margin: -4px 4px -4px -6px; vertical-align: middle; image-rendering: pixelated; }
.gc-bub, .gc-tip, .gc-unl, .gc-dex p { text-wrap: balance; }
.gc-btns .btn { white-space: nowrap; padding: 0 6px; font-size: 15px; }
@media (max-width: 360px) { .gc-btns .btn { font-size: 14px; } .gc-name { font-size: 24px; } }
/* 도감 칸: iOS Safari에서 버튼 크기가 커지지 않게 */
.gc-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gc-slot-d { display: block; width: 100%; min-width: 0; height: 0; padding: 0 0 100% 0; aspect-ratio: auto; box-sizing: border-box; -webkit-appearance: none; appearance: none; overflow: visible; }
.gc-slot-d img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; border-radius: 6px; }
/* 로딩: 새 몽이·봉이 + 대표 손님 */
.ld-spr.ld-px { width: 210px; height: 96px; display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.ld-px img { width: 88px; height: 88px; image-rendering: pixelated; animation: gcBreath 1.6s ease-in-out infinite; transform-origin: 50% 95%; }
.ld-px .ld-b { animation-delay: -.8s; }
.ld-px .ld-g { width: 64px; height: 64px; animation: ldHop .9s ease-in-out infinite; }
@keyframes ldHop { 50% { transform: translateY(-8px); } }
/* 대표 손님 한마디 (결과 마지막 칸 · 공유 카드) */
.rep-say { display: flex; align-items: center; gap: 10px; margin: 10px 0; padding: 8px 10px; border: 2px dashed var(--ink-3); border-radius: 12px; text-align: left; word-break: keep-all; }
.rep-say img { width: 56px; height: 56px; flex: none; image-rendering: pixelated; animation: gcBreath 2.4s ease-in-out infinite; transform-origin: 50% 95%; }
.rep-say small { font-size: 12px; color: var(--ink-3); }
.rep-say p { margin: 2px 0 0; font-size: 15px; line-height: 1.45; }
/* 도감 칸 v2: 버튼 대신 div, 그리드 대신 줄바꿈 상자 (iOS Safari 대응) */
.gc-grid { display: flex !important; flex-wrap: wrap; gap: 7px; width: 100%; }
.gc-cell { position: relative; flex: 0 0 calc((100% - 35px) / 6); width: calc((100% - 35px) / 6); min-width: 0; }
.gc-cell > b { position: absolute; right: -4px; bottom: -6px; font: 8px 'Press Start 2P', monospace; background: #2A1B4A; color: #FFE07A; border-radius: 4px; padding: 2px 3px; z-index: 1; }
.gc-cell .gc-slot-d { position: relative; display: block; width: 100%; height: 0; padding: 0 0 100% 0; border-radius: 9px; border: 3px solid var(--c); overflow: hidden; cursor: pointer; }
.gc-cell .gc-slot-d img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: 100%; }
.gc-cell.rep::after { content: '★'; position: absolute; left: -5px; top: -8px; font-size: 15px; color: #FF3E9A; text-shadow: 0 0 4px #fff; z-index: 1; }



/* ---------- 오락실 첫 화면: 가게 앞 (처음 들어올 때만) ---------- */
.loader.shop-ld { padding: 0; background: #102454; cursor: pointer; align-items: flex-end; }
.sh-scene { position: relative; width: min(100vw, 430px, calc(100vh * 941 / 1672)); width: min(100vw, 430px, calc(100dvh * 941 / 1672)); aspect-ratio: 941 / 1672; container-type: inline-size; overflow: hidden; }
.sh-bg { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.sh-open { opacity: 0; transition: opacity .5s; }
.shop-ld.opened .sh-open { opacity: 1; }
.sh-sign { position: absolute; left: 9%; right: 9%; top: 22.3%; height: 10.5%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--title); line-height: 1.05; color: #FFD6E8; text-shadow: 0 0 6px #FF3E9A, 0 0 16px #FF3E9A, 0 0 28px rgba(255, 62, 154, .7); opacity: 0; }
.shop-ld.run .sh-sign { animation: shNeonOn .9s steps(1) .2s forwards; }
@keyframes shNeonOn { 0% { opacity: .9; } 15% { opacity: .1; } 30% { opacity: 1; } 42% { opacity: .2; } 55%, 100% { opacity: 1; } }
.sh-s1 { font-size: 6.2cqw; color: #FFE3EF; }
.sh-s1 em { font-style: normal; }
.sh-s1 .nb { color: #FFF1B8; text-shadow: 0 0 6px #FFC93C, 0 0 14px #FFB020; }
.sh-s1 .nm { color: #D6FFF6; text-shadow: 0 0 6px #3FE0C0, 0 0 14px #3FE0C0; }
.sh-s2 { font-size: 11.5cqw; letter-spacing: .02em; }
.sh-ch { position: absolute; width: 25%; image-rendering: pixelated; transform-origin: 50% 95%; }
.sh-bong { left: 4%; top: 61.5%; animation: shWave 1s ease-in-out infinite; }
.sh-mong { right: 3%; top: 62.5%; animation: gcBreath 2s ease-in-out infinite; }
@keyframes shWave { 50% { transform: rotate(-5deg) translateY(-2%); } }
.sh-bub { position: absolute; left: 21%; top: 57%; padding: .8cqw 2.4cqw; border: 3px solid #2A1B4A; border-radius: 12px; background: #fff; color: #2A1B4A; font-family: var(--title); font-size: 4.2cqw; white-space: nowrap; opacity: 0; }
.shop-ld.run .sh-bub { animation: shPop .4s cubic-bezier(.3, 1.6, .5, 1) .9s forwards; }
@keyframes shPop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.sh-ui { position: absolute; left: 8%; right: 8%; top: 82%; text-align: center; }
.sh-ui .ld-bar { height: 14px; border: 3px solid #2A1B4A; border-radius: 8px; background: #fff; box-shadow: 0 0 0 2px #FF3E9A; }
.sh-ui .ld-bar i { background: #FF3E9A; }
.sh-ui .ld-msg { margin: 2.6cqw 0 1cqw; min-height: 0; font-size: 4.4cqw; color: #FFF3C9; text-shadow: 0 2px 0 #2A1B4A; word-break: keep-all; text-wrap: balance; }
.sh-ui .ld-start { font-size: 3cqw; color: #FF7DB8; letter-spacing: 2px; }
.shop-ld.opened .ld-start { animation: shBlink 1s steps(1) infinite; }
@keyframes shBlink { 50% { opacity: .2; } }
.sh-tap { display: block; margin-top: 1.4cqw; font-size: 3.8cqw; color: #FFF3C9; opacity: 0; transition: opacity .3s; }
.shop-ld.opened .sh-tap { opacity: 1; animation: shBlink 1.2s steps(1) infinite .3s; }
.shop-ld.opened .ld-bar { visibility: hidden; height: 0; border: 0; margin: 0; }
.shop-ld:not(.opened) { cursor: default; }
/* 연애 캐릭터 카드: 새 64픽셀 그림, 칸 안에 여백 두고 꽉 차게 */
.cc .card-art { width: 156px; height: 150px; padding: 0; align-items: center; justify-content: center; overflow: hidden; }
.cc .card-art .cc-char { width: 140px; height: 140px; max-width: none; max-height: none; object-fit: contain; image-rendering: pixelated; }

/* 로비 간격 정리 (20261118e) */
.free-grid.one { grid-template-columns: 1fr; gap: 10px; }
.free-grid.one .free-card { min-height: 96px; }
.free-sub { justify-self: end; font-size: 13px; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px; }
.section { gap: 16px; }
.band { margin-top: 32px; padding-bottom: 32px; }
html[data-theme] .band { padding-top: 36px; }
.games { gap: 22px 10px; }
.plays.hs { margin-top: 32px; }
.trust { margin-top: 32px; }
.section.faq { padding-top: 34px; }
.coin-use { padding: 12px 14px; border: 2px dashed var(--pink); border-radius: 12px; background: var(--card); font-size: 14px; line-height: 1.6; color: var(--ink); }
.coin-use b { display: block; font-family: var(--title); font-weight: 400; font-size: 16px; margin-bottom: 2px; }
.coin-use small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-2); }

/* 충전 완료 연출 */
.cfx { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(14, 18, 48, .55); animation: cfxIn .2s ease-out; cursor: pointer; overflow: hidden; }
.cfx.out { animation: cfxOut .4s ease-in forwards; }
.cfx-rain { position: absolute; inset: 0; pointer-events: none; }
.cfx-rain i { position: absolute; top: -40px; width: 30px; height: 30px; background: url(./img/coin.png) no-repeat 0 0 / 400% 100%; image-rendering: pixelated; transform: scale(var(--s)); animation: coinSpin .36s steps(4) infinite, cfxFall 1.1s cubic-bezier(.4, 0, .9, .6) both; }
.cfx-card { position: relative; width: min(300px, 100%); padding: 22px 18px 18px; border-radius: 18px; background: #0E1230; border: 4px solid #FFD23F; box-shadow: 0 0 0 4px #2A1B4A, 0 0 22px rgba(255, 210, 63, .7), 0 0 60px rgba(255, 62, 154, .45); text-align: center; color: #FFF3C9; animation: cfxPop .55s cubic-bezier(.2, 1.6, .4, 1) .15s both; overflow: hidden; }
.cfx-rays { position: absolute; left: 50%; top: 92px; width: 420px; height: 420px; margin: -210px 0 0 -210px; background: repeating-conic-gradient(rgba(255, 210, 63, .16) 0 12deg, transparent 12deg 24deg); animation: cfxSpin 6s linear infinite; pointer-events: none; }
.cfx-top { position: relative; font-size: 15px; color: #FFD23F; letter-spacing: 2px; text-shadow: 0 0 8px #FF9F1C, 2px 2px 0 #C2276E; animation: blink .5s steps(1) 4; }
.cfx-coin { position: relative; width: 84px; height: 84px; margin: 12px auto 4px; animation: cfxBounce .7s cubic-bezier(.3, 1.5, .5, 1) .35s both; }
.cfx-coin i { display: block; width: 100%; height: 100%; background: url(./img/coin.png) no-repeat 0 0 / 400% 100%; image-rendering: pixelated; animation: coinSpin .5s steps(4) infinite; filter: drop-shadow(0 0 10px rgba(255, 210, 63, .9)); }
.cfx-plus { position: relative; font-size: 30px; color: #FFD23F; text-shadow: 0 0 10px #FF9F1C, 3px 3px 0 #C2276E; }
.cfx-msg { position: relative; margin: 10px 0 4px; font-family: var(--title); font-size: 20px; color: #fff; }
.cfx-sub { position: relative; display: block; font-size: 12.5px; color: #C9BFE8; }
.cfx-sub b { color: #FFD23F; }
.cfx-fly { position: fixed; z-index: 91; width: 28px; height: 28px; background: url(./img/coin.png) no-repeat 0 0 / 400% 100%; image-rendering: pixelated; pointer-events: none; animation: coinSpin .3s steps(4) infinite, cfxFly .56s cubic-bezier(.5, -0.4, .7, 1) forwards; }
.pill.coin.cfx-bump { animation: cfxBump .6s cubic-bezier(.2, 1.8, .4, 1); box-shadow: 0 0 0 3px #FFD23F, 0 0 16px rgba(255, 210, 63, .9); }
@keyframes cfxIn { from { opacity: 0 } }
@keyframes cfxOut { to { opacity: 0 } }
@keyframes cfxFall { 0% { transform: translateY(0) rotate(0) scale(var(--s)); opacity: 1 } 80% { opacity: 1 } 100% { transform: translateY(calc(100vh + 60px)) rotate(var(--r)) scale(var(--s)); opacity: .2 } }
@keyframes cfxPop { from { transform: scale(.3) rotate(-6deg); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes cfxBounce { 0% { transform: translateY(-60px) scale(.6) } 60% { transform: translateY(6px) scale(1.12, .9) } 100% { transform: none } }
@keyframes cfxSpin { to { transform: rotate(360deg) } }
@keyframes cfxFly { to { transform: translate(var(--dx), var(--dy)) scale(.7) } }
@keyframes cfxBump { 0% { transform: scale(1) } 35% { transform: scale(1.35) } 100% { transform: scale(1) } }
@media (prefers-reduced-motion: reduce) { .cfx-rain, .cfx-rays { display: none } }
.free-grid .free-sub { grid-column: 1 / -1; }

/* 타이밍 맞추기 */
.tm-modes { display: flex; gap: 6px; }
.tm-mode { flex: 1; min-height: 52px; padding: 6px 2px; border: 2px solid var(--ink); border-radius: 12px; background: var(--card); color: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: inherit; cursor: pointer; }
.tm-mode:first-child { flex: 1.9; }
.tm-mode b { font-family: var(--title); font-weight: 400; font-size: 17px; }
.tm-mode small { font-size: 11px; color: var(--ink-2); white-space: nowrap; }
.tm-mode.on { background: #FFD23F; box-shadow: 0 0 0 3px #FF3E9A; color: #2A1B4A; }
.tm-mode.on small { color: #5b4b8a; }
.tm-today { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-2); text-align: center; word-break: keep-all; }
.tm-cab { padding: 14px; border-radius: 18px; background: #2A1B4A; box-shadow: 0 0 0 3px #FF3E9A, 0 0 18px rgba(255, 62, 154, .5); }
.tm-scr { position: relative; height: 250px; border-radius: 10px; background: #0E1230; border: 3px solid #111; overflow: hidden; display: flex; flex-direction: column; align-items: center; padding-top: 24px; color: #E6DEFF; text-align: center; }
.tm-scr::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .25) 0 1px, transparent 1px 3px); pointer-events: none; }
.tm-tgt { font-size: 11px; color: #7FE3CF; letter-spacing: 1px; }
.tm-num { font-size: 44px; color: #FFD23F; text-shadow: 0 0 10px #FF9F1C, 4px 4px 0 #C2276E; margin: 12px 0 8px; font-variant-numeric: tabular-nums; }
.tm-num.hide { color: #3a3f6e; text-shadow: none; }
.tm-hint { font-size: 13.5px; line-height: 1.55; color: #C9BFE8; padding: 0 10px; }
.tm-hint b { color: #FFD23F; }
.tm-chars { position: absolute; bottom: 6px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: flex-end; }
.tm-chars .tm-spr { position: relative; }
.tm-btnwrap { display: flex; flex-direction: column; align-items: center; padding: 20px 0 4px; }
.tm-btn { width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FF8A8A, #E5252A 55%, #9E1015); border: 6px solid #3a2a5c; box-shadow: 0 10px 0 #5a0b10, 0 0 0 8px #1b1233, 0 14px 20px rgba(0, 0, 0, .5); font-size: 14px; color: #fff; text-shadow: 2px 2px 0 #7a0a0f; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; transition: transform .06s, box-shadow .06s; }
.tm-btn.down { transform: translateY(8px); box-shadow: 0 2px 0 #5a0b10, 0 0 0 8px #1b1233, 0 4px 8px rgba(0, 0, 0, .5); }
.tm-blab { margin-top: 16px; font-size: 13px; color: #FFF3C9; text-align: center; }
.tm-card { padding: 16px; border-radius: 16px; background: var(--card); border: 3px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); text-align: center; }
.tm-new { font-size: 13px; color: #E0337F; margin-bottom: 6px; animation: blink .5s steps(1) 6; }
.tm-stamp { display: inline-block; margin: 2px 0 4px; padding: 6px 14px; border: 3px solid #E0337F; border-radius: 8px; color: #E0337F; font-family: var(--title); font-size: 22px; transform: rotate(-4deg); animation: tmStamp .35s cubic-bezier(.2, 1.6, .4, 1) both; }
.tm-type { margin-top: 12px; padding: 12px; border-radius: 12px; background: #FFF1F7; text-align: left; font-size: 14px; line-height: 1.6; color: #2A1B4A; word-break: keep-all; }
.tm-type b { font-family: var(--title); font-weight: 400; font-size: 17px; display: block; }
.tm-tip { display: block; margin-top: 4px; color: #C2276E; }
.tm-row { display: flex; gap: 8px; margin-top: 12px; }
.tm-row .btn { min-height: 48px; font-size: 17px; }
.tm-best { margin: 0; text-align: center; font-size: 13px; color: var(--ink-2); }
html[data-theme="dark"] .tm-type { background: #2a2350; color: #FFF3C9; }
html[data-theme="dark"] .tm-tip { color: #FF8CC6; }
@keyframes tmStamp { from { transform: scale(2.2) rotate(-12deg); opacity: 0 } to { transform: rotate(-4deg); opacity: 1 } }
/* 타이밍: 폰 한 화면에 버튼까지 들어오게 */
.tm-scr { height: clamp(150px, 25vh, 220px); padding-top: clamp(12px, 2.4vh, 24px); }
.tm-num { font-size: clamp(34px, 5.4vh, 44px); margin: clamp(6px, 1.4vh, 12px) 0 6px; }
.tm-chars .tm-spr { width: clamp(36px, 6vh, 52px) !important; height: clamp(45px, 7.5vh, 65px) !important; }
.tm-btnwrap { padding: clamp(12px, 2vh, 20px) 0 0; }
.tm-btn { width: clamp(88px, 13vh, 116px); height: clamp(88px, 13vh, 116px); }
.tm-blab { margin-top: clamp(10px, 1.8vh, 16px); }
.tm-modes { margin-top: -4px; }
@media (max-height: 700px) { .tm-hint { font-size: 12px; } .tm-chars { left: 6px; right: 6px; } .tm-today { font-size: 12px; } }

/* 데이트 가는 길 */
.free-grid .dr-card-entry { grid-column: 1 / -1; min-height: 0; background: linear-gradient(135deg, #2A1B4A, #4F2D7A); color: #FFF3C9; }
.free-grid .dr-card-entry small { color: #E6DEFF; }
.free-grid .dr-card-entry .go { color: #FFD23F; }
body.dr-on .tabbar, body.dr-on .topbar { visibility: hidden; }
body.dr-on { overflow: hidden; }
.dr-full { position: fixed; inset: 0; z-index: 60; background: #0E1230; display: flex; align-items: center; justify-content: center; touch-action: none; -webkit-user-select: none; user-select: none; }
.dr-stage { position: relative; overflow: hidden; }
.dr-stage canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; touch-action: none; }
.dr-hud { position: absolute; left: 3%; right: 3%; top: 1.5%; display: flex; justify-content: space-between; font: clamp(9px, 2.6vw, 11px) var(--px); color: #fff; text-shadow: 2px 2px 0 #000; pointer-events: none; }
.dr-hud .c { text-align: center; } .dr-hud .r { text-align: right; }
.dr-hud b { display: block; font-size: clamp(15px, 4.8vw, 20px); color: #FFD23F; margin-top: 4px; }
.dr-hud b.low { color: #FF5A5A; animation: blink .5s steps(1) infinite; }
.dr-prog { position: absolute; left: 5%; right: 5%; top: 11%; height: 10px; border: 2px solid #fff; border-radius: 8px; background: rgba(0, 0, 0, .45); pointer-events: none; }
.dr-prog i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; background: #FF3E9A; }
.dr-prog span { position: absolute; top: -10px; font-size: 16px; line-height: 1; }
.dr-prog .pin { right: -8px; }
.dr-msg { position: absolute; left: 50%; top: 16%; transform: translateX(-50%); padding: 6px 12px; border-radius: 10px; background: rgba(14, 18, 48, .88); border: 2px solid #FFD23F; color: #FFF3C9; font-size: 13px; white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none; }
.dr-msg.on { opacity: 1; }
.dr-pop { position: absolute; left: 0; right: 0; top: 58%; text-align: center; font: 13px var(--px); color: #FFD23F; text-shadow: 2px 2px 0 #C2276E; opacity: 0; pointer-events: none; }
.dr-pop.on { animation: drPop .8s ease-out; }
@keyframes drPop { 0% { opacity: 0; transform: translateY(10px) scale(.8) } 20% { opacity: 1; transform: none } 100% { opacity: 0; transform: translateY(-24px) } }
.dr-ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; }
.dr-ov[hidden] { display: none; }
.dr-card { width: 100%; max-width: 320px; padding: 18px 16px; border-radius: 16px; background: #0E1230; border: 4px solid #FFD23F; box-shadow: 0 0 0 4px #2A1B4A, 0 0 24px rgba(255, 210, 63, .5); text-align: center; color: #FFF3C9; animation: cfxPop .45s cubic-bezier(.2, 1.6, .4, 1) both; }
.dr-card.sad { border-color: #9AA3B5; box-shadow: 0 0 0 4px #2A1B4A; }
.dr-card h2 { margin: 6px 0 4px; font-family: var(--title); font-weight: 400; font-size: 26px; color: #fff; }
.dr-card p { margin: 8px 0; font-size: 14px; line-height: 1.6; word-break: keep-all; }
.dr-t { font-size: 14px; color: #FFD23F; text-shadow: 2px 2px 0 #C2276E; }
.dr-new { margin-top: 6px; font-size: 12px; color: #FF7DB8; animation: blink .5s steps(1) 6; }
.dr-how { list-style: none; margin: 10px 0; padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); text-align: left; font-size: 13px; line-height: 1.8; }
.dr-how b { display: inline-block; width: 34px; color: #FFD23F; }
.dr-best { color: #C9BFE8; } .dr-best b { color: #FFD23F; font-family: var(--px); }
.dr-sc { display: flex; justify-content: space-around; margin: 10px 0; font-size: 12px; color: #C9BFE8; }
.dr-sc b { display: block; margin-top: 4px; font: 14px var(--px); color: #fff; }
.dr-next { color: #C9BFE8; font-size: 13px !important; }
.dr-card .btn { min-height: 48px; font-size: 18px; margin-top: 6px; }
.dr-row { display: flex; gap: 8px; } .dr-row .btn { flex: 1; font-size: 16px; }
.dr-share { margin-top: 10px; background: none; border: 0; color: #C9BFE8; text-decoration: underline; font-size: 13px; cursor: pointer; }
.dr-banner { padding: 14px 22px; border-radius: 14px; background: rgba(14, 18, 48, .9); border: 3px solid #FF3E9A; text-align: center; color: #FFF3C9; animation: cfxPop .45s cubic-bezier(.2, 1.6, .4, 1) both; }
.dr-banner .px { font-size: 13px; color: #FFD23F; }
.dr-banner b { display: block; margin-top: 6px; font-family: var(--title); font-weight: 400; font-size: 24px; color: #fff; }
.dr-banner small { color: #C9BFE8; }
.dr-banner p { margin: 8px 0 0; font-size: 13px; }
.dr-ov.end { align-items: flex-start; padding-top: 19%; }
.dr-how li { display: flex; align-items: baseline; } .dr-how b { flex: none; } .dr-how li span { flex: 1; word-break: keep-all; }

/* 데이트 가는 길 v2: 일시정지 · 목숨 · 별 · 소리 */
.dr-full { height: 100dvh; }
.dr-hud .l { display: flex; gap: 8px; align-items: flex-start; }
.dr-pause { pointer-events: auto; width: 30px; height: 30px; margin-top: 1px; border-radius: 8px; border: 2px solid #fff; background: rgba(14, 18, 48, .6); color: #fff; font: 10px var(--px); letter-spacing: -1px; cursor: pointer; box-shadow: 2px 2px 0 #000; }
.dr-life { display: block; margin-top: 3px; font-size: 13px; letter-spacing: 1px; color: #FF3E9A; text-shadow: 1px 1px 0 #000; font-family: sans-serif; }
.dr-ov { overflow-y: auto; }
.dr-how .y { color: #FFD23F; }
.dr-snd { display: block; margin: 10px auto 0; background: none; border: 0; color: #C9BFE8; font-size: 13px; cursor: pointer; text-decoration: underline; }
.dr-card .dr-home { margin-top: 8px; min-height: 42px; font-size: 15px; color: #FFF3C9; border-color: #6E5FA8; background: transparent; box-shadow: none; }
.dr-card .dr-row .dr-home { margin-top: 6px; }
.dr-card .dr-row .btn { min-height: 44px; font-size: 15px; }
.dr-stars { margin-top: 6px; font-size: 26px; letter-spacing: 4px; color: #FFD23F; text-shadow: 0 0 8px rgba(255, 210, 63, .7); }
.dr-starrow { display: flex; justify-content: center; gap: 12px; margin: 2px 0 8px; font-size: 12px; color: #C9BFE8; }
.dr-starrow b { color: #FFD23F; font-weight: 400; letter-spacing: 1px; }
.dr-card #dr-share { margin-top: 4px; }
/* 미니게임 마지막 버튼 (공유 + 오락실로) */
.mg-end { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.mg-row { display: flex; gap: 8px; }
.mg-row .btn { flex: 1; min-height: 46px; font-size: 16px; }
.gc-btns2 { margin-top: 8px; } .gc-btns2 .btn { min-height: 40px; font-size: 14px; }
/* 손님 카드: 작은 폰에서도 버튼까지 한 화면에 */
.gc-card { max-height: 94dvh; }
.gc-hero, .gc-hero img { width: clamp(110px, 23dvh, 200px); height: clamp(110px, 23dvh, 200px); }
@media (max-height: 760px) { .gc-card { padding: 14px 14px 12px; } .gc-stats { margin-top: 6px; font-size: 13px; } .gc-bub { margin-top: 6px; font-size: 15px; min-height: 0; padding: 7px 10px; } .gc-hint { display: none; } .gc-btns { margin-top: 8px; } .gc-btns .btn { min-height: 42px; font-size: 15px; } .gc-btns2 .btn { min-height: 38px; font-size: 13px; } }
.dr-card .dr-sub { margin-top: 8px; min-height: 42px; font-size: 15px; }
/* 데이트 가는 길: STOP 버튼 · 매력 */
.dr-stop { position: absolute; left: 50%; bottom: 16%; transform: translateX(-50%); z-index: 3; min-width: 132px; height: 56px; padding: 0 18px; border-radius: 16px; border: 4px solid #fff; background: #E5252A; color: #fff; font: 15px var(--px); text-shadow: 2px 2px 0 #7a0a0f; box-shadow: 0 6px 0 #7a0a0f, 0 0 18px rgba(229, 37, 42, .7); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; animation: drStop .5s steps(1) infinite; }
.dr-stop[hidden] { display: none; }
.dr-stop.pressed { animation: none; transform: translateX(-50%) translateY(4px); box-shadow: 0 2px 0 #7a0a0f; background: #9E1015; font-size: 13px; }
@keyframes drStop { 50% { background: #FF5A5F; } }
.dr-life { font-size: 10px; color: #fff; letter-spacing: 0; font-family: inherit; }
.dr-life i { font-style: normal; font-size: 12px; opacity: .25; filter: grayscale(1); }
.dr-life i.on { opacity: 1; filter: none; }
.dr-stop { bottom: 34%; }
.dr-pop { text-shadow: 2px 2px 0 #2A1B4A, -1px -1px 0 #2A1B4A, 1px -1px 0 #2A1B4A, -1px 1px 0 #2A1B4A; font-size: 14px; }

/* 손님 뽑기: 가게 문 연출 */
.gc-door { position: relative; width: 100%; max-width: 360px; margin: 6px auto 0; aspect-ratio: 420 / 759; max-height: 46dvh; border-radius: 16px; overflow: hidden; border: 4px solid #2A1B4A; box-shadow: 0 0 0 3px #FF3E9A, 0 0 18px rgba(255, 62, 154, .35); cursor: default; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; }
.gc-door img.gd-bg, .gc-door img.gd-open { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; filter: saturate(.75) brightness(.9); }
.gc-door img.gd-open { opacity: 0; transition: opacity .35s; }
.gc-door::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 42% 40% at 50% 47%, transparent 55%, rgba(20, 12, 45, .55) 100%); pointer-events: none; z-index: 1; }
.gd-glow { position: absolute; left: 30%; right: 30%; top: 33%; bottom: 33%; background: radial-gradient(var(--g, #fff), transparent 70%); opacity: 0; mix-blend-mode: screen; transition: opacity .4s; z-index: 2; }
.gd-sil { position: absolute; left: 50%; top: 50%; width: 26%; transform: translate(-50%, -50%); image-rendering: pixelated; opacity: 0; filter: brightness(0) drop-shadow(0 0 8px var(--g, #fff)) drop-shadow(0 0 18px var(--g, #fff)); z-index: 2; transition: opacity .4s; }
.gd-guest { position: absolute; left: 50%; bottom: 20%; width: 38%; transform: translateX(-50%); image-rendering: pixelated; opacity: 0; z-index: 3; }
.gd-bell { position: absolute; left: 50%; top: 18.5%; transform: translateX(-50%); font-size: 20px; opacity: 0; z-index: 3; transform-origin: 50% 0; }
.gd-bell.ring { animation: gdRing .5s ease-out; }
@keyframes gdRing { 0% { opacity: 1; transform: translateX(-50%) rotate(0) } 25% { transform: translateX(-50%) rotate(22deg) } 50% { transform: translateX(-50%) rotate(-18deg) } 75% { opacity: 1; transform: translateX(-50%) rotate(10deg) } 100% { opacity: 0; transform: translateX(-50%) rotate(0) } }
.gd-bub { position: absolute; left: 50%; top: 5%; transform: translateX(-50%); max-width: 88%; padding: 6px 12px; border-radius: 10px; background: rgba(14, 18, 48, .9); border: 2px solid #FFD23F; color: #FFF3C9; font-size: 13.5px; text-align: center; white-space: nowrap; z-index: 4; }
.gd-tap { position: absolute; left: 0; right: 0; bottom: 4%; text-align: center; font-size: 11px; color: #fff; text-shadow: 2px 2px 0 #2A1B4A; z-index: 4; }
.gc-door.knock { cursor: pointer; }
.gc-door.knock .gd-sil { opacity: .78; animation: gdBob 1.2s ease-in-out infinite; }
.gc-door.knock .gd-glow { opacity: .4; }
.gc-door.knock .gd-tap { animation: blink .6s steps(1) infinite; }
.gc-door.k1 .gd-glow { opacity: .55; } .gc-door.k2 .gd-glow { opacity: .75; } .gc-door.k2 .gd-sil { opacity: .9; }
.gc-door.hit { animation: gdHit .18s ease-out; }
@keyframes gdHit { 30% { transform: translateX(-3px) } 60% { transform: translateX(3px) } }
@keyframes gdBob { 50% { transform: translate(-50%, -54%) } }
.gc-door.opened img.gd-open { opacity: 1; }
.gc-door.opened .gd-sil, .gc-door.opened .gd-glow { opacity: 0; animation: none; }
.gc-door.opened .gd-guest { animation: gdWalk 1.1s ease-out forwards; }
@keyframes gdWalk { 0% { opacity: 0; transform: translateX(-50%) translateY(-38%) scale(.55) } 25% { opacity: 1 } 100% { opacity: 1; transform: translateX(-50%) scale(1) } }
.gc-door.r-villain.k2 .gd-sil { filter: brightness(0) blur(2.5px) drop-shadow(0 0 10px #9B6BFF) drop-shadow(0 0 22px #6B3FD6); }
.gc-door.r-secret.knock .gd-glow { animation: gdGold .6s ease-in-out infinite alternate; }
@keyframes gdGold { to { opacity: .9 } }
.gc-door.nope { animation: gcShake .12s linear 3; }
.gd-btn { display: flex; width: calc(100% - 0px); max-width: 360px; margin: 12px auto 0; }
.gd-btn.done, .gd-btn:disabled { background: #CFC6E6; border-color: #8E83B0; color: #5b4b8a; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .gc-door.knock .gd-sil { animation: none; } }
@media (max-height: 700px) { .gc-door { max-height: 40dvh; } .gc .gc-sub { margin: 4px 0; } }
/* 가게 간판 글씨가 네온 테두리에 닿지 않게 */
.sh-sign { top: 23.2%; height: 9.6%; gap: .5cqw; }
.sh-s1 { font-size: 5.3cqw; }
.sh-s2 { font-size: 10.6cqw; }

/* 플레이어 한마디 */
.rv { margin: 12px 16px 0; padding: 12px 12px 10px; border-radius: 12px; background: #0E1230; border: 3px solid #2A1B4A; color: #E6DEFF; position: relative; overflow: hidden; box-shadow: 0 0 0 3px var(--pink, #FF3E9A), 0 0 14px rgba(255, 62, 154, .35); }
.rv::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); }
.rv-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.rv-h b { font-family: var(--title); font-weight: 400; font-size: 17px; color: #FFD23F; text-shadow: 0 0 6px #FF9F1C; }
.rv-h span { font-size: 9px; color: #7FE3CF; }
.rv-win { position: relative; z-index: 2; height: 204px; overflow: hidden; touch-action: pan-y; -webkit-mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.rv-list { position: absolute; left: 0; right: 0; top: 0; transition: transform .6s cubic-bezier(.3, 1.4, .5, 1); }
.rv-it { display: flex; gap: 8px; align-items: center; min-height: 68px; padding: 4px 0; }
.rv-it img { width: 40px; height: 40px; flex: none; image-rendering: pixelated; background: #1E2450; border-radius: 8px; border: 2px solid #3A3F78; }
.rv-bub { position: relative; flex: 1; padding: 7px 10px; border-radius: 12px; background: #FFF3C9; color: #2A1B4A; font-size: 13px; line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
.rv-bub::before { content: ''; position: absolute; left: -6px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-right-color: #FFF3C9; border-left: 0; }
.rv-it.new .rv-bub { animation: rvPop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes rvPop { 0% { transform: scale(.6); opacity: 0 } 100% { transform: none; opacity: 1 } }
@media (max-width: 360px) { .rv-bub { font-size: 12px; line-height: 1.4; } .rv-win { height: 232px; } .rv-it img { width: 34px; height: 34px; } }

/* 메인 길이 줄이기 (순서는 그대로) */
.trust.trust-line { padding: 10px 12px; }
.trust-chips { display: flex; flex-wrap: nowrap; justify-content: center; gap: 4px; margin: 0; }
.trust-chips span { padding: 2px 7px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--ink); font-size: 11px; font-weight: 700; color: var(--ink); white-space: nowrap; }
@media (max-width: 360px) { .trust-chips { flex-wrap: wrap; } }
.comic .cm-box { gap: 8px; padding: 10px; }
.comic .cm-img.fold { max-height: 150px; }
.comic .cm-img.fold::after { height: 60px; }
.comic .cm-ig { min-height: 42px; font-size: 14px; }
.trust.trust-line { background: transparent; border: 0; box-shadow: none !important; padding: 4px 0 0; }
.trust-chips span { box-shadow: none; }

/* 게임기 고르기: 남색→베리 오락실 바닥 (D안) */
html[data-theme] .band-mint.gx { background: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 22px 22px, linear-gradient(180deg, #1A1640 0%, #3A1648 55%, #5A1A52 100%); box-shadow: inset 0 0 50px rgba(255, 62, 154, .25); }
.gx .section-head { align-items: center; }
.gx .section-head span.gx-coin { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #FFD23F; border: 2px solid #2A1B4A; color: #2A1B4A; font-size: 12.5px; font-weight: 800; box-shadow: 2px 2px 0 #2A1B4A; white-space: nowrap; }
.gx .gx-badge { margin: -2px 0 4px; align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; padding: 5px 12px; border-radius: 10px; font-size: 13px; font-weight: 800; white-space: nowrap; background: rgba(255, 125, 184, .16); border: 2px solid #FF7DB8; color: #FFD6E8; }
html[data-theme] .gx .cab-desc { font-size: 12.5px; font-weight: 700; color: #FFE3EF; }
@media (max-width: 360px) { .gx .gx-badge { font-size: 12px; padding: 4px 9px; } .gx .section-head span.gx-coin { font-size: 11px; padding: 2px 8px; } }
.gx .section-head h2 { white-space: nowrap; } @media (max-width: 360px) { .gx .section-head h2 { font-size: 19px; padding: 3px 9px 1px; } }

/* ---------- 행운 부적 ---------- */
.gx .gx-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 4px; }
.gx .gx-badges .gx-badge { margin: 0; }
.gx .gx-badge.gx-charm { background: rgba(255, 210, 63, .14); border-color: #FFD23F; color: #FFE9A8; }
.cont-charm { margin: 0; padding: 8px 10px; border-radius: 10px; background: #FFF3C4; border: 2px dashed #D9A21B; font-size: 13px; font-weight: 700; color: #5A3A00; word-break: keep-all; }
.cont-charm b { color: #B0160F; }
.charm { margin: 4px 0 14px; padding: 16px 14px 14px; border-radius: 16px; background: linear-gradient(180deg, #3A1A12, #24100C); border: 2px solid #C9932E; text-align: center; }
.charm-k { margin: 0 0 10px; font-weight: 900; font-size: 15px; color: #FFD23F; letter-spacing: .02em; }
.charm-img { width: min(72%, 270px); aspect-ratio: 778 / 1836; margin: 0 auto; display: grid; place-items: center; border-radius: 4px; background: #E8B62C; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); overflow: hidden; }
.charm-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.charm-wait { font-size: 12px; color: #801A14; font-weight: 700; }
.charm-say { margin: 12px 0 10px; font-size: 14px; font-weight: 700; color: #FFE9C7; word-break: keep-all; }
.charm-save { width: 100%; }
.charm-wall { display: block; margin: 10px auto 0; padding: 6px 10px; background: none; border: 0; color: #FFC4DD; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.charm-wall:disabled { opacity: .5; }
/* 오늘 연애운: 대표 손님 */
.rep-mood { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; aspect-ratio: 1; image-rendering: pixelated; animation: repBob 1.6s steps(2) infinite; }
@keyframes repBob { 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .rep-mood { animation: none; } }
/* 손님 뽑기 확률표 */
.gc-odds { margin: 6px 0 14px; border-radius: 12px; border: 2px solid var(--line, #E3D4FF); background: var(--card); padding: 0 12px; }
.gc-odds summary { cursor: pointer; padding: 10px 0; font-size: 14px; font-weight: 800; color: var(--ink-2, #555); list-style: none; text-align: center; }
.gc-odds summary::-webkit-details-marker { display: none; }
.gc-odds table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 8px; }
.gc-odds th, .gc-odds td { padding: 7px 4px; border-top: 1px solid var(--line, #eee); text-align: left; vertical-align: top; }
.gc-odds thead th { border-top: 0; font-size: 12px; color: var(--ink-3, #888); font-weight: 700; }
.gc-odds tbody th span { display: inline-block; padding: 1px 8px; border-radius: 8px; background: var(--c); color: #1E1530; font-weight: 800; }
.gc-odds tbody th small { color: var(--ink-3, #888); }
.gc-odds td em { font-style: normal; color: #E0468A; font-weight: 700; }
.gc-odds p { margin: 0 0 10px; font-size: 12px; color: var(--ink-3, #888); word-break: keep-all; }

/* ---------- 손님 친밀도 오라 ----------
   색: 손님마다 고유색(--ac, gacha.js ACOL). 레벨이 오를수록 효과가 하나씩 더해져요
   Lv.2 빛·테두리·반짝 별 / Lv.3 +고리·궤도 구슬·빛가루 / Lv.4 +빛줄기·충격파·큰 빛가루·금빛 고리 / Lv.5 +바닥 마법진·빛기둥·바닥 파동·큰 금고리·카드 맥동 */
[data-au] { --a1: color-mix(in srgb, var(--ac, #FF7DB8) 80%, transparent); --a2: color-mix(in srgb, var(--ac, #FF7DB8) 35%, #fff); --a3: var(--ac, #FF7DB8); --a4: color-mix(in srgb, var(--ac, #FF7DB8) 55%, #fff); }
.gc-hero .au, .gc-auwrap .au { position: absolute; inset: -40px; pointer-events: none; z-index: 0; }
.gc-hero > img, .gc-hero > .sh { z-index: 1; }
.gc-auwrap { position: relative; width: 160px; height: 160px; }
.gc-auwrap > img { position: relative; z-index: 1; }
.au i { position: absolute; inset: 0; border-radius: 50%; opacity: 0; transition: opacity .7s ease; }
/* Lv.2 빛 */
.au .au-glow { background: radial-gradient(circle, var(--a1) 0%, var(--a1) 24%, transparent 66%); }
[data-au="2"] .au-glow { opacity: .8; animation: auPulse 2.6s ease-in-out infinite; }
[data-au="3"] .au-glow, [data-au="4"] .au-glow, [data-au="5"] .au-glow { opacity: 1; animation: auPulse 2s ease-in-out infinite; }
.gc-hero[data-au="2"] > img, .gc-auwrap[data-au="2"] > img { filter: drop-shadow(0 0 2px #fff) drop-shadow(0 0 6px var(--ac)); }
.gc-hero[data-au="3"] > img, .gc-auwrap[data-au="3"] > img { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 9px var(--ac)); }
.gc-hero[data-au="4"] > img, .gc-auwrap[data-au="4"] > img { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 10px var(--ac)) drop-shadow(0 0 20px var(--a1)); }
.gc-hero[data-au="5"] > img, .gc-auwrap[data-au="5"] > img { filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 12px var(--ac)) drop-shadow(0 0 28px var(--a1)); animation-name: gcBreath, auShine; animation-duration: 2.4s, 3s; animation-iteration-count: infinite; }
/* Lv.2 반짝 별 (✦ 네 개가 번갈아 깜빡) */
.au .au-star { border-radius: 0;
  background: conic-gradient(from 45deg at 50% 50%, #fff 0 25%, transparent 0 50%, #fff 0 75%, transparent 0) 18% 22% / 10px 10px no-repeat,
    conic-gradient(from 45deg at 50% 50%, var(--a4) 0 25%, transparent 0 50%, var(--a4) 0 75%, transparent 0) 82% 30% / 12px 12px no-repeat,
    conic-gradient(from 45deg at 50% 50%, #fff 0 25%, transparent 0 50%, #fff 0 75%, transparent 0) 76% 76% / 8px 8px no-repeat,
    conic-gradient(from 45deg at 50% 50%, var(--a4) 0 25%, transparent 0 50%, var(--a4) 0 75%, transparent 0) 22% 70% / 9px 9px no-repeat;
  -webkit-mask: radial-gradient(circle, #000 2px, transparent 3px) 0 0 / 3px 3px; }
[data-au="2"] .au-star, [data-au="3"] .au-star, [data-au="4"] .au-star, [data-au="5"] .au-star { opacity: 1; animation: auBlink 1.4s steps(2) infinite; }
/* Lv.3 도는 점선 고리 */
.au .au-ring { inset: 22px; border: 3px dotted var(--ac); box-shadow: 0 0 8px var(--a1); }
[data-au="3"] .au-ring, [data-au="4"] .au-ring, [data-au="5"] .au-ring { opacity: .95; animation: auSpin 9s linear infinite; }
/* Lv.3 궤도를 도는 빛 구슬 두 개 */
.au .au-orb { inset: 30px; background: radial-gradient(circle, #fff 0 4px, var(--ac) 5px, transparent 9px) 50% 0 / 18px 18px no-repeat, radial-gradient(circle, #fff 0 3px, var(--a4) 4px, transparent 7px) 50% 100% / 14px 14px no-repeat; }
[data-au="3"] .au-orb, [data-au="4"] .au-orb, [data-au="5"] .au-orb { opacity: 1; animation: auSpin 3.2s linear infinite reverse; }
/* Lv.3 떠오르는 빛가루 / Lv.4 큰 빛가루 */
.au .au-dust, .au .au-dust2 { inset: 4% 12% 18%; border-radius: 0;
  background: radial-gradient(circle, #fff 0 2px, var(--ac) 3px, transparent 4px) 12% 0 / 26% 34% repeat, radial-gradient(circle, var(--a4) 0 2px, transparent 3px) 64% 0 / 31% 27% repeat; }
.au .au-dust2 { background: radial-gradient(circle, #fff 0 3px, var(--ac) 4px, transparent 6px) 30% 0 / 38% 46% repeat, radial-gradient(circle, var(--a4) 0 3px, transparent 5px) 80% 0 / 44% 40% repeat; }
[data-au="3"] .au-dust { opacity: .8; animation: auRise 3.4s linear infinite; }
[data-au="4"] .au-dust, [data-au="5"] .au-dust { opacity: 1; animation: auRise 2.6s linear infinite; }
[data-au="4"] .au-dust2 { opacity: .9; animation: auRise 3.8s linear infinite, auBlink 1.2s steps(2) infinite; }
[data-au="5"] .au-dust2 { opacity: 1; animation: auRise 2.8s linear infinite, auBlink 1s steps(2) infinite; }
/* Lv.4 회전 빛줄기 */
.au .au-rays { background: repeating-conic-gradient(from 0deg, var(--a2) 0deg 7deg, transparent 7deg 24deg, var(--a1) 24deg 28deg, transparent 28deg 40deg); -webkit-mask: radial-gradient(circle, #000 16%, transparent 68%); mask: radial-gradient(circle, #000 16%, transparent 68%); }
[data-au="4"] .au-rays { opacity: .85; animation: auSpin 12s linear infinite; }
[data-au="5"] .au-rays { opacity: 1; animation: auSpin 7s linear infinite; }
/* Lv.4 퍼져 나가는 충격파 */
.au .au-wave { inset: 30px; border: 3px solid var(--a4); box-shadow: 0 0 12px var(--a1), inset 0 0 8px var(--a1); }
[data-au="4"] .au-wave, [data-au="5"] .au-wave { opacity: 1; animation: auWave 2.4s ease-out infinite; }
/* Lv.4 머리 위 금빛 고리 (Lv.5는 더 크게) */
.au .au-halo { inset: auto; left: 50%; top: 26px; z-index: 2; width: 92px; height: 24px; margin-left: -46px; border-radius: 50%; border: 5px solid #FFD23F; border-top-color: #FFF3B0; border-bottom-color: #FFAA2B; box-shadow: 0 0 10px 2px rgba(255, 226, 122, .9), inset 0 0 6px rgba(255, 255, 255, .9); }
[data-au="4"] .au-halo { opacity: .95; animation: auHalo 2.6s ease-in-out infinite; }
[data-au="5"] .au-halo { opacity: 1; width: 106px; margin-left: -53px; box-shadow: 0 0 14px 4px rgba(255, 226, 122, 1), 0 0 30px 8px rgba(255, 200, 60, .6), inset 0 0 6px #fff; animation: auHalo 2.2s ease-in-out infinite; }
/* Lv.5 바닥 마법진 (기울어진 원이 돌아요) */
.au .au-circle { inset: auto; left: 50%; bottom: 14px; width: 240px; height: 240px; margin-left: -120px; transform-origin: 50% 50%;
  background: repeating-conic-gradient(var(--ac) 0deg 3deg, transparent 3deg 15deg) content-box, radial-gradient(circle, transparent 0 56%, var(--a4) 57% 59%, transparent 60% 70%, var(--ac) 71% 73%, transparent 74%);
  padding: 34px; border: 4px double var(--ac); box-shadow: 0 0 18px var(--a1), inset 0 0 22px var(--a1);
  -webkit-mask: radial-gradient(circle, transparent 0 30%, #000 31%); }
[data-au="5"] .au-circle { opacity: .95; animation: auMagic 6s linear infinite; }
/* Lv.5 바닥 파동 + 솟아오르는 빛기둥 */
.au .au-floor { inset: auto; left: 50%; bottom: 30px; width: 230px; height: 64px; margin-left: -115px; border-radius: 50%; border: 4px solid var(--a4); box-shadow: 0 0 16px 4px var(--a1), inset 0 0 18px var(--a2); }
.au .au-floor2 { inset: auto; left: 50%; bottom: 46px; width: 210px; height: 190px; margin-left: -105px; border-radius: 0 0 50% 50% / 0 0 18% 18%;
  background: repeating-linear-gradient(90deg, transparent 0 14px, var(--a2) 14px 17px, transparent 17px 30px, var(--a1) 30px 32px, transparent 32px 44px);
  -webkit-mask: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%); mask: linear-gradient(to top, #000 0%, rgba(0, 0, 0, .55) 45%, transparent 100%); }
[data-au="5"] .au-floor { opacity: 1; animation: auFloor 1.8s ease-out infinite; }
[data-au="5"] .au-floor2 { opacity: .85; animation: auColumn 1.6s ease-in-out infinite; }
@keyframes auPulse { 50% { transform: scale(1.1); opacity: .7; } }
@keyframes auSpin { to { transform: rotate(360deg); } }
@keyframes auRise { from { background-position-y: 100%, 100%; } to { background-position-y: -100%, -100%; } }
@keyframes auBlink { 50% { filter: brightness(1.7); opacity: .55; } }
@keyframes auHalo { 50% { transform: translateY(-5px); } }
@keyframes auWave { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes auMagic { from { transform: perspective(500px) rotateX(72deg) rotate(0deg); } to { transform: perspective(500px) rotateX(72deg) rotate(360deg); } }
@keyframes auFloor { 0% { transform: scale(.75); opacity: 1; } 100% { transform: scale(1.12); opacity: .2; } }
@keyframes auColumn { 0%, 100% { transform: scaleY(.85); transform-origin: 50% 100%; opacity: .55; } 50% { transform: scaleY(1.05); transform-origin: 50% 100%; opacity: .95; } }
@keyframes auShine { 50% { filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 16px var(--ac)) drop-shadow(0 0 34px var(--a1)); } }
/* 카드 배경도 고유색으로 물들어요 */
.gc-card[data-au="3"] { background-image: radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--ac) 18%, transparent), transparent 58%); }
.gc-card[data-au="4"] { background-image: radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--ac) 28%, transparent), color-mix(in srgb, var(--ac) 10%, transparent) 46%, transparent 72%); }
.gc-card[data-au="5"] { background-image: radial-gradient(circle at 50% 22%, color-mix(in srgb, var(--ac) 40%, transparent), color-mix(in srgb, var(--ac) 16%, transparent) 46%, transparent 78%); animation: auCard 2.2s ease-in-out infinite; }
@keyframes auCard { 50% { box-shadow: 0 0 0 3px var(--ac), 0 0 46px 12px var(--a1); } }
.gc-fx.au5 { color: var(--ac); text-shadow: 0 0 6px #fff, 0 0 12px var(--a1); font-size: 22px; }
/* 도감 칸 */
.gc-slot-d.got[data-au] img { filter: none; }
.gc-slot-d.got[data-au="2"] { box-shadow: 0 0 8px 1px var(--a1); }
.gc-slot-d.got[data-au="3"] { box-shadow: 0 0 0 2px #fff, 0 0 12px 3px var(--a1); }
.gc-slot-d.got[data-au="4"] { box-shadow: 0 0 0 2px #FFD23F, 0 0 14px 4px var(--a1); }
.gc-slot-d.got[data-au="5"] { box-shadow: 0 0 0 2px #FFD23F, 0 0 16px 5px var(--a1); animation: auSlot 1.8s ease-in-out infinite; }
@keyframes auSlot { 50% { box-shadow: 0 0 0 3px #FFF3B0, 0 0 24px 8px var(--a1); } }
@media (prefers-reduced-motion: reduce) { .au i, .gc-slot-d.got[data-au="5"], .gc-card[data-au="5"], .gc-hero[data-au="5"] > img { animation: none !important; } }
/* 한 번 더 맞이하기 버튼 (무료 사용 뒤) */
.gd-btn.done.extra { background: #FFD23F; border-color: #2A1B4A; color: #2A1B4A; box-shadow: 0 5px 0 #2A1B4A; }
/* 손님별 등장 확률 */
.gc-odds .go-now { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: #6B5B95; text-align: center; }
.gc-odds .go-r { border-top: 1px solid var(--line, #eee); padding: 8px 0; }
.gc-odds .go-h { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.gc-odds .go-h span { display: inline-block; padding: 1px 8px; border-radius: 8px; background: var(--c); color: #1E1530; font-weight: 800; }
.gc-odds ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px; }
.gc-odds li { display: flex; justify-content: space-between; gap: 6px; font-size: 13px; padding: 2px 0; }
.gc-odds li b { font-weight: 700; font-variant-numeric: tabular-nums; }
.gc-odds li.up { color: #E0468A; font-weight: 700; }
.gc-odds li em { font-style: normal; font-size: 11px; padding: 0 5px; border-radius: 6px; background: #FFE1EF; color: #E0468A; white-space: nowrap; }
@media (max-width: 360px) { .gc-odds ul { grid-template-columns: 1fr; } }
.pay-minor { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--ink-3); text-align: center; word-break: keep-all; }
.ft-notice { display: inline-block; margin-top: 6px; font-weight: 700; word-break: keep-all; }
/* ---------- 신수(LEGEND) · 흉수(DARK) ---------- */
.gc-card.legend { background: linear-gradient(#F4FCFF, #E3F4FF); box-shadow: 0 0 0 3px #3FB8FF, 0 0 0 6px #FFD23F, 0 0 60px 14px rgba(120, 220, 255, .9); }
.gc-card.dark { background: linear-gradient(#2A0A16, #12040A); color: #FCE6EC; box-shadow: 0 0 0 3px #B0103A, 0 0 50px 12px rgba(176, 16, 58, .85); }
.gc-card.dark .gc-who, .gc-card.dark .gc-st span, .gc-card.dark .gc-hint, .gc-card.dark small, .gc-card.dark .gc-stnote, .gc-card.dark .gc-unl { color: #F4B8C8; }
.gc-card.dark .gc-bub { background: #3A0C1C; color: #FFE3EA; border-color: #B0103A; }
.gc-rank.legend { background: linear-gradient(90deg, #3FB8FF, #B37BFF, #FF7DB8, #FFD23F); color: #fff; text-shadow: 1px 1px 0 #2A1B4A; }
.gc-rank.dark { background: #B0103A; color: #fff; }
.gc-slot-d.legend { background: linear-gradient(135deg, #E9F8FF, #FFF6D6); }
.gc-slot-d.dark { background: #2A0A16; }
.gc-slot-d.dark:not(.got) img { filter: brightness(0) invert(1) opacity(.18); }
/* 흉수 오라: 고유색에 검붉은 기운을 섞어요 */
.gc-card.dark [data-au], .gc-card.dark[data-au], .gc-slot-d.dark[data-au] { --a1: color-mix(in srgb, color-mix(in srgb, var(--ac) 55%, #8B0020) 85%, transparent); --a2: color-mix(in srgb, var(--ac) 40%, #FF4060); --a4: color-mix(in srgb, var(--ac) 50%, #FF6A80); }
/* 신수 Lv.5 금고리는 무지개 */
.gc-card.legend [data-au="5"] .au-halo { border-color: #FFD23F; border-top-color: #9FE8FF; border-bottom-color: #FF7DB8; }
.gc-warn.dark { background: rgba(60, 0, 20, .55); }
.gc-warn.dark b { background: #2A0010; color: #FF4A6E; border-color: #B0103A; }
.gc-warn.legend { background: rgba(160, 230, 255, .35); }
.gc-warn.legend b { background: linear-gradient(90deg, #3FB8FF, #B37BFF, #FF7DB8, #FFD23F); }
/* 흉수 대처 팁 상자 (손님 말풍선과 따로) */
.gc-tip5 { margin: 8px 0 4px; padding: 10px 12px; border-radius: 12px; background: #FFF6D6; border: 2px solid #FFC93C; color: #3A2A00; text-align: left; }
.gc-tip5 b { display: block; font-size: 13px; margin-bottom: 3px; }
.gc-tip5 p { margin: 0; font-size: 14px; line-height: 1.5; word-break: keep-all; }
.gc-stnote { margin: 2px 0 6px; font-size: 11px; color: #8A7AAE; word-break: keep-all; }
/* 흉수는 금빛 대신 검붉은 고리 */
.gc-card.dark .au .au-halo { border-color: #B0103A; border-top-color: #FF4A6E; border-bottom-color: #5A0018; box-shadow: 0 0 12px 3px rgba(200, 16, 58, .9), inset 0 0 6px rgba(255, 80, 110, .8); }
/* 확률표 창 */
.gc-odds-btn { display: block; margin: 6px auto 14px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line, #E3D4FF); background: var(--card); color: var(--ink-2, #555); font-size: 14px; font-weight: 800; cursor: pointer; }
.gc-odds-ov { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(26, 14, 52, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: goIn .2s ease-out; }
.gc-odds-ov[hidden] { display: none; }
.gc-odds-ov .gc-odds { width: min(420px, 100%); max-height: min(78dvh, 640px); overflow: auto; overscroll-behavior: contain; margin: 0; padding: 0 14px 14px; border-radius: 18px; border: 3px solid #2A1B4A; background: rgba(255, 255, 255, .95); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); color: #2A1B4A; }
.gc-odds .go-top { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 12px 0 8px; background: rgba(255, 255, 255, .97); font-size: 16px; }
.gc-odds .go-x { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #2A1B4A; background: #fff; font-size: 16px; font-weight: 900; cursor: pointer; color: #2A1B4A; }
.gc-odds .go-close { width: 100%; margin-top: 4px; }
body.gc-noscroll { overflow: hidden; }
@keyframes goIn { from { opacity: 0; } }
.gc-odds-ov .gc-odds { --ink-2: #4A3A6A; --ink-3: #6B5B95; --line: #E6DDF7; }
.modal-fine { margin: 2px 0 0; font-size: 12px; color: var(--ink-3); text-align: center; }

/* 손님 등장: 노크할수록 드러나요 (말풍선 없음) */
.gd-bub { display: none !important; }
.gc-door.knock .gd-sil { opacity: 0; animation: none; }
.gc-door.knock .gd-glow { opacity: .35; }
.gc-door.k1 .gd-sil { opacity: .65; filter: brightness(0) blur(7px); animation: gdBob 1.4s ease-in-out infinite; }
.gc-door.k1 .gd-glow { opacity: .5; }
.gc-door.k2 .gd-sil { opacity: .88; filter: brightness(0) blur(2.5px) drop-shadow(0 0 8px var(--g, #fff)) drop-shadow(0 0 18px var(--g, #fff)); animation: gdBob 1.1s ease-in-out infinite; }
.gc-door.k2 .gd-glow { opacity: .85; transition: opacity .3s, background .2s; }
.gc-door.k2.r-dark .gd-glow, .gc-door.k2.r-legend .gd-glow { opacity: 1; transform: scale(1.35); }
.gc-door.promo { animation: gdPromo .14s steps(2) 6; }
@keyframes gdPromo { 50% { filter: brightness(1.9) saturate(1.8); transform: translateX(2px); } }
.gc-door.omen { animation: gcShake .1s linear 9; }
.gc.omen-dark .gc-door::after { background: radial-gradient(ellipse 42% 40% at 50% 47%, rgba(120, 0, 30, .2) 30%, rgba(30, 0, 8, .85) 100%); transition: background .4s; }
.gc.omen-legend .gc-door::after { background: radial-gradient(ellipse 50% 46% at 50% 47%, rgba(255, 255, 255, .55) 0%, rgba(160, 230, 255, .25) 60%, transparent 100%); transition: background .4s; }
@media (prefers-reduced-motion: reduce) { .gc-door.k1 .gd-sil, .gc-door.k2 .gd-sil, .gc-door.promo, .gc-door.omen { animation: none; } }
.gc-door.opened .gd-sil { opacity: 0 !important; animation: none !important; } .gc-door.opened .gd-glow { opacity: 0 !important; }
/* 시크릿 등장: 금빛 SECRET! */
.gc-warn.secret { background: radial-gradient(circle, rgba(255, 220, 110, .55), rgba(120, 80, 0, .35)); }
.gc-warn.secret b { background: linear-gradient(110deg, #B8860B 0%, #FFD23F 35%, #FFF6C8 50%, #FFD23F 65%, #B8860B 100%) 0 0 / 250% 100%; color: #fff; border-color: #6B4A00; text-shadow: 2px 2px 0 #6B4A00; box-shadow: 0 0 24px 6px rgba(255, 210, 63, .9); animation: scShine 1s linear infinite; }
.gc-warn.legend b { box-shadow: 0 0 28px 8px rgba(160, 230, 255, .9); }
.gc-warn.dark b { box-shadow: 0 0 26px 6px rgba(176, 16, 58, .9); }
@keyframes scShine { to { background-position: -150% 0; } }
.gc-warn.secret.on, .gc-warn.legend.on { animation: none; }
/* 코인 사용 연출 */
.cspend { position: fixed; z-index: 95; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px 10px 4px 6px; border-radius: 999px; background: #FFF3C4; border: 2px solid #2A1B4A; box-shadow: 0 3px 0 #2A1B4A; pointer-events: none; animation: cspend 1.25s cubic-bezier(.2, .9, .3, 1) forwards; }
.cspend .my-coin-ico { width: 18px; height: 18px; display: inline-block; animation: cspin .5s steps(4) 2; }
.cspend b { font-size: 12px; color: #D6264F; }
@keyframes cspend { 0% { opacity: 0; transform: translate(-50%, -12px) scale(.6); } 18% { opacity: 1; transform: translate(-50%, 0) scale(1.1); } 30% { transform: translate(-50%, 0) scale(1); } 75% { opacity: 1; transform: translate(-50%, 14px); } 100% { opacity: 0; transform: translate(-50%, 30px); } }
@keyframes cspin { 50% { transform: scaleX(.2); } }
.pill.coin.spend { animation: cpill .4s ease-out; }
@keyframes cpill { 30% { transform: scale(.9); background: #FFD6DF; } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .cspend, .cspend .my-coin-ico, .pill.coin.spend { animation-duration: .01s; } }
/* ---------- 무료 오락 줄 (미니 오락기) ---------- */
.fs { margin: 8px 0 0; padding: 16px 0 18px; background: linear-gradient(#1A1640, #2E1546); background-image: linear-gradient(rgba(255, 125, 184, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 125, 184, .08) 1px, transparent 1px), linear-gradient(#1A1640, #3A1648); background-size: 22px 22px, 22px 22px, auto; }
.fs-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 16px 10px; }
.fs-neon { margin: 0; font-size: 16px; color: #FFE6F2; letter-spacing: .04em; text-shadow: 0 0 4px #FF4FA0, 0 0 10px #FF4FA0, 0 0 18px #FF4FA0; animation: fsFlick 4s steps(1) infinite; white-space: nowrap; }
@keyframes fsFlick { 0%, 46%, 50%, 100% { opacity: 1; } 47%, 49% { opacity: .45; } }
.fs-head span { font-size: 12px; color: #CFC3F0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; padding: 4px 16px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.fs-row::-webkit-scrollbar { display: none; }
.fs-card { --n: #FF4FA0; flex: 0 0 140px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 0 10px; border-radius: 14px 14px 10px 10px; border: 3px solid #120C2A; background: linear-gradient(#FFE3F0, #FFD0E6 60%, #F7B8D6); box-shadow: 0 0 0 2px var(--n), 0 0 14px var(--n), 0 5px 0 2px #120C2A; text-decoration: none; color: #2A1B4A; text-align: center; overflow: hidden; }
.fs-card:active { transform: translateY(3px); }
.fs-mq { width: 100%; padding: 6px 0 5px; font-size: 11px; color: #fff; background: #120C2A; text-shadow: 0 0 4px var(--n), 0 0 10px var(--n); border-bottom: 3px solid var(--n);
  background-image: radial-gradient(circle, #FFD23F 0 2px, transparent 3px); background-size: 14px 100%; background-repeat: repeat-x; background-position: 3px 0; animation: fsBulb 1s steps(2) infinite; }
@keyframes fsBulb { 50% { background-position: 10px 0; } }
.fs-scr { position: relative; width: calc(100% - 20px); margin: 8px 10px 4px; height: 82px; display: grid; place-items: center; border-radius: 8px; border: 3px solid #120C2A; background: #0E1230; overflow: hidden; }
.fs-scr::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 4px), linear-gradient(120deg, rgba(255, 255, 255, .14), transparent 40%); pointer-events: none; }
.fs-ico { display: grid; place-items: center; }
.fs-ico img { width: 56px; height: 56px; image-rendering: pixelated; animation: fsBob 1.2s steps(2) infinite; }
@keyframes fsBob { 50% { transform: translateY(-3px); } }
.fs-sec { font-size: 18px; color: #7FFFE0; text-shadow: 0 0 8px #3FE0C0; }
.fs-scr > i { position: absolute; bottom: 4px; left: 0; right: 0; font-style: normal; font-size: 8px; color: #FFD23F; animation: blink .8s steps(1) infinite; }
.fs-card b { margin-top: 2px; font-size: 14px; font-weight: 900; white-space: nowrap; }
.fs-card small { font-size: 11px; color: #5B4A7A; white-space: nowrap; }
.fs-ctl { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.fs-ctl em { font-style: normal; font-size: 9px; padding: 5px 8px; border-radius: 8px; background: #120C2A; color: #FFD23F; }
.fs-stick { width: 8px; height: 14px; border-radius: 4px 4px 2px 2px; background: #120C2A; box-shadow: 0 -5px 0 1px var(--n); }
.fs-b1, .fs-b2 { width: 10px; height: 10px; border-radius: 50%; background: var(--n); border: 2px solid #120C2A; }
.fs-b2 { background: #FFD23F; }
.fs-g { --n: #FF4FA0; } .fs-t { --n: #3FE0F0; background: linear-gradient(#E2F8FF, #C6EEFF 60%, #A9E2FA); } .fs-d { --n: #FFC93C; background: linear-gradient(#FFF3D0, #FFE6A6 60%, #FCD680); } .fs-c { --n: #5FE3A8; background: linear-gradient(#E4FFF1, #C9F7DF 60%, #A8EDC8); }
@media (max-width: 360px) { .fs-card { flex-basis: 124px; } .fs-card b { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .fs-neon, .fs-mq, .fs-ico img, .fs-scr > i { animation: none; } }
.lg-gift { margin: 2px 0 6px; padding: 6px 10px; border-radius: 10px; background: #FFF3C4; border: 2px dashed #D9A21B; color: #5A3A00; font-size: 14px; font-weight: 700; text-align: center; }
.lg-gift b, .gate-gift b { color: #E0468A; }
.gate-gift { margin: 4px 0 10px; padding: 10px 12px; border-radius: 12px; background: #FFF3C4; border: 2px dashed #D9A21B; color: #5A3A00; font-weight: 700; line-height: 1.5; }
/* 로그인 권유 */
.nudge { display: flex; align-items: center; gap: 10px; margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: #FFF3C4; border: 2px dashed #D9A21B; color: #5A3A00; text-align: left; }
.nudge span { flex: 1; font-size: 13.5px; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.nudge b { color: #E0468A; }
.nudge small { display: block; font-size: 11.5px; font-weight: 500; color: #7A5A20; }
.nudge .btn { flex: none; width: auto; min-height: 0; padding: 8px 14px; font-size: 14px; }
.gc-nudge { margin: 4px 0 12px; padding: 12px; border-radius: 14px; background: #FFF3C4; border: 2px dashed #D9A21B; color: #5A3A00; text-align: center; }
.gc-nudge p { margin: 0 0 8px; font-size: 14px; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.gc-nudge .btn { width: 100%; }
.lg-gift small, .gate-gift small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 500; color: #7A5A20; line-height: 1.45; word-break: keep-all; }
.fs-card small { white-space: normal; line-height: 1.3; min-height: 2.6em; word-break: keep-all; padding: 0 6px; }
.aio-sub { margin: -6px 0 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); }

/* ---------- 바로가기 칩 (스크롤하면 위에 붙어요) ---------- */
.jump { position: sticky; top: 64px; z-index: 9; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 8px 16px; margin: 0; width: 100%; box-sizing: border-box; overscroll-behavior-x: contain; touch-action: pan-x pan-y; background: color-mix(in srgb, var(--bg, #FFF6D8) 92%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border-bottom: 2px solid rgba(42, 27, 74, .12); }
.jump::-webkit-scrollbar { display: none; }
.jump a { flex: none; padding: 6px 12px; border-radius: 999px; border: 2px solid #2A1B4A; background: #fff; color: #2A1B4A; font-size: 13px; font-weight: 800; text-decoration: none; box-shadow: 0 2px 0 #2A1B4A; white-space: nowrap; }
/* ---------- 게임기 고르기: 큰 간판·동전 가격 배지 ---------- */
.gx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 10px; }
.gx-chips span { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #FFE3EF; border: 1px solid rgba(255, 255, 255, .25); }
.mini-cab .sign { font-size: 12.5cqw !important; font-weight: 900; }
.mini-cab .sign.long { font-size: 10.5cqw !important; }
.mini-cab .coin-badge { position: absolute; display: flex; align-items: center; justify-content: center; gap: 2cqw; border-radius: 999px; background: #FFD23F; border: 1.2cqw solid #1B0F33; color: #1B0F33; font-size: 9cqw; line-height: 1; z-index: 6; box-sizing: border-box; }
.mini-cab .coin-badge i { width: 9cqw; height: 9cqw; background: url(/img/coin.png) 0 0 / 400% 100% no-repeat; image-rendering: pixelated; }
.mini-cab .coin-badge.free { background: #7FFFE0; font-size: 8cqw; }
.mini-cab .coin-label { display: none; }
/* 게임기 아래 한 줄 질문 */
.cab-hook { margin: 2px 0 0; max-width: 168px; font-size: 14px; font-weight: 900; color: #FFF3C9; text-align: center; line-height: 1.3; word-break: keep-all; text-shadow: 0 1px 0 #1B0F33; }
@media (max-width: 360px) { .cab-hook { font-size: 13px; } }
html[data-theme] .gx .cab-desc.cab-sub, .gx .cab-sub { margin: -2px 0 0; white-space: nowrap; font-size: 11.5px; font-weight: 600; color: #CFC3F0; line-height: 1.4; }
@media (max-width: 360px) { html[data-theme] .gx .cab-desc.cab-sub, .gx .cab-sub { font-size: 11px; } }

/* ---------- 12지신: 띠 도장·도감 줄 ---------- */
.gc-cell { position: relative; }
.gc-seal { position: absolute; left: -3px; top: -4px; z-index: 2; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 4px; background: #C8102E; color: #FFF3E0; font: 900 11px/1 "Noto Serif CJK KR", "Noto Serif KR", serif; font-style: normal; box-shadow: 0 0 0 1.5px #FFF3E0, 0 1px 0 2px rgba(0,0,0,.25); transform: rotate(-6deg); }
.gc-seal.big { position: static; display: inline-grid; width: 24px; height: 24px; margin-right: 6px; font-size: 15px; vertical-align: 3px; }
.gc-row-h { grid-column: 1 / -1; margin: 6px 0 0; font-size: 12px; font-weight: 900; color: #6B5B95; letter-spacing: .04em; }
.gc-row-h:first-child { margin-top: 0; }

/* ---------- 오늘의 운세 티켓 ---------- */
#today-card { position: relative; gap: 10px; padding: 14px 16px 12px; border-radius: 18px; background: linear-gradient(#FFFFFF, #FFF4FA); }
.tk-top { display: flex; justify-content: space-between; align-items: center; }
.tk-top .px { font-size: 10px; color: #E0468A; }
.tk-date { font-size: 12px; color: var(--ink-3); font-weight: 700; }
.tk-body { display: flex; gap: 12px; align-items: center; }
.tk-who { flex: none; display: grid; justify-items: center; gap: 2px; }
.tk-spr { width: 84px !important; height: 92px !important; }
.tk-who small { font-size: 11px; font-weight: 800; color: var(--ink-2); }
.tk-say { flex: 1; min-width: 0; display: grid; gap: 8px; }
.tk-bub { position: relative; margin: 0; padding: 9px 12px; border-radius: 14px; border: 2px solid var(--ink); background: #fff; font-family: var(--title); font-size: 17px; line-height: 1.3; word-break: keep-all; }
.tk-bub::before { content: ''; position: absolute; left: -9px; top: 16px; border: 7px solid transparent; border-right-color: var(--ink); border-left: 0; }
.tk-score { display: flex; align-items: center; gap: 8px; }
.tk-score b { font-size: 26px; color: #E0468A; text-shadow: 2px 2px 0 #FFD6E8; }
.tk-score .tc-hearts { font-size: 17px; }
.tk-sub { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); word-break: keep-all; }
.tk-cut { border-top: 3px dashed rgba(42, 27, 74, .25); margin: 2px 4px; }
.tk-act { display: flex; gap: 8px; }
.tk-more { flex: 1; min-height: 52px; font-size: 18px; }
.tk-share { flex: none; width: 52px; border-radius: 14px; border: 3px solid var(--ink); background: #FFF3C4; font-size: 22px; box-shadow: 0 4px 0 var(--ink); cursor: pointer; }
.tk-next { margin: 0; text-align: center; font-size: 12px; color: var(--ink-3); }
.tk-next b { font-family: var(--px); font-size: 11px; color: #E0468A; }
.gc-grid > .gc-row-h { grid-column: 1 / -1 !important; width: 100%; }

/* ---------- 반짝 손님 ---------- */
.gc-card.shiny .gc-hero > img, .gc-peek.shiny .gc-auwrap > img, .gc-slot-d.got.shiny img { filter: drop-shadow(0 0 2px var(--shc)) drop-shadow(0 0 6px var(--shc)) !important; }
.gc-card.shiny { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--shc), 0 0 40px 10px var(--shc); animation: shCard 2s linear infinite; }
@keyframes shCard { 50% { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--shc), 0 0 56px 16px var(--shc); } }
.gc-shm { position: absolute; right: -4px; top: -6px; z-index: 2; font-style: normal; font-size: 14px; filter: drop-shadow(0 0 3px #fff); }
.gc-shc { font-size: 13px; font-weight: 800; color: #B07A00; }
.gc-door.shiny .gd-glow { opacity: 1; background: conic-gradient(#FF3FB2, #FFEB3F, #7CFF3F, #3FFFFF, #C13FFF, #FF3FB2); border-radius: 50%; filter: blur(14px); animation: shDoor 1s linear infinite; }
@keyframes shDoor { to { filter: blur(14px) hue-rotate(360deg); } }
.gc-warn.shiny { background: radial-gradient(circle, rgba(255, 255, 255, .55), rgba(120, 60, 200, .3)); }
.gc-warn.shiny b { background: linear-gradient(90deg, #FF3FB2, #FFEB3F, #7CFF3F, #3FFFFF, #C13FFF, #FF3FB2) 0 0 / 300% 100%; color: #fff; text-shadow: 2px 2px 0 #2A1B4A; animation: shBan 1.2s linear infinite; }
@keyframes shBan { to { background-position: -300% 0; } }
.gc-warn.shiny.on { animation: none; }
.gc-skin { display: block; margin: 6px auto 2px; padding: 6px 14px; border-radius: 999px; border: 2px solid #2A1B4A; background: #fff; font-size: 13px; font-weight: 800; color: #2A1B4A; cursor: pointer; }
.go-sh { margin: 6px 0 0 !important; padding: 8px 10px; border-radius: 10px; background: #F6F0FF; color: #3A2A6A !important; font-size: 12.5px !important; line-height: 1.5; word-break: keep-all; }
/* ---------- 별 조각 ---------- */
.gc-star { margin: 4px 0 10px; padding: 10px 12px; border-radius: 14px; background: #FFF3C4; border: 2px solid #D9A21B; }
.gc-star-n { font-size: 14px; font-weight: 800; color: #5A3A00; margin-bottom: 8px; }
.gc-star-n b { font-size: 18px; color: #E0468A; }
.gc-star-b { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gc-star-b .btn { min-height: 0; padding: 8px 6px; font-size: 13px; line-height: 1.3; }
.gc-star-b .btn small { display: block; font-size: 11px; opacity: .85; }
.gc-star-b .btn:disabled { opacity: .45; }
.gc-stargain { display: grid; gap: 3px; margin: 6px 0; }
.gc-stargain span { font-size: 13px; font-weight: 800; color: #B07A00; }
.gc-card.dark .gc-stargain span { color: #FFD47A; }
.gc-pick .gc-pickg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-bottom: 6px; }
.gc-pickg button { position: relative; display: grid; justify-items: center; gap: 1px; padding: 8px 4px; border-radius: 12px; border: 2px solid #7FE3CF; background: #F2FFFB; cursor: pointer; color: #2A1B4A; }
.gc-pickg img { width: 52px; height: 52px; image-rendering: pixelated; }
.gc-pickg span { font-size: 13px; font-weight: 800; } .gc-pickg small { font-size: 10px; color: #6B5B95; }
.gc-pickg .gc-seal { left: 4px; top: 4px; }
/* ---------- 레벨 로드맵 ---------- */
.gc-road { list-style: none; margin: 8px 0 4px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; }
.gc-road li { display: grid; justify-items: center; gap: 2px; padding: 5px 2px; border-radius: 8px; background: rgba(42, 27, 74, .06); opacity: .5; }
.gc-road li b { font-size: 9px; }
.gc-road li span { font-size: 9.5px; line-height: 1.25; text-align: center; word-break: keep-all; }
.gc-road li.on { opacity: 1; background: rgba(255, 210, 63, .28); }
.gc-road li.now { outline: 2px solid #E0468A; }
.gc-card.dark .gc-road li { background: rgba(255, 255, 255, .08); color: #FCE6EC; }
/* ---------- 줄바꿈: 마지막 줄에 한두 글자만 남지 않게 ---------- */
p, li, small, figcaption, .tk-sub, .cab-sub, .gc-tip, .gc-stargain span { text-wrap: pretty; }
h1, h2, h3, .btn, button, .tk-bub, .gc-bub, .cab-hook, .go-sh b { text-wrap: balance; }
footer a.nw { white-space: nowrap; }
.gc-odds .go-box p { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: #3A2A6A; word-break: keep-all; }
.gc-odds .go-box p b { color: #2A1B4A; }
.gc-odds .go-t { width: 100%; margin: 6px 0 2px; border-collapse: collapse; font-size: 12px; }
.gc-odds .go-t th, .gc-odds .go-t td { padding: 4px 4px; border-top: 1px solid var(--line, #eee); text-align: center; white-space: nowrap; }
.gc-odds .go-t thead th { font-size: 11px; color: #6B5B95; border-top: 0; }
.gc-odds .go-t tbody th { text-align: left; font-weight: 800; }
.gc-road li b { font-size: 8px; }
.gc-star-b #gc-ex1 { white-space: nowrap; }
@media (max-width: 360px) { .gc-star-b { grid-template-columns: 1fr; } .gc-star-b .btn small { display: inline; margin-left: 4px; } }

/* 화면이 옆으로 밀리지 않게 (가로 스크롤은 칩·무료 오락 줄 안에서만) */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
/* ---------- 공유 카드: 친구의 대표 손님 ---------- */
.sc-rep { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 6px 12px; align-items: center; margin: 0 0 12px; padding: 14px; border-radius: 18px; border: 3px solid #2A1B4A; background: linear-gradient(135deg, #2A1B5A, #4A1E5C); color: #fff; box-shadow: 0 4px 0 #2A1B4A; }
.sc-rep.shiny { box-shadow: 0 0 0 3px var(--shc), 0 0 22px var(--shc), 0 4px 0 #2A1B4A; }
.sc-rep-img.gc-auwrap { width: 112px; height: 112px; }
.sc-rep-img img { width: 112px; height: 112px; image-rendering: pixelated; }
.sc-rep.shiny .sc-rep-img img { filter: drop-shadow(0 0 3px var(--shc)) drop-shadow(0 0 8px var(--shc)); }
.sc-rep-t small { font-size: 11px; color: #CFC3F0; font-weight: 700; }
.sc-rep-t b { display: block; font-family: var(--title); font-weight: 400; font-size: 22px; }
.sc-rep-t b .px { font-size: 9px; padding: 2px 5px; border-radius: 5px; background: #FFD23F; color: #2A1B4A; vertical-align: 4px; }
.sc-rep-t p { margin: 4px 0 0; font-size: 13px; line-height: 1.45; color: #FFE9F3; word-break: keep-all; text-wrap: pretty; }
.sc-rep-go { grid-column: 1 / -1; min-height: 44px; font-size: 15px; }
.gc-pshare:disabled { opacity: .5; } .gc-pshare { margin-top: 2px; }

/* ---------- 번외 코너: 금전운 · 성공운 ---------- */
.f2-corner .section-head h2 { white-space: nowrap; }
.f2-cab-coins i { position: absolute; width: 10cqw; height: 10cqw; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF3A8, #FFC21A 55%, #B07A00); border: .8cqw solid #6B4A00; animation: f2Drop 1.6s linear infinite; top: -12cqw; }
.f2-cab-coins i:nth-child(1) { left: 6%; animation-delay: 0s; } .f2-cab-coins i:nth-child(2) { left: 24%; animation-delay: .5s; } .f2-cab-coins i:nth-child(3) { left: 44%; animation-delay: .9s; } .f2-cab-coins i:nth-child(4) { left: 62%; animation-delay: .3s; } .f2-cab-coins i:nth-child(5) { left: 80%; animation-delay: 1.2s; } .f2-cab-coins i:nth-child(6) { left: 34%; animation-delay: 1.4s; }
@keyframes f2Drop { to { transform: translateY(80cqw) rotate(360deg); } }
.f2-cab-steps i { position: absolute; bottom: 0; width: 25%; background: rgba(255, 210, 63, .85); border-top: .8cqw solid #fff; }
.f2-cab-steps i:nth-child(1) { left: 0; height: 15%; } .f2-cab-steps i:nth-child(2) { left: 25%; height: 30%; } .f2-cab-steps i:nth-child(3) { left: 50%; height: 45%; } .f2-cab-steps i:nth-child(4) { left: 75%; height: 60%; }
.f2 .round { overflow: hidden; }
.f2-hero { position: relative; text-align: center; }
.f2-hero.slot { background: linear-gradient(#5A2A00, #2A1200); border-color: #C89212; color: #fff; }
.f2-hero.cls { background: radial-gradient(circle at 50% 40%, #6B4FE0, #1E1450); border-color: #8B78FF; color: #fff; }
.f2-jp, .f2-cc { font-size: 12px; color: #FFD23F; letter-spacing: .06em; }
.f2-hero.win .f2-jp, .f2-hero.cls.win .f2-cc { animation: f2Flash .25s steps(2) 6; }
@keyframes f2Flash { 50% { color: #fff; text-shadow: 0 0 10px #FFD23F; } }
.f2-reels { display: flex; gap: 8px; justify-content: center; margin: 12px 0; }
.f2-reels b { width: 66px; height: 74px; overflow: hidden; display: block; background: #FFF8E0; border: 3px solid #C89212; border-radius: 10px; box-shadow: inset 0 -6px 0 #EBD9A0; }
.f2-reels b span { display: grid; place-items: center; height: 74px; font-size: 38px; }
.f2-reels b { --off: -370px; }
.f2-reels b > span:first-child { margin-top: var(--off); }
.f2-reels.spin b:not(.stop) > span:first-child { animation: f2Spin .25s linear infinite; }
@keyframes f2Spin { from { margin-top: 0; } to { margin-top: -296px; } }
.f2-type small { display: block; font-size: 12px; opacity: .85; }
.f2-type b { display: block; font-family: var(--title); font-weight: 400; font-size: 30px; color: #FFD23F; margin: 2px 0; text-wrap: balance; }
.f2-type p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: #FFE9C7; text-wrap: pretty; }
.f2-hero.cls.anim .f2-type { opacity: 0; transform: scale(.7); }
.f2-hero.cls.anim.win .f2-type { opacity: 1; transform: none; transition: all .45s cubic-bezier(.2, 1.4, .4, 1); }
.f2-hero.cls.anim::after { content: ''; position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.f2-hero.cls.anim.win::after { animation: f2White .6s ease-out; }
@keyframes f2White { 0% { opacity: .9; } 100% { opacity: 0; } }
.f2-map { background: linear-gradient(#1A1640, #3A1648); color: #fff; border-color: #2A1B4A; }
.f2-cap { font-size: 10px; color: #7FFFE0; }
.f2-graph { position: relative; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; align-items: end; height: 170px; margin: 12px 0 4px; }
.f2-col { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; }
.f2-col > small { order: 2; }
.f2-col small { font-size: 10px; color: #CFC3F0; margin-top: 4px; white-space: nowrap; }
.f2-col em { order: -1; margin-bottom: 3px; font-style: normal; font-size: 7px; color: #FFD23F; white-space: nowrap; }
.f2-col em.now { color: #7FFFE0; }
.f2-stack { display: flex; flex-direction: column-reverse; gap: 1px; }
.f2-stack i { width: 26px; height: 12px; border-radius: 50%; background: radial-gradient(ellipse at 40% 35%, #FFF3A8, #FFC21A 60%, #B07A00); border: 1.5px solid #6B4A00; }
.f2-col.peak .f2-stack i { box-shadow: 0 0 8px #FFD23F; }
.f2-col.now small { color: #7FFFE0; font-weight: 800; }
.f2-graph.anim .f2-stack i { opacity: 0; transform: translateY(-30px); }
.f2-graph.anim.go .f2-stack i { opacity: 1; transform: none; transition: all .18s ease-in; }
.f2-graph.coins .f2-col:nth-child(1) i { transition-delay: calc(0s + var(--k, 0) * 0s); }
.f2-step { width: 100%; height: calc(var(--lv) * 13px); border-radius: 6px 6px 2px 2px; background: linear-gradient(#FFB6D5, #FF4FA0); border: 2px solid #2A1B4A; }
.f2-col.peak .f2-step { background: linear-gradient(#FFF3A8, #FFC21A); box-shadow: 0 0 12px #FFD23F; }
.f2-col.now .f2-step { background: linear-gradient(#C8FFF2, #3FE0C0); }
.f2-graph.anim .f2-step { transform: scaleY(0); transform-origin: bottom; }
.f2-graph.anim.go .f2-step { transform: none; transition: transform .35s steps(4) calc(var(--i) * .26s); }
.f2-runner { position: absolute; width: 34px; height: 42px; left: calc((var(--to) + .5) / var(--n) * 100% - 17px); bottom: 150px; display: none; }
.f2-graph.stairs.go .f2-runner, .f2-graph.stairs:not(.anim) .f2-runner { display: block; animation: f2Jump .5s steps(3) calc(var(--n) * .26s) both; }
@keyframes f2Jump { 0% { transform: translateY(-40px); opacity: 0; } 60% { transform: translateY(6px); opacity: 1; } 100% { transform: none; } }
.f2-peak { margin: 8px 0 0; font-family: var(--title); font-size: 21px; }
.f2-peak b { color: #FFD23F; font-weight: 400; }
.f2-rise { margin: 2px 0 0; font-size: 13px; color: #CFC3F0; }
.f2-rise b { color: #7FFFE0; }
.f2-skip .f2-graph.anim .f2-stack i, .f2-skip .f2-graph.anim .f2-step, .f2-skip .f2-hero .f2-type { opacity: 1 !important; transform: none !important; transition: none !important; }
.f2-skip .f2-reels b > span:first-child { animation: none !important; }
.f2-lock b { font-size: 16px; }
.f2-lock ul { margin: 8px 0 12px; padding-left: 18px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.f2-sec h3 { margin: 0 0 8px; font-size: 18px; text-wrap: balance; }
.f2-sec p { margin: 0 0 6px; font-size: 15px; line-height: 1.65; text-wrap: pretty; word-break: keep-all; }
.f2-h { margin: 10px 0 4px !important; font-weight: 800; font-size: 14px !important; }
.f2-ul { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.7; }
.f2-st { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.f2-st li { display: grid; grid-template-columns: auto auto 1fr; gap: 2px 8px; align-items: baseline; padding: 8px 10px; border-radius: 10px; background: #F6F0FF; font-size: 14px; line-height: 1.5; }
.f2-st li span { grid-column: 1 / -1; color: var(--ink-2); word-break: keep-all; }
.f2-st li em { font-style: normal; font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: #FFD23F; color: #2A1B4A; justify-self: start; }
.f2-st li em.n { background: #7FFFE0; } .f2-st li em.r { background: #FFD6E8; }
.f2-st li.peak { background: #FFF3C4; outline: 2px solid #FFC21A; }
.f2-bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; align-items: end; height: 90px; }
.f2-bars i { display: block; border-radius: 5px 5px 2px 2px; background: #FFD23F; border: 2px solid #2A1B4A; }
.f2-bars i.top { background: #FF3E9A; } .f2-bars i.low { background: #C9C0E0; }
.f2-bl { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; font-size: 10px; text-align: center; color: var(--ink-3); margin-top: 2px; }
.f2-mo { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.f2-mo li { padding: 8px 10px; border-radius: 10px; background: #FFF3C4; font-size: 14px; line-height: 1.55; word-break: keep-all; }
.f2-mo.care li { background: #F1EEF8; }
.f2-mo li b { display: block; }
.f2-big { font-family: var(--title); font-size: 24px; color: #E0468A; margin: 2px 0 6px !important; }
.f2-lucky { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.f2-lucky div { padding: 8px 6px; border-radius: 10px; background: #F6F0FF; text-align: center; }
.f2-lucky small { display: block; font-size: 11px; color: var(--ink-3); }
.f2-lucky b { font-size: 13px; line-height: 1.4; word-break: keep-all; }
@media (prefers-reduced-motion: reduce) { .f2-cab-coins i { animation: none; } }
.f2-best { font-family: var(--title); font-size: 15px; padding: 1px 8px; border-radius: 999px; background: #FFD23F; color: #2A1B4A; vertical-align: 2px; }
.f2-yrs { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; align-items: end; height: 76px; margin: 6px 0 2px; }
.f2-yrs > div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.f2-yrs i { display: block; width: 100%; border-radius: 4px 4px 1px 1px; background: #CFC3F0; border: 1.5px solid #2A1B4A; }
.f2-yrs .best i { background: #FFC21A; box-shadow: 0 0 8px #FFD23F; }
.f2-yrs .past i { opacity: .35; }
.f2-yrs small { font-size: 10px; color: var(--ink-3); margin-top: 2px; }
.f2-yrs .best small { color: #E0468A; font-weight: 800; }
.f2-intro { font-size: 12.5px !important; color: var(--ink-3); margin-bottom: 4px !important; }
.f2-note, .f2-agenote { font-size: 12px !important; color: var(--ink-3); margin-top: 6px !important; line-height: 1.5; word-break: keep-all; }
.f2-map .f2-agenote { color: #B8ACDA; }
.f2-mis { display: grid; gap: 6px; }
.f2-mis button { text-align: left; padding: 9px 12px; border-radius: 10px; border: 2px solid #D9CFF0; background: #fff; font-size: 14px; color: var(--ink); cursor: pointer; word-break: keep-all; }
.f2-mis button.on { border-color: #E0468A; background: #FFE9F3; font-weight: 800; }
.f2-mis button.on::before { content: '✔ '; color: #E0468A; }
.f2-why { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.65; color: var(--ink-2); word-break: keep-all; }
.f2-lucky b { display: block; text-wrap: balance; }
html { text-wrap: pretty; }

/* ---------- 카카오톡 공유 시트 ---------- */
.ks-wrap { position: fixed; inset: 0; z-index: 200; background: rgba(20,10,40,0); display: flex; align-items: flex-end; justify-content: center; transition: background .2s; }
.ks-wrap.on { background: rgba(20,10,40,.45); }
.ks-sheet { width: min(430px, 100vw); background: var(--card); border: 3px solid var(--ink); border-bottom: 0; border-radius: 22px 22px 0 0; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); display: grid; gap: 10px; transform: translateY(100%); transition: transform .2s; }
.ks-wrap.on .ks-sheet { transform: none; }
.ks-sheet > b { font-family: var(--title); font-size: 19px; color: var(--ink); text-align: center; margin-bottom: 2px; }
.ks-btn { height: 52px; border-radius: 14px; border: 3px solid var(--ink); background: var(--card); color: var(--ink); font-family: var(--title); font-size: 17px; box-shadow: 0 3px 0 var(--ink); }
.ks-btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.ks-kakao { background: #FEE500; color: #191919; }
.ks-x { background: none; border: 0; color: var(--ink-2); font-family: var(--body); font-size: 15px; padding: 6px; }

/* 재물·성공 v2.1: 12달 한 줄씩, 나이별 해 두면 좋은 일 */
.f2-m12 { list-style: none; margin: 12px 0 4px; padding: 0; display: grid; gap: 6px; }
.f2-m12 li { display: grid; grid-template-columns: 62px 1fr; column-gap: 8px; row-gap: 2px; padding: 8px 10px; border-radius: 10px; background: #F4F0FB; font-size: 14px; line-height: 1.5; color: var(--ink); }
.f2-m12 li b { grid-row: span 2; font-size: 13px; color: var(--ink-2); padding-top: 1px; }
.f2-m12 li em { font-style: normal; font-weight: 800; font-size: 14px; }
.f2-m12 li span { word-break: keep-all; color: var(--ink-2); }
.f2-m12 li.up { background: #FFF3C9; } .f2-m12 li.up em { color: #B7791F; }
.f2-m12 li.dn em { color: #6F62A0; }
.f2-do { display: block; margin-top: 6px; font-size: 13px; color: #B23A7A; font-weight: 700; word-break: keep-all; }
html[data-theme="dark"] .f2-m12 li { background: rgba(255,255,255,.07); }
html[data-theme="dark"] .f2-m12 li.up { background: rgba(255,210,63,.14); }
.f2-gods { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.f2-gods li { padding: 10px 12px; border-radius: 10px; background: #F4F0FB; font-size: 14px; line-height: 1.55; }
.f2-gods b { display: block; font-size: 14px; margin-bottom: 2px; color: var(--ink); }
.f2-gods em { font-style: normal; font-size: 12px; padding: 1px 7px; border-radius: 99px; background: #E6E0F5; color: #5B4A7A; margin-left: 4px; }
.f2-gods em.hi { background: #FFE07A; color: #6B4A00; } .f2-gods em.lo { background: #E2EEF9; color: #3A5A80; }
.f2-gods span { color: var(--ink-2); word-break: keep-all; }
html[data-theme="dark"] .f2-gods li { background: rgba(255,255,255,.07); }

/* 결과 끝: 카카오톡 / 다른 앱 공유 두 버튼 */
.end-share-h { margin: 6px 0 -2px; text-align: center; font-family: var(--title); font-size: 16px; color: var(--ink); }
.end-share2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.end-share2 .btn { margin: 0; min-height: 52px; font-size: 16px; padding: 0 8px; white-space: nowrap; }
.end-kakao { background: #FEE500; color: #191919; border: 3px solid var(--ink); box-shadow: 0 4px 0 var(--ink); border-radius: 16px; font-family: var(--title); }
.ks-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 210; background: rgba(30,20,50,.92); color: #fff; padding: 10px 16px; border-radius: 12px; font-size: 14px; max-width: calc(100vw - 48px); text-align: center; word-break: keep-all; }

/* 계산 연출 · 결제 창 풀이 근거 한 줄 */
.calc-ov { position: fixed; inset: 0; z-index: 40; background: rgba(20, 12, 40, .72); display: flex; align-items: center; justify-content: center; padding: 24px; transition: opacity .25s; }
.calc-ov.out { opacity: 0; }
.calc-box { width: min(320px, 100%); background: #1B1238; border: 3px solid #FF4F9A; border-radius: 18px; box-shadow: 0 0 0 3px #2A1B4A, 0 0 24px rgba(255,79,154,.5); padding: 18px 18px 14px; color: #F3EDFF; }
.calc-t { font-size: 12px; color: #FFD23F; text-align: center; margin-bottom: 12px; letter-spacing: 1px; }
.calc-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.calc-box li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; word-break: keep-all; }
.calc-box li.on { opacity: 1; transform: none; }
.calc-box li i { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid #6F62A0; border-top-color: #FFD23F; animation: calcSpin .7s linear infinite; }
.calc-box li.ok i { animation: none; border-color: #3FC9A8; background: #3FC9A8; position: relative; }
.calc-box li.ok i::after { content: '✓'; position: absolute; inset: 0; display: grid; place-items: center; color: #1B1238; font-size: 13px; font-weight: 900; }
@keyframes calcSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .calc-box li i { animation: none; } }
.cont-basis { text-wrap: balance; margin: 0; padding: 8px 10px; border-radius: 10px; background: #EEF6FF; border: 2px solid #9CC3EE; font-size: 13px; font-weight: 700; color: #1F3F66; word-break: keep-all; text-align: center; }

/* 메인 줄이기: 게임기 탭 · 만화 배너 · FAQ 접기 */
.gx-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 0 10px; }
.gx-tabs button { padding: 9px 4px; border-radius: 12px; border: 2px solid #2A1B4A; background: #fff; color: #2A1B4A; font-family: var(--title); font-size: 15px; box-shadow: 0 3px 0 #2A1B4A; white-space: nowrap; }
.gx-tabs button small { font-family: var(--px); font-size: 9px; margin-left: 2px; padding: 2px 4px; border-radius: 6px; background: #F1ECFA; vertical-align: 2px; }
.gx-tabs button.on { background: #FF4F9A; color: #fff; }
.gx-tabs button.on small { background: rgba(255,255,255,.3); color: #fff; }
.gx-pane .f2-corner .aio-sub { margin-top: 0; }
.cm-mini { margin: 14px 16px; }
.cm-bar { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 16px; border: 3px solid #2A1B4A; background: #F3ECFF; box-shadow: 0 4px 0 #2A1B4A; text-align: left; color: #2A1B4A; }
.cm-bar img { width: 52px; height: 52px; object-fit: cover; object-position: top; border-radius: 10px; border: 2px solid #2A1B4A; flex: none; }
.cm-bar span { flex: 1; min-width: 0; display: grid; gap: 1px; }
.cm-bar small { font-size: 9px; color: #E0337F; }
.cm-bar b { font-family: var(--title); font-size: 16px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cm-bar em { font-style: normal; font-size: 12px; color: #5B4A7A; }
.cm-bar i { font-style: normal; font-size: 13px; font-weight: 800; color: #E0337F; flex: none; }
.cm-mini .cm-box { margin-top: 10px; }
.faq-mini { padding-top: 6px; padding-bottom: 6px; }
.faq-all > summary { font-family: var(--title); font-size: 17px; padding: 12px 14px; border: 2px solid #2A1B4A; border-radius: 14px; background: #fff; list-style: none; cursor: pointer; color: #2A1B4A; }
.faq-all > summary::-webkit-details-marker { display: none; }
.faq-all > summary::after { content: ' ▾'; color: #E0337F; }
.faq-all[open] > summary::after { content: ' ▴'; }
.faq-all[open] > summary { margin-bottom: 8px; }
.cm-mini .cm-box[hidden] { display: none; }
.gx .gx-pane .aio-sub, .gx .gx-pane .rep-desc, html[data-theme="light"] .gx .gx-pane .rep-desc { color: #F3EDFF; opacity: 1; }
.gx .gx-pane .aio-sub { font-weight: 800; text-align: center; }
.cm-mini .cm-more[hidden] { display: none; }
.cm-bar b { white-space: normal; overflow: visible; line-height: 1.25; }
@media (max-width: 380px) {
  .gx-tabs { gap: 4px; }
  .gx-tabs button { font-size: 13.5px; padding: 8px 2px; letter-spacing: -.3px; }
  .gx-tabs button small { display: none; }
}
.gx-tabs { grid-template-columns: .8fr 1.1fr 1.1fr; }
/* 메인 구역 간격 통일 (16px) · 탭 3칸 균등 */
#view > .fs, #view > #jump-games, #view > .cm-mini, #view > .plays, #view > .rv, #view > .trust-line { margin-top: 16px; margin-bottom: 0; }
.gx-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gx-tabs .gx-e { font-style: normal; }
@media (max-width: 380px) { .gx-tabs .gx-e { display: none; } .gx-tabs button { font-size: 14px; } }

/* 결제 전 동의 체크박스 */
.pay-agree { display: grid; gap: 8px; padding: 12px 14px; border: 2px solid #2A1B4A; border-radius: 14px; background: #fff; font-size: 14px; color: #2A1B4A; }
.pay-agree.need { border-color: #C62828; box-shadow: 0 0 0 3px rgba(198,40,40,.15); }
.pay-agree label { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; word-break: keep-all; cursor: pointer; }
.pay-agree input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: #FF4F9A; }
.pay-agree .pa-all { font-weight: 800; padding-bottom: 8px; border-bottom: 1px dashed #D9CFF0; }
.pay-agree a { color: #C2276E; text-decoration: underline; }
.pa-more summary { font-size: 12px; color: #6F62A0; cursor: pointer; margin-left: 28px; }
.pa-more p { margin: 6px 0 0 28px; font-size: 12px; color: #5B4A7A; line-height: 1.5; word-break: keep-all; }
.lg-inapp { margin: -2px 0 0; font-size: 12px; color: #6F62A0; text-align: center; word-break: keep-all; line-height: 1.45; }
/* 연애 사용설명서: 시즌 칸 이름이 단어 중간에서 끊기지 않게 */
.rp-season b { word-break: keep-all; text-wrap: balance; font-size: clamp(15px, 4.4vw, 18px); }
.rp-season > div:not(.arrow) { min-width: 0; padding: 12px 10px; }
.rp-daeun span { word-break: keep-all; text-wrap: balance; }
.rp-vs-card small, .rp-vs-card b, .rp-season b, .rp-daeun span { word-break: keep-all; text-wrap: balance; }
.rp-vs-card small { display: block; }
/* 손님 뽑기 카드 안 공유 두 버튼 */
#gc-share { margin-top: 10px; }
#gc-share .end-share-h { font-size: 14px; margin: 0 0 6px; }
#gc-share .end-share2 .btn { min-height: 44px; font-size: 15px; }
.dr-card .end-share2 { margin-top: 8px; }

/* 처음이라면 이것부터 */
.gx-first { margin: 0 0 12px; }
.gx-first > p { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: #F3EDFF; }
.gx-first > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.gx-first a { position: relative; display: grid; gap: 1px; padding: 8px 8px 7px; border-radius: 12px; border: 2px solid #2A1B4A; background: #FFF6D8; color: #2A1B4A; text-decoration: none; box-shadow: 0 3px 0 #2A1B4A; min-width: 0; }
.gx-first i { font-style: normal; font-size: 18px; line-height: 1; }
.gx-first b { font-family: var(--title); font-weight: 400; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-first small { font-size: 11px; color: #5B4A7A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gx-first em { position: absolute; top: 6px; right: 6px; font-style: normal; font-size: 8px; color: #B7791F; }
/* 게임기별 실제 플레이 수 */
.cab-plays { margin: 6px 0 -2px; text-align: center; font-size: 12px; font-weight: 800; color: #FFD23F; }
/* FREE PLAY 만세력 카드 */
.fs-m .fs-hj { font-family: 'Noto Serif KR', serif; font-size: 22px; color: #FFE07A; letter-spacing: 2px; }
/* 무료 만세력 */
.mz-top > small { display: block; font-size: 12px; color: var(--ink-2); margin-bottom: 2px; }
.mz-tbl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0 6px; }
.mz-col { display: grid; gap: 4px; text-align: center; padding: 6px 4px; border-radius: 12px; background: #F4F0FB; }
.mz-col.me { background: #FFE3EF; outline: 2px solid #E0337F; }
.mz-col em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--ink-2); }
.mz-g { font-size: 11px; color: #6F62A0; min-height: 14px; }
.mz-c { border-radius: 10px; padding: 6px 2px; background: #fff; border: 2px solid #2A1B4A; }
.mz-c b { display: block; font-family: 'Noto Serif KR', serif; font-size: 26px; line-height: 1.1; }
.mz-c span { display: block; font-size: 11px; color: #5B4A7A; }
.mz-q b { color: #B9AFD6; }
.e-wood b { color: #2F9A5B; } .e-fire b { color: #E2552A; } .e-earth b { color: #B08A2E; } .e-metal b { color: #6E7C96; } .e-water b { color: #2F62C8; }
.mz-note, .mz-foot { font-size: 12px; color: var(--ink-2); word-break: keep-all; }
.mz-foot { text-align: center; margin: 4px 0 10px; }
.mz-el { display: grid; gap: 6px; }
.mz-el > div { display: grid; grid-template-columns: 74px 1fr 22px; align-items: center; gap: 8px; font-size: 14px; }
.mz-el i { display: block; height: 12px; border-radius: 99px; background: #EEE8F8; position: relative; overflow: hidden; }
.mz-el i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 99px; background: currentColor; }
.mz-el .e-wood { color: #2F9A5B; } .mz-el .e-fire { color: #E2552A; } .mz-el .e-earth { color: #B08A2E; } .mz-el .e-metal { color: #6E7C96; } .mz-el .e-water { color: #2F62C8; }
.mz-el b { color: var(--ink); font-weight: 700; } .mz-el span { color: var(--ink); font-weight: 800; text-align: right; }
.mz-dm b { color: #C2276E; }
.mz-luck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.mz-luck > div { position: relative; text-align: center; padding: 8px 2px; border-radius: 10px; background: #F4F0FB; border: 2px solid transparent; }
.mz-luck > div.on { border-color: #E0337F; background: #FFF1F7; }
.mz-luck small { font-size: 11px; color: var(--ink-2); display: block; }
.mz-luck b { font-family: 'Noto Serif KR', serif; font-size: 18px; display: block; }
.mz-luck span { font-size: 11px; color: var(--ink-2); }
.mz-luck em { position: absolute; top: -7px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 7px; background: #E0337F; color: #fff; padding: 1px 4px; border-radius: 3px; }
.mz .btn-pink { display: block; text-align: center; margin: 0 16px; }
html[data-theme="dark"] .mz-col, html[data-theme="dark"] .mz-luck > div { background: rgba(255,255,255,.07); }
html[data-theme="dark"] .mz-c { background: #1B1238; border-color: #6F62A0; }
html[data-theme="dark"] .mz-col.me { background: rgba(255,79,154,.15); }
/* 오늘 운세 카드의 대표 손님 오라 */
.gc-auwrap.rep-au { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.gc-auwrap.rep-au > img { width: 100%; height: 100%; }
.gc-auwrap.rep-au .au { inset: -22px; transform: scale(.55); }
.gc-auwrap.rep-au .au-circle, .gc-auwrap.rep-au .au-floor, .gc-auwrap.rep-au .au-floor2, .gc-auwrap.rep-au .au-wave { display: none; }

/* FREE PLAY 점 + 풀코스 길잡이 14칸(1~13 + 보너스) */
.fs-dots { display: flex; justify-content: center; gap: 6px; margin-top: -4px; }
.fs-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .28); transition: width .2s, background .2s; }
.fs-dots i.on { width: 16px; border-radius: 3px; background: #FF4FA0; }
.rp-toc { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.rp-toc a.bonus { font-family: inherit; font-size: 11px; font-weight: 900; letter-spacing: -.04em; white-space: nowrap; }
.rp-stage { scroll-margin-top: 168px; }
/* 내 사주 카드: 카드 아래 만세력 */
.cm-why > small { display: block; font-size: 12px; color: var(--ink-2); }
.cm-why .mz-tbl { margin: 10px 0 8px; }
.cm-why .mz-c b { font-size: 22px; }
.cm-arrow { margin: 0; padding: 10px 12px; border-radius: 12px; background: #FFF1F7; font-size: 14px; line-height: 1.6; word-break: keep-all; }
.cm-arrow b { color: #C2276E; }
.cm-more { margin-top: 10px; border-top: 1px dashed #CFC3F0; padding-top: 8px; }
.cm-more summary { font-size: 13px; font-weight: 800; color: #6F62A0; cursor: pointer; text-align: center; list-style: none; padding: 4px 0; }
.cm-more summary::-webkit-details-marker { display: none; }
.cm-more summary::after { content: ' ▼'; }
.cm-more[open] summary::after { content: ' ▲'; }
.cm-more .mz-el { margin: 10px 0; }
.cm-more h4 { font-size: 13px; margin: 12px 0 6px; }
html[data-theme="dark"] .cm-arrow { background: rgba(255,79,154,.12); }
/* 다크 모드: 밝은 배지·찰떡 칸 글자가 안 보이던 것 */
html[data-theme="dark"] .cc-grade, html[data-theme="dark"] .cc-grade b, html[data-theme="dark"] .cc-grade .px { color: #2A1B4A; }
html[data-theme="dark"] .cc-match { background: rgba(255,79,154,.14); }
html[data-theme="dark"] .cc-match b { color: #FFE6F2; } html[data-theme="dark"] .cc-match span { color: #CFC3F0; }
/* ---------- 결과 직전 손대는 연출 (revealGate) ---------- */
.rg-ov { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(10, 6, 30, .82); opacity: 0; transition: opacity .2s; touch-action: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.rg-ov.on { opacity: 1; }
.rg-box { position: relative; width: min(340px, 100%); padding: 18px 16px 14px; border-radius: 20px; border: 3px solid #FF4FA0; background: radial-gradient(circle at 50% 35%, #3B2A78, #120C2A); box-shadow: 0 0 24px rgba(255, 79, 160, .45); color: #fff; text-align: center; overflow: hidden; }
.rg-box::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 2px, transparent 2px 4px); }
.rg-tag { margin: 0; font-size: 10px; color: #FFD23F; letter-spacing: .1em; animation: blink 1s steps(1) infinite; }
.rg-stage { position: relative; height: 200px; display: grid; place-items: center; margin: 6px 0; }
.rg-t { margin: 6px 0 8px; font-size: 15px; font-weight: 800; color: #F1EBFF; word-break: keep-all; min-height: 22px; }
.rg-won .rg-t, .rg-ov.won .rg-t { color: #FFD23F; font-size: 18px; text-shadow: 0 0 10px #FF9F1C; }
.rg-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 6px; }
.rg-dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #FFD23F; }
.rg-dots i.on { background: #FFD23F; }
.rg-skip { margin-top: 4px; background: none; border: 0; color: #A99BD6; font-size: 12px; padding: 8px; }
.rg-hit { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rg-hit.bump { animation: rgBump .28s; }
@keyframes rgBump { 0% { transform: scale(1) rotate(0); } 30% { transform: scale(.88) rotate(-8deg); } 65% { transform: scale(1.08) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }
/* 금전운: 복주머니 */
.rg-pouch svg { width: 150px; height: 150px; filter: drop-shadow(0 0 14px #FFD23F); animation: rgWig 1.4s ease-in-out infinite; }
.rg-ov[data-n="2"] .rg-pouch svg { filter: drop-shadow(0 0 22px #FFD23F); animation-duration: .5s; }
.rg-ov.won .rg-pouch svg { animation: rgPop .5s forwards; }
@keyframes rgWig { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes rgPop { 50% { transform: scale(1.25); } 100% { transform: scale(1.1); filter: drop-shadow(0 0 30px #FFF3A0) brightness(1.2); } }
.rg-coin { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; background: #FFD23F; border: 2px solid #B8860B; animation: rgCoin .9s ease-out forwards; }
@keyframes rgCoin { to { transform: rotate(var(--a)) translateY(-110px) rotate(calc(-1 * var(--a))); opacity: 0; } }
/* 성공운: 계단 + 레버 */
.rg-success .rg-stage { grid-template-columns: 200px 64px; justify-content: center; gap: 4px; }
.rg-stairs { position: relative; width: 200px; height: 170px; }
.rg-stairs > i { position: absolute; bottom: 0; left: calc(var(--i) * 46px); width: 48px; height: calc(30px + var(--i) * 34px); background: linear-gradient(#8E7CF0, #5E4BC8); border: 2px solid #120C2A; border-radius: 4px 4px 0 0; }
.rg-flag { position: absolute; right: 2px; top: -2px; font-size: 22px; }
.rg-who { position: absolute; width: 40px; height: 50px; left: 4px; bottom: 30px; transition: left .3s, bottom .3s; }
.rg-ov[data-n="1"] .rg-who { left: 50px; bottom: 64px; }
.rg-ov[data-n="2"] .rg-who { left: 96px; bottom: 98px; }
.rg-ov[data-n="3"] .rg-who { left: 142px; bottom: 132px; }
.rg-lever { position: relative; width: 64px; height: 130px; }
.rg-stick { position: absolute; left: 28px; bottom: 22px; width: 8px; height: 84px; background: #C9C2E8; border: 2px solid #120C2A; border-radius: 4px; transform-origin: 50% 100%; transform: rotate(-18deg); transition: transform .15s; }
.rg-ball { position: absolute; z-index: 1; left: 50%; bottom: 96px; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FF9CC8, #E0337F); border: 2px solid #120C2A; transform-origin: 50% 100px; transform: rotate(-18deg); transition: transform .15s; }
.rg-base { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 22px; border-radius: 8px; background: #5E4BC8; border: 2px solid #120C2A; }
.rg-lever.bump { animation: none; }
.rg-lever.bump .rg-stick, .rg-lever.bump .rg-ball { animation: rgPull .3s; }
@keyframes rgPull { 50% { transform: rotate(28deg); } }
/* 썸판독기: 꾹 누르기 */
.rg-some .rg-stage { grid-template-rows: 1fr auto auto; gap: 8px; }
.rg-scan { position: relative; width: 96px; height: 96px; border-radius: 50%; border: 3px solid #7FFFE0; display: grid; place-items: center; overflow: hidden; background: #0E1230; }
.rg-sp { position: relative; width: 56px; height: 70px; }
.rg-beam { position: absolute; left: 0; right: 0; height: 4px; top: 0; background: #7FFFE0; box-shadow: 0 0 10px #3FE0C0; opacity: 0; }
.rg-ov.scan .rg-beam { opacity: 1; animation: rgBeam .6s linear infinite alternate; }
@keyframes rgBeam { to { top: 92px; } }
.rg-gauge { width: 220px; height: 14px; border-radius: 9px; border: 2px solid #fff; overflow: hidden; background: #241A50; }
.rg-gauge i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #7FFFE0, #FF4FA0); }
.rg-hold { padding: 12px 28px; border-radius: 14px; background: #FF4FA0; color: #fff; font-size: 16px; font-weight: 900; border: 3px solid #fff; touch-action: none; }
.rg-ov.scan .rg-hold { transform: translateY(3px); background: #E0337F; }
/* 고백타이밍: 하트 쏘기 */
.rg-confess .rg-stage { grid-template-rows: 1fr auto; }
.rg-lane { position: relative; width: 280px; height: 70px; border-radius: 12px; background: #0E1230; border: 2px solid #6F62A0; display: grid; place-items: center; }
.rg-mid { position: absolute; left: 50%; top: 6px; bottom: 6px; width: 34px; margin-left: -17px; border: 2px dashed #FFD23F; border-radius: 8px; }
.rg-heart { font-size: 34px; will-change: transform; }
.rg-heart.hit { animation: rgPop .5s forwards; }
.rg-shoot { padding: 12px 28px; border-radius: 14px; background: #FF4FA0; color: #fff; font-size: 16px; font-weight: 900; border: 3px solid #fff; }
/* 재회운: 실 잇기 */
.rg-thread { position: relative; width: 300px; max-width: 100%; aspect-ratio: 300 / 120; touch-action: none; }
.rg-thread svg { width: 100%; height: 100%; overflow: visible; }
.rg-thread path { fill: none; stroke: #FF6FA8; stroke-width: 5; stroke-linecap: round; }
.rg-thread .rg-live { stroke-dasharray: 6 4; }
.rg-thread.tied .rg-live { stroke-dasharray: none; filter: drop-shadow(0 0 6px #FF4FA0); }
.rg-knot { position: absolute; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 3px solid #fff; background: #FF4FA0; box-shadow: 0 0 0 6px rgba(255, 79, 160, .25); touch-action: none; }
.rg-knot.a { left: 36.7%; animation: rgPulse 1s infinite; cursor: grab; }
.rg-knot.b { left: 63.3%; background: #6F62A0; }
.rg-thread.tied .rg-knot { background: #FFD23F; animation: none; }
@keyframes rgPulse { 50% { box-shadow: 0 0 0 12px rgba(255, 79, 160, .1); } }
@media (max-width: 360px) { .rg-success .rg-stage { grid-template-columns: 170px 60px; } .rg-stairs { transform: scale(.85); transform-origin: left bottom; } .rg-lane { width: 240px; } }
/* 손님 카드: 나랑 케미 + 도감 스탯 */
.gc-chem { margin-top: 6px; padding: 5px 10px; border-radius: 10px; background: #FFF1F7; font-size: 13px; font-weight: 800; text-align: center; color: #2A1B4A; }
.gc-chem b { color: #C2276E; font-size: 13px; margin-left: 4px; }
.gc-pstats { width: 100%; margin: 6px 0 4px; }
.gc-card.dark .gc-chem { background: rgba(255,79,154,.18); color: #F4B8C8; }
html[data-theme="dark"] .gc-chem { background: rgba(255,79,154,.18); color: #FFE6F2; }
.gc-st { grid-template-columns: 74px 1fr 30px; } .gc-st > span:first-child { white-space: nowrap; font-size: 12px; }
/* 레벨 3부터 카드 배경 그림(radial)이 등급 그라데이션을 덮어써서 카드가 투명해지던 것: 등급별 바탕색을 깔아 둬요 */
.gc-card { background-color: #fff; }
.gc-card.villain { background-color: #ECE2FF; } .gc-card.secret { background-color: #FFF0C2; }
.gc-card.legend { background-color: #ECF8FF; } .gc-card.dark { background-color: #1E0710; }
/* 카드가 옆으로 밀리던 것: 가로 스크롤 막기 */
.gc-card { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
.gc-card .gc-stats, .gc-card .gc-chem, .gc-card .gc-road { max-width: 100%; }
.gc-stage { overflow: hidden; overscroll-behavior: contain; }
/* 플레이어 동그라미: 성별 색 */
.my-ava.g-f { background: #FFD6E8; color: #C2276E; }
.my-ava.g-m { background: #D9E8FF; color: #2B5DB8; }
html[data-theme="dark"] .my-ava.g-f { background: #FFD6E8; color: #C2276E; }
html[data-theme="dark"] .my-ava.g-m { background: #D9E8FF; color: #2B5DB8; }
html[data-theme="dark"] .pl-item.main { background: rgba(255, 210, 63, .14); }
/* ---------- 오라 v2: 등급별 무늬 + 픽셀 불꽃 ---------- */
.au .au-motif, .au .au-fire { border-radius: 0; }
.au .au-motif b, .au .au-fire b { position: absolute; display: block; }
[data-au="3"] .au-motif { opacity: .7; } [data-au="4"] .au-motif { opacity: .9; } [data-au="5"] .au-motif { opacity: 1; }
/* 12지신: 십이지 글자 고리 (내 띠 글자는 금빛) */
.m-zod span, .m-leg span { position: absolute; inset: 4%; animation: auSpin 26s linear infinite; }
.m-zod b, .m-leg b { inset: 0; text-align: center; transform: rotate(calc(var(--i) * 30deg)); font: 900 15px/1 'Noto Serif KR', serif; color: var(--ac); text-shadow: 0 0 4px #fff, 0 0 10px var(--a1); }
.m-zod b.on { color: #FFD23F; font-size: 19px; text-shadow: 0 0 6px #fff, 0 0 14px #FFB800; }
[data-au="5"] .m-zod span { animation-duration: 12s; }
/* 레어: 픽셀 하트가 피어올라요 */
.m-heart b { bottom: 18%; left: calc(8% + var(--i) * 11%); width: 14px; height: 13px; background: var(--ac); clip-path: polygon(0 20%, 15% 0, 40% 0, 50% 15%, 60% 0, 85% 0, 100% 20%, 100% 45%, 50% 100%, 0 45%); filter: drop-shadow(0 0 4px #fff); opacity: 0; animation: auHeart 2.6s ease-in infinite; animation-delay: calc(var(--i) * -.33s); }
.m-heart b:nth-child(odd) { width: 10px; height: 9px; background: #fff; }
@keyframes auHeart { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-150px) scale(1.1); opacity: 0; } }
/* 빌런: 보라 연기 */
.m-smoke b { bottom: 14%; left: calc(4% + var(--i) * 13%); width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 70%, #000) 0, transparent 70%); filter: blur(4px); opacity: 0; animation: auSmoke 3.4s ease-out infinite; animation-delay: calc(var(--i) * -.5s); }
@keyframes auSmoke { 0% { transform: translateY(10px) scale(.5); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-130px) scale(1.8); opacity: 0; } }
/* 시크릿: 금화가 쏟아져요 */
.m-coin b { top: -6%; left: calc(6% + var(--i) * 10.5%); width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFF6B0, #FFC93C 55%, #B8860B); border: 2px solid #8A6400; opacity: 0; animation: auCoin 2.2s linear infinite; animation-delay: calc(var(--i) * -.27s); }
@keyframes auCoin { 0% { transform: translateY(0) rotateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(240px) rotateY(720deg); opacity: 0; } }
/* 신수: 오행 글자 고리 + 큰 오행 문양 */
.m-leg em { position: absolute; inset: 0; display: grid; place-items: center; font: 900 120px/1 'Noto Serif KR', serif; font-style: normal; color: var(--ac); opacity: .28; text-shadow: 0 0 30px var(--ac); animation: auPulse 2.4s ease-in-out infinite; }
.m-leg b { transform: rotate(calc(var(--i) * 45deg)); font-size: 18px; color: #FFE27A; }
/* 흉수: 붉은 균열 조각 */
.m-dark b { bottom: 20%; left: calc(10% + var(--i) * 15%); width: 6px; height: 34px; background: linear-gradient(#FF4A6E, #5A0018); clip-path: polygon(50% 0, 100% 30%, 60% 55%, 100% 100%, 0 100%, 40% 60%, 0 30%); box-shadow: 0 0 8px #FF2050; opacity: 0; animation: auShard 1.8s ease-out infinite; animation-delay: calc(var(--i) * -.3s); }
@keyframes auShard { 0% { transform: translateY(20px) scaleY(.4); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-110px) scaleY(1.2) rotate(15deg); opacity: 0; } }
/* 픽셀 불꽃 (Lv.4~): 캐릭터 뒤에서 일렁여요 */
.au .au-fire { inset: 18% 8% 16%; }
.au-fire b { bottom: 0; left: calc(4% + var(--i) * 10.5%); width: 11%; height: 34%; transform-origin: 50% 100%; background: linear-gradient(to top, var(--ac), color-mix(in srgb, var(--ac) 40%, #fff) 70%, #fff); clip-path: polygon(50% 0, 62% 18%, 75% 12%, 80% 40%, 100% 55%, 100% 100%, 0 100%, 0 55%, 20% 40%, 25% 12%, 38% 18%); animation: auFlick .5s steps(3) infinite alternate; animation-delay: calc(var(--i) * -.13s); }
.au-fire b:nth-child(3n) { height: 52%; } .au-fire b:nth-child(3n+1) { height: 42%; } .au-fire b:nth-child(5) { height: 64%; }
[data-au="4"] .au-fire { opacity: .55; } [data-au="5"] .au-fire { opacity: .85; }
@keyframes auFlick { 0% { transform: scaleY(.75) scaleX(1); } 100% { transform: scaleY(1.15) scaleX(.85); } }
.gc-card.dark .au-fire b, .gc-slot-d.dark .au-fire b { background: linear-gradient(to top, #5A0018, #FF2050 60%, #FFB0C0); }
.gc-auwrap.rep-au .au-fire, .gc-auwrap.rep-au .m-coin, .gc-auwrap.rep-au .m-smoke { display: none; }
@media (prefers-reduced-motion: reduce) { .au-motif *, .au-fire b { animation: none !important; } }
/* 오라 v2 조정: 바탕 빛은 줄이고 무늬·불꽃을 또렷하게 */
[data-au="3"] .au-glow, [data-au="4"] .au-glow, [data-au="5"] .au-glow { opacity: .55; }
[data-au="4"] .au-rays { opacity: .4; } [data-au="5"] .au-rays { opacity: .55; }
[data-au="3"] .au-motif, [data-au="4"] .au-motif, [data-au="5"] .au-motif { opacity: 1; }
.m-zod b, .m-leg b { font-size: 18px; -webkit-text-stroke: .5px #2A1B4A; }
.m-zod b.on { font-size: 22px; }
.m-heart b { width: 20px; height: 18px; background: #FF3E9A; filter: drop-shadow(0 2px 0 #2A1B4A) drop-shadow(0 0 6px #fff); }
.m-heart b:nth-child(odd) { width: 14px; height: 13px; background: #FF9CC8; }
.m-coin b { width: 18px; height: 18px; }
.au .au-fire { inset: 30% 6% 14%; }
.au-fire b { width: 9%; left: calc(5% + var(--i) * 10.3%); background: linear-gradient(to top, color-mix(in srgb, var(--ac) 85%, #000), var(--ac) 45%, #FFE27A 85%, #fff); filter: drop-shadow(0 0 4px var(--ac)); }
[data-au="4"] .au-fire { opacity: .7; } [data-au="5"] .au-fire { opacity: 1; }

/* 픽셀 불꽃 v2: 8x12 도트 불꽃 3프레임 (마스크) */
.au .au-fire { inset: 8% 0 10%; }
.au-fire b { clip-path: none; filter: drop-shadow(0 0 5px var(--ac)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' d='M3 0h1v1h-1zM3 1h1v1h-1zM4 1h1v1h-1zM2 2h1v1h-1zM3 2h1v1h-1zM4 2h1v1h-1zM2 3h1v1h-1zM3 3h1v1h-1zM4 3h1v1h-1zM5 3h1v1h-1zM1 4h1v1h-1zM2 4h1v1h-1zM3 4h1v1h-1zM4 4h1v1h-1zM5 4h1v1h-1zM1 5h1v1h-1zM2 5h1v1h-1zM3 5h1v1h-1zM4 5h1v1h-1zM5 5h1v1h-1zM6 5h1v1h-1zM1 6h1v1h-1zM2 6h1v1h-1zM3 6h1v1h-1zM4 6h1v1h-1zM5 6h1v1h-1zM6 6h1v1h-1zM0 7h1v1h-1zM1 7h1v1h-1zM2 7h1v1h-1zM3 7h1v1h-1zM4 7h1v1h-1zM5 7h1v1h-1zM6 7h1v1h-1zM7 7h1v1h-1zM0 8h1v1h-1zM1 8h1v1h-1zM2 8h1v1h-1zM3 8h1v1h-1zM4 8h1v1h-1zM5 8h1v1h-1zM6 8h1v1h-1zM7 8h1v1h-1zM0 9h1v1h-1zM1 9h1v1h-1zM2 9h1v1h-1zM3 9h1v1h-1zM4 9h1v1h-1zM5 9h1v1h-1zM6 9h1v1h-1zM7 9h1v1h-1zM1 10h1v1h-1zM2 10h1v1h-1zM3 10h1v1h-1zM4 10h1v1h-1zM5 10h1v1h-1zM6 10h1v1h-1zM2 11h1v1h-1zM3 11h1v1h-1zM4 11h1v1h-1zM5 11h1v1h-1zM12 0h1v1h-1zM11 1h1v1h-1zM12 1h1v1h-1zM11 2h1v1h-1zM12 2h1v1h-1zM13 2h1v1h-1zM10 3h1v1h-1zM11 3h1v1h-1zM12 3h1v1h-1zM13 3h1v1h-1zM10 4h1v1h-1zM11 4h1v1h-1zM12 4h1v1h-1zM13 4h1v1h-1zM14 4h1v1h-1zM9 5h1v1h-1zM10 5h1v1h-1zM11 5h1v1h-1zM12 5h1v1h-1zM13 5h1v1h-1zM14 5h1v1h-1zM9 6h1v1h-1zM10 6h1v1h-1zM11 6h1v1h-1zM12 6h1v1h-1zM13 6h1v1h-1zM14 6h1v1h-1zM8 7h1v1h-1zM9 7h1v1h-1zM10 7h1v1h-1zM11 7h1v1h-1zM12 7h1v1h-1zM13 7h1v1h-1zM14 7h1v1h-1zM15 7h1v1h-1zM8 8h1v1h-1zM9 8h1v1h-1zM10 8h1v1h-1zM11 8h1v1h-1zM12 8h1v1h-1zM13 8h1v1h-1zM14 8h1v1h-1zM15 8h1v1h-1zM8 9h1v1h-1zM9 9h1v1h-1zM10 9h1v1h-1zM11 9h1v1h-1zM12 9h1v1h-1zM13 9h1v1h-1zM14 9h1v1h-1zM15 9h1v1h-1zM9 10h1v1h-1zM10 10h1v1h-1zM11 10h1v1h-1zM12 10h1v1h-1zM13 10h1v1h-1zM14 10h1v1h-1zM10 11h1v1h-1zM11 11h1v1h-1zM12 11h1v1h-1zM13 11h1v1h-1zM18 0h1v1h-1zM18 1h1v1h-1zM19 1h1v1h-1zM18 2h1v1h-1zM19 2h1v1h-1zM20 2h1v1h-1zM22 2h1v1h-1zM17 3h1v1h-1zM18 3h1v1h-1zM19 3h1v1h-1zM20 3h1v1h-1zM21 3h1v1h-1zM17 4h1v1h-1zM18 4h1v1h-1zM19 4h1v1h-1zM20 4h1v1h-1zM21 4h1v1h-1zM22 4h1v1h-1zM17 5h1v1h-1zM18 5h1v1h-1zM19 5h1v1h-1zM20 5h1v1h-1zM21 5h1v1h-1zM22 5h1v1h-1zM16 6h1v1h-1zM17 6h1v1h-1zM18 6h1v1h-1zM19 6h1v1h-1zM20 6h1v1h-1zM21 6h1v1h-1zM22 6h1v1h-1zM23 6h1v1h-1zM16 7h1v1h-1zM17 7h1v1h-1zM18 7h1v1h-1zM19 7h1v1h-1zM20 7h1v1h-1zM21 7h1v1h-1zM22 7h1v1h-1zM23 7h1v1h-1zM16 8h1v1h-1zM17 8h1v1h-1zM18 8h1v1h-1zM19 8h1v1h-1zM20 8h1v1h-1zM21 8h1v1h-1zM22 8h1v1h-1zM23 8h1v1h-1zM16 9h1v1h-1zM17 9h1v1h-1zM18 9h1v1h-1zM19 9h1v1h-1zM20 9h1v1h-1zM21 9h1v1h-1zM22 9h1v1h-1zM23 9h1v1h-1zM17 10h1v1h-1zM18 10h1v1h-1zM19 10h1v1h-1zM20 10h1v1h-1zM21 10h1v1h-1zM22 10h1v1h-1zM18 11h1v1h-1zM19 11h1v1h-1zM20 11h1v1h-1zM21 11h1v1h-1z'/%3E%3C/svg%3E") 0 0 / 300% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' shape-rendering='crispEdges'%3E%3Cpath fill='%23fff' d='M3 0h1v1h-1zM3 1h1v1h-1zM4 1h1v1h-1zM2 2h1v1h-1zM3 2h1v1h-1zM4 2h1v1h-1zM2 3h1v1h-1zM3 3h1v1h-1zM4 3h1v1h-1zM5 3h1v1h-1zM1 4h1v1h-1zM2 4h1v1h-1zM3 4h1v1h-1zM4 4h1v1h-1zM5 4h1v1h-1zM1 5h1v1h-1zM2 5h1v1h-1zM3 5h1v1h-1zM4 5h1v1h-1zM5 5h1v1h-1zM6 5h1v1h-1zM1 6h1v1h-1zM2 6h1v1h-1zM3 6h1v1h-1zM4 6h1v1h-1zM5 6h1v1h-1zM6 6h1v1h-1zM0 7h1v1h-1zM1 7h1v1h-1zM2 7h1v1h-1zM3 7h1v1h-1zM4 7h1v1h-1zM5 7h1v1h-1zM6 7h1v1h-1zM7 7h1v1h-1zM0 8h1v1h-1zM1 8h1v1h-1zM2 8h1v1h-1zM3 8h1v1h-1zM4 8h1v1h-1zM5 8h1v1h-1zM6 8h1v1h-1zM7 8h1v1h-1zM0 9h1v1h-1zM1 9h1v1h-1zM2 9h1v1h-1zM3 9h1v1h-1zM4 9h1v1h-1zM5 9h1v1h-1zM6 9h1v1h-1zM7 9h1v1h-1zM1 10h1v1h-1zM2 10h1v1h-1zM3 10h1v1h-1zM4 10h1v1h-1zM5 10h1v1h-1zM6 10h1v1h-1zM2 11h1v1h-1zM3 11h1v1h-1zM4 11h1v1h-1zM5 11h1v1h-1zM12 0h1v1h-1zM11 1h1v1h-1zM12 1h1v1h-1zM11 2h1v1h-1zM12 2h1v1h-1zM13 2h1v1h-1zM10 3h1v1h-1zM11 3h1v1h-1zM12 3h1v1h-1zM13 3h1v1h-1zM10 4h1v1h-1zM11 4h1v1h-1zM12 4h1v1h-1zM13 4h1v1h-1zM14 4h1v1h-1zM9 5h1v1h-1zM10 5h1v1h-1zM11 5h1v1h-1zM12 5h1v1h-1zM13 5h1v1h-1zM14 5h1v1h-1zM9 6h1v1h-1zM10 6h1v1h-1zM11 6h1v1h-1zM12 6h1v1h-1zM13 6h1v1h-1zM14 6h1v1h-1zM8 7h1v1h-1zM9 7h1v1h-1zM10 7h1v1h-1zM11 7h1v1h-1zM12 7h1v1h-1zM13 7h1v1h-1zM14 7h1v1h-1zM15 7h1v1h-1zM8 8h1v1h-1zM9 8h1v1h-1zM10 8h1v1h-1zM11 8h1v1h-1zM12 8h1v1h-1zM13 8h1v1h-1zM14 8h1v1h-1zM15 8h1v1h-1zM8 9h1v1h-1zM9 9h1v1h-1zM10 9h1v1h-1zM11 9h1v1h-1zM12 9h1v1h-1zM13 9h1v1h-1zM14 9h1v1h-1zM15 9h1v1h-1zM9 10h1v1h-1zM10 10h1v1h-1zM11 10h1v1h-1zM12 10h1v1h-1zM13 10h1v1h-1zM14 10h1v1h-1zM10 11h1v1h-1zM11 11h1v1h-1zM12 11h1v1h-1zM13 11h1v1h-1zM18 0h1v1h-1zM18 1h1v1h-1zM19 1h1v1h-1zM18 2h1v1h-1zM19 2h1v1h-1zM20 2h1v1h-1zM22 2h1v1h-1zM17 3h1v1h-1zM18 3h1v1h-1zM19 3h1v1h-1zM20 3h1v1h-1zM21 3h1v1h-1zM17 4h1v1h-1zM18 4h1v1h-1zM19 4h1v1h-1zM20 4h1v1h-1zM21 4h1v1h-1zM22 4h1v1h-1zM17 5h1v1h-1zM18 5h1v1h-1zM19 5h1v1h-1zM20 5h1v1h-1zM21 5h1v1h-1zM22 5h1v1h-1zM16 6h1v1h-1zM17 6h1v1h-1zM18 6h1v1h-1zM19 6h1v1h-1zM20 6h1v1h-1zM21 6h1v1h-1zM22 6h1v1h-1zM23 6h1v1h-1zM16 7h1v1h-1zM17 7h1v1h-1zM18 7h1v1h-1zM19 7h1v1h-1zM20 7h1v1h-1zM21 7h1v1h-1zM22 7h1v1h-1zM23 7h1v1h-1zM16 8h1v1h-1zM17 8h1v1h-1zM18 8h1v1h-1zM19 8h1v1h-1zM20 8h1v1h-1zM21 8h1v1h-1zM22 8h1v1h-1zM23 8h1v1h-1zM16 9h1v1h-1zM17 9h1v1h-1zM18 9h1v1h-1zM19 9h1v1h-1zM20 9h1v1h-1zM21 9h1v1h-1zM22 9h1v1h-1zM23 9h1v1h-1zM17 10h1v1h-1zM18 10h1v1h-1zM19 10h1v1h-1zM20 10h1v1h-1zM21 10h1v1h-1zM22 10h1v1h-1zM18 11h1v1h-1zM19 11h1v1h-1zM20 11h1v1h-1zM21 11h1v1h-1z'/%3E%3C/svg%3E") 0 0 / 300% 100% no-repeat; background: linear-gradient(to top, color-mix(in srgb, var(--ac) 80%, #000) 0, var(--ac) 35%, #FFD23F 70%, #FFF6C8 100%); image-rendering: pixelated; animation: auFlame .45s steps(1) infinite; animation-delay: calc(var(--i) * -.15s); transform: none; }
@keyframes auFlame { 0% { -webkit-mask-position: 0 0; mask-position: 0 0; } 33% { -webkit-mask-position: 50% 0; mask-position: 50% 0; } 66% { -webkit-mask-position: 100% 0; mask-position: 100% 0; } }
.au-fire b { width: 15%; height: auto; aspect-ratio: 8 / 12; bottom: 0; }
.au-fire b:nth-child(1) { left: 2%; width: 13%; bottom: 14%; }
.au-fire b:nth-child(2) { left: 13%; width: 18%; bottom: 4%; }
.au-fire b:nth-child(3) { left: 27%; width: 11%; bottom: 0; }
.au-fire b:nth-child(4) { left: 62%; width: 11%; bottom: 0; }
.au-fire b:nth-child(5) { left: 69%; width: 18%; bottom: 4%; }
.au-fire b:nth-child(6) { left: 85%; width: 13%; bottom: 14%; }
.au-fire b:nth-child(7) { left: 7%; width: 9%; bottom: 36%; animation-duration: .6s; }
.au-fire b:nth-child(8) { left: 84%; width: 9%; bottom: 36%; animation-duration: .6s; }
.au-fire b:nth-child(9) { display: none; }
.gc-card.dark .au-fire b { background: linear-gradient(to top, #3A0010, #C8102E 40%, #FF4A6E 75%, #FFC0CC); }
/* 사주 표: 가운데 정렬 · 두 사람은 좌우 대칭 */
.sj-wrap { display: flex; justify-content: center; gap: 10px; margin: 8px 0 4px; }
.sj-one { flex: 1 1 0; max-width: 280px; min-width: 0; text-align: center; }
.sj-nm { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 800; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sj-wrap .sj-mini { margin: 0; }
.sj-wrap.n2 .sj-mini { font-size: 16px; }
.sj-wrap.n2 .sj-mini th { font-size: 12px; }
.sj-wrap.n2 .sj-mini td { padding: 5px 0; }
/* ---------- 결혼운 ---------- */
.mr-hero { text-align: center; }
.mr-hero > small { font-size: 12px; color: var(--ink-2); }
.mr-ico { font-size: 44px; line-height: 1.2; }
.mr-one { font-weight: 800; color: var(--pink-text); word-break: keep-all; }
.mr-tops { display: grid; gap: 8px; }
.mr-top { position: relative; padding: 10px 12px 10px 64px; border-radius: 14px; border: 2px solid var(--ink); background: #FFF6FA; min-height: 54px; }
.mr-top > span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: #E0337F; }
.mr-top.r1 { background: linear-gradient(90deg, #FFF3C4, #FFE3EF); border-color: #C99400; } .mr-top.r1 > span { background: #C99400; }
.mr-top > b { display: block; font-family: var(--title); font-weight: 400; font-size: 22px; }
.mr-top > small { font-size: 12px; color: var(--ink-2); font-weight: 700; }
.mr-top ul { margin: 6px 0 0; padding-left: 16px; font-size: 13px; line-height: 1.55; word-break: keep-all; }
.mr-lockt { margin: 2px 0 0; font-size: 12px; color: var(--ink-2); text-align: center; }
.mr-graph { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; align-items: end; height: 150px; padding-top: 6px; }
.mr-graph > div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 2px; }
.mr-graph i { width: 70%; min-height: 6px; border-radius: 6px 6px 2px 2px; background: #F2C4D8; border: 2px solid var(--ink); }
.mr-graph .on i { background: linear-gradient(#FFD23F, #FF4FA0); box-shadow: 0 0 10px rgba(255, 79, 160, .6); }
.mr-graph small { font-size: 10px; font-weight: 800; } .mr-graph em { font-style: normal; font-size: 9px; color: var(--ink-2); }
.mr-graph.lock i { filter: blur(1.5px); }
.mr-d { font-size: 13px; margin-top: 8px; word-break: keep-all; }
html[data-theme="dark"] .mr-top { background: rgba(255,255,255,.06); }
html[data-theme="dark"] .mr-top.r1 { background: rgba(255, 210, 63, .14); }
/* 반지 상자 (결과 직전 연출) */
.rg-ring { position: relative; width: 150px; height: 150px; }
.rg-box2 { position: absolute; left: 25px; right: 25px; bottom: 18px; height: 60px; border-radius: 10px; background: linear-gradient(#C2276E, #7A0F45); border: 3px solid #2A1B4A; }
.rg-lid { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 74px; height: 34px; border-radius: 14px 14px 6px 6px; background: linear-gradient(#E0337F, #A01858); border: 3px solid #2A1B4A; transform-origin: 50% 100%; transition: transform .3s; }
.rg-gem { position: absolute; left: 50%; bottom: 52px; margin-left: -22px; font-size: 44px; opacity: 0; transform: scale(.4); transition: all .4s; }
.rg-ov[data-n="1"] .rg-lid { transform: rotate(-8deg); } .rg-ov[data-n="2"] .rg-lid { transform: rotate(8deg) translateY(-4px); }
.rg-ov.won .rg-lid { transform: translateY(-34px) rotate(-24deg); } .rg-ov.won .rg-gem { opacity: 1; transform: scale(1.15); filter: drop-shadow(0 0 14px #FFF3A0); }
.mr-mon { margin: 6px 0 0; font-size: 13px; } .mr-mon b { color: var(--pink-text); }
.mr-tip { margin: 6px 0 0; padding: 7px 9px; border-radius: 10px; background: rgba(255, 255, 255, .7); font-size: 13px; line-height: 1.55; word-break: keep-all; }
.mr-band { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; font-size: 13px; line-height: 1.55; word-break: keep-all; background: #F4F0FB; }
.mr-band.b-high { background: #FFE3EF; } .mr-band.b-low { background: #EEF4FF; }
.mr-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.mr-check li { padding: 8px 10px 8px 34px; position: relative; border-radius: 10px; background: #F4F0FB; font-size: 14px; word-break: keep-all; }
.mr-check li::before { content: '☐'; position: absolute; left: 11px; top: 7px; color: var(--pink-text); font-weight: 900; }
html[data-theme="dark"] .mr-tip, html[data-theme="dark"] .mr-band, html[data-theme="dark"] .mr-check li { background: rgba(255,255,255,.07); }
.mr-years { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.mr-years li { display: grid; grid-template-columns: 92px 1fr; gap: 6px; align-items: baseline; padding: 6px 8px; border-radius: 8px; font-size: 13px; word-break: keep-all; }
.mr-years li:nth-child(odd) { background: rgba(42, 27, 74, .04); }
.mr-years li.on { background: #FFE3EF; font-weight: 700; }
.mr-years b small { font-weight: 400; color: var(--ink-2); font-size: 11px; }
html[data-theme="dark"] .mr-years li.on { background: rgba(255,79,154,.18); }
/* ---------- 재회 가능성 리뉴얼 ---------- */
.rn-cs { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 14px 14px; background: #0B0820; border-color: #2A1B4A; text-align: center; overflow: hidden; }
.rn-cs::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 2px, transparent 2px 4px); }
.rn-cs .rn-cont { font-size: 16px; color: #FFD23F; text-shadow: 0 0 10px #FF9F1C; }
.rn-cs .rn-num { font-family: var(--px); font-size: 40px; line-height: 1.1; color: #fff; text-shadow: 0 0 14px #FF4FA0; margin: 4px 0; }
.rn-duo { display: flex; align-items: flex-end; justify-content: center; gap: 6px; height: 84px; }
.rn-duo .rn-who { width: 60px; height: 75px; }
.rn-hrt { font-size: 26px; margin-bottom: 26px; filter: drop-shadow(0 0 6px #FF4FA0); animation: rnBeat 1.1s ease-in-out infinite; }
@keyframes rnBeat { 50% { transform: scale(1.18); } }
.rn-hp { display: flex; gap: 4px; justify-content: center; margin-top: 6px; }
.rn-hp i { width: 22px; height: 19px; background: #3A2E5E; clip-path: polygon(0 25%, 15% 0, 40% 0, 50% 15%, 60% 0, 85% 0, 100% 25%, 100% 50%, 50% 100%, 0 50%); transition: background .15s; }
.rn-hp i.on { background: #FF4FA0; filter: drop-shadow(0 0 4px #FF4FA0); }
.rn-hpt { font-style: normal; font-size: 13px; color: #CFC3F0; }
.rn-yn { display: flex; gap: 8px; justify-content: center; margin-top: 10px; position: relative; z-index: 1; }
.rn-yn a { padding: 9px 14px; border-radius: 10px; font-weight: 900; font-size: 14px; text-decoration: none; }
.rn-yes { background: #FF4FA0; color: #fff; border: 2px solid #fff; animation: rnBlinkB 1s steps(2) infinite; }
.rn-no { background: #2A1B4A; color: #CFC3F0; border: 2px solid #6F62A0; }
@keyframes rnBlinkB { 50% { box-shadow: 0 0 14px #FF4FA0; } }
.rn-board.counting .rn-hrt { animation: none; opacity: .4; }
/* 추억 카드 */
.rn-mg { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 8px; margin: 8px 0; }
.rn-mc { position: relative; aspect-ratio: 3 / 4; padding: 0; border: 2px solid var(--ink); border-radius: 12px; cursor: pointer; perspective: 600px; background: none; }
.rn-mc span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 10px; backface-visibility: hidden; transition: transform .45s; }
.rn-mc .b { background: repeating-linear-gradient(45deg, #6F62A0 0 6px, #5E4BC8 6px 12px); color: #fff; font-weight: 900; font-size: 26px; }
.rn-mc .f { background: linear-gradient(#FFD6E8, #FF9CC8); font-size: 30px; transform: rotateY(180deg); }
.rn-mc.flip .b { transform: rotateY(180deg); } .rn-mc.flip .f { transform: rotateY(360deg); }
.rn-mc.cur { box-shadow: 0 0 0 3px #FF4FA0; }
.rn-mtxt { min-height: 64px; }
.rn-mhint { margin: 4px 0; text-align: center; font-size: 13px; color: var(--ink-2); }
.rn-mt { padding: 10px 12px; border-radius: 12px; background: #F3EEFF; display: grid; gap: 4px; line-height: 1.6; }
.rn-mt b { font-size: 15px; } .rn-mt small { font-size: 13px; color: var(--ink-2); }
/* 스테이지 맵 */
.rn-map { position: relative; height: 200px; margin: 10px 0 6px; border-radius: 14px; background: linear-gradient(#2E1F7A, #4F6CC8); border: 3px solid var(--ink); overflow: hidden; }
.rn-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.rn-path path { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.4; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.rn-node { position: absolute; width: 22%; display: grid; justify-items: center; gap: 1px; color: #fff; text-align: center; }
.rn-node i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; border: 3px solid #fff; background: #FF4FA0; font-style: normal; font-weight: 900; box-shadow: 0 0 12px #FF4FA0; }
.rn-node b { font-size: 11px; white-space: nowrap; } .rn-node small { font-size: 9px; color: #E6DBFF; font-family: var(--px); }
.rn-node.ng i { background: #3A2E5E; border-color: #8E80C8; box-shadow: none; color: #CFC3F0; }
.rn-node.boss i { width: 42px; height: 42px; background: #FFD23F; color: #2A1B4A; box-shadow: 0 0 16px #FFD23F; animation: rnBeat 1.4s ease-in-out infinite; }
.rn-walk { position: absolute; left: 4%; top: 30%; width: 30px; height: 38px; animation: rnWalk 6s ease-in-out infinite; }
@keyframes rnWalk { 0% { left: 4%; top: 36%; } 50% { left: 44%; top: 40%; } 100% { left: 84%; top: 14%; } }
/* 메신저 */
.rn-chat { margin: 8px 0; padding: 10px; border-radius: 14px; background: #B7C9DE; border: 2px solid var(--ink); }
.rn-log { min-height: 92px; padding: 10px; border-radius: 10px; background: #9BB1CC; display: flex; flex-direction: column; gap: 8px; }
.rn-b { max-width: 82%; padding: 8px 11px; border-radius: 14px; font-size: 14px; line-height: 1.55; word-break: keep-all; color: #2A1B4A; }
.rn-b.me { align-self: flex-end; background: #FFE94A; border-bottom-right-radius: 4px; }
.rn-b.me.bad { background: #FFD0D0; }
.rn-b.you { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.rn-b small { display: block; font-size: 10px; color: #8A7AAE; }
.rn-b.warn { align-self: center; max-width: 100%; background: rgba(42,27,74,.82); color: #fff; font-size: 13px; }
.rn-typing { align-self: flex-start; padding: 6px 12px; border-radius: 14px; background: #fff; color: #999; font-weight: 900; letter-spacing: 3px; animation: blink .6s steps(2) infinite; }
.rn-pick { margin: 8px 2px 6px; font-size: 13px; font-weight: 800; color: #2A1B4A; }
.rn-opts { display: grid; gap: 6px; }
.rn-opt { display: flex; justify-content: space-between; align-items: center; gap: 8px; text-align: left; padding: 9px 11px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; font-size: 13px; line-height: 1.5; color: #2A1B4A; cursor: pointer; }
.rn-opt b { flex: none; font-size: 11px; color: #E0337F; } .rn-opt.ng { background: #F3F0F7; } .rn-opt.ng span { text-decoration: line-through; color: #8A7AAE; } .rn-opt.ng b { color: #8A7AAE; }
.rn-opt:active { transform: translateY(2px); }
html[data-theme="dark"] .rn-mt { background: rgba(255,255,255,.07); }
@media (prefers-reduced-motion: reduce) { .rn-hrt, .rn-yes, .rn-walk, .rn-node.boss i { animation: none; } }
.rn-mt[hidden] { display: none; }
.rn-walk { animation: rnBob 1s steps(2) infinite; }
@keyframes rnBob { 50% { transform: translateY(-3px); } }
@media (max-width: 380px) { .rn-hp { gap: 3px; } .rn-hp i { width: 18px; height: 16px; } .rn-yn a { padding: 8px 10px; font-size: 13px; } }
.rn-yn a { white-space: nowrap; }
/* ---------- 미래 배우자 · WANTED 몽타주 ---------- */
.sp-wanted { position: relative; text-align: center; background: #F3E2B8; border-color: #5A3A1A; box-shadow: 0 4px 0 #5A3A1A; }
.sp-wanted::before { content: ''; position: absolute; inset: 6px; border: 2px dashed rgba(90, 58, 26, .35); border-radius: 12px; pointer-events: none; }
.sp-wt { margin: 0; font-family: 'Noto Serif KR', serif; font-weight: 900; font-size: 36px; letter-spacing: 8px; color: #5A3A1A; }
.sp-ws { margin: 0 0 8px; font-size: 13px; font-weight: 800; color: #6B4A26; }
.sp-face { position: relative; width: 200px; height: 220px; margin: 0 auto; border: 4px solid #5A3A1A; background: #E8D19A; overflow: hidden; }
.sp-sil, .sp-img { position: absolute; inset: 10px 10px 0; width: calc(100% - 20px); height: calc(100% - 10px); }
.sp-img { object-fit: contain; image-rendering: auto; }
.sp-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.sp-tile { display: grid; place-content: center; gap: 2px; border: 1px dashed #B08A4A; background: repeating-linear-gradient(45deg, #E8D19A 0 8px, #DFC68A 8px 16px); color: #5A3A1A; font-weight: 900; cursor: pointer; transition: opacity .35s, transform .35s; }
.sp-tile span { font-size: 15px; } .sp-tile small { font-size: 11px; }
.sp-tile:not([data-lock]) span { animation: blink .9s steps(2) infinite; }
.sp-tile.off { opacity: 0; transform: scale(.85) rotate(-6deg); pointer-events: none; }
.sp-tile.nope { animation: spNope .3s; }
@keyframes spNope { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.sp-stamp { position: absolute; right: 6px; top: 12px; transform: rotate(14deg); padding: 2px 8px; border: 3px solid #E0337F; border-radius: 6px; color: #E0337F; font-weight: 900; font-family: var(--px); font-size: 12px; background: rgba(255,255,255,.75); animation: spStamp .4s ease-out; }
@keyframes spStamp { 0% { transform: rotate(14deg) scale(2.2); opacity: 0; } 100% { transform: rotate(14deg) scale(1); opacity: 1; } }
.sp-wanted.found .sp-face { box-shadow: 0 0 0 3px #FFD23F, 0 0 18px rgba(255, 210, 63, .8); }
.sp-cnt { margin: 6px 0; font-size: 13px; font-weight: 800; color: #5A3A1A; } .sp-cnt b { color: #E0337F; }
.sp-list { list-style: none; margin: 0; padding: 8px 10px; text-align: left; border: 2px solid #5A3A1A; border-radius: 10px; background: #FFF8E4; display: grid; gap: 6px; }
.sp-list li { display: grid; grid-template-columns: 92px 1fr; gap: 6px; font-size: 13px; line-height: 1.55; word-break: keep-all; color: #2A1B4A; }
.sp-list em { font-style: normal; font-weight: 800; color: #6B4A26; }
.sp-list .q { color: #A08A6A; } .sp-list li.on .v { animation: spIn .4s ease-out; } .sp-list .v b { color: #A01858; }
@keyframes spIn { from { opacity: 0; transform: translateY(4px); } }
.sp-free { margin: 8px 0 0; font-size: 12px; font-weight: 800; color: #6B4A26; }
.sp-sub { font-weight: 800; color: var(--pink-text); margin-bottom: 4px; }
.sp-rule { font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.sp-dates { display: flex; flex-wrap: wrap; gap: 6px; } .sp-dates span { padding: 6px 12px; border-radius: 999px; background: #FFE3EF; font-size: 13px; font-weight: 700; }
html[data-theme="dark"] .sp-dates span { background: rgba(255,79,154,.18); }
.rg-mag span { font-size: 96px; display: block; filter: drop-shadow(0 0 14px #FFD23F); animation: rgWig 1.2s ease-in-out infinite; }
.rg-ov.won .rg-mag span { animation: rgPop .5s forwards; }
.sp-word { margin: 8px 0; padding: 10px 12px; border-radius: 12px; background: #FFF1F7; border: 2px dashed #FF9CC8; }
.sp-word small { display: block; font-size: 12px; font-weight: 800; color: var(--pink-text); } .sp-word b { font-size: 14px; line-height: 1.6; }
.sp-gift span { background: #FFF3C4; }
html[data-theme="dark"] .sp-word { background: rgba(255,79,154,.12); } html[data-theme="dark"] .sp-gift span { background: rgba(255,210,63,.16); }
.sp-sig li::before { content: '♡'; }
.sp .mr-tip { background: #F4F0FB; }
.sp-tags { margin: 8px 0 0; font-size: 13px; font-weight: 800; color: #A01858; word-break: keep-all; }
.sp-step { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: st; }
.sp-step li { position: relative; padding: 9px 10px 9px 74px; border-radius: 12px; background: #F4F0FB; font-size: 14px; line-height: 1.6; word-break: keep-all; }
.sp-step li b { position: absolute; left: 10px; top: 9px; font-size: 12px; color: var(--pink-text); }
html[data-theme="dark"] .sp-step li { background: rgba(255,255,255,.07); }
.sp-dl { margin: 8px 0; display: grid; gap: 6px; }
.sp-dl > div { display: grid; grid-template-columns: 74px 1fr; gap: 6px; padding: 8px 10px; border-radius: 10px; background: #FFF8E4; font-size: 14px; line-height: 1.6; word-break: keep-all; }
.sp-dl dt { font-weight: 800; font-size: 13px; color: #6B4A26; } .sp-dl dd { margin: 0; }
.sp-pros { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.sp-pros > div { display: grid; gap: 4px; align-content: start; padding: 10px; border-radius: 12px; background: #F4F0FB; }
.sp-pros b { font-size: 13px; } .sp-pros span { font-size: 13px; line-height: 1.5; word-break: keep-all; }
.sp-pros span::before { content: '· '; color: var(--pink-text); }
.sp-say { display: grid; gap: 6px; } .sp-say span { justify-self: start; padding: 7px 12px; border-radius: 14px 14px 14px 4px; background: #fff; border: 2px solid var(--ink); font-size: 14px; }
.sp-dw { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sp-dw li { padding: 8px 10px; border-radius: 10px; background: #FFE3EF; display: grid; gap: 2px; font-size: 13px; line-height: 1.55; word-break: keep-all; } .sp-dw b { font-size: 14px; }
html[data-theme="dark"] .sp-dl > div, html[data-theme="dark"] .sp-pros > div { background: rgba(255,255,255,.07); } html[data-theme="dark"] .sp-dw li { background: rgba(255,79,154,.14); } html[data-theme="dark"] .sp-say span { background: #1B1238; }
.sp-early { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 14px; line-height: 1.6; word-break: keep-all; }
.sp-mon { display: flex; gap: 8px; margin: 6px 0 8px; } .sp-mon span { flex: 1; text-align: center; padding: 10px 4px; border-radius: 12px; border: 2px solid var(--ink); background: linear-gradient(#FFF3C4, #FFE3EF); font-weight: 900; font-size: 15px; }
.sp-hob li { background: #E6F7EE; } html[data-theme="dark"] .sp-hob li { background: rgba(63, 224, 192, .12); }
html[data-theme="dark"] .sp-mon span { background: rgba(255, 210, 63, .14); }
.sp-face .sp-img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.15) contrast(1.02); }
.sp-wanted.found .sp-img { animation: spReveal .6s ease-out; }
@keyframes spReveal { from { filter: sepia(.15) blur(2px); } }
/* 결혼운: 반지 상자 */
.mr-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 6px 0; }
.mr-box { position: relative; display: grid; justify-items: center; gap: 2px; padding: 44px 4px 10px; border-radius: 14px; border: 3px solid var(--ink); background: linear-gradient(#FFE3EF, #FFC2DE); cursor: pointer; overflow: hidden; color: #2A1B4A; }
.mr-box.r1 { background: linear-gradient(#FFF3C4, #FFD6A0); border-color: #8A5A00; }
.mr-box .lid { position: absolute; left: 10%; right: 10%; top: 8px; height: 30px; border-radius: 8px 8px 4px 4px; background: linear-gradient(#E0337F, #A01858); border: 2px solid #2A1B4A; transition: transform .35s; }
.mr-box.r1 .lid { background: linear-gradient(#FFD23F, #C99400); }
.mr-box .lid::after { content: ''; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 8px; margin-left: -4px; background: #FFF3A0; }
.mr-box .gem { position: absolute; top: 6px; font-size: 26px; opacity: 0; transform: scale(.4); transition: all .35s .1s; }
.mr-box b { font-family: var(--title); font-weight: 400; font-size: 22px; line-height: 1; filter: blur(5px); transition: filter .3s .15s; }
.mr-box small { font-size: 11px; font-weight: 800; color: var(--ink-2); }
.mr-box em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--pink-text); }
.mr-box:not(.open) em { animation: blink 1s steps(2) infinite; }
.mr-box.open .lid { transform: translateY(-40px) rotate(-18deg); }
.mr-box.open .gem { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 8px #FFF3A0); }
.mr-box.open b { filter: none; }
.mr-box.open.r1 { box-shadow: 0 0 16px rgba(255, 210, 63, .9); }
.mr-boxes.mr-locked .mr-box b { filter: none; } .mr-boxes.mr-locked .mr-box em { animation: none; }
.mr-box.nope { animation: spNope .3s; }
.mr-boxhint { margin: 0 0 8px; text-align: center; font-size: 12px; color: var(--ink-2); } .mr-boxhint a { color: var(--pink-text); font-weight: 800; }
.mr-tops-d { display: grid; gap: 8px; }
.mr-top[hidden] { display: none; }
/* 웨딩 로드 */
.mr-road { position: relative; margin: 8px 0 4px; padding: 44px 6px 8px; border-radius: 14px; border: 3px solid var(--ink); background: linear-gradient(#DDF6EE, #BFEBD6); }
.mr-lane { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 3px; position: relative; }
.mr-lane::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; height: 4px; background: repeating-linear-gradient(90deg, #fff 0 8px, transparent 8px 14px); }
.mr-cell { position: relative; display: grid; justify-items: center; gap: 1px; }
.mr-cell span { width: 100%; height: 28px; border-radius: 6px; border: 2px solid #2A1B4A; background: rgba(255, 79, 160, var(--lv)); }
.mr-cell b { font-size: 10px; } .mr-cell small { font-size: 8px; color: var(--ink-2); }
.mr-cell.t1 span { background: linear-gradient(#FFD23F, #FF4FA0); box-shadow: 0 0 10px #FFD23F; }
.mr-cell i { position: absolute; top: -26px; font-style: normal; font-size: 18px; } .mr-cell i.bell { animation: mrBell 1s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes mrBell { 25% { transform: rotate(14deg); } 75% { transform: rotate(-14deg); } }
.mr-walkers { position: absolute; top: 6px; left: 6px; display: flex; gap: 0; animation: mrWalk 3.2s steps(16) forwards; }
@keyframes mrWalk { to { left: calc(6px + (100% - 12px) * var(--to) / var(--n) - 14px); } }
.mr-roadt { margin: 6px 0 0; font-size: 11px; color: #3C6B57; text-align: center; }
html[data-theme="dark"] .mr-road { background: linear-gradient(#1B3A33, #12302A); } html[data-theme="dark"] .mr-roadt { color: #9EDBC4; }
html[data-theme="dark"] .mr-box { color: #2A1B4A; }
@media (prefers-reduced-motion: reduce) { .mr-walkers { animation: none; left: calc(6px + (100% - 12px) * var(--to) / var(--n) - 14px); } .mr-cell i.bell { animation: none; } }
@keyframes mrWalk { to { left: calc(6px + (100% - 12px) * var(--to) / var(--n) - 50px); } }
.mr-cell i.bell { top: -30px; font-size: 20px; }
@media (max-width: 360px) { .mr-top { padding: 10px 12px; } .mr-top > span { position: static; transform: none; width: auto; height: auto; display: inline-block; padding: 2px 8px; border-radius: 999px; margin-bottom: 4px; } }
.round .mr-road p.mr-roadt { font-size: 11px; line-height: 1.5; }
/* ---------- 썸 판독기 보강 ---------- */
.sm-radar { display: grid; justify-items: center; gap: 6px; padding: 12px; border-radius: 16px; border: 3px solid var(--ink); background: #0E1A16; color: #7FFFE0; text-align: center; }
.sm-radar > span { font-size: 11px; } .sm-radar > small { font-size: 12px; color: #A8F0DC; }
.sm-scope { position: relative; width: 170px; height: 170px; border-radius: 50%; border: 2px solid #3FE0C0; background: radial-gradient(circle, transparent 0 28%, rgba(63,224,192,.25) 28.5% 29%, transparent 29.5% 58%, rgba(63,224,192,.25) 58.5% 59%, transparent 59.5%), #08130F; overflow: hidden; }
.sm-scope .sw { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(63,224,192,.55), transparent 70deg); animation: auSpin 2.6s linear infinite; }
.sm-scope .bp { position: absolute; display: grid; justify-items: center; font-size: 18px; animation: smBlip 2.6s ease-in-out infinite; }
.sm-scope .bp small { font-size: 10px; color: #CFFFF0; white-space: nowrap; }
.sm-scope .b1 { left: 58%; top: 16%; } .sm-scope .b2 { left: 14%; top: 46%; animation-delay: .9s; } .sm-scope .b3 { left: 56%; top: 62%; animation-delay: 1.7s; }
@keyframes smBlip { 0%, 100% { opacity: .35; transform: scale(.9); } 20% { opacity: 1; transform: scale(1.1); } }
.sm-keep .sk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sk-cols > div { display: grid; gap: 6px; align-content: start; } .sk-cols b { font-size: 14px; }
.sk-ck { text-align: left; padding: 8px 10px; border-radius: 10px; border: 2px solid var(--ink); background: #fff; font-size: 13px; line-height: 1.5; word-break: keep-all; cursor: pointer; color: #2A1B4A; }
.sk-go .sk-ck.on { background: #DDF6EE; border-color: #12805A; } .sk-stop .sk-ck.on { background: #FFE3CC; border-color: #B9530C; }
.sk-meter { height: 14px; margin: 12px 0 4px; border-radius: 9px; border: 2px solid var(--ink); background: #FFC08A; overflow: hidden; }
.sk-meter i { display: block; height: 100%; background: #3FCB8E; transition: width .4s; }
.sk-r { margin: 0 0 6px; font-size: 13px; font-weight: 800; text-align: center; }
.sm-lights.io > li { opacity: .35; filter: grayscale(.8); transition: opacity .3s, filter .3s; }
.sm-lights.io > li.lit { opacity: 1; filter: none; }
.sm-lights.io > li.lit .sl-dot { animation: rgPop .4s; }
/* ---------- 고백 쪽지 · D-DAY 도장 ---------- */
.cf-letter { display: block; width: 100%; margin: 10px 0; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; perspective: 800px; }
.cf-letter .env { display: grid; justify-items: center; gap: 2px; padding: 14px 12px; border-radius: 12px; border: 3px solid var(--ink); background: linear-gradient(160deg, #FFD6E8 0 50%, #FFC2DE 50%); color: #2A1B4A; }
.cf-letter .env i { font-style: normal; font-size: 34px; animation: rgWig 1.4s ease-in-out infinite; } .cf-letter .env b { font-size: 16px; } .cf-letter .env small { font-size: 12px; color: #A01858; font-weight: 800; }
.cf-letter .paper { display: none; padding: 14px 16px; border-radius: 6px; border: 2px dashed #E0A0BE; background: repeating-linear-gradient(#FFFDF7 0 27px, #F3E6EC 27px 28px); text-align: left; transform-origin: 50% 0; }
.cf-letter .paper b { display: block; font-size: 12px; color: #A01858; margin-bottom: 4px; } .cf-letter .paper span { display: block; font-size: 16px; line-height: 28px; color: #2A1B4A; word-break: keep-all; } .cf-letter .paper small { display: block; text-align: right; font-size: 12px; color: #8A7AAE; margin-top: 4px; }
.cf-letter.open .env { display: none; } .cf-letter.open .paper { display: block; animation: cfUnfold .45s ease-out; }
@keyframes cfUnfold { 0% { transform: rotateX(-80deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
.cf-rank { position: relative; }
.cf-stamp { position: absolute; right: 8px; top: 6px; z-index: 1; padding: 2px 8px; border: 3px solid #E0337F; border-radius: 6px; color: #E0337F; font-size: 10px; background: rgba(255,255,255,.8); transform: rotate(12deg) scale(0); opacity: 0; }
.cf-rank.r1.stamped .cf-stamp { animation: spStamp .4s ease-out forwards; transform: rotate(12deg); opacity: 1; }
/* ---------- 이번 달 달력 도장 ---------- */
.mc-d.good::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; border: 2px solid rgba(255,255,255,.9); opacity: 0; transform: scale(1.8); }
.mcal.stamped .mc-d.good::after { animation: mcStamp .35s ease-out forwards; animation-delay: calc(var(--i) * 30ms + .2s); }
@keyframes mcStamp { to { opacity: 1; transform: scale(1) rotate(-8deg); } }
.mc-d.top1 { box-shadow: 0 0 0 3px #FFD23F, 0 0 12px rgba(255, 210, 63, .9); }
.mc-d.top1::before { content: '👑'; position: absolute; left: 50%; top: -12px; transform: translateX(-50%); font-size: 13px; }
.mc-d.today { outline: 2px dashed var(--ink); outline-offset: 1px; }
@media (prefers-reduced-motion: reduce) { .cf-letter .env i { animation: none; } .mcal.stamped .mc-d.good::after { animation: none; opacity: 1; transform: none; } }
.lucky span { word-break: keep-all; text-wrap: balance; } @media (max-width: 360px) { .lucky span { font-size: 15px; } }
.sm-steps li { padding-left: 92px; }

/* ===== 금전운·성공운·궁합 오락 장치 (v20261124c) ===== */
.f2-stat-h { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 6px; background: var(--ink); color: #FFE27A; font-size: 12px; letter-spacing: .1em; }
.gd-bar { display: block; height: 10px; margin: 4px 0 6px; border-radius: 6px; background: #E3DCF3; border: 2px solid var(--ink); overflow: hidden; }
.gd-bar s { display: block; height: 100%; width: var(--w); background: repeating-linear-gradient(90deg, #FF6FA9 0 8px, #FF94C2 8px 10px); transition: width 1.1s cubic-bezier(.2,.9,.3,1.2); }
.f2-gods.io:not(.go) .gd-bar s { width: 0; }
.f2-gods li:has(em.lo) .gd-bar s { background: repeating-linear-gradient(90deg, #8FA6E8 0 8px, #AFC0F0 8px 10px); }
.f2-gods li:has(em.hi) .gd-bar s { background: repeating-linear-gradient(90deg, #F5B81E 0 8px, #FFD65C 8px 10px); }
.f2-hint { margin: 2px 0 8px; font-size: 13px; color: var(--ink-3); }
.f2-hint a { color: inherit; text-decoration: underline; }
.f2-scratch li { position: relative; padding: 0; overflow: hidden; border: 2px dashed #C89212; }
.f2-scratch .sc-in { padding: 10px 12px; }
.sc-cv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: grab; border-radius: 8px; transition: opacity .4s; }
.sc-cv.gone { opacity: 0; pointer-events: none; }
.f2-quest li { position: relative; background: #FFF6DA; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); padding: 10px 12px 12px; }
.qs-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.qs-top em { font-style: normal; font-size: 11px; padding: 1px 6px; border-radius: 4px; background: #6C4BD8; color: #fff; }
.qs-top b { display: inline !important; }
.qs-ok { margin-top: 8px; padding: 6px 12px; border-radius: 8px; border: 2px solid var(--ink); background: #FFE27A; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink); cursor: pointer; }
.f2-quest li.ok .qs-ok { background: #CFF3DD; }
.qs-stamp { position: absolute; right: 10px; top: 8px; padding: 2px 8px; border: 3px solid #E0365F; border-radius: 6px; color: #E0365F; font-style: normal; font-size: 14px; transform: rotate(-12deg) scale(2.2); opacity: 0; pointer-events: none; }
.f2-quest li.ok .qs-stamp { animation: qsStamp .35s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes qsStamp { to { opacity: .9; transform: rotate(-12deg) scale(1); } }
.f2-fix { display: grid; gap: 10px; }
.fx-bad { position: relative; padding: 12px; border-radius: 12px; background: #FFE9EC; border: 2px solid #E0365F; transition: filter .4s, opacity .4s; }
.f2-fix.debuff .fx-bad { background: #ECE7F7; border-color: #6C4BD8; }
.fx-bad small, .fx-good small { display: inline-block; font-size: 12px; padding: 1px 6px; border-radius: 4px; background: #E0365F; color: #fff; }
.f2-fix.debuff .fx-bad small { background: #6C4BD8; }
.fx-bad p { margin: 8px 0 0; }
.fx-ico { float: right; position: relative; font-size: 30px; line-height: 1; margin: 0 0 4px 8px; }
.fx-ico i { position: absolute; font-style: normal; font-size: 13px; left: 6px; bottom: -6px; animation: fxDrip 1.2s infinite; }
.fx-ico i + i { left: 20px; animation-delay: .6s; }
@keyframes fxDrip { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
.f2-fix.debuff .fx-ico { animation: fxShake 1.6s infinite; }
@keyframes fxShake { 0%, 86%, 100% { transform: none; } 90% { transform: rotate(-8deg); } 95% { transform: rotate(8deg); } }
.f2-fix.fixed .fx-bad { filter: grayscale(.8); opacity: .7; }
.f2-fix.fixed .fx-ico i { display: none; }
.f2-fix.fixed .fx-ico { animation: none; }
.f2-fix.leak.fixed .fx-ico::after { content: '🩹'; position: absolute; left: 4px; bottom: -4px; font-size: 18px; }
.f2-fix.debuff.fixed .fx-ico::after { content: '💥'; position: absolute; inset: 0; font-size: 30px; }
.fx-good { padding: 12px; border-radius: 12px; background: #E3F8EA; border: 2px solid #23A35A; animation: fxIn .45s cubic-bezier(.3,1.5,.5,1); }
.fx-good small { background: #23A35A; }
@keyframes fxIn { from { transform: scale(.85); opacity: 0; } }
.lk-slot > div { position: relative; }
.lk-r { display: none; font-style: normal; font-size: 24px; line-height: 1.4; }
.lk-slot.io > div:not(.stop) b { visibility: hidden; }
.lk-slot.io > div:not(.stop) .lk-r { display: block; position: absolute; left: 0; right: 0; top: 22px; animation: lkSpin .18s steps(2) infinite; }
.lk-slot.io > div.stop { animation: lkStop .3s ease-out; }
@keyframes lkSpin { 50% { transform: translateY(-5px); filter: hue-rotate(120deg); } }
@keyframes lkStop { 40% { transform: scale(1.08); box-shadow: 0 0 0 3px #FFD65C; } }
/* 궁합: 커맨드 표 */
.vs-cmd { position: relative; }
.vs-cmd ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.vs-cmd li { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; }
.cmd-k { min-width: 78px; padding: 5px 6px; border-radius: 8px; border: 2px solid var(--ink); background: #2A1E5C; color: #FFE27A; font-size: 12px; white-space: nowrap; cursor: pointer; box-shadow: 0 3px 0 var(--ink); }
.vs-cmd li.done .cmd-k { background: #FF6FA9; color: #fff; }
.vs-cmd li.hit .cmd-k { animation: cmdHit .3s; }
@keyframes cmdHit { 30% { transform: translateY(3px); box-shadow: 0 0 0 var(--ink); } }
.cmd-hit { position: absolute; right: 10px; top: 8px; font-size: 13px; color: #E0365F; }
.cmd-hit.pop { animation: cmdPop .4s cubic-bezier(.3,1.8,.5,1); }
@keyframes cmdPop { from { transform: scale(1.8); } }
/* 궁합: 폭탄 해제 */
.bm-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px; border-radius: 12px; background: #2A1E5C; color: #fff; }
.bm-ico { font-size: 34px; animation: fxShake 1.2s infinite; }
.bm-t { font-size: 20px; color: #FF6F6F; min-width: 70px; }
.bm-cut { margin-left: auto; }
.vs-bomb.safe .bm-box { background: #1F6B45; }
.vs-bomb.safe .bm-ico { animation: none; }
.vs-bomb.safe .bm-ico::before { content: '✅'; position: absolute; font-size: 16px; margin: -4px 0 0 22px; }
.vs-bomb.safe .bm-t { color: #B8F5CF; }
.bm-body { margin-top: 10px; animation: fxIn .45s; }
/* 궁합: 데이트 코스 맵 */
.vs-road { position: relative; margin: 10px 0; padding: 22px 10px 34px; border-radius: 14px; background: linear-gradient(#FFE1EE, #E7DEFF); border: 3px solid var(--ink); overflow: hidden; }
.vr-lane { display: flex; justify-content: space-between; position: relative; }
.vr-lane::before { content: ''; position: absolute; left: 14px; right: 14px; top: 50%; border-top: 3px dashed #B48BD8; }
.vr-node { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.vr-node b { font-size: 10px; }
.vr-node.goal { background: #FFE27A; }
.vr-walk { position: absolute; left: 10px; bottom: 2px; display: flex; gap: 0; transition: left 2.4s steps(12); }
.vs-road.io:not(.go) .vr-walk { left: 10px; }
.vs-road.go .vr-walk { left: calc(100% - 62px); }
.vr-list li::marker { font-weight: 700; color: #C2276E; }
[data-theme="dark"] .f2-quest li { background: #2A2350; }
[data-theme="dark"] .fx-bad { background: #3A2036; }
[data-theme="dark"] .f2-fix.debuff .fx-bad { background: #2A2350; }
[data-theme="dark"] .fx-good { background: #183A2A; }
[data-theme="dark"] .gd-bar { background: #2A2350; }
[data-theme="dark"] .vs-road { background: linear-gradient(#3A2247, #241D52); }
[data-theme="dark"] .vr-node { background: #1A1540; }
.f2-quest li > span { display: block; }
.qs-ok { display: block; }
.cmd-k { font: 700 14px/1.2 system-ui, sans-serif; letter-spacing: .02em; }
.vs-cmd li { grid-template-columns: 1fr; gap: 4px; }
.vs-cmd .cmd-k { justify-self: start; }
.cmd-hit { position: static; display: block; min-height: 18px; text-align: right; }
/* 말실수 주의: 말풍선 위 작은 폭탄 · 누르면 바로 열리고 도화선만 톡 끊겨요 */
.bm-ico { position: relative; animation: none; }
.bm-ico i { position: absolute; right: -8px; top: -6px; font-style: normal; font-size: 18px; animation: fxShake 1.2s infinite; }
.bm-t { font-size: 16px; color: #FFB3C7; }
.vs-bomb.safe .bm-ico::before { content: none; }
.vs-bomb.safe .bm-ico i { animation: bmCut .5s ease-out forwards; }
@keyframes bmCut { 40% { transform: rotate(-20deg) scale(1.2); } 100% { transform: translateY(16px) rotate(30deg); opacity: 0; } }
.gx-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gx-chips span { text-align: center; white-space: nowrap; }
/* 재회 게이트 v2: 봉이·몽이 사이 끊어진 빨간 실 */
.rg-reunion .rg-box { background: radial-gradient(120% 80% at 50% 0%, #3B2A7A 0%, #1A1240 70%); }
.rg-thread { aspect-ratio: 300 / 140; background: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent), radial-gradient(1px 1px at 30% 8%, #fff 50%, transparent), radial-gradient(1.5px 1.5px at 72% 14%, #fff 50%, transparent), radial-gradient(1px 1px at 88% 30%, #fff 50%, transparent), radial-gradient(1px 1px at 55% 4%, #fff 50%, transparent); }
.rg-thread path { stroke: #E8304F; stroke-width: 4; }
.rg-thread .rg-l, .rg-thread .rg-r { filter: drop-shadow(0 0 3px rgba(232, 48, 79, .7)); }
.rg-ch { position: absolute; bottom: 8%; width: 23%; aspect-ratio: 24 / 30; }
.rg-ch.a { left: 2%; } .rg-ch.b { right: 2%; }
.rg-moon { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 22px; opacity: .85; }
.rg-knot { top: 71.4%; width: 30px; height: 30px; margin: -15px; background: #E8304F; box-shadow: 0 0 0 6px rgba(232, 48, 79, .3); }
.rg-knot.a { left: 37.3%; }
.rg-knot.b { left: 62.7%; background: #4A3B8C; border-style: dashed; }
.rg-brk { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); font-size: 26px; animation: rgBrk 1.6s ease-in-out infinite; pointer-events: none; }
@keyframes rgBrk { 50% { transform: translate(-50%, -58%) scale(1.08); } }
.rg-thread.tied .rg-brk { animation: none; opacity: 0; }
.rg-thread.tied .rg-live { stroke: #FF3D6E; stroke-width: 5; filter: drop-shadow(0 0 8px #FF4F86); }
.rg-thread.tied .rg-knot { background: #FF3D6E; border-style: solid; }
.rg-hs { position: absolute; left: 50%; top: 60%; pointer-events: none; }
.rg-hs i { position: absolute; font-style: normal; font-size: 18px; opacity: 0; }
.rg-thread.tied .rg-hs i { animation: rgHeart 1.2s ease-out forwards; }
.rg-hs i:nth-child(1) { --x: -60px; } .rg-hs i:nth-child(2) { --x: -28px; animation-delay: .08s !important; } .rg-hs i:nth-child(3) { --x: 0px; animation-delay: .16s !important; } .rg-hs i:nth-child(4) { --x: 30px; animation-delay: .1s !important; } .rg-hs i:nth-child(5) { --x: 58px; animation-delay: .2s !important; }
@keyframes rgHeart { 0% { opacity: 0; transform: translate(-50%, 0) scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--x)), -70px) scale(1.2); } }
.rg-hint { margin: 6px 0 0; font-size: 13px; color: #C9BEF2; }
.rg-ov.won .rg-hint { visibility: hidden; }

/* ===== 결과 직전 연출 v2 (v20261124c) ===== */
.rg-ch { position: relative; width: 56px; height: 70px; }
.rg-reunion .rg-ch { position: absolute; width: 23%; height: auto; }
/* 썸: 레이더 */
.rg-radar { position: relative; width: 132px; height: 132px; border-radius: 50%; background: radial-gradient(circle, #0F3A33 0%, #08201C 70%); border: 3px solid #7FFFE0; box-shadow: 0 0 18px rgba(127, 255, 224, .35); overflow: hidden; display: grid; place-items: center; }
.rg-rr { position: absolute; inset: 22%; border-radius: 50%; border: 1px solid rgba(127, 255, 224, .4); } .rg-rr.r2 { inset: 42%; }
.rg-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(127, 255, 224, .55), transparent 70deg); animation: rgSweep 2.4s linear infinite; }
.rg-ov.scan .rg-sweep { animation-duration: .7s; }
@keyframes rgSweep { to { transform: rotate(360deg); } }
.rg-radar .rg-sp { width: 46px; height: 58px; z-index: 1; }
.rg-blip { position: absolute; font-size: 16px; opacity: 0; transform: scale(.3); transition: all .3s cubic-bezier(.3,1.8,.5,1); z-index: 1; }
.rg-blip.on { opacity: 1; transform: scale(1); }
.rg-blip.q0 { left: 18%; top: 20%; } .rg-blip.q1 { right: 14%; top: 34%; } .rg-blip.q2 { left: 40%; bottom: 8%; }
/* 고백: 활 쏘기 */
.rg-arch { display: grid; grid-template-columns: 50px 1fr 50px; align-items: end; gap: 6px; width: 300px; max-width: 100%; }
.rg-arch .rg-ch { width: 50px; height: 62px; }
.rg-arch .rg-lane { width: 100%; height: 62px; }
.rg-mid { display: grid; place-items: center; font-size: 22px; border-style: solid; border-color: rgba(255, 210, 63, .7); }
.rg-ov.won .rg-ch.b { animation: rgPop .5s .1s; }
@media (max-width: 360px) { .rg-arch { width: 270px; } }
/* 결혼운: 반지 상자 */
.rg-wed { display: grid; grid-template-columns: 52px 150px 52px; align-items: end; gap: 4px; }
.rg-wed .rg-ch { width: 52px; height: 66px; }
.rg-ring2 { position: relative; width: 150px; height: 170px; }
.rg-rbase { position: absolute; left: 22px; right: 22px; bottom: 10px; height: 64px; border-radius: 12px; background: linear-gradient(#9C1F5E, #5E0B36); border: 3px solid #2A1B4A; box-shadow: inset 0 6px 0 rgba(255,255,255,.12); }
.rg-rbase::after { content: ''; position: absolute; left: 50%; top: 10px; width: 46px; height: 22px; margin-left: -23px; border-radius: 0 0 23px 23px; background: #3D0724; }
.rg-rlid { position: absolute; left: 18px; right: 18px; bottom: 70px; height: 40px; border-radius: 18px 18px 6px 6px; background: linear-gradient(#E0337F, #A01858); border: 3px solid #2A1B4A; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3,1.5,.5,1); box-shadow: inset 0 6px 0 rgba(255,255,255,.18); }
.rg-rlid::after { content: ''; position: absolute; left: 50%; top: 8px; width: 16px; height: 8px; margin-left: -8px; border-radius: 4px; background: #FFD23F; }
.rg-rgem { position: absolute; left: 50%; bottom: 46px; margin-left: -22px; font-size: 44px; opacity: 0; transform: translateY(20px) scale(.5); transition: all .5s .15s cubic-bezier(.3,1.6,.5,1); z-index: 1; }
.rg-rays { position: absolute; left: 50%; bottom: 40px; width: 180px; height: 180px; margin: 0 0 -90px -90px; border-radius: 50%; background: repeating-conic-gradient(rgba(255, 243, 160, .45) 0 10deg, transparent 10deg 30deg); opacity: 0; transition: opacity .4s; animation: rgSweep 6s linear infinite; }
.rg-spk { position: absolute; right: 10px; top: 30px; color: #FFE27A; font-size: 22px; opacity: 0; }
.rg-ov[data-n] .rg-spk { animation: rgSpk .4s; }
@keyframes rgSpk { 40% { opacity: 1; transform: scale(1.4) rotate(20deg); } }
.rg-ov[data-n="1"] .rg-rlid { transform: rotate(-6deg); } .rg-ov[data-n="2"] .rg-rlid { transform: rotate(6deg) translateY(-6px); }
.rg-ov.won .rg-rlid { transform: translateY(-46px) rotate(-28deg); }
.rg-ov.won .rg-rgem { opacity: 1; transform: translateY(-34px) scale(1.15); filter: drop-shadow(0 0 14px #FFF3A0); }
.rg-ov.won .rg-rays { opacity: 1; }
/* 미래 배우자: WANTED 포스터 */
.rg-wanted { position: relative; width: 150px; height: 190px; padding: 8px; border-radius: 4px; background: #E8D2A6; box-shadow: 0 6px 0 #8B6A3A, 0 0 20px rgba(255, 210, 63, .3); transform: rotate(-2deg); display: grid; grid-template-rows: auto 1fr; gap: 4px; }
.rg-wanted b { color: #5A3A12; font-size: 18px; letter-spacing: .06em; }
.rg-wimg { position: relative; overflow: hidden; border: 2px solid #8B6A3A; background: #CDB383; }
.rg-wimg img, .rg-wimg i { width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center; font-style: normal; font-size: 60px; color: #5A3A12; filter: blur(14px) sepia(.3); transition: filter .45s; }
.rg-ov[data-n="1"] .rg-wimg img, .rg-ov[data-n="1"] .rg-wimg i { filter: blur(9px); }
.rg-ov[data-n="2"] .rg-wimg img, .rg-ov[data-n="2"] .rg-wimg i { filter: blur(5px); }
.rg-ov.won .rg-wimg img, .rg-ov.won .rg-wimg i { filter: none; }
.rg-mg { position: absolute; font-size: 54px; left: 50%; top: 52%; margin: -30px; filter: drop-shadow(0 0 10px #FFD23F); transition: all .3s; animation: rgWig 1.2s ease-in-out infinite; }
.rg-ov[data-n="1"] .rg-mg { left: 26%; top: 40%; } .rg-ov[data-n="2"] .rg-mg { left: 72%; top: 68%; }
.rg-ov.won .rg-mg { opacity: 0; }
.rg-found { position: absolute; right: -14px; bottom: 18px; padding: 2px 8px; border: 3px solid #E0365F; border-radius: 6px; color: #E0365F; background: rgba(255,255,255,.6); font-style: normal; font-size: 18px; transform: rotate(-14deg) scale(2.2); opacity: 0; }
.rg-ov.won .rg-found { animation: qsStamp .35s .2s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes qsStamp { to { opacity: .95; transform: rotate(-14deg) scale(1); } }
/* 이번 달: 달력 넘기기 */
.rg-cal { position: relative; width: 150px; height: 170px; }
.rg-cring { position: absolute; z-index: 5; left: 14px; right: 14px; top: 2px; height: 14px; background: repeating-linear-gradient(90deg, transparent 0 14px, #2A1B4A 14px 18px); border-radius: 4px; }
.rg-pg { position: absolute; inset: 8px 0 0; border-radius: 10px; background: #FFFDF6; border: 3px solid #2A1B4A; display: grid; grid-template-rows: 36px 1fr; overflow: hidden; transform-origin: 50% 0; transition: transform .45s ease-in, opacity .45s; box-shadow: 0 4px 0 #2A1B4A; }
.rg-pg small { display: grid; place-items: center; background: #E0365F; color: #fff; font-size: 11px; padding-top: 6px; }
.rg-pg b { display: grid; place-items: center; font-size: 56px; color: #2A1B4A; }
.rg-pg.p0 small { background: #FF4FA0; }
.rg-ov[data-n="1"] .rg-pg.p1, .rg-ov[data-n="2"] .rg-pg.p1, .rg-ov[data-n="3"] .rg-pg.p1,
.rg-ov[data-n="2"] .rg-pg.p2, .rg-ov[data-n="3"] .rg-pg.p2, .rg-ov[data-n="3"] .rg-pg.p3 { transform: translate(60px, 120px) rotate(40deg); opacity: 0; }
.rg-ov.won .rg-pg.p0 b { animation: rgPop .5s forwards; }
/* 신년운세: 제야의 종 */
.rg-bell { position: relative; width: 170px; height: 180px; display: grid; place-items: center; }
.rg-bl { font-size: 92px; transform-origin: 50% 10%; filter: drop-shadow(0 0 16px #FFD23F); }
.rg-hit.bump .rg-bl { animation: rgRing .5s; }
@keyframes rgRing { 25% { transform: rotate(-16deg); } 60% { transform: rotate(12deg); } }
.rg-wave { position: absolute; left: 50%; top: 45%; width: 100px; height: 100px; margin: -50px; border-radius: 50%; border: 3px solid rgba(255, 210, 63, .8); opacity: 0; }
.rg-hit.bump .rg-wave { animation: rgWave .6s ease-out; }
@keyframes rgWave { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.8); } }
.rg-yr { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); font-size: 22px; color: #FFE27A; letter-spacing: .1em; }
.rg-ov.won .rg-yr { color: #FF8AC0; animation: rgPop .5s forwards; }
.rg-fw { position: absolute; left: 50%; top: 40%; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); animation: rgFw .9s ease-out forwards; }
@keyframes rgFw { from { transform: rotate(var(--a)) translateY(0); opacity: 1; } to { transform: rotate(var(--a)) translateY(-90px); opacity: 0; } }
/* 연애 풀코스: 코인 넣기 */
.rg-cab { position: relative; width: 170px; height: 180px; border-radius: 16px 16px 8px 8px; background: linear-gradient(#6C4BD8, #3B2A7A); border: 3px solid #fff; display: grid; grid-template-rows: 84px 1fr; padding: 10px; gap: 10px; }
.rg-scr { display: grid; place-items: center; align-content: center; gap: 4px; border-radius: 8px; background: #0E1230; border: 3px solid #2A1B4A; color: #7FFFE0; }
.rg-scr b { font-size: 14px; } .rg-scr i { font-style: normal; font-size: 11px; color: #FFE27A; animation: rgBlink 1s steps(2) infinite; }
@keyframes rgBlink { 50% { opacity: 0; } }
.rg-ov.won .rg-scr i { animation: none; color: #FF8AC0; } .rg-ov.won .rg-scr i::after { content: ''; }
.rg-slot { justify-self: center; align-self: center; width: 44px; height: 54px; border-radius: 8px; background: #2A1B4A; border: 3px solid #FFD23F; position: relative; }
.rg-slot::after { content: ''; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 6px; margin-left: -3px; border-radius: 3px; background: #000; }
.rg-cn { position: absolute; left: 50%; bottom: 46px; margin-left: -14px; font-size: 28px; opacity: 0; }
.rg-hit.bump .rg-cn { animation: rgCoin .4s ease-in; }
@keyframes rgCoin { 0% { opacity: 1; transform: translateY(-70px) rotateY(0); } 80% { opacity: 1; transform: translateY(0) rotateY(180deg) scaleX(.3); } 100% { opacity: 0; transform: translateY(6px) scaleX(.1); } }
.rg-some .rg-stage { height: auto; min-height: 200px; gap: 10px; }
.rg-yr { left: 0; right: 0; transform: none; text-align: center; }
.rg-arch { width: 100%; grid-template-columns: 46px 1fr 46px; } .rg-arch .rg-ch { width: 46px; height: 58px; } @media (max-width: 360px) { .rg-arch { width: 100%; } }
.gx-tabs.n4 { grid-template-columns: .85fr .85fr 1.1fr 1.15fr; }
@media (max-width: 400px) { .gx-tabs.n4 button { font-size: 13px; letter-spacing: -.4px; padding: 8px 1px; } .gx-tabs.n4 .gx-e { display: none; } .gx-tabs.n4 button small { display: none; } }
/* 게임기 고르기 간판: 전구 달린 오락실 간판 (v20261124c) */
.gx .section-head { flex-direction: column; align-items: stretch; gap: 8px; }
html[data-theme] .gx .section-head h2 { position: relative; display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 14px 12px 12px; border-radius: 14px; background: linear-gradient(#FFE88A, #FFC21A); color: #2A1B4A; border: 3px solid #2A1B4A; font-size: 25px; letter-spacing: 1px; box-shadow: 0 0 0 3px #FF4FA0, 0 0 22px rgba(255, 79, 160, .75), inset 0 -5px 0 rgba(0, 0, 0, .12); text-shadow: 2px 2px 0 #fff; }
html[data-theme] .gx .section-head h2::before { content: '🕹 '; color: inherit; font-size: .85em; }
.gx .section-head h2::after { content: ''; position: absolute; left: 10px; right: 10px; top: 4px; bottom: 4px; pointer-events: none; border-radius: 10px;
  background: radial-gradient(circle, #fff 0 2px, transparent 2.6px) 0 0 / 14px 100% repeat-x, radial-gradient(circle, #fff 0 2px, transparent 2.6px) 7px 100% / 14px 100% repeat-x;
  background-size: 14px 6px, 14px 6px; background-position: 0 0, 7px 100%; animation: gxBulb 1s steps(2) infinite; }
@keyframes gxBulb { 50% { background-position: 7px 0, 0 100%; } }
.gx .section-head span.gx-coin { align-self: center; }
@media (max-width: 360px) { html[data-theme] .gx .section-head h2 { font-size: 21px; padding: 12px 8px 10px; } }
@media (prefers-reduced-motion: reduce) { .gx .section-head h2::after { animation: none; } }
/* 📜 종합 풀이 (이야기형, 한 번에 쭉 읽기) */
.rn-story { background: linear-gradient(#FFFDF7, #FFF6EA); border-color: #E8C98A; }
.rn-story .st-tag { margin: 0 0 4px; font-size: 11px; color: #B07A1A; letter-spacing: .15em; }
.rn-story h3 { margin: 0 0 6px; }
.rn-story .st-title { margin: 0 0 14px; font-weight: 800; font-size: 16px; color: #8A3A62; word-break: keep-all; text-wrap: balance; }
.st-part { margin-top: 18px; }
.st-part:first-of-type { margin-top: 6px; }
.st-h { margin: 0 0 6px; font-weight: 800; font-size: 15px; color: #C2276E; }
.st-part p:not(.st-h) { margin: 0 0 10px; font-size: 16px; line-height: 1.85; color: #2B2340; word-break: keep-all; }
html[data-theme="dark"] .rn-story { background: linear-gradient(#251E45, #1E1838); border-color: #5A4A8A; }
html[data-theme="dark"] .st-part p:not(.st-h) { color: #EDE8FF; }
html[data-theme="dark"] .rn-story .st-title { color: #FFB3D4; }
html[data-theme="dark"] .st-h { color: #FF8AC0; }
.st-end { margin: 16px 0 0; padding-top: 12px; border-top: 1px dashed #E8C98A; font-size: 14px; color: #7A6A92; }
/* 재회 요약 카드 (긴 글은 종합 풀이, 카드는 한눈에) */
.rn-sum .rs-title { margin: 4px 0 10px; font-weight: 800; color: #8A3A62; word-break: keep-all; text-wrap: balance; }
.rs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rs-list li { padding: 10px 12px; border-radius: 12px; background: #FFF3F8; border: 1.5px solid #F6C6DB; font-size: 15px; line-height: 1.6; word-break: keep-all; }
.rs-list li b { display: block; font-size: 13px; color: #C2276E; margin-bottom: 2px; }
.rs-more { margin: 10px 0 0; font-size: 13px; color: #7A6A92; }
html[data-theme="dark"] .rs-list li { background: rgba(255,255,255,.06); border-color: #5A4A8A; }
html[data-theme="dark"] .rn-sum .rs-title { color: #FFB3D4; }
/* 오늘 운세 카드 대표 손님: 도감과 같은 오라를 거의 그대로 (바닥 마법진만 숨김) */
.gc-auwrap.rep-au .au { inset: -26px; transform: scale(.72); }
.gc-auwrap.rep-au .au-wave, .gc-auwrap.rep-au .au-floor, .gc-auwrap.rep-au .au-floor2 { display: block; }
.gc-auwrap.rep-au .au-fire, .gc-auwrap.rep-au .m-coin, .gc-auwrap.rep-au .m-smoke { display: block; }
.gc-auwrap.rep-au .au-circle { display: none; }
.tk-who { position: relative; z-index: 0; }
/* 마이 · 대표 손님 */
.my-rep-now { display: flex; align-items: center; gap: 14px; }
.my-rep-ava { position: relative; width: 72px; height: 72px; flex: none; display: grid; place-items: center; }
.my-rep-ava.none { border-radius: 50%; border: 2px dashed var(--ink-2); font-size: 26px; color: var(--ink-2); width: 60px; height: 60px; }
.my-rep-ava img { image-rendering: pixelated; }
.my-rep-now b { display: block; font-size: 16px; }
.my-rep-now small { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 2px; word-break: keep-all; }
.my-rep-h { margin: 0; font-size: 13px; color: var(--ink-2); }
.my-rep-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.my-rep-pick { background: #FFFDF6; border: 2px solid var(--c, #ccc); border-radius: 12px; padding: 4px 2px 3px; display: grid; justify-items: center; gap: 1px; cursor: pointer; font: inherit; color: var(--ink); min-width: 0; }
.my-rep-pick img { width: 100%; max-width: 44px; aspect-ratio: 1; image-rendering: pixelated; }
.my-rep-pick small { font-size: 10.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.my-rep-pick.on { background: #FFE3F0; box-shadow: 0 0 0 3px #E0337F; }
.my-rep-pick.base { border-style: dashed; border-color: var(--ink-2); }
.my-rep-pick.base span { font-size: 26px; line-height: 44px; }
html[data-theme="dark"] .my-rep-pick { background: #1B1238; color: #F3EEFF; }
html[data-theme="dark"] .my-rep-pick.on { background: rgba(255,79,154,.25); }
@media (max-width: 340px) { .my-rep-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.my-rep { overflow: hidden; }
/* 마이 · 대표 캐릭터 변경 (대표 플레이어 칸 안) */
.my-ava-col { flex: none; display: grid; justify-items: center; gap: 4px; }
.my-ava-img { display: grid; justify-items: center; gap: 1px; }
.my-ava-n { font-size: 11px; font-weight: 800; color: var(--ink-2); max-width: 64px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-ava-chg { font: inherit; font-size: 11.5px; font-weight: 800; color: #C2276E; background: #FFE3F0; border: 1.5px solid #E0337F; border-radius: 999px; padding: 3px 8px; cursor: pointer; white-space: nowrap; }
.my-rep { border-top: 2px dashed color-mix(in srgb, var(--ink) 25%, transparent); padding-top: 12px; display: grid; gap: 10px; overflow: visible; }
.my-rep[hidden] { display: none; }
html[data-theme="dark"] .my-ava-chg { background: rgba(255,79,154,.18); color: #FF8CC4; }
.my-ava-col { min-width: 74px; }
/* 대표 캐릭터 바꾸기 팝업 */
body.rp-noscroll { overflow: hidden; }
.rp-ov { position: fixed; inset: 0; z-index: 60; background: rgba(26, 16, 48, .55); display: grid; place-items: center; padding: 16px; }
.rp-box { width: min(398px, 100%); max-height: min(86vh, 720px); overflow-y: auto; background: var(--card, #fff); border: 3px solid var(--ink); border-radius: 18px; box-shadow: 0 6px 0 var(--ink); padding: 16px; display: grid; gap: 12px; }
.rp-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rp-head b { font-family: var(--title); font-weight: 400; font-size: 19px; color: var(--pink-text, #C2276E); }
.rp-x { font: inherit; font-size: 18px; background: none; border: 0; color: var(--ink-2); cursor: pointer; padding: 4px 8px; }
.rp-close { width: 100%; }
html[data-theme="dark"] .rp-box { background: #241A45; }
.rp-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rp-btns .btn[disabled] { opacity: .45; }
/* 꾸미기 효과 (fx.js) — 손님 앞쪽에 떠다니는 픽셀 입자 */
.fxe { position: absolute; inset: -16% -20% -4%; pointer-events: none; z-index: 3; }
.fx-p { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); background: center / contain no-repeat; image-rendering: pixelated; animation: var(--d) linear var(--dl) infinite both; opacity: 0; }
.fx-rise { animation-name: fxRise; }
@keyframes fxRise { 0% { top: 96%; translate: 0 0; scale: .6; opacity: 0; } 12% { opacity: 1; } 50% { translate: var(--sw) 0; scale: 1; } 85% { opacity: .9; } 100% { top: 4%; translate: calc(var(--sw) * -1) 0; scale: .9; opacity: 0; } }
.fx-fall { animation-name: fxFall; animation-timing-function: ease-in-out; }
@keyframes fxFall { 0% { top: 0%; translate: 0 0; rotate: 0deg; opacity: 0; } 10% { opacity: 1; } 50% { translate: var(--sw) 0; rotate: 160deg; } 90% { opacity: 1; } 100% { top: 96%; translate: calc(var(--sw) * -1.4) 0; rotate: 320deg; opacity: 0; } }
.fx-snow { animation-name: fxSnow; }
@keyframes fxSnow { 0% { top: 0%; translate: 0 0; opacity: 0; } 10% { opacity: 1; } 50% { translate: var(--sw) 0; } 90% { opacity: .9; } 100% { top: 96%; translate: 0 0; opacity: 0; } }
.fx-twinkle { animation-name: fxTw; animation-timing-function: steps(6); }
@keyframes fxTw { 0%, 100% { scale: 0; opacity: 0; } 30% { scale: 1.1; opacity: 1; } 55% { scale: .7; opacity: 1; } 75% { scale: 0; opacity: 0; } }
.fx-bubble { animation-name: fxBub; }
@keyframes fxBub { 0% { top: 96%; translate: 0 0; scale: .5; opacity: 0; } 10% { opacity: .95; } 70% { top: 22%; translate: var(--sw) 0; scale: 1; opacity: .95; } 77% { top: 19%; scale: 1.5; opacity: .4; } 82%, 100% { top: 19%; translate: var(--sw) 0; scale: 1.8; opacity: 0; } }
.fx-hop { animation-name: fxHop; animation-timing-function: steps(12); }
@keyframes fxHop { 0% { top: 80%; translate: 0 0; rotate: -12deg; opacity: 0; } 15% { opacity: 1; } 35% { top: 58%; translate: calc(var(--sw) * 1.5) 0; rotate: 10deg; } 55% { top: 44%; translate: calc(var(--sw) * 2) 0; rotate: -10deg; } 80% { opacity: 1; } 100% { top: 10%; translate: calc(var(--sw) * 3) 0; rotate: 12deg; opacity: 0; } }
.fx-orbit { left: 50%; top: 50%; animation-name: fxOrb; animation-delay: calc(var(--d) / -4 * var(--k)); opacity: 1; }
@keyframes fxOrb { 0% { transform: rotate(0deg) translateX(58px) rotate(0deg); scale: 1; } 25% { transform: rotate(90deg) translateX(58px) rotate(-90deg); scale: .75; } 50% { transform: rotate(180deg) translateX(58px) rotate(-180deg); scale: 1; } 75% { transform: rotate(270deg) translateX(58px) rotate(-270deg); scale: 1.15; } 100% { transform: rotate(360deg) translateX(58px) rotate(-360deg); scale: 1; } }
@media (prefers-reduced-motion: reduce) { .fx-p { animation: none; opacity: .9; } }
/* 꾸미기 효과: 더 화려하게 — 입자마다 빛 번짐 + 크기 비율(--fxk) */
.fx-p { width: calc(var(--s) * var(--fxk, 1)); height: calc(var(--s) * var(--fxk, 1)); }
.fx-heart .fx-p { filter: drop-shadow(0 0 4px #FF5FA8); } .fx-petal .fx-p { filter: drop-shadow(0 0 3px #FFB7CF); }
.fx-spark .fx-p { filter: drop-shadow(0 0 5px #FFD54A) drop-shadow(0 0 2px #fff); } .fx-bubble .fx-p { filter: drop-shadow(0 0 4px #8FD8F2); }
.fx-snow .fx-p { filter: drop-shadow(0 0 4px #CFE8FF); } .fx-note .fx-p { filter: drop-shadow(0 0 4px #B9A7FF); }
.fx-berry .fx-p { filter: drop-shadow(0 0 4px #FF8FB8); } .fx-moon .fx-p { filter: drop-shadow(0 0 6px #FFE27A); }
.fx-orbit { animation-name: fxOrb2; }
@keyframes fxOrb2 { 0% { transform: rotate(0deg) translateX(64px) rotate(0deg); scale: 1; } 25% { transform: rotate(90deg) translateX(64px) rotate(-90deg); scale: .75; } 50% { transform: rotate(180deg) translateX(64px) rotate(-180deg); scale: 1; } 75% { transform: rotate(270deg) translateX(64px) rotate(-270deg); scale: 1.2; } 100% { transform: rotate(360deg) translateX(64px) rotate(-360deg); scale: 1; } }

.nc-wrap{width:min(286px,calc(100vw - 80px));margin-left:8%;position:relative}
.nc{position:relative;z-index:1;width:100%;aspect-ratio:168/232;container-type:inline-size;touch-action:none;user-select:none;-webkit-user-select:none}
.nc>canvas{position:absolute;inset:0;width:100%;height:100%;image-rendering:pixelated}
.nc .nc-ab{position:absolute}
.nc-sign{display:flex;align-items:center;justify-content:center;gap:2cqw;font-family:var(--title);font-size:7.4cqw;color:#D4307E;text-shadow:0 .5cqw 0 #FFD3E6,0 0 2.4cqw rgba(255,95,168,.55);letter-spacing:.3cqw;animation:signG 2.4s ease-in-out infinite}
@keyframes signG{50%{text-shadow:0 .5cqw 0 #FFD3E6,0 0 4cqw rgba(255,95,168,.95)}}
.nc-sign i{font-style:normal;font-size:3.2cqw;padding:.6cqw 1.6cqw;background:#FFD23F;color:#241640;border:.6cqw solid #241640;box-shadow:.6cqw .6cqw 0 #241640;transform:rotate(-5deg);animation:freeP 1.2s steps(2) infinite}
@keyframes freeP{50%{transform:rotate(-5deg) scale(1.1)}}
.nc-blb{position:absolute;width:2.4cqw;height:2.4cqw;margin:-1.2cqw 0 0 -1.2cqw;border-radius:50%;background:#FFF3A8;box-shadow:0 0 1.6cqw #FFE27A;border:.35cqw solid #241640;transition:opacity .08s}
.nc-blb.off{background:#B88A5A;box-shadow:none}
.nc-neon{position:absolute;width:1.2cqw;border-radius:1cqw;background:#FFF;box-shadow:0 0 1.4cqw #FF5FA8,0 0 3.4cqw #FF5FA8,0 0 6cqw rgba(255,95,168,.6);animation:ncNeon 3s ease-in-out infinite}
@keyframes ncNeon{50%{opacity:.75}} 
.nc-scr{container-type:inline-size;overflow:hidden;border-radius:3.6cqw;background:#0E1230}
.nc-scr .nc-ly{position:absolute;inset:0}
.nc-glass{position:absolute;inset:0;pointer-events:none;border-radius:6.05cqw;z-index:5;background:linear-gradient(125deg,rgba(255,255,255,.16) 0,rgba(255,255,255,.04) 30%,transparent 31%),radial-gradient(ellipse at center,transparent 55%,rgba(0,0,0,.55) 100%);box-shadow:inset 0 0 0 1.01cqw rgba(0,0,0,.6),inset 0 0 6.72cqw rgba(80,120,255,.18)}
.nc-scan{position:absolute;inset:0;pointer-events:none;z-index:4;background:repeating-linear-gradient(0deg,rgba(255,255,255,.045) 0 1px,transparent 1px 3px)}
.nc[data-stage="ready"] .nc-ready,.nc[data-stage="pull"] .nc-pull{display:flex}
.nc-scr .nc-ly{display:none}
.nc-ready{flex-direction:column;align-items:center;justify-content:center;gap:3.36cqw;text-align:center}
.nc-ready .nc-duo{position:relative;width:70.56cqw;height:30.24cqw}.nc-ready .nc-duo .spr{width:23.52cqw;height:29.40cqw;top:0}
.nc-rt{font-family:'Press Start 2P',monospace;font-size:6.05cqw;color:#FFD23F;animation:blinkT 1s steps(2) infinite}@keyframes blinkT{50%{opacity:.2}}
.nc-rs{font-family:var(--title);font-size:7.39cqw;color:#fff;line-height:1.35}
.nc-pull{align-items:center;justify-content:center}.nc-pull i{width:100%;height:1.34cqw;background:#fff;box-shadow:0 0 5.04cqw #8FE3FF;animation:crtOff .55s ease-in forwards}
@keyframes crtOff{0%{transform:scaleX(1);opacity:1}100%{transform:scaleX(.02);opacity:.2}}
.nc-btn{position:absolute;border-radius:50%;pointer-events:none;opacity:0;transition:opacity .15s}
.nc-btn.on{opacity:1}
.nc-coin{position:absolute;border-radius:1cqw;background:#FF3E6E;box-shadow:0 0 2cqw #FF3E6E,0 0 4cqw rgba(255,62,110,.6);animation:coinL 1.1s ease-in-out infinite}@keyframes coinL{50%{opacity:.45}}
.nc-plate{display:grid;place-items:center;font-family:'Press Start 2P',monospace;font-size:2.1cqw;color:#FFE27A;letter-spacing:.2cqw}
.nc-p1{display:grid;place-items:center;font-family:'Press Start 2P',monospace;font-size:2.1cqw;color:#C8B8FF;letter-spacing:.3cqw}
.nc-kick{display:grid;place-items:center;font-family:'Press Start 2P',monospace;font-size:2.6cqw;color:#FF9FCB;letter-spacing:.8cqw}
/* 레버: 옆 축을 중심으로 대와 손잡이가 같이 돌아요 */
.nc-lv-arm{position:absolute;width:3.2cqw;background:linear-gradient(90deg,#6E7788,#F1F3F7 45%,#9AA2B2);border:.4cqw solid #241640;border-radius:1.6cqw;z-index:6}
.nc-lv-knob{position:absolute;width:12cqw;height:12cqw;margin:-6cqw 0 0 -6cqw;z-index:8;border-radius:50%;background:radial-gradient(circle at 34% 30%,#fff 0 12%,#FF6FB0 30%,#D4307E 68%,#8E1450);border:.7cqw solid #241640;cursor:grab;touch-action:none}
.nc-lv-pin{position:absolute;width:6cqw;height:6cqw;margin:-3cqw 0 0 -3cqw;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff,#C4CAD6 45%,#6E7788);border:.5cqw solid #241640;z-index:7}
.nc[data-stage="ready"] .nc-lv-knob{animation:knobG .9s ease-in-out infinite}@keyframes knobG{50%{box-shadow:0 0 0 1.4cqw rgba(255,226,122,.55),0 0 4cqw #FFE27A}}
.nc-lv-hint{position:absolute;z-index:8;pointer-events:none;display:none;flex-direction:column;align-items:center;text-align:center;line-height:1.15;font-family:var(--title);font-size:3.8cqw;color:#D4307E;text-shadow:0 0 .8cqw #fff,0 0 .8cqw #fff;transform:translate(-50%,-50%)}
.nc[data-stage="ready"] .nc-lv-hint{display:flex}
.nc-lv-hint b{font-size:9cqw;line-height:1;animation:hintR 1.1s ease-in-out infinite}@keyframes hintR{0%{transform:translateY(-2cqw);opacity:0}40%{opacity:1}100%{transform:translateY(3cqw);opacity:0}}
.nc-sub{width:min(300px,100%);box-sizing:border-box;margin-top:10px;background:#fff;border:2px solid #241640;border-radius:14px;box-shadow:0 4px 0 #241640;padding:10px 14px;font-size:14px;line-height:1.55;color:#3B2A6B;opacity:0;transform:translateY(8px);transition:opacity .4s,transform .4s}
.nc-sub.in{opacity:1;transform:none}.nc-sub b{color:#D4307E}
.nc-tap{position:absolute;left:0;right:0;bottom:3.36cqw;text-align:center;font-size:4.37cqw;color:#8FE3D5;z-index:6;opacity:.85}
.nc[data-stage="slot"] .nc-slot{display:flex}
.nc-slot{position:absolute;inset:0;flex-direction:column;align-items:center;justify-content:center;gap:3.70cqw;background:#0E1230;background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0 1px,transparent 1px 3px);animation:crtOn .5s ease-out both}
.ts-h{font-family:'Press Start 2P',monospace;font-size:4.37cqw;color:#FFD23F;letter-spacing:0.50cqw;text-shadow:0 0 2.35cqw #FFB000}
.ts-win{position:relative;display:grid;grid-template-columns:repeat(3,24.53cqw);gap:2.69cqw;padding:2.69cqw;background:#2A1B4A;border:1.51cqw solid #FFD23F;border-radius:4.03cqw;box-shadow:0 0 4.03cqw rgba(255,210,63,.55)}
.ts-reel{position:relative;height:28.56cqw;border-radius:2.69cqw;overflow:hidden;background:linear-gradient(#C9C0E0,#FFFDF6 25%,#FFFDF6 75%,#C9C0E0);box-shadow:inset 0 2.35cqw 2.69cqw rgba(0,0,0,.35),inset 0 -2.35cqw 2.69cqw rgba(0,0,0,.35)}
.ts-strip{position:absolute;left:0;right:0;top:0;will-change:transform}
.ts-strip>div{height:28.56cqw;display:grid;place-items:center}
.ts-strip img{width:20.16cqw;height:20.16cqw;image-rendering:pixelated}
.ts-reel.blur .ts-strip{filter:blur(0.84cqw)}
.ts-reel.tense{box-shadow:inset 0 0 0 1.34cqw #FF3E9A,0 0 5.04cqw #FF3E9A;animation:tsT .22s ease-in-out infinite alternate}
@keyframes tsT{to{box-shadow:inset 0 0 0 .8cqw #FFE27A,0 0 4cqw #FFE27A}}
.ts-reel.won{box-shadow:inset 0 0 0 1.34cqw #FFE27A,0 0 5.04cqw #FFE27A}
.ts-lb{display:grid;grid-template-columns:repeat(3,24.53cqw);gap:2.69cqw;text-align:center;font-size:5.6cqw;color:#B9A7FF;font-weight:700;margin-top:-1.68cqw}
.ts-lb b.on{color:#fff}
.ts-msg{font-family:var(--title);font-size:7.39cqw;color:#fff;min-height:9.24cqw;text-align:center}
/* 새 결과 화면 */
.nc-on{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;padding:4.03cqw 5.04cqw 3.36cqw;gap:1.85cqw;background:#0E1230;background-image:repeating-linear-gradient(0deg,rgba(255,255,255,.05) 0 1px,transparent 1px 3px)}
.nc[data-stage="on"] .nc-on{display:flex}
.r2-top{width:100%;display:flex;justify-content:space-between;font-family:'Press Start 2P',monospace;font-size:4.03cqw;color:#8FE3D5}
.r2-score{display:flex;align-items:center;gap:4.03cqw}
.r2-me{position:relative;width:17.47cqw;height:21.84cqw}
.r2-me .spr{inset:0;width:100%;height:100%}
.r2-pt{font-family:'Press Start 2P',monospace;color:#FF7CC4;font-size:11.09cqw;line-height:1;text-shadow:0 0 3.36cqw #FF4F9A}
.r2-pt small{display:block;font-size:4.03cqw;color:#FFD23F;margin-bottom:2.02cqw;letter-spacing:0.50cqw}
.r2-hearts{display:flex;gap:1.34cqw;font-size:7.06cqw}.r2-hearts span{color:#4A3F7A;transform:scale(.4);opacity:0;transition:transform .3s cubic-bezier(.3,1.8,.5,1),opacity .2s}.r2-hearts span.in{transform:scale(1);opacity:1}.r2-hearts span.f{color:#FF7CC4;text-shadow:0 0 2.35cqw #FF4F9A}
.r2-head{font-family:var(--title);font-size:7.73cqw;line-height:1.28;color:#fff;text-align:center;min-height:19.82cqw;text-wrap:balance}
.r2-head i{display:inline-block;width:0.84cqw;height:7.73cqw;background:#FFD23F;vertical-align:-1.01cqw;animation:ncBlink .6s steps(2) infinite}
@keyframes ncBlink{50%{opacity:0}}
.nc-flash{position:absolute;inset:0;background:#fff;opacity:0;pointer-events:none}.nc-flash.on{animation:fS .35s ease-out}@keyframes fS{0%{opacity:.8}100%{opacity:0}}


.nc[data-stage="off"] .nc-off,.nc[data-stage="coin"] .nc-coinly{display:flex}
.nc-off,.nc-coinly{flex-direction:column;align-items:center;justify-content:center;gap:3.4cqw;text-align:center}
.nc-off .nc-duo,.nc-coinly .nc-duo{position:relative;width:70.56cqw;height:30.24cqw}.nc-off .nc-duo .spr,.nc-coinly .nc-duo .spr{width:23.52cqw;height:29.40cqw;top:0}
.nc-ins{font-family:'Press Start 2P',monospace;font-size:6.4cqw;color:#FFD23F;animation:blinkT 1s steps(2) infinite}
.nc-ok{font-family:'Press Start 2P',monospace;font-size:6.4cqw;color:#8FE3D5}
.nc-ok2{font-family:var(--title);font-size:7.2cqw;color:#fff}
.nc-coinbtn{position:absolute;background:none;border:0;padding:0;cursor:pointer;z-index:6}
.nc[data-stage="off"] .nc-coin{animation-duration:.6s}
.nc-ts{font-size:5.6cqw}
.nc .nc-scr{cursor:default}
@media (prefers-reduced-motion:reduce){.nc-sign,.nc-neon,.nc-coin{animation:none}}
/* ↑ 메인 오늘의 연애운 새 오락기 (cab2.js) */
/* 연애 풀코스 시작 연출: 코인 넣기 → 게임팩 꽂고 켜기 (코인 결제로 착각하지 않게) */
.rg-pack { position: relative; width: 190px; height: 186px; background: none; border: 0; padding: 0; }
.rg-cart { position: absolute; left: 50%; top: 0; width: 96px; height: 86px; margin-left: -48px; z-index: 1; border-radius: 8px 8px 4px 4px; background: linear-gradient(#FF8CC4, #E0337F); border: 3px solid #2A1B4A; box-shadow: inset 0 -10px 0 rgba(0,0,0,.15); display: grid; place-items: center; align-content: center; gap: 2px; color: #fff; transition: transform .28s cubic-bezier(.4,1.6,.6,1); }
.rg-cart b { font-size: 11px; line-height: 1; } .rg-cart small { font-size: 10px; padding: 1px 6px; border-radius: 6px; background: #FFE27A; color: #2A1B4A; font-weight: 800; }
.rg-con { position: absolute; left: 0; right: 0; bottom: 0; height: 112px; border-radius: 14px; background: linear-gradient(#7C5CE0, #4A33A0); border: 3px solid #fff; box-shadow: 0 0 0 3px #2A1B4A; z-index: 2; display: grid; grid-template-columns: 1fr; padding: 18px 12px 8px; }
.rg-pslot { position: absolute; left: 50%; top: -6px; width: 108px; height: 12px; margin-left: -54px; border-radius: 4px; background: #1A1030; border: 2px solid #FFD23F; }
.rg-pack .rg-scr { height: 52px; }
.rg-pack .rg-scr b { font-size: 11px; color: #6F62A0; }
.rg-led { position: absolute; left: 16px; bottom: 14px; width: 10px; height: 10px; border-radius: 50%; background: #3A2030; border: 2px solid #2A1B4A; }
.rg-pbtn { position: absolute; right: 14px; bottom: 10px; display: flex; gap: 6px; } .rg-pbtn i { width: 16px; height: 16px; border-radius: 50%; background: #FF5FA8; border: 2px solid #2A1B4A; } .rg-pbtn i + i { background: #FFD23F; }
.rg-ov[data-n="1"] .rg-cart, .rg-ov[data-n="2"] .rg-cart, .rg-ov[data-n="3"] .rg-cart, .rg-ov.won .rg-cart { transform: translateY(42px); }
.rg-ov[data-n="2"] .rg-led, .rg-ov[data-n="3"] .rg-led, .rg-ov.won .rg-led { background: #3DF5A0; box-shadow: 0 0 8px 2px #3DF5A0; }
.rg-ov[data-n="2"] .rg-pack .rg-scr b, .rg-ov[data-n="3"] .rg-pack .rg-scr b, .rg-ov.won .rg-pack .rg-scr b { color: #FF8AC0; font-size: 13px; }
.rg-ov[data-n="2"] .rg-pack .rg-scr, .rg-ov.won .rg-pack .rg-scr { animation: crtOn .6s ease-out both; }
.rg-ov.won .rg-pack .rg-scr { box-shadow: 0 0 14px #FF8AC0; }

/* 오늘의 한마디: 오락기 아래에서 '영수증'처럼 인쇄돼 나와요 */
.nc-ticket{position:relative;z-index:0;width:74%;margin:-9% 0 0 8.3%;box-sizing:border-box;padding:16px 14px 14px;background:#FFFDF6;color:#3B2A6B;font-size:14px;line-height:1.55;text-align:center;border-left:2px solid #241640;border-right:2px solid #241640;box-shadow:0 6px 0 rgba(36,22,64,.15);
  -webkit-mask:linear-gradient(#000,#000) top/100% calc(100% - 7px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/12px 7px repeat-x;
  mask:linear-gradient(#000,#000) top/100% calc(100% - 7px) no-repeat,conic-gradient(from -45deg at bottom,#0000,#000 1deg 89deg,#0000 90deg) bottom/12px 7px repeat-x;
  transform:translateY(-100%);opacity:0;transition:transform .9s steps(9),opacity .1s}
.nc-ticket.in{transform:none;opacity:1}
.nc-ticket b{display:block;font-size:13px;color:#D4307E;margin-bottom:6px;padding-bottom:6px;border-bottom:2px dashed #E8B8CF}
.nc-ticket p{margin:0}
.nc-ticket[hidden]{display:none}

/* 종합 풀이 v2 */
.st2 .st-lead { margin: 4px 0 6px; padding: 12px 14px; border-radius: 12px; background: #FFF0F6; border: 2px solid #FFB3D4; font-weight: 700; font-size: 16px; line-height: 1.6; color: #8A2A5A; word-break: keep-all; }
.st2 .st-part { margin-top: 20px; padding-top: 16px; border-top: 1px dashed #E8C98A; }
.st2 .st-part:first-of-type { border-top: 0; padding-top: 0; }
.st2 .st-h { font-size: 13px; letter-spacing: .02em; color: #B07A1A; margin-bottom: 4px; }
.st2 .st-big { margin: 0 0 6px !important; font-size: 18px !important; font-weight: 800; line-height: 1.5 !important; color: #2B2340; word-break: keep-all; text-wrap: balance; }
.st2 .st-part p:not(.st-h):not(.st-big):not(.st-chip) { line-height: 1.75; }
.st2 .st-chip { display: inline-block; margin: 2px 0 0 !important; padding: 3px 10px; border-radius: 999px; background: #F3EEFF; color: #6F62A0 !important; font-size: 13px !important; line-height: 1.5 !important; }
.st-how { margin-top: 20px; border: 1px solid #E8C98A; border-radius: 12px; padding: 10px 14px; background: rgba(255,255,255,.6); }
.st-how summary { cursor: pointer; font-weight: 700; font-size: 14px; color: #7A6A92; }
.st-how p { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: #5A4E72; word-break: keep-all; }
.st-note { margin: 14px 0 0; font-size: 13px; color: #8A7FA8; }
html[data-theme="dark"] .st2 .st-lead { background: #3A2350; border-color: #7A3A6A; color: #FFC8E0; }
html[data-theme="dark"] .st2 .st-big { color: #fff; }
html[data-theme="dark"] .st2 .st-chip { background: #2E2856; color: #C8B8FF !important; }
html[data-theme="dark"] .st-how { background: rgba(0,0,0,.2); border-color: #5A4A8A; } html[data-theme="dark"] .st-how p { color: #CFC6EE; }
