html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

:root {
    --lc-ink: #321b0d;
    --lc-ink-soft: #65401f;
    --lc-text: #3a2112;
    --lc-muted: #705333;
    --lc-paper: rgba(255, 235, 190, 0.92);
    --lc-paper-strong: rgba(255, 244, 219, 0.96);
    --lc-paper-soft: rgba(250, 218, 163, 0.86);
    --lc-line: rgba(113, 65, 24, 0.28);
    --lc-line-strong: rgba(90, 48, 16, 0.52);
    --lc-accent: #b95f16;
    --lc-accent-strong: #df7c1f;
    --lc-gold: #f3b54e;
    --lc-sky: #ffe1a4;
    --lc-green: #7eb33e;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        linear-gradient(180deg, rgba(255, 212, 125, 0.42), rgba(255, 235, 190, 0.92) 42%, rgba(186, 102, 33, 0.18)),
        url('/images/bg.png') center top / 620px auto repeat,
        #f2c476;
    color: var(--lc-text);
    font-family: "Trebuchet MS", Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 4%, rgba(255, 255, 217, 0.72), transparent 25rem),
        radial-gradient(circle at 86% 8%, rgba(212, 91, 20, 0.18), transparent 28rem),
        linear-gradient(90deg, rgba(76, 33, 8, 0.18), transparent 15%, transparent 85%, rgba(76, 33, 8, 0.2));
}

img {
    max-width: 100%;
    height: auto;
}

h1,
h2,
h3,
.brand-lockup,
.hero-title,
.btn-western,
.btn-western-primary,
.btn-western-secondary {
    font-family: Rockwell, "Bookman Old Style", Georgia, serif;
    letter-spacing: 0;
}

a {
    color: var(--lc-accent);
    text-decoration: none;
}

a:hover {
    color: var(--lc-ink);
}

.market-strip {
    height: 48px;
    background: linear-gradient(180deg, #fff2cd, #e0a548);
    border-top: 4px solid #a4c878;
    border-bottom: 1px solid rgba(93, 46, 10, 0.24);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    box-shadow: 0 8px 24px rgba(91, 44, 12, 0.24);
}

.market-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--lc-ink);
    font-weight: 900;
    font-size: 1.02rem;
}

.market-mark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    background: var(--lc-green);
    color: #fff7d8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 900;
    transform: skew(-12deg);
    box-shadow: 0 2px 5px rgba(57, 31, 10, 0.24);
}

.market-buy {
    background: linear-gradient(180deg, #8cc64c, #628f2d);
    color: #ffffff;
    border-radius: 3px;
    padding: 8px 17px;
    font-size: 0.86rem;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 3px 8px rgba(72, 43, 9, 0.18);
}

.site-header {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    z-index: 1040;
    background:
        linear-gradient(180deg, rgba(96, 49, 15, 0.94), rgba(56, 29, 12, 0.94)),
        url('/images/bg.png') center / 480px auto repeat;
    border-bottom: 2px solid rgba(255, 188, 81, 0.58);
    box-shadow: 0 12px 30px rgba(91, 44, 12, 0.28);
}

.site-nav {
    width: min(1080px, calc(100% - 32px));
    margin: 0 auto;
}

.nav-utility,
.nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-utility {
    min-height: 40px;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 900;
}

.utility-links,
.utility-icons,
.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.utility-links a,
.utility-icons a,
.lang-link {
    color: #fff4d2;
    opacity: 0.9;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
}

.utility-links a:hover,
.utility-icons a:hover,
.lang-link:hover,
.lang-link.active {
    color: var(--lc-gold);
    opacity: 1;
}

.theme-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border: 1px solid rgba(255, 235, 193, 0.34);
    background: rgba(42, 21, 8, 0.22);
}

.theme-link {
    padding: 4px 8px;
    color: #fff4d2;
}

.theme-link.active {
    background: rgba(255, 225, 164, 0.22);
    color: var(--lc-gold);
}

.nav-main {
    min-height: 82px;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff5d7;
    font-size: 1.35rem;
    font-weight: 900;
    white-space: nowrap;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.46);
}

.brand-emblem {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(52, 24, 6, 0.45));
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 236, 193, 0.62);
    border-radius: 0;
    background: rgba(42, 21, 8, 0.38);
    color: #fff4d2;
    padding: 9px 12px;
}

.menu-label {
    color: #fff4d2;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.menu-dots {
    display: inline-grid;
    grid-template-columns: repeat(3, 4px);
    gap: 4px;
}

.menu-dots span {
    width: 4px;
    height: 4px;
    background: #fff4d2;
    display: block;
}

.nav-links {
    align-items: center;
    justify-content: flex-end;
    gap: 27px;
}

.nav-mobile-controls {
    display: none;
}

.nav-links a {
    color: #fff4d2;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.nav-links a::after {
    content: "...";
    color: rgba(255, 215, 141, 0.68);
    font-size: 0.62rem;
    letter-spacing: 2px;
    line-height: 1;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--lc-gold);
}

.nav-links a.active::after {
    color: var(--lc-gold);
}

.nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 17px;
    color: #fff4d2;
    font-weight: 900;
}

.site-content {
    padding-top: 170px;
}

.hero-panel {
    min-height: 560px;
    display: grid;
    align-items: start;
    justify-items: center;
    text-align: center;
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(90deg, rgba(75, 32, 7, 0.36), rgba(255, 199, 99, 0.16), rgba(75, 32, 7, 0.28)),
        linear-gradient(180deg, rgba(255, 239, 187, 0.1), rgba(89, 42, 10, 0.26)),
        url('/images/banner.png?v=20260604-4') center top / cover no-repeat;
    border-bottom: 4px solid rgba(146, 76, 22, 0.32);
    overflow: hidden;
}

.hero-panel::before,
.showcase-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(68, 31, 7, 0.52) 0, transparent 9%, transparent 91%, rgba(68, 31, 7, 0.46) 100%),
        linear-gradient(180deg, rgba(255, 232, 174, 0.28) 0, transparent 20%, rgba(87, 43, 10, 0.2) 100%);
    z-index: -1;
}

.hero-content {
    width: min(760px, calc(100% - 32px));
    padding: 40px 0 54px;
}

.hero-logo {
    display: none;
}

.hero-title {
    color: #fff3c8;
    font-size: 2.85rem;
    font-weight: 900;
    margin: 0 0 12px;
    text-shadow: 0 3px 0 #5a2b0d, 0 12px 30px rgba(67, 28, 5, 0.68);
}

.hero-subtitle {
    color: #fff9df;
    font-size: 1.04rem;
    font-weight: 900;
    margin: 0 auto 10px;
    text-shadow: 0 2px 8px rgba(70, 30, 5, 0.68);
}

.hero-text {
    width: min(640px, 100%);
    margin: 0 auto 34px;
    color: #fff5d7;
    line-height: 1.65;
    font-weight: 800;
    text-shadow: 0 2px 7px rgba(70, 30, 5, 0.7);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.btn-western,
.btn-western-primary,
.btn-western-secondary {
    border-radius: 0;
    min-width: 150px;
    padding: 0.78rem 1.4rem;
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.btn-western,
.btn-western-primary {
    background: linear-gradient(180deg, rgba(255, 224, 157, 0.94), rgba(198, 99, 22, 0.92));
    border: 2px solid #70320b;
    color: #331806;
    box-shadow: 0 8px 18px rgba(73, 31, 7, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-western-secondary {
    background: linear-gradient(180deg, #6d3510, #3a1b08);
    border: 2px solid #2a1205;
    color: #fff4d1;
    box-shadow: 0 8px 18px rgba(73, 31, 7, 0.3), inset 0 1px 0 rgba(255, 220, 150, 0.24);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.btn-western:hover,
.btn-western-primary:hover,
.btn-western-secondary:hover {
    background: linear-gradient(180deg, #fff2c1, #f09a2d);
    border-color: #4b2108;
    color: #251006;
    transform: translateY(-2px);
}

.showcase-section {
    position: relative;
    isolation: isolate;
    padding: 76px 0 88px;
    background:
        linear-gradient(180deg, rgba(255, 228, 168, 0.72), rgba(237, 171, 80, 0.78)),
        url('/images/bg.png') center / 580px auto repeat;
}

.showcase-section::before {
    background:
        linear-gradient(90deg, rgba(95, 46, 12, 0.2), transparent 15%, transparent 85%, rgba(95, 46, 12, 0.18)),
        radial-gradient(circle at 50% 0, rgba(255, 252, 223, 0.76), transparent 34rem);
}

.showcase-inner,
.content-panel,
.page-panel,
.footer-inner {
    width: min(1080px, calc(100% - 32px));
    margin-left: auto;
    margin-right: auto;
}

.showcase-inner {
    display: grid;
    grid-template-columns: 0.86fr 1.3fr;
    align-items: center;
    gap: 44px;
}

.intro-copy h2,
.content-panel h1,
.content-panel h2,
.page-panel h1,
.page-panel h2 {
    color: var(--lc-ink);
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.44);
}

.intro-copy p,
.content-panel p,
.content-panel li,
.page-panel p,
.page-panel li {
    color: var(--lc-muted);
    line-height: 1.72;
}

.section-kicker {
    color: var(--lc-accent) !important;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.5rem !important;
}

.preview-wall {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: center;
}

.preview-card {
    display: block;
    overflow: hidden;
    background: #7b4319;
    border: 3px solid rgba(116, 61, 20, 0.38);
    box-shadow: 0 18px 34px rgba(88, 43, 12, 0.28);
}

.preview-card img {
    width: 100%;
    height: 320px;
    display: block;
    object-fit: cover;
    opacity: 0.96;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.preview-card-large img {
    height: 320px;
}

.preview-card:hover img {
    transform: scale(1.035);
    opacity: 1;
}

.content-panel,
.page-panel {
    background:
        linear-gradient(180deg, var(--lc-paper-strong), var(--lc-paper)),
        url('/images/bg.png') center / 560px auto repeat;
    border: 1px solid var(--lc-line);
    box-shadow: 0 18px 42px rgba(89, 43, 12, 0.2);
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.content-panel-dark {
    margin-top: 0;
    border-top: 0;
}

.content-panel h3,
.page-panel h3 {
    color: var(--lc-ink);
}

.feature-grid,
.news-preview,
.screenshot-grid {
    display: grid;
    gap: 20px;
    margin-top: 24px;
}

.feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.news-preview {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.screenshot-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card,
.news-preview-item,
.download-box,
.mobile-download-note,
.section-card,
.shot-card {
    background:
        linear-gradient(180deg, rgba(255, 249, 229, 0.9), rgba(239, 190, 115, 0.72)),
        url('/images/bg.png') center / 480px auto repeat;
    border: 1px solid var(--lc-line-strong);
    padding: 1.35rem;
    height: 100%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 8px 20px rgba(88, 43, 12, 0.14);
}

.feature-card h3,
.news-preview-item h3,
.download-box h2,
.mobile-download-note h2 {
    color: var(--lc-ink);
    font-size: 1.15rem;
    margin-bottom: 0.85rem;
}

.feature-card p,
.news-preview-item p {
    margin-bottom: 0;
}

.news-entry {
    border-left: 5px solid var(--lc-accent);
}

.news-entry .news-meta {
    color: var(--lc-accent);
    font-size: 0.92rem;
    font-weight: 900;
    margin-bottom: 0.9rem;
}

.shot-card {
    text-align: center;
}

.shot-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(92, 48, 16, 0.35);
}

.shot-card img.screenshot-thumb {
    cursor: pointer;
}

.shot-card p {
    margin: 0.85rem 0 0;
    color: var(--lc-ink);
    font-weight: 900;
}

.western-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: rgba(255, 245, 220, 0.84);
    color: var(--lc-muted);
}

.western-table th,
.western-table td {
    border: 1px solid var(--lc-line-strong);
    padding: 12px;
    text-align: left;
    vertical-align: middle;
}

.western-table th {
    background: rgba(183, 99, 28, 0.24);
    color: var(--lc-ink);
}

.western-table tbody tr:nth-child(even) {
    background: rgba(180, 95, 24, 0.07);
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.small-note {
    margin-top: 20px;
    font-size: 0.95rem;
    color: var(--lc-muted);
}

.text-link {
    color: var(--lc-accent);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.text-link:hover {
    color: var(--lc-ink);
}

.newsletter-form {
    display: grid;
    gap: 18px;
    max-width: 720px;
    margin-top: 24px;
}

.newsletter-field {
    display: grid;
    gap: 8px;
}

.newsletter-field label,
.newsletter-consent {
    color: var(--lc-ink);
    font-weight: 900;
}

.newsletter-field input {
    width: 100%;
    min-height: 52px;
    border: 2px solid rgba(112, 50, 11, 0.62);
    background: rgba(255, 246, 211, 0.88);
    color: var(--lc-ink);
    box-shadow: inset 0 2px 8px rgba(87, 43, 10, 0.13);
    padding: 0 16px;
    font-weight: 700;
}

.newsletter-field input:focus {
    outline: 3px solid rgba(212, 123, 32, 0.32);
    border-color: #70320b;
}

.newsletter-consent {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    align-items: start;
    line-height: 1.55;
}

.newsletter-consent input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    accent-color: var(--lc-accent);
}

.newsletter-validation {
    color: #8d180d;
    font-size: 0.92rem;
    font-weight: 800;
}

.newsletter-message {
    border: 2px solid rgba(112, 50, 11, 0.3);
    margin: 22px 0;
    padding: 18px 20px;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(78, 37, 10, 0.12);
}

.newsletter-message-success {
    background: rgba(255, 241, 194, 0.92);
    color: #4d2609;
}

.newsletter-message-error {
    background: rgba(255, 220, 196, 0.92);
    color: #7a160e;
}

.server-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
    color: #fff1cf;
    font-size: 0.86rem;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.online {
    background: #2ecc71;
    box-shadow: 0 0 6px #2ecc71;
}

.status-dot.offline {
    background: #e74c3c;
}

.footer {
    background:
        linear-gradient(180deg, rgba(102, 52, 15, 0.96), rgba(59, 31, 13, 0.98)),
        url('/images/bg.png') center / 520px auto repeat;
    border-top: 2px solid rgba(255, 191, 85, 0.58);
    color: #fff1cf;
    margin-top: 3rem;
}

.footer-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 22px 0;
}

.footer a {
    color: #fff1cf;
}

.footer a:hover {
    color: var(--lc-gold);
}

.side-social {
    position: fixed;
    left: 22px;
    top: 48%;
    z-index: 1035;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.side-social a {
    color: #fff1cf;
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0.94;
    text-shadow: 0 2px 8px rgba(70, 30, 5, 0.7);
}

.side-social a:hover {
    color: var(--lc-gold);
}

.keep-touch {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1035;
    color: #371908;
    background: rgba(255, 238, 196, 0.86);
    border: 2px solid rgba(92, 48, 16, 0.5);
    padding: 12px 26px;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(70, 30, 5, 0.18);
}

.keep-touch:hover {
    background: var(--lc-accent-strong);
    border-color: var(--lc-accent);
    color: #fff6df;
}

.consent-banner {
    position: fixed;
    inset: auto auto 18px 18px;
    z-index: 1200;
    max-width: min(380px, calc(100vw - 36px));
}

.consent-banner.is-hidden {
    display: none;
}

.consent-banner-inner {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255, 244, 217, 0.98), rgba(239, 189, 113, 0.98)),
        url('/images/bg.png') center / 420px auto repeat;
    border: 2px solid rgba(91, 46, 12, 0.46);
    box-shadow: 0 18px 38px rgba(73, 31, 7, 0.3);
    padding: 2.1rem 1.6rem 1.55rem;
}

.consent-close {
    position: absolute;
    top: 13px;
    right: 14px;
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: var(--lc-ink);
    font-size: 1.45rem;
    line-height: 1;
}

.consent-banner-text {
    margin: 0;
    color: var(--lc-ink);
    line-height: 1.58;
    font-weight: 900;
    font-size: 0.92rem;
}

.consent-banner-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.consent-btn {
    min-width: 118px;
    padding: 0.58rem 0.9rem;
    font-size: 0.78rem;
}

.consent-more {
    color: var(--lc-accent);
    font-weight: 900;
}

.screenshot-modal .modal-dialog {
    max-width: calc(75vw + 24px);
    width: auto;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-modal .modal-content {
    background: var(--lc-paper-strong);
    border: 1px solid var(--lc-line-strong);
    border-radius: 0;
}

.screenshot-modal .modal-body {
    padding: 0.35rem 0.2rem;
    display: flex;
    justify-content: center;
}

.screenshot-modal #screenshotModalImage {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: 1px solid var(--lc-line-strong);
}

.screenshot-modal-close {
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    z-index: 2;
}

.screenshot-modal .modal-footer {
    border-top: 0;
    justify-content: center;
    padding-top: 0.3rem;
    padding-bottom: 0.9rem;
}

.mobile-download-note {
    display: none;
}

.bugshot-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bugshot-header-image {
    width: 20%;
    min-width: 0;
    flex: 0 0 auto;
    border: 1px solid var(--lc-line-strong);
}

.bugshot-header-text {
    flex: 1 1 auto;
}

.bugshot-header-text h1 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.bugshot-header-text p {
    margin-bottom: 0;
}

@media (max-width: 1190px) {
    .nav-links {
        gap: 18px;
    }

    .side-social {
        display: none;
    }
}

@media (min-width: 992px) {
    #mainNav.nav-links {
        display: flex !important;
    }
}

@media (max-width: 991.98px) {
    .market-strip {
        height: 44px;
    }

    .site-header {
        top: 44px;
    }

    .site-nav {
        width: min(100% - 24px, 1080px);
    }

    .nav-utility {
        display: none;
    }

    .nav-main {
        min-height: 72px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .nav-links {
        flex-basis: 100%;
        width: 100%;
        margin-top: 0;
        padding: 14px 0 18px;
        background:
            linear-gradient(180deg, rgba(95, 48, 15, 0.98), rgba(56, 29, 12, 0.98)),
            url('/images/bg.png') center / 480px auto repeat;
        border-top: 1px solid rgba(255, 235, 193, 0.24);
        gap: 0;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .nav-mobile-controls {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        padding: 0 10px 12px;
        margin-bottom: 4px;
        border-bottom: 1px solid rgba(255, 235, 193, 0.18);
    }

    .mobile-control-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .mobile-pill {
        justify-content: center;
        align-items: center !important;
        min-height: 44px;
        padding: 10px 8px !important;
        border: 1px solid rgba(255, 235, 193, 0.42) !important;
        background: rgba(255, 244, 210, 0.08);
        color: #fff4d2 !important;
        box-shadow: inset 0 0 0 1px rgba(90, 42, 11, 0.28);
        text-align: center;
    }

    .mobile-pill.active {
        background: linear-gradient(180deg, #ffd37a, #c77622);
        color: #3a1b08 !important;
        border-color: rgba(255, 238, 190, 0.9) !important;
        text-shadow: none;
    }

    #mainNav.nav-links.collapse:not(.show) {
        display: none !important;
    }

    #mainNav.nav-links.collapse.show,
    #mainNav.nav-links.collapsing {
        display: flex !important;
    }

    .nav-links a {
        align-items: flex-start;
        padding: 14px 10px;
        min-height: 44px;
        border-bottom: 1px solid rgba(255, 235, 193, 0.12);
        font-size: 0.9rem;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-actions {
        display: none;
    }

    .site-content {
        padding-top: 116px;
    }

    .hero-panel {
        min-height: 470px;
    }

    .hero-title {
        font-size: 2.45rem;
    }

    .showcase-inner {
        grid-template-columns: 1fr;
    }

    .preview-wall {
        grid-template-columns: 1fr;
    }

    .preview-card img,
    .preview-card-large img {
        height: 260px;
    }

    .bugshot-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bugshot-header-image {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .market-brand span:last-child {
        display: none;
    }

    .market-buy {
        padding: 7px 12px;
    }

    .brand-lockup {
        font-size: 1.12rem;
    }

    .brand-emblem {
        width: 34px;
        height: 34px;
    }

    .hero-content {
        padding: 28px 0 44px;
    }

    .hero-logo {
        display: none;
    }

    .hero-title {
        font-size: 2.36rem;
    }

    .hero-subtitle,
    .hero-text {
        font-size: 0.95rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .showcase-section {
        padding: 48px 0 56px;
    }

    .content-panel,
    .page-panel {
        padding: 1.25rem;
        margin-top: 1.2rem;
        margin-bottom: 1.2rem;
        overflow-wrap: anywhere;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .server-status-indicator {
        display: flex;
        margin-left: 0;
        margin-top: 10px;
    }

    .keep-touch {
        display: none;
    }

    .consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .western-table {
        font-size: 0.92rem;
        min-width: 640px;
    }

    .western-table th,
    .western-table td {
        padding: 8px;
    }

    .desktop-download-only {
        display: none;
    }

    .mobile-download-note {
        display: block;
    }

    .bugshot-header-image {
        width: 100% !important;
    }
}
