/* =========================================================
   UNTITLED BOXING GAME — FAN WIKI
   MASTER WIKI STYLESHEET
========================================================= */

:root {
    --bg: #07080a;
    --bg-2: #0a0b0e;

    --sidebar: #0c0d10;
    --sidebar-2: #101216;

    --panel: #111318;
    --panel-light: #17191f;
    --panel-hover: #1c1f26;

    --border: #252830;
    --border-light: #30343d;
    --border-red: #64232b;

    --red: #e21d2f;
    --red-bright: #ff3347;
    --red-light: #ff5b6b;
    --red-dark: #8d101d;

    --white: #ffffff;
    --text: #f3f3f3;
    --text-soft: #d4d5d9;
    --muted: #92959d;
    --muted-2: #676b74;

    --gold: #e4b85c;
    --green: #65c98a;

    --radius: 7px;
    --transition: .2s ease;

    --shadow: 0 15px 40px rgba(0,0,0,.35);
    --red-glow: 0 0 30px rgba(226,29,47,.12);
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(226,29,47,.055),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    font-size: 14px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--red);
    color: white;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 80;

    height: 64px;

    display: flex;
    align-items: center;

    padding: 0 22px;

    background:
        linear-gradient(
            180deg,
            rgba(15,16,20,.98),
            rgba(9,10,13,.98)
        );

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 8px 30px rgba(0,0,0,.25);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu {
    display: none;

    width: 38px;
    height: 38px;

    margin-right: 10px;

    border: 1px solid var(--border);
    border-radius: 6px;

    background: var(--panel);

    color: var(--text);

    cursor: pointer;

    font-size: 18px;
}


/* =========================================================
   BRAND
========================================================= */

.wiki-brand {
    display: flex;
    align-items: center;
    gap: 11px;

    min-width: 220px;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            145deg,
            var(--red-bright),
            var(--red-dark)
        );

    border: 1px solid rgba(255,255,255,.12);

    color: white;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;

    box-shadow:
        0 0 20px rgba(226,29,47,.2);
}

.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1.1;
}

.brand-text strong {
    font-size: 12px;
    letter-spacing: .1em;
}

.brand-text small {
    margin-top: 4px;

    color: var(--muted);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: .18em;
}


/* =========================================================
   GLOBAL SEARCH
========================================================= */

.global-search {
    position: relative;

    flex: 1;
    max-width: 620px;

    margin-left: 28px;
}

.global-search input {
    width: 100%;
    height: 38px;

    padding: 0 72px 0 37px;

    border: 1px solid var(--border);
    border-radius: 5px;

    outline: none;

    background: #0b0c0f;

    color: var(--text);

    font-size: 12px;

    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.global-search input::placeholder {
    color: var(--muted-2);
}

.global-search input:focus {
    border-color: var(--border-red);

    background: #0e1014;

    box-shadow:
        0 0 0 2px rgba(226,29,47,.06),
        0 0 25px rgba(226,29,47,.08);
}

.search-icon {
    position: absolute;

    left: 13px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--muted);

    font-size: 18px;

    z-index: 2;
}

.global-search kbd {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    padding: 3px 6px;

    border: 1px solid var(--border);
    border-radius: 3px;

    background: #15171b;

    color: var(--muted);

    font-size: 8px;
    letter-spacing: .08em;
}


/* =========================================================
   SEARCH RESULTS
========================================================= */

.search-results {
    position: absolute;

    left: 0;
    right: 0;
    top: calc(100% + 8px);

    display: none;

    overflow: hidden;

    background: #101216;

    border: 1px solid var(--border);
    border-top: 2px solid var(--red);

    border-radius: 6px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.55);

    z-index: 200;
}

.search-results.show {
    display: block;
}

.search-result {
    display: flex;
    align-items: center;

    gap: 12px;

    min-height: 58px;

    padding: 8px 12px;

    border-bottom: 1px solid var(--border);

    transition:
        background var(--transition);
}

.search-result:last-child {
    border-bottom: 0;
}

.search-result:hover {
    background: rgba(226,29,47,.08);
}

.search-result-image {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #08090b;

    border: 1px solid var(--border);

    flex-shrink: 0;
}

.search-result-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.search-result-info {
    display: flex;
    flex-direction: column;
}

.search-result-info strong {
    color: var(--text);
    font-size: 12px;
}

.search-result-info span {
    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .08em;
}


/* =========================================================
   PLAY BUTTON
========================================================= */

.play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 36px;

    padding: 0 15px;

    margin-left: auto;

    border: 1px solid var(--red);

    background:
        linear-gradient(
            135deg,
            var(--red),
            var(--red-dark)
        );

    color: white;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .1em;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        filter var(--transition);
}

.play-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 7px 25px rgba(226,29,47,.28);

    filter: brightness(1.08);
}

.play-button span {
    font-size: 13px;
}


/* =========================================================
   MAIN WIKI LAYOUT
========================================================= */

.wiki-layout {
    min-height: calc(100vh - 64px);

    display: flex;
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    position: sticky;

    top: 64px;

    width: 245px;
    min-width: 245px;

    height: calc(100vh - 64px);

    display: flex;
    flex-direction: column;

    overflow-y: auto;

    background:
        linear-gradient(
            180deg,
            #0d0e11,
            #090a0c
        );

    border-right: 1px solid var(--border);
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #292b31;
}

.sidebar-section {
    padding: 24px 13px 0;
}

.sidebar-heading {
    padding: 0 10px 9px;

    color: var(--muted-2);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .16em;
}

.sidebar-link,
.sidebar-sub {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 38px;

    border-radius: 5px;

    color: #aeb0b7;

    font-size: 12px;

    transition:
        background var(--transition),
        color var(--transition);
}

.sidebar-link {
    gap: 11px;
    padding: 0 10px;
}

.sidebar-link span {
    width: 18px;

    text-align: center;

    color: var(--muted-2);

    font-size: 13px;
}

.sidebar-link:hover,
.sidebar-sub:hover {
    background: rgba(255,255,255,.035);
    color: white;
}

.sidebar-link.active {
    background:
        linear-gradient(
            90deg,
            rgba(226,29,47,.16),
            rgba(226,29,47,.035)
        );

    color: white;
}

.sidebar-link.active::before {
    content: "";

    position: absolute;

    left: 0;
    top: 7px;
    bottom: 7px;

    width: 2px;

    background: var(--red-bright);

    box-shadow:
        0 0 10px rgba(255,51,71,.6);
}

.sidebar-link.active span {
    color: var(--red-bright);
}

.sidebar-sub {
    padding: 0 10px 0 39px;

    font-size: 11px;
}

.sidebar-bottom {
    margin-top: auto;

    padding: 18px 18px 22px;

    border-top: 1px solid var(--border);
}

.sidebar-note {
    display: flex;
    align-items: center;

    gap: 8px;

    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.red-dot,
.status-dot {
    width: 6px;
    height: 6px;

    display: inline-block;

    border-radius: 50%;

    background: var(--red-bright);

    box-shadow:
        0 0 9px rgba(255,51,71,.65);
}

.sidebar-version {
    margin-top: 7px;

    color: var(--muted-2);

    font-size: 9px;
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.wiki-main {
    flex: 1;

    min-width: 0;

    max-width: 1500px;

    margin: 0 auto;

    padding: 30px 48px 60px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.breadcrumb {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 22px;

    color: var(--muted-2);

    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.breadcrumb span:last-child {
    color: var(--muted);
}


/* =========================================================
   ARTICLE HEADER
========================================================= */

.article-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 30px;

    padding-bottom: 27px;

    border-bottom: 1px solid var(--border);
}

.eyebrow,
.article-label,
.article-kicker {
    margin-bottom: 7px;

    color: var(--red-bright);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .18em;
}

.article-header h1 {
    margin: 0;

    color: white;

    font-size: clamp(28px, 4vw, 44px);

    line-height: 1.05;

    letter-spacing: -.035em;
}

.article-header p {
    max-width: 680px;

    margin: 13px 0 0;

    color: var(--muted);

    font-size: 13px;
}

.article-status {
    display: flex;
    align-items: center;

    gap: 8px;

    flex-shrink: 0;

    padding: 7px 10px;

    border: 1px solid var(--border);

    background: rgba(255,255,255,.015);

    color: var(--muted);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .13em;
}


/* =========================================================
   PANELS
========================================================= */

.wiki-panel {
    position: relative;

    padding: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.025),
            rgba(255,255,255,.008)
        );

    border: 1px solid var(--border);

    border-radius: var(--radius);
}

.wiki-panel::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 70px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--red),
            transparent
        );
}

.intro-panel {
    margin-top: 25px;

    padding: 30px;

    box-shadow: var(--red-glow);
}

.panel-label {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-bottom: 10px;

    color: var(--red-bright);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .15em;
}

.panel-label > span {
    width: 14px;
    height: 2px;

    background: var(--red);
}

.wiki-panel h2,
.wiki-panel h3 {
    margin: 0;
}

.intro-panel h2 {
    font-size: 24px;

    letter-spacing: -.025em;
}

.wiki-panel p {
    margin: 10px 0 0;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}

.wiki-panel strong {
    color: var(--text-soft);
}


/* =========================================================
   CONTENT SECTIONS
========================================================= */

.content-section {
    margin-top: 46px;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    margin-bottom: 17px;
}

.section-kicker {
    display: block;

    margin-bottom: 4px;

    color: var(--red-bright);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .16em;
}

.section-heading h2 {
    margin: 0;

    color: white;

    font-size: 20px;

    letter-spacing: -.025em;
}

.section-link {
    color: var(--red-light);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: .08em;
}

.section-link:hover {
    color: white;
}


/* =========================================================
   CATEGORY GRID
========================================================= */

.category-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 12px;
}

.category-card {
    position: relative;

    min-height: 145px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 20px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #121419,
            #0d0f12
        );

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.category-card:hover {
    transform: translateY(-2px);

    border-color: var(--border-red);

    background: var(--panel-light);

    box-shadow:
        0 15px 35px rgba(0,0,0,.3);
}

.category-card::after {
    content: "";

    position: absolute;

    right: -50px;
    bottom: -60px;

    width: 150px;
    height: 150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(226,29,47,.1),
            transparent 65%
        );

    pointer-events: none;
}

.category-red {
    border-color: var(--border-red);
}

.category-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: #08090b;

    border: 1px solid var(--border);
}

.category-icon img {
    width: 52px;
    height: 52px;

    object-fit: contain;
}

.category-content {
    min-width: 0;
}

.category-tag {
    color: var(--red-light);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .14em;
}

.category-content h3 {
    margin: 3px 0 4px;

    color: white;

    font-size: 18px;
}

.category-content p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.55;
}

.category-arrow {
    position: absolute;

    right: 17px;
    top: 50%;

    transform: translateY(-50%);

    color: var(--muted-2);

    font-size: 20px;

    transition:
        color var(--transition),
        transform var(--transition);
}

.category-card:hover .category-arrow {
    color: var(--red-bright);

    transform: translate(3px,-50%);
}


/* =========================================================
   FEATURED STYLES
========================================================= */

.featured-grid {
    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 12px;
}

.featured-style {
    overflow: hidden;

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.featured-style:hover {
    transform: translateY(-3px);

    border-color: var(--border-red);

    box-shadow:
        0 15px 35px rgba(0,0,0,.35);
}

.featured-image {
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(226,29,47,.08),
            #08090b 70%
        );

    border-bottom: 1px solid var(--border);
}

.featured-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.featured-info {
    padding: 13px;
}

.rarity {
    display: inline-block;

    padding: 3px 6px;

    border: 1px solid var(--border);

    color: var(--muted);

    font-size: 7px;
    font-weight: 900;

    letter-spacing: .12em;
}

.rarity.legendary {
    border-color: rgba(228,184,92,.35);

    color: var(--gold);

    background: rgba(228,184,92,.05);
}

.featured-info h3 {
    margin: 7px 0 0;

    color: white;

    font-size: 17px;
}

.ranked-name {
    color: var(--muted-2);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .13em;
}


/* =========================================================
   QUICK FACTS
========================================================= */

.quick-facts {
    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    border: 1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;
}

.fact {
    display: flex;
    align-items: center;

    gap: 11px;

    min-height: 75px;

    padding: 12px;

    background: var(--panel);

    border-right: 1px solid var(--border);
}

.fact:last-child {
    border-right: 0;
}

.fact-key {
    min-width: 38px;

    padding: 6px 5px;

    text-align: center;

    background: #090a0d;

    border: 1px solid var(--border);

    color: var(--red-light);

    font-size: 9px;
    font-weight: 900;
}

.fact strong {
    display: block;

    color: var(--text);

    font-size: 10px;
}

.fact small {
    display: block;

    margin-top: 2px;

    color: var(--muted-2);

    font-size: 8px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 12px;
}

.red-panel {
    border-color: var(--border-red);

    background:
        linear-gradient(
            135deg,
            rgba(226,29,47,.12),
            rgba(226,29,47,.025)
        );
}

.red-panel h3 {
    font-size: 18px;
}

.red-button {
    display: inline-flex;

    margin-top: 15px;

    padding: 9px 13px;

    background: var(--red);

    color: white;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .06em;

    transition:
        background var(--transition),
        transform var(--transition);
}

.red-button:hover {
    background: var(--red-bright);

    transform: translateY(-1px);
}


/* =========================================================
   FOOTER
========================================================= */

.wiki-footer {
    display: flex;
    justify-content: space-between;

    gap: 25px;

    margin-top: 60px;
    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: var(--muted-2);

    font-size: 9px;
}

.wiki-footer strong {
    display: block;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: .12em;
}

.wiki-footer span {
    display: block;

    margin-top: 3px;
}


/* =========================================================
   =========================================================
   STYLE LIST PAGE
   =========================================================
========================================================= */

body[data-page="styles"] .wiki-main {
    max-width: 1500px;
}


/* =========================================================
   DATABASE PANEL
========================================================= */

body[data-page="styles"] .wiki-main > .wiki-panel {
    margin-top: 26px;

    padding: 20px;

    background: #0d0e11;

    border-color: #292b31;
}

body[data-page="styles"] .panel-label {
    margin-bottom: 14px;
}


/* =========================================================
   FILTER CONTROLS
========================================================= */

body[data-page="styles"] #styleControls {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 15px !important;
}

body[data-page="styles"] .wiki-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 30px;

    padding: 0 11px;

    border: 1px solid #30333a;

    border-radius: 4px;

    background: #111318;

    color: #858992;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .1em;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

body[data-page="styles"] .wiki-filter:hover {
    background: rgba(226,29,47,.08);

    border-color: #64232b;

    color: #ffffff;

    transform: translateY(-1px);
}

body[data-page="styles"] .wiki-filter.active {
    background:
        linear-gradient(
            135deg,
            rgba(226,29,47,.25),
            rgba(226,29,47,.08)
        );

    border-color: #e21d2f;

    color: #ffffff;

    box-shadow:
        inset 0 0 18px rgba(226,29,47,.05);
}


/* =========================================================
   STYLE SEARCH
========================================================= */

body[data-page="styles"] #styleSearch {
    width: 100% !important;

    height: 40px;

    margin-bottom: 14px !important;

    padding: 0 13px !important;

    background: #090a0c !important;

    border: 1px solid #292c32 !important;

    border-radius: 4px !important;

    outline: none;

    color: #f4f4f5;

    font-size: 11px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

body[data-page="styles"] #styleSearch::placeholder {
    color: #656972;
}

body[data-page="styles"] #styleSearch:focus {
    border-color: #64232b !important;

    box-shadow:
        0 0 0 2px rgba(226,29,47,.05),
        0 0 25px rgba(226,29,47,.06);
}


/* =========================================================
   STYLE COUNT
========================================================= */

body[data-page="styles"] #styleCount {
    margin-bottom: 12px !important;

    color: #676b74 !important;

    font-size: 9px !important;

    text-transform: uppercase;

    letter-spacing: .08em;
}


/* =========================================================
   STYLE GRID
========================================================= */

body[data-page="styles"] .style-wiki-grid,
body[data-page="styles"] .style-grid {
    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 15px;
}


/* =========================================================
   STYLE CARD
========================================================= */

body[data-page="styles"] .style-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-width: 0;
    min-height: 0;

    overflow: hidden;

    background: #101114;

    border: 1px solid #292b31;

    border-radius: 7px;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

body[data-page="styles"] .style-card:hover {
    transform: translateY(-2px);

    border-color: #8d2732;

    background: #121419;

    box-shadow:
        0 12px 30px rgba(0,0,0,.45),
        0 0 22px rgba(226,29,47,.06);
}


/* =========================================================
   STYLE CARD IMAGE
========================================================= */

body[data-page="styles"] .style-card-image {
    position: relative;

    width: 100%;

    height: 210px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #090a0d;

    border-bottom: 1px solid #292b31;
}

body[data-page="styles"] .style-card-image img {
    width: auto;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;

    flex-shrink: 0;
}


/* =========================================================
   STYLE CARD CONTENT
========================================================= */

body[data-page="styles"] .style-card-content {
    position: relative;

    min-height: 215px;

    padding: 19px 20px 21px;

    background:
        linear-gradient(
            180deg,
            #111216,
            #0f1013
        );
}

body[data-page="styles"] .style-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 29px;
    gap: 8px;
}

body[data-page="styles"] .style-card .rarity-badge {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 0 9px;
    border: 1px solid rgba(226,29,47,.42);
    border-radius: 5px;
    background: rgba(226,29,47,.08);
    color: #ff4658;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: capitalize;
}

body[data-page="styles"] .style-card .rarity-badge.rarity-legendary {
    border-color: rgba(226,29,47,.42) !important;
    background: rgba(226,29,47,.08) !important;
    color: #ff4658 !important;
}


/* =========================================================
   CARD RARITY
========================================================= */

body[data-page="styles"] .style-card-content .rarity,
body[data-page="styles"] .style-card .rarity {
    display: inline-flex;
    align-items: center;

    min-height: 28px;

    padding: 0 9px;

    border-radius: 5px;

    background: rgba(226,29,47,.06);

    border: 1px solid rgba(226,29,47,.38);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .08em;

    text-transform: capitalize;
}


/* =========================================================
   STYLE NAME
========================================================= */

body[data-page="styles"] .style-card h3 {
    margin: 13px 0 2px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 900;

    line-height: 1.1;

    letter-spacing: -.025em;
}


/* =========================================================
   STYLE ID
========================================================= */

body[data-page="styles"] .style-card small {
    display: block;

    margin-top: 0;

    color: #676b74;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .12em;
}


/* =========================================================
   STYLE DESCRIPTION
========================================================= */

body[data-page="styles"] .style-card p {
    margin: 15px 0 0;

    color: #92959d;

    font-size: 12px;

    line-height: 1.55;
}


/* =========================================================
   WIP BADGE
========================================================= */

body[data-page="styles"] .style-card .wip-badge {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 25px;

    padding: 0 8px;

    border: 1px solid rgba(228,184,92,.35);

    border-radius: 4px;

    background: rgba(228,184,92,.07);

    color: #e4b85c;

    font-size: 7px;
    font-weight: 900;

    letter-spacing: .1em;
}


/* =========================================================
   RARITY COLOURS
========================================================= */

body[data-page="styles"] .rarity-uncommon {
    color: #73d08d !important;
}

body[data-page="styles"] .rarity-rare {
    color: #5ba9ff !important;
}

body[data-page="styles"] .rarity-mythic {
    color: #bd73ff !important;
}

body[data-page="styles"] .rarity-legendary {
    color: #e4b85c !important;

    border-color: rgba(228,184,92,.35) !important;

    background: rgba(228,184,92,.055) !important;
}

body[data-page="styles"] .rarity-shiny {
    color: #ff6fd8 !important;

    border-color: rgba(255,111,216,.3) !important;

    background: rgba(255,111,216,.04) !important;
}


/* =========================================================
   CARD IMAGE HOVER
========================================================= */

body[data-page="styles"] .style-card:hover .style-card-image {
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(226,29,47,.075),
            #08090b 72%
        );
}


/* =========================================================
   INDIVIDUAL STYLE PAGE
========================================================= */

.wiki-shell {
    min-height: 100vh;

    display: flex;

    background: var(--bg);
}

.wiki-shell > .sidebar {
    position: sticky;

    top: 0;

    height: 100vh;
}


/* =========================================================
   STYLE PAGE SIDEBAR
========================================================= */

.sidebar-brand {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 18px 16px;

    border-bottom: 1px solid var(--border);
}

.sidebar-brand .brand-mark {
    width: 38px;
    height: 38px;
}

.sidebar-brand .brand-text {
    line-height: 1.1;
}

.sidebar-brand .brand-text strong {
    font-size: 11px;
}

.sidebar-brand .brand-text span {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 8px;

    letter-spacing: .12em;
}

.sidebar-navigation {
    padding: 20px 12px;
}

.sidebar-footer {
    margin-top: auto;

    padding: 16px;

    border-top: 1px solid var(--border);
}

.sidebar-footer .play-button {
    width: 100%;

    margin-top: 12px;
}

.wiki-status {
    display: flex;
    align-items: center;

    gap: 7px;

    color: var(--muted);

    font-size: 9px;
}

.wiki-status span {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--red-bright);

    box-shadow:
        0 0 10px rgba(255,51,71,.6);
}


/* =========================================================
   STYLE PAGE MAIN
========================================================= */

.main-content {
    flex: 1;

    min-width: 0;

    background:
        radial-gradient(
            circle at 80% 0%,
            rgba(226,29,47,.04),
            transparent 30%
        );
}

.main-content > .topbar {
    position: sticky;

    top: 0;
}

.topbar-title {
    min-width: 140px;

    color: white;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .14em;
}

.topbar-actions {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-left: auto;
}

.topbar-actions > a {
    color: var(--muted);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .1em;
}

.topbar-actions > a:hover {
    color: white;
}

.top-play {
    padding: 7px 12px;

    border: 1px solid var(--red);

    background: var(--red);

    color: white !important;
}


/* =========================================================
   ARTICLE CONTAINER
========================================================= */

.article-container {
    width: min(1400px,100%);

    margin: 0 auto;

    padding: 38px 45px 70px;

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        280px;

    gap: 38px;
}

.style-article {
    min-width: 0;
}


/* =========================================================
   LOADING
========================================================= */

.loading-state {
    padding: 50px;

    text-align: center;

    color: var(--muted);

    border: 1px solid var(--border);

    background: var(--panel);
}


/* =========================================================
   STYLE ARTICLE
========================================================= */

.style-article h1 {
    margin: 0;

    color: white;

    font-size: clamp(34px,5vw,56px);

    line-height: .95;

    letter-spacing: -.045em;
}

.style-article h2 {
    margin: 0 0 14px;

    color: white;

    font-size: 21px;

    letter-spacing: -.02em;
}

.style-article h3 {
    color: white;
}

.style-article p {
    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;
}

.article-section,
.wiki-article-section {
    margin-top: 38px;

    padding-top: 25px;

    border-top: 1px solid var(--border);
}

.article-section:first-child {
    border-top: 0;
}


/* =========================================================
   ARTICLE HERO GIF
========================================================= */

.article-hero-gif {
    width: 100%;

    min-height: 250px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 25px 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle,
            rgba(226,29,47,.1),
            #08090b 72%
        );

    border: 1px solid var(--border);

    box-shadow:
        inset 0 0 60px rgba(0,0,0,.4);
}

.article-hero-gif img {
    max-height: 330px;

    width: 100%;

    object-fit: contain;
}


/* =========================================================
   INFOBOX
========================================================= */

.infobox-container,
.style-infobox {
    background: var(--panel);

    border: 1px solid var(--border);

    border-top: 2px solid var(--red);

    border-radius: 5px;

    overflow: hidden;
}

.infobox-container img,
.style-infobox img {
    width: 100%;
}

.infobox-row {
    display: grid;

    grid-template-columns: 105px 1fr;

    border-top: 1px solid var(--border);
}

.infobox-row:first-child {
    border-top: 0;
}

.infobox-row strong,
.infobox-row span {
    padding: 9px 10px;

    font-size: 9px;
}

.infobox-row strong {
    color: var(--muted-2);

    background: rgba(255,255,255,.015);

    text-transform: uppercase;

    letter-spacing: .08em;
}

.infobox-row span {
    color: var(--text-soft);
}


/* =========================================================
   ARTICLE SIDEBAR
========================================================= */

.article-sidebar {
    align-self: start;

    position: sticky;

    top: 90px;
}

.side-panel {
    margin-top: 15px;

    padding: 15px;

    background: var(--panel);

    border: 1px solid var(--border);

    border-radius: 5px;
}

.side-panel-title {
    margin-bottom: 9px;

    color: var(--red-light);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .15em;
}

.side-panel a {
    display: flex;
    align-items: center;

    gap: 9px;

    min-height: 31px;

    color: var(--muted);

    font-size: 10px;

    border-bottom: 1px solid rgba(255,255,255,.025);
}

.side-panel a:last-child {
    border-bottom: 0;
}

.side-panel a:hover {
    color: white;
}

.side-panel a span {
    min-width: 20px;

    color: var(--muted-2);

    font-size: 8px;
}


/* =========================================================
   ARTICLE TABLES
========================================================= */

.wiki-data-table,
.wiki-infobox-table {
    width: 100%;

    border-collapse: collapse;

    background: var(--panel);

    border: 1px solid var(--border);
}

.wiki-data-table th,
.wiki-data-table td,
.wiki-infobox-table th,
.wiki-infobox-table td {
    padding: 10px 12px;

    border: 1px solid var(--border);

    text-align: left;

    font-size: 10px;
}

.wiki-data-table th,
.wiki-infobox-table th {
    width: 30%;

    background: rgba(255,255,255,.025);

    color: var(--muted);

    font-size: 8px;

    text-transform: uppercase;

    letter-spacing: .1em;
}

.wiki-data-table td,
.wiki-infobox-table td {
    color: var(--text-soft);
}


/* =========================================================
   MOVES
========================================================= */

.moves-grid,
.wiki-moveset-grid {
    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 10px;
}

.move-card,
.wiki-move-box {
    padding: 15px;

    background: var(--panel);

    border: 1px solid var(--border);

    border-left: 2px solid var(--red-dark);

    transition:
        border-color var(--transition),
        background var(--transition);
}

.move-card:hover,
.wiki-move-box:hover {
    border-left-color: var(--red-bright);

    background: var(--panel-light);
}

.move-card h3,
.wiki-move-box h3 {
    margin: 0 0 5px;

    color: white;

    font-size: 13px;
}

.move-card p,
.wiki-move-box p {
    margin: 0;

    font-size: 10px;
}

.move-label,
.wiki-move-label {
    margin-bottom: 5px;

    color: var(--red-light);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .1em;
}


/* =========================================================
   ABILITY / ULTIMATE
========================================================= */

.ability-section,
.wiki-ability,
.wiki-ultimate {
    padding: 20px;

    background:
        linear-gradient(
            135deg,
            rgba(226,29,47,.08),
            rgba(255,255,255,.015)
        );

    border: 1px solid var(--border-red);

    border-radius: 5px;
}

.ultimate-image {
    margin-top: 15px;

    overflow: hidden;

    border: 1px solid var(--border);
}

.ultimate-image img {
    width: 100%;

    max-height: 300px;

    object-fit: contain;

    background: #08090b;
}


/* =========================================================
   LISTS / STRATEGY
========================================================= */

.wiki-list,
.wiki-list-panel ul {
    margin: 0;

    padding-left: 20px;

    color: var(--muted);

    font-size: 11px;
}

.wiki-list li,
.wiki-list-panel li {
    margin-bottom: 7px;
}

.wiki-strategy {
    padding: 18px;

    background: var(--panel);

    border: 1px solid var(--border);

    border-left: 2px solid var(--red);
}


/* =========================================================
   GALLERY
========================================================= */

.wiki-gallery {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 8px;
}

.wiki-gallery img {
    width: 100%;
    height: 130px;

    object-fit: contain;

    background: #08090b;

    border: 1px solid var(--border);
}


/* =========================================================
   WIP
========================================================= */

.wip-note,
.wiki-wip {
    margin: 18px 0;

    padding: 12px 14px;

    background: rgba(226,29,47,.07);

    border: 1px solid var(--border-red);

    color: var(--muted);

    font-size: 10px;
}

.wip-note strong,
.wiki-wip strong {
    color: var(--red-light);
}


/* =========================================================
   EMPTY / NOT FOUND
========================================================= */

.not-found,
.wiki-empty {
    padding: 50px 25px;

    text-align: center;

    background: var(--panel);

    border: 1px solid var(--border);
}

.not-found h2,
.wiki-empty h2 {
    margin-top: 0;

    color: white;
}


/* =========================================================
   WIKI ARTICLE COMPATIBILITY
========================================================= */

.wiki-article {
    max-width: 100%;
}

.wiki-article-breadcrumb,
.wiki-breadcrumb {
    margin-bottom: 20px;

    color: var(--muted-2);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: .08em;
}

.wiki-article-title {
    margin: 0;

    color: white;

    font-size: 40px;

    line-height: 1;
}

.wiki-article-intro,
.wiki-lead {
    color: var(--muted);

    font-size: 13px;
}

.wiki-notice {
    margin: 20px 0;

    padding: 13px 15px;

    background: rgba(226,29,47,.06);

    border: 1px solid var(--border-red);

    color: var(--muted);

    font-size: 10px;
}

.wiki-section-title {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 15px;
}

.wiki-section-title::before {
    content: "";

    width: 3px;
    height: 18px;

    background: var(--red);
}

.wiki-rarity {
    display: inline-block;

    margin: 10px 0;

    padding: 4px 7px;

    border: 1px solid var(--border);

    color: var(--gold);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .1em;
}

.wiki-muted {
    color: var(--muted-2);
}

.wiki-categories {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}

.wiki-categories span,
.wiki-categories a {
    padding: 5px 8px;

    border: 1px solid var(--border);

    background: var(--panel);

    color: var(--muted);

    font-size: 8px;
}


/* =========================================================
   RESPONSIVE — 1100px
========================================================= */

@media (max-width: 1100px) {

    .wiki-main {
        padding-left: 30px;
        padding-right: 30px;
    }

    .featured-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    body[data-page="styles"] .style-wiki-grid,
    body[data-page="styles"] .style-grid {
        grid-template-columns:
            repeat(3,minmax(0,1fr));
    }

    .article-container {
        grid-template-columns:
            minmax(0,1fr)
            240px;

        gap: 24px;

        padding-left: 30px;
        padding-right: 30px;
    }

    body[data-page="styles"] .style-card-image {
        height: 195px;
    }
}


/* =========================================================
   RESPONSIVE — 850px
========================================================= */

@media (max-width: 850px) {

    .wiki-brand {
        min-width: 170px;
    }

    .wiki-brand .brand-text {
        display: none;
    }

    .global-search {
        margin-left: 15px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .quick-facts {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .fact:nth-child(2) {
        border-right: 0;
    }

    .fact:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .article-container {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;

        display: grid;

        grid-template-columns:
            repeat(2,minmax(0,1fr));

        gap: 12px;
    }

    .article-sidebar .side-panel {
        margin-top: 0;
    }

    body[data-page="styles"] .style-wiki-grid,
    body[data-page="styles"] .style-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}


/* =========================================================
   RESPONSIVE — 650px
========================================================= */

@media (max-width: 650px) {

    body {
        font-size: 13px;
    }

    .wiki-layout {
        display: block;
    }

    .wiki-layout > .sidebar {
        position: fixed;

        left: 0;
        top: 0;

        width: 250px;
        min-width: 250px;

        height: 100vh;

        z-index: 150;

        transform: translateX(-100%);

        transition:
            transform .25s ease;

        box-shadow:
            20px 0 50px rgba(0,0,0,.55);
    }

    .wiki-layout > .sidebar.open {
        transform: translateX(0);
    }

    .mobile-menu {
        display: block;
    }

    .topbar {
        height: 60px;

        padding: 0 12px;
    }

    .wiki-brand {
        min-width: 0;
    }

    .wiki-brand .brand-mark {
        width: 37px;
        height: 37px;
    }

    .global-search {
        margin-left: 10px;
    }

    .global-search kbd {
        display: none;
    }

    .play-button {
        display: none;
    }

    .wiki-main {
        padding: 25px 15px 45px;
    }

    .article-header {
        display: block;
    }

    .article-status {
        display: inline-flex;

        margin-top: 16px;
    }

    .article-header h1 {
        font-size: 32px;
    }

    .intro-panel {
        padding: 21px;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 180px;
    }

    .quick-facts {
        grid-template-columns: 1fr;
    }

    .fact {
        border-right: 0;

        border-bottom: 1px solid var(--border);
    }

    .fact:last-child {
        border-bottom: 0;
    }

    .wiki-footer {
        flex-direction: column;
    }


    /* individual style page */

    .wiki-shell {
        display: block;
    }

    .wiki-shell > .sidebar {
        position: fixed;

        left: 0;
        top: 0;

        width: 250px;
        min-width: 250px;

        height: 100vh;

        z-index: 150;

        transform: translateX(-100%);

        transition:
            transform .25s ease;
    }

    .wiki-shell > .sidebar.open {
        transform: translateX(0);
    }

    .main-content > .topbar {
        position: sticky;
    }

    .topbar-title {
        display: none;
    }

    .topbar-actions > a:first-child {
        display: none;
    }

    .article-container {
        padding: 25px 15px 50px;

        display: block;
    }

    .article-sidebar {
        display: block;

        margin-top: 30px;
    }

    .article-sidebar .side-panel {
        margin-top: 12px;
    }

    .style-article h1 {
        font-size: 38px;
    }

    .article-hero-gif {
        min-height: 200px;
    }

    .moves-grid,
    .wiki-moveset-grid {
        grid-template-columns: 1fr;
    }

    .wiki-gallery {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    body[data-page="styles"] .style-wiki-grid,
    body[data-page="styles"] .style-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="styles"] .style-card-image {
        height: 220px;
    }

    body[data-page="styles"] .style-card-content {
        min-height: 0;
    }

    .wiki-data-table {
        display: block;

        overflow-x: auto;
    }

    .article-sidebar {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: .01ms !important;

        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;
    }
}
/* =========================================================
GUIDES PAGE
========================================================= */

body[data-page="guides"] .guide-grid {
display: grid;

```
grid-template-columns:
    repeat(2, minmax(0, 1fr));

gap: 12px;
```

}

/* =========================================================
GUIDE CARD
========================================================= */

body[data-page="guides"] .guide-card {
position: relative;

```
min-height: 155px;

display: flex;
align-items: center;

gap: 18px;

padding: 20px;

overflow: hidden;

background:
    linear-gradient(
        135deg,
        #121419,
        #0d0f12
    );

border: 1px solid var(--border);

border-radius: var(--radius);

transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
```

}

body[data-page="guides"] .guide-card:hover {
transform: translateY(-3px);

```
border-color: var(--border-red);

background: var(--panel-light);

box-shadow:
    0 15px 35px rgba(0,0,0,.35),
    0 0 25px rgba(226,29,47,.06);
```

}

body[data-page="guides"] .guide-card::after {
content: "";

```
position: absolute;

right: -55px;
bottom: -65px;

width: 170px;
height: 170px;

border-radius: 50%;

background:
    radial-gradient(
        circle,
        rgba(226,29,47,.11),
        transparent 65%
    );

pointer-events: none;
```

}

/* =========================================================
GUIDE ICON
========================================================= */

body[data-page="guides"] .guide-card-icon {
width: 70px;
height: 70px;

```
display: flex;
align-items: center;
justify-content: center;

flex-shrink: 0;

background: #08090b;

border: 1px solid var(--border);

color: white;

font-size: 28px;

transition:
    border-color var(--transition),
    background var(--transition),
    transform var(--transition);
```

}

body[data-page="guides"] .guide-card:hover .guide-card-icon {
border-color: var(--border-red);

```
background:
    radial-gradient(
        circle,
        rgba(226,29,47,.12),
        #08090b 70%
    );

transform: scale(1.04);
```

}

/* =========================================================
GUIDE CONTENT
========================================================= */

body[data-page="guides"] .guide-card-content {
min-width: 0;

```
padding-right: 20px;
```

}

body[data-page="guides"] .guide-tag {
color: var(--red-light);

```
font-size: 8px;
font-weight: 900;

letter-spacing: .15em;
```

}

body[data-page="guides"] .guide-card h3 {
margin: 4px 0 5px;

```
color: white;

font-size: 18px;

line-height: 1.15;

letter-spacing: -.025em;
```

}

body[data-page="guides"] .guide-card p {
margin: 0;

```
color: var(--muted);

font-size: 11px;

line-height: 1.55;
```

}

/* =========================================================
GUIDE ARROW
========================================================= */

body[data-page="guides"] .guide-arrow {
position: absolute;

```
right: 17px;
top: 50%;

transform: translateY(-50%);

color: var(--muted-2);

font-size: 20px;

transition:
    color var(--transition),
    transform var(--transition);
```

}

body[data-page="guides"] .guide-card:hover .guide-arrow {
color: var(--red-bright);

```
transform:
    translate(4px, -50%);
```

}

/* =========================================================
FEATURED GUIDE
========================================================= */

body[data-page="guides"] .featured-guide {
display: flex;
align-items: center;
justify-content: space-between;

```
min-height: 230px;

padding: 30px;

overflow: hidden;

border-color: var(--border-red);

background:
    linear-gradient(
        135deg,
        rgba(226,29,47,.13),
        rgba(226,29,47,.025) 55%,
        #101216
    );

transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
```

}

body[data-page="guides"] .featured-guide:hover {
transform: translateY(-2px);

```
border-color: var(--red);

box-shadow:
    0 18px 45px rgba(0,0,0,.35),
    0 0 35px rgba(226,29,47,.08);
```

}

body[data-page="guides"] .featured-guide::before {
content: "";

```
position: absolute;

left: 0;
top: 0;

width: 5px;
height: 100%;

background:
    linear-gradient(
        180deg,
        var(--red-bright),
        var(--red-dark)
    );
```

}

body[data-page="guides"] .featured-guide-content {
max-width: 680px;
}

body[data-page="guides"] .featured-guide-content h2 {
margin-top: 7px;

```
font-size: 28px;
```

}

body[data-page="guides"] .featured-guide-content p {
max-width: 620px;

```
margin-bottom: 20px;
```

}

body[data-page="guides"] .featured-guide .red-button {
display: inline-flex;
}

body[data-page="guides"] .featured-guide-number {
padding-right: 25px;

```
color: rgba(255,255,255,.035);

font-size: clamp(80px, 12vw, 150px);

font-weight: 900;

line-height: .8;

letter-spacing: -.08em;

user-select: none;
```

}

/* =========================================================
QUICK TIPS
========================================================= */

body[data-page="guides"] .quick-tips {
display: grid;

```
grid-template-columns:
    repeat(2, minmax(0,1fr));

gap: 10px;
```

}

body[data-page="guides"] .quick-tip {
display: flex;
align-items: flex-start;

```
gap: 14px;

padding: 16px;

background: var(--panel);

border: 1px solid var(--border);

border-left: 2px solid var(--red-dark);

transition:
    background var(--transition),
    border-color var(--transition);
```

}

body[data-page="guides"] .quick-tip:hover {
background: var(--panel-light);

```
border-left-color: var(--red-bright);
```

}

body[data-page="guides"] .quick-tip-number {
color: var(--red-light);

```
font-size: 9px;
font-weight: 900;

letter-spacing: .08em;
```

}

body[data-page="guides"] .quick-tip strong {
color: white;

```
font-size: 11px;
```

}

body[data-page="guides"] .quick-tip p {
margin: 4px 0 0;

```
color: var(--muted);

font-size: 10px;

line-height: 1.5;
```

}

/* =========================================================
GUIDES RESPONSIVE
========================================================= */

@media (max-width: 850px) {

```
body[data-page="guides"] .guide-grid {
    grid-template-columns: 1fr;
}

body[data-page="guides"] .quick-tips {
    grid-template-columns: 1fr;
}

body[data-page="guides"] .featured-guide-number {
    display: none;
}
```

}

@media (max-width: 650px) {

```
body[data-page="guides"] .guide-card {
    min-height: 135px;

    padding: 16px;

    gap: 13px;
}

body[data-page="guides"] .guide-card-icon {
    width: 55px;
    height: 55px;

    font-size: 22px;
}

body[data-page="guides"] .guide-card h3 {
    font-size: 16px;
}

body[data-page="guides"] .guide-card p {
    font-size: 10px;
}

body[data-page="guides"] .featured-guide {
    padding: 22px;
}
```

}
/* =========================================
   BEGINNER GUIDE
========================================= */

body[data-page="guides"] .guide-intro-panel {
    padding: 24px;
}

body[data-page="guides"] .guide-intro-panel p {
    max-width: 850px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 1.8;
    margin: 0 0 14px;
}

body[data-page="guides"] .guide-intro-panel p:last-of-type {
    margin-bottom: 20px;
}

body[data-page="guides"] .guide-intro-panel strong {
    color: white;
}

body[data-page="guides"] .guide-callout {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 17px;
    border-left: 3px solid var(--red);
    background: rgba(226,29,47,.055);
}

body[data-page="guides"] .guide-callout strong {
    flex-shrink: 0;
    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .13em;
}

body[data-page="guides"] .guide-callout span {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}


/* CONTROLS */

body[data-page="guides"] .controls-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="guides"] .control-card {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 19px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

body[data-page="guides"] .control-card:hover {
    background: var(--panel-light);
    border-color: var(--border-red);
    transform: translateY(-2px);
}

body[data-page="guides"] .control-key {
    width: 58px;
    height: 42px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #08090b;
    border: 1px solid var(--border-light);

    color: white;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;

    box-shadow:
        inset 0 -3px 0 rgba(255,255,255,.025);
}

body[data-page="guides"] .control-card h3 {
    margin: 1px 0 5px;
    color: white;
    font-size: 14px;
}

body[data-page="guides"] .control-card p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}


/* COMBAT FLOW */

body[data-page="guides"] .combat-flow {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

body[data-page="guides"] .combat-step {
    flex: 1;
    min-width: 0;
    padding: 20px 15px;
    background: #0d0f12;
    border: 1px solid var(--border);
}

body[data-page="guides"] .combat-step-number {
    display: block;
    margin-bottom: 12px;

    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
}

body[data-page="guides"] .combat-step h3 {
    margin: 0 0 7px;
    color: white;
    font-size: 15px;
}

body[data-page="guides"] .combat-step p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}

body[data-page="guides"] .combat-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--red);
    font-size: 18px;
}


/* MISTAKES */

body[data-page="guides"] .mistake-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="guides"] .mistake-card {
    display: flex;
    gap: 15px;
    padding: 18px;

    background: var(--panel);
    border: 1px solid var(--border);
    border-left: 2px solid var(--red-dark);

    transition:
        background var(--transition),
        border-color var(--transition);
}

body[data-page="guides"] .mistake-card:hover {
    background: var(--panel-light);
    border-left-color: var(--red);
}

body[data-page="guides"] .mistake-number {
    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

body[data-page="guides"] .mistake-card h3 {
    margin: 0 0 5px;
    color: white;
    font-size: 13px;
}

body[data-page="guides"] .mistake-card p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}


/* PRACTICE */

body[data-page="guides"] .practice-panel {
    padding: 0;
    overflow: hidden;
}

body[data-page="guides"] .practice-row {
    display: flex;
    gap: 20px;
    padding: 19px 22px;

    border-bottom: 1px solid var(--border);

    transition: background var(--transition);
}

body[data-page="guides"] .practice-row:last-child {
    border-bottom: none;
}

body[data-page="guides"] .practice-row:hover {
    background: var(--panel-light);
}

body[data-page="guides"] .practice-time {
    flex-shrink: 0;

    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
}

body[data-page="guides"] .practice-row h3 {
    margin: 0 0 5px;
    color: white;
    font-size: 13px;
}

body[data-page="guides"] .practice-row p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}


/* NEXT GUIDE */

body[data-page="guides"] .next-guide {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 25px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            rgba(226,29,47,.10),
            rgba(226,29,47,.025) 55%,
            #101216
        );

    border: 1px solid var(--border-red);
    border-radius: var(--radius);
}

body[data-page="guides"] .next-guide::before {
    content: "";

    position: absolute;
    left: 0;
    top: 0;

    width: 4px;
    height: 100%;

    background: var(--red);
}

body[data-page="guides"] .next-guide h2 {
    margin: 5px 0 7px;

    color: white;
    font-size: 22px;
    letter-spacing: -.025em;
}

body[data-page="guides"] .next-guide p {
    margin: 0;
    max-width: 600px;

    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

body[data-page="guides"] .next-guide .red-button {
    flex-shrink: 0;
}


/* BACK LINK */

body[data-page="guides"] .guide-back {
    margin-top: 25px;
}

body[data-page="guides"] .guide-back a {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition);
}

body[data-page="guides"] .guide-back a:hover {
    color: var(--red-light);
}


/* RESPONSIVE */

@media (max-width: 850px) {

    body[data-page="guides"] .controls-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="guides"] .combat-flow {
        flex-direction: column;
    }

    body[data-page="guides"] .combat-arrow {
        transform: rotate(90deg);
    }

    body[data-page="guides"] .mistake-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="guides"] .next-guide {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 650px) {

    body[data-page="guides"] .guide-intro-panel {
        padding: 18px;
    }

    body[data-page="guides"] .guide-callout {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    body[data-page="guides"] .control-card {
        padding: 15px;
    }

    body[data-page="guides"] .control-key {
        width: 50px;
        height: 38px;
    }

    body[data-page="guides"] .next-guide {
        padding: 20px;
    }

}
/* =========================================
   COMBAT FUNDAMENTALS GUIDE
========================================= */

body[data-page="guides"] .guide-large-text {
    color: white !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

body[data-page="guides"] .combat-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="guides"] .combat-principle {
    display: flex;
    gap: 16px;
    padding: 20px;

    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

body[data-page="guides"] .combat-principle:hover {
    transform: translateY(-2px);
    background: var(--panel-light);
    border-color: var(--border-red);
}

body[data-page="guides"] .principle-icon {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #08090b;
    border: 1px solid var(--border);

    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
}

body[data-page="guides"] .combat-principle h3 {
    margin: 0 0 6px;
    color: white;
    font-size: 13px;
}

body[data-page="guides"] .combat-principle p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}


/* DEFENCE */

body[data-page="guides"] .defence-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;

    margin-top: 20px;
}

body[data-page="guides"] .defence-card {
    padding: 20px;

    background: #0d0f12;
    border: 1px solid var(--border);

    transition:
        background var(--transition),
        border-color var(--transition);
}

body[data-page="guides"] .defence-card:hover {
    background: var(--panel-light);
    border-color: var(--border-red);
}

body[data-page="guides"] .defence-card > span {
    color: var(--red-light);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .15em;
}

body[data-page="guides"] .defence-card h3 {
    margin: 7px 0 6px;
    color: white;
    font-size: 14px;
}

body[data-page="guides"] .defence-card p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}


/* PUNISH FLOW */

body[data-page="guides"] .punish-flow {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

body[data-page="guides"] .punish-step {
    flex: 1;

    padding: 20px 16px;

    background: var(--panel);
    border: 1px solid var(--border);
}

body[data-page="guides"] .punish-step > span {
    display: block;
    margin-bottom: 12px;

    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
}

body[data-page="guides"] .punish-step h3 {
    margin: 0 0 6px;
    color: white;
    font-size: 14px;
}

body[data-page="guides"] .punish-step p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}

body[data-page="guides"] .punish-line {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--red);
}


/* ADAPTATION */

body[data-page="guides"] .adapt-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="guides"] .adapt-card {
    position: relative;

    padding: 21px;

    background: var(--panel);
    border: 1px solid var(--border);

    overflow: hidden;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

body[data-page="guides"] .adapt-card:hover {
    transform: translateY(-2px);
    background: var(--panel-light);
    border-color: var(--border-red);
}

body[data-page="guides"] .adapt-card::after {
    content: "";

    position: absolute;
    right: -40px;
    bottom: -50px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(226,29,47,.09),
            transparent 65%
        );

    pointer-events: none;
}

body[data-page="guides"] .adapt-label {
    color: var(--red-light);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

body[data-page="guides"] .adapt-card h3 {
    margin: 7px 0 6px;
    color: white;
    font-size: 15px;
}

body[data-page="guides"] .adapt-card p {
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}


/* TRAINING LIST */

body[data-page="guides"] .training-list {
    display: flex;
    flex-direction: column;
}

body[data-page="guides"] .training-item {
    display: flex;
    gap: 20px;

    padding: 18px 5px;

    border-bottom: 1px solid var(--border);
}

body[data-page="guides"] .training-item:last-child {
    border-bottom: none;
}

body[data-page="guides"] .training-item > span {
    flex-shrink: 0;

    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
}

body[data-page="guides"] .training-item strong {
    display: block;
    margin-bottom: 5px;

    color: white;
    font-size: 12px;
}

body[data-page="guides"] .training-item p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    body[data-page="guides"] .combat-principles {
        grid-template-columns: 1fr;
    }

    body[data-page="guides"] .defence-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="guides"] .punish-flow {
        flex-direction: column;
    }

    body[data-page="guides"] .punish-line {
        transform: rotate(90deg);
    }

    body[data-page="guides"] .adapt-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    body[data-page="guides"] .combat-principle {
        padding: 16px;
    }

    body[data-page="guides"] .principle-icon {
        width: 35px;
        height: 35px;
    }

    body[data-page="guides"] .defence-card {
        padding: 17px;
    }

    body[data-page="guides"] .training-item {
        gap: 13px;
    }

}
/* =========================================
   MOVEMENT GUIDE
========================================= */

body[data-page="guides"] .distance-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="guides"] .distance-card {
    padding: 20px;

    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

body[data-page="guides"] .distance-card:hover {
    transform: translateY(-2px);
    background: var(--panel-light);
    border-color: var(--border-red);
}

body[data-page="guides"] .distance-card.ideal {
    border-color: var(--border-red);
    background:
        linear-gradient(
            145deg,
            rgba(226,29,47,.07),
            var(--panel)
        );
}


/* DISTANCE VISUAL */

body[data-page="guides"] .distance-visual {
    height: 75px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 18px;

    background: #08090b;
    border: 1px solid var(--border);
}

body[data-page="guides"] .distance-visual span {
    color: white;
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .1em;
}

body[data-page="guides"] .distance-visual i {
    display: block;

    height: 1px;

    background: var(--red-dark);
}

body[data-page="guides"] .distance-visual.far i {
    width: 70px;
}

body[data-page="guides"] .distance-visual.ideal-distance i {
    width: 35px;
    background: var(--red);
}

body[data-page="guides"] .distance-visual.close i {
    width: 12px;
}

body[data-page="guides"] .distance-label {
    color: var(--red-light);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

body[data-page="guides"] .distance-card h3 {
    margin: 7px 0 6px;

    color: white;
    font-size: 14px;
}

body[data-page="guides"] .distance-card p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}


/* MOVEMENT PRINCIPLES */

body[data-page="guides"] .movement-principles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="guides"] .movement-principle {
    display: flex;
    gap: 16px;

    padding: 20px;

    background: var(--panel);
    border: 1px solid var(--border);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

body[data-page="guides"] .movement-principle:hover {
    transform: translateY(-2px);
    background: var(--panel-light);
    border-color: var(--border-red);
}

body[data-page="guides"] .movement-number {
    width: 38px;
    height: 38px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #08090b;
    border: 1px solid var(--border);

    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
}

body[data-page="guides"] .movement-principle h3 {
    margin: 0 0 6px;

    color: white;
    font-size: 13px;
}

body[data-page="guides"] .movement-principle p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}


/* MOVEMENT MIX */

body[data-page="guides"] .movement-mix {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;

    margin-top: 22px;
}

body[data-page="guides"] .movement-mix-item {
    padding: 17px;

    background: #0d0f12;
    border: 1px solid var(--border);
}

body[data-page="guides"] .movement-mix-item > span {
    display: block;
    margin-bottom: 8px;

    color: var(--red-light);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .13em;
}

body[data-page="guides"] .movement-mix-item strong {
    display: block;

    margin-bottom: 5px;

    color: white;
    font-size: 12px;
}

body[data-page="guides"] .movement-mix-item p {
    margin: 0;

    color: var(--muted);
    font-size: 9px;
    line-height: 1.55;
}


/* MOVEMENT MISTAKES */

body[data-page="guides"] .movement-mistakes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="guides"] .movement-mistake {
    display: flex;
    gap: 16px;

    padding: 18px;

    background: var(--panel);
    border: 1px solid var(--border);
    border-left: 2px solid var(--red-dark);

    transition:
        background var(--transition),
        border-color var(--transition);
}

body[data-page="guides"] .movement-mistake:hover {
    background: var(--panel-light);
    border-left-color: var(--red);
}

body[data-page="guides"] .movement-mistake > span {
    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
}

body[data-page="guides"] .movement-mistake h3 {
    margin: 0 0 5px;

    color: white;
    font-size: 13px;
}

body[data-page="guides"] .movement-mistake p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}


/* DRILLS */

body[data-page="guides"] .movement-drill {
    display: flex;
    gap: 20px;

    padding: 19px 5px;

    border-bottom: 1px solid var(--border);
}

body[data-page="guides"] .movement-drill:last-child {
    border-bottom: none;
}

body[data-page="guides"] .drill-number {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #08090b;
    border: 1px solid var(--border);

    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
}

body[data-page="guides"] .movement-drill h3 {
    margin: 0 0 5px;

    color: white;
    font-size: 12px;
}

body[data-page="guides"] .movement-drill p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    body[data-page="guides"] .distance-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="guides"] .movement-principles {
        grid-template-columns: 1fr;
    }

    body[data-page="guides"] .movement-mix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="guides"] .movement-mistakes {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    body[data-page="guides"] .movement-mix {
        grid-template-columns: 1fr;
    }

    body[data-page="guides"] .movement-principle {
        padding: 16px;
    }

    body[data-page="guides"] .movement-mistake {
        padding: 16px;
    }

}
/* =========================================
   COUNTERING GUIDE
========================================= */

body[data-page="guides"] .counter-loop {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

body[data-page="guides"] .counter-loop-step {
    flex: 1;
    padding: 22px 18px;

    background: var(--panel);
    border: 1px solid var(--border);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

body[data-page="guides"] .counter-loop-step:hover {
    transform: translateY(-2px);
    background: var(--panel-light);
    border-color: var(--border-red);
}

body[data-page="guides"] .counter-loop-number {
    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 13px;

    background: #08090b;
    border: 1px solid var(--border);

    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
}

body[data-page="guides"] .counter-loop-step > span {
    color: var(--red-light);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

body[data-page="guides"] .counter-loop-step h3 {
    margin: 6px 0;

    color: white;
    font-size: 15px;
}

body[data-page="guides"] .counter-loop-step p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

body[data-page="guides"] .counter-loop-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    color: var(--red);
    font-size: 18px;
}


/* BAITING */

body[data-page="guides"] .bait-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;

    margin-top: 22px;
}

body[data-page="guides"] .bait-card {
    padding: 20px;

    background: #0d0f12;
    border: 1px solid var(--border);

    transition:
        background var(--transition),
        border-color var(--transition),
        transform var(--transition);
}

body[data-page="guides"] .bait-card:hover {
    transform: translateY(-2px);
    background: var(--panel-light);
    border-color: var(--border-red);
}

body[data-page="guides"] .bait-card > span {
    color: var(--red-light);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .14em;
}

body[data-page="guides"] .bait-card h3 {
    margin: 7px 0 6px;

    color: white;
    font-size: 14px;
}

body[data-page="guides"] .bait-card p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}


/* PATTERNS */

body[data-page="guides"] .pattern-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="guides"] .pattern-card {
    padding: 19px;

    background: var(--panel);
    border: 1px solid var(--border);

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

body[data-page="guides"] .pattern-card:hover {
    transform: translateY(-2px);
    background: var(--panel-light);
    border-color: var(--border-red);
}

body[data-page="guides"] .pattern-icon {
    width: 35px;
    height: 35px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 15px;

    background: #08090b;
    border: 1px solid var(--border);

    color: var(--red-light);
    font-size: 10px;
    font-weight: 900;
}

body[data-page="guides"] .pattern-card h3 {
    margin: 0 0 6px;

    color: white;
    font-size: 13px;
}

body[data-page="guides"] .pattern-card p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}


/* ADAPTATION CHAIN */

body[data-page="guides"] .adaptation-chain {
    display: flex;
    align-items: center;
    gap: 10px;

    margin-top: 24px;
    padding: 17px;

    overflow-x: auto;

    background: #08090b;
    border: 1px solid var(--border);
}

body[data-page="guides"] .adaptation-chain > div:not(.adaptation-arrow) {
    min-width: 105px;

    text-align: center;
}

body[data-page="guides"] .adaptation-chain span {
    display: block;
    margin-bottom: 6px;

    color: var(--red-light);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .13em;
}

body[data-page="guides"] .adaptation-chain strong {
    color: white;
    font-size: 10px;
}

body[data-page="guides"] .adaptation-arrow {
    color: var(--red);
    font-size: 16px;
}


/* COUNTER MISTAKES */

body[data-page="guides"] .counter-mistakes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body[data-page="guides"] .counter-mistake {
    display: flex;
    gap: 16px;

    padding: 18px;

    background: var(--panel);
    border: 1px solid var(--border);
    border-left: 2px solid var(--red-dark);

    transition:
        background var(--transition),
        border-color var(--transition);
}

body[data-page="guides"] .counter-mistake:hover {
    background: var(--panel-light);
    border-left-color: var(--red);
}

body[data-page="guides"] .counter-mistake > span {
    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
}

body[data-page="guides"] .counter-mistake h3 {
    margin: 0 0 5px;

    color: white;
    font-size: 13px;
}

body[data-page="guides"] .counter-mistake p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}


/* TRAINING */

body[data-page="guides"] .counter-training {
    display: flex;
    flex-direction: column;
}

body[data-page="guides"] .counter-training-row {
    display: flex;
    gap: 20px;

    padding: 18px 5px;

    border-bottom: 1px solid var(--border);
}

body[data-page="guides"] .counter-training-row:last-child {
    border-bottom: none;
}

body[data-page="guides"] .counter-training-row > span {
    color: var(--red-light);
    font-size: 9px;
    font-weight: 900;
}

body[data-page="guides"] .counter-training-row strong {
    display: block;

    margin-bottom: 5px;

    color: white;
    font-size: 12px;
}

body[data-page="guides"] .counter-training-row p {
    margin: 0;

    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}


/* RESPONSIVE */

@media (max-width: 850px) {

    body[data-page="guides"] .counter-loop {
        flex-direction: column;
    }

    body[data-page="guides"] .counter-loop-arrow {
        transform: rotate(90deg);
    }

    body[data-page="guides"] .pattern-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-page="guides"] .counter-mistakes {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 650px) {

    body[data-page="guides"] .bait-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="guides"] .pattern-grid {
        grid-template-columns: 1fr;
    }

    body[data-page="guides"] .counter-loop-step {
        padding: 18px;
    }

    body[data-page="guides"] .counter-mistake {
        padding: 16px;
    }

}
