/* Mexico Pterodactyl AI site styles — from Demo v3 (20261112_Mexico Pterodactyl AI_v1_demo, approved 2026-11-13) */
:root {
  --bg: #0a0a0f;
  --b2: #101018;
  --s1: #16161f;
  --s2: #1f1f2b;
  --s3: #2a2a39;
  --l1: rgba(255, 255, 255, 0.09);
  --l2: rgba(255, 255, 255, 0.16);
  --tx: #f6f5fa;
  --mu: #a9a8b8;
  --dim: #8a899b;
  --ac: #ff3d71;
  --go: #f5c46b;
  --ok: #37d99a;
  --wa: #ffcf5a;
  --bad: #ff8fa8;
  --gr: linear-gradient(100deg, #ff3d71 0%, #ff6a4d 55%, #ff9a3d 100%);
  --r: 16px;
  --f:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--tx);
  font: 16px / 1.55 var(--f);
  overflow-x: hidden;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
img,
video {
  display: block;
  max-width: 100%;
}
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
}
/* header */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 15, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--l1);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo i {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gr);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 13px;
  color: #fff;
}
.logo span {
  color: var(--go);
}
.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav a {
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--mu);
  font-weight: 600;
  font-size: 15px;
}
.nav a.on,
.nav a:hover {
  color: var(--tx);
  background: var(--s1);
}
.acct {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--s2);
  border: 1px solid var(--l2);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.pill b {
  color: var(--go);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--l2);
  background: var(--s2);
}
.btn.pri {
  background: var(--gr);
  border: 0;
  color: #fff;
  box-shadow: 0 10px 30px -12px var(--ac);
}
.btn.pri[disabled],
.btn.dis {
  background: var(--s3);
  color: var(--dim);
  box-shadow: none;
  cursor: not-allowed;
}
.btn.lg {
  min-height: 54px;
  font-size: 17px;
  width: 100%;
}
.btn.ghost {
  background: transparent;
}
.menu {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--l2);
  place-items: center;
}
.drawer {
  display: none;
}
@media (max-width: 820px) {
  .nav {
    display: none;
  }
  .menu {
    display: grid;
  }
  .acct .signin-txt,
  .acct .acct-link {
    display: none;
  }
}
.drawer.open {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.6);
}
.drawer .pan {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--s1);
  border-left: 1px solid var(--l2);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer .pan a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
}
.drawer .pan a:hover {
  background: var(--s2);
}
.drawer .x {
  align-self: flex-end;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--l2);
  font-size: 22px;
}
.drawer .sep {
  height: 1px;
  background: var(--l1);
  margin: 8px 0;
}
.drawer .small {
  font-size: 14px;
  color: var(--mu);
  padding: 0 12px;
}
/* banners */
.banner {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 15px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.banner.info {
  background: rgba(245, 196, 107, 0.1);
  border: 1px solid rgba(245, 196, 107, 0.4);
}
.banner.ok {
  background: rgba(55, 217, 154, 0.1);
  border: 1px solid rgba(55, 217, 154, 0.45);
}
.banner.bad {
  background: rgba(255, 143, 168, 0.1);
  border: 1px solid rgba(255, 143, 168, 0.45);
}
/* hero */
.hero {
  padding: 36px 0 24px;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 880px;
}
.hero h1 em {
  font-style: normal;
  background: var(--gr);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .sub {
  color: var(--mu);
  font-size: 18px;
  margin-top: 10px;
  max-width: 760px;
}
@media (max-width: 600px) {
  .hero {
    padding: 18px 0 12px;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero .sub {
    font-size: 15px;
  }
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 22px;
  align-items: start;
}
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.card {
  background: var(--s1);
  border: 1px solid var(--l2);
  border-radius: 20px;
  padding: 20px;
}
@media (max-width: 600px) {
  .card {
    padding: 16px;
    border-radius: 16px;
  }
}
.steps {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: var(--mu);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.up {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  border: 2px dashed var(--l2);
  background: var(--b2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 10px;
  overflow: hidden;
}
.up .plus {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--s3);
  display: grid;
  place-items: center;
  font-size: 24px;
}
.up .lab {
  font-weight: 800;
  font-size: 15px;
}
.up .hint {
  font-size: 13px;
  color: var(--mu);
}
.up.has {
  border-style: solid;
  border-color: var(--l2);
}
.up.has img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.up.has .tag {
  position: absolute;
  left: 8px;
  top: 8px;
  background: rgba(0, 0, 0, 0.65);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.up.has .chg {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
}
.up.err {
  border-color: var(--bad);
  border-style: solid;
  background: rgba(255, 143, 168, 0.06);
}
.up.err .hint {
  color: var(--bad);
}
.tips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.tips span {
  font-size: 12px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--s2);
  color: var(--mu);
  border: 1px solid var(--l1);
}
.spec {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  font-size: 13px;
  color: var(--mu);
}
.spec span {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--b2);
  border: 1px solid var(--l1);
}
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}
.seg button {
  border: 1px solid var(--l2);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  background: var(--b2);
}
.seg button b {
  display: block;
  font-size: 15px;
}
.seg button small {
  color: var(--mu);
  font-size: 13px;
}
.seg button[aria-pressed="true"] {
  border-color: var(--ac);
  background: rgba(255, 61, 113, 0.1);
}
.consent {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--tx);
  align-items: flex-start;
}
.consent .box {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--l2);
  margin-top: 1px;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
}
.consent .box.on {
  background: var(--ac);
  border-color: var(--ac);
}
.consent.err .box {
  border-color: var(--bad);
}
.consent .links {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--mu);
}
.consent .links a {
  color: var(--go);
}
.cta {
  margin-top: 14px;
}
.under {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 13px;
  color: var(--mu);
}
.under a {
  color: var(--go);
}
.ferr {
  margin-top: 10px;
  color: var(--bad);
  font-size: 14px;
  font-weight: 600;
}
/* compare */
.cmp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ph {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--l2);
}
.ph video,
.ph > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph .lb {
  position: absolute;
  left: 8px;
  top: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.ph .lb span {
  background: rgba(0, 0, 0, 0.65);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.ph .lb span.g {
  background: rgba(255, 61, 113, 0.85);
}
.tt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 10px;
  padding: 16px;
  text-align: center;
  background: repeating-linear-gradient(
    135deg,
    #15151d 0 12px,
    #191922 12px 24px
  );
}
.tt .ico {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #000;
  border: 1px solid var(--l2);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
}
.tt p {
  font-size: 13px;
  color: var(--mu);
}
.cmp-cap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--mu);
  text-align: center;
}
.disc {
  margin-top: 14px;
  font-size: 13px;
  color: var(--dim);
}
/* result panel */
.res {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.res .ph {
  max-width: 340px;
  margin: 0 auto;
  width: 100%;
}
.prog {
  height: 8px;
  border-radius: 99px;
  background: var(--s3);
  overflow: hidden;
}
.prog i {
  display: block;
  height: 100%;
  background: var(--gr);
}
.st {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.muted {
  color: var(--mu);
  font-size: 14px;
}
.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.thumbs {
  display: flex;
  gap: 8px;
}
.thumbs img {
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--l2);
}
/* sections */
.sec {
  padding: 48px 0 8px;
}
.sec h2 {
  font-size: 30px;
  letter-spacing: -0.02em;
}
.sec .lead {
  color: var(--mu);
  margin-top: 6px;
}
@media (max-width: 600px) {
  .sec {
    padding: 32px 0 4px;
  }
  .sec h2 {
    font-size: 23px;
  }
}
.exs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 820px) {
  .exs {
    grid-template-columns: 1fr;
  }
}
.ex {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
}
.ex .ins {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ex .ins img {
  width: 120px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--l2);
}
.ex .ins small {
  font-size: 12px;
  color: var(--mu);
  text-align: center;
}
.ex .ph {
  max-width: 260px;
}
.ex .arrow {
  font-size: 13px;
  color: var(--mu);
  margin: 6px 0;
}
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 820px) {
  .how {
    grid-template-columns: 1fr;
  }
}
.how .card b {
  display: block;
  font-size: 13px;
  color: var(--go);
  letter-spacing: 0.06em;
}
.how .card h3 {
  font-size: 18px;
  margin: 4px 0;
}
.faq {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq details {
  background: var(--s1);
  border: 1px solid var(--l1);
  border-radius: 14px;
  padding: 14px 16px;
}
.faq summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.faq summary::after {
  content: "+";
  color: var(--mu);
}
.faq details[open] summary::after {
  content: "–";
}
.faq p {
  color: var(--mu);
  margin-top: 8px;
  font-size: 15px;
}
/* pricing */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
@media (max-width: 900px) {
  .plans {
    grid-template-columns: 1fr;
  }
}
.plan {
  position: relative;
  background: var(--s1);
  border: 1px solid var(--l2);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.plan.rec {
  border: 2px solid var(--ac);
  box-shadow: 0 20px 60px -30px var(--ac);
}
.plan .badge {
  position: absolute;
  top: -12px;
  left: 22px;
  background: var(--gr);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.plan h3 {
  font-size: 20px;
}
.plan .price {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.plan .price small {
  font-size: 15px;
  color: var(--mu);
  font-weight: 600;
}
.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 15px;
  color: var(--mu);
}
.plan ul li::before {
  content: "✓ ";
  color: var(--ok);
  font-weight: 900;
}
.plan .per {
  font-size: 14px;
  color: var(--go);
  font-weight: 700;
}
.assure {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
  margin-top: 18px;
  font-size: 14px;
  color: var(--mu);
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 15px;
}
.tbl td,
.tbl th {
  padding: 10px;
  border-bottom: 1px solid var(--l1);
  text-align: left;
}
/* checkout mock */
/* login modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal .dlg {
  width: min(420px, 100%);
  background: var(--s1);
  border: 1px solid var(--l2);
  border-radius: 20px;
  padding: 24px;
  position: relative;
}
.modal h3 {
  font-size: 22px;
}
.modal .x {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--l2);
  font-size: 20px;
}
.gbtn {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  background: #fff;
  color: #1f1f1f;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}
.or {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-size: 13px;
  margin: 16px 0;
}
.or::before,
.or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--l1);
}
.inp {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--l2);
  background: var(--b2);
  padding: 0 14px;
  font-size: 16px;
}
.otp {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 14px 0;
}
.otp span {
  height: 52px;
  border-radius: 10px;
  border: 1px solid var(--l2);
  background: var(--b2);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
}
.otp span.f {
  border-color: var(--ac);
}
.keep {
  font-size: 13px;
  color: var(--ok);
  margin-top: 12px;
}
/* my videos */
.tabs {
  display: flex;
  gap: 6px;
  margin-top: 18px;
  border-bottom: 1px solid var(--l1);
}
.tabs a {
  padding: 10px 14px;
  text-decoration: none;
  color: var(--mu);
  font-weight: 700;
  border-bottom: 2px solid transparent;
}
.tabs a.on {
  color: var(--tx);
  border-color: var(--ac);
}
.vids {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
@media (max-width: 1000px) {
  .vids {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.vid {
  background: var(--s1);
  border: 1px solid var(--l2);
  border-radius: 16px;
  overflow: hidden;
}
.vid .ph {
  border-radius: 0;
  border: 0;
}
.vid .meta {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.vid .acts {
  display: flex;
  gap: 6px;
}
.vid .acts .btn {
  min-height: 38px;
  padding: 0 10px;
  font-size: 14px;
  flex: 1;
}
.ov {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 14px;
  background: rgba(10, 10, 15, 0.72);
  font-size: 14px;
}
.empty {
  text-align: center;
  padding: 60px 16px;
  border: 1px dashed var(--l2);
  border-radius: 20px;
  margin-top: 20px;
}
.empty .big {
  font-size: 44px;
}
/* policy */
.pol {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  padding: 32px 0;
}
@media (max-width: 820px) {
  .pol {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 0;
  }
}
.toc {
  position: sticky;
  top: 84px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc a {
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--mu);
  font-weight: 600;
  font-size: 15px;
}
.toc a.on {
  background: var(--s1);
  color: var(--tx);
}
@media (max-width: 820px) {
  .toc {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .toc a {
    border: 1px solid var(--l1);
    font-size: 13px;
    padding: 6px 10px;
  }
}
.doc h1 {
  font-size: 34px;
  letter-spacing: -0.02em;
}
.doc .upd {
  color: var(--mu);
  font-size: 14px;
  margin-top: 4px;
}
.doc h2 {
  font-size: 20px;
  margin-top: 26px;
}
.doc ul {
  margin: 8px 0 0 20px;
  color: var(--mu);
}
.doc li {
  margin: 4px 0;
}
.doc p {
  color: var(--mu);
  margin-top: 8px;
}
.draft {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px dashed var(--go);
  color: var(--go);
  font-size: 14px;
  font-weight: 700;
}
.cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 600px) {
  .cats {
    grid-template-columns: 1fr;
  }
}
.cats div {
  background: var(--s1);
  border: 1px solid var(--l1);
  border-radius: 12px;
  padding: 12px;
  font-size: 15px;
}
/* footer */
footer {
  margin-top: 56px;
  border-top: 1px solid var(--l1);
  padding: 36px 0 40px;
  font-size: 14px;
  color: var(--mu);
}
.fcols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}
@media (max-width: 820px) {
  .fcols {
    grid-template-columns: 1fr 1fr;
  }
}
.fcols h4 {
  color: var(--tx);
  font-size: 14px;
  margin-bottom: 8px;
}
.fcols a {
  display: block;
  text-decoration: none;
  padding: 3px 0;
}
.fcols a:hover {
  color: var(--tx);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 80;
  background: var(--s2);
  border: 1px solid rgba(55, 217, 154, 0.6);
  padding: 12px 18px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 10px 40px -10px #000;
  white-space: nowrap;
}
/* v3：15s 横屏样片（16:9 人像 / 4:3 宠物）、模式切换、+4 角度槽、造型开关、模板页、账号注销 */
.mtabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 14px;
  background: var(--s1);
  border: 1px solid var(--l2);
  margin-top: 16px;
  flex-wrap: wrap;
}
.mtabs a {
  padding: 8px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  color: var(--mu);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mtabs a.on {
  background: var(--gr);
  color: #fff;
}
.anglebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--b2);
  border: 1px dashed var(--l2);
  font-size: 13px;
}
.anglebar .slots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.anglebar .mini {
  width: 34px;
  height: 42px;
  border-radius: 7px;
  border: 1px dashed var(--l2);
  display: grid;
  place-items: center;
  font-size: 13px;
  color: var(--mu);
  overflow: hidden;
}
.anglebar .mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.optrow {
  margin-top: 12px;
}
.optrow .lbl {
  font-size: 12px;
  color: var(--mu);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.sample {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--l2);
  aspect-ratio: 16 / 9;
  max-height: 440px;
  margin: 0 auto;
  width: 100%;
}
.sample.ar43 {
  aspect-ratio: 4 / 3;
  max-height: 480px;
}
.sample video,
.sample > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sample .lb {
  position: absolute;
  left: 10px;
  top: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
  z-index: 2;
}
.sample .lb span {
  background: rgba(0, 0, 0, 0.65);
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.sample .lb span.g {
  background: rgba(255, 61, 113, 0.85);
}
.snd {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 800;
  font-size: 14px;
}
.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}
.dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.dots i.on {
  background: #fff;
}
.swipe {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
}
.scap {
  font-size: 13px;
  color: var(--mu);
  text-align: center;
  margin-top: 8px;
}
.mhero {
  display: none;
}
.dgrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin-top: 18px;
  align-items: start;
}
@media (max-width: 900px) {
  .dgrid {
    grid-template-columns: 1fr;
  }
  .dgrid > .dsample {
    display: none;
  }
  .mhero {
    display: block;
    margin-top: 12px;
  }
  .mhero .sample {
    aspect-ratio: 16 / 9;
    max-height: none;
  }
  .mhero .sample.ar43 {
    aspect-ratio: 4 / 3;
  }
  .mhero .cta2 {
    margin-top: 12px;
  }
  .mhero .cta2 small {
    display: block;
    text-align: center;
    color: var(--mu);
    font-size: 13px;
    margin-top: 6px;
  }
}
.ph.ar169 {
  aspect-ratio: 16 / 9;
}
.ph.ar43 {
  aspect-ratio: 4 / 3;
}
.player .dlg {
  width: min(680px, 100%);
  padding: 14px;
}
.player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
}
.player.ar43 .dlg {
  width: min(560px, 100%);
}
.player.ar43 video {
  aspect-ratio: 4 / 3;
}
.ghead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ghead .steps {
  margin: 0;
}
.orig {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 12px;
  border: 1px solid var(--l2);
  background: var(--b2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
}
.orig i {
  width: 28px;
  height: 36px;
  border-radius: 6px;
  background: repeating-linear-gradient(
    135deg,
    #15151d 0 6px,
    #22222e 6px 12px
  );
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 12px;
}
.sheet {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: flex-end;
}
.sheet .pan {
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--s1);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  border-top: 1px solid var(--l2);
  padding: 10px 16px calc(16px + env(safe-area-inset-bottom));
}
.sheet .grab {
  width: 44px;
  height: 5px;
  border-radius: 9px;
  background: var(--s3);
  margin: 4px auto 10px;
}
.sheet .card {
  border: 0;
  padding: 0;
  background: transparent;
}
.sheet .up {
  aspect-ratio: 1 / 1;
}
.sheet .shd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.sheet .shd b {
  font-size: 18px;
}
.sheet .x {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--l2);
  font-size: 20px;
}
.vplay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.45));
}
.vplay span {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.cfm .dlg h3 {
  font-size: 20px;
}
.rform label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  margin-top: 14px;
}
.rform .inp,
.rform textarea {
  margin-top: 6px;
}
.rform textarea {
  width: 100%;
  min-height: 96px;
  border-radius: 12px;
  border: 1px solid var(--l2);
  background: var(--b2);
  padding: 10px 14px;
  font: inherit;
  color: inherit;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.chips span {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--l2);
  font-size: 13px;
  font-weight: 700;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.chips span.on {
  border-color: var(--ac);
  background: rgba(255, 61, 113, 0.12);
}

/* ---- site additions (not in Demo v3) ---- */
[hidden] {
  display: none !important;
}
button.ph {
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
}
label.up {
  cursor: pointer;
}
.up.busy {
  opacity: 0.6;
  pointer-events: none;
}
.mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.fallback {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.fallback .btn {
  flex: 1;
}
.chips button {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--l2);
  font-size: 13px;
  font-weight: 700;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.chips button.on {
  border-color: var(--ac);
  background: rgba(255, 61, 113, 0.12);
}
.ferr.ok {
  color: var(--ok);
  border-color: rgba(55, 217, 154, 0.4);
}
.tbl code {
  font-size: 12px;
  color: var(--mu);
}
select.inp {
  appearance: auto;
}
/* acceptance r1 (2026-11-16) */
/* #14 progress that visibly moves: an indeterminate bar, no fake percentage */
.prog.ind {
  position: relative;
  width: 100%;
}
.prog.ind i {
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  animation: ahl-ind 1.6s ease-in-out infinite;
}
@keyframes ahl-ind {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(265%);
  }
}
.dot.pulse {
  animation: ahl-pulse 1.4s ease-in-out infinite;
}
@keyframes ahl-pulse {
  50% {
    opacity: 0.35;
  }
}
@media (prefers-reduced-motion: reduce) {
  .prog.ind i {
    animation-duration: 4s;
  }
  .dot.pulse {
    animation: none;
  }
}
.jobcard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--l1);
}
.st.small {
  font-size: 15px;
  flex-wrap: wrap;
}
/* My videos: every card uses the same frame so a row lines up (#14) */
.vid {
  display: flex;
  flex-direction: column;
}
.vid .ph.ar169,
.vid .ph.ar43 {
  aspect-ratio: 4 / 3;
  margin-top: 0;
}
.vid .ph video {
  object-fit: contain;
}
.vid .meta {
  flex: 1;
}
.vid .ph.running .ov {
  gap: 10px;
}
.vid .ph.running .ov b {
  font-size: 15px;
}
.vid .ph.running .prog {
  width: 80%;
}
.vid .ph.running .muted {
  font-size: 13px;
}
/* #3 the Make button while these photos are already being made */
.btn.making {
  opacity: 0.85;
}
.btn .small {
  font-size: 13px;
  font-weight: 600;
}
/* #5 auto start countdown, shown right above the Make button */
.autostart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--ac);
  background: rgba(255, 61, 113, 0.1);
  font-size: 15px;
}
.autostart[hidden] {
  display: none;
}
.autostart .btn {
  min-height: 38px;
  padding: 0 14px;
}
/* #12 remove a photo */
.up .del {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  border: 1px solid var(--l2);
  padding: 5px 9px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.anglebar .mini {
  position: relative;
}
.mini .mdel {
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 24px;
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 0 0 0 8px;
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
} /* #16 header account menu · sign out in the drawer and on the account page */
.acctmenu {
  position: relative;
}
.acctpop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 70;
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--l2);
  background: var(--s1);
  box-shadow: 0 18px 40px -16px #000;
  display: flex;
  flex-direction: column;
}
.acctpop[hidden] {
  display: none;
}
.acctpop .who {
  padding: 8px 10px 10px;
  font-size: 13px;
  color: var(--mu);
  border-bottom: 1px solid var(--l1);
  margin-bottom: 4px;
  word-break: break-all;
}
.acctpop .who b {
  color: var(--tx);
}
.acctpop a,
.acctpop button {
  display: block;
  text-align: left;
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tx);
  text-decoration: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.acctpop a:hover,
.acctpop button:hover {
  background: var(--s2);
}
.acctpop button[data-signout] {
  color: var(--bad);
}
.drawer .dwho {
  font-size: 14px;
  color: var(--mu);
  word-break: break-all;
}
.drawer .dsignout {
  display: block;
  text-align: left;
  background: none;
  border: 0;
  padding: 0 12px;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--bad);
  min-height: 44px;
  cursor: pointer;
}
.linkbtn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--go);
  text-decoration: underline;
  cursor: pointer;
}
/* #13 generation paused · #8 staging login note */
.genoff {
  margin: 0 0 12px;
}
.stgnote {
  margin-top: 10px;
  font-size: 12px;
  padding: 8px 10px;
  border: 1px dashed var(--wa);
  border-radius: 10px;
  color: var(--wa);
}
