html.hg-age-locked{overflow:hidden;scrollbar-gutter:auto}
  
  html.hg-age-locked::before{content:"";position:fixed;inset:0;z-index:2147483000;background:#0d0d0d}
  html.hg-age-ok .hg-age-modal,.hg-age-modal[hidden]{display:none !important}
  .hg-age-modal{
    position:fixed;inset:0;z-index:2147483003;
    display:flex;align-items:safe center;justify-content:center;overflow-y:auto;padding:24px 0;box-sizing:border-box;
    background:#0d0d0d;color:#fff;
    font-family:"PingFang SC","Noto Sans SC","Microsoft YaHei",sans-serif;
    -webkit-font-smoothing:antialiased
  }
  .hg-age-modal::before{
    content:"";position:fixed;left:50%;top:50%;width:100dvh;height:100vw;pointer-events:none;
    background:url('/static/web/images/age-gate/51-background.png') center/cover;transform:translate(-50%,-50%) rotate(-90deg)
  }
  .hg-age-modal::after{content:"";position:fixed;inset:0;background:rgba(8,7,3,.93);backdrop-filter:blur(5px);pointer-events:none}
  .hg-age-modal__panel{
    position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;flex-shrink:0;
    width:min(720px,calc(100vw - 48px));gap:40px;text-align:center
  }
  .hg-age-modal__logo{display:block;width:min(199px,60vw);height:66px;object-fit:contain}
  .hg-age-modal__notice{margin:0;width:100%;color:#fff;font-size:clamp(18px,4.8vw,24px);font-weight:500;line-height:1.6}
  .hg-age-modal__notice span{display:block}
  .hg-age-modal__notice span+span{margin-top:16px}
  .hg-age-modal__actions{display:flex;flex-direction:column;align-items:center;width:min(500px,100%);gap:16px}
  
  .hg-age-modal .hg-age-modal__btn{
    display:flex;align-items:center;justify-content:center;box-sizing:border-box;
    width:100%;margin:0;padding:18px 20px;border:0;border-radius:30px;
    font-size:clamp(14px,4vw,16px);line-height:1.375;text-align:center;
    cursor:pointer;appearance:none;-webkit-appearance:none;
    transition:opacity .15s ease,transform .15s ease
  }
  .hg-age-modal .hg-age-modal__btn:active{transform:scale(.98)}
  .hg-age-modal .hg-age-modal__btn--enter{
    background:var(--color-primary) !important;background-image:none !important;
    color:#000 !important;font-weight:500;box-shadow:none
  }
  .hg-age-modal .hg-age-modal__btn--enter:hover{opacity:.92}
  .hg-age-modal .hg-age-modal__btn--leave{
    border:1px solid rgba(255,255,255,.07) !important;
    background:#181713 !important;background-image:none !important;
    color:rgba(255,255,255,.8) !important;font-weight:500;box-shadow:none
  }
  .hg-age-modal .hg-age-modal__btn--leave:hover{border-color:rgba(255,255,255,.16) !important;color:#fff !important}
  .hg-age-modal__legal{margin:0;width:100%;color:rgba(255,255,255,.4);font-size:clamp(12px,3.2vw,14px);line-height:1.5}
  .hg-age-modal__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  @media (max-width:768px){
    .hg-age-modal__panel{width:min(500px,calc(100vw - 48px));gap:28px}
    .hg-age-modal .hg-age-modal__btn{padding:16px 18px;border-radius:28px}
  }
  @media (max-width:380px){
    .hg-age-modal__panel{width:calc(100vw - 32px);gap:24px}
    .hg-age-modal .hg-age-modal__btn{padding:15px 14px}
  }
