/* Pub XbypassX — harmonisé OkDak (apple-tokens + glass) */

.okdak-pub-xbypassx {
  --pub-accent: var(--apple-blue, #e4572e);
  --pub-accent-deep: var(--apple-blue-deep, #c73e1a);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 1.15rem;
  align-items: center;
  margin: 0 auto 1.25rem;
  max-width: 960px;
  padding: 1.1rem 1.2rem;
  border-radius: var(--apple-radius-card, 22px);
  border: 1px solid var(--apple-border, rgba(255, 255, 255, 0.1));
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.04) 45%,
    rgba(255, 255, 255, 0.02) 100%
  );
  box-shadow: var(--apple-shadow-card, 0 16px 40px rgba(0, 0, 0, 0.32));
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  color: var(--apple-text, #f5f5f7);
  overflow: hidden;
}

.okdak-pub-xbypassx::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 70% at 0% 0%, rgba(228, 87, 46, 0.14), transparent 55%);
  pointer-events: none;
}

.okdak-pub-xbypassx > * {
  position: relative;
  z-index: 1;
}

.okdak-pub-xbypassx__media {
  position: relative;
  border-radius: var(--apple-radius-control, 14px);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--apple-border-strong, rgba(255, 255, 255, 0.16));
  box-shadow: var(--apple-shadow-sm);
  cursor: pointer;
}

.okdak-pub-xbypassx__media--playing .okdak-pub-xbypassx__play {
  opacity: 0;
  visibility: hidden;
}

.okdak-pub-xbypassx__media video,
.okdak-pub-xbypassx__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.okdak-pub-xbypassx__blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(14px) saturate(1.15) brightness(0.72);
  transform: scale(1.12);
  pointer-events: none;
}

.okdak-pub-xbypassx__blur--solo {
  position: relative;
  filter: blur(10px) saturate(1.1) brightness(0.78);
  transform: scale(1.08);
}

.okdak-pub-xbypassx__media video {
  position: relative;
  z-index: 1;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.okdak-pub-xbypassx__media--playing .okdak-pub-xbypassx__blur {
  opacity: 0.35;
  filter: blur(18px) saturate(1.2) brightness(0.55);
}

.okdak-pub-xbypassx__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 6, 5, 0.15) 0%, rgba(8, 6, 5, 0.45) 100%),
    radial-gradient(70% 80% at 50% 40%, transparent 30%, rgba(0, 0, 0, 0.35) 100%);
}

.okdak-pub-xbypassx__play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.18);
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.okdak-pub-xbypassx__play span {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: #fff;
  background: rgba(228, 87, 46, 0.85);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.okdak-pub-xbypassx__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
  padding: 0.22rem 0.65rem;
  border-radius: var(--apple-radius-pill, 980px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pub-accent);
  background: rgba(228, 87, 46, 0.12);
  border: 1px solid rgba(228, 87, 46, 0.25);
}

.okdak-pub-xbypassx__title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 2.8vw, 1.65rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.okdak-pub-xbypassx__title span {
  color: var(--okdak-accent-soft, #f08a6b);
  -webkit-text-fill-color: currentColor;
  background: none;
}

.okdak-pub-xbypassx__desc {
  margin: 0 0 0.9rem;
  color: var(--apple-text-secondary, #a1a1a6);
  font-size: 0.9rem;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.okdak-pub-xbypassx__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.okdak-pub-xbypassx__tag {
  padding: 0.18rem 0.55rem;
  border-radius: var(--apple-radius-pill);
  font-size: 0.72rem;
  color: var(--apple-text-secondary);
  background: var(--apple-fill-tertiary, rgba(118, 118, 128, 0.14));
  border: 1px solid var(--apple-border);
}

.okdak-pub-xbypassx__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.okdak-pub-xbypassx__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--apple-tap-min, 44px);
  padding: 0.55rem 1.05rem;
  border-radius: var(--apple-radius-pill);
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--apple-duration-fast, 0.22s) var(--apple-ease-out),
    box-shadow var(--apple-duration-fast) var(--apple-ease-out);
}

.okdak-pub-xbypassx__btn--primary {
  color: #fff;
  background: linear-gradient(180deg, var(--pub-accent) 0%, var(--pub-accent-deep) 100%);
  box-shadow: 0 4px 14px rgba(228, 87, 46, 0.35);
}

.okdak-pub-xbypassx__btn--ghost {
  color: var(--apple-text);
  background: var(--apple-fill, rgba(120, 120, 128, 0.2));
  border: 1px solid var(--apple-border);
}

.okdak-pub-xbypassx__btn:hover {
  transform: translateY(-1px);
}

.okdak-pub-xbypassx__btn:focus-visible {
  outline: none;
  box-shadow: var(--apple-focus-ring);
}

.okdak-pub-xbypassx__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 50%;
  background: var(--apple-fill-secondary);
  color: var(--apple-text-secondary);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: background 0.15s ease, color 0.15s ease;
}

.okdak-pub-xbypassx__close:hover {
  background: var(--apple-glass-hover);
  color: var(--apple-text);
}

/* Bandeau compact */
.okdak-pub-xbypassx--strip {
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  max-width: 100%;
}

.okdak-pub-xbypassx--strip .okdak-pub-xbypassx__media {
  aspect-ratio: 1;
  max-width: 76px;
}

.okdak-pub-xbypassx--strip .okdak-pub-xbypassx__title {
  font-size: 1.02rem;
}

.okdak-pub-xbypassx--strip .okdak-pub-xbypassx__desc {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.okdak-pub-xbypassx--strip .okdak-pub-xbypassx__tags {
  display: none;
}

.okdak-pub-xbypassx--strip .okdak-pub-xbypassx__actions {
  grid-column: 1 / -1;
}

.okdak-pub-xbypassx--strip .okdak-pub-xbypassx__btn {
  min-height: 38px;
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

/* ——— Page promo ——— */
.promo-xbypassx-page {
  min-height: 100vh;
  background-color: var(--apple-bg-page);
  background-image: var(--apple-page-bg-image);
  background-attachment: fixed;
  color: var(--apple-text);
}

.promo-xbypassx-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 980px;
  margin: 0 auto;
  padding: max(1rem, env(safe-area-inset-top)) 1.25rem 0;
}

.promo-xbypassx-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--apple-text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.promo-xbypassx-back:hover {
  color: var(--apple-text);
}

.promo-xbypassx-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1rem;
}

.promo-xbypassx-bottom {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0.92;
}

.promo-xbypassx-hero {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--apple-radius-card);
  border: 1px solid var(--apple-border);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.05) 40%,
    rgba(255, 255, 255, 0.02) 100%
  );
  box-shadow: var(--apple-shadow-float);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  backdrop-filter: blur(32px) saturate(180%);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.promo-xbypassx-hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(228, 87, 46, 0.2), transparent),
    radial-gradient(50% 40% at 90% 100%, rgba(127, 83, 255, 0.12), transparent);
  pointer-events: none;
}

.promo-xbypassx-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.promo-xbypassx-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apple-blue);
}

.promo-xbypassx-title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.promo-xbypassx-title span {
  color: var(--okdak-accent-soft, #f08a6b);
  -webkit-text-fill-color: currentColor;
  background: none;
}

.promo-xbypassx-lead {
  margin: 0 0 1.25rem;
  color: var(--apple-text-secondary);
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: -0.012em;
}

.promo-xbypassx-hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

/* Vidéo promo */
.promo-xbypassx-video {
  margin-bottom: 2rem;
}

.promo-xbypassx-video__frame {
  position: relative;
  border-radius: var(--apple-radius-card);
  overflow: hidden;
  border: 1px solid var(--apple-border-strong);
  background: #000;
  box-shadow: var(--apple-shadow-float);
  aspect-ratio: 16 / 9;
}

.promo-xbypassx-video__frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.promo-xbypassx-video__frame::after {
  content: "18+ · Censuré";
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.28rem 0.65rem;
  border-radius: var(--apple-radius-pill, 980px);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.promo-xbypassx-video__censored {
  filter: blur(2px) brightness(0.92);
}

.okdak-pub-xbypassx__video--censored {
  filter: blur(1.5px);
}

.promo-xbypassx-video__caption {
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--apple-text-tertiary);
}

/* Sections */
.promo-xbypassx-section-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.promo-xbypassx-section-hint {
  margin: 0 0 1.25rem;
  color: var(--apple-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.promo-xbypassx-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.promo-xbypassx-feature {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: var(--apple-radius-control);
  border: 1px solid var(--apple-border);
  background: var(--apple-fill-tertiary);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.promo-xbypassx-feature:hover {
  border-color: var(--apple-border-strong);
  background: var(--apple-fill);
}

.promo-xbypassx-feature__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(228, 87, 46, 0.15);
  color: var(--apple-blue);
}

.promo-xbypassx-feature__icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.promo-xbypassx-feature h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.promo-xbypassx-feature p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--apple-text-secondary);
}

.promo-xbypassx-cta-block {
  text-align: center;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-radius: var(--apple-radius-card);
  border: 1px solid var(--apple-border);
  background: linear-gradient(180deg, rgba(228, 87, 46, 0.1), rgba(228, 87, 46, 0.03));
  margin-bottom: 1.5rem;
}

.promo-xbypassx-cta-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.promo-xbypassx-cta-block p {
  margin: 0 0 1rem;
  color: var(--apple-text-secondary);
  font-size: 0.92rem;
}

.promo-xbypassx-poster {
  border-radius: var(--apple-radius-card);
  overflow: hidden;
  border: 1px solid var(--apple-border);
  box-shadow: var(--apple-shadow-card);
}

.promo-xbypassx-poster img {
  width: 100%;
  display: block;
  filter: blur(6px) saturate(1.08) brightness(0.85);
  transform: scale(1.04);
}

.promo-xbypassx-footer {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--apple-text-tertiary);
}

.promo-xbypassx-footer a {
  color: var(--apple-blue);
  text-decoration: none;
}

.promo-xbypassx-footer__muted {
  color: var(--apple-text-tertiary) !important;
  font-size: 0.8rem;
}

.promo-xbypassx-footer__muted:hover {
  color: var(--apple-text-secondary) !important;
}

/* Mentions légales pub (*) */
.okdak-pub-xbypassx__legal {
  margin: 0.65rem 0 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--apple-text-tertiary, #6e6e73);
}

.okdak-pub-xbypassx__legal a {
  color: var(--apple-text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.promo-xbypassx-bottom .pub-legal-block,
.promo-xbypassx-bottom .pub-request-section {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.promo-xbypassx-bottom details > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.promo-xbypassx-bottom details > summary::-webkit-details-marker {
  display: none;
}

.pub-legal-block summary,
.pub-request-section__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  padding: 0.55rem 0;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--apple-text-tertiary);
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.pub-legal-block summary:hover,
.pub-request-section__summary:hover {
  color: var(--apple-text-secondary);
}

.pub-legal-block[open] > summary,
.pub-request-section[open] > summary {
  color: var(--apple-text-secondary);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  margin-bottom: 0.75rem;
}

.pub-request-section__hint {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--apple-text-tertiary);
  opacity: 0.85;
}

.pub-legal-block ul {
  margin: 0 0 0.5rem;
  padding-left: 0;
  list-style: none;
}

.pub-legal-block li {
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--apple-text-tertiary);
  opacity: 0.9;
}

.pub-legal-block li:last-child {
  margin-bottom: 0;
}

/* Formulaire demande de pub */
.pub-request-section {
  margin: 2rem 0;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--apple-radius-card);
  border: 1px solid var(--apple-border);
  background: linear-gradient(180deg, rgba(228, 87, 46, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: var(--apple-shadow-card);
}

.promo-xbypassx-bottom .pub-request-form {
  padding-bottom: 0.35rem;
}

.pub-request-form {
  display: grid;
  gap: 0.85rem;
}

.pub-request-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0.85rem;
}

.pub-request-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.promo-xbypassx-bottom .pub-request-field label {
  font-size: 0.72rem;
  font-weight: 500;
}

.pub-request-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--apple-text-secondary);
}

.pub-request-field label .req {
  color: var(--apple-blue);
}

.promo-xbypassx-bottom .pub-request-field input,
.promo-xbypassx-bottom .pub-request-field select,
.promo-xbypassx-bottom .pub-request-field textarea {
  padding: 0.5rem 0.65rem;
  font-size: 0.82rem;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
}

.pub-request-field input,
.pub-request-field select,
.pub-request-field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--apple-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--apple-text);
  font: inherit;
  font-size: 0.9rem;
  margin-bottom: 0;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.pub-request-submit {
  justify-self: start;
  margin-top: 0.15rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: var(--apple-text-secondary);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pub-request-submit:hover {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--apple-text);
  background: rgba(255, 255, 255, 0.04);
}

.pub-request-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--apple-text-secondary) 50%),
    linear-gradient(135deg, var(--apple-text-secondary) 50%, transparent 50%);
  background-position: calc(100% - 16px) calc(50% - 3px), calc(100% - 11px) calc(50% - 3px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.pub-request-field input:focus,
.pub-request-field select:focus,
.pub-request-field textarea:focus {
  outline: none;
  border-color: var(--apple-blue);
  box-shadow: var(--apple-focus-ring);
}

.pub-request-field textarea {
  min-height: 120px;
  resize: vertical;
}

.pub-request-check a {
  color: var(--apple-blue);
}

.promo-xbypassx-bottom .pub-request-check {
  font-size: 0.68rem;
}

.pub-request-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--apple-text-tertiary);
}

.pub-request-check input {
  margin-top: 0.2rem;
  accent-color: var(--apple-blue);
}

.pub-request-status {
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.pub-request-status--success {
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.35);
  color: #86efac;
}

.pub-request-status--error {
  background: rgba(255, 69, 58, 0.12);
  border: 1px solid rgba(255, 69, 58, 0.35);
  color: #fca5a5;
}

.pub-request-status--info {
  background: rgba(228, 87, 46, 0.12);
  border: 1px solid rgba(228, 87, 46, 0.3);
  color: #93c5fd;
}

.promo-xbypassx-bottom .pub-request-note {
  margin-top: 0.5rem;
  font-size: 0.65rem;
}

.pub-request-note {
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: var(--apple-text-tertiary);
  line-height: 1.45;
}

@media (max-width: 720px) {
  .okdak-pub-xbypassx {
    grid-template-columns: 1fr;
  }

  .okdak-pub-xbypassx--strip {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .okdak-pub-xbypassx--strip .okdak-pub-xbypassx__media {
    max-width: 64px;
  }

  .promo-xbypassx-features {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .okdak-pub-xbypassx,
  .promo-xbypassx-hero {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: var(--apple-bg-elevated);
  }
}

/* ——— Vérification 18+ XbypassX ——— */
body.okdak-xbypassx-age-locked {
  overflow: hidden;
}

body.okdak-xbypassx-age-locked > *:not(#okdak-xbypassx-age-gate) {
  pointer-events: none;
  user-select: none;
}

.okdak-xbypassx-age-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.okdak-xbypassx-age-gate__panel {
  width: min(100%, 420px);
  padding: 1.75rem 1.5rem;
  border-radius: var(--apple-radius-card, 22px);
  border: 1px solid var(--apple-border-strong, rgba(255, 255, 255, 0.16));
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  box-shadow: var(--apple-shadow-card, 0 16px 40px rgba(0, 0, 0, 0.45));
  text-align: center;
  color: var(--apple-text, #f5f5f7);
}

.okdak-xbypassx-age-gate__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(145deg, #ff453a, #bf0711);
  box-shadow: 0 8px 24px rgba(255, 69, 58, 0.35);
}

.okdak-xbypassx-age-gate__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.okdak-xbypassx-age-gate__text {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--apple-text-secondary, #a1a1a6);
}

.okdak-xbypassx-age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.okdak-xbypassx-age-gate__legal {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  color: var(--apple-text-tertiary, #6e6e73);
}

.pub-request-turnstile {
  display: flex;
  justify-content: center;
  min-height: 65px;
  margin: 0.75rem 0;
}

/* ——— Pub story (plein écran, style Snapchat) ——— */
.okdak-pub-xbypassx-story {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  flex-direction: column;
  background: #050505;
  color: #f5f5f7;
  overflow: hidden;
}

.okdak-pub-xbypassx-story__progress {
  position: absolute;
  top: max(0.65rem, env(safe-area-inset-top));
  left: 0.75rem;
  right: 0.75rem;
  z-index: 4;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.okdak-pub-xbypassx-story__progress-fill {
  height: 100%;
  width: 0;
  background: #fff;
  border-radius: inherit;
  transform-origin: left center;
}

@keyframes okdakPubStoryProgress {
  from { width: 0; }
  to { width: 100%; }
}

.okdak-pub-xbypassx-story__top {
  position: absolute;
  top: calc(max(0.65rem, env(safe-area-inset-top)) + 0.85rem);
  left: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.okdak-pub-xbypassx-story__skip {
  appearance: none;
  border: 0;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.okdak-pub-xbypassx-story__skip:hover {
  background: rgba(0, 0, 0, 0.65);
}

.okdak-pub-xbypassx-story__media {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

.okdak-pub-xbypassx-story__media .okdak-pub-xbypassx__blur,
.okdak-pub-xbypassx-story__media video,
.okdak-pub-xbypassx-story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.okdak-pub-xbypassx-story__media .okdak-pub-xbypassx__play {
  width: 4rem;
  height: 4rem;
}

.okdak-pub-xbypassx-story__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.25rem 1.15rem max(1.5rem, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  pointer-events: none;
}

.okdak-pub-xbypassx-story__bottom a,
.okdak-pub-xbypassx-story__bottom .okdak-pub-xbypassx__actions {
  pointer-events: auto;
}

.okdak-pub-xbypassx-story__brand {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.okdak-pub-xbypassx-story__desc {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.okdak-pub-xbypassx-story__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
  pointer-events: auto;
}

.okdak-pub-xbypassx-story__bottom .okdak-pub-xbypassx__legal {
  margin: 0;
  font-size: 0.68rem;
  opacity: 0.75;
  pointer-events: auto;
}

.okdak-pub-xbypassx-story__tap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28%;
  z-index: 2;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.okdak-pub-xbypassx-story__tap--next {
  right: 0;
}

/* Pastille barre stories */
.okdak-pub-xbypassx-tray {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.okdak-pub-xbypassx-tray__circle {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 0;
  border: 2px solid #e4572e;
  overflow: hidden;
  cursor: pointer;
  background: #1a1a2e;
  box-shadow: 0 0 0 2px rgba(228, 87, 46, 0.35);
}

.okdak-pub-xbypassx-tray__circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(1.5px) brightness(0.85);
}

.okdak-pub-xbypassx-tray__badge {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  background: #e4572e;
  color: #fff;
  padding: 1px 4px;
  border-radius: 4px;
  line-height: 1.2;
}

.okdak-pub-xbypassx-tray__label {
  color: #999;
  font-size: 8px;
  text-align: center;
  max-width: 54px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.85;
}
