/* VibeNotch island simulator.
   Every size below is in macOS points (1pt = 1px inside .vni), taken from the
   app's SwiftUI views. The whole canvas is scaled with --vni-scale. */

.vni {
    --vni-scale: 1;
    --vni-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
    --vni-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --vni-gray: rgb(142 142 147);
    --vni-green: rgb(52 199 89);
    --vni-blue: rgb(10 132 255);
    --vni-cyan: rgb(100 210 255);
    --vni-purple: rgb(191 90 242);
    --vni-red: rgb(255 69 58);
    --vni-yellow: rgb(255 214 10);
    position: absolute;
    top: 0;
    left: 50%;
    width: 640px;
    height: 300px;
    margin-left: -320px;
    transform: scale(var(--vni-scale));
    transform-origin: 50% 0;
    font-family: var(--vni-font);
    color: #fff;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    contain: layout style;
}

.vni.is-zooming {
    transition: transform 1s cubic-bezier(.65, 0, .25, 1);
}

.vni *,
.vni *::before,
.vni *::after {
    box-sizing: border-box;
}

:where(.vni) svg {
    display: block;
    flex: none;
    overflow: visible;
}

:where(.vni) button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

/* ── Hardware notch (MacBook display cut-out) ───────────────────────── */
.vni-hw {
    position: absolute;
    top: 0;
    left: 50%;
    width: 179px;
    height: 32px;
    margin-left: -89.5px;
    color: #000;
    transition: opacity .4s ease;
}

.vni[data-mode="bubble"] .vni-hw {
    opacity: 0;
}

/* ── Island: the clipped surface that morphs like NotchShape ────────── */
.vni-pulse {
    position: absolute;
    inset: 0;
    transform-origin: 50% 0;
    will-change: transform;
}

.vni-surface {
    position: absolute;
    inset: 0;
    will-change: clip-path;
}

.vni-fill,
.vni-glass,
.vni-glow {
    position: absolute;
    top: 0;
    left: 0;
}

.vni-fill {
    background: #000;
}

.vni-glass {
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    background: rgb(28 28 32 / .28);
}

.vni-glow {
    pointer-events: none;
    opacity: 0;
    transition: opacity .4s ease;
}

.vni-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse var(--glow-r) var(--glow-r) at 50% var(--glow-y), color-mix(in srgb, var(--glow) 32%, transparent), color-mix(in srgb, var(--glow) 15%, transparent) 50%, transparent 100%);
    filter: blur(6px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent var(--glow-a), #000 var(--glow-b), rgb(0 0 0 / .9) 100%);
    mask-image: linear-gradient(to bottom, transparent 0, transparent var(--glow-a), #000 var(--glow-b), rgb(0 0 0 / .9) 100%);
}

.vni[data-disco="on"] .vni-glow::before {
    animation: vni-glow-pulse .8s ease-in-out infinite alternate;
}

.vni[data-disco="off"] .vni-glow {
    display: none;
}

.vni[data-disco="on"] .vni-glow {
    opacity: 1;
}

@keyframes vni-glow-pulse {
    to { transform: scale(1.16); }
}

/* Every view is laid out at its own settled size, centered on the island,
   and revealed by the clip — exactly how the SwiftUI frame clips it. */
.vni-view {
    position: absolute;
    top: 0;
    left: 50%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility 0s linear .2s;
}

.vni-view.is-on {
    opacity: 1;
    visibility: visible;
    transition: opacity .35s cubic-bezier(.42, 0, .58, 1) .1s, visibility 0s;
}

.vni-view.is-quick.is-on {
    transition: opacity .18s ease-out, visibility 0s;
}

.vni-view.is-instant {
    transition: none !important;
}

.vni-hit {
    position: absolute;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.vni-interactive {
    pointer-events: auto;
}

/* ── Compact (music) ───────────────────────────────────────────────── */
.vni-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 33px;
    padding: 0 11px;
}

.vni-bubble-compact {
    height: 41px;
    top: 8px;
}

.vni-art {
    flex: none;
    background-color: #222;
    background-size: cover;
    background-position: center;
}

.vni-art-s {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.vni-art-l {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    box-shadow: 0 3px 6px rgb(0 0 0 / .4);
}

/* Waveform: 7 bars, 2.5pt wide, gradient from the artwork colours. */
.vni-wave {
    display: flex;
    align-items: center;
    gap: 2.5px;
    height: 14px;
    filter: drop-shadow(0 0 2px var(--wave-shadow, rgb(26 255 51 / .3)));
}

.vni-wave i {
    display: block;
    width: 2.5px;
    height: 3px;
    border-radius: 1.5px;
    background: var(--wave-grad, rgb(26 255 51));
    background-size: 35.5px 100%;
}

.vni-wave i:nth-child(2) { background-position: -5px 0; }
.vni-wave i:nth-child(3) { background-position: -10px 0; }
.vni-wave i:nth-child(4) { background-position: -15px 0; }
.vni-wave i:nth-child(5) { background-position: -20px 0; }
.vni-wave i:nth-child(6) { background-position: -25px 0; }
.vni-wave i:nth-child(7) { background-position: -30px 0; }

/* ── Expanded header (battery · gear · status chips) ───────────────── */
.vni-header {
    width: 380px;
    height: 32px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vni-batt {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 8px;
    font-weight: 700;
    color: rgb(255 255 255 / .5);
}

.vni-batt svg {
    color: rgb(255 255 255 / .92);
}

.vni-left {
    display: flex;
    align-items: center;
    gap: 1px;
}

.vni-gear {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgb(255 255 255 / .1);
    color: rgb(255 255 255 / .6);
}

.vni-chips {
    width: 84px;
    overflow: hidden;
    height: 32px;
}

.vni-chips-row {
    display: flex;
    gap: 4px;
    transition: transform .6s cubic-bezier(.25, 1.1, .4, 1);
}

.vni-chip {
    position: relative;
    flex: none;
    width: 40px;
    height: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgb(255 255 255 / .1);
    color: rgb(255 255 255 / .8);
    transition: background-color .25s ease, color .25s ease;
}

.vni-chip > span {
    display: block;
    height: 10px;
    line-height: 10px;
    font-size: 7px;
    font-weight: 800;
}

.vni-chip > svg {
    height: 16px;
}

.vni-chip.is-on {
    color: var(--tint);
    background: color-mix(in srgb, var(--tint) 20%, transparent);
}

.vni-chip .vni-dot {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--dot);
}

/* Bubble header: one tile family on the bubble grid */
.vni-bubble-header {
    width: 380px;
    height: 30px;
    top: 18px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vni-bubble-header .vni-gear {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgb(255 255 255 / .07);
    color: rgb(255 255 255 / .7);
}

.vni-bubble-header .vni-chips {
    width: auto;
    height: 30px;
}

.vni-bubble-header .vni-chips-row {
    gap: 6px;
}

.vni-bubble-header .vni-chip {
    height: 30px;
    border-radius: 9px;
    background: rgb(255 255 255 / .07);
    color: rgb(255 255 255 / .7);
}

.vni-bubble-header .vni-chip > span {
    font-weight: 700;
    letter-spacing: .3px;
}

.vni-bubble-header .vni-chip > svg {
    height: 15px;
}

.vni-bubble-header .vni-chip.is-on {
    color: var(--tint);
    background: color-mix(in srgb, var(--tint) 20%, transparent);
}

.vni-bubble-batt {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: rgb(255 255 255 / .75);
}

.vni-left-bubble {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Expanded panels ───────────────────────────────────────────────── */
.vni-panel {
    width: 380px;
}

.vni-media {
    top: 38px;
    height: 68px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.vni[data-mode="bubble"] .vni-media {
    top: 56px;
    padding: 0 20px;
    gap: 12px;
}

.vni-info {
    width: 170px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.vni-np {
    display: flex;
    align-items: center;
    height: 14px;
}

.vni-np-icon {
    width: 14px;
    height: 10px;
    display: grid;
    place-items: center;
}

.vni-np-label {
    width: 75px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--vni-gray);
    white-space: nowrap;
}

.vni-np .vni-wave {
    margin-left: auto;
    width: 25px;
    transform: translateX(2px);
}

.vni-title {
    height: 18px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vni-artist {
    font-size: 12px;
    line-height: 15px;
    font-weight: 500;
    color: rgb(255 255 255 / .7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vni-progress {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 10px;
    margin-top: 2px;
}

.vni-track {
    position: relative;
    flex: 1;
    height: 10px;
    cursor: pointer;
}

.vni-track::before,
.vni-track-fill {
    content: "";
    position: absolute;
    left: 0;
    top: 2.5px;
    height: 5px;
    border-radius: 3px;
}

.vni-track::before {
    right: 0;
    background: rgb(255 255 255 / .2);
}

.vni-track-fill {
    background: #fff;
    width: calc(var(--p, 0) * 100%);
}

.vni-knob {
    position: absolute;
    top: 0;
    left: calc(var(--p, 0) * 100% - 5px);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 2px rgb(0 0 0 / .3);
}

.vni-time {
    width: 35px;
    text-align: right;
    font-size: 9px;
    color: rgb(255 255 255 / .6);
    font-variant-numeric: tabular-nums;
}

.vni-spacer {
    flex: 1;
}

.vni-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.vni[data-mode="bubble"] .vni-controls {
    gap: 12px;
}

.vni-ctl {
    display: grid;
    place-items: center;
    color: rgb(255 255 255 / .8);
    transition: transform .15s ease-in-out, color .2s ease;
}

.vni-ctl:hover {
    color: #fff;
    transform: scale(1.1);
}

.vni-ctl:active {
    transform: scale(.9);
}

.vni-right-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Quick actions (bottom-trailing overlay) */
.vni-quick {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    align-items: center;
}

.vni-quick-overlay {
    width: 380px;
    padding: 0 15px 6px;
}

.vni-qa {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    transition: background-color .2s ease;
}

.vni-qa:hover {
    background: rgb(255 255 255 / .15);
}

.vni-qa svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.vni-qa:hover svg {
    transform: scale(1.2);
}

.vni[data-mode="bubble"] .vni-quick {
    gap: 8px;
}

.vni.is-quick-hl .vni-qa {
    animation: vni-qa-pop 3.2s ease-in-out infinite;
}

.vni.is-quick-hl .vni-qa:nth-child(2) { animation-delay: .8s; }
.vni.is-quick-hl .vni-qa:nth-child(3) { animation-delay: 1.6s; }
.vni.is-quick-hl .vni-qa:nth-child(4) { animation-delay: 2.4s; }

@keyframes vni-qa-pop {
    0%, 30%, 100% { background: transparent; transform: none; }
    10%, 20% { background: rgb(255 255 255 / .18); transform: scale(1.18); }
}

/* ── Events + reminders ────────────────────────────────────────────── */
.vni-events {
    top: 38px;
    height: 140px;
    padding: 12px 30px;
    display: flex;
    align-items: flex-start;
}

.vni[data-mode="bubble"] .vni-events {
    top: 48px;
    padding: 12px 34px;
}

.vni-ev-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vni-ev-divider {
    width: 1px;
    align-self: stretch;
    margin: 4px 12px;
    background: rgb(255 255 255 / .1);
}

.vni-ev-head {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px;
    border-radius: 4px;
    background: rgb(255 255 255 / .1);
    font-size: 9px;
    font-weight: 800;
    color: rgb(255 255 255 / .5);
    margin-bottom: 2px;
}

.vni-ev-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vni-ev-list.is-rem {
    gap: 10px;
    margin-top: 2px;
    max-height: 84px;
    overflow: hidden;
}

.vni-rem-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 128px;
}

.vni-ev {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.vni-ev-when {
    width: 38px;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
}

.vni-ev-day {
    font-size: 7px;
    line-height: 8px;
    font-weight: 800;
    color: rgb(255 255 255 / .6);
}

.vni-ev-time {
    font-size: 10px;
    line-height: 12px;
    font-weight: 700;
}

.vni-ev-bar {
    width: 24px;
    height: 2px;
    border-radius: 1px;
    opacity: .8;
    margin-top: 1px;
}

.vni-ev-title {
    font-size: 11px;
    line-height: 14px;
    font-weight: 500;
}

.vni-rem {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 2px 0;
    text-align: left;
}

.vni-rem-check {
    width: 20px;
    height: 20px;
    flex: none;
    display: grid;
    place-items: center;
}

.vni-rem-check i {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid rgb(255 255 255 / .3);
    display: grid;
    place-items: center;
    transition: background-color .2s ease, border-color .2s ease;
}

.vni-rem-check i svg {
    opacity: 0;
    transform: scale(.4);
    transition: opacity .2s ease, transform .3s cubic-bezier(.3, 1.6, .5, 1);
}

.vni-rem.is-done .vni-rem-check i {
    background: var(--vni-blue);
    border-color: var(--vni-blue);
}

.vni-rem.is-done .vni-rem-check i svg {
    opacity: 1;
    transform: none;
}

.vni-rem-title {
    display: block;
    font-size: 11px;
    line-height: 14px;
    font-weight: 500;
    transition: color .2s ease;
}

.vni-rem.is-done .vni-rem-title {
    color: rgb(255 255 255 / .5);
    text-decoration: line-through;
}

.vni-rem-date {
    display: block;
    font-size: 8px;
    line-height: 10px;
    color: rgb(255 255 255 / .4);
}

.vni-events-quick {
    width: 380px;
    padding: 0 15px 6px;
}

/* ── Teleprompter ──────────────────────────────────────────────────── */
.vni-tele {
    top: 38px;
    height: 170px;
    padding: 0 30px;
}

.vni-tp-tabs {
    display: flex;
    height: 26px;
    padding: 1px;
    border-radius: 7px;
    background: rgb(255 255 255 / .06);
    border: .5px solid rgb(255 255 255 / .08);
}

.vni-tp-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 6px;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: .3px;
    color: rgb(255 255 255 / .3);
}

.vni-tp-tab.is-on {
    color: var(--vni-cyan);
    background: color-mix(in srgb, var(--vni-cyan) 15%, transparent);
}

.vni-tp-tab[data-mode="1"].is-on {
    color: var(--vni-purple);
    background: color-mix(in srgb, var(--vni-purple) 15%, transparent);
}

.vni-tp-editor {
    position: relative;
    margin-top: 5px;
    height: 85px;
    border-radius: 9px;
    background: rgb(255 255 255 / .06);
    border: .5px solid rgb(255 255 255 / .08);
}

.vni-tp-text {
    display: block;
    width: 100%;
    height: 56px;
    padding: 7px 10px 0;
    background: none;
    border: 0;
    outline: 0;
    resize: none;
    font: 400 13px/16px var(--vni-font);
    color: #fff;
    overflow: hidden;
    pointer-events: auto;
    user-select: text;
    -webkit-user-select: text;
}

.vni-tp-text::placeholder {
    color: rgb(255 255 255 / .3);
}

.vni-tp-paste {
    position: absolute;
    left: 8px;
    bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 20px;
    padding: 0 8px;
    border-radius: 10px;
    background: rgb(255 255 255 / .07);
    font-size: 7.5px;
    font-weight: 800;
    color: rgb(255 255 255 / .3);
}

.vni-tp-count {
    position: absolute;
    right: 32px;
    bottom: 10px;
    font-size: 8px;
    font-weight: 700;
    color: rgb(255 255 255 / .25);
    font-variant-numeric: tabular-nums;
}

.vni-tp-trash {
    position: absolute;
    right: 7px;
    bottom: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgb(255 255 255 / .07);
    color: rgb(255 255 255 / .3);
}

.vni-tp-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 28px;
    margin-top: 5px;
    color: rgb(255 255 255 / .35);
}

.vni-tp-slider {
    position: relative;
    width: 116px;
    height: 12px;
    margin: 0 6px;
}

.vni-tp-slider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 5px;
    height: 2px;
    border-radius: 1px;
    background: rgb(255 255 255 / .12);
}

.vni-tp-slider i {
    position: absolute;
    top: 0;
    left: calc(var(--v, .3) * 100% - 10px);
    width: 20px;
    height: 12px;
    border-radius: 6px;
    background: #fff;
}

.vni-tp-speed {
    font-size: 9px;
    font-weight: 700;
    color: rgb(255 255 255 / .3);
    width: 14px;
}

.vni-tp-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    width: 47px;
    height: 20px;
    border-radius: 6px;
    background: rgb(255 255 255 / .07);
    font-size: 9px;
    font-weight: 800;
    color: rgb(255 255 255 / .55);
    margin-left: auto;
}

.vni-tp-play {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 67px;
    height: 27px;
    border-radius: 8px;
    background: var(--vni-cyan);
    color: #000;
    font-size: 11px;
    font-weight: 800;
    transition: filter .2s ease, transform .15s ease;
}

.vni-tp-play:hover {
    filter: brightness(1.1);
}

.vni-tp-play:active {
    transform: scale(.96);
}

.vni-tp-play.is-stop {
    background: rgb(255 69 58 / .85);
    color: #fff;
}

.vni-tp-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility 0s linear .3s;
}

.vni-tele.is-running .vni-tp-stage {
    opacity: 1;
    visibility: visible;
    transition: opacity .3s ease, visibility 0s;
}

.vni-tele.is-running .vni-tp-edit {
    opacity: 0;
    visibility: hidden;
}

.vni-tp-edit {
    transition: opacity .25s ease;
}

.vni-aurora {
    position: absolute;
    inset: -40px -20px;
    pointer-events: none;
}

.vni-aurora i {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
}

.vni-aurora i:nth-child(1) {
    width: 280px;
    height: 120px;
    margin: -60px 0 0 -140px;
    background: color-mix(in srgb, var(--aurora, var(--vni-cyan)) 35%, transparent);
    filter: blur(45px);
}

.vni-aurora i:nth-child(2) {
    width: 200px;
    height: 100px;
    margin: -50px 0 0 -100px;
    background: rgb(10 132 255 / .25);
    filter: blur(35px);
}

.vni-aurora i:nth-child(3) {
    width: 150px;
    height: 80px;
    margin: -40px 0 0 -75px;
    background: rgb(191 90 242 / .2);
    filter: blur(25px);
}

.vni-tele.is-running .vni-aurora i:nth-child(1) { animation: vni-aur1 4.5s ease-in-out infinite alternate; }
.vni-tele.is-running .vni-aurora i:nth-child(2) { animation: vni-aur2 6.2s ease-in-out infinite alternate; }
.vni-tele.is-running .vni-aurora i:nth-child(3) { animation: vni-aur3 5.8s ease-in-out infinite alternate; }

@keyframes vni-aur1 {
    from { transform: translate(50px, 30px) rotate(10deg); }
    to { transform: translate(-40px, 0) rotate(-15deg); }
}

@keyframes vni-aur2 {
    from { transform: translate(-40px, 5px) rotate(-10deg); }
    to { transform: translate(60px, 40px) rotate(25deg); }
}

@keyframes vni-aur3 {
    from { transform: translate(30px, -5px) rotate(20deg); }
    to { transform: translate(-30px, 45px) rotate(-30deg); }
}

.vni-count {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font: 800 80px/1 var(--vni-rounded);
}

.vni-count b,
.vni-count i {
    grid-area: 1 / 1;
    font-style: normal;
}

.vni-count i {
    color: var(--aurora, var(--vni-cyan));
    filter: blur(22px);
    opacity: .55;
}

.vni-count b {
    animation: vni-count-in .35s cubic-bezier(.3, 1.5, .5, 1);
}

@keyframes vni-count-in {
    from { transform: scale(1.6); opacity: 0; }
}

.vni-ticker {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 42px;
    margin-top: -21px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.vni-ticker span {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    font-size: 20px;
    line-height: 42px;
    font-weight: 700;
    will-change: transform;
}

.vni-tp-stop {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 9px;
    border-radius: 10px;
    background: rgb(255 255 255 / .1);
    font-size: 8px;
    font-weight: 800;
    color: rgb(255 255 255 / .6);
}

/* ── Sports LIVE panel ─────────────────────────────────────────────── */
.vni-sports-bg {
    width: 380px;
    height: 203px;
    overflow: hidden;
}

.vni-pitch {
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(180deg, rgb(255 255 255 / .035) 0 22px, transparent 22px 44px),
        radial-gradient(120% 90% at 50% 70%, #5cad48 0%, #3f8f37 55%, #2d6d2a 100%);
}

.vni-pitch svg {
    position: absolute;
    inset: 0;
}

.vni-pitch-fade {
    position: absolute;
    inset: 0 0 auto;
    height: 96px;
    background: linear-gradient(#000 0, #000 38px, rgb(0 0 0 / .62) 56px, rgb(0 0 0 / .18) 78px, transparent);
}

.vni[data-glass="on"] .vni-pitch {
    opacity: .9;
}

.vni-sports {
    top: 38px;
    height: 165px;
    padding: 0 16px;
}

.vni-leagues {
    height: 20px;
    margin-top: 2px;
    margin-left: 4px;
    margin-right: 4px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.vni-leagues-row {
    display: flex;
    gap: 5px;
    width: max-content;
}

.vni-sports.is-on .vni-leagues-row {
    animation: vni-drift 40s linear infinite;
}

.vni-league {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 18px;
    padding: 0 8px;
    border-radius: 9px;
    background: rgb(0 0 0 / .3);
    font-size: 9.5px;
    font-weight: 700;
    color: rgb(255 255 255 / .82);
    white-space: nowrap;
}

.vni-league.is-on {
    background: rgb(255 255 255 / .9);
    color: #0b2a0f;
}

@keyframes vni-drift {
    to { transform: translateX(-50%); }
}

.vni-score-row {
    position: absolute;
    inset: 0;
}

.vni-team {
    position: absolute;
    top: 60px;
    width: 90px;
    margin-left: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    line-height: 12px;
    font-weight: 800;
    letter-spacing: .6px;
    text-shadow: 0 1px 3px rgb(0 0 0 / .35);
}

.vni-team svg {
    width: 27px;
    height: 19px;
    border-radius: 3px;
    filter: drop-shadow(0 1px 2px rgb(0 0 0 / .35));
}

.vni-marks {
    position: absolute;
    top: 107px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vni-team-mark {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    line-height: 12px;
    font-weight: 700;
    color: rgb(255 255 255 / .92);
    text-shadow: 0 1px 3px rgb(0 0 0 / .3);
}

.vni-score {
    position: absolute;
    left: 50%;
    top: 52px;
    width: 160px;
    margin-left: -80px;
    text-align: center;
    font: 800 35px/1 var(--vni-rounded);
    letter-spacing: -.5px;
    text-shadow: 0 2px 10px rgb(0 0 0 / .3);
}

.vni-score b {
    display: inline-block;
    font-weight: inherit;
}

.vni-score b.is-bump {
    animation: vni-bump .7s cubic-bezier(.3, 1.6, .5, 1);
}

@keyframes vni-bump {
    0% { transform: scale(1); }
    30% { transform: scale(1.45); color: var(--vni-yellow); }
    100% { transform: scale(1); }
}

.vni-clock {
    position: absolute;
    left: 50%;
    top: 92px;
    width: 80px;
    margin-left: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 800;
}

.vni-clock i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--vni-red);
    opacity: .75;
}

.vni-sports.is-on .vni-clock i {
    animation: vni-live 1.2s ease-in-out infinite;
}

@keyframes vni-live {
    50% { opacity: .2; }
}

.vni-timeline {
    position: absolute;
    left: 176px;
    top: 108px;
    display: flex;
    align-items: center;
    gap: 3.4px;
    font-size: 10px;
}

.vni-timeline i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgb(255 255 255 / .3);
}

.vni-timeline i:nth-child(n+5) { opacity: .7; }
.vni-timeline i:nth-child(n+8) { opacity: .45; }
.vni-timeline i.is-now {
    width: 7px;
    height: 7px;
    background: rgb(255 230 120 / .7);
    box-shadow: 0 0 6px rgb(255 230 120 / .8);
}

.vni-celebrate {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0;
}

.vni-celebrate.is-on {
    opacity: 1;
}

.vni-goal-marquee {
    position: absolute;
    top: 50%;
    left: 0;
    margin-top: -22px;
    white-space: nowrap;
    font: 900 44px/44px var(--vni-rounded);
    color: var(--vni-yellow);
    text-shadow: 0 3px 0 rgb(0 0 0 / .25), 0 0 24px rgb(255 214 10 / .45);
    transform: translateX(400px);
}

.vni-celebrate.is-on .vni-goal-marquee {
    animation: vni-marquee 2.6s cubic-bezier(.3, 0, .7, 1) forwards;
}

@keyframes vni-marquee {
    to { transform: translateX(-120%); }
}

.vni-confetti i {
    position: absolute;
    top: -10px;
    width: 4px;
    height: 7px;
    border-radius: 1px;
    opacity: 0;
}

.vni-celebrate.is-on .vni-confetti i {
    animation: vni-confetti var(--d, 2.2s) cubic-bezier(.2, .6, .4, 1) var(--delay, 0s) forwards;
}

@keyframes vni-confetti {
    0% { opacity: 1; transform: translate(0, 0) rotate(0); }
    100% { opacity: 0; transform: translate(var(--x, 0), 230px) rotate(var(--r, 540deg)); }
}

/* ── Notifications (compact wings around the hardware notch) ───────── */
.vni-notif {
    height: 33px;
    display: flex;
    align-items: center;
}

.vni-wing {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
}

.vni-wing-r {
    justify-content: flex-end;
}

.vni-gap {
    flex: none;
    width: 192px;
}

.vni-stack {
    display: flex;
    flex-direction: column;
}

.vni-cap {
    font-size: 8px;
    line-height: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    color: var(--vni-gray);
    white-space: nowrap;
}

.vni-big {
    font-size: 14px;
    line-height: 17px;
    font-weight: 700;
    white-space: nowrap;
}

.vni-mid {
    font-size: 13px;
    line-height: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.vni-battery-ind {
    position: relative;
    width: 32px;
    height: 14px;
    border: 1.5px solid rgb(255 255 255 / .3);
    border-radius: 3px;
}

.vni-battery-ind::after {
    content: "";
    position: absolute;
    right: -4.5px;
    top: 3.5px;
    width: 2px;
    height: 4px;
    border-radius: 1px;
    background: rgb(255 255 255 / .3);
}

.vni-battery-ind i {
    position: absolute;
    left: 1.25px;
    top: 0.75px;
    height: 10px;
    border-radius: 1.5px;
    background: var(--vni-green);
}

.vni-airpods {
    position: relative;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
}

.vni-airpods::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(255 255 255 / .14), transparent);
}

.vni-goal-ball {
    width: 30px;
    height: 30px;
    flex: none;
}

.vni-notif.is-on .vni-goal-ball {
    animation: vni-spin 1.8s cubic-bezier(.3, 0, .2, 1) infinite;
}

@keyframes vni-spin {
    to { transform: rotate(360deg); }
}

.vni-goal-title {
    font-size: 14px;
    line-height: 16px;
    font-weight: 900;
    color: var(--vni-yellow);
}

.vni-goal-team {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    line-height: 14px;
    font-weight: 600;
    color: rgb(255 255 255 / .6);
}

.vni-goal-team svg {
    width: 13px;
    height: 9px;
    border-radius: 1.5px;
}

.vni-goal-score {
    display: flex;
    align-items: center;
    gap: 6px;
    font: 800 16px/1 var(--vni-rounded);
}

.vni-goal-score svg {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

/* Welcome — the app's own "hello" path, drawn with trim. */
.vni-hello {
    width: 330px;
    height: 88px;
}

.vni-hello svg {
    position: absolute;
    left: 20px;
    top: -33.5px;
    width: 290px;
    height: 145px;
    transform: translateY(-50px) scale(.6);
}

.vni-hello path {
    fill: none;
    stroke: #fff;
    stroke-width: 5.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vni-hello.is-play svg {
    animation: vni-hello-float .9s cubic-bezier(.3, 1.25, .45, 1) .1s forwards;
}

.vni-hello.is-play path {
    animation: vni-hello-trim 2.5s cubic-bezier(.42, 0, .58, 1) forwards;
}

@keyframes vni-hello-float {
    to { transform: translateY(12px) scale(1); }
}

@keyframes vni-hello-trim {
    to { stroke-dashoffset: 0; }
}

/* ── Reduced motion ────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .vni-glow::before,
    .vni-aurora i,
    .vni-leagues-row,
    .vni-goal-ball,
    .vni-clock i {
        animation: none !important;
    }
}
