/* Generated by scripts/build-css-variants.py — do not edit. Source: src/styles/player.css */
  /* 底栏 Dock：贴底全宽，默认展开；FAB 仅收起后作恢复入口 */
  #dockFab {
    position: fixed; left: 12px; bottom: 12px; z-index: 25;
    box-sizing: border-box;
    width: 52px; height: 52px; margin: 0; padding: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    background: rgba(0,0,0,.55);
    box-shadow: 0 4px 16px rgba(0,0,0,.4);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    -webkit-tap-highlight-color: transparent;
    transition: background .2s, border-color .2s, opacity .28s;
  }
  body.dock-collapsed #dockFab {
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  #dockFab.is-dragging {
    cursor: grabbing;
    z-index: 9999;
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(0,0,0,.55);
    transition: background .2s, border-color .2s, transform .08s ease, box-shadow .08s ease;
  }
  #dockFab:active { background: rgba(255,255,255,.18); }
  body.dock-expanded #dockFab {
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: none;
  }
  #dockFabDot {
    position: absolute; top: 6px; left: 6px;
    width: 8px; height: 8px; border-radius: 50%;
    background: #9ca3af; pointer-events: none;
  }
  body.live #dockFabDot {
    background: #34d399;
    animation: pulseLive 2.4s ease-out infinite;
  }
  body.connecting #dockFabDot, body.reconnecting #dockFabDot {
    background: #f0b429;
    animation: pulseAmber 1.6s ease-in-out infinite;
  }
  body.error #dockFabDot { background: #f87171; animation: none; }
  #dockFabIcon {
    font: 600 18px/1 -apple-system, "PingFang SC", sans-serif;
    color: rgba(255,255,255,.75); pointer-events: none;
  }
  #dockPanel {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 24;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 11px 14px calc(11px + env(safe-area-inset-bottom, 0px));
    border: none;
    border-top: 1px solid rgba(255,255,255,.1);
    border-radius: 0;
    background: rgba(0,0,0,.88);
    box-shadow: 0 -4px 24px rgba(0,0,0,.45);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(100%);
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
  }
  body.dock-expanded #dockPanel {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0);
  }
  #dockRow {
    display: flex; flex-direction: row; flex-wrap: nowrap;
    align-items: center; gap: var(--dock-gap);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  #dockRow::-webkit-scrollbar { display: none; }
  #dockRow > #unlock,
  #dockRow > #orientPrimary,
  #dockRow > #dualPaneSwapBtn,
  #dockRow > #orientSecondary,
  #dockRow > #mirrorNav,
  #dockRow > #appSwitchBtn,
  #dockRow > #appQuickSwitch,
  #dockRow > #appLayoutBtn,
  #dockRow > #screenPowerBtn,
  #dockRow > #statusCluster,
  #dockRow > #dockClose { flex: 0 0 auto; }
  #statusCluster {
    display: flex; align-items: center; gap: 10px;
    min-width: 0;
    padding-left: 8px;
    margin-left: 0;
    border-left: 1px solid rgba(255,255,255,.12);
  }
  #dockPanel #hudLabel {
    font-size: 14px;
    white-space: nowrap;
  }
  @media (max-width: 520px) {
    #dockPanel #hudLabel { display: none; }
  }
  #dockTopBar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 26;
    height: 32px; display: flex; align-items: center; justify-content: center;
    padding: 0 16px; box-sizing: border-box;
    background: rgba(0,0,0,.65);
    color: rgba(255,255,255,.88);
    font: 500 13px/1 -apple-system, "PingFang SC", sans-serif;
    transition: opacity .3s ease; pointer-events: none; text-align: center;
  }
  #dockTopBar.hide { opacity: 0; }
  #dockFabPreview {
    position: fixed; left: 12px; top: auto; bottom: 72px; z-index: 25;
    box-sizing: border-box; max-width: min(80vw, 280px);
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    background: rgba(0,0,0,.88);
    color: rgba(255,255,255,.85);
    font: 500 13px/1.45 -apple-system, "PingFang SC", sans-serif;
    white-space: pre-line;
    box-shadow: 0 6px 20px rgba(0,0,0,.45);
    pointer-events: none;
  }
  #dockFabPreview.hide { display: none; }
  body.dock-expanded #dockFabPreview { display: none !important; }
  #hudDot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #9ca3af; flex-shrink: 0;
  }
  body.live #hudDot {
    background: #34d399;
    animation: pulseLive 2.4s ease-out infinite;
  }
  body.connecting #hudDot, body.reconnecting #hudDot {
    background: #f0b429;
    animation: pulseAmber 1.6s ease-in-out infinite;
  }
  body.error #hudDot { background: #f87171; }
  @keyframes pulseLive {
    0% { box-shadow: 0 0 0 0 rgba(52,211,153,.45); }
    70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
    100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
  }
  @keyframes pulseAmber {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
  }
  #hudLabel {
    font: 600 14px/1 -apple-system, "PingFang SC", sans-serif;
    color: rgba(255,255,255,.9); white-space: nowrap;
  }
  /* ── Dock 控件：统一 Tile 体系 ── */
  .dock-action.on,
  .dock-toggle.on,
  .dock-segment button.on,
  .dock-app-icon.active,
  .orientToggle .orientFlipBtn.on {
    background: var(--dock-bg-tile-on);
    border-color: var(--dock-border-tile-on);
    color: var(--dock-text-active);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  }
  .dock-glyph {
    display: block;
    width: var(--dock-icon);
    height: var(--dock-icon);
    pointer-events: none;
    filter: brightness(0) invert(1);
    object-fit: contain;
  }
  .dock-action {
    margin: 0; box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0; min-height: var(--dock-height);
    padding: 0 16px;
    border: 1px solid var(--dock-border-tile);
    border-radius: var(--dock-radius);
    cursor: pointer;
    background: var(--dock-bg-tile);
    color: var(--dock-text-active);
    font: 600 15px/1.2 -apple-system, "PingFang SC", sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.2;
    transition: background var(--dock-transition), border-color var(--dock-transition),
      color var(--dock-transition), box-shadow var(--dock-transition);
  }
  .dock-action:active { opacity: var(--dock-press-opacity); }
  .dock-action.hide { display: none; }
  body.app-cast-active #unlock { display: none !important; }
  #appSwitchBtn {
    display: none;
    min-width: 88px;
  }
  #appQuickSwitch {
    display: none;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    padding: 0;
    min-height: var(--dock-height);
  }
  .orientToggle .app-quick-switch {
    display: none;
    flex-shrink: 0;
    align-items: center;
    gap: 4px;
    padding: 0;
  }
  body.app-cast-touch.dual-app .orientToggle .app-quick-switch:not(.hide) {
    display: inline-flex;
  }
  .dock-app-icon {
    margin: 0; padding: 0;
    box-sizing: border-box;
    width: var(--dock-tile); height: var(--dock-tile);
    border: 1px solid var(--dock-border-tile);
    border-radius: var(--dock-r-tile);
    background: var(--dock-bg-tile);
    cursor: pointer; flex-shrink: 0;
    position: relative; overflow: hidden;
    display: inline-flex;
    align-items: center; justify-content: center;
    transition: background var(--dock-transition), border-color var(--dock-transition),
      box-shadow var(--dock-transition), opacity var(--dock-transition);
  }
  .dock-app-icon img {
    width: var(--dock-app-img); height: var(--dock-app-img);
    border-radius: var(--dock-r-app);
    object-fit: cover;
    display: block;
  }
  .dock-app-icon .dock-app-fallback {
    display: none;
    font: 600 14px/1 -apple-system, "PingFang SC", sans-serif;
    color: rgba(255,255,255,.85);
  }
  .dock-app-icon.no-icon .dock-app-fallback { display: block; }
  .dock-app-icon.no-icon img { display: none; }
  .dock-app-icon.launching {
    opacity: .55;
    pointer-events: none;
  }
  .dock-app-icon.skeleton {
    background: rgba(255,255,255,.10);
    pointer-events: none;
  }
  .dock-app-icon.more {
    overflow: visible;
  }
  .dock-app-icon.more .dock-glyph {
    width: var(--dock-icon-sm);
    height: var(--dock-icon-sm);
    border-radius: 0;
  }
  .dock-app-icon:active { opacity: var(--dock-press-opacity); }
  .dock-app-icon.empty {
    border-style: dashed;
    border-color: rgba(255,255,255,.28);
    background: rgba(255,255,255,.04);
  }
  .dock-app-icon.empty .dock-app-empty-mark {
    display: block;
    font: 500 18px/1 -apple-system, "PingFang SC", sans-serif;
    color: rgba(255,255,255,.45);
  }
  .dock-app-icon.preset-editing {
    border-color: rgba(120, 190, 255, .85);
    box-shadow: 0 0 0 1px rgba(120, 190, 255, .35);
  }
  .appFavItemWrap {
    position: relative;
    width: 72px;
  }
  .appFavItemWrap .preset-remove {
    position: absolute;
    top: -4px;
    right: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 0;
    background: rgba(0,0,0,.55);
    color: #fff;
    font: 700 12px/18px -apple-system, "PingFang SC", sans-serif;
    cursor: pointer;
    padding: 0;
  }
  body.app-cast-touch.single-app #appQuickSwitch:not(.hide) {
    display: inline-flex;
  }
  body.app-cast-touch.single-app #appSwitchBtn {
    display: none !important;
  }
  #unlock {
    width: var(--dock-tile-lg);
    height: var(--dock-tile-lg);
    min-width: var(--dock-tile-lg);
    max-width: var(--dock-tile-lg);
    padding: 0;
    flex-shrink: 0;
  }
  #unlock.bt-silent {
    border-color: rgba(255, 255, 255, 0.12);
  }
  #unlock.muted .audioUnlockIcon,
  #unlock:not(.on):not(.bt-audio):not(.bt-silent) .audioUnlockIcon {
    opacity: 0.42;
  }
  #unlock.bt-silent .audioUnlockIcon {
    opacity: 0.42;
  }
  #unlock.on .audioUnlockIcon,
  #unlock.bt-audio .audioUnlockIcon {
    opacity: 1;
  }
  #screenPowerBtn,
  #appLayoutBtn {
    position: relative;
    width: var(--dock-tile-lg);
    height: var(--dock-tile-lg);
    min-width: var(--dock-tile-lg);
    max-width: var(--dock-tile-lg);
    padding: 0;
    flex-shrink: 0;
  }
  #appLayoutRatioBadge {
    position: absolute;
    right: 3px;
    bottom: 3px;
    padding: 1px 3px;
    border-radius: 4px;
    background: rgba(0,0,0,.55);
    color: #fff;
    font: 700 9px/1.1 -apple-system, "PingFang SC", sans-serif;
    letter-spacing: -0.02em;
    pointer-events: none;
    user-select: none;
  }
  #appLayoutRatioBadge.hide { display: none; }
  .dock-toggle {
    margin: 0; box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px; min-height: var(--dock-height);
    padding: 0 16px;
    border: 1px solid var(--dock-border-tile);
    border-radius: var(--dock-radius);
    cursor: pointer;
    background: var(--dock-bg-tile);
    color: var(--dock-text);
    font: 600 15px/1.2 -apple-system, "PingFang SC", sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.2;
    transition: background var(--dock-transition), border-color var(--dock-transition),
      color var(--dock-transition), box-shadow var(--dock-transition);
  }
  .dock-toggle:active { opacity: var(--dock-press-opacity); }
  .dock-toggle.hide { display: none; }
  .dock-toggle:disabled {
    background: var(--dock-bg-group);
    border-color: rgba(255,255,255,.08);
    color: var(--dock-text);
    cursor: not-allowed;
    opacity: 1;
  }
  .dock-toggle:disabled:active { opacity: 1; }
  .dock-segment {
    display: none;
    flex-shrink: 0;
    box-sizing: border-box;
    min-height: var(--dock-height);
    padding: 4px;
    border: 1px solid var(--dock-border-group);
    border-radius: var(--dock-r-group);
    background: var(--dock-bg-group);
    gap: 4px;
    align-items: center;
  }
  body.app-cast-touch.dual-app #orientPrimary,
  body.app-cast-touch.dual-app #orientSecondary { display: flex; }
  body.app-cast-touch.single-app #orientPrimary { display: flex; }
  .dock-segment button {
    margin: 0; box-sizing: border-box;
    flex: 0 0 auto;
    min-width: var(--dock-tile); width: auto;
    height: var(--dock-tile); min-height: var(--dock-tile);
    padding: 0 8px;
    border: 1px solid transparent;
    border-radius: var(--dock-r-tile);
    cursor: pointer;
    background: transparent;
    color: var(--dock-text);
    font: 600 13px/1 -apple-system, "PingFang SC", sans-serif;
    letter-spacing: 0.02em;
    transition: background var(--dock-transition), border-color var(--dock-transition),
      color var(--dock-transition), box-shadow var(--dock-transition);
  }
  .dock-segment button.pending { opacity: .6; }
  .dock-segment button:active { opacity: var(--dock-press-opacity); }
  .orientToggle {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }
  .orientToggle .orientLabel {
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    min-width: 30px; padding: 0 7px;
    color: var(--dock-text);
    font: 600 14px/1 -apple-system, "PingFang SC", sans-serif;
    user-select: none; cursor: pointer;
    border-radius: var(--dock-r-tile);
  }
  .orientToggle .orientLabel:active {
    color: var(--dock-text-active);
    background: rgba(255,255,255,.06);
  }
  .orientToggle .orientFlipBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--dock-tile);
    min-width: var(--dock-tile);
    height: var(--dock-tile);
    min-height: var(--dock-tile);
    padding: 0;
    line-height: 0;
    border: 1px solid var(--dock-border-tile);
    border-radius: var(--dock-r-tile);
    background: var(--dock-bg-tile);
  }
  .orientToggle .orientFlipBtn .orientFlipIcon,
  .orientToggle .orientFlipBtn .dock-glyph {
    display: block;
    width: var(--dock-icon-sm);
    height: var(--dock-icon-sm);
    margin: 0;
    object-fit: contain;
    object-position: center center;
  }
  .orientToggle .orientFlipBtn .orientFlipIcon {
    filter: none;
  }
  .orientToggle .orientFlipBtn.pending .orientFlipIcon {
    opacity: 0.55;
  }
  #dualPaneSwapBtn {
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: var(--dock-tile);
    min-width: var(--dock-tile);
    height: var(--dock-tile);
    min-height: var(--dock-tile);
    padding: 0;
    line-height: 0;
    border: 1px solid var(--dock-border-tile);
    border-radius: var(--dock-r-tile);
    background: var(--dock-bg-tile);
    cursor: pointer;
  }
  #dualPaneSwapBtn .dock-glyph {
    display: block;
    width: var(--dock-icon-sm);
    height: var(--dock-icon-sm);
    margin: 0;
    object-fit: contain;
    object-position: center center;
  }
  #dualPaneSwapBtn:active { opacity: var(--dock-press-opacity); }
  #dualPaneSwapBtn:disabled { opacity: .45; cursor: default; }
  body.app-cast-touch.dual-app #dualPaneSwapBtn { display: inline-flex; }
  body.app-cast-touch.single-app #orientPrimary .orientLabel { display: none; }
  body.app-cast-touch.single-app #orientSecondary { display: none !important; }
  body.app-cast-touch.single-app .orientToggle .app-quick-switch { display: none !important; }
  body.app-cast-touch.dual-app #appSwitchBtn { display: none !important; }
  body.app-cast-touch.dual-app #appQuickSwitch { display: none !important; }
  .dock-close, #dockClose {
    margin: 0; box-sizing: border-box; flex-shrink: 0;
    width: var(--dock-height); height: var(--dock-height); padding: 0;
    border: 1px solid var(--dock-border);
    border-radius: var(--dock-radius); cursor: pointer;
    background: var(--dock-fill);
    color: rgba(255,255,255,.85);
    font: 600 18px/1 -apple-system, "PingFang SC", sans-serif;
  }
  .dock-close:active, #dockClose:active { opacity: var(--dock-press-opacity); }
  #mirrorNav {
    display: none;
    flex-direction: row;
    align-items: stretch;
    gap: 6px;
  }
  #mirrorNav.show { display: flex; }
  #mirrorNav .dock-action {
    min-width: 72px; min-height: var(--dock-height);
    padding: 0 14px; font-size: 14px;
  }
  