/* My Types — 피그마 4차 Final 값 그대로(색, 그라데이션, 반경, 그림자, 서체 크기). 새 테마 없음. */
:root {
  --pink: #FF327E; --pink2: #EC387B; --pink-5: rgba(255,50,126,.05); --pink-10: rgba(255,50,126,.10); --pink-tint: #FFEAF2; --pink-bg: #FFF5F9; --pink-bg2: #FFF9FB;
  --ink: #222222; --ink2: #666666; --ink3: #999999; --line: #DDDDDD; --gray5: #EEEEEE; --bg2: #F5F5F6; --lav: #F2F3FB; --lav2: #E6E7F7; --black: #000;
  --purple: #9149EC; --blue: #7CB1FF; --red: #FF4242;
  --kiss: #EE7592; --marry: #9F7BCE; --kill: #787C86;
  --ring-kiss: #FF327E; --ring-marry: #9149EC; --ring-kill: #999999;
  --grad-card: linear-gradient(161deg, #F2829D 0%, #704299 100%);
  --sh-btn: 0 0 12px rgba(205,145,206,.7);
  --sh-card: 0 0 48px rgba(97,37,73,.5);
  --sh-soft: 0 0 24px rgba(0,0,0,.25);
  --f-ko: "Apple SD Gothic Neo", "AppleSDGothicNeo", "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
  --f-en: Figtree, "Apple SD Gothic Neo", "Pretendard Variable", Pretendard, "Noto Sans KR", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  --tabh: 64px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: #fff; color: var(--ink); font-family: var(--f-ko); -webkit-text-size-adjust: 100%; }
body { min-height: 100dvh; overscroll-behavior-y: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.en { font-family: var(--f-en); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

#app { max-width: 430px; margin: 0 auto; min-height: 100dvh; position: relative; background: #fff; }
@media (min-width: 600px) { body { background: #f3f3f5; } #app { box-shadow: 0 0 0 1px #eee; } }
.screen { min-height: 100dvh; display: flex; flex-direction: column; padding-top: var(--safe-t); }
.screen.has-tab { padding-bottom: calc(var(--tabh) + var(--safe-b)); }
.pad { padding-left: 24px; padding-right: 24px; }
.grow { flex: 1 1 auto; }
.center { text-align: center; }
.row { display: flex; align-items: center; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; }

/* 상단 바 */
.topbar { height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px 0 20px; position: relative; flex: 0 0 auto; }
.topbar .ttl { position: absolute; left: 50%; transform: translateX(-50%); font-size: 17px; font-weight: 700; white-space: nowrap; max-width: 60%; overflow: hidden; text-overflow: ellipsis; }
.iconbtn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 22px; position: relative; }
.iconbtn img { width: 24px; height: auto; }
.iconbtn .dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 4px; background: var(--pink); }
.keychip { height: 32px; min-width: 59px; padding: 0 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); display: inline-flex; align-items: center; gap: 4px; font-family: var(--f-en); font-weight: 500; font-size: 15px; color: #000; }
.keychip .k { font-size: 13px; }

/* 버튼(피그마 327x54, r27, 17 Bold) */
.btn { display: flex; align-items: center; justify-content: center; flex-direction: column; width: 100%; min-height: 54px; border-radius: 27px; font-size: 17px; font-weight: 700; letter-spacing: 0; padding: 6px 16px; line-height: 1.25; transition: transform .1s, opacity .15s; }
.btn:active { transform: scale(.985); }
.btn.primary { background: var(--pink); color: #fff; box-shadow: var(--sh-btn); }
.btn.outline { background: #fff; color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); }
.btn.ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); font-weight: 500; }
.btn.gray { background: var(--ink3); color: #fff; }
.btn[disabled], .btn.is-disabled { opacity: .45; box-shadow: none; }
.btn.outline[disabled], .btn.outline.is-disabled { box-shadow: inset 0 0 0 1px var(--pink); }
.btn.outline[disabled] { opacity: .45; }
.btn small, .btn .sub { font-size: 12px; font-weight: 400; opacity: .95; }
.btns { display: flex; flex-direction: column; gap: 12px; padding: 12px 24px calc(16px + var(--safe-b)); }
.has-tab .btns { padding-bottom: 16px; }
.pillbtn { height: 37px; padding: 0 18px; border-radius: 18.5px; color: var(--pink); box-shadow: inset 0 0 0 1px var(--pink); font-size: 14px; display: inline-flex; align-items: center; justify-content: center; background: #fff; min-width: 120px; }
.link { color: var(--ink2); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; padding: 12px; min-height: 44px; display: inline-flex; align-items: center; }

/* 큰 제목 */
.h1 { font-size: 29px; line-height: 38px; font-weight: 700; margin: 0; letter-spacing: 0; }
.h1.en { letter-spacing: -.5px; }
.display { font-family: var(--f-en); font-weight: 600; font-size: 46px; line-height: 55px; letter-spacing: -1px; margin: 0; text-transform: uppercase; }
.sub { color: var(--ink2); font-size: 14px; line-height: 20px; }
.cap { color: var(--ink3); font-size: 12px; line-height: 17px; letter-spacing: -.3px; }

/* 진행 점(피그마 7x4 r2, 간격 4) */
.progress { padding: 0 24px; }
.dots { display: flex; gap: 4px; height: 4px; margin-top: 12px; }
.dots i { flex: 1 1 0; height: 4px; border-radius: 2px; background: var(--lav2); }
.dots i.on { background: var(--pink); }
.prog-row { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.prog-num { font-family: var(--f-en); font-weight: 500; font-size: 13px; color: var(--pink); }

/* 게임 */
.game-title { text-align: center; padding: 0 24px; }
.game-title .h1 { font-size: clamp(22px, 7.4vw, 29px); line-height: 1.31; }
.roles { display: flex; justify-content: center; gap: 8px; padding: 14px 16px 10px; }
.rolechip { height: 44px; min-width: 96px; padding: 0 14px; border-radius: 22px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--f-en); font-weight: 600; font-size: 15px; color: var(--ink2); background: #fff; box-shadow: inset 0 0 0 1px var(--line); position: relative; }
.rolechip .em { font-size: 16px; }
.rolechip.done { color: #fff; box-shadow: none; }
.rolechip.done.kiss { background: var(--kiss); } .rolechip.done.marry { background: var(--marry); } .rolechip.done.kill { background: var(--kill); }
.rolechip.cur { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.rolechip.cur::after { content: ''; position: absolute; left: 50%; bottom: -7px; width: 6px; height: 6px; border-radius: 3px; background: var(--pink); transform: translateX(-50%); }
.rolechip.done .x { font-size: 12px; opacity: .9; margin-left: 2px; }
.stage { position: relative; margin: 0 auto; width: calc(2 * var(--cw) + 10px); height: calc(2 * var(--ch) + 10px); }
.pcard { position: absolute; width: var(--cw); height: var(--ch); border-radius: 12px; overflow: hidden; background: var(--pink-bg2); box-shadow: 0 1px 0 rgba(0,0,0,.02); transition: transform .18s ease; }
.pcard:active { transform: scale(.98); }
.pcard img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pcard .cut { position: absolute; inset: 0; opacity: 0; transition: opacity .15s; }
.pcard .lbl { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--f-en); font-weight: 600; font-size: 24px; letter-spacing: -.5px; display: flex; align-items: center; gap: 4px; text-shadow: 0 1px 2px rgba(0,0,0,.12); opacity: 0; }
.pcard.r-kiss { background: var(--kiss); } .pcard.r-marry { background: var(--marry); } .pcard.r-kill { background: var(--kill); }
.pcard[class*="r-"] > img.photo { opacity: 0; }
.pcard[class*="r-"] .cut, .pcard[class*="r-"] .lbl { opacity: 1; }
.pcard .name { display: none; position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.35); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 10px; font-weight: 500; backdrop-filter: blur(4px); }
.pcard .undo { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 14px; background: rgba(255,255,255,.9); display: none; align-items: center; justify-content: center; font-size: 14px; color: var(--ink); }
.pcard[class*="r-"] .undo { display: flex; }
.pos-a { left: calc(var(--cw) + 10px); top: 0; } .pos-b { left: 0; top: calc((var(--ch) + 10px) / 2); } .pos-c { left: calc(var(--cw) + 10px); top: calc(var(--ch) + 10px); }
.hint { text-align: center; font-size: 13px; color: var(--ink2); min-height: 20px; padding: 8px 24px 0; }
.skeleton { background: linear-gradient(90deg, #f2f2f4 25%, #fafafa 50%, #f2f2f4 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* 홈(Main 6) */
.home-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px 0 24px; height: 56px; }
.home-title { padding: 8px 24px 0; }
.trio-prev { --cw: calc((min(100vw, 430px) - 56px) / 2); --ch: calc(var(--cw) * 1.425); margin-top: 18px; }
.countdown { font-family: var(--f-en); font-weight: 600; font-size: 34px; letter-spacing: -.5px; }
.notice { margin: 12px 20px 0; padding: 11px 14px; border-radius: 8px; background: var(--lav); font-size: 12px; line-height: 17px; letter-spacing: -.5px; color: var(--ink2); display: flex; gap: 8px; align-items: flex-start; }
.notice b { color: var(--pink2); font-family: var(--f-en); font-weight: 700; font-size: 11px; letter-spacing: 0; margin-top: 1px; }
.card-row { margin: 10px 20px 0; padding: 14px 16px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); display: flex; align-items: center; gap: 12px; min-height: 60px; }
.card-row .t { font-size: 15px; font-weight: 600; } .card-row .s { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.card-row .go { margin-left: auto; color: var(--pink); font-size: 14px; font-weight: 700; }

/* 탭 바(피그마 아이콘) */
.tabbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 430px; height: calc(var(--tabh) + var(--safe-b)); padding-bottom: var(--safe-b); background: #fff; display: flex; border-radius: 16px 16px 0 0; box-shadow: 0 0 8px rgba(0,0,0,.2); z-index: 30; }
.tabbar a { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 44px; }
.tabbar img { height: 34px; width: auto; }
.tabbar .badge { position: absolute; top: 8px; left: calc(50% + 4px); min-width: 22px; height: 16px; padding: 0 5px; border-radius: 8px; background: var(--pink); color: #fff; font-family: var(--f-en); font-weight: 600; font-size: 11px; display: flex; align-items: center; justify-content: center; }

/* 바텀시트/다이얼로그(Message 14~16) */
.dim { position: fixed; inset: 0; background: rgba(0,0,0,.2); z-index: 50; display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet { width: 100%; max-width: 430px; background: #fff; border-radius: 20px 20px 0 0; padding: 36px 24px calc(20px + var(--safe-b)); text-align: center; animation: up .2s ease; max-height: 92dvh; overflow: auto; }
.sheet .ico { font-size: 44px; line-height: 1; margin-bottom: 18px; }
.sheet h3 { font-size: 20px; line-height: 28px; font-weight: 700; margin: 0 0 10px; }
.sheet p { color: var(--ink2); font-size: 14px; line-height: 20px; margin: 0; }
.sheet .btns { padding: 26px 0 0; }
.sheet .avs { display: flex; justify-content: center; margin: 18px 0 0; }
.sheet .avs img { width: 48px; height: 48px; border-radius: 24px; border: 4px solid #fff; margin-left: -12px; object-fit: cover; }
.sheet .avs img:first-child { margin-left: 0; }
.sheet .opt { text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gray5); min-height: 52px; font-size: 15px; }
.sheet .opt small { display: block; color: var(--ink3); font-size: 12px; margin-top: 2px; }
@keyframes up { from { transform: translateY(30px); opacity: .6; } } @keyframes fade { from { opacity: 0; } }
.switch { width: 50px; height: 30px; border-radius: 15px; background: var(--line); position: relative; flex: 0 0 auto; transition: background .15s; }
.switch::after { content: ''; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .15s; }
.switch[aria-checked="true"] { background: var(--pink); } .switch[aria-checked="true"]::after { left: 23px; }
.check { display: flex; gap: 10px; align-items: flex-start; text-align: left; font-size: 14px; line-height: 20px; padding: 10px 0; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--pink); margin: 0; flex: 0 0 auto; }

.toast { position: fixed; left: 50%; bottom: calc(90px + var(--safe-b)); transform: translateX(-50%); background: rgba(34,34,34,.92); color: #fff; padding: 10px 16px; border-radius: 20px; font-size: 14px; z-index: 80; max-width: 88vw; text-align: center; animation: fade .15s; }
.banner-demo { display: inline-flex; align-items: center; gap: 4px; background: #222; color: #fff; font-family: var(--f-en); font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 10px; letter-spacing: .3px; }
.tag-ai { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: 9px; background: var(--lav); color: var(--ink2); font-family: var(--f-en); font-size: 11px; font-weight: 700; }

/* 온보딩(Set up 24~30) */
.ob-title { padding: 40px 24px 0; text-align: center; }
.ob-title .sub { margin-top: 8px; }
.choice { width: 100%; min-height: 54px; border-radius: 27px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-en); font-size: 17px; color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 6px; }
.choice[aria-pressed="true"] { color: var(--pink2); box-shadow: inset 0 0 0 1px var(--pink2); }
.choices { display: flex; flex-direction: column; gap: 12px; padding: 40px 24px 0; }
.field { width: 100%; height: 46px; border-radius: 4px; background: var(--lav); border: 0; padding: 0 16px; font-size: 18px; color: var(--ink); }
.field::placeholder { color: #C9CBD8; }
.fields { padding: 32px 24px 0; display: flex; flex-direction: column; gap: 10px; }
.err { color: var(--red); font-size: 13px; min-height: 18px; padding: 6px 24px 0; }
.codebox { display: flex; gap: 8px; justify-content: center; padding: 32px 24px 0; }
.codebox input { width: 100%; max-width: 220px; height: 58px; text-align: center; letter-spacing: 12px; font-size: 26px; font-family: var(--f-en); border-radius: 6px; background: var(--lav); border: 0; }
.logo { width: 86px; margin: 0 auto; }
.wordmark { margin: 0 0 8px; line-height: 0; }
.wordmark img { display: block; width: 236px; height: auto; }
.wordmark.sm img { width: 150px; }
.landing-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 40px 24px 0; }
.landing-hero .display { font-size: 36px; line-height: 42px; text-align: center; }
.terms { text-align: center; font-family: var(--f-en); font-size: 11px; line-height: 16px; color: var(--ink2); padding: 0 24px calc(14px + var(--safe-b)); }

/* 타입 카드(More 37) */
.type-head { padding: 22px 24px 0; display: flex; justify-content: space-between; align-items: flex-start; }
.type-head .display { font-size: clamp(34px, 11vw, 46px); line-height: 1.2; }
.fan { position: relative; height: calc(var(--tw) * 1.43 + 24px); margin-top: 16px; overflow: hidden; touch-action: pan-y; }
.fanwrap { --tw: min(74.7vw, 280px); }
.fan .bg1, .fan .bg2 { position: absolute; top: 18px; width: var(--tw); height: calc(var(--tw) * 1.43); border-radius: 16px; }
.fan .bg1 { left: calc(50% - var(--tw) * 1.5 + 2px); transform: rotate(-11.47deg); background: #EE75BE; }
.fan .bg2 { left: calc(50% + var(--tw) * .5 - 2px); transform: rotate(11.47deg); background: #EE7575; }
.tcard { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: var(--tw); height: calc(var(--tw) * 1.43); border-radius: 20px; overflow: hidden; background: var(--grad-card); box-shadow: var(--sh-card); transition: transform .25s ease, opacity .25s; }
.tcard.kiss { background: linear-gradient(161deg, #F2829D 0%, #704299 100%); }
.tcard.marry { background: linear-gradient(161deg, #B597E0 0%, #5B3C8F 100%); }
.tcard.kill { background: linear-gradient(161deg, #A3A7B0 0%, #4F535C 100%); }
.tcard img.cut { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.tcard .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 16px 16px; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%); color: rgba(255,255,255,.92); font-size: 12px; line-height: 17px; text-align: center; }
.tcard .meta .nm { font-family: var(--f-en); font-weight: 600; font-size: 21px; line-height: 28px; color: #fff; }
.tcard .meta .ln { margin-top: 4px; }
.tcard .badge-src { position: absolute; left: 14px; top: 14px; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 10px 0 0; }
.carousel-nav .dotsm { display: flex; gap: 6px; } .carousel-nav .dotsm i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); } .carousel-nav .dotsm i.on { background: var(--pink); width: 18px; }
.carousel-nav button { width: 44px; height: 44px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); font-size: 18px; color: var(--ink2); }
.summary { text-align: center; padding: 12px 28px 0; font-size: 14px; line-height: 21px; color: var(--ink2); }
.summary b { color: var(--ink); font-weight: 700; }

/* 메시지함(Message 18) */
.mlist { padding-top: 4px; }
.mrow { position: relative; overflow: hidden; }
.mrow .inner { display: flex; align-items: center; gap: 14px; padding: 10px 20px; min-height: 84px; background: #fff; transition: transform .2s; position: relative; z-index: 1; }
.mrow.hl .inner { background: var(--pink-5); }
.mrow .act { position: absolute; right: 0; top: 0; bottom: 0; width: 74px; background: var(--red); display: flex; align-items: center; justify-content: center; }
.mrow .act img { width: 24px; filter: invert(1) brightness(2); }
.av { width: 64px; height: 64px; border-radius: 32px; position: relative; flex: 0 0 auto; }
.av img { width: 64px; height: 64px; border-radius: 32px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.05); background: var(--bg2); }
.av .rb { position: absolute; right: -2px; bottom: -2px; width: 22px; height: 22px; border-radius: 11px; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }
.rb.kiss { background: #FFD7E2; } .rb.marry { background: #E5D9F7; } .rb.kill { background: #DFE1E5; }
.mrow .nm { font-family: var(--f-en); font-weight: 600; font-size: 16px; display: flex; align-items: center; gap: 6px; min-width: 0; }
.mrow .nm .t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.newpill { height: 15px; padding: 0 5px; border-radius: 7.5px; box-shadow: inset 0 0 0 1px var(--pink); color: var(--pink); font-family: var(--f-en); font-weight: 600; font-size: 11px; display: inline-flex; align-items: center; }
.ago { font-family: var(--f-en); font-weight: 500; font-size: 13px; color: var(--ink3); letter-spacing: -.2px; white-space: nowrap; }
.pv { font-family: var(--f-ko); font-size: 14px; color: var(--ink2); letter-spacing: -.2px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unread { margin-left: auto; min-width: 20px; height: 20px; border-radius: 10px; background: var(--pink); color: #fff; font-family: var(--f-en); font-weight: 600; font-size: 12px; display: flex; align-items: center; justify-content: center; padding: 0 6px; flex: 0 0 auto; }
.lockpill { margin-left: auto; flex: 0 0 auto; height: 28px; padding: 0 10px; border-radius: 14px; background: var(--lav); font-size: 12px; color: var(--ink2); display: inline-flex; align-items: center; gap: 4px; }
.sec-title { font-family: var(--f-en); font-weight: 600; font-size: 15px; color: #000; padding: 22px 20px 6px; }
.mrow.expired .inner { opacity: .45; }
.empty { text-align: center; padding: 60px 30px; color: var(--ink2); font-size: 14px; line-height: 21px; }
.empty .btn { margin-top: 18px; }

/* 채팅(Message 17) */
.chat-head { height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 8px; position: sticky; top: 0; background: #fff; z-index: 5; }
.chat-head .back { position: absolute; left: 8px; top: 18px; }
.chat-head .menu { position: absolute; right: 8px; top: 18px; }
.chat-head .av30 { width: 34px; height: 34px; border-radius: 17px; padding: 2px; box-shadow: inset 0 0 0 1.5px var(--pink); }
.chat-head .av30 img { width: 30px; height: 30px; border-radius: 15px; object-fit: cover; }
.chat-head .nm { font-family: var(--f-en); font-weight: 500; font-size: 14px; color: var(--ink2); margin-top: 4px; display: flex; gap: 6px; align-items: center; }
.lvl { font-family: var(--f-en); font-weight: 700; font-size: 11px; color: var(--pink); }
.msgs { flex: 1; padding: 8px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.pill-sys { align-self: center; height: 20px; padding: 0 10px; border-radius: 10px; background: var(--lav); font-size: 11px; color: var(--ink2); display: inline-flex; align-items: center; margin: 6px 0; }
.bub { max-width: 78%; padding: 12px 18px; border-radius: 22px; font-size: 15px; line-height: 21px; white-space: pre-wrap; word-break: break-word; }
.bub.char { align-self: flex-start; background: var(--pink-10); }
.bub.user { align-self: flex-end; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.bub.fail { opacity: .8; box-shadow: inset 0 0 0 1px var(--red); }
.bub .typing { display: inline-flex; gap: 4px; } .bub .typing i { width: 6px; height: 6px; border-radius: 3px; background: var(--pink); opacity: .4; animation: ty 1s infinite; } .bub .typing i:nth-child(2) { animation-delay: .15s; } .bub .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes ty { 50% { opacity: 1; } }
.msg-meta { font-size: 12px; color: var(--ink3); align-self: flex-start; display: flex; gap: 8px; align-items: center; }
.msg-meta button { color: var(--pink); font-weight: 700; min-height: 32px; }
.composer { position: sticky; bottom: 0; background: #fff; padding: 8px 16px calc(10px + var(--safe-b)); display: flex; gap: 8px; align-items: flex-end; border-top: 1px solid #f4f4f4; }
.composer textarea { flex: 1; min-height: 44px; max-height: 120px; border-radius: 22px; border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 11px 18px; font-size: 15px; line-height: 22px; resize: none; background: #fff; }
.composer textarea::placeholder { color: #BDBDBD; }
.sendbtn { width: 44px; height: 44px; border-radius: 22px; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; font-size: 18px; }
.sendbtn[disabled] { background: var(--line); }
.sendbtn.stop { background: var(--ink); }
.chat-banner { margin: 6px 16px 0; padding: 10px 14px; border-radius: 12px; background: var(--pink-bg); font-size: 13px; color: var(--ink2); display: flex; align-items: center; gap: 10px; }
.chat-banner button { margin-left: auto; color: var(--pink); font-weight: 700; min-height: 36px; white-space: nowrap; }
.closed-box { padding: 16px 20px calc(16px + var(--safe-b)); text-align: center; border-top: 1px solid #f2f2f2; }

/* 프로필(Profile) */
.profile { position: fixed; inset: 0; max-width: 430px; margin: 0 auto; background: #000; z-index: 40; overflow-y: auto; }
.profile .ph { position: relative; min-height: 100dvh; }
.profile .ph img { width: 100%; height: 100dvh; object-fit: cover; object-position: 50% 25%; }
.profile .grad { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(217,217,217,0) 0%, #000 100%); }
.profile .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px calc(24px + var(--safe-b)); color: #EEE; }
.profile .nm { font-family: var(--f-en); font-weight: 600; font-size: 21px; line-height: 32px; color: #fff; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile .em { width: 24px; height: 24px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.profile p { font-size: 14px; line-height: 22px; letter-spacing: -.3px; margin: 8px 0 0; }
.profile .like { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.12); font-size: 14px; line-height: 20px; }
.profile .like button { margin-top: 8px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; min-height: 36px; }
.profile .close { position: fixed; top: calc(12px + var(--safe-t)); right: max(8px, calc(50vw - 215px + 8px)); z-index: 41; }
.profile .close img { filter: invert(1); }

/* 카드함(More 01 - A) */
.me-top { display: flex; flex-direction: column; align-items: center; padding: 8px 24px 0; }
.me-av { width: 128px; height: 128px; border-radius: 64px; background: var(--grad-card); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--f-en); font-weight: 600; font-size: 48px; overflow: hidden; }
.me-av img { width: 100%; height: 100%; object-fit: cover; }
.me-name { font-family: var(--f-en); font-weight: 600; font-size: 20px; margin-top: 14px; }
.me-btns { display: flex; gap: 10px; margin-top: 14px; }
.tabs { display: flex; margin-top: 26px; border-bottom: 1px solid var(--line); padding: 0 24px; }
.tabs button { flex: 1; height: 44px; font-family: var(--f-en); font-weight: 600; font-size: 14px; color: var(--ink3); position: relative; text-transform: uppercase; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tabs button[aria-selected="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--pink); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding-bottom: 96px; }
.grid .slot { aspect-ratio: 1; background: var(--lav); position: relative; overflow: hidden; }
.grid .slot .n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--f-en); font-weight: 600; font-size: 28px; color: #fff; opacity: .9; }
.grid .slot img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.synth-fab { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabh) + var(--safe-b) + 12px); width: calc(min(100vw, 430px) - 48px); z-index: 20; }
.matches { padding: 16px 20px 110px; display: flex; flex-direction: column; gap: 12px; }
.match-row { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.match-row .th { width: 56px; height: 56px; border-radius: 10px; background: var(--lav); object-fit: cover; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: var(--ink3); font-size: 11px; }

/* 매칭(More 33, 38) */
.drop { margin: 24px auto 0; width: min(74.7vw, 280px); aspect-ratio: 280/400; border-radius: 20px; border: 1.5px dashed var(--pink); background: var(--pink-bg2); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.drop .plus { font-size: 54px; color: var(--pink); font-weight: 200; }
.drop img { width: 100%; height: 100%; object-fit: cover; }
.rings { display: flex; justify-content: center; gap: 30px; margin-top: 18px; }
.ring { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ring svg { width: 60px; height: 60px; }
.ring .v { font-family: var(--f-en); font-weight: 600; font-size: 18px; }

/* 리스트(설정 More 28, 상점 More 36, 알림 More 35) */
.list { padding: 8px 0; }
.li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 20px; font-size: 15px; width: 100%; text-align: left; }
.li .v { color: var(--ink3); font-size: 14px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.li .v img { width: 8px; }
.li.danger { color: var(--red); }
.li-sec { font-weight: 700; font-size: 15px; padding: 24px 20px 6px; }
.packs { padding: 16px 20px 24px; display: flex; flex-direction: column; gap: 9px; }
.pack { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 18px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; width: 100%; font-size: 15px; }
.pack.rec { background: var(--pink-tint); box-shadow: none; outline: 1px dashed var(--pink); outline-offset: -1px; }
.pack .bd { height: 16px; padding: 0 6px; border-radius: 8px; color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; margin-left: 6px; }
.pack .bd.pop { background: var(--purple); } .pack .bd.rec { background: var(--pink); }
.pack .pr { color: var(--pink); font-family: var(--f-en); font-weight: 600; font-size: 14px; }
.nrow { display: flex; gap: 14px; align-items: center; padding: 10px 20px; min-height: 76px; }
.nrow img { width: 56px; height: 56px; border-radius: 28px; flex: 0 0 auto; }
.nrow .tx { font-size: 15px; line-height: 21px; font-weight: 500; }
.nrow .tx .ago { margin-left: 6px; }
.mrow .nm .ago { margin-left: 2px; }
.nrow.read { opacity: .45; }
.optin { margin: 12px 20px; padding: 14px 16px; border-radius: 12px; background: var(--pink-bg); font-size: 14px; line-height: 20px; }
.optin .row { justify-content: space-between; gap: 12px; margin-top: 10px; }

/* 비교 */
.cmp-hero { text-align: center; padding: 18px 24px 0; }
.cmp-hero .av-big { width: 160px; height: 228px; margin: 16px auto 0; border-radius: 12px; overflow: hidden; position: relative; }
.cmp-hero .av-big img { width: 100%; height: 100%; object-fit: cover; }
.cmp-round { margin: 14px 20px 0; padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.cmp-round .r { font-family: var(--f-en); font-size: 12px; color: var(--ink3); font-weight: 600; }
.cmp-cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.cmp-cell { text-align: center; font-size: 12px; }
.cmp-cell img { width: 100%; aspect-ratio: .75; object-fit: cover; border-radius: 8px; }
.rtag { display: inline-flex; align-items: center; gap: 2px; height: 20px; padding: 0 6px; border-radius: 10px; color: #fff; font-family: var(--f-en); font-weight: 600; font-size: 11px; margin-top: 4px; }
.rtag.kiss { background: var(--kiss); } .rtag.marry { background: var(--marry); } .rtag.kill { background: var(--kill); } .rtag.none { background: var(--line); color: var(--ink2); }

/* 합성 대기(Main) */
.wait { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 24px; gap: 26px; text-align: center; }
.wait .msg { font-size: 15px; line-height: 22px; color: var(--ink2); }
.stages { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 290px; text-align: left; }
.stages div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink3); }
.stages div.on { color: var(--ink); font-weight: 700; } .stages div.ok { color: var(--ink2); }
.stages i { width: 10px; height: 10px; border-radius: 5px; background: var(--lav2); } .stages div.on i { background: var(--pink); animation: ty 1s infinite; } .stages div.ok i { background: var(--pink); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (max-height: 700px) { .ob-title { padding-top: 20px; } .choices { padding-top: 24px; } }

/* ───────── 재미 기능(2026-12-02) — 새 부품도 기존 토큰과 치수만 쓴다 ───────── */
.rb.fav { background: #FFF1C9; }
.sec-t { font-weight: 700; font-size: 15px; padding: 18px 24px 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.sec-t .cap { font-weight: 400; }
.tchips { display: flex; gap: 8px; overflow-x: auto; padding: 0 24px 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tchips::-webkit-scrollbar { display: none; }
.tchip { flex: 0 0 auto; height: 37px; padding: 0 16px; border-radius: 18.5px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink2); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.tchip[aria-pressed="true"] { color: var(--pink2); box-shadow: inset 0 0 0 1px var(--pink2); font-weight: 600; }
.tchip.rand { box-shadow: none; outline: 1px dashed var(--pink); outline-offset: -1px; color: var(--pink); background: var(--pink-bg2); }
.tchip .k { font-size: 12px; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 4px 20px 24px; }
.mode { border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); background: #fff; text-align: left; display: flex; flex-direction: column; min-height: 44px; }
.mode .im { height: 92px; background: var(--lav); position: relative; overflow: hidden; display: flex; }
.mode .im img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.mode .im.two img { width: 50%; }
.mode .im .vs { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 15px; background: #fff; color: var(--pink); font-family: var(--f-en); font-weight: 700; font-size: 11px; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-btn); }
.mode .tx { padding: 10px 12px 12px; }
.mode .t { font-size: 15px; font-weight: 700; } .mode .s { font-size: 12px; color: var(--ink3); margin-top: 2px; line-height: 16px; }
.mode .pill { position: absolute; left: 8px; top: 8px; height: 20px; padding: 0 8px; border-radius: 10px; background: rgba(255,255,255,.94); color: var(--pink2); font-size: 11px; font-weight: 700; display: flex; align-items: center; }
.passrow { margin: 10px 20px 0; padding: 14px 16px; border-radius: 12px; background: var(--pink-bg); display: flex; align-items: center; gap: 12px; min-height: 60px; }
.passrow .t { font-size: 15px; font-weight: 700; } .passrow .s { font-size: 12px; color: var(--ink2); margin-top: 2px; } .passrow .go { margin-left: auto; color: var(--pink); font-weight: 700; font-size: 14px; white-space: nowrap; }

/* 다른 사람 비율(게임 제출 뒤) */
.crowd { position: absolute; left: 8px; right: 8px; bottom: 8px; background: rgba(255,255,255,.94); border-radius: 8px; padding: 7px 8px 6px; display: flex; flex-direction: column; gap: 4px; animation: up .25s ease; }
.crow { display: grid; grid-template-columns: 16px 1fr 32px; align-items: center; gap: 5px; font-family: var(--f-en); font-size: 11px; color: var(--ink2); }
.crow .bar { height: 4px; border-radius: 2px; background: var(--lav2); overflow: hidden; }
.crow .bar i { display: block; height: 100%; border-radius: 2px; transition: width .5s ease; }
.crow.kiss .bar i { background: var(--kiss); } .crow.marry .bar i { background: var(--marry); } .crow.kill .bar i { background: var(--kill); }
.crow .p { text-align: right; font-weight: 600; }
.crow.me { color: var(--ink); } .crow.me .p { font-weight: 700; }
.crow.top .p { color: var(--pink2); }
.crowd .first { font-size: 11px; line-height: 15px; color: var(--ink2); text-align: center; padding: 2px 0; }
.revealed .pcard .lbl { bottom: auto; top: 12px; font-size: 20px; }
.pcard .mine { position: absolute; right: 8px; top: 12px; height: 20px; padding: 0 7px; border-radius: 10px; background: rgba(255,255,255,.94); color: var(--pink2); font-size: 11px; font-weight: 700; display: flex; align-items: center; }
.res { text-align: center; padding: 8px 24px 6px; font-size: 15px; color: var(--ink2); min-height: 20px; }
.res b { color: var(--pink2); }

/* 친구 비교 판정 */
.verdict { margin: 14px 20px 0; padding: 20px 20px 18px; border-radius: 20px; background: var(--grad-card); color: #fff; box-shadow: 0 0 24px rgba(97,37,73,.25); }
.verdict .k { font-family: var(--f-en); font-weight: 600; font-size: 13px; opacity: .9; }
.verdict .w { font-size: 34px; line-height: 42px; font-weight: 800; margin-top: 4px; }
.verdict .d { font-size: 15px; line-height: 22px; margin-top: 6px; opacity: .95; }
.verdict .meter { display: flex; gap: 4px; margin-top: 14px; }
.verdict .meter i { flex: 1; height: 6px; border-radius: 3px; background: rgba(255,255,255,.3); }
.verdict .meter i.on { background: #fff; }
.mini { display: flex; align-items: center; gap: 14px; margin: 14px 20px 0; padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.mini .ph { width: 72px; height: 103px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; }
.mini .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.mini .t { font-size: 15px; font-weight: 700; } .mini .s { font-size: 12px; color: var(--ink3); margin-top: 3px; }
.cmp-cell .ph { position: relative; }
.cmp-cell .same { position: absolute; left: 50%; transform: translateX(-50%); bottom: 6px; height: 20px; padding: 0 8px; border-radius: 10px; background: #fff; color: var(--pink2); font-size: 11px; font-weight: 700; display: flex; align-items: center; white-space: nowrap; box-shadow: 0 0 0 1px var(--pink2) inset; }
.cmp-cell .nm { font-size: 12px; font-weight: 600; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp-cell .all { color: var(--ink3); white-space: nowrap; }
.cmp-cell .all .rtag { background: #fff; color: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); }
.legend { margin: 10px 20px 0; font-size: 12px; color: var(--ink3); text-align: center; }

/* 이상형 월드컵 */
.duel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px 24px 0; }
.duel > button { text-align: left; display: block; border-radius: 12px; transition: transform .15s; }
.duel > button:active { transform: scale(.98); }
.duel .ph { width: 100%; aspect-ratio: .7; border-radius: 12px; overflow: hidden; background: var(--pink-bg2); }
.duel .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.duel .nm { font-size: 16px; font-weight: 700; margin-top: 10px; }
.duel .jb { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.duel .ln { word-break: keep-all; font-size: 13px; line-height: 19px; color: var(--ink2); margin-top: 6px; }
.duel .vs { position: absolute; left: 50%; top: calc(14px + (min(100vw, 430px) - 60px) / 2 / .7 / 2 - 24px); transform: translateX(-50%); width: 48px; height: 48px; border-radius: 24px; background: #fff; box-shadow: var(--sh-btn); color: var(--pink); font-family: var(--f-en); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.duel .picked .ph { box-shadow: 0 0 0 3px var(--pink); }
.duel .out { opacity: .25; transform: scale(.96); }
.win { position: relative; --tw: min(62vw, 236px); height: calc(var(--tw) * 1.43 + 8px); margin-top: 14px; }
.cmt { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; padding: 10px 20px; align-items: start; }
.cmt .a { width: 36px; height: 36px; border-radius: 18px; background: var(--pink-tint); color: var(--pink2); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.cmt .n { font-size: 13px; font-weight: 700; } .cmt .n span { font-weight: 400; color: var(--ink3); font-size: 12px; margin-left: 6px; }
.cmt .t { font-size: 14px; line-height: 20px; margin-top: 2px; word-break: break-word; }
.cmt .x { color: var(--ink3); font-size: 12px; min-height: 32px; padding: 0 4px; }
.cin { margin: 8px 20px 0; display: flex; gap: 8px; align-items: center; }
.cin input { flex: 1; height: 44px; border-radius: 22px; border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 0 18px; font-size: 15px; background: #fff; }
.cin button { height: 44px; padding: 0 16px; border-radius: 22px; background: var(--pink); color: #fff; font-weight: 700; font-size: 14px; }
.cin button[disabled] { background: var(--line); }
.rank-row { display: grid; grid-template-columns: 28px 48px 1fr auto; gap: 12px; align-items: center; padding: 8px 20px; }
.rank-row .no { font-family: var(--f-en); font-weight: 700; font-size: 16px; color: var(--ink3); text-align: center; }
.rank-row.top .no { color: var(--pink); }
.rank-row img { width: 48px; height: 48px; border-radius: 24px; object-fit: cover; }
.rank-row .w { font-family: var(--f-en); font-weight: 600; font-size: 14px; color: var(--ink2); }
.rank-row.me { background: var(--pink-5); }

/* 이야기 모드 */
.scene { position: relative; height: min(56dvh, 470px); overflow: hidden; background: var(--lav); }
.scene > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.scene::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 100%); }
.scene .top { position: absolute; left: 0; right: 0; top: var(--safe-t); display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; z-index: 2; gap: 8px; }
.scene .rb2 { width: 40px; height: 40px; border-radius: 20px; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.scene .rb2 img { width: 22px; }
.scene .who { height: 32px; padding: 0 12px 0 4px; border-radius: 16px; background: rgba(255,255,255,.9); display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; min-width: 0; }
.scene .who img { width: 24px; height: 24px; border-radius: 12px; object-fit: cover; }
.scene .step { font-family: var(--f-en); font-size: 12px; font-weight: 600; color: var(--ink2); background: rgba(255,255,255,.9); height: 28px; padding: 0 10px; border-radius: 14px; display: flex; align-items: center; white-space: nowrap; flex: 0 0 auto; }
.scene .place { position: absolute; left: 16px; bottom: 74px; z-index: 2; height: 24px; padding: 0 10px; border-radius: 12px; background: rgba(0,0,0,.42); color: #fff; font-size: 12px; display: flex; align-items: center; }
.say { position: relative; z-index: 3; margin-top: -64px; padding: 0 16px; display: flex; flex-direction: column; gap: 6px; }
.say .desc { font-size: 13px; line-height: 19px; color: var(--ink2); padding: 0 6px; }
.say .bub { max-width: 92%; background: #fff; box-shadow: 0 0 24px rgba(97,37,73,.12), inset 0 0 0 1px var(--pink-10); }
.say .bub.user { align-self: flex-end; box-shadow: inset 0 0 0 1px var(--line); }
.timer { margin: 14px 24px 0; height: 6px; border-radius: 3px; background: var(--lav2); overflow: hidden; }
.timer i { display: block; width: 100%; height: 100%; background: var(--pink); border-radius: 3px; transform-origin: left; }
.trow { display: flex; justify-content: space-between; margin: 6px 24px 0; font-size: 12px; color: var(--ink3); gap: 8px; }
.trow b { color: var(--pink); font-family: var(--f-en); }
.opts { display: flex; flex-direction: column; gap: 10px; padding: 14px 24px 24px; }
.opts .choice { font-family: var(--f-ko); font-size: 16px; min-height: 50px; padding: 8px 18px; line-height: 1.3; text-align: center; }
.opts .choice[disabled] { opacity: .45; }
.prog2 { margin: 6px 20px 0; padding: 14px 16px; border-radius: 12px; background: var(--pink-bg); }
.prog2 .r { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; font-weight: 700; }
.prog2 .r b { font-family: var(--f-en); color: var(--pink); font-size: 20px; }
.prog2 .bar { height: 6px; border-radius: 3px; background: #fff; margin-top: 10px; overflow: hidden; } .prog2 .bar i { display: block; height: 100%; background: var(--pink); border-radius: 3px; }
.prog2 .s { font-size: 12px; color: var(--ink2); margin-top: 8px; }
.route { position: relative; padding: 14px 20px 0; }
.route::before { content: ''; position: absolute; left: 47px; top: 30px; bottom: 30px; width: 2px; background: var(--lav2); }
.node { position: relative; display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.node .th { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: var(--lav); box-shadow: 0 0 0 3px #fff; }
.node .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.node .t { font-size: 15px; font-weight: 700; } .node .s { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.node .v { font-size: 12px; color: var(--ink3); white-space: nowrap; }
.node.done .v { color: var(--ink2); }
.node.now .th { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--pink); }
.node.now .v { color: #fff; background: var(--pink); height: 24px; padding: 0 10px; border-radius: 12px; display: flex; align-items: center; font-weight: 700; }
.node.lock .th img { filter: grayscale(1) blur(2px); opacity: .5; }
.node.lock .t { color: var(--ink3); }
.branch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 4px 68px; }
.bcard { padding: 10px 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; text-align: left; min-height: 44px; }
.bcard b { display: block; font-size: 14px; }
.bcard.open { box-shadow: inset 0 0 0 1px var(--pink2); } .bcard.open b { color: var(--pink2); }
.bcard .k { color: var(--ink3); font-size: 12px; margin-top: 3px; display: block; }
.ends { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 20px 0; }
.end { border-radius: 12px; height: 118px; position: relative; overflow: hidden; color: #fff; padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; }
.end.kiss { background: linear-gradient(161deg, #F2829D 0%, #704299 100%); }
.end.marry { background: linear-gradient(161deg, #B597E0 0%, #5B3C8F 100%); }
.end.kill { background: linear-gradient(161deg, #A3A7B0 0%, #4F535C 100%); }
.end img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.end.lock img { display: none; }
.end .l { position: relative; font-family: var(--f-en); font-weight: 600; font-size: 15px; }
.end .s { position: relative; font-size: 11px; opacity: .95; margin-top: 2px; }
.end .q { position: absolute; left: 0; right: 0; top: 26px; text-align: center; font-family: var(--f-en); font-size: 30px; font-weight: 700; opacity: .6; }
.end:not(.lock)::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.45)); z-index: 0; }
.spick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 4px 20px 24px; }
.spick button { text-align: left; }
.spick .ph { aspect-ratio: .75; border-radius: 12px; overflow: hidden; position: relative; background: var(--lav); }
.spick .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.spick .dots3 { position: absolute; left: 6px; bottom: 6px; display: flex; gap: 3px; }
.spick .dots3 i { width: 16px; height: 16px; border-radius: 8px; background: rgba(255,255,255,.85); font-style: normal; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.spick .dots3 i.on.kiss { background: var(--kiss); } .spick .dots3 i.on.marry { background: var(--marry); } .spick .dots3 i.on.kill { background: var(--kill); }
.spick .nm { font-size: 13px; font-weight: 600; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spick .rb3 { position: absolute; right: 6px; top: 6px; width: 22px; height: 22px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 11px; border: 2px solid #fff; }
.eh { display: flex; align-items: center; gap: 10px; padding: 14px 24px 0; }
.eh .no { width: 40px; height: 40px; border-radius: 20px; background: var(--pink); color: #fff; font-family: var(--f-en); font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-btn); flex: 0 0 auto; }
.eh .t { font-size: 14px; font-weight: 700; } .eh .t span { display: block; font-weight: 400; color: var(--ink3); font-size: 12px; }
.col { margin: 4px 20px 0; padding: 14px 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.col .r { display: flex; justify-content: space-between; font-size: 14px; font-weight: 700; } .col .r b { color: var(--pink); font-family: var(--f-en); }
.col .bar { height: 6px; border-radius: 3px; background: var(--lav2); margin-top: 10px; overflow: hidden; } .col .bar i { display: block; height: 100%; background: var(--pink); border-radius: 3px; }
.col .s { font-size: 12px; color: var(--ink3); margin-top: 8px; }
.story-line { text-align: center; padding: 10px 28px 0; font-size: 14px; line-height: 21px; color: var(--ink2); }

/* 오늘의 코디, 런웨이 */
.trow2 { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px 0 20px; min-height: 56px; gap: 8px; }
.theme { height: 32px; padding: 0 12px; border-radius: 16px; background: var(--pink-tint); color: var(--pink2); font-size: 13px; font-weight: 700; display: flex; align-items: center; white-space: nowrap; }
.clock { font-family: var(--f-en); font-weight: 600; font-size: 22px; color: var(--pink); margin-left: auto; }
.board { position: relative; width: min(78vw, 300px); aspect-ratio: .82; margin: 8px auto 0; border-radius: 20px; overflow: hidden; box-shadow: var(--sh-soft); }
.board.kiss, .board.fav { background: linear-gradient(161deg, #F2829D 0%, #704299 100%); } .board.marry { background: linear-gradient(161deg, #B597E0 0%, #5B3C8F 100%); } .board.kill { background: linear-gradient(161deg, #A3A7B0 0%, #4F535C 100%); }
.board .person { position: absolute; left: 4%; bottom: 0; width: 64%; height: 92%; object-fit: cover; object-position: 50% 10%; }
.board .nm { position: absolute; left: 10px; top: 10px; background: rgba(0,0,0,.35); color: #fff; font-size: 12px; padding: 3px 8px; border-radius: 10px; font-weight: 500; z-index: 3; }
.board .stk { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.25); border: 3px solid #fff; z-index: 2; }
.board .stk img { width: 100%; height: 100%; object-fit: cover; }
.board .stk.outer { right: 4%; top: 7%; transform: rotate(5deg); } .board .stk.top { right: 7%; top: 31%; transform: rotate(-4deg); }
.board .stk.bottom { right: 3%; top: 55%; transform: rotate(3deg); } .board .stk.acc { right: 30%; top: 72%; transform: rotate(-7deg); width: 24%; }
.board .stk.empty { background: rgba(255,255,255,.25); border-style: dashed; border-color: rgba(255,255,255,.7); }
.board.sm { width: min(64vw, 248px); }
.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 20px 0; }
.it { border-radius: 12px; background: var(--lav); aspect-ratio: 1; overflow: hidden; position: relative; display: block; }
.it img { width: 100%; height: 100%; object-fit: cover; }
.it .nm2 { position: absolute; left: 0; right: 0; bottom: 0; font-size: 11px; color: var(--ink2); background: rgba(255,255,255,.85); padding: 3px 6px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--pink); }
.it[aria-pressed="true"]::after { content: '✓'; position: absolute; right: 6px; top: 6px; width: 20px; height: 20px; border-radius: 10px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.stars { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.stars button { font-size: 40px; line-height: 1; color: var(--lav2); width: 52px; height: 52px; }
.stars button.on { color: var(--pink); text-shadow: 0 0 12px rgba(255,50,126,.35); }
.judges { padding: 4px 20px 0; display: flex; flex-direction: column; gap: 10px; }
.judge { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); align-items: start; }
.judge img { width: 44px; height: 44px; border-radius: 22px; object-fit: cover; }
.judge .n { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; } .judge .n .st { color: var(--pink); font-size: 13px; letter-spacing: 1px; }
.judge .t { font-size: 14px; line-height: 20px; color: var(--ink2); margin-top: 3px; }
.scoreline { text-align: center; margin-top: 12px; }
.scoreline b { font-family: var(--f-en); font-size: 40px; color: var(--pink); }
.scoreline span { display: block; font-size: 13px; color: var(--ink2); }

/* 이상형 직접 만들기 */
.done-t { color: var(--pink); font-weight: 700; font-size: 16px; padding: 0 8px; min-height: 44px; display: flex; align-items: center; }
.mkpv { width: 176px; height: 236px; margin: 6px auto 0; border-radius: 20px; overflow: hidden; position: relative; box-shadow: var(--sh-soft); background: var(--lav); }
.mkpv img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: opacity .2s; }
.mkpv .tg { position: absolute; left: 10px; top: 10px; right: 10px; background: rgba(0,0,0,.35); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 10px; width: max-content; max-width: calc(100% - 20px); }
.picked { text-align: center; margin-top: 10px; font-size: 13px; color: var(--ink2); padding: 0 20px; line-height: 19px; }
.picked b { color: var(--ink); }
.tabs.sm { margin-top: 14px; padding: 0 12px; }
.tabs.sm button { font-family: var(--f-ko); text-transform: none; font-size: 14px; }
.parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 20px 0; }
.part { border-radius: 10px; overflow: hidden; position: relative; background: var(--lav); display: block; }
.part img { width: 100%; height: 100%; object-fit: cover; display: block; }
.part.eyes { aspect-ratio: 2.6; } .part.hair { aspect-ratio: 1.6; } .part.face { aspect-ratio: 1.15; }
.part[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--pink); }
.part[aria-pressed="true"]::after { content: '✓'; position: absolute; right: 5px; top: 5px; width: 18px; height: 18px; border-radius: 9px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.vibes { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 20px 0; }

/* 고백 */
.screen.blush { background: var(--pink-bg); }
.who2 { position: relative; width: 150px; height: 214px; margin: 4px auto 0; }
.who2 .pcard { position: relative; width: 150px; height: 214px; }
.places { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px 20px 0; }
.places .choice { font-family: var(--f-ko); font-size: 16px; background: #fff; }
.blush .notice { background: #fff; }
.waiting { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 40px 24px; text-align: center; }
.waiting .env { font-size: 64px; animation: ty 1.2s infinite; }

/* 사물 비추기 */
.screen.dark { background: #111; }
.vf { position: relative; height: min(62dvh, 520px); overflow: hidden; background: #2a2a2e; }
.vf video, .vf > img { width: 100%; height: 100%; object-fit: cover; }
.vf::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 45%, rgba(0,0,0,.45) 100%); pointer-events: none; }
.vf .top { position: absolute; left: 0; right: 0; top: var(--safe-t); z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.vf .rb2 { width: 40px; height: 40px; border-radius: 20px; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; } .vf .rb2 img { width: 22px; }
.vf .lab { height: 30px; padding: 0 12px; border-radius: 15px; background: rgba(0,0,0,.45); color: #fff; font-size: 13px; font-weight: 600; display: flex; align-items: center; }
.frame { position: absolute; left: 15%; right: 15%; top: 18%; bottom: 14%; z-index: 2; pointer-events: none; }
.frame i { position: absolute; width: 34px; height: 34px; border-color: #fff; border-style: solid; }
.frame i:nth-child(1) { left: 0; top: 0; border-width: 3px 0 0 3px; border-radius: 12px 0 0 0; }
.frame i:nth-child(2) { right: 0; top: 0; border-width: 3px 3px 0 0; border-radius: 0 12px 0 0; }
.frame i:nth-child(3) { left: 0; bottom: 0; border-width: 0 0 3px 3px; border-radius: 0 0 0 12px; }
.frame i:nth-child(4) { right: 0; bottom: 0; border-width: 0 3px 3px 0; border-radius: 0 0 12px 0; }
.vf .scanline { position: absolute; left: 15%; right: 15%; height: 2px; background: var(--pink); box-shadow: 0 0 12px var(--pink); z-index: 2; animation: scan 1.6s ease-in-out infinite alternate; top: 20%; }
@keyframes scan { to { top: 84%; } }
.shut { display: flex; justify-content: center; align-items: center; gap: 28px; padding: 22px 24px calc(22px + var(--safe-b)); background: #111; color: #fff; }
.shut .sb { width: 72px; height: 72px; border-radius: 36px; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.shut label, .shut .alt { color: #fff; font-size: 13px; min-height: 44px; display: flex; align-items: center; opacity: .9; }
.found { background: #fff; border-radius: 20px 20px 0 0; padding: 22px 20px calc(20px + var(--safe-b)); margin-top: -24px; position: relative; z-index: 3; flex: 1; }
.found .cap2 { color: var(--pink2); font-weight: 700; font-size: 13px; }
.found h3 { margin: 4px 0 0; font-size: 21px; line-height: 29px; }
.mrow2 { display: grid; grid-template-columns: 78px 1fr; gap: 14px; margin-top: 14px; align-items: center; }
.mrow2 img { width: 78px; height: 104px; border-radius: 12px; object-fit: cover; object-position: 50% 20%; }
.mrow2 .n { font-size: 17px; font-weight: 700; } .mrow2 .j { font-size: 12px; color: var(--ink3); margin-top: 2px; } .mrow2 .l { font-size: 14px; color: var(--ink2); margin-top: 8px; line-height: 20px; }
.found .btns { padding: 18px 0 0; }

/* 패스, 리포트 */
.pass-h { padding: 22px 24px 0; }
.ben { padding: 14px 24px 0; display: flex; flex-direction: column; gap: 12px; }
.ben div { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 15px; line-height: 21px; }
.ben b { font-weight: 700; } .ben span.s { display: block; color: var(--ink3); font-size: 13px; line-height: 18px; margin-top: 1px; }
.passes { padding: 20px 20px 0; display: flex; flex-direction: column; gap: 9px; }
.pass { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 12px 18px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; width: 100%; text-align: left; }
.pass.rec { background: var(--pink-tint); box-shadow: none; outline: 1px dashed var(--pink); outline-offset: -1px; }
.pass[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--pink); }
.pass .t { font-size: 16px; font-weight: 700; display: flex; align-items: center; } .pass .s { font-size: 12px; color: var(--ink3); margin-top: 3px; }
.pass .pr { color: var(--pink); font-family: var(--f-en); font-weight: 600; font-size: 15px; text-align: right; }
.pass .pr small { display: block; color: var(--ink3); font-family: var(--f-ko); font-weight: 400; font-size: 11px; margin-top: 2px; }
.pass .bd, .bd2 { height: 16px; padding: 0 6px; border-radius: 8px; color: #fff; font-size: 10px; font-weight: 700; display: inline-flex; align-items: center; margin-left: 6px; background: var(--pink); }
.ins { margin: 12px 20px 0; padding: 16px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.ins h4 { margin: 0; font-size: 15px; } .ins .s { font-size: 12px; color: var(--ink3); margin-top: 2px; }
.ins .row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.ins .row3 .c { text-align: center; font-size: 12px; color: var(--ink2); }
.ins .row3 img { width: 100%; aspect-ratio: .8; object-fit: cover; object-position: 50% 18%; border-radius: 10px; }
.ins .big { font-family: var(--f-en); font-weight: 700; font-size: 40px; color: var(--pink); margin-top: 8px; }
.ins.locked > *:not(.lockcover) { filter: blur(6px); opacity: .6; pointer-events: none; }
.ins .lockcover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2; }
.ins .lockcover a { height: 40px; padding: 0 18px; border-radius: 20px; background: var(--pink); color: #fff; font-weight: 700; font-size: 14px; display: flex; align-items: center; box-shadow: var(--sh-btn); }

.revealed .pcard .undo { display: none !important; }
.duel { align-items: start; }
.ins .row3 .c { word-break: keep-all; line-height: 16px; }

/* 2026-12-02 날짜 덱 카드, 이번 주 새 얼굴 */
.evcard { display: block; position: relative; overflow: hidden; width: calc(100% - 40px); margin: 16px 20px 0; padding: 18px 18px 16px; border-radius: 20px; background: var(--grad-card); color: #fff; text-align: left; box-shadow: 0 6px 24px rgba(112,66,153,.25); min-height: 132px; }
.evcard .k { display: block; font-size: 12px; font-weight: 700; letter-spacing: .4px; opacity: .9; }
.evcard .t { display: block; font-size: 22px; font-weight: 800; line-height: 1.25; margin-top: 8px; max-width: 64%; }
.evcard .s { display: block; font-size: 15px; opacity: .92; margin-top: 6px; max-width: 64%; }
.evcard .d { position: absolute; right: 16px; top: 16px; background: rgba(255,255,255,.22); border-radius: 12px; padding: 5px 9px; font-size: 13px; font-weight: 700; }
.evcard .im { position: absolute; right: -6px; bottom: -6px; height: 100px; display: flex; pointer-events: none; }
.evcard .im img { height: 100px; width: auto; margin-left: -24px; filter: drop-shadow(0 4px 10px rgba(0,0,0,.2)); }
.nfrow { display: flex; gap: 10px; padding: 0 20px 4px; overflow-x: auto; scrollbar-width: none; }
.nfrow::-webkit-scrollbar { display: none; }
.nf { width: 76px; flex: none; text-align: center; }
.nf .ph { display: block; width: 76px; height: 96px; border-radius: 12px; overflow: hidden; position: relative; box-shadow: inset 0 0 0 2px var(--pink); }
.nf .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nf .bd { position: absolute; left: 5px; top: 5px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 5px; border-radius: 6px; letter-spacing: .3px; }
.nf .n { display: block; font-size: 13px; margin-top: 6px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.newtag { color: var(--pink); font-weight: 700; font-family: var(--f-en); font-size: 11px; }
.newtag-c { color: var(--pink) !important; font-weight: 700; }
.homeextra { padding-top: 10px; }
.homeextra .sec-t { padding-top: 22px; }

/* ── 2026-12-02 유튜버 방송 모드: 스트리머 화면(.lv, 가로 16:9 캡처용), 설정(.lv-setup), 시청자 폰(.lvv) ── */
body.lv-body { overflow: hidden; background: #2a1a3d; }
.lv-live { display: inline-flex; align-items: center; gap: 6px; background: #FF3B30; color: #fff; font-weight: 800; font-size: .72em; letter-spacing: .06em; padding: .18em .55em; border-radius: 6px; vertical-align: middle; }
.lv-live::before { content: ''; width: .5em; height: .5em; border-radius: 50%; background: #fff; animation: lvblink 1.2s infinite; }
@keyframes lvblink { 50% { opacity: .25; } }
.lv-setup { position: fixed; inset: 0; overflow-y: auto; z-index: 5; min-height: 100dvh; background: linear-gradient(135deg, #F2829D 0%, #9F7BCE 55%, #704299 100%); display: flex; justify-content: center; padding: 32px 20px 48px; color: #fff; }
.lv-setup-in { width: 100%; max-width: 720px; }
.lv-setup .lv-brand { font-size: 17px; font-weight: 800; letter-spacing: .04em; }
.lv-setup .lv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lv-setup .lv-x { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.18); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.lv-setup h1 { font-size: 34px; font-weight: 800; margin: 14px 0 8px; }
.lv-setup .sub { font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.92); margin: 0 0 8px; }
.lv-setup h3 { font-size: 15px; font-weight: 700; margin: 22px 0 10px; color: rgba(255,255,255,.88); }
.lv-seg { display: flex; flex-wrap: wrap; gap: 8px; }
.lv-seg button { background: rgba(255,255,255,.16); color: #fff; border-radius: 14px; padding: 10px 16px; font-size: 16px; text-align: left; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.lv-seg button b { font-weight: 700; display: block; }
.lv-seg button small { display: block; font-size: 13px; opacity: .85; margin-top: 2px; max-width: 280px; }
.lv-seg button[aria-pressed=true] { background: #fff; color: #222; box-shadow: none; }
.lv-setup-go { display: flex; gap: 10px; margin: 28px 0 12px; flex-wrap: wrap; }
.lv-setup-go .btn { width: auto; min-width: 220px; }
.lv-setup .cap { color: rgba(255,255,255,.85); font-size: 13px; }
.lv { position: fixed; inset: 0; display: grid; grid-template-columns: 1fr clamp(240px, 23vw, 440px); gap: 1.8vw; padding: 2vw; background: linear-gradient(135deg, #F2829D 0%, #9F7BCE 55%, #704299 100%); color: #fff; font-family: var(--f-ko); }
.lv-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.lv-top { display: flex; align-items: center; gap: 1.2vw; font-size: clamp(14px, 1.2vw, 24px); }
.lv-brand { font-weight: 800; letter-spacing: .04em; }
.lv-round { font-weight: 700; opacity: .9; }
.lv-phase { font-weight: 800; font-family: var(--f-en); letter-spacing: .05em; padding: .25em .7em; border-radius: 999px; background: rgba(0,0,0,.18); }
.lv-phase.vote { color: #fff; } .lv-phase.pick { color: #FFE14D; } .lv-phase.reveal { color: #7CFFB2; }
.lv-q { font-size: clamp(26px, 3.1vw, 64px); font-weight: 800; line-height: 1.1; margin: 1.1vw 0 1.4vw; text-shadow: 0 2px 16px rgba(60,20,80,.25); }
.lv-cards { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4vw; }
.lv-card { position: relative; border-radius: 1.4vw; overflow: hidden; background: #eee; box-shadow: 0 1vw 2.4vw rgba(60,20,80,.28); display: block; text-align: left; color: #fff; transition: transform .15s, box-shadow .15s; }
.lv-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%); pointer-events: none; }
.lv-card.r-kiss { box-shadow: 0 0 0 .45vw #EE7592, 0 1vw 2.4vw rgba(60,20,80,.3); } .lv-card.r-marry { box-shadow: 0 0 0 .45vw #9F7BCE, 0 1vw 2.4vw rgba(60,20,80,.3); } .lv-card.r-kill { box-shadow: 0 0 0 .45vw #3d3f46, 0 1vw 2.4vw rgba(60,20,80,.3); }
.lv-key { position: absolute; left: .9vw; top: .9vw; z-index: 2; width: 2.2vw; height: 2.2vw; min-width: 24px; min-height: 24px; border-radius: 50%; background: rgba(0,0,0,.35); display: grid; place-items: center; font-weight: 800; font-size: clamp(12px, 1vw, 20px); }
.lv-tag { position: absolute; right: .9vw; top: .9vw; z-index: 2; font-weight: 800; font-size: clamp(14px, 1.5vw, 30px); padding: .25em .6em; border-radius: .6em; color: #fff; }
.lv-tag.kiss { background: #EE7592; } .lv-tag.marry { background: #9F7BCE; } .lv-tag.kill { background: #3d3f46; }
.lv-same { white-space: nowrap; position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) rotate(-6deg); z-index: 3; background: #FFE14D; color: #222; font-weight: 800; font-size: clamp(16px, 1.8vw, 36px); padding: .2em .7em; border-radius: .5em; box-shadow: 0 .4vw 1vw rgba(0,0,0,.25); }
.lv-name { position: absolute; left: 1.1vw; right: 1.1vw; bottom: 1vw; z-index: 2; display: block; }
.lv-name b { display: block; font-size: clamp(16px, 1.9vw, 38px); font-weight: 800; line-height: 1.15; }
.lv-name small { display: block; font-size: clamp(12px, 1vw, 20px); opacity: .9; margin-top: .2em; }
.lv-card:has(.lv-bars) .lv-name { bottom: 11vw; }
.lv-bars { position: absolute; left: .9vw; right: .9vw; bottom: .9vw; z-index: 2; background: rgba(255,255,255,.94); color: #222; border-radius: .9vw; padding: .7vw .9vw; display: grid; gap: .45vw; }
.lv-bar { display: grid; grid-template-columns: 1.8vw 1fr 3.6vw; align-items: center; gap: .6vw; font-size: clamp(12px, 1.1vw, 22px); }
.lv-bar b { height: .8vw; min-height: 6px; background: #eee; border-radius: 99px; overflow: hidden; display: block; }
.lv-bar b i { display: block; height: 100%; border-radius: 99px; }
.lv-bar.kiss i { background: #EE7592; } .lv-bar.marry i { background: #9F7BCE; } .lv-bar.kill i { background: #787C86; }
.lv-bar em { font-style: normal; font-weight: 700; text-align: right; }
.lv-bar.top em { color: #FF327E; }
.lv-ctl { display: flex; align-items: center; gap: .8vw; margin-top: 1.2vw; font-size: clamp(13px, .95vw, 18px); }
.lv-btn { background: rgba(255,255,255,.2); color: #fff; border-radius: 999px; padding: .6em 1.3em; font-weight: 700; box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.lv-btn.primary { background: #fff; color: #FF327E; box-shadow: none; }
.lv-btn.ghost { background: none; opacity: .75; }
.lv-btn[disabled] { opacity: .45; }
.lv-btn[hidden] { display: none; }
.lv-auto { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; }
.lv-keys { opacity: .7; font-size: .9em; }
.lv-side { display: flex; flex-direction: column; gap: 1.2vw; min-height: 0; }
.lv-join { background: #fff; color: #222; border-radius: 1.4vw; padding: 1.4vw; text-align: center; box-shadow: 0 1vw 2.4vw rgba(60,20,80,.25); }
.lv-qr { width: 78%; margin: 0 auto; aspect-ratio: 1; }
.lv-qr svg { width: 100%; height: 100%; display: block; }
.lv-jt { font-weight: 800; font-size: clamp(14px, 1.25vw, 26px); margin-top: 1vw; }
.lv-url { font-size: clamp(11px, .85vw, 17px); color: #666; margin-top: .35vw; word-break: break-all; }
.lv-code { font-size: clamp(26px, 3vw, 60px); font-weight: 800; letter-spacing: .12em; color: #FF327E; margin-top: .4vw; }
.lv-box { background: rgba(255,255,255,.16); border-radius: 1.2vw; padding: 1.1vw 1.2vw; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.lv-n { font-size: clamp(15px, 1.4vw, 28px); font-weight: 800; }
.lv-timer { height: .7vw; min-height: 6px; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; margin-top: .8vw; }
.lv-timer i { display: block; height: 100%; width: 0; background: #FFE14D; border-radius: 99px; transition: width .25s linear; }
.lv-tleft { font-size: clamp(12px, 1vw, 20px); margin-top: .4vw; opacity: .9; }
.lv-top3 { flex: 1; min-height: 0; overflow: hidden; }
.lv-tt { font-weight: 800; font-size: clamp(14px, 1.25vw, 24px); }
.lv-tsub { font-size: clamp(11px, .85vw, 17px); opacity: .88; margin: .3vw 0 .6vw; }
.lv-trow { display: flex; justify-content: space-between; gap: .8vw; font-size: clamp(12px, 1vw, 20px); padding: .5vw 0; border-top: 1px solid rgba(255,255,255,.2); }
.lv-trow b { font-weight: 800; text-align: right; }
.lvv { background: linear-gradient(180deg, #FFF5F9 0%, #fff 40%); padding: 0 16px 24px; }
.lvv-top { display: flex; align-items: center; gap: 8px; padding: 14px 0 4px; font-size: 15px; }
.lvv-top b { font-size: 17px; letter-spacing: .1em; }
.lvv-rd { color: var(--ink3); font-size: 13px; }
.lvv-head { font-size: 17px; font-weight: 700; margin: 10px 0 14px; line-height: 1.4; }
.lvv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lvv-card { text-align: center; color: var(--ink); }
.lvv-card .ph { display: block; position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #eee; }
.lvv-card .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lvv-card.r-kiss .ph { box-shadow: 0 0 0 3px #EE7592; } .lvv-card.r-marry .ph { box-shadow: 0 0 0 3px #9F7BCE; } .lvv-card.r-kill .ph { box-shadow: 0 0 0 3px #3d3f46; }
.lvv-tag { position: absolute; left: 6px; right: 6px; bottom: 6px; border-radius: 8px; color: #fff; font-size: 13px; font-weight: 800; padding: 4px 0; }
.lvv-tag.kiss { background: #EE7592; } .lvv-tag.marry { background: #9F7BCE; } .lvv-tag.kill { background: #3d3f46; }
.lvv-card b { display: block; font-size: 15px; margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lvv-host { display: block; font-size: 13px; color: #FF327E; font-weight: 700; margin-top: 2px; }
.lvv-bars { display: grid; gap: 4px; margin-top: 6px; }
.lvv-bar { position: relative; display: block; height: 20px; border-radius: 6px; background: #f1f1f4; overflow: hidden; }
.lvv-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 6px; }
.lvv-bar.kiss i { background: rgba(238,117,146,.45); } .lvv-bar.marry i { background: rgba(159,123,206,.45); } .lvv-bar.kill i { background: rgba(120,124,134,.4); }
.lvv-bar em { position: relative; font-style: normal; font-size: 12px; font-weight: 700; line-height: 20px; }
.lvv-legend { display: flex; justify-content: center; gap: 14px; margin: 16px 0 4px; font-size: 15px; color: var(--ink3); }
.lvv-legend .on { color: var(--ink); font-weight: 700; }
.lvv .btns { margin-top: 10px; }
.lvv-solo { display: block; text-align: center; color: var(--pink); font-weight: 700; font-size: 15px; padding: 18px 0 4px; }
.lvv-empty { padding: 80px 0; text-align: center; color: var(--ink3); font-size: 17px; }

.lvv-done { text-align: center; font-size: 15px; font-weight: 700; color: var(--ink2); margin: 14px 0 0; }

/* 가로(16:9)를 골랐는데 창이 세로일 때: 카드 위, 참여 QR 과 오늘 방송은 아래 한 줄 */
@media (orientation: portrait) {
  .lv.lv-h { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 2.4vh; padding: 3vh 3vw; }
  .lv-h .lv-q { font-size: 5.2vw; margin: 1.6vh 0 2vh; }
  .lv-h .lv-top { font-size: 2.6vw; }
  .lv-h .lv-cards { gap: 2vw; }
  .lv-h .lv-name b { font-size: 3.6vw; } .lv-h .lv-name small { font-size: 2.2vw; }
  .lv-h .lv-tag { font-size: 2.8vw; } .lv-h .lv-key { width: 4.4vw; height: 4.4vw; font-size: 2.2vw; }
  .lv-h .lv-card:has(.lv-bars) .lv-name { bottom: 20vw; }
  .lv-h .lv-bars { border-radius: 1.6vw; padding: 1.2vw; gap: .8vw; } .lv-h .lv-bar { grid-template-columns: 3.4vw 1fr 7vw; font-size: 2.3vw; } .lv-h .lv-bar b { height: 1.4vw; }
  .lv-h .lv-same { font-size: 3.4vw; }
  .lv-h .lv-side { display: grid; grid-template-columns: 30vw 1fr; grid-template-rows: auto 1fr; gap: 2vw; }
  .lv-h .lv-join { grid-row: span 2; padding: 2.4vw; border-radius: 2.6vw; } .lv-h .lv-jt { font-size: 2.6vw; } .lv-h .lv-url { font-size: 1.8vw; } .lv-h .lv-code { font-size: 5.4vw; }
  .lv-h .lv-box { border-radius: 2.4vw; padding: 2vw 2.4vw; } .lv-h .lv-n { font-size: 3vw; } .lv-h .lv-tleft, .lv-h .lv-trow { font-size: 2.2vw; } .lv-h .lv-tt { font-size: 2.6vw; } .lv-h .lv-tsub { font-size: 1.9vw; }
  .lv-h .lv-ctl { font-size: 2.2vw; flex-wrap: wrap; } .lv-h .lv-keys { display: none; }
}

/* 세로 라이브(기본, 2026-12-02 수지님 「세로라이브가 더 중요해」): 9:16 방송 틀 안에는 방송에 나갈 것만.
   틀 크기 기준 단위(cqw, cqh)라 PC 창, 방송 프로그램, 폰 어디서 열어도 비율이 같다.
   틱톡, 쇼츠 라이브는 위 8% 에 방송인 정보, 아래 30% 에 채팅이 덮인다 → 카드와 참여 코드는 가운데, 오늘 방송 기록은 맨 아래 */
.lv.lv-v { display: flex; justify-content: center; align-items: stretch; padding: 0; gap: 0; grid-template-columns: none; background: #170e22; }
.lv-v .lv-stage { display: flex; align-items: stretch; height: 100%; max-width: 100%; }
.lv-v .lv-frame { position: relative; height: 100%; aspect-ratio: 9 / 16; max-width: 100vw; container-type: size; overflow: hidden; display: flex; flex-direction: column; padding: 4.5cqh 4.4cqw 3cqh; background: linear-gradient(160deg, #F2829D 0%, #9F7BCE 55%, #704299 100%); }
.lv-v .lv-top { font-size: 3.3cqw; gap: 2.2cqw; }
.lv-v .lv-q { font-size: 7.2cqw; line-height: 1.15; margin: 2.2cqh 0 1.4cqh; word-break: keep-all; }
.lv-v .lv-status { display: flex; align-items: center; gap: 2.6cqw; font-size: 3.7cqw; margin-bottom: 1.8cqh; }
.lv-v .lv-n { font-size: 1em; font-weight: 800; white-space: nowrap; }
.lv-v .lv-timer { flex: 1; height: 1.6cqw; margin: 0; }
.lv-v .lv-tleft { font-size: 1em; font-weight: 700; margin: 0; min-width: 2.6em; text-align: right; }
.lv-v .lv-tleft:empty { display: none; }
.lv-v .lv-status:has(.lv-tleft:empty) .lv-timer { visibility: hidden; }
.lv-v .lv-cards { flex: 1; min-height: 0; gap: 2.4cqw; }
.lv-v .lv-card { border-radius: 3.2cqw; box-shadow: 0 1.6cqw 4cqw rgba(60,20,80,.3); }
.lv-v .lv-card.r-kiss { box-shadow: 0 0 0 1.1cqw #EE7592, 0 1.6cqw 4cqw rgba(60,20,80,.3); } .lv-v .lv-card.r-marry { box-shadow: 0 0 0 1.1cqw #9F7BCE, 0 1.6cqw 4cqw rgba(60,20,80,.3); } .lv-v .lv-card.r-kill { box-shadow: 0 0 0 1.1cqw #3d3f46, 0 1.6cqw 4cqw rgba(60,20,80,.3); }
.lv-v .lv-key { left: 2cqw; top: 2cqw; width: 6.4cqw; height: 6.4cqw; font-size: 3.4cqw; }
.lv-v .lv-tag { right: 2cqw; top: 2cqw; font-size: 3.6cqw; }
.lv-v .lv-same { font-size: 5cqw; white-space: nowrap; }
.lv-v .lv-name { left: 2.4cqw; right: 2.4cqw; bottom: 2.4cqw; }
.lv-v .lv-name b { font-size: 4.4cqw; word-break: keep-all; }
.lv-v .lv-name small { font-size: 3.1cqw; }
.lv-v .lv-card:has(.lv-bars) .lv-name { bottom: 23.5cqw; }
.lv-v .lv-bars { left: 1.8cqw; right: 1.8cqw; bottom: 1.8cqw; border-radius: 2.4cqw; padding: 1.8cqw 2cqw; gap: 1.2cqw; }
.lv-v .lv-bar { grid-template-columns: 4.4cqw 1fr 8.8cqw; gap: 1.2cqw; font-size: 3.3cqw; }
.lv-v .lv-bar b { height: 1.8cqw; }
.lv-v .lv-join { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8cqw 3cqw; text-align: left; margin-top: 2.2cqh; padding: 2.4cqw 3.4cqw; border-radius: 3.2cqw; box-shadow: 0 1.6cqw 4cqw rgba(60,20,80,.25); }
.lv-v .lv-qr { width: 15cqw; margin: 0; grid-row: span 2; }
.lv-v .lv-jt { font-size: 3.9cqw; margin: 0; }
.lv-v .lv-url { grid-column: 2 / 4; font-size: 3.1cqw; margin: 0; white-space: nowrap; word-break: normal; }
.lv-v .lv-qr + .lv-jt + .lv-code + .lv-url { grid-column: 2 / 4; }
.lv-v .lv-join:not(:has(.lv-qr)) .lv-url { grid-column: 1 / 3; }
.lv-v .lv-code { font-size: 9.2cqw; margin: 0; letter-spacing: .08em; }
.lv-v .lv-top3 { flex: 0 0 auto; margin-top: 1.6cqh; border-radius: 3.2cqw; padding: 2.4cqw 3.4cqw; }
.lv-v .lv-tt { font-size: 3.7cqw; }
.lv-v .lv-tsub { font-size: 3.1cqw; margin: .6cqw 0 1cqw; }
.lv-v .lv-trow { font-size: 3.3cqw; padding: 1.2cqw 0; gap: 2cqw; }
/* 버튼: PC 는 틀 오른쪽(방송에 안 나감), 폰은 맨 아래 띠 */
.lv-v .lv-ctl { width: 240px; flex: 0 0 auto; flex-direction: column; align-items: stretch; gap: 10px; margin: 0; padding: 28px 20px; font-size: 15px; background: #170e22; }
.lv-v .lv-ctl .lv-btn { padding: 12px 16px; font-size: 16px; }
.lv-v .lv-hint { font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.75); margin: 0; }
.lv-v .lv-keys { font-size: 13px; line-height: 1.45; }
@media (orientation: portrait) {
  .lv-v .lv-stage { width: 100%; position: relative; }
  .lv-v .lv-frame { width: 100%; aspect-ratio: auto; padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .lv-v .lv-ctl { position: absolute; left: 0; right: 0; bottom: 0; width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 12px 12px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(23,14,34,0), rgba(23,14,34,.72) 40%); }
  .lv-v .lv-ctl .lv-btn { padding: 11px 18px; font-size: 15px; min-height: 44px; }
  .lv-v .lv-ctl .grow, .lv-v .lv-hint, .lv-v .lv-keys { display: none; }
}
/* 시안 B: 참여 코드를 질문 위로, 오늘 방송 기록은 숨기고 카드를 더 크게 */
.lv-v.lay-b .lv-join { order: -1; margin: 0 0 2cqh; }
.lv-v.lay-b .lv-top { order: -2; margin-bottom: 1.6cqh; }
.lv-v.lay-b .lv-top3 { display: none; }
/* 시안 C: 카드 세 장을 위아래로 쌓아 얼굴 왼쪽, 이름과 결과 막대는 오른쪽 */
.lv-v.lay-c .lv-cards { grid-template-columns: 1fr; grid-template-rows: repeat(3, 1fr); gap: 1.6cqh; }
.lv-v.lay-c .lv-card { background: rgba(255,255,255,.94); color: #222; }
.lv-v.lay-c .lv-card img { width: 34%; }
.lv-v.lay-c .lv-card::after { display: none; }
.lv-v.lay-c .lv-name, .lv-v.lay-c .lv-card:has(.lv-bars) .lv-name { left: 38%; right: 3cqw; top: 2.4cqw; bottom: auto; }
.lv-v.lay-c .lv-name b { font-size: 5.4cqw; } .lv-v.lay-c .lv-name small { font-size: 3.2cqw; opacity: .7; }
.lv-v.lay-c .lv-bars { left: 38%; right: 3cqw; bottom: 2cqw; background: none; padding: 0; }
.lv-v.lay-c .lv-tag { right: auto; left: 2cqw; top: auto; bottom: 2cqw; }
.lv-v.lay-c .lv-same { left: auto; right: 3cqw; top: 2.4cqw; transform: rotate(-4deg); font-size: 4cqw; }
.lv-v.lay-c .lv-top3 { display: none; }

/* ── BM(2026-12-02): 상점, Plus, 소프트 오퍼월, 결제, 언어 선택 ── */
.keyic { display: inline-block; vertical-align: -2px; flex: none; }
.keychip .keyic { width: 16px; height: 16px; }
.st-h { padding: 18px 24px 4px; }
.st-h .h1 { font-size: 26px; line-height: 34px; margin: 0; }
.st-h .sub { font-size: 15px; line-height: 21px; color: var(--ink2); margin: 6px 0 0; }
.kpacks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 16px 20px 4px; }
.kpacks.mini { padding: 16px 0 0; }
.kpack { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 6px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; color: var(--ink); cursor: pointer; }
.kpack.popular, .kpack.best { box-shadow: inset 0 0 0 2px var(--pink); background: var(--pink-bg2); }
.kpack .kb { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; line-height: 18px; font-weight: 700; color: #fff; background: var(--pink); border-radius: 9px; padding: 0 8px; }
.kpack.best .kb { background: linear-gradient(90deg, #F2829D, #704299); }
.kpack .kn { font-size: 20px; line-height: 24px; font-weight: 700; }
.kpack .kbonus { font-size: 12px; line-height: 16px; color: var(--pink2); font-weight: 600; min-height: 16px; }
.kpack .kp { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ink); margin-top: 2px; }
.pfree { font-size: 12px; color: var(--purple); background: #F3EDFD; border-radius: 6px; padding: 1px 6px; margin-right: 4px; }
.plusbadge { display: inline-grid; place-items: center; width: var(--s); height: var(--s); border-radius: 30%; background: linear-gradient(135deg, #F2829D, #704299); color: #fff; font-weight: 800; font-size: calc(var(--s) * .62); line-height: 1; box-shadow: 0 6px 16px rgba(112,66,153,.25); }
.plus-h { text-align: center; padding-top: 22px; }
.plus-h .h1 { margin-top: 10px; }
.bens { padding: 14px 24px 4px; display: flex; flex-direction: column; gap: 12px; }
.bens.sm { gap: 9px; padding-top: 10px; }
.ben1 { display: flex; gap: 12px; align-items: flex-start; text-align: left; }
.ben1 b { display: block; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--ink); }
.ben1 .s { display: block; font-size: 13px; line-height: 18px; color: var(--ink2); margin-top: 1px; }
.bic { width: 20px; height: 20px; flex: none; margin-top: 1px; border-radius: 50%; background: var(--pink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='10'/%3E%3C/svg%3E") center/contain no-repeat; position: relative; }
.bic::after { content: ''; position: absolute; left: 6px; top: 5px; width: 6px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plans { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 4px; }
.plan { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
.plan[aria-checked="true"] { box-shadow: inset 0 0 0 2px var(--pink); background: var(--pink-bg2); }
.plan .pl-t { display: flex; align-items: center; gap: 8px; font-size: 17px; line-height: 22px; font-weight: 700; }
.plan .pl-save { font-size: 12px; line-height: 18px; font-weight: 700; color: #fff; background: var(--pink); border-radius: 9px; padding: 0 7px; }
.plan .pl-s { display: block; font-size: 13px; line-height: 18px; color: var(--ink2); margin-top: 2px; }
.plan .pl-p { font-size: 16px; font-weight: 700; white-space: nowrap; }
.pl-note { padding: 6px 28px 0; font-size: 12px; line-height: 17px; color: var(--ink3); }
/* 오퍼월 */
body.ow-open { overflow: hidden; }
.ow { position: fixed; inset: 0; z-index: 45; background: #fff; overflow: auto; -webkit-overflow-scrolling: touch; animation: up .22s ease; }
.ow-in { max-width: 430px; margin: 0 auto; padding-top: var(--safe-t, 0px); min-height: 100%; display: flex; flex-direction: column; }
.ow-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 0; }
.ow-brand { font-size: 13px; letter-spacing: 1px; color: var(--ink2); font-weight: 600; }
.ow-brand b { color: var(--pink); font-weight: 800; }
.ow-fan { position: relative; height: 146px; margin: 2px auto 0; width: 270px; }
.ow-card { position: absolute; top: 10px; width: 96px; height: 134px; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 24px rgba(0,0,0,.14); background: linear-gradient(160deg, #F2829D, #704299); }
.ow-card img { position: absolute; inset: auto 0 0 0; width: 100%; height: 92%; object-fit: cover; object-position: top; }
.ow-card.kiss { left: 4px; transform: rotate(-8deg); background: var(--kiss); }
.ow-card.marry { left: 87px; top: 0; z-index: 2; background: var(--marry); }
.ow-card.kill { left: 170px; transform: rotate(8deg); background: var(--kill); }
.ow-role { position: absolute; left: 8px; top: 7px; font-size: 12px; font-weight: 800; color: #fff; letter-spacing: .5px; }
.ow-h { padding: 14px 24px 2px; text-align: center; }
.ow-title { font-size: 28px; line-height: 36px; font-weight: 800; margin: 0; letter-spacing: -.5px; }
.ow-sub { font-size: 15px; line-height: 21px; color: var(--ink2); margin: 8px 0 0; }
.ow-foot { position: sticky; bottom: 0; margin-top: auto; background: linear-gradient(rgba(255,255,255,0), #fff 22px); padding-top: 18px; z-index: 3; }
.ow-foot .pl-note { padding: 0 28px calc(10px + var(--safe-b, 0px)); }
.ow-btns { padding: 8px 24px 0; gap: 2px; }
.ow .plans { padding-bottom: 6px; }
.ow-title { font-size: 26px !important; line-height: 34px !important; }
.ow-h { padding-top: 8px !important; }
.ow-skip { background: none; border: 0; font: inherit; font-size: 16px; line-height: 22px; color: var(--ink2); padding: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ow-x img { width: 24px; height: 24px; }
.ow-cmp { margin: 14px 20px 0; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ow-cr { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; padding: 10px 14px; font-size: 15px; line-height: 20px; border-top: 1px solid var(--gray5); text-align: left; }
.ow-cr span:nth-child(2) { color: var(--ink2); }
.ow-cr .p { color: var(--pink2); font-weight: 700; }
.ow-cr.h { border-top: 0; background: var(--lav); font-size: 13px; font-weight: 700; color: var(--ink2); }
.ow-cr.h .p { color: var(--pink); }
.ow-keys { display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 26px 0 0; position: relative; }
.ow-plus { position: absolute; right: calc(50% - 118px); top: 8px; font-size: 28px; font-weight: 800; color: var(--pink); }
.ow-c .ow-h { padding-top: 8px; }
.ow-done { margin-bottom: 14px; display: grid; place-items: center; }
.probadge { display: inline-block; font-size: 22px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #F2829D, #704299); border-radius: 10px; padding: 6px 14px; letter-spacing: 1px; }
.pro-s { font-size: 10px; font-weight: 800; color: #fff; background: var(--pink); border-radius: 4px; padding: 0 4px; margin-left: 4px; vertical-align: 1px; }
/* 결제 시트 */
.paybox { margin-top: 14px; text-align: left; min-height: 120px; }
.paybox .skel { height: 160px; border-radius: 12px; background: linear-gradient(90deg, #f3f3f4, #fafafa, #f3f3f4); background-size: 200% 100%; animation: skel 1.2s infinite linear; }
@keyframes skel { to { background-position: -200% 0; } }
.paytest { margin-top: 4px; font-size: 12px; line-height: 17px; color: var(--ink3); }
.paywait { margin-bottom: 18px; animation: pulse 1.2s infinite ease-in-out; }
@keyframes pulse { 50% { transform: scale(1.08); } }
/* 언어 선택 */
.langs, .soonl { display: flex; flex-direction: column; text-align: left; margin-top: 8px; }
.lang1 { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px; background: none; border: 0; border-bottom: 1px solid var(--gray5); font: inherit; font-size: 17px; color: var(--ink); cursor: pointer; }
.lang1.on { font-weight: 700; color: var(--pink); }
.lang1 .ck { width: 10px; height: 16px; border: solid var(--pink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); margin-right: 8px; }
.lang1.soon { color: var(--ink3); min-height: 46px; font-size: 16px; }
.lang1.soon .tg { font-size: 12px; color: var(--ink3); background: var(--bg2); border-radius: 6px; padding: 2px 8px; }
.soon-h { text-align: left; margin-top: 22px; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--ink2); }
.soonl { max-height: 38dvh; overflow: auto; }
.li-sub { display: block; font-size: 12px; line-height: 16px; color: var(--ink3); margin-top: 2px; font-weight: 400; }

/* 제목 서체 = 글자 로고 서체 Unbounded(OFL, /fonts/OFL.txt). 수지님 2026-12-05 「타이틀 폰트 다 이걸로 맞춥시다」.
   Unbounded 에는 한글이 없어 한글은 기존 서체 그대로. 한글이 섞이는 제목은 UnbL(영문, 숫자만) 을 써서 띄어쓰기와 문장부호도 기존 서체로 둔다. */
@font-face { font-family: Unb; src: url('/fonts/unb-700.woff2') format('woff2'); font-weight: 100 749; font-display: swap; }
@font-face { font-family: Unb; src: url('/fonts/unb-800.woff2') format('woff2'); font-weight: 750 1000; font-display: swap; }
@font-face { font-family: UnbL; src: url('/fonts/unb-700.woff2') format('woff2'); font-weight: 100 749; font-display: swap; unicode-range: U+0030-0039, U+0041-005A, U+0061-007A; }
@font-face { font-family: UnbL; src: url('/fonts/unb-800.woff2') format('woff2'); font-weight: 750 1000; font-display: swap; unicode-range: U+0030-0039, U+0041-005A, U+0061-007A; }
:root { --f-title: Unb, var(--f-ko); --f-title-mix: UnbL, var(--f-ko); }
.display { font-family: var(--f-title); font-weight: 800; font-size: clamp(30px, 10.2vw, 40px); line-height: 1.18; letter-spacing: -.03em; }
.landing-hero .display { font-size: 32px; line-height: 1.2; }
.type-head .display { font-size: clamp(24px, 8.4vw, 34px); line-height: 1.2; }
.h1, .h1.en, .ow-title, .lv-setup h1, .st-h .h1 { font-family: var(--f-title-mix); }
.h1.en { letter-spacing: -.02em; }
.game-title .h1 { font-size: clamp(20px, 6.6vw, 26px); line-height: 1.38; }
.topbar .ttl, .topbar .ttl.en, .sec-title { font-family: var(--f-title-mix); }
.sec-title { font-weight: 700; font-size: 14px; letter-spacing: -.01em; }
.lv-brand, .lv-brand.en, .ow-brand, .ow-brand.en { font-family: var(--f-title); letter-spacing: .02em; }

/* 「둘 중 하나」(2026-12-05, What Would You Choose? Rather 번안 시안 4화면 그대로) */
.wy { padding-bottom: calc(16px + var(--safe-b)); }
.wy .en { font-family: var(--f-title); font-weight: 800; letter-spacing: -.03em; }
.wy-top { position: relative; height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 8px; flex: 0 0 auto; }
.wy-top.home { padding: 6px 12px 0 20px; height: 62px; }
.wy-wm { position: absolute; left: 50%; transform: translateX(-50%); line-height: 0; }
.wy-wm img { height: 39px; width: auto; }
.wy-wmL { height: 44px; width: auto; }
.wy-r { min-width: 44px; display: flex; justify-content: flex-end; }
.wy-chip { font-size: 12px; color: var(--ink2); background: var(--bg2); border-radius: 999px; padding: 7px 12px; letter-spacing: 0; }
.wy-h { font-size: 26px; line-height: 1.3; font-weight: 800; letter-spacing: -.6px; padding: 4px 20px 12px; margin: 0; word-break: keep-all; }
.wy-h.big { padding-top: 14px; }
.wy-h.center { text-align: center; }
.wy-hs { display: block; font-size: 15px; font-weight: 600; color: var(--ink2); margin-top: 6px; letter-spacing: -.3px; }
.wy-label { margin: 2px 20px 0; font-size: 13px; font-weight: 700; color: var(--pink); }
.wy-q { display: flex; flex-direction: column; flex: 1; }
.wy-pair { position: relative; padding: 0 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; min-height: 420px; max-height: 620px; }
.wy-opt { position: relative; flex: 1 1 0; min-height: 190px; border-radius: 24px; overflow: hidden; display: flex; text-align: left; color: #fff; transition: transform .12s ease; word-break: keep-all; }
.wy-opt.p { background: var(--pink); } .wy-opt.k { background: #222; }
.wy-opt.press { transform: scale(.98); }
.wy-opt .ph { position: absolute; right: -14px; bottom: 0; height: 92%; width: auto; max-width: 72%; object-fit: contain; object-position: right bottom; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%); mask-image: linear-gradient(to right, transparent 0, #000 26%); pointer-events: none; }
.wy-opt .tx { position: relative; z-index: 2; padding: 20px 20px 22px; width: 64%; display: flex; flex-direction: column; justify-content: flex-end; text-shadow: 0 1px 10px rgba(0,0,0,.28); }
.wy-opt .nm { font-size: 13px; font-weight: 700; opacity: .88; margin-bottom: 8px; }
.wy-opt .ln { font-size: 23px; font-weight: 800; line-height: 1.32; letter-spacing: -.5px; }
.wy-opt .ln small { display: block; font-size: 16px; font-weight: 600; opacity: .92; margin-top: 4px; letter-spacing: -.3px; }
.wy-opt .mn { position: relative; }
.wy-strike { position: absolute; left: -4%; top: 44%; width: 108%; height: 16px; overflow: visible; opacity: 0; transition: opacity .2s ease .15s; }
.wy-opt.lost .wy-strike { opacity: 1; }
.wy-opt .pct { display: none; font-size: 50px; line-height: 1; margin-bottom: auto; padding-bottom: 14px; }
.wy-pair.done .wy-opt .pct { display: block; }
.wy-opt .mbadge { display: none; position: absolute; top: 16px; right: 16px; z-index: 6; background: #fff; color: #222; font-size: 13px; font-weight: 800; border-radius: 999px; padding: 6px 12px 6px 10px; gap: 5px; align-items: center; text-shadow: none; }
.wy-opt.mine .mbadge { display: flex; }
.wy-pair.done .wy-opt:disabled { opacity: 1; cursor: default; }
.wy-or { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 5px solid #fff; box-shadow: 0 0 0 2px #222 inset; display: flex; align-items: center; justify-content: center; font-size: 21px; color: #222; pointer-events: none; }
.wy-hint { text-align: center; font-size: 13px; color: var(--ink3); margin: 14px 0 0; }
.wy-rx { display: flex; gap: 8px; padding: 14px 16px 0; }
.wy-rx button { flex: 1; background: var(--bg2); border-radius: 14px; padding: 9px 0; text-align: center; font-size: 15px; font-weight: 700; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.wy-rx button span { font-size: 19px; line-height: 1; }
.wy-rx button.on { background: #FFE4EE; color: #E0115F; }
.wy-rx b { font-size: 14px; }
.wy-basis { text-align: center; font-size: 12px; color: var(--ink3); margin: 10px 20px 0; }
.wy-guess { margin: 14px 16px 0; padding: 12px 14px; border-radius: 14px; background: var(--bg2); font-size: 15px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.wy-guess.hit { background: #FFE4EE; color: #E0115F; }
.wy-btns { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 0; }
.wy-end { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 40px 24px; }
.wy-daily { margin: 0 16px 6px; border-radius: 20px; background: #222; color: #fff; padding: 16px 18px; display: flex; align-items: center; gap: 14px; text-align: left; }
.wy-daily .tx { flex: 1; display: flex; flex-direction: column; }
.wy-daily .k { font-size: 12px; font-weight: 700; color: #FF7AA8; }
.wy-daily .t { font-size: 17px; font-weight: 800; margin-top: 5px; line-height: 1.35; letter-spacing: -.4px; word-break: keep-all; }
.wy-daily .s { font-size: 12px; color: #AAA; margin-top: 6px; }
.wy-decks { padding: 0 16px; }
.wy-deck { width: 100%; display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid #F0F0F2; text-align: left; }
.wy-tile { width: 62px; height: 62px; border-radius: 16px; overflow: hidden; position: relative; flex: none; background: linear-gradient(var(--t1) 50%, var(--t2) 50%); display: flex; align-items: center; justify-content: center; }
.wy-tile b { color: #fff; font-size: 17px; }
.wy-deck .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wy-deck .t { font-size: 17px; font-weight: 800; letter-spacing: -.4px; }
.wy-deck .s { font-size: 13px; color: #888; margin-top: 4px; }
.wy-deck .s2 { font-size: 12px; color: var(--pink); margin-top: 3px; font-weight: 700; }
.wy-deck .go { font-size: 24px; color: #BBB; padding: 0 4px; }
.wy-19 { font-size: 13px; color: #E0115F; }
.wy-lock, .wy-new { font-size: 12px; font-weight: 800; color: #E0115F; background: #FFE4EE; border-radius: 999px; padding: 6px 10px; white-space: nowrap; flex: none; }
.wy-foot { text-align: center; font-size: 12px; color: var(--ink3); margin: 14px 20px 0; }
/* 내 질문 만들기 */
.wy-pair.make .wy-opt { cursor: default; }
.wy-opt.blank { background: #F7F7F8; box-shadow: inset 0 0 0 2px #222; color: #222; }
.wy-opt .tx.c { width: 100%; align-items: center; justify-content: center; text-align: center; text-shadow: none; }
.wy-faces { display: flex; margin-bottom: 12px; }
.wy-faces button { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 3px solid #F7F7F8; margin-left: -10px; padding: 0; background: #ddd; }
.wy-faces button:first-child { margin-left: 0; }
.wy-faces img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.wy-faces .plus { background: #222; color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.wy-in { width: 100%; border: 0; background: transparent; resize: none; color: inherit; font-size: 21px; font-weight: 800; line-height: 1.32; letter-spacing: -.5px; padding: 0; outline: none; caret-color: #FF327E; font-family: var(--f-ko); }
.wy-opt.p .wy-in::placeholder, .wy-opt.k .wy-in::placeholder { color: rgba(255,255,255,.72); }
.wy-opt.blank .wy-in { text-align: center; }
.wy-opt.blank .wy-in::placeholder { color: #999; }
.wy-hint2 { font-size: 13px; color: #999; margin-top: 6px; }
.wy-chg { position: absolute; top: 14px; left: 14px; z-index: 6; background: rgba(255,255,255,.92); color: #222; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 6px 11px; }
.wy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-height: 56dvh; overflow: auto; padding: 4px 2px 8px; }
.wy-grid button { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: var(--ink2); }
.wy-grid img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
/* 받은 질문 */
.wy-list { padding: 4px 16px 0; }
.wy-row { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #F0F0F2; }
.wy-row .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wy-row .t { font-size: 15px; font-weight: 700; line-height: 1.35; word-break: keep-all; }
.wy-row .t i { font-style: normal; color: var(--pink); font-size: 12px; padding: 0 2px; }
.wy-row .s { font-size: 12px; color: var(--ink3); margin-top: 3px; }
.wy-row .go { font-size: 22px; color: #BBB; }
.wy-two { display: flex; flex: none; }
.wy-two img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid #fff; }
.wy-two img + img { margin-left: -12px; }
.wy-ans { font-size: 12px; color: var(--ink2); font-weight: 700; white-space: nowrap; }
.wy-none { text-align: center; color: var(--ink3); font-size: 14px; padding: 48px 0; }
/* 홈 더 놀기 칸 */
.mode .im .vs.or { font-family: var(--f-title); font-weight: 800; color: #222; font-size: 13px; letter-spacing: -.03em; }
.mode[href="/wyr"] .im img { object-fit: contain; object-position: 50% 100%; }
.mode[href="/wyr"] .im img:first-child { background: var(--pink); } .mode[href="/wyr"] .im img:last-of-type { background: #222; }
/* ── 고르기 앱 개편(2026-12-05 수지님 「이걸로 앱을 만들자 … 하단탭 … 방송인이 활용하기 좋게」) ── */
.ptabs { position: fixed; left: 50%; transform: translateX(-50%); bottom: 0; width: 100%; max-width: 430px; height: calc(62px + var(--safe-b)); padding: 0 4px var(--safe-b); background: #fff; display: flex; border-top: 1px solid #EEE; z-index: 30; }
.ptabs a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #A6A6AC; position: relative; min-height: 44px; }
.ptabs a.on { color: #222; }
.ptabs svg { width: 24px; height: 24px; }
.ptabs .ti { width: 24px; height: 24px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.ptabs a .ti { background: #A6A6AC; color: #fff; } .ptabs a.on .ti { background: #FF327E; }
.ptabs .tl { font-size: 10.5px; font-weight: 700; letter-spacing: -.2px; white-space: nowrap; }
.ptabs .dot { position: absolute; top: 9px; left: calc(50% + 8px); width: 7px; height: 7px; border-radius: 50%; background: var(--pink); }
.screen.has-ptab { padding-bottom: calc(80px + var(--safe-b)); }
/* 셋째 보기 색, 번호, 시청자 비율 */
.wy-opt.v { background: #6A4BFF; }
.wy-opt .num { position: absolute; top: 14px; left: 14px; z-index: 6; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.95); color: #222; font-size: 15px; display: flex; align-items: center; justify-content: center; text-shadow: none; }
.wy-opt .vv { position: absolute; top: 14px; left: 52px; z-index: 6; height: 30px; padding: 0 11px; border-radius: 999px; background: #FFD84D; color: #222; font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 5px; text-shadow: none; }
.wy-opt .vv[hidden] { display: none; }
.wy-opt .vv b { font-size: 14px; }
.wy-pair.n3 { gap: 8px; min-height: 480px; max-height: 660px; }
.wy-pair.n3 .wy-opt { min-height: 150px; border-radius: 22px; }
.wy-pair.n3 .wy-opt .tx { padding: 46px 18px 16px; }
.wy-pair.n3 .wy-opt .ln { font-size: 20px; }
.wy-pair.n3 .wy-opt .ln small { font-size: 14.5px; margin-top: 3px; }
.wy-pair.n3 .wy-opt .nm { font-size: 12px; margin-bottom: 5px; }
.wy-pair.n3 .wy-opt .pct { font-size: 38px; padding-bottom: 8px; }
.wy-pair.n3 .wy-opt .ph { height: 100%; }
.wy-pair.n3 .wy-opt.mine .mbadge { top: 12px; right: 12px; }
.wy-opt.v .wy-in::placeholder { color: rgba(255,255,255,.72); }
/* 시청자 투표 버튼과 띠 */
.wy-r { gap: 6px; align-items: center; }
.wy-vbtn { height: 34px; padding: 0 12px 0 10px; border-radius: 999px; background: #F2F2F4; color: #222; font-size: 13px; font-weight: 800; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.wy-vbtn i { width: 8px; height: 8px; border-radius: 50%; background: #BBB; }
.wy-vbtn.on { background: #222; color: #fff; } .wy-vbtn.on i { background: #FF327E; box-shadow: 0 0 0 3px rgba(255,50,126,.35); }
.wy-top .wy-chip { padding: 7px 10px; }
.wy-room { margin: 0 16px 10px; padding: 10px; border-radius: 18px; background: #222; color: #fff; display: flex; align-items: center; gap: 12px; }
.wy-room .qr { width: 74px; height: 74px; flex: none; background: #fff; border-radius: 10px; padding: 6px; }
.wy-room .qr svg { width: 100%; height: 100%; display: block; }
.wy-room .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wy-room .j { font-size: 14px; font-weight: 800; }
.wy-room .u { font-size: 12px; color: #FFD84D; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wy-room .n { font-size: 12px; color: #BBB; }
.wy-room .code { text-align: center; padding: 0 6px; }
.wy-room .code small { display: block; font-size: 11px; color: #AAA; }
.wy-room .code b { font-size: 24px; letter-spacing: .04em; color: #fff; }
/* 홈, 덱 탭 */
.wy-dailies { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 8px; }
.wy-dailies .wy-daily { margin: 0; }
.wy-daily { position: relative; overflow: hidden; }
.wy-daily.n3 { background: #6A4BFF; }
.wy-daily.n3 .k { color: #FFD84D; } .wy-daily.n3 .s { color: rgba(255,255,255,.75); }
.wy-daily .h { font-size: 13px; color: rgba(255,255,255,.75); margin-top: 4px; line-height: 1.35; word-break: keep-all; }
.wy-daily .big { font-size: 64px; line-height: 1; color: rgba(255,255,255,.16); flex: none; margin-right: -4px; }
.wy-sec { padding: 14px 0 0; }
.wy-sec h2 { margin: 0; padding: 0 20px 10px; font-size: 18px; font-weight: 800; letter-spacing: -.4px; }
.wy-sec h2 a { display: inline-flex; gap: 4px; align-items: center; }
.wy-sec h2 span { color: #BBB; }
.wy-scroll { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 6px; scrollbar-width: none; }
.wy-scroll::-webkit-scrollbar { display: none; }
.wy-chipdeck { flex: none; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wy-chipdeck .wy-tile { width: 76px; height: 76px; border-radius: 20px; }
.wy-chipdeck .t { font-size: 13px; font-weight: 700; text-align: center; line-height: 1.25; word-break: keep-all; }
.wy-chipdeck .t i { font-style: normal; color: #E0115F; font-size: 11px; }
.wy-tile.t3 { background: linear-gradient(var(--t1) 33.4%, var(--t2) 33.4% 66.7%, var(--t3) 66.7%); }
.wy-recv { margin: 16px 16px 0; padding: 14px 16px; border-radius: 16px; background: var(--bg2); display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 700; }
.wy-recv .go { font-size: 22px; color: #BBB; }
.wy-stream { margin: 16px 16px 0; padding: 16px; border-radius: 18px; box-shadow: inset 0 0 0 1.5px #222; }
.wy-stream b { font-size: 16px; font-weight: 800; letter-spacing: -.3px; }
.wy-stream p { margin: 6px 0 0; font-size: 13.5px; color: var(--ink2); line-height: 1.5; word-break: keep-all; }
.wy-stream p.k { color: #222; font-weight: 700; }
/* 만들기 */
.wy-seg { display: flex; gap: 6px; margin: 0 16px 10px; padding: 4px; background: #F2F2F4; border-radius: 14px; }
.wy-seg button { flex: 1; height: 38px; border-radius: 10px; font-size: 14px; font-weight: 800; color: #888; }
.wy-seg button.on { background: #fff; color: #222; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.wy-ask { margin: 0 16px 10px; width: calc(100% - 32px); }
.wy-pair.make.n3 .wy-opt { min-height: 150px; }
.wy-pair.make .wy-opt.blank .num { background: #222; color: #fff; }
.wy-pair.make .wy-chg { left: 52px; }
.wy-two img { width: 36px; height: 36px; }
.wy-row .t b { font-weight: 800; }
/* MY */
.wy-myname { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.wy-plus { margin: 4px 16px 8px; padding: 16px 18px; border-radius: 18px; background: #222; color: #fff; display: flex; align-items: center; justify-content: space-between; }
.wy-plus .tx { display: flex; flex-direction: column; gap: 3px; }
.wy-plus b { font-size: 20px; color: #FF7AA8; }
.wy-plus span span { font-size: 13px; color: #CCC; }
.wy-plus .go { font-size: 24px; color: #777; }
/* 시청자 폰 화면 */
.vw-code { font-size: 15px; color: #222; background: #FFD84D; border-radius: 999px; padding: 6px 12px; margin-right: 4px; }
.vw-opts { display: flex; flex-direction: column; gap: 10px; padding: 0 16px; }
.vw-opt { position: relative; min-height: 112px; border-radius: 20px; overflow: hidden; display: flex; align-items: flex-end; text-align: left; color: #fff; padding: 16px 18px; }
.vw-opt.a { background: #FF327E; } .vw-opt.b { background: #222; } .vw-opt.c { background: #6A4BFF; }
.vw-opt img { position: absolute; right: -8px; bottom: 0; height: 100%; width: auto; max-width: 58%; object-fit: contain; object-position: right bottom; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%); mask-image: linear-gradient(to right, transparent 0, #000 30%); }
.vw-opt .num { position: absolute; top: 12px; left: 12px; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: #222; font-size: 14px; display: flex; align-items: center; justify-content: center; z-index: 2; }
.vw-opt .tx { position: relative; z-index: 2; width: 62%; display: flex; flex-direction: column; padding-top: 26px; text-shadow: 0 1px 8px rgba(0,0,0,.3); word-break: keep-all; }
.vw-opt .tx b { font-size: 19px; line-height: 1.3; }
.vw-opt .tx small { font-size: 13.5px; opacity: .92; margin-top: 3px; }
.vw-opt.mine { box-shadow: inset 0 0 0 4px #FFD84D; }
.vw-opt.mine::after { content: '✓'; position: absolute; top: 10px; right: 12px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; background: #FFD84D; color: #222; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.vw-opt:disabled { opacity: 1; }
.vw-opt .pc { position: absolute; right: 14px; bottom: 12px; z-index: 3; font-size: 30px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.vw-opt .hp { position: absolute; top: 12px; left: 46px; z-index: 3; background: #fff; color: #222; font-size: 12px; font-weight: 800; border-radius: 999px; padding: 5px 10px; }
.vw-opt.host { box-shadow: inset 0 0 0 4px #fff; }
.vw .wy-hint { line-height: 1.5; }
/* PC 넓은 화면(방송 화면 잡기): 질문 화면은 보기를 가로로, 글씨를 크게 */
@media (min-width: 900px) {
  body.wide #app { max-width: 1180px; }
  body.wide .wy-top { padding: 8px 24px 0; height: 72px; }
  body.wide .wy-h { font-size: 40px; text-align: center; padding: 6px 24px 18px; }
  body.wide .wy-label { text-align: center; font-size: 15px; }
  body.wide .wy-pair, body.wide .wy-pair.n3 { flex-direction: row; gap: 18px; padding: 0 24px; min-height: 0; max-height: none; height: min(62vh, 640px); }
  body.wide .wy-pair .wy-opt { min-height: 0; border-radius: 28px; flex-direction: column; justify-content: flex-end; }
  body.wide .wy-opt .ph { right: 50%; transform: translateX(50%); height: 78%; max-width: 100%; -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 92%); mask-image: linear-gradient(to bottom, #000 62%, transparent 92%); bottom: auto; top: 6%; }
  body.wide .wy-opt .tx, body.wide .wy-pair.n3 .wy-opt .tx { width: 100%; padding: 0 26px 26px; }
  body.wide .wy-opt .ln, body.wide .wy-pair.n3 .wy-opt .ln { font-size: 30px; }
  body.wide .wy-opt .ln small, body.wide .wy-pair.n3 .wy-opt .ln small { font-size: 19px; }
  body.wide .wy-opt .pct, body.wide .wy-pair.n3 .wy-opt .pct { font-size: 76px; position: absolute; bottom: calc(100% + 6px); left: 0; right: 0; padding: 0; margin: 0; text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
  body.wide .wy-opt .num { width: 44px; height: 44px; font-size: 22px; top: 18px; left: 18px; }
  body.wide .wy-opt .vv { top: 20px; left: 72px; height: 40px; font-size: 16px; padding: 0 14px; }
  body.wide .wy-opt .vv b { font-size: 19px; }
  body.wide .wy-or { width: 76px; height: 76px; font-size: 24px; }
  body.wide .wy-room { max-width: 760px; margin: 0 auto 16px; padding: 12px 18px; }
  body.wide .wy-room .qr { width: 96px; height: 96px; }
  body.wide .wy-room .j { font-size: 18px; } body.wide .wy-room .u { font-size: 15px; } body.wide .wy-room .n { font-size: 14px; }
  body.wide .wy-room .code b { font-size: 34px; }
  body.wide #wyBelow { max-width: 760px; margin: 0 auto; width: 100%; }
  body.wide .wy-btns { flex-direction: row; } body.wide .wy-btns .btn { flex: 1; }
  body.wide.viewer #app { max-width: 430px; }
}
.wy-pair.done .wy-opt .num { display: none; }
.wy-pair.done .wy-opt .vv { left: 14px; }
@media (max-width: 899px) { .wy.play .wy-top .wy-wm { display: none; } }
.wy-top a.wy-chip { font-weight: 800; color: #222; }
@media (min-width: 900px) { body.wide .wy-pair.done .wy-opt .vv { left: 18px; } }

/* ── 방송인 고정 링크(2026-12-05 저녁): MY 방송 링크, 시청자 닉네임, 찰떡 순위, OBS 오버레이 ── */
.btn.sm { width: auto; min-height: 38px; border-radius: 19px; font-size: 14px; padding: 0 16px; flex-direction: row; gap: 4px; background: #222; color: #fff; font-weight: 700; flex: none; }
.btn.sm.ghost { background: #fff; color: #222; box-shadow: inset 0 0 0 1px var(--line); }
.lnk { background: none; border: 0; padding: 4px 0; color: var(--ink2); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
a.wy-stream { display: block; color: inherit; text-decoration: none; }
.wy-stream .go { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 800; color: var(--pink); }
.wy-room .t { font-size: 12px; color: #FFD84D; font-weight: 700; }
.vw-code.nm { font-family: var(--f-ko); font-weight: 800; max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vw-off { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 56px 28px 24px; gap: 8px; }
.vw-off .dot { width: 14px; height: 14px; border-radius: 50%; background: #FF327E; animation: vwPulse 1.6s ease-in-out infinite; margin-bottom: 6px; }
.vw-off p { margin: 0; font-size: 14px; color: var(--ink2); line-height: 1.55; word-break: keep-all; max-width: 300px; }
@keyframes vwPulse { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
.vw-gnick { padding: 0 24px 14px; }
.vw-gnick .row, .vw-nick { display: flex; gap: 8px; align-items: center; }
.vw-gnick input, .vw-nick input { flex: 1; min-width: 0; height: 46px; border-radius: 23px; border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 0 18px; font-size: 16px; background: #fff; }
.vw-gnick p, .vw-nh { margin: 8px 4px 0; font-size: 12.5px; color: var(--ink3); line-height: 1.45; word-break: keep-all; }
.vw-nick { margin: 18px 16px 0; }
.vw-nh { margin: 6px 22px 0; }
.vw-nickon { text-align: center; font-size: 13px; color: var(--ink2); margin: 16px 0 0; }
.vw-nickon b { color: #222; }
.vw-me { margin: 14px 16px 0; padding: 12px 16px; border-radius: 14px; background: #FFF6CC; color: #222; font-size: 15px; font-weight: 800; text-align: center; }
.vw-top { margin: 14px 16px 0; padding: 14px 16px 10px; border-radius: 18px; background: var(--bg2); }
.vw-top .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.vw-top .hd b { font-size: 15px; font-weight: 800; }
.vw-top .hd small { font-size: 11.5px; color: var(--ink3); }
.vw-top ol { list-style: none; margin: 0; padding: 0; }
.vw-top li { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14.5px; border-top: 1px solid #E6E6E8; }
.vw-top .vw-hide { font-size: 12px; color: var(--ink3); min-height: 32px; padding: 4px 2px; }
.vw-top li:first-child { border-top: 0; }
.vw-top .r { width: 22px; height: 22px; border-radius: 50%; background: #222; color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; flex: none; }
.vw-top li:first-child .r { background: #FFD84D; color: #222; }
.vw-top .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.vw-top .h { color: var(--ink2); font-weight: 700; }
.vw-top li.me { background: #FFF6CC; margin: 0 -8px; padding: 0 8px; border-radius: 10px; }
/* MY > 내 방송 링크 */
.wy-live { padding: 0 20px 40px; }
.wy-live .wy-h { margin: 6px 0 6px; padding: 0; text-align: left; }
.sl-sub { margin: 0 0 16px; font-size: 14px; color: var(--ink2); line-height: 1.55; word-break: keep-all; }
.sl-card { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: #222; color: #fff; }
.sl-card .qr { width: 104px; height: 104px; flex: none; background: #fff; border-radius: 12px; padding: 7px; }
.sl-card .qr svg { width: 100%; height: 100%; display: block; }
.sl-card .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.sl-card .st { font-size: 12px; font-weight: 800; color: #BBB; border-radius: 999px; padding: 4px 10px; box-shadow: inset 0 0 0 1px #555; }
.sl-card .st.on { color: #222; background: #FFD84D; box-shadow: none; }
.sl-card .u { font-size: 15px; color: #FFD84D; word-break: break-all; line-height: 1.3; }
.sl-card .btn.sm { background: #fff; color: #222; }
.wy-live > .btn.primary { margin-top: 14px; }
.wy-live > .btn.outline { margin-top: 12px; min-height: 48px; }
.sl-hint { margin: 8px 0 0; text-align: center; font-size: 12.5px; color: var(--ink3); }
.sl-sec { margin-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.sl-sec label, .sl-sec h2 { font-size: 15px; font-weight: 800; margin: 0; }
.sl-sec p { margin: 0; font-size: 13.5px; color: var(--ink2); line-height: 1.55; word-break: keep-all; }
.sl-sec small { font-size: 12px; color: var(--ink3); line-height: 1.45; }
.sl-sec input { height: 48px; border-radius: 14px; border: 0; box-shadow: inset 0 0 0 1px var(--line); padding: 0 14px; font-size: 16px; background: #fff; width: 100%; box-sizing: border-box; }
.sl-handle { display: flex; align-items: center; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); padding-left: 14px; overflow: hidden; }
.sl-handle span { font-size: 13px; color: var(--ink3); white-space: nowrap; }
.sl-handle input { box-shadow: none; padding-left: 2px; border-radius: 0; }
.sl-row .u { font-size: 13px; color: var(--ink2); word-break: break-all; }
.sl-btns { display: flex; gap: 8px; margin-top: 2px; }
.sl-sec .vw-top { margin: 4px 0 0; }
.sl-sec .vw-top .hd { display: none; }
.sl-sec .lnk { align-self: flex-start; }
/* OBS 오버레이: 배경 투명, 480 x 720 */
html.ovl, body.ovl, body.ovl #app { background: transparent !important; }
body.ovl #app { max-width: none; min-height: 0; }
.ov { width: 440px; padding: 20px; display: flex; flex-direction: column; gap: 12px; color: #fff; font-family: var(--f-ko); }
.ov-join { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(20,20,24,.88); }
.ov-join .qr { width: 84px; height: 84px; flex: none; background: #fff; border-radius: 10px; padding: 6px; box-sizing: border-box; }
.ov-join .qr svg { width: 100%; height: 100%; display: block; }
.ov-join .tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ov-join .nm { font-size: 13px; color: #BBB; font-weight: 700; }
.ov-join b { font-size: 19px; font-weight: 800; }
.ov-join .u { font-size: 15px; color: #FFD84D; word-break: break-all; }
.ov-join .s { font-size: 13px; color: #BBB; margin-top: 2px; }
.ov-join.big { flex-direction: column; text-align: center; padding: 22px; }
.ov-join.big .qr { width: 190px; height: 190px; padding: 10px; border-radius: 16px; }
.ov-join.big .tx { align-items: center; }
.ov-join.big b { font-size: 24px; }
.ov-q { padding: 16px; border-radius: 18px; background: rgba(20,20,24,.88); display: flex; flex-direction: column; gap: 8px; }
.ov-q h2 { margin: 0 0 4px; font-size: 21px; font-weight: 800; line-height: 1.3; word-break: keep-all; }
.ov-o { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 14px; background: rgba(255,255,255,.1); overflow: hidden; }
.ov-o i { position: absolute; left: 0; top: 0; bottom: 0; transition: width .5s ease; opacity: .9; }
.ov-o.a i { background: #FF327E; } .ov-o.b i { background: #7C818C; } .ov-o.c i { background: #6A4BFF; }
.ov-o > span { position: relative; z-index: 1; }
.ov-o .num { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #222; font-size: 13px; display: flex; align-items: center; justify-content: center; flex: none; }
.ov-o .t { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.3; word-break: keep-all; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.ov-o .p { font-size: 22px; font-weight: 800; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.ov-o .hp { background: #FFD84D; color: #222; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 4px 8px; white-space: nowrap; }
.ov-o.host { box-shadow: inset 0 0 0 3px #FFD84D; }
.ov-n { margin: 2px 0 0; font-size: 13px; color: #BBB; text-align: right; }
.ov .vw-top { margin: 0; background: rgba(20,20,24,.88); color: #fff; }
.ov .vw-top .hd small, .ov .vw-top .h { color: #BBB; }
.ov .vw-top li { border-top-color: rgba(255,255,255,.12); }
.ov .vw-top .r { background: #fff; color: #222; }
.ov .vw-top li:first-child .r { background: #FFD84D; }
.sl-handle input { background: transparent; flex: 1; min-width: 0; width: auto; font-weight: 500; }
/* 모바일 방송인 화면: 결과가 나오면 시청자 비율 칩을 오른쪽 아래로(큰 비율 숫자를 가리지 않게) */
@media (max-width: 899px) { .wy-pair.done .wy-opt .vv { left: auto; right: 12px; top: auto; bottom: 12px; } }
/* 링크 글자는 제목 글꼴 대신 읽기 쉬운 글꼴로 */
.wy .u.en, .wy .sl-handle .en, .wy .sl-handle input, .wy .sl-row .u { font-family: var(--f-en); font-weight: 600; letter-spacing: 0; }
.sl-card .u { font-size: 16px; }
.sl-handle span { font-size: 15px; color: var(--ink2); }
/* 시청자 이모지 반응, 연속 찰떡 */
.vw-rx { display: flex; gap: 8px; padding: 14px 16px 0; }
.vw-rx button { position: relative; flex: 1; min-height: 48px; border-radius: 14px; background: var(--bg2); font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; transition: transform .08s; }
.vw-rx button:active { transform: scale(.9); }
.vw-rxh { margin: 6px 0 0; text-align: center; font-size: 12px; color: var(--ink3); }
.rx-pop { position: absolute; left: 50%; top: 0; transform: translateX(-50%); pointer-events: none; animation: rxPop .9s ease-out forwards; }
@keyframes rxPop { 0% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -70px) scale(1.4); } }
.vw-me.hot { background: #FFE4EE; color: #E0115F; }
.vw-top .sk { font-size: 12.5px; font-weight: 800; color: #E0115F; }
.rx-layer { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 50; }
.rx-fly { position: absolute; bottom: -50px; opacity: 0; animation: rxFly 3.2s ease-out forwards; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
@keyframes rxFly { 0% { opacity: 0; transform: translate(0, 0) scale(.6); } 10% { opacity: 1; transform: translate(0, -40px) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 0), -62vh) scale(1.1); } }
.rx-layer.ovx .rx-fly { bottom: -40px; }
.ov-hot { padding: 12px 16px; border-radius: 16px; background: #FF327E; color: #fff; font-size: 17px; font-weight: 800; animation: ovHot .5s ease-out; }
@keyframes ovHot { 0% { transform: scale(.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
