/* OyunOne public brand and developer documentation */
.docs-page {
    --docs-bg: #0d0f16;
    --docs-panel: #121721;
    --docs-panel-2: #171d28;
    --docs-border: rgba(255, 255, 255, .08);
    --docs-border-strong: rgba(255, 255, 255, .14);
    --docs-text: #f4f8ff;
    --docs-muted: #8ba3c7;
    --docs-subtle: #5f718b;
    --docs-blue: #57b0ff;
    --docs-blue-rgb: 87, 176, 255;
    position: relative;
    overflow: clip;
    background:
        radial-gradient(circle at 75% -5%, rgba(var(--docs-blue-rgb), .09), transparent 27rem),
        var(--docs-bg);
    color: var(--docs-text);
}

.docs-page *,
.docs-page *::before,
.docs-page *::after { box-sizing: border-box; }

.docs-page .page-breadcrumb { margin-bottom: 0; }

.docs-hero {
    position: relative;
    padding: 76px 0 66px;
    border-bottom: 1px solid var(--docs-border);
    isolation: isolate;
}

.docs-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 54px 54px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 90%);
    mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

.docs-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 470px;
    height: 470px;
    right: max(-90px, calc((100vw - 1320px) / 2));
    top: -210px;
    border: 1px solid rgba(var(--docs-blue-rgb), .12);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(var(--docs-blue-rgb), .025), 0 0 0 140px rgba(var(--docs-blue-rgb), .015);
}

.docs-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
    align-items: center;
    gap: 56px;
}

.docs-kicker,
.docs-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--docs-blue);
    font-size: 11px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.docs-kicker {
    padding: 8px 11px;
    border: 1px solid rgba(var(--docs-blue-rgb), .22);
    border-radius: 999px;
    background: rgba(var(--docs-blue-rgb), .08);
    margin-bottom: 20px;
}

.docs-kicker .material-symbols-outlined { font-size: 16px; }

.docs-hero__title {
    max-width: 800px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 820;
    line-height: 1.03;
    letter-spacing: -.045em;
}

.docs-hero__title span { color: var(--docs-blue); }

.docs-hero__desc {
    max-width: 690px;
    margin: 22px 0 0;
    color: var(--docs-muted);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.75;
}

.docs-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.docs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid var(--docs-border-strong);
    border-radius: 9px;
    color: #dbe8ff;
    background: rgba(255, 255, 255, .035);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.docs-btn .material-symbols-outlined { font-size: 18px; }
.docs-btn:hover { color: #fff; border-color: rgba(255, 255, 255, .25); transform: translateY(-1px); }
.docs-btn--primary { color: #07111e; border-color: var(--docs-blue); background: var(--docs-blue); }
.docs-btn--primary:hover { color: #07111e; border-color: #83c7ff; background: #83c7ff; }

.docs-hero-card {
    position: relative;
    min-height: 255px;
    padding: 28px;
    border: 1px solid var(--docs-border-strong);
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .018));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
}

.docs-hero-card::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    right: -65px;
    bottom: -65px;
    border-radius: 50%;
    background: var(--docs-blue);
    filter: blur(70px);
    opacity: .2;
}

.docs-hero-card__label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--docs-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.docs-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #75e5ab;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.docs-status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 0 5px rgba(74, 222, 128, .08);
}

.docs-hero-card__mark {
    display: grid;
    place-items: center;
    width: 94px;
    height: 94px;
    margin: 36px auto 22px;
    border: 1px solid rgba(var(--docs-blue-rgb), .2);
    border-radius: 26px;
    background: rgba(var(--docs-blue-rgb), .08);
    transform: rotate(-4deg);
}

.docs-hero-card__mark img { width: 58px; height: 58px; object-fit: contain; }
.docs-hero-card__meta { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

.docs-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid var(--docs-border);
    border-radius: 7px;
    color: var(--docs-muted);
    background: rgba(0, 0, 0, .18);
    font-size: 11px;
    font-weight: 650;
}

.docs-base-url { margin-top: 35px; }
.docs-base-url__label { color: var(--docs-subtle); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.docs-base-url__value {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 9px;
    padding: 13px 14px;
    border: 1px solid var(--docs-border);
    border-radius: 9px;
    color: #cfe8ff;
    background: rgba(3, 7, 12, .45);
    font: 600 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    overflow-wrap: anywhere;
}

.docs-base-url__value .material-symbols-outlined { color: var(--docs-blue); font-size: 17px; }

.docs-shell {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    align-items: start;
    gap: 54px;
    padding: 56px 0 96px;
}

.docs-toc {
    position: sticky;
    top: 110px;
    padding-right: 24px;
    border-right: 1px solid var(--docs-border);
}

.docs-toc__title {
    margin: 0 0 14px;
    color: var(--docs-subtle);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.docs-toc__list { display: grid; gap: 4px; margin: 0; }
.docs-toc__list li { margin: 0; }

.docs-toc__list a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 7px;
    color: #7185a2;
    font-size: 12px;
    font-weight: 550;
    text-decoration: none;
    transition: color .18s ease, background .18s ease;
}

.docs-toc__list a::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: currentColor;
    opacity: .55;
}

.docs-toc__list a:hover,
.docs-toc__list a.is-active { color: var(--docs-blue); background: rgba(var(--docs-blue-rgb), .07); }

.docs-toc__crosslink {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px;
    border: 1px solid var(--docs-border);
    border-radius: 9px;
    color: #a8bad2;
    background: rgba(255, 255, 255, .02);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
}

.docs-toc__crosslink .material-symbols-outlined { color: var(--docs-blue); font-size: 18px; }
.docs-toc__crosslink:hover { color: #fff; border-color: rgba(var(--docs-blue-rgb), .28); }

.docs-content { min-width: 0; max-width: 1000px; }
.docs-section { scroll-margin-top: 110px; padding-bottom: 68px; }
.docs-section + .docs-section { padding-top: 68px; border-top: 1px solid var(--docs-border); }
.docs-section:last-child { padding-bottom: 0; }

.docs-section__heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 8px 0 24px;
}

.docs-section__title {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 780;
    letter-spacing: -.025em;
}

.docs-section__intro {
    max-width: 760px;
    margin: -10px 0 28px;
    color: var(--docs-muted);
    font-size: 14px;
    line-height: 1.8;
}

.docs-card {
    border: 1px solid var(--docs-border);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .018));
}

.docs-card--padded { padding: 24px; }

.docs-grid { display: grid; gap: 14px; }
.docs-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.docs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.docs-feature {
    position: relative;
    min-height: 188px;
    padding: 22px;
    overflow: hidden;
}

.docs-feature__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border-radius: 10px;
    color: var(--docs-blue);
    background: rgba(var(--docs-blue-rgb), .09);
}

.docs-feature__icon .material-symbols-outlined { font-size: 20px; }
.docs-feature h3 { margin: 34px 0 8px; color: #fff; font-size: 16px; font-weight: 700; }
.docs-feature p { margin: 0; color: var(--docs-muted); font-size: 12px; line-height: 1.7; }

/* Brand guidelines */
.brand-logo-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, .5fr);
    min-height: 330px;
    overflow: hidden;
}

.brand-logo-stage__main,
.brand-logo-stage__mark { display: flex; align-items: center; justify-content: center; padding: 44px; }
.brand-logo-stage__main { background: #101722; }
.brand-logo-stage__main img { width: min(430px, 80%); }
.brand-logo-stage__mark { background: var(--docs-blue); }
.brand-logo-stage__mark img { width: 105px; }

.brand-spec-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--docs-border);
}

.brand-spec {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 16px 18px;
}

.brand-spec + .brand-spec { border-left: 1px solid var(--docs-border); }
.brand-spec .material-symbols-outlined { color: var(--docs-blue); font-size: 20px; }
.brand-spec small { display: block; color: var(--docs-subtle); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.brand-spec strong { display: block; margin-top: 2px; color: #dbe8ff; font-size: 12px; font-weight: 650; }

.brand-clearspace {
    display: grid;
    place-items: center;
    min-height: 265px;
    padding: 48px;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 24px 24px;
}

.brand-clearspace__logo {
    position: relative;
    width: min(350px, 75%);
    padding: 38px;
    border: 1px dashed rgba(var(--docs-blue-rgb), .55);
}

.brand-clearspace__logo img { width: 100%; display: block; }
.brand-clearspace__x { position: absolute; color: var(--docs-blue); font: 700 11px/1 Inter, sans-serif; }
.brand-clearspace__x--top { top: 12px; left: 50%; transform: translateX(-50%); }
.brand-clearspace__x--left { left: 12px; top: 50%; transform: translateY(-50%); }

.brand-colors { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 12px; }

.brand-swatch {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 210px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 12px;
    overflow: hidden;
}

.brand-swatch:first-child { min-height: 250px; }
.brand-swatch::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .48), transparent 58%); }
.brand-swatch__content { position: relative; z-index: 1; }
.brand-swatch h3 { margin: 0 0 5px; color: #fff; font-size: 14px; font-weight: 700; }
.brand-swatch code { color: rgba(255, 255, 255, .72); font: 600 11px/1.5 ui-monospace, monospace; }
.brand-swatch--blue { background: #57b0ff; }
.brand-swatch--night { background: #0d0f16; }
.brand-swatch--surface { background: #1a1e26; }
.brand-swatch--white { background: #eff4fa; }
.brand-swatch--white h3 { color: #101722; }
.brand-swatch--white code { color: #46566b; }
.brand-swatch--white::before { display: none; }

.brand-type-demo { display: grid; grid-template-columns: 190px minmax(0, 1fr); overflow: hidden; }
.brand-type-demo + .brand-type-demo { margin-top: 12px; }
.brand-type-demo__meta { padding: 24px; border-right: 1px solid var(--docs-border); }
.brand-type-demo__meta span { display: block; color: var(--docs-blue); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.brand-type-demo__meta strong { display: block; margin-top: 8px; color: #fff; font-size: 18px; }
.brand-type-demo__sample { display: flex; align-items: center; padding: 28px; color: #fff; }
/* Marka display fontu. DrukCond.otf projede bulunmadığı için @font-face tanımı
   kaldırıldı (istek 404 dönüyordu) ve yığın daraltılmış sistem fontlarına
   düşürüldü. Lisanslı font dosyası public/assets/fonts/ altına eklendiğinde
   aşağıdaki @font-face yorumdan çıkarılıp yığının başına "DrukCond" geri konur. */
/*
@font-face {
    font-family: 'DrukCond';
    src: url('../fonts/DrukCond.woff2') format('woff2'),
         url('../fonts/DrukCond.otf') format('opentype');
    font-display: swap;
}
*/
.brand-type-demo__sample--display { font-family: "Arial Narrow", "Helvetica Neue Condensed", "Liberation Sans Narrow", sans-serif-condensed, sans-serif; font-size: clamp(40px, 7vw, 78px); line-height: .85; letter-spacing: .02em; text-transform: uppercase; }
.brand-type-demo__sample--body { font-size: 17px; font-weight: 500; line-height: 1.65; }

.brand-voice-card { padding: 22px; }
.brand-voice-card__tag { color: var(--docs-blue); font-size: 10px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.brand-voice-card h3 { margin: 18px 0 7px; color: #fff; font-size: 16px; }
.brand-voice-card p { margin: 0; color: var(--docs-muted); font-size: 12px; line-height: 1.7; }

.brand-do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.brand-rule { padding: 20px; }
.brand-rule__label { display: flex; align-items: center; gap: 7px; margin-bottom: 14px; font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.brand-rule__label .material-symbols-outlined { font-size: 18px; }
.brand-rule--do .brand-rule__label { color: #65dea0; }
.brand-rule--dont .brand-rule__label { color: #ff8585; }
.brand-rule p { margin: 0; color: #dbe8ff; font-size: 14px; line-height: 1.65; }

.brand-misuse {
    display: grid;
    place-items: center;
    min-height: 160px;
    padding: 28px;
    border-bottom: 1px solid var(--docs-border);
    background: rgba(255, 255, 255, .015);
}

.brand-misuse img { max-width: 165px; max-height: 58px; }
.brand-misuse--stretch img { width: 165px; height: 34px; }
.brand-misuse--rotate img { transform: rotate(-9deg); }
.brand-misuse--effect img { filter: drop-shadow(6px 6px 0 #ff4d6d); }
.brand-misuse + p { margin: 0; padding: 15px; color: var(--docs-muted); font-size: 11px; text-align: center; }

.brand-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    background: linear-gradient(110deg, rgba(var(--docs-blue-rgb), .12), rgba(255, 255, 255, .025));
}
.brand-download h3 { margin: 0 0 6px; color: #fff; font-size: 18px; }
.brand-download p { margin: 0; color: var(--docs-muted); font-size: 12px; }

/* API documentation */
.api-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: api-step; }
.api-step { position: relative; min-height: 150px; padding: 21px; counter-increment: api-step; }
.api-step::before { content: counter(api-step, decimal-leading-zero); display: block; color: var(--docs-blue); font: 700 11px/1 ui-monospace, monospace; }
.api-step h3 { margin: 34px 0 7px; color: #fff; font-size: 14px; }
.api-step p { margin: 0; color: var(--docs-muted); font-size: 11px; line-height: 1.65; }

.api-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 20px 0;
    padding: 15px 16px;
    border: 1px solid rgba(var(--docs-blue-rgb), .18);
    border-radius: 9px;
    color: #a9c0de;
    background: rgba(var(--docs-blue-rgb), .055);
    font-size: 12px;
    line-height: 1.65;
}

.api-note .material-symbols-outlined { flex: 0 0 auto; color: var(--docs-blue); font-size: 19px; }
.api-note strong { color: #ddecff; }

.api-code {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--docs-border);
    border-radius: 11px;
    background: #080b10;
}

.api-code__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 41px;
    padding: 0 12px 0 15px;
    border-bottom: 1px solid var(--docs-border);
    color: #60718a;
    background: #0e1219;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.api-code__dots { display: inline-flex; gap: 5px; }
.api-code__dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: #273140; }

.api-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 0;
    border-radius: 6px;
    color: #70839e;
    background: rgba(255, 255, 255, .04);
    font: 650 10px/1 Inter, sans-serif;
    cursor: pointer;
}

.api-copy:hover { color: #dbe8ff; background: rgba(255, 255, 255, .07); }
.api-copy .material-symbols-outlined { font-size: 14px; }

.api-code pre {
    max-width: 100%;
    margin: 0;
    padding: 19px;
    overflow: auto;
    color: #c9d9ec;
    font: 500 12px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: pre;
}

.api-code .tok-key { color: #8dccff; }
.api-code .tok-string { color: #a6e3a1; }
.api-code .tok-number { color: #f4c177; }
.api-code .tok-comment { color: #54657c; }

.api-auth-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 14px; }
.api-auth-card { padding: 23px; }
.api-auth-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; color: var(--docs-blue); background: rgba(var(--docs-blue-rgb), .08); }
.api-auth-card h3 { margin: 28px 0 8px; color: #fff; font-size: 15px; }
.api-auth-card p { margin: 0 0 18px; color: var(--docs-muted); font-size: 12px; line-height: 1.7; }
.api-auth-card code { display: block; padding: 11px 12px; border-radius: 7px; color: #a7dcff; background: #090d13; font: 550 11px/1.5 ui-monospace, monospace; overflow-wrap: anywhere; }

.api-endpoint-list { display: grid; gap: 10px; }

.api-endpoint {
    border: 1px solid var(--docs-border);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, .018);
}

.api-endpoint__head {
    display: grid;
    grid-template-columns: 58px minmax(220px, .8fr) minmax(250px, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 59px;
    padding: 10px 14px;
}

.api-method {
    display: inline-flex;
    justify-content: center;
    padding: 6px 7px;
    border-radius: 6px;
    font: 750 9px/1 ui-monospace, monospace;
    letter-spacing: .06em;
}

.api-method--get { color: #70dca8; background: rgba(52, 211, 153, .1); }
.api-method--post { color: #75bfff; background: rgba(87, 176, 255, .11); }
.api-method--put { color: #f4c66f; background: rgba(251, 191, 36, .1); }
.api-method--delete { color: #ff8c8c; background: rgba(248, 113, 113, .1); }
.api-endpoint__path { color: #e1edfb; font: 600 11px/1.4 ui-monospace, monospace; overflow-wrap: anywhere; }
.api-endpoint__desc { color: var(--docs-muted); font-size: 11px; line-height: 1.45; }
.api-lock { display: inline-flex; align-items: center; gap: 5px; color: #63748d; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.api-lock .material-symbols-outlined { font-size: 14px; }
.api-lock--public { color: #65c995; }

.api-param-table { width: 100%; margin: 0; border-collapse: collapse; }
.api-param-table th, .api-param-table td { padding: 13px 15px; border-bottom: 1px solid var(--docs-border); text-align: left; }
.api-param-table tr:last-child td { border-bottom: 0; }
.api-param-table th { color: #667993; background: rgba(255, 255, 255, .018); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.api-param-table td { color: var(--docs-muted); font-size: 11px; line-height: 1.5; }
.api-param-table code { color: #b8ddfb; font: 600 10px/1.4 ui-monospace, monospace; }
.api-param-table .is-required { color: #ff9292; }

.api-response-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; }
.api-status-list { overflow: hidden; }
.api-status-row { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; padding: 15px 17px; border-bottom: 1px solid var(--docs-border); }
.api-status-row:last-child { border-bottom: 0; }
.api-status-row code { color: #dcecff; font: 700 11px/1.5 ui-monospace, monospace; }
.api-status-row span { color: var(--docs-muted); font-size: 11px; line-height: 1.5; }

@media (max-width: 1199.98px) {
    .docs-shell { grid-template-columns: 185px minmax(0, 1fr); gap: 34px; }
    .brand-colors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brand-swatch:first-child { min-height: 210px; }
    .api-endpoint__head { grid-template-columns: 58px minmax(190px, .8fr) minmax(210px, 1fr); }
    .api-lock { display: none; }
}

@media (max-width: 991.98px) {
    .docs-hero { padding: 58px 0 52px; }
    .docs-hero__inner { grid-template-columns: 1fr; gap: 34px; }
    .docs-hero-card { min-height: 220px; }
    .docs-shell { display: block; padding-top: 34px; }
    .docs-toc { position: static; display: flex; align-items: center; gap: 10px; margin-bottom: 48px; padding: 0 0 16px; border-right: 0; border-bottom: 1px solid var(--docs-border); overflow-x: auto; scrollbar-width: none; }
    .docs-toc::-webkit-scrollbar { display: none; }
    .docs-toc__title { flex: 0 0 auto; margin: 0 6px 0 0; }
    .docs-toc__list { display: flex; flex: 0 0 auto; gap: 4px; }
    .docs-toc__list a { white-space: nowrap; }
    .docs-toc__crosslink { flex: 0 0 auto; margin: 0 0 0 auto; white-space: nowrap; }
    .docs-grid--3, .api-quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .docs-hero { padding: 48px 0 42px; }
    .docs-hero__title { font-size: 40px; }
    .docs-shell { padding-bottom: 70px; }
    .docs-section { padding-bottom: 50px; }
    .docs-section + .docs-section { padding-top: 50px; }
    .docs-grid--2, .docs-grid--3, .api-quick-grid, .api-auth-grid, .api-response-grid, .brand-do-dont { grid-template-columns: 1fr; }
    .brand-logo-stage { grid-template-columns: 1fr; }
    .brand-logo-stage__main { min-height: 230px; }
    .brand-logo-stage__mark { min-height: 180px; }
    .brand-spec-row { grid-template-columns: 1fr; }
    .brand-spec + .brand-spec { border-left: 0; border-top: 1px solid var(--docs-border); }
    .brand-colors { grid-template-columns: 1fr 1fr; }
    .brand-type-demo { grid-template-columns: 1fr; }
    .brand-type-demo__meta { border-right: 0; border-bottom: 1px solid var(--docs-border); }
    .brand-download { align-items: flex-start; flex-direction: column; }
    .api-endpoint__head { grid-template-columns: 52px minmax(0, 1fr); gap: 8px 10px; padding: 13px; }
    .api-endpoint__desc { grid-column: 2; }
    .api-param-table { min-width: 620px; }
    .docs-card:has(.api-param-table) { overflow-x: auto; }
}

@media (max-width: 479.98px) {
    .docs-hero__title { font-size: 35px; }
    .docs-hero__desc { font-size: 14px; }
    .docs-btn { flex: 1 1 auto; }
    .docs-hero-card { padding: 22px; }
    .docs-toc__crosslink { display: none; }
    .docs-section__heading { align-items: flex-start; flex-direction: column; }
    .brand-colors { grid-template-columns: 1fr; }
    .brand-swatch { min-height: 170px; }
    .brand-swatch:first-child { min-height: 190px; }
    .brand-clearspace { padding: 25px; }
    .brand-clearspace__logo { width: 95%; padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .docs-page *, .docs-page *::before, .docs-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
