#edantube-age-gate {
    --ed-age-orange: #ff9900;
    --ed-age-font: var(--et-font-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Hiragino Sans", "Yu Gothic UI", "Noto Sans Arabic", Arial, sans-serif);
    box-sizing: border-box;
    display: grid;
    grid-template-rows: auto 1fr auto;
    justify-items: center;
    min-height: 100%;
    padding: max(28px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
    font-family: var(--ed-age-font);
    font-size: 15px;
    line-height: 1.65;
    text-align: center;
    color: #f2f2f2;
    color-scheme: dark;
    isolation: isolate;
    overscroll-behavior: contain;
}
#edantube-age-gate::before,
#edantube-age-gate::after { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#edantube-age-gate::before { background: #080808 url("age-gate-background.jpg?v=20261202-photo1") center center / cover no-repeat; }
/* The image stays intact; this veil keeps text and controls readable. */
#edantube-age-gate::after { background: linear-gradient(180deg, #0005 0%, #0003 24%, #0008 52%, #000e 100%); }
#edantube-age-gate *, #edantube-age-gate *::before, #edantube-age-gate *::after { box-sizing: border-box; }
#edantube-age-gate [hidden] { display: none !important; }
#edantube-age-gate .ed-age-brand { display: inline-flex; align-items: center; min-height: 44px; }
#edantube-age-gate .ed-age-brand img { display: block; width: 164px; height: 40px; object-fit: contain; }
#edantube-age-gate .ed-age-card { width: min(100%, 480px); align-self: end; margin: clamp(96px, 22vh, 190px) auto 40px; padding: 0; }
#edantube-age-gate .ed-age-badge { display: inline-flex; align-items: center; justify-content: center; gap: 2px; width: 94px; height: 68px; margin: 0 auto 18px; border: 1px solid #ff990080; border-radius: 14px; background: #0d0d0db3; color: var(--ed-age-orange); font: 700 44px/1 var(--ed-age-font); letter-spacing: normal; font-variant-numeric: lining-nums; }
#edantube-age-gate .ed-age-badge span { align-self: flex-start; margin-top: 12px; font-size: 25px; line-height: 1; }
#edantube-age-gate .ed-age-eyebrow { margin: 0 0 18px; color: #d4d4d4; font-size: 12px; font-weight: 600; line-height: 1.6; letter-spacing: .14em; }
#edantube-age-gate h2 { margin: 0 0 16px; color: #f2f2f2; font-size: 26px; font-weight: 700; line-height: 1.4; letter-spacing: normal; }
#edantube-age-gate .ed-age-description { margin: 0 0 28px; color: #e0e0e0; font-size: 15px; font-weight: 400; line-height: 1.85; overflow-wrap: anywhere; }
#edantube-age-gate .ed-age-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
#edantube-age-gate .ed-age-primary,
#edantube-age-gate .ed-age-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 56px; padding: 14px 20px; border: 1px solid transparent; border-radius: 8px; font: 600 15px/1.5 var(--ed-age-font); letter-spacing: normal; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
#edantube-age-gate .ed-age-primary { background: var(--ed-age-orange); color: #111; }
#edantube-age-gate .ed-age-primary span { font-size: 21px; line-height: 1; }
#edantube-age-gate .ed-age-secondary { border-color: #ffffff40; background: #151515d9; color: #eee; }
@media (hover: hover) {
    #edantube-age-gate .ed-age-primary:hover { background: #ffad2e; }
    #edantube-age-gate .ed-age-secondary:hover { border-color: #888; background: #252525; }
}
#edantube-age-gate :is(.ed-age-primary, .ed-age-secondary):active { transform: translateY(1px); opacity: .88; }
#edantube-age-gate :focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
#edantube-age-gate .ed-age-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; width: min(100%, 1120px); padding-top: 16px; border-top: 1px solid #ffffff24; color: #aaa; font-size: 12px; line-height: 1.6; letter-spacing: normal; }
#edantube-age-gate .ed-age-footer span:first-child { font-weight: 600; letter-spacing: .1em; }
#edantube-age-gate .ed-age-noscript { margin: 20px 0 0; color: #ffb84d; font-size: 14px; }
@media (min-width: 650px) {
    #edantube-age-gate .ed-age-actions { grid-template-columns: 1.3fr 1fr; }
    #edantube-age-gate .ed-age-card { margin-bottom: 54px; }
}
@media (max-width: 560px) {
    #edantube-age-gate { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
    #edantube-age-gate .ed-age-brand img { width: 148px; height: 36px; }
    #edantube-age-gate::before { background-position: 50% 40%; }
}
@media (max-height: 650px) {
    #edantube-age-gate { padding-top: max(16px, env(safe-area-inset-top)); padding-bottom: max(16px, env(safe-area-inset-bottom)); }
    #edantube-age-gate .ed-age-card { margin-top: 64px; margin-bottom: 24px; }
    #edantube-age-gate .ed-age-badge { width: 84px; height: 58px; font-size: 38px; margin-bottom: 14px; }
    #edantube-age-gate .ed-age-badge span { margin-top: 9px; font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    #edantube-age-gate :is(.ed-age-primary, .ed-age-secondary) { transition: none; }
}
