/* ZAZA World Ambassadors, in the ZAZA World look (the Card Hunt page's tokens): navy, gold, electric blue; Titan One +
   Jersey 10. The public explainer, tiers and leaderboard, and the signed-in panel (apply, or an ambassador's own page). */
:root {
  --navy-950: #030a2c;
  --navy-900: #06124f;
  --navy-800: #0a1a6b;
  --card: #141e52;
  --card-2: #1a2663;
  --line: #2c3b78;
  --line-2: #3b4c80;
  --gold: #ffd23f;
  --gold-2: #e8b52a;
  --gold-dark: #8a6410;
  --cyan: #7fd4ff;
  --text: #f1ecd8;
  --muted: #a9b3d6;
  --green: #5fe86f;
  --red: #ff7a7a;
  --orange: #ff8a1f;
  --bronze: #e39a5c;
  --silver: #d6dceb;
  --diamond: #8fe4ff;
  --ui: "Jersey 10", ui-monospace, monospace;
  --display: "Titan One", "Arial Black", system-ui, sans-serif;
  --wrap: min(1080px, calc(100% - 32px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--navy-950); scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: var(--ui);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  background:
    radial-gradient(120% 60% at 50% -10%, rgba(29, 75, 255, 0.45), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950) 70%);
  background-attachment: fixed;
}
img { display: block; max-width: 100%; }
a { color: var(--cyan); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 8px; }

/* ---------- shared bits ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 16px;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(3, 10, 44, 0.55); color: var(--text);
  font-size: 19px; line-height: 1; text-align: center; text-decoration: none;
}
.btn svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.btn:hover { border-color: rgba(255, 210, 63, 0.5); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.gold {
  font-family: var(--display); font-size: 16px; letter-spacing: 0.02em; color: var(--navy-900);
  border: 2px solid #3a2a00; background: linear-gradient(180deg, #ffe066, var(--gold-2));
  box-shadow: inset 0 0 0 1px #fff3b0, 0 3px 0 var(--gold-dark);
}
.btn.gold:hover { filter: brightness(1.06); }
.btn.gold:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px #fff3b0, 0 1px 0 var(--gold-dark); }
.btn.big { min-height: 54px; padding: 12px 26px; font-size: 20px; }
.btn.gold.big { font-size: 18px; }
.btn.sm { min-height: 36px; padding: 6px 12px; font-size: 17px; }
.btn.x { background: #000; border-color: #444; color: #fff; }
.chip {
  --c: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 2px 10px; border-radius: 99px; font-size: 17px; line-height: 1.1; text-align: center;
  color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent);
  white-space: nowrap;
}
.chip.ok { --c: var(--green); }
.chip.wait { --c: var(--cyan); }
.chip.warn { --c: var(--orange); }
.chip.bad { --c: var(--red); }
.chip.gold, .chip.t-gold { --c: var(--gold); }
.chip.t-bronze { --c: var(--bronze); }
.chip.t-silver { --c: var(--silver); }
.chip.t-diamond { --c: var(--diamond); }
.badge { display: inline-flex; align-items: center; justify-content: center; padding: 3px 12px; border-radius: 99px; border: 1px solid rgba(255, 210, 63, 0.5); background: rgba(255, 210, 63, 0.1); color: var(--gold); font-size: 17px; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; }
.note { margin: 0; color: var(--muted); font-size: 19px; }
.note b { color: var(--text); font-weight: 400; }
.msg { min-height: 1.2em; margin: 8px 0 0; color: var(--muted); font-size: 18px; }
.msg.is-error { color: var(--red); }
.msg.is-ok { color: var(--green); }
.meter { display: block; height: 10px; border-radius: 99px; background: rgba(255, 210, 63, 0.16); overflow: hidden; }
.meter > span { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes spin { to { rotate: 360deg; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes twinkle { 0%, 100% { opacity: 0.15; scale: 0.6; } 50% { opacity: 1; scale: 1; } }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 10px;
  min-height: calc(60px + env(safe-area-inset-top, 0px));
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px;
  background: rgba(3, 10, 44, 0.95);
  border-bottom: 1px solid rgba(255, 210, 63, 0.35);
}
.brand { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.brand img { border-radius: 50%; box-shadow: 0 0 0 2px var(--gold), 0 0 16px rgba(255, 210, 63, 0.35); }
.brand span { font-family: var(--display); font-size: 19px; white-space: nowrap; }
.brand b { color: var(--gold); font-weight: 400; }
.page-tag { margin-right: auto; padding: 1px 10px; border: 1px solid rgba(255, 210, 63, 0.45); border-radius: 99px; color: var(--gold); font-size: 18px; text-align: center; white-space: nowrap; }
.top .play { min-height: 38px; padding: 6px 14px; font-size: 15px; }

/* ---------- intro ---------- */
.intro { position: relative; isolation: isolate; overflow: hidden; padding: 30px 16px 36px; }
.fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fx-glow { position: absolute; left: 70%; top: 55%; width: min(1100px, 160vw); aspect-ratio: 2 / 1; translate: -50% -50%; background: radial-gradient(closest-side, rgba(29, 75, 255, 0.5), rgba(29, 75, 255, 0.14) 55%, transparent); }
.fx-rays {
  position: absolute; left: 72%; top: 55%; width: 1800px; aspect-ratio: 1; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 210, 63, 0.1) 0deg 5deg, rgba(255, 210, 63, 0) 5deg 16deg);
  -webkit-mask: radial-gradient(circle, #000 3%, rgba(0, 0, 0, 0.5) 16%, transparent 38%);
  mask: radial-gradient(circle, #000 3%, rgba(0, 0, 0, 0.5) 16%, transparent 38%);
  animation: spin 140s linear infinite;
}
.px { position: absolute; width: 12px; height: 12px; background: var(--gold); clip-path: polygon(40% 0, 60% 0, 60% 40%, 100% 40%, 100% 60%, 60% 60%, 60% 100%, 40% 100%, 40% 60%, 0 60%, 0 40%, 40% 40%); animation: twinkle 2.8s ease-in-out infinite; }
.px.p1 { left: 8%; top: 18%; }
.px.p2 { left: 46%; top: 84%; width: 9px; height: 9px; background: var(--cyan); animation-delay: 0.6s; }
.px.p3 { right: 8%; top: 14%; width: 15px; height: 15px; animation-delay: 1.2s; }
.px.p4 { right: 30%; top: 80%; width: 9px; height: 9px; background: var(--cyan); animation-delay: 1.8s; }
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 24px; width: var(--wrap); margin: 0 auto; }
.hero-text { display: grid; justify-items: start; gap: 12px; }
.headline { margin: 0; font: 400 clamp(2.1rem, 5vw, 3.4rem) / 1.04 var(--display); color: var(--gold); text-shadow: 0 3px 0 #000a2e, 0 0 26px rgba(255, 210, 63, 0.25); }
.lede { margin: 0; max-width: 560px; color: var(--muted); font-size: 22px; }
.lede b { color: var(--text); font-weight: 400; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.hero-art { position: relative; height: clamp(240px, 32vw, 340px); }
.hero-art img { position: absolute; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.55)); }
.art-pack { left: 18%; top: 2%; height: 92%; width: auto; rotate: -8deg; animation: bob 3s ease-in-out infinite; }
.art-slab { left: 52%; top: 8%; height: 80%; width: auto; rotate: 9deg; }
.art-coin { left: 4%; bottom: -2%; width: 30%; height: auto; animation: bob 2.4s ease-in-out infinite 0.6s; }

/* ---------- blocks ---------- */
.block { width: var(--wrap); margin: 34px auto 0; scroll-margin-top: 80px; }
.block-head { display: grid; justify-items: start; gap: 8px; max-width: 820px; margin-bottom: 16px; }
.block-head h2 { margin: 0; font: 400 clamp(1.7rem, 3.4vw, 2.3rem) / 1.1 var(--display); color: var(--gold); text-shadow: 0 3px 0 #000a2e; }
.sub { margin: 22px 0 10px; font: 400 22px var(--display); color: #fff; }
.card, .panel, .steps li, .way, .tier {
  border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 28px rgba(0, 4, 24, 0.35);
}
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; align-content: start; gap: 6px; padding: 16px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font: 400 18px var(--display); }
.steps b { font: 400 21px var(--display); color: #fff; }
.steps span { color: var(--muted); font-size: 19px; }
.steps span b { font: inherit; color: var(--text); }
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.way { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; }
.way-icon { font-size: 30px; line-height: 1; }
.way b { display: block; font: 400 19px var(--display); color: #fff; margin-bottom: 4px; }
.way span { color: var(--muted); font-size: 18px; }

/* ---------- tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tier { --t: var(--gold); position: relative; display: grid; justify-items: center; gap: 6px; padding: 18px 14px 16px; text-align: center; border-color: color-mix(in srgb, var(--t) 45%, var(--line)); box-shadow: inset 0 2px 0 color-mix(in srgb, var(--t) 60%, transparent), 0 10px 28px rgba(0, 4, 24, 0.35); }
.tier.t-bronze { --t: var(--bronze); }
.tier.t-silver { --t: var(--silver); }
.tier.t-diamond { --t: var(--diamond); }
/* the tier medal: the ZAZA coin in the tier's metal (a filter on the real coin art), hanging from a ribbon, with a glint */
.medal { --coin: none; --rib: var(--t); position: relative; display: block; width: 112px; height: 128px; margin-bottom: 2px; }
.tier.t-bronze .medal { --coin: grayscale(1) sepia(1) saturate(2.6) hue-rotate(-24deg) brightness(0.78) contrast(1.2); --rib: #b5592a; }
.tier.t-silver .medal { --coin: grayscale(1) brightness(1.2) contrast(1.18); --rib: #8d9bb8; }
.tier.t-gold .medal { --coin: saturate(1.08) brightness(1.04); --rib: #e8b52a; }
.tier.t-diamond .medal { --coin: grayscale(1) sepia(1) hue-rotate(158deg) saturate(2.4) brightness(1.18) contrast(1.05); --rib: #36b8ff; }
.medal .ribbon { position: absolute; left: 50%; top: 0; width: 70px; height: 54px; translate: -50% 0; filter: drop-shadow(0 3px 2px rgba(0, 4, 24, 0.5)); }
.medal .ribbon .r1 { fill: var(--rib); }
.medal .ribbon .r2 { fill: color-mix(in srgb, var(--rib) 72%, #000a2e); }
.medal .ribbon .r3 { fill: rgba(255, 255, 255, 0.55); }
.medal .coin, .medal .glint { position: absolute; left: 50%; bottom: 0; width: 98px; height: 98px; translate: -50% 0; border-radius: 50%; }
.medal .coin { filter: var(--coin) drop-shadow(0 6px 6px rgba(0, 4, 24, 0.55)) drop-shadow(0 0 16px color-mix(in srgb, var(--t) 55%, transparent)); transition: transform 0.3s; }
.medal .glint { overflow: hidden; pointer-events: none; }
.medal .glint::after { content: ""; position: absolute; inset: -30%; background: linear-gradient(115deg, transparent 42%, rgba(255, 255, 255, 0.65) 50%, transparent 58%); translate: -110% 0; animation: glint 5s ease-in-out infinite; }
.tier.t-silver .medal .glint::after { animation-delay: 0.6s; }
.tier.t-gold .medal .glint::after { animation-delay: 1.2s; }
.tier.t-diamond .medal .glint::after { animation-delay: 1.8s; }
@keyframes glint { 0%, 55% { translate: -110% 0; } 80%, 100% { translate: 110% 0; } }
.medal .spark { position: absolute; width: 14px; height: 14px; background: #e9fbff; clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); filter: drop-shadow(0 0 6px #8fe4ff); animation: twinkle 2.4s ease-in-out infinite; }
.medal .spark.s1 { left: 4px; top: 58px; }
.medal .spark.s2 { right: 2px; top: 44px; width: 10px; height: 10px; animation-delay: 0.8s; }
.medal .spark.s3 { right: 14px; bottom: 2px; width: 12px; height: 12px; animation-delay: 1.6s; }
.tier:hover .medal .coin { transform: rotate(-6deg) scale(1.04); }
@media (prefers-reduced-motion: reduce) { .medal .glint::after, .medal .spark { animation: none; } }
.tier b { font: 400 24px var(--display); color: var(--t); }
.tier .who { color: #fff; font-size: 20px; }
.tier .mult { margin-top: 6px; font: 400 48px / 1 var(--display); color: var(--t); text-shadow: 0 3px 0 #000a2e, 0 0 22px color-mix(in srgb, var(--t) 40%, transparent); }
.tier .mult-cap { color: var(--muted); font-size: 18px; }

/* ---------- the signed-in panel ---------- */
.panel { padding: 20px; }
.panel h3 { margin: 0 0 8px; font: 400 24px var(--display); color: #fff; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.connect { display: grid; justify-items: start; gap: 12px; }
.who-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: -4px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 18px; }
.who-line button { border: 0; background: none; color: var(--cyan); font-size: 18px; padding: 0; }
form.apply { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.field { display: grid; gap: 5px; }
.field.wide { grid-column: 1 / -1; }
.field > span { color: var(--muted); font-size: 18px; }
.field > span em { color: var(--text); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 44px; padding: 8px 12px;
  border: 1px solid var(--line-2); border-radius: 10px; background: rgba(3, 10, 44, 0.6);
  font-size: 20px;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.2; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; }
.field small { color: var(--muted); font-size: 16px; }
.channels { display: grid; gap: 8px; }
.channel { display: grid; grid-template-columns: 130px minmax(0, 1fr) 120px 40px; gap: 8px; }
.channel button { border: 1px solid var(--line-2); border-radius: 10px; background: none; color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); font-size: 18px; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--gold); }
.form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.status-box { display: grid; gap: 10px; padding: 16px; border: 1px dashed var(--line-2); border-radius: 16px; background: rgba(3, 10, 44, 0.35); }
.status-box p { margin: 0; }

/* the ambassador's own page */
.me-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.pfp { --t: var(--gold); width: 96px; height: 96px; border-radius: 50%; object-fit: cover; background: var(--navy-800); box-shadow: 0 0 0 4px var(--t), 0 0 22px color-mix(in srgb, var(--t) 50%, transparent); }
.pfp.t-bronze { --t: var(--bronze); } .pfp.t-silver { --t: var(--silver); } .pfp.t-diamond { --t: var(--diamond); }
.me-name { display: grid; gap: 6px; min-width: 0; }
.me-name b { font: 400 28px var(--display); color: #fff; overflow-wrap: anywhere; }
.me-name .row { gap: 6px; }
.pfp-tools { display: grid; gap: 6px; justify-items: end; }
.pfp-tools label { cursor: pointer; }
.paused { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--orange); background: rgba(255, 138, 31, 0.1); color: #ffd2a8; }
.grid2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; }
.box { display: grid; align-content: start; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: rgba(3, 10, 44, 0.35); }
.box h4 { margin: 0; font: 400 20px var(--display); color: var(--gold); }
.link-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.link-row input { min-width: 0; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(3, 10, 44, 0.6); color: var(--gold); font-size: 19px; }
.card-wrap { position: relative; border-radius: 14px; overflow: hidden; border: 2px solid rgba(255, 210, 63, 0.6); background: var(--navy-800); aspect-ratio: 1200 / 630; }
.card-wrap canvas { display: block; width: 100%; height: auto; }
.post-text { width: 100%; min-height: 168px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: rgba(3, 10, 44, 0.6); font-size: 19px; line-height: 1.2; resize: vertical; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.stat { display: grid; justify-items: center; gap: 2px; padding: 12px 8px; border: 1px solid var(--line); border-radius: 14px; background: rgba(3, 10, 44, 0.35); text-align: center; }
.stat b { font: 400 30px var(--display); color: #fff; }
.stat span { color: var(--muted); font-size: 17px; }
.stat.hl b { color: var(--gold); }
.bonus { display: grid; gap: 6px; margin-top: 12px; color: var(--muted); font-size: 18px; }
.list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: rgba(3, 10, 44, 0.3); }
.list li > span { display: grid; gap: 2px; min-width: 0; }
.list li small { color: var(--muted); font-size: 16px; }
.list .empty { justify-content: center; color: var(--muted); border-style: dashed; }
.pack-card { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pack-card > span { display: grid; gap: 2px; min-width: 0; }
.pack-card img { width: 44px; height: 62px; object-fit: cover; border-radius: 4px; }
.scroll { max-height: 380px; overflow: auto; padding-right: 2px; }

/* ---------- leaderboard ---------- */
.board { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.board li { display: grid; grid-template-columns: 44px 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(180deg, var(--card-2), var(--card)); }
.board li.note { display: block; text-align: center; border-style: dashed; background: none; }
.board .rank { font: 400 22px var(--display); color: var(--muted); text-align: center; }
.board li:nth-child(1) .rank { color: var(--gold); }
.board li:nth-child(2) .rank { color: var(--silver); }
.board li:nth-child(3) .rank { color: var(--bronze); }
.board img, .board .nopic { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--navy-800); box-shadow: 0 0 0 2px var(--line-2); }
.board .name { display: grid; gap: 2px; min-width: 0; }
.board .name b { font: 400 19px var(--display); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board .name a { color: var(--cyan); font-size: 17px; text-decoration: none; }
.board .score { display: grid; justify-items: end; }
.board .score b { font: 400 24px var(--display); color: var(--gold); }
.board .score span { color: var(--muted); font-size: 15px; }
.won { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.won figure { display: grid; justify-items: center; gap: 6px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-align: center; }
.won img { width: 110px; height: 154px; object-fit: cover; border-radius: 6px; }
.won figcaption { color: var(--muted); font-size: 16px; }
.won figcaption b { display: block; color: #fff; font-weight: 400; font-size: 17px; }

/* ---------- rules, footer ---------- */
.rules { display: grid; gap: 4px; margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(180deg, var(--card-2), var(--card)); }
.rules dt { margin-top: 10px; font: 400 19px var(--display); color: #fff; }
.rules dt:first-child { margin-top: 0; }
.rules dd { margin: 0; color: var(--muted); font-size: 19px; }
.rules dd b { color: var(--text); font-weight: 400; }
.foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; width: var(--wrap); margin: 44px auto 0; padding: 22px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 18px; }
.foot a { text-decoration: none; }

/* ---------- phones ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { height: 220px; max-width: 360px; width: 100%; justify-self: center; }
  .steps, .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body { font-size: 19px; }
  .page-tag { display: none; }
  .brand { margin-right: auto; }
  .intro { padding-top: 22px; }
  .lede { font-size: 20px; }
  .steps { grid-template-columns: 1fr; }
  .tiers { gap: 10px; }
  .tier { padding: 14px 10px; }
  .tier b { font-size: 21px; }
  form.apply { grid-template-columns: 1fr; }
  .channel { grid-template-columns: 1fr 1fr 40px; }
  .channel input[type="url"] { grid-column: 1 / -1; grid-row: 1; }
  .me-head { grid-template-columns: auto minmax(0, 1fr); }
  .pfp { width: 76px; height: 76px; }
  .pfp-tools { grid-column: 1 / -1; justify-items: start; grid-auto-flow: column; justify-content: start; }
  .board li { grid-template-columns: 30px 44px minmax(0, 1fr) auto; gap: 10px; padding: 8px 10px; }
  .board img, .board .nopic { width: 44px; height: 44px; }
  .panel { padding: 16px; }
}
