#page-dialog:has(.tl-page) {
  --tl-sheet: #171732;
  width: min(100%, 490px); padding: 0; overflow: hidden;
  background: var(--tl-sheet); color: #fafafa; border-color: #ffffff14;
}
#page-dialog:has(.tl-page) > .native-sheet-grip { position: absolute; inset: 0 0 auto; }
#page-dialog:has(.tl-page) #layer { height: 100%; }
.tl-page {
  display: flex; flex-direction: column; position: relative; height: 100%;
  min-height: 0; padding: 0; gap: 0; background: var(--tl-sheet); color: #fafafa;
  font-family: Manrope, sans-serif;
}
.tl-page :is(p,h1,h2,h3,ul) { margin: 0; }
.tl-page .close-layer { position: absolute; right: 8px; top: 5px; }
.tl-page .close-layer:not(:focus-visible) { clip-path: inset(50%); pointer-events: none; }
.tl-heading { flex: none; position: relative; z-index: 1; padding: 56px 20px 12px; text-align: center; }
.tl-heading::after { content: ''; position: absolute; inset: 100% 0 auto; height: 18px; background: linear-gradient(var(--tl-sheet),transparent); pointer-events: none; }
.tl-heading p {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 2.5px;
  background: radial-gradient(ellipse 92% 365% at 50% 50%,#887cee,#5f53f2 50%,#4b3ef4 75%,#372af5);
  background-clip: text; color: transparent;
}
.tl-heading h1 { margin-top: 4px; color: #ececec; font-weight: 600; font-size: 22px; line-height: 1.25; letter-spacing: normal; }
.tl-heading p,.tl-label,.tl-benefit-block h3,.tl-done { text-transform: uppercase; }
.tl-list { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 8px 20px 20px; scrollbar-width: thin; }
.tl-list > * + * { margin-top: 14px; }
.tl-row,.tl-current { border: 1px solid #1d1841; border-radius: 16px; background: #181733; overflow: hidden; }
.tl-current {
  padding: 20px; background: var(--tl-wash),var(--tl-base); border-color: var(--tl-edge);
  box-shadow: var(--tl-shadow);
}
.tl-trigger { display: flex; position: relative; align-items: flex-start; gap: 14px; cursor: pointer; color: inherit; text-decoration: none; text-align: left; list-style: none; }
.tl-card-link { display: block; color: inherit; text-decoration: none; }
.tl-trigger::-webkit-details-marker { display: none; }
.tl-row .tl-trigger { padding: 16px 20px; }
.tl-current .tl-trigger { gap: 12px; }
.tl-copy { flex: 1; display: grid; gap: 4px; align-content: start; min-width: 0; }
.tl-copy strong { font-size: 16px; font-weight: 600; line-height: 22px; }
.tl-current .tl-copy { gap: 6px; }
.tl-current strong { color: transparent; background: var(--tl-title); background-clip: text; font-size: 20px; line-height: 24px; font-weight: 700; }
.tl-label,.tl-requirement { font-weight: 600; font-size: 12px; line-height: 16px; color: #ffffff8c; }
.tl-current small { font-size: 11px; }
.tl-label { letter-spacing: .55px; color: #ffffff99; }
.tl-chevron { flex: none; width: 9px; height: 9px; margin: 4px 3px 0 6px; border: solid #ffffffb3; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); }
.tl-current .tl-chevron { transform: rotate(-45deg); }
.tl-row[open] .tl-chevron { transform: rotate(225deg); margin-top: 9px; }
.tl-trigger:focus-visible,.tl-card-link:focus-visible,.tl-footer a:focus-visible { outline: 2px solid #d7cbff; outline-offset: -2px; border-radius: 8px; }
.tl-symbol { width: 48px; height: 48px; position: relative; flex: none; top: 6px; pointer-events: none; }
.tl-symbol::before { content: ''; position: absolute; inset: -48%; background: var(--tl-icon) center/contain no-repeat; pointer-events: none; }
.tl-page [data-rank="__no_tier__"] .tl-symbol::before { filter: grayscale(1) brightness(.57); }
.tl-page [data-rank="platinum"] .tl-symbol::before { filter: saturate(.55) sepia(.12) hue-rotate(155deg); }
.tl-benefits { margin: 0 20px; border-top: 1px solid #ffffff14; padding: 16px 0; }
.tl-current .tl-benefits { margin: 16px 0 0; padding: 16px 0 0; }
.tl-progress { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 16px; color: #ffffffbf; font-size: 12px; }
.tl-progress progress { display: block; appearance: none; width: 100%; height: 6px; border: 0; border-radius: 99px; background: #ffffff1a; }
.tl-progress progress::-webkit-progress-bar { background: #ffffff1a; border-radius: 99px; }
.tl-progress progress::-webkit-progress-value { background: var(--tl-fill); border-radius: 99px; }
.tl-progress progress::-moz-progress-bar { background: var(--tl-fill); border-radius: 99px; }
.tl-current .tl-progress strong { color: #fff; font: inherit; font-weight: 600; background: none; }
.tl-benefit-block + .tl-benefit-block { border-top: 1px solid #ffffff14; padding-top: 16px; margin-top: 16px; }
.tl-benefit-block h3 { color: #ffffff88; font-size: 10px; font-weight: 700; letter-spacing: .5px; }
.tl-benefit-block p { color: #ffffff80; font-size: 12px; margin-top: 8px; font-weight: 500; }
.tl-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0 0; list-style: none; }
.tl-chips li { max-width: 100%; overflow-wrap: anywhere; padding: 5px 10px; border-radius: 8px; background: #ffffff10; color: #ffffffbd; font-size: 11px; font-weight: 600; }
.tl-chips small { margin-left: 5px; }
.tl-empty { padding: 30px 16px; text-align: center; }
.tl-empty h2 { font-size: 18px; }
.tl-empty p,.tl-retry { margin: 10px 0; font-size: 14px; color: #c4c3d6; }
.tl-retry { display: inline-block; }
.tl-footer { flex: none; padding: 10px 20px max(16px,env(safe-area-inset-bottom)); background: var(--tl-sheet); }
.tl-done {
  display: grid; place-items: center; min-height: 50px; border-radius: 999px; border: 1px solid #fff;
  background: linear-gradient(78deg,#fdaa89 8%,#fed898 25%,#fbf5c2 50%,#f499fa 63%,#9693fa 73%,#88b1fe);
  box-shadow: 0 3px 7px #ada8dc33; color: #440649; text-decoration: none; font-weight: 600; font-size: 18px;
}
@media (min-width: 701px) and (min-height: 601px), (min-width: 701px) and (pointer: fine) {
  #page-dialog:has(.tl-page) { height: min(90dvh, 880px); max-height: 90dvh; inset: 0; margin: auto; border-radius: 24px; }
}

/* TierSurface theme table and tierIconFor in the shipped client. */
.tl-page [data-rank="__no_tier__"] {
  --tl-fill: linear-gradient(90deg,#5e6472,#eceef2);
  --tl-base: #0d0e14; --tl-edge: #fafafa38;
  --tl-wash: radial-gradient(ellipse 78% 72% at 50% -20%, rgba(244, 245, 248, 0.3) 0%, rgba(116, 121, 137, 0.14) 44%, rgba(13, 14, 20, 0) 100%);
  --tl-shadow: 0 4px 54px 0 rgba(84, 89, 105, 0.2) inset;
  --tl-title: linear-gradient(180deg, #F7F8FA 18%, #858A98 118%);
}
.tl-page [data-rank="bronze"] {
  --tl-fill: linear-gradient(90deg,#fe9574,#f4c98f);
  --tl-base: #1d0101; --tl-edge: #f2c48d;
  --tl-wash: radial-gradient(ellipse 74.96% 72.65% at 50% -22.22%, #f4d296 0%, #b7a072 25%, #99875f 37.5%, #7a6e4d 50%, #5c553b 62.5%, #3d3c29 75%, #1f2316 87.5%, #0f170d 93.75%, #000a04 100%);
  --tl-shadow: 0 4px 54px 0 rgba(96,77,69,0.5) inset;
  --tl-title: linear-gradient(183.85deg, #FE9574 35.9%, #F4C98F 137.01%);
}
.tl-page [data-rank="silver"] {
  --tl-fill: linear-gradient(90deg,#6f66c9,#f2f0f0);
  --tl-base: #03001d; --tl-edge: #f0eeed;
  --tl-wash: radial-gradient(ellipse 74.96% 72.65% at 50% -22.22%, #bcb8f7 0%, #8d8dba 25%, #76779c 37.5%, #5e617e 50%, #474b5f 62.5%, #2f3641 75%, #182022 87.5%, #0c1513 93.75%, #000a04 100%);
  --tl-shadow: 0 4px 54px 0 rgba(77,69,96,0.5) inset;
  --tl-title: linear-gradient(183.85deg, #6F66C9 35.9%, #F2F0F0 137.01%);
}
.tl-page [data-rank="gold"] {
  --tl-fill: linear-gradient(90deg,#b58c46,#f3d795);
  --tl-base: #201200; --tl-edge: #ffbf2a;
  --tl-wash: radial-gradient(ellipse 74.86% 44.14% at 50% -10.17%, #ffcc33 0%, #bf9c27 25%, #9f8321 37.5%, #806b1c 50%, #605316 62.5%, #403b10 75%, #20220a 87.5%, #101607 93.75%, #000a04 100%);
  --tl-shadow: 0 4px 54px 0 rgba(96,77,69,0.5) inset;
  --tl-title: linear-gradient(183.85deg, #FDEC98 35.9%, #BA8455 137.01%);
}
.tl-page [data-rank="platinum"] {
  --tl-fill: linear-gradient(90deg,#5c60b0,#bcc6cd 52%,#777eaa);
  --tl-base: #09071d; --tl-edge: #a5b2c7;
  --tl-wash: linear-gradient(#244e6861,#244e6861),radial-gradient(ellipse 74.96% 72.65% at 50% -22.22%, #bcb8f7 0%, #8d8dba 25%, #76779c 37.5%, #5e617e 50%, #474b5f 62.5%, #2f3641 75%, #182022 87.5%, #0c1513 93.75%, #000a04 100%);
  --tl-shadow: 0 4px 54px 0 rgba(54,65,105,0.6) inset;
  --tl-title: linear-gradient(183.85deg, #777EAA 35.9%, #BCC6CD 137.01%);
}
.tl-page [data-rank="diamond"] {
  --tl-fill: linear-gradient(90deg,#9b9af7,#f2f0f0);
  --tl-base: #0c0018; --tl-edge: #999af6;
  --tl-wash: radial-gradient(ellipse 74.96% 72.65% at 50% -22.22%, #903cf7 0%, #6c30ba 25%, #48237e 50%, #361d5f 62.5%, #241741 75%, #121022 87.5%, #090d13 93.75%, #000a04 100%);
  --tl-shadow: 0 4px 54px 0 rgba(59,46,74,0.4) inset;
  --tl-title: radial-gradient(109% 653% at 50% 50%, #f2f0f0 0%, #cccfed 25%, #a6adea 50%, #808ce6 75%, #5a6ae3 100%), linear-gradient(90deg, rgba(250,250,250,0.05) 0%, rgba(250,250,250,0.05) 100%);
}
.tl-page [data-rank="king"] {
  --tl-base: #19011a; --tl-edge: #db97f9;
  --tl-wash: radial-gradient(ellipse 74.96% 72.65% at 50% -22.22%, #f376f1 0%, #b65bb6 25%, #984e98 37.5%, #7a407a 50%, #5b335d 62.5%, #3d253f 75%, #1e1822 87.5%, #0f1113 93.75%, #000a04 100%);
  --tl-shadow: 0 4px 54px 0 rgba(74,46,72,0.4) inset;
  --tl-title: linear-gradient(83deg, #fdaa89 -230.96%, #fed898 -137.38%, #fbf5c2 0.11%, #f499fa 70.84%, #9693fa 125.48%, #88b1fe 276.58%), linear-gradient(90deg, rgba(250,250,250,0.05) 0%, rgba(250,250,250,0.05) 100%);
}
/* tierIconFor maps Diamond to the bundled platinum texture and the two tinted ranks to silver. */
.tl-page [data-rank="bronze"] { --tl-icon: url("/art/vip/tier-bronze.png"); }
.tl-page [data-rank="silver"], .tl-page [data-rank="platinum"], .tl-page [data-rank="__no_tier__"] { --tl-icon: url("/art/vip/tier-silver.png"); }
.tl-page [data-rank="gold"] { --tl-icon: url("/art/rank-gold.webp"); }
.tl-page [data-rank="diamond"] { --tl-icon: url("/art/vip/tier-platinum.png"); }
.tl-page [data-rank="king"] { --tl-icon: url("/art/vip/tier-king.png"); }
