:root {
  --c1: #f2b01e;
  --c2: #7cc242;
  --bg: #060d08;
  --bg-2: #0d1710;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f3f4ef;
  --muted: #a3aa9f;
  --radius: 20px;
  --font-title: "Chakra Petch", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--font-body); line-height: 1.6; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
body.locked { overflow: hidden; }

/* ---------- Fond ---------- */
.glow {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 0%, color-mix(in srgb, var(--c1) 20%, transparent), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, color-mix(in srgb, var(--c2) 16%, transparent), transparent 70%),
    radial-gradient(40% 35% at 100% 70%, color-mix(in srgb, var(--c2) 10%, transparent), transparent 70%);
}
.grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 0; }

/* ---------- En-tête ---------- */
.hero { text-align: center; display: flex; flex-direction: column; align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #cfd3ca;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #6b6f68; }
.status.online .status-dot { background: #36e36f; animation: pulse 2s infinite; }
.status.offline .status-dot { background: #e6532e; }
.status-count { color: #fff; font-size: 13px; letter-spacing: .05em; }
.status-count small { color: var(--muted); font-weight: 400; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(54,227,111,.6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(54,227,111,0); } }

.hero-logo { margin: 18px 0 4px; }
.hero-logo img { width: clamp(170px, 26vw, 260px); filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)); }
.hero-title {
  font-family: var(--font-title); font-size: clamp(48px, 10vw, 96px); line-height: 1; text-transform: uppercase;
  background: linear-gradient(180deg, #fff, #cfd3ca); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-slogan { color: #cfd3ca; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.flag { display: inline-block; height: .9em; width: auto; border-radius: 2px; vertical-align: -0.08em; margin-left: .35em; }

.rise { opacity: 0; transform: translateY(16px); animation: rise .8s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Tuiles ---------- */
.grid { display: grid; gap: 14px; margin-top: 14px; }
.grid-main { grid-template-columns: repeat(2, 1fr); margin-top: 40px; }
.grid-sub { grid-template-columns: repeat(4, 1fr); }

.tile-wrap { position: relative; }
.tile {
  --acc: var(--c1);
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  width: 100%; text-align: left; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(150deg, color-mix(in srgb, var(--acc) 22%, var(--bg-2)), var(--bg-2) 65%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.tile-main { min-height: 300px; padding: 28px; }
.tile-sub { min-height: 170px; padding: 20px; }
.tile:hover, .tile:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--acc) 55%, transparent);
  box-shadow: 0 24px 60px -20px color-mix(in srgb, var(--acc) 55%, transparent);
  outline: none;
}

.tile-bg { position: absolute; inset: 0; z-index: -2; }
.tile-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.tile:hover .tile-bg img { transform: scale(1.1); }
.tile-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,13,8,.95) 15%, rgba(6,13,8,.45) 60%, rgba(6,13,8,.2));
}
.tile-glow {
  position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--acc) 28%, transparent), transparent 60%);
}
.tile:hover .tile-glow { opacity: 1; }

.tile-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: auto;
  background: color-mix(in srgb, var(--acc) 18%, transparent); color: var(--acc);
  border: 1px solid color-mix(in srgb, var(--acc) 35%, transparent);
}
.tile-icon svg { width: 22px; height: 22px; }
.tile-main .tile-icon { width: 54px; height: 54px; border-radius: 14px; }
.tile-main .tile-icon svg { width: 26px; height: 26px; }

.tile-title { font-family: var(--font-title); font-weight: 700; line-height: 1.1; margin-top: 18px; }
.tile-main .tile-title { font-size: clamp(28px, 4vw, 40px); }
.tile-sub .tile-title { font-size: 20px; }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.tile-tag { color: var(--muted); font-size: 14px; }
.tile-main .tile-tag { font-size: 15px; color: #cfd3ca; }
.tile-arrow { width: 22px; height: 22px; flex: none; color: var(--acc); transition: transform .35s; }
.tile:hover .tile-arrow { transform: translateX(5px); }

.tile-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(6,13,8,.6); border: 1px solid var(--line); color: #fff;
  backdrop-filter: blur(8px); transition: background .25s, transform .25s;
}
.tile-badge:hover { background: #5865f2; transform: scale(1.06); }
.tile-badge svg { width: 18px; height: 18px; }

.tile-live {
  position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #cfd3ca;
  padding: 6px 12px; border-radius: 999px; background: rgba(6,13,8,.55); border: 1px solid var(--line);
}

/* ---------- Panneau ---------- */
.panel { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.panel[hidden] { display: none; }
.panel-backdrop { position: absolute; inset: 0; background: rgba(3,7,4,.75); backdrop-filter: blur(6px); animation: fade .25s ease; }
.panel-box {
  position: relative; width: min(820px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(24px, 5vw, 44px);
  animation: pop .35s cubic-bezier(.2,.8,.2,1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.panel-close {
  position: sticky; top: 0; float: right; margin: -8px -8px 0 0;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.06); border: 1px solid var(--line);
}
.panel-close:hover { background: rgba(255,255,255,.12); }
.panel-close svg { width: 18px; height: 18px; }
.panel-kicker { font-family: var(--font-title); color: var(--c1); letter-spacing: .2em; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.panel-box h2 { font-family: var(--font-title); font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 4px 0 8px; }
.panel-intro { color: var(--muted); margin-bottom: 28px; }

/* Règlement */
.rules { display: grid; gap: 10px; }
.rule { border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); }
.rule summary {
  list-style: none; cursor: pointer; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-title); font-weight: 700; font-size: 18px;
}
.rule summary::-webkit-details-marker { display: none; }
.rule summary .num { color: var(--c1); margin-right: 12px; }
.rule summary::after { content: "+"; font-size: 22px; color: var(--muted); transition: transform .25s; }
.rule[open] summary::after { transform: rotate(45deg); color: var(--c1); }
.rule ol { list-style: none; padding: 0 20px 18px; display: grid; gap: 8px; }
.rule li { display: grid; grid-template-columns: 40px 1fr; color: #d3d7cf; font-size: 15px; }
.rule li::before { content: attr(data-n); color: var(--muted); font-family: var(--font-title); font-size: 13px; padding-top: 2px; }

/* Wiki / équipe / étapes */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.card { padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.card-icon { font-size: 24px; margin-bottom: 8px; }
.card h3 { font-family: var(--font-title); font-size: 18px; margin-bottom: 4px; }
.card p { color: var(--muted); font-size: 14px; }

.avatar {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: 12px; overflow: hidden;
  display: grid; place-items: center; font-family: var(--font-title); font-weight: 700; font-size: 24px; color: #0b1408;
  background: linear-gradient(135deg, var(--c1), var(--c2));
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.role { color: var(--c1); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }

.step-n {
  display: block; font-family: var(--font-title); font-weight: 700; font-size: 34px; line-height: 1; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 24px;
  padding: 13px 24px; border-radius: 12px; font-weight: 600;
  background: linear-gradient(135deg, var(--c1), var(--c2)); color: #0b1408;
  transition: transform .2s;
}
.btn:hover { transform: translateY(-2px); }

/* Whitelist */
.wl-steps { list-style: none; display: grid; gap: 10px; }
.wl-step {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px;
  padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.wl-step .step-n { margin: 0; }
.wl-step h3 { font-family: var(--font-title); font-size: 19px; margin-bottom: 4px; }
.wl-step p { color: #c3c8bf; font-size: 15px; }
.wl-step .btn { margin-top: 14px; }
.wl-ico { margin-right: 8px; }
.wl-sub { font-family: var(--font-title); font-size: 18px; margin: 28px 0 10px; }
.wl-decisions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.wl-decision {
  display: grid; grid-template-columns: 14px 1fr; gap: 12px; padding: 18px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.wl-decision h4 { font-size: 15px; margin-bottom: 2px; }
.wl-decision p { color: var(--muted); font-size: 14px; }
.wl-dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 5px; }
.wl-decision.ok { border-color: rgba(54,227,111,.25); }
.wl-decision.ok .wl-dot { background: #36e36f; box-shadow: 0 0 12px rgba(54,227,111,.6); }
.wl-decision.ko { border-color: rgba(230,83,46,.25); }
.wl-decision.ko .wl-dot { background: #e6532e; box-shadow: 0 0 12px rgba(230,83,46,.6); }
.wl-infos { margin-top: 8px; }
.wl-infos ul { list-style: none; display: grid; gap: 8px; padding: 18px 20px; border-radius: 14px;
  background: color-mix(in srgb, var(--c1) 7%, transparent); border: 1px solid color-mix(in srgb, var(--c1) 25%, transparent); }
.wl-infos li { position: relative; padding-left: 18px; color: #d3d7cf; font-size: 14px; }
.wl-infos li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--c1); }
.btn-ghost { background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--text); }
.btn-ghost svg { width: 18px; height: 18px; }
.btn .tile-arrow { color: currentColor; width: 18px; height: 18px; }
@media (max-width: 600px) {
  .wl-step { grid-template-columns: 1fr; gap: 4px; }
}

/* ================= Page Règlement ================= */
html:has(.page-rules) { scroll-behavior: smooth; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 12px max(16px, calc((100% - 1080px) / 2));
  background: rgba(6,13,8,.75); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.back { display: inline-flex; align-items: center; gap: 8px; color: #cfd3ca; font-size: 14px; font-weight: 500; justify-self: start; }
.back svg { width: 18px; height: 18px; transition: transform .25s; }
.back:hover { color: #fff; }
.back:hover svg { transform: translateX(-3px); }
.topbar-logo img { height: 56px; width: auto; margin: -8px 0; }
.topbar-logo { font-family: var(--font-title); font-weight: 700; }
.topbar-discord { justify-self: end; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.topbar-discord:hover { background: #5865f2; }
.topbar-discord svg { width: 18px; height: 18px; }

.rules-hero { text-align: center; max-width: 720px; margin: 0 auto; padding: 24px 0 40px; }
.rules-hero h1 { font-family: var(--font-title); font-size: clamp(40px, 8vw, 72px); line-height: 1.05; margin: 6px 0 14px; }
.rules-hero h1 span { background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rules-hero > p { color: #c3c8bf; }
.rules-meta { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.rules-meta span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #cfd3ca; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.search {
  display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 52px; border-radius: 14px;
  background: var(--bg-2); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.search:focus-within { border-color: color-mix(in srgb, var(--c1) 60%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c1) 15%, transparent); }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--text); font: inherit; font-size: 15px; }
.search input::placeholder { color: var(--muted); }

/* Catégories */
.cat-tabs {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin-bottom: 14px; scroll-margin-top: 90px;
}
.cat-tab {
  --cat: var(--c1);
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px;
  align-items: center; padding: 16px 18px; border-radius: 16px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .25s, background .25s, transform .25s;
}
.cat-tab:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--cat) 45%, transparent); }
.cat-tab.active {
  border-color: var(--cat);
  background: linear-gradient(150deg, color-mix(in srgb, var(--cat) 20%, var(--bg-2)), var(--bg-2) 75%);
  box-shadow: 0 16px 40px -20px color-mix(in srgb, var(--cat) 70%, transparent);
}
.cat-ico {
  grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px;
  background: color-mix(in srgb, var(--cat) 16%, transparent); border: 1px solid color-mix(in srgb, var(--cat) 35%, transparent);
}
.cat-name { font-family: var(--font-title); font-weight: 700; font-size: 16px; line-height: 1.2; }
.cat-count { font-size: 12px; color: var(--muted); }
.cat-intro p {
  color: #c3c8bf; padding: 12px 16px; border-left: 3px solid var(--cat); margin-bottom: 32px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--cat) 8%, transparent), transparent);
  border-radius: 0 10px 10px 0;
}
.cat[hidden] { display: none; }
.cat .chapter-n { background: linear-gradient(135deg, var(--cat), color-mix(in srgb, var(--cat) 50%, #fff)); -webkit-background-clip: text; background-clip: text; }
.cat .article-n { color: var(--cat); }
.cat .article:target, .cat .article.hit { background: color-mix(in srgb, var(--cat) 10%, transparent); }
.toc { --cat: var(--c1); }
.toc a.active { border-left-color: var(--cat); background: linear-gradient(90deg, color-mix(in srgb, var(--cat) 12%, transparent), transparent); }
.toc a.active span { color: var(--cat); }
.cat-label { display: none; }
body.searching .cat-label {
  display: block; font-family: var(--font-title); font-weight: 700; font-size: 13px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cat); margin: 8px 0 14px;
}
body.searching .cat-tab.active { border-color: var(--line); background: var(--bg-2); box-shadow: none; }
body.searching .toc, body.searching .cat-intro { display: none; }
body.searching .rules-layout { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) {
  .cat-tabs { grid-template-columns: repeat(2, 1fr); }
  .cat-tab:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .cat-tab { padding: 12px; column-gap: 10px; }
  .cat-ico { width: 36px; height: 36px; font-size: 17px; }
  .cat-name { font-size: 14px; }
}

.rules-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; }
.rules-layout > * { min-width: 0; }
.toc { position: sticky; top: 90px; }
.toc-title { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a {
  display: flex; gap: 10px; padding: 8px 14px; margin-left: -1px; font-size: 14px; color: #a9afa5;
  border-left: 2px solid transparent; transition: color .2s, border-color .2s, background .2s;
}
.toc a span { font-family: var(--font-title); color: var(--muted); }
.toc a:hover { color: #fff; }
.toc a.active { color: #fff; border-left-color: var(--c1); background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 12%, transparent), transparent); }
.toc a.active span { color: var(--c1); }

.chapter { scroll-margin-top: 90px; margin-bottom: 40px; }
.chapter[hidden] { display: none; }
.chapter-head { display: flex; align-items: baseline; gap: 14px; padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.chapter-n { font-family: var(--font-title); font-weight: 700; font-size: 40px; line-height: 1; background: linear-gradient(135deg, var(--c1), var(--c2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.chapter-head h2 { font-family: var(--font-title); font-size: clamp(24px, 3.5vw, 32px); }
.articles { list-style: none; }
.article {
  display: grid; grid-template-columns: 74px 1fr; gap: 14px; padding: 16px 14px; margin: 0 -14px;
  border-radius: 12px; scroll-margin-top: 100px; transition: background .2s;
}
.article[hidden] { display: none; }
.article:hover { background: rgba(255,255,255,.025); }
.article:target, .article.hit { background: color-mix(in srgb, var(--c1) 9%, transparent); }
.article-n { font-family: var(--font-title); font-size: 13px; font-weight: 700; color: var(--c1); padding-top: 3px; white-space: nowrap; }
.article-n:hover { text-decoration: underline; }
.article p { color: #d3d7cf; }
.no-result { color: var(--muted); text-align: center; padding: 40px 0; }

.rules-end {
  margin-top: 20px; padding: 28px; border-radius: var(--radius); text-align: center;
  background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 14%, var(--bg-2)), var(--bg-2) 70%);
  border: 1px solid var(--line);
}
.rules-end p { color: #c3c8bf; max-width: 560px; margin: 0 auto; }
.rules-end .btn { margin-top: 20px; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; background: var(--bg-2); border: 1px solid var(--line);
  opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--c1); color: var(--c1); }
.to-top svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .rules-layout { grid-template-columns: 1fr; gap: 24px; }
  .toc { position: static; }
  .toc ol { border-left: 0; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .toc a { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin: 0; }
  .toc a.active { border-color: var(--cat, var(--c1)); }
}
@media (max-width: 600px) {
  .article { grid-template-columns: 1fr; gap: 4px; }
  .back span { display: none; }
}

/* ---------- Pied de page ---------- */
.footer {
  margin-top: 56px; padding: 24px 0 36px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-sub { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .shell { padding-top: 32px; }
  .grid-main { grid-template-columns: 1fr; margin-top: 28px; }
  .tile-main { min-height: 220px; padding: 22px; }
  .tile-sub { min-height: 140px; padding: 16px; }
  .tile-sub .tile-title { font-size: 17px; }
  .tile-sub .tile-tag { font-size: 13px; }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rise { opacity: 1; transform: none; }
}
