:root{--tv-bg: #0b140e;--tv-surface: #16241a;--tv-surface-sunken: #111c14;--tv-border: #2a3d2f;--tv-border-soft: #22332a;--tv-green: #7ed957;--tv-green-strong: #4fa82b;--tv-orange: #f5a442;--tv-red: #ff6b5e;--tv-text: #ffffff;--tv-text-soft: #dce6df;--tv-text-muted: #a9b8ad;--tv-text-on-green: #eaf7e2;--tv-figure-outline: rgba(22, 70, 12, .35);--tv-figure-shadow: 0 4px 14px rgba(15, 50, 8, .3);--tv-font: "Montserrat", system-ui, sans-serif}body:has(.tv-viewport){margin:0;background:var(--tv-bg)}.tv-viewport{position:fixed;inset:0;overflow:hidden;background:var(--tv-bg);display:flex;align-items:center;justify-content:center}.tv-stage{flex:none;width:1920px;height:1080px;transform-origin:center center}.tv-screen,.tv-screen *{box-sizing:border-box;margin:0;padding:0;font-family:var(--tv-font)}.tv-screen{width:100%;height:100%;display:flex;flex-direction:column;gap:28px;padding:44px 56px;background:var(--tv-bg);color:var(--tv-text);white-space:nowrap}.tv-screen--status{align-items:center;justify-content:center;font-size:48px;font-weight:800}.tv-ranking{flex:none;height:88px;display:flex;align-items:center;gap:16px}.tv-ranking__scroller{position:relative;flex:1;min-width:0;overflow:hidden}.tv-ranking__track,.tv-ranking__group{display:flex;gap:16px;width:max-content}.tv-ranking__track--scrolling{animation:tv-ranking-scroll var(--scroll-duration) linear infinite;will-change:transform}@keyframes tv-ranking-scroll{to{transform:translate(calc(-1 * var(--scroll-distance)))}}.tv-ranking__fade{position:absolute;inset:0 0 0 auto;width:160px;background:linear-gradient(to right,rgba(11,20,14,0),var(--tv-bg));pointer-events:none}.tv-chip{flex:none;display:flex;align-items:center;gap:14px;padding:16px 24px 16px 16px;border:2px solid var(--tv-border);border-radius:22px;background:var(--tv-surface)}.tv-chip__rank{flex:none;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:22px;background:var(--tv-border);font-size:22px;font-weight:900}.tv-chip__name{font-size:24px;font-weight:800;line-height:1.1}.tv-chip__grams{font-size:18px;font-weight:600;color:var(--tv-text-muted)}.tv-chip--first{gap:18px;padding:16px 28px 16px 18px;border:none;background:var(--tv-green);color:var(--tv-bg)}.tv-chip--first .tv-chip__rank{width:56px;height:56px;border-radius:28px;background:var(--tv-bg);color:var(--tv-green);font-size:28px}.tv-chip--first .tv-chip__name{font-size:30px;font-weight:900;line-height:1.05}.tv-chip--first .tv-chip__grams{font-size:20px;font-weight:700;color:var(--tv-bg)}.tv-hero{flex:1;min-height:0;display:flex;gap:28px}.tv-card{flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;border-radius:36px}.tv-eyebrow{display:flex;align-items:center;gap:14px;font-size:22px;font-weight:800;letter-spacing:3px;text-transform:uppercase}.tv-eyebrow img{display:block}.tv-cumul{padding:48px 56px;background:var(--tv-green-strong)}.tv-cumul__figure{display:flex;flex-direction:column;gap:15px}.tv-cumul__amount{--amount-scale: .8;align-self:flex-start;display:flex;align-items:baseline;gap:calc(20px * var(--amount-scale));font-weight:900;line-height:.9;-webkit-text-stroke:calc(3px * var(--amount-scale)) var(--tv-figure-outline);paint-order:stroke fill;text-shadow:var(--tv-figure-shadow)}.tv-cumul__value{margin-right:calc(8px * var(--amount-scale));font-size:calc(230px * var(--amount-scale));letter-spacing:calc(-8px * var(--amount-scale))}.tv-cumul__unit{font-size:calc(120px * var(--amount-scale));letter-spacing:calc(-3px * var(--amount-scale))}.tv-cumul__caption{font-size:44px;font-weight:800;line-height:1.15}.tv-cumul__footer{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}.tv-cumul__guests{display:flex;flex-direction:column;align-items:flex-end;gap:2px;text-align:right}.tv-cumul__guests-value{font-size:48px;font-weight:900;line-height:1;-webkit-text-stroke:1.5px var(--tv-figure-outline);paint-order:stroke fill;text-shadow:var(--tv-figure-shadow)}.tv-cumul__guests-label{font-size:22px;font-weight:600;color:var(--tv-text-on-green)}.tv-cumul__thanks{font-size:26px;font-weight:600;color:var(--tv-text-on-green)}.tv-today{padding:44px 52px;border:2px solid var(--tv-border);background:var(--tv-surface)}.tv-today__header{display:flex;align-items:center;justify-content:space-between}.tv-eyebrow--live{color:var(--tv-green)}.tv-live-dot{position:relative;flex:none;width:16px;height:16px}.tv-live-dot img{position:absolute;inset:-18px}.tv-badge{padding:8px 18px;border-radius:999px;font-size:20px;font-weight:700;color:var(--tv-bg)}.tv-badge--great,.tv-badge--good{background:var(--tv-green)}.tv-badge--warn{background:var(--tv-orange)}.tv-badge--bad{background:var(--tv-red)}.tv-badge--idle{background:var(--tv-border);color:var(--tv-text-muted)}.tv-today__figures{display:flex;align-items:flex-end;gap:48px}.tv-today__per-person-amount{display:flex;align-items:baseline;gap:10px;font-weight:900;color:var(--tv-green)}.tv-today__per-person-value{margin-right:6px;font-size:190px;line-height:.9;letter-spacing:-6px}.tv-today__per-person-unit{font-size:64px}.tv-today__per-person-amount--idle{color:var(--tv-border)}.tv-today__per-person-caption{font-size:28px;font-weight:700;color:var(--tv-text-soft)}.tv-today__totals{display:flex;flex-direction:column;gap:4px;padding:0 0 8px 40px;border-left:3px solid var(--tv-border)}.tv-today__total{font-size:72px;font-weight:900;line-height:1}.tv-today__guests{margin-top:22px!important;font-size:48px;font-weight:900;line-height:1}.tv-today__label{font-size:24px;font-weight:600;color:var(--tv-text-muted)}.tv-gauge{display:flex;flex-direction:column;gap:12px}.tv-gauge__bar{position:relative;height:44px}.tv-gauge__gradient{position:absolute;inset:8px 0;border-radius:999px;background:linear-gradient(90deg,#4fa82b,#a6d23b,#f2e84b,#f0a043,#e0524a)}.tv-gauge__cursor{position:absolute;top:0;width:16px;height:44px;transform:translate(-50%);border:4px solid var(--tv-bg);border-radius:8px;background:#fff}.tv-gauge__ticks{display:flex;justify-content:space-between;font-size:18px;font-weight:700;color:var(--tv-text-muted)}.tv-kpis{flex:none;display:flex;gap:24px;padding:22px 28px;border:2px solid var(--tv-border-soft);border-radius:28px;background:var(--tv-surface-sunken)}.tv-kpis__title{flex:none;width:190px;display:flex;flex-direction:column;justify-content:center;gap:6px}.tv-kpis__title h2{font-size:26px;font-weight:900;line-height:1.1}.tv-kpis__subtitle{font-size:17px;font-weight:600;color:var(--tv-text-muted)}.tv-kpis__legend{font-size:13px;font-weight:600;line-height:1.3;color:var(--tv-text-muted)}.tv-kpis__list{flex:1;min-width:0;display:flex;gap:14px}.tv-kpi{--kpi-color: var(--tv-text-muted);flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:16px 18px;border-radius:18px;background:var(--tv-surface)}.tv-kpi--ok{--kpi-color: var(--tv-green)}.tv-kpi--warn{--kpi-color: var(--tv-orange)}.tv-kpi--alert{--kpi-color: var(--tv-red)}.tv-kpi__name{font-size:16px;font-weight:700;line-height:1.2;color:var(--tv-text-soft);white-space:normal}.tv-kpi__body{display:flex;flex-direction:column;gap:8px}.tv-kpi__line,.tv-kpi__status-line{display:flex;align-items:baseline;justify-content:space-between}.tv-kpi__value{font-size:40px;font-weight:900;line-height:1;color:var(--kpi-color)}.tv-kpi__target{font-size:15px;font-weight:600;color:var(--tv-text-muted)}.tv-kpi__progress{height:8px;overflow:hidden;border-radius:999px;background:var(--tv-border)}.tv-kpi__progress-fill{height:100%;border-radius:999px;background:var(--kpi-color)}.tv-kpi__status{display:flex;align-items:center;gap:5px;font-size:14px;font-weight:700;color:var(--kpi-color)}.tv-kpi__icon{flex:none;background:currentColor}.tv-kpi__icon--ok{width:10px;height:10px;border-radius:50%}.tv-kpi__icon--warn{width:8px;height:7px;clip-path:polygon(50% 0,100% 100%,0 100%)}.tv-kpi__icon--alert{width:6px;height:6px}.tv-kpi__streak{font-size:13px;font-weight:800;color:var(--tv-text-muted)}.tv-kpi__streak--on{color:var(--tv-green)}.tv-kpi__tokens{display:flex;gap:6px}.tv-token{flex:none;display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:2px solid var(--tv-border);border-radius:10px}.tv-token--won{border:none;background:var(--tv-green)}.tv-token img{display:block}*{box-sizing:border-box;margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}.main{padding:40px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5vh;min-height:100vh;position:relative;z-index:0;overflow:hidden}.main:before{content:"";position:absolute;inset:0;background-image:url(/img/gachimette-bg.svg);background-size:cover;background-position:center;filter:blur(9.8px);transform:scale(1.08);z-index:0}.main:after{content:"";position:absolute;background:#2c2c2c08}.main>*{position:relative;z-index:1}.status-container{justify-content:center}.glassCard{inset:0;background-color:#736c6c52;-webkit-backdrop-filter:blur(22px);backdrop-filter:blur(22px);padding:10px;text-align:center}.waste_section{min-width:60vw;display:flex;flex-direction:column;align-items:center;justify-content:center;margin:0 auto;gap:15px;color:#fff}.waste_general_info{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;height:500px;border-radius:25px;overflow:hidden;width:100%}.total_waste_avoid{width:50%;height:100%;display:flex;align-items:center;justify-content:center}.total_waste_avoid div{background-color:#5e9a2a;color:#fff;font-weight:900;font-size:98px;height:100%;width:100%;border-radius:25px 0 0 25px;display:flex;align-items:center;justify-content:center}.waste_message{width:50%;height:100%;align-items:center;justify-content:center;font-weight:700;font-size:35px;display:flex;flex-direction:column;gap:13px;padding:44px}.total_saved_waste{font-size:2rem}.daily_saved_waste{font-size:1.5rem;font-weight:400}.daily_saved_waste span{font-weight:700}.heartCircle{width:126px;aspect-ratio:1/1;border-radius:100%;display:flex;align-items:center;justify-content:center}.waste_daily_section{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;border-radius:25px;overflow:hidden;gap:5px;min-height:15vh}.slide_bar,.waste_daily{width:100%;height:8vh}.waste_daily{display:flex;align-items:center;justify-content:center;gap:20px}.waste_daily p{font-size:35px;font-weight:500}.gauge{position:relative;overflow:hidden;padding:.5vh .5vw;width:100%;height:100%;background:linear-gradient(90deg,#277818,#f6f95d 49.5%,#df5252 88%);border-radius:0 0 15px 15px}.level{position:relative;height:100%;aspect-ratio:1/2.5;background-color:#fff;border-radius:50%/25%;box-shadow:0 4px 10px #00000040;transform:translate(-50%)}.topHeadquartersContainer{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:15px;height:11vh;width:100vw}.fixed-item{position:fixed;left:15px;z-index:2}.scrolling-items{display:flex;flex-direction:row;z-index:-1;position:absolute}.scrolling-container{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;position:relative;width:100%;height:100%;overflow:hidden;left:55px}.topHeadquarters{height:10vh;padding:10px 55px;font-size:1rem;border-radius:40px;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;width:auto;max-width:100%;white-space:nowrap;font-weight:400;font-size:21px}.topHeadquarters h1{font-size:35px;font-weight:700}.carousel-inner{position:absolute;left:0;display:flex;gap:15px}.fixed-items{z-index:88}.scroll-items{gap:15px;z-index:-55}.admin{justify-content:center}.adminSection{height:auto;max-height:80vh;display:flex;flex-direction:column}.table-container{height:100%;width:100%;overflow-y:scroll;border:1px solid rgba(255,255,255,.2);border-radius:20px;scrollbar-color:#f5f5f5 rgba(0,0,0,.5);scrollbar-width:thin}.table-container::-webkit-scrollbar{width:12px}.table-container::-webkit-scrollbar-track{background:#00000080;border-radius:10px}.table-container::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#fff,#f5f5f5);border-radius:10px;border:2px solid rgba(0,0,0,.5)}.table-container::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#fff 0% 100%);box-shadow:0 0 8px #fffc}.table{width:100%;border-collapse:collapse;font-size:20px;text-align:center;background-color:#ffffff1a}.table thead,.table tfoot{position:sticky;top:0;background-color:#000000b3;z-index:1}.table tfoot{bottom:0;top:auto}.table th{padding:15px;text-transform:uppercase}.table tbody tr{border-bottom:1px solid rgba(255,255,255,.2)}.table tbody tr:nth-child(2n){background-color:#ffffff0d}.table tbody tr:hover{background-color:#fff3;cursor:pointer}table td{padding:12px 15px}.td_buttons{padding:2px!important}input{width:100%;padding:10px;margin:5px 0;border:1px solid rgba(255,255,255,.3);border-radius:5px;background-color:#ffffff1a;color:#fff;font-size:16px;transition:border-color .3s,box-shadow .3s}input::placeholder{color:#ffffff80}input:focus{outline:none;border-color:#4caf50;box-shadow:0 0 5px #4caf5080}.button_table{display:flex;align-items:center;justify-content:center;padding:8px 12px;background-color:#000000b3;color:#fff;font-weight:700;border:none;border-radius:10px;cursor:pointer;transition:background-color .3s,transform .2s;min-width:40px}.submit-button{padding:10px 20px;background-color:#4caf50;color:#fff;font-size:20px;font-weight:700;border:none;border-radius:10px;cursor:pointer;transition:background-color .3s,transform .2s}.submit-button:hover{background-color:#45a049;transform:scale(1.05)}.submit-button:active{background-color:#3e8e41;transform:scale(.95)}.delete-button{background-color:#000000b3;opacity:0;transition:opacity .2s ease}.table tbody tr:hover .delete-button{opacity:1}.delete-button:hover{background-color:#c00;transform:scale(1.1)}.delete-button:active{background-color:#900;transform:scale(.95)}.add_Button{padding:5px;aspect-ratio:1/1}.button_table img{height:40px}.objectif-actuel{font-size:20px;display:flex;flex-direction:row;align-items:center;justify-content:space-evenly;width:100%;gap:1.5rem;background-color:#000000b3}.objectif-actuel input{max-width:150px}.highlight-row{background-color:#5e9a2a88!important;transition:background-color .5s ease-out}@media(max-width:980px){.waste_general_info_responsive{flex-direction:column;min-height:50vh;height:auto}.waste_message,.total_waste_avoid{width:100%;height:auto}.total_waste_avoid div{border-radius:25px 25px 0 0;min-height:30vh}}.popup-overlay{position:fixed;inset:0;background:#0009;display:flex;justify-content:center;align-items:center;z-index:1000;animation:fadeIn .3s ease-out;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes slideDown{0%{transform:translateY(-20px);opacity:0}to{transform:translateY(0);opacity:1}}.popup-content{background:#ffffff7a;padding:24px 45px 24px 28px;border-radius:12px;box-shadow:0 10px 25px #00000026;max-width:420px;position:relative;display:flex;flex-direction:row;align-items:flex-start;gap:12px;animation:slideDown .4s ease-out;border-left:5px solid}.popup-icon{font-size:24px;flex-shrink:0;margin-top:2px}.popup-message{font-size:20px;font-weight:500;line-height:1.5;color:#1f2937;word-break:break-word;flex:1}.popup-overlay.error .popup-content{border-left-color:#dc2626}.popup-overlay.error .popup-icon{color:#dc2626}.popup-overlay.success .popup-content{border-left-color:#16a34a}.popup-overlay.success .popup-icon{color:#16a34a}.popup-overlay.warning .popup-content{border-left-color:#f59e0b}.popup-overlay.warning .popup-icon{color:#f59e0b}.popup-close{position:absolute;top:12px;right:12px;background:none;border:none;font-size:24px;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;color:#1d1b1a;transition:color .2s ease;border-radius:4px}.popup-close:hover{color:#42699e;background:#0000000d}.popup-close:active{background:#0000001a}@media(max-width:480px){.popup-content{max-width:90vw;margin:16px}}@media(min-width:1920px){.popup-content{max-width:600px;padding:32px 40px;font-size:1.3rem}.popup-message{font-size:24px}.popup-close{font-size:30px}}
