/* ═══════════════════════════════════════
   MOBILE PAGE — mobile.css
   Tokens e reset condivisi con desktop
═══════════════════════════════════════ */

/* ── Token ── */
.mob-page {
    --fd: 'Bebas Neue', sans-serif;
    --fb: 'DM Sans', sans-serif;
    --fm: 'DM Mono', monospace;
    --mob-r: 12px;
}

/* ── Theme: dark ── */
[data-theme="dark"] .mob-page,
[data-theme="dark"].mob-page {
    --mob-bg:    #090c12;
    --mob-bg2:   #0f1219;
    --mob-bg3:   #161b26;
    --mob-bg4:   #1c2233;
    --mob-sf:    #131720;
    --mob-sf2:   #1a2030;
    --mob-tx:    #e8eaf0;
    --mob-tx2:   #9ba3b8;
    --mob-tx3:   #5a6278;
    --mob-bd:    rgba(255,255,255,0.07);
    --mob-bd2:   rgba(255,255,255,0.13);
    --mob-sh:    rgba(0,0,0,.5);
    --mob-gl:    rgba(255,255,255,0.03);
}

/* ── Theme: light ── */
[data-theme="light"] .mob-page,
[data-theme="light"].mob-page {
    --mob-bg:    #f3f1ec;
    --mob-bg2:   #eae8e2;
    --mob-bg3:   #e1ddd5;
    --mob-bg4:   #d5d0c6;
    --mob-sf:    #faf9f6;
    --mob-sf2:   #eeecea;
    --mob-tx:    #1a1c22;
    --mob-tx2:   #4a5068;
    --mob-tx3:   #9ba3b8;
    --mob-bd:    rgba(0,0,0,0.08);
    --mob-bd2:   rgba(0,0,0,0.14);
    --mob-sh:    rgba(0,0,0,.12);
    --mob-gl:    rgba(0,0,0,0.02);
}

/* ── Root page ── */
.mob-page {
    background: var(--mob-bg);
    color: var(--mob-tx);
    font-family: var(--fb);
    font-size: 14px;
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background .35s, color .35s;
}

/* ═══════════════════
   TOP BAR
═══════════════════ */
.mob-topbar {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--mob-sf);
    border-bottom: 1px solid var(--mob-bd);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
}

.mob-topbar-title-block {
    flex: 1;
    min-width: 0;
}

.mob-topbar-eyebrow {
    font-family: var(--fm);
    font-size: 8px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mob-tx3);
    line-height: 1;
    margin-bottom: 1px;
}

.mob-topbar-title {
    font-family: var(--fd);
    font-size: 20px;
    letter-spacing: .04em;
    line-height: 1;
    color: var(--mob-tx);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mob-topbar-title span { color: #e8c84a; }

.mob-topbar-subtitle {
    font-family: var(--fm);
    font-size: 8px;
    color: var(--mob-tx3);
    letter-spacing: .06em;
    margin-top: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mob-topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.mob-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(232,74,74,.12);
    border: 1px solid rgba(232,74,74,.2);
    color: #e84a4a;
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-family: var(--fm);
    padding: 4px 8px;
    border-radius: 100px;
}

.mob-live-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e84a4a;
    animation: mobPulse 1.4s ease-in-out infinite;
}

@keyframes mobPulse { 0%,100%{opacity:1} 50%{opacity:.2} }

.mob-btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--mob-sf2);
    border: 1px solid var(--mob-bd2);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s;
    color: var(--mob-tx);
}

.mob-btn-icon:hover { transform: scale(1.08); }
.mob-btn-icon--active { background: rgba(232,200,74,.14); border-color: rgba(232,200,74,.3); }

/* ═══════════════════
   SECTION TABS
═══════════════════ */
.mob-tabs {
    position: sticky;
    top: 55px;
    z-index: 190;
    background: var(--mob-bg);
    border-bottom: 1px solid var(--mob-bd);
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mob-tabs::-webkit-scrollbar { display: none; }

.mob-tab {
    flex-shrink: 0;
    padding: 10px 16px;
    font-family: var(--fm);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mob-tx3);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: color .2s, border-color .2s;
    white-space: nowrap;
}

.mob-tab-active {
    color: #e8c84a;
    border-bottom-color: #e8c84a;
}

/* ═══════════════════
   STATS STRIP (4 celle)
═══════════════════ */
.mob-stats-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--mob-bd);
    border-bottom: 1px solid var(--mob-bd);
}

.mob-stat-cell {
    background: var(--mob-sf);
    padding: 12px 10px;
    text-align: center;
}

.mob-stat-num {
    font-family: var(--fd);
    font-size: 20px;
    color: #e8c84a;
    line-height: 1;
}

.mob-stat-lbl {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--mob-tx3);
    font-family: var(--fm);
    margin-top: 2px;
}

/* ═══════════════════
   SECTIONS
═══════════════════ */
.mob-section { padding: 20px 0; }
.mob-section + .mob-section { border-top: 1px solid var(--mob-bd); }

.mob-hidden { display: none !important; }

.mob-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 0 14px;
}

.mob-sec-eyebrow {
    font-family: var(--fm);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mob-tx3);
    margin-bottom: 3px;
}

.mob-sec-title {
    font-family: var(--fd);
    font-size: 26px;
    letter-spacing: .03em;
    line-height: 1;
    color: var(--mob-tx);
}

/* ═══════════════════
   PARTY AVATAR SWITCHER
═══════════════════ */
.mob-party-avatars {
    display: flex;
    gap: 12px;
    padding: 0 14px;
    margin-bottom: 16px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.mob-party-avatars::-webkit-scrollbar { display: none; }

.mob-party-avatar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
}

.mob-party-avatar-wrap {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    border: 2.5px solid transparent;
    transition: border-color .2s, box-shadow .2s;
    position: relative;
    background: var(--mob-bg3);
}

.mob-party-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mob-party-avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fd);
    font-size: 16px;
}

.mob-party-avatar-btn.active .mob-party-avatar-wrap {
    border-color: var(--avatar-color, #e8c84a);
    box-shadow: 0 0 0 3px rgba(var(--avatar-color-rgb, 232,200,74), .18);
}

.mob-party-avatar-lbl {
    font-family: var(--fm);
    font-size: 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--mob-tx3);
    transition: color .2s;
    max-width: 64px;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
}

.mob-party-avatar-btn.active .mob-party-avatar-lbl {
    color: var(--avatar-color, #e8c84a);
}

/* ═══════════════════
   PARTY PANEL — intestazione
═══════════════════ */
.mob-party-total-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--mob-sf);
    border-top: 1px solid var(--mob-bd);
    border-bottom: 1px solid var(--mob-bd);
    margin-bottom: 2px;
}

.mob-ptb-logo {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fd);
    font-size: 14px;
    overflow: hidden;
}

.mob-ptb-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mob-ptb-name {
    font-family: var(--fd);
    font-size: 18px;
    letter-spacing: .04em;
    flex: 1;
    line-height: 1.1;
}

.mob-ptb-total {
    font-family: var(--fd);
    font-size: 24px;
    line-height: 1;
}

.mob-ptb-pct {
    font-size: 10px;
    font-family: var(--fm);
    color: var(--mob-tx3);
    text-align: right;
    margin-top: 1px;
}

/* ═══════════════════
   STICKY-COL TABLE
═══════════════════ */
.mob-table-outer {
    position: relative;
    overflow: hidden;
}

.mob-table-outer::after {
    content: '';
    position: absolute;
    top: 0; left: 120px; bottom: 0; width: 18px;
    background: linear-gradient(90deg, var(--mob-sf), transparent);
    pointer-events: none;
    z-index: 10;
    opacity: .8;
}

.mob-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.mob-table-scroll::-webkit-scrollbar { display: none; }

table.mob-cand-table {
    border-collapse: collapse;
    width: max-content;
    min-width: 100%;
    table-layout: fixed;
}

table.mob-cand-table th,
table.mob-cand-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--mob-bd);
    white-space: nowrap;
    vertical-align: middle;
    text-align: right;
}

table.mob-cand-table th:first-child,
table.mob-cand-table td:first-child {
    position: sticky;
    left: 0;
    z-index: 5;
    background: var(--mob-sf);
    text-align: left;
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    border-right: 1px solid var(--mob-bd2);
    box-shadow: 2px 0 8px var(--mob-sh);
}

table.mob-cand-table thead th {
    font-family: var(--fm);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mob-tx3);
    background: var(--mob-bg3);
    border-bottom: 1px solid var(--mob-bd2);
    padding-top: 10px;
    padding-bottom: 10px;
}

table.mob-cand-table thead th:first-child { background: var(--mob-bg3); }

/* cand name cell */
.mob-cname-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mob-cname-txt {
    font-size: 11px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 80px;
    color: var(--mob-tx);
}

.mob-rank-num {
    font-family: var(--fm);
    font-size: 9px;
    color: var(--mob-tx3);
    flex-shrink: 0;
}

/* vote cells */
.mob-vcell {
    font-family: var(--fd);
    font-size: 15px;
    min-width: 52px;
    color: var(--mob-tx);
}

.mob-vcell.mob-tot { font-size: 16px; }

/* alternate row */
table.mob-cand-table tbody tr:nth-child(even) td { background: var(--mob-gl); }
table.mob-cand-table tbody tr:nth-child(even) td:first-child { background: var(--mob-sf); }

/* col sep before seggi */
.mob-col-sep {
    border-left: 2px solid var(--mob-bd2) !important;
    padding-left: 12px !important;
}

/* ═══════════════════
   SEGGI
═══════════════════ */
.mob-seggi-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 14px;
}

.mob-seg-card {
    background: var(--mob-sf);
    border: 1px solid var(--mob-bd);
    border-radius: var(--mob-r);
    overflow: hidden;
}

.mob-seg-card-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    cursor: pointer;
    position: relative;
}

.mob-seg-card-head::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
}

.mob-seg-completato .mob-seg-card-head::before { background: #4ae89a; }
.mob-seg-in-corso   .mob-seg-card-head::before { background: #e8944a; }
.mob-seg-in-attesa  .mob-seg-card-head::before { background: var(--mob-tx3); }
.mob-seg-aperto     .mob-seg-card-head::before { background: #4a9ee8; }
.mob-seg-in-pausa   .mob-seg-card-head::before { background: #e8c84a; }
.mob-seg-riconteggio .mob-seg-card-head::before { background: #e84a6f; }

.mob-seg-num-badge {
    font-family: var(--fm);
    font-size: 9px;
    letter-spacing: .12em;
    text-transform: uppercase;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--mob-bg3);
    color: var(--mob-tx2);
}

.mob-seg-info { flex: 1; min-width: 0; }

.mob-seg-name-txt {
    font-family: var(--fd);
    font-size: 16px;
    letter-spacing: .03em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--mob-tx);
}

.mob-seg-status {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-family: var(--fm);
    padding: 2px 6px;
    border-radius: 100px;
    font-weight: 600;
    display: inline-block;
    margin-top: 2px;
}

.mob-seg-completato .mob-seg-status  { background: rgba(74,232,154,.12); color: #4ae89a; }
.mob-seg-in-corso   .mob-seg-status  { background: rgba(232,148,74,.15); color: #e8944a; }
.mob-seg-in-attesa  .mob-seg-status  { background: var(--mob-gl);        color: var(--mob-tx3); }
.mob-seg-aperto     .mob-seg-status  { background: rgba(74,158,232,.12); color: #4a9ee8; }
.mob-seg-in-pausa   .mob-seg-status  { background: rgba(232,200,74,.14); color: #e8c84a; }
.mob-seg-riconteggio .mob-seg-status { background: rgba(232,74,111,.12); color: #e84a6f; }

.mob-seg-pct-txt {
    font-family: var(--fd);
    font-size: 18px;
    color: var(--mob-tx);
    flex-shrink: 0;
}

.mob-seg-chevron {
    font-size: 14px;
    color: var(--mob-tx3);
    flex-shrink: 0;
    transition: transform .3s;
}

.mob-seg-card.mob-seg-open .mob-seg-chevron { transform: rotate(180deg); }

/* expanded body */
.mob-seg-body {
    display: none;
    padding: 0 14px 12px;
}

.mob-seg-card.mob-seg-open .mob-seg-body { display: block; }

.mob-seg-prog-row {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--mob-tx3);
    font-family: var(--fm);
    margin-bottom: 5px;
}

.mob-seg-bar {
    height: 5px;
    background: var(--mob-bg3);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 10px;
}

.mob-seg-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width .8s cubic-bezier(.22,1,.36,1);
}

.mob-seg-completato  .mob-seg-bar-fill { background: #4ae89a; }
.mob-seg-in-corso    .mob-seg-bar-fill { background: #e8944a; }
.mob-seg-in-attesa   .mob-seg-bar-fill { background: var(--mob-tx3); }
.mob-seg-aperto      .mob-seg-bar-fill { background: #4a9ee8; }
.mob-seg-in-pausa    .mob-seg-bar-fill { background: #e8c84a; }
.mob-seg-riconteggio .mob-seg-bar-fill { background: #e84a6f; }

.mob-seg-pills {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.mob-spill {
    font-size: 9px;
    padding: 3px 8px;
    border-radius: 100px;
    font-family: var(--fm);
    border: 1px solid var(--mob-bd2);
    background: var(--mob-gl);
    color: var(--mob-tx2);
}

.mob-spill.mob-nulle   { border-color: rgba(232,74,111,.25); color: #e84a6f; background: rgba(232,74,111,.08); }
.mob-spill.mob-contest { border-color: rgba(232,148,74,.25); color: #e8944a; background: rgba(232,148,74,.08); }

.mob-seg-orari {
    display: flex;
    gap: 20px;
    padding-top: 10px;
    border-top: 1px solid var(--mob-bd);
}

.mob-seg-orario-lbl {
    font-size: 9px;
    color: var(--mob-tx3);
    font-family: var(--fm);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mob-seg-orario-val {
    font-size: 13px;
    font-weight: 500;
    font-family: var(--fm);
    color: var(--mob-tx);
}

/* ═══════════════════
   GRAFICI
═══════════════════ */
.mob-charts-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 14px;
}

.mob-chart-card {
    background: var(--mob-sf);
    border: 1px solid var(--mob-bd);
    border-radius: var(--mob-r);
    padding: 16px;
}

.mob-chart-title {
    font-family: var(--fd);
    font-size: 17px;
    letter-spacing: .04em;
    margin-bottom: 2px;
    color: var(--mob-tx);
}

.mob-chart-sub {
    font-size: 9px;
    color: var(--mob-tx3);
    font-family: var(--fm);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.mob-chart-wrap { height: 190px; }

.mob-chart-legend {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.mob-leg-item { display: flex; align-items: center; gap: 5px; }

.mob-leg-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mob-leg-lbl { font-size: 10px; color: var(--mob-tx2); font-family: var(--fm); }

/* ═══════════════════
   CANDIDATE DRAWER
═══════════════════ */

/* backdrop */
.mob-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(0,0,0,0);
    transition: background .35s ease;
    pointer-events: none;
}
.mob-drawer-backdrop--visible {
    background: rgba(0,0,0,.65);
    pointer-events: all;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* drawer panel */
.mob-drawer {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 401;
    height: 100dvh;
    background: #0a0d14;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform .38s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -12px 60px rgba(0,0,0,.6);
}
.mob-drawer--open {
    transform: translateY(0);
}

/* foto */
.mob-drawer-photo-wrap {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 260px;
    flex-shrink: 0;
    overflow: hidden;
    background: #0a0d14;
}
.mob-drawer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: contrast(1.05);
}
.mob-drawer-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--fd);
    font-size: 72px;
    letter-spacing: .04em;
}
.mob-drawer-photo-grad {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(to top,
        #0a0d14 0%,
        transparent 50%) !important;
}

/* pill partito sovrapposta alla foto */
.mob-drawer-party-pill {
    position: absolute;
    top: 12px; left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 6px;
    border-radius: 100px;
    border: 1px solid;
    font-family: var(--fm);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.mob-drawer-party-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 3px;
    flex-shrink: 0;
}

/* bottone chiudi */
.mob-drawer-close {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    line-height: 1;
    transition: background .2s;
}
.mob-drawer-close:hover { background: rgba(0,0,0,.7); }

/* corpo testo */
.mob-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 18px 36px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    -webkit-overflow-scrolling: touch;
    background: #0a0d14;
}

.mob-drawer-name {
    font-family: var(--fd);
    font-size: 28px;
    letter-spacing: .05em;
    line-height: 1.1;
    color: #f0f2f8;
}

.mob-drawer-alias {
    font-family: 'Crimson Pro', serif;
    font-size: 16px;
    font-style: italic;
    color: rgba(255,255,255,.65);
    letter-spacing: .04em;
    margin-top: -2px;
}

.mob-drawer-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}
.mob-drawer-meta-pill {
    font-family: var(--fm);
    font-size: 10px;
    letter-spacing: .1em;
    color: rgba(255,255,255,.7);
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 100px;
    padding: 3px 10px;
}

.mob-drawer-divider {
    height: 1px;
    border-radius: 100px;
    opacity: .3;
    margin: 8px 0;
}

/* voti */
.mob-drawer-votes-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.mob-drawer-votes-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
.mob-drawer-votes-num {
    font-family: var(--fd);
    font-size: 40px;
    line-height: 1;
}
.mob-drawer-votes-lbl {
    font-family: var(--fm);
    font-size: 9px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}
.mob-drawer-votes-bar-wrap {
    height: 4px;
    background: rgba(255,255,255,.1);
    border-radius: 100px;
    overflow: hidden;
}
.mob-drawer-votes-bar {
    height: 100%;
    border-radius: 100px;
    transition: width .6s cubic-bezier(.22,1,.36,1);
    min-width: 4px;
}

/* bio */
.mob-drawer-bio {
    font-family: 'Crimson Pro', serif;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,.72);
    font-style: italic;
    margin-top: 4px;
}

/* tap hint sul nome candidato */
.mob-cname-tap {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-color: var(--mob-tx3);
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

/* ═══════════════════
   BANNER BAR (fixed)
═══════════════════ */
.mob-banner-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 250;
    height: 64px;
    background: var(--mob-sf);
    border-top: 1px solid var(--mob-bd);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.mob-banner-bar-img {
    max-height: 56px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    transition: opacity .4s ease;
}

/* spazio extra in fondo alla pagina quando il banner è visibile */
.mob-page--has-banner {
    padding-bottom: 64px;
}

/* ═══════════════════
   SCROLL REVEAL
═══════════════════ */
.mob-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s ease, transform .5s ease;
}

.mob-reveal.mob-visible {
    opacity: 1;
    transform: none;
}
