/* ==========================================================================
   DRIVER DESIGN LAB — visitor front-end only styles
   (page-structure styles are authored with Tailwind utility classes;
   this file only holds adjustments that are unique to index.html)
   ========================================================================== */

/* keep the 3D canvas below every HUD layer */
#webgl-container canvas { display: block; }

/* archive list card entrance */
.archive-item {
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.archive-item:hover { transform: translateX(2px); }

/* gesture HUD video mirroring */
#webcam-video { transform: scaleX(-1); }

/* --------------------------------------------------------------------------
   Brand wordmark — a transparent PNG can replace the text title.
   Height comes from siteSettings.brandLogo.height via the --brand-logo-h var.
   -------------------------------------------------------------------------- */
.brand-main-logo {
    display: block;
    height: var(--brand-logo-h, 76px);
    width: auto;
    max-width: min(76vw, 720px);
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 8px 26px rgba(0, 0, 0, 0.75));
    transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .35s ease;
    user-select: none;
    -webkit-user-drag: none;
}
.brand-main-logo:hover { transform: translateY(-1px); }

/* Dark artwork on a transparent background disappears against the near-black
   header. Invert keeps the silhouette and turns it into light-on-dark; the
   hue rotation restores the original colours for non-neutral marks. */
.brand-main-logo.is-invert {
    filter: invert(1) hue-rotate(180deg) drop-shadow(0 8px 26px rgba(0, 0, 0, 0.75));
}

@media (max-width: 640px) {
    .brand-main-logo { height: calc(var(--brand-logo-h, 76px) * 0.62); max-width: 82vw; }
}

/* --------------------------------------------------------------------------
   Multi-image gallery (inspector strip + lightbox filmstrip)
   -------------------------------------------------------------------------- */
.gallery-strip {
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}
.gallery-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 62px;
    height: 46px;
    border-radius: 9px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(0, 0, 0, .45);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb:hover { transform: translateY(-1px); border-color: rgba(255, 190, 95, .55); }
.gallery-thumb.is-active {
    border-color: rgba(255, 190, 95, .9);
    box-shadow: 0 0 0 1px rgba(255, 190, 95, .55), 0 6px 18px rgba(255, 160, 30, .22);
}
.gallery-thumb .gt-index {
    position: absolute;
    left: 3px;
    bottom: 2px;
    font-size: 8px;
    line-height: 1;
    padding: 1px 3px;
    border-radius: 4px;
    background: rgba(0, 0, 0, .68);
    color: rgba(255, 225, 170, .95);
    font-family: 'Space Grotesk', monospace;
}

#lightbox-thumbs { scrollbar-width: thin; }
#lightbox-thumbs .gallery-thumb { width: 84px; height: 60px; }
.brand-main-logo.is-hidden { display: none; }

/* --------------------------------------------------------------------------
   Contact card (bottom-left) + ICP filing line (bottom-right)
   Content is driven by siteSettings.contact / siteSettings.icp.
   -------------------------------------------------------------------------- */
.contact-panel {
    position: fixed;
    left: 12px;
    bottom: 96px;
    z-index: 30;
    width: min(350px, calc(100vw - 24px));
    padding: 15px 17px 16px;
    border-radius: 20px;
    border: 1px solid rgba(243, 169, 60, 0.30);
    /* denser than the default glass so the card stays legible over the bright
       3D iris instead of merging with the scene */
    background:
        linear-gradient(160deg, rgba(24, 18, 12, 0.94) 0%, rgba(8, 7, 6, 0.93) 100%);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 225, 170, 0.10);
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.985);
    transition: opacity .26s ease, transform .3s cubic-bezier(.16, 1, .3, 1), visibility .26s;
}
.contact-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.contact-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 13px;
}
.contact-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.22em;
    color: rgba(243, 169, 60, 0.92);
    text-transform: uppercase;
}
.contact-close {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    line-height: 1;
    padding: 4px 6px;
    border-radius: 7px;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}
.contact-close:hover { color: #fff; background: rgba(255, 255, 255, 0.09); }

.contact-body { display: flex; flex-direction: column; gap: 12px; }

.contact-row { display: flex; flex-direction: column; gap: 3px; }
.contact-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8.5px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(243, 169, 60, 0.72);
}
.contact-value {
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    word-break: break-word;
    transition: color .2s ease;
}
a.contact-value:hover { color: #ffd27a; text-decoration: underline; }
.contact-value.is-note {
    font-size: 11.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
    white-space: pre-wrap;
}
.contact-empty {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.42);
}

.icp-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.52);
    text-decoration: none;
    padding: 1px 4px;
    border-radius: 6px;
    transition: color .2s ease;
    white-space: nowrap;
}
.icp-link:hover { color: rgba(255, 255, 255, 0.82); }
.icp-link.is-hidden { display: none; }

@media (max-width: 640px) {
    .contact-panel {
        left: 10px;
        right: 10px;
        width: auto;
        /* clear the contact chip + ICP line stacked in the footer */
        bottom: 120px;
        padding: 13px 15px 14px;
    }
    .icp-link { font-size: 9.5px; }
}

/* On phones the card would sit on top of the wrapped footer chips, so dim the
   scene behind it and let a tap anywhere close it. Desktop keeps it light. */
.contact-scrim {
    position: fixed;
    inset: 0;
    z-index: 29;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .26s ease, visibility .26s;
}
.contact-scrim.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
@media (min-width: 641px) {
    .contact-scrim { display: none; }
}

/* The camera diagnostic card carries a few lines of instructions, so give it
   room instead of squeezing the text into the preview-sized widget. */
#webcam-hud-panel.is-error {
    width: min(346px, calc(100vw - 24px));
}
#webcam-hud-panel.is-error #webcam-error-box {
    font-size: 11px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Vertical artwork gallery (inspector drawer)
   Photos run one under another; an optional caption fills the gap between one
   image and the next, so the text reads as belonging to the frame above it.
   -------------------------------------------------------------------------- */
.ig-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.ig-item {
    margin: 0;
    min-width: 0;
}

.ig-frame {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(243, 169, 60, 0.26);
    border-radius: 16px;
    overflow: hidden;
    /* placeholder height so a slow photo does not collapse the drawer and
       then shove the text below it around when the bytes arrive */
    min-height: 140px;
    background: linear-gradient(140deg, rgba(255, 190, 95, 0.05), rgba(0, 0, 0, 0.55));
    cursor: zoom-in;
    transition: border-color .25s ease, box-shadow .25s ease;
    -webkit-tap-highlight-color: transparent;
}

.ig-frame:hover {
    border-color: rgba(243, 169, 60, 0.62);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.55);
}

.ig-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .55s cubic-bezier(.16, 1, .3, 1);
}

.ig-frame:hover img { transform: scale(1.025); }

.ig-num,
.ig-zoom {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(243, 169, 60, 0.32);
    color: rgba(255, 205, 130, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.ig-num { top: 8px; left: 8px; }
.ig-zoom {
    right: 8px;
    bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.22);
}

/* Sits in the gap between two images — a slim amber rule instead of a box, so
   it does not compete with the photos. */
.ig-caption {
    margin: 10px 0 0;
    padding-left: 12px;
    border-left: 2px solid rgba(243, 169, 60, 0.55);
    font-size: 11.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.74);
    white-space: pre-line;
    letter-spacing: 0.01em;
}

@media (max-width: 640px) {
    .ig-stack { gap: 16px; }
    .ig-frame { border-radius: 14px; }
    .ig-caption { font-size: 11px; line-height: 1.75; }
}

/* ---------------------------------------------------------------------------
 * Optional secondary-page link
 * The drawer card is a full-width row; the archive list only gets a small ↗
 * so the row still opens the inspector when tapped elsewhere.
 * ------------------------------------------------------------------------- */
#inspector-page-link {
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(243, 169, 60, 0.4);
    background: linear-gradient(120deg, rgba(243, 169, 60, 0.16), rgba(243, 169, 60, 0.05));
    color: rgba(255, 244, 226, 0.95);
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
#inspector-page-link:hover {
    border-color: rgba(243, 169, 60, 0.75);
    background: linear-gradient(120deg, rgba(243, 169, 60, 0.26), rgba(243, 169, 60, 0.09));
    transform: translateY(-1px);
}
#inspector-page-link.hidden { display: none; }

.ipl-icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(243, 169, 60, 0.22);
    border: 1px solid rgba(243, 169, 60, 0.45);
    color: #ffcf85;
    font-size: 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ipl-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ipl-kicker {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 9.5px;
    letter-spacing: 0.14em;
    color: rgba(255, 196, 120, 0.72);
    text-transform: uppercase;
}
.ipl-label {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ipl-arrow {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: rgba(255, 196, 120, 0.8);
    font-size: 13px;
}

.archive-page-link {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    border: 1px solid rgba(243, 169, 60, 0.45);
    background: rgba(243, 169, 60, 0.16);
    color: #ffcf85;
    font-size: 11px;
    line-height: 1;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}
.archive-page-link:hover {
    background: rgba(243, 169, 60, 0.32);
    border-color: rgba(243, 169, 60, 0.8);
    color: #fff;
}

@media (max-width: 640px) {
    #inspector-page-link { padding: 11px 12px; gap: 10px; }
    .ipl-label { font-size: 12.5px; }
}

/* ---------------------------------------------------------------------------
 * Ordered content blocks inside the inspector
 * A single column, children in insertion order. The right-hand grip on the
 * drawer resizes the panel; blocks simply follow the new width.
 * ------------------------------------------------------------------------- */
.iblocks {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.iblock {
    min-width: 0;
    margin: 0;
}

/* A photo block can be narrowed to 20–100% of the column, anchored left. */
.iblock-image {
    width: var(--iblock-width, 100%);
    max-width: 100%;
}

.iblock-video {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(243, 169, 60, 0.26);
}

.iblock-video.is-ready { border-color: rgba(243, 169, 60, 0.4); }
.iblock-video.is-broken::after {
    content: 'VIDEO UNAVAILABLE';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: rgba(255, 160, 130, 0.8);
    background: rgba(10, 8, 6, 0.9);
}

.iblock-video-el,
.iblock-embed {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #000;
    border: 0;
}

.iblock-video-el { height: auto; max-height: 62vh; }

/* Bilibili share short links carry no video id: while the server expands them
   the block shows this line instead of the black box a <video> would give. */
.iblock-resolving {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0 20px;
    background: #000;
    color: rgba(255, 214, 156, 0.78);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.14em;
    line-height: 1.7;
    text-align: center;
}
.iblock-resolving.is-failed { color: rgba(255, 160, 130, 0.9); }

.iblock-sound,
.iblock-play,
.iblock-fs {
    position: absolute;
    z-index: 3;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(243, 169, 60, 0.42);
    color: #ffd79a;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.18s ease, border-color 0.18s ease;
}
.iblock-sound { top: 10px; right: 10px; }
.iblock-fs { top: 10px; right: 48px; }
.iblock-play {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    font-size: 18px;
    display: none;
}
.iblock-video.is-blocked .iblock-play { display: inline-flex; }
.iblock-sound:hover,
.iblock-play:hover,
.iblock-fs:hover {
    background: rgba(243, 169, 60, 0.32);
    border-color: rgba(243, 169, 60, 0.8);
    color: #fff;
}

/* Invisible click shield over a cross-origin player. It swallows every click,
   so nothing inside the embedded player (its logo, title, "watch on …") can
   navigate the visitor to the source site. Controls sit above it (z-index 3),
   and the ⛶ button is the only way to watch larger. */
.iblock-shield {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 16 / 9;
    z-index: 2;
    background: transparent;
    cursor: default;
}

.iblock-shield-tip {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.66);
    border: 1px solid rgba(243, 169, 60, 0.34);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: rgba(255, 214, 156, 0.92);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}
.iblock-video:hover .iblock-shield-tip { opacity: 1; }

/* Touch devices have no hover, so the shield tip stays visible and a tap on
   the shield opens the fullscreen viewer instead of doing nothing. */
.iblock-video.is-touch .iblock-shield-tip { opacity: 1; }

/* Small reminder shown under the fullscreen platform player: mobile browsers
   don't hand the tap over to a cross-origin iframe, so the player usually
   starts paused and needs one extra tap on its own ▶. On touch devices the bar
   also carries an explicit "open the source page" escape hatch, used only when
   the platform refuses to play inside the page at all. */
.lb-embed-bar {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: calc(100vw - 24px);
    padding: 5px 8px 5px 14px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(243, 169, 60, 0.34);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.06em;
    color: rgba(255, 214, 156, 0.92);
    white-space: nowrap;
}
.lb-embed-bar #lightbox-embed-hint { pointer-events: none; }
.lb-open-source {
    flex: 0 0 auto;
    padding: 3px 9px;
    border-radius: 999px;
    border: 1px solid rgba(243, 169, 60, 0.5);
    background: rgba(243, 169, 60, 0.16);
    color: #ffd79a;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.lb-open-source:hover {
    background: rgba(243, 169, 60, 0.3);
    border-color: rgba(243, 169, 60, 0.85);
    color: #fff;
}
@media (max-width: 420px) {
    .lb-embed-bar { font-size: 9px; gap: 6px; padding-left: 11px; }
}

.iblock-tag {
    position: absolute;
    left: 10px;
    bottom: 10px;
    z-index: 3;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.68);
    border: 1px solid rgba(243, 169, 60, 0.3);
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12em;
    color: rgba(255, 205, 130, 0.86);
}

.iblock-text {
    padding: 14px 15px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.iblock-text-head {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 196, 120, 0.78);
}

.iblock-rich {
    color: rgba(229, 229, 229, 0.95);
    overflow-wrap: anywhere;
}
.iblock-rich p { margin: 0 0 0.7em; }
.iblock-rich p:last-child { margin-bottom: 0; }
.iblock-rich blockquote {
    margin: 0.6em 0;
    padding-left: 10px;
    border-left: 2px solid rgba(243, 169, 60, 0.5);
    color: rgba(255, 255, 255, 0.78);
}
.iblock-rich-en {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    color: rgba(229, 229, 229, 0.72);
    font-size: 0.92em;
}

/* Drag grip on the drawer's left edge */
.inspector-resize {
    position: absolute;
    left: 0;
    top: 18%;
    bottom: 18%;
    width: 12px;
    margin-left: -6px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: ew-resize;
    z-index: 12;
    touch-action: none;
}
.inspector-resize span {
    width: 3px;
    height: 46px;
    border-radius: 999px;
    background: rgba(243, 169, 60, 0.22);
    transition: background 0.18s ease, height 0.18s ease;
}
.inspector-resize:hover span {
    background: rgba(243, 169, 60, 0.75);
    height: 70px;
}
@media (min-width: 641px) {
    .inspector-resize { display: flex; }
}
body.is-resizing-drawer { cursor: ew-resize; user-select: none; }
body.is-resizing-drawer .inspector-resize span { background: rgba(243, 169, 60, 0.85); }

@media (max-width: 640px) {
    .iblocks { gap: 16px; }
    .iblock-text { padding: 12px 13px; }
    .iblock-video-el { max-height: 46vh; }
}

/* --------------------------------------------------------------------------
 * Secondary page entries under the studio wordmark
 * A discreet row of pill links for pages built later (artists, team, press…).
 * Driven by siteSettings.navLinks; the strip stays hidden while it is empty.
 * -------------------------------------------------------------------------- */
.brand-subnav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 13px;
    max-width: 100%;
    min-width: 0;
}
.brand-subnav.is-hidden { display: none; }

.brand-subnav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(8, 7, 6, 0.44);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(232, 236, 244, 0.92);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.brand-subnav a::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(243, 169, 60, 0.65);
    box-shadow: 0 0 6px rgba(243, 169, 60, 0.65);
    transition: background .2s ease, box-shadow .2s ease;
}
.brand-subnav a:hover {
    color: #fff;
    border-color: rgba(243, 169, 60, 0.75);
    background: rgba(243, 169, 60, 0.14);
    transform: translateY(-1px);
}
.brand-subnav a:hover::before {
    background: #ffd79a;
    box-shadow: 0 0 10px rgba(255, 200, 110, 0.95);
}

@media (max-width: 640px) {
    .brand-subnav {
        margin-top: 10px;
        gap: 5px;
        flex-wrap: nowrap;
        overflow-x: auto;
        max-width: 66vw;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .brand-subnav::-webkit-scrollbar { display: none; }
    .brand-subnav a { font-size: 9.5px; padding: 4px 9px 4px 8px; }
}

/* --------------------------------------------------------------------------
 * Footer baseline row: eyeball hints + ICP number, side by side
 * Both hints live in ONE horizontal bar that sits to the left of the filing
 * number, so the whole footer bottom line lines up with the bottom-left chips.
 * Same mono type as those chips, thin HUD frame with corner ticks.
 * -------------------------------------------------------------------------- */
.footer-baseline {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 14px;
    padding-bottom: 5px; /* lift the 12px text onto the chips' optical baseline */
}

.eye-hint {
    position: relative;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 9px;
    padding: 5px 11px;
    white-space: nowrap;
    border: 1px solid rgba(243, 169, 60, 0.34);
    border-radius: 10px;
    background: rgba(8, 7, 6, 0.52);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    line-height: 1.4;
    letter-spacing: 0.04em;
    color: rgba(254, 243, 199, 0.9);
    text-align: left;
}

/* decorative corner brackets — two opposite corners is enough to read as HUD */
.eh-corner {
    position: absolute;
    width: 9px;
    height: 9px;
    pointer-events: none;
}
.eh-corner-tl {
    top: -1px;
    left: -1px;
    border-top: 2px solid rgba(255, 205, 120, 0.9);
    border-left: 2px solid rgba(255, 205, 120, 0.9);
    border-top-left-radius: 3px;
}
.eh-corner-br {
    bottom: -1px;
    right: -1px;
    border-bottom: 2px solid rgba(255, 205, 120, 0.9);
    border-right: 2px solid rgba(255, 205, 120, 0.9);
    border-bottom-right-radius: 3px;
}

.eh-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.eh-ico {
    color: rgba(255, 200, 110, 0.95);
    font-size: 9px;
    line-height: 1;
}
/* hairline divider between the two hints */
.eh-sep {
    width: 1px;
    align-self: stretch;
    margin: 1px 0;
    background: rgba(243, 169, 60, 0.32);
}

@media (min-width: 640px) {
    .eye-hint { font-size: 12px; padding: 6px 12px; gap: 10px; }
    .eh-ico { font-size: 10px; }
}

@media (max-width: 640px) {
    .footer-baseline { gap: 8px; padding-bottom: 2px; }
    .eye-hint { font-size: 10px; padding: 4px 8px; gap: 6px; letter-spacing: 0.02em; }
    .eh-row { gap: 4px; }
}

/* Phones: the hints and the filing number must stay on ONE line, so every
   spare pixel goes — smaller type, tighter padding, no divider, and the ICP
   number drops to the same 9px grid. */
@media (max-width: 420px) {
    .footer-baseline { gap: 10px; padding-bottom: 1px; }
    .eye-hint { font-size: 9px; padding: 2px 6px; gap: 6px; letter-spacing: 0; }
    .eh-row { gap: 3px; }
    .eh-ico { font-size: 8px; }
    .eh-sep { display: none; }
    .icp-link { font-size: 9px; letter-spacing: 0; padding: 1px 2px; }
    /* English strings are longer; one notch smaller keeps the same single row
       on a 360–420px phone instead of wrapping the filing number onto a 2nd line. */
    html[lang="en"] .eye-hint { font-size: 8px; padding: 2px 4px; gap: 3px; }
    html[lang="en"] .eh-row { gap: 2px; }
    html[lang="en"] .footer-baseline { gap: 4px; }
    html[lang="en"] .icp-link { font-size: 8px; padding: 1px 1px; }
}
