/*
 * Block Out Game Guide — v7 production theme
 * Solid surfaces, compact product spacing, and game-derived accent colors.
 */

:root {
    --bog-navy-950: #061735;
    --bog-navy-900: #08245c;
    --bog-navy-800: #10346f;
    --bog-blue-700: #175cd3;
    --bog-blue-600: #2473e8;
    --bog-yellow: #ffc83d;
    --bog-yellow-deep: #e5a900;
    --bog-cyan: #17bbd2;
    --bog-purple: #7257d9;
    --bog-pink: #eb5d9b;
    --bog-orange: #f47b20;
    --bog-red: #c83c4a;
    --bog-green: #18865b;
    --bog-ink: #10233f;
    --bog-copy: #41536c;
    --bog-muted: #65758b;
    --bog-border: #d7e0eb;
    --bog-border-strong: #b9c7d8;
    --bog-surface: #f4f7fb;
    --bog-surface-alt: #eaf0f7;
    --bog-white: #ffffff;
    --bog-shadow: 0 8px 22px rgba(16, 35, 63, 0.08);
    --bog-container: 1200px;
    --bog-radius-sm: 6px;
    --bog-radius: 9px;
    --bog-radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body.bog-theme {
    margin: 0;
    min-width: 320px;
    color: var(--bog-ink);
    background: var(--bog-surface);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.bog-theme img,
body.bog-theme video,
body.bog-theme iframe {
    max-width: 100%;
}

body.bog-theme a {
    color: inherit;
    text-decoration: none;
}

body.bog-theme button,
body.bog-theme input,
body.bog-theme textarea,
body.bog-theme select {
    font-family: inherit;
    line-height: inherit;
}

body.bog-theme button,
body.bog-theme a {
    -webkit-tap-highlight-color: transparent;
}

.bog-container,
.btf-container {
    width: min(var(--bog-container), calc(100% - 40px));
    margin-inline: auto;
}

.bog-main {
    min-height: 58vh;
}

.bog-skip-link {
    position: fixed;
    z-index: 1000;
    top: 10px;
    left: 10px;
    padding: 10px 14px;
    color: var(--bog-white);
    background: var(--bog-navy-950);
    border: 2px solid var(--bog-yellow);
    border-radius: var(--bog-radius-sm);
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.bog-skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, textarea, summary):focus-visible {
    outline: 3px solid rgba(23, 92, 211, 0.35);
    outline-offset: 3px;
}

.bog-topbar {
    color: #dfeaff;
    background: var(--bog-navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13px;
    font-weight: 650;
}

.bog-topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.bog-topbar-inner span,
.bog-topbar-inner a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bog-topbar-inner i {
    color: var(--bog-yellow);
}

.bog-topbar-inner a {
    color: var(--bog-yellow);
}

.bog-topbar-inner a:hover {
    color: var(--bog-white);
}

.bog-header {
    position: sticky;
    z-index: 80;
    top: 0;
    color: var(--bog-ink);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--bog-border);
}

.bog-nav {
    position: relative;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.bog-brand,
.bog-footer-logo {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.bog-brand-mark,
.bog-footer-logo img {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    object-fit: contain;
    background: var(--bog-surface);
    border: 1px solid var(--bog-border);
    border-radius: 8px;
}

.bog-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.bog-brand-copy strong {
    color: var(--bog-navy-900);
    font-size: 17px;
    font-weight: 850;
}

.bog-brand-copy span {
    margin-top: 4px;
    color: var(--bog-blue-700);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bog-desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bog-nav-link {
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #253752;
    border-radius: var(--bog-radius-sm);
    font-size: 14px;
    font-weight: 700;
}

.bog-nav-link i {
    color: var(--bog-blue-700);
    font-size: 13px;
}

.bog-nav-link:hover {
    color: var(--bog-blue-700);
    background: #edf4ff;
}

.bog-menu-button {
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--bog-navy-900);
    background: var(--bog-white);
    border: 1px solid var(--bog-border-strong);
    border-radius: var(--bog-radius-sm);
    cursor: pointer;
}

.bog-mobile-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    width: min(300px, calc(100vw - 30px));
    padding: 8px;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-top: 3px solid var(--bog-yellow);
    border-radius: 0 0 var(--bog-radius) var(--bog-radius);
    box-shadow: var(--bog-shadow);
}

.bog-mobile-menu a {
    min-height: 46px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-radius: var(--bog-radius-sm);
    color: var(--bog-ink);
    font-size: 14px;
    font-weight: 700;
}

.bog-mobile-menu a:hover {
    color: var(--bog-blue-700);
    background: #edf4ff;
}

.bog-mobile-menu i {
    width: 18px;
    color: var(--bog-blue-700);
    text-align: center;
}

.bog-section {
    padding: 20px 0;
}

.bog-eyebrow,
.btf-eyebrow {
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--bog-blue-700);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bog-eyebrow-light {
    color: var(--bog-yellow);
}

.bog-button,
.btf-button {
    min-height: 44px;
    padding: 10px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: var(--bog-radius-sm);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.bog-button-primary,
.btf-button-primary {
    color: var(--bog-white) !important;
    background: var(--bog-blue-700);
    border-color: var(--bog-blue-700);
}

.bog-button-primary:hover,
.btf-button-primary:hover {
    background: var(--bog-navy-800);
    border-color: var(--bog-navy-800);
}

.bog-button-secondary,
.btf-button-secondary {
    color: var(--bog-blue-700) !important;
    background: var(--bog-white);
    border-color: var(--bog-border-strong);
}

.bog-button-secondary:hover,
.btf-button-secondary:hover {
    border-color: var(--bog-blue-700);
    background: #f5f9ff;
}

.bog-button-accent {
    color: var(--bog-navy-950) !important;
    background: var(--bog-yellow);
    border-color: var(--bog-yellow);
}

.bog-button-accent:hover {
    background: #ffd45e;
    border-color: #ffd45e;
}

.bog-text-link,
.btf-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bog-blue-700) !important;
    font-size: 14px;
    font-weight: 800;
}

.bog-text-link:hover,
.btf-text-link:hover {
    color: var(--bog-navy-900) !important;
}

.bog-hero {
    position: relative;
    overflow: hidden;
    padding: 58px 0;
    color: var(--bog-white);
    background: var(--bog-navy-900);
    border-bottom: 5px solid var(--bog-yellow);
}

.bog-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 50px;
    align-items: center;
}

.bog-hero-copy h1 {
    max-width: 730px;
    margin: 0;
    color: var(--bog-white);
    font-size: clamp(42px, 5.3vw, 72px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.bog-hero-text {
    max-width: 720px;
    margin: 24px 0 0;
    color: #d9e6fb;
    font-size: 18px;
    line-height: 1.7;
}

.bog-level-search {
    max-width: 710px;
    margin-top: 30px;
}

.bog-level-search label {
    margin-bottom: 8px;
    display: block;
    color: var(--bog-white);
    font-size: 13px;
    font-weight: 800;
}

.bog-search-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.bog-search-row input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    color: var(--bog-ink);
    background: var(--bog-white);
    border: 2px solid var(--bog-white);
    border-radius: var(--bog-radius-sm) 0 0 var(--bog-radius-sm);
    outline: 0;
}

.bog-search-row input:focus {
    border-color: var(--bog-yellow);
}

.bog-search-row input.bog-input-invalid {
    border-color: #ff7482;
}

.bog-search-row button {
    min-width: 150px;
    padding: 0 18px;
    color: var(--bog-white);
    background: var(--bog-blue-600);
    border: 2px solid var(--bog-blue-600);
    border-radius: 0 var(--bog-radius-sm) var(--bog-radius-sm) 0;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
}

.bog-search-row button:hover {
    background: var(--bog-blue-700);
    border-color: var(--bog-yellow);
}

.bog-level-search > p {
    margin: 7px 0 0;
    color: #aec5e7;
    font-size: 12px;
}

.bog-hero-actions {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bog-hero-facts {
    max-width: 720px;
    margin: 28px 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.bog-hero-facts div {
    padding: 14px 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.bog-hero-facts div:first-child {
    padding-left: 0;
}

.bog-hero-facts div:last-child {
    border-right: 0;
}

.bog-hero-facts dt {
    color: var(--bog-yellow);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bog-hero-facts dd {
    margin: 4px 0 0;
    color: var(--bog-white);
    font-size: 13px;
    font-weight: 700;
}

.bog-game-preview {
    overflow: hidden;
    background: var(--bog-white);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--bog-radius-lg);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.bog-preview-header {
    min-height: 42px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--bog-white);
    background: var(--bog-navy-950);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 11px;
    font-weight: 800;
}

.bog-preview-header span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.bog-preview-header span:last-child {
    color: var(--bog-yellow);
}

.bog-game-video {
    width: 100%;
    aspect-ratio: 9 / 12;
    display: block;
    object-fit: cover;
    background: #dfe8f3;
}

.bog-download-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bog-navy-950);
}

.bog-download-row a {
    min-height: 62px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--bog-white);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 9px;
    line-height: 1.15;
}

.bog-download-row a:last-child {
    border-right: 0;
}

.bog-download-row a:hover {
    background: var(--bog-navy-800);
}

.bog-download-row i {
    color: var(--bog-yellow);
    font-size: 22px;
}

.bog-download-row strong {
    font-size: 12px;
}

.bog-levels-section,
.bog-library-page {
    background: var(--bog-white);
}

.bog-section-heading h2,
.bog-how-intro h2,
.bog-faq-intro h2,
.bog-editorial-summary h2,
.bog-play-header h1 {
    margin: 0;
    color: var(--bog-ink);
    font-size: clamp(30px, 3.4vw, 46px);
    font-weight: 880;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.bog-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 0.58fr);
    gap: 56px;
    align-items: end;
}

.bog-heading-row > p {
    margin: 0;
    color: var(--bog-copy);
    font-size: 15px;
}

.bog-range-picker {
    --level-tabs-collapsed-height: 104px;
    margin-top: 32px;
}

.level-tabs-panel {
    overflow: hidden;
    transition: max-height 220ms ease;
}

.level-tabs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.level-range-tab {
    min-height: 40px;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #42526a;
    background: var(--bog-white);
    border: 1px solid var(--bog-border-strong);
    border-radius: var(--bog-radius-sm);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.level-range-tab:hover {
    color: var(--bog-blue-700);
    border-color: var(--bog-blue-700);
}

.level-range-tab.active {
    color: var(--bog-white);
    background: var(--bog-blue-700);
    border-color: var(--bog-blue-700);
}

.level-range-tab.active i {
    color: var(--bog-yellow);
}

.level-tabs-toggle {
    min-height: 38px;
    margin-top: 10px;
    padding: 6px 10px;
    align-items: center;
    gap: 8px;
    color: var(--bog-blue-700);
    background: transparent;
    border: 0;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.level-tabs-collapse.has-overflow .level-tabs-toggle {
    display: inline-flex !important;
}

.level-tabs-collapse.is-expanded .level-tabs-toggle i {
    transform: rotate(180deg);
}

.bog-level-grid {
    position: relative;
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    transition: opacity 150ms ease;
}

.bog-level-grid.bog-is-loading {
    min-height: 260px;
    opacity: 0.44;
    pointer-events: none;
}

.bog-level-card {
    min-width: 0;
    overflow: hidden;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius);
    transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.bog-level-card:hover {
    transform: translateY(-2px);
    border-color: #9cb5d8;
    box-shadow: 0 8px 18px rgba(16, 35, 63, 0.1);
}

.bog-level-card-link {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bog-level-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bog-navy-950);
    border-bottom: 1px solid var(--bog-border);
}

.bog-level-thumb::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    background: var(--bog-navy-950);
    transition: opacity 150ms ease;
}

.bog-level-card:hover .bog-level-thumb::before {
    opacity: 0.08;
}

.bog-level-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.bog-level-thumb img.bog-cover-portrait {
    object-fit: contain;
}

.bog-level-thumb-missing::after {
    content: "Preview unavailable";
    color: #c5d7ee;
    font-size: 12px;
    font-weight: 700;
}

.bog-level-thumb-missing img {
    display: none;
}

.bog-level-number {
    position: absolute;
    z-index: 2;
    left: 8px;
    bottom: 8px;
    padding: 4px 8px;
    color: var(--bog-white);
    background: rgba(6, 23, 53, 0.9);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 850;
}

.bog-level-card-body {
    padding: 13px;
}

.bog-level-card-body h2,
.bog-level-card-body h3 {
    margin: 0;
    color: var(--bog-ink);
    font-size: 15px;
    font-weight: 850;
}

.bog-level-guide-types {
    min-height: 23px;
    margin-top: 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bog-level-guide-types span {
    padding: 3px 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4b5d74;
    background: #eff3f8;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 750;
}

.bog-level-guide-types i {
    color: var(--bog-blue-700);
}

.bog-section-action {
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid var(--bog-border);
    text-align: right;
}

.bog-how-section {
    color: var(--bog-white);
    background: var(--bog-navy-950);
}

.bog-how-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 64px;
    align-items: start;
}

.bog-how-intro {
    position: sticky;
    top: 118px;
}

.bog-how-intro h2 {
    color: var(--bog-white);
}

.bog-how-intro > p:not(.bog-eyebrow) {
    margin: 20px 0 0;
    color: #c4d5ed;
}

.bog-how-intro > a {
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bog-yellow);
    font-size: 14px;
    font-weight: 850;
}

.bog-feature-grid {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
}

.bog-feature-item {
    position: relative;
    min-height: 220px;
    padding: 20px;
    overflow: hidden;
    background: #0d2a5e;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-top: 4px solid var(--feature-color, var(--bog-blue-600));
    border-radius: var(--bog-radius);
}

.bog-feature-item > span {
    color: #8197b8;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.bog-feature-item > i {
    width: 42px;
    height: 42px;
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bog-navy-950);
    background: var(--feature-color, var(--bog-blue-600));
    border-radius: var(--bog-radius-sm);
    font-size: 18px;
}

.bog-feature-item h3 {
    margin: 17px 0 0;
    color: var(--bog-white);
    font-size: 18px;
    font-weight: 850;
}

.bog-feature-item p {
    margin: 8px 0 0;
    color: #c3d4ed;
    font-size: 13px;
    line-height: 1.65;
}

.bog-feature-blue { --feature-color: #5d9bff; }
.bog-feature-purple { --feature-color: #9b84f4; }
.bog-feature-orange { --feature-color: #ff9b4f; }
.bog-feature-cyan { --feature-color: #42d4e6; }

.bog-faq-section {
    background: var(--bog-surface);
}

.bog-faq-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: 70px;
    align-items: start;
}

.bog-faq-intro {
    position: sticky;
    top: 118px;
}

.bog-faq-intro > p:not(.bog-eyebrow) {
    margin: 20px 0 0;
    color: var(--bog-copy);
}

.bog-faq-intro .bog-button {
    margin-top: 24px;
}

.bog-faq-list {
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius);
}

.bog-faq-list details {
    border-bottom: 1px solid var(--bog-border);
}

.bog-faq-list details:last-child {
    border-bottom: 0;
}

.bog-faq-list summary {
    min-height: 64px;
    padding: 15px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--bog-ink);
    font-size: 15px;
    font-weight: 820;
    list-style: none;
    cursor: pointer;
}

.bog-faq-list summary::-webkit-details-marker {
    display: none;
}

.bog-faq-list summary i {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bog-blue-700);
    background: #edf4ff;
    border-radius: 4px;
    font-size: 12px;
    transition: transform 160ms ease;
}

.bog-faq-list details[open] summary {
    color: var(--bog-blue-700);
    background: #fbfdff;
}

.bog-faq-list details[open] summary i {
    transform: rotate(45deg);
}

.bog-faq-list details p {
    margin: 0;
    padding: 0 60px 19px 18px;
    color: var(--bog-copy);
    font-size: 14px;
}

.bog-empty-state,
.btf-empty-state {
    grid-column: 1 / -1;
    padding: 48px 24px;
    color: var(--bog-copy);
    background: var(--bog-surface);
    border: 1px dashed var(--bog-border-strong);
    border-radius: var(--bog-radius);
    text-align: center;
}

.bog-empty-state > i,
.btf-empty-state > i {
    color: var(--bog-blue-700);
    font-size: 28px;
}

.bog-empty-state h2,
.btf-empty-state h2 {
    margin: 12px 0 0;
    color: var(--bog-ink);
    font-size: 19px;
}

.bog-empty-state p,
.btf-empty-state p {
    margin: 7px 0 0;
}

.bog-pagination {
    margin-top: 30px;
}

.bog-pagination .pagination {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    list-style: none;
}

.bog-pagination .pagination li > a,
.bog-pagination .pagination li > span {
    min-width: 40px;
    min-height: 40px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bog-ink);
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius-sm);
    font-size: 13px;
    font-weight: 750;
}

.bog-pagination .pagination .active > span {
    color: var(--bog-white);
    background: var(--bog-blue-700);
    border-color: var(--bog-blue-700);
}

.bog-pagination .pagination .disabled > span {
    color: #9aa6b5;
    background: #f1f4f8;
}

.bog-page-header {
    position: relative;
    overflow: hidden;
    padding: 48px 0;
    color: var(--bog-white);
    background: var(--bog-navy-900);
    border-bottom: 4px solid var(--bog-yellow);
}

.bog-page-header::after {
    content: "";
    position: absolute;
    right: 4%;
    bottom: 18px;
    width: 110px;
    height: 9px;
    border-top: 2px solid rgba(255, 200, 61, 0.65);
    border-bottom: 2px solid rgba(23, 187, 210, 0.55);
}

.bog-page-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.68fr);
    gap: 60px;
    align-items: end;
}

.bog-page-header h1 {
    margin: 0;
    color: var(--bog-white);
    font-size: clamp(34px, 4.7vw, 58px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.bog-page-header-inner > p {
    margin: 0;
    color: #c7d8ef;
    font-size: 15px;
}

.bog-updated {
    margin: 12px 0 0;
    color: var(--bog-yellow);
    font-size: 12px;
    font-weight: 800;
}

.bog-range-bar {
    padding: 20px 0;
    background: var(--bog-white);
    border-bottom: 1px solid var(--bog-border);
}

.bog-range-bar .bog-range-picker {
    margin-top: 0;
}

.bog-editorial-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1.38fr);
    gap: 70px;
    align-items: start;
}

.bog-editorial-summary {
    position: sticky;
    top: 118px;
    padding: 24px;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-top: 4px solid var(--bog-yellow);
    border-radius: var(--bog-radius);
}

.bog-kicker,
.btf-kicker {
    margin: 0 0 10px;
    color: var(--bog-blue-700);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bog-editorial-summary h2 {
    font-size: 28px;
}

.bog-editorial-summary > p:not(.bog-kicker) {
    margin: 16px 0 0;
    color: var(--bog-copy);
    font-size: 14px;
}

.bog-editorial-summary .bog-text-link {
    margin-top: 20px;
}

.bog-editorial-content {
    overflow: hidden;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius);
}

.bog-editorial-content > section {
    padding: 28px 30px;
    border-bottom: 1px solid var(--bog-border);
}

.bog-editorial-content > section:last-child {
    border-bottom: 0;
}

.bog-editorial-content h2,
.bog-contact-reasons h2,
.bog-legal-content h2 {
    margin: 0;
    color: var(--bog-ink);
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -0.018em;
}

.bog-editorial-content p,
.bog-legal-content p {
    margin: 12px 0 0;
    color: var(--bog-copy);
    font-size: 15px;
}

.bog-editorial-content a,
.bog-legal-content a {
    color: var(--bog-blue-700) !important;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bog-process-list {
    margin-top: 18px;
    display: grid;
    gap: 0;
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius-sm);
}

.bog-process-list > div {
    padding: 15px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px solid var(--bog-border);
}

.bog-process-list > div:last-child {
    border-bottom: 0;
}

.bog-process-list span {
    color: var(--bog-orange);
    font-size: 12px;
    font-weight: 900;
}

.bog-process-list p {
    margin: 0;
    font-size: 14px;
}

.bog-independent-notice {
    background: #fff9e8;
    border-left: 4px solid var(--bog-yellow);
}

.bog-contact-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
    gap: 28px;
    align-items: start;
}

.bog-contact-primary {
    position: sticky;
    top: 118px;
    padding: 26px;
    background: var(--bog-navy-900);
    border: 1px solid var(--bog-navy-800);
    border-top: 4px solid var(--bog-yellow);
    border-radius: var(--bog-radius);
}

.bog-contact-primary .bog-kicker {
    color: var(--bog-yellow);
}

.bog-contact-primary > a {
    display: inline-block;
    color: var(--bog-white) !important;
    font-size: clamp(18px, 2vw, 24px);
    font-weight: 850;
    word-break: break-word;
}

.bog-contact-primary > p:not(.bog-kicker) {
    margin: 18px 0 0;
    color: #c5d7ee;
    font-size: 14px;
}

.bog-response-note,
.btf-response-note {
    margin-top: 20px;
    padding: 13px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #d7e4f6;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--bog-radius-sm);
    font-size: 12px;
}

.bog-response-note i,
.btf-response-note i {
    margin-top: 3px;
    color: var(--bog-yellow);
}

.bog-contact-reasons {
    display: grid;
    gap: 12px;
}

.bog-contact-reasons > section {
    padding: 20px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius);
}

.bog-contact-reasons > section > i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bog-blue-700);
    background: #edf4ff;
    border-radius: var(--bog-radius-sm);
}

.bog-contact-reasons h2 {
    font-size: 17px;
}

.bog-contact-reasons p {
    margin: 7px 0 0;
    color: var(--bog-copy);
    font-size: 13px;
}

.bog-legal-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.bog-legal-nav {
    position: sticky;
    top: 116px;
    padding: 16px;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius);
}

.bog-legal-nav h2 {
    margin: 0 0 10px;
    color: var(--bog-ink);
    font-size: 13px;
    font-weight: 850;
}

.bog-legal-nav a {
    min-height: 36px;
    padding: 7px 9px;
    display: flex;
    align-items: center;
    color: var(--bog-copy);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.bog-legal-nav a:hover {
    color: var(--bog-blue-700);
    background: #edf4ff;
}

.bog-legal-content {
    overflow: hidden;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius);
}

.bog-legal-content > section {
    padding: 26px 30px;
    scroll-margin-top: 110px;
    border-bottom: 1px solid var(--bog-border);
}

.bog-legal-content > section:last-child {
    border-bottom: 0;
}

.bog-legal-content ul {
    margin: 13px 0 0;
    padding-left: 20px;
    color: var(--bog-copy);
}

.bog-legal-content li {
    margin: 7px 0;
    padding-left: 3px;
}

.bog-legal-notice {
    padding: 14px;
    background: #fff9e8;
    border-left: 4px solid var(--bog-yellow);
    border-radius: 0 var(--bog-radius-sm) var(--bog-radius-sm) 0;
}

.bog-play-page {
    padding: 58px 0 76px;
}

.bog-play-header {
    padding: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: end;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-top: 4px solid var(--bog-yellow);
    border-radius: var(--bog-radius);
}

.bog-play-header h1 {
    font-size: clamp(34px, 4.5vw, 54px);
}

.bog-play-header p:not(.bog-eyebrow) {
    max-width: 720px;
    margin: 14px 0 0;
    color: var(--bog-copy);
}

.bog-play-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bog-embed-notice {
    margin-top: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #3e5068;
    background: #eaf3ff;
    border: 1px solid #c4d7f2;
    border-left: 4px solid var(--bog-blue-700);
    border-radius: var(--bog-radius-sm);
}

.bog-embed-notice i {
    margin-top: 4px;
    color: var(--bog-blue-700);
}

.bog-embed-notice p {
    margin: 0;
    font-size: 13px;
}

.bog-game-frame-wrap {
    position: relative;
    min-height: 640px;
    margin-top: 18px;
    overflow: hidden;
    background: var(--bog-navy-950);
    border: 1px solid var(--bog-border-strong);
    border-radius: var(--bog-radius);
}

.bog-game-frame,
.bog-game-frame-loading {
    width: 100%;
    min-height: 640px;
}

.bog-game-frame {
    display: block;
    border: 0;
}

.bog-game-frame-loading {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--bog-white);
    background: var(--bog-navy-950);
    font-size: 14px;
    font-weight: 750;
}

.bog-footer {
    color: #bdcce0;
    background: var(--bog-navy-950);
    border-top: 5px solid var(--bog-yellow);
}

.bog-footer-grid {
    padding: 48px 0 38px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(160px, 0.55fr) minmax(190px, 0.65fr);
    gap: 56px;
}

.bog-footer-logo img {
    background: var(--bog-white);
    border-color: rgba(255, 255, 255, 0.28);
}

.bog-footer-logo div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.bog-footer-logo strong {
    color: var(--bog-white);
    font-size: 16px;
}

.bog-footer-logo span {
    margin-top: 3px;
    color: var(--bog-yellow);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bog-footer-brand > p {
    max-width: 540px;
    margin: 17px 0 0;
    font-size: 13px;
}

.bog-footer h2 {
    margin: 0 0 13px;
    color: var(--bog-white);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.bog-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bog-footer li + li {
    margin-top: 8px;
}

.bog-footer li a {
    color: #bdcce0;
    font-size: 13px;
}

.bog-footer li a:hover {
    color: var(--bog-yellow);
}

.bog-footer-bottom {
    padding: 20px 0 26px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.bog-footer-bottom p {
    margin: 0;
    color: #91a5c0;
    font-size: 11px;
}

.bog-footer-bottom p:last-child {
    max-width: 780px;
    justify-self: end;
    text-align: right;
}

/* Level detail */
.bog-level-hero {
    padding: 34px 0 38px;
    color: var(--bog-white);
    background: var(--bog-navy-900);
    border-bottom: 4px solid var(--bog-yellow);
}

.bog-level-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: #b8cbe5;
    font-size: 12px;
    font-weight: 700;
}

.bog-level-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bog-level-breadcrumb a:hover {
    color: var(--bog-yellow);
}

.bog-level-breadcrumb > i {
    color: #6f8bb3;
    font-size: 9px;
}

.bog-level-title-row {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.bog-level-route-marker {
    min-height: 116px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--bog-yellow);
    border-right: 2px solid var(--bog-yellow);
}

.bog-level-route-marker i {
    font-size: 21px;
}

.bog-level-route-marker span {
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.12em;
    writing-mode: vertical-rl;
}

.bog-level-eyebrow {
    margin: 0;
    color: var(--bog-yellow);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bog-level-title-copy h1 {
    margin: 6px 0 0;
    color: var(--bog-white);
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

.bog-level-title-copy h1 span {
    color: var(--bog-yellow);
}

.bog-level-title-copy > p:last-child {
    max-width: 900px;
    margin: 13px 0 0;
    color: #c8d9ef;
    font-size: 14px;
}

.bog-level-detail {
    padding: 30px 0 44px;
    background: var(--bog-surface);
}

.bog-level-wrap {
    max-width: 1160px;
    margin-inline: auto;
}

.bog-level-layout {
    align-items: start;
}

.bog-level-main {
    min-width: 0;
}

.bog-guide-panel {
    padding: 18px;
    overflow: hidden;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius);
}

.bog-board-notice {
    margin-bottom: 18px;
    padding: 13px 14px;
    color: var(--bog-copy);
    background: #fff9e8;
    border: 1px solid #f1dc96;
    border-left: 4px solid var(--bog-yellow);
    border-radius: var(--bog-radius-sm);
}

.bog-board-notice a {
    color: var(--bog-blue-700) !important;
}

.bog-version-help {
    padding: 11px 12px 4px;
    color: var(--bog-copy);
    background: #eef4fb;
    border: 1px solid var(--bog-border);
    border-bottom: 0;
    border-radius: var(--bog-radius-sm) var(--bog-radius-sm) 0 0;
}

.bog-version-help i {
    color: var(--bog-blue-700);
}

.bog-version-tabs {
    padding: 8px 12px 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    background: #eef4fb;
    border: 1px solid var(--bog-border);
    border-top: 0;
    border-radius: 0 0 var(--bog-radius-sm) var(--bog-radius-sm);
}

.video-tab {
    min-height: 40px;
    padding: 8px 12px;
    color: var(--bog-copy);
    background: var(--bog-white);
    border: 1px solid var(--bog-border-strong);
    border-radius: var(--bog-radius-sm);
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.video-tab:hover {
    color: var(--bog-blue-700);
    border-color: var(--bog-blue-700);
}

.appv2-video-tab-active {
    color: var(--bog-white) !important;
    background: var(--bog-blue-700) !important;
    border-color: var(--bog-blue-700) !important;
}

.appv2-video-tab-active i {
    color: var(--bog-yellow);
}

.guide-mode-tabs {
    margin-bottom: 14px;
    padding: 4px;
    display: inline-flex;
    gap: 3px;
    background: #eaf0f7;
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius-sm);
}

.guide-mode-tab {
    min-height: 38px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--bog-copy);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.guide-mode-tab.is-active {
    color: var(--bog-blue-700);
    background: var(--bog-white);
    border-color: var(--bog-border-strong);
}

.bog-image-guide {
    overflow: hidden;
    background: #fbfcfe;
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius-sm);
}

.bog-puzzle-snapshot {
    margin-bottom: 18px;
    padding: 16px;
    background: #f3efff;
    border: 1px solid #ddd5fb;
    border-left: 4px solid var(--bog-purple);
    border-radius: var(--bog-radius-sm);
}

.bog-guide-step {
    overflow: hidden;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius-sm);
}

.bog-step-label {
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 4px 8px;
    display: inline-flex;
    color: var(--bog-white);
    background: var(--bog-purple);
    border-radius: 4px;
    font-size: 11px;
    font-weight: 850;
}

.bog-multiple-levels-notice {
    margin-bottom: 14px;
    padding: 13px;
    background: #fff0f2;
    border: 1px solid #f2c7cc;
    border-left: 4px solid var(--bog-red);
    border-radius: var(--bog-radius-sm);
}

.bog-video-container {
    overflow: hidden;
    display: flex;
    justify-content: center;
    background: #e8edf4;
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius-sm);
}

.bog-video-mobile {
    padding: 14px;
}

.bog-video-container iframe {
    display: block;
}

.bog-version-notice {
    margin-top: 18px;
    padding: 13px 14px;
    color: var(--bog-copy);
    background: #eaf3ff;
    border: 1px solid #c4d7f2;
    border-left: 4px solid var(--bog-blue-700);
    border-radius: var(--bog-radius-sm);
}

.bog-version-notice a {
    color: var(--bog-blue-700) !important;
}

.bog-level-nav-panel {
    padding: 18px;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-top: 4px solid var(--bog-yellow);
    border-radius: var(--bog-radius);
}

.bog-level-nav-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bog-white);
    background: var(--bog-blue-700);
    border-radius: var(--bog-radius-sm);
    margin-right: 10px;
}

.bog-level-sidebar a {
    box-shadow: none !important;
}

.bog-level-sidebar a:hover {
    transform: none !important;
}

.bog-level-sidebar [class*="border-pink"] {
    border-color: var(--bog-border) !important;
}

.quick-level-item-btn {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px !important;
}

.appv2-quick-level-active,
.bg-accent {
    color: var(--bog-white) !important;
    background: var(--bog-blue-700) !important;
    border-color: var(--bog-blue-700) !important;
}

.appv2-quick-level-idle:hover {
    color: var(--bog-blue-700) !important;
    background: #edf4ff !important;
}

.text-accent {
    color: var(--bog-blue-700) !important;
}

.bog-all-levels-button {
    min-height: 44px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bog-white) !important;
    background: var(--bog-blue-700);
    border: 1px solid var(--bog-blue-700);
    border-radius: var(--bog-radius-sm);
    font-size: 14px;
    font-weight: 850;
}

.bog-all-levels-button:hover {
    background: var(--bog-navy-800);
    border-color: var(--bog-navy-800);
}

.bog-bottom-nav {
    padding: 24px 0;
    background: var(--bog-white);
    border-top: 1px solid var(--bog-border);
}

.bog-bottom-nav [class*="border-pink"] {
    border-color: var(--bog-border) !important;
}

/* Comments and forms — legacy behavior class names are intentionally retained. */
.btf-comments-section {
    padding: 48px 0 64px;
    background: var(--bog-surface);
    border-top: 1px solid var(--bog-border);
}

.btf-comment-module {
    width: min(900px, calc(100% - 10px));
    margin-inline: auto;
}

.btf-comments-header {
    margin-bottom: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.65fr);
    gap: 30px;
    align-items: end;
}

.btf-comments-header h2 {
    margin: 0;
    color: var(--bog-ink);
    font-size: 30px;
    font-weight: 880;
    letter-spacing: -0.03em;
}

.btf-comments-header > p {
    margin: 0;
    color: var(--bog-copy);
    font-size: 13px;
}

.btf-comment-form-panel {
    padding: 22px;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-top: 4px solid var(--bog-yellow);
    border-radius: var(--bog-radius);
}

.btf-comment-form-panel h3 {
    margin: 0;
    color: var(--bog-ink);
    font-size: 18px;
    font-weight: 850;
}

.btf-form-note {
    margin: 8px 0 18px;
    padding: 10px 12px;
    color: var(--bog-copy);
    background: #eef4fb;
    border-left: 3px solid var(--bog-blue-700);
    border-radius: 0 var(--bog-radius-sm) var(--bog-radius-sm) 0;
    font-size: 12px;
}

.btf-form-note i {
    margin-right: 6px;
    color: var(--bog-blue-700);
}

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

.btf-field-wide {
    grid-column: 1 / -1;
}

.btf-field label,
.btf-field-label {
    margin-bottom: 6px;
    display: block;
    color: var(--bog-ink);
    font-size: 12px;
    font-weight: 800;
}

.btf-field label span {
    color: var(--bog-red);
}

.btf-field label small,
.btf-field-label small {
    color: var(--bog-muted);
    font-weight: 600;
}

.btf-field input[type="text"],
.btf-field textarea {
    width: 100%;
    padding: 11px 12px;
    color: var(--bog-ink);
    background: var(--bog-white);
    border: 1px solid var(--bog-border-strong);
    border-radius: var(--bog-radius-sm);
    outline: 0;
}

.btf-field textarea {
    min-height: 116px;
    resize: vertical;
}

.btf-field input:focus,
.btf-field textarea:focus {
    border-color: var(--bog-blue-700);
    box-shadow: 0 0 0 3px rgba(23, 92, 211, 0.12);
}

.btf-char-count {
    margin-top: 4px;
    color: var(--bog-muted);
    font-size: 10px;
    text-align: right;
}

.btf-upload-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.btf-upload-button {
    min-height: 40px;
    margin: 0 !important;
    padding: 8px 12px;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    color: var(--bog-blue-700) !important;
    background: #edf4ff;
    border: 1px solid #c7d9f2;
    border-radius: var(--bog-radius-sm);
    cursor: pointer;
}

.btf-form-actions,
.btf-inline-actions {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.btf-form-actions p {
    margin: 0;
    color: var(--bog-muted);
    font-size: 11px;
}

.comments-stack {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.btf-comment-item,
.btf-reply-item {
    padding: 17px;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius);
}

.btf-reply-item {
    margin-top: 10px;
    background: #f9fbfd;
}

.btf-comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btf-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bog-white);
    background: var(--bog-purple);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 850;
}

.btf-avatar-small {
    width: 30px;
    height: 30px;
    font-size: 11px;
}

.btf-comment-meta strong {
    display: block;
    color: var(--bog-ink);
    font-size: 13px;
}

.btf-comment-meta em {
    color: var(--bog-muted);
    font-size: 11px;
    font-style: normal;
}

.btf-comment-meta time {
    display: block;
    color: var(--bog-muted);
    font-size: 10px;
}

.btf-comment-text {
    margin: 12px 0 0;
    color: var(--bog-copy);
    font-size: 14px;
}

.btf-comment-actions {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.btf-comment-actions button {
    min-height: 34px;
    padding: 5px 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--bog-copy);
    background: #f1f4f8;
    border: 1px solid var(--bog-border);
    border-radius: 5px;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.btf-comment-actions button:hover,
.btf-vote-active {
    color: var(--bog-blue-700) !important;
    border-color: #b8cce8 !important;
    background: #edf4ff !important;
}

.reply-form-container {
    margin-top: 14px;
    padding: 14px;
    background: #f7f9fc;
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius-sm);
}

.reply-form-container > p {
    margin: 0 0 12px;
    color: var(--bog-copy);
    font-size: 12px;
}

.btf-no-comments {
    margin-top: 16px;
    padding: 36px 20px;
    color: var(--bog-copy);
    background: var(--bog-white);
    border: 1px dashed var(--bog-border-strong);
    border-radius: var(--bog-radius);
    text-align: center;
}

.btf-no-comments > i {
    color: var(--bog-blue-700);
    font-size: 26px;
}

.btf-no-comments h3 {
    margin: 9px 0 0;
    color: var(--bog-ink);
    font-size: 17px;
}

.btf-no-comments p {
    margin: 4px 0 0;
    font-size: 12px;
}

.image-preview {
    margin-top: 10px;
}

.image-preview img {
    max-width: 180px;
    max-height: 150px;
    object-fit: contain;
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius-sm);
}

.remove-image-btn {
    margin-top: 6px;
    display: block;
    color: var(--bog-red);
    background: transparent;
    border: 0;
    font-size: 11px;
    font-weight: 750;
    cursor: pointer;
}

.comment-error,
.btf-success-message {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: var(--bog-radius-sm);
    font-size: 12px;
}

.comment-error {
    color: #8f2631;
    background: #fff0f2;
    border: 1px solid #f2c7cc;
}

.btf-success-message {
    color: #0f6847;
    background: #e9f7f1;
    border: 1px solid #b9dfd0;
}

.btf-toast {
    position: fixed;
    z-index: 1000;
    right: 20px;
    bottom: 20px;
    max-width: 340px;
    padding: 12px 15px;
    color: var(--bog-white);
    background: var(--bog-navy-950);
    border-left: 4px solid var(--bog-yellow);
    border-radius: var(--bog-radius-sm);
    box-shadow: var(--bog-shadow);
    font-size: 12px;
}

.image-lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    padding: 30px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(6, 23, 53, 0.92);
}

.image-lightbox.active,
.image-lightbox.is-open {
    display: flex;
}

.image-lightbox-content {
    position: relative;
    max-width: 1000px;
    max-height: 90vh;
}

.image-lightbox-content img {
    max-height: 88vh;
    display: block;
    object-fit: contain;
}

.image-lightbox-close {
    position: absolute;
    top: -18px;
    right: -18px;
    width: 40px;
    height: 40px;
    color: var(--bog-white);
    background: var(--bog-blue-700);
    border: 0;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
}

.image-file-name {
    color: var(--bog-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.btf-comment-image {
    display: inline-flex;
    margin-top: 12px;
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius-sm);
    overflow: hidden;
}

.btf-comment-image img {
    width: auto;
    max-width: 260px;
    max-height: 200px;
    object-fit: cover;
}

.replies-list {
    margin-top: 14px;
    padding-left: 16px;
    border-left: 3px solid var(--bog-border);
}

.jump-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    background: var(--bog-surface);
}

.jump-card {
    width: min(100%, 570px);
    overflow: hidden;
    background: var(--bog-white);
    border: 1px solid var(--bog-border);
    border-radius: var(--bog-radius-lg);
    box-shadow: var(--bog-shadow);
}

.jump-card-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 20px;
    background: var(--bog-navy-900);
    border-bottom: 4px solid var(--bog-yellow);
}

.jump-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--bog-white);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.08;
}

.jump-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.jump-state {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 5px 10px;
    color: var(--bog-navy-950);
    background: var(--bog-yellow);
    border-radius: var(--bog-radius-sm);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.jump-state.is-error {
    color: var(--bog-white);
    background: var(--bog-red);
}

.jump-card-body {
    padding: 36px 34px 32px;
}

.jump-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: #0f6847;
    background: #e9f7f1;
    border: 1px solid #b9dfd0;
    border-radius: 50%;
    font-size: 20px;
}

.jump-icon.is-error {
    color: #8f2631;
    background: #fff0f2;
    border-color: #f2c7cc;
}

.jump-title {
    margin: 20px 0 0;
    color: var(--bog-ink);
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.jump-progress {
    height: 6px;
    margin-top: 24px;
    overflow: hidden;
    background: var(--bog-blue-100);
    border-radius: 3px;
}

.jump-progress-bar {
    width: 100%;
    height: 100%;
    background: var(--bog-blue-700);
    transform-origin: left center;
}

.jump-meta {
    margin-top: 9px;
    color: var(--bog-muted);
    font-size: 12px;
}

.jump-actions {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.jump-button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 15px;
    border: 1px solid var(--bog-border-strong);
    border-radius: var(--bog-radius-sm);
    font-size: 13px;
    font-weight: 850;
}

.jump-button-primary {
    color: var(--bog-white);
    background: var(--bog-blue-700);
    border-color: var(--bog-blue-700);
}

.jump-button-secondary {
    color: var(--bog-ink);
    background: var(--bog-white);
}

@keyframes jumpProgress {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

@media (max-width: 1100px) {
    .bog-hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(310px, 0.62fr);
        gap: 32px;
    }

    .bog-level-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bog-level-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 24px;
    }

    .bog-footer-grid {
        grid-template-columns: 1.5fr repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .bog-desktop-nav {
        display: none;
    }

    .bog-menu-button {
        display: inline-flex;
    }

    .bog-nav {
        min-height: 68px;
    }

    .bog-hero {
        padding: 42px 0;
    }

    .bog-hero-grid,
    .bog-heading-row,
    .bog-how-layout,
    .bog-faq-layout,
    .bog-page-header-inner,
    .bog-editorial-layout,
    .bog-contact-layout,
    .bog-legal-layout,
    .bog-play-header,
    .bog-level-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .bog-hero-copy h1 {
        max-width: 640px;
        font-size: clamp(40px, 8vw, 60px);
    }

    .bog-game-preview {
        max-width: 590px;
    }

    .bog-how-intro,
    .bog-faq-intro,
    .bog-editorial-summary,
    .bog-contact-primary,
    .bog-legal-nav,
    .bog-level-sidebar,
    .bog-legal-toc {
        position: static;
    }

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

    .bog-how-intro,
    .bog-faq-intro,
    .bog-editorial-summary,
    .bog-contact-primary {
        max-width: 680px;
    }

    .bog-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .bog-level-sidebar {
        display: none;
    }

    .bog-bottom-nav {
        display: block;
    }
}

@media (max-width: 768px) {
    .bog-container {
        width: min(100% - 32px, var(--bog-container));
    }

    .bog-topbar {
        min-height: 38px;
        font-size: 10px;
    }

    .bog-topbar-inner {
        align-items: flex-start;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .bog-topbar-links {
        display: none;
    }

    .bog-section {
        padding: 10px 0;
    }

    .bog-page-header {
        padding: 34px 0 30px;
    }

    .bog-hero-actions,
    .bog-play-actions {
        width: 100%;
    }

    .bog-hero-actions .bog-button,
    .bog-play-actions .bog-button {
        flex: 1 1 190px;
    }

    .bog-feature-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bog-feature-item {
        min-height: 0;
        display: grid;
        grid-template-columns: 30px 42px minmax(0, 1fr);
        gap: 12px;
        align-items: start;
    }

    .bog-feature-item > i {
        margin-top: 0;
    }

    .bog-feature-item h3 {
        margin-top: 0;
    }

    .bog-about-facts,
    .bog-contact-cards,
    .bog-legal-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bog-legal-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3px 6px;
    }

    .bog-legal-nav h2 {
        grid-column: 1 / -1;
    }

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

    .bog-footer-brand {
        grid-column: 1 / -1;
    }

    .bog-footer-bottom {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .bog-footer-bottom p:last-child {
        max-width: none;
        justify-self: stretch;
        text-align: left;
    }

    .bog-level-heading,
    .bog-play-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bog-version-tabs {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 5px;
    }

    .bog-guide-step {
        grid-template-columns: minmax(0, 1fr);
    }

    .btf-comments-header {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        align-items: start;
    }

    .btf-comments-header h2 {
        display: flex;
        align-items: baseline;
        flex-wrap: nowrap;
        gap: 7px;
    }

    .btf-comments-header .comment-count {
        white-space: nowrap;
    }

    .btf-form-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .btf-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .btf-field-wide {
        grid-column: auto;
    }

    .bog-bottom-nav {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 640px) {
    .bog-container {
        width: min(100% - 24px, var(--bog-container));
    }

    .bog-brand-copy strong {
        font-size: 13px;
    }

    .bog-brand-copy span {
        font-size: 9px;
    }

    .bog-brand img {
        width: 40px;
        height: 40px;
    }

    .bog-level-hero {
        padding: 18px 0 22px;
    }

    .bog-level-breadcrumb {
        gap: 5px;
        font-size: 11px;
    }

    .bog-level-breadcrumb a {
        gap: 4px;
    }

    .bog-level-breadcrumb > i {
        font-size: 8px;
    }

    .bog-level-title-row {
        margin-top: 12px;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .bog-level-route-marker {
        display: none;
    }

    .bog-level-eyebrow {
        font-size: 9px;
        letter-spacing: 0.12em;
    }

    .bog-level-title-copy h1 {
        margin-top: 4px;
        font-size: clamp(30px, 8.5vw, 34px);
        line-height: 1.06;
    }

    .bog-level-title-copy > p:last-child {
        margin-top: 8px;
        font-size: 13px;
        line-height: 1.55;
    }

    .bog-hero {
        padding: 34px 0;
    }

    .bog-hero-copy h1 {
        font-size: clamp(37px, 12vw, 48px);
    }

    .bog-hero-text {
        margin-top: 18px;
        font-size: 16px;
    }

    .bog-hero-actions {
        margin-top: 22px;
    }

    .bog-hero-actions .bog-button,
    .bog-play-actions .bog-button {
        flex-basis: 100%;
    }

    .bog-search-row {
        grid-template-columns: minmax(0, 1fr) 54px;
    }

    .bog-search-row button {
        min-width: 0;
        padding: 0;
        font-size: 0;
    }

    .bog-search-row button i {
        margin: 0;
        font-size: 14px;
    }

    .bog-level-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .level-tabs-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .level-range-tab {
        width: 100%;
        min-height: 36px;
        padding: 5px 7px;
        gap: 5px;
        font-size: 12px;
    }

    .bog-range-picker {
        /* Four 36px rows plus three 6px gaps before expansion is needed. */
        --level-tabs-collapsed-height: 162px;
        margin-top: 24px;
    }

    .bog-level-card-body {
        padding: 10px;
    }

    .bog-level-card-body h2,
    .bog-level-card-body h3 {
        font-size: 14px;
    }

    .bog-level-guide-types {
        gap: 4px;
    }

    .bog-level-guide-types span {
        padding: 3px 5px;
        font-size: 9px;
    }

    .bog-page-header h1,
    .bog-section-heading h2,
    .bog-how-intro h2,
    .bog-faq-intro h2 {
        font-size: clamp(29px, 9vw, 38px);
    }

    .bog-editorial-content > section,
    .bog-legal-content > section,
    .bog-contact-primary,
    .bog-contact-reasons > section,
    .bog-play-panel,
    .btf-comments-section,
    .bog-guide-panel {
        padding: 4px 4px;
    }

    .bog-legal-article h2 {
        font-size: 23px;
    }

    .bog-footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bog-footer-brand {
        grid-column: auto;
    }

    .bog-bottom-nav .bog-all-levels-button {
        min-width: 68px;
        padding-inline: 10px;
    }

    .btf-comment-module {
        padding: 0;
    }

    .btf-comment-form-panel,
    .btf-comment-item {
        padding: 16px 14px;
    }

    .btf-comment-meta {
        align-items: flex-start;
    }

    .btf-comment-image img {
        max-width: 100%;
    }

    .btf-toast {
        right: 12px;
        bottom: 12px;
        left: 12px;
        max-width: none;
    }

    .jump-page {
        padding: 12px;
    }

    .jump-card-body {
        padding: 28px 20px 24px;
    }

    .jump-card-header {
        padding: 12px 14px;
    }

    .jump-actions,
    .jump-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
