* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background:
    linear-gradient(
        rgba(10, 25, 35, 0.30),
        rgba(10, 25, 35, 0.30)
    ),
    url("solar-background.png") center center / cover fixed no-repeat;
    color: #29434e;
}

body {
    min-height: 100vh;
}

.app {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding-bottom: 25px;
}

/* HEADER */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 18px 14px;
}

.brand {
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .4px;
}

.subtitle {
    margin-top: 7px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .2px;
    color: rgba(255, 255, 255, 0.82);
}

.app-title {
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
}


.app-subtitle {
    color: #ffffff;
    font-size: 13px;
}

.menu {
    font-size: 27px;
    line-height: 1;
    color: #ffffff;
}

.menu button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    line-height: 1;
    cursor: pointer;
}

.menu-text {
    font-size: 17px;
    font-weight: 700;
    vertical-align: middle;
}

/* CARD */

.card {
    margin: 0 14px 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(20, 35, 45, 0.12);
}


/* TITOLI SEZIONE */

.section-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #78909c;
}


/* POTENZA */

.power-card {
    text-align: center;
    padding-top: 22px;
    padding-bottom: 16px;
}

.power-value {
    margin-top: 6px;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    color: #263238;
}

.power-value span {
    font-size: 22px;
    font-weight: 600;
    color: #78909c;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    font-size: 13px;
    font-weight: 650;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status.active {
    color: #35a96b;
}

.status.active .status-dot {
    background: #35a96b;
    box-shadow: 0 0 0 4px rgba(53, 169, 107, .12);
    animation: inverterBlink 1s infinite;
}

.status.starting {
    color: #f39c12;
}

.status.starting .status-dot {
    background: #f39c12;
    box-shadow: 0 0 0 4px rgba(243, 156, 18, .12);
    animation: inverterBlink 1s infinite;
}

.status.off {
    color: #e53935;
}

@keyframes inverterBlink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

.status.off .status-dot {
    background: #e53935;
}


/* GAUGE */

.gauge {
    position: relative;
    width: 230px;
    height: 125px;
    margin: 18px auto 0;
    overflow: hidden;
}

.gauge-track,
.gauge-progress {
    position: absolute;
    width: 230px;
    height: 230px;
    left: 0;
    top: 0;
    z-index: 1;
    border-radius: 50%;
}

/* SCALA GAUGE */


/* LANCETTA */

.gauge-needle {
    position: absolute;
    width: 12px;
    height: 108px;
    left: calc(50% - 6px);
    bottom: 2px;
    background: #29434e;
    clip-path: polygon(
        35% 100%,
        65% 100%,
        58% 8%,
        50% 0%,
        42% 8%
    );
    transform-origin: 50% calc(100% - 6.5px);
    transform: rotate(-90deg);
    z-index: 3;
}

/* CENTRO LANCETTA */

.gauge-center {
    z-index: 5;
    position: absolute;
    width: 13px;
    height: 13px;
    left: calc(50% - 6.5px);
    bottom: 2px;
    border-radius: 50%;
    background: #29434e;
    z-index: 4;
}


.gauge-track {
    clip-path: inset(0 0 50% 0);
    border: 19px solid transparent;
}

.gauge-progress {
    position: absolute;
    width: 230px;
    height: 230px;
    left: 0;
    top: 0;
    z-index: 1;
    background: conic-gradient(
        from 270deg,
        #35a96b 0deg,
        #35a96b 60deg,
        #f1c40f 90deg,
        #f39c12 120deg,
        #e74c3c 180deg,
        transparent 180deg,
        transparent 360deg
    );
    -webkit-mask: conic-gradient(from 270deg, #000 0deg, #000 var(--gauge-progress, 0deg), transparent var(--gauge-progress, 0deg), transparent 360deg), radial-gradient(farthest-side, transparent calc(100% - 19px), #000 calc(100% - 19px));
    -webkit-mask-composite: source-in;
    mask: conic-gradient(from 270deg, #000 0deg, #000 var(--gauge-progress, 0deg), transparent var(--gauge-progress, 0deg), transparent 360deg), radial-gradient(farthest-side, transparent calc(100% - 19px), #000 calc(100% - 19px));
    mask-composite: intersect;
    clip-path: inset(0 0 50% 0);
}

.gauge-ticks {
    position: absolute;
    left: 0;
    top: 0;
    width: 230px;
    height: 125px;
    pointer-events: none;
    z-index: 2;
}

/* TACCHETTE */

.gauge-mark {
    position: absolute;
    width: 3px;
    height: 10px;
    left: 113.5px;
    top: 3px;
    background: #607d8b;
    border-radius: 2px;
    transform-origin: 50% 112px;
}

.mark-0 {
    transform: rotate(-90deg);
}

.mark-1 {
    transform: rotate(-60deg);
}

.mark-2 {
    transform: rotate(-30deg);
}

.mark-3 {
    transform: rotate(0deg);
}

.mark-4 {
    transform: rotate(30deg);
}

.mark-5 {
    transform: rotate(60deg);
}

.mark-6 {
    transform: rotate(90deg);
}

/* TACCHETTE INTERMEDIE - 0,5 kW */

.gauge-halfmark {
    z-index: 5;
    position: absolute;
    width: 6px;
    height: 6px;
    left: 112px;
    top: 4px;
    background: #607d8b;
    border-radius: 50%;
    transform-origin: 50% 110px;
}

/* 0,5 kW */
.halfmark-0 {
    transform: rotate(-75deg);
}

/* 1,5 kW */
.halfmark-1 {
    transform: rotate(-45deg);
}

/* 2,5 kW */
.halfmark-2 {
    transform: rotate(-15deg);
}

/* 3,5 kW */
.halfmark-3 {
    transform: rotate(15deg);
}

/* 4,5 kW */
.halfmark-4 {
    transform: rotate(45deg);
}

/* 5,5 kW */
.halfmark-5 {
    transform: rotate(75deg);
}

/* NUMERI */

.gauge-tick {
    display: block;
    position: absolute;
    font-size: 13px;
    font-weight: 700;
    color: #000000;
    line-height: 1;
    transform: translate(-50%, -50%);
}

/* Posizione numeri */

.tick-0 {
    left: 26px;
    top: 114px;
}

.tick-1 {
    left: 39px;
    top: 76px;
}

.tick-2 {
    left: 69px;
    top: 40px;
}

.tick-3 {
    left: 115px;
    top: 26px;
}

.tick-4 {
    left: 156px;
    top: 38px;
}

.tick-5 {
    left: 191px;
    top: 74px;
}

.tick-6 {
    left: 204px;
    top: 114px;
}

.gauge-center {
    position: absolute;
    width: 13px;
    height: 13px;
    left: calc(50% - 6.5px);
    bottom: 2px;
    border-radius: 50%;
    background: #29434e;
}

.gauge-scale {
    display: flex;
    justify-content: space-between;
    margin: -2px 5px 0;
    font-size: 11px;
    color: #90a4ae;
}

/* OGGI */

.today-card {
    padding-bottom: 16px;
}

.today-value {
    margin-top: 14px;
    font-size: 32px;
    font-weight: 800;
}

.today-value span {
    font-size: 17px;
    color: #78909c;
}

.today-label {
    margin-top: 3px;
    font-size: 14px;
    font-weight: bold;
    color: #000000;
}


/* GRAFICO TEMPORANEO */

.chart-placeholder {
    position: relative;
    height: 100px;
    margin-top: 15px;
    overflow: hidden;
    border-bottom: 1px solid #dce4e7;
}

.chart-line {
    display: none;
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 0 10px;
    box-sizing: border-box;
    background: #0B8917;
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    border-radius: 6px;
    margin-bottom: 8px;
}

.production-chart {
    position: relative;
    width: 100%;
    height: 275px;
    margin-top: 15px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition:
        max-height 0.35s ease,
        opacity 0.25s ease;
}

.production-chart svg {
    width: 100%;
    height: 210px;
    display: block;
}

.chart-axis {
    stroke: #29434e;
    stroke-width: 2;
}

.production-line {
    fill: none;
    stroke: #d4a900;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inverter1-line {
    fill: none;
    stroke: #1976d2;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.inverter2-line {
    fill: none;
    stroke: #388e3c;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.chart-legend {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 0px;
    font-size: 10px;
    color: #607d8b;
}

.chart-legend span {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.chart-legend i {
    display: inline-block;
    width: 14px;
    height: 3px;
    margin-right: 4px;
    border-radius: 2px;
}

.legend-total {
    background: #d4a900;
}

.legend-inverter1 {
    background: #1976d2;
}

.legend-inverter2 {
    background: #388e3c;
}



.chart-current {
    text-align: right;
    margin-top: -2px;
    font-size: 12px;
    font-weight: 700;
    color: #607d8b;
}


/* INVERTER */

.inverter-card {
    padding-bottom: 0;
}

.inverter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 14px;
}



.inverter {
    position: relative;
    min-width: 0;
    padding: 15px 12px;
    background: #f5f8f9;
    border-radius: 17px;
    border: 2px solid #000000;
    box-shadow: 0 4px 10px rgba(41, 67, 78, 0.12);
}

.inverter:active {
    transform: scale(0.97);
    box-shadow: 0 2px 5px rgba(41, 67, 78, 0.12);
}

.inverter-name {
    font-size: 13px;
    font-weight: 800;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.inverter-power {
    margin-top: 14px;
    font-size: 25px;
    font-weight: 800;
}

.inverter-power span {
    font-size: 13px;
    color: #78909c;
}

.inverter .status {
    margin-top: 7px;
    font-size: 11px;
}

.status.starting .status-dot {
    background: #ff9800;
    animation: inverterStarting 1s infinite;
}

@keyframes inverterStarting {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.25;
    }
}

.total-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px -20px 0;
    padding: 14px 20px;
    border-top: none;
    font-size: 13px;
    color: #607d8b;
}

.total-row strong {
    color: #29434e;
    font-size: 16px;
}

.total-row #inverterTotal {
    margin-left: 5px;
}

.total-row > span {
    font-size: 16px;
}


/* RIEPILOGO PRODUZIONE */

.production-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0 14px 14px;
}

.production-summary .summary-card {
    margin: 0;
    padding: 13px 7px;
    text-align: center;
    border-radius: 18px;
}

.production-summary .section-label {
    font-size: 10px;
    letter-spacing: 0.7px;
    font-weight: 800;
    color: #29434e;
    white-space: normal;
}

.summary-value {
    margin-top: 7px;
    font-size: 21px;
    line-height: 1.1;
    font-weight: 800;
    white-space: normal;
}

.summary-unit {
    font-size: 11px;
    font-weight: 700;
    color: #546e7a;
}

.summary-detail {
    margin-top: 5px;
    font-size: 10px;
    line-height: 1.2;
    font-weight: 600;
    color: #607d8b;
}

/* =================================================
   ENERGIA OGGI - PRODUZIONE / AUTOCONSUMO
   ================================================= */

.today-energy-row {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    text-align: center;
    width: 100%;
}

.today-energy-column {
    flex: 1;
}

.today-energy-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.today-self-live {
    font-size: 0.78rem;
    margin-top: -2px;
    text-align: center;
}

/* SMARTPHONE MOLTO PICCOLI */

@media (max-width: 360px) {

    .card {
        margin-left: 10px;
        margin-right: 10px;
        padding: 17px;
        border-radius: 19px;
    }

    .power-value {
        font-size: 42px;
    }

    .inverter-grid {
        gap: 7px;
    }

    .inverter {
        padding: 13px 9px;
    }

    .inverter-power {
        font-size: 22px;
    }
}
.chart-label {
    fill: #000000;
    font-size: 16px;
    font-weight: 600;
    text-anchor: middle;
}
.chart-time-label {
    fill: #607d8b;
    font-size: 12px;
    font-weight: 600;
}
.menu {
    position: relative;
}

.menu-dropdown {
    display: none;
    position: absolute;
    top: 34px;
    right: 0;
    min-width: 210px;
    background: #ffffff;
    border: 1px solid #d7e0e5;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    padding: 6px 0;
    z-index: 1000;
}

.menu-dropdown a,
.menu-dropdown button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 16px;
    background: none;
    border: none;
    text-align: left;
    text-decoration: none;
    color: #37474f;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
}

.menu-dropdown a:hover,
.menu-dropdown button:hover {
    background: #f1f5f7;
}

/* PRODUZIONE ANNUALE */

.annual-production-page {
    margin-top: 14px;
}



.annual-production-list {
    margin-top: 14px;
}

.annual-production-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(96, 125, 139, 0.18);
    font-size: 15px;
}

.annual-production-year {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 800;
    color: #29434e;
    background: rgba(125, 155, 125, 0.18);
    cursor: pointer;
    transition:
        transform 0.12s ease,
        opacity 0.12s ease,
        background 0.12s ease;
}
.co2-year {
    display: inline;
    padding: 0;
    border-radius: 0;
    background: transparent;
    cursor: default;
}
.annual-production-year:active {
    transform: scale(0.94);
    opacity: 0.65;
    background: rgba(125, 155, 125, 0.30);
}
.co2-year:active {
    transform: none;
    opacity: 1;
    background: transparent;
}
.annual-production-value {
    font-weight: 700;
    color: #29434e;
    text-align: right;
}


/* PULSANTE INDIETRO */

.annual-back {
    display: block;
    margin: 15px 14px 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
    color: #29434e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.annual-back:visited {
    color: #29434e;
    text-decoration: none;
}

.annual-back:hover {
    color: #29434e;
    text-decoration: none;
}

.annual-back:active {
    color: #29434e;
    text-decoration: none;
}
.annual-page-title {
    color: #ffffff;
}
/* =========================================
   CONFRONTO PRODUZIONE INVERTER
   ========================================= */

.annual-comparison-row {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.annual-comparison-row:last-child {
    border-bottom: none;
}

.annual-comparison-year {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.annual-comparison-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 0.75fr;
    gap: 8px;
    width: 100%;
}

.annual-comparison-column {
    min-width: 0;
}

.annual-comparison-name {
    font-size: 0.72rem;
    font-weight: 600;
    opacity: 0.70;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
}

.annual-comparison-value {
    margin-top: 5px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: normal;
}

.annual-comparison-difference-column {
    text-align: right;
}

.annual-comparison-difference-column
.annual-comparison-name {
    text-align: right;
}

.annual-comparison-difference-column
.annual-comparison-value {
    text-align: right;
}

.annual-comparison-better {
    margin-top: 3px;
    font-size: 0.68rem;
    opacity: 0.65;
    white-space: normal;
}

/* =========================================
   PRODUZIONE MENSILE
   ========================================= */

.monthly-production-year {
    margin-top: 26px;
    padding: 8px 4px;
    font-size: 18px;
    font-weight: 800;
    color: #29434e;
    border-bottom: 2px solid rgba(96, 125, 139, 0.25);
}

.monthly-production-year:first-child {
    margin-top: 0;
}

.monthly-production-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(96, 125, 139, 0.18);
    font-size: 15px;
}

.monthly-production-month {
    font-weight: 600;
    color: #29434e;
}

.monthly-production-value {
    font-weight: 700;
    color: #29434e;
    text-align: right;
}
/* =========================================
   CONFRONTO PRODUZIONE MENSILE
   ========================================= */

.monthly-comparison-list {
    margin-top: 14px;
}

.monthly-comparison-year {
    margin-top: 26px;
    margin-bottom: 16px;
    padding: 10px 4px;
    font-size: 18px;
    font-weight: 800;
    color: #29434e;
    border-bottom: 2px solid rgba(96, 125, 139, 0.25);
}

.monthly-comparison-header,
.monthly-comparison-row {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr 0.75fr;
    gap: 6px;
    align-items: center;
}

.monthly-comparison-row {
    padding: 12px 8px;
    margin: 2px 0;
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.55);

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.06);
}

.monthly-comparison-header {
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 700;
    color: #607d8b;
    text-transform: uppercase;
}

.monthly-comparison-row {
    padding: 11px 4px;
    border-bottom: 1px solid rgba(96, 125, 139, 0.18);
    font-size: 14px;
}

.monthly-comparison-row > span {
    min-width: 0;
}

.monthly-comparison-row > span:not(:first-child),
.monthly-comparison-header > span:not(:first-child) {
    text-align: right;
}

.monthly-comparison-month {
    font-weight: 700;
    color: #29434e;
}

.monthly-comparison-diff {
    font-weight: 800;
}
/* =========================================================
   DETTAGLIO GIORNALIERO PRODUZIONE MENSILE
   ========================================================= */

.monthly-daily-detail {
    margin: 0 8px 14px 8px;
    padding: 0;
    border-radius: 0 0 14px 14px;
    background: rgba(0, 0, 0, 0.025);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04);
}


/* Intestazione */

.monthly-daily-header {
    display: grid;
    grid-template-columns:
        0.65fr
        1.3fr
        1.3fr
        1fr;
        0.9fr;

    align-items: center;
    gap: 8px;

    padding: 10px 12px;

    font-size: 0.68rem;
    font-weight: 700;

    text-transform: uppercase;

    opacity: 0.6;

    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.monthly-daily-scroll {
    max-height: 320px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.monthly-daily-header span:not(:first-child) {
    text-align: right;
    position: sticky;
    top: 0;
    z-index: 1;
    z-index: 5;
}


/* Riga giornaliera */

.monthly-daily-row {
    display: grid;
    grid-template-columns:
        0.65fr
        1.3fr
        1.3fr
        1fr;

    align-items: center;
    gap: 8px;

    padding: 9px 12px;

    font-size: 0.80rem;

    border-bottom: 1px solid rgba(0, 0, 0, 0.045);
}


.monthly-daily-best {
    background: rgba(255, 193, 7, 0.08);
}

.best-day-star {
    color: #f5b400;
    font-size: 0.85rem;
    margin-left: 2px;
}

.monthly-daily-best span:first-child {
    font-weight: 700;
}

.monthly-daily-row span:not(:first-child) {
    text-align: right;
}


.monthly-daily-row:last-of-type {
    border-bottom: none;
}


/* Numero del giorno */

.monthly-daily-day {
    font-weight: 700;
    opacity: 0.75;
}


/* Totale giornaliero */

.monthly-daily-row span:last-child {
    font-weight: 700;
}


/* Totale del mese */

.monthly-daily-total {
    display: grid;
    grid-template-columns:
        0.65fr
        1.3fr
        1.3fr
        1fr;

    align-items: center;
    gap: 8px;

    margin-top: 7px;

    padding: 10px 12px;

    font-size: 0.78rem;
    font-weight: 700;

    border-top: 1px solid rgba(0, 0, 0, 0.10);

    background: rgba(0, 0, 0, 0.035);
    border-radius: 0 0 8px 8px;
}


.monthly-daily-total span:not(:first-child) {
    text-align: right;
}


.monthly-daily-total span:last-child {
    font-size: 0.88rem;
}


/* Caricamento */

.monthly-daily-loading {
    padding: 18px 12px;

    text-align: center;

    font-size: 0.80rem;

    opacity: 0.6;
}


/* Mese cliccabile */

.monthly-comparison-row:active {
    transform: scale(0.99);
}


/* Mobile */

/* Badge differenza percentuale */

.monthly-daily-diff {
    display: inline-block;
    min-width: 52px;
    padding: 4px 7px;
    border-radius: 999px;

    font-size: 0.70rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: normal;

    background: rgba(76, 175, 80, 0.10);
    color: #388e3c;

    box-sizing: border-box;

}
.monthly-daily-diff.negative {
    background: rgba(244, 67, 54, 0.12);
    color: #d32f2f;
}
.monthly-best-day-legend {
    padding: 5px 8px;

    font-size: 0.70rem;
    font-weight: 600;

    color: #7a6200;

    text-align: right;
}
/* =========================================
   SCHEDA GRAFICO PRODUZIONE MENSILE
   ========================================= */

.monthly-chart-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 25, 35, 0.45);
}

.monthly-chart-card {
    position: relative;
    width: 100%;
    max-width: 430px;
    min-height: 360px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.monthly-chart-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: rgba(41, 67, 78, 0.10);
    color: #29434e;
    font-size: 24px;
    line-height: 34px;
    text-align: center;
    cursor: pointer;
}

.monthly-chart {
    width: 100%;
    min-height: 320px;
}

/* TENSIONE INVERTER */

.inverter-voltage {
    margin-top: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #607d8b;
    letter-spacing: 0.2px;
}

.inverter-voltage span:first-child {
    font-weight: 700;
    color: #29434e;
}

/* =========================================================
   STATO MEDIA MOBILE TENSIONE
   ========================================================= */
.inverter-voltage-average {
    font-size: 10px;
    white-space: normal;
    width: 100%;
    padding-right: 6px;
}

.inverter-voltage-average span[data-voltage-status="ok"] {
    color: #008f39 !important;
    font-weight: 700;
}
.inverter-voltage-status {
    display: inline;
    white-space: normal;
    margin-left: 4px;
}

.inverter-voltage-average span[data-voltage-status="warning"] {
    color: #f57c00 !important;
    font-weight: 700;
}

.inverter-voltage-average span[data-voltage-status="limit"] {
    color: #ffffff !important;
    font-weight: 700;
}
/* GRAFICO PRODUZIONE APERTO */

.production-chart.chart-open {
    max-height: 540px;
    opacity: 1;
}
/* =========================================
   TABELLA CO2 - ALLINEAMENTO
   ========================================= */

.co2-row {
    display: grid;
    grid-template-columns: 50px 1fr 170px;
    align-items: center;
    column-gap: 10px;
}

.co2-year {
    justify-self: start;
}

.co2-row .annual-production-value {
    justify-self: center;
    text-align: center;
    min-width: auto;
    white-space: normal;
}

.co2-factor {
    justify-self: start;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    color: #607d8b;
    white-space: normal;
}
.co2-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.12s ease,
        opacity 0.12s ease;
}

.co2-link:active {
    transform: scale(0.90);
    opacity: 0.55;
}
.co2-card {
    cursor: pointer;
    transition:
        transform 0.12s ease,
        opacity 0.12s ease;
}

.co2-card:active {
    transform: scale(0.97);
    opacity: 0.75;
}




/* ENERGIA TOTALE - CARD LARGA SOTTO LE TRE CARD SUPERIORI */

.production-summary .total-energy-card {
    grid-column: 1 / -1;
    min-width: 0;
}


/* TICK GAUGE RAGGIUNTI - EFFETTO LUMINOSO */

.gauge-tick-active {
    background: #ffffff !important;
    box-shadow:
        0 0 4px rgba(255, 255, 255, 0.9),
        0 0 8px rgba(255, 255, 255, 0.75);
    animation: gaugeTickPulse 1.2s ease-in-out infinite;
}

@keyframes gaugeTickPulse {
    0%, 100% {
        opacity: 0.65;
    }

    50% {
        opacity: 1;
    }
}


/* TICK 0 - INVERTER ACCESI SENZA PRODUZIONE */

.gauge-tick-zero-active {
    background: #e53935 !important;
    box-shadow: 0 0 6px rgba(229, 57, 53, 0.8);
}



/* =================================================
   CARD PRODUZIONE GIORNALIERA
   PRODUZIONE / AUTOCONSUMO
   ================================================= */

.today-card .today-energy-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    text-align: center;
    width: 100%;
}

.today-card .today-energy-column {
    flex: 1 1 0;
    min-width: 0;
}

.today-card .today-energy-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.today-card .today-self-live {
    font-size: 0.82rem;
    margin-top: 6px;
    text-align: center;
}


.today-card .today-energy-label {
    color: #29434e;
}


.today-card .today-energy-label {
    color: #000000 !important;
}


.today-card .today-energy-label {
    color: #000000 !important;
    opacity: 1 !important;
    text-shadow: none !important;
}


/* VALORI PRODUZIONE E AUTOCONSUMO - NERI */
.today-card #todayProductionChart,
.today-card #todaySelfConsumption {
    color: #000000 !important;
}


/* PRODUZIONE E AUTOCONSUMO - TUTTO NERO */
.today-card .today-energy-column .today-value,
.today-card .today-energy-column .today-value span {
    color: #000000 !important;
}


/* LIVE AUTOCONSUMO */
.today-card .today-self-live {
    font-size: 0.90rem;
    margin-top: 10px;
}


/* LIVE AUTOCONSUMO - PIU' DISTANZIATO */
.today-card .today-self-live {
    margin-top: 26px;
}


/* LIVE AUTOCONSUMO - PIU' GRANDE */
.today-card .today-self-live {
    font-size: 1.05rem;
}


/* OGGI - CARD PRODUZIONE GIORNALIERA */
.today-card > .section-label {
    color: #000000 !important;
    font-weight: 800 !important;
}


/* AREA GIALLA SOTTO LA CURVA DI PRODUZIONE */
.production-area {
    fill: #f5d742;
    fill-opacity: 0.35;
    stroke: none;
}


/* TITOLO FTV */
.brand {
    color: #ffffff !important;
}


/* DATA E ORA AL CENTRO DELL'HEADER */
.header-datetime {
    text-align: center;
    flex: 1;
    line-height: 1.25;
}

#currentDate {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    white-space: normal;
}

#currentTime {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    margin-top: 2px;
}


/* HEADER MOBILE - NOME IMPIANTO SU UNA SOLA RIGA */
.brand {
    white-space: normal;
}


/* DATA HEADER PIU' GRANDE */
#currentDate {
    font-size: 20px;
}


/* ORARI SOLARI */
.sun-times {
    display: inline- flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    white-space: normal;
}


.production-sun {
    font-size: 0.75em;
}


.today-card .section-label {
    margin-bottom: 10px;
}


.today-card .today-energy-column .today-value {
    font-size: 26px;
}

.today-card .today-energy-column .today-value span {
    font-size: 14px;
}


/* =========================================================
   SEZIONE DETTAGLI GAUGE APRIBILE
   ========================================================= */

.gauge-extra-card {
    cursor: pointer;
}

.gauge-extra-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gauge-extra-chevron {
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.gauge-extra-content {
    display: none;
    padding-top: 12px;
}


/* =========================================================
   DETTAGLI GAUGE APRIBILI DENTRO POWER CARD
   ========================================================= */

.power-card {
    cursor: pointer;
}

.gauge-details {
    display: none;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #e0e0e0;
}

/* =========================================================
   OVERLAY DETTAGLI GAUGE
   ========================================================= */

.gauge-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(10, 25, 35, 0.45);
}

.gauge-overlay-panel {
    position: relative;
    width: 100%;
    max-width: 430px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.gauge-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 800;
    color: #29434e;
}
#gaugeOverlay .gauge-overlay-header {
    background: #0B8917;
    color: #ffffff;
    padding: 7px 12px;
    margin: -20px -20px 18px -20px;
    border-radius: 12px 12px 0 0;
}

#sevenDaysOverlay .gauge-overlay-header {
    background: #0B8917;
    color: #ffffff;
    padding: 10px 12px;
    margin: -20px -20px 18px -20px;
    border-radius: 12px 12px 0 0;
}


#gaugeOverlayClose {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(41, 67, 78, 0.10);
    color: #29434e;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.gauge-overlay-content {
    font-size: 15px;
    color: #37474f;
}

/* =========================================================
   GRAFICO PRODUZIONE ULTIMI 7 GIORNI
   ========================================================= */

.seven-days-chart {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    height: 200px;
    padding: 0 4px 30px;
    box-sizing: border-box;
}

.seven-days-y-axis {
    position: relative;
    width: 35px;
    height: 170px; margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    border-right: 1px solid #29434e;
    padding: 0 6px 0 0;
    box-sizing: border-box;
    font-size: 10px;
    color: #29434e;
}

.seven-days-y-value {
    position: relative;
    line-height: 1;
    width: 100%;
}

.seven-days-y-value::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    width: 6px;
    border-top: 1px solid #29434e;
}

.seven-days-y-axis .seven-days-y-value:last-child::after {
    display: none;
}

.seven-days-bars {
    display: flex;
    flex: 1;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
    margin-left: -6px;
    height: 200px;
    border-bottom: 1px solid #29434e;
}

.seven-days-bar-wrapper {
    position: relative;
    display: flex;
    flex: 1;
    min-width: 0;
    height: 200px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.seven-days-bar-area {
    position: relative;
    display: flex;
    width: 100%;
    height: 200px;
    align-items: flex-end;
    justify-content: center;
}


.seven-days-value {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 700;
    color: #29434e;
    white-space: nowrap;
}

.seven-days-bar {
    width: 70%;
    min-height: 2px;
    flex-shrink: 0;
    border-radius: 7px 7px 2px 2px;
    background: #0B8917;
}

.seven-days-date {
    position: absolute;
    bottom: -32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: #607d8b;
    white-space: nowrap;
}


.seven-days-total {
    margin-top: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #29434e;
}

/* =========================================================
   FIX OVERLAY GAUGE - MOBILE
   ========================================================= */

.gauge-overlay {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    z-index: 99999 !important;
}

.gauge-overlay-panel {
    position: relative !important;
    z-index: 100000 !important;
}


/* =========================================================
   INDICATORE CARD POTENZA ATTUALE TAPABILE
   ========================================================= */

.power-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.power-card-chevron {
    font-size: 22px;
    line-height: 1;
    color: #29434e;
    opacity: 0.65;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.power-card:active .power-card-chevron {
    opacity: 1;
    transform: scale(1.15);
}


/* Correzione posizione titolo POTENZA ATTUALE */

.power-card-header {
    position: relative;
    display: block;
}

.power-card-chevron {
    position: absolute;
    right: 0;
    top: 53%;
    transform: translateY(-50%);
}

.power-card:active .power-card-chevron {
    transform: translateY(-50%) scale(1.15);
}
.power-card-header #weatherInfo {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 600;
    color: #607d8b;
    white-space: nowrap;
}


/* =========================================================
   FLUSSO ENERGIA - OVERLAY GAUGE
   ========================================================= */

.energy-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}

.energy-box {
    flex: 1;
    min-width: 0;
    padding: 12px 6px;
    border-radius: 16px;
    text-align: center;
    background: #f5f7f8;
    box-sizing: border-box;
}

.energy-icon {
    font-size: 25px;
    line-height: 1.1;
    margin-bottom: 5px;
}

.energy-title {
    font-size: 12px;
    font-weight: 800;
    color: #29434e;
    margin-bottom: 4px;
}

.energy-value {
    font-size: 15px;
    font-weight: 800;
    color: #29434e;
    white-space: nowrap;
}

.energy-arrow {
    flex: 0 0 auto;
    font-size: 22px;
    font-weight: 700;
    color: #29434e;
}

.energy-self {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #68777d;
}

.energy-self strong {
    display: block;
    margin-top: 0px;
    font-size: 17px;
    color: #29434e;
}


/* =========================================================
   FLUSSO ENERGETICO ANIMATO
   ========================================================= */

.energy-arrow {
    position: relative;
    flex: 0 0 34px;
    height: 20px;
    font-size: 0;
    overflow: hidden;
}

.energy-arrow::before {
    content: '•••';
    position: absolute;
    left: -24px;
    top: 0;
    font-size: 16px;
    letter-spacing: 5px;
    color: #29434e;
    white-space: nowrap;
    opacity: 0;
}

/* FLUSSO ATTIVO */

.energy-arrow.energy-flow-active::before {
    opacity: 1;
    animation: energyFlow 1s linear infinite;
}

@keyframes energyFlow {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(34px);
    }
}

/* NESSUN FLUSSO */

.energy-arrow.energy-flow-idle::before {
    content: '·';
    left: 12px;
    opacity: 0.35;
    animation: none;
}


/* =========================================================
   DIREZIONE FLUSSO ENERGETICO
   ========================================================= */

.energy-arrow.energy-flow-active::before {
    animation-name: energyFlow;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.energy-arrow.energy-flow-active[style*="--flow-direction: -1"]::before {
    animation-name: energyFlowReverse;
}

@keyframes energyFlowReverse {
    from {
        transform: translateX(34px);
    }

    to {
        transform: translateX(0);
    }
}


/* =========================================================
   FLUSSO ENERGETICO - LINEE ANIMATE
   ========================================================= */

.energy-arrow::before {
    content: '━━━';
    position: absolute;
    left: -30px;
    top: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #29434e;
    white-space: nowrap;
    opacity: 0;
}

.energy-arrow.energy-flow-active::before {
    opacity: 1;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.energy-arrow.energy-flow-idle::before {
    content: '━';
    left: 13px;
    top: 1px;
    font-size: 20px;
    opacity: 0.3;
    animation: none;
}


/* =========================================================
   FLUSSO ENERGETICO - LINEE PIU' CORTE E SPESSE
   ========================================================= */

.energy-arrow::before {
    content: '━━━';
    position: absolute;
    left: -22px;
    top: 1px;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #29434e;
    white-space: nowrap;
    opacity: 0;
}

.energy-arrow.energy-flow-active::before {
    opacity: 1;
}

.energy-arrow.energy-flow-idle::before {
    content: '━';
    left: 14px;
    top: 1px;
    font-size: 17px;
    font-weight: 900;
    opacity: 0.3;
    animation: none;
}


/* =========================================================
   FLUSSO ENERGETICO - IMPULSI SEPARATI
   ========================================================= */

.energy-arrow::before {
    content: '━  ━  ━';
    position: absolute;
    left: -32px;
    top: 0;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: 0;
    color: #29434e;
    white-space: nowrap;
    opacity: 0;
}

.energy-arrow.energy-flow-active::before {
    opacity: 1;
}

.energy-arrow.energy-flow-idle::before {
    content: '━';
    left: 14px;
    top: 1px;
    font-size: 16px;
    font-weight: 900;
    opacity: 0.3;
    animation: none;
}


/* FLUSSO ENERGETICO - IMPULSI PIU' PICCOLI */

.energy-arrow::before {
    content: '━  ━  ━';
    left: -28px;
    top: 1px;
    font-size: 20px;
    font-weight: 900;
}

.energy-arrow.energy-flow-idle::before {
    content: '━';
    left: 14px;
    top: 2px;
    font-size: 20px;
    font-weight: 900;
}


/* =========================================================
   RIPRISTINO FLUSSO ENERGETICO A PALLINI
   ========================================================= */

.energy-arrow::before {
    content: '•••';
    left: -24px;
    top: 0;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 5px;
}

.energy-arrow.energy-flow-idle::before {
    content: '·';
    left: 12px;
    top: 1px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: normal;
    opacity: 0.35;
    animation: none;
}


/* PALLINI FLUSSO - PIU' GROSSI */

.energy-arrow::before {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
}

.energy-arrow.energy-flow-idle::before {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: normal;
}


/* =========================================================
   PULSANTE INFO DATI TECNICI INVERTER
   ========================================================= */

.inverter-section-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inverter-info {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: -8px -8px 0 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #78909c;
    font-size: 22px;
    font-weight: 700;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.inverter-info:active {
    background: rgba(120, 144, 156, 0.12);
}

/* =========================================================
   SCHEDA DATI TECNICI IMPIANTI
   ========================================================= */

.inverter-info-panel {
    display: none;
    margin-top: 12px;
}

.inverter-info-content {
    padding: 18px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.inverter-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    color: #29434e;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.inverter-info-close {
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #f5f8f9;
    color: #78909c;
    font-size: 24px;
    line-height: 36px;
    text-align: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.inverter-info-title {
    margin-bottom: 10px;
    color: #29434e;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.7px;
}

.inverter-info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 7px 0;
    color: #78909c;
    font-size: 12px;
}

.inverter-info-row strong {
    color: #29434e;
    font-weight: 700;
    text-align: right;
}

.inverter-info-divider {
    height: 1px;
    margin: 16px 0;
    background: #e8eef0;
}

/* =========================================================
   OVERLAY DATI TECNICI IMPIANTI
   ========================================================= */

.inverter-info-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(10, 25, 35, 0.45);
}

.inverter-info-overlay-panel {
    position: relative;
    width: 100%;
    max-width: 430px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.inverter-info-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 800;
    color: #29434e;
}

#inverterInfoClose {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(41, 67, 78, 0.10);
    color: #29434e;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.inverter-info-overlay-content {
    font-size: 15px;
    color: #37474f;
}

.inverter-info-overlay .inverter-info-title {
    margin-bottom: 10px;
}

.inverter-info-overlay .inverter-info-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 7px 0;
    font-size: 12px;
}

.inverter-info-overlay .inverter-info-row strong {
    text-align: right;
}

.inverter-info-overlay .inverter-info-divider {
    height: 1px;
    margin: 16px 0;
    background: #e8eef0;
}

/* FIX MOBILE OVERLAY */

.inverter-info-overlay {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    min-height: 100vh !important;
    z-index: 99999 !important;
}

.inverter-info-overlay-panel {
    position: relative !important;
    z-index: 100000 !important;
}

/* =================================================
   OGGI - ADATTAMENTO SMARTPHONE
   ================================================= */

@media (max-width: 480px) {

    .today-card .today-energy-row {
        gap: 3px;
    }

    .today-card .today-energy-column {
        min-width: 0;
        overflow: hidden;
    }

    .today-card .today-energy-label {
        white-space: normal;
        word-break: normal;
        line-height: 1.1;
        min-height: 28px;
    }

}

/* =================================================
   OGGI - QUATTRO COLONNE SMARTPHONE
   ================================================= */

@media (max-width: 480px) {

    .today-card .today-energy-row {
        gap: 2px;
    }

    .today-card .today-energy-column:nth-child(1) {
        flex: 1.05 1 0;
    }

    .today-card .today-energy-column:nth-child(2) {
        flex: 1.30 1 0;
    }

    .today-card .today-energy-column:nth-child(3) {
        flex: 0.95 1 0;
    }

    .today-card .today-energy-column:nth-child(4) {
        flex: 1.10 1 0;
    }

    .today-card .today-energy-label {
        font-size: 0.68rem;
        white-space: nowrap;
        min-height: 28px;
    }

}

/* =================================================
   OGGI - ALLINEAMENTO VALORI E LIVE
   ================================================= */

@media (max-width: 480px) {

    .today-card .today-energy-column {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .today-card .today-energy-column .today-value {
        display: flex;
        align-items: baseline;
        justify-content: center;
        white-space: nowrap;
        min-height: 32px;
        margin-top: 14px;
        line-height: 1;
    }

    .today-card .today-energy-column .today-value span {
        line-height: 1;
    }

    .today-card .today-self-live {
        margin-top: 12px;
        min-height: 20px;
        line-height: 1;
        white-space: nowrap;
    }

}

/* =================================================
   OGGI - LIVE COMPATTO E ALLINEATO
   ================================================= */

@media (max-width: 480px) {

    .today-card .today-self-live {
        font-size: 0.72rem;
        margin-top: 14px;
        min-height: 18px;
        line-height: 18px;
        white-space: nowrap;
    }

}

/* LIVE - LEGGERMENTE PIU' GRANDE */

@media (max-width: 480px) {

    .today-card .today-self-live {
        font-size: 0.78rem;
    }

}

/* LIVE - LEGGERMENTE PIU' GRANDE */

@media (max-width: 480px) {

    .today-card .today-self-live {
        font-size: 0.82rem;
    }

}

/* LIVE - COLORE VERDE */

@media (max-width: 480px) {

    .today-card .today-self-live {
        color: #2e7d32;
    }

}

/* LIVE - PIU' GRASSETTO */

@media (max-width: 480px) {

    .today-card .today-self-live {
        font-weight: 700;
    }

}

/* DISTANZA TRA DATI LIVE E PRODUZIONE GIORNALIERA */

.today-card .today-label {
    margin-top: 18px;
}


/* SOLE PRODUZIONE - NON COMPRIMERE */

.today-card .production-sun {
    flex-shrink: 0;
}


/* PRODUZIONE - SOLE E VALORE NON SI COMPRIMONO */

@media (max-width: 480px) {

    .today-card .today-energy-column:first-child .today-value {
        white-space: nowrap;
    }

    .today-card .today-energy-column:first-child .production-sun {
        flex-shrink: 0;
        display: inline-block;
    }

}





/* =========================================================
   OGGI - PILLLOLE VALORI ENERGETICI
   ========================================================= */

.today-card .today-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.today-card .today-pill span {
    font-size: inherit;
    color: inherit !important;
}

/* PRODUZIONE - VERDE */
.today-card .today-pill-production {
    background: #81c784;
    color: #2e7d32 !important;
}

/* AUTOCONSUMO - VERDE */
.today-card .today-pill-self {
    background: #81c784;
    color: #2e7d32 !important;
}

/* PRELIEVO - ROSSO */
.today-card .today-pill-grid {
    background: #ef5350;
    color: #ffffff !important;
}

/* IMMISSIONE - GIALLO */
.today-card .today-pill-export {
    background: #ffe082;
    color: #9a7200 !important;
}


/* =================================================
   OGGI - PILLLOLE SMARTPHONE
   ================================================= */
@media (max-width: 480px) {

    .today-card .today-energy-row {
        gap: 8px;
    }

    .today-card .today-energy-column {
        flex: 1 1 0 !important;
        min-width: 0;
    }

    .today-card .today-pill {
        padding: 5px 6px;
        font-size: 18px;
    }

}


/* LIVE PRELIEVO - ROSSO */
.today-card .today-live-prelievo {
    color: #ef5350 !important;
}

.today-card .today-live-prelievo span {
    color: #ef5350 !important;
}

/* LIVE IMMISSIONE - GIALLO */
.today-card .today-live-immissione {
    color: #c49000 !important;
}

.today-card .today-live-immissione span {
    color: #c49000 !important;
}


/* =================================================
   OGGI - LAMPEGGIO LEGGERO PILLLOLE ATTIVE
   ================================================= */

@keyframes todayPillPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }

    50% {
        opacity: 0.72;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.18);
    }
}

.today-card .today-pill.active {
    animation: todayPillPulse 1.4s ease-in-out infinite;
}


/* =================================================
   OGGI - PILLLOLE PIU' ARROTONDATE SU SMARTPHONE
   ================================================= */
@media (max-width: 480px) {

    .today-card .today-pill {
        padding: 6px 7px;
        border-radius: 50px;
    }

}


/* =================================================
   OGGI - ETICHETTE COMPLETE SU SMARTPHONE
   ================================================= */
@media (max-width: 480px) {

    .today-card .today-energy-label {
        font-size: 0.58rem;
        letter-spacing: 0.02em;
        overflow: visible;
        white-space: nowrap;
    }

}


/* =================================================
   OGGI - FORMA PILLOLA MOBILE PIU' EVIDENTE
   ================================================= */
@media (max-width: 480px) {

    .today-card .today-pill {
        padding: 6px 4px;
        border-radius: 999px;
        line-height: 1;
    }

}


/* =================================================
   OGGI - PILLLOLE MOBILE PIU' STRETTE
   ================================================= */
@media (max-width: 480px) {

    .today-card .today-pill {
        transform: scaleX(0.90);
    }

}


/* =================================================
   NOTA MANUTENZIONE INVERTER - ANNO 2024
   ================================================= */

.annual-maintenance-note {
    padding: 7px 8px 10px 8px;
    font-size: 12px;
    color: #c62828;
    font-weight: 600;
    text-align: left;
}


/* NOTA MANUTENZIONE - ALLINEATA ALLA LISTA ANNUALE */
.annual-maintenance-note {
    margin: 0 4px;
    padding: 6px 8px 9px 8px;
    box-sizing: border-box;
}


/* NOTA MANUTENZIONE DENTRO LA RIGA 2024 */
.annual-production-row:has(.annual-maintenance-note) {
    display: block;
}

.annual-production-row:has(.annual-maintenance-note) .annual-production-year,
.annual-production-row:has(.annual-maintenance-note) .annual-production-value {
    display: inline-flex;
}

.annual-production-row:has(.annual-maintenance-note) .annual-maintenance-note {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 7px;
    padding: 6px 4px 2px 4px;
}


/* ALLINEAMENTO RIGA 2024 CON NOTA */
.annual-production-row:has(.annual-maintenance-note) {
    position: relative;
    display: block;
    min-height: 82px;
}

.annual-production-row:has(.annual-maintenance-note) .annual-production-year {
    display: inline-flex;
}

.annual-production-row:has(.annual-maintenance-note) .annual-production-value {
    position: absolute;
    right: 4px;
    top: 13px;
}

.annual-production-row:has(.annual-maintenance-note) .annual-maintenance-note {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin-top: 14px;
    padding: 6px 4px 2px 4px;
}


/* =========================================================
   LINK PVOUTPUT - DATI TECNICI INVERTER
   ========================================================= */

.inverter-info-pvoutput {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 8px 0;
    font-size: 12px;
}

.inverter-info-pvoutput > span {
    color: #78909c;
}

.inverter-info-pvoutput a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 5px 12px;
    border-radius: 17px;
    color: #0288d1;
    background: rgba(2, 136, 209, 0.10);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.inverter-info-pvoutput a:active {
    transform: scale(0.96);
}


.pvoutput-nav {
    width: 100%;
    height: 54px;
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    color: #ffffff;
}

.pvoutput-back {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    text-decoration: none;
    font-size: 30px;
    line-height: 1;
}

.pvoutput-title {
    flex: 1;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-right: 48px;
}

.pvoutput-back-card {
    margin-top: 14px;
    text-align: center;
    font-size: 15px;
    font-weight: 800;
    color: #0288d1;
    padding: 14px 18px;
    cursor: pointer;
}

.pvoutput-back-card:active {
    transform: scale(0.98);
}


.inverter-info-pvoutput-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 20px;
    background: #0288d1;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
    cursor: pointer;
}

.inverter-info-pvoutput-link:active {
    transform: scale(0.97);
}


.inverter-info-pvoutput-link {
    float: right;
}


.inverter-info-pvoutput-link {
    float: none;
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-top: 10px;
}


.today-card .today-pill-export {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
    overflow: hidden;
}


/* IMMAGINI INVERTER */


.inverter-image {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.inverter-image img {
    display: block;
    width: 75px;
    height: auto;
    max-height: 125px;
    object-fit: contain;
}

.inverter:nth-child(2) .inverter-image {
    top: calc(50% - 35px);
}

.inverter:nth-child(1) .inverter-image {
    background: #ffffff;
    border-radius: 8px;
    padding: 4px;
    box-sizing: border-box;
}

.inverter:nth-child(1) .inverter-image {
    top: calc(50% - 15px);
}

.inverter:nth-child(1) .inverter-image {
    top: calc(50% - 40px);
}


@media (max-width: 600px) {
    .inverter-image {
        width: 60px;
    }

    .inverter-image img {
        width: 60px;
        max-height: 105px;
    }
    .power-card-header #weatherInfo {
        top: 82%;
    }

}

.energy-icon img {
    height: 25px;
    width: auto;
    vertical-align: middle;
}

.energy-grid {
    flex: 1.1;
}

.energy-grid {
    flex: 1.15;
}

/* =========================================================
   CARD ENERGIA OGGI - TAPABILE
   ========================================================= */

#todayEnergyCard {
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

#todayEnergyCard:active {
    transform: scale(0.98);
}

#todayEnergyCard:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}


/* Freccia card Energia Oggi */

.summary-tap-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 30px;
    font-weight: 400;
    line-height: 1;
    color: #607d8b;
    vertical-align: middle;
}

#todayEnergyCard:active .summary-tap-arrow {
    transform: translateX(2px);
}



/* =========================================================
   EFFICIENZA DI CONVERSIONE
   ========================================================= */

.conversion-efficiency-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 5px 0;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
    font-size: 11px;
    font-weight: bold;
    color: #607d8b;
}

#conversionEfficiencyInfo {
    font-size: 18px;
    line-height: 1;
    color: #0B8917;
    cursor: pointer;
    padding: 4px;
}


/* =========================================================
   CRUSCOTTO EFFICIENZA DI CONVERSIONE
   ========================================================= */

.conversion-efficiency-panel {
    max-width: 420px;
}

#conversionEfficiencyOverlay .gauge-overlay-header {
    background: #0B8917;
    color: #ffffff;
    padding: 10px 12px;
    margin: -20px -20px 18px -20px;
    border-radius: 12px 12px 0 0;
}

#conversionEfficiencyClose {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.conversion-gauges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 4px;
}

.conversion-gauge-item {
    min-width: 0;
    text-align: center;
}

.conversion-gauge {
    position: relative;
    width: 150px;
    height: 110px;
    max-width: 100%;
    margin: 0 auto;
    overflow: visible;
}

.conversion-gauge-progress {
    position: absolute;
    width: 150px;
    height: 150px;
    left: 0;
    top: 0;
    border-radius: 50%;
    background: conic-gradient(
        from 270deg,
        #e74c3c 0deg,
        #e74c3c 60deg,
        #f39c12 60deg,
        #f39c12 90deg,
        #f1c40f 90deg,
        #f1c40f 120deg,
        #35a96b 120deg,
        #35a96b 180deg,
        transparent 180deg,
        transparent 360deg
    );
    -webkit-mask: conic-gradient(
        from 270deg,
        #000 0deg,
        #000 var(--conversion-progress, 0deg),
        transparent var(--conversion-progress, 0deg),
        transparent 360deg
    ), radial-gradient(
        farthest-side,
        transparent calc(100% - 15px),
        #000 calc(100% - 15px)
    );
    -webkit-mask-composite: source-in;
    mask: conic-gradient(
        from 270deg,
        #000 0deg,
        #000 var(--conversion-progress, 0deg),
        transparent var(--conversion-progress, 0deg),
        transparent 360deg
    ), radial-gradient(
        farthest-side,
        transparent calc(100% - 15px),
        #000 calc(100% - 15px)
    );
    mask-composite: intersect;
    clip-path: inset(0 0 50% 0);
}

.conversion-gauge::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    left: 0;
    top: 0;
    border: 15px solid #dfe5e8;
    border-radius: 50%;
    box-sizing: border-box;
    clip-path: inset(0 0 50% 0);
}

.conversion-gauge-needle {
    position: absolute;
    width: 9px;
    height: 72px;
    left: calc(50% - 4.5px);
    bottom: 28px;
    background: #29434e;
    clip-path: polygon(
        35% 100%,
        65% 100%,
        58% 8%,
        50% 0%,
        42% 8%
    );
    transform-origin: 50% calc(100% - 5px);
    transform: rotate(-90deg);
    z-index: 3;
}

.conversion-gauge-center {
    position: absolute;
    width: 11px;
    height: 11px;
    left: calc(50% - 5.5px);
    bottom: 28px;
    border-radius: 50%;
    background: #29434e;
    z-index: 4;
}

.conversion-gauge-value {
    position: absolute;
    left: 0;
    right: 0;
    top: 95px;
    bottom: auto;
    z-index: 5;
    font-size: 14px;
    font-weight: 800;
    color: #000000;
}

@media (max-width: 360px) {
    .conversion-gauge {
        width: 140px;
        height: 104px;
    }

    .conversion-gauge-progress,
    .conversion-gauge::before {
        width: 140px;
        height: 140px;
    }

    .conversion-gauge-needle {
        height: 67px;
    }

    .conversion-gauge-value {
        top: 89px;
        font-size: 13px;
    }
}


/* =========================================================
   ETICHETTE GAUGE CRUSCOTTO
   ========================================================= */

.conversion-gauge-title {
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: #000000;
    margin-bottom: 4px;
    line-height: 18px;
}


.conversion-gauge-title {
    display: block;
    position: relative;
    z-index: 10;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 4px 0;
    line-height: 18px;
}


.conversion-gauge-title {
    background: #ff00ff !important;
    color: #000000 !important;
    position: relative !important;
    z-index: 100 !important;
}


.conversion-gauge-title {
    background: transparent !important;
    color: #000000 !important;
    position: relative !important;
    z-index: 100 !important;
}


/* =========================================================
   NUMERI CURVI - CRUSCOTTO EFFICIENZA
   ========================================================= */

.conversion-gauge-ticks {
    position: absolute;
    left: 0;
    top: 0;
    width: 150px;
    height: 150px;
    pointer-events: none;
    z-index: 6;
    overflow: visible;
}

.conversion-tick {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 16px;
    margin-left: -17px;
    margin-top: -8px;

    display: block;
    white-space: nowrap;
    text-align: center;

    font-size: 8px;
    font-weight: 700;
    line-height: 16px;
    color: #000000;

    --tick-radius: 52px;
}

/* ---------- DC: 0 / 500 / ... / 3000 ---------- */

.ct0 {
    transform:
        rotate(-90deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(90deg);
}

.ct1 {
    transform:
        rotate(-60deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(60deg);
}

.ct2 {
    transform:
        rotate(-30deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(30deg);
}

.ct3 {
    transform:
        rotate(0deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(0deg);
}

.ct4 {
    transform:
        rotate(30deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(-30deg);
}

.ct5 {
    transform:
        rotate(60deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(-60deg);
}

.ct6 {
    transform:
        rotate(90deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(-90deg);
}

/* ---------- EFFICIENZA: 10 / 20 / ... / 100 ---------- */

.et0 {
    transform:
        rotate(-90deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(90deg);
}

.et1 {
    transform:
        rotate(-70deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(70deg);
}

.et2 {
    transform:
        rotate(-50deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(50deg);
}

.et3 {
    transform:
        rotate(-30deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(30deg);
}

.et4 {
    transform:
        rotate(-10deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(10deg);
}

.et5 {
    transform:
        rotate(10deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(-10deg);
}

.et6 {
    transform:
        rotate(30deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(-30deg);
}

.et7 {
    transform:
        rotate(50deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(-50deg);
}

.et8 {
    transform:
        rotate(70deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(-70deg);
}

.et9 {
    transform:
        rotate(90deg)
        translateY(calc(-1 * var(--tick-radius)))
        rotate(-90deg);
}

/* ---------- SCHERMI STRETTI ---------- */

@media (max-width: 360px) {

    .conversion-gauge-ticks {
        width: 140px;
        height: 140px;
    }

    .conversion-tick {
        --tick-radius: 48px;
        font-size: 7px;
    }
}

/* =========================================================
   TACCHETTE CURVE - CRUSCOTTO EFFICIENZA
   ========================================================= */

.conversion-gauge-mark {
    position: absolute;
    width: 2px;
    height: 6px;
    left: 74px;
    top: 2px;
    background: #000000;
    border-radius: 2px;
    transform-origin: 50% 73px;
    z-index: 7;
}

/* ---------- DC: 7 tacche ---------- */

.cm0 { transform: rotate(-90deg); }
.cm1 { transform: rotate(-60deg); }
.cm2 { transform: rotate(-30deg); }
.cm3 { transform: rotate(0deg); }
.cm4 { transform: rotate(30deg); }
.cm5 { transform: rotate(60deg); }
.cm6 { transform: rotate(90deg); }

/* ---------- EFFICIENZA: 10 tacche ---------- */

.em0 { transform: rotate(-90deg); }
.em1 { transform: rotate(-70deg); }
.em2 { transform: rotate(-50deg); }
.em3 { transform: rotate(-30deg); }
.em4 { transform: rotate(-10deg); }
.em5 { transform: rotate(10deg); }
.em6 { transform: rotate(30deg); }
.em7 { transform: rotate(50deg); }
.em8 { transform: rotate(70deg); }
.em9 { transform: rotate(90deg); }

/* ---------- SCHERMI STRETTI ---------- */

@media (max-width: 360px) {
    .conversion-gauge-mark {
        left: 69px;
        top: 2px;
        transform-origin: 50% 68px;
    }
}

/* =========================================================
   ALLINEAMENTO VERTICALE GAUGE CRUSCOTTO
   ========================================================= */

.conversion-dc-info {
    height: 18px;
    margin: 0 0 4px 0;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    color: #000000;
    white-space: nowrap;
}

.conversion-gauge-item > .conversion-gauge-title + .conversion-gauge:not(:first-child) {
    margin-top: 26px;
}

/* Allineamento verticale: abbassa i due gauge EFF */
.conversion-gauge-item:nth-child(2) > .conversion-gauge {
    margin-top: 26px;
}

.conversion-gauge-item:nth-child(4) > .conversion-gauge {
    margin-top: 26px;
}

/* V/A centrati tra i due gauge della riga */
.conversion-dc-info {
    width: calc(200% + 4px);
    text-align: center;
}

/* =========================================================
   CRUSCOTTO - NESSUNO SCROLL
   ========================================================= */

#conversionEfficiencyOverlay .gauge-overlay-panel {
    overflow-y: hidden;
    max-height: none;
}

/* =========================================================
   MINI SCALA POTENZA 0-6000 W
   ========================================================= */

.power-scale {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 180px;
    margin: 0 auto 4px auto;
    font-size: 8px;
    font-weight: 700;
    color: #555;
}

.power-scale-bar {
    position: relative;
    width: 130px;
    height: 5px;
    border-radius: 4px;
    background: #e5e5e5;
    overflow: hidden;
}

#powerScaleFill {
    width: 0%;
    height: 100%;
    border-radius: 4px;
    background: #0B8917;
    transition: width 0.3s ease;
}

.power-scale {
    margin-top: 8px;
}

.power-scale {
    margin-top: 24px;
}

.power-scale {
    font-size: 7px;
}

.power-scale > span {
    font-size: 7px !important;
    font-weight: 600;
}

.power-scale > span {
    font-size: 9px !important;
}

.power-scale > span {
    font-size: 10px !important;
}

.power-scale-bar {
    width: 150px;
}
EOFcat >> /var/www/123solar/mobile/style.css <<'EOF'

.power-scale {
    width: 220px;
}

.power-scale-bar {
    width: 185px;
}

#powerScaleFill {
    background: linear-gradient(
        to right,
        #0B8917 0%,
        #8BC34A 17%,
        #FFD600 42%,
        #FF9800 67%,
        #F44336 100%
    );
}

/* =========================================================
   TARGET PRODUZIONE INVERTER
   ========================================================= */

.inverter-target {
    width: 100%;
    margin-top: 6px;
    margin-bottom: 8px;
}

.inverter-target-label {
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2px;
}

.inverter-target-scale {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 9px;
    font-weight: 600;
}

.inverter-target-bar {
    position: relative;
    width: 150px;
    height: 5px;
    border-radius: 4px;
    background: #e5e5e5;
    overflow: hidden;
}

#inverter1TargetFill,
#inverter2TargetFill {
    width: 0%;
    height: 100%;
    border-radius: 4px;
    background: #0B8917;
    transition: width 0.3s ease;
}


        background-position: -200% 0;
    }
}

#powerScaleFill {
    position: relative;
    overflow: hidden;
}

#powerScaleFill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -35%;
    width: 25%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.45),
        transparent
    );
    transform: skewX(-20deg);
    animation: powerScaleShine 2.8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes powerScaleShine {
    0% {
        left: -35%;
    }
    100% {
        left: 120%;
    }
}
