:root {
  --bg: #07080d;
  --surface: #10141c;
  --elevated: #171d28;
  --fg: #f6f1e6;
  --muted: #c8bfb0;
  --subtle: #8e867a;
  --accent: #c6a15b;
  --accent-fg: #16130d;
  --accent-soft: #e4c98a;
  --line: rgba(198, 161, 91, 0.18);
  --line-strong: rgba(198, 161, 91, 0.38);
  --danger: #c45c4a;
  --whatsapp: #1f6b4a;
  --shadow: 0 0 0 1px rgba(243, 238, 228, 0.1);
  --shadow-hover: 0 0 0 1px rgba(243, 238, 228, 0.18);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --max: 72rem;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --motion-quick: 150ms;
  --motion-fast: 250ms;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: smooth;
}

html, body { margin: 0; min-height: 100%; }

body {
  font-family: var(--font-sans);
  line-height: 1.55;
  background:
    radial-gradient(900px 480px at 82% -8%, rgba(198, 161, 91, 0.16), transparent 55%),
    radial-gradient(900px 480px at 100% 0%, rgba(243, 238, 228, 0.06), transparent 50%),
    var(--bg);
  color: var(--fg);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.07;
  background: url("../images/marble-texture.jpg") center/cover;
  mix-blend-mode: overlay;
}
#site-header,
#app,
#site-footer { position: relative; z-index: 1; }
#app { animation: rise 480ms var(--ease-out); }
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 500;
  text-wrap: balance;
  margin: 0;
}

p { margin: 0; text-wrap: pretty; }

::selection {
  background: color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--fg);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}
@media (min-width: 640px) {
  .wrap { width: min(100% - 3rem, var(--max)); }
}

.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin: 0;
}

.muted { color: var(--muted); }
.subtle { color: var(--subtle); }
.fg { color: var(--fg); }

.banner {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
}

.hero { padding: 3rem 0 2.5rem; }
.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  max-width: 18ch;
}
.hero .lead {
  margin-top: 1.15rem;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.section { padding: 0 0 4rem; }
.section h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
}

.row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.grid {
  display: grid;
  gap: 1rem;
}
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}

.card {
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
  align-items: stretch;
  backdrop-filter: blur(10px);
  transition: transform var(--motion-fast) var(--ease-out), box-shadow var(--motion-fast) var(--ease-out);
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}
.card h3 { font-size: 1.45rem; margin-top: 0.85rem; }
.card .body { margin-top: 0.75rem; color: var(--muted); font-size: 0.925rem; flex: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 4px;
  border: 0;
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.9rem;
  font-weight: 500;
  transition: opacity var(--motion-quick) var(--ease-out), transform var(--motion-quick) var(--ease-out), background var(--motion-quick) var(--ease-out), color var(--motion-quick) var(--ease-out);
}
.btn:hover { opacity: 0.92; }
.btn:active { transform: scale(0.98); }
.btn-solid {
  background: var(--fg);
  color: var(--bg);
}
.btn-outline {
  background: transparent;
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-outline:hover { background: rgba(243, 238, 228, 0.05); opacity: 1; }
.btn-ghost {
  background: transparent;
  color: var(--muted);
}
.btn-ghost:hover { color: var(--fg); background: var(--elevated); opacity: 1; }
.btn-wa { background: var(--whatsapp); color: var(--fg); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-lg { min-height: 48px; padding: 0.75rem 1.25rem; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-size: 0.9rem;
  color: var(--fg);
}
.link:hover { color: var(--accent-soft); }
.link-muted { color: var(--muted); }

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--elevated);
  color: var(--accent-soft);
  box-shadow: var(--shadow);
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 26px;
  min-height: 26px;
  max-height: 26px;
  padding: 0 0.6rem;
  border-radius: 99px;
  font-size: 11px;
  line-height: 1;
  color: var(--muted);
  box-shadow: var(--shadow);
  flex: 0 0 auto;
  align-self: center;
  white-space: nowrap;
}
.tag.is-on {
  background: var(--fg);
  color: var(--bg);
  box-shadow: none;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
}
.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
  flex-shrink: 0;
}
.brand-mark { display: block; flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; justify-content: center; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.brand-sub {
  display: block;
  margin-top: 0.42rem;
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.wordmark strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  display: block;
  line-height: 1;
}
.wordmark small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav-desk {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.nav-desk a {
  position: relative;
  padding: 0.55rem 0.7rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.nav-desk a:hover { color: var(--fg); }
.nav-desk a.is-on { color: var(--fg); }
.nav-desk a.is-on::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0.2rem;
  height: 1px;
  background: var(--accent);
}
.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--fg);
  border-radius: 4px;
}
.icon-btn:hover { background: var(--elevated); }
.nav-mob {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.nav-mob.is-open { display: block; }
.nav-mob a {
  display: block;
  min-height: 44px;
  padding: 0.8rem 0;
  font-size: 0.95rem;
}
@media (min-width: 980px) {
  .nav-desk { display: flex; }
  .menu-btn { display: none; }
}

footer.site {
  margin-top: 5rem;
  border-top: 1px solid var(--line);
  background: #0b0b0b;
}
.foot-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3rem 0;
}
@media (min-width: 800px) {
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.foot-grid ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.foot-grid li { margin: 0.4rem 0; }
.foot-grid a { color: var(--muted); font-size: 0.9rem; }
.foot-grid a:hover { color: var(--fg); }
.foot-copy {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--subtle);
}

.field {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  background: var(--elevated);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--fg);
}
.field:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 70%, transparent);
  outline-offset: 1px;
}
textarea.field { min-height: 7rem; resize: vertical; }

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 8, 9, 0.72);
  display: none;
  padding: 10vh 1rem 2rem;
}
.search-overlay.is-open { display: block; }
.search-panel {
  width: min(100%, 40rem);
  margin: 0 auto;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  backdrop-filter: blur(18px);
  animation: rise 280ms var(--ease-out);
}
.search-panel input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1rem 1.1rem;
  font-size: 1rem;
  outline: none;
}
.search-hits {
  max-height: 60vh;
  overflow: auto;
  border-top: 1px solid var(--line);
}
.search-hits a {
  display: block;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--line);
}
.search-hits a:hover { background: var(--elevated); }
.search-hits small {
  display: block;
  color: var(--subtle);
  font-size: 12px;
  margin-top: 2px;
}

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.25rem 0; }

.media-split {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.media-split img { height: 12rem; width: 100%; object-fit: cover; }
.media-split .pad { padding: 1.5rem; }
@media (min-width: 800px) {
  .media-split { grid-template-columns: 1fr 1fr; }
  .media-split img { height: 100%; min-height: 16rem; }
}

.italic-line {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  max-width: 28rem;
}

.ol-steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) { .ol-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .ol-steps { grid-template-columns: 1fr 1fr 1fr 1fr; } }
.ol-steps li { background: var(--surface); box-shadow: var(--shadow); border-radius: var(--radius-sm); padding: 1.15rem; }
.ol-steps .n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-soft);
}

.featured-ring { box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }

.video-card { padding: 0; overflow: hidden; }
.video-card .pad { padding: 1rem 1.15rem 1.15rem; }
.thumb {
  aspect-ratio: 16/9;
  background: var(--elevated);
  display: grid;
  place-items: center;
  color: var(--subtle);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.cmd-row {
  display: grid;
  gap: 0.35rem 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 700px) {
  .cmd-row { grid-template-columns: 7rem 1fr; align-items: baseline; }
}

.product-shot { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin: 0 0 .85rem; background: #121820; }
.lynk { background: #fff; color: #1c2430; border-radius: 16px; padding: 1.15rem 1.1rem .7rem; box-shadow: 0 10px 28px rgb(0 0 0 / .22); margin: 0 0 1.4rem; }
.lynk-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.lynk-head h2 { margin: 0; font-family: "IBM Plex Sans", sans-serif; font-size: 1.05rem; font-weight: 650; color: #3d4856; }
.lynk-pick { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; }
.lynk-pick select, .lynk-pick input { background: #f4f6f8; color: #5c6775; border: 1px solid #e6eaee; border-radius: 10px; padding: .45rem .7rem; font: inherit; font-size: .82rem; }
.lynk-legend { display: flex; gap: 1rem; margin: .95rem 0 .15rem; font-size: .92rem; color: #3d4654; }
.lynk-legend i { display: inline-block; width: .72rem; height: .72rem; border-radius: 99px; margin-right: .35rem; vertical-align: -1px; }
.lynk-nums { display: flex; gap: 1.5rem; margin: .1rem 0 .7rem; }
.lynk-nums b { font-size: 1.85rem; line-height: 1; font-weight: 700; }
.lynk-legend i.v, .lynk-bar .v { background: #f5a623; }
.lynk-legend i.c, .lynk-bar .c { background: #12b5a4; }
.lynk-nums b.v { color: #f5a623; }
.lynk-nums b.c { color: #128a7e; }
.lynk-chart { display: grid; grid-template-columns: 2.3rem 1fr; gap: .35rem; }
.lynk-y { display: flex; flex-direction: column; justify-content: space-between; height: 180px; color: #9aa3af; font-size: 11px; text-align: right; }
.lynk-plot { position: relative; overflow-x: auto; min-height: 214px; }
.lynk-grid { position: absolute; left: 0; right: 0; top: 0; height: 180px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.lynk-grid span { border-top: 1px solid #eef1f4; }
.lynk-cols { position: relative; z-index: 1; display: flex; align-items: flex-end; height: 180px; gap: 6px; min-width: 100%; }
.lynk-col { position: relative; flex: 1 0 26px; height: 100%; }
.lynk-bar { position: relative; width: 14px; height: 100%; margin: 0 auto; }
.lynk-bar i { position: absolute; left: 0; bottom: 0; width: 100%; border-radius: 3px 3px 0 0; }
.lynk-bar .c { width: 62%; left: 19%; }
.lynk-col small { position: absolute; left: 50%; top: calc(100% + .35rem); transform: translateX(-50%); color: #8b95a1; font-size: 10px; line-height: 1.15; text-align: center; white-space: nowrap; }
.lynk-foot { margin: .35rem 0 0; color: #8b95a1; font-size: .78rem; }
.stat-row { display: grid; grid-template-columns: 1fr auto; gap: .15rem .8rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid rgba(198, 161, 91, .28); }
.stat-row .stat-bar { grid-column: 1 / -1; height: 6px; border-radius: 99px; background: #f5a623; }
#stat-admin h3 { margin: 1.3rem 0 .2rem; font-size: 1.05rem; }
.studio {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}
.tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 1.25rem 0; }
.tabs button.is-on { background: var(--fg); color: var(--bg); }
.cast-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 0.55rem; margin: 0.55rem 0 0.9rem; }
.cast-slot { border: 1px solid rgba(198, 161, 91, 0.35); border-radius: 8px; padding: 0.45rem; }
.cast-slot img { display: block; width: 100%; height: 92px; object-fit: contain; object-position: center bottom; background: #121820; border-radius: 4px; }
.cast-slot input[type="file"] { width: 100%; margin-top: 0.35rem; font-size: 11px; }
.cast-pick { margin-top: 0.7rem; cursor: pointer; width: 100%; }
.cast-pack { margin-bottom: 1rem; }
.cast-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 0.7rem 0 1.3rem;
}
.cast-gallery figure {
  margin: 0;
  background: #0c1018;
  border: 1px solid rgba(198, 161, 91, 0.35);
  border-radius: 12px;
  padding: 0.55rem 0.55rem 0.7rem;
  text-align: center;
}
.cast-gallery-pic {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 220px;
  background:
    radial-gradient(120px 80px at 50% 100%, rgba(198, 161, 91, 0.16), transparent 70%),
    #121820;
  border-radius: 8px;
  overflow: hidden;
}
.cast-gallery img {
  width: auto;
  max-width: 100%;
  height: 240px;
  object-fit: contain;
  object-position: center bottom;
}
.cast-gallery figcaption {
  margin-top: 0.45rem;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e4c98a;
}
.cast-sheet-row {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
@media (min-width: 760px) {
  .cast-sheet-row { grid-template-columns: minmax(160px, 220px) 1fr; align-items: start; }
}
.cast-sheet-view {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 280px;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(198, 161, 91, 0.35);
  background:
    radial-gradient(160px 90px at 50% 100%, rgba(198, 161, 91, 0.18), transparent 72%),
    #0c1018;
}
.cast-sheet-view img {
  width: auto;
  max-width: 100%;
  max-height: 520px;
  object-fit: contain;
  object-position: center bottom;
}
.cast-sheet-empty {
  align-self: center;
  padding: 1rem 0.7rem;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}
.cast-map { display: grid; gap: 0.4rem; margin-top: 0.45rem; }
.cast-pose-row {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 0.65rem;
  align-items: center;
  border: 1px solid rgba(198, 161, 91, 0.22);
  border-radius: 8px;
  padding: 0.3rem 0.6rem 0.3rem 0.3rem;
  background: #121820;
}
.cast-pose {
  width: 46px;
  height: 84px;
  border-radius: 6px;
  background-color: #0c1018;
  background-repeat: no-repeat;
  background-size: 100% 600%;
  background-position: center bottom;
}
.cast-pose-row strong { display: block; font-size: 0.92rem; font-weight: 600; }
.cast-pose-row span { color: var(--muted); font-size: 12px; }
.cast-bg { margin-top: 1rem; }
.cast-bg summary { cursor: pointer; font-weight: 600; }
.cast-bg h3 { margin: 0.8rem 0 0.2rem; font-size: 1rem; }
.scene-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.75rem; margin: 0.8rem 0 1rem; }
.scene-card { background: #0c1018; border: 1px solid rgba(198, 161, 91, 0.35); border-radius: 12px; padding: 0.55rem; }
.scene-card img { width: 100%; height: 136px; object-fit: cover; object-position: center; border-radius: 8px; background: #121820; }
.scene-card .cast-pick { width: 100%; }
.pick-list { display: flex; flex-direction: column; gap: .45rem; max-height: 68vh; overflow: auto; margin: .6rem 0 1rem; }
.pick-row { display: flex; justify-content: space-between; align-items: center; gap: .8rem; width: 100%; text-align: left; background: #121820; color: inherit; border: 1px solid rgba(198, 161, 91, .35); border-radius: 10px; padding: .75rem .9rem; }
.pick-row strong { font-weight: 600; }
.pick-row span { color: #c8bfb0; font-size: .8rem; white-space: nowrap; }
.cast-audio { margin-top: 1rem; }
.cast-audio audio { display: block; width: 100%; margin: .45rem 0 .7rem; }
.pw-wrap { position: relative; }
.pw-wrap .field { padding-right: 3rem; }
.pw-eye { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); width: 2.4rem; height: 2.4rem; display: grid; place-items: center; background: transparent; border: 0; color: #c8bfb0; cursor: pointer; }
.pw-eye:hover { color: #e7d7b1; }
.login-box {
  max-width: 26rem;
  margin: 4rem auto;
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
label.lbl {
  display: block;
  font-size: 12px;
  color: var(--subtle);
  margin: 0.85rem 0 0.35rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.notice {
  padding: 0.85rem 1rem;
  background: var(--elevated);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.875rem;
}
.ok { color: #8fcaa4; }
.err { color: var(--danger); }

.empty { color: var(--muted); padding: 2rem 0; }

/* —— Home: luxury marble stage —— */
.home-stage {
  display: grid;
  align-items: stretch;
}
.home-copy {
  padding: 2.4rem 0 2rem;
  min-width: 0;
}
.home-copy h1 {
  margin-top: 0;
  font-size: clamp(2.2rem, 1.25rem + 3vw, 3.75rem);
  max-width: 14em;
  letter-spacing: -0.035em;
  font-weight: 500;
  white-space: pre-line;
}
.home-copy .lead {
  margin-top: 1.25rem;
  max-width: 32rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.home-copy .row { margin-top: 1.75rem; }
.home-photo {
  min-height: 16rem;
  overflow: hidden;
  background: #0a0a0a;
}
.home-photo img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: 50% 42%;
}
@media (min-width: 900px) {
  .home-stage {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    min-height: calc(100svh - 76px);
    max-height: 46rem;
  }
  .home-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3.5rem 1.5rem 11rem max(1.5rem, calc((100vw - var(--max)) / 2));
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .home-copy .jutsu-search { max-width: 28rem; }
  .home-copy .jutsu-go-full { display: none; }
  .home-copy .jutsu-go-short { display: inline; }
  .home-photo img { min-height: 100%; }
}

.need-band {
  position: relative;
  z-index: 2;
  margin-top: 1.25rem;
  padding-bottom: 4.5rem;
}
@media (min-width: 900px) {
  .need-band { margin-top: -5.5rem; }
}
.need-marble {
  position: relative;
  overflow: hidden;
  min-height: 12.5rem;
  padding: 1.45rem 1.4rem 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(243, 238, 228, 0.14);
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.38), rgba(8, 8, 9, 0.62)),
    url("../images/marble-texture.jpg") center/cover;
  color: var(--fg);
  display: flex;
  flex-direction: column;
  transition: transform var(--motion-fast) var(--ease-out), border-color var(--motion-fast) var(--ease-out);
}
.need-marble:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 238, 228, 0.28);
}
.need-marble .ico {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ddd4c6;
}
.need-marble h3 {
  margin-top: 1.15rem;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}
.need-marble .body {
  margin-top: 0.55rem;
  color: #cfc6b8;
  font-size: 0.92rem;
  flex: 1;
}
.need-marble .more {
  margin-top: 1.1rem;
  min-height: 0;
  color: #e4dccf;
  font-size: 0.9rem;
}

.lisp-card-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 1rem;
}
.lisp-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.lisp-card:hover .lisp-card-more { color: var(--fg); }

.jutsu-search {
  position: relative;
  margin-top: 1.7rem;
  width: 100%;
  max-width: 36rem;
  z-index: 40;
}
.jutsu-label {
  margin: 0 0 0.7rem;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--fg);
  line-height: 1.2;
}
.jutsu-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 52px;
  padding: 5px 5px 5px 0.95rem;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(28, 28, 28, 0.92), rgba(12, 12, 12, 0.96));
  box-shadow:
    inset 0 0 0 1px rgba(243, 238, 228, 0.16),
    0 14px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
  transition: box-shadow var(--motion-fast) var(--ease-out);
}
.jutsu-bar:focus-within {
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 75%, var(--fg)),
    0 16px 44px rgba(0, 0, 0, 0.38);
}
.jutsu-ico {
  display: grid;
  place-items: center;
  color: var(--accent-soft);
  flex-shrink: 0;
}
.jutsu-ico svg { width: 18px; height: 18px; }
.jutsu-bar input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--fg);
  font-size: 0.95rem;
  font-weight: 500;
}
.jutsu-bar input::placeholder { color: var(--subtle); font-weight: 400; }
.jutsu-go {
  flex-shrink: 0;
  min-height: 42px;
  padding: 0 1.05rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 88%, #fff), var(--accent));
  color: var(--accent-fg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: opacity var(--motion-quick) var(--ease-out), transform var(--motion-quick) var(--ease-out);
}
.jutsu-go:hover { opacity: 0.94; }
.jutsu-go:active { transform: scale(0.98); }
.jutsu-go-short { display: none; }
.cari-hint { margin-top: 1rem; }
.cari-hero h1 { max-width: 22ch; }
.jutsu-hits {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  display: none;
  max-height: min(26rem, 62vh);
  overflow: auto;
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line), 0 22px 50px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  animation: rise 180ms var(--ease-out);
}
.jutsu-hits.is-open { display: block; }
.jutsu-hits a.hit {
  display: block;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: background var(--motion-quick) var(--ease-out);
}
.jutsu-hits a.hit:hover,
.jutsu-hits a.hit.is-active { background: var(--elevated); }
.jutsu-hits a.hit small {
  display: block;
  color: var(--subtle);
  font-size: 12px;
  margin-top: 2px;
}
.jutsu-hits a.hit-more {
  color: var(--muted);
  border-bottom: 0;
  border-top: 1px solid var(--line);
}
.jutsu-hits a.hit-more small { color: var(--subtle); }
.search-hit-kicker {
  padding: 8px 1.1rem 0;
  color: var(--subtle);
}
.search-hit-count {
  margin: 0;
  padding: 0.7rem 1rem 0.35rem;
  font-size: 0.8rem;
  color: var(--subtle);
}
@media (max-width: 1100px) {
  .jutsu-go-full { display: none; }
  .jutsu-go-short { display: inline; font-weight: 700; }
}
@media (max-width: 560px) {
  .jutsu-bar {
    flex-wrap: wrap;
    border-radius: 18px;
    padding: 8px;
  }
  .jutsu-ico { margin-left: 6px; }
  .jutsu-bar input { min-width: 60%; }
  .jutsu-go { width: 100%; min-height: 44px; }
}

/* —— Update / poster catalog (film-web) —— */
.update-wrap { width: min(100% - 1.5rem, 86rem); margin-inline: auto; }
.update-hero { padding: 2.2rem 0 1.2rem; }
.update-hero h1 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem);
  max-width: 20ch;
}
.update-hero .lead { margin-top: 0.85rem; max-width: 40rem; color: var(--muted); }
.update-hot-wrap { padding-bottom: 1.6rem; }
.update-hot {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 280px);
  gap: 10px;
  overflow-x: auto;
  padding: 0 max(0.75rem, calc((100vw - 86rem) / 2)) 0.4rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.update-hot .poster { scroll-snap-align: start; }
.update-hot .poster-media { aspect-ratio: 16 / 9; }
.update-layout {
  display: grid;
  gap: 1.6rem;
}
@media (min-width: 1100px) {
  .update-layout { grid-template-columns: minmax(0, 1fr) 240px; align-items: start; }
}
.update-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.update-tab {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.update-tab.is-on,
.update-tab:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.poster-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 10px;
}
@media (min-width: 640px) { .poster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .poster-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .poster-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.poster-grid-home {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 640px) { .poster-grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .poster-grid-home { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.poster {
  display: block;
  min-width: 0;
  color: inherit;
}
.poster-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 4px;
  background: #141414;
  box-shadow: 0 0 0 1px var(--line);
}
.poster-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms var(--ease-out);
}
.poster:hover .poster-media img { transform: scale(1.07); }
.poster-art {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.7rem 0.75rem 0.85rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--tint, #1c2a28) 55%, transparent), rgba(8,8,8,0.88)),
    url("../images/marble-texture.jpg") center/cover;
}
.poster-art-code {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.7rem);
  letter-spacing: -0.03em;
  line-height: 1;
}
.poster-art-kind {
  margin-top: 0.25rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.78));
  pointer-events: none;
}
.poster-ep,
.poster-new {
  position: absolute;
  top: 6px;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
  line-height: 1.2;
}
.poster-ep { left: 6px; background: rgba(8, 8, 8, 0.82); color: var(--fg); }
.poster-new { right: 6px; background: var(--accent); color: var(--accent-fg); }
.poster-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0;
  transition: opacity 180ms var(--ease-out);
  pointer-events: none;
}
.poster:hover .poster-play { opacity: 1; }
.poster-play svg {
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.like-float,
.like-btn,
.lisp-like {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1;
  color: var(--fg);
}
.like-float,
.lisp-like {
  min-height: 32px;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.78);
  color: #f3eee4;
  box-shadow: inset 0 0 0 1px rgba(243, 238, 228, 0.22);
}
.like-float {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
}
.lisp-like {
  margin-top: 0.85rem;
  align-self: flex-start;
}
.like-btn {
  min-height: 44px;
  margin-top: 1.1rem;
  padding: 0 1.05rem;
  border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.like-float.is-on,
.like-btn.is-on,
.lisp-like.is-on {
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: none;
}
.react-box { margin-top: 2.2rem; }
.react-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.react-head h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.react-head .like-btn { margin-top: 0; }
.react-form {
  position: relative;
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}
.react-note { color: var(--subtle); font-size: 0.85rem; }
.react-list { margin-top: 1.2rem; }
.react-item {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.react-item strong { font-weight: 700; }
.react-item time {
  display: block;
  margin-top: 0.15rem;
  color: var(--subtle);
  font-size: 12px;
}
.react-item p { margin-top: 0.4rem; color: var(--muted); }
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.watch-frame {
  margin-top: 1.2rem;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}
.watch-frame iframe { width: 100%; height: 100%; border: 0; }
.watch-tiktok { aspect-ratio: auto; height: 740px; max-height: 82vh; }
.vlink { display: grid; grid-template-columns: minmax(0, 1fr) 9rem auto auto auto; gap: .35rem; align-items: center; margin: .45rem 0; }
.vlink .field { margin: 0; }
@media (max-width: 720px) {
  .vlink { grid-template-columns: 1fr; }
}
.watch-still {
  display: block;
  margin-top: 1.2rem;
  border-radius: 8px;
  overflow: hidden;
}
.watch-still img { width: 100%; max-height: 28rem; object-fit: cover; }

.poster-meta { padding: 0.45rem 0.1rem 0; }
.poster-title {
  font-size: 12.5px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.poster-sub {
  margin-top: 0.2rem;
  font-size: 11px;
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.update-home-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  align-items: end;
  margin-bottom: 1.1rem;
}
.update-side {
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: var(--radius-sm);
  padding: 1rem 1rem 1.15rem;
}
.update-side-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}
.update-side-list li + li { border-top: 1px solid var(--line); }
.update-side-list a {
  display: flex;
  gap: 0.65rem;
  padding: 0.55rem 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}
.update-side-list a:hover { color: var(--fg); }
.update-side-list .n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-soft);
  min-width: 1.2rem;
}
.update-side-list strong {
  display: block;
  font-weight: 600;
  color: var(--fg);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1.6rem;
  justify-content: center;
}
.pager a, .pager span {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.pager a.is-on, .pager a:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hero beranda — maskot navy/emas, tema lampiran */
.ninja-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #07080d;
  min-height: 0;
}
.ninja-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 8, 13, 0.15) 0%, #07080d 88%),
    radial-gradient(520px 280px at 78% 8%, rgba(198, 161, 91, 0.28), transparent 68%),
    url("../images/marble-texture.jpg") 80% center / cover;
}
.ninja-copy {
  position: relative;
  z-index: 2;
  padding: 1.6rem 1rem 0.25rem;
}
.ninja-copy h1 {
  margin: 0.35rem 0 0;
  font-family: Oswald, "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: clamp(3.6rem, 16vw, 7rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.ninja-copy h1 span { display: block; }
.ninja-copy h1 span:last-child {
  background: linear-gradient(180deg, #f6e7c0 0%, #c6a15b 42%, #8d6a30 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ninja-tag {
  margin-top: 0.85rem;
  font-family: var(--font-mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent-soft);
}
.ninja-copy .lead {
  margin-top: 0.9rem;
  max-width: 34rem;
  color: var(--muted);
}
.ninja-copy .row { margin-top: 1.15rem; }
.pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0;
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
}
.pillars li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pillars li + li::before {
  content: "|";
  margin: 0 0.6rem;
  color: var(--accent);
}
.pillars a:hover { color: var(--accent-soft); }
.ninja-mascot {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  height: 22rem;
  width: auto;
  max-width: min(72%, 260px);
  margin: 0 0.4rem 0 auto;
  object-fit: contain;
  object-position: bottom center;
  pointer-events: none;
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, 0.5));
  transition: transform 180ms ease-out;
}
.ninja-hero .jutsu-search { margin-top: 1.25rem; max-width: 32rem; }
.need-band { margin-top: 1.5rem; }
@media (min-width: 900px) {
  .ninja-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
    align-items: end;
    min-height: calc(100svh - 76px);
  }
  .ninja-copy {
    align-self: center;
    padding: 2.5rem 1.5rem 3rem max(1.25rem, calc((100vw - var(--max)) / 2));
  }
  .ninja-mascot {
    height: min(88vh, 820px);
    max-width: 92%;
    justify-self: center;
    margin: 0 auto;
  }
  .need-band { margin-top: 2.5rem; }
}
@media (max-width: 899px) {
  .brand-name { letter-spacing: 0.06em; font-size: 0.95rem; }
  .brand-sub { letter-spacing: 0.08em; }
}

