/* ==========================================================================
   Can't Ban Me — site styles
   Palette: red, black, white
   ========================================================================== */

:root {
  --bg:        #0d0d0d;
  --panel:     #1a1a1a;
  --row:       #262626;
  --line:      #2e2e2e;
  --line-soft: #3a3a3a;
  --red:       #e01b24;
  --red-deep:  #c1121f;
  --red-pale:  #ffe0e2;
  --white:     #ffffff;
  --muted:     #a8a8a8;
  --text:      #d6d6d6;
  --ink:       #141414;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--white);
  font-family: 'Work Sans', Helvetica, Arial, sans-serif;
}

/* Links never sit underlined — only on hover. */
a {
  color: var(--white);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

h1, h2, h3 { margin: 0; }

/* --------------------------------------------------------------------------
   Top bar
   -------------------------------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  height: 44px;
  background: #000;
  border-bottom: 3px solid var(--red);
}

.topbar-social { display: flex; gap: 14px; align-items: center; }

.topbar-social svg,
.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.topbar-message {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
}

.btn-upload {
  background: var(--red);
  border: 2px solid var(--white);
  border-radius: 4px;
  padding: 8px 18px;
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: normal;
  white-space: nowrap;
}
.btn-upload:hover { text-decoration: none; background: var(--red-deep); }

/* --------------------------------------------------------------------------
   Tagline strip
   -------------------------------------------------------------------------- */

.tagline-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 28px;
  height: 46px;
  background: var(--red-deep);
  border-bottom: 3px solid #000;
}

.tagline {
  flex: 1;
  color: var(--red-pale);
  font-size: 18px;
  font-style: italic;
  font-weight: 600;
}

.site-url {
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 20px;
}

/* --------------------------------------------------------------------------
   Banner
   -------------------------------------------------------------------------- */

.banner-wrap { padding: 14px 28px; }

.banner {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: #000;
  border: 4px solid #000;
  display: flex;
  align-items: center;
  padding: 0 28px;
}

.banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Darkens the left side so the logo stands out over the photo. */
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.75) 22%, rgba(0,0,0,0) 45%);
}

.banner-logo { position: relative; z-index: 2; display: block; flex-shrink: 0; }
.banner-logo:hover { text-decoration: none; }
.banner-logo img {
  height: 150px;
  width: auto;
  display: block;
  filter:
    drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff)
    drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff)
    drop-shadow(1.5px 1.5px 0 #fff) drop-shadow(-1.5px 1.5px 0 #fff)
    drop-shadow(1.5px -1.5px 0 #fff) drop-shadow(-1.5px -1.5px 0 #fff);
}

/* --------------------------------------------------------------------------
   Description bar
   -------------------------------------------------------------------------- */

.description-bar {
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: #000;
  border-bottom: 2px solid var(--red);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

/* --------------------------------------------------------------------------
   The seven steps
   -------------------------------------------------------------------------- */

.steps-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 28px;
  background: var(--panel);
  border-bottom: 2px solid #000;
}

.step {
  flex: 1;
  min-width: 150px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--row);
  border-left: 3px solid var(--red);
  border-radius: 3px;
  padding: 9px 11px;
}

.step-number {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.step-label { font-size: 13px; font-weight: 700; line-height: 1.25; }

/* --------------------------------------------------------------------------
   Welcome strip
   -------------------------------------------------------------------------- */

.welcome-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  height: 52px;
  background: var(--panel);
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
}

.welcome-name { font-size: 17px; font-weight: 700; }
.spacer { flex: 1; }

.badge-pill {
  background: var(--red-deep);
  border: 1px solid var(--white);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
}

.btn-outline {
  background: var(--bg);
  border: 2px solid var(--white);
  border-radius: 4px;
  padding: 6px 20px;
  font-size: 14px;
  font-weight: 700;
}
.btn-outline:hover { text-decoration: none; background: var(--row); }

/* --------------------------------------------------------------------------
   Main navigation
   -------------------------------------------------------------------------- */

.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 6px 28px;
  background: #000;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.nav-account {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-nav a {
  padding: 9px 18px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
}
.main-nav a:hover { text-decoration: underline; }
.main-nav .nav-links a.active { background: var(--red); }
.main-nav .nav-links a.active:hover { text-decoration: none; }
.nav-account a:hover { text-decoration: none; }

/* --------------------------------------------------------------------------
   Platform sub strip
   -------------------------------------------------------------------------- */

.sub-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 8px 28px;
  min-height: 50px;
  background: var(--white);
  border-bottom: 3px solid var(--red);
}

.sub-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sub-links a { color: var(--ink); font-size: 14px; font-weight: 700; }
.sub-links .divider { color: #b5b5b5; }

.search-form {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-form label { color: var(--ink); font-size: 14px; font-weight: 700; }

.search-form input {
  width: 240px;
  max-width: 45vw;
  height: 32px;
  padding: 0 10px;
  border: 2px solid var(--ink);
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
}

.search-form button {
  height: 32px;
  padding: 0 18px;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--ink);
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.search-form button:hover { background: var(--red-deep); }

/* --------------------------------------------------------------------------
   Page + columns
   -------------------------------------------------------------------------- */

.page { padding: 24px 28px; }

.columns {
  display: flex;
  gap: 22px;
  align-items: stretch;
}

.col-left  { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.col-right { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.col-centre { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }

/* --------------------------------------------------------------------------
   Panels
   -------------------------------------------------------------------------- */

.panel {
  border: 2px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.panel.grow { flex: 1; }

.panel-head {
  background: var(--red-deep);
  padding: 9px 14px;
  color: var(--white);
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.3px;
}

.panel-head-split { display: flex; align-items: center; gap: 12px; }

.panel-head-big { font-size: 20px; padding: 13px 16px; text-align: center; }

.panel-note {
  margin-left: auto;
  color: var(--red-pale);
  font-family: 'Work Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.panel-body {
  flex: 1;
  background: var(--panel);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   Recently banned list
   -------------------------------------------------------------------------- */

.recent-item {
  background: var(--row);
  border-left: 3px solid var(--red);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.recent-item:hover { text-decoration: none; background: #303030; }
.recent-title { font-size: 14px; font-weight: 700; }
.recent-meta { color: var(--muted); font-size: 12px; }

/* --------------------------------------------------------------------------
   Ban reasons
   -------------------------------------------------------------------------- */

.reasons { gap: 10px; padding: 14px 12px; }

.reason-row { display: flex; align-items: center; gap: 10px; }
.reason-label { width: 140px; font-size: 12.5px; font-weight: 600; line-height: 1.25; }

.reason-track {
  flex: 1;
  height: 12px;
  background: #333;
  border-radius: 6px;
  overflow: hidden;
}
.reason-fill { display: block; height: 12px; background: var(--red); }
.reason-count { width: 26px; text-align: right; font-size: 13px; font-weight: 700; }

/* --------------------------------------------------------------------------
   Featured ban
   -------------------------------------------------------------------------- */

.featured { display: flex; gap: 12px; }

.featured-clip {
  width: 400px;
  flex-shrink: 0;
  height: 226px;
  background: #000;
  border: 2px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.play-ring {
  width: 54px;
  height: 54px;
  border: 2px solid var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-icon { width: 22px; height: 22px; fill: var(--red); }

.featured-clip-label { color: #9a9a9a; font-size: 13px; font-weight: 700; }

.featured-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

.notice-label {
  color: #ff5a5a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.notice-shot {
  flex: 1;
  min-height: 130px;
  background: var(--row);
  border: 2px dashed #6b6b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  color: #b5b5b5;
  font-size: 13px;
  font-weight: 700;
}

.featured-tags { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.tag-badge {
  background: var(--red);
  border: 2px solid var(--white);
  border-radius: 3px;
  padding: 4px 11px;
  font-size: 12px;
  font-weight: 700;
}

.tag-plain {
  background: var(--row);
  border: 1px solid var(--line-soft);
  border-radius: 3px;
  padding: 4px 11px;
  color: #cfcfcf;
  font-size: 12px;
  font-weight: 600;
}

.creator-quote {
  margin: 4px 0 0;
  background: var(--row);
  border-left: 4px solid var(--red);
  padding: 10px 14px;
  color: #e8e8e8;
  font-size: 14px;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Clip grid
   -------------------------------------------------------------------------- */

.clip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
}

.clip-card { display: flex; flex-direction: column; gap: 6px; }
.clip-card:hover { text-decoration: none; }
.clip-card:hover .clip-title { text-decoration: underline; }

.clip-thumb {
  aspect-ratio: 16 / 10;
  background: #000;
  border: 2px solid var(--line-soft);
  display: flex;
  align-items: flex-end;
  padding: 7px;
}

.clip-platform {
  background: var(--red);
  border: 1px solid var(--white);
  border-radius: 3px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
}

.clip-title { font-size: 13px; font-weight: 700; }
.clip-creator { color: var(--muted); font-size: 12px; }

/* --------------------------------------------------------------------------
   Leaderboard
   -------------------------------------------------------------------------- */

.leaderboard { gap: 5px; padding: 8px; }

.leader-row {
  border-radius: 3px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.leader-row:hover { text-decoration: none; outline: 1px solid var(--white); }

.leader-rank   { width: 16px; font-size: 13px; font-weight: 700; }
.leader-name   { flex: 1; font-size: 14px; font-weight: 700; }
.leader-badges { font-size: 13px; font-weight: 700; }

/* --------------------------------------------------------------------------
   Claim your badge
   -------------------------------------------------------------------------- */

.badge-panel {
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 16px 14px;
  text-align: center;
}

.big-badge {
  width: 118px;
  height: 118px;
  background: var(--red);
  border: 5px solid #000;
  box-shadow: 0 0 0 3px var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 15px;
  line-height: 1.15;
}

.badge-explainer { margin: 0; color: #e8e8e8; font-size: 13px; line-height: 1.45; }

.btn-white {
  background: var(--white);
  border: 2px solid #000;
  border-radius: 4px;
  padding: 10px 22px;
  color: var(--red-deep);
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 14px;
  font-weight: normal;
}
.btn-white:hover { text-decoration: none; background: #f0f0f0; }

.badge-limits { color: var(--muted); font-size: 12px; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form-page {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.mascot-leaner,
.mascot-pointing {
  position: absolute;
  bottom: 0;
  width: auto;
  z-index: 2;
  cursor: pointer;
  filter:
    drop-shadow(2px 0 0 #4a4a4a) drop-shadow(-2px 0 0 #4a4a4a)
    drop-shadow(0 2px 0 #4a4a4a) drop-shadow(0 -2px 0 #4a4a4a);
}

/* Sits just left of the 480px-wide panel. */
.mascot-leaner {
  height: 190px;
  right: calc(50% + 218px);
}

/* Sits just left of the 620px-wide panel. */
.mascot-pointing {
  height: 200px;
  right: calc(50% + 298px);
}

@media (max-width: 1000px) {
  .mascot-leaner,
  .mascot-pointing { display: none; }
}

.form-panel { width: 100%; max-width: 480px; }

.form-body { gap: 0; padding: 20px; }

.form-welcome {
  margin: 0 0 6px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.form-intro-centred { text-align: center; }

.form-intro { margin: 0 0 16px; color: var(--text); font-size: 14px; line-height: 1.5; }

.form-error-summary {
  background: var(--red-deep);
  border: 2px solid var(--white);
  border-radius: 4px;
  padding: 9px 12px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 700;
}

.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }

.field label { font-size: 14px; font-weight: 700; }

.field input {
  height: 42px;
  padding: 0 12px;
  background: var(--row);
  color: var(--white);
  border: 2px solid var(--line-soft);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
}
.field input:focus { outline: none; border-color: var(--white); }
.field input.has-error { border-color: var(--red); }

.field select,
.field textarea {
  padding: 10px 12px;
  background: var(--row);
  color: var(--white);
  border: 2px solid var(--line-soft);
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
}
.field select { height: 42px; padding-top: 0; padding-bottom: 0; cursor: pointer; }
.field textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--white); }
.field select.has-error,
.field textarea.has-error { border-color: var(--red); }

.field-hint  { color: var(--muted); font-size: 12px; }
.field-error { color: #ff6b6b; font-size: 12px; font-weight: 700; }

.btn-red {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 4px;
  padding: 12px 22px;
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 15px;
  font-weight: normal;
  cursor: pointer;
  text-align: center;
}
.btn-red:hover { text-decoration: none; background: var(--red-deep); }

.btn-block { width: 100%; margin-top: 4px; }
.btn-block.btn-red { padding: 16px 0; font-size: 19px; }

.btn-small { padding: 6px 20px; font-family: 'Work Sans', sans-serif; font-size: 14px; font-weight: 700; }

.form-panel-wide { max-width: 620px; }

.optional { color: var(--muted); font-weight: 400; }

/* Page 2: each question sits in its own block with a thin line under it. */
.form-sectioned > .field {
  margin: 0 0 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}
.form-sectioned > .field-no-line { padding-bottom: 0; border-bottom: none; }
.form-sectioned > .field legend { margin-bottom: 12px; }
.form-sectioned .field-hint,
.form-sectioned .field-error { display: block; margin-top: 8px; }

.choice-row { display: grid; gap: 6px; }
.choice-row-5  { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.choice-row-10 { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; }

.choice-option,
.anger-option {
  position: relative;
  display: block;
  cursor: pointer;
}

/* The real radio stays in the page for keyboards and screen readers, just out of sight. */
.choice-option input,
.anger-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice-option span {
  display: block;
  background: var(--row);
  border: 2px solid var(--line-soft);
  border-radius: 4px;
  padding: 9px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.choice-option:hover span { border-color: var(--white); }
.choice-option input:checked + span { background: #3a1b1d; border-color: var(--red); }
.choice-option input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }

.anger-option span {
  display: block;
  background: var(--anger);
  border: 2px solid transparent;
  border-radius: 3px;
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}
.anger-option:hover span { border-color: rgba(255, 255, 255, 0.5); }
.anger-option input:checked + span { border-color: var(--white); box-shadow: 0 0 0 2px var(--white); }
.anger-option input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }

@media (max-width: 700px) {
  .choice-row-10 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

fieldset.field {
  border: none;
  margin: 0 0 18px;
  padding: 0;
}

fieldset.field legend {
  padding: 0;
  margin-bottom: 9px;
  font-size: 14px;
  font-weight: 700;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 6px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--row);
  border: 2px solid var(--line-soft);
  border-radius: 4px;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.checkbox-option:hover { border-color: var(--white); }
.checkbox-option input { width: 16px; height: 16px; accent-color: var(--red); cursor: pointer; }
.checkbox-option:has(input:checked) { border-color: var(--red); background: #3a1b1d; }

@media (max-width: 700px) {
  .checkbox-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.age-note {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.form-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.form-foot a { color: var(--white); font-weight: 700; }

/* --------------------------------------------------------------------------
   Profile
   -------------------------------------------------------------------------- */

.line-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

.profile-page {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.profile-card,
.profile-section {
  background: var(--panel);
  border: 2px solid var(--line);
  border-radius: 5px;
  padding: 20px;
}

.profile-card { display: flex; gap: 20px; align-items: flex-start; }

.profile-avatar {
  width: 132px;
  height: 132px;
  flex-shrink: 0;
  background: #000;
  border: 3px solid var(--red);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b6b6b;
  font-size: 12px;
  font-weight: 700;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.profile-main { flex: 1; min-width: 0; }

.profile-name-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }

.profile-name {
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 28px;
  font-weight: normal;
  line-height: 1.1;
  word-break: break-word;
}

.profile-badge {
  background: var(--red);
  border: 2px solid var(--white);
  border-radius: 4px;
  padding: 3px 10px;
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 12px;
}

.profile-bio { margin: 0 0 18px; color: var(--muted); font-size: 14px; line-height: 1.5; max-width: 620px; }

.profile-stats { display: flex; gap: 28px; flex-wrap: wrap; }
.profile-stat { display: flex; align-items: center; gap: 10px; }
.profile-stat .line-icon { width: 26px; height: 26px; color: var(--muted); flex-shrink: 0; }
.profile-stat-n { display: block; font-family: 'Bungee', 'Work Sans', sans-serif; font-size: 22px; line-height: 1; }
.profile-stat-label { display: block; margin-top: 3px; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.5px; }

.profile-actions { display: flex; flex-direction: column; gap: 9px; width: 180px; flex-shrink: 0; }
.profile-actions .btn-red { padding: 11px 0; font-size: 14px; }
.profile-actions .btn-outline { padding: 9px 0; text-align: center; font-family: inherit; cursor: pointer; color: var(--white); }

/* Numbered sections */
.section-head { display: flex; align-items: center; gap: 12px; }

.section-num {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 14px;
}

.section-title {
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 20px;
  font-weight: normal;
}

.section-sub { margin: 4px 0 0 48px; color: var(--muted); font-size: 14px; }

.profile-section .platform-tiles,
.profile-section .clips-grid,
.profile-section .profile-empty { margin-top: 16px; }

/* Platform tiles */
.platform-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

.platform-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: var(--row);
  border: 2px solid var(--red);
  border-radius: 6px;
  padding: 16px 8px 13px;
}
.platform-tile:hover { text-decoration: none; border-color: var(--white); }
.platform-tile .line-icon { width: 30px; height: 30px; color: var(--white); }
.platform-tile-name { font-size: 15px; font-weight: 700; }
.platform-tile-go { color: #ff6b6b; font-size: 12px; font-weight: 700; }

.profile-empty { margin: 0; color: var(--muted); font-size: 14px; }

/* Clips */
.clips-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }

.clip-slot {
  display: block;
  aspect-ratio: 9 / 16;
  background: #000;
  border: 2px solid var(--line-soft);
  border-radius: 4px;
}
.clip-slot:hover { border-color: var(--white); text-decoration: none; }
.clip-slot-empty { border-style: dashed; }
.clip-slot-empty:hover { border-color: var(--line-soft); }

.clip-upload {
  background: #1f1f1f;
  border: 2px dashed var(--red);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.clip-upload:hover { border-style: solid; }
.clip-upload-plus { color: var(--red); font-family: 'Bungee', 'Work Sans', sans-serif; font-size: 40px; line-height: 1; }
.clip-upload-label { font-size: 14px; font-weight: 700; text-align: center; padding: 0 8px; }

@media (max-width: 800px) {
  .profile-card { flex-direction: column; align-items: center; text-align: center; }
  .profile-name-row { justify-content: center; }
  .profile-stats { justify-content: center; }
  .profile-bio { margin-left: auto; margin-right: auto; }
  .profile-actions { width: 100%; max-width: 320px; }
  .platform-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clips-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-sub { margin-left: 0; margin-top: 8px; }
}

/* --------------------------------------------------------------------------
   Legal pages (Terms, Privacy) — plain for now, styled later
   -------------------------------------------------------------------------- */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text);
  font-size: 15px;
  line-height: 1.65;
}

.legal-page h1 {
  color: var(--white);
  font-family: 'Bungee', 'Work Sans', sans-serif;
  font-size: 30px;
  font-weight: normal;
  text-align: center;
}

.legal-updated { margin: 4px 0 24px; color: var(--muted); font-size: 13px; text-align: center; }

.legal-section {
  background: var(--panel);
  border-left: 4px solid var(--red);
  border-radius: 4px;
  padding: 18px 22px 8px;
  margin-bottom: 12px;
}

.legal-page h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
}

.legal-page p { margin: 0 0 12px; }
.legal-page ul { margin: 0 0 12px; padding-left: 22px; }
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: var(--white); }
.legal-page a { color: var(--white); font-weight: 700; }

.legal-cta { text-align: center; margin-top: 60px; }
.legal-cta .btn-red { padding: 17px 46px; font-size: 19px; }

/* --------------------------------------------------------------------------
   Coming Soon
   -------------------------------------------------------------------------- */

.soon-page {
  max-width: 520px;
  margin: 0 auto;
  padding-top: 120px;
}

.soon-panel { position: relative; overflow: visible; }
.soon-panel .panel-head { border-radius: 3px 3px 0 0; }

.peek-mascot {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 210px;
  height: auto;
  margin-bottom: -3px;
  pointer-events: none;
}

.soon-body { padding: 26px 20px; }

.notfound-page { padding-top: 40px; }
.ko-mascot {
  display: block;
  margin: 0 auto;
  width: 250px;
  height: auto;
  cursor: pointer;
}
.soon-line { margin: 0; text-align: center; color: var(--text); font-size: 17px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 18px 28px;
  background: #000;
  border-top: 3px solid var(--red);
}

/* Mascot perched on the footer's red line (set per page with $footer_mascot) */
.footer-mascot {
  position: absolute;
  bottom: 100%;
  right: 70px;
  height: 190px;
  width: auto;
  margin-bottom: -6px;
  cursor: pointer;
  filter:
    drop-shadow(2px 0 0 #4a4a4a) drop-shadow(-2px 0 0 #4a4a4a)
    drop-shadow(0 2px 0 #4a4a4a) drop-shadow(0 -2px 0 #4a4a4a);
}

/* Keeps page content clear of the mascot */
.footer-mascot-space { height: 36px; }

.footer-mascot-centre {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  height: 130px;
}

.footer-mascot-space-centre { height: 150px; }

@media (max-width: 700px) {
  .footer-mascot { height: 100px; right: 16px; }
  .footer-mascot-space { height: 80px; }
}

.footer-links { display: flex; gap: 0; flex-wrap: wrap; align-items: center; }
.footer-links a { padding: 0 15px; border-right: 1px solid #3a3a3a; font-size: 14px; font-weight: 600; line-height: 1.1; }
.footer-links a:first-child { padding-left: 0; }
.footer-links a:last-child { padding-right: 0; border-right: none; }

.footer-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.footer-social { display: flex; gap: 14px; }
.copyright { color: var(--muted); font-size: 13px; font-weight: 600; }

/* --------------------------------------------------------------------------
   Smaller screens
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .columns { flex-direction: column; }
  .col-left, .col-right { width: 100%; }
  .clip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured { flex-direction: column; }
  .featured-clip { width: 100%; }
}

@media (max-width: 700px) {
  .page { padding: 16px; }
  .banner-wrap { padding: 12px 16px; }
  .banner { height: 170px; padding: 0 16px; }
  .banner-logo img { height: 96px; }
  .banner::before { background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,0.2) 100%); }
  .tagline-strip { flex-direction: column; height: auto; padding: 10px 16px; gap: 2px; text-align: center; }
  .tagline { font-size: 16px; }
  .description-bar { height: auto; padding: 10px 16px; font-size: 15px; }
  .welcome-strip { flex-wrap: wrap; height: auto; padding: 10px 16px; }
  .sub-strip { padding: 8px 16px; }
  .main-nav { flex-direction: column; gap: 10px; padding: 10px 16px; }
  .nav-account { position: static; transform: none; }
  .steps-strip { padding: 12px 16px; }
  .step { min-width: 100%; }
  .search-form { margin-left: 0; width: 100%; }
  .search-form input { flex: 1; max-width: none; }
  .clip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topbar-message { font-size: 13px; }
  .site-footer { padding: 16px; }
  .footer-right { margin-left: 0; }
}

/* --------------------------------------------------------------------------
   Mascot bounce on click
   -------------------------------------------------------------------------- */

@keyframes mascot-bounce {
  0%   { transform: translateY(0) scale(1); }
  30%  { transform: translateY(-18px) scale(1.04); }
  55%  { transform: translateY(0) scale(0.97); }
  75%  { transform: translateY(-7px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes mascot-bounce-centred {
  0%   { transform: translateX(-50%) translateY(0) scale(1); }
  30%  { transform: translateX(-50%) translateY(-18px) scale(1.04); }
  55%  { transform: translateX(-50%) translateY(0) scale(0.97); }
  75%  { transform: translateX(-50%) translateY(-7px) scale(1.01); }
  100% { transform: translateX(-50%) translateY(0) scale(1); }
}

.mascot-kick {
  display: block;
  margin: 10px auto 0;
  margin-top: auto;
  height: 210px;
  width: auto;
  cursor: pointer;
  filter:
    drop-shadow(2px 0 0 #4a4a4a) drop-shadow(-2px 0 0 #4a4a4a)
    drop-shadow(0 2px 0 #4a4a4a) drop-shadow(0 -2px 0 #4a4a4a);
}

.mascot-bounce { animation: mascot-bounce 0.55s ease-out; }
.footer-mascot-centre.mascot-bounce { animation: mascot-bounce-centred 0.55s ease-out; }

/* --------------------------------------------------------------------------
   Keep the footer at the bottom of the screen on short pages
   -------------------------------------------------------------------------- */

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > * { flex-shrink: 0; }
body > main.page { flex: 1 0 auto; }
