.deck{--deck-cell:112px;--deck-key-min-h:88px;--deck-gap:10px;--deck-radius:14px;position:relative;display:flex;flex-direction:column;gap:14px;color:var(--streamer-online-text);-webkit-tap-highlight-color:transparent}.deck--standalone{--deck-cell:104px;min-height:100dvh;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) calc(14px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}.deck--dock,.deck--standalone{background:var(--streamer-online-bg-page)}.deck--dock{--deck-cell:76px;--deck-key-min-h:60px;--deck-gap:6px;--deck-radius:9px;gap:8px;min-height:100vh;padding:6px}.deck__header{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px}.deck__title{font-size:18px;font-weight:750}.deck__channel select,.deck__title{color:var(--streamer-online-text-strong)}.deck__channel select{min-height:36px;max-width:60vw;padding:0 10px;border:1px solid var(--streamer-online-border);border-radius:8px;background:var(--streamer-online-bg-panel);font:inherit;font-size:13px}.deck--dock .deck__header{min-height:0}.deck--dock .deck__channel select{min-height:26px;font-size:11px}.deck__status{margin:24px 0;text-align:center;color:var(--streamer-online-text-muted)}.deck__toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.deck--dock .deck__toolbar,.deck--standalone .deck__toolbar{display:contents}.deck__toolbar>.deck__tabs{min-width:0}.deck__toolbar>.deck__edit-toggle{flex:none;align-self:flex-start;margin-inline-start:auto;min-height:44px}.deck__toolbar-actions{display:flex;flex:none;gap:8px;margin-inline-start:auto}.deck__toolbar-actions>button{min-height:44px}.deck__edit-toggle[aria-disabled=true]{opacity:.6;cursor:default}.deck__setup{display:grid;gap:14px}.deck__setup>h2{font-size:16px;font-weight:700;color:var(--streamer-online-text-strong)}.deck__device-setup{font-size:13px}.deck__device-setup h3{margin-bottom:8px;font-weight:700}.deck__device-setup p{margin:0 0 10px;line-height:1.5}.deck__device-setup a{text-decoration:underline}.deck__device-setup code{overflow-wrap:anywhere}@media (pointer:coarse){.deck--window .deck__key-hotkey,.deck--window .deck__keyboard-hint{display:none}}.deck__tabs{display:flex;gap:6px;overflow-x:auto;scrollbar-width:thin;padding-bottom:2px}.deck--standalone .deck__tabs{order:10;position:sticky;bottom:0;z-index:2;margin:0 calc(-1 * max(14px, env(safe-area-inset-left)));padding:8px max(14px,env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));background:var(--streamer-online-bg-page);border-top:1px solid var(--streamer-online-border)}.deck__tab{flex:none;min-height:40px;padding:0 14px;border:1px solid var(--streamer-online-border);border-radius:999px;background:var(--streamer-online-bg-panel);color:var(--streamer-online-text-muted);font:inherit;font-size:13px;font-weight:600;cursor:pointer;touch-action:manipulation}.deck--standalone .deck__tab{min-height:44px}.deck--dock .deck__tab{min-height:28px;padding:0 10px;font-size:11px}.deck__tab[aria-current=page]{border-color:var(--streamer-online-accent);background:rgba(var(--streamer-online-accent-rgb),.16);color:var(--streamer-online-text-strong)}.deck__tab--add{border-style:dashed}.deck__page-tools{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.deck__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(var(--deck-cell),1fr));gap:var(--deck-gap)}.deck__key{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:var(--deck-key-min-h);aspect-ratio:1/.86;padding:10px 8px;border:1px solid rgba(0,0,0,.18);border-radius:var(--deck-radius);background:var(--deck-key-fill,#4a5466);background-image:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0) 55%);box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 2px 0 rgba(0,0,0,.22);color:#fff;font:inherit;text-align:center;cursor:pointer;user-select:none;-webkit-user-select:none;touch-action:manipulation;transition:transform 90ms ease-out,filter 90ms ease-out,box-shadow .14s ease-out}.deck__key:active{transform:translateY(1px) scale(.97);filter:brightness(.9);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.deck__key:focus-visible{outline:3px solid var(--streamer-online-accent);outline-offset:2px}.deck__key:disabled{cursor:not-allowed;opacity:.55}.deck__key-icon{font-size:30px;line-height:1}.deck__key-label{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13.5px;font-weight:650;line-height:1.2;overflow-wrap:anywhere;text-shadow:0 1px 1px rgba(0,0,0,.35)}.deck--dock .deck__key{gap:3px;padding:6px 4px}.deck--dock .deck__key-icon{font-size:20px}.deck--dock .deck__key-label{font-size:11px}.deck__key-hotkey{position:absolute;top:6px;right:7px;min-width:18px;padding:1px 4px;border-radius:5px;background:rgba(0,0,0,.28);font:600 10px/1.3 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:rgba(255,255,255,.9)}.deck__key-flash{position:absolute;inset:0;display:grid;place-items:center;border-radius:inherit;font-size:34px;font-weight:800;pointer-events:none}.deck__key--sending{animation:deck-sending .9s ease-in-out infinite}.deck__key--ok{box-shadow:0 0 0 3px var(--streamer-online-success),inset 0 1px 0 rgba(255,255,255,.18)}.deck__key--ok .deck__key-flash{background:rgba(20,90,50,.72)}.deck__key--warning{box-shadow:0 0 0 3px var(--streamer-online-warning)}.deck__key--warning .deck__key-flash{background:#714d10}.deck__key--error{box-shadow:0 0 0 3px var(--streamer-online-danger);animation:deck-shake .32s ease-in-out}.deck__key--error .deck__key-flash{background:rgba(120,20,20,.72)}.deck__key--armed{box-shadow:0 0 0 3px var(--streamer-online-warning),inset 0 1px 0 rgba(255,255,255,.18)}.deck__key--unavailable{opacity:.5;border-style:dashed;border-color:rgba(255,255,255,.6)}.deck__key--selected{outline:3px solid var(--streamer-online-accent);outline-offset:3px}.deck__key--add{border:2px dashed var(--streamer-online-border-hover);background:transparent;background-image:none;box-shadow:none;color:var(--streamer-online-text-muted)}.deck__key--add .deck__key-label{text-shadow:none}@keyframes deck-sending{0%,to{filter:brightness(1)}50%{filter:brightness(1.25)}}@keyframes deck-shake{0%,to{transform:translateX(0)}25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}@media (prefers-reduced-motion:reduce){.deck__key{transition:none}.deck__key--error,.deck__key--sending{animation:none}.deck__key:active{transform:none}}.deck__empty{display:grid;justify-items:center;gap:8px;padding:36px 16px;border:1px dashed var(--streamer-online-border);border-radius:var(--deck-radius);text-align:center;color:var(--streamer-online-text-muted);font-size:14px}.deck__empty p{margin:0;max-width:42ch}.deck__empty-title{font-size:16px;font-weight:700;color:var(--streamer-online-text-strong)}.deck--dock .deck__empty{padding:16px 8px;font-size:12px}.deck__footer{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}.deck__hint{font-size:12px;color:var(--streamer-online-text-dim)}.deck__hint kbd,.deck__howto kbd{padding:0 4px;border:1px solid var(--streamer-online-border);border-radius:4px;font:600 11px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.deck__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.deck__ghost,.deck__primary{min-height:40px;padding:0 14px;border-radius:9px;font:inherit;font-size:13px;font-weight:600;cursor:pointer;touch-action:manipulation}.deck__primary{border:1px solid transparent;background:var(--streamer-online-accent);color:#fff}.deck__ghost{border:1px solid var(--streamer-online-border);background:var(--streamer-online-bg-panel);color:var(--streamer-online-text)}.deck__ghost--danger{color:var(--streamer-online-danger)}.deck__ghost:disabled,.deck__primary:disabled{opacity:.5;cursor:not-allowed}.deck__ghost:focus-visible,.deck__primary:focus-visible,.deck__tab:focus-visible{outline:2px solid var(--streamer-online-accent);outline-offset:2px}.deck__editor{display:grid;gap:12px;padding:14px;border:1px solid var(--streamer-online-border);border-radius:var(--deck-radius);background:var(--streamer-online-bg-panel)}.deck__editor-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.deck__editor-head h3{margin:0;font-size:15px;color:var(--streamer-online-text-strong)}.deck__editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:10px}.deck__field{display:grid;gap:4px;min-width:0;font-size:12px;font-weight:600;color:var(--streamer-online-text-muted)}.deck__field--inline{display:inline-grid}.deck__field input[type=number],.deck__field input[type=text],.deck__field select{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--streamer-online-border);border-radius:8px;background:var(--streamer-online-bg-page);color:var(--streamer-online-text-strong);font:inherit;font-size:14px;font-weight:500}.deck__field--icon input{text-align:center;font-size:18px}.deck__check{display:inline-flex;align-items:center;gap:6px;font-weight:500}.deck__colors{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;border:0}.deck__colors legend{width:100%;margin-bottom:4px;font-size:12px;font-weight:600;color:var(--streamer-online-text-muted)}.deck__swatch{position:relative;width:36px;height:36px;border-radius:50%;background:var(--deck-key-fill);cursor:pointer}.deck__swatch input{position:absolute;inset:0;margin:0;opacity:0;cursor:pointer}.deck__swatch:has(input:checked){box-shadow:0 0 0 2px var(--streamer-online-bg-panel),0 0 0 4px var(--streamer-online-text-strong)}.deck__swatch:has(input:focus-visible){outline:2px solid var(--streamer-online-accent);outline-offset:4px}.deck--standalone .deck__channel select,.deck--standalone .deck__field input[type=number],.deck--standalone .deck__field input[type=text],.deck--standalone .deck__field select{min-height:44px;font-size:16px}.deck--standalone .deck__ghost,.deck--standalone .deck__primary{min-height:44px;font-size:14px}.deck--standalone .deck__swatch{width:40px;height:40px}.deck--standalone .deck__field--icon input{font-size:18px}.deck__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.deck__links{padding:12px 14px;border:1px solid var(--streamer-online-border);border-radius:var(--deck-radius);background:var(--streamer-online-bg-panel);font-size:13px;line-height:1.5}.deck__links summary{cursor:pointer;font-weight:700;color:var(--streamer-online-text-strong)}.deck__links p{margin:10px 0;color:var(--streamer-online-text-muted)}.deck__link-list{display:grid;gap:8px;margin:10px 0;padding:0;list-style:none}.deck__link-list li{display:grid;grid-template-columns:minmax(0,10em) minmax(0,1fr) auto;align-items:center;gap:10px}.deck__link-name{font-weight:600}.deck__link-name,.deck__link-url{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.deck__link-url{font-size:11px;color:var(--streamer-online-text-dim)}.deck__howto{margin:10px 0;padding-left:20px;color:var(--streamer-online-text-muted)}.deck__obs-status{font-weight:600;color:var(--streamer-online-text-strong)}.deck__field>.deck__ghost{justify-self:start}@media (max-width:560px){.deck__link-list li{grid-template-columns:minmax(0,1fr) auto}.deck__link-url{display:none}}