/* Claw Machine (public-site/card-claw.js + mg3d/claw3d.js). Prefix .ccl-*. The cabinet itself is a three.js scene on one
   canvas (.ccl-3d); this file styles the stage around it, the invisible touch targets over the 3D joystick / DROP button
   (card-claw.js moves them to follow the camera), the overlays on the glass (message, prize pop-up, sound) and the side
   panel (machines, plays left, odds). --acc = the machine's color. No filters on big areas, no backdrop-filter. */

.ccl { --acc: #ffcd62;
    display: grid; grid-template-columns: minmax(0, 560px) minmax(250px, 330px); gap: 28px; justify-content: center; align-items: start;
    font-family: "Barlow Condensed", system-ui, sans-serif; color: #e9ecf1; padding: 6px 0 18px; }
.ccl-wait { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 280px; color: #9aa2ae; font: 600 18px "Barlow Condensed", sans-serif; }
.ccl-main { min-width: 0; }
.ccl-note { max-width: 920px; margin: 0 auto 12px; }

/* ── the 3D stage ── */
.ccl-stage { position: relative; width: 100%; aspect-ratio: 0.8; border-radius: 18px; overflow: hidden; isolation: isolate; background: #050507;
    box-shadow: 0 0 0 1px rgba(255,255,255,.05), 0 24px 60px -20px rgba(0,0,0,.8); }
.ccl-3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; }
.ccl.live .ccl-3d { touch-action: none; cursor: grab; }
.ccl-boot { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: #9aa2ae; font: 600 18px/1.3 "Barlow Condensed", sans-serif; transition: opacity .4s ease; }
.ccl.ready .ccl-boot { opacity: 0; pointer-events: none; }
/* 11/7: loading progress (claw3d create → onStep) */
.ccl-boot { flex-wrap: wrap; align-content: center; }
.ccl-boot-bar { flex: 0 0 100%; max-width: 240px; height: 4px; margin: 2px auto 0; border-radius: 4px; background: rgba(255,255,255,.08); overflow: hidden; }
.ccl-boot-bar b { display: block; height: 100%; background: var(--acc, #ffcd62); transform-origin: left; transform: scaleX(.04); transition: transform .35s ease; box-shadow: 0 0 10px var(--acc, #ffcd62); }
/* 11/7: the progressive jackpot on the marquee + the Claw Charge meter on the cabinet's side */
.ccl-jp { position: absolute; z-index: 2; top: 1.2%; left: 50%; transform: translateX(-50%); display: flex; align-items: baseline; gap: 7px; padding: 4px 12px 5px; border-radius: 999px; pointer-events: none;
    background: linear-gradient(180deg, rgba(30,18,4,.92), rgba(12,8,2,.92)); border: 1px solid rgba(255,200,90,.7); box-shadow: 0 0 18px rgba(255,190,70,.45), inset 0 0 10px rgba(255,190,70,.18); }
.ccl-jp small { color: #ffcf6e; font: 700 11px/1 "Barlow Condensed", sans-serif; letter-spacing: .18em; text-transform: uppercase; }
.ccl-jp b { color: #fff3cf; font: 800 20px/1 "Barlow Condensed", Impact, sans-serif; letter-spacing: .03em; text-shadow: 0 0 10px rgba(255,200,90,.8); }
.ccl:not(.ready) .ccl-jp, .ccl:not(.ready) .ccl-charge { opacity: 0; }
.ccl-charge { --k: 0; position: absolute; z-index: 2; left: 2.2%; top: 30%; width: 26px; display: grid; justify-items: center; gap: 4px; pointer-events: auto; transition: opacity .3s; }
.ccl-charge i { position: relative; width: 12px; height: 120px; border-radius: 8px; background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.14); overflow: hidden; box-shadow: inset 0 0 6px rgba(0,0,0,.8); }
.ccl-charge i b { position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--k) * 100%); border-radius: 6px; transition: height .5s ease;
    background: linear-gradient(0deg, #2fd6ff, #8a7bff 60%, #ff7ae0); box-shadow: 0 0 12px rgba(120,200,255,.9); }
.ccl-charge span { color: #e6f6ff; font: 800 13px/1 "Barlow Condensed", sans-serif; text-shadow: 0 0 6px rgba(80,200,255,.9); }
.ccl-charge em { color: #8fb8cc; font: 700 9px/1 "Barlow Condensed", sans-serif; letter-spacing: .14em; text-transform: uppercase; font-style: normal; }
.ccl-charge.full i { border-color: rgba(255,230,120,.9); animation: cclChargeFull 1.1s ease-in-out infinite; }
.ccl-charge.full i b { background: linear-gradient(0deg, #ffb52e, #ffe98a); box-shadow: 0 0 16px rgba(255,210,90,1); }
.ccl-charge.full span { color: #ffe98a; }
@keyframes cclChargeFull { 50% { box-shadow: 0 0 18px rgba(255,210,90,.9); } }
.ccl-free { display: block; margin-top: 6px; color: #9ff0c2; }
/* 11/7: plays left / free grab / Claw Charge by the machine buttons */
.ccl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.ccl-stats[hidden] { display: none; }
.ccl-st { position: relative; padding: 9px 10px 10px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); min-width: 0; overflow: hidden; }
.ccl-st small { display: block; color: #8d94a0; font: 700 11px/1.15 "Barlow Condensed", sans-serif; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccl-st b { display: block; margin-top: 4px; color: #fff; font: 800 19px/1.05 "Barlow Condensed", sans-serif; }
.ccl-st b i { font-style: normal; color: #8d94a0; font-weight: 600; font-size: 14px; }
.ccl-st.on { border-color: rgba(120,230,170,.45); background: rgba(80,200,140,.08); } .ccl-st.on b { color: #9ff0c2; }
.ccl-st-ch u { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); text-decoration: none; overflow: hidden; }
.ccl-st-ch u s { position: absolute; inset: 0 auto 0 0; width: calc(var(--k) * 100%); background: linear-gradient(90deg, #2fd6ff, #8a7bff, #ff7ae0); box-shadow: 0 0 8px rgba(120,200,255,.8); }
.ccl-st-ch.full { border-color: rgba(255,215,110,.6); } .ccl-st-ch.full b { color: #ffe98a; font-size: 16px; } .ccl-st-ch.full u s { background: linear-gradient(90deg, #ffb52e, #ffe98a); }
@media (max-width: 420px) { .ccl-st b { font-size: 16px; } .ccl-st small { font-size: 10px; } }
.ccl-tile-jp { display: inline-block; margin: 6px 0 2px; color: #ffd98a; font: 800 16px/1 "Barlow Condensed", sans-serif; text-shadow: 0 0 10px rgba(255,190,70,.6); }
.ccl-pz-jp { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; animation: cclPop .6s cubic-bezier(.2,1.4,.4,1) both;
    background: radial-gradient(circle at 35% 30%, #fff6cf, #ffc94a 45%, #b0731a 100%); box-shadow: 0 0 0 5px #7a4c12, 0 0 0 8px #ffd86b, 0 0 50px rgba(255,200,80,.8); }
.ccl-pz-jp span { color: #5a3606; font: 800 22px/1 "Barlow Condensed", Impact, sans-serif; letter-spacing: .08em; }
@media (max-width: 700px) { .ccl-charge { top: 24%; } .ccl-charge i { height: 90px; } .ccl-jp b { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .ccl-charge.full i { animation: none; } }
/* touch targets over the 3D controls (positioned by card-claw.js) */
.ccl-hit { position: absolute; z-index: 3; width: 90px; height: 90px; padding: 0 !important; border: 0; border-radius: 50%; background: transparent; cursor: pointer; touch-action: none; -webkit-tap-highlight-color: transparent; opacity: 0; }
.ccl.ready .ccl-hit { opacity: 1; }
.ccl.pop-open .ccl-hit { pointer-events: none; }
.ccl-hit:focus-visible { outline: 1.5px solid color-mix(in srgb, var(--acc) 45%, transparent); outline-offset: 2px; }
.ccl-hit-stick > i { position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--acc) 55%, transparent); opacity: 0; transition: opacity .3s; }
.ccl.live .ccl-hit-stick > i { opacity: .5; animation: cclRing 1.6s ease-in-out infinite; }
@keyframes cclRing { 50% { opacity: .15; transform: scale(1.08); } }
.ccl-snd { position: absolute; right: 10px; bottom: 10px; z-index: 5; width: 34px; height: 34px; padding: 0 !important; display: grid; place-items: center; border-radius: 50%; cursor: pointer;
    background: rgba(8,9,11,.7); border: 1px solid rgba(255,255,255,.16); color: #d4d8df; opacity: 0; transition: opacity .3s; }
.ccl.ready .ccl-snd { opacity: 1; }
.ccl-snd svg { width: 17px; height: 17px; } .ccl-snd.off { color: #7b818b; }
.ccl-msg { position: absolute; left: 50%; top: 14%; z-index: 4; transform: translate(-50%, -6px); padding: 7px 16px; border-radius: 999px; white-space: nowrap; pointer-events: none;
    font: 800 18px/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: rgba(6,7,9,.82); border: 1px solid color-mix(in srgb, var(--acc) 55%, transparent);
    box-shadow: 0 0 18px color-mix(in srgb, var(--acc) 30%, transparent); opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.ccl-msg.show { opacity: 1; transform: translate(-50%, 0); }
.ccl-msg.lose { border-color: rgba(255,90,90,.6); box-shadow: 0 0 18px rgba(255,70,70,.28); }

/* ── win pop-up (over the glass) ── */
.ccl-pop { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 6; display: grid; place-items: center; padding: 12px; border-radius: 6px;
    background: radial-gradient(70% 60% at 50% 45%, rgba(10,11,14,.74), rgba(3,4,5,.93)); opacity: 0; transition: opacity .26s ease; }
.ccl-pop.show { opacity: 1; }
.ccl-pz { position: relative; display: grid; justify-items: center; gap: 4px; width: min(100%, 360px); text-align: center; transform: translateY(18px) scale(.94); transition: transform .45s cubic-bezier(.2,1.3,.4,1); }
.ccl-pop.show .ccl-pz { transform: none; }
.ccl-pz-rays { position: absolute; left: 50%; top: 32%; width: 340px; height: 340px; margin: -170px 0 0 -170px; z-index: -1; border-radius: 50%; pointer-events: none;
    background: repeating-conic-gradient(from 0deg, color-mix(in srgb, var(--acc) 26%, transparent) 0 7deg, transparent 7deg 20deg); -webkit-mask: radial-gradient(closest-side, #000 20%, transparent 100%); mask: radial-gradient(closest-side, #000 20%, transparent 100%);
    animation: cclRays 18s linear infinite; opacity: .8; }
@keyframes cclRays { to { transform: rotate(360deg); } }
.ccl-pz-img { max-width: 72%; max-height: 140px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0,0,0,.6)); animation: cclPop .6s cubic-bezier(.2,1.4,.4,1) both; }
.ccl-pz-img.pack { max-height: 160px; } .ccl-pz-img.cash { max-width: 80%; }
.ccl-pz-pack { width: 92px; animation: cclPop .6s cubic-bezier(.2,1.4,.4,1) both; }
.ccl-pz-pack > * { max-width: 100%; }
.ccl-pz-card { --s: .66; position: relative; width: calc(176px * var(--s)); height: calc(246px * var(--s)); cursor: zoom-in; animation: cclPop .6s cubic-bezier(.2,1.4,.4,1) both; }
.ccl-pz-card .tc-card { position: absolute; left: 0; top: 0; width: 176px; transform: scale(var(--s)); transform-origin: 0 0; }
@keyframes cclPop { from { transform: translateY(40px) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ccl-pz em { margin-top: 8px; font: 700 13px/1 "Barlow Condensed", sans-serif; font-style: normal; letter-spacing: .34em; text-transform: uppercase; color: color-mix(in srgb, var(--acc) 85%, #fff); }
.ccl-pz strong { font: 800 30px/1 "Barlow Condensed", sans-serif; letter-spacing: .03em; text-transform: uppercase; color: #fff; text-shadow: 0 0 22px color-mix(in srgb, var(--acc) 45%, transparent); }
.ccl-pz.big strong { background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--acc) 70%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ccl-pz > span { font: 500 15px/1.2 "Barlow Condensed", sans-serif; color: #aeb5c0; }
.ccl-pz-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.ccl-pz-acts .cx-btn { min-width: 116px; white-space: nowrap; }

/* ── side: machines, plays left, odds ── */
.ccl-side { display: grid; gap: 12px; min-width: 0; position: sticky; top: 84px; }
.ccl-pick { display: grid; gap: 8px; }
.ccl-tier { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "sw txt" "sw top"; align-items: center; column-gap: 12px; row-gap: 2px; padding: 11px 14px !important; border-radius: 12px; text-align: left; cursor: pointer;
    color: #dfe3ea; background: linear-gradient(180deg, #16171b, #0d0e11); border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); transition: border-color .15s, box-shadow .15s; }
.ccl-tier:hover { border-color: rgba(255,255,255,.18); }
.ccl-tier.on { border-color: color-mix(in srgb, var(--acc) 70%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 0 0 1px color-mix(in srgb, var(--acc) 35%, transparent), 0 8px 22px -10px color-mix(in srgb, var(--acc) 55%, transparent); }
.ccl-tier-sw { grid-area: sw; width: 34px; height: 34px; border-radius: 50%; box-shadow: 0 0 0 2px #000, 0 0 0 3px rgba(255,255,255,.18), inset 0 -3px 6px rgba(0,0,0,.4);
    background: radial-gradient(circle at 38% 30%, #fff 0, color-mix(in srgb, var(--acc) 70%, #fff) 14%, var(--acc) 42%, color-mix(in srgb, var(--acc) 45%, #000) 100%); }
.ccl-tier > span { grid-area: txt; display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.ccl-tier b { font: 800 20px/1 "Barlow Condensed", sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.ccl-tier small { font: 600 15px/1 "Barlow Condensed", sans-serif; color: color-mix(in srgb, var(--acc) 75%, #fff); }
.ccl-tier em { grid-area: top; font: 500 13px/1.15 "Barlow Condensed", sans-serif; font-style: normal; color: #8c93a0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ccl-left { margin: 0; font: 500 15px/1.3 "Barlow Condensed", sans-serif; color: #9aa2ae; }
.ccl-left b { color: #fff; }
.ccl-oddsbtn { display: none; }
.ccl-odds ul { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; border-radius: 12px; background: linear-gradient(180deg, #121317, #0b0c0e); border: 1px solid rgba(255,255,255,.07); }
.ccl-odds li { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; padding: 5px 8px; border-radius: 8px; }
.ccl-odds li:nth-child(odd) { background: rgba(255,255,255,.025); }
.ccl-oart { width: 36px; height: 30px; display: grid; place-items: center; }
.ccl-oart img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.ccl-oart.pack img, .ccl-oart.card img { height: 30px; width: auto; }
.ccl-oname { display: grid; gap: 1px; font: 700 15px/1.1 "Barlow Condensed", sans-serif; color: #e6e9ee; min-width: 0; }
.ccl-oname small { font: 500 12px/1.15 "Barlow Condensed", sans-serif; color: #7f8794; }
.ccl-odds li > b { font: 700 15px/1 "Barlow Condensed", sans-serif; color: color-mix(in srgb, var(--acc) 75%, #fff); font-variant-numeric: tabular-nums; }
.ccl-odds li.miss .ccl-oart::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #4a4f58; box-shadow: inset 0 0 0 4px #0b0c0e; background: linear-gradient(45deg, transparent 45%, #4a4f58 45% 55%, transparent 55%); }
.ccl-odds li.miss > b { color: #8c93a0; }
.ccl-odds p { margin: 8px 2px 0; font: 500 13px/1.35 "Barlow Condensed", sans-serif; color: #858c98; }
.ccl-odds p b { color: #d9dde4; }

/* ── narrower screens: one column, machines above the cabinet, odds behind a button ── */
@media (max-width: 960px) {
    .ccl { grid-template-columns: minmax(0, 560px); gap: 12px; }
    .ccl-side { position: static; order: -1; display: contents; }
    .ccl-pick { order: -2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; max-width: 560px; width: 100%; margin: 0 auto; }
    .ccl-tier { grid-template-columns: 1fr; grid-template-areas: "sw" "txt"; justify-items: center; text-align: center; padding: 9px 6px !important; row-gap: 6px; }
    .ccl-tier-sw { width: 22px; height: 22px; }
    .ccl-tier > span { flex-direction: column; align-items: center; gap: 3px; }
    .ccl-tier b { font-size: 17px; } .ccl-tier small { font-size: 14px; } .ccl-tier em { display: none; }
    .ccl-main { order: -1; }
    .ccl-left { text-align: center; max-width: 560px; margin: 4px auto 0; width: 100%; }
    .ccl-oddsbtn { display: block; justify-self: center; padding: 8px 18px !important; border-radius: 999px; cursor: pointer; font: 700 15px/1 "Barlow Condensed", sans-serif; letter-spacing: .1em; text-transform: uppercase;
        color: #dfe3ea; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); }
    .ccl-odds { display: none; max-width: 560px; width: 100%; margin: 0 auto; }
    .ccl.odds-open .ccl-odds { display: block; }
}
@media (max-width: 560px) {
    .ccl-stage { aspect-ratio: 0.68; border-radius: 14px; }
    .ccl-pz strong { font-size: 24px; } .ccl-pz-img { max-height: 100px; } .ccl-pz-img.pack { max-height: 110px; } .ccl-pz-card { --s: .46; } .ccl-pz-pack { width: 66px; }
    .ccl-pz > span { font-size: 13px; } .ccl-pz em { margin-top: 4px; }
    .ccl-pz-acts { margin-top: 6px; gap: 6px; }
    .ccl-pz-acts .cx-btn { min-width: 0; flex: 1 1 40%; padding-left: 8px !important; padding-right: 8px !important; font-size: 14px; }
    .ccl-msg { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .ccl-pz-rays, .ccl.live .ccl-hit-stick > i { animation: none; } }

/* ── Claw Machine tiles (owner 11/5 night): featured cabinet on Minigames, compact tile on Cards → Open → Packs ── */
.ccl-tile { position: relative; display: grid; width: 100%; padding: 0 !important; margin: 0; border-radius: 18px; border: 1px solid rgba(255,176,80,.4); cursor: pointer; text-align: left; text-transform: none; letter-spacing: normal; color: #fff; overflow: hidden;
    background: radial-gradient(80% 120% at 0% 50%, rgba(255,150,60,.2), transparent 65%), linear-gradient(180deg, #17120e, #0c0a09); box-shadow: 0 14px 38px rgba(0,0,0,.45); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.ccl-tile:hover { transform: translateY(-2px); border-color: rgba(255,176,80,.75); box-shadow: 0 18px 46px rgba(0,0,0,.55), 0 0 30px rgba(255,150,60,.18); }
.ccl-tile-txt { display: grid; gap: 5px; min-width: 0; align-content: center; }
.ccl-tile-txt em { font: 800 12px/1 "Barlow Condensed", system-ui, sans-serif; font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: #ffb35c; }
.ccl-tile-txt b { font: 900 30px/1 "Barlow Condensed", system-ui, sans-serif; letter-spacing: .02em; text-transform: uppercase; }
.ccl-tile-txt small { color: #c9bdb2; font-size: 14px; line-height: 1.4; }
.ccl-tile-go { justify-self: start; display: inline-grid; place-items: center; height: 44px; padding: 0 22px; border-radius: 999px; font: 800 17px/1 "Barlow Condensed", system-ui, sans-serif; font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #1c1004; background: linear-gradient(180deg, #ffc46b, #e88a2c); box-shadow: 0 8px 22px rgba(232,138,44,.35); }
/* big: the cabinet render on the left, the pitch on the right */
.ccl-tile-big { grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: 22px; padding: 16px 24px 16px 16px !important; margin-bottom: 18px; }
.ccl-tile-art { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 5; background: #050506; }
.ccl-tile-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.ccl-tile-big .ccl-tile-txt b { font-size: 40px; }
.ccl-tile-big .ccl-tile-txt small { font-size: 15.5px; max-width: 52ch; }
.ccl-tile-big .ccl-tile-go { margin-top: 8px; }
.ccl-tile-prev { position: absolute; right: 14px; top: 12px; font: 700 11px/1 "Barlow Condensed", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #8f8482; }
/* compact: one row */
.tc-claw-slot:empty, .mg-claw-slot:empty { display: none; }
.tc-claw-slot { margin: 0 0 16px; }
.ccl-tile-sm { grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 16px 10px 10px !important; }
.ccl-tile-img { width: 74px; height: 92px; object-fit: cover; object-position: 50% 20%; border-radius: 10px; display: block; background: #050506; }
.ccl-tile-sm .ccl-tile-txt b { font-size: 24px; }
.ccl-tile-sm .ccl-tile-go { height: 40px; padding: 0 18px; font-size: 15px; }
@media (max-width: 640px) {
    .ccl-tile-big { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 12px !important; }
    .ccl-tile-big .ccl-tile-txt b { font-size: 28px; } .ccl-tile-big .ccl-tile-txt small { font-size: 13.5px; }
    .ccl-tile-sm { grid-template-columns: 58px minmax(0, 1fr); } .ccl-tile-img { width: 58px; height: 74px; }
    .ccl-tile-sm .ccl-tile-go { grid-column: 1 / -1; width: 100%; }
    .ccl-tile-prev { position: static; grid-column: 1 / -1; }
}
.mg-t-claw .mg-game.mg-claw { padding: 0; }

/* ── round 6: machine-select tiles (owner 11/6: "the bronze silver gold options look meh. No excitement to it") ── */
.ccl-tier.ccl-mt { --metal: linear-gradient(145deg, #ffd9b8, #c7764a 45%, #6e3a1e); position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; grid-template-areas: none; align-items: center; gap: 12px;
    padding: 10px 12px 10px 10px !important; border-radius: 16px; overflow: hidden; isolation: isolate; text-align: left; cursor: pointer; color: #fff;
    background: radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, var(--acc) 18%, transparent), transparent 60%), linear-gradient(180deg, #17181d, #0d0e11);
    border: 1px solid color-mix(in srgb, var(--acc) 28%, transparent); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.ccl-tier.ccl-mt.t-silver { --metal: linear-gradient(145deg, #ffffff, #b8c4d2 45%, #5d6877); }
.ccl-tier.ccl-mt.t-gold { --metal: linear-gradient(145deg, #fff3c4, #e8b23a 45%, #8a5a12); background: radial-gradient(120% 140% at 0% 50%, rgba(255,196,77,.24), transparent 62%), radial-gradient(80% 120% at 100% 0%, rgba(160,120,255,.16), transparent 60%), linear-gradient(180deg, #1b1710, #0e0c09); }
.ccl-tier.ccl-mt:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--acc) 60%, transparent); }
/* shine sweep on hover */
.ccl-tier.ccl-mt::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%); transform: translateX(-120%); }
.ccl-tier.ccl-mt:hover::after { transition: transform .7s ease; transform: translateX(120%); }
/* selected: a slow light chase around the edge (calm, no flashing) + glow */
.ccl-mt-chase { position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; opacity: 0; background: conic-gradient(from var(--ccl-a, 0deg), transparent 0 70%, var(--acc) 82%, #fff 86%, var(--acc) 90%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .25s; }
@property --ccl-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.ccl-tier.ccl-mt.on { border-color: color-mix(in srgb, var(--acc) 55%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--acc) 35%, transparent), 0 10px 30px color-mix(in srgb, var(--acc) 22%, transparent); }
.ccl-tier.ccl-mt.on .ccl-mt-chase { opacity: 1; animation: cclChase 3.6s linear infinite; }
@keyframes cclChase { to { --ccl-a: 360deg; } }
/* the top prize, on a little lit plinth */
.ccl-mt-art { position: relative; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(closest-side, color-mix(in srgb, var(--acc) 30%, transparent), transparent 75%), #08090b; }
.ccl-mt-art img { max-width: 56px; max-height: 58px; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(0,0,0,.6)); }
.ccl-mt-art.prism::after { content: ""; position: absolute; inset: 6px; border-radius: 8px; mix-blend-mode: color; background: conic-gradient(from 0deg, #ff6bd6, #ffd36a, #7dff9b, #6bd6ff, #b47dff, #ff6bd6); opacity: .85; animation: cclHue 6s linear infinite; }
@keyframes cclHue { to { filter: hue-rotate(360deg); } }
.ccl-mt-txt { display: grid; gap: 4px; min-width: 0; }
.ccl-mt-txt b { font: 900 22px/1 "Barlow Condensed", system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ccl-mt-txt em { font: 600 12px/1.2 "Barlow Condensed", system-ui, sans-serif; font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: #8f96a3; }
.ccl-mt-txt em strong { font-size: 14px; letter-spacing: .02em; color: #e8ebf0; text-transform: none; }
/* the price on a metal coin */
.ccl-mt-coin { display: grid; place-items: center; align-content: center; width: 62px; height: 62px; border-radius: 50%; background: var(--metal); box-shadow: inset 0 0 0 3px rgba(255,255,255,.25), inset 0 -4px 8px rgba(0,0,0,.35), 0 6px 16px rgba(0,0,0,.5); color: #1a1208; }
.ccl-mt-coin i { font: 900 17px/1 "Barlow Condensed", system-ui, sans-serif; font-style: normal; letter-spacing: .02em; }
.ccl-mt-coin small { font: 700 9px/1 "Barlow Condensed", system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; opacity: .75; margin-top: 1px; }
.ccl-tier.ccl-mt.t-gold.on .ccl-mt-coin { box-shadow: inset 0 0 0 3px rgba(255,255,255,.35), inset 0 -4px 8px rgba(0,0,0,.3), 0 0 22px rgba(255,196,77,.45), 0 6px 16px rgba(0,0,0,.5); }
/* the Prismatic Mythic odds row + win pop-up */
.ccl-odds li.o-prism .ccl-oname { background: linear-gradient(90deg, #ff8ae0, #ffe08a, #8affb0, #8ae4ff, #c79bff); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.ccl-odds li.o-prism .ccl-oart { position: relative; } .ccl-odds li.o-prism .ccl-oart::after { content: ""; position: absolute; inset: 2px; border-radius: 4px; mix-blend-mode: color; background: conic-gradient(#ff6bd6, #ffd36a, #7dff9b, #6bd6ff, #b47dff, #ff6bd6); }
.ccl-pz.prism .ccl-pz-rays { background: repeating-conic-gradient(from 0deg, rgba(255,107,214,.35) 0 6deg, transparent 6deg 12deg, rgba(107,214,255,.35) 12deg 18deg, transparent 18deg 24deg); }
.ccl-pz.prism strong { background: linear-gradient(90deg, #ff8ae0, #ffe08a, #8affb0, #8ae4ff, #c79bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (max-width: 900px) {
    .ccl-tier.ccl-mt { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 6px; padding: 10px 6px !important; }
    .ccl-mt-art { width: 52px; height: 52px; } .ccl-mt-art img { max-width: 46px; max-height: 48px; }
    .ccl-mt-txt b { font-size: 18px; } .ccl-mt-txt em { display: none; }
    .ccl-mt-coin { width: 48px; height: 48px; } .ccl-mt-coin i { font-size: 14px; } .ccl-mt-coin small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ccl-tier.ccl-mt.on .ccl-mt-chase, .ccl-mt-art.prism::after { animation: none; } .ccl-tier.ccl-mt:hover::after { transition: none; } }
.ccl-tier.ccl-mt > span { grid-area: auto; flex-direction: initial; gap: 0; } .ccl-tier.ccl-mt > .ccl-mt-chase { position: absolute; display: block; }
.ccl-tier.ccl-mt > .ccl-mt-art { display: grid; } .ccl-tier.ccl-mt > .ccl-mt-txt { display: grid; gap: 4px; } .ccl-tier.ccl-mt > .ccl-mt-coin { display: grid; }
.ccl-tier.ccl-mt .ccl-mt-coin small { color: inherit; } .ccl-tier.ccl-mt em { grid-area: auto; white-space: normal; }
