/* v1.5.2: bilingual synchronized floating monitor and larger fullscreen typography. */
.widget-service{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:6px;font-size:12px}.widget-service>span:nth-child(2){min-width:0;font-weight:650}.widget-service small{display:block;overflow:hidden;text-overflow:ellipsis;color:#8796ad;font-size:9px;font-weight:450;white-space:nowrap}.widget-service em{color:#8fa0b9;font-size:9px;font-style:normal;white-space:nowrap}.widget-mark{display:grid;width:20px;height:20px;place-items:center;border:1px solid color-mix(in srgb,var(--color),transparent 55%);border-radius:6px;color:var(--color)}.widget-primary{display:flex;align-items:end;justify-content:space-between;gap:6px;margin-top:8px}.widget-primary b{font-size:25px;font-variant-numeric:tabular-nums;line-height:1}.widget-primary span{color:#9eabc0;font-size:9px;text-align:right}.widget-limit{display:flex;justify-content:space-between;gap:5px;margin-top:7px;color:#b8c4d7;font-size:10px}.widget-limit b{font-variant-numeric:tabular-nums}.widget-reset{margin-top:3px;color:#8796ad;font-size:9px;line-height:1.35}.widget-reset strong{display:block}.widget-age{margin-top:7px;color:#7e8ca2;font-size:9px}.widget .history{margin-top:8px;padding-top:7px}.widget .history-group{margin-top:5px}.widget .history-log{height:52px;padding:4px 5px;font-size:8px;line-height:1.45}.widget .extras{margin-top:8px;padding-top:7px}.widget .extra-row{margin-top:5px}.widget .extra-track{height:4px}.widget-title{gap:8px}.widget-title>span{flex:none}

.floating-body,.pip-body{--alpha:.55;min-width:0;background:radial-gradient(circle at 90% 0%,rgb(31 68 112 / calc(.14 + var(--alpha) * .68)),transparent 68%),rgb(5 9 16 / calc(.18 + var(--alpha) * .78));transition:background-color .18s ease}.floating-body{padding:5px;overflow:hidden}.floating-body .widget,.pip-body .widget{width:100%;max-height:calc(100vh - 41px);padding:7px;border-radius:10px;overflow:auto;background:rgb(9 14 23 / var(--alpha));box-shadow:0 8px 24px rgb(0 0 0 / calc(var(--alpha) * .55));font-size:clamp(8px,5.2vw,10px)}.floating-body .widget-title,.pip-body .widget-title{margin-bottom:4px;font-size:9px;line-height:1.25}.floating-body .widget-row,.pip-body .widget-row{margin-top:5px;padding:6px;border-radius:7px}.floating-body .widget-service,.pip-body .widget-service{gap:3px;font-size:9px}.floating-body .widget-service small,.floating-body .widget-service em,.pip-body .widget-service small,.pip-body .widget-service em{font-size:7px}.floating-body .widget-mark,.pip-body .widget-mark{width:15px;height:15px;border-radius:4px;font-size:9px}.floating-body .widget-primary,.pip-body .widget-primary{margin-top:5px}.floating-body .widget-primary b,.pip-body .widget-primary b{font-size:19px}.floating-body .widget-primary span,.pip-body .widget-primary span{font-size:7px}.floating-body .widget-limit,.pip-body .widget-limit{margin-top:5px;font-size:8px}.floating-body .widget-reset,.floating-body .widget-meta,.floating-body .widget-age,.pip-body .widget-reset,.pip-body .widget-meta,.pip-body .widget-age{font-size:7px}.floating-body .widget .extras-title,.floating-body .widget .extra-row,.floating-body .widget .history-label,.pip-body .widget .extras-title,.pip-body .widget .extra-row,.pip-body .widget .history-label{font-size:7px}.floating-body .widget .extra-detail,.floating-body .widget .previous,.pip-body .widget .extra-detail,.pip-body .widget .previous{font-size:6.5px}.floating-body .widget .history-log,.pip-body .widget .history-log{height:38px;font-size:6.5px}.floating-body .widget-foot,.pip-body .widget-foot{font-size:7px;line-height:1.35}.floating-actions{gap:4px;margin-top:4px}.floating-actions button{height:27px;min-width:0;padding:3px 4px;border-radius:6px;font-size:8px;overflow:hidden;text-overflow:ellipsis}.pip-body{padding:5px;overflow:hidden}.pip-pin{margin-bottom:4px;padding:4px 5px;font-size:7px}.pip-pin small{display:none}
:root[data-theme="standard"] .floating-body,:root[data-theme="standard"] .pip-body{background:radial-gradient(circle at 90% 0%,rgb(182 210 245 / calc(.18 + var(--alpha) * .7)),transparent 70%),rgb(231 237 245 / calc(.22 + var(--alpha) * .75))}:root[data-theme="standard"] .floating-body .widget,:root[data-theme="standard"] .pip-body .widget{background:rgb(250 251 253 / var(--alpha))}

/* Preserve legibility in the deliberately narrow 180–190px floating surfaces. */
.floating-body .widget-title,.pip-body .widget-title{display:block;overflow:hidden;font-size:clamp(7px,4.7vw,9px);font-weight:750;letter-spacing:-.035em;text-overflow:clip;white-space:nowrap}
.floating-body .widget-service small,.floating-body .widget-service em,.pip-body .widget-service small,.pip-body .widget-service em,.floating-body .widget-primary span,.pip-body .widget-primary span,.floating-body .widget-reset,.floating-body .widget-meta,.floating-body .widget-age,.pip-body .widget-reset,.pip-body .widget-meta,.pip-body .widget-age,.floating-body .widget .extras-title,.floating-body .widget .extra-row,.floating-body .widget .history-label,.pip-body .widget .extras-title,.pip-body .widget .extra-row,.pip-body .widget .history-label{font-size:clamp(7.5px,4.4vw,8.5px)}
.floating-body .widget .extra-detail,.floating-body .widget .previous,.pip-body .widget .extra-detail,.pip-body .widget .previous,.floating-body .widget .history-log,.pip-body .widget .history-log,.floating-body .widget-foot,.pip-body .widget-foot{font-size:clamp(7.5px,4.2vw,8px)}
.floating-body .widget .history-log,.pip-body .widget .history-log{height:42px}.pip-pin{font-size:8px}

html:fullscreen .page-title .sub{font-size:14px}html:fullscreen .history-status{font-size:11px}html:fullscreen .top-actions button{font-size:13px}html:fullscreen .card h2{font-size:21px}html:fullscreen .plan{font-size:12px}html:fullscreen .badge{font-size:11px}html:fullscreen .metric-label,html:fullscreen .metric-row{font-size:14px}html:fullscreen .reset{font-size:12px}html:fullscreen .gauge-reset{font-size:11px}html:fullscreen .gauge-reset strong{font-size:13px}html:fullscreen .extras-title{font-size:11px}html:fullscreen .extra-row{font-size:11px}html:fullscreen .history-label{font-size:11px}html:fullscreen .history-log{font-size:10px;line-height:1.55}html:fullscreen .age,html:fullscreen .card-bottom button{font-size:11px}
@media(max-height:760px){html:fullscreen .card h2{font-size:18px}html:fullscreen .plan,html:fullscreen .badge{font-size:10px}html:fullscreen .metric-label,html:fullscreen .metric-row{font-size:12px}html:fullscreen .reset,html:fullscreen .history-label{font-size:10px}html:fullscreen .history-log{font-size:9px}}
@media(max-width:700px) and (orientation:portrait){html:fullscreen .card h2{font-size:15px}html:fullscreen .plan,html:fullscreen .badge{font-size:9px}html:fullscreen .metric-label,html:fullscreen .metric-row{font-size:10px}html:fullscreen .history-label,html:fullscreen .history-log{font-size:8px}}

/* Keep changed digits the same size as the primary number in both floating modes. */
.floating-body .widget-primary b span.changed-number,.pip-body .widget-primary b span.changed-number{font:inherit!important;font-variant-numeric:inherit!important;line-height:inherit!important;color:#ff7777!important;letter-spacing:inherit!important}
