@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap");

:root {
  --bg: #0b0c10;
  --card: #171e2d;
  --card-2: #1c2436;
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #c5c9ce;
  --white: #f6f7f8;
  --muted: #8b929c;
  --pink: #ff2d5d;
  --pink-hover: #ff5478;
  --purple: #8b5cff;
  --gold: #efc14d;
  --green: #3dce7a;
  --line: #262c38;
  --max: 1160px;
  --radius: 14px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --topbar: rgba(11, 12, 16, 0.78);
  --footer-bg: #08090c;
  --chip: #11151c;
  --th: #1a2436;
  --menu: #161a22;
  --ring-track: #2a3140;
  --nav-mobile: #101218;
  --author-bg: rgba(18, 20, 28, 0.7);
  --font-display: Outfit, Roboto, system-ui, sans-serif;
  --font-body: Roboto, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(980px 460px at 8% -8%, color-mix(in srgb, var(--pink) 22%, transparent), transparent 58%),
    radial-gradient(720px 420px at 96% 0%, color-mix(in srgb, var(--purple) 20%, transparent), transparent 52%),
    radial-gradient(640px 380px at 88% 88%, rgba(16, 90, 58, 0.18), transparent 50%),
    var(--bg);
  min-height: 100vh;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
.logo,
.kicker,
.cta,
.badge,
.score-ring,
.board-label,
.mini-score,
.nav {
  font-family: var(--font-display);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--topbar);
  border-bottom: 1px solid var(--stroke);
  backdrop-filter: blur(16px) saturate(1.2);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 74px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex: 0 0 auto;
}

.mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #1a1020;
  background: linear-gradient(160deg, #f3d37a, var(--gold) 45%, #c48a1c);
  box-shadow: 0 0 0 1px rgba(255, 210, 90, 0.25), 0 8px 16px rgba(0, 0, 0, 0.35);
}

.logo-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-txt span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.logo-txt small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
  letter-spacing: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
}

.nav > a,
.drop > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  padding: 8px 10px;
  border-radius: 8px;
}

.nav a.is-on,
.drop > a.is-on {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.nav > a:hover,
.drop > a:hover {
  color: var(--white);
}

.drop {
  position: relative;
}

.drop > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.65;
}

.menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 220px;
  background: var(--menu);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 8px;
  z-index: 40;
  box-shadow: var(--shadow);
}

.drop:hover .menu,
.drop:focus-within .menu {
  display: grid;
}

.menu a {
  padding: 9px 11px;
  border-radius: 8px;
  font-size: 13px;
}

.menu a:hover,
.menu a.is-on {
  background: color-mix(in srgb, var(--pink) 12%, transparent);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--white);
}

/* hero */
.hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
  align-items: end;
  padding: 48px 0 10px;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.kicker i {
  width: 18px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.9px;
  max-width: 740px;
}

.hero-lead {
  max-width: 640px;
  margin-top: 16px;
  font-size: 17px;
  color: var(--text);
}

.hero-board {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-board::before {
  content: "";
  position: absolute;
  inset: auto -20% 40% 30%;
  height: 120px;
  background: radial-gradient(circle, rgba(239, 193, 77, 0.18), transparent 70%);
  pointer-events: none;
}

.board-label {
  font-size: 11px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
}

.mini {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--stroke);
}

.mini:first-of-type {
  border-top: 0;
}

.mini-rank {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--gold);
  color: #1a1404;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
}

.mini:nth-of-type(2) .mini-rank {
  background: #cfd3d8;
}

.mini:nth-of-type(3) .mini-rank {
  background: #c08a4a;
  color: #1a1208;
}

.mini-name {
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
}

.mini-score {
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
}

.board-foot {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0 8px;
}

.trust li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px 16px;
}

.trust b {
  display: block;
  color: var(--white);
  font-family: Outfit, sans-serif;
  font-size: 14px;
  margin-bottom: 4px;
}

.trust span {
  font-size: 12.5px;
  color: var(--muted);
}

.author {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 8px 8px 8px;
  background: var(--author-bg);
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #6a3a2e, #3a221c);
  color: #f3d2b8;
  display: grid;
  place-items: center;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #2a1c18;
}

.author strong {
  display: block;
  color: var(--pink);
  font-size: 13px;
}

.author p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.author time {
  margin-left: auto;
  margin-right: 12px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

/* ranking */
.rank-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 52px;
}

.cl-row {
  display: grid;
  grid-template-columns: 148px 220px 1fr auto;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 18px 18px 18px 22px;
  position: relative;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.cl-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: #3a4458;
}

.cl-row:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--pink) 35%, var(--stroke));
  box-shadow: var(--shadow);
}

.cl-row.is-top {
  border-color: rgba(239, 193, 77, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(239, 193, 77, 0.08);
}

.cl-row.is-top::before {
  background: linear-gradient(var(--gold), #c48a1c);
}

.name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ribbon {
  font-family: Outfit, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1a1404;
  background: var(--gold);
  border-radius: 999px;
  padding: 4px 9px;
}

.logo-wrap {
  position: relative;
  width: 118px;
}

.badge {
  position: absolute;
  left: -12px;
  top: -8px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gold);
  color: #1a1404;
  font-weight: 800;
  font-size: 14px;
  display: grid;
  place-items: center;
  z-index: 1;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.logo-box {
  width: 118px;
  height: 92px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 17px;
  text-align: center;
  line-height: 1.15;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.meta h3 {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.flags {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
  flex-wrap: wrap;
  max-width: 220px;
}

.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1f3d2c;
  color: var(--green);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.mxn,
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--chip);
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 3px 8px;
  color: var(--white);
  font-size: 11px;
}

.points h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-right: 8px;
}

.points li {
  list-style: none;
  padding-left: 18px;
  position: relative;
  font-size: 14px;
  margin: 4px 0;
}

.points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.offer {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 168px;
}

.score-ring {
  --p: 96;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) calc(var(--p) * 1%), var(--ring-track) 0);
  display: grid;
  place-items: center;
}

.score-ring::after {
  content: "";
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--card);
  grid-area: 1 / 1;
}

.score-ring b {
  grid-area: 1 / 1;
  z-index: 1;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--pink-hover), var(--pink));
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 12px;
  min-width: 164px;
  height: 44px;
  padding: 0 16px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(255, 45, 93, 0.28);
}

.cta span {
  font-size: 16px;
  transition: transform 0.15s ease;
}

.cta:hover {
  background: var(--pink-hover);
}

.cta:hover span {
  transform: translateX(3px);
}

/* article */
.article {
  max-width: 860px;
}

.lead {
  margin-bottom: 18px;
}

.toc {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 22px 0 32px;
  background: rgba(255, 255, 255, 0.03);
}

.toc summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 700;
  font-family: Outfit, sans-serif;
}

.toc ol {
  margin: 12px 0 4px 18px;
}

.toc a:hover {
  color: var(--white);
}

h2 {
  color: var(--white);
  font-size: 28px;
  line-height: 1.2;
  margin: 40px 0 14px;
  letter-spacing: -0.4px;
}

h3 {
  color: var(--white);
  font-size: 18px;
  margin: 18px 0 8px;
}

p {
  margin-bottom: 14px;
}

.article a {
  color: var(--pink);
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0 24px;
  border: 1px solid var(--stroke);
  border-radius: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th,
td {
  border-bottom: 1px solid var(--stroke);
  padding: 11px 14px;
  text-align: left;
}

th {
  background: var(--th);
  color: var(--white);
  font-family: Outfit, sans-serif;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}

tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

ol.steps,
ul.plain {
  margin: 0 0 16px 18px;
}

ul.plain li,
ol.steps li {
  margin: 8px 0;
}

.faq details {
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 4px 16px;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.02);
}

.faq summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 700;
  padding: 12px 0;
  font-family: Outfit, sans-serif;
}

.faq p {
  margin-top: 0;
}

.footer {
  margin-top: 72px;
  background: var(--footer-bg);
  border-top: 1px solid var(--stroke);
  padding: 40px 0 28px;
  font-size: 13px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 28px;
}

.foot-logo {
  margin-bottom: 12px;
}

.foot-blurb {
  max-width: 280px;
  color: var(--muted);
}

.foot-h {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-grid a {
  display: block;
  margin: 6px 0;
  color: var(--muted);
}

.footer a:hover {
  color: var(--white);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
}

.demo-note {
  color: #6a7178;
}

.crumb {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}

.crumb a {
  color: #9ab4e0;
}

.prose .lead {
  font-size: 18px;
  color: var(--text);
}

.grid-3,
.grid-4 {
  display: grid;
  gap: 14px;
  margin: 18px 0 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.info-card,
.rel-card,
.game-card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}

.info-card:hover,
.rel-card:hover,
.game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.16);
}

.info-card {
  position: relative;
  padding-top: 22px;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--pink), var(--gold));
}

.info-card h3,
.game-card h3,
.rel-card strong {
  color: var(--white);
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
}

.rel-card {
  display: grid;
  align-content: start;
  min-height: 148px;
}

.rel-card em {
  font-style: normal;
  font-family: Outfit, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}

.rel-card span {
  color: var(--muted);
  font-size: 14px;
}

.figure {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 26px 16px 14px;
  margin: 20px 0 28px;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  position: relative;
}

.step-row::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(239, 193, 77, 0.45), transparent);
}

.step-row div {
  text-align: center;
  position: relative;
}

.step-row b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: linear-gradient(160deg, #f3d37a, var(--gold));
  color: #1a1404;
  font-size: 18px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.28);
}

.figure figcaption {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 12px;
}

.callout {
  background: var(--card-2);
  border-left: 4px solid var(--green);
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
  margin: 16px 0 24px;
}

.callout.warn {
  border-left-color: var(--pink);
  background: color-mix(in srgb, var(--pink) 10%, var(--card));
}

.example {
  background: var(--card-2);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 16px 0;
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
  margin: 12px 0 24px;
}

.step-cards {
  list-style: none;
  margin: 12px 0 28px;
  counter-reset: none;
}

.step-cards li {
  display: flex;
  gap: 14px;
  background: var(--card-2);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 10px 0;
}

.step-cards b {
  color: var(--gold);
  font-size: 20px;
  font-family: Outfit, sans-serif;
}

.step-cards h3 {
  margin: 0 0 4px;
}

.game-art {
  height: 110px;
  border-radius: 12px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.game-art::after {
  content: "";
  position: absolute;
  inset: 18% 22%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.game-art.a {
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 80, 180, 0.45), transparent 40%),
    linear-gradient(160deg, #4a1d62, #1a1024);
}

.game-art.b {
  background:
    radial-gradient(circle at 30% 70%, rgba(80, 220, 140, 0.35), transparent 42%),
    linear-gradient(160deg, #12382a, #0c1c16);
}

.game-art.c {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 180, 60, 0.4), transparent 45%),
    linear-gradient(160deg, #3a2410, #1a1208);
}

.related {
  margin: 56px 0 12px;
}

.related h2 {
  margin: 0 0 8px;
}

.sitemap .grid-4 {
  margin-top: 8px;
}

.hub {
  margin-top: 8px;
}

@media (max-width: 1140px) {
  .cl-row {
    grid-template-columns: 132px 1fr auto;
  }

  .points {
    grid-column: 1 / -1;
  }

  .offer {
    align-self: start;
    padding-top: 4px;
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--nav-mobile);
    border-bottom: 1px solid var(--stroke);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 18px;
    gap: 4px;
  }

  .topbar.is-open .nav {
    display: flex;
  }

  .topbar.is-open .menu {
    display: grid;
    position: static;
    min-width: 0;
    box-shadow: none;
    background: transparent;
    border: 0;
    padding: 0 0 0 10px;
  }

  .hero,
  .trust,
  .footer-grid,
  .cl-row,
  .grid-3,
  .grid-4,
  .split,
  .step-row,
  .footer-base {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
    gap: 22px;
  }

  .author time {
    display: none;
  }

  .offer {
    width: 100%;
  }

  .cta {
    width: 100%;
  }

  .footer-base {
    display: grid;
  }
}

.hero.is-centered {
  grid-template-columns: 1fr;
  text-align: center;
}

.hero.is-centered .hero-copy,
.hero.is-centered h1,
.hero.is-centered .hero-lead,
.hero.is-centered .author {
  margin-inline: auto;
}

.hero.is-centered .kicker {
  justify-content: center;
}

.banner-minis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 4px;
}

.banner-minis span {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  color: var(--white);
}

.banner-minis b {
  color: var(--gold);
  margin-right: 4px;
}

.empty-rank {
  padding: 28px;
  border: 1px dashed var(--stroke);
  border-radius: 16px;
  color: var(--muted);
}

.rank-list.is-tiles {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.tile-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 22px 18px 18px;
  display: grid;
  gap: 10px;
  justify-items: start;
}

.tile-card .logo-box {
  width: 100%;
}

.tile-bonus {
  color: var(--white);
  font-weight: 700;
}

.tile-score {
  color: var(--gold);
  font-weight: 800;
}

.rank-list.is-apps {
  grid-template-columns: 1fr 1fr;
}

.app-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 16px;
}

.app-mark {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  text-align: center;
  font-size: 12px;
}

.app-side {
  display: grid;
  gap: 8px;
  justify-items: end;
}

.check-row,
.compact-row {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px 16px;
}

.check-row {
  grid-template-columns: 36px 180px 1fr auto;
}

.compact-row em {
  color: var(--muted);
  font-style: normal;
}

.compact-row b {
  color: var(--gold);
}

.cta-mini {
  min-width: 0;
  height: 36px;
  padding: 0 12px;
  font-size: 12px;
}

body[data-skin="light"] {
  --text: #3d4450;
  --white: #16181d;
  --muted: #5c6673;
  --stroke: rgba(20, 24, 32, 0.10);
  --line: rgba(20, 24, 32, 0.10);
  --shadow: 0 14px 30px rgba(20, 24, 32, 0.08);
  --topbar: color-mix(in srgb, var(--card) 88%, transparent);
  --footer-bg: color-mix(in srgb, var(--bg) 82%, #d9d0c2);
  --chip: color-mix(in srgb, var(--bg) 70%, #fff);
  --th: color-mix(in srgb, var(--bg) 55%, #fff);
  --menu: var(--card);
  --ring-track: color-mix(in srgb, var(--bg) 60%, #cfc6b8);
  --nav-mobile: var(--card);
  --author-bg: var(--card);
}

body[data-header="solid"] .topbar {
  background: var(--card);
  backdrop-filter: none;
}

body[data-header="underline"] .topbar {
  background: var(--bg);
  backdrop-filter: none;
  border-bottom: 2px solid var(--white);
}

body[data-header="split"] .topbar {
  background: transparent;
  border-bottom: 0;
}

body[data-header="glass"] .topbar {
  background: var(--topbar);
}

body[data-card="outline"] .cl-row,
body[data-card="outline"] .tile-card,
body[data-card="outline"] .app-card {
  box-shadow: none;
  background: transparent;
  border-width: 2px;
}

body[data-card="stripe"] .cl-row,
body[data-card="stripe"] .tile-card {
  border-radius: 0;
  border-left: 6px solid var(--pink);
}

body[data-card="flush"] .cl-row,
body[data-card="flush"] .compact-row,
body[data-card="flush"] .check-row {
  box-shadow: none;
  border: 0;
  border-bottom: 1px solid var(--stroke);
  border-radius: 0;
  background: transparent;
}

body[data-cta="pill"] .cta {
  border-radius: 999px;
}

body[data-cta="square"] .cta {
  border-radius: 4px;
}

body[data-cta="block"] .cta {
  width: 100%;
  border-radius: 0;
}

body[data-density="compact"] .hero {
  padding-top: 24px;
}

body[data-density="compact"] .cl-row {
  padding: 12px;
  gap: 10px;
}

body[data-density="airy"] .hero {
  padding-top: 72px;
}

body[data-density="airy"] .rank-list {
  gap: 22px;
}

@media (max-width: 980px) {
  .rank-list.is-apps,
  .check-row,
  .compact-row {
    grid-template-columns: 1fr;
  }
}
