/* ==================================================================
   ogDonut Casino
   Flat surfaces, one accent, neutral elevation. No colour glow.
   ================================================================== */

:root {
    /* Surfaces step by value, not by gradient */
    --bg:          #0a0d13;
    --surface:     #10141d;
    --surface-2:   #151a25;
    --surface-3:   #1b2130;
    --line:        #222836;
    --line-hi:     #2e3646;

    /* Three text weights, that is all */
    --text:        #e7eaf0;
    --text-2:      #949cad;
    --text-3:      #646c7d;

    /* One accent. Used for state, never for decoration. */
    --accent:      #3d7dff;
    --accent-hi:   #6098ff;
    --accent-weak: rgba(61, 125, 255, 0.10);
    --accent-line: rgba(61, 125, 255, 0.28);

    --pos:         #35c07a;
    --neg:         #e2565f;
    --warn:        #dc9b3c;
    --cash:        #d8b26a;

    /* Elevation is black, never coloured */
    --sh-sm:       0 1px 2px rgba(0, 0, 0, 0.3);
    --sh:          0 4px 14px rgba(0, 0, 0, 0.36);
    --sh-lg:       0 24px 60px rgba(0, 0, 0, 0.55);

    --r-sm:        6px;
    --r:           9px;
    --r-lg:        13px;

    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --ease: cubic-bezier(0.2, 0, 0, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: -0.006em;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[hidden] { display: none !important; }
.muted { color: var(--text-2); font-weight: 400; }

:where(button, input, a):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: var(--r-sm);
}

::selection { background: var(--accent); color: #fff; }

/* ---------------------------------------------------------------- *
   Buttons
 * ---------------------------------------------------------------- */

.btn {
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding: 9px 16px;
    border: 1px solid transparent;
    border-radius: var(--r-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: background .14s var(--ease), border-color .14s var(--ease), color .14s var(--ease);
}
.btn:disabled { cursor: not-allowed; opacity: .45; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--accent-hi); }
.btn-primary:active:not(:disabled) { background: #3570e6; }

.btn-ghost { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-3); border-color: var(--line-hi); }

.btn-quiet { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-quiet:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }

.btn-block { width: 100%; }

.btn-play {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: var(--accent);
    border-radius: var(--r);
}
.btn-play:hover:not(:disabled) { background: var(--accent-hi); }
.btn-play:disabled { background: var(--surface-3); color: var(--text-3); opacity: 1; }
.btn-play.spinning { background: var(--surface-3); color: var(--text-2); }

.btn-chip {
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 0;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    color: var(--text-2);
    cursor: pointer;
    transition: background .14s var(--ease), color .14s var(--ease), border-color .14s var(--ease);
}
.btn-chip:hover { background: var(--surface-3); border-color: var(--line-hi); color: var(--text); }

.linkish {
    font: inherit;
    font-weight: 600;
    background: none;
    border: 0;
    padding: 0;
    color: var(--accent-hi);
    cursor: pointer;
}
.linkish:hover { color: var(--text); }

/* ---------------------------------------------------------------- *
   Form fields
 * ---------------------------------------------------------------- */

.field { display: block; margin-bottom: 16px; }

.field-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 6px;
}

.field-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--text-3); line-height: 1.45; }

.field input[type="text"],
.field input[type="password"],
.field input[type="number"] {
    width: 100%;
    font: inherit;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 10px 12px;
    transition: border-color .14s var(--ease), background .14s var(--ease);
}
.field input::placeholder { color: var(--text-3); font-weight: 400; }
.field input:hover { border-color: var(--line-hi); }
.field input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
}

.field input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.field input[type=number]::-webkit-outer-spin-button,
.field input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.field-input { position: relative; display: block; }
.field-input input { padding-right: 62px; }

.field-input.money i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-3);
    pointer-events: none;
}
.field-input.money input {
    padding-left: 26px;
    padding-right: 12px;
    font-variant-numeric: tabular-nums;
}

.reveal {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    background: transparent;
    border: 0;
    border-radius: 5px;
    padding: 6px 9px;
    cursor: pointer;
}
.reveal:hover { color: var(--text); background: var(--surface-3); }

.check {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: var(--text-2);
    cursor: pointer;
    user-select: none;
    margin-bottom: 18px;
}
.check input { width: 15px; height: 15px; flex: none; accent-color: var(--accent); cursor: pointer; }

.notice {
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: var(--r-sm);
    padding: 10px 12px;
    margin-bottom: 16px;
    background: rgba(226, 86, 95, .08);
    border: 1px solid rgba(226, 86, 95, .26);
    color: #f0a5aa;
}
.notice.is-info {
    background: var(--accent-weak);
    border-color: var(--accent-line);
    color: #a8c5ff;
}

.strength { display: flex; align-items: center; gap: 9px; margin-top: 9px; }
.strength-bar { flex: 1; height: 3px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.strength-bar i { display: block; height: 100%; width: 0; transition: width .25s var(--ease), background .25s var(--ease); }
.strength-text { font-size: 12px; font-weight: 500; color: var(--text-2); min-width: 54px; }

/* ---------------------------------------------------------------- *
   Auth
 * ---------------------------------------------------------------- */

.auth-overlay {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    overflow-y: auto;
    background: var(--bg);
}

.auth-shell {
    width: 100%;
    max-width: 900px;
    margin: auto 0;
    display: grid;
    grid-template-columns: 1fr 396px;
    gap: 64px;
    align-items: center;
}

.auth-brand .mark {
    display: block;
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
}
.auth-brand h1 {
    font-size: clamp(34px, 4.2vw, 46px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.auth-brand h1 span { color: var(--text-2); }
.auth-brand > p {
    margin-top: 12px;
    font-size: 15px;
    color: var(--text-2);
    max-width: 38ch;
    line-height: 1.6;
}

.auth-points { list-style: none; margin-top: 30px; display: grid; gap: 1px; }
.auth-points li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 0;
    font-size: 13.5px;
    color: var(--text-2);
    border-top: 1px solid var(--line);
}
.auth-points li:last-child { border-bottom: 1px solid var(--line); }
.auth-points li span {
    flex: none;
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    color: var(--text-3);
}
.auth-points svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.6; }

.auth-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--sh);
    overflow: hidden;
}

.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.auth-tab {
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    padding: 14px 8px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid transparent;
    margin-bottom: -1px;
    color: var(--text-3);
    cursor: pointer;
    transition: color .14s var(--ease), border-color .14s var(--ease);
}
.auth-tab:hover { color: var(--text-2); }
.auth-tab.is-active { color: var(--text); border-bottom-color: var(--accent); }

.auth-card { padding: 26px 24px 24px; }
.auth-lead { font-size: 13.5px; color: var(--text-2); margin-bottom: 22px; line-height: 1.55; }
.auth-switch { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--text-3); }

/* ---------------------------------------------------------------- *
   Top bar
 * ---------------------------------------------------------------- */

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.nav-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    text-decoration: none;
}
.logo-mark { height: 38px; width: auto; flex: none; }
.logo-accent { color: var(--text-2); margin-left: 5px; }

.user-panel { display: flex; align-items: center; gap: 14px; }

.wallet { display: flex; align-items: center; gap: 10px; }
.wallet-name { font-size: 13.5px; font-weight: 500; color: var(--text-2); }
.wallet-amount {
    display: flex;
    align-items: baseline;
    gap: 3px;
    padding: 5px 11px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 13.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.wallet-amount i { font-style: normal; color: var(--text-3); }

.nav-actions { display: flex; align-items: center; gap: 7px; }

/* ---------------------------------------------------------------- *
   Layout
 * ---------------------------------------------------------------- */

.main-content { max-width: 1160px; margin: 0 auto; padding: 40px 24px 20px; }

.hero { margin-bottom: 26px; }
.hero h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.025em; }
.hero p { margin-top: 4px; font-size: 14px; color: var(--text-2); }

.game-container {
    display: grid;
    grid-template-columns: 296px 1fr;
    gap: 20px;
    align-items: start;
}

.game-control-panel,
.game-display-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}

.game-control-panel { padding: 20px; }
.game-display-panel { padding: 22px; display: flex; flex-direction: column; align-items: center; }

.panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-3);
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.panel-title span { font-size: 14px; }

.bet-adjusters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: -2px 0 18px; }

.stat-rows { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.stat-rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.stat-rows dt { font-size: 13px; color: var(--text-2); }
.stat-rows dd { font-size: 13.5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.stat-rows dd.is-up { color: var(--pos); }
.stat-rows dd.is-down { color: var(--neg); }

/* ---------------------------------------------------------------- *
   Reel
   Geometry here is load bearing: .reel-item width is set to
   ITEM_WIDTH from JS, and the landing maths depends on it.
 * ---------------------------------------------------------------- */

.spinner-window {
    position: relative;
    width: 100%;
    max-width: 620px;
    height: 118px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color .25s var(--ease);
}
.spinner-window.spinning { border-color: var(--line-hi); }

.spinner-pointer {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    background: var(--accent);
    z-index: 6;
}
.spinner-pointer::before,
.spinner-pointer::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
}
.spinner-pointer::before { top: 0; border-top-color: var(--accent); }
.spinner-pointer::after { bottom: 0; border-bottom-color: var(--accent); }

.spinner-window::before,
.spinner-window::after {
    content: '';
    position: absolute;
    top: 0;
    width: 62px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
}
.spinner-window::before { left: 0; background: linear-gradient(90deg, var(--bg), rgba(10, 13, 19, 0)); }
.spinner-window::after { right: 0; background: linear-gradient(270deg, var(--bg), rgba(10, 13, 19, 0)); }

.spinner-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    will-change: transform;
    backface-visibility: hidden;
}

.reel-item {
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 6px;
    background: var(--surface);
    border-right: 1px solid var(--bg);
    overflow: hidden;
    text-align: center;
    /* no transition here: transitionend would bubble up to the track */
}
.reel-item .emoji { font-size: 25px; line-height: 1; filter: saturate(.85); }
.reel-item .label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-3);
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.reel-item.is-winner {
    background: var(--surface-3);
    box-shadow: inset 0 2px 0 var(--accent);
}
.reel-item.is-winner .emoji { filter: none; }
.reel-item.is-winner .label { color: var(--text); font-weight: 600; }

.game-status {
    margin-top: 18px;
    min-height: 22px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: var(--text-2);
}
.game-status.is-win { color: var(--pos); }
.game-status.is-loss { color: var(--text-2); }

/* ---------------------------------------------------------------- *
   Prize table
 * ---------------------------------------------------------------- */

.prize-panel { width: 100%; max-width: 620px; margin-top: 22px; }
.prize-panel h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--text-3);
    margin-bottom: 11px;
}
.prize-panel h3 .muted { text-transform: none; letter-spacing: 0; font-size: 12px; color: var(--text-3); }

.prize-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); gap: 6px; }

.prize-entry {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
}
.prize-entry .emoji { font-size: 15px; line-height: 1; filter: saturate(.85); }
.prize-entry .prize-name {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.prize-entry .prize-mult { font-size: 12px; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.prize-entry .prize-odds { font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- *
   Footer
 * ---------------------------------------------------------------- */

.site-footer {
    max-width: 1160px;
    margin: 48px auto 0;
    padding: 20px 24px 36px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--text-3);
    line-height: 1.6;
}
.site-footer .muted { color: var(--text-3); opacity: .72; margin-top: 3px; }

/* ---------------------------------------------------------------- *
   Modal
 * ---------------------------------------------------------------- */

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 7, 11, .7);
}

.modal {
    width: 100%;
    max-width: 404px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 22px;
    box-shadow: var(--sh-lg);
}
.modal h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.modal-lead { margin: 6px 0 20px; font-size: 13.5px; color: var(--text-2); line-height: 1.55; }

.modal-warning {
    background: rgba(220, 155, 60, .07);
    border: 1px solid rgba(220, 155, 60, .24);
    color: #e2b877;
    font-size: 12.5px;
    line-height: 1.55;
    border-radius: var(--r-sm);
    padding: 10px 12px;
    margin-bottom: 18px;
}

.modal-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 4px; }

/* ---------------------------------------------------------------- *
   Result popup
 * ---------------------------------------------------------------- */

.win-popup {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000;
    min-width: 268px;
    padding: 14px 16px;
    background: var(--surface-2);
    border: 1px solid var(--line-hi);
    border-left: 2px solid var(--line-hi);
    border-radius: var(--r);
    box-shadow: var(--sh-lg);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.win-popup.visible { transform: none; opacity: 1; pointer-events: auto; }
.win-popup.win { border-left-color: var(--pos); }
.win-popup.loss { border-left-color: var(--line-hi); }

.win-inner { display: flex; align-items: center; gap: 13px; }
.win-emoji { font-size: 27px; line-height: 1; }
.win-text { flex: 1; }
.win-text strong {
    display: block;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.win-popup.win .win-text strong { color: var(--pos); }
.win-sub { font-size: 12.5px; color: var(--text-3); margin-top: 1px; }

.win-close {
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-3);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 6px 10px;
    cursor: pointer;
}
.win-close:hover { color: var(--text); border-color: var(--line-hi); }

.confetti-container { position: fixed; inset: 0; z-index: 1999; overflow: hidden; pointer-events: none; }
.confetti-piece { position: absolute; width: 7px; height: 11px; border-radius: 1px; opacity: .8; will-change: transform, opacity; }

/* ---------------------------------------------------------------- *
   Responsive
 * ---------------------------------------------------------------- */

@media (max-width: 940px) {
    .auth-shell { grid-template-columns: 1fr; max-width: 412px; gap: 30px; }
    .auth-points { display: none; }
    .game-container { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .nav-container { height: auto; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 16px; }
    .user-panel { flex-direction: column; align-items: stretch; gap: 9px; }
    .wallet { justify-content: space-between; }
    .nav-actions { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
    .nav-actions .btn { padding: 9px 4px; font-size: 13px; }

    .main-content { padding: 24px 16px 16px; }
    .game-control-panel, .game-display-panel { padding: 16px; }
    .spinner-window { height: 104px; }
    .spinner-window::before, .spinner-window::after { width: 30px; }
    .prize-list { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
    .auth-overlay { padding: 16px; }
    .auth-card { padding: 22px 20px; }
}

@media (max-width: 480px) {
    .win-popup { left: 14px; right: 14px; bottom: 14px; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* ---------------------------------------------------------------- *
   Footers, brand mark and the filler content
 * ---------------------------------------------------------------- */

/* The auth mark used to be an inline <svg>; it is an <img> now. */
.auth-brand .mark { width: 60px; height: 60px; display: block; }

/* Sign-in screen: the shell stays centred, this sits under it. */
.brand-foot {
    margin-top: 0;
    padding-top: 30px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--text-3);
}
.brand-foot img { width: 20px; height: 20px; opacity: .85; }
.brand-foot b { color: var(--text-2); font-weight: 600; }

/* The dashboard is a column so the footer sits at the bottom of short
   pages instead of leaving a void under the content. */
#main-dashboard { min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1 0 auto; }

/* Three steps under the game panel. */
.info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 22px;
}
.info-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 18px 18px 20px;
    box-shadow: var(--sh-sm);
}
.info-step {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--text-3);
    margin-bottom: 9px;
}
.info-card h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 5px; }
.info-card p  { font-size: 13.5px; line-height: 1.55; color: var(--text-2); }

.notes-panel {
    margin-top: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 20px 22px 22px;
    box-shadow: var(--sh-sm);
}
.notes-panel h3 { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.notes-panel ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.notes-panel li {
    position: relative;
    padding-left: 16px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-2);
}
.notes-panel li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 1px;
    background: var(--line-hi);
}

/* Full-bleed footer band. The shadow reads as the page sitting above it -
   elevation, in black, same as every other surface here. */
.site-footer {
    max-width: none;
    margin: 56px 0 0;
    padding: 0;
    flex: none;
    background: var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -18px 42px -30px rgba(0, 0, 0, 0.9);
}
.site-footer-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 24px 24px 30px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
    font-size: 12.5px;
    color: var(--text-3);
    line-height: 1.6;
}
.footer-brand { display: flex; align-items: flex-start; gap: 11px; }
.footer-brand img { width: 30px; height: 30px; flex: none; opacity: .9; }
.footer-powered { font-size: 13.5px; color: var(--text-2); }
.footer-powered b { color: var(--text); font-weight: 700; }
.footer-note { max-width: 420px; text-align: right; }

@media (max-width: 900px) {
    .info-row { grid-template-columns: 1fr; }
    .notes-panel ul { grid-template-columns: 1fr; }
    .site-footer-inner { flex-direction: column; gap: 16px; }
    .footer-note { text-align: left; max-width: none; }
}

.auth-assure {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 22px;
    justify-content: start;
}
.auth-assure div span {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}
.auth-assure div small {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
    color: var(--text-3);
}
@media (max-width: 860px) { .auth-assure { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
