/* Jackbit Casino — TR. Design system: TYPO-01 / SPACE-06 / CONT-02 / GEO-04 / MOTION-07.
   Components: HEAD-11 pill, FOOT-05, HERO-05, GRID-03, FAQ-07, REV-01, CTA-02, PROSE-08,
   TABLE-06, LEGAL-08, FORM-06, COOK-03, ERR-04, BYLINE-01, AUTH-05, INLINE-CTA-06. */

/* ============ TOKENS ============ */
:root {
    /* colors (RANDOM_SPEC .final) */
    --brand: #01ef6a;
    --highlight: #325cfe;
    --accent-pressed: #174afd;
    --bg: #0c121f;
    --surface-raised: #141a27;
    --gradient-start: #141925;
    --grad-mid: #202432;
    --text-color: #ffffff;
    --fg-muted: #c0bfbf;
    --banner-bg: #dc2626;

    /* fonts */
    --font-title: "Poppins", system-ui, sans-serif;
    --font-sans: "Poppins", system-ui, sans-serif;

    /* TYPO-01 desktop */
    --text-h1: 64px; --type-h2: 40px; --size-h3: 28px; --text-h4: 22px;
    --type-h5: 18px; --type-h6: 16px; --text-base: 17px; --size-sm: 14px; --type-micro: 12px;
    --line-tight: 1.1; --line-normal: 1.5; --leading-loose: 1.75;
    --letter-tight: -0.02em; --ls-normal-x: 0; --letter-wide: 0.04em;
    --weight-regular: 400; --font-medium: 500; --weight-bold: 700;

    /* SPACE-06 */
    --gutter-2xs: 4px; --gap-xs: 12px; --gutter-sm: 20px; --gap-md: 36px;
    --gap-lg: 56px; --spacing-xl: 84px; --gap-2xl: 120px; --gutter-3xl: 180px;

    /* CONT-02 + spec container_site */
    --container: 1340px;
    --text-width: 720px;
    --pad-mobile: 16px;
    --container-padding-tablet-x: 24px;
    --pad-desktop: 40px;

    /* GEO-04 */
    --rounded-xs: 2px; --round-sm: 6px; --corner: 8px; --rounded-lg: 14px;
    --corner-pill: 9999px; --round-circle: 50%;
    --shadow-xs-x: 0 1px 2px rgba(0,0,0,0.05);
    --elevation-1: 0 2px 4px rgba(0,0,0,0.08);
    --elevation-2: 0 4px 10px rgba(0,0,0,0.10);
    --shade-lg: 0 8px 20px rgba(0,0,0,0.14);
    --stroke-thin: 1px; --border-medium-x: 2px; --border-thick-x: 3px;

    /* MOTION-07 */
    --transition-fast: 150ms; --transition-base: 300ms; --duration-slow: 600ms;
    --timing: cubic-bezier(0.215, 0.61, 0.355, 1);
    --ease-in-x: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    --ease-in-out-x: cubic-bezier(0.645, 0.045, 0.355, 1);
    --ease-spring-x: cubic-bezier(0.34, 1.56, 0.64, 1);

    --header-h-x: 100px;
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
body {
    margin: 0;
    padding-top: 150px;
    font-family: var(--font-sans);
    font-weight: var(--weight-regular);
    font-size: var(--text-base);
    line-height: var(--leading-loose);
    color: var(--text-color);
    background: var(--bg);
    background: linear-gradient(180deg, var(--bg) 0%, var(--gradient-start) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; }

.skip-link {
    position: fixed; left: var(--gap-md); top: -200px;
    z-index: 999; padding: var(--gap-xs) var(--gap-md);
    background: var(--highlight); color: #fff; border-radius: var(--corner);
}
.skip-link:not(:focus) { top: -200px !important; }
.skip-link:focus { top: var(--gap-md); }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============ HEADER — HEAD-11 Floating Pill + STICKY-04 + NAV-01 ============ */
.k07 {
    position: fixed;
    top: var(--gap-md);
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2 * var(--gap-md));
    max-width: 1100px;
    height: var(--header-h-x);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: var(--gap-md);
    padding: 0 var(--gutter-sm) 0 var(--gutter-sm);
    background: rgba(12, 18, 31, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--corner-pill);
    box-shadow: var(--elevation-2);
    transition: transform var(--transition-base) var(--timing);
}
.k07.is-hidden { transform: translateX(-50%) translateY(calc(-100% - var(--gap-md) - 10px)); }
.k07-logo { flex-shrink: 0; display: inline-flex; align-items: center; }
.k07-logo img { height: 88px; width: auto; flex-shrink: 0; }
.k07-nav { margin-left: auto; }
.k07-navlist { display: flex; align-items: center; gap: var(--gap-md); list-style: none; padding: 0; }
.k07-navlink {
    font-family: var(--font-sans); font-weight: var(--font-medium); font-size: var(--size-sm);
    color: var(--text-color); transition: color var(--transition-fast) var(--timing);
}
.k07-navlink:hover { color: var(--brand); }
.k07-navlink[aria-current="page"] { color: var(--brand); }
.k07-authbtn {
    flex-shrink: 0; white-space: nowrap;
    padding: 10px var(--gap-md);
    background: var(--highlight); color: #fff;
    font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--size-sm);
    text-transform: uppercase; letter-spacing: var(--letter-wide);
    border-radius: var(--corner-pill);
    transition: background var(--transition-fast) var(--timing), color var(--transition-fast) var(--timing);
}
.k07-authbtn:hover { background: var(--accent-pressed); color: #fff; }
.k07-toggle {
    display: none;
    margin-left: auto; flex-shrink: 0;
    width: 44px; height: 44px;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    background: transparent; border: 0; cursor: pointer; padding: 0;
}
.k07-toggle-bar { display: block; width: 24px; height: 2px; background: var(--text-color); border-radius: 2px; }
.k07-drawer {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    z-index: 60;
    padding: var(--gutter-sm);
    background: rgba(12, 18, 31, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shade-lg);
}
.k07-drawer.is-open { display: block; }
.k07-drawerlist { display: flex; flex-direction: column; gap: var(--gap-xs); list-style: none; padding: 0; }
.k07-drawerlink {
    display: block; padding: var(--gap-xs) var(--gutter-sm);
    font-family: var(--font-sans); font-weight: var(--font-medium); font-size: var(--text-base);
    color: var(--text-color); border-radius: var(--corner);
}
.k07-drawerlink:hover { color: var(--brand); background: rgba(255,255,255,0.04); }
.k07-drawerlink[aria-current="page"] { color: var(--brand); }

/* ============ HERO — HERO-05 Bordered Plate Editorial ============ */
.w11 { padding-block: 72px 48px; padding-inline: var(--pad-desktop); background: var(--bg); }
.w11-frame {
    max-width: calc(var(--container) + 2 * var(--pad-desktop));
    margin-inline: auto;
    padding: var(--gap-lg);
    border: 4px solid var(--text-color);
    outline: 1px solid var(--text-color);
    outline-offset: 6px;
}
.w11-content { display: flex; flex-direction: column; align-items: flex-start; gap: var(--gutter-sm); }
.w11-eyebrow { font-size: var(--size-sm); font-style: italic; color: var(--fg-muted); letter-spacing: var(--letter-wide); }
.w11-title {
    font-family: var(--font-title); font-weight: var(--weight-bold);
    font-size: var(--text-h1); line-height: var(--line-tight); letter-spacing: var(--letter-tight);
    text-transform: uppercase; color: var(--text-color); max-width: 16ch;
}
.w11-divider { width: 80px; height: 1px; border: 0; background: var(--highlight); margin: var(--gap-xs) 0; }
.w11-subtitle { font-size: var(--type-h5); line-height: var(--line-normal); color: var(--fg-muted); max-width: 60ch; }
.w11-cta {
    margin-top: var(--gap-xs);
    display: inline-block; height: 52px; line-height: 52px; padding-inline: var(--gap-lg);
    background: var(--highlight); color: #fff;
    font-family: var(--font-title); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--letter-wide);
    border-radius: var(--rounded-xs);
    transition: background var(--transition-fast) var(--timing), color var(--transition-fast) var(--timing), transform var(--transition-fast) var(--timing);
}
.w11-cta:hover { background: var(--accent-pressed); color: #fff; transform: scale(1.02); }

/* ============ PAGE HEADER — PHEAD-01 ============ */
.a54 { padding-block: 56px 32px; padding-inline: var(--pad-desktop); border-bottom: 1px solid rgba(255,255,255,0.05); background: var(--bg); }
.a54-inner {
    max-width: calc(var(--container) + 2 * var(--pad-desktop));
    margin-inline: auto;
    display: flex; flex-direction: column; gap: var(--gap-md);
}
.a54-eyebrow {
    font-family: var(--font-sans); font-weight: var(--font-medium); font-size: var(--size-sm);
    text-transform: uppercase; letter-spacing: var(--letter-wide); color: var(--highlight);
}
.a54-title {
    font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--text-h1);
    letter-spacing: var(--letter-tight); line-height: var(--line-tight); color: var(--text-color); max-width: 920px;
}
.a54-divider { width: 60px; height: 2px; background: var(--highlight); }
.a54-description { font-family: var(--font-sans); font-size: var(--type-h5); line-height: var(--line-normal); color: var(--fg-muted); max-width: 720px; }

/* ============ PROSE — PROSE-08 Asymmetric Indent ============ */
.w45 { padding-block: 48px; padding-inline: var(--pad-desktop); }
.w45-inner {
    max-width: calc(var(--container) + 2 * var(--pad-desktop));
    margin-inline: auto;
    display: flex; flex-direction: column; gap: var(--gutter-sm);
}
.w45-h2 {
    font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--type-h2);
    letter-spacing: var(--letter-tight); line-height: var(--line-tight); color: var(--text-color);
    padding-left: 0; margin-top: var(--gap-md);
}
.w45-p { padding-left: var(--spacing-xl); font-size: var(--text-base); line-height: var(--leading-loose); color: var(--fg-muted); max-width: calc(720px + var(--spacing-xl)); }
.w45-list { padding-left: calc(var(--spacing-xl) + var(--gutter-sm)); font-size: var(--text-base); line-height: var(--leading-loose); color: var(--fg-muted); max-width: calc(720px + var(--spacing-xl)); display: flex; flex-direction: column; gap: var(--gutter-2xs); }
.w45-link { color: var(--highlight); text-decoration: underline; }
.w45-link:hover { color: var(--brand); }
.w45-figure { margin: 0 0 var(--gap-md) 0; }
.w45-figure img { width: 100%; border-radius: var(--rounded-lg); border: 1px solid rgba(255,255,255,0.08); }

/* ============ ITEMS GRID — GRID-03 Two-Column Asymmetric ============ */
.o29 { padding-block: 48px; padding-inline: var(--pad-desktop); }
.o29-inner {
    max-width: calc(var(--container) + 2 * var(--pad-desktop));
    margin-inline: auto;
}
.o29-head { font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--type-h2); letter-spacing: var(--letter-tight); color: var(--text-color); margin-bottom: var(--gap-md); }
.o29-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-md); }
.o29-card {
    padding: var(--gap-lg);
    background: var(--surface-raised);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--corner);
}
/* asymmetric widths, alternating per row (GRID-03) */
.o29-card:nth-child(4n+1) { grid-column: span 1; }
.o29-grid { grid-template-columns: 3fr 2fr; }
.o29-card:nth-child(4n+3), .o29-card:nth-child(4n+0) { }
.o29-cardtitle { font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--text-h4); color: var(--text-color); margin-bottom: var(--gap-xs); }
.o29-cardtext { font-size: var(--text-base); line-height: var(--line-normal); color: var(--fg-muted); }

/* ============ REVIEWS — REV-01 Three-Column Cards ============ */
.p29 { padding-block: 48px; padding-inline: var(--pad-desktop); }
.p29-inner { max-width: calc(var(--container) + 2 * var(--pad-desktop)); margin-inline: auto; }
.p29-head { font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--type-h2); letter-spacing: var(--letter-tight); color: var(--text-color); margin-bottom: var(--gap-md); }
.p29-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-md); }
.p29-item {
    padding: var(--gap-lg);
    background: var(--surface-raised);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--corner);
    display: flex; flex-direction: column; gap: var(--gap-xs);
}
.p29-itemhead { display: flex; align-items: center; justify-content: space-between; }
.p29-author { font-size: var(--text-base); font-weight: var(--weight-bold); color: var(--text-color); }
.p29-date { font-size: var(--type-micro); color: var(--fg-muted); }
.p29-rating { display: inline-flex; gap: 2px; }
.p29-star { fill: var(--brand); }
.p29-star--off { fill: rgba(255,255,255,0.22); }
.p29-text { font-size: var(--text-base); line-height: var(--leading-loose); color: var(--fg-muted); }

/* ============ FAQ — FAQ-07 Compact Mini-FAQ ============ */
.b01 { padding-block: 48px; padding-inline: var(--pad-desktop); }
.b01-inner { max-width: calc(var(--container) + 2 * var(--pad-desktop)); margin-inline: auto; }
.b01-head { font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--type-h2); letter-spacing: var(--letter-tight); color: var(--text-color); margin-bottom: var(--gap-md); }
.b01-list { display: flex; flex-direction: column; gap: var(--gutter-sm); max-width: 900px; }
.b01-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
.b01-q {
    cursor: pointer; list-style: none;
    padding-block: var(--gap-xs);
    font-size: var(--size-sm); font-weight: var(--font-medium); color: var(--text-color);
    display: flex; align-items: center; justify-content: space-between; gap: var(--gutter-sm);
}
.b01-q::-webkit-details-marker { display: none; }
.b01-q::after { content: "+"; color: var(--highlight); font-size: var(--type-h5); }
.b01-item[open] .b01-q::after { content: "\2013"; }
.b01-a { padding-block: 0 var(--gap-xs); font-size: var(--size-sm); line-height: var(--line-normal); color: var(--fg-muted); }

/* ============ CTA BLOCK — CTA-02 Centered Contained Box ============ */
.b51 { padding-block: 48px; padding-inline: var(--pad-desktop); }
.b51-inner { max-width: calc(var(--container) + 2 * var(--pad-desktop)); margin-inline: auto; display: flex; justify-content: center; }
.b51-box {
    max-width: 720px; width: 100%; text-align: center;
    padding: var(--gap-lg);
    background: rgba(1, 239, 106, 0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--rounded-lg);
}
.b51-title { font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--type-h2); letter-spacing: var(--letter-tight); color: var(--text-color); }
.b51-text { font-size: var(--text-base); line-height: var(--leading-loose); color: var(--fg-muted); margin-block: var(--gap-md); }
.b51-btn {
    display: inline-block; height: 52px; line-height: 52px; padding-inline: var(--gap-lg);
    background: var(--highlight); color: #fff;
    font-family: var(--font-title); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--letter-wide);
    border-radius: var(--corner);
    transition: background var(--transition-fast) var(--timing), color var(--transition-fast) var(--timing);
}
.b51-btn:hover { background: var(--accent-pressed); color: #fff; }

/* ============ INLINE CTA — INLINE-CTA-06 Dual-Button Mini Bar ============ */
.z63 { padding-block: 24px; padding-inline: var(--pad-desktop); }
.z63-wrap { max-width: 600px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--gutter-sm); text-align: center; }
.z63-text { font-size: var(--text-base); color: var(--fg-muted); }
.z63-actions { display: flex; gap: var(--gutter-sm); justify-content: center; }
.z63-btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 48px; padding-inline: var(--gap-md);
    font-family: var(--font-title); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--letter-wide);
    border-radius: var(--corner); border: 1px solid transparent;
    transition: background var(--transition-fast) var(--timing), color var(--transition-fast) var(--timing), border-color var(--transition-fast) var(--timing);
}
.z63-btn--primary-x { background: var(--highlight); color: #fff; }
.z63-btn--primary-x:hover { background: var(--accent-pressed); color: #fff; }
.z63-btn--ghost-x { background: transparent; border: 1px solid var(--fg-muted); color: var(--text-color); }
.z63-btn--ghost-x:hover { border-color: var(--text-color); background: rgba(255,255,255,0.04); color: var(--text-color); }

/* ============ AUTHOR BYLINE — BYLINE-01 ============ */
.v69 { padding-block: 32px; padding-inline: var(--pad-desktop); }
.v69-inner { max-width: calc(var(--container) + 2 * var(--pad-desktop)); margin-inline: auto; display: flex; align-items: center; gap: var(--gutter-sm); }
.v69-portrait { flex-shrink: 0; width: 48px; height: 48px; border-radius: var(--round-circle); overflow: hidden; display: block; }
.v69-portrait img { width: 48px; height: 48px; object-fit: cover; object-position: center top; }
.v69-text { display: flex; flex-direction: column; gap: var(--gutter-2xs); }
.v69-attr { font-family: var(--font-sans); font-size: var(--text-base); color: var(--fg-muted); }
.v69-name { color: var(--highlight); text-decoration: underline; }
.v69-name:hover { color: var(--brand); }
.v69-role { font-size: var(--size-sm); font-style: italic; color: var(--fg-muted); }

/* ============ AUTHOR CARD — AUTH-05 Compact Inline ============ */
.c76 { padding-block: 48px; padding-inline: var(--pad-desktop); }
.c76-card {
    max-width: 640px;
    padding: var(--gap-md);
    background: var(--surface-raised);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--corner);
    display: flex; gap: var(--gap-md); align-items: flex-start;
}
.c76-portrait { flex-shrink: 0; width: 96px; height: 96px; border-radius: var(--round-circle); object-fit: cover; object-position: center top; }
.c76-body { display: flex; flex-direction: column; gap: var(--gutter-2xs); }
.c76-job { font-size: var(--type-micro); text-transform: uppercase; letter-spacing: var(--letter-wide); color: var(--highlight); }
.c76-name { font-family: var(--font-title); font-size: var(--text-h4); font-weight: var(--weight-bold); color: var(--text-color); }
.c76-bio { font-size: var(--size-sm); line-height: var(--line-normal); color: var(--fg-muted); }
.c76-expertise { list-style: none; padding: 0; margin-top: var(--gap-xs); display: flex; flex-wrap: wrap; gap: var(--gutter-2xs) var(--gap-xs); }
.c76-exp { font-size: var(--type-micro); color: var(--fg-muted); padding: 4px 10px; border: 1px solid rgba(255,255,255,0.12); border-radius: var(--corner-pill); }

/* ============ LEGAL — LEGAL-08 Minimal Plain ============ */
.t31 { padding-block: 48px; padding-inline: var(--pad-desktop); background: var(--bg); }
.t31-inner { max-width: calc(var(--container) + 2 * var(--pad-desktop)); margin-inline: auto; }
.t31-intro { font-size: var(--type-h5); line-height: var(--line-normal); color: var(--text-color); max-width: 800px; margin-bottom: var(--gap-md); }
.t31-heading { font-family: var(--font-sans); font-weight: var(--weight-bold); font-size: var(--size-h3); color: var(--text-color); margin-top: var(--gap-md); margin-bottom: var(--gap-xs); }
.t31-p { font-size: var(--text-base); line-height: var(--leading-loose); color: var(--fg-muted); max-width: 820px; margin-bottom: var(--gap-xs); }
.t31-support { padding-left: var(--gap-md); color: var(--fg-muted); margin-top: var(--gap-xs); display: flex; flex-direction: column; gap: var(--gutter-2xs); }
.t31-disclaimer { display: block; font-size: var(--size-sm); color: var(--fg-muted); margin-top: var(--gap-md); font-style: italic; }

/* ============ CONTACT FORM — FORM-06 Floating Labels ============ */
.x65 { padding-block: 48px; padding-inline: var(--pad-desktop); }
.x65-inner { max-width: calc(var(--container) + 2 * var(--pad-desktop)); margin-inline: auto; }
.x65-intro { font-size: var(--type-h5); line-height: var(--line-normal); color: var(--fg-muted); max-width: 640px; margin-bottom: var(--gap-md); }
.x65-form { max-width: 640px; display: flex; flex-direction: column; gap: var(--gutter-sm); }
.x65-field { position: relative; }
.x65-input, .x65-textarea {
    width: 100%; padding: var(--gap-md) var(--gutter-sm) var(--gap-xs);
    background: var(--surface-raised); border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--corner); color: var(--text-color); font-family: var(--font-sans); font-size: var(--text-base);
}
.x65-textarea { resize: vertical; min-height: 120px; }
.x65-input:focus, .x65-textarea:focus { outline: 2px solid var(--highlight); outline-offset: 1px; border-color: var(--highlight); }
.x65-label {
    position: absolute; top: 50%; left: var(--gutter-sm); transform: translateY(-50%);
    color: var(--fg-muted); pointer-events: none;
    transition: top var(--transition-fast), font-size var(--transition-fast), color var(--transition-fast);
}
.x65-textarea + .x65-label { top: var(--gap-md); }
.x65-input:focus + .x65-label, .x65-input:not(:placeholder-shown) + .x65-label,
.x65-textarea:focus + .x65-label, .x65-textarea:not(:placeholder-shown) + .x65-label {
    top: var(--gap-xs); transform: translateY(0); font-size: var(--type-micro); color: var(--highlight);
}
.x65-submit {
    align-self: flex-start; height: 52px; padding-inline: var(--gap-lg);
    background: var(--highlight); color: #fff; border: 0; cursor: pointer;
    font-family: var(--font-title); font-weight: var(--weight-bold); text-transform: uppercase; letter-spacing: var(--letter-wide);
    border-radius: var(--corner);
    transition: background var(--transition-fast) var(--timing), color var(--transition-fast) var(--timing);
}
.x65-submit:hover { background: var(--accent-pressed); color: #fff; }
.x65-success { margin-top: var(--gap-md); padding: var(--gutter-sm); background: rgba(1,239,106,0.08); border: 1px solid var(--brand); border-radius: var(--corner); color: var(--text-color); }

/* ============ COOKIE — COOK-03 Corner Card ============ */
.a81 {
    position: fixed; inset-block-end: var(--gap-md); inset-inline-end: var(--gap-md);
    width: 360px; max-width: calc(100vw - 2 * var(--gap-md)); z-index: 90;
    background: var(--surface-raised); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--rounded-lg); padding: var(--gap-md); box-shadow: var(--shade-lg);
    display: flex; flex-direction: column; gap: var(--gutter-sm);
}
.a81[hidden] { display: none; }
.a81-title { font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--type-h5); text-transform: uppercase; letter-spacing: var(--letter-wide); color: var(--highlight); }
.a81-msg { font-size: var(--size-sm); line-height: var(--line-normal); color: var(--fg-muted); }
.a81-actions { display: flex; gap: var(--gap-xs); }
.a81-btn { flex: 1 1 50%; height: 40px; border: 0; cursor: pointer; border-radius: var(--corner); font-family: var(--font-sans); font-weight: var(--font-medium); font-size: var(--size-sm); }
.a81-accept { background: var(--highlight); color: #fff; }
.a81-accept:hover { background: var(--accent-pressed); color: #fff; }
.a81-decline { background: transparent; border: 1px solid var(--fg-muted); color: var(--text-color); }
.a81-decline:hover { border-color: var(--text-color); background: rgba(255,255,255,0.04); color: var(--text-color); }

/* ============ ERROR — ERR-04 Full-Bleed Atmospheric ============ */
.g95 {
    min-height: calc(100vh - 124px);
    display: flex; align-items: center; justify-content: center;
    padding: var(--gap-lg) var(--pad-desktop);
    background-image: linear-gradient(180deg, rgba(12,18,31,0.55), rgba(12,18,31,0.9)), url("/photo/shot.webp");
    background-size: cover; background-position: center;
}
.g95-inner { max-width: calc(var(--container) + 2 * var(--pad-desktop)); margin-inline: auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--gap-md); }
.g95-title { font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--text-h1); line-height: var(--line-tight); color: var(--text-color); max-width: 20ch; }
.g95-text { font-size: var(--type-h5); color: var(--fg-muted); max-width: 60ch; }
.g95-btn {
    display: inline-block; height: 52px; line-height: 52px; padding-inline: var(--gap-lg);
    background: var(--highlight); color: #fff; font-family: var(--font-title); font-weight: var(--weight-bold);
    text-transform: uppercase; letter-spacing: var(--letter-wide); border-radius: var(--corner);
    transition: background var(--transition-fast) var(--timing), color var(--transition-fast) var(--timing);
}
.g95-btn:hover { background: var(--accent-pressed); color: #fff; }

/* ============ FOOTER — FOOT-05 Four-Column Information-Dense ============ */
.s54 {
    background: var(--brand);
    color: var(--bg);
    padding-block: 56px;
    padding-inline: var(--pad-desktop);
}
.s54-inner {
    max-width: calc(var(--container) + 2 * var(--pad-desktop));
    margin-inline: auto;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--gap-lg);
}
.s54-col { display: flex; flex-direction: column; gap: var(--gap-xs); }
.s54-brand { gap: var(--gutter-sm); }
.s54-logo { height: 80px; width: auto; }
.s54-tagline { font-size: var(--size-sm); line-height: var(--line-normal); color: var(--bg); max-width: 40ch; }
.s54-heading { font-family: var(--font-title); font-weight: var(--weight-bold); font-size: var(--size-sm); text-transform: uppercase; letter-spacing: var(--letter-wide); color: var(--bg); margin-bottom: var(--gap-xs); }
.s54-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--gutter-2xs); }
.s54-link { font-family: var(--font-sans); font-weight: var(--weight-regular); font-size: var(--size-sm); color: var(--bg); }
.s54-link:hover { text-decoration: underline; color: var(--bg); }
.s54-bottom {
    max-width: calc(var(--container) + 2 * var(--pad-desktop));
    margin-inline: auto; margin-top: var(--gap-md); padding-top: var(--gutter-sm);
    border-top: 1px solid rgba(12,18,31,0.25);
    display: flex; align-items: center; justify-content: space-between; gap: var(--gutter-sm); flex-wrap: wrap;
}
.s54-copy { font-size: var(--size-sm); color: var(--bg); }
.s54-social { display: flex; gap: var(--gutter-sm); }
.s54-sociallink { font-size: var(--size-sm); color: var(--bg); }
.s54-sociallink:hover { text-decoration: underline; color: var(--bg); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    :root { --text-h1: 48px; --type-h2: 34px; }
    .p29-grid { grid-template-columns: repeat(2, 1fr); }
    .s54-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    :root {
        --text-h1: 36px; --type-h2: 28px; --size-h3: 22px; --text-h4: 18px;
        --type-h5: 16px; --type-h6: 14px; --text-base: 16px; --size-sm: 13px; --type-micro: 11px;
    }
    body { padding-top: 108px; }
    .k07 { height: 72px; gap: var(--gutter-sm); }
    .k07-logo img { height: 56px; }
    .k07-nav { display: none; }
    .k07-authbtn { display: none; }
    .k07-toggle { display: flex; }
    .w11, .a54, .w45, .o29, .p29, .b01, .b51, .z63, .v69, .c76, .t31, .x65, .g95 {
        padding-inline: var(--pad-mobile);
    }
    .w11-frame { padding: var(--gap-md); }
    .w45-p, .w45-list { padding-left: var(--gap-md); }
    .o29-grid { grid-template-columns: 1fr; }
    .p29-grid { grid-template-columns: 1fr; }
    .b51-box { padding: var(--gap-md); }
    .z63-actions { flex-direction: column; }
    .z63-btn { width: 100%; }
    .c76-card { flex-direction: column; align-items: center; text-align: center; }
    .s54-inner { grid-template-columns: 1fr; gap: var(--gap-md); }
    .a81 { inset-inline: var(--gap-md); width: auto; }
}
