/* =====================================================================
   style.css  —  LOOK & FEEL (dark glass theme, mobile-first)
   ---------------------------------------------------------------------
   To re-brand, edit the variables in :root below; everything else uses
   them. Layout is designed for phones first, then widens on desktop
   (see the @media blocks near the bottom).
   ===================================================================== */

:root {
  /* Colours */
  --bg: #050506;               /* page background */
  --frame: #0b0b0d;            /* big rounded frame */
  --surface: #121214;          /* cards */
  --surface-2: #1a1a1d;        /* inputs, chips */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f3ef;
  --muted: #9c9aa1;
  --dim: #5d5b62;
  --glow: #7fae63;             /* green glow on today's card */
  --glow-soft: rgba(127, 174, 99, 0.35);
  --success: #9be07a;
  --danger: #ff6b6b;
  --warning: #f5c451;
  --ad-bg: #1c1c1f;

  /* Fonts (loaded in index.html, with system fallbacks) */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", Georgia, serif;

  --radius: 22px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 20;
  background: var(--text); color: var(--bg);
  padding: 8px 14px; border-radius: 999px;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }

.muted { color: var(--muted); }
.small { font-size: 0.8rem; }
.eyebrow {
  margin: 0 0 10px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Frame (the big rounded box around the page) ---------- */
.frame {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 14px 18px;
  background:
    radial-gradient(70% 40% at 50% 12%, rgba(255,255,255,0.06), transparent 70%),
    var(--frame);
}
@media (min-width: 760px) {
  .frame {
    margin: 40px auto;
    width: calc(100% - 48px);
    border: 1px solid var(--line);
    border-radius: 32px;
    padding: 18px 24px 24px;
  }
}

/* ---------- Chips & buttons ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  font-size: 0.75rem;
  color: var(--text);
  white-space: nowrap;
}
.chip b { font-weight: 600; }
.chip-soft { background: var(--surface-2); color: var(--muted); }
.chip-btn { cursor: pointer; }
.chip-btn:hover:not(:disabled) { border-color: var(--text); }
.chip-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.pill-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04);
  font-size: 0.85rem; font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, transform .08s;
}
.pill-btn:hover { background: rgba(255,255,255,0.1); }
.pill-btn:active { transform: scale(0.97); }
.pill-btn-solid { background: var(--text); color: #0b0b0d; border-color: var(--text); }
.pill-btn-solid:hover { background: #fff; }

.round-btn {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--text); color: #0b0b0d;
  display: grid; place-items: center;
  cursor: pointer;
}
.round-btn svg, .link-btn-dot svg, .icon-btn svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.round-btn:disabled { opacity: 0.4; cursor: default; }

/* ---------- Nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 4px 4px 0;
}
.logo {
  margin: 0;
  font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em;
  text-decoration: none;
}
.logo em { font-size: 1.15em; margin-left: 1px; color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-text { font-size: 0.82rem; text-decoration: none; color: var(--muted); }
.nav-text:hover { color: var(--text); }

.nav-pills {
  order: 3;
  width: 100%;
  display: flex; gap: 4px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-pills::-webkit-scrollbar { display: none; }
.nav-pills a {
  flex: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
}
.nav-pills a:hover { color: var(--text); }
.nav-pills a.is-active {
  color: var(--text);
  background: var(--surface-2);
  border-color: var(--line-strong);
}
@media (min-width: 900px) {
  .nav-pills { order: 0; width: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: 56px 8px 36px;
}
.hero-title {
  margin: 18px auto 14px;
  max-width: 15ch;
  font-weight: 500;
  font-size: clamp(2.3rem, 8.5vw, 4.3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero-title em {
  font-size: 1.08em;
  letter-spacing: -0.01em;
  color: #b9b7bd;
}
@media (min-width: 760px) {
  .hero-title { max-width: 20ch; }
}
.hero-sub {
  margin: 0 auto;
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.92rem;
}
.sparkle {
  position: absolute;
  color: rgba(255,255,255,0.12);
  font-size: 1.4rem;
  animation: twinkle 4s ease-in-out infinite;
}
.s1 { left: 12%; top: 32%; }
.s2 { right: 14%; top: 22%; font-size: 1rem; animation-delay: 1s; }
.s3 { left: 20%; bottom: 10%; font-size: 1rem; animation-delay: 2s; }
.s4 { right: 18%; bottom: 18%; font-size: 1.8rem; animation-delay: 3s; }
@keyframes twinkle { 50% { opacity: 0.3; transform: scale(0.8); } }

/* ---------- Riddle cards ---------- */
.carousel {
  display: grid;
  gap: 14px;
  padding-bottom: 30px;
}
.rcard {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #151517, #0e0e10);
  padding: 18px;
  text-align: center;
}
.rcard-top {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.avatar {
  width: 58px; height: 58px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.7rem;
  background: radial-gradient(circle at 35% 30%, #3a3a3f, #1b1b1e);
  border: 1px solid var(--line-strong);
}
.avatar-main {
  width: 66px; height: 66px;
  background: radial-gradient(circle at 35% 30%, #a7d18c, #4d7038);
  box-shadow: 0 0 30px var(--glow-soft);
}
.rcard-name {
  margin: 0;
  font-size: 1.05rem; font-weight: 500;
}
.rcard-name-main {
  font-size: clamp(1.6rem, 6vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.rcard-handle {
  margin: 2px 0 10px;
  font-size: 0.78rem;
  color: var(--muted);
}
.rcard-bio {
  margin: 0 0 14px;
  font-size: 0.84rem;
  color: var(--muted);
}
.prev-answer {
  margin-top: 12px;
  text-align: left;
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}
.countdown {
  margin: 4px 0 8px;
  font-size: 1.8rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* Today's card (green glow) */
.rcard-main {
  border-color: rgba(167, 209, 140, 0.28);
  background:
    radial-gradient(120% 70% at 50% 0%, rgba(127,174,99,0.30), transparent 65%),
    linear-gradient(180deg, #1b2418, #101310);
  box-shadow: 0 30px 80px -30px var(--glow-soft);
  padding: 20px 18px;
}
.rcard-main::after {
  content: "";
  position: absolute;
  left: 15%; right: 15%; bottom: -30px; height: 60px;
  background: radial-gradient(closest-side, var(--glow-soft), transparent);
  filter: blur(14px);
  z-index: -1;
}
.riddle-text {
  margin: 0 auto 18px;
  max-width: 52ch;
  font-size: 1rem;
  color: #dcdad5;
  text-align: left;
}

/* Timer chip states */
.timer { font-variant-numeric: tabular-nums; font-weight: 600; }
.timer.is-warning { color: var(--warning); border-color: var(--warning); }
.timer.is-over { color: var(--danger); border-color: var(--danger); }
.timer.is-done { color: var(--success); border-color: var(--success); }

/* Options */
.options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin-bottom: 14px;
}
.option-btn {
  padding: 11px 10px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  background: rgba(0,0,0,0.25);
  cursor: pointer;
}
.option-btn:hover:not(:disabled) { border-color: var(--text); }
.option-btn:disabled { opacity: 0.5; cursor: default; }

/* Answer input */
.pill-input {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 5px 5px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(0,0,0,0.35);
  transition: border-color .2s;
}
.pill-input:focus-within { border-color: var(--glow); }
.pill-input input {
  flex: 1; min-width: 0;
  border: 0; outline: 0;
  background: transparent;
  font-size: 1rem; /* 16px stops iOS zoom */
  padding: 8px 0;
}
.pill-input input::placeholder { color: #6c6a71; }
.pill-input input:disabled { opacity: 0.7; }
.pill-input:has(input.is-wrong) { border-color: var(--danger); }
.pill-input:has(input.is-right) { border-color: var(--success); }

.feedback { min-height: 1.4em; margin: 10px 0 0; font-weight: 600; font-size: 0.92rem; }
.feedback.is-wrong { color: var(--danger); }
.feedback.is-right { color: var(--success); }
.timer-note { margin: 4px 0 0; font-size: 0.82rem; color: var(--warning); }
.timer-note:empty { display: none; }

.hint-box { margin-top: 12px; }
.hint-text {
  margin: 10px 0 0;
  padding: 10px 14px;
  text-align: left;
  border-radius: 14px;
  background: rgba(0,0,0,0.3);
  border: 1px dashed rgba(245,196,81,0.45);
  font-size: 0.88rem;
}

.stat-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px;
  margin-top: 18px;
}

/* ---------- Glass cards (success, footer) ---------- */
.glass {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #141416, #0d0d0f);
  padding: 22px;
}
.success-card {
  max-width: 640px;
  margin: 0 auto 30px;
  text-align: center;
  border-color: rgba(155,224,122,0.3);
}
.success-title {
  margin: 0 0 4px;
  font-weight: 500;
  font-size: clamp(1.6rem, 6vw, 2.2rem);
  letter-spacing: -0.02em;
  color: var(--success);
}
.success-title em { color: var(--text); }
.part2 {
  margin: 18px 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
}
.part2-text { margin-top: 14px; text-align: left; }

/* ---------- Ad slots ---------- */
.ad-slot {
  min-height: 90px;
  margin: 0 auto 30px;
  max-width: 728px;
  border-radius: 16px;
  border: 1px dashed #3a3a3e;
  background: var(--ad-bg);
  display: flex; align-items: center; justify-content: center;
}
.ad-label { color: #77757c; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* "Advertise here" banner inside the ad slots. Paste real ad code over
   this link when you sell the space. */
.ad-sell {
  width: 100%; min-height: 90px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 14px 16px;
  text-align: center; text-decoration: none; color: var(--text);
  border-radius: 16px;
  transition: background .2s;
}
.ad-sell:hover { background: rgba(255, 255, 255, 0.05); }
.ad-headline { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.ad-cta {
  margin-top: 4px; padding: 5px 14px;
  border-radius: 999px; background: var(--text); color: #0b0b0d;
  font-size: 0.78rem; font-weight: 700;
}

/* ---------- Archive grid (scrolling tiles, full-bleed) ---------- */
.archive {
  margin: 0 calc(50% - 50vw) 50px;
  width: 100vw;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.archive-rows { display: grid; gap: 12px; }
.archive-row {
  display: flex; gap: 12px;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.archive-row:nth-child(2) { animation-direction: reverse; animation-duration: 70s; }
.archive-row:nth-child(3) { animation-duration: 80s; }
.archive:hover .archive-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.tile {
  position: relative;
  flex: none;
  width: 128px; height: 128px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 10px;
  text-align: left;
}
.tile::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7));
}
.tile > * { position: relative; }
.tile-emoji { position: absolute; top: 10px; left: 10px; font-size: 1.6rem; }
.tile-num { font-size: 0.65rem; color: rgba(255,255,255,0.7); }
.tile-title { font-size: 0.8rem; font-weight: 600; line-height: 1.2; }
/* Locked tiles: a soft glow and dashed border read as "coming soon", not broken */
.tile.is-locked {
  border-style: dashed;
  border-color: rgba(255,255,255,0.22);
  background-image: radial-gradient(circle at 50% 35%, rgba(120,255,170,0.18), transparent 65%),
                    linear-gradient(160deg, #1d2a24, #0f1412);
}
.tile.is-locked .tile-emoji { opacity: 0.9; }
.tile.is-locked .tile-title { color: #d7e9de; }

/* Instagram post tiles: portrait, image fills the tile, no overlay text */
.tile-post {
  width: 128px; height: 160px;
  padding: 0;
  text-decoration: none;
  transition: transform .2s, border-color .2s;
}
.tile-post::before { display: none; }
.tile-post img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-post:hover, .tile-post:focus-visible { transform: translateY(-3px); border-color: var(--line-strong); }
.archive:focus-within .archive-row { animation-play-state: paused; }
.archive-row { align-items: center; }
@media (min-width: 760px) {
  .tile { width: 150px; height: 150px; }
  .tile-post { width: 150px; height: 188px; }
}

/* ---------- Sections ---------- */
.section { padding: 10px 6px 50px; }
.label { margin: 0 0 6px; font-size: 0.85rem; }
.label em { color: var(--muted); margin-right: 4px; }
.section-title {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: clamp(2rem, 7vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.section-title em { color: #b9b7bd; }

/* Leaderboard */
.leaderboard-list {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; gap: 8px;
  counter-reset: rank;
}
.leaderboard-list li {
  counter-increment: rank;
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
}
.leaderboard-list li::before {
  content: counter(rank);
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
}
.leaderboard-list li:first-child::before {
  background: radial-gradient(circle at 35% 30%, #a7d18c, #4d7038);
  color: #0b0b0d; font-weight: 700;
}
.lb-name { font-weight: 500; font-size: 0.9rem; }
.lb-sub { display: block; font-size: 0.75rem; color: var(--muted); }
.lb-points { font-family: var(--font-serif); font-size: 1.6rem; line-height: 1; }

/* Join */
.join { display: grid; gap: 30px; }
.badge-ring {
  position: relative;
  width: 130px; height: 130px;
  margin-top: 18px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
}
.badge-ring svg {
  width: 100%; height: 100%;
  animation: spin 22s linear infinite;
}
.badge-ring text { fill: var(--muted); font-size: 13px; letter-spacing: 3.2px; }
.badge-core {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-style: italic;
  font-size: 2.6rem; color: #cfcdc8;
}
@keyframes spin { to { transform: rotate(360deg); } }

.join-right { text-align: right; }
.join-kicker { margin: 0; font-size: 1.5rem; color: var(--muted); font-weight: 300; }
.join-title {
  margin: 4px 0 14px;
  font-weight: 500;
  font-size: clamp(2.8rem, 11vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.join-title em { color: #b9b7bd; font-size: 1.08em; }
.join-right .muted { margin: 0 0 18px auto; max-width: 36ch; }

.signup-form {
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.signup-form input {
  width: 100%; max-width: 380px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.03);
  font-size: 1rem;
  outline: 0;
  text-align: left;
}
.signup-form input:focus { border-color: var(--glow); }
.signup-form input::placeholder { color: #6c6a71; }
.link-btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; background: none; padding: 0;
  cursor: pointer;
  font-weight: 500;
  text-decoration: underline; text-underline-offset: 4px;
}
.link-btn-dot {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--text); color: #0b0b0d;
  display: grid; place-items: center;
  transition: transform .2s;
}
.link-btn:hover .link-btn-dot { transform: translateX(3px); }

.divider-row {
  display: flex; justify-content: space-between;
  padding: 0 6px 12px; margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem; color: var(--dim);
}

/* ---------- Footer ---------- */
.footer { display: grid; gap: 12px; }
.footer-brand {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex; flex-direction: column;
}
.logo-lg { font-size: 1.7rem; }
.footer-tagline { margin: 12px 0 0; max-width: 34ch; font-size: 0.88rem; }
.footer-tagline .dim { color: var(--dim); }
.watermark {
  position: absolute; right: -10px; bottom: -60px;
  font-family: var(--font-serif); font-style: italic;
  font-size: 15rem; line-height: 1;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
}
.footer-bottom {
  position: relative;
  margin-top: auto;
  display: flex; flex-wrap: wrap-reverse; align-items: flex-end; justify-content: space-between; gap: 14px;
}
.footer-bottom .small { margin: 0; color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; max-width: 260px; }
.footer-links a {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 0.75rem;
  text-decoration: none;
}
.footer-links a:hover { background: rgba(255,255,255,0.08); }

.footer-social { display: flex; flex-direction: column; min-height: 300px; }
.footer-social-title { margin: 0 0 14px; font-size: 1.2rem; max-width: 14ch; line-height: 1.25; }
.icon-row { display: flex; gap: 8px; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
}
.icon-btn:hover { background: rgba(255,255,255,0.08); }
.book { margin-top: auto; padding-top: 24px; }
.book .small { margin: 0 0 10px; color: var(--muted); }
.book .pill-btn { width: 100%; }

.noscript { text-align: center; color: var(--danger); padding: 16px; }

/* ---------- Animations ---------- */
@keyframes shake {
  10%, 90% { transform: translateX(-2px); }
  20%, 80% { transform: translateX(4px); }
  30%, 50%, 70% { transform: translateX(-8px); }
  40%, 60% { transform: translateX(8px); }
}
.shake { animation: shake 0.45s cubic-bezier(.36,.07,.19,.97) both; }
.pill-input:has(.shake) { animation: shake 0.45s cubic-bezier(.36,.07,.19,.97) both; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shake, .pill-input:has(.shake), .sparkle, .badge-ring svg { animation: none; }
  .archive-row { animation: none; }
  .archive { overflow-x: auto; }
}

/* ---------- Phones: today's card first, side cards below in a row ---------- */
@media (max-width: 759px) {
  .carousel { grid-template-columns: 1fr 1fr; }
  .rcard-main { grid-column: 1 / -1; order: -1; }
  .rcard-side { padding: 14px 12px; }
  .rcard-side .rcard-bio:not(.prev-answer) {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
}

/* ---------- Tablet & desktop: 3 cards side by side ---------- */
@media (min-width: 760px) {
  .hero { padding: 80px 20px 50px; }
  .carousel {
    grid-template-columns: 1fr minmax(0, 1.55fr) 1fr;
    align-items: center;
    gap: 16px;
  }
  .rcard-side { opacity: 0.75; }
  .rcard-prev { -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.35), #000 45%); mask-image: linear-gradient(90deg, rgba(0,0,0,0.35), #000 45%); }
  .rcard-next { -webkit-mask-image: linear-gradient(270deg, rgba(0,0,0,0.35), #000 45%); mask-image: linear-gradient(270deg, rgba(0,0,0,0.35), #000 45%); }
  .rcard-side:hover, .rcard-side:focus-within { opacity: 1; }
  .rcard-main { padding: 22px 26px 24px; }

  .section { padding: 20px 20px 70px; }
  .join { grid-template-columns: 1fr 1.4fr; align-items: start; }
  .footer { grid-template-columns: 1.7fr 1fr; }
}
