/* roulette page styles; original rule order is preserved. */
#cursor { position:fixed; pointer-events:none; z-index:999999; top:0; left:0; transform:translate(-50%,-50%); transition:transform 0.08s ease; }

@keyframes ringPulse { 0%,100%{box-shadow:0 0 0 0 rgba(249,168,201,0.3);} 50%{box-shadow:0 0 0 8px rgba(249,168,201,0);} }

body {
  min-height:100vh;
  background:#07040f;
  font-family:'Zen Maru Gothic', sans-serif;
  overflow-x:hidden;
  position:relative;
}

.page-header {
  position:relative; z-index:10;
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 28px 0;
  max-width:980px; margin:0 auto;
  opacity:0;
  animation:headerReveal 0.7s 2.05s cubic-bezier(.16,1,.3,1) both;
}

@keyframes headerReveal {
  from { opacity:0; transform:translateY(-12px); }
  to   { opacity:1; transform:translateY(0); }
}

.page-header-brand {
  display:flex; align-items:center; gap:10px;
  font-family:'Pacifico', cursive;
  font-size:20px; color:#ede8ff;
  text-shadow:0 0 18px rgba(200,160,255,0.45);
  text-decoration:none;
}

.page-header-brand span { font-size:13px; font-weight:900; letter-spacing:3px; text-transform:uppercase; color:rgba(249,168,201,0.7); font-family:'Zen Maru Gothic',sans-serif; }

.page-header-back {
  display:flex; align-items:center; gap:6px;
  font-size:11px; font-weight:900; letter-spacing:2px; text-transform:uppercase;
  color:rgba(249,168,201,0.65);
  text-decoration:none;
  padding:7px 14px; border-radius:999px;
  border:1px solid rgba(249,168,201,0.18);
  background:rgba(249,168,201,0.06);
  transition:background 0.2s, color 0.2s, border-color 0.2s;
}

.back-coffee-icon { flex-shrink:0; }

.page-header-back:hover { background:rgba(249,168,201,0.13); color:#f9a8c9; border-color:rgba(249,168,201,0.35); }

.roulette-page {
  position:relative; z-index:1;
  max-width:980px; margin:0 auto;
  padding:22px 20px 40px;
}

.roulette-page-head {
  text-align:center;
  margin-bottom:22px;
  opacity:0;
  animation:headReveal 0.7s 2.15s cubic-bezier(.16,1,.3,1) both;
}

@keyframes headReveal {
  from { opacity:0; transform:translateY(14px); filter:blur(6px); }
  to   { opacity:1; transform:translateY(0); filter:blur(0); }
}

.roulette-page-kicker {
  font-size:9px; font-weight:900; letter-spacing:5px; text-transform:uppercase;
  color:rgba(249,168,201,0.76); margin-bottom:7px;
}

.roulette-page-title {
  font-family:'Pacifico', cursive;
  font-size:clamp(26px, 5vw, 38px);
  color:#f0ecff;
  text-shadow:0 0 28px rgba(200,160,255,0.4), 0 2px 4px rgba(0,0,0,0.4);
  letter-spacing:1px;
}

.roulette-page-sub {
  margin-top:8px;
  font-size:12px; font-weight:700; color:rgba(210,200,240,0.5);
  letter-spacing:0.5px;
}

.roulette-cards-page {
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:14px;
  align-items:stretch;
}

.roulette-card {
  position:relative;
  border-radius:18px;
  padding:18px 18px 16px;
  text-align:center;
  overflow:hidden;
  transform:translateY(16px) scale(0.97);
  opacity:0;
  animation:rouletteCardIn 0.45s cubic-bezier(.34,1.56,.64,1) forwards;
  box-shadow:0 12px 30px rgba(0,0,0,0.24), inset 0 1px 0 rgba(255,255,255,0.07);
  background:
    radial-gradient(circle at 50% 10%, rgba(200,192,255,0.21), transparent 40%),
    linear-gradient(145deg,#211b45 0%,#171330 56%,#120f25 100%);
  border:1px solid rgba(200,192,255,0.34);
}

.roulette-card::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,0.06), transparent 46%);
  pointer-events:none; z-index:0;
}

@keyframes rouletteCardIn { to { opacity:1; transform:translateY(0) scale(1); } }

.modal-glow {
  position:absolute; inset:-40px;
  border-radius:50%; opacity:0.14; pointer-events:none;
  animation:modalGlowPulse 2s ease-in-out infinite;
}

@keyframes modalGlowPulse { 0%,100%{opacity:0.10;} 50%{opacity:0.20;} }

.rarity-star-img {
  position:relative; z-index:1;
  display:block; width:72px; height:72px;
  margin:-3px auto 6px;
  object-fit:contain; user-select:none; pointer-events:none;
  animation:rarityStarFloat 3.3s ease-in-out infinite;
  translate:var(--star-shift-x, 0%) var(--star-shift-y, 0%);
}

.roulette-card[data-rarity="common"] .rarity-star-img    { filter:drop-shadow(0 0 11px rgba(150,165,255,0.72)) drop-shadow(0 0 24px rgba(255,255,255,0.12)); }

.roulette-card[data-rarity="uncommon"] .rarity-star-img  { filter:drop-shadow(0 0 11px rgba(255,145,202,0.72)) drop-shadow(0 0 24px rgba(255,255,255,0.12)); }

.roulette-card[data-rarity="rare"] .rarity-star-img      { filter:drop-shadow(0 0 11px rgba(130,120,255,0.74)) drop-shadow(0 0 24px rgba(255,255,255,0.12)); }

.roulette-card[data-rarity="epic"] .rarity-star-img      { filter:drop-shadow(0 0 12px rgba(255,198,112,0.74)) drop-shadow(0 0 24px rgba(255,255,255,0.12)); }

.roulette-card[data-rarity="legend"] .rarity-star-img    { filter:drop-shadow(0 0 12px rgba(214,176,255,0.78)) drop-shadow(0 0 24px rgba(255,255,255,0.12)); }

.roulette-card[data-rarity="artifact"] .rarity-star-img  { filter:drop-shadow(0 0 12px rgba(132,255,220,0.74)) drop-shadow(0 0 24px rgba(255,255,255,0.12)); }

.roulette-card[data-rarity="common"] { --star-shift-x:.2%; --star-shift-y:6%; }

.roulette-card[data-rarity="uncommon"] { --star-shift-x:-.8%; --star-shift-y:1.5%; }

.roulette-card[data-rarity="rare"] { --star-shift-x:.2%; --star-shift-y:-4.1%; }

.roulette-card[data-rarity="epic"] { --star-shift-x:3.9%; --star-shift-y:5.3%; }

.roulette-card[data-rarity="legend"] { --star-shift-x:3.3%; --star-shift-y:1.7%; }

.roulette-card[data-rarity="artifact"] { --star-shift-x:3.4%; --star-shift-y:-4%; }

@keyframes rarityStarFloat {
  0%,100%{ transform:translateY(0) rotate(-2deg) scale(1); }
  50%    { transform:translateY(-3px) rotate(2deg) scale(1.04); }
}

.modal-title {
  position:relative; z-index:1;
  font-family:'Pacifico',cursive; font-size:19px; color:#f0ecff; margin-bottom:2px;
  text-shadow:0 0 14px rgba(200,160,255,0.22);
}

.modal-percent {
  position:relative; z-index:1;
  font-size:11px; opacity:0.58; font-weight:700; margin-bottom:10px;
  letter-spacing:1px; color:rgba(240,236,255,0.85);
}

.modal-divider {
  position:relative; z-index:1; height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,0.14),transparent);
  margin-bottom:10px;
}

.modal-rewards {
  position:relative; z-index:1;
  list-style:none; text-align:left;
  display:flex; flex-direction:column; gap:5px;
}

.modal-rewards li {
  display:flex; align-items:flex-start; gap:9px;
  font-size:11.5px; color:rgba(224,216,255,0.86); font-weight:700; line-height:1.28;
}

.modal-rewards li::before { content:"\2726"; font-size:9px; margin-top:2px; flex-shrink:0; opacity:0.68; color:var(--rarity-color); }

.page-footer-link {
  text-align:center;
  margin-top:32px;
  opacity:0;
  animation:headReveal 0.7s 2.6s cubic-bezier(.16,1,.3,1) both;
}

.page-footer-link a {
  display:inline-flex; align-items:center; gap:7px;
  font-size:11px; font-weight:900; letter-spacing:2px; text-transform:uppercase;
  color:rgba(249,168,201,0.65); text-decoration:none;
  padding:9px 20px; border-radius:999px;
  border:1px solid rgba(249,168,201,0.18);
  background:rgba(249,168,201,0.06);
  transition:background 0.2s, color 0.2s, border-color 0.2s;
}

.page-footer-link a:hover { background:rgba(249,168,201,0.13); color:#f9a8c9; border-color:rgba(249,168,201,0.35); }

#page-intro {
  display:none;
  position:fixed; inset:0; z-index:999990;
  align-items:center; justify-content:center;
  overflow:hidden; pointer-events:all;
  background:
    radial-gradient(circle at 50% 38%, rgba(249,168,201,0.20) 0%, rgba(249,168,201,0.07) 20%, transparent 46%),
    radial-gradient(circle at 28% 20%, rgba(170,140,255,0.25) 0%, transparent 36%),
    radial-gradient(circle at 74% 78%, rgba(120,210,255,0.16) 0%, transparent 38%),
    linear-gradient(145deg, #07040f 0%, #120a24 48%, #080411 100%);
  color:#f7f0ff; isolation:isolate;
}

.intro-orbit {
  position:absolute; width:clamp(230px,42vw,620px); aspect-ratio:1;
  border-radius:50%; border:1px solid rgba(249,168,201,0.20);
  box-shadow:0 0 60px rgba(201,184,240,0.12), inset 0 0 40px rgba(255,255,255,0.035);
  opacity:0.58; animation:introOrbitSpin 9s linear infinite;
}

.intro-card {
  position:relative; z-index:2;
  width:min(440px, calc(100vw - 42px));
  padding:38px 34px 32px; text-align:center; border-radius:30px;
  background:linear-gradient(180deg, rgba(255,255,255,0.13), rgba(255,255,255,0.04)), rgba(18,10,36,0.72);
  border:1px solid rgba(255,255,255,0.16);
  box-shadow:0 36px 110px rgba(0,0,0,0.48), 0 0 0 1px rgba(249,168,201,0.08), inset 0 1px 0 rgba(255,255,255,0.14);
  backdrop-filter:blur(18px); transform-origin:center;
  animation:introCardIn 0.82s 0.12s cubic-bezier(.16,1,.3,1) both, introCardOut 0.62s 1.28s cubic-bezier(.64,0,.78,0) forwards;
}

.intro-logo { font-family:'Pacifico',cursive; font-size:clamp(32px,7vw,50px); line-height:1.05; color:#fff7ff; text-shadow:0 0 26px rgba(249,168,201,0.42), 0 0 48px rgba(201,184,240,0.26); }

.intro-sub { font-size:13px; font-weight:700; color:rgba(210,200,240,0.6); margin-top:6px; }

.intro-kicker { font-size:9px; font-weight:900; letter-spacing:5px; text-transform:uppercase; color:rgba(249,168,201,0.78); margin-bottom:6px; }

html.has-intro body:not(.page-ready) #starfield,
html.has-intro body:not(.page-ready) .glow,
html.has-intro body:not(.page-ready) .roulette-page,
html.has-intro body:not(.page-ready) .page-header { opacity:0; }

@keyframes introAuroraSpin { from{transform:rotate(0deg) scale(1);} 50%{transform:rotate(180deg) scale(1.07);} to{transform:rotate(360deg) scale(1);} }

@keyframes introGridDrift  { from{transform:translate3d(-10px,-8px,0); opacity:0.48;} to{transform:translate3d(10px,8px,0); opacity:0.80;} }

@keyframes introOrbitSpin  { to{transform:rotate(360deg);} }

@keyframes introCardIn     { 0%{opacity:0;transform:translateY(22px) scale(0.92);filter:blur(12px);} 62%{opacity:1;transform:translateY(-5px) scale(1.018);filter:blur(0);} 100%{opacity:1;transform:translateY(0) scale(1);filter:blur(0);} }

@keyframes introCardOut    { 0%,64%{opacity:1;transform:translateY(0) scale(1);filter:blur(0);} 100%{opacity:0;transform:translateY(-24px) scale(0.94);filter:blur(10px);} }

@keyframes introLoad       { 0%{transform:scaleX(0);} 72%{transform:scaleX(0.82);} 100%{transform:scaleX(1);} }

@keyframes introSparkFloat { 0%,100%{opacity:0.35;transform:translateY(0) scale(0.92) rotate(-6deg);} 50%{opacity:1;transform:translateY(-16px) scale(1.18) rotate(8deg);} }

@keyframes introVanish     { 0%,38%{opacity:1;clip-path:circle(155% at 50% 50%);filter:blur(0) saturate(1);} 100%{opacity:0;clip-path:circle(0% at 50% 50%);filter:blur(22px) saturate(1.45);} }

@keyframes skyReveal       { from{opacity:0;filter:blur(12px) brightness(0.7);transform:scale(1.035);} to{opacity:1;filter:blur(0) brightness(1);transform:scale(1);} }

@keyframes glowWake        { from{opacity:0;transform:translateY(18px) scale(0.86);filter:blur(120px);} to{opacity:1;transform:translateY(0) scale(1);filter:blur(90px);} }

@media (max-width:760px) {
.roulette-cards-page { grid-template-columns:1fr 1fr; gap:10px; }

.roulette-page { padding:16px 14px 32px; }

.page-header { padding:14px 16px 0; }
}

@media (max-width:500px) {
.roulette-cards-page { grid-template-columns:1fr; gap:10px; }

.rarity-star-img { width:60px; height:60px; }

#cursor, #cursor-trail, #cursor-ring { display:none !important; }

* { cursor:auto !important; }
}

@media (prefers-reduced-motion:reduce) {
html.has-intro #page-intro { display:none !important; }

html.has-intro body { overflow:auto; }
}

html { background:#07040f; }

@media (prefers-reduced-motion:reduce) {
html::after { transition:none; }
}

.roulette-page-head { position:relative; isolation:isolate; max-width:720px; margin:0 auto 26px; padding:8px 16px 12px; }

.roulette-page-head::before { content:''; position:absolute; z-index:-1; inset:10% 5% 0; background:radial-gradient(ellipse at center,#b38bd518,transparent 70%); pointer-events:none; }

.roulette-page-head::after { content:''; display:block; width:180px; height:1px; margin:18px auto 0; background:linear-gradient(90deg,transparent,#d7aed866,transparent); }

.roulette-page-title { font-weight:400; letter-spacing:normal; }

.roulette-hero-ornament { display:flex; align-items:center; justify-content:center; gap:18px; color:#d8b0cf; margin:0 auto 6px; }

.roulette-hero-ornament span { width:64px; height:1px; background:linear-gradient(90deg,transparent,#d8b0cf70); }

.roulette-hero-ornament span:last-child { transform:rotate(180deg); }

.roulette-card {
  border-radius:24px;
  padding:22px 20px 20px;
  background:linear-gradient(135deg,#302441e8,#181226ef);
  border:1px solid #bda3e335;
  box-shadow:0 6px 20px #07040f14;
  transition:border-color .3s ease,box-shadow .3s ease;
}

.roulette-card::before { background:#c6a9f0; opacity:0; transition:opacity .3s ease; }

.roulette-card .modal-glow { opacity:.045; animation:none; }

.roulette-card .modal-title { color:#ede8ff; font-size:21px; font-weight:400; text-shadow:none; margin-bottom:8px; }

.roulette-card .modal-percent { display:inline-block; padding:5px 11px; border:1px solid #c8b2ec23; border-radius:999px; background:#c6a9f00b; color:#bcb0d0; opacity:1; font-size:10px; letter-spacing:.4px; margin-bottom:14px; }

.roulette-card .modal-divider { background:linear-gradient(90deg,transparent,#c8b2ec23,transparent); margin-bottom:14px; }

.roulette-card .modal-rewards { gap:7px; }

.roulette-card .modal-rewards li { color:#d3c4e7; line-height:1.45; }

.roulette-card .modal-rewards li::before { color:#edbdd9; opacity:.65; }

@media (hover:hover) {
.roulette-card:hover { border-color:#c8b2ec66; box-shadow:0 8px 24px #07040f26; }

.roulette-card:hover::before { opacity:.045; }
}

@media(max-width:560px) {
.roulette-card { padding:18px 15px; border-radius:20px; }
}

@media(prefers-reduced-motion:reduce) {
.roulette-card,.roulette-card::before { transition:none; }
}

@media (hover:none) and (pointer:coarse) {
* { cursor:auto !important; }

#cursor,#cursor-ring,#cursor-trail { display:none !important; }
}

@media(max-width:640px) {
body { min-height:100svh; }

.page-header { gap:12px; padding:14px 14px 0; align-items:center; }

.page-header-brand { gap:6px; font-size:18px; flex-shrink:0; }

.page-header-brand span { font-size:10px; letter-spacing:2px; }

.page-header-back { min-height:44px; padding:8px 11px; gap:6px; font-size:9px; letter-spacing:.5px; text-align:center; }

.page-header-back span { max-width:125px; }

.roulette-page { padding:16px 12px max(28px,env(safe-area-inset-bottom)); }

.roulette-page-head { padding:4px 4px 8px; margin-bottom:16px; }

.roulette-page-title { font-size:clamp(25px,6.5vw,32px); line-height:1.5; }

.roulette-hero-ornament { gap:12px; }

.roulette-hero-ornament svg { width:32px; height:32px; }

.roulette-cards-page { grid-template-columns:1fr; gap:12px; }

.roulette-card { padding:18px; }

.roulette-card .modal-rewards li { font-size:13px; line-height:1.5; }

.roulette-card .modal-percent { font-size:11px; }
}

@media(max-width:640px) {
.page-header .page-header-back {
    min-height:44px; padding:8px 10px; gap:7px;
    font-size:12px; font-weight:700; letter-spacing:0; text-transform:none;
    color:#d9b6ce; border:1px solid #d9b6ce26; border-radius:12px;
    background:#d9b6ce08; box-shadow:none; line-height:1.3;
  }

.page-header .page-header-back span { max-width:none; }

.page-header .back-coffee-icon { width:16px; height:16px; }

.page-header .page-header-back:active { background:#d9b6ce20; }
}

@media(max-width:350px) {
.page-header { gap:8px; }

.page-header .page-header-back { padding:8px; font-size:11px; }
}

@media(max-width:640px) {
.roulette-card {
    display:grid; grid-template-columns:64px minmax(0,1fr);
    grid-template-rows:auto auto auto 1fr; column-gap:14px; row-gap:0;
    text-align:left; padding:18px 16px;
  }

.roulette-card .rarity-star-img {
    grid-column:1; grid-row:1 / 3; align-self:center;
    width:64px; height:64px; margin:0;
  }

.roulette-card .modal-title {
    grid-column:2; grid-row:1; align-self:end;
    font-size:21px; line-height:1.5; margin:0 0 6px;
  }

.roulette-card .modal-percent {
    grid-column:2; grid-row:2; align-self:start;
    width:190px; max-width:100%; box-sizing:border-box;
    text-align:center; font-size:10px; letter-spacing:0;
    line-height:1.5; padding:5px 6px; margin:0;
    font-variant-numeric:tabular-nums;
  }

.roulette-card .modal-divider { grid-column:1 / -1; grid-row:3; margin:16px 0 12px; }

.roulette-card .modal-rewards { grid-column:1 / -1; grid-row:4; }
}

.odds-separator::before { content:'—'; }

@media(max-width:640px) {
.roulette-card .modal-percent {
    width:auto; max-width:100%; padding:0; margin:0;
    border:0; border-radius:0; background:none; text-align:left;
    font-size:11px; font-weight:500; line-height:1.5; color:#bcb0d0;
  }

.roulette-card .odds-value { color:#ede0f7; font-weight:700; }

.roulette-card .odds-separator::before { content:'·'; }
}

.roulette-card .modal-percent { font-weight:500; }

.roulette-card .odds-value { color:#ede0f7; font-weight:700; font-variant-numeric:tabular-nums; }

.roulette-card .odds-separator::before { content:'·'; }

.roulette-price { margin:12px auto 20px; max-width:100%; color:#bcb0d0; font-size:14px; line-height:1.8; }

.roulette-price strong { color:#ede0f7; font-weight:700; }

.roulette-donate-button { display:inline-flex; align-items:center; justify-content:center; min-width:172px; padding:15px 30px; border:1px solid #f7d4ec88; border-radius:999px; background:linear-gradient(120deg,#c7a7ee,#efaecb); color:#32233e; text-decoration:none; font:900 14px 'Zen Maru Gothic',sans-serif; box-shadow:0 5px 28px #c594df26,inset 0 1px 0 #ffffff4d; transition:transform .3s,box-shadow .3s; }

.roulette-donate-button:focus-visible { outline:2px solid #f9a8c9; outline-offset:4px; }

@media(hover:hover) {
.roulette-donate-button:hover { transform:scale(1.055); box-shadow:0 8px 32px #c594df50; }
}

.roulette-donate-button:active { transform:scale(.97); }

.roulette-donate-bottom { display:flex; justify-content:center; padding:26px 0 4px; }

@media(max-width:640px) {
.roulette-price { font-size:13px; margin:10px auto 16px; }

.roulette-donate-button { min-height:48px; min-width:180px; padding:12px 24px; }
}

@media(prefers-reduced-motion:reduce) {
.roulette-donate-button { transition:none; }
}

.intro-card { backdrop-filter:none; -webkit-backdrop-filter:none; }

@keyframes introVanish { 0%,38% { opacity:1; } 100% { opacity:0; } }

@keyframes skyReveal { from { opacity:0; } to { opacity:1; } }

@keyframes glowWake { from { opacity:0; transform:translateY(18px) scale(.86); } to { opacity:1; transform:translateY(0) scale(1); } }

@keyframes cafeCardReveal {
  0% { opacity:0; transform:translateY(40px) scale(.94); }
  60% { opacity:1; transform:translateY(-4px) scale(1.01); }
  100% { opacity:1; transform:translateY(0) scale(1); }
}

#cursor { transition:none; }

#page-intro { contain:layout paint style; }

html { min-height:100%; height:auto; }

body { height:auto; min-height:100vh; min-height:100svh; }

.page-header,.roulette-page { width:100%; max-width:1120px; min-width:0; }

.page-header { gap:16px; padding-left:clamp(12px,3vw,28px); padding-right:clamp(12px,3vw,28px); }

.page-header-brand { min-width:0; }

.page-header-back { flex-shrink:0; max-width:100%; }

.page-header-back span { overflow-wrap:anywhere; }

.roulette-page { padding-left:clamp(12px,2.5vw,24px); padding-right:clamp(12px,2.5vw,24px); }

.roulette-page-head,.sub-hero { min-width:0; max-width:100%; }

.roulette-page-title,.sub-hero h1 { overflow-wrap:break-word; text-wrap:balance; }

.roulette-price { max-width:100%; text-wrap:balance; }

.roulette-card,.modal-title,.modal-percent,.modal-rewards,.modal-rewards li { min-width:0; overflow-wrap:break-word; }

.roulette-cards-page { grid-template-columns:repeat(3,minmax(0,1fr)); }

.sub-section,.sub-group,.sub-grid,.sub-card { min-width:0; }

.sub-card figcaption { max-width:100%; overflow-wrap:anywhere; }

.sub-grid:not(.badge-grid) { grid-template-columns:repeat(auto-fill,minmax(min(112px,100%),1fr)); }

.sub-status-line { min-width:0; }

.sub-status-line > :not(.sub-status-dot) { min-width:0; overflow-wrap:anywhere; }

@media(max-width:960px) and (min-width:641px) {
.roulette-cards-page { grid-template-columns:repeat(2,minmax(0,1fr)); }

.roulette-card { padding:20px 16px; }
}

@media(max-width:640px) {
.roulette-cards-page { grid-template-columns:minmax(0,1fr); }

.page-header { gap:10px; padding-top:max(14px,env(safe-area-inset-top)); }

.page-header-brand { gap:6px; }

.page-header .page-header-back { min-height:44px; max-width:calc(100% - 135px); }

.page-header .page-header-back span { white-space:normal; }

.roulette-page { padding-bottom:max(28px,env(safe-area-inset-bottom)); }

.sub-grid:not(.badge-grid) { grid-template-columns:repeat(3,minmax(0,1fr)); }

.subscribe-button { max-width:100%; min-width:min(180px,100%); }
}

@media(max-width:359px) {
.page-header { gap:8px; flex-wrap:wrap; }

.page-header-brand { flex:0 0 auto; }

.page-header .page-header-back { margin-left:auto; font-size:10px; padding:7px 8px; max-width:100%; }

.roulette-card { grid-template-columns:52px minmax(0,1fr); column-gap:10px; padding:16px 12px; }

.roulette-card .rarity-star-img { width:52px; height:52px; }

.roulette-card .modal-title { font-size:clamp(17px,5.7vw,21px); }

.roulette-card .modal-percent { font-size:10px; }

.sub-grid:not(.badge-grid) { grid-template-columns:repeat(2,minmax(0,1fr)); }

.sub-section { padding:18px 12px; }
}
