/* The transparent brand artwork sits directly on the preview's dark surface. */
.gk-live-preview-modal .gk-live-preview-bar {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "heading brand close";
    column-gap: 28px;
    min-height: 112px;
    padding: 16px 24px;
    background:
        radial-gradient(ellipse at 50% -65%, rgba(56, 188, 229, .19), transparent 68%),
        linear-gradient(105deg, #061630 0%, #092249 46%, #081e3e 75%, #07374c 100%);
    border-bottom: 1px solid rgba(131, 200, 231, .19);
}
.gk-live-preview-modal .gk-live-preview-bar::after {
    content: "";
    position: absolute;
    inset: auto 18% -1px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 0%, rgba(21, 186, 234, .6) 30%, rgba(246, 0, 151, .52) 61%, rgba(255, 204, 0, .44) 78%, transparent 100%);
}
.gk-live-preview-bar .gk-live-preview-heading {
    grid-area: heading;
    min-width: 0;
    gap: 13px;
}
.gk-live-preview-bar .gk-live-preview-heading > div { min-width: 0; }
.gk-live-preview-bar .gk-live-preview-heading span {
    color: #89cddd;
    font-size: 11px;
    line-height: 1.35;
    letter-spacing: .12em;
}
.gk-live-preview-bar .gk-live-preview-heading strong {
    max-width: 100%;
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.3;
}
.gk-live-preview-bar .gk-live-preview-brand {
    --gk-logo-width: 264px;
    position: relative;
    isolation: isolate;
    grid-area: brand;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: var(--gk-logo-width);
    min-height: 78px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}
.gk-live-preview-bar .gk-live-preview-brand::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: -16px -62px -12px;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 27% 45%, rgba(0, 185, 232, .15), transparent 56%),
        radial-gradient(ellipse at 68% 42%, rgba(245, 0, 145, .10), transparent 51%),
        radial-gradient(ellipse at 90% 52%, rgba(250, 193, 0, .07), transparent 42%);
    filter: blur(16px);
}
/* Two aligned views of the original PNG retain its exact letter shapes and alpha.
   Only the dark Grafik letters receive a light display treatment. */
.gk-live-preview-brand .gk-live-preview-brand-wordmark {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: var(--gk-logo-width);
    height: calc(var(--gk-logo-width) * .183);
    overflow: hidden;
}
.gk-live-preview-brand .gk-live-preview-brand-wordmark img {
    position: absolute;
    top: calc(var(--gk-logo-width) * -.082);
    left: 0;
    display: block;
    width: var(--gk-logo-width);
    height: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
}
.gk-live-preview-brand-wordmark img.gk-live-preview-brand-light {
    filter: brightness(0) invert(1);
    clip-path: inset(0 38% 0 0);
}
.gk-live-preview-brand .gk-live-preview-brand-tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    color: #f0f6ff;
    font: 700 13px/1.25 Poppins, Arial, sans-serif;
    letter-spacing: .24em;
    text-indent: .24em;
    white-space: nowrap;
}
.gk-live-preview-brand .gk-live-preview-brand-tagline::before,
.gk-live-preview-brand .gk-live-preview-brand-tagline::after {
    content: "";
    flex: 0 0 28px;
    height: 1px;
    opacity: .8;
}
.gk-live-preview-brand .gk-live-preview-brand-tagline::before {
    background: linear-gradient(90deg, transparent, #20b9eb);
}
.gk-live-preview-brand .gk-live-preview-brand-tagline::after {
    background: linear-gradient(90deg, #f60095, #ffcf00, transparent);
}
.gk-live-preview-bar .gk-live-preview-close {
    grid-area: close;
    justify-self: end;
    max-width: 100%;
    min-width: 44px;
    min-height: 44px;
    padding: 0 16px;
    border-color: rgba(164, 207, 229, .28);
    border-radius: 10px;
    background: rgba(192, 226, 245, .07);
    font-size: 13px;
}
.gk-live-preview-bar .gk-live-preview-close:hover {
    border-color: rgba(115, 218, 244, .65);
    background: rgba(115, 218, 244, .12);
}
@media (max-width: 900px) and (min-width: 701px) {
    .gk-live-preview-modal .gk-live-preview-bar { column-gap: 18px; padding-inline: 18px; }
    .gk-live-preview-bar .gk-live-preview-brand { --gk-logo-width: 236px; }
}
@media (max-width: 700px) {
    .gk-live-preview-modal .gk-live-preview-bar {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "brand brand" "heading close";
        column-gap: 12px;
        row-gap: 12px;
        min-height: 0;
        padding: 12px 14px;
    }
    .gk-live-preview-bar .gk-live-preview-brand { --gk-logo-width: 220px; min-height: 67px; }
    .gk-live-preview-brand .gk-live-preview-brand-tagline { margin-top: 9px; font-size: 12px; gap: 10px; }
    .gk-live-preview-brand .gk-live-preview-brand-tagline::before,
    .gk-live-preview-brand .gk-live-preview-brand-tagline::after { flex-basis: 22px; }
    .gk-live-preview-bar .gk-live-preview-heading { gap: 10px; }
    .gk-live-preview-bar .gk-live-preview-heading span { font-size: 10px; letter-spacing: .08em; }
    .gk-live-preview-bar .gk-live-preview-heading strong { margin-top: 4px; font-size: 12px; }
    .gk-live-preview-bar .gk-live-preview-close { min-height: 44px; padding-inline: 12px; font-size: 12px; }
}
