
.op-play-dialog { position: fixed; inset: 0; box-sizing: border-box; width: min(530px,calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: clamp(15px,4vw,26px); overflow: auto; border: 0; border-radius: 17px; background: #fff; color: #182f45; box-shadow: 0 20px 60px #13233749; }
.op-play-dialog::backdrop { background: #111e2dd0; }
.op-play-dialog header { margin: 3px 28px 18px 0; }
.op-play-dialog h2 { font-size: clamp(1.35rem,5vw,1.75rem); margin: 0 0 4px; }
.op-play-dialog header p { font-size: .9rem; color: #44596b; margin: 0; }
.op-play-close { position: absolute; top: 10px; right: 10px; z-index: 2; display:grid; place-content:center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; font: 24px/1 system-ui; background: #eef2f5; color: #213a50; }
.op-game-menu { display: grid; gap: 8px; }
.op-game-menu > button { width: 100%; display: grid; grid-template-columns: 45px minmax(0,1fr) 22px; align-items: center; gap: 10px; padding: 12px; text-align: start; background: #f5f8fb; color: #182f45; border: 1px solid #e3eaf0; border-radius: 10px; }
.op-game-menu small, .op-credit-activities small { display: block; color: #43596d; }
.op-game-mark { display: inline-block; justify-self:center; width: 32px; height: 30px; }
.op-wheel-mark { border-radius: 50%; border: 2px solid #ef8e50; background: conic-gradient(#b93417 0 60deg,#e49e49 60deg 120deg,#bf331a 120deg 180deg,#e49e49 180deg 240deg,#b2331c 240deg 300deg,#edb262 300deg); }
.op-cup-mark { background: linear-gradient(90deg,#057665,#17ae8f 64%,#035548); clip-path: polygon(22% 5%,78% 5%,100% 93%,0 93%); border-radius: 6px; }
.op-credit-activities { margin-top: 24px; }
.op-credit-activities h3 { font-size: 1rem; }
.op-credit-activities > div { display: flex; align-items:center; justify-content:space-between; gap:8px; padding:9px 0; border-top:1px solid #e3eaf0; }
.op-credit-activities button, .op-play-primary { background: #0b6f60; color: white; border: 0; border-radius: 8px; padding: 8px 14px; min-height: 42px; }
.op-credit-activities button:disabled, .op-play-primary:disabled { opacity:.62; }
.op-play-feedback { font-size:.86rem; }
.op-play-feedback:empty { display:none; }
.op-cups-board { position: relative; min-height: clamp(132px,34vw,170px); overflow: hidden; border-radius: 14px; background: linear-gradient(#ebf1f4,#f5f8f9 66%,#e1edf0 66%,#f1f5f6); }
.op-cup { position: absolute; left: calc(var(--slot) * 25% + 1%); top: 7%; display: grid; place-items: center; grid-template-rows: 1fr auto; width: 23%; height: 85%; padding: 14% 0 0; box-sizing:border-box; border: 1px solid transparent; border-radius: 12px; background: transparent; color: #223c53; transition: left var(--speed,450ms) ease-in-out; }
.op-cup:disabled { opacity: 1; cursor: default; }
.op-cup:not(:disabled):hover, .op-cup.op-is-choice { border-color: #6f9184; background:#fbffff66; }
.op-cup:focus-visible { outline: 2px solid #084d77; outline-offset: -3px; }
.op-cup[data-color=coral] { --rim:#fe806a; --cup:#db4f43; --side:#8e2a24; }
.op-cup[data-color=blue] { --rim:#60c7f9; --cup:#1986cb; --side:#135a96; }
.op-cup[data-color=green] { --rim:#5ad9af; --cup:#119675; --side:#095745; }
.op-cup[data-color=gold] { --rim:#ffca63; --cup:#db881b; --side:#84530c; }
.op-cup-shape { position:absolute; width: 81%; height:54%; bottom:28%; border-radius:35% 35% 16% 16% / 13% 13% 8% 8%; clip-path:polygon(16% 0,84% 0,100% 94%,96% 100%,4% 100%,0 94%); background: linear-gradient(180deg,var(--rim) 0 8%,transparent 13% 88%,#0004 96% 100%),linear-gradient(90deg,var(--side),var(--cup) 30%,var(--rim) 44%,var(--cup) 66%,var(--side)); transition: transform .3s ease; }
.op-cup-caption { position:absolute; bottom:5%; font-size:clamp(.69rem,2.8vw,.82rem); font-weight:600; }
.op-cup-gift { position:absolute; width:26%; aspect-ratio:1; bottom:25%; border-radius:3px; background:linear-gradient(90deg,#b84067 0 42%,#ffe098 42% 60%,#b84067 60%); opacity:0; }
.op-cup-gift i { position:absolute; inset:38% 0 auto; height:18%; background:#ffe098; }
.op-cup.op-is-revealed .op-cup-shape { transform: translateY(-43%) rotate(-8deg); }
.op-cup.op-is-revealed .op-cup-gift { opacity:1; }
.op-cups-dialog .op-play-primary { display:block; width:100%; margin-top:14px; }
.op-cups-dialog .op-play-primary[hidden], .op-cup-result[hidden], .op-cup-result [hidden], .op-reward-entry form[hidden] { display:none; }
.op-cup-result { margin-top:12px; padding:12px; border:1px solid #d8e7e3; border-radius:10px; background:#f1f9f6; overflow-wrap:anywhere; }
.op-cup-result h3, .op-cup-result p { margin: 0 0 5px; }
.op-cup-result p:empty { display:none; }
.op-cup-result > div { display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:7px; }
[data-op-cup-timer], [data-op-reward-expires] { font-variant-numeric: tabular-nums; font-weight: 700; color:#873b1a; }
@media (prefers-reduced-motion: reduce) { .op-cup, .op-cup-shape { transition:none; } }

