/* Colors and fonts taken from the original labudars.com: white, black, black-to-grey gradients, chrome, soft shadows. */
:root {
  --bg: #ffffff;
  --soft: #f3f3f3;
  --line: #e2e2e2;
  --text: #000000;
  --muted: #757575;
  --ink: linear-gradient(345deg, #000 0%, #3d3d3d 100%);
  --ink-soft: linear-gradient(351deg, #000 0%, #333 100%);
  --chrome: linear-gradient(180deg, #808080 0%, #fff 9%, #8f8f8f 31%, rgba(0, 0, 0, .9) 100%);
  --chrome-light: linear-gradient(180deg, #fff 30%, #9a9a9a 100%);
  --shadow: 6px 6px 9px rgba(0, 0, 0, .2);
  --shadow-lg: 6px 6px 9px rgba(0, 0, 0, .2), 6px 6px 9px 10px rgba(0, 0, 0, .12);
  --ok: #138a45;
  --warn: #9a6400;
  --live: #e01b1b;
  --radius: 18px;
  --max: 1240px;
  --display: "Gabarito", system-ui, sans-serif;
  --body: "Urbanist", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.5 var(--body);
  overflow-x: hidden;
}
a { color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1; font-family: var(--display); }
::selection { background: #000; color: #fff; }
.grain { display: none; }

/* Header: white floating pill like the original */
.top {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(var(--max), calc(100vw - 24px));
  display: flex; align-items: center; gap: 24px;
  padding: 10px 12px 10px 22px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
.logo { font-family: var(--display); font-weight: 900; font-size: 22px; text-decoration: none; letter-spacing: -.01em; }
.logo span { color: var(--muted); }
.top .logo { margin-right: auto; }
.menu-btn {
  display: grid; place-items: center; cursor: pointer; flex: none;
  background: none; color: #000; border: 0; padding: 6px; margin: 0 -8px 0 -6px;
}
.bars { display: grid; gap: 5px; width: 24px; }
.bars i { display: block; height: 3px; background: currentColor; border-radius: 3px; transition: transform .2s, opacity .2s; }
.menu-btn.open .bars i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open .bars i:nth-child(2) { opacity: 0; }
.menu-btn.open .bars i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.menu {
  position: fixed; z-index: 49; top: 74px; left: max(12px, calc((100vw - var(--max)) / 2)); width: 190px;
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .6);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-radius: 16px; box-shadow: 0 8px 28px rgba(0, 0, 0, .18); padding: 6px; display: grid;
}
.menu[hidden] { display: none; }
.menu a {
  text-decoration: none; padding: 8px 12px; border-radius: 10px;
  font-family: var(--body); font-weight: 600; font-size: 16px; letter-spacing: .01em;
}
.menu a:hover { background: rgba(255, 255, 255, .6); }
.cart-btn {
  background: var(--ink); color: #fff; border: 0; box-shadow: var(--shadow);
  border-radius: 999px; padding: 9px 10px 9px 16px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
}
.cart-btn span {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; margin-left: 8px;
  border-radius: 999px; background: #fff; color: #000; font-size: 12px;
}
.cart-btn.bump { animation: bump .4s ease; }
.cart-btn.waiting span {
  background: #ff9500 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8.5'/%3E%3Cpath d='M12 7.5V12l3 2'/%3E%3C/svg%3E") center / 16px no-repeat;
  animation: waitpulse 1.6s ease-in-out infinite;
}
@keyframes waitpulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,149,0,.6); } 50% { box-shadow: 0 0 0 5px rgba(255,149,0,0); } }
@keyframes bump { 40% { transform: scale(1.12); } }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  overflow: hidden; isolation: isolate; color: #fff; background: #000;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #000 center / cover no-repeat; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media iframe {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: max(100vw, 177.78svh); height: max(56.25vw, 100svh); border: 0; pointer-events: none;
  opacity: 0; transition: opacity 1s;
}
.hero-media iframe.on { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 40%, rgba(0,0,0,.85) 100%);
}
.hero-inner { width: min(var(--max), calc(100vw - 32px)); margin: 0 auto; padding: 0 0 64px; }
.eyebrow, .kicker {
  font-family: var(--body); font-weight: 800; text-transform: uppercase; letter-spacing: .16em;
  font-size: 12px; color: var(--muted); margin: 0 0 12px;
}
.hero .eyebrow { color: rgba(255,255,255,.85); }
.wordmark {
  font-family: var(--display); font-weight: 900; font-size: clamp(64px, 17vw, 270px);
  line-height: .82; letter-spacing: -.04em; margin-left: -.03em;
  background: var(--chrome-light); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 18px rgba(0,0,0,.35));
}
.hero-sub { max-width: 540px; color: rgba(255,255,255,.88); font-size: 18px; font-weight: 600; margin: 22px 0 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; cursor: pointer; text-decoration: none;
  background: var(--ink); color: #fff; box-shadow: var(--shadow);
  padding: 14px 26px; border-radius: 999px; font: inherit; font-weight: 800; font-size: 15px;
  text-transform: uppercase; letter-spacing: .04em;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn:disabled { opacity: .45; cursor: default; transform: none; }
.btn-ghost { background: #fff; color: #000; border: 1px solid #000; box-shadow: none; }
.btn-wide { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.hero .btn { background: #fff; color: #000; }
.hero .btn-ghost { background: rgba(0,0,0,.35); color: #fff; border-color: rgba(255,255,255,.7); }

.new-video {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; max-width: 100%;
  padding: 8px 16px 8px 12px; border-radius: 999px; text-decoration: none; font-size: 14px; color: #fff;
  background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(8px);
}
.new-video:hover { border-color: #fff; }
.new-video span:not(.new-dot) { font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; white-space: nowrap; opacity: .8; }
.new-video strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.new-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); flex: none; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* Marquee */
.marquee { overflow: hidden; background: var(--ink); color: #fff; }
.marquee-track {
  display: flex; width: max-content; gap: 40px; padding: 13px 0;
  font-family: var(--display); font-weight: 800; font-size: 20px; text-transform: uppercase; white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.marquee-track span::after { content: "●"; margin-left: 40px; font-size: 10px; vertical-align: middle; color: #888; }
@keyframes marquee { to { transform: translateX(-50%); } }

main > .section, .order-status { padding-left: 16px; padding-right: 16px; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding-block: 88px 24px; box-sizing: content-box; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-weight: 900; font-size: clamp(42px, 6.5vw, 84px); line-height: .92; letter-spacing: -.03em; }
.section-small .section-head h2 { font-size: clamp(30px, 4vw, 44px); }
.aside { margin: 0; color: var(--muted); font-size: 15px; font-weight: 600; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: #fff; color: #000; border: 1px solid #000; border-radius: 999px;
  padding: 7px 15px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.chip:hover { background: var(--soft); }
.chip[aria-selected="true"] { background: var(--ink); color: #fff; border-color: #000; }

.grid { display: grid; gap: 18px; }
.grid-masks { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid-videos { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-small { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }

/* Product card */
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover, .card.active { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.media { position: relative; aspect-ratio: 4 / 5; background: #fff; overflow: hidden; }
.grid-small .media { aspect-ratio: 1; background: var(--soft); }
.grid-videos .media { aspect-ratio: 16 / 10; background: #111; }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grid-masks .media img { object-fit: contain; padding: 8%; mix-blend-mode: multiply; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.fx img { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.fx:hover img, .card:hover .fx img, .card.active .fx img, .free-card:hover .fx img { transform: scale(1.07) rotate(-2deg); }
.locked .fx:hover img, .card.locked:hover .fx img { transform: scale(1.22) rotate(-2deg); }
.media video.spin { opacity: 0; transition: opacity .3s; }
.card.has-video:hover .media video.spin, .card.has-video.playing .media video.spin, .card.has-video.active .media video.spin { opacity: 1; }
.media .ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 48px; color: rgba(0,0,0,.12);
}
.grid-videos .media .ph { color: #2a2a2a; }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  background: var(--ink); color: #fff; padding: 4px 10px; border-radius: 999px;
}
.badge-360 { left: auto; right: 12px; background: #fff; color: #000; border: 1px solid #000; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.grid-small .card-body h3 { font-size: 15px; }
.card-body .desc { color: var(--muted); font-size: 14px; font-weight: 600; margin: 0; }
.card-foot { margin-top: auto; display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.price { font-family: var(--display); font-weight: 800; font-size: 17px; }
.price s { color: var(--muted); margin-right: 6px; font-size: 14px; font-weight: 600; }
.add {
  background: var(--ink); color: #fff; border: 0; border-radius: 999px; cursor: pointer; box-shadow: var(--shadow);
  padding: 9px 15px; font: inherit; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap;
  transition: transform .15s;
}
.add:hover { transform: translateY(-1px); }
.add:disabled { background: var(--soft); color: var(--muted); box-shadow: none; cursor: default; transform: none; }

select, input, textarea {
  background: var(--soft); color: #000; border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; width: 100%;
}
.card select { width: auto; flex: 1; min-width: 0; padding: 6px 8px; font-size: 13px; background: #fff; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

/* Locked video cards: dark gradient like the original content block */
.grid-videos .card { background: var(--ink); border-color: #222; color: #fff; }
.grid-videos .card-body .desc { color: #b3b3b3; }
.grid-videos .add { background: #fff; color: #000; }
.grid-videos .add:disabled { background: #2a2a2a; color: #888; }
.locked .media img { filter: blur(14px) brightness(.55); transform: scale(1.15); }
.lock {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #fff;
}
.lock svg { width: 34px; height: 34px; }
.soon .lock { color: #8a8a8a; }
.owned .media img { filter: none; transform: none; }

.my-videos { margin-top: 20px; padding: 18px; background: var(--soft); border-radius: var(--radius); }
.my-videos h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
.my-videos ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

/* Crew */
.crew { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.crew-card {
  position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; color: #fff;
  background: var(--ink); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; justify-content: end; isolation: isolate;
}
.crew-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.crew-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgba(0,0,0,.9) 78%); }
.crew-body { padding: 22px; display: grid; gap: 10px; }
.crew-role { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: #cfcfcf; }
.crew-body h3 { font-weight: 900; font-size: 40px; line-height: .95; letter-spacing: -.02em; }
.crew-body p { margin: 0; color: #e6e6e6; font-size: 15px; font-weight: 600; }
.crew-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.crew-card .btn { background: #fff; color: #000; }
.crew-card .price s { color: #aaa; }

/* Product detail window */
[data-product] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; cursor: pointer; }
dialog.modal-product { width: 980px; }
.pd-x { position: absolute; top: 10px; right: 12px; z-index: 2; background: #fff; border-radius: 999px; width: 38px; height: 38px; box-shadow: var(--shadow); }
.pd { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; padding: 22px; }
.pd-gallery { display: grid; gap: 10px; align-content: start; }
.pd-main { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #111; }
.pd-main.tile { background: #fff; border: 1px solid var(--line); }
.pd-main img, .pd-main video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-main.tile img { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.pd-main .ph { position: absolute; inset: 0; display: grid; place-items: center; font: 900 64px var(--display); color: rgba(0,0,0,.15); }
.pd-thumbs { display: flex; gap: 8px; overflow-x: auto; }
.pd-thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #fff; padding: 0; cursor: pointer; display: grid; place-items: center; font: 800 13px var(--body); }
.pd-thumb.on { border-color: #000; }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { display: grid; gap: 14px; align-content: start; padding-top: 18px; }
.pd-tag { position: static; justify-self: start; }
.pd-info h2 { font-weight: 900; font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; }
.pd-price { margin: 0; font: 800 24px var(--display); }
.pd-price s { color: var(--muted); font-size: 18px; margin-right: 4px; }
.pd-text { font-size: 16px; line-height: 1.55; font-weight: 600; color: #222; }
.pd-text p { margin: 0 0 10px; }
.pd-ship { margin: 0; color: var(--muted); font-size: 14px; }
.pd-size { display: grid; gap: 6px; font-size: 13px; font-weight: 800; }
@media (max-width: 720px) {
  dialog.modal-product { width: 100vw; max-width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .pd { grid-template-columns: 1fr; gap: 14px; padding: 14px; }
  .pd-main { aspect-ratio: 1; }
  .pd-info { padding-top: 0; }
}

/* Free to watch (latest YouTube videos) */
.section { scroll-margin-top: 70px; }
.free-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.free-card { display: grid; gap: 8px; text-decoration: none; scroll-snap-align: start; }
.free-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: var(--shadow); }
.free-thumb img { width: 100%; height: 100%; object-fit: cover; }
.free-thumb .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.free-thumb .play svg { width: 46px; height: 46px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.6)); }
.free-card strong { font-family: var(--display); font-weight: 800; font-size: 17px; line-height: 1.2; }
.free-card time { color: var(--muted); font-size: 13px; font-weight: 700; }

/* News: one scrollable box, inside the Free section */
.news-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 36px 0 14px; scroll-margin-top: 90px; }
.news-head h3 { font-weight: 900; font-size: 26px; letter-spacing: -.02em; }
.news-box {
  list-style: none; margin: 0; padding: 6px 0; max-height: 420px; overflow-y: auto;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
}
.news-item { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: baseline; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.news-item:last-child { border-bottom: 0; }
.news-item time { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.news-item a { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.25; text-decoration: none; }
.news-item a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-tag { background: var(--live); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 9px; border-radius: 999px; }
.news-empty { padding: 22px; color: var(--muted); }

/* Single post page */
.post-view { padding: 110px 16px 40px; }
.post { max-width: 780px; margin: 0 auto; }
.back { display: inline-block; margin-bottom: 20px; font-weight: 800; text-decoration: none; }
.back:hover { text-decoration: underline; }
.post-hero { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); box-shadow: var(--shadow-lg); margin-bottom: 22px; }
.post-hero.no-img { aspect-ratio: 16 / 4; }
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.breaking {
  position: absolute; left: 0; bottom: 18px; background: var(--live); color: #fff;
  font-family: var(--display); font-weight: 900; font-size: clamp(16px, 3vw, 26px); text-transform: uppercase;
  padding: 8px 22px 8px 18px; letter-spacing: .02em; box-shadow: 4px 4px 0 #000;
}
.post time { color: var(--muted); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.post h1 { font-weight: 900; font-size: clamp(34px, 6vw, 60px); letter-spacing: -.03em; margin: 8px 0 18px; line-height: 1; }
.post-body { font-size: 19px; line-height: 1.6; font-weight: 600; }
.post-body p { margin: 0 0 16px; }
.post-video { margin-top: 26px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.post-video iframe { width: 100%; height: 100%; border: 0; }

/* Community */
.community { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.card-mini { background: var(--soft); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.card-mini h3 { font-size: 20px; font-weight: 800; }
.card-mini p { margin: 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.news { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.news time { color: var(--muted); font-size: 12px; font-weight: 700; display: block; margin-bottom: 2px; }
.news span { color: var(--muted); }

/* Footer: black gradient band */
.site-foot { margin-top: 96px; background: var(--ink); color: #bdbdbd; }
footer {
  max-width: var(--max); margin: 0 auto; padding: 48px 16px 40px; box-sizing: content-box;
  font-size: 15px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px;
}
footer h4 { color: #fff; font-size: 13px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .12em; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
.foot-brand .logo { color: #fff; font-size: 30px; }
.foot-brand .logo span { color: #888; }
.foot-note { grid-column: 1 / -1; margin: 12px 0 0; font-size: 12px; color: #888; }

/* Dialogs */
dialog {
  background: #fff; color: #000; border: 0; box-shadow: var(--shadow-lg);
  padding: 0; max-width: calc(100vw - 24px);
}
dialog::backdrop { background: rgba(0, 0, 0, .45); backdrop-filter: blur(3px); }
.drawer {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: 440px;
  border-radius: 0; overflow-y: auto;
}
.drawer[open] { animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.modal { width: 500px; border-radius: var(--radius); }
.modal-video { width: 960px; }
.modal-video video { width: 100%; background: #000; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-weight: 900; font-size: 26px; letter-spacing: -.02em; }
.x { background: none; border: 0; color: var(--muted); font-size: 28px; line-height: 1; cursor: pointer; padding: 0 4px; }
.x:hover { color: #000; }

.cart-lines { list-style: none; margin: 0; padding: 6px 20px; }
.cart-lines li { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-lines .thumb { width: 52px; height: 52px; border-radius: 10px; background: #fff; border: 1px solid var(--line); flex: none; overflow: hidden; }
.cart-lines .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-lines .info { flex: 1; min-width: 0; font-size: 15px; font-weight: 700; }
.cart-lines .info small { color: var(--muted); display: block; font-weight: 600; }
.qty { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.qty button, .rm {
  background: #fff; color: #000; border: 1px solid var(--line); border-radius: 8px;
  width: 28px; height: 28px; cursor: pointer; font: inherit;
}
.rm { width: auto; padding: 0 8px; font-size: 12px; color: var(--muted); }
.cart-lines .empty { color: var(--muted); padding: 32px 0; justify-content: center; border: 0; }

.form { padding: 18px 20px 24px; display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; color: #333; }
.ship-fields { display: grid; gap: 12px; }
.form [hidden] { display: none; }
.form-msg { margin: 0; font-size: 14px; font-weight: 600; min-height: 1em; color: var(--warn); }
.form-msg.ok { color: var(--ok); }
.totals { display: grid; gap: 4px; font-size: 15px; font-weight: 600; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-family: var(--display); font-weight: 800; font-size: 19px; padding-top: 8px; border-top: 1px solid var(--line); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Payment panel */
#cartDialog [hidden] { display: none; }
.order-status { padding: 20px; }
.order-box h2 { font-weight: 900; font-size: 30px; letter-spacing: -.02em; margin: 10px 0 8px; }
.order-box > p { color: var(--muted); font-weight: 600; margin: 0 0 18px; }
.pay { display: grid; gap: 18px; justify-items: start; }
.pay-rows { width: 100%; }
.qr { background: #fff; padding: 10px; border: 1px solid var(--line); border-radius: 12px; width: 182px; height: 182px; }
.qr img, .qr canvas { width: 160px !important; height: 160px !important; }
.pay-rows { display: grid; gap: 14px; min-width: 0; }
.pay-row small { display: block; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.copy { display: flex; gap: 8px; align-items: center; }
.copy code {
  flex: 1; min-width: 0; overflow-wrap: anywhere; background: var(--soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 10px 12px; font-family: ui-monospace, Consolas, monospace; font-size: 14px;
}
.amount code { font-size: 22px; font-weight: 700; }
.warn { color: var(--warn); font-size: 14px; font-weight: 600; margin: 0; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--soft); }
.pill.ok { background: #e3f5ea; color: var(--ok); }
.pill.wait { background: #fff2d6; color: var(--warn); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .crew, .community { grid-template-columns: 1fr; }
  .crew-card { min-height: 380px; }
  footer { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .top { top: 8px; gap: 10px; padding: 8px 8px 8px 16px; }
  .logo { margin-right: auto; font-size: 20px; }
  .hero-inner { padding-bottom: 40px; }
  .section { padding-block: 64px 16px; }
  .grid-masks { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid-small { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid-masks .card-body { padding: 10px 12px 12px; gap: 8px; }
  .grid-masks .card-body h3 { font-size: 15px; }
  .grid-masks .card-foot { flex-direction: column; align-items: stretch; }
  .pay { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr auto; gap: 4px 12px; padding: 12px 16px; }
  .news-item time { grid-column: 1 / -1; }
  .news-item a { font-size: 17px; }
  .drawer { width: 100vw; max-width: 100vw; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
