/* DUO 증강 원카드 (2026-11-17) — oc-* */
:root { --oc-bg: #120f1d; --oc-panel: #1d1830; --oc-line: #342b52; --oc-text: #f3eefc; --oc-muted: #a99fc4; --oc-gold: #ffd36a; --oc-red: #ff5b5b; --oc-felt1: #1f7a4c; --oc-felt2: #0f4a2c; --oc-rim: #5a3418; }
body.oc-body { background: radial-gradient(ellipse at top, #241d3a, var(--oc-bg) 60%) fixed; color: var(--oc-text); font-family: "Gowun Dodum", "Jua", system-ui, sans-serif; min-height: 100vh; }
body[data-felt="navy"] { --oc-felt1: #24407a; --oc-felt2: #111f45; --oc-rim: #2a2f4a; }
body[data-felt="wine"] { --oc-felt1: #7a2440; --oc-felt2: #3f0f22; --oc-rim: #3a1a12; }
body[data-felt="wood"] { --oc-felt1: #9a6a3a; --oc-felt2: #5a3a1c; --oc-rim: #2e1c0e; }
#ocApp { max-width: 1380px; margin: 0 auto; padding: 0 12px 24px; box-sizing: border-box; }
.oc-scr { display: none; } .oc-scr.active { display: block; }
.oc-muted { color: var(--oc-muted); font-size: .92em; }
.oc-err { color: #ff8a8a; min-height: 1.2em; text-align: center; font-weight: 700; }
.oc-solo-opts .px-seg { flex-wrap: wrap; }
[hidden] { display: none !important; }

/* 버튼 */
.oc-btn { appearance: none; border: 0; border-radius: 12px; padding: 10px 16px; font: inherit; font-weight: 900; color: #fff; background: linear-gradient(#3a3160, #2a2348); box-shadow: inset 0 0 0 1.5px #4d4278, 0 3px 0 #120e22; cursor: pointer; transition: transform .1s, filter .1s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.oc-btn:hover:not(:disabled) { filter: brightness(1.15); transform: translateY(-1px); }
.oc-btn:active:not(:disabled) { transform: translateY(2px); box-shadow: inset 0 0 0 1.5px #4d4278, 0 1px 0 #120e22; }
.oc-btn:disabled { opacity: .45; cursor: default; }
.oc-btn.sm { padding: 6px 11px; font-size: 13px; border-radius: 10px; }
.oc-btn.lg { padding: 13px 26px; font-size: 17px; }
.oc-btn.gold { background: linear-gradient(#ffd36a, #e0a020); color: #2b1a00; box-shadow: inset 0 0 0 1.5px #fff2c0, 0 3px 0 #7a5200; }
.oc-btn.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px #4d4278; }
.oc-btn.danger { background: linear-gradient(#ff6a5a, #c2271c); box-shadow: inset 0 0 0 1.5px #ffb3a8, 0 3px 0 #5a0c06; }
.oc-btn.pulse { animation: ocPulse 1.2s ease-in-out infinite; }
@keyframes ocPulse { 50% { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px #fff, 0 0 18px rgba(255, 211, 106, .6), 0 3px 0 #120e22; } }
.oc-icon { width: 38px; height: 38px; border-radius: 11px; border: 0; background: #2a2348; color: #fff; font-size: 18px; cursor: pointer; box-shadow: inset 0 0 0 1.5px #4d4278; }
.oc-icon:hover { filter: brightness(1.2); }

/* 대기실 */
.oc-lobby { padding: 18px 0; }
.oc-lobby-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.oc-lobby-head h2 { margin: 0; font-family: "Black Han Sans", sans-serif; font-size: 28px; }
.oc-code-card { display: flex; align-items: center; gap: 10px; background: var(--oc-panel); padding: 10px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--oc-line); flex-wrap: wrap; }
.oc-code-label { font-size: 12px; color: var(--oc-muted); font-weight: 800; }
.oc-code { font: 900 24px/1 "Black Han Sans", monospace; letter-spacing: 4px; color: var(--oc-gold); background: transparent; border: 0; cursor: pointer; min-width: 120px; }
.oc-code-btns { display: flex; gap: 6px; }
.oc-lobby-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; }
.oc-panel { background: var(--oc-panel); border-radius: 16px; padding: 14px 16px; box-shadow: inset 0 0 0 1.5px var(--oc-line); }
.oc-panel h3 { margin: 0 0 10px; font-size: 16px; display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.oc-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.oc-mode { text-align: left; border: 0; border-radius: 12px; padding: 10px 12px; background: #262040; color: #fff; font: inherit; cursor: pointer; box-shadow: inset 0 0 0 1.5px #3c3263; display: flex; flex-direction: column; gap: 3px; }
.oc-mode b { font-size: 15px; } .oc-mode span { font-size: 12px; color: var(--oc-muted); }
.oc-mode.on { box-shadow: inset 0 0 0 2.5px var(--oc-gold), 0 0 16px rgba(255, 211, 106, .25); background: #2f2650; }
.oc-mode:disabled { cursor: default; }
.oc-opt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14px; }
.oc-opt select, .oc-bdiff { background: #262040; color: #fff; border: 1px solid #4d4278; border-radius: 8px; padding: 5px 8px; font: inherit; }
.oc-rules-h { margin: 12px 0 4px; font-size: 14px; color: var(--oc-gold); }
.oc-check { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; padding: 5px 0; line-height: 1.4; cursor: pointer; }
.oc-check input { margin-top: 2px; accent-color: #ffd36a; width: 16px; height: 16px; flex: none; }
.oc-roster { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.oc-roster li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: #241e3c; }
.oc-roster li.empty { opacity: .45; } .oc-roster li.dc { opacity: .6; }
.oc-roster .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; }
.oc-roster .nm small { font-size: 11px; color: var(--oc-muted); } .oc-roster .nm em { color: var(--oc-gold); font-style: normal; font-size: 12px; }
.oc-crown { font-size: 12px; color: var(--oc-gold); font-weight: 900; }
.oc-kick { border: 0; background: #3a2140; color: #ff9a9a; border-radius: 8px; width: 28px; height: 28px; cursor: pointer; }
.oc-bot-row { display: flex; gap: 8px; margin-top: 10px; }
.oc-spect { font-size: 13px; color: var(--oc-muted); margin-top: 10px; }
.oc-rule-box { margin-top: 12px; font-size: 13px; background: #191429; border-radius: 12px; padding: 10px 12px; }
.oc-rule-box ul { margin: 6px 0 0; padding-left: 18px; line-height: 1.55; color: #d8d0ec; }
.oc-lobby-actions { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.oc-av { border-radius: 50%; border: 2px solid; object-fit: cover; flex: none; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; }
.oc-av.txt { border: 2px solid rgba(255, 255, 255, .7); color: #fff; font-weight: 900; }
.oc-av.empty { width: 34px; height: 34px; border: 2px dashed #5a4f80; }

/* 게임 */
.oc-game { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }
.oc-hud { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.oc-hud-l { display: flex; gap: 6px; flex-wrap: wrap; }
.oc-hud-r { display: flex; gap: 6px; justify-content: flex-end; align-items: center; }
.oc-chip { font-size: 12.5px; font-weight: 900; padding: 5px 10px; border-radius: 99px; background: #2a2348; box-shadow: inset 0 0 0 1.5px #4d4278; }
.oc-spect-chip { background: #3a2a10; box-shadow: inset 0 0 0 1.5px #8a6a20; color: var(--oc-gold); }
.oc-turnbox { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: #241e3c; box-shadow: inset 0 0 0 1.5px var(--oc-line); min-width: 170px; }
.oc-turnbox b { display: block; font-size: 14px; } .oc-turnbox small { font-size: 11px; color: var(--oc-muted); }
.oc-turnbox.mine { box-shadow: inset 0 0 0 2px var(--oc-gold), 0 0 18px rgba(255, 211, 106, .35); }
.oc-timer { position: relative; width: 40px; height: 40px; }
.oc-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.oc-timer .bg { fill: none; stroke: #2a2348; stroke-width: 4; } .oc-timer .fg { fill: none; stroke: var(--oc-gold); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset .2s linear; }
.oc-timer span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 14px; }
.oc-timer.urgent .fg { stroke: var(--oc-red); } .oc-timer.urgent span { color: var(--oc-red); animation: ocBlink .5s steps(2) infinite; }
@keyframes ocBlink { 50% { opacity: .4; } }
.oc-main { display: grid; grid-template-columns: 1fr 280px; gap: 10px; align-items: start; }

/* 테이블 */
.oc-table { position: relative; height: clamp(340px, calc(100vh - 400px), 560px); border-radius: 26px; --cc: #888; }
.oc-felt { position: absolute; inset: 0; border-radius: 50% / 46%; background: radial-gradient(ellipse at 50% 42%, var(--oc-felt1), var(--oc-felt2) 75%); box-shadow: 0 0 0 12px var(--oc-rim), 0 0 0 14px #120a04, inset 0 0 70px rgba(0, 0, 0, .55), 0 22px 50px rgba(0, 0, 0, .55); }
.oc-felt::after { content: ""; position: absolute; inset: 18% 22%; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .08); }
.oc-felt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--cc) 30%, transparent), transparent 42%); transition: background .4s; }
.oc-table.shake { animation: ocShake .35s; } .oc-table.shake-big { animation: ocShakeBig .55s; }
@keyframes ocShake { 25% { transform: translate(-5px, 2px); } 50% { transform: translate(5px, -2px); } 75% { transform: translate(-3px, 1px); } }
@keyframes ocShakeBig { 15% { transform: translate(-10px, 4px) rotate(-.6deg); } 35% { transform: translate(9px, -4px) rotate(.6deg); } 55% { transform: translate(-7px, 3px); } 75% { transform: translate(5px, -2px); } }
.oc-center { position: absolute; left: 50%; top: 48%; transform: translate(-50%, -50%); width: 300px; height: 210px; display: flex; align-items: center; justify-content: center; gap: 26px; }
.oc-dir { position: absolute; inset: -18px -10px; color: rgba(255, 255, 255, .22); pointer-events: none; animation: ocSpin 14s linear infinite; }
.oc-dir svg { width: 100%; height: 100%; }
.oc-dir.ccw { animation-direction: reverse; transform: scaleX(-1); }
.oc-dir.spin { color: rgba(255, 211, 106, .7); }
@keyframes ocSpin { to { rotate: 360deg; } }
.oc-deck { position: relative; width: 84px; height: 126px; border: 0; padding: 0; background: none; cursor: default; }
.oc-deck-stack { position: absolute; inset: 0; border-radius: 10px; background: linear-gradient(135deg, #2a2f6e, #120f33); box-shadow: 2px 2px 0 #fbf6ec, 4px 4px 0 #0d0a20, 6px 6px 0 #fbf6ec, 8px 8px 0 #0d0a20, 0 10px 18px rgba(0, 0, 0, .5); }
.oc-deck-stack::after { content: "DUO"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 900 18px "Black Han Sans", sans-serif; color: var(--oc-gold); letter-spacing: 1px; background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .05) 0 6px, transparent 6px 12px); border-radius: 10px; border: 2px solid #fbf6ec; }
.oc-deck b { position: absolute; bottom: -24px; left: 0; right: 0; text-align: center; font-size: 12px; color: #e6e0f5; }
.oc-deck.can { cursor: pointer; } .oc-deck.can .oc-deck-stack { box-shadow: 2px 2px 0 #fbf6ec, 4px 4px 0 #0d0a20, 6px 6px 0 #fbf6ec, 8px 8px 0 #0d0a20, 0 0 22px rgba(255, 211, 106, .7); }
.oc-deck.can:hover .oc-deck-stack { transform: translateY(-3px); }
.oc-pile { position: relative; width: 96px; height: 144px; }
.oc-card { width: var(--cw, 92px); aspect-ratio: 2 / 3; border-radius: 10px; display: block; position: relative; }
.oc-card .oc-svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .45)); }
.oc-card.pile { position: absolute; inset: 0; width: 96px; transform: rotate(var(--r)) translate(var(--o), var(--o)); }
.oc-card.pile.top { animation: ocLand .45s .25s both; }
@keyframes ocLand { from { opacity: 0; transform: rotate(var(--r)) scale(1.25); } }
.oc-card.xs { width: 40px; }
.oc-curcolor { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 900; padding: 3px 12px 3px 6px; border-radius: 99px; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 2px var(--cc); white-space: nowrap; }
.oc-pending { position: absolute; right: -54px; top: 4px; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle, #ff7a5a, #b0180c); box-shadow: 0 0 0 3px #fff3, 0 0 26px rgba(255, 70, 40, .8); display: flex; flex-direction: column; align-items: center; justify-content: center; animation: ocThrob 1s ease-in-out infinite; z-index: 3; }
.oc-pending b { font: 900 26px/1 "Black Han Sans", sans-serif; } .oc-pending span { font-size: 9.5px; font-weight: 900; }
.oc-pending.big { width: 88px; height: 88px; right: -62px; }
@keyframes ocThrob { 50% { transform: scale(1.08); } }
.oc-prophecy { position: absolute; right: 18%; bottom: 12%; display: flex; gap: 4px; align-items: center; background: rgba(40, 20, 70, .75); padding: 5px 8px; border-radius: 10px; box-shadow: inset 0 0 0 1.5px #a66bff; font-size: 11px; font-weight: 900; }

/* 자리 */
.oc-seats { position: absolute; inset: 0; pointer-events: none; }
.oc-seat { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 2px; pointer-events: auto; padding: 6px 8px; border-radius: 14px; background: rgba(18, 14, 30, .78); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .1); min-width: 84px; max-width: 120px; transition: box-shadow .2s, transform .2s; z-index: 2; }
.oc-seat.cur { box-shadow: inset 0 0 0 2px var(--pc), 0 0 24px color-mix(in srgb, var(--pc) 60%, transparent); transform: translate(-50%, -50%) scale(1.07); z-index: 4; }
.oc-seat.me { background: rgba(40, 30, 10, .82); }
.oc-seat.out { opacity: .5; filter: grayscale(.7); }
.oc-seat.pickable { cursor: pointer; box-shadow: inset 0 0 0 2.5px var(--oc-gold), 0 0 22px rgba(255, 211, 106, .6); animation: ocPulse 1s infinite; }
.oc-seat-top { position: relative; }
.oc-seat-ring { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); transform: rotate(-90deg); }
.oc-seat-ring circle { fill: none; stroke: var(--oc-gold); stroke-width: 3; stroke-dasharray: 113; stroke-linecap: round; }
.oc-seat-nm { font-size: 12px; font-weight: 900; max-width: 104px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oc-seat-cards { display: flex; align-items: center; gap: 5px; }
.oc-seat-cards b { font: 900 16px/1 "Black Han Sans", sans-serif; color: #fff; min-width: 18px; text-align: center; }
.mini-backs { display: flex; } .mini-backs i { width: 10px; height: 15px; border-radius: 2px; background: linear-gradient(135deg, #3a3f8e, #15123b); border: 1px solid #fbf6ec; margin-left: -5px; } .mini-backs i:first-child { margin-left: 0; }
.oc-seat-augs { display: flex; gap: 2px; flex-wrap: wrap; justify-content: center; max-width: 112px; }
.oc-aico { display: inline-block; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1.5px var(--rc); flex: none; }
.oc-aico svg { width: 100%; height: 100%; display: block; }
.oc-aico.sealed { filter: grayscale(1) brightness(.6); } .oc-aico.spent { opacity: .45; }
.oc-seat-tags { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; }
.tg { font-size: 10.5px; font-weight: 900; padding: 1px 6px; border-radius: 99px; background: #2c2448; display: inline-flex; align-items: center; gap: 2px; }
.tg.one { background: var(--oc-red); color: #fff; animation: ocThrob .8s infinite; } .tg.out { background: #3a1a1a; color: #ff9a9a; } .tg.win { background: #5a4206; }
.tg.pk { background: #3e2a6a; } .tg.dc { background: #3a3a3a; }
.oc-catch { position: absolute; top: -16px; right: -18px; border: 0; border-radius: 99px; padding: 6px 10px; font: inherit; font-weight: 900; font-size: 13px; color: #fff; background: linear-gradient(#ff6a5a, #c2271c); box-shadow: 0 0 0 2px #fff, 0 0 18px rgba(255, 70, 40, .8); cursor: pointer; animation: ocWiggle .45s ease-in-out infinite; z-index: 5; white-space: nowrap; }
@keyframes ocWiggle { 50% { transform: rotate(-6deg) scale(1.08); } }

/* 옆 패널 */
.oc-side { display: flex; flex-direction: column; gap: 10px; height: clamp(340px, calc(100vh - 400px), 560px); }
.oc-augs-panel { flex: none; }
.oc-my-augs { display: flex; flex-direction: column; gap: 6px; }
.oc-augchip { display: flex; align-items: center; gap: 8px; text-align: left; border: 0; padding: 5px 8px 5px 5px; border-radius: 12px; background: #241d33; color: #fff; font: inherit; box-shadow: inset 0 0 0 1.5px var(--rc); position: relative; cursor: default; }
.oc-augchip .art { width: 38px; height: 38px; border-radius: 8px; overflow: hidden; flex: none; }
.oc-augchip .art svg { width: 100%; height: 100%; display: block; }
.oc-augchip .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oc-augchip .tx b { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .oc-augchip .tx small { font-size: 11px; color: var(--oc-muted); }
.oc-augchip .ch { position: absolute; top: -5px; right: -4px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--rc); color: #fff; font-size: 11px; font-style: normal; font-weight: 900; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.oc-augchip.usable { cursor: pointer; background: #2e2546; box-shadow: inset 0 0 0 2px var(--rc), 0 0 12px color-mix(in srgb, var(--rc) 55%, transparent); }
.oc-augchip.usable .tx small { color: var(--oc-gold); font-weight: 900; }
.oc-augchip.usable:hover { transform: translateY(-2px); }
.oc-augchip.armed { box-shadow: inset 0 0 0 2px #fff, 0 0 0 3px var(--rc), 0 0 18px var(--rc); animation: akPulse 1s infinite; cursor: pointer; }
.oc-augchip.sealed { filter: grayscale(.8); opacity: .6; } .oc-augchip.spent { opacity: .45; }
.oc-syn { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 6px; }
.oc-syn-tag { font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 99px; background: #3e2a6a; color: #e2ccff; }
.oc-log-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.oc-log { list-style: none; margin: 0; padding: 0; overflow: auto; font-size: 12.5px; line-height: 1.45; flex: 1; }
.oc-log li { padding: 4px 6px 4px 9px; border-left: 3px solid var(--pc); margin-bottom: 3px; background: rgba(255, 255, 255, .03); border-radius: 0 6px 6px 0; }

/* 아래: 상태·행동·손패 */
.oc-bottom { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.oc-status { text-align: center; font-weight: 800; font-size: 14px; padding: 6px 12px; border-radius: 12px; background: #1b1630; color: #d8d0ec; min-height: 1.4em; }
.oc-status.mine { background: #2f2a12; color: var(--oc-gold); box-shadow: inset 0 0 0 1.5px #6a5410; }
.oc-status.danger { background: #3a1210; color: #ffb3a8; box-shadow: inset 0 0 0 1.5px #a0302a; }
.oc-target { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; background: #2f2546; border-radius: 12px; padding: 8px; font-weight: 900; color: var(--oc-gold); }
.oc-actions { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.oc-reacts { display: contents; }
.oc-btn.react { padding: 5px 12px 5px 6px; text-align: left; box-shadow: inset 0 0 0 2px var(--rc), 0 3px 0 #120e22, 0 0 14px color-mix(in srgb, var(--rc) 50%, transparent); }
.oc-btn.react span { display: flex; flex-direction: column; line-height: 1.15; } .oc-btn.react small { font-size: 11px; color: var(--oc-gold); }
.act-one { background: linear-gradient(#ffd36a, #ff9f1a); color: #3a1f00; box-shadow: inset 0 0 0 1.5px #fff2c0, 0 3px 0 #7a4200; }
.act-one.urgent { font-size: 20px; padding: 12px 26px; animation: ocWiggle .4s ease-in-out infinite; box-shadow: 0 0 0 3px #fff, 0 0 30px rgba(255, 190, 40, .9); }
.oc-hand-wrap { position: relative; padding: 18px 8px 4px; min-height: 160px; display: flex; justify-content: center; overflow: visible; }
.oc-hand { display: flex; justify-content: center; align-items: flex-end; min-height: 140px; max-width: 100%; touch-action: none; }
.oc-card.hand { appearance: none; border: 0; padding: 0; background: none; flex: none; cursor: pointer; transform: translateY(var(--y)) rotate(var(--a)); transform-origin: 50% 120%; transition: transform .16s, filter .16s, margin .2s; touch-action: none; user-select: none; -webkit-user-select: none; }
.oc-card.hand.can { filter: drop-shadow(0 0 6px rgba(255, 211, 106, .7)); }
.oc-card.hand.can:hover, .oc-card.hand.sel { transform: translateY(calc(var(--y) - 26px)) rotate(var(--a)) scale(1.06); z-index: 50 !important; }
.oc-card.hand.dim { filter: brightness(.55) saturate(.6); }
.oc-card.hand.tgt { filter: drop-shadow(0 0 8px #a66bff); } .oc-card.hand.tgt:hover { transform: translateY(calc(var(--y) - 20px)) rotate(var(--a)); }
.oc-card.hand.best::after { content: ""; position: absolute; inset: -3px; border-radius: 12px; box-shadow: 0 0 0 3px #5ec8b0; pointer-events: none; }
.oc-card.hand .rec { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 900; background: #5ec8b0; color: #062a22; padding: 1px 6px; border-radius: 99px; }
.oc-card.hand.sealed { filter: grayscale(.85) brightness(.7); }
.oc-card.hand .lock { position: absolute; top: 40%; left: 50%; transform: translate(-50%, -50%); font-size: 13px; font-weight: 900; background: rgba(0, 0, 0, .7); padding: 2px 6px; border-radius: 8px; }
.oc-card.hand.dragging { transition: none; z-index: 99 !important; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)); }
.oc-spect-note { padding: 40px 0; }
.oc-aug-bar { display: none; }

/* 효과 */
.oc-fx { position: fixed; inset: 0; pointer-events: none; z-index: 1800; }
.oc-fly { position: fixed; width: 80px; pointer-events: none; }
.oc-fly .oc-card { width: 80px; }
.oc-react-orb { padding: 8px 12px; border-radius: 99px; background: radial-gradient(circle, #c49bff, #5b2d8f); color: #fff; font-weight: 900; box-shadow: 0 0 24px #a66bff; white-space: nowrap; }
.oc-float { position: fixed; transform: translate(-50%, -50%); font: 900 26px/1 "Black Han Sans", sans-serif; color: #fff; text-shadow: 0 2px 0 #000, 0 0 12px rgba(0, 0, 0, .8); animation: ocFloat 1.25s ease-out forwards; white-space: nowrap; }
.oc-float.atk { color: #ff7a5a; font-size: 44px; } .oc-float.block { color: #7ec8ff; font-size: 20px; } .oc-float.hit { color: #ff9a9a; } .oc-float.one { color: var(--oc-gold); } .oc-float.skip { color: #ffd36a; font-size: 22px; } .oc-float.boost { color: #ffb24a; font-size: 18px; }
@keyframes ocFloat { 0% { opacity: 0; transform: translate(-50%, -30%) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); } 30% { transform: translate(-50%, -55%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -140%); } }
.oc-toasts { position: fixed; left: 50%; top: 70px; transform: translateX(-50%); z-index: 2600; display: flex; flex-direction: column; gap: 6px; align-items: center; pointer-events: none; width: min(92vw, 460px); }
.oc-toast { background: rgba(26, 21, 44, .95); color: #fff; padding: 9px 16px; border-radius: 12px; font-weight: 800; font-size: 14px; box-shadow: 0 6px 18px rgba(0, 0, 0, .5), inset 0 0 0 1.5px #4d4278; transition: opacity .35s, transform .35s; text-align: center; }
.oc-toast.out { opacity: 0; transform: translateY(-8px); } .oc-toast.warn { box-shadow: 0 6px 18px rgba(0, 0, 0, .5), inset 0 0 0 1.5px #a0302a; }
.oc-toast.ak-rare, .oc-toast.ak-epic, .oc-toast.ak-legend { box-shadow: 0 6px 18px rgba(0, 0, 0, .5), inset 0 0 0 2px var(--rc); }
.oc-banner { position: fixed; left: 50%; top: 40%; transform: translate(-50%, -50%); z-index: 2500; pointer-events: none; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 30px; border-radius: 18px; background: rgba(20, 16, 36, .92); box-shadow: 0 0 0 2px #4d4278, 0 20px 50px rgba(0, 0, 0, .6); text-align: center; }
.oc-banner.show { animation: ocBan 1.6s ease both; }
.oc-banner b { font: 900 26px/1.15 "Black Han Sans", sans-serif; } .oc-banner span { font-size: 14px; color: #d8d0ec; font-weight: 800; }
.oc-banner .bi { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; } .oc-banner .bi svg { width: 100%; height: 100%; }
.oc-banner.me { box-shadow: 0 0 0 2.5px var(--oc-gold), 0 0 40px rgba(255, 211, 106, .5); } .oc-banner.me b { color: var(--oc-gold); }
.oc-banner.danger { box-shadow: 0 0 0 2.5px var(--oc-red), 0 0 40px rgba(255, 70, 40, .6); } .oc-banner.danger b { color: #ff9a8a; }
.oc-banner.win b { color: var(--oc-gold); }
.oc-banner.ak-rare, .oc-banner.ak-epic { box-shadow: 0 0 0 2.5px var(--rc), 0 0 40px var(--rc); }
@keyframes ocBan { 0% { opacity: 0; transform: translate(-50%, -40%) scale(.8); } 12% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); } 22% { transform: translate(-50%, -50%) scale(1); } 80% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -60%); } }

/* 창 */
.oc-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 4, 14, .72); backdrop-filter: blur(2px); }
.oc-dialog { width: min(100%, 460px); max-height: calc(100vh - 32px); overflow: auto; background: var(--oc-panel); border-radius: 18px; padding: 18px; box-shadow: 0 0 0 2px var(--oc-line), 0 24px 60px rgba(0, 0, 0, .6); box-sizing: border-box; }
.oc-dialog.wide { width: min(100%, 860px); }
.oc-dialog h3 { margin: 0 0 12px; } .oc-dialog h4 { margin: 14px 0 8px; color: var(--oc-gold); }
.oc-dialog-btns { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.oc-color-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oc-cbtn { border: 0; border-radius: 14px; padding: 14px 10px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5), 0 4px 0 rgba(0, 0, 0, .4); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.oc-cbtn b { font-size: 18px; } .oc-cbtn small { font-size: 12px; font-weight: 800; }
.oc-cbtn:hover:not(:disabled) { transform: translateY(-3px); } .oc-cbtn:disabled { opacity: .35; }
.oc-choose { display: grid; gap: 8px; }
.oc-choice { display: flex; align-items: center; gap: 10px; border: 0; border-radius: 12px; padding: 10px 12px; background: #262040; color: #fff; font: inherit; cursor: pointer; text-align: left; box-shadow: inset 0 0 0 1.5px #3c3263; }
.oc-choice:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--oc-gold); } .oc-choice:disabled { opacity: .4; }
.oc-choice .ki { font-size: 22px; } .oc-choice small { color: var(--oc-muted); margin-left: auto; }
.oc-set-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.oc-set-row input { width: 52%; accent-color: #ffd36a; }
.oc-skins { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.oc-skins button { border: 0; border-radius: 10px; padding: 18px 4px 6px; color: #fff; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); }
.oc-skins button.on { box-shadow: inset 0 0 0 2.5px var(--oc-gold); }
.fk-green { background: linear-gradient(#1f7a4c, #0f4a2c); } .fk-navy { background: linear-gradient(#24407a, #111f45); } .fk-wine { background: linear-gradient(#7a2440, #3f0f22); } .fk-wood { background: linear-gradient(#9a6a3a, #5a3a1c); }
.oc-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.oc-tabs button { border: 0; border-radius: 99px; padding: 6px 14px; font: inherit; font-weight: 900; background: #262040; color: #fff; cursor: pointer; }
.oc-tabs button.on { background: var(--oc-gold); color: #2b1a00; }
.oc-help-body { font-size: 14px; line-height: 1.6; }
.oc-rules { padding-left: 18px; margin: 6px 0; }
.oc-dex-h { margin: 14px 0 6px; color: var(--rc); }
.oc-dex { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.oc-dex-item { display: flex; gap: 10px; padding: 8px; border-radius: 12px; background: #221c36; box-shadow: inset 0 0 0 1.5px var(--rc); }
.oc-dex-item .art { width: 56px; height: 56px; border-radius: 10px; overflow: hidden; flex: none; } .oc-dex-item .art svg { width: 100%; height: 100%; }
.oc-dex-item small { color: var(--oc-muted); font-size: 11px; } .oc-dex-item p { margin: 3px 0 0; font-size: 12.5px; line-height: 1.45; } .oc-dex-item p.cond { color: var(--oc-muted); font-size: 11.5px; }
.oc-card-dex { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; margin-top: 10px; }
.oc-card-dex .it { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; } .oc-card-dex .oc-card { width: 86px; }
.oc-card-dex small { font-size: 11.5px; color: var(--oc-muted); line-height: 1.35; }
.oc-card-backrow { display: flex; align-items: center; gap: 10px; margin-top: 14px; } .oc-card-backrow .oc-card { width: 70px; }
.oc-zoom { position: fixed; inset: 0; z-index: 3200; background: rgba(6, 4, 14, .8); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-weight: 900; }
.oc-zoom .oc-card.big { width: min(60vw, 240px); } .oc-zoom small { color: var(--oc-muted); }

/* 결과 */
.oc-result { position: relative; width: min(100%, 760px); max-height: calc(100vh - 32px); overflow: auto; background: radial-gradient(ellipse at top, #2f2650, #191429); border-radius: 22px; padding: 22px 18px; box-shadow: 0 0 0 2px var(--oc-gold), 0 30px 70px rgba(0, 0, 0, .7); text-align: center; box-sizing: border-box; }
.oc-confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.oc-result-title { font: 900 36px/1.1 "Black Han Sans", sans-serif; color: var(--oc-gold); margin-bottom: 10px; }
.oc-podium { display: flex; justify-content: center; align-items: flex-end; gap: 10px; margin: 8px 0 14px; }
.pd { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 120px; }
.pd-av { position: relative; } .pd-crown { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 22px; }
.pd-nm { font-weight: 900; font-size: 14px; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pd-sc { font-size: 12px; color: var(--oc-muted); }
.pd-base { width: 100%; border-radius: 10px 10px 0 0; background: linear-gradient(#4d4278, #2a2348); font: 900 22px/1 "Black Han Sans", sans-serif; padding-top: 10px; }
.pd-1 .pd-base { height: 70px; background: linear-gradient(#ffd36a, #b07a10); color: #2b1a00; } .pd-2 .pd-base { height: 50px; } .pd-3 .pd-base { height: 36px; }
.oc-res-wrap { overflow-x: auto; }
.oc-res-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.oc-res-table th, .oc-res-table td { padding: 6px 6px; border-bottom: 1px solid #3a3160; white-space: nowrap; }
.oc-res-table td.nm { text-align: left; display: flex; align-items: center; gap: 6px; } .oc-res-table tr.me { background: rgba(255, 211, 106, .1); }
.oc-res-table td.augs { display: flex; gap: 2px; }
.oc-result-btns { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

/* 검색용 소개 */
.oc-seo { max-width: 980px; margin: 20px auto 40px; padding: 18px 20px; background: var(--oc-panel); border-radius: 16px; font-size: 14px; line-height: 1.7; color: #d8d0ec; box-shadow: inset 0 0 0 1.5px var(--oc-line); }
.oc-seo h2 { margin: 0 0 8px; font-size: 18px; color: #fff; } .oc-seo a { color: var(--oc-gold); }

/* 화면 크기 */
@media (max-width: 1100px) {
  .oc-main { grid-template-columns: 1fr; }
  .oc-side { display: none; }
  body.oc-log-open .oc-side { display: flex; position: fixed; right: 8px; top: 70px; width: min(320px, 90vw); max-height: 70vh; z-index: 2200; }
  .oc-aug-bar { display: flex; gap: 6px; overflow-x: auto; justify-content: center; padding: 6px 2px 2px; scrollbar-width: none; }
  .oc-aug-bar .oc-augchip { flex: none; padding: 4px 8px 4px 4px; }
  .oc-aug-bar .oc-augchip .art { width: 30px; height: 30px; }
  .oc-aug-bar .oc-augchip .tx b { font-size: 12px; max-width: 86px; }
}
@media (max-width: 900px) { .oc-lobby-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  #ocApp { padding: 0 6px 16px; }
  .oc-hud { grid-template-columns: auto 1fr auto; gap: 6px; }
  .oc-hud-l .oc-chip:not(#gMode) { display: none; }
  .oc-turnbox { min-width: 0; padding: 4px 10px 4px 4px; } .oc-turnbox small { display: none; }
  .oc-icon { width: 34px; height: 34px; font-size: 16px; }
  .oc-table { height: 52vh; min-height: 330px; border-radius: 18px; }
  .oc-felt { border-radius: 40% / 30%; box-shadow: 0 0 0 7px var(--oc-rim), inset 0 0 50px rgba(0, 0, 0, .55); }
  .oc-center { transform: translate(-50%, -50%) scale(.72); }
  .oc-curcolor { bottom: -50px; font-size: 15px; }
  .oc-seat { min-width: 60px; max-width: 86px; padding: 4px 5px; gap: 1px; }
  .oc-seat-nm { font-size: 10.5px; max-width: 76px; }
  .oc-seat-cards b { font-size: 14px; }
  .mini-backs i { width: 7px; height: 11px; margin-left: -4px; }
  .oc-seat-augs { max-width: 80px; }
  .tg { font-size: 9.5px; padding: 0 4px; }
  .oc-catch { font-size: 12px; padding: 5px 8px; top: -14px; right: -10px; }
  .oc-hand-wrap { min-height: 120px; padding-top: 22px; }
  .oc-hand { min-height: 104px; }
  .oc-status { font-size: 13px; padding: 5px 8px; }
  .oc-btn { padding: 9px 12px; font-size: 14px; }
  .oc-modes { grid-template-columns: 1fr; }
  .oc-dex { grid-template-columns: 1fr; }
  .pd { width: 92px; }
  .oc-banner b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .oc-dir, .oc-pending, .tg.one, .oc-catch, .oc-btn.pulse, .act-one.urgent { animation: none !important; } .oc-table.shake, .oc-table.shake-big { animation: none; } }
