:root {
  color-scheme: dark;
  --bg: #111116;
  --surface: #1c1c25;
  --stroke: rgba(255,255,255,.085);
  --text: #f4f3fa;
  --muted: #9493a5;
  --accent: #b7a7ff;
  --accent-strong: #8d75ef;
  --danger: #fa8b9e;
  --online: #7ed9b1;
  --offline: #858397;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { margin: 0; padding: 36px 28px 24px; min-height: 100svh; background: var(--bg); color: var(--text); font-family: "Segoe UI Variable", "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif; font-size: 14px; line-height: 1.5; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button, input { touch-action: manipulation; }
button:focus-visible, input:focus-visible { outline: 3px solid #c1b5ff; outline-offset: 4px; }
button { transition: background .2s, border-color .2s, box-shadow .2s, transform .16s; }
button:active:not(:disabled) { transform: scale(.975); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.ambient { position: fixed; z-index: -1; pointer-events: none; top: -340px; left: 50%; transform: translateX(-50%); width: min(1250px,160vw); height: 800px; background: radial-gradient(ellipse,rgba(114,83,201,.13),transparent 66%); }
.app { max-width: 1040px; margin: 0 auto; display: none; }
.app.show { display: block; animation: enter .45s ease-out; }
.topbar { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 650; letter-spacing: -.7px; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(190,173,255,.25); border-radius: 12px; color: #cfc1ff; background: linear-gradient(145deg,rgba(158,130,245,.24),rgba(123,100,217,.07)); box-shadow: inset 0 1px rgba(255,255,255,.08); }
.brand-mark svg { width: 24px; height: 24px; }
.brand-tag { border-left: 1px solid var(--stroke); padding-left: 13px; margin-left: 5px; font-size: 11px; font-weight: 400; letter-spacing: 1px; color: var(--muted); }
.icons { display: flex; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; background: rgba(255,255,255,.025); border: 1px solid var(--stroke); border-radius: 13px; color: #b6b3c5; }
.icon-btn:hover { background: rgba(255,255,255,.07); color: #fff; }
.icon-btn svg { width: 19px; height: 19px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; margin: 47px 0 25px; gap: 16px; }
.eyebrow { display: block; color: #858096; font-size: 9px; font-weight: 650; letter-spacing: 2.1px; }
h1 { font-size: 30px; font-weight: 600; letter-spacing: -1px; line-height: 1.3; margin: 8px 0; }
.sub { color: var(--muted); font-size: 12px; margin: 0; }
.device-chip { display: flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--stroke); border-radius: 100px; background: rgba(255,255,255,.025); color: #c4c0d3; font-size: 11px; max-width: 45%; }
.device-chip svg { width: 15px; height: 15px; color: var(--accent); }
.device-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 20px; margin-top: 28px; }
.control-card { background: linear-gradient(145deg,rgba(39,36,52,.93),rgba(25,25,33,.98) 60%); border: 1px solid rgba(199,182,255,.13); border-radius: 27px; padding: 30px; box-shadow: 0 15px 55px rgba(0,0,0,.13),inset 0 1px rgba(255,255,255,.02); overflow: hidden; }
.duration-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.duration-heading h2 { margin: 0 0 3px; color: #b0aabb; font-weight: 500; font-size: 13px; }
.duration { display: flex; align-items: baseline; gap: 8px; height: 79px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.duration span { font-size: 66px; font-weight: 550; letter-spacing: -3px; }
.duration small { font-size: 18px; color: #a39aaf; font-weight: 400; }
.limit-badge { display: flex; gap: 6px; align-items: center; font-size: 10px; color: #aaa1be; background: rgba(181,155,255,.055); border: 1px solid rgba(181,155,255,.12); padding: 6px 9px; border-radius: 9px; margin-top: 2px; white-space: nowrap; }
.limit-badge span { width: 4px; height: 4px; background: #baa3ff; border-radius: 50%; }
.slider-shell { position: relative; height: 64px; margin-top: 14px; --fill: 72%; }
.slider-track { position: absolute; z-index: 0; top: 11px; left: 0; right: 0; height: 42px; border-radius: 30px; background: #3a3942; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
.track-stops { position: absolute; z-index: 2; pointer-events: none; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 21px; }
.track-stops i { width: 5px; height: 5px; background: rgba(255,255,255,.23); border-radius: 50%; }
.slider-fill { position: absolute; inset: 0 auto 0 0; width: var(--fill); border-radius: inherit; overflow: hidden; background: #347ff3; box-shadow: inset 0 1px rgba(255,255,255,.12); }
.slider-fill::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg,#7e9bff 0%,#a28bff 45%,#8e55db 100%); opacity: 0; transition: opacity .18s ease; }
.slider-shell[data-stage=gradient] .slider-fill::before,
.slider-shell[data-stage=particles] .slider-fill::before { opacity: 1; }
.slider-shell[data-stage=particles] .track-stops { opacity: 0; }
.slider-shell:not([data-stage=particles]) #particleCanvas,
.slider-shell:not([data-stage=particles]) .slider-sheen { visibility: hidden; }
.slider-fill::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,rgba(255,255,255,.08),transparent 55%); }
#particleCanvas { position: absolute; top: 0; left: 0; height: 42px; pointer-events: none; }
.slider-sheen { position: absolute; inset: -80% auto -80% -40%; width: 30%; background: linear-gradient(90deg,transparent,rgba(255,255,255,.07),transparent); transform: rotate(25deg); animation: sheen 7s linear infinite; animation-play-state: paused; }
.slider-shell[data-stage=particles] .slider-sheen { animation-play-state: running; }
input[type=range] { position: absolute; inset: 0; width: 100%; height: 64px; margin: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: pointer; border-radius: 32px; }
input[type=range]::-webkit-slider-runnable-track { height: 42px; background: transparent; border: 0; }
input[type=range]::-moz-range-track { height: 42px; background: transparent; border: 0; }
input[type=range]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 56px; height: 56px; margin-top: -7px; background: #fff; border: 1px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 3px 12px rgba(31,19,66,.18); transition: box-shadow .2s; }
input[type=range]::-moz-range-thumb { width: 56px; height: 56px; background: #fff; border: 0; border-radius: 50%; box-shadow: 0 3px 12px rgba(31,19,66,.18); }
input[type=range]:active::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(195,176,255,.12),0 3px 15px rgba(31,19,66,.25); }
.slider-labels { display: flex; justify-content: space-between; padding: 0 3px; font-size: 10px; color: #777283; font-variant-numeric: tabular-nums; margin-top: 1px; }
.presets { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 22px; }
.preset { padding: 10px 3px; border-radius: 12px; color: #a39bad; font-size: 12px; text-align: center; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.055); min-height: 40px; }
.preset:hover { background: rgba(180,154,255,.08); border-color: rgba(180,154,255,.2); }
.preset.active { color: #e4d9ff; background: rgba(158,121,239,.17); border-color: rgba(180,154,255,.35); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.control-divider { height: 1px; background: linear-gradient(90deg,transparent,var(--stroke) 12%,var(--stroke) 88%,transparent); margin: 26px 0 23px; }
.actions { display: flex; flex-direction: column; gap: 11px; }
.cut-btn { width: 100%; height: 57px; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; font-size: 15px; font-weight: 600; letter-spacing: 1px; color: #fff; background: linear-gradient(110deg,#957af5,#8360d5); box-shadow: 0 6px 25px rgba(126,79,215,.17),inset 0 1px rgba(255,255,255,.12); }
.cut-btn:hover:not(:disabled) { box-shadow: 0 7px 30px rgba(140,94,226,.3); }
.cut-btn:disabled { color: #8e859f; background: #302b3c; border-color: rgba(188,159,255,.09); box-shadow: none; }
.restore-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; border: 1px solid var(--stroke); border-radius: 14px; background: rgba(255,255,255,.018); color: #c0b6d0; font-size: 12px; }
.restore-btn svg { width: 16px; height: 16px; }
.restore-btn:hover { background: rgba(255,255,255,.045); }
.restore-btn:disabled { opacity: .45; }
.command-feedback { color: var(--accent); font-size: 11px; text-align: center; padding-top: 2px; }
.command-feedback:empty { display: none; }
.control-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 10px; color: #7f778c; margin-top: 19px; }
.control-note svg { width: 13px; height: 13px; }
.sidebar { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.status { position: relative; background: linear-gradient(135deg,rgba(37,35,47,.95),rgba(29,28,37,.95)); border: 1px solid var(--stroke); border-radius: 22px; padding: 22px; overflow: hidden; }
.status::before { content: ""; position: absolute; width: 110px; height: 110px; border-radius: 50%; background: #8d70d5; opacity: .06; filter: blur(35px); top: -40px; right: -20px; pointer-events: none; }
.status-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.status-top .eyebrow { font-size: 8px; letter-spacing: 1.7px; }
.status-signal { width: 20px; height: 20px; color: #696375; }
.status-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.status-indicator { display: flex; align-items: center; gap: 10px; min-width: 0; }
.device-name { color: #92899f; font-size: 10px; max-width: 42%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-detail:empty { display: none; }
.dot { display: block; width: 7px; height: 7px; border-radius: 50%; background: var(--offline); box-shadow: 0 0 0 4px rgba(143,128,172,.07); flex-shrink: 0; transition: background .3s; }
.status-text { font-size: 20px; font-weight: 550; letter-spacing: -.4px; }
.status-detail { font-size: 11px; color: #928a9f; line-height: 1.8; margin-top: 8px; overflow-wrap: anywhere; }
.status[data-tone=online] .status-text, .status[data-tone=online] .status-signal { color: var(--online); }
.status[data-tone=error] .status-text { color: var(--danger); }
.status[data-tone=pending] .dot { animation: pulse 2s ease-in-out infinite; }
.countdown { display: none; margin-top: 20px; }
.countdown.show { display: block; }
.countdown-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 10px; color: var(--muted); gap: 8px; }
.countdown-num { color: #d2bdff; font-size: 21px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bar { height: 4px; background: #35303e; border-radius: 6px; margin-top: 10px; overflow: hidden; }
.bar-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#7392fa,#b287f1); transition: width .15s linear; }
.panel { overflow: hidden; border: 1px solid var(--stroke); border-radius: 18px; background: rgba(255,255,255,.02); }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 16px; border: 0; background: transparent; text-align: left; }
.panel-head:hover { background: rgba(255,255,255,.025); }
.panel-label { display: flex; align-items: center; gap: 12px; color: #c4becf; font-size: 12px; }
.panel-label small { display: block; color: #787181; font-size: 10px; margin-top: 2px; }
.panel-icon { display: grid; place-items: center; width: 33px; height: 33px; border: 1px solid rgba(255,255,255,.05); border-radius: 10px; background: rgba(255,255,255,.025); color: #a496bc; }
.panel-icon svg { width: 17px; height: 17px; }
.arrow { width: 13px; height: 13px; color: #746b82; transition: transform .2s; }
.panel.open .arrow { transform: rotate(90deg); }
.panel-body { display: none; padding: 2px 16px 17px; }
.panel.open .panel-body { display: block; animation: enter .2s ease-out; }
.kv { display: grid; grid-template-columns: 63px minmax(0,1fr); gap: 10px 12px; font-size: 11px; line-height: 1.6; padding-top: 9px; }
.kv .k { color: #82798e; }
.kv .v { color: #bfb6ce; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.dim { color: #797081; }
.empty { color: var(--muted); font-size: 11px; }
.log { max-height: 280px; overflow-y: auto; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.04); border-radius: 12px; padding: 10px; font: 10px/1.8 ui-monospace,Consolas,monospace; white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-width: thin; scrollbar-color: #544662 transparent; }
.log .info { color: #91849e; }.log .warn { color: #e4ba77; }.log .err { color: var(--danger); }
.assurance { display: flex; gap: 10px; padding: 12px 8px; color: #887e98; }
.assurance > svg { width: 18px; height: 18px; margin-top: 2px; color: #827297; }
.assurance strong { color: #9c90ac; font-size: 11px; font-weight: 500; }
.assurance p { color: #70667e; font-size: 10px; line-height: 1.9; margin: 4px 0 0; }
.page-footer { display: flex; align-items: center; justify-content: center; gap: 8px; color: #655c72; font-size: 9px; margin: 27px 0 0; }
.footer-dot { width: 4px; height: 4px; border-radius: 50%; background: #7d6c98; }
.footer-separator { color: #51485c; padding: 0 3px; }.footer-version { color: #51485c; margin-left: 4px; }
.login { display: none; min-height: calc(100svh - 60px); align-items: center; justify-content: center; }
.login.show { display: flex; animation: enter .4s ease-out; }
.login-content { width: 100%; max-width: 390px; }
.login-content > .brand { justify-content: center; margin-bottom: 28px; }
.login-art { width: 190px; height: 156px; margin: 20px auto -10px; position: relative; display: grid; place-items: center; }
.orb-core { width: 64px; height: 64px; border-radius: 22px; background: linear-gradient(135deg,#b59bff,#7051bd); display: grid; place-items: center; box-shadow: 0 0 55px rgba(141,98,233,.23),inset 0 1px rgba(255,255,255,.45); transform: rotate(-8deg); animation: float 7s ease-in-out infinite; }
.orb-core svg { width: 36px; height: 36px; color: #fff; transform: rotate(8deg); }
.orbit { border: 1px solid rgba(174,147,229,.12); border-radius: 50%; position: absolute; width: 132px; height: 132px; transform: rotateX(55deg) rotate(-25deg); }
.orbit-two { width: 180px; height: 180px; transform: rotateX(55deg) rotate(35deg); border-color: rgba(174,147,229,.065); }
.login-art i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #bea4f4; left: 15%; top: 35%; animation: float 5s ease-in-out infinite; opacity: .6; }
.login-art i:nth-of-type(2) { left: 80%; top: 38%; animation-delay: -2s; width: 4px; height: 4px; }
.login-art i:nth-of-type(3) { left: 30%; top: 78%; animation-delay: -3s; }
.login-art i:nth-of-type(4) { left: 65%; top: 12%; animation-delay: -1s; }
.login-art i:nth-of-type(5) { left: 72%; top: 75%; animation-delay: -4s; width: 2px; height: 2px; }
.login-art i:nth-of-type(6) { left: 15%; top: 60%; animation-delay: -1.5s; width: 2px; height: 2px; }
.card { width: 100%; background: #1d1b26; border: 1px solid rgba(194,164,239,.12); border-radius: 25px; padding: 26px; box-shadow: 0 20px 80px rgba(0,0,0,.2); }
.card h2 { margin: 5px 0 0; font-size: 22px; font-weight: 550; letter-spacing: -.4px; }
.login-sub, .modal-description { color: #91859f; font-size: 11px; line-height: 1.8; margin: 9px 0 24px; }
label { display: block; color: #ad9fbd; font-size: 11px; margin: 16px 0 8px; }
input[type=text], input[type=password], input[type=url] { width: 100%; min-height: 46px; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(193,164,235,.12); background: rgba(0,0,0,.13); color: var(--text); font-size: 14px; outline: none; transition: border-color .2s,box-shadow .2s; }
input::placeholder { color: #655b74; font-size: 12px; }
input[type=text]:focus, input[type=password]:focus, input[type=url]:focus { border-color: #a083d0; box-shadow: 0 0 0 3px rgba(162,131,208,.08); }
.login-btn, .primary { width: 100%; display: flex; justify-content: center; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: linear-gradient(110deg,#a187f1,#8966d1); color: #fff; padding: 13px 10px; font-size: 12px; font-weight: 550; }
.login-btn { margin-top: 15px; }
.login-btn svg { width: 14px; height: 14px; }.login-btn:disabled { opacity: .6; }
.login-note { display: flex; justify-content: center; align-items: center; gap: 5px; color: #766a87; font-size: 9px; margin-top: 19px; }
.login-note svg { width: 12px; height: 12px; }
.login-footer { color: #554a62; font-size: 8px; text-align: center; letter-spacing: 1.5px; margin-top: 23px; }
.modal { position: fixed; inset: 0; z-index: 20; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(8,6,13,.75); backdrop-filter: blur(14px); }
.modal.show { display: flex; animation: enter .2s ease-out; }
.modal .card { max-width: 390px; }
.device-list { display: flex; flex-direction: column; gap: 7px; margin: 4px 0 18px; }
.device-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 11px 14px; border: 1px solid rgba(194,164,239,.13); background: rgba(194,164,239,.04); border-radius: 12px; color: #e0d3ee; font-size: 12px; text-align: left; cursor: pointer; }
.device-item .dim { color: #91859f; font-size: 11px; white-space: nowrap; }
.device-item.active { border-color: rgba(150,120,220,.55); background: rgba(150,120,220,.13); }
.device-item.empty { cursor: default; color: #91859f; justify-content: center; }
.modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.modal-heading h2 { font-size: 20px; }.modal-close { width: 33px; height: 33px; border-radius: 11px; }
.modal-description { margin-bottom: 22px; }.modal-actions { margin-top: 24px; }
.danger-btn { width: 100%; padding: 12px; color: #ce8da1; border: 1px solid rgba(211,130,150,.15); background: rgba(211,130,150,.04); border-radius: 12px; margin-top: 11px; font-size: 11px; }
.toast { position: fixed; z-index: 40; left: 50%; bottom: max(25px,env(safe-area-inset-bottom)); transform: translate(-50%,10px); opacity: 0; pointer-events: none; width: max-content; max-width: calc(100% - 36px); background: #2b2535; border: 1px solid rgba(194,164,239,.17); border-radius: 14px; color: #e0d3ee; font-size: 12px; padding: 12px 19px; box-shadow: 0 8px 40px #0005; transition: opacity .2s,transform .2s; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
@keyframes enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes pulse { 50% { opacity: .5; } }
@keyframes sheen { to { left: 130%; } }
@media (max-width: 760px) {
  body { padding: 23px 20px max(23px,env(safe-area-inset-bottom)); }
  .app { max-width: 460px; }
  .brand { font-size: 22px; gap: 9px; }.brand-mark { width: 34px; height: 34px; border-radius: 11px; }
  .brand-tag { display: none; }.icon-btn { width: 36px; height: 36px; border-radius: 12px; }
  .page-heading { margin: 30px 0 20px; }.eyebrow { font-size: 8px; letter-spacing: 1.8px; }
  h1 { font-size: 27px; margin: 7px 0; }.sub { font-size: 11px; }
  .device-chip { padding: 7px 10px; font-size: 10px; gap: 6px; max-width: 39%; }
  .dashboard { grid-template-columns: minmax(0,1fr); gap: 13px; margin-top: 24px; }
  .sidebar { display: contents; }
  .status { order: 0; padding: 19px; border-radius: 20px; }
  .status-top { margin-bottom: 7px; }.status-top .eyebrow { font-size: 7px; }.status-signal { width: 17px; height: 17px; }
  .status-text { font-size: 18px; }.status-detail { font-size: 10px; margin-top: 6px; }
  .control-card { order: 1; border-radius: 23px; padding: 23px; }
  .duration-heading h2 { font-size: 11px; }.duration { height: 71px; }.duration span { font-size: 60px; }.duration small { font-size: 16px; }
  .limit-badge { font-size: 9px; padding: 5px 8px; }
  .slider-shell { margin-top: 7px; }.presets { margin-top: 18px; gap: 7px; }.preset { min-height: 37px; padding: 8px 2px; font-size: 11px; border-radius: 11px; }
  .control-divider { margin: 20px 0; }.cut-btn { height: 53px; font-size: 14px; border-radius: 13px; }.restore-btn { height: 42px; font-size: 11px; border-radius: 12px; }.actions { gap: 9px; }
  .control-note { font-size: 9px; margin-top: 17px; }.control-note svg { width: 12px; height: 12px; }
  .panel { order: 2; border-radius: 17px; }.panel-head { padding: 13px 16px; }.panel-label { font-size: 11px; }.panel-label small { font-size: 9px; }.panel-icon { width: 30px; height: 30px; }
  .assurance { order: 3; padding: 7px 6px 0; }.page-footer { margin-top: 25px; }
  .modal { align-items: flex-end; padding: 14px 14px max(14px,env(safe-area-inset-bottom)); }.modal .card { max-width: 460px; border-radius: 25px; padding: 25px; }
  .login { min-height: calc(100svh - 55px); }.login-art { margin-top: 20px; }.login-card { padding: 25px; }
  input[type=text], input[type=password], input[type=url] { font-size: 16px; }
}
@media (max-width: 355px) { body { padding-left: 14px; padding-right: 14px; }.control-card { padding: 19px; }.device-chip { max-width: 34%; }.control-note { font-size: 8px; }.page-heading { gap: 8px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.device-identity { text-align: right; max-width: 55%; min-width: 0; font-size: 11px; color: #c8bdd9; overflow-wrap: anywhere; } .device-identity small { display: block; color: #93869f; font-size: 10px; margin-top: 3px; } .device-item small { display: block; color: #9c8caa; font-size: 10px; overflow-wrap: anywhere; margin-top: 4px; }

.status-report { margin-top: 10px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.limit-warning { color: #edb96c; }
.device-manage { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.device-manage button { flex: 1; min-height: 40px; margin: 0; }
.device-list { max-height: 260px; overflow: auto; }
@media (prefers-reduced-motion: reduce) { .slider-fill::before { transition: none; } }

.cloud-summary { color: var(--text); font-size: 12px; line-height: 1.7; margin: 0 0 14px; }
.cloud-hint { font-size: 11px; color: var(--muted); line-height: 1.7; margin: 12px 0 0; }
.cloud-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cloud-fields input { width: 100%; min-width: 0; padding: 11px; border: 1px solid var(--stroke); border-radius: 10px; background: #23212c; color: #e4d9ff; font: inherit; }
#cloudMode { width: 100%; padding: 11px; background: #23212c; color: #e4d9ff; border: 1px solid var(--stroke); border-radius: 10px; font: inherit; }
#cloudPanel .primary { margin: 0; }
#cloudPanel button:disabled { opacity: .45; cursor: default; }

.v3-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px}.v3-actions button{border:1px solid #ffffff17;border-radius:14px;background:#302838;color:#e8ddff;padding:14px 8px;font:inherit;cursor:pointer}.v3-actions button:first-child{grid-column:1/-1;background:linear-gradient(105deg,#6650bf,#8a58cb)}.v3-actions button:disabled{opacity:.4;cursor:default}#v3Result{white-space:pre-line;line-height:1.7}
