/* ─────────────────────────────────────────────────────────────
   SAE Pledge Push-Up Tracker
   Athletic / premium — white base, royal purple, old-gold accents
   Type: Barlow Condensed (display) + Barlow (body)
   ───────────────────────────────────────────────────────────── */
:root {
  --purple-ink: #2a0f5e;   /* deep headings / big numbers */
  --purple-900: #3a1382;
  --purple-700: #5b21b6;   /* primary */
  --purple-600: #6d28d9;
  --purple-500: #7c3aed;   /* bright accent */
  --purple-100: #ece8fb;
  --purple-050: #f6f4fd;

  --gold-600:   #b07d12;
  --gold-500:   #d9a81e;   /* gold accent */
  --gold-400:   #ecc24d;   /* bright gold */
  --gold-100:   #fbf2d6;

  --ink:        #1b1530;
  --ink-dim:    #5d5577;
  --ink-faint:  #968ead;

  --bg:         #f6f5fb;
  --surface:    #ffffff;
  --line:       #e9e5f3;

  --danger:     #d8324b;
  --good:       #199a55;
  --silver:     #9aa0ab;
  --bronze:     #b3793f;

  --radius:     16px;
  --radius-sm:  12px;
  --shadow-sm:  0 1px 2px rgba(42,15,94,.05), 0 8px 20px rgba(42,15,94,.05);
  --shadow-md:  0 14px 36px rgba(42,15,94,.12);
  --maxw:       600px;

  --font-display: "Barlow Condensed", system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 560px at 50% -12%, var(--purple-100) 0%, transparent 58%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.55;
  padding-bottom: env(safe-area-inset-bottom);
}

/* ───────── Header ───────── */
.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  max-width: var(--maxw);
  margin: 0 auto;
}
/* KU monogram fallback, centered between the brand and the right-side link */
.crest.ku-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(155deg, #2f73e6, #0051ba);
  border-color: #e8000d;
  box-shadow: 0 6px 16px rgba(0, 81, 186, 0.30);
}
/* KU Jayhawk logo image, centered in the header */
.ku-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 42px;
  width: auto;
  object-fit: contain;
}
.brand { display: flex; align-items: center; gap: 11px; }
.crest {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: .5px;
  color: #fff;
  background: linear-gradient(155deg, var(--purple-500), var(--purple-700));
  border: 1.5px solid var(--gold-400);
  border-radius: 11px;
  padding: 5px 10px 3px;
  line-height: 1;
  box-shadow: 0 6px 16px rgba(109,40,217,.28);
}
.brand-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--ink);
}
.admin-link {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--purple-700);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  border: 1.5px solid var(--line);
  background: var(--surface);
  padding: 7px 14px 5px;
  border-radius: 999px;
  transition: background .2s ease, border-color .2s ease;
}
.admin-link:hover { background: var(--purple-050); border-color: var(--purple-500); }

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 6px 18px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ───────── Hero ───────── */
.hero { text-align: center; padding: 14px 8px 4px; }
.hero-tagline {
  color: var(--ink-dim);
  font-weight: 500;
  font-size: 1.05rem;
  max-width: 30ch;
  margin: 0 auto 26px;
  min-height: 1.4em;
}
.ring-wrap { position: relative; width: 248px; height: 248px; margin: 0 auto; }
.ring { width: 100%; height: 100%; transform: rotate(0deg); }
.ring-track { fill: none; stroke: var(--purple-100); stroke-width: 15; }
.ring-fill {
  fill: none;
  stroke: url(#ringGrad) var(--purple-600);
  stroke-width: 15;
  stroke-linecap: round;
  stroke-dasharray: 628;            /* 2πr, r=100 */
  stroke-dashoffset: 628;
  transition: stroke-dashoffset 1s cubic-bezier(.2,.7,.2,1);
}
.ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.ring-count {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.3rem;
  line-height: .9;
  color: var(--purple-ink);
  letter-spacing: -.5px;
  font-variant-numeric: tabular-nums;
}
.ring-goal {
  font-family: var(--font-display);
  color: var(--ink-dim);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}
.ring-label {
  color: var(--gold-600);
  font-family: var(--font-display);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 4px;
}
.remaining { margin: 16px auto 6px; color: var(--ink-dim); font-size: 1rem; }
.remaining strong { color: var(--purple-700); font-weight: 700; }

.countdown {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 6px auto 20px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--purple-050);
  border: 1px solid var(--line);
}
.countdown-time {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: 1.05rem;
  color: var(--purple-700);
}
.countdown-due { font-size: .85rem; color: var(--ink); font-weight: 600; }
.countdown-pace { font-size: .82rem; color: var(--ink-dim); }
.countdown.is-over { background: #fdecef; border-color: #f4c4cd; }
.countdown.is-over .countdown-time { color: var(--danger); }

/* ───────── Buttons ───────── */
.btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  text-transform: uppercase;
  letter-spacing: .8px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 24px 12px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .12s ease, box-shadow .2s ease, opacity .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary {
  background: linear-gradient(155deg, var(--purple-600), var(--purple-700));
  color: #fff;
  box-shadow: 0 8px 20px rgba(109,40,217,.30);
}
.btn-primary:hover { box-shadow: 0 10px 26px rgba(109,40,217,.40); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn-gold {
  background: linear-gradient(155deg, var(--gold-400), var(--gold-500));
  color: var(--purple-ink);
  box-shadow: 0 8px 20px rgba(217,168,30,.34);
}
.btn-gold:hover { box-shadow: 0 10px 26px rgba(217,168,30,.46); }
.btn-gold:active { transform: translateY(1px); }
.btn-block { width: 100%; }
.btn-cta { width: 100%; max-width: 340px; }
.btn-ghost {
  background: var(--surface);
  color: var(--purple-700);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--purple-050); border-color: var(--purple-500); }
.btn-danger {
  background: #fdecef;
  color: var(--danger);
  border: 1.5px solid #f4c4cd;
}
.btn-danger:hover { background: #fbdde2; }

/* ───────── Cards ───────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 16px;
}
.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--ink);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-title::before {
  content: "";
  width: 4px;
  height: 1.05em;
  border-radius: 2px;
  background: linear-gradient(var(--gold-400), var(--gold-500));
  flex: none;
}
.card-sub {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--purple-700);
  background: var(--purple-100);
  padding: 3px 9px;
  border-radius: 999px;
  margin-left: auto;
}

/* ───────── Form ───────── */
.field { display: block; margin-bottom: 16px; }
.field-label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-dim);
  margin-bottom: 7px;
}
.field-hint { display: block; font-size: .82rem; color: var(--ink-faint); margin-top: 6px; }
select, input[type="number"], input[type="text"], input[type="email"], input[type="password"], input[type="datetime-local"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #d9d1ee;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236d28d9' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
input:focus, select:focus {
  border-color: var(--purple-500);
  box-shadow: 0 0 0 3px rgba(124,58,237,.16);
}
input[type="file"] {
  width: 100%;
  font-size: .92rem;
  color: var(--ink-dim);
  background: var(--purple-050);
  border: 1.5px dashed #c9bdef;
  border-radius: var(--radius-sm);
  padding: 13px 14px;
}
input[type="file"]::file-selector-button {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: 600;
  margin-right: 12px;
  border: none;
  border-radius: 8px;
  padding: 9px 13px;
  background: var(--purple-600);
  color: #fff;
  cursor: pointer;
}

.progress-wrap { margin: 4px 0 14px; }
.progress-bar { height: 10px; background: var(--purple-100); border-radius: 999px; overflow: hidden; }
.progress-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--purple-600), var(--gold-500));
  border-radius: 999px;
  transition: width .2s ease;
}
.progress-text { display: block; font-size: .84rem; color: var(--ink-dim); margin-top: 6px; text-align: center; }
.form-msg { margin-top: 12px; font-size: .92rem; text-align: center; min-height: 1.2em; }
.form-msg.error { color: var(--danger); }
.form-msg.success { color: var(--good); }

/* ───────── Exec round stats ───────── */
.exec-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 4px 0 12px;
}
.exec-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--purple-050);
}
.exec-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--purple-ink);
  font-variant-numeric: tabular-nums;
}
.exec-stat-label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .8rem;
  color: var(--ink-dim);
  margin-top: 6px;
}
.exec-status {
  text-align: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 600;
  font-size: .95rem;
  min-height: 1.2em;
  margin-bottom: 6px;
}
.exec-status.met { color: var(--good); }
.exec-status.short { color: var(--danger); }

/* ───────── Segmented toggle ───────── */
.toggle {
  display: inline-flex;
  background: var(--purple-050);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  margin-bottom: 16px;
}
.toggle-btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-dim);
  background: transparent;
  border: none;
  padding: 8px 16px 6px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.toggle-btn.is-active {
  background: linear-gradient(155deg, var(--purple-600), var(--purple-700));
  color: #fff;
  box-shadow: 0 3px 10px rgba(109,40,217,.30);
}

/* ───────── Leaderboard ───────── */
.leaderboard { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.leaderboard li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.leaderboard .rank {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  width: 26px;
  text-align: center;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.leaderboard li:nth-child(1) .rank { color: var(--gold-500); }
.leaderboard li:nth-child(2) .rank { color: var(--silver); }
.leaderboard li:nth-child(3) .rank { color: var(--bronze); }
.leaderboard .lb-name { flex: 1; font-weight: 600; font-size: 1.02rem; }
.leaderboard .lb-count {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--purple-700);
  font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}
.leaderboard li:nth-child(1):not(.empty) {
  border-color: var(--gold-400);
  box-shadow: inset 4px 0 0 var(--gold-500);
  background: linear-gradient(90deg, var(--gold-100), #fff 60%);
}
.leaderboard li.empty {
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--line);
  background: var(--purple-050);
  box-shadow: none;
  color: var(--ink-faint);
}

/* ───────── Activity ───────── */
.activity { list-style: none; display: flex; flex-direction: column; }
.activity li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  font-size: .96rem;
  border-bottom: 1px solid var(--line);
}
.activity li:last-child { border-bottom: none; }
.activity .act-main { color: var(--ink); }
.activity .act-main strong { color: var(--purple-700); font-weight: 700; }
.activity .act-time { color: var(--ink-faint); font-size: .82rem; white-space: nowrap; }
.empty { color: var(--ink-faint); font-style: italic; padding: 10px 2px; }

/* ───────── Video gallery ───────── */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line);
  padding: 0; margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: #160b2e;
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-badge {
  position: absolute; top: 9px; right: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  color: var(--purple-ink);
  background: linear-gradient(155deg, var(--gold-400), var(--gold-500));
  padding: 5px 9px 3px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.gallery-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(91,33,182,.78);
  border: 1.5px solid rgba(255,255,255,.92);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  padding-left: 2px;
  transition: transform .15s ease, background .15s ease;
}
.gallery-item:hover .gallery-play { background: rgba(124,58,237,.92); }
.gallery-item:active .gallery-play { transform: translate(-50%, -50%) scale(.92); }
.gallery-name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 11px 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .3px;
  text-align: left;
  color: #fff;
  background: linear-gradient(transparent, rgba(15,6,32,.92));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ───────── Video lightbox ───────── */
.video-modal { position: relative; width: 100%; max-width: 560px; }
.video-modal video {
  width: 100%; max-height: 78vh;
  border-radius: var(--radius);
  background: #000; display: block;
  box-shadow: var(--shadow-md);
}
.video-caption {
  text-align: center; color: #f1ecfb; margin-top: 12px; font-size: 1rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .6px;
}
.video-close {
  position: absolute; top: -16px; right: -8px;
  width: 40px; height: 40px;
  border-radius: 50%; border: none;
  background: #fff; color: var(--purple-700);
  font-size: 1.1rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
  z-index: 2;
}

/* ───────── Footer ───────── */
.site-footer {
  text-align: center;
  color: var(--ink-faint);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .82rem;
  padding: 24px 18px 36px;
}
.site-footer p { margin: 2px 0; }
.footer-link { color: var(--ink-faint); text-decoration: none; border-bottom: 1px dotted var(--ink-faint); }
.footer-link:hover { color: var(--purple-700); border-color: var(--purple-700); }

/* ───────── Overlays (success + video) ───────── */
.overlay {
  position: fixed; inset: 0;
  background: rgba(27,16,48,.6);
  backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; z-index: 50;
  animation: fade .2s ease;
}
.overlay-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  max-width: 360px; width: 100%;
  box-shadow: var(--shadow-md);
}
.check {
  width: 66px; height: 66px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--purple-500), var(--purple-700));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(109,40,217,.34);
}
.overlay-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 1.7rem;
  margin-bottom: 8px;
  color: var(--ink);
}
.overlay-card p { color: var(--ink-dim); margin-bottom: 20px; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ───────── Password gate ───────── */
.gate {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background:
    radial-gradient(900px 520px at 50% -10%, var(--purple-100) 0%, transparent 58%),
    var(--bg);
}
.gate-card {
  width: 100%; max-width: 370px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold-500);
  border-radius: 20px;
  padding: 36px 26px;
  box-shadow: var(--shadow-md);
}
.gate-crest { font-size: 1.7rem; display: inline-block; margin-bottom: 18px; }
.gate-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-size: 1.7rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.gate-sub { color: var(--ink-dim); font-size: .98rem; margin-bottom: 22px; }
.gate-card input {
  text-align: center;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-size: 1.15rem;
  font-weight: 600;
}
.gate-msg { margin-top: 12px; min-height: 1.2em; color: var(--danger); font-size: .92rem; }

/* ───────── Admin ───────── */
.admin-wrap { max-width: var(--maxw); margin: 0 auto; padding: 6px 18px 48px; display: flex; flex-direction: column; gap: 16px; }
.login-card { margin-top: 40px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.row .field { flex: 1; min-width: 140px; }
.sub-list { list-style: none; display: flex; flex-direction: column; gap: 8px; max-height: 440px; overflow-y: auto; }
.sub-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 12px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .92rem;
}
.sub-list .s-name { font-weight: 700; }
.sub-list .s-count { color: var(--purple-700); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.sub-list .s-time { color: var(--ink-faint); font-size: .78rem; }
.sub-list .s-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.s-link {
  color: #fff; background: var(--purple-600);
  text-decoration: none; font-weight: 600; font-size: .8rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .5px;
  padding: 7px 11px 5px; border-radius: 8px;
}
.s-link.disabled { background: var(--purple-100); color: var(--ink-faint); pointer-events: none; }
.icon-btn {
  background: #fdecef; color: var(--danger);
  border: 1.5px solid #f4c4cd; border-radius: 8px;
  padding: 6px 9px; cursor: pointer; font-size: .82rem; font-weight: 700;
}
.roster-editor {
  width: 100%; min-height: 170px; resize: vertical;
  font-family: var(--font-body); font-size: 1rem; line-height: 1.7;
  color: var(--ink); background: #fff;
  border: 1.5px solid #d9d1ee; border-radius: var(--radius-sm); padding: 13px 14px;
}
.admin-msg { font-size: .92rem; margin-top: 10px; min-height: 1.2em; }
.admin-msg.success { color: var(--good); }
.admin-msg.error { color: var(--danger); }
.checkbox-field { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-field input { width: 20px; height: 20px; accent-color: var(--purple-600); }
.copy-box {
  width: 100%; min-height: 120px; font-family: ui-monospace, monospace; font-size: .8rem;
  color: var(--ink-dim); background: var(--purple-050); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px; resize: vertical;
}
.hint-block { color: var(--ink-faint); font-size: .88rem; margin-bottom: 14px; }

@media (min-width: 480px) {
  .ring-wrap { width: 268px; height: 268px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
