/* Home extras: free case + weekly rating cards, the free case sheet, the rating screen. */
.hx-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.hx { position: relative; min-width: 0; padding: 8px 8px 10px; border-radius: var(--r-card); background: var(--s1); display: grid; gap: 2px; text-align: left; }
.hx-art { position: relative; display: block; height: 76px; margin-bottom: 6px; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 -14px 20px rgba(0,0,0,.22); }
.hx-case .hx-art { background: radial-gradient(90% 95% at 50% 26%, #ff6aa9, #6d1546); }
.hx-rate .hx-art { background: radial-gradient(90% 95% at 50% 26%, #ffb648, #7a3a00); }
.hx-art img { position: absolute; filter: drop-shadow(0 6px 8px rgba(0,0,0,.45)); }
.hx-case .hx-art .c { width: 60px; height: 60px; left: 50%; top: 9px; margin-left: -30px; }
.hx-case .hx-art .l, .hx-case .hx-art .r { width: 40px; height: 40px; top: 26px; }
.hx-case .hx-art .l { left: 10%; transform: rotate(-14deg); }
.hx-case .hx-art .r { right: 10%; transform: rotate(14deg); }
.hx-rate .hx-art { display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 0 12px; }
.pd { position: relative; flex: 1; max-width: 42px; display: grid; justify-items: center; }
.pd img { position: static; width: 36px; height: 36px; margin-bottom: -2px; }
.pd.p1 img { width: 44px; height: 44px; }
.pd i { width: 100%; display: grid; place-items: center; border-radius: 8px 8px 0 0; background: rgba(255,255,255,.2); font-style: normal; font-size: 11px; font-weight: 900; color: #fff; }
.pd.p1 i { height: 24px; background: rgba(255,234,170,.38); }
.pd.p2 i { height: 16px; }
.pd.p3 i { height: 11px; font-size: 9px; }
.hx-t { font-size: 15px; font-weight: 800; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-s { font-size: 12px; font-weight: 600; color: var(--fg2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-cta { margin-top: 8px; height: 34px; border-radius: 17px; background: var(--s3); display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.hx-cta.go { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 18px rgba(212,255,58,.22); }
.hx-cta b { font-weight: 900; }
.hx:active { transform: scale(.97); }
.lobby-promo { margin-top: 18px; }

/* free case sheet */
.fc-stage { margin: 0 -16px; padding: 10px 0; background: radial-gradient(80% 90% at 50% 50%, rgba(255,106,169,.22), transparent 72%); }
.fc-res { min-height: 20px; margin-top: -4px; text-align: center; font-size: 14px; font-weight: 700; color: var(--fg2); }
.fc-res b { color: var(--fg); }
.fc-open { width: 100%; }
.fc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* rating screen */
.rt-hero { padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 12px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(255,182,72,.2), transparent 62%), var(--s1); }
.rt-hero small { display: block; font-size: 12px; font-weight: 700; color: var(--fg2); margin-bottom: 2px; }
.rt-hero b { font-size: 24px; font-weight: 900; letter-spacing: -.3px; display: inline-flex; align-items: center; gap: 5px; }
.rt-hero b .coin { width: 22px; height: 22px; }
.rt-timer { text-align: right; }
.rt-timer b { font-size: 16px; }
.rt-hero p { grid-column: 1 / -1; margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--fg2); }
.rt-podium { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; margin: 18px 0 14px; }
.pod { position: relative; min-width: 0; padding: 14px 6px 10px; border-radius: 16px; display: grid; justify-items: center; gap: 3px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--mc) 24%, var(--s1)), var(--s1) 78%); box-shadow: inset 0 2px 0 var(--mc); }
.pod.p1 { padding-top: 24px; }
.pod .md { position: absolute; top: 46px; left: 50%; margin-left: 12px; width: 20px; height: 20px; border-radius: 10px; background: var(--mc); color: #0b0c10; font-size: 11px; font-weight: 900; font-style: normal; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--s1); }
.pod.p1 .md { top: 62px; margin-left: 16px; }
.pod .nm { max-width: 100%; margin-top: 4px; font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod .pts { font-size: 12px; font-weight: 700; color: var(--fg2); }
.pod .pz { margin-top: 2px; height: 30px; padding: 0 8px 0 4px; border-radius: 15px; background: rgba(0,0,0,.28); display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 800; }
.pod .pz img { width: 26px; height: 26px; }
.av { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--ac); color: #fff; font-size: 13px; font-weight: 900; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.av.lg { width: 44px; height: 44px; font-size: 17px; box-shadow: 0 0 0 2px var(--mc), inset 0 -3px 0 rgba(0,0,0,.18); }
.pod.p1 .av.lg { width: 58px; height: 58px; font-size: 22px; }
.av.me { background: var(--accent); color: var(--on-accent); font-size: 11px; }
.rt-head, .rt-row { display: grid; grid-template-columns: 34px 32px minmax(0, 1fr) 58px 74px; align-items: center; gap: 8px; padding: 0 12px; }
.rt-head { height: 36px; font-size: 12px; font-weight: 700; color: var(--fg3); }
.rt-head span:nth-child(2) { grid-column: span 2; }
.rt-head span:nth-child(n+3), .rt-row .pts, .rt-row .pz { text-align: right; justify-content: flex-end; }
.rt-list { display: grid; gap: 4px; }
.rt-row { height: 50px; border-radius: 12px; background: var(--s1); font-size: 14px; }
.rt-row .rk { font-weight: 800; color: var(--fg3); text-align: center; }
.rt-row .nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-row .pts { font-size: 13px; font-weight: 800; color: var(--fg2); }
.rt-row .pz { display: flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.rt-row .pz img { width: 26px; height: 26px; }
.rt-more { padding: 12px 0 4px; text-align: center; font-size: 13px; font-weight: 700; color: var(--fg3); }
.rt-me { margin-bottom: 8px; padding: 10px 0 12px; border-radius: 14px; display: grid; gap: 8px;
  background: #23263a; box-shadow: inset 0 0 0 1.5px var(--accent), 0 12px 30px rgba(0,0,0,.55); }
.rt-me .rt-row { height: 36px; background: transparent; }
.rt-me .rt-row .rk { color: var(--accent); }
.rt-me .bar, .rt-me .vip-row { margin: 0 12px; }
.tk-rate { width: 100%; text-align: left; }
