.nextjs-auth-page{--auth-bg:#f4f8fc;--auth-surface:#fff;--auth-soft:#eaf2fb;--auth-text:#102039;--auth-muted:#586a82;--auth-border:#d2dfed;--auth-cyan:#0284c7;--auth-violet:#7c3aed;--auth-green:#059669;--auth-amber:#d97706;--auth-red:#dc2626;background:var(--auth-bg);color:var(--auth-text)}.nextjs-auth-page.active-dark-mode{--auth-bg:#06111f;--auth-surface:#0d1a2c;--auth-soft:#14243a;--auth-text:#eaf3ff;--auth-muted:#a8b9d0;--auth-border:#29415f;--auth-cyan:#4fc3f7;--auth-violet:#a78bfa;--auth-green:#34d399;--auth-amber:#fbbf24;--auth-red:#fb7185}
.nextjs-auth-page .blog-hero--article{padding:116px 0 68px;border-bottom:1px solid var(--auth-border);background:radial-gradient(circle at 86% 12%,rgba(124,58,237,.18),transparent 29%),radial-gradient(circle at 12% 18%,rgba(2,132,199,.22),transparent 31%),var(--auth-bg)}.nextjs-auth-page .blog-hero--article .blog-container{display:grid;grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr);gap:clamp(34px,5vw,76px);align-items:center}.nextjs-auth-page .blog-breadcrumbs,.nextjs-auth-page .blog-eyebrow,.nextjs-auth-page .blog-hero h1,.nextjs-auth-page .blog-hero__intro,.nextjs-auth-page .article-meta{grid-column:1}.auth-hero__visual{grid-column:2;grid-row:1/7;margin:0;border:1px solid var(--auth-border);border-radius:24px;overflow:hidden;box-shadow:0 30px 80px rgba(3,12,29,.34)}.auth-hero__visual img,.article-art img{display:block;width:100%;height:auto}
.nextjs-auth-page .article-layout{width:min(1120px,calc(100% - 40px));grid-template-columns:minmax(0,760px) minmax(220px,280px);gap:64px}.nextjs-auth-page .article-content>p,.nextjs-auth-page .article-content>ul{color:var(--auth-muted)}.nextjs-auth-page .article-content code{overflow-wrap:anywhere}.learning-path,.auth-diagram{margin:36px 0 44px;padding:clamp(20px,4vw,32px);border:1px solid var(--auth-border);border-radius:22px;background:var(--auth-surface);box-shadow:0 16px 40px rgba(19,42,82,.08)}
.learning-path h2{margin-top:0}.learning-path ol{display:grid;grid-template-columns:repeat(13,1fr);gap:4px;margin:22px 0 0;padding:0;list-style:none}.learning-path li{position:relative;min-width:0;padding:13px 1px;border:1px solid var(--auth-border);border-radius:10px;background:var(--auth-soft);text-align:center}.learning-path li:not(:last-child)::after{position:absolute;z-index:2;top:50%;right:-4px;content:'\203A';color:var(--auth-cyan);font-size:16px;transform:translate(50%,-50%)}.learning-path a{display:block;color:inherit;text-decoration:none}.learning-path small,.learning-path strong{display:block}.learning-path strong{margin-top:4px;font-size:6.5px}.learning-path .is-current{color:#fff;border-color:transparent;background:linear-gradient(135deg,var(--auth-cyan),var(--auth-violet))}
.auth-diagram figcaption{margin-bottom:24px}.auth-diagram figcaption strong{display:block;color:var(--auth-text);font-size:1.08rem}.auth-diagram figcaption span{display:block;margin-top:5px;color:var(--auth-muted)}.auth-diagram b,.auth-diagram em,.auth-diagram li,.auth-diagram section{border:1px solid var(--auth-border);border-radius:12px;background:var(--auth-soft);font-style:normal}.auth-diagram b{padding:15px;text-align:center}.auth-diagram i{color:var(--auth-cyan);font-size:23px;font-style:normal}.auth-overview ol,.cookie-flow ol,.action-flow ol{display:grid;grid-template-columns:repeat(6,1fr);gap:22px;margin:0;padding:0;list-style:none}.auth-overview li,.cookie-flow li,.action-flow li{position:relative;display:grid;min-height:74px;padding:10px;place-content:center;text-align:center;font-size:12px}.auth-overview li:not(:last-child)::after,.cookie-flow li:not(:last-child)::after,.action-flow li:not(:last-child)::after{position:absolute;top:50%;right:-20px;content:'\2192';color:var(--auth-cyan);font-size:22px;transform:translateY(-50%)}
.split-flow>div,.boundary-flow>div,.dal-flow>div,.ownership-flow>div,.proxy-flow>div,.dto-flow>div{display:flex;gap:10px;align-items:center}.split-flow section,.boundary-flow section,.dal-flow section,.proxy-flow section,.dto-flow section{display:grid;flex:1;gap:8px;padding:10px}.split-flow em,.boundary-flow em,.dal-flow em,.proxy-flow em,.dto-flow em{padding:10px;text-align:center}.secure{border-color:color-mix(in srgb,var(--auth-green) 60%,var(--auth-border))!important}.ownership-flow>div b{flex:1;font-size:12px}.dal-flow>div>section:first-child{grid-template-columns:repeat(3,1fr)}.dal-flow>div>section:first-child em{font-size:11px}.dal-flow .secure{grid-template-columns:repeat(3,1fr)}.dal-flow .secure b{grid-column:1/-1}.dto-flow>div>section:first-child{grid-template-columns:repeat(2,1fr)}.dto-flow>div>section:first-child b{grid-column:1/-1}.cache-flow>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.cache-flow section{display:grid;gap:8px;padding:12px}.cache-flow em{padding:12px;text-align:center}.danger{border-color:color-mix(in srgb,var(--auth-red) 55%,var(--auth-border))!important}
.article-art{margin:34px 0 44px;border:1px solid var(--auth-border);border-radius:22px;overflow:hidden;background:var(--auth-surface);box-shadow:0 18px 48px rgba(8,22,48,.13)}.article-art figcaption{padding:16px 20px;color:var(--auth-muted)}.article-art figcaption strong{color:var(--auth-text)}.table-scroll{max-width:100%;margin:28px 0;overflow-x:auto;border:1px solid var(--auth-border);border-radius:16px;background:var(--auth-surface)}.table-scroll table{width:100%;min-width:680px;margin:0;border-collapse:collapse}.table-scroll th,.table-scroll td{padding:14px 16px;border-bottom:1px solid var(--auth-border);text-align:left;vertical-align:top}.table-scroll th{background:var(--auth-soft);color:var(--auth-text)}.table-scroll tr:last-child td{border-bottom:0}.mistake-list{display:grid;gap:10px}.nextjs-auth-page .article-toc{top:106px;max-height:calc(100vh - 126px);overflow:auto}
@media(max-width:991px){.nextjs-auth-page .blog-hero--article .blog-container{grid-template-columns:1fr}.nextjs-auth-page .blog-breadcrumbs,.nextjs-auth-page .blog-eyebrow,.nextjs-auth-page .blog-hero h1,.nextjs-auth-page .blog-hero__intro,.nextjs-auth-page .article-meta,.auth-hero__visual{grid-column:1}.auth-hero__visual{grid-row:auto}.nextjs-auth-page .article-layout{grid-template-columns:1fr}.learning-path ol{grid-template-columns:repeat(4,1fr)}.learning-path li:nth-child(4n)::after{display:none}.auth-overview ol,.cookie-flow ol,.action-flow ol{grid-template-columns:repeat(3,1fr)}.auth-overview li:nth-child(3)::after,.cookie-flow li:nth-child(3)::after,.action-flow li:nth-child(3)::after{display:none}.nextjs-auth-page .article-toc{display:none}}
@media(max-width:767px){.nextjs-auth-page .blog-hero--article{padding:102px 0 46px}.nextjs-auth-page .article-layout{width:min(100% - 28px,760px)}.split-flow>div,.boundary-flow>div,.dal-flow>div,.ownership-flow>div,.proxy-flow>div,.dto-flow>div{flex-direction:column}.auth-diagram i{transform:rotate(90deg)}.auth-overview ol,.cookie-flow ol,.action-flow ol{grid-template-columns:1fr}.auth-overview li:not(:last-child)::after,.cookie-flow li:not(:last-child)::after,.action-flow li:not(:last-child)::after{top:auto;right:50%;bottom:-24px;transform:translateX(50%) rotate(90deg)}.auth-overview li:nth-child(3)::after,.cookie-flow li:nth-child(3)::after,.action-flow li:nth-child(3)::after{display:block}.dal-flow>div>section:first-child,.dal-flow .secure,.dto-flow>div>section:first-child,.cache-flow>div{grid-template-columns:1fr}.dal-flow .secure b,.dto-flow>div>section:first-child b{grid-column:auto}.auth-diagram{margin-inline:-2px}.auth-hero__visual{border-radius:16px}.nextjs-auth-page .code-block pre{max-width:100%;overflow-x:auto}}
@media(max-width:420px){.nextjs-auth-page .blog-container{width:min(100% - 22px,1180px)}.auth-diagram{padding:16px}.learning-path ol{grid-template-columns:repeat(2,1fr)}.learning-path li:nth-child(4n)::after{display:block}.learning-path li:nth-child(2n)::after{display:none}.learning-path strong{font-size:10px}.table-scroll{margin-inline:0}}@media print{.auth-diagram,.article-art{break-inside:avoid}.auth-hero__visual{box-shadow:none}}
