/* Home page. Built on style.css (tokens, buttons, header basics, footer) and kept flat:
   real screenshots do the heavy lifting, panels have small corners and a hairline border,
   and nothing glows. */

.home {
  --r: 6px;
  --panel: #10141B;
  --panel-2: #141A23;
}

/* Header: transparent over the hero, solid once you scroll. */
.home .hdr {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  transition: background-color var(--med) var(--ease-out), border-color var(--med) var(--ease-out);
}
.home .hdr.scrolled {
  background: #0D1117;
  border-bottom-color: var(--line);
}
.home .hdr__nav a {
  color: #DCE3EC;
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--r);
}
.home .hdr__nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.hdr__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #DCE3EC;
  border-radius: var(--r);
  transition: color var(--fast) var(--ease-out), background-color var(--fast) var(--ease-out);
}
.hdr__icon:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.hdr__icon svg { width: 22px; height: 22px; }
.home .btn { border-radius: var(--r); }

/* Hero: a real BONELAB shot, dimmed and softened, with the app in front of it. */
.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 0;
  text-align: center;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: -20px;
  z-index: -2;
  background-size: cover;
  background-position: center 40%;
  filter: blur(3px) saturate(.9);
  transform: scale(1.04);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 14, 19, .72) 0%, rgba(11, 14, 19, .80) 55%, var(--bg) 100%);
}
.hero__in { display: flex; flex-direction: column; align-items: center; }
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--r);
  background: rgba(0, 0, 0, .45);
  font-size: 13px;
  font-weight: 600;
  color: #DCE3EC;
}
.hero__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warn);
}
.hero__title {
  margin: 22px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: #fff;
}
.hero__sub {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 17px;
  color: #B9C4D2;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}
.showcase {
  width: 100%;
  max-width: 1000px;
  margin-top: 56px;
  border: 1px solid var(--line-2);
  border-bottom: 0;
  border-radius: var(--r) var(--r) 0 0;
  overflow: hidden;
  background: var(--panel);
  box-shadow: 0 -10px 60px rgba(0, 0, 0, .45);
}
.showcase img { width: 100%; height: auto; }

/* Three pillars under the hero, like a spec sheet. */
.pillars {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.pillars__in {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.pillar {
  padding: 40px 32px;
  border-left: 1px solid var(--line);
}
.pillar:first-child { border-left: 0; }
.pillar svg { width: 30px; height: 30px; color: var(--blue); }
.pillar h3 {
  margin: 16px 0 14px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.pillar a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--fast) var(--ease-out);
}
.pillar a:hover { color: var(--text); }

/* Section heads and the feature grid. */
.home .section { padding: 100px 0; }
.section--alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { max-width: 620px; margin-bottom: 40px; }
.head h2, .band h2, .split h2, .dl h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  color: #fff;
}
.head p, .band p, .split p, .dl p { margin: 12px 0 0; font-size: 16px; color: var(--muted); }

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.panel {
  padding: 28px 26px 30px;
  background: var(--bg);
  transition: background-color var(--med) var(--ease-out);
}
.panel:hover { background: var(--panel); }
.panel svg { width: 24px; height: 24px; color: var(--blue); }
.panel h3 { margin: 16px 0 8px; font-family: var(--display); font-weight: 600; font-size: 18px; }
.panel p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* Full-bleed band with a game shot behind it. */
.band {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  isolation: isolate;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 14, 19, .96) 0%, rgba(11, 14, 19, .86) 45%, rgba(11, 14, 19, .35) 100%);
}
.band__copy { max-width: 520px; }

/* Text beside a picture. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--flip .split__copy { order: 2; }
.photo {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background-size: cover;
  background-position: center;
}

.pack {
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--bg);
  overflow: hidden;
}
.pack__head {
  display: flex;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.pack__head span { color: var(--muted); font-size: 13px; }
.pack__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.pack__row:last-child { border-bottom: 0; }
.pack__row i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  font-style: normal;
  font-weight: 700;
  font-family: var(--display);
  color: #fff;
}
.pack__row .t1 { background: #3B6FD8; }
.pack__row .t2 { background: #7C4DDB; }
.pack__row .t3 { background: #D8793B; }
.pack__row span { flex: 1; }
.pack__row em { font-style: normal; font-size: 12px; color: var(--muted); }
.pack__row em.mio { color: #7EC8FF; }

/* Download. */
.dl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--panel);
}
.dl[hidden] { display: none; }
.dl__copy { max-width: 540px; }
.dl__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dl .agree { font-size: 13px; color: var(--dim); }
.dl .agree a { color: var(--muted); text-decoration: underline; }

.home .footer { margin-top: 0; }

@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .pillars__in, .grid3 { grid-template-columns: 1fr; }
  .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .pillar:first-child { border-top: 0; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--flip .split__copy { order: 0; }
  .dl { flex-direction: column; align-items: flex-start; padding: 30px 24px; }
  .band::before { background: rgba(11, 14, 19, .86); }
}

/* The signed-in slot: admin link, avatar and badge on one line. */
.home #userSlot { display: flex; align-items: center; gap: 10px; }
.home #userSlot .hdr__nav { margin: 0; padding: 8px 12px; font-size: 15px; font-weight: 600; color: #DCE3EC; border-radius: var(--r); }

/* The shared .panel brings its own rounded border; inside the grid the hairlines come
   from the gap, so each cell stays square. */
.grid3 .panel { border: 0; border-radius: 0; }

.dl__actions { flex-wrap: nowrap; flex-shrink: 0; }
@media (max-width: 900px) { .dl__actions { flex-wrap: wrap; } }

/* Header nav, Badlion style: even spacing, no hover box, a thin blue bar that slides in
   from the left on hover and slides out to the right when you leave. */
.home .hdr__in { max-width: none; padding: 0 40px; height: 76px; gap: 0; }
@media (max-width: 900px) { .home .hdr__in { padding: 0 16px; } }
.home .hdr__nav { gap: 0; margin-left: 48px; }
.home .hdr__nav a,
.home #userSlot .hdr__nav {
  position: relative;
  padding: 10px 0;
  margin: 0 18px;
  font-size: 16px;
  font-weight: 600;
  color: #E6ECF3;
  background: none;
  border-radius: 0;
}
.home .hdr__nav a:hover,
.home #userSlot .hdr__nav:hover { color: #fff; background: none; }
.home .hdr__nav a::after,
.home #userSlot .hdr__nav::after {
  content: "";
  position: absolute;
  left: -6px;
  right: -6px;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.home .hdr__nav a:hover::after,
.home .hdr__nav a.on::after,
.home #userSlot .hdr__nav:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}
.home .hdr__right { gap: 22px; }
.home #userSlot { gap: 22px; }
.home #userSlot .hdr__nav { margin: 0; }

/* Dashboard. */
.acctpage .hdr { background: #0D1117; border-bottom-color: var(--line); }
.dash { padding-top: 124px; padding-bottom: 80px; min-height: 80vh; }
.dash__top { display: flex; align-items: center; gap: 16px; }
.dash__top img { width: 64px; height: 64px; border-radius: 50%; }
.dash__top h1 { margin: 0 0 6px; font-family: var(--display); font-size: 30px; }
.dash__tabs { display: flex; gap: 28px; margin: 28px 0 24px; border-bottom: 1px solid var(--line); }
.dash__tabs a { position: relative; padding: 10px 0; font-weight: 600; color: var(--muted); transition: color 180ms ease-out; }
.dash__tabs a:hover, .dash__tabs a.on { color: #fff; }
.dash__tabs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1) !important; }
.dash__tabs a.on::after { transform: scaleX(1); }
.dash__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dash section[data-pane="settings"] { display: grid; gap: 16px; max-width: 640px; }
.dash section[hidden] { display: none; }
.dcard { padding: 22px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); }
.dcard h2 { margin: 0 0 10px; font-family: var(--display); font-size: 18px; }
.dcard p { margin: 0 0 16px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.dcard p.dim { margin: 12px 0 0; font-size: 13px; color: var(--dim); }
.dcard--plus { border-color: rgba(45, 151, 248, .45); }
.plan { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; }
.plan span { font-size: 12px; color: var(--dim); }
.dcard .row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.dcard .row span { color: var(--muted); }
.dcard .mono { font-family: ui-monospace, Consolas, monospace; font-weight: 500; }
@media (max-width: 900px) { .dash__grid { grid-template-columns: 1fr; } }

/* The live app in the hero. The iframe renders at the app's own window size and is
   scaled down to fit, so it looks the same as on a desktop. */
.hero__title { font-size: clamp(48px, 7vw, 88px); letter-spacing: -.02em; }
.hero__sub { max-width: 620px; }
.btn-plus { gap: 0; }
.btn-plus b { color: var(--blue); font-weight: 800; margin-left: 1px; }
.showcase { position: relative; height: 640px; }
.showcase iframe {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 800px; border: 0;
  transform-origin: 0 0;
  background: #070A10;
  /* home.js measures the frame and sets the real scale. This is only so that a page whose
     script never ran shows the whole window a bit small, rather than the middle of it. */
  transform: scale(.78);
}
.showcase { overflow: hidden; }
.showcase__note { margin: 14px 0 0; font-size: 13px; color: var(--dim); }
.hero { padding-bottom: 56px; }
.showcase { border-bottom: 1px solid var(--line-2); border-radius: var(--r); }

/* Discord icon gets the same sliding underline as the nav links. */
.hdr__icon { position: relative; background: none !important; }
.hdr__icon::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--blue); transform: scaleX(0); transform-origin: right center;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1) !important;
}
.hdr__icon:hover::after { transform: scaleX(1); transform-origin: left center; }

/* Craze+ page. */
.plus-hero { padding-bottom: 90px; }
.plus-mark { color: var(--blue); margin-left: 2px; }
.plus-more { margin: 28px 0 0; color: var(--muted); font-size: 15px; }
.hero__cta .btn[disabled] { opacity: .6; }
.hdr__burger svg { display: block; width: 24px; height: 24px; }

/* The solid icons read better a size up. */
.panel svg { width: 30px; height: 30px; }
.pillar svg { width: 36px; height: 36px; }
.acct__item svg { width: 18px; height: 18px; }

/* ---- The camera in three dimensions, and the rest of the Craze+ page ---- */

.cam3d {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 26px;
  align-items: stretch;
  margin: 34px 0 40px;
}

.cam3d__stage {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    radial-gradient(120% 90% at 50% 12%, rgba(45, 151, 248, .13), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  overflow: hidden;
}

.cam3d canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}

.cam3d canvas:active {
  cursor: grabbing;
}

/* The still that was always there stands in where WebGL cannot run. */
.cam3d__flat {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .55;
}

.cam3d--live .cam3d__flat,
.cam3d--live noscript {
  display: none;
}

.cam3d--flat canvas,
.cam3d--flat .cam3d__hint {
  display: none;
}

.cam3d__hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(8, 12, 18, .72);
  color: var(--dim);
  font-size: 12px;
  letter-spacing: .02em;
  pointer-events: none;
}

.cam3d__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cam3d__parts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cam3d__parts button {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 13px var(--body);
  cursor: pointer;
  transition: border-color var(--fast) var(--ease-out), color var(--fast) var(--ease-out),
    background-color var(--fast) var(--ease-out);
}

.cam3d__parts button:hover {
  border-color: var(--line-blue);
  color: var(--text);
}

.cam3d__parts button.on {
  border-color: var(--blue);
  background: var(--blue-faint);
  color: var(--text);
}

.cam3d__card {
  flex: 1;
  padding: 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
}

.cam3d__tag {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cam3d__card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 21px;
}

.cam3d__card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.looks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.look {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  font-size: 14px;
  font-weight: 600;
}

.look__blob {
  width: 52px;
  height: 52px;
  border-radius: 17px;
  background: linear-gradient(140deg, var(--b), var(--a) 62%);
  box-shadow: 0 10px 26px -10px var(--a);
}

.look em {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: var(--dim);
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.plans {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.plans__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.plans__table th,
.plans__table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.plans__table thead th {
  background: var(--bg-2);
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.plans__table td:first-child {
  color: var(--text);
}

.plans__table td {
  color: var(--muted);
}

/* The Craze+ column is the one being sold, so it is the one that is lit. */
.plans__table .is-plus {
  background: var(--blue-faint);
  color: var(--text);
}

.plans__table thead .is-plus {
  color: var(--blue);
}

.plans__table tbody tr:last-child td {
  border-bottom: 0;
}

.plans__table th:not(:first-child),
.plans__table td:not(:first-child) {
  width: 22%;
}

@media (max-width: 900px) {
  .cam3d {
    grid-template-columns: 1fr;
  }

  .cam3d__stage {
    min-height: 320px;
  }

  .looks {
    grid-template-columns: repeat(2, 1fr);
  }

  .plans__table th,
  .plans__table td {
    padding: 12px 12px;
    font-size: 13.5px;
  }
}

/* On the home page the model stands alone in the art column, with the card under it. */
.cam3d--solo {
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0;
}

.cam3d--solo .cam3d__stage {
  min-height: 340px;
}

.cam3d--solo .cam3d__card {
  padding: 18px 20px 20px;
}

.cam3d--solo .cam3d__card h3 {
  font-size: 18px;
}

.cam3d--solo .cam3d__card p {
  font-size: 14.5px;
}

/* ---- The feature pages ---- */

.hero--short {
  min-height: 52vh;
}

.feats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feat {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color var(--med) var(--ease-out), transform var(--med) var(--ease-out);
}

.feat:hover {
  border-color: var(--line-blue);
  transform: translateY(-3px);
}

.feat__shot {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-3);
}

.feat__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform var(--slow) var(--ease-out);
}

.feat:hover .feat__shot img {
  transform: scale(1.03);
}

.feat__body {
  display: block;
  padding: 20px 22px 22px;
}

.feat__body b {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}

.feat__body span {
  display: block;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.feat__body em {
  display: inline-block;
  margin-top: 14px;
  color: var(--blue);
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
}

/* A screenshot standing on its own, in the same frame the panels use. */
.shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

/* Where a picture is wanted and there isn't one yet. It says so plainly rather than
   pretending, and the line underneath says what belongs there. */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 16 / 10;
  padding: 18px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 12px, transparent 12px 24px),
    var(--bg-2);
  text-align: center;
}

.ph span {
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ph em {
  color: var(--muted);
  font-size: 13.5px;
  font-style: normal;
}

.packlist {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.packrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
  color: inherit;
  text-decoration: none;
  transition: border-color var(--fast) var(--ease-out), background-color var(--fast) var(--ease-out);
}

.packrow:hover {
  border-color: var(--line-blue);
  background: var(--bg-3);
}

.packrow__art {
  display: grid;
  flex: none;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--blue-bright), var(--blue));
  color: #06121f;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
}

.packrow__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.packrow__body {
  flex: 1;
  min-width: 0;
}

.packrow__body b {
  display: block;
  font-size: 15.5px;
}

.packrow__body span {
  color: var(--muted);
  font-size: 13.5px;
}

.packrow__tick {
  margin-left: 7px;
  color: var(--ok);
  font-style: normal;
}

.packrow em {
  flex: none;
  color: var(--blue);
  font-size: 13.5px;
  font-style: normal;
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

@media (max-width: 900px) {
  .feats,
  .gallery {
    grid-template-columns: 1fr;
  }
}


/* ---- Craze+ page
   ------------------------------------------------------------------------------------- */

.phero { padding-bottom: 40px; }
.phero__in {
  text-align: left;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.phero .hero__cta { justify-content: flex-start; }
.phero h1 {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.02em;
}
.phero h1 b { color: var(--blue); font-weight: 800; }
.phero__sub { max-width: 30em; margin: 0 0 22px; text-align: left; color: var(--muted); font-size: 17px; line-height: 1.6; }
.phero__from { display: flex; align-items: baseline; gap: 10px; margin-bottom: 26px; justify-content: flex-start; }
.phero__from b { font-family: var(--display); font-size: 30px; }
.phero__from span { color: var(--dim); font-size: 14px; }
.phero__cam { position: relative; aspect-ratio: 5 / 4; }
.phero__cam canvas { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) {
  .phero__in { grid-template-columns: 1fr; gap: 24px; }
  .phero__cam { max-width: 460px; }
}

/* A picture, or an honest hole where one is going. The marker sits in the bottom left and
   says what it is when you put the pointer on it. */
.shotbox {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-2);
}
.shotbox img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shotbox.is-ph {
  border-style: dashed;
  border-color: var(--line-2);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .02) 0 14px, transparent 14px 28px),
    var(--bg-2);
}
.shotbox.is-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 50% 45%, rgba(45, 151, 248, .07), transparent 70%);
}
.shotbox__tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0;
  max-width: calc(100% - 20px);
  padding: 6px;
  border: 1px solid var(--line-2);
  border-radius: 20px;
  background: rgba(8, 11, 16, .82);
  backdrop-filter: blur(6px);
  color: var(--muted);
  cursor: default;
  transition: gap 260ms cubic-bezier(0.22, 1, 0.36, 1), padding 260ms cubic-bezier(0.22, 1, 0.36, 1), color 200ms ease-out;
}
.shotbox__tag svg { flex: none; width: 15px; height: 15px; }
.shotbox__tag i {
  max-width: 0;
  overflow: hidden;
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 200ms ease-out;
}
.shotbox__tag:hover, .shotbox__tag:focus-visible { gap: 7px; padding: 6px 12px 6px 8px; color: #fff; }
.shotbox__tag:hover i, .shotbox__tag:focus-visible i { max-width: 22em; opacity: 1; }

/* The row of what you get, each with a picture over it. */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pcard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.pcard .shotbox { border: 0; border-radius: 0; border-bottom: 1px solid var(--line); }
.pcard__in { padding: 18px 18px 20px; }
.pcard h3 { margin: 0 0 8px; font-family: var(--display); font-size: 17px; }
.pcard p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.pcard__soon { display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 20px; background: rgba(245, 176, 65, .12); color: #f5b041; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 900px) { .pcards { grid-template-columns: 1fr; } }

/* Buying it. */
.buy { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .buy { grid-template-columns: 1fr; gap: 28px; } }
.buybox { padding: 26px; border: 1px solid rgba(45, 151, 248, .4); border-radius: var(--r); background: linear-gradient(180deg, rgba(45, 151, 248, .08), var(--panel) 60%); }
.buybox__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.buybox__price b { font-family: var(--display); font-size: 34px; letter-spacing: -.01em; }
.buybox__price span { color: var(--muted); font-size: 15px; }
.buybox__note { margin: 0 0 18px; color: var(--dim); font-size: 13px; }
.terms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.term {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 8px;
  background: rgba(255, 255, 255, .02); color: var(--text);
  font: 600 14px var(--body); text-align: left; cursor: pointer;
  transition: border-color 160ms ease-out, background 160ms ease-out;
}
.term small { color: var(--dim); font-size: 11.5px; font-weight: 600; }
.term.on { border-color: var(--blue); background: rgba(45, 151, 248, .12); }
.term[disabled] { cursor: not-allowed; opacity: .55; }
.buybox .btn { width: 100%; }
.buybox__gift { margin-top: 10px; }
.code { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.code > label { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13px; }
.code .input { width: 100%; text-transform: uppercase; }
.code .code__row { display: flex; align-items: flex-start; gap: 9px; margin: 12px 0 0; color: var(--dim); font-size: 12.5px; line-height: 1.45; cursor: pointer; }
.code .code__row input { flex: none; width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--blue); }
.code__ok { margin-top: 8px; color: #6fe0a8; font-size: 12.5px; font-weight: 600; }
.code__bad { margin-top: 8px; color: #ff9aa6; font-size: 12.5px; font-weight: 600; }

/* The two-column list of perks beside the price. */
.perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; }
@media (max-width: 700px) { .perks { grid-template-columns: 1fr; gap: 22px; } }
.perk { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.perk svg { width: 20px; height: 20px; margin-top: 2px; color: var(--blue); }
.perk h3 { margin: 0 0 5px; font-family: var(--display); font-size: 15.5px; }
.perk p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.perk__soon { margin-left: 6px; color: #f5b041; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

/* One big sentence, the way a shop page says the thing it wants you to remember. */
.bigsay { padding: 96px 0; text-align: center; }
.bigsay h2 { max-width: 16em; margin: 0 auto; font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.22; letter-spacing: -.01em; }
.bigsay h2 em { color: var(--dim); font-style: normal; }
.bigsay p { max-width: 34em; margin: 18px auto 0; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* Questions people actually ask before paying for something. */
.faq { display: grid; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; font: 600 15.5px var(--body); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(255, 255, 255, .03); }
.faq summary::after { content: ""; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1); }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq p { margin: 0; padding: 0 18px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* What the page says once it knows who you are. */
.yours { display: none; margin-bottom: 16px; padding: 12px 14px; border: 1px solid rgba(58, 200, 128, .4); border-radius: 8px; background: rgba(58, 200, 128, .08); color: #b8f2d2; font-size: 14px; font-weight: 600; }
.yours.show { display: block; }

/* A small dialog the page builds itself: gifting, and anything else that needs one answer. */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 6, 10, .72);
  backdrop-filter: blur(3px);
  animation: modalIn 180ms ease-out both;
}
.modal__card {
  width: min(560px, 100%);
  padding: 26px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  animation: modalCard 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
.modal__card h3 { margin: 0 0 8px; font-family: var(--display); font-size: 21px; }
.modal__card p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
@keyframes modalIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalCard { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .modal, .modal__card { animation: none; }
}

/* ---- dashboard: billing, gifts and the creator side */

.dcard .big { font-family: var(--display); font-size: 34px; line-height: 1.1; letter-spacing: -.01em; }
.dcard .row b.ok { color: #6fe0a8; }
.dcard .gift { cursor: pointer; border-bottom: 1px dashed var(--line-2); }
.dcard .gift:hover { color: var(--blue); }
.dcard .plans__table { margin-top: 12px; }
.badge--plus { margin-left: 8px; padding: 3px 9px; border-radius: 20px; background: rgba(45, 151, 248, .14); color: #7fc4ff; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.claim { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.claim label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 13.5px; }
.claim__row { display: flex; gap: 8px; }
.claim__row .input { flex: 1; min-width: 0; text-transform: uppercase; }
.claim .dim { margin-top: 8px; font-size: 12.5px; line-height: 1.5; }

.note { margin-top: 12px; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; line-height: 1.5; }
.note--wait { border: 1px solid rgba(245, 176, 65, .35); background: rgba(245, 176, 65, .08); color: #ffd9a0; }
.note--bad { border: 1px solid rgba(239, 91, 103, .4); background: rgba(239, 91, 103, .08); color: #ffc3c8; }

.acctrow {
  display: flex; align-items: center; gap: 10px;
  width: 100%; margin-bottom: 8px; padding: 9px 11px;
  border: 1px solid var(--line); border-radius: 8px;
  background: rgba(255, 255, 255, .02); color: var(--text);
  font: 600 14px var(--body); text-align: left; cursor: pointer;
  transition: border-color 150ms ease-out, background 150ms ease-out;
}
.acctrow:hover:not([disabled]) { border-color: var(--line-2); background: rgba(255, 255, 255, .05); }
.acctrow[disabled] { cursor: default; opacity: .85; }
.acctrow img { width: 24px; height: 24px; border-radius: 50%; }
.acctrow span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acctrow i { color: var(--dim); font-size: 12px; font-style: normal; font-weight: 600; }

/* On a phone the header had the wordmark, the Discord link, an account and a burger all
   fighting over 430 pixels, and the wordmark lost. The two that are also in the menu below
   step out of the way. */
@media (max-width: 620px) {
  .brand .wordmark { display: none; }
  .hdr__icon { display: none; }
  .home #userSlot .acct__btn span { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
