/* 30th Celebration event (c30.js): Today card row, the qualify moment, the premium box's promos and coin. */
.c30-row { display:flex; align-items:center; gap:12px; margin:4px 0 12px; padding:10px 12px; border-radius:14px;
  background:linear-gradient(135deg, rgba(126,92,230,.22), rgba(255,196,40,.16)); border:1px solid rgba(255,214,90,.35); }
.c30-row.ready { border-color:rgba(255,214,90,.7); box-shadow:0 0 0 2px rgba(255,214,90,.18), 0 6px 22px rgba(255,196,40,.18); }
.c30-row.done { background:rgba(255,255,255,.04); border-color:var(--line, rgba(255,255,255,.12)); }
.c30-art { flex:none; width:64px; height:auto; filter:drop-shadow(0 4px 8px rgba(0,0,0,.4)); }
.c30-coin { flex:none; width:44px; height:44px; }
.c30-tx { display:flex; flex-direction:column; gap:4px; min-width:0; flex:1; }
.c30-tx b { font-size:14.5px; color:inherit; }
.c30-row { color:#f3f1ff; }
.c30-tx small { font-size:12.5px; line-height:1.4; color:var(--muted, #aab); }
.c30-dots { display:flex; gap:5px; }
.c30-dots i { width:14px; height:14px; border-radius:50%; border:2px solid rgba(255,214,90,.55); background:transparent; }
.c30-dots i.on { background:#ffd54a; border-color:#ffd54a; box-shadow:0 0 6px rgba(255,213,74,.6); }
.c30-dots i.now { border-style:dashed; }
.c30-go { flex:none; }
.c30-test { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:-6px 0 12px; font-size:11.5px; color:var(--muted, #aab); }
.c30-test button { font:inherit; font-size:11.5px; padding:3px 9px; border-radius:999px; border:1px dashed rgba(255,214,90,.5); background:transparent; color:inherit; cursor:pointer; }

.c30-ov { position:fixed; inset:0; z-index:9000; display:flex; align-items:center; justify-content:center; padding:16px;
  padding-left:max(16px, env(safe-area-inset-left, 0px)); padding-right:max(16px, env(safe-area-inset-right, 0px));
  background:rgba(6,8,22,.78); opacity:0; transition:opacity .2s ease; }
.c30-ov.show { opacity:1; }
.c30-box { position:relative; width:min(560px, 100%); max-height:calc(100vh - 32px); overflow:auto; text-align:center; padding:26px 22px 20px; border-radius:20px;
  background:linear-gradient(180deg, #1d1b45, #121433); border:1px solid rgba(255,214,90,.45); box-shadow:0 30px 80px rgba(0,0,0,.6); outline:none;
  transform:scale(.94); transition:transform .25s cubic-bezier(.2,1.4,.4,1); }
.c30-ov.show .c30-box { transform:none; }
.c30-burst { position:absolute; inset:-40% -20% auto; height:260px; background:radial-gradient(circle at 50% 70%, rgba(255,213,74,.35), transparent 60%); pointer-events:none; }
.c30-kick { position:relative; font-size:11.5px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#ffd54a; }
.c30-h { position:relative; margin:6px 0 6px; font-size:22px; line-height:1.2; text-wrap:balance; color:#fff; }
.c30-p { position:relative; margin:0 auto 16px; max-width:42ch; font-size:14.5px; line-height:1.5; color:#cfd3ef; }
.c30-picks { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:16px; }
.c30-pick { display:flex; flex-direction:column; align-items:center; gap:4px; padding:10px 8px 12px; border-radius:16px; cursor:pointer; font:inherit; color:#fff;
  background:rgba(255,255,255,.05); border:2px solid rgba(255,255,255,.14); transition:border-color .15s ease, transform .15s ease; }
.c30-pick:hover { transform:translateY(-2px); }
.c30-pick.on { border-color:#ffd54a; background:rgba(255,213,74,.12); }
.c30-pick img { width:100%; height:auto; }
.c30-pick b { font-size:16px; } .c30-pick small { font-size:12px; color:#b9bedd; }
.c30-acts { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.c30-acts .deal-btn[disabled] { opacity:.45; cursor:not-allowed; }
.c30-fine { margin:12px 0 0; font-size:12px; color:#9aa0c4; }
@media (max-width:420px) { .c30-h { font-size:19px; } .c30-picks { gap:8px; } .c30-pick small { font-size:11px; } }

/* inside the box opening */
.ub-promos { display:flex; gap:12px; align-items:center; justify-content:center; flex-wrap:wrap; }
.ub-promos .card { width:140px; opacity:1; transform:none; }
.ub-promos .card-acts { display:none; }
.ub-coin { display:flex; flex-direction:column; align-items:center; gap:6px; font-size:12px; font-weight:700; color:var(--muted, #aab); }
.ub-coin img { width:96px; height:96px; filter:drop-shadow(0 6px 12px rgba(0,0,0,.5)); animation:c30spin 3.2s ease-in-out infinite; }
@keyframes c30spin { 0%, 100% { transform:perspective(400px) rotateY(-22deg); } 50% { transform:perspective(400px) rotateY(22deg); } }
@media (prefers-reduced-motion:reduce) { .ub-coin img { animation:none; } }
.c30-duo { position:relative; display:flex; justify-content:center; gap:4px; margin:4px 0 10px; }
.c30-duo img { width:48%; max-width:220px; height:auto; filter:drop-shadow(0 8px 16px rgba(0,0,0,.45)); }
.c30-duo img:first-child { transform:rotate(-4deg); } .c30-duo img:last-child { transform:rotate(4deg); }
.c30-steps { position:relative; list-style:none; display:flex; gap:8px; justify-content:center; flex-wrap:wrap; margin:0 0 12px; padding:0; }
.c30-steps li { display:flex; align-items:center; gap:7px; padding:6px 11px 6px 6px; border-radius:999px; background:rgba(255,255,255,.06); font-size:13px; color:#e4e6fb; }
.c30-steps li b { display:inline-grid; place-items:center; width:22px; height:22px; border-radius:50%; background:#ffd54a; color:#2a1d00; font-size:12px; }

/* the premium box waits big on screen until tapped (app.js runEtbCinematic) */
.ub-box.ub-box-upc { width:min(360px, 86vw); height:min(270px, 64vw); }
.ub-box.ub-tap { cursor:pointer; animation:c30bob 1.8s ease-in-out infinite; filter:drop-shadow(0 0 22px rgba(255,213,74,.35)); }
@keyframes c30bob { 0%, 100% { transform:translateY(0) rotate(-1deg); } 50% { transform:translateY(-6px) rotate(1deg); } }
.ub-taphint { width:100%; text-align:center; font-weight:800; font-size:14px; letter-spacing:.04em; color:#ffd54a; animation:c30pulse 1.4s ease-in-out infinite; }
@keyframes c30pulse { 50% { opacity:.45; } }
@media (prefers-reduced-motion:reduce) { .ub-box.ub-tap, .ub-taphint { animation:none; } }

/* Trophy Room: the Collectibles shelf */
.tr-coins { margin:16px 0 4px; text-align:center; }
.tr-coins-row { display:flex; justify-content:center; gap:22px; flex-wrap:wrap; padding:6px 0 14px; }
.tr-coin { display:flex; flex-direction:column; align-items:center; gap:5px; max-width:130px; }
.tr-coin img { width:88px; height:88px; filter:drop-shadow(0 6px 12px rgba(0,0,0,.5)); animation:c30spin 3.4s ease-in-out infinite; }
.tr-coin b { font-size:13px; } .tr-coin small { font-size:11.5px; opacity:.7; line-height:1.3; }
.tr-coin.missing { opacity:.6; }
.tr-coin-ghost { width:88px; height:88px; border-radius:50%; border:2px dashed currentColor; opacity:.5; }
@media (prefers-reduced-motion:reduce) { .tr-coin img { animation:none; } }
.c30-picks.one { grid-template-columns:minmax(0, 260px); justify-content:center; }
.c30-pick[disabled] { cursor:default; opacity:1; }
.c30-row .c30-coin + .c30-coin { margin-left:-14px; }
.c30-hide { flex:none; align-self:flex-start; font:inherit; font-size:11.5px; padding:2px 8px; border-radius:999px; border:1px solid rgba(255,255,255,.18); background:transparent; color:inherit; opacity:.7; cursor:pointer; }
.c30-hide:hover { opacity:1; }
.c30-stop { display:block; margin:10px auto 0; font:inherit; font-size:12.5px; background:none; border:0; color:#b9bedd; text-decoration:underline; cursor:pointer; }
/* Nov 18: in the narrow desktop sidebar, stack the row (box on top, text full width) instead of squeezing the text */
.t3-body { container-type:inline-size; }
@container (max-width: 340px) {
  .c30-row { flex-wrap:wrap; position:relative; padding:12px; }
  .c30-art { width:96px; }
  .c30-tx { flex:1 1 100%; }
  .c30-dots { flex-wrap:wrap; gap:4px; }
  .c30-dots i { width:12px; height:12px; }
  .c30-hide { position:absolute; top:10px; right:10px; }
}
/* Nov 18: room above the buttons; no sideways scrollbar */
.c30-box { overflow-x:hidden; }
.c30-acts { margin-top:18px; flex-wrap:wrap; }
