:root {
  --bg: #000000;
  --card: #1b1b1b;
  --line: #2c2c2c;
  --txt: #ffffff;
  --dim: #9b9b9b;
  --gold: #ff9000;
  --gold2: #ff7a00;
  --red: #e23d5c;
  --overlay: rgba(0, 0, 0, 0.82);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--txt); }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  line-height: 1.45;
}
a { color: var(--gold); text-decoration: none; }
img, video { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 28px)); margin: 0 auto; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0, 0, 0, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 72px; gap: 16px;
}
.logo {
  color: var(--txt);
  font-weight: 800;
  font-size: clamp(1.45rem, 4vw, 2rem);
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  display: flex; align-items: center;
}
.logo b {
  background: var(--gold);
  color: #000;
  letter-spacing: .06em;
  padding: .12em .28em .1em;
  margin-left: .18em;
  border-radius: 2px;
  font-weight: 900;
}
.tag { color: var(--dim); font-size: .78rem; max-width: 520px; }

.slot,
.grid-banner {
  display: none !important;
}
.slot { margin: 12px 0; }
.slot a, .grid-banner a { display: block; }

.banner {
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  background: transparent;
}
.banner.sz-300x100 {
  width: 300px;
  aspect-ratio: 3 / 1;
}
.banner.sz-300x250 {
  width: 300px;
  aspect-ratio: 6 / 5;
}
.banner.sz-auto {
  width: 300px;
  height: auto;
  overflow: visible;
}
.banner a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}
.banner.sz-auto a { height: auto; }
.banner img,
.banner video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.banner.sz-auto img,
.banner.sz-auto video { height: auto; }
.banner iframe,
.banner ins {
  max-width: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .slot:not(:empty) {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .grid-banner {
    display: flex !important;
    justify-content: center;
    grid-column: 1 / -1;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 8px 0 28px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--gold); }
.thumb {
  position: relative; aspect-ratio: 16/10;
  background:
    radial-gradient(120% 80% at 20% 10%, rgba(255,144,0,.18), transparent 50%),
    linear-gradient(160deg, #222, #0a0a0a 55%, #16120c);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent 45%);
}
.play i {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--gold);
  border: 0;
  display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.play i::after {
  content: "";
  width: 0; height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #000;
  margin-left: 3px;
}
.play.spin i {
  background: transparent;
  border: 2px solid rgba(255,144,0,.25);
  border-top-color: var(--gold);
  animation: spin .5s linear infinite;
  box-shadow: none;
}
.play.spin i::after { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.dur {
  position: absolute; right: 8px; bottom: 8px;
  background: #000; color: #fff; font-size: .72rem;
  padding: 3px 6px; border-radius: 4px; font-variant-numeric: tabular-nums;
}
.meta { padding: 10px 10px 12px; }
.meta h3 {
  font-size: .86rem; font-weight: 650; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 32px 0 44px;
  color: var(--dim); font-size: .85rem;
  text-align: center;
}
.foot nav {
  display: flex; gap: 22px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 14px;
}
.foot nav a { color: var(--gold); font-weight: 650; }
.foot nav a:hover { filter: brightness(1.08); }
.foot p { margin: 0 0 8px; }
.foot-note { font-size: .78rem; line-height: 1.5; }
.foot-note a { color: var(--gold); }

.legal { padding: 36px 0 64px; max-width: 760px; }
.legal h1 { font-size: 1.6rem; margin-bottom: 14px; }
.legal p { color: #cfcfcf; margin-bottom: 12px; white-space: pre-wrap; }
.mail { color: var(--gold); }

.mask {
  position: fixed; inset: 0; z-index: 50;
  background: var(--overlay);
  display: none; place-items: center; padding: 18px;
}
.mask.on { display: grid; }
.age-mask { z-index: 80; }
.age-mask .modal { text-align: center; }
.age-mask .logo { justify-content: center; margin-bottom: 18px; }
.age-ask { color: var(--dim) !important; font-size: .9rem !important; margin-bottom: 16px !important; }
.modal {
  width: min(520px, 100%);
  background: #1b1b1b;
  border: 1px solid #353535;
  border-radius: 14px;
  padding: 26px 24px 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.modal h2 { font-size: 1.35rem; margin-bottom: 8px; }
.modal .kicker { color: var(--gold); font-size: .92rem; font-weight: 700; margin-bottom: 12px; }
.modal p { color: #c8c8c8; font-size: .95rem; margin-bottom: 18px; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  border: 0; cursor: pointer; border-radius: 8px;
  padding: 12px 16px; font-weight: 700; font-size: .92rem;
}
.btn.ghost { background: #2a2a2a; color: #ddd; flex: 1; }
.btn.go { background: var(--gold); color: #000; flex: 1.3; }
.btn:hover { filter: brightness(1.06); }

.modal { position: relative; }
.modal-x {
  position: absolute; top: 10px; right: 12px;
  width: 36px; height: 36px; border: 0; border-radius: 8px;
  background: transparent; color: var(--dim); font-size: 1.5rem;
  line-height: 1; cursor: pointer;
}
.modal-x:hover { color: var(--txt); background: #2a2a2a; }

.wait-box { text-align: center; padding-top: 6px; }
.wait-box h2 { margin-bottom: 12px; }
.wait-box p { margin-bottom: 22px; line-height: 1.55; }
.wait-box .btns { justify-content: center; }
.wait-box .btn.go { flex: 1 1 100%; width: 100%; }
.wait-icon {
  width: 56px; height: 56px; margin: 4px auto 18px;
  border: 1px solid var(--line); border-radius: 14px;
  background: #111;
  display: grid; place-items: center;
}
.wait-spin {
  width: 22px; height: 22px;
  border: 2px solid rgba(255,144,0,.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@media (max-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); } .tag { display: none; } }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 420px) { .grid { grid-template-columns: 1fr; } }
