.ds-age-gate {
  --ds-age-highlight: #ffbd00;
  position: fixed;
  z-index: 2147483647;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(60px, env(safe-area-inset-top)) 12px max(32px, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse 85% 46% at 100% 0, #ffe9a8a6, transparent 100%), linear-gradient(180deg, #f8efd1 0, #f5f6fa 38%, #f5f6fa 100%);
  color: #2b2b2b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.ds-age-gate *, .ds-age-gate *::before, .ds-age-gate *::after { box-sizing: border-box; }
.ds-age-gate__panel { flex: 0 0 auto; width: min(440px, 100%); animation: ds-age-enter .3s ease both; }
.ds-age-gate__brand { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ds-age-gate__brand-copy { width: 100%; min-width: 0; }
.ds-age-gate__logo { display: block; width: 74px; height: 74px; border: 0; border-radius: 15px; object-fit: cover; background: #fff; box-shadow: 0 8px 18px #5450240d; }
.ds-age-gate__name { max-width: 100%; color: #34332f; font-size: 20px; font-weight: 700; line-height: 1.5; overflow-wrap: anywhere; }
.ds-age-gate__card { margin-top: 28px; padding: 18px 17px 16px; border-radius: 16px; background: #fff; box-shadow: 0 8px 20px #1a233808; }
.ds-age-gate__warning { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0; color: #242424; font-size: 17px; font-weight: 750; line-height: 1.5; text-align: center; }
.ds-age-gate__warning-icon { position: relative; isolation: isolate; display: inline-flex; flex: 0 0 18px; align-items: center; justify-content: center; width: 18px; height: 18px; padding-top: 4px; color: #fff; font: 700 13px/1 Arial, sans-serif; }
.ds-age-gate__warning-icon::before { position: absolute; z-index: -1; inset: 0; background: #ffbb15; clip-path: polygon(43% 4%, 57% 4%, 100% 85%, 96% 99%, 4% 99%, 0 85%); content: ""; }
.ds-age-gate__description { margin: 15px 0 0; color: #696969; font-size: 13.5px; font-weight: 400; line-height: 1.75; overflow-wrap: anywhere; }
.ds-age-gate__choices { margin-top: 12px; padding-top: 12px; border-top: 1px solid #f3f3f3; }
.ds-age-gate__agreement { display: flex; align-items: center; gap: 16px; margin: 0; padding: 0; border: 0; color: #696969; font-size: 13px; font-weight: 400; line-height: 1.8; cursor: pointer; }
.ds-age-gate__choice-content { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ds-age-gate__checkbox-wrap { position: relative; flex: 0 0 18px; width: 18px; height: 18px; }
.ds-age-gate__checkbox { position: absolute; z-index: 1; inset: 0; width: 18px; height: 18px; margin: 0; opacity: 0; cursor: pointer; }
.ds-age-gate__checkbox-box { position: absolute; inset: 0; border: 1px solid #cfcfcf; border-radius: 50%; background: #fff; pointer-events: none; transition: border-color .15s, background-color .15s; }
.ds-age-gate__checkbox:checked + .ds-age-gate__checkbox-box { border-color: #ffbd00; background: #ffbd00; }
.ds-age-gate__checkbox:checked + .ds-age-gate__checkbox-box::after { position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; content: ""; transform: rotate(45deg); }
.ds-age-gate__checkbox:focus-visible + .ds-age-gate__checkbox-box, .ds-age-gate__confirm:focus-visible, .ds-age-gate__agreement a:focus-visible { outline: 3px solid #ffbd0070; outline-offset: 4px; }
.ds-age-gate__agreement.has-error .ds-age-gate__checkbox-box { border-color: #db7558; }
.ds-age-gate__agreement a { display: inline; color: #dfa62d; font: inherit; white-space: nowrap; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.ds-age-gate__confirm { display: block; width: 100%; height: 50px; margin: 17px 0 0; padding: 10px 20px; border: 0; border-radius: 999px; background: linear-gradient(110deg, #ffc600, #ffb20b); color: #fff; font: inherit; font-size: 18px; font-weight: 700; line-height: 1.5; text-align: center; cursor: pointer; transition: filter .15s, transform .15s; }
.ds-age-gate__confirm:active { transform: scale(.985); }
.ds-age-gate__status { margin: 10px 0 0; color: #b56547; font-size: 12px; line-height: 1.6; text-align: center; }
.ds-age-gate__status:empty { display: none; }
.ds-age-gate__exit-note { flex: 0 0 auto; width: min(440px, 100%); margin: 16px 0 0; padding: 0 4px; color: #9b9c9f; font-size: 12px; font-weight: 400; line-height: 1.8; text-align: center; }
@keyframes ds-age-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
@media (hover: hover) { .ds-age-gate__confirm:hover { filter: brightness(1.025); } }
@media (min-width: 521px) {
  .ds-age-gate { padding-top: max(70px, env(safe-area-inset-top)); }
  .ds-age-gate__logo { width: 84px; height: 84px; border-radius: 17px; }
  .ds-age-gate__name { font-size: 23px; }
  .ds-age-gate__card { margin-top: 38px; padding: 23px 21px 21px; border-radius: 18px; }
  .ds-age-gate__warning { font-size: 21px; }
  .ds-age-gate__description { font-size: 15px; }
  .ds-age-gate__agreement { font-size: 14px; }
  .ds-age-gate__confirm { height: 54px; font-size: 20px; }
  .ds-age-gate__exit-note { font-size: 13px; }
}
@media (max-width: 360px) {
  .ds-age-gate { padding-top: max(50px, env(safe-area-inset-top)); }
  .ds-age-gate__card { padding-inline: 15px; }
  .ds-age-gate__name { font-size: 19px; }
  .ds-age-gate__warning { gap: 7px; font-size: 16px; }
  .ds-age-gate__description { font-size: 12.5px; }
  .ds-age-gate__agreement { gap: 11px; font-size: 12px; }
  .ds-age-gate__exit-note { font-size: 11px; }
}
@media (max-height: 600px) {
  .ds-age-gate { padding-top: max(24px, env(safe-area-inset-top)); }
  .ds-age-gate__logo { width: 60px; height: 60px; border-radius: 13px; }
  .ds-age-gate__card { margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .ds-age-gate__panel, .ds-age-gate__checkbox-box, .ds-age-gate__confirm { animation: none!important; transition: none!important; } }
