/* 11-01(Claude): 타이틀·결과 화면 손질. 맵 카드 한 줄 소개, 모드 안내 창(직접 플레이·도박장, js/ui32.js), 우승 순간 연출, 모드·맵 카드 손맛.
   크기는 전부 1920x1080 기준 값이고 --uiz 로 함께 줄고 는다(1280x720 이면 2/3). 무한 애니메이션 없음: 전부 한 번 돌고 멈춘다 */

/* ---------- 맵 고르기: 카드 3칸 2줄(빈 칸 없이) + 한 줄 소개 ---------- */
.mb-in { width: min(1060px, 100%); }
:root[data-ui-desktop-fit="true"] .mb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
:root:not([data-ui-desktop-fit="true"]) .mb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.map-card { gap: 8px; padding: 10px 10px 14px; }
.map-card b { padding-inline: 4px; font-size: 20px; line-height: 1.25; transition: color 0.15s; }
.map-card .mc-line { display: block; padding-inline: 4px; color: var(--muted); font: 500 14px/1.45 'S-Core Dream', var(--font-body); word-break: keep-all; text-wrap: pretty; transition: color 0.15s; }
.map-card:is(:hover, :focus-visible, .on) .mc-line { color: var(--text); }
.map-card:is(:hover, :focus-visible) b { color: var(--gold); }
.map-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.map-card .mc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.34) 50%, transparent 62%); transform: translateX(-110%); pointer-events: none; }

@media (prefers-reduced-motion: no-preference) {
  /* 맵 카드: 올리면 떠오르며 빛이 한 번 스치고, 누르면 ui28 의 눌림이 받는다 */
  .map-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
  .map-card:active { transform: scale(0.96); }
  .map-card:hover .mc-img { transform: scale(1.03); }
  .map-card:hover .mc-img::after { transform: translateX(110%); transition: transform 0.62s cubic-bezier(0.25, 0.7, 0.3, 1); }

  /* 모드 단추: 올리면 살짝 뜨고, 도박장 칩은 켜지거나 올릴 때 한 번 돈다 */
  .mode-tabs button { transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.26s cubic-bezier(0.3, 1.7, 0.45, 1); }
  .mode-tabs button:hover { transform: translateY(-2px); }
  .mode-tabs button:active { transform: scale(0.93); transition-duration: 0.07s; }
  .mode-tabs button[data-mode="casino"]:hover .mt-chip, .mode-tabs button[data-mode="casino"][aria-selected="true"] .mt-chip { animation: mt32Flip 0.62s cubic-bezier(0.2, 0.8, 0.3, 1) both; }
  .play30-open:hover:not(:disabled), .sandbox-open:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.34); }
  .play30-ctl.on .play30-open { animation: p32On 0.42s cubic-bezier(0.2, 1.6, 0.4, 1); }
}
@keyframes mt32Flip { from { transform: rotateY(0) scale(1); } 45% { transform: rotateY(360deg) scale(1.3); } to { transform: rotateY(720deg) scale(1); } }
@keyframes p32On { from { transform: scale(0.94); } 55% { transform: scale(1.03); } to { transform: none; } }

/* ---------- 모드 안내 창 ---------- */
.mg32 { background: rgba(5, 7, 11, 0.84); }
.mg32 kbd { display: inline-grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 7px; background: #1c2331; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.2); font: 800 16px/1 var(--font-body); color: #fff; white-space: nowrap; }
.mg32 kbd.ms { display: inline-flex; align-items: center; gap: 7px; padding: 0 11px 0 8px; font-size: 15px; }
.mg32 kbd.ms svg { width: 17px; height: 25px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.mg32 kbd.ms .hot { fill: var(--mg-ac); stroke: none; }

.mg32-in { --mg-ac: #ff5240; --mg-tx: #eef1f6; --mg-sub: #aeb6c4; --mg-bg: #121720; --mg-bg2: #1a2030; --mg-line: rgba(255, 255, 255, 0.11);
  zoom: var(--uiz); position: relative; display: flex; flex-direction: column; width: min(1180px, 100%); max-width: calc(var(--ui-layout-width) - 32px); max-height: calc(var(--ui-layout-height) - 32px); overflow: hidden;
  background: var(--mg-bg); color: var(--mg-tx); border: 1px solid var(--mg-line); border-top: 4px solid var(--mg-ac); border-radius: 4px 4px 12px 12px; box-shadow: 0 36px 90px rgba(0, 0, 0, 0.66); font-family: 'S-Core Dream', var(--font-body); }
/* 11-16: 도박장 안내 창은 타이틀과 같은 여관 나무판·황동 빛깔(css/casino-tavern16.css: 글꼴 'HGM Tavern KR/EN' 과 나뭇결 --tv-grain 도 거기서 온다) */
.mg32[data-kind="casino"] .mg32-in { --mg-ac: #f1c75e; --mg-tx: #fff3d6; --mg-sub: #e0c99f; --mg-bg: #4a2b14; --mg-bg2: #5f3a1b; --mg-line: rgba(241, 199, 94, 0.3); border: 3px solid #1c0d03; border-radius: 16px;
  background: var(--tv-grain, none) 0 0 / 420px 210px, linear-gradient(180deg, #55321a 0%, #432511 100%); box-shadow: inset 0 0 0 2px #a9743a, inset 0 0 0 3.5px rgba(241, 199, 94, 0.7), inset 0 0 0 5px rgba(28, 13, 3, 0.7), 0 36px 90px rgba(0, 0, 0, 0.66); }
.mg32[data-kind="casino"] .mg32-head { background: radial-gradient(60% 120% at 12% 0%, rgba(255, 196, 96, 0.3), transparent 70%), var(--tv-grain, none) 0 0 / 420px 210px, linear-gradient(180deg, #7a4a22 0%, #5f3a1b 100%); border-bottom: 2px solid #1c0d03; box-shadow: 0 1px 0 rgba(255, 214, 150, 0.2); }
.mg32[data-kind="casino"] .mg32-kick { font: 800 15px/1 'HGM Tavern EN', var(--font-title); letter-spacing: 0.18em; }
.mg32[data-kind="casino"] .mg32-foot { border-top: 2px solid #1c0d03; }

.mg32-head { position: relative; display: flex; align-items: center; gap: 26px; flex: none; padding: 30px 84px 28px 36px; background: linear-gradient(100deg, color-mix(in srgb, var(--mg-ac) 15%, transparent), transparent 56%), var(--mg-bg2); border-bottom: 1px solid var(--mg-line); }
.mg32-em { display: grid; place-items: center; flex: none; width: 96px; height: 96px; }
.mg32-em svg { width: 100%; height: 100%; display: block; }
.mg32-em .sh { fill: #24110f; stroke: var(--mg-ac); stroke-width: 4; stroke-linejoin: miter; }
.mg32-em .in { fill: none; stroke: rgba(255, 255, 255, 0.16); stroke-width: 1.5; }
.mg32-em .ring { fill: none; stroke: #fff; stroke-width: 4; }
.mg32-em .tick { stroke: var(--mg-ac); stroke-width: 5; stroke-linecap: butt; }
.mg32-em .dot { fill: var(--mg-ac); }
.mg32[data-kind="casino"] .mg32-em { filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.55)); }
.mg32-ttl { min-width: 0; }
.mg32-kick { margin: 0 0 4px; font: 400 17px/1 var(--font-title); letter-spacing: 0.2em; color: var(--mg-ac); }
.mg32-ttl h2 { margin: 0; font: 400 52px/1.08 'Black Han Sans', sans-serif; color: #fff; }
.mg32[data-kind="casino"] .mg32-ttl h2 { font-family: 'HGM Tavern KR', 'Black Han Sans', sans-serif; font-weight: 900; color: #ffe9a0; text-shadow: 0 2px 0 #2a1202, 0 4px 0 rgba(42, 18, 2, 0.7); }
.mg32-lead { margin: 8px 0 0; font-size: 20px; font-weight: 500; line-height: 1.4; color: var(--mg-tx); }
.mg32-x { position: absolute; top: 18px; right: 18px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--mg-sub); cursor: pointer; transition: background 0.14s, color 0.14s; }
.mg32-x svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.mg32-x:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

.mg32-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 26px 36px 28px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.28) transparent; }
.mg32-body:focus { outline: none; }
.mg32-sec + .mg32-sec { margin-top: 26px; }
.mg32-sec h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: 19px; font-weight: 800; color: #fff; white-space: nowrap; }
.mg32-sec h3::after { content: ''; flex: 1; height: 1px; background: var(--mg-line); }

.mg32-keys { display: grid; grid-template-columns: 1.16fr 1fr 0.86fr; gap: 30px; }
.mg32-col h4 { margin: 0 0 12px; font-size: 15px; font-weight: 700; color: var(--mg-ac); }
.mg32-col ul { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 14px; align-items: center; margin: 0; padding: 0; list-style: none; }
.mg32-col li { display: contents; }
.mg32-k { display: flex; gap: 5px; }
.mg32-d { font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--mg-tx); }

.mg32-lower { display: grid; grid-template-columns: minmax(0, 2.3fr) minmax(0, 1fr); gap: 30px; margin-top: 26px; }
.mg32-lower .mg32-sec { margin-top: 0; }
.mg32-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.mg32-steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; background: var(--mg-bg2); }
.mg32-steps li:first-child { border-radius: 8px 0 0 8px; }
.mg32-steps li:last-child { border-radius: 0 8px 8px 0; }
.mg32-n { position: absolute; top: 12px; right: 16px; font: 400 30px/1 var(--font-title); color: color-mix(in srgb, var(--mg-ac) 62%, transparent); }
.mg32-v { display: flex; align-items: center; height: 48px; margin-bottom: 6px; }
.mg32-v svg { width: 46px; height: 46px; }
.mg32 .aim-f { fill: rgba(255, 59, 48, 0.2); }
.mg32 .aim-s { fill: none; stroke: #ff3b30; stroke-width: 3; stroke-dasharray: 7 4.5; }
.mg32 .aim-t { stroke: #ff3b30; stroke-width: 3; }
.mg32-v kbd.ms svg { width: 17px; height: 25px; }
.mg32-v kbd.tag { padding: 0 12px; background: rgba(247, 197, 49, 0.12); box-shadow: inset 0 0 0 1px rgba(247, 197, 49, 0.55); color: #ffe27a; font: 700 15px/1 'S-Core Dream', var(--font-body); border-radius: 6px; }
.mg32-steps b { font-size: 19px; font-weight: 800; color: #fff; }
.mg32-steps p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--mg-sub); }
.mg32-rules ul { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mg32-rules li { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: #fff; }
.mg32-rules li.pick { align-items: flex-start; font-weight: 500; line-height: 1.4; color: var(--mg-sub); }
.mg32-rules svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--mg-ac); stroke-width: 2.2; }
.mg32-rules .pick svg { stroke: var(--mg-sub); stroke-width: 1.8; }

.mg32-odds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mg32-odds > div { padding: 16px 18px 18px; border: 1px solid var(--mg-line); border-radius: 8px; background: rgba(0, 0, 0, 0.24); }
.mg32-odds b { display: block; font-size: 15px; font-weight: 700; color: var(--mg-sub); }
.mg32-odds .big { display: block; margin: 4px 0 8px; font: 400 30px/1.15 'Black Han Sans', sans-serif; color: #fff; }
.mg32-odds p { margin: 0; font-size: 16px; line-height: 1.45; color: var(--mg-sub); }
.mg32-odds .hit { border-color: #e2bd63; background: linear-gradient(180deg, rgba(122, 26, 16, 0.78), rgba(48, 9, 6, 0.78)); }
.mg32-odds .hit b, .mg32-odds .hit .big { color: #fbe9b0; }
.mg32-odds .hit .big { text-shadow: 0 2px 0 #3a0a06; }
.mg32-odds .miss .big { color: #c9ccd6; }

.mg32-foot { display: flex; align-items: center; gap: 22px; flex: none; padding: 16px 36px; background: var(--mg-bg2); border-top: 1px solid var(--mg-line); }
.mg32-note { flex: 1; min-width: 0; margin: 0; font-size: 15px; line-height: 1.4; color: var(--mg-sub); }
.mg32-esc { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--mg-sub); white-space: nowrap; }
.mg32 .mg32-esc kbd { min-width: 0; height: 30px; font-size: 13px; }
.mg32-go { flex: none; min-width: 230px; height: 62px; padding: 0 34px; border: 0; border-radius: 6px; background: var(--mg-ac); color: #fff; font: 400 25px/1 'Black Han Sans', sans-serif; letter-spacing: 0.02em; cursor: pointer; box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.26); transition: filter 0.13s, transform 0.26s cubic-bezier(0.3, 1.7, 0.45, 1); }
.mg32[data-kind="casino"] .mg32-go { border: 2px solid #1c0d03; border-radius: 14px; background: linear-gradient(180deg, #74c8ff 0%, #3f92f2 44%, #2565d1 56%, #1c4dab 100%); color: #fffbe8; font-family: 'HGM Tavern KR', 'Black Han Sans', sans-serif; font-weight: 900; text-shadow: 0 2px 0 #0f2c6e; box-shadow: inset 0 0 0 2.5px #f1c75e, inset 0 0 0 4px #7d5210, 0 5px 0 #1c0d03; }
.mg32-go:hover { filter: brightness(1.12); transform: translateY(-2px); }
.mg32-go:active { transform: scale(0.96); transition-duration: 0.07s; }
.mg32-go:focus-visible, .mg32-x:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* 좁은 창·세로 창(화면 맞춤이 아닐 때): 한 줄로 쌓고, 머리·아래 단추는 그대로 두고 가운데만 굴린다 */
:root:not([data-ui-desktop-fit="true"]) .mg32-head { gap: 14px; padding: 18px 58px 16px 18px; }
:root:not([data-ui-desktop-fit="true"]) .mg32-em { width: 56px; height: 56px; }
:root:not([data-ui-desktop-fit="true"]) .mg32-kick { font-size: 13px; }
:root:not([data-ui-desktop-fit="true"]) .mg32-ttl h2 { font-size: 30px; }
:root:not([data-ui-desktop-fit="true"]) .mg32-lead { margin-top: 4px; font-size: 15px; }
:root:not([data-ui-desktop-fit="true"]) .mg32-x { top: 8px; right: 8px; }
:root:not([data-ui-desktop-fit="true"]) .mg32-body { padding: 16px 18px 18px; }
:root:not([data-ui-desktop-fit="true"]) :is(.mg32-keys, .mg32-lower, .mg32-odds) { grid-template-columns: minmax(0, 1fr); gap: 18px; }
:root:not([data-ui-desktop-fit="true"]) .mg32-steps { grid-template-columns: minmax(0, 1fr); }
:root:not([data-ui-desktop-fit="true"]) .mg32-steps li { border-radius: 0; }
:root:not([data-ui-desktop-fit="true"]) .mg32-foot { flex-wrap: wrap; gap: 10px; padding: 12px 18px; }
:root:not([data-ui-desktop-fit="true"]) .mg32-note { flex-basis: 100%; }
:root:not([data-ui-desktop-fit="true"]) .mg32-esc { display: none; }
:root:not([data-ui-desktop-fit="true"]) .mg32-go { flex: 1; min-width: 0; height: 52px; font-size: 21px; }

/* ---------- 우승 순간(js/ui32.js winnerBurst32) ---------- */
#result { overflow-x: hidden; }
.winner { position: relative; isolation: isolate; }
.wr32 { --c: var(--gold); position: absolute; left: 50%; top: var(--ry, 44%); z-index: -1; width: min(100%, 680px); aspect-ratio: 1; translate: -50% -50%; overflow: hidden; border-radius: 50%; pointer-events: none; -webkit-mask: radial-gradient(circle, #000 0 22%, transparent 70%); mask: radial-gradient(circle, #000 0 22%, transparent 70%); opacity: 0.3; animation: wr32In 1.5s ease-out both; }
#result.team-win28 .wr32 { --c: var(--wtc); }
.wr32::before { content: ''; position: absolute; inset: 0; background: repeating-conic-gradient(from 0deg, var(--c) 0 8deg, transparent 8deg 22.5deg); animation: wr32Spin 5.5s cubic-bezier(0.12, 0.7, 0.3, 1) both; }
.winner.lost .wr32 { display: none; }
@keyframes wr32In { from { opacity: 0; scale: 0.4; } 32% { opacity: 0.85; scale: 1.06; } to { opacity: 0.3; scale: 1; } }
@keyframes wr32Spin { from { transform: rotate(-50deg); } to { transform: rotate(16deg); } }

#result .winner.burst32 #winKicker { animation: wk32In 0.36s cubic-bezier(0.2, 0.9, 0.3, 1) 0.04s both; }
#result .winner.burst32 #winTitle { animation: wt32Slam 0.5s cubic-bezier(0.2, 1.5, 0.35, 1) 0.14s both; }
#result .winner.burst32 .wname { animation: wn32Pop 0.46s cubic-bezier(0.2, 1.6, 0.4, 1) 0.5s both; }
@keyframes wk32In { from { opacity: 0; transform: translateY(12px); } }
@keyframes wt32Slam { from { opacity: 0; transform: scale(1.9); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes wn32Pop { from { opacity: 0; transform: scale(0.7); } }

.wb32 { position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.wb32 .ring { position: absolute; left: var(--ox); top: var(--oy); width: 620px; height: 620px; margin: -310px 0 0 -310px; border: 7px solid var(--rc); border-radius: 50%; opacity: 0; animation: wb32Ring 0.74s cubic-bezier(0.15, 0.7, 0.3, 1) 0.14s both; }
.wb32 .p { position: absolute; left: var(--ox); top: var(--oy); width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); border-radius: 1px; background: var(--c); opacity: 0; animation: wb32Fly var(--t) linear var(--d) both; }
.wb32 .c { position: absolute; left: var(--x); top: -60px; width: var(--s); height: var(--s); background: var(--img) center / contain no-repeat; image-rendering: pixelated; animation: wb32Rain var(--t) cubic-bezier(0.42, 0.08, 0.8, 0.72) var(--d) both; }
@keyframes wb32Ring { from { opacity: 0.95; transform: scale(0.08); } to { opacity: 0; transform: scale(1); } }
@keyframes wb32Fly {
  0% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.5); animation-timing-function: cubic-bezier(0.1, 0.75, 0.25, 1); }
  6% { opacity: 1; }
  42% { transform: translate(var(--dx), var(--dy)) rotate(var(--r1)) scale(1); animation-timing-function: cubic-bezier(0.45, 0.05, 0.75, 0.6); }
  84% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(var(--dx) * 1.18), calc(var(--dy) + var(--fall))) rotate(var(--r2)) scale(0.92); }
}
@keyframes wb32Rain { to { transform: translateY(calc(var(--ui-layout-height) + 130px)) rotate(var(--r2)); } }

@media (prefers-reduced-motion: reduce) {
  .wr32, .wr32::before, #result .winner.burst32 :is(#winKicker, #winTitle, .wname) { animation: none; }
}

/* ---------- 11-02: 처음 보는 사람 기준 손질 ---------- */
/* 살아 있는 최다 처치자 표시(얼굴 목록·이름표, js/main.js crownHolder32). 11-18 사용자 "왕관 같은 건 넣지 말자" → 왕관 그림 없이 금빛 테·금빛 이름. 킬 숫자는 일부러 뺀 자리 */
:root { --crown32: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 14'%3E%3Cpath d='M2.6 12.6 1.2 3.4l5 3.7L10 1.2l3.8 5.9 5-3.7-1.4 9.2z' fill='%23ffd23f' stroke='%23231500' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.roster button.lead32 { overflow: visible; border-color: #ffd23f; }
.roster button.lead32 img { border-radius: 4px; }
.roster button.lead32 { box-shadow: 0 0 0 2px rgba(255, 210, 63, .55), 0 0 12px rgba(255, 196, 40, .45); }
/* 11-20(사용자 "닉네임이 가끔 노란색으로 덧칠해지는 버그"): 처치 선두가 카메라 주인공(.label.focus = 금색 판 + 짙은 글씨, style.css)이 되면 금색 판 위에 금색 글씨가 됐다.
   두 규칙의 우선순위가 같아 뒤에 읽히는 이 파일이 글자색만 이겼기 때문 → 금빛 이름은 주인공이 아닐 때만 칠하고, 주인공일 때는 짙은 글씨를 그대로 둔 채 금빛 겹테로 선두를 알린다(tools/label-contrast20.mjs 가 조합 전체를 잰다) */
.label.lead32:not(.focus) .lname { color: #ffd23f; }
.label.lead32.focus .lname { box-shadow: 0 0 0 1px #1b1405, 0 0 0 2.5px #ffd23f; }
@keyframes lead32in { from { transform: scale(0); } to { transform: scale(1); } }
/* 떠오르는 숫자: 피해는 따뜻한 색으로 작게, 탈락 등수는 붉은 판으로. 흰 숫자가 다 같아 보여 뜻을 읽기 어려웠다 */
#overlay .pop.dmg { color: #ffa27f; font-size: 20px; }
#overlay .pop.rank { padding: 2px 10px 1px; border-radius: 5px; background: rgba(122, 18, 12, 0.92); color: #fff; font-size: 26px; -webkit-text-stroke: 0; text-shadow: 0 1px 0 #3a0503; }
/* 직접 플레이: 칸 번호가 11px 회색이라 1280 화면에서 안 보였다. 또렷한 키 모양, 고른 칸은 금색 */
.p30-slots .p30-slot kbd { left: 3px; top: 3px; min-width: 16px; padding: 2px 3px; border-radius: 4px; background: rgba(0, 0, 0, 0.72); color: #fff; font-size: 14px; text-align: center; box-sizing: border-box; }
.p30-slots .p30-slot.on kbd { background: #f2c14e; color: #1b1405; }

/* 11-06(사용자 "도박장 모드는 베팅 걸면 닉네임이랑 프사 더 크게, 테두리도 막 돌아가면서 이 캐릭터에 걸었다는 표시"): 베팅된 카드.
   도는 금빛 테두리는 카드 뒤의 칸(.cring33)이 transform 으로 돌기만 하고 다시 그리지 않는다. 카드 바탕은 불투명한 판(.cplate33)이 덮는다.
   반투명 판 위의 끝없는 애니메이션은 내장 그래픽에서 깜빡였으므로(킬 로그 깜빡임) 바탕을 불투명하게 하고, 고르지 않아 흐린 카드는 돌리지 않는다 */
.card .cring33, .card .cplate33, .card .cbet33 { display: none; }
body.casino .card.bet33 { isolation: isolate; background: transparent; border-color: transparent; }
body.casino .card.bet33.on { border-color: transparent; box-shadow: 0 0 22px rgba(255, 196, 64, 0.42), 0 10px 24px rgba(0, 0, 0, 0.45); }
body.casino .card.bet33 .cring33 { display: block; position: absolute; inset: -3px; z-index: -2; border-radius: 8px; overflow: hidden; pointer-events: none; }
body.casino .card.bet33 .cring33 i { position: absolute; left: 50%; top: 50%; width: 220%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: conic-gradient(#fff6c8, #ffc43a 10%, #b8741a 22%, #ffd35c 34%, #fff3b0 50%, #ffb52e 60%, #7a420c 74%, #ffcf4d 88%, #fff6c8); }
body.casino .card.bet33 .cplate33 { display: block; position: absolute; inset: 0; z-index: -1; border-radius: 5px; pointer-events: none;
  background: radial-gradient(120% 60% at 50% 0%, #2a2333 0%, #0f131c 70%); box-shadow: inset 0 0 0 1px rgba(255, 220, 120, 0.3), inset 0 -36px 44px -28px rgba(255, 154, 69, 0.24); }
body.casino .card.bet33 .cbet33 { display: flex; align-items: flex-end; gap: 8px; position: absolute; left: 6px; right: 6px; top: 6px; aspect-ratio: 1; padding: 0 8px 8px;
  border-radius: 6px; overflow: hidden; pointer-events: none; background: linear-gradient(to top, rgba(14, 9, 2, 0.9) 0%, rgba(14, 9, 2, 0.62) 30%, transparent 60%); }
body.casino .card.bet33 .cbet33 .jja { --jz: clamp(34px, 2.7vw, 52px); box-shadow: 0 0 0 2.5px #ffd24a, 0 0 0 4.5px rgba(40, 24, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.55);
  font: 800 calc(var(--jz) * 0.46) / 1 'S-Core Dream', var(--font-body); color: #3a2400; }
body.casino .card.bet33 .cb-t { display: flex; flex-direction: column; min-width: 0; padding-bottom: 2px; text-align: left; }
/* 닉네임은 두 줄까지(긴 닉네임이 '퇴근하…' 로 잘렸다) */
body.casino .card.bet33 .cb-t b { display: -webkit-box; overflow: hidden; color: #fff; font: 800 clamp(13px, 1.02vw, 18px) / 1.15 'S-Core Dream', var(--font-body); -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow-wrap: anywhere;
  text-shadow: 0 1px 0 #000, 0 0 10px rgba(255, 190, 60, 0.6); }
body.casino .card.bet33 .cb-t em { color: #ffd98a; font: 600 clamp(10px, 0.72vw, 12px) / 1.3 'S-Core Dream', var(--font-body); font-style: normal; }
body.casino .card .cjj.has b { color: #8f1d12; }
@media (prefers-reduced-motion: no-preference) {
  body.casino .card.bet33 .cring33 i { animation: ring33 2.8s linear infinite; will-change: transform; }
  body.casino .card.bet33:not(.on) .cring33 i { animation-play-state: paused; }
  body.casino .card.pop33 { animation: pop33 0.55s cubic-bezier(0.3, 1.6, 0.5, 1); }
  body.casino .card.pop33 .cbet33 .jja { animation: av33 0.5s 0.05s cubic-bezier(0.3, 1.8, 0.5, 1) both; }
  body.casino .card.pop33 .cbet33::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 240, 180, 0.65) 50%, transparent 65%);
    transform: translateX(-120%); animation: shine33 0.8s 0.12s ease-out both; }
}
@keyframes ring33 { from { transform: translate(-50%, -50%) rotate(0turn); } to { transform: translate(-50%, -50%) rotate(1turn); } }
@keyframes pop33 { 0% { scale: 1; } 30% { scale: 1.09; } 62% { scale: 0.98; } 100% { scale: 1; } }
@keyframes av33 { from { scale: 0.3; opacity: 0; } to { scale: 1; opacity: 1; } }
@keyframes shine33 { to { transform: translateX(120%); } }
/* 11-06(fb1106b, 사용자 "게임 시작 로딩창과 인트로 중에는 마우스 커서 숨기기"): main.js syncCursor06 이 붙인다(마우스를 움직이면 1.5초 보임) */
html.hgm-nocursor, html.hgm-nocursor * { cursor: none !important; }
