/* V5.45.23 shared layout and accessibility polish */
*,*::before,*::after{box-sizing:border-box}
html{max-width:100%;overflow-x:clip;text-size-adjust:100%}
body{max-width:100%;overflow-x:clip}
img,video,iframe{max-width:100%;height:auto}
img{object-fit:contain}
button,input,select,textarea{font:inherit;max-width:100%}
button,.btn,a{touch-action:manipulation}
:where(.wrap,.content,.panel,.card,.story,.story-content,.mature-gate-card){min-width:0;overflow-wrap:anywhere}
:where(.actions,.section-head,.genre-add-row,.writer-quick-actions){flex-wrap:wrap;gap:10px}
:where(.actions .btn,.actions button){white-space:normal;text-align:center}
:where(.content,.admin-shell main){min-width:0}
:where(table){border-collapse:collapse}
:where(.panel){max-width:100%}
:where(.mature-gate-page){min-height:100svh;background:radial-gradient(circle at top,#2b1b3f 0,#111321 52%,#0d111a 100%);color:#f8fafc}
.mature-gate-page .mature-gate{min-height:100svh;display:grid;place-items:center;padding:clamp(20px,5vw,60px) 16px}
.mature-gate-page .mature-gate-card{width:min(100%,560px);padding:clamp(22px,5vw,42px);border-radius:24px;background:#fff;color:#192132;box-shadow:0 25px 70px #0006;text-align:center}
.mature-gate-page .mature-gate-card h1{font-size:clamp(1.7rem,4vw,2.3rem);line-height:1.2;margin:12px 0}
.mature-gate-page .mature-gate-card p{line-height:1.7}
.mature-gate-page .mature-gate-card .muted{color:#526074}
.mature-gate-page .mature-gate-card form{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:24px}
.mature-gate-page .mature-gate-card form .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.knp-gate-eyebrow{font-size:.75rem;letter-spacing:.16em;font-weight:800;color:#9d4edd}
.mature-gate-page .mature-icon{width:74px;height:74px;display:grid;place-items:center;border-radius:22px;margin:0 auto;background:#f5eaff;color:#7b2cbf;font-weight:900;font-size:1.4rem}
:where(.card-img,.story-cover){object-fit:contain;object-position:center}
:where(.card,.trend-card,.panel){overflow-wrap:anywhere}
:where(.card-body h3,.trend-card b){line-height:1.35}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid #7b61ff;outline-offset:3px}
@media(max-width:768px){.mature-gate-page .mature-gate-card form{flex-direction:column}.mature-gate-page .mature-gate-card form .btn{width:100%}:where(.content){padding-left:14px;padding-right:14px}:where(.panel){padding:clamp(14px,4vw,24px)}:where(.section-head){align-items:flex-start}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
