/* Окно подтверждения возраста (правка №1998) */
html.agegate-lock,html.agegate-lock body{overflow:hidden!important;overscroll-behavior:none}
html.agegate-lock body>*:not(.agegate){filter:blur(5px);transition:filter .4s}
.agegate{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:20px;overflow-y:auto;background:rgba(10,8,6,.72);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;transition:opacity .45s ease;font-family:Onest,system-ui,Arial,sans-serif;color:#efe4d3}
.agegate.is-in{opacity:1}.agegate.is-out{opacity:0}
.agegate-box{outline:none;position:relative;width:min(540px,100%);margin:auto;padding:38px 44px 26px;text-align:center;border-radius:18px;overflow:hidden;
  background:radial-gradient(120% 70% at 50% 0%,#3a2a19 0%,rgba(58,42,25,0) 62%),linear-gradient(165deg,#221a13 0%,#17120e 55%,#1d150e 100%);
  border:1px solid rgba(214,170,104,.55);box-shadow:0 0 0 1px rgba(0,0,0,.6),0 30px 80px rgba(0,0,0,.6),inset 0 1px 0 rgba(255,226,170,.14);
  transform:translateY(14px) scale(.98);transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.agegate.is-in .agegate-box{transform:none}
/* световые блики на рамке */
.agegate-box::before,.agegate-box::after{content:"";position:absolute;pointer-events:none;height:1px;width:46%;
  background:linear-gradient(90deg,transparent,rgba(255,228,176,.95),transparent)}
.agegate-box::before{top:-1px;left:8%}.agegate-box::after{bottom:-1px;right:8%;opacity:.7}
.agegate-shine{position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:radial-gradient(40% 28% at 0% 0%,rgba(237,201,143,.12),transparent 70%),radial-gradient(40% 28% at 100% 100%,rgba(237,201,143,.1),transparent 70%)}
.agegate-logo{position:relative;display:flex;flex-direction:column;align-items:center;gap:9px}
.agegate-logo b{font:400 clamp(30px,6vw,38px)/1 Georgia,"Times New Roman",serif;letter-spacing:.07em;
  background:linear-gradient(100deg,#c3914c 0%,#f6d9a4 28%,#fff0cf 42%,#d9a65f 62%,#f1cf94 82%,#b98544 100%);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.agegate-logo span{font:600 9px/1 Onest,Arial,sans-serif;letter-spacing:.32em;color:#c9a46c;padding-left:.32em}
.agegate-logo i{display:block;width:44px;height:1px;margin-top:6px;background:linear-gradient(90deg,transparent,#d6aa68,transparent)}
.agegate-ring{position:relative;width:62px;height:62px;margin:22px auto 18px;border-radius:50%;display:grid;place-items:center;
  border:1px solid rgba(225,183,118,.8);box-shadow:0 0 14px rgba(237,201,143,.16),inset 0 0 10px rgba(237,201,143,.08);animation:agegate-glow 4.5s ease-in-out infinite}
.agegate-ring span{font:500 22px/1 Onest,Arial,sans-serif;color:#f1cf94;letter-spacing:.01em}
@keyframes agegate-glow{0%,100%{box-shadow:0 0 12px rgba(237,201,143,.12),inset 0 0 8px rgba(237,201,143,.06)}50%{box-shadow:0 0 22px rgba(237,201,143,.28),inset 0 0 12px rgba(237,201,143,.12)}}
.agegate h2{margin:0 0 14px;font:600 clamp(26px,5vw,32px)/1.12 Cormorant,Georgia,"Times New Roman",serif;letter-spacing:0;color:#f7ecd9;outline:none}
.agegate p{margin:0 auto 10px;max-width:440px;font-size:15px;line-height:1.55;color:#d8ccba}
.agegate p.agegate-welcome{color:#efe4d3;margin-bottom:12px}
.agegate-btns{display:grid;gap:12px;margin-top:24px}
.agegate-btns button{position:relative;overflow:hidden;min-height:54px;padding:12px 20px;border-radius:10px;font:500 16px/1.25 Onest,Arial,sans-serif;cursor:pointer;transition:transform .2s,box-shadow .25s,background-color .25s,border-color .25s}
.agegate-yes{border:0;color:#21180f;background:linear-gradient(100deg,#c9995a 0%,#f0cf95 38%,#f8e2b6 52%,#e6bd7c 72%,#c8975a 100%);box-shadow:0 8px 24px rgba(214,170,104,.22),inset 0 1px 0 rgba(255,245,222,.6)}
.agegate-yes::after{content:"";position:absolute;top:0;bottom:0;left:-40%;width:30%;transform:skewX(-20deg);
  background:linear-gradient(90deg,transparent,rgba(255,250,236,.55),transparent);animation:agegate-shine 5.5s ease-in-out 1.2s infinite}
@keyframes agegate-shine{0%{left:-40%}28%,100%{left:120%}}
.agegate-yes:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(214,170,104,.3),inset 0 1px 0 rgba(255,245,222,.6)}
.agegate-no{border:1px solid rgba(214,170,104,.6);background:transparent;color:#efe4d3}
.agegate-no:hover{border-color:#edc98f;background:rgba(237,201,143,.06)}
.agegate-btns button:focus-visible{outline:2px solid #edc98f;outline-offset:3px}
.agegate-step[data-step="denied"] p{color:#efe4d3;font-size:16px;margin-bottom:6px}
.agegate.is-denied .agegate-ring{border-color:rgba(214,120,96,.7);animation:none;box-shadow:0 0 14px rgba(214,120,96,.15)}
.agegate.is-denied .agegate-ring span{color:#e7a48e}
.agegate-foot{display:flex;align-items:center;gap:14px;margin-top:26px;color:#b99464;font:600 10px/1 Onest,Arial,sans-serif;letter-spacing:.3em}
.agegate-foot i{flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(214,170,104,.55))}
.agegate-foot i:last-child{background:linear-gradient(90deg,rgba(214,170,104,.55),transparent)}
.agegate-foot span{padding-left:.3em;white-space:nowrap}
@media(max-width:600px){.agegate{padding:16px}.agegate-box{padding:28px 20px 20px;border-radius:16px}.agegate-ring{width:54px;height:54px;margin:16px auto 14px}.agegate-ring span{font-size:19px}
  .agegate p{font-size:14px}.agegate-btns{margin-top:18px;gap:10px}.agegate-btns button{min-height:50px;font-size:15px}.agegate-foot{margin-top:20px;gap:10px;letter-spacing:.22em}}
@media(prefers-reduced-motion:reduce){.agegate,.agegate-box{transition:none}.agegate-ring,.agegate-yes::after{animation:none}}
