.yoo-scrcpy-screen{display:flex;flex-direction:column;min-height:0;color:#e8eaed;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}.yoo-scrcpy-screen__header{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;padding:.6rem .75rem;background:#151820;border-bottom:1px solid #2d3142;flex-shrink:0}.yoo-scrcpy-screen__title{flex:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem}.yoo-scrcpy-screen__status,.yoo-scrcpy-screen__meta,.yoo-scrcpy-screen__serial{font-size:.85rem;color:#9aa0a6}.yoo-scrcpy-screen__serial{font-size:.72rem;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yoo-scrcpy-screen__viewport{position:relative;display:flex;align-items:center;justify-content:center;background:#000;overflow:hidden;touch-action:none;flex:1;min-height:0}.yoo-scrcpy-screen__canvas{max-width:100%;max-height:100%;display:block;touch-action:none}.yoo-scrcpy-screen__toolbar{flex-shrink:0;border-top:1px solid #2d3142;background:#151820eb;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.yoo-scrcpy-screen__toolbar-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem .75rem;padding:.5rem .75rem}.yoo-scrcpy-screen__toolbar-cluster{display:flex;align-items:center;gap:.75rem}.yoo-scrcpy-screen__toolbar-group{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.25rem}.yoo-scrcpy-screen__toolbar-sep{width:1px;height:28px;background:#3d4258;flex-shrink:0}.yoo-scrcpy-toolbar__btn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:1px solid #3d4258;border-radius:8px;background:#1a1d27;color:#e8eaed;cursor:pointer;transition:background .15s ease,border-color .15s ease}.yoo-scrcpy-toolbar__btn:hover,.yoo-scrcpy-toolbar__btn:focus-visible{background:#2d3142;border-color:#4d5270;outline:none}.yoo-scrcpy-toolbar__btn--active{background:#2a3f5f;border-color:#5b8def;color:#b8d4ff}.yoo-scrcpy-toolbar__btn--muted{opacity:.55}.yoo-scrcpy-toolbar__btn:disabled{opacity:.4;cursor:not-allowed}.yoo-scrcpy-toolbar__icon{display:block;flex-shrink:0}.yoo-scrcpy-toolbar__popover{position:absolute;z-index:2;bottom:calc(100% + 8px);left:50%;transform:translate(-50%) translateY(4px);padding:.3rem .55rem;border-radius:6px;background:#2d3142;color:#e8eaed;font-size:.75rem;line-height:1.2;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .15s ease,transform .15s ease}.yoo-scrcpy-toolbar__btn:hover .yoo-scrcpy-toolbar__popover,.yoo-scrcpy-toolbar__btn:focus-visible .yoo-scrcpy-toolbar__popover{opacity:1;transform:translate(-50%) translateY(0)}.yoo-scrcpy-screen__toolbar--compact{padding:0}.yoo-scrcpy-screen__toolbar--compact .yoo-scrcpy-screen__toolbar-inner{gap:.35rem .5rem;padding:.35rem .5rem}.yoo-scrcpy-screen__toolbar--compact .yoo-scrcpy-screen__toolbar-sep{height:22px}.yoo-scrcpy-screen__toolbar--compact .yoo-scrcpy-toolbar__btn{width:30px;height:30px;border-radius:6px}.yoo-scrcpy-screen__toolbar--compact .yoo-scrcpy-toolbar__icon{width:16px;height:16px}.yoo-scrcpy-screen--grid .yoo-scrcpy-toolbar__popover{display:none}@media(max-width:480px){.yoo-scrcpy-screen__toolbar-sep{display:none}.yoo-scrcpy-screen__toolbar-cluster{gap:.25rem}}.yoo-scrcpy-screen__error{color:#f28b82;background:#3c1513;padding:.75rem 1rem;border-radius:8px;margin:.75rem}.yoo-scrcpy-screen--grid .yoo-scrcpy-screen__viewport{aspect-ratio:9 / 16;width:100%}.yoo-scrcpy-screen--grid .yoo-scrcpy-screen__header{padding:.45rem .6rem}.yoo-scrcpy-screen--grid .yoo-scrcpy-screen__title{flex-direction:column;align-items:flex-start;gap:.1rem}.yoo-scrcpy-screen--grid .yoo-scrcpy-screen__meta{display:none}.yoo-scrcpy-screen--grid .yoo-scrcpy-screen__serial{font-size:.68rem}.yoo-scrcpy-screen--embedded .yoo-scrcpy-screen__viewport{aspect-ratio:9 / 16;max-height:min(70vh,800px);margin:0 auto;width:100%;max-width:420px}.yoo-scrcpy-screen--embedded .yoo-scrcpy-screen__toolbar{width:100%;max-width:420px;margin:0 auto}.yoo-scrcpy-screen--fullscreen{height:100%}.yoo-scrcpy-screen--fullscreen .yoo-scrcpy-screen__viewport{flex:1}:root{color-scheme:dark;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#0f1117;color:#e8eaed;line-height:1.5}*{box-sizing:border-box}body{margin:0;min-height:100vh}a{color:inherit;text-decoration:none}.page{max-width:960px;margin:0 auto;padding:2rem 1.5rem}.header h1{margin:0 0 .25rem;font-size:1.75rem}.subtitle{margin:0 0 2rem;color:#9aa0a6}.hint{color:#9aa0a6}.error{color:#f28b82;background:#3c1513;padding:.75rem 1rem;border-radius:8px}.empty{background:#1a1d27;border:1px solid #2d3142;border-radius:12px;padding:1.5rem;margin-bottom:1.5rem}.empty ul{margin:.5rem 0 0;padding-left:1.25rem;color:#9aa0a6}.device-grid{display:grid;gap:1rem;margin-bottom:1.5rem}.device-card{display:flex;align-items:center;gap:1rem;padding:1rem 1.25rem;background:#1a1d27;border:1px solid #2d3142;border-radius:12px;transition:border-color .15s,background .15s}.device-card:hover{border-color:#5c9cff;background:#1e2230}.device-icon{font-size:2rem}.device-info{flex:1;display:flex;flex-direction:column;gap:.15rem}.serial{font-size:.85rem;color:#9aa0a6;font-family:ui-monospace,monospace}.badge{font-size:.8rem;padding:.25rem .6rem;background:#1e3a5f;color:#8ab4f8;border-radius:999px}.btn-secondary{background:#2d3142;color:#e8eaed;border:none;padding:.6rem 1rem;border-radius:8px;cursor:pointer}.btn-secondary:hover{background:#3d4258}.btn-secondary:disabled{opacity:.6;cursor:not-allowed}.header-with-toggle{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.5rem}.header-with-toggle .subtitle{margin-bottom:0}.view-mode-toggle{display:inline-flex;background:#1a1d27;border:1px solid #2d3142;border-radius:10px;padding:3px;flex-shrink:0}.view-mode-toggle button{background:transparent;color:#9aa0a6;border:none;padding:.45rem 1rem;border-radius:7px;cursor:pointer;font-size:.9rem;font-weight:500}.view-mode-toggle button.active{background:#2d3142;color:#e8eaed}.view-mode-toggle button:hover:not(.active){color:#e8eaed}.page--screen-mode{max-width:none;padding:1rem 1.25rem}.screen-mode{margin-bottom:1.5rem}.screen-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));gap:1.25rem}@media(min-width:1400px){.screen-grid{grid-template-columns:repeat(auto-fill,minmax(420px,1fr))}}@media(min-width:1920px){.screen-grid{grid-template-columns:repeat(auto-fill,minmax(460px,1fr))}}.screen-grid-item{display:flex;flex-direction:column;background:#1a1d27;border:1px solid #2d3142;border-radius:14px;overflow:hidden}.screen-grid-fullscreen{display:block;text-align:center;padding:.5rem;font-size:.8rem;color:#8ab4f8;border-top:1px solid #2d3142}.screen-grid-fullscreen:hover{background:#1e2230}.device-card-picker{display:flex;gap:.75rem;overflow-x:auto;padding-bottom:.5rem;margin-bottom:1rem}.screen-device-card{flex:0 0 auto;width:120px;display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:.5rem;background:#1a1d27;border:2px solid #2d3142;border-radius:12px;cursor:pointer;color:inherit;transition:border-color .15s,background .15s,transform .15s}.screen-device-card:hover{border-color:#5c9cff;background:#1e2230}.screen-device-card.active{border-color:#5c9cff;background:#1e2a3d;box-shadow:0 0 0 1px #5c9cff33}.screen-device-card-frame{width:72px;height:128px;display:flex;align-items:center;justify-content:center;background:#000;border-radius:8px;border:1px solid #3d4258}.screen-device-card.active .screen-device-card-frame{border-color:#5c9cff}.screen-device-card-icon{font-size:1.75rem;opacity:.7}.screen-device-card.active .screen-device-card-icon{opacity:1}.screen-device-card-name{font-size:.8rem;font-weight:600;text-align:center;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.screen-device-card-serial{font-size:.7rem;color:#9aa0a6;font-family:ui-monospace,monospace;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.main-screen-card{background:#1a1d27;border:1px solid #2d3142;border-radius:16px;overflow:hidden}.fullscreen-link{display:block;text-align:center;padding:.6rem;font-size:.85rem;color:#8ab4f8;border-top:1px solid #2d3142}.fullscreen-link:hover{background:#1e2230}.stream-panel{display:flex;flex-direction:column;min-height:0}.stream-panel--embedded .stream-panel-screen{aspect-ratio:9 / 16;max-height:min(70vh,800px);margin:0 auto;width:100%;max-width:420px}.stream-panel--grid .stream-panel-screen{aspect-ratio:9 / 16;width:100%}.stream-panel--grid .stream-panel-header{padding:.45rem .6rem}.stream-panel--grid .stream-panel-title{flex-direction:column;align-items:flex-start;gap:.1rem}.stream-panel--grid .stream-panel-title .meta{display:none}.stream-panel--grid .toolbar button{padding:.3rem .5rem;font-size:.75rem}.stream-panel-hint--compact{font-size:.75rem;padding:.35rem}.stream-panel--fullscreen,.stream-panel--fullscreen .stream-panel-screen{flex:1;min-height:0}.stream-panel-header{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;padding:.6rem .75rem;background:#151820;border-bottom:1px solid #2d3142;flex-shrink:0}.stream-panel-title{flex:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem}.stream-panel-title .status,.stream-panel-title .meta{font-size:.85rem;color:#9aa0a6}.stream-panel-screen{display:flex;align-items:center;justify-content:center;background:#000;overflow:hidden;touch-action:none}.stream-panel-hint{text-align:center;padding:.5rem;margin:0;font-size:.8rem;border-top:1px solid #2d3142}.refresh-bar{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}.token-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:1rem 1.25rem;align-items:end;margin:1.5rem 0;padding:1.25rem;background:linear-gradient(135deg,#1b2030,#171a24);border:1px solid #343c54;border-radius:14px;box-shadow:0 10px 30px #0000001f}.token-card__heading{grid-column:1 / -1;display:flex;align-items:flex-start;gap:.75rem}.token-card__icon{display:grid;place-items:center;width:2.25rem;height:2.25rem;flex:0 0 auto;color:#a9c7ff;font-size:1.5rem;font-weight:700;background:#203657;border:1px solid #365a8d;border-radius:9px}.token-card h2,.token-card p{margin:0}.token-card h2{font-size:1rem}.token-card p{margin-top:.15rem;color:#9aa0a6;font-size:.85rem}.token-card__status{margin-left:auto;padding:.2rem .55rem;color:#9ce8ba;background:#143525;border:1px solid #287348;border-radius:999px;font-size:.78rem;white-space:nowrap}.token-field{display:grid;gap:.4rem;min-width:0;color:#c4c8d0;font-size:.85rem;font-weight:600}.token-field__control{display:flex;min-width:0;background:#10131b;border:1px solid #3a4051;border-radius:9px;transition:border-color .15s,box-shadow .15s}.token-field__control:focus-within{border-color:#5c9cff;box-shadow:0 0 0 3px #5c9cff2e}.token-field input{width:100%;min-width:0;padding:.65rem .75rem;color:#e8eaed;background:transparent;border:0;outline:0;font:inherit}.token-field input::placeholder{color:#717887}.token-field__visibility{align-self:stretch;padding:0 .75rem;color:#a9c7ff;background:transparent;border:0;border-left:1px solid #3a4051;cursor:pointer;font:inherit;font-size:.8rem}.token-field__visibility:hover{color:#e8eaed;background:#1b2230}.token-card__submit{min-height:2.7rem;padding:.6rem 1rem;color:#fff;background:#3977d6;border:1px solid #5792ec;border-radius:9px;cursor:pointer;font:inherit;font-weight:600;white-space:nowrap;transition:background .15s,transform .15s}.token-card__submit:hover{background:#4a87e2}.token-card__submit:active{transform:translateY(1px)}@media(max-width:560px){.token-card{grid-template-columns:1fr}.token-card__submit{width:100%}}.stream-page{max-width:none;padding:0;height:100vh;display:flex;flex-direction:column}.stream-header{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem;padding:.75rem 1rem;background:#1a1d27;border-bottom:1px solid #2d3142;flex-shrink:0}.stream-header .device-card-picker{flex:1;margin-bottom:0;min-width:0}.back-link{color:#8ab4f8;white-space:nowrap}.stream-title{flex:1;display:flex;flex-wrap:wrap;align-items:baseline;gap:.5rem 1rem}.stream-title .status,.stream-title .meta{font-size:.85rem;color:#9aa0a6}.toolbar{display:flex;gap:.5rem}.toolbar button{background:#2d3142;color:#e8eaed;border:none;padding:.4rem .75rem;border-radius:6px;cursor:pointer;font-size:.85rem}.toolbar button:hover{background:#3d4258}.stream-container{flex:1;display:flex;align-items:center;justify-content:center;background:#000;overflow:hidden;min-height:0;touch-action:none}.stream-page .stream-panel--fullscreen{flex:1;display:flex;flex-direction:column;min-height:0}.video-canvas{max-width:100%;max-height:100%;object-fit:contain}.stream-hint{text-align:center;padding:.5rem;margin:0;font-size:.8rem;background:#1a1d27;border-top:1px solid #2d3142;flex-shrink:0}code{background:#2d3142;padding:.1rem .35rem;border-radius:4px;font-size:.9em}
