/* =========================
   플듀 게임 센스 진단소 — e스포츠 분석 대시보드
   iq.css(진단소 공통: 접수 폼·토스트·버튼) 위에 얹음. 다크 네이비 · 시안/바이올렛 · 유리 카드 · 은은한 네온
   ========================= */
body.sense {
  --s-bg: #070b1f; --s-card: rgba(18,28,68,.55); --s-line: rgba(120,170,255,.22); --s-cyan: #3ee6f0; --s-violet: #9775fa; --s-gold: #f4c76a; --s-red: #ff5470; --s-green: #46e08a;
  --num: Rajdhani, Galmuri11, sans-serif;
  background: radial-gradient(1100px 620px at 15% -10%, rgba(151,117,250,.28), transparent 60%), radial-gradient(900px 560px at 100% 0%, rgba(62,230,240,.16), transparent 60%), linear-gradient(180deg, #080d26, var(--s-bg) 40%);
}
html:has(body.sense) { background: #070b1f; }
body.sense { min-height: 100vh;
}
body.sense::before { background: linear-gradient(rgba(120,170,255,.05) 1px, transparent 1px) 0 0/44px 44px, linear-gradient(90deg, rgba(120,170,255,.05) 1px, transparent 1px) 0 0/44px 44px; mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 80%); }
body.sense .topbar { border-bottom: 1px solid var(--s-line); box-shadow: 0 1px 24px rgba(62,230,240,.15); background: rgba(7,11,31,.82); backdrop-filter: blur(10px); }
body.sense main#app, body.sense.in-test main#app { max-width: 960px; padding: 16px 16px calc(24px + var(--safe-b)); }
body.sense h3 { margin: 16px 0 8px; font-size: 15px; color: var(--s-cyan); letter-spacing: .02em; }
.kicker { display: block; font: 700 12px var(--num); letter-spacing: .22em; color: var(--s-cyan); opacity: .85; }
.glass { background: var(--s-card); border: 1px solid var(--s-line); border-radius: 18px; padding: 18px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06); }
.glass .ph { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin: 0 0 12px; font-size: 22px; } .glass .ph small { color: var(--muted); font-size: 13px; font-weight: 400; }

/* ---------- 광고: 양쪽 끝에만 (본문 960px과 절대 안 겹침, 넓은 화면에서만) · 검사·연출 중엔 숨김 ---------- */
body.sense .side-ad.l { left: 4px; right: auto; } body.sense .side-ad.r { right: 4px; left: auto; }
body.sense .side-ad { top: 64px; }
body[data-screen="scPlay"] .side-ad, body[data-screen="scReveal"] .side-ad, body[data-screen="scTut"] .side-ad, body[data-screen="scMid"] .side-ad { display: none !important; }
@media (max-width: 1339px), (max-height: 699px) { body.sense .side-ad { display: none !important; } }
body.sense .ad-slot { margin: 18px auto 0; max-width: 728px; }
body[data-screen="scPlay"] .ad-slot { display: none; }

/* ---------- 메인 ---------- */
.hero { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid var(--s-line); min-height: 420px; }
.hero-cv { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: auto; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; padding: 26px; }
.hero h1 { margin: 6px 0 8px; font-size: clamp(34px, 6vw, 54px); line-height: 1.02; letter-spacing: -.01em; text-shadow: 0 0 24px rgba(62,230,240,.35); }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--s-cyan), var(--s-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.slogan { font-size: 18px; line-height: 1.5; margin: 0 0 14px; color: #cfdcff; } .slogan b { color: #fff; text-shadow: 0 0 14px var(--s-violet); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; } .hero-tags span { font-size: 12px; padding: 5px 10px; border-radius: 99px; background: rgba(62,230,240,.1); border: 1px solid rgba(62,230,240,.35); color: #bff6fa; }
.rec-card { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .rec-card > div { background: rgba(8,12,34,.6); border: 1px solid var(--s-line); border-radius: 12px; padding: 8px 10px; } .rec-card .wide { grid-column: 1/-1; }
.rec-card small { display: block; color: var(--muted); font-size: 11px; } .rec-card b { font: 700 18px var(--num); }
.hero-r { display: flex; flex-direction: column; gap: 10px; }
.mcard { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer; color: #fff; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--s-line); background: linear-gradient(135deg, rgba(30,44,100,.75), rgba(14,20,52,.75)); backdrop-filter: blur(8px); transition: transform .15s, box-shadow .2s, border-color .2s; font: inherit; }
.mcard:hover, .mcard:focus-visible { transform: translateY(-2px); border-color: var(--c, var(--s-cyan)); box-shadow: 0 0 0 1px var(--c, var(--s-cyan)), 0 8px 28px rgba(62,230,240,.22); outline: none; }
.mcard i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.06); color: var(--c, var(--s-cyan)); flex: none; }
.mcard span { flex: 1; } .mcard b { display: block; font-size: 17px; } .mcard small { color: #aab6e8; font-size: 12px; } .mcard em { font-style: normal; color: var(--c, var(--s-cyan)); }
.mcard.big { padding: 16px; } .mcard.big b { font-size: 21px; }
.mcard.cyan { --c: var(--s-cyan); background: linear-gradient(135deg, rgba(62,230,240,.22), rgba(14,20,52,.8)); } .mcard.violet { --c: var(--s-violet); background: linear-gradient(135deg, rgba(151,117,250,.26), rgba(14,20,52,.8)); }
.mcard.gold { --c: var(--s-gold); } .mcard.red { --c: var(--s-red); }
.mrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; } .mcard.sm { flex-direction: column; gap: 4px; padding: 10px 6px; text-align: center; } .mcard.sm i { width: 34px; height: 34px; } .mcard.sm b { font-size: 13px; }
.banner { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255,84,112,.14); border: 1px solid rgba(255,84,112,.5); }
.lab-sec { margin-top: 22px; } .sec-h { font-size: 18px; margin: 0 0 10px; display: flex; align-items: center; gap: 8px; } .sec-h::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(var(--s-cyan), var(--s-violet)); }
.test-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; }
.tcard { position: relative; display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--s-card); border: 1px solid var(--s-line); color: #fff; font: inherit; text-align: left; cursor: default; }
.tcard .ti { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(62,230,240,.1); color: var(--s-cyan); }
.tcard b { display: block; font-size: 14px; } .tcard small { color: var(--muted); font-size: 11px; line-height: 1.35; display: block; } .tcard .no { position: absolute; top: 6px; right: 8px; font: 700 11px var(--num); color: var(--dim); }
.tcard.q::after { content: "빠른"; position: absolute; bottom: 6px; right: 8px; font-size: 10px; color: var(--s-cyan); }
.prac .tcard { cursor: pointer; } .prac .tcard:hover { border-color: var(--s-cyan); }
.tier-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; } .tier-row > div { text-align: center; padding: 8px 4px; border-radius: 12px; background: var(--s-card); border: 1px solid var(--s-line); } .tier-row canvas { width: 64px; height: 64px; } .tier-row b { display: block; font-size: 13px; } .tier-row small { font: 600 12px var(--num); color: var(--muted); }
.lab-foot { margin-top: 18px; } .formula { margin: 10px 0; padding: 10px 12px; border-radius: 12px; background: var(--s-card); border: 1px solid var(--s-line); } .formula summary { cursor: pointer; color: var(--s-cyan); } .formula p { font-size: 13px; line-height: 1.6; color: #cdd7ff; }
body.sense .series-card { display: block; margin: 6px 0; padding: 10px 14px; border-radius: 12px; color: var(--cream); text-decoration: none; background: var(--s-card); border: 1px solid var(--s-line); font-size: 13px; }
.fine { font-size: 12px; color: var(--muted); line-height: 1.55; }

/* ---------- 접수 ---------- */
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.modes .mode { text-align: left; padding: 12px; border-radius: 12px; border: 1px solid var(--s-line); background: rgba(8,12,34,.6); color: #fff; cursor: pointer; font: inherit; }
.modes .mode.on { border-color: var(--s-cyan); box-shadow: 0 0 0 1px var(--s-cyan), 0 0 22px rgba(62,230,240,.25); background: rgba(62,230,240,.12); } .modes .mode b { display: block; font-size: 16px; } .modes .mode span { color: #aab6e8; font-size: 12px; }

/* ---------- 튜토리얼 ---------- */
.tut-h { display: flex; gap: 16px; align-items: center; } .tut-h canvas { width: 96px; height: 96px; flex: none; } .tut-h h2 { margin: 4px 0; font-size: 26px; }
.tut ol { padding-left: 20px; line-height: 1.7; } .tut-areas { display: flex; flex-wrap: wrap; gap: 6px; } .tut-areas span { padding: 4px 10px; border-radius: 99px; font-size: 13px; border: 1px solid currentColor; background: rgba(255,255,255,.04); }

/* ---------- 플레이 ---------- */
body[data-screen="scPlay"] .topbar { display: none; }
body[data-screen="scPlay"] main#app { max-width: 1100px; padding: 6px 8px calc(var(--ad-bottom, 0px) + 8px + var(--safe-b)); }
.play { display: flex; flex-direction: column; height: calc(100dvh - var(--ad-top, 0px) - var(--ad-bottom, 0px) - 14px); min-height: 420px; }
.play-hud { display: flex; align-items: center; gap: 8px; padding: 4px 4px 6px; } .play-hud b { font-size: 17px; } .play-hud .grow { flex: 1; }
.chip { font: 700 13px var(--num); padding: 3px 10px; border-radius: 99px; background: rgba(62,230,240,.12); border: 1px solid rgba(62,230,240,.4); color: #bff6fa; white-space: nowrap; } .chip.alt { background: rgba(151,117,250,.14); border-color: rgba(151,117,250,.45); color: #e2d9ff; font-family: Galmuri11, sans-serif; font-weight: 400; font-size: 12px; overflow: hidden; text-overflow: ellipsis; max-width: 46vw; }
.tbar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; margin: 0 4px 6px; } .tbar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--s-cyan), var(--s-violet)); transition: width .1s linear; } .tbar.warn i { background: linear-gradient(90deg, var(--s-red), var(--s-gold)); }
.stage { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.stage canvas { display: block; border-radius: 16px; border: 1px solid var(--s-line); box-shadow: 0 0 40px rgba(62,230,240,.12); touch-action: none; image-rendering: auto; background: var(--s-bg); cursor: crosshair; }
.countdown { position: absolute; inset: 0; display: grid; place-items: center; font: 700 120px var(--num); color: #fff; text-shadow: 0 0 40px var(--s-cyan); pointer-events: none; }
.countdown.pop { animation: cdPop .6s ease-out; } @keyframes cdPop { from { transform: scale(1.8); opacity: 0; } 40% { opacity: 1; } to { transform: scale(1); } }
.pad { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 8px; padding: 8px 4px 0; }
.pad[data-n="1"] { --n: 1; } .pad[data-n="2"] { --n: 2; } .pad[data-n="3"] { --n: 3; } .pad[data-n="4"] { --n: 4; } .pad[data-n="5"] { --n: 5; } .pad[data-n="6"] { --n: 6; }
.pk { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 54px; padding: 8px 6px; border-radius: 14px; border: 1px solid var(--s-line); background: linear-gradient(180deg, rgba(40,58,130,.85), rgba(18,26,66,.9)); color: #fff; font: inherit; font-size: 15px; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: transform .06s, border-color .15s; }
.pk::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); transform-origin: bottom; transform: scaleY(var(--cd, 0)); pointer-events: none; }
.pk kbd { font: 600 11px var(--num); padding: 1px 5px; border-radius: 5px; background: rgba(255,255,255,.12); color: #cfe; } [data-device="mobile"] .pk kbd { display: none; }
.pk:active, .pk.hit { transform: scale(.96); border-color: var(--s-cyan); box-shadow: 0 0 18px rgba(62,230,240,.35); } .pk.on { border-color: var(--s-gold); background: linear-gradient(180deg, rgba(120,90,30,.85), rgba(60,40,14,.9)); }
.pk:disabled { opacity: .55; cursor: default; } .pk.go { background: linear-gradient(180deg, rgba(62,230,240,.5), rgba(20,90,110,.9)); } .pk.alert { background: linear-gradient(180deg, rgba(255,84,112,.55), rgba(90,20,40,.9)); }
@media (max-height: 560px) { .pk { min-height: 42px; } .play-hud b { font-size: 14px; } }

/* ---------- 검사 결과(중간) ---------- */
.mid { text-align: center; } .mid h2 { margin: 4px 0 6px; font-size: 26px; }
.mid-score { position: relative; width: 200px; height: 200px; margin: 6px auto; } .mid-score canvas { position: absolute; inset: 0; } .mid-score > div { position: absolute; inset: 0; display: grid; place-content: center; } .mid-score b { font: 700 64px var(--num); line-height: 1; } .mid-score small { color: var(--muted); }
.mid-grade { font-size: 20px; margin: 4px 0; } .mid-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 12px 0; } .mid-track span { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font: 700 13px var(--num); background: rgba(255,255,255,.05); border: 1px solid var(--s-line); color: var(--dim); } .mid-track span.done { color: #071022; } .mid-track span.cur { border-color: var(--s-cyan); color: var(--s-cyan); }

/* ---------- 결과 공개 시네마틱 ---------- */
body[data-screen="scReveal"] .topbar { display: none; }
#scReveal { position: relative; min-height: calc(100dvh - 32px); } .rv-cv { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.rv { position: relative; z-index: 1; min-height: calc(100dvh - 40px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; }
.rv-step { font-size: 16px; color: #cfe; min-height: 22px; letter-spacing: .04em; }
.rv-score small { display: block; font: 700 14px var(--num); letter-spacing: .3em; color: var(--s-cyan); } .rv-score b { font: 700 clamp(84px, 18vw, 150px) var(--num); line-height: 1; text-shadow: 0 0 40px rgba(62,230,240,.6); } .rv-score span { font: 600 22px var(--num); color: var(--muted); }
.rv-tier canvas { width: 220px; height: 220px; } .rv-tier b { display: block; font-size: 34px; text-shadow: 0 0 20px currentColor; animation: tierIn .8s cubic-bezier(.2,1.6,.4,1); } @keyframes tierIn { from { transform: scale(.3); opacity: 0; } to { transform: none; opacity: 1; } }
.rv-style { max-width: 520px; padding: 14px 18px; border-radius: 16px; background: var(--s-card); border: 1px solid var(--s-line); animation: tierIn .7s ease; } .rv-style small { color: var(--muted); } .rv-style b { display: block; font-size: 26px; margin: 2px 0 6px; } .rv-style p { margin: 0; color: #cfdcff; line-height: 1.55; }

/* ---------- 진단서 ---------- */
.cert-box { display: grid; place-items: center; } .cert-box canvas.cert-img { width: min(100%, 720px); height: auto; border-radius: 16px; box-shadow: 0 16px 60px rgba(0,0,0,.5), 0 0 0 1px var(--s-line); }
.cert { width: min(100%, 760px); padding: 22px; border-radius: 22px; background: linear-gradient(160deg, rgba(24,34,84,.85), rgba(8,12,34,.92)); border: 1px solid var(--s-line); box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07); position: relative; overflow: hidden; }
.cert::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 220px at 90% 0%, color-mix(in srgb, var(--tc, #3ee6f0) 30%, transparent), transparent 70%); pointer-events: none; }
.cert-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; position: relative; } .cert-h h2 { margin: 2px 0 0; font-size: 22px; } .cert-no { font: 600 12px var(--num); color: var(--muted); text-align: right; }
.cert-top { display: grid; grid-template-columns: 210px 1fr; gap: 16px; align-items: center; margin-top: 12px; position: relative; }
.cert-tier { text-align: center; } .cert-tier canvas { width: 170px; height: 170px; } .cert-tier b { display: block; font-size: 24px; } .cert-tier .tot { font: 700 54px var(--num); line-height: 1; } .cert-tier .tot small { font-size: 18px; color: var(--muted); }
.cert-who { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; } .cert-who b { font-size: 20px; } .cert-who small { color: var(--muted); display: block; }
.cert-style { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); border-left: 4px solid var(--sc, var(--s-cyan)); } .cert-style b { font-size: 20px; color: var(--sc); } .cert-style p { margin: 4px 0 0; font-size: 13px; color: #cfdcff; line-height: 1.5; }
.cert-mid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 14px; position: relative; } .cert-mid canvas.radar { width: 100%; max-width: 320px; aspect-ratio: 1; display: block; margin: 0 auto; }
.abars { display: flex; flex-direction: column; gap: 7px; justify-content: center; } .abar { display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: 8px; font-size: 13px; } .abar i { height: 10px; border-radius: 5px; background: rgba(255,255,255,.08); overflow: hidden; } .abar i > em { display: block; height: 100%; border-radius: 5px; } .abar b { font: 700 16px var(--num); text-align: right; }
.cert-op { margin-top: 12px; position: relative; } .cert-op p { margin: 4px 0; font-size: 14px; line-height: 1.55; } .cert-op p::before { content: "▸ "; color: var(--s-cyan); }
.cert-tests { margin-top: 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 5px; position: relative; } .cert-tests span { display: flex; justify-content: space-between; gap: 6px; padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,.04); font-size: 12px; } .cert-tests span b { font: 700 14px var(--num); }
.cert-foot { margin-top: 12px; display: flex; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--muted); position: relative; } .cert-flag { color: var(--s-gold); font-size: 12px; }
.share { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 14px 0; } .share button { font: inherit; }
.row-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; }

/* ---------- 랭킹·기록 ---------- */
.rk-dist { display: flex; align-items: flex-end; gap: 4px; height: 90px; margin: 10px 0; } .rk-dist div { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; font: 600 10px var(--num); color: var(--muted); } .rk-dist i { width: 100%; border-radius: 4px 4px 0 0; min-height: 2px; }
.rk-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.rk-list li { display: grid; grid-template-columns: 34px 40px 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(8,12,34,.55); border: 1px solid var(--s-line); }
.rk-list li.me { border-color: var(--s-cyan); } .rk-list .rk-n { font: 700 18px var(--num); text-align: center; color: var(--muted); } .rk-list li:nth-child(1) .rk-n { color: #ffdf7a; } .rk-list li:nth-child(2) .rk-n { color: #d6e2ff; } .rk-list li:nth-child(3) .rk-n { color: #e09a6a; }
.rk-list .rk-who b { display: block; font-size: 14px; } .rk-list .rk-who small { color: var(--muted); font-size: 11px; } .rk-list .rk-s { text-align: right; font: 700 20px var(--num); } .rk-list .rk-s small { display: block; font: 400 11px Galmuri11, sans-serif; }
.rk-list canvas { width: 36px; height: 36px; } .rk-sel { display: flex; gap: 8px; margin: 8px 0; } .rk-sel select { background: rgba(8,12,34,.8); color: #fff; border: 1px solid var(--s-line); border-radius: 10px; padding: 6px 8px; font: inherit; }
.hs-chart { width: 100%; height: 160px; display: block; margin-bottom: 10px; }
body.sense .tabs button.on { border-color: var(--s-cyan); color: #fff; background: rgba(62,230,240,.16); }

/* ---------- 반응형 ---------- */
@media (max-width: 760px) {
  .hero-in { grid-template-columns: 1fr; padding: 18px; } .hero { min-height: 0; }
  .tier-row { grid-template-columns: repeat(5, 1fr); gap: 4px; } .tier-row canvas { width: 44px; height: 44px; } .tier-row b { font-size: 11px; }
  .cert { padding: 16px; } .cert-top { grid-template-columns: 1fr; } .cert-mid { grid-template-columns: 1fr; } .mrow { grid-template-columns: repeat(2, 1fr); }
  .pk { font-size: 13px; min-height: 50px; } .chip.alt { max-width: 38vw; }
}
body.reduce *, body.reduce *::before { animation: none !important; transition: none !important; }
/* iq.css의 종이 진단서(.cert) 색이 섞이지 않게 */
body.sense .cert { color: #e8f1ff; font-family: var(--font); }
body.sense .cert b, body.sense .cert p, body.sense .cert h2, body.sense .cert .tot, body.sense .cert .cert-who b, body.sense .cert-tests span { color: #e8f1ff; }
body.sense .cert small, body.sense .cert .cert-who small, body.sense .cert-foot { color: #8a96c8; }
body.sense .cert { box-shadow: 0 20px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.07); }
.play-hud b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 520px) { .play-hud b { font-size: 15px; max-width: 42vw; } .play-hud .chip { font-size: 11px; padding: 2px 8px; } }
.snd-pop { position: fixed; top: 58px; right: 12px; z-index: 80; width: min(280px, calc(100vw - 24px)); display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; background: rgba(10,16,40,.97); border: 1px solid var(--s-line); box-shadow: 0 12px 40px rgba(0,0,0,.5); font-size: 14px; }
.snd-pop label { display: flex; align-items: center; justify-content: space-between; gap: 10px; } .snd-pop input[type=range] { flex: 1; accent-color: #3ee6f0; }

/* 티어 단계별 진단서 배경 */
.cert.band-low { background: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 3px), linear-gradient(160deg, rgba(40,46,70,.92), rgba(10,12,26,.95)); }
.cert.band-mid { background: linear-gradient(135deg, color-mix(in srgb, var(--tc) 14%, transparent), transparent 40%), conic-gradient(from 210deg at 85% 10%, color-mix(in srgb, var(--tc) 18%, transparent), transparent 30%), linear-gradient(160deg, rgba(24,34,84,.9), rgba(8,12,34,.95)); }
.cert.band-high, .cert.band-top { background: radial-gradient(600px 300px at 50% 0%, color-mix(in srgb, var(--tc) 28%, transparent), transparent 70%), linear-gradient(160deg, rgba(26,30,90,.92), rgba(8,10,30,.96)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--tc) 55%, transparent), 0 20px 60px rgba(0,0,0,.45), 0 0 50px color-mix(in srgb, var(--tc) 25%, transparent); }
.cert.band-top::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255,223,122,.9) 1px, transparent 1.5px); background-size: 37px 41px; opacity: .35; animation: goldRain 9s linear infinite; }
@keyframes goldRain { to { background-position: 0 410px; } }
.cert-quip { margin: 10px 0 0; font-size: 15px; color: #fff; font-weight: 700; text-shadow: 0 0 12px color-mix(in srgb, var(--tc) 60%, transparent); }

/* ---------- 8인 대결 ---------- */
.mx-entry { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .mx-entry > div { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.mx-code { width: 100%; font: 700 28px var(--num); letter-spacing: .3em; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid var(--s-line); background: rgba(8,12,34,.8); color: #fff; }
.mx-lobby { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: start; }
.mx-invite { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(62,230,240,.08); border: 1px solid rgba(62,230,240,.35); margin-bottom: 12px; } .mx-invite small { display: block; color: var(--muted); font-size: 11px; } .mx-invite b { font: 700 34px var(--num); letter-spacing: .18em; }
.mx-players { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.mx-players li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: rgba(8,12,34,.55); border: 1px solid var(--s-line); font-size: 14px; } .mx-players li.me { border-color: var(--s-cyan); } .mx-players li.off { opacity: .45; } .mx-players .grow { flex: 1; }
.mx-players .av canvas, .mx-players .av-img { width: 32px; height: 32px; border-radius: 8px; display: block; } .mx-players.sm li { padding: 6px 10px; }
.tag { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.08); color: #cfe; white-space: nowrap; } .tag.ok { background: rgba(70,224,138,.2); color: #8ff0b8; } .tag.host { background: rgba(244,199,106,.2); color: #ffe39a; }
.mx-max { display: flex; align-items: center; gap: 8px; margin: 10px 0; } .mx-max select { background: rgba(8,12,34,.8); color: #fff; border: 1px solid var(--s-line); border-radius: 8px; padding: 4px 8px; font: inherit; }
.mx-wait { text-align: center; font-size: 16px; margin-top: 14px; } .mx-wait b { font: 700 40px var(--num); color: var(--s-cyan); }
.mx-strip { display: flex; gap: 6px; overflow-x: auto; padding: 0 4px 6px; scrollbar-width: none; } .mx-strip span { flex: none; min-width: 64px; font-size: 11px; } .mx-strip b { display: block; font-weight: 400; color: #cfe; white-space: nowrap; overflow: hidden; } .mx-strip i { display: block; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--s-cyan) var(--v), rgba(255,255,255,.1) var(--v)); }
.mx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#scFinal { position: relative; } .mx-final { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.mx-title { text-align: center; font-size: 34px; margin: 6px 0; text-shadow: 0 0 20px var(--s-gold); color: #ffe39a; }
.mx-podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 10px; max-width: 620px; margin: 0 auto; width: 100%; }
.mx-podium .pd { position: relative; text-align: center; padding: 10px 6px 50px; border-radius: 16px 16px 4px 4px; background: linear-gradient(180deg, rgba(40,52,120,.85), rgba(14,20,52,.9)); border: 1px solid var(--s-line); animation: tierIn .7s ease both; }
.mx-podium .pd canvas { width: 76px; height: 76px; } .mx-podium .pd b { display: block; font-size: 15px; } .mx-podium .pd small { font-size: 12px; } .mx-podium .pd i { position: absolute; left: 0; right: 0; bottom: 8px; font: 700 32px var(--num); font-style: normal; color: #fff; }
.mx-podium .r1 { min-height: 230px; border-color: var(--s-gold); box-shadow: 0 0 30px rgba(244,199,106,.35); animation-delay: .5s; } .mx-podium .r2 { min-height: 190px; animation-delay: .25s; } .mx-podium .r3 { min-height: 160px; }
.mx-awards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; } .mx-awards .aw { padding: 10px; border-radius: 12px; background: rgba(18,28,68,.8); border: 1px solid rgba(244,199,106,.35); text-align: center; } .mx-awards small { display: block; color: #ffe39a; font-size: 12px; } .mx-awards b { display: block; font-size: 16px; margin: 2px 0; } .mx-awards span { font: 600 14px var(--num); color: var(--muted); }
@media (max-width: 760px) { .mx-entry, .mx-lobby, .mx-two { grid-template-columns: 1fr; } .mx-invite b { font-size: 26px; } }

/* ---------- 스트리머 모드 ---------- */
.bc-form { display: grid; gap: 10px; } .bc-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; } .bc-form .chk { flex-direction: row; } .bc-form input:not([type=checkbox]), .bc-form select { background: rgba(8,12,34,.8); color: #fff; border: 1px solid var(--s-line); border-radius: 10px; padding: 9px 10px; font: inherit; } .bc-form .bc-lab { display: block; font-size: 14px; margin-bottom: 4px; }
body.bcast main#app { max-width: 1280px; }
.bc-board { position: relative; border-radius: 22px; border: 1px solid var(--s-line); background: radial-gradient(900px 500px at 20% 0%, rgba(151,117,250,.22), transparent 60%), radial-gradient(800px 500px at 100% 100%, rgba(62,230,240,.14), transparent 60%), #070b1f; padding: 18px; overflow: hidden; }
.bc-board:fullscreen { border-radius: 0; padding: 2.2vw; display: flex; flex-direction: column; }
.bc-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; } .bc-head h1 { margin: 2px 0; font-size: clamp(22px, 3vw, 40px); } .bc-head p { margin: 0; color: var(--muted); }
.bc-status { text-align: right; } .bc-status b { display: inline-block; padding: 6px 14px; border-radius: 99px; font-size: 16px; background: rgba(255,255,255,.08); } .bc-status small { display: block; margin-top: 4px; font: 700 20px var(--num); color: var(--s-cyan); }
.bc-status .st-open { background: rgba(70,224,138,.2); color: #8ff0b8; animation: pulse 1.6s infinite; } .bc-status .st-wait { background: rgba(244,199,106,.2); color: #ffe39a; } .bc-status .paused { background: rgba(255,84,112,.2); color: #ff9db0; animation: none; } .bc-status .st-final { background: rgba(151,117,250,.25); color: #e2d9ff; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(70,224,138,.12); } }
.bc-grid { display: grid; grid-template-columns: 220px 1fr 280px; gap: 14px; margin-top: 14px; }
.bc-col { background: rgba(14,22,56,.55); border: 1px solid var(--s-line); border-radius: 16px; padding: 14px; }
.bc-qr { background: #fff; border-radius: 12px; padding: 8px; display: grid; place-items: center; } .bc-qr img { width: 100%; height: auto; image-rendering: pixelated; }
.bc-link { font: 600 12px var(--num); color: var(--s-cyan); word-break: break-all; text-align: center; margin: 6px 0; }
.bc-big { text-align: center; margin-top: 8px; } .bc-big small { color: var(--muted); display: block; } .bc-big b { font: 700 64px var(--num); line-height: 1; display: block; text-shadow: 0 0 24px rgba(62,230,240,.5); } .bc-big span { color: #8ff0b8; font-size: 13px; }
.bc-comp { height: 8px; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; margin: 10px 0; } .bc-comp i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--s-cyan), var(--s-violet)); transition: width .8s; }
.bc-predict { font-size: 13px; color: #ffe39a; text-align: center; }
.bc-wait { display: grid; place-content: center; text-align: center; min-height: 360px; } .bc-wait b { font-size: clamp(30px, 4vw, 56px); text-shadow: 0 0 30px var(--s-violet); } .bc-wait p { color: #cfdcff; }
.bc-avg { display: flex; align-items: center; gap: 16px; } .bc-avg canvas { width: 150px; height: 150px; flex: none; } .bc-avg small { color: var(--muted); } .bc-avg > div > b { display: block; font: 700 64px var(--num); line-height: 1; } .bc-avg span b { font-size: 24px; } .bc-avg p { margin: 4px 0 0; color: #cfdcff; font-size: 13px; }
.bc-tiers { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; height: 140px; align-items: end; } .bc-tiers > div { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; } .bc-tiers i { width: 100%; border-radius: 6px 6px 0 0; min-height: 3px; transition: height .8s cubic-bezier(.2,1.2,.4,1); } .bc-tiers b { font: 700 14px var(--num); } .bc-tiers small { font-size: 10px; white-space: nowrap; }
.bc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .bc-styles > div { display: flex; justify-content: space-between; padding: 4px 0; } .bc-styles small { color: var(--muted); }
.bc-vs .vs { display: flex; align-items: center; justify-content: space-around; text-align: center; } .bc-vs small { color: var(--muted); display: block; font-size: 12px; } .bc-vs b { font: 700 34px var(--num); } .bc-vs em { font: 700 20px var(--num); color: var(--s-red); font-style: normal; } .bc-vs p { font-size: 13px; text-align: center; margin: 6px 0 0; color: #ffe39a; }
.bc-toplist { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 5px; } .bc-toplist li { display: grid; grid-template-columns: 26px 1fr auto auto; gap: 6px; align-items: center; padding: 7px 8px; border-radius: 10px; background: rgba(8,12,34,.6); font-size: 14px; } .bc-toplist .n { font: 700 18px var(--num); color: var(--muted); text-align: center; } .bc-toplist li:nth-child(1) .n { color: #ffdf7a; } .bc-toplist .v { font: 700 18px var(--num); } .bc-toplist small { font-size: 11px; } .bc-toplist b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bc-toplist li.up { animation: rankUp .9s ease; } .bc-toplist li.new { animation: rankNew .7s ease; } .arrow { color: #46e08a; font-style: normal; font-size: 11px; }
@keyframes rankUp { 0% { background: rgba(70,224,138,.45); transform: translateY(8px); } 100% { background: rgba(8,12,34,.6); transform: none; } }
@keyframes rankNew { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.bc-cer { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; } .bc-cer canvas#cerCv { position: absolute; inset: 0; width: 100%; height: 100%; } .bc-cer-in { position: relative; width: min(92%, 760px); text-align: center; } .bc-cer-in h2 { margin: 4px 0 10px; }
.bc-cer ol { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 5px; } .bc-cer li { display: grid; grid-template-columns: 40px 1fr auto auto; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; background: rgba(18,28,68,.9); border: 1px solid var(--s-line); font-size: 17px; } .bc-cer li .n, .bc-cer li .v { font: 700 24px var(--num); } .bc-cer li.pop { animation: rankNew .5s ease; }
.bc-win { margin: 12px auto; animation: tierIn .9s cubic-bezier(.2,1.6,.4,1); } .bc-win canvas { width: 180px; height: 180px; } .bc-win small { display: block; color: #ffe39a; } .bc-win b { display: block; font-size: 42px; text-shadow: 0 0 30px var(--s-gold); } .bc-win span { font-size: 20px; }
.bc-sum { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 10px 0; animation: rankNew .6s ease; } .bc-sum > div { min-width: 120px; padding: 10px; border-radius: 12px; background: rgba(18,28,68,.9); border: 1px solid rgba(244,199,106,.4); } .bc-sum small { display: block; color: var(--muted); font-size: 12px; } .bc-sum b { display: block; font: 700 26px var(--num); } .bc-sum span { font-size: 13px; }
.bc-viewer, .bc-ctl { margin-top: 14px; } .bc-ctl-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; } .bc-ctl-row select { background: rgba(8,12,34,.8); color: #fff; border: 1px solid var(--s-line); border-radius: 8px; padding: 6px; font: inherit; }
/* OBS 출력: 16:9 꽉 채움, 조작·광고·상단바 없음 */
body.out .topbar, body.out .side-ad, body.out .ad-slot, body.out #ctl, body.out #viewerBar, body.out #btnMoreRank, body.out #btnCerClose { display: none !important; }
body.out main#app { max-width: none; padding: 0; } body.out::before { display: none; } body.out { overflow: hidden; }
body.out .bc-board { border-radius: 0; border: 0; width: 100vw; height: 100vh; padding: 2vw; display: flex; flex-direction: column; } body.out .bc-grid { flex: 1; min-height: 0; }
@media (max-width: 900px) { .bc-grid { grid-template-columns: 1fr; } .bc-two { grid-template-columns: 1fr; } .bc-big b { font-size: 48px; } .bc-tiers { height: 110px; } }

/* 8인 대결 고도화: 플레이어 슬롯 · 순위 띠 · 시상식 순서 */
.mx-slots { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mx-slots .slot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; min-height: 178px; border-radius: 16px; background: linear-gradient(180deg, rgba(36,48,110,.75), rgba(12,18,48,.85)); border: 1px solid var(--s-line); text-align: center; }
.mx-slots .slot.ready { border-color: rgba(70,224,138,.7); box-shadow: 0 0 18px rgba(70,224,138,.2); } .mx-slots .slot.me { outline: 2px solid var(--s-cyan); } .mx-slots .slot.off { opacity: .45; }
.mx-slots .slot.enter { animation: slotIn .55s cubic-bezier(.2,1.4,.4,1); } @keyframes slotIn { from { transform: translateY(18px) scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
.mx-slots .slot b { font-size: 14px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mx-slots .av canvas, .mx-slots .av-img { width: 54px; height: 54px; border-radius: 12px; }
.mx-slots .best { display: flex; flex-direction: column; align-items: center; min-height: 44px; } .mx-slots .best canvas { width: 30px; height: 30px; } .mx-slots .best small { font-size: 11px; }
.mx-slots .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; } .mx-slots .kick { position: absolute; top: 4px; right: 4px; padding: 2px 6px; font-size: 11px; }
.mx-slots .slot.empty { border-style: dashed; background: rgba(8,12,34,.4); justify-content: center; color: var(--muted); } .mx-slots .plus { font: 700 34px var(--num); opacity: .5; } .mx-slots .empty em { font-size: 11px; font-style: normal; }
#btnStart.pulse { animation: startPulse 1.2s ease-in-out infinite; } @keyframes startPulse { 50% { box-shadow: 0 0 0 8px rgba(62,230,240,.18), 0 0 30px rgba(62,230,240,.5); } }
.mx-strip span.me b { color: var(--s-cyan); } .mx-strip span.off { opacity: .4; } .mx-strip em { font-style: normal; font: 700 11px var(--num); color: #ffe39a; }
.rk-list .dl { font: 700 12px var(--num); color: var(--muted); text-align: center; } .rk-list .dl.u { color: #46e08a; } .rk-list .dl.d { color: #ff7a8f; } .rk-list li.up { animation: rankUp .9s ease; }
.mx-stage { text-align: center; min-height: 24px; font-size: 18px; color: #cfdcff; margin: 0; } .mx-skip { display: block; margin: 0 auto; }
.mx-final .hide { visibility: hidden; } .mx-final .pop { animation: tierIn .6s cubic-bezier(.2,1.4,.4,1); } #rdTitles .pop { animation: tierIn .6s ease; }
.mx-winner { position: fixed; inset: 0; z-index: 60; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, rgba(60,40,10,.75), rgba(5,8,26,.95)); animation: tierIn .8s cubic-bezier(.2,1.6,.4,1); } .mx-winner canvas { width: 220px; height: 220px; margin: 0 auto; } .mx-winner small { color: #ffe39a; font-size: 18px; } .mx-winner b { font-size: clamp(36px, 7vw, 64px); text-shadow: 0 0 30px var(--s-gold); } .mx-winner span { font-size: 20px; }
@media (max-width: 760px) { .mx-slots { grid-template-columns: repeat(2, 1fr); } .mx-slots .slot { min-height: 150px; } }

/* ---------- 5차: 검사 설명 · 결과 발표 다듬기 ---------- */
body.sense .pbtn:focus { outline: none; } body.sense .pbtn:focus-visible { outline: 2px solid var(--s-cyan); outline-offset: 3px; }
.tut-prev { margin: 12px 0 4px; text-align: center; } .tut-prev canvas { width: 100%; max-width: 560px; display: block; margin: 0 auto; border-radius: 14px; border: 1px solid var(--s-line); box-shadow: 0 0 30px rgba(62,230,240,.12); background: #070b1f; }
.tut-prev small { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
@media (max-aspect-ratio: 9/10) { .tut-prev canvas { max-width: 300px; } }
.tut ol { list-style: none; counter-reset: rule; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tut ol li { counter-increment: rule; position: relative; padding: 10px 12px 10px 44px; border-radius: 12px; background: rgba(8,12,34,.55); border: 1px solid var(--s-line); line-height: 1.5; font-size: 14px; }
.tut ol li::before { content: counter(rule); position: absolute; left: 10px; top: 9px; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; font: 700 14px var(--num); background: linear-gradient(135deg, var(--s-cyan), var(--s-violet)); color: #071022; }
.tut-ctl { display: inline-block; padding: 8px 12px; border-radius: 10px; background: rgba(151,117,250,.12); border: 1px solid rgba(151,117,250,.4); font-size: 14px; }
.rv-areas { width: min(92vw, 520px); display: flex; flex-direction: column; gap: 9px; } .rv-areas .abar { opacity: .25; transition: opacity .3s; grid-template-columns: 120px 1fr 40px; font-size: 15px; } .rv-areas .abar.on { opacity: 1; } .rv-areas .abar i { height: 12px; } .rv-areas .abar em { transition: width .45s cubic-bezier(.2,1,.3,1); } .rv-areas .abar b { font-size: 20px; }

@media (max-width: 760px) { .tut .row-btns { position: sticky; bottom: 0; margin: 12px -18px -18px; padding: 12px 18px calc(12px + var(--safe-b)); background: linear-gradient(transparent, rgba(7,11,31,.95) 30%); } }
.rv-tier b { text-shadow: 0 0 20px currentColor, 0 2px 0 #000; }

/* 검사 중 사이드 광고: 게임 화면(최대 1100px)과 겹치지 않는 아주 넓은 화면(1440px 이상)에서만 양쪽 끝에 */
@media (min-width: 1440px) and (min-height: 700px) { body.sense[data-screen="scPlay"] .side-ad { display: block !important; } }

/* 메인 상단: iq.css의 고정 높이(.hero height)를 풀어 버튼이 잘리지 않게 */
body.sense .hero { height: auto; margin: 0; }
/* 진단서 강점·보완 */
.cert-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; position: relative; }
.cert-sw .sw { padding: 12px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid var(--s-line); } .cert-sw .s { border-color: rgba(70,224,138,.45); } .cert-sw .w { border-color: rgba(244,199,106,.45); }
.cert-sw small { display: block; font-size: 12px; color: #cfdcff; } .cert-sw b { display: block; font-size: 18px; margin: 2px 0; } .cert-sw span { display: block; font-size: 12px; color: var(--muted); } .cert-sw p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; }
/* 공유 버튼 정리 */
.share .pbtn { min-width: 0; }
@media (max-width: 760px) {
  .cert-sw { grid-template-columns: 1fr; }
  .share { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .share .pbtn { width: 100%; padding-left: 6px; padding-right: 6px; font-size: 14px; } .share .chk { grid-column: 1 / -1; justify-content: center; }
  .abar { grid-template-columns: 104px 1fr 30px; } .abar span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .row-btns .pbtn { flex: 1 1 calc(50% - 8px); }
}

/* 5차-3: 티어 이름 대비 · 검사 결과 칩 · 대기실 버튼 겹침 */
.cert-tier b, .rv-tier b, .bc-avg span b { filter: brightness(1.35) saturate(1.1); text-shadow: 0 0 14px currentColor, 0 2px 0 rgba(0,0,0,.6); }
#midDetail { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mid-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; } .mid-chips em { font-style: normal; padding: 5px 10px; border-radius: 99px; background: rgba(8,12,34,.7); border: 1px solid var(--s-line); color: #dfe8ff; font-size: 13px; }
.mid-abil { font-size: 13px; color: var(--muted); } .mid-say { font-size: 16px; color: #fff; font-weight: 700; }
.mx-slots .kick { position: static; margin-top: 4px; padding: 3px 10px; font-size: 11px; opacity: .8; }
/* iq.css와 이름이 같은 클래스(.stage·.mcard·.banner) 설정이 섞이지 않게 풀어 줌 */
body.sense .stage { max-width: none; padding: 0; margin: 0; z-index: auto; width: 100%; }
body.sense .mcard { height: auto; min-width: 0; font-size: inherit; box-shadow: none; } body.sense .mcard.on { transform: none; }
body.sense .banner { max-width: none; margin: 0 0 4px; box-shadow: none; }
/* 검사 중에도 사이드 광고 (1340px 이상): 게임 화면 폭을 광고 자리만큼 줄여 겹치지 않게. 결과 발표 연출 때만 숨김 */
@media (min-width: 1340px) and (min-height: 700px) {
  body.sense[data-screen="scPlay"] .side-ad, body.sense[data-screen="scTut"] .side-ad, body.sense[data-screen="scMid"] .side-ad, body.sense[data-screen="scWait"] .side-ad, body.sense[data-screen="scRound"] .side-ad { display: block !important; }
  body.sense[data-screen="scPlay"] main#app { max-width: min(1100px, calc(100vw - 344px)); }
}

/* 체크칸은 글자 부분만 눌리게 (모바일에서 줄 전체를 눌러 실수로 꺼지지 않게) */
body.sense .chk-inline { display: inline-flex !important; width: auto; max-width: 100%; }
body.sense #scReception .chk { display: inline-flex; width: auto; margin-right: 12px; }
.share .pub-tg { grid-column: 1 / -1; font-size: 13px; opacity: .85; }
/* 다국어: 빠른검사 표시 */
html[lang="ja"] .tcard.q::after { content: "クイック"; } html[lang="en"] .tcard.q::after { content: "QUICK"; }
