
    body.case-dynamiccode {
        --page-bg: #6f8368;
        --ink: #f5efe6;
        --muted: rgba(245, 239, 230, 0.84);
        --line: #c1711d;
        background: var(--page-bg) !important;
        color: var(--ink);
    }
    body.case-dynamiccode .case-page,
    body.case-dynamiccode .case-media,
    body.case-dynamiccode .case-extra,
    body.case-dynamiccode .case-gallery-section {
        background: var(--page-bg) !important;
    }
    body.case-dynamiccode.case-detail .case-hero-video::before { content: none !important; }
    body.case-dynamiccode .case-hero-bg { object-fit: cover; filter: brightness(.72) saturate(.95); }
    body.case-dynamiccode .case-hero-inner { text-align: center; }

    body.case-dynamiccode .case-we-do {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    body.case-dynamiccode .we-do-title,
    body.case-dynamiccode .we-do-list li,
    body.case-dynamiccode .case-left p,
    body.case-dynamiccode .section-lead,
    body.case-dynamiccode .video-text p,
    body.case-dynamiccode .text-card p,
    body.case-dynamiccode .gallery-lead {
        color: var(--muted) !important;
    }

    /* Match Qstar header spacing/structure */
    body.case-dynamiccode .header {
        background: transparent !important;
    }

    .section-wrap { width: min(1140px, 92vw); margin: 0 auto; padding: 18px 0 0; }
    .section-center { text-align: center; padding: 10px 0 6px; }
    .section-lead { max-width: 900px; margin: 0 auto 34px; font-size: 18px; line-height: 1.88; }
    .feature-video { width: min(1180px, 94vw); margin: 0 auto; }
    .feature-video video, .video-card video {
        width: 100%;
        display: block;
        border-radius: 18px;
        background: #050505;
        box-shadow: 0 12px 36px rgba(0,0,0,.24);
    }
    .video-text { width: min(920px, 90vw); margin: 18px auto 0; text-align: center; }
    .video-text p { margin: 0; font-size: 18px; line-height: 1.85; }

    .case-extra { padding: 18px 0 24px; }
    .film-row { width: min(1180px, 94vw); margin: 0 auto 48px; display: grid; grid-template-columns: 1.04fr .96fr; gap: 34px; align-items: center; }
    .film-row.reverse { grid-template-columns: .96fr 1.04fr; }
    .film-row.reverse .video-card { order: 2; }
    .film-row.reverse .text-card { order: 1; }
    .text-card p { margin: 0 0 14px; font-size: 18px; line-height: 1.9; max-width: 46ch; }
    .text-card p:last-child { margin-bottom: 0; }

    .case-gallery-section { padding: 20px 0 90px; }
    .gallery-wrap { width: min(1240px, 94vw); margin: 0 auto; }
    .gallery-center { text-align: center; padding-bottom: 18px; }
    .gallery-lead { max-width: 920px; margin: 0 auto 26px; font-size: 18px; line-height: 1.88; }
    .still-grid { column-count: 4; column-gap: 18px; }
    .still-card { position: relative; overflow: hidden; border-radius: 20px; background: #111; box-shadow: 0 10px 28px rgba(0,0,0,.22); margin: 0 0 18px; break-inside: avoid; }
    .still-card img { width: 100%; display: block; object-fit: cover; }

    /* Hard text fix + single underline system */
    html body.case-detail,
    html body.case-detail * {
        -webkit-font-smoothing: antialiased;
        text-rendering: geometricPrecision;
    }
    body.case-dynamiccode .section-title,
    body.case-dynamiccode .gallery-title,
    body.case-dynamiccode .text-card h3,
    body.case-dynamiccode .marked-title,
    body.case-dynamiccode .we-do-title,
    body.case-dynamiccode .we-do-list,
    body.case-dynamiccode .we-do-list li,
    body.case-dynamiccode .top-nav a,
    body.case-dynamiccode .contact a {
        text-shadow: none !important;
        -webkit-text-stroke: 0 transparent !important;
        -webkit-text-stroke-width: 0 !important;
        font-synthesis: none !important;
        font-synthesis-weight: none !important;
        font-synthesis-style: none !important;
        text-decoration: none !important;
        box-shadow: none !important;
        background: none !important;
        background-image: none !important;
        border-bottom: 0 !important;
        font-weight: 400 !important;
    }
    body.case-dynamiccode .section-title::before,
    body.case-dynamiccode .section-title::after,
    body.case-dynamiccode .gallery-title::before,
    body.case-dynamiccode .gallery-title::after,
    body.case-dynamiccode .text-card h3::before,
    body.case-dynamiccode .text-card h3::after,
    body.case-dynamiccode .marked-title::before,
    body.case-dynamiccode .marked-title::after {
        content: none !important;
        display: none !important;
    }
    .u-line {
        display: inline-block;
        position: relative;
        padding-bottom: 12px;
        line-height: 1.08;
        color: var(--ink);
    }
    .u-line::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 3px;
        border-radius: 999px;
        background: var(--line);
    }
    .section-title, .gallery-title {
        margin: 0 auto 16px;
        display: inline-block;
        font-size: clamp(34px, 5vw, 56px);
        line-height: 1.05;
        color: var(--ink);
    }
    .text-card h3 {
        margin: 0 0 16px;
        display: inline-block;
        font-size: clamp(24px, 3vw, 34px);
        line-height: 1.1;
        color: var(--ink);
    }

    /* Safari poster fix copied from Qstar */
    body.safari-poster-fix .dc-video-shell {
        position: relative;
        overflow: hidden;
        border-radius: 18px;
        background: #0a0a0a;
    }
    body.safari-poster-fix .dc-video-shell video {
        display: block;
        width: 100%;
        border-radius: 18px;
        background: #0a0a0a;
    }
    body.safari-poster-fix .dc-poster {
        position: absolute;
        inset: 0;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 18px;
    }
    body.safari-poster-fix .dc-poster::after {
        content: "";
        width: 74px;
        height: 74px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.35);
        backdrop-filter: saturate(120%) blur(2px);
        -webkit-backdrop-filter: saturate(120%) blur(2px);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
        position: relative;
    }
    body.safari-poster-fix .dc-poster::before {
        content: "";
        position: absolute;
        width: 0;
        height: 0;
        border-left: 18px solid #fff;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        transform: translateX(4px);
        z-index: 2;
    }
    body.safari-poster-fix .dc-video-shell.is-playing .dc-poster { display: none; }

    .feature-video,
    .video-card,
    .dc-video-shell {
        overflow: hidden !important;
        border-radius: 18px !important;
        background: #0a0a0a;
    }
    .feature-video::before,
    .feature-video::after,
    .video-card::before,
    .video-card::after,
    .dc-video-shell::before,
    .dc-video-shell::after {
        background: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        filter: none !important;
    }

    @media (max-width: 1050px) { .still-grid { column-count: 3; } }
    @media (max-width: 900px) {
        .film-row, .film-row.reverse { grid-template-columns: 1fr; gap: 18px; }
        .film-row.reverse .video-card, .film-row.reverse .text-card { order: initial; }
        .text-card { text-align: center; }
        .text-card p { max-width: none; }
        .still-grid { column-count: 2; }
    }
    @media (max-width: 640px) { .still-grid { column-count: 1; } }
