/* =========================
   플듀 심리전 능력 진단소 — iq.css(진단소 시리즈 공통) 위에 얹는 전용 스타일
   같은 Galmuri 글꼴·네온 팔레트, 픽셀은 3px 계단 테두리 + 정수 배율 스프라이트
   ========================= */
.pxi { image-rendering: pixelated; image-rendering: crisp-edges; vertical-align: middle; }
body.mind .series-card { display: block; max-width: 560px; margin: 8px auto; padding: 10px 14px; color: var(--cream); text-decoration: none; background: rgba(20,26,58,.8); box-shadow: inset 0 0 0 2px var(--steel); font-size: 13px; }
body.mind h3 { margin: 14px 0 6px; font-size: 15px; color: var(--cyan); }
body.mind.in-test main#app, body.mind main#app { max-width: 960px; padding: 16px 16px calc(24px + var(--safe-b)); }
body[data-screen="scGame"] .topbar { display: none; }
body[data-screen="scGame"] main#app { padding: 0 0 calc(var(--ad-bottom, 0px) + 8px); }
.gm { max-width: 960px; margin: 0 auto; }
.gm-top { position: relative; }
.gm-scene { display: block; width: 100%; height: clamp(96px, 24vw, 190px); background: var(--ink); }
@media (max-height: 560px) { .gm-scene { height: 70px; } }
.gm-hud { position: absolute; inset: 6px 8px auto 8px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; text-shadow: 0 1px 0 #000, 0 0 6px #000; pointer-events: none; }
.gm-hud b { font-size: 16px; color: #fff; } .gm-hud small { color: var(--cyan); font-size: 12px; flex: 1; min-width: 80px; }
.gm-hud .ibtn { pointer-events: auto; }
.gm .timer { height: 14px; margin: 0; }
.gm-stage { padding: 10px 12px 16px; min-height: 240px; }
.gm-fb { position: fixed; left: 0; right: 0; bottom: calc(var(--ad-bottom, 0px) + 12px); z-index: 40; display: grid; place-items: center; pointer-events: none; padding: 0 12px; }
.fb-in { pointer-events: auto; width: min(100%, 560px); max-height: 62vh; overflow: auto; padding: 14px 16px; background: rgba(11,16,38,.97); box-shadow: 0 0 0 3px var(--cyan), 0 8px 30px #000; text-align: center; font-size: 15px; line-height: 1.55; }
.fb-in p { margin: 6px 0; } .fb-in small { color: var(--muted); display: block; }
.fb-big { font-size: 22px; font-weight: 700; } .fb-big.ok { color: var(--green); } .fb-big.no { color: var(--red); }
.fb-hands { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 26px; }
.fb-pd { display: flex; gap: 10px; justify-content: center; font-weight: 700; } .fb-pd span { padding: 6px 10px; } .fb-pd .C { background: rgba(70,224,138,.2); color: var(--green); } .fb-pd .D { background: rgba(255,77,109,.2); color: var(--red); }
.mg-score { display: flex; justify-content: center; align-items: baseline; gap: 10px; font-size: 14px; margin-bottom: 8px; } .mg-score b { font-size: 22px; color: var(--yellow); } .mg-score .op b { color: var(--magenta); } .mg-score .vs { color: var(--muted); }
.mg-q { text-align: center; font-size: 18px; margin: 10px 0; color: var(--cream) !important; }
.rule { text-align: center; padding: 8px 10px; margin: 6px 0; background: rgba(107,75,216,.25); box-shadow: inset 0 0 0 2px var(--purple); font-size: 14px; line-height: 1.5; }
.declare { text-align: center; padding: 8px 10px; margin: 8px auto; max-width: 620px; background: rgba(7,10,28,.7); box-shadow: inset 0 0 0 2px var(--steel); font-size: 14px; } .declare.dim { color: var(--muted); }
/* 홀로그램 선택지 */
.holo-opt { position: relative; display: flex; gap: 10px; align-items: center; width: 100%; min-height: 48px; padding: 10px 12px; color: var(--cream); background: linear-gradient(180deg, rgba(62,230,240,.12), rgba(107,75,216,.14)); border: 0; box-shadow: inset 0 0 0 2px var(--cyan2); font: inherit; font-size: 15px; text-align: left; cursor: pointer; touch-action: manipulation; transition: filter .12s, transform .08s; }
.holo-opt:hover:not(:disabled) { filter: brightness(1.2); } .holo-opt:active:not(:disabled) { transform: translateY(2px); }
.holo-opt.on { box-shadow: inset 0 0 0 3px var(--yellow), 0 0 14px rgba(255,211,90,.4); background: rgba(255,211,90,.14); }
.holo-opt:disabled { opacity: .55; cursor: default; } .holo-opt:focus-visible, .fk-c:focus-visible, .mz-c:focus-visible, .sus-who:focus-visible, .sus-say:focus-visible, .fk-hint:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }
.holo-opt kbd { flex: none; min-width: 22px; padding: 1px 4px; text-align: center; font: inherit; font-size: 12px; color: var(--ink); background: var(--cyan); } html[data-device="mobile"] .holo-opt kbd { display: none; }
.holo-opt.tall { flex-direction: column; justify-content: center; text-align: center; min-height: 92px; gap: 4px; } .holo-opt.tall kbd { position: absolute; top: 4px; left: 4px; } .holo-opt.tall small { color: var(--muted); font-size: 12px; }
.holo-opt.good { box-shadow: inset 0 0 0 2px var(--green); } .holo-opt.bad { box-shadow: inset 0 0 0 2px var(--red); }
.opt-list { display: grid; gap: 8px; } .opt-row3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 8px; margin: 10px 0; } .opt-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 10px 0; }
.mg-two { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; } @media (max-width: 720px) { .mg-two { grid-template-columns: 1fr; } }
.mg-two h4, .board h4 { margin: 0 0 6px; font-size: 14px; color: var(--cyan); } .board { padding: 10px; background: rgba(7,10,28,.75); box-shadow: inset 0 0 0 2px var(--cyan2); font-size: 14px; } .board ul { margin: 0 0 8px; padding: 0; list-style: none; } .board li { padding: 4px 0; border-bottom: 1px dashed var(--steel); } .tv { margin: 0; color: var(--yellow); font-size: 13px; } .board small { color: var(--muted); font-weight: 400; }
.mg-table { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px; background: radial-gradient(ellipse at center, rgba(107,75,216,.35), rgba(7,10,28,.7)); box-shadow: inset 0 0 0 2px var(--magenta); }
.tb-side { display: grid; justify-items: center; gap: 4px; font-size: 12px; } .tb-side small { color: var(--muted); } .chips { font-size: 22px; color: var(--yellow); } .tb-mid { text-align: center; min-width: 0; } .pot { font-size: 15px; } .pot b { font-size: 24px; color: var(--yellow); } .line { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12px; color: var(--cream); max-height: 70px; overflow: auto; }
.hist-strip { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; min-height: 26px; padding: 4px; margin: 6px 0; background: rgba(7,10,28,.65); } .hist-strip small { color: var(--muted); } .ti { display: inline-grid; place-items: center; min-width: 22px; height: 22px; font-size: 11px; background: var(--navy3); } .ti.hit { box-shadow: inset 0 0 0 1px var(--green); color: var(--green); } .ti.miss { box-shadow: inset 0 0 0 1px var(--red); color: var(--red); }
.pair { display: inline-grid; gap: 1px; } .pair i { font-style: normal; font-size: 10px; width: 18px; text-align: center; } .pair .C { background: rgba(70,224,138,.35); } .pair .D { background: rgba(255,77,109,.45); }
.lot { display: flex; gap: 10px; align-items: center; padding: 10px; background: rgba(7,10,28,.75); box-shadow: inset 0 0 0 2px var(--yellow); } .lot > div:nth-child(2) { flex: 1; min-width: 0; } .lot b { display: block; font-size: 16px; } .lot small { color: var(--muted); font-size: 12px; } .lot em { font-style: normal; color: var(--yellow); font-weight: 700; font-size: 16px; } .purse { text-align: right; } .purse b { color: var(--cyan); font-size: 20px; }
.rivals { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 8px 0; font-size: 12px; color: var(--muted); } .rivals b { color: var(--cream); }
.sl { display: block; margin: 12px 0; font-size: 14px; } .sl span { display: block; text-align: center; margin-bottom: 4px; } .sl b { color: var(--yellow); font-size: 20px; } .sl input[type=range] { width: 100%; height: 30px; accent-color: var(--cyan); touch-action: pan-y; } .sl.big b { font-size: 40px; }
.stepper { display: flex; gap: 4px; align-items: center; } .stepper button { flex: none; min-width: 44px; height: 44px; background: var(--steel); color: var(--cream); border: 0; font: inherit; font-weight: 700; cursor: pointer; touch-action: manipulation; } .stepper input { flex: 1; min-width: 0; } .stepper output { flex: 1; text-align: center; font-size: 22px; color: var(--yellow); font-weight: 700; }
.mini-log { list-style: none; margin: 8px 0 0; padding: 0; font-size: 12px; color: var(--muted); text-align: center; }
.suspects { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } .sus { display: grid; grid-template-columns: 76px 1fr; gap: 4px; background: rgba(7,10,28,.7); padding: 4px; }
.sus-who, .sus-say { border: 0; color: var(--cream); background: rgba(30,38,84,.9); font: inherit; cursor: pointer; padding: 6px; font-size: 13px; line-height: 1.4; touch-action: manipulation; } .sus-who { display: grid; justify-items: center; gap: 2px; } .sus-who small, .sus-say small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; } .sus-say { text-align: left; } .sus-who.on { box-shadow: inset 0 0 0 3px var(--red); } .sus-say.on { box-shadow: inset 0 0 0 3px var(--yellow); } .clues { list-style: none; padding: 0; margin: 8px 0 0; font-size: 13px; color: var(--green); text-align: center; }
.ng-top { display: flex; justify-content: center; gap: 14px; font-size: 13px; color: var(--muted); } .ng-top b { color: var(--cream); } .ng-items { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 8px 0; } .ng-it { padding: 8px; background: rgba(7,10,28,.7); box-shadow: inset 0 0 0 2px var(--steel); text-align: center; } .ng-it small { display: block; font-size: 12px; color: var(--muted); } .offer { padding: 8px; font-size: 14px; text-align: center; background: rgba(154,123,255,.16); box-shadow: inset 0 0 0 2px var(--violet); }
.bars3 { display: grid; gap: 4px; margin: 8px 0; text-align: left; } .bars3 > div { display: grid; grid-template-columns: 90px 1fr 26px; gap: 6px; align-items: center; font-size: 13px; } .bars3 i { height: 12px; background: var(--navy3); position: relative; } .bars3 i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--violet); } .bars3 .win i::after { background: var(--green); } .bars3 .mine span { color: var(--yellow); font-weight: 700; }
.mz-top { display: flex; justify-content: center; gap: 16px; font-size: 14px; margin-bottom: 6px; } .mz-top b { color: var(--yellow); }
.mz { display: grid; grid-template-columns: repeat(var(--n), 1fr); width: min(100%, 420px, 62vh); aspect-ratio: 1; margin: 0 auto; background: rgba(7,10,28,.9); box-shadow: 0 0 0 3px var(--cyan2), 0 0 18px rgba(62,230,240,.3); }
.mz-c { position: relative; display: grid; place-items: center; padding: 0; min-width: 0; background: transparent; border: 0 solid var(--cyan); touch-action: manipulation; color: inherit; } .mz-c.trail { background: rgba(255,95,210,.16); } .mz-c.exit { background: rgba(70,224,138,.2); } .mz-c.run { background: rgba(255,95,210,.35); } .mz-c.trap { background: rgba(255,211,90,.22); } .mz-c.cand { background: rgba(255,211,90,.32); cursor: pointer; animation: mzPulse 1s steps(3) infinite; } @keyframes mzPulse { 50% { background: rgba(255,211,90,.6); } } .mz-c canvas { width: 70% !important; height: 70% !important; }
.fk { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: 12px; align-items: start; } @media (max-width: 620px) { .fk { grid-template-columns: 1fr; } .fk-grid { max-width: 280px; margin: 0 auto; width: 100%; } } .fk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; } .fk-c { aspect-ratio: 1; display: grid; place-items: center; background: rgba(7,10,28,.8); border: 0; box-shadow: inset 0 0 0 1px var(--steel); cursor: pointer; touch-action: manipulation; padding: 0; min-width: 0; } .fk-c.on { box-shadow: inset 0 0 0 3px var(--yellow); } .fk-h { display: grid; gap: 4px; } .fk-hint { text-align: left; padding: 7px 8px; color: var(--cream); background: rgba(30,38,84,.9); border: 0; font: inherit; font-size: 13px; cursor: pointer; touch-action: manipulation; } .fk-hint small { display: block; color: var(--muted); font-size: 11px; } .fk-hint.on { box-shadow: inset 0 0 0 3px var(--red); } .fk-hint em { float: right; font-style: normal; font-weight: 700; } .fk-hint.vok em { color: var(--green); } .fk-hint.vno em { color: var(--red); }
.ph-center { display: grid; place-items: center; margin: 8px 0; }
.tut { max-width: 640px; margin: 0 auto; } .tut-h { display: flex; gap: 12px; align-items: center; } .tut-h h2 { margin: 0; color: var(--cyan); } .tut-h p { margin: 4px 0 0; } .tut ol { margin: 0; padding-left: 20px; line-height: 1.7; font-size: 15px; }
.ge { text-align: center; max-width: 560px; margin: 0 auto; } .ge h2 { margin: 0; color: var(--cyan); } .ge-win, .ge-lose { font-size: 28px; font-weight: 700; margin: 8px 0; } .ge-win { color: var(--yellow); } .ge-lose { color: var(--muted); } .ge-num b { font-size: 64px; color: var(--cream); } .ge .c-bars { width: 100%; }
.rv { text-align: center; max-width: 620px; margin: 0 auto; } .rv h2 { color: var(--magenta); margin-top: 0; } .rv .c-bars { width: 100%; } .rv-total small { display: block; color: var(--muted); } .rv-total b { font-size: 76px; color: var(--yellow); text-shadow: 0 0 18px rgba(255,211,90,.5); } .rv-type { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; min-height: 80px; } .rv-type b { font-size: 24px; } .rv-type p { margin: 4px 0; max-width: 340px; font-size: 14px; }
.c-titles { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; } .c-titles span { padding: 3px 8px; font-size: 12px; color: var(--ink); background: var(--yellow); }
.mind-cert .mc-type { display: flex; gap: 12px; align-items: center; margin: 10px 0; } .mind-cert .mc-type p { margin: 4px 0 0; font-size: 14px; } .mind-cert .c-title { text-align: left; margin: 0; } @media (max-width: 480px) { .mind-cert .mc-type { flex-direction: column; text-align: center; } .mind-cert .c-title { text-align: center; } }
.rk-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: rgba(7,10,28,.6); margin-bottom: 4px; list-style: none; } .rk-n { width: 30px; text-align: center; color: var(--muted); } .rk-nick { flex: 1; min-width: 0; } .rk-nick a { color: var(--cream); text-decoration: none; font-weight: 700; } .rk-nick small { display: block; color: var(--muted); font-size: 12px; } .rk-v { font-size: 20px; color: var(--yellow); } .rk-row.top1 { box-shadow: inset 0 0 0 2px var(--yellow); } .rk-row.top1 .rk-n { color: var(--yellow); } .rk-row.top2 { box-shadow: inset 0 0 0 2px #c9d6ff; } .rk-row.top3 { box-shadow: inset 0 0 0 2px var(--orange); } .hs-empty { list-style: none; text-align: center; color: var(--muted); padding: 16px; } .rk-list { padding: 0; margin: 10px 0; }
/* 시네마틱 */
.cin { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; cursor: pointer; animation: cinIn .16s steps(3); } .cin.out { opacity: 0; transition: opacity .16s; } @keyframes cinIn { from { opacity: 0; } }
.cin-cv { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; } .cin-txt { position: relative; display: grid; justify-items: center; gap: 6px; margin-top: 16vh; text-align: center; padding: 10px 16px; } .cin-txt b { font-size: clamp(26px, 6vw, 48px); color: #fff; text-shadow: 0 3px 0 #000, 0 0 16px var(--magenta); } .cin-txt small { font-size: clamp(14px, 3vw, 20px); color: var(--cyan); text-shadow: 0 2px 0 #000; } .cin-skip { position: absolute; bottom: calc(14px + var(--safe-b)); left: 0; right: 0; text-align: center; font-size: 12px; color: var(--muted); }
.cin-betray .cin-txt b { color: var(--red); } .cin-win .cin-txt b, .cin-award .cin-txt b { color: var(--yellow); }
body.reduce .mz-c.cand { animation: none; } @media (prefers-reduced-motion: reduce) { .mz-c.cand { animation: none; } .cin { animation: none; } }
/* 대결 대기실·보드 */
.pub-list { list-style: none; padding: 0; margin: 8px 0; } .pub-list li { display: flex; gap: 8px; align-items: center; padding: 6px; background: rgba(7,10,28,.6); margin-bottom: 4px; font-size: 13px; } .pub-list span { flex: 1; }
.mm-board { display: grid; gap: 4px; margin: 6px 12px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); font-size: 12px; } .mm-p { display: flex; gap: 4px; align-items: center; padding: 3px 6px; background: rgba(7,10,28,.7); min-width: 0; } .mm-p b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 400; } .mm-p i { font-style: normal; color: var(--yellow); } .mm-p.done { box-shadow: inset 0 0 0 1px var(--green); } .mm-p.off { opacity: .45; }
.tick-out { padding: 10px; margin: 8px 0; background: rgba(7,10,28,.8); box-shadow: inset 0 0 0 2px var(--magenta); font-size: 14px; } .tick-out ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 4px; } .tick-out li.C { color: var(--green); } .tick-out li.D { color: var(--red); }
.over-card { max-width: 620px; margin: 10px auto; } .podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-items: end; margin: 10px 0; text-align: center; } .pod { padding: 8px 4px; background: rgba(30,38,84,.9); } .pod.r1 { padding-top: 34px; box-shadow: inset 0 3px 0 var(--yellow); } .pod.r2 { padding-top: 18px; box-shadow: inset 0 3px 0 #c9d6ff; } .pod.r3 { box-shadow: inset 0 3px 0 var(--orange); } .pod b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cer-row { display: flex; gap: 8px; align-items: center; padding: 8px; background: rgba(7,10,28,.7); margin-bottom: 4px; animation: scIn .3s; list-style: none; } .cer-row b { flex: 1; } .cer-row em { color: var(--yellow); font-style: normal; font-weight: 700; } .cer-row small { color: var(--muted); }
/* 방송 */
.st-round { padding: 12px; margin: 10px 0; background: rgba(20,26,58,.95); box-shadow: inset 0 0 0 3px var(--red); } .st-round h3 { margin: 0 0 6px; color: var(--cream) !important; font-size: 18px; } .sealed { text-align: center; padding: 10px; font-size: 16px; color: var(--yellow); background: rgba(7,10,28,.8); } .know-card { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; text-align: center; margin: 8px 0; } .know-card > div { padding: 12px; background: rgba(7,10,28,.8); box-shadow: inset 0 0 0 2px var(--cyan2); } .know-card b { display: block; font-size: 44px; color: var(--yellow); }
body.mind-overlay { margin: 0; background: transparent; color: #fff; overflow: hidden; }
.ov { position: fixed; inset: 0; display: grid; grid-template-rows: auto 1fr auto; padding: 2.2vw; gap: 1vw; font-size: 1.5vw; } .ov-top { display: flex; align-items: center; gap: 1vw; padding: 1vw 1.4vw; background: rgba(11,16,38,.9); box-shadow: inset 0 0 0 .2vw var(--magenta); } .ov-top h1 { margin: 0; font-size: 2.2vw; flex: 1; } .ov-stat { text-align: center; padding: 0 1vw; } .ov-stat small { display: block; font-size: 1vw; color: var(--cyan); } .ov-stat b { font-size: 2.6vw; color: var(--yellow); }
.ov-mid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1vw; align-items: end; min-height: 0; } .ov-card { padding: 1vw 1.4vw; background: rgba(11,16,38,.9); box-shadow: inset 0 0 0 .2vw var(--cyan2); } .ov-card h2 { margin: 0 0 .5vw; font-size: 1.9vw; } .ov-bar { display: grid; grid-template-columns: 30% 1fr 8%; gap: .6vw; align-items: center; margin: .3vw 0; font-size: 1.25vw; } .ov-bar i { height: 1.2vw; background: var(--navy3); position: relative; display: block; } .ov-bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--c, var(--cyan)); transition: width .5s steps(6); } .ov-list { list-style: none; margin: 0; padding: 0; font-size: 1.2vw; } .ov-list li { display: flex; justify-content: space-between; padding: .15vw 0; } .ov-qr { position: fixed; right: 2.2vw; bottom: 8vw; width: 11vw; padding: .4vw; background: #fff; } .ov-qr img, .ov-qr canvas, .ov-qr table { width: 100% !important; height: auto !important; display: block; }
/* 종합 능력 프로필 */
.ab-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } .ab-card { padding: 12px; text-align: center; background: rgba(7,10,28,.7); box-shadow: inset 0 0 0 2px var(--steel); } .ab-card h3 { margin: 0; } .ab-card > small { color: var(--muted); } .ab-num b { font-size: 52px; color: var(--yellow); } .ab-num small { color: var(--muted); margin-left: 4px; } .ab-t { font-weight: 700; color: var(--cyan); margin: 6px 0; display: grid; justify-items: center; gap: 6px; }
.lb-p { align-items: center; } .opt-sealed { margin: 6px 0 0; padding-left: 22px; line-height: 1.7; font-size: 15px; } .hero-logo { background: linear-gradient(0deg, rgba(7,10,28,.82), transparent); padding-top: 26px; bottom: 0 !important; padding-bottom: 14px; }
.rk-list li.rk-row { display: flex; grid-template-columns: none; } .rk-list li.hs-empty { display: block; } .rk-nick { word-break: keep-all; overflow-wrap: anywhere; }

/* =========================
   8단계: MIND GAME LAB 아트 디렉션
   색 의미 — 시안 정보·선택 / 보라 심리전·분석 / 골드 승리·특별 / 레드 위험·배신 (항상 글자·아이콘과 함께)
   ========================= */
body.mind { --navy: #0B1020; --ink: #070a18; --navy2: #201638; --navy3: #2a1f4e; --cyan: #45E5E0; --cyan2: #1f9a9a; --violet: #9775FA; --purple: #6a4fd0; --yellow: #F4C76A; --red: #FF6078; --magenta: #ff6fd0; background: #0B1020; }
body.mind main#app { position: relative; }
/* 공통 버튼: 눌림·포커스·비활성 */
body.mind .pbtn:focus-visible, .mc:focus-visible, .holo-opt:focus-visible, .stepper button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.holo-opt { min-height: 56px; position: relative; overflow: hidden; background: linear-gradient(180deg, rgba(69,229,224,.14), rgba(32,22,56,.75)); box-shadow: inset 0 0 0 2px var(--cyan2), inset 0 -4px 0 rgba(0,0,0,.35); transition: transform .08s, filter .12s, box-shadow .12s; }
.holo-opt::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); pointer-events: none; }
.holo-opt:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--cyan), 0 0 14px rgba(69,229,224,.35), inset 0 -4px 0 rgba(0,0,0,.35); }
.holo-opt:active:not(:disabled) { transform: translateY(2px); box-shadow: inset 0 0 0 2px var(--cyan), inset 0 -1px 0 rgba(0,0,0,.35); }
.holo-opt.picked, .picked { opacity: 1 !important; box-shadow: inset 0 0 0 3px var(--yellow), 0 0 18px rgba(244,199,106,.45) !important; }
.holo-opt:disabled:not(.picked) { opacity: .42; }
.holo-opt.tall { min-height: 104px; font-size: 16px; }
html[data-device="mobile"] .opt-row3 .holo-opt.tall { min-height: 92px; }
.stepper button { min-width: 48px; height: 48px; box-shadow: inset 0 -4px 0 rgba(0,0,0,.35); } .stepper button:active { transform: translateY(2px); box-shadow: none; }
/* ---------- 타이틀 ---------- */
.tt { position: relative; margin: -16px calc(50% - 50vw) 0; width: 100vw; min-height: calc(100vh - 52px); overflow: hidden; background: #0B1020; }
.tt-cv { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.tt::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11,16,32,.72), transparent 38%, transparent 55%, rgba(11,16,32,.8)), linear-gradient(0deg, #0B1020, transparent 26%); }
.tt-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px); gap: 24px; max-width: 1240px; min-height: calc(100vh - 52px); margin: 0 auto; padding: clamp(16px, 4vh, 44px) clamp(14px, 3vw, 36px); align-items: center; }
.tt-left { display: grid; gap: 14px; align-content: center; min-width: 0; }
.tt-logo small { letter-spacing: 3px; color: var(--cyan); font-size: 13px; text-shadow: 0 2px 0 #000; }
.tt-logo h1 { margin: 6px 0; font-size: clamp(44px, 7vw, 92px); line-height: 1; color: #fff; text-shadow: 0 5px 0 #201638, 0 0 26px rgba(151,117,250,.75), 4px 0 0 rgba(255,96,120,.35), -4px 0 0 rgba(69,229,224,.35); }
.tt-logo h1 span { display: block; font-size: .56em; margin-top: 8px; color: var(--yellow); text-shadow: 0 4px 0 #201638, 0 0 18px rgba(244,199,106,.55); }
.tt-logo p { margin: 8px 0 0; color: var(--cream); font-size: clamp(14px, 1.5vw, 17px); text-shadow: 0 2px 0 #000; }
.mascot { display: flex; align-items: center; gap: 10px; cursor: pointer; max-width: 460px; } .mascot canvas { flex: none; width: 90px; height: 108px; image-rendering: pixelated; }
.bubble-t { position: relative; margin: 0; padding: 10px 14px; background: rgba(11,16,32,.92); box-shadow: inset 0 0 0 2px var(--cyan); font-size: 15px; line-height: 1.45; min-height: 44px; } .bubble-t::before { content: ""; position: absolute; left: -8px; top: 16px; border: 4px solid transparent; border-right: 8px solid var(--cyan); margin-left: -4px; }
.tt-rec { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 460px; } .tt-rec > div { padding: 8px 10px; background: rgba(32,22,56,.86); box-shadow: inset 0 0 0 1px var(--violet); min-width: 0; } .tt-rec .wide { grid-column: 1 / -1; } .tt-rec small { display: block; color: var(--muted); font-size: 11px; } .tt-rec b { display: block; font-size: 14px; color: var(--yellow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-right { display: grid; gap: 8px; align-content: center; min-width: 0; }
.mc { --c: var(--cyan); position: relative; display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; min-height: 64px; text-align: left; color: var(--cream); font: inherit; border: 0; cursor: pointer; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 30%, #0B1020), rgba(11,16,32,.92)); box-shadow: inset 0 0 0 3px var(--c), inset 0 -5px 0 rgba(0,0,0,.4), 0 4px 0 #000; transition: transform .08s, filter .12s; touch-action: manipulation; }
.mc:hover { filter: brightness(1.18); transform: translateX(-3px); } .mc:active { transform: translateY(3px); box-shadow: inset 0 0 0 3px var(--c), 0 1px 0 #000; }
.mc i { flex: none; color: var(--c); line-height: 0; } .mc span { flex: 1; min-width: 0; } .mc b { display: block; font-size: 18px; } .mc small { display: block; color: #c9d6ff; font-size: 12px; } .mc em { font-style: normal; color: var(--c); }
.mc.big { min-height: 82px; } .mc.big b { font-size: 24px; } .mc-cyan { --c: var(--cyan); } .mc-violet { --c: var(--violet); } .mc-gold { --c: var(--yellow); } .mc-red { --c: var(--red); }
.mc-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .mc.sm { --c: #6d78b8; flex-direction: column; gap: 3px; min-height: 66px; padding: 6px 4px; text-align: center; justify-content: center; } .mc.sm b { font-size: 12px; } .mc.sm.wide { flex-direction: row; min-height: 50px; } .mc.sm.wide b { font-size: 14px; }
.tt-foot { padding-top: 14px; } .tt-foot > button { display: block; margin: 0 auto; }
@media (max-width: 820px) { .tt { min-height: auto; } .tt::after { background: linear-gradient(0deg, #0B1020 12%, rgba(11,16,32,.55) 60%, rgba(11,16,32,.25)); } .tt-grid { grid-template-columns: 1fr; min-height: auto; padding: 14px 14px 10px; gap: 10px; } .tt-logo h1 { font-size: 46px; } .tt-logo { text-align: center; padding-top: 46px; } .tt-left { gap: 8px; } .mascot canvas { width: 60px; height: 72px; } .bubble-t { font-size: 13px; } .tt-rec { max-width: none; } .mascot { max-width: none; } }
/* ---------- 게임 HUD ---------- */
.gm-hud { align-items: flex-start; } .gm-t { flex: 1; min-width: 0; display: grid; } .gm-t b { font-size: clamp(15px, 2.4vw, 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .gm-t small { font-size: 11px; color: var(--cyan); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .hud-chip.alt { --ac: var(--yellow); background: var(--yellow); } .hud-b { pointer-events: auto; width: 40px; height: 40px; padding: 0; background: rgba(11,16,32,.82); box-shadow: inset 0 0 0 2px var(--steel); font-size: 16px; color: var(--cream); }
.gm-say { position: absolute; left: 50%; bottom: 8px; max-width: 72%; margin: 0; padding: 5px 10px; transform: translateX(-50%); background: rgba(11,16,32,.94); box-shadow: inset 0 0 0 2px var(--violet); font-size: 13px; text-align: center; z-index: 3; } .gm-say.in { animation: sayIn .22s steps(3); } @keyframes sayIn { from { opacity: 0; transform: translate(-50%, 6px); } }
.gm .timer { height: 20px; } .gm .timer b { font-size: 15px; top: 1px; right: 8px; } .gm .timer.warn { box-shadow: inset 0 0 0 2px var(--red), 0 0 12px rgba(255,96,120,.5); }
.gm-help { padding: 10px 14px; background: rgba(32,22,56,.96); box-shadow: inset 0 0 0 2px var(--violet); font-size: 13px; line-height: 1.5; } .gm-help ol { margin: 4px 0; padding-left: 18px; } .gm-help small { color: var(--muted); }
.gm-pause { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(7,10,24,.92); } .gm-pause .panel { text-align: center; width: min(92vw, 380px); }
.gm-stage.rd-in > * { animation: rdIn .2s steps(3); } @keyframes rdIn { from { opacity: 0; transform: translateY(6px); } }
.seal-fx { position: fixed; left: 50%; top: 46%; z-index: 45; display: grid; justify-items: center; gap: 4px; padding: 12px 20px; transform: translate(-50%, -50%) rotate(-5deg); background: rgba(11,16,32,.94); pointer-events: none; animation: sealIn .65s steps(6) forwards; box-shadow: 0 0 0 3px var(--cyan); } .seal-fx b { font-size: 20px; color: var(--cyan); } .seal-sign, .seal-stamp, .seal-flip { box-shadow: 0 0 0 3px var(--yellow); } .seal-sign b, .seal-stamp b, .seal-flip b { color: var(--yellow); } .seal-clash { box-shadow: 0 0 0 3px var(--red); } .seal-clash b { color: var(--red); }
@keyframes sealIn { 0% { opacity: 0; transform: translate(-50%, -50%) scale(1.7) rotate(-14deg); } 30% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-5deg); } 80% { opacity: 1; } 100% { opacity: 0; } }
.pxcard.flip { animation: cardFlip .45s steps(6); } @keyframes cardFlip { 0% { transform: rotateY(0); } 50% { transform: rotateY(90deg); } 100% { transform: rotateY(0); } }
/* ---------- 게임별 고유 화면 ---------- */
.gm-stage[data-g] { position: relative; }
.gm-stage[data-g="liar"] .board { background: repeating-linear-gradient(135deg, #2a2030 0 8px, #241b2a 8px 16px); box-shadow: inset 0 0 0 3px #6a4a22; } .gm-stage[data-g="liar"] .board li { background: #eadfbe; color: #231a2b; margin: 4px 0; padding: 5px 8px; border: 0; box-shadow: 2px 2px 0 #000; } .gm-stage[data-g="liar"] .board li:nth-child(odd) { transform: rotate(-.6deg); } .gm-stage[data-g="liar"] .board li:nth-child(even) { transform: rotate(.5deg); } .gm-stage[data-g="liar"] .tv { background: rgba(0,0,0,.5); padding: 4px 6px; } .gm-stage[data-g="liar"] .holo-opt { background: #1b2340; box-shadow: inset 4px 0 0 var(--cyan), inset 0 0 0 1px var(--steel); }
.gm-stage[data-g="bluff"] .mg-table, .gm-stage[data-g="mduel"] .ph-center { background: radial-gradient(ellipse at center, #1e5a54, #123a38 62%, #0b1020); box-shadow: inset 0 0 0 5px #6a4a22, inset 0 0 0 7px #f4c76a; border-radius: 42px; padding: 18px; } .gm-stage[data-g="bluff"] .pot b { font-size: 34px; } .gm-stage[data-g="bluff"] .holo-opt { background: linear-gradient(180deg, #3a2a14, #1b1208); box-shadow: inset 0 0 0 2px var(--yellow), inset 0 -4px 0 #000; }
.gm-stage[data-g="predict"] { background: linear-gradient(rgba(69,229,224,.05) 1px, transparent 1px) 0 0 / 100% 16px, linear-gradient(90deg, rgba(151,117,250,.07) 1px, transparent 1px) 0 0 / 16px 100%; } .gm-stage[data-g="predict"] .hist-strip { min-height: 44px; background: rgba(7,10,24,.85); box-shadow: inset 0 0 0 1px var(--cyan); } .gm-stage[data-g="predict"] .holo-opt { background: rgba(69,229,224,.08); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.gm-stage[data-g="rps"] .opt-row3 { gap: 10px; } .gm-stage[data-g="rps"] .holo-opt { min-height: 124px; background: linear-gradient(180deg, #123a52, #0b1020); box-shadow: inset 0 0 0 3px var(--cyan), inset 0 -6px 0 #000; } .gm-stage[data-g="rps"] .holo-opt:hover:not(:disabled) { transform: translateY(-4px); } .fb-hands { animation: clash .5s steps(6); } .fb-hands b { font-size: 34px; color: var(--yellow); } @keyframes clash { 0% { gap: 120px; opacity: .3; } 60% { gap: 2px; } 100% { gap: 18px; } }
.gm-stage[data-g="auction"] .lot, .gm-stage[data-g="mauction"] .lot { background: #0a1a12; box-shadow: inset 0 0 0 3px var(--yellow), inset 0 0 18px rgba(70,224,138,.2); } .gm-stage[data-g="auction"] .lot b, .gm-stage[data-g="mauction"] .lot b { color: #7ef0a8; } .gm-stage[data-g="auction"] .sl, .gm-stage[data-g="mauction"] .sl { padding: 10px; background: #071109; box-shadow: inset 0 0 0 2px #1f5a38; } .gm-stage[data-g="auction"] .sl b, .gm-stage[data-g="mauction"] .sl b { color: #7ef0a8; font-size: 28px; }
.gm-stage[data-g="contract"], .gm-stage[data-g="mcontract"] { margin: 8px; padding: 14px; background: #eadfbe; color: #231a2b; box-shadow: inset 0 0 0 3px #6a4a22, 0 0 0 3px #000; } .gm-stage[data-g="contract"] .note, .gm-stage[data-g="mcontract"] .note, .gm-stage[data-g="contract"] .mg-score, .gm-stage[data-g="mcontract"] .mg-score { color: #3b2a1a; } .gm-stage[data-g="contract"] .mg-score b, .gm-stage[data-g="mcontract"] .mg-score b { color: #8a2a3a; } .gm-stage[data-g="contract"] .declare, .gm-stage[data-g="contract"] .hist-strip, .gm-stage[data-g="mcontract"] .rule { background: rgba(60,40,20,.14); box-shadow: inset 0 0 0 1px #6a4a22; color: #231a2b; } .gm-stage[data-g="contract"] .declare.dim { color: #5b4a30; } .gm-stage[data-g="contract"] .chk { color: #231a2b; } .gm-stage[data-g="contract"] .holo-opt, .gm-stage[data-g="mcontract"] .holo-opt { color: #fff; background: #2a1f30; } .gm-stage[data-g="contract"] .opt-list .holo-opt small { color: #c9d6ff; }
.gm-stage[data-g="suspect"] .sus { background: linear-gradient(0deg, #1a2140, #0f1428); box-shadow: inset 0 3px 0 var(--violet); } .gm-stage[data-g="suspect"] .sus-who { background: repeating-linear-gradient(0deg, rgba(234,246,255,.05) 0 1px, transparent 1px 10px), #141a33; } .gm-stage[data-g="suspect"] .sus-say { background: #eadfbe; color: #231a2b; box-shadow: 2px 2px 0 #000; } .gm-stage[data-g="suspect"] .sus-say small { color: #6b5a3a; }
.gm-stage[data-g="nego"] .ng-it { background: linear-gradient(180deg, #3a2a18, #20150a); box-shadow: inset 0 0 0 2px var(--yellow); } .gm-stage[data-g="nego"] .offer { background: #eadfbe; color: #231a2b; box-shadow: inset 0 0 0 2px #6a4a22, 3px 3px 0 #000; }
.gm-stage[data-g="trap"] .rule, .gm-stage[data-g="mtrap"] .rule { background: rgba(69,229,224,.14); box-shadow: inset 0 0 0 2px var(--cyan); font-size: 15px; } .gm-stage[data-g="trap"] .holo-opt, .gm-stage[data-g="mtrap"] .holo-opt { background: linear-gradient(0deg, rgba(151,117,250,.38), rgba(11,16,32,.6)); } .bars3 i::after { animation: barIn .55s steps(8); transform-origin: left; } @keyframes barIn { from { transform: scaleX(0); } }
.gm-stage[data-g="fake"] .fk-hint { font-family: inherit; background: #0f2a2a; color: #7ef0a8; box-shadow: inset 0 0 0 1px #1f5a58; } .gm-stage[data-g="fake"] .fk-hint small { color: #4fb0a0; } .gm-stage[data-g="fake"] .fk-grid { padding: 6px; background: #0a0e1e; box-shadow: inset 0 0 0 2px var(--cyan2); }
.gm-stage[data-g="final"] { box-shadow: inset 0 0 0 3px var(--yellow); margin: 6px; } .gm-stage[data-g="final"] .rule { background: rgba(244,199,106,.12); box-shadow: inset 0 0 0 2px var(--yellow); } .gm-stage[data-g="final"] .mg-score b { font-size: 30px; }
/* ---------- 결과 공개 ---------- */
.rv-cv { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; image-rendering: pixelated; } #scReveal .rv { position: relative; z-index: 1; background: none; } body[data-screen="scReveal"] .topbar { display: none; }
.rv-step { min-height: 26px; margin: 8px 0 12px; font-size: 18px; color: var(--cyan); text-shadow: 0 2px 0 #000; } .rv-sw { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 8px 0; } .rv-sw span { padding: 5px 10px; font-size: 14px; background: rgba(11,16,32,.9); } .rv-sw .st { box-shadow: inset 0 0 0 2px var(--yellow); } .rv-sw .wk { box-shadow: inset 0 0 0 2px var(--red); } .c-bar.in { animation: rdIn .22s steps(3); } .c-titles .in { animation: sealIn2 .4s steps(4); } @keyframes sealIn2 { from { transform: scale(1.6); opacity: 0; } }
/* ---------- 진단서 ---------- */
.cert-item { display: grid; gap: 12px; justify-items: center; width: 100%; } .cert-pic { width: min(100%, 560px); line-height: 0; box-shadow: 0 10px 40px rgba(0,0,0,.6); } .cert-pic[data-fmt="wide"] { width: min(100%, 920px); } .cert-pic[data-fmt="story"] { width: min(100%, 430px); } .cert-pic canvas { width: 100%; height: auto; display: block; } .cert-pic.in { animation: certIn .5s steps(8); } @keyframes certIn { from { transform: translateY(26px) scale(.94) rotate(-1.5deg); opacity: 0; } }
.cert-more { width: min(100%, 640px); } .cert-more .c-op { margin: 10px 0; padding-left: 18px; line-height: 1.6; font-size: 14px; } .ge-rows { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; } .ge-rows span { padding: 3px 7px; font-size: 12px; background: rgba(7,10,24,.7); color: var(--muted); } .ge-rows .w { color: var(--yellow); box-shadow: inset 0 0 0 1px var(--yellow); }
/* ---------- 멀티 로비 ---------- */
.slots { list-style: none; margin: 8px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.slot { position: relative; display: grid; justify-items: center; align-content: start; gap: 2px; min-width: 0; min-height: 138px; padding: 8px 4px; text-align: center; background: linear-gradient(0deg, #2a1f4e, #111733); box-shadow: inset 0 0 0 2px var(--steel); } .slot b { font-size: 12px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .slot small { font-size: 11px; color: var(--muted); } .slot.rdy { box-shadow: inset 0 0 0 2px var(--green); } .slot.rdy small { color: var(--green); } .slot.me { background: linear-gradient(0deg, #1a4a55, #111733); } .slot.off { opacity: .5; } .slot.empty { opacity: .55; background: repeating-linear-gradient(45deg, #10152c 0 6px, #0d1124 6px 12px); } .slot.closed { opacity: .25; }
.sl-av { height: 76px; display: grid; place-items: end center; } .sl-av canvas { image-rendering: pixelated; animation: slBob 1.6s steps(2) infinite; } @keyframes slBob { 50% { transform: translateY(-3px); } } body.reduce .sl-av canvas { animation: none; } @media (prefers-reduced-motion: reduce) { .sl-av canvas { animation: none; } } .sl-btn { display: flex; gap: 4px; margin-top: 2px; } .sl-btn button { min-width: 40px; min-height: 32px; background: #1a2140; color: var(--cream); border: 0; box-shadow: inset 0 0 0 1px var(--steel); cursor: pointer; }
@media (max-width: 420px) { .slot { min-height: 124px; } .sl-av { height: 66px; } .sl-av canvas { width: 54px; height: 54px; } }
.mm-board { grid-template-columns: repeat(auto-fit, minmax(98px, 1fr)); } .mm-p span { color: var(--muted); } .mm-p.me { box-shadow: inset 0 0 0 1px var(--cyan); } .mm-p.done { box-shadow: inset 0 0 0 1px var(--green); }
.cer-row { padding: 10px; } .cer-row:first-child { box-shadow: inset 0 0 0 2px var(--yellow); animation: certIn .5s steps(8); }
/* ---------- OBS ---------- */
.ov-top { background: rgba(11,16,32,.92); box-shadow: inset 0 0 0 .2vw var(--violet); } .ov-card { background: rgba(11,16,32,.92); box-shadow: inset 0 0 0 .2vw var(--cyan); } .ov-qr { box-shadow: 0 0 0 .3vw var(--violet); bottom: 34vw; } .ov-list { font-size: 1.1vw; } .ov-mid { grid-template-columns: 1.7fr 1fr; }

/* 9단계: 제출 상태·이모트·소리 패널·방송 강조 */
.gm-stage.is-pending::after { content: "제출 중…"; position: fixed; right: 12px; bottom: calc(12px + var(--ad-bottom, 0px)); z-index: 41; padding: 5px 10px; font-size: 12px; color: var(--ink); background: var(--cyan); }
.gm-say { cursor: pointer; } .emo-bar { position: fixed; left: 50%; bottom: calc(6px + var(--ad-bottom, 0px) + var(--safe-b)); z-index: 42; display: flex; gap: 2px; transform: translateX(-50%); padding: 3px; background: rgba(11,16,32,.92); box-shadow: inset 0 0 0 2px var(--violet); } .emo-bar button { width: 40px; height: 40px; font-size: 19px; background: none; border: 0; cursor: pointer; touch-action: manipulation; } .emo-bar button:disabled { opacity: .3; cursor: not-allowed; } .emo-float { position: fixed; left: 8px; bottom: 70px; z-index: 42; display: grid; gap: 3px; pointer-events: none; } .emo { padding: 4px 8px; font-size: 13px; background: rgba(32,22,56,.94); box-shadow: inset 0 0 0 1px var(--violet); animation: rdIn .2s steps(3); }
body:has(#emoBar:not([hidden])) main#app { padding-bottom: 66px; }
.snd-panel { position: fixed; z-index: 95; display: grid; gap: 6px; width: 220px; padding: 10px; font-size: 13px; background: rgba(11,16,32,.98); box-shadow: inset 0 0 0 2px var(--cyan); } .snd-panel label { display: grid; grid-template-columns: 56px 1fr; gap: 6px; align-items: center; } .snd-panel input[type=range] { width: 100%; accent-color: var(--cyan); } .snd-panel .chk { display: flex; margin: 0; justify-content: flex-start; }
.rd-count { text-align: center; font-size: 26px; font-weight: 700; color: var(--red); margin: 4px 0; min-height: 0; } .rd-count:empty { display: none; } .rd-major { text-align: center; font-size: 18px; font-weight: 700; color: var(--red); margin: 6px 0; } .rd-major.win { color: var(--yellow); font-size: 24px; }

@media (max-width: 820px) { .tt-cv { height: 300px; } .tt::after { background: linear-gradient(0deg, #0B1020 calc(100% - 300px), rgba(11,16,32,.45) calc(100% - 120px), rgba(11,16,32,.2)); } .tt { background: #0B1020; } }

/* 사이드 광고: 화면 양쪽 끝에 붙이고, 내용은 광고 자리(양쪽 176px)를 침범하지 않음 */
body.mind .side-ad.l { left: 4px; right: auto; } body.mind .side-ad.r { right: 4px; left: auto; }
@media (min-width: 1340px) and (min-height: 700px) { .tt-grid { max-width: min(1240px, calc(100vw - 352px)); } }
body[data-screen="scReveal"] .side-ad, body[data-screen="scIntro"] .side-ad { display: none !important; }   /* 게임·설명 화면은 본문(960px) 바깥 양쪽 끝이라 그대로 보임 (1340px 이상에서만) */

/* 스트리머 현황판 겹침 수정: QR과 링크를 따로 줄로, 이해도 제목 줄바꿈 */
body.mind .bc-join { display: grid; grid-template-columns: auto; justify-items: center; gap: 10px; margin: 8px 0; }
body.mind .bc-qr { position: static; width: 168px; height: 168px; padding: 8px; background: #fff; line-height: 0; } body.mind .bc-qr img { width: 100%; height: 100%; image-rendering: pixelated; }
body.mind .bc-links { display: grid; gap: 4px; } body.mind .bc-links label { font-size: 13px; color: var(--muted); margin-top: 4px; }
body.mind .know-card small { display: block; font-size: 13px; word-break: keep-all; line-height: 1.35; }
@media (max-width: 480px) { body.mind .know-card small { font-size: 12px; } body.mind .know-card b { font-size: 36px; } }
