:root {
  color-scheme: light;
}

body {
  background:
    radial-gradient(circle at 8% 86%, rgba(255, 95, 148, 0.12) 0 120px, transparent 260px),
    linear-gradient(135deg, rgba(255, 247, 241, 0.98) 0%, rgba(255, 250, 246, 0.98) 50%, rgba(255, 236, 226, 0.9) 100%);
  color: var(--semi-color-text-0);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.auth-screen {
  background:
    linear-gradient(180deg, rgba(15, 52, 45, 0.72), rgba(35, 29, 33, 0.7)),
    var(--auth-screen-background, url("./background.png")) center / cover no-repeat;
  color: #fffdf9;
}

a {
  color: var(--rose-spa-primary);
}

button,
input:not([type="checkbox"]),
select,
textarea {
  border-color: var(--rose-spa-border);
}

button {
  background: var(--rose-spa-paper);
  color: var(--rose-spa-ink);
}

button:hover {
  border-color: var(--rose-spa-border-strong);
  background: #fff4ed;
  box-shadow: var(--semi-shadow-soft);
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.source-root-browser-select:focus-visible {
  outline: 2px solid rgba(255, 136, 72, 0.38);
  outline-offset: 2px;
}

input:not([type="checkbox"]),
select,
textarea {
  background: linear-gradient(180deg, #ffffff 0%, #fbfffd 100%);
  color: var(--rose-spa-ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--rose-spa-primary);
  box-shadow: 0 0 0 3px var(--rose-spa-ring);
}

input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  display: inline-grid;
  place-content: center;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 2px solid #ffb487;
  border-radius: 5px;
  background: #fffaf6;
  color: #fffaf6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

input[type="checkbox"]:checked {
  border-color: var(--rose-spa-primary);
  background:
    var(--rose-spa-primary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3 7.2 5.8 10 11 3.8' fill='none' stroke='%23fffaf6' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 13px 13px no-repeat;
  box-shadow:
    0 2px 0 #d8672f,
    0 8px 16px rgba(255, 136, 72, 0.18);
}

input[type="checkbox"]:focus-visible {
  outline: 2px solid rgba(255, 136, 72, 0.38);
  outline-offset: 2px;
}

input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ext-chip input[type="checkbox"],
.archive-organize-option input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
  background: transparent;
  box-shadow: none;
}

body.auth-screen .auth-field-shell input:not([type="checkbox"]) {
  min-height: 58px;
  outline: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #fffaf6;
  box-shadow: none;
  -webkit-text-fill-color: #fffaf6;
}

body.auth-screen .auth-field-shell input:not([type="checkbox"])::placeholder {
  color: rgba(255, 241, 232, 0.72);
  -webkit-text-fill-color: rgba(255, 241, 232, 0.72);
}

body.auth-screen .auth-field-shell input:not([type="checkbox"]):focus {
  outline: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.auth-screen .auth-field-shell input:not([type="checkbox"]):focus-visible,
body.auth-screen .auth-field-shell input:not([type="checkbox"]):valid,
body.auth-screen .auth-field-shell input:not([type="checkbox"]):invalid,
body.auth-screen .auth-field-shell input:not([type="checkbox"]):user-valid,
body.auth-screen .auth-field-shell input:not([type="checkbox"]):user-invalid {
  outline: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.auth-screen .auth-field-shell input:not([type="checkbox"]):-webkit-autofill,
body.auth-screen .auth-field-shell input:not([type="checkbox"]):-webkit-autofill:hover,
body.auth-screen .auth-field-shell input:not([type="checkbox"]):-webkit-autofill:focus {
  -webkit-text-fill-color: #fffaf6;
  caret-color: #fffaf6;
  box-shadow: 0 0 0 1000px rgba(56, 27, 13, 0.28) inset;
  transition: background-color 9999s ease-out;
}

body.auth-screen .auth-switch button:not(.active):hover,
body.auth-screen .auth-switch button:not(.active):focus-visible {
  border-color: transparent;
  background: rgba(255, 247, 241, 0.16);
  color: rgba(255, 241, 232, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 223, 207, 0.18);
  transform: none;
}

.button-accent,
.app-tab-controls .app-icon-action-button {
  border-color: #ff8848;
  background: linear-gradient(180deg, #ff9957 0%, var(--rose-spa-primary) 100%);
  color: #ffffff;
  box-shadow:
    0 4px 0 #d8672f,
    0 14px 26px rgba(255, 136, 72, 0.24);
}

.button-accent:hover,
.app-tab-controls .app-icon-action-button:hover {
  border-color: #f07834;
  background: linear-gradient(180deg, #ff8f4d 0%, var(--rose-spa-primary-hover) 100%);
  box-shadow:
    0 4px 0 #c85a27,
    0 16px 30px rgba(255, 136, 72, 0.28);
  transform: translateY(-1px);
}

.button-accent:active,
.app-tab-controls .app-icon-action-button:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 #c85a27,
    0 8px 16px rgba(255, 136, 72, 0.2);
}

.button-ghost,
button[data-action="toggle-log-autoscroll"],
.button-sky,
.button-cyan,
.toolbar-search-button:hover,
.toolbar-search-button:focus-visible,
.admin-emby-search-button:hover,
.admin-emby-search-button:focus-visible {
  border-color: #ffad82;
  background: #fffaf6;
  color: var(--rose-spa-primary);
  box-shadow:
    0 3px 0 rgba(216, 95, 35, 0.18),
    0 10px 20px rgba(255, 136, 72, 0.12);
}

.button-sky,
.button-cyan {
  border-color: #ffad82;
}

.button-ghost:hover,
button[data-action="toggle-log-autoscroll"]:hover,
.button-sky:hover,
.button-cyan:hover {
  border-color: #ff8848;
  background: #fff0e7;
  color: var(--rose-spa-primary-strong);
}

.button-warm,
.button-ember {
  border-color: #ffc184;
  background: var(--rose-spa-amber-soft);
  color: #b25a1d;
}

.button-success {
  border-color: rgba(18, 199, 163, 0.28);
  background: var(--rose-spa-mint-soft);
  color: var(--rose-spa-mint-strong);
}

.button-danger {
  border-color: #ffc0d3;
  background: var(--rose-spa-blush-soft);
  color: var(--semi-color-danger);
}

.loading-overlay {
  background:
    linear-gradient(135deg, rgba(12, 57, 49, 0.96) 0%, rgba(45, 72, 61, 0.96) 52%, rgba(83, 45, 54, 0.96) 100%);
}

.loading-overlay::before,
.loading-overlay::after {
  display: none;
}

.tech-loader::before,
.tech-loader-flower::before {
  background: linear-gradient(135deg, rgba(141, 216, 193, 0.2), rgba(249, 173, 190, 0.18));
}

.tech-loader-petal-1,
.tech-loader-petal-6 {
  --petal-color: rgba(139, 218, 194, 0.96);
  --petal-glow: rgba(139, 218, 194, 0.28);
  --petal-glow-strong: rgba(139, 218, 194, 0.18);
}

.tech-loader-petal-2,
.tech-loader-petal-3 {
  --petal-color: rgba(255, 190, 129, 0.94);
  --petal-glow: rgba(255, 190, 129, 0.26);
  --petal-glow-strong: rgba(255, 190, 129, 0.16);
}

.tech-loader-petal-4,
.tech-loader-petal-5 {
  --petal-color: rgba(246, 143, 166, 0.96);
  --petal-glow: rgba(246, 143, 166, 0.28);
  --petal-glow-strong: rgba(246, 143, 166, 0.18);
}

.tech-loader-progress::before {
  background: linear-gradient(90deg, #8bdac2 0 34%, #f6a0b6 38% 68%, #ffc47a 72% 100%);
}

.workspace-header,
.notice,
.panel,
.config-card,
.user-card,
.summary-card,
.log-summary,
.list-item,
.sync-root-detail-item,
.sync-op-help-item,
.sync-op-help-note,
.system-info-list,
.license-addon-card,
.transfer-filter-panel {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.99) 0%, rgba(255, 247, 241, 0.96) 100%);
  box-shadow: var(--semi-shadow-card);
}

.workspace-header {
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.99) 0%, rgba(255, 240, 231, 0.96) 100%);
}

.brand-chip,
.status-pill.accent,
.play-user-scope-tag,
.notice-strip-accent,
.mobile-menu-hero-kicker,
.mobile-menu-section-kicker,
.mobile-menu-group-level,
.mobile-menu-item-level,
.mobile-menu-subitem-tag,
.mobile-menu-item-tag,
.license-addon-count-chip {
  border-color: #ffcfb7;
  background: var(--rose-spa-primary-soft);
  color: var(--rose-spa-primary-strong);
}

.session-bar {
  border-color: #ffcfb7;
  background: var(--rose-spa-primary-soft);
  color: var(--rose-spa-primary-strong);
  box-shadow:
    inset 0 0 0 1px rgba(255, 136, 72, 0.08),
    0 10px 20px rgba(255, 136, 72, 0.12);
}

@media (min-width: 861px) {
  .view-mount[data-view="cookie"] .user-cookie-bind-tabs .view-tabs {
    border-color: #ffcfb7;
    background: rgba(255, 240, 231, 0.72);
  }

  .view-mount[data-view="cookie"] .user-cookie-bind-tabs .view-tab:not(.active):hover,
  .view-mount[data-view="cookie"] .user-cookie-bind-tabs .view-tab:not(.active):focus-visible {
    background: rgba(255, 136, 72, 0.08);
    color: var(--rose-spa-primary-strong);
  }

  .view-mount[data-view="cookie"] .user-cookie-bind-tabs .view-tab.active {
    background: linear-gradient(180deg, #ffffff 0%, var(--rose-spa-primary-soft) 100%);
    color: var(--rose-spa-primary-strong);
    box-shadow:
      inset 0 0 0 1px rgba(255, 136, 72, 0.12),
      0 10px 20px rgba(255, 136, 72, 0.13);
  }
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-dashboard-toolbar,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-profile-panel,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-panel,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-submit-panel {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.99) 0%, rgba(255, 247, 241, 0.96) 100%);
  box-shadow:
    0 18px 38px rgba(113, 70, 42, 0.1),
    0 8px 22px rgba(255, 136, 72, 0.08);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-dashboard-title h2,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-section-head h3 {
  color: var(--rose-spa-ink);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-dashboard-title p,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-section-head .panel-copy,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-profile-label,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-kicker,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-card p {
  color: var(--rose-spa-text);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-section-icon {
  color: var(--rose-spa-primary-strong);
  background: var(--rose-spa-primary-soft);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-profile-overview-grid {
  border-color: var(--rose-spa-border);
  background: rgba(255, 253, 249, 0.98);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-profile-cell {
  border-color: rgba(255, 218, 201, 0.82);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-profile-cell strong,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-card strong,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-footer {
  color: var(--rose-spa-ink);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-avatar {
  background: linear-gradient(135deg, var(--rose-spa-primary-strong) 0%, var(--rose-spa-primary) 58%, var(--rose-spa-blush) 100%);
  box-shadow: 0 12px 24px rgba(255, 136, 72, 0.24);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-copy-button:hover {
  color: var(--rose-spa-primary-strong);
  background: var(--rose-spa-primary-soft);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-card {
  border-color: var(--rose-spa-border);
  background: rgba(255, 253, 249, 0.98);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-card.is-bound {
  border-color: var(--rose-spa-border-strong);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 240, 231, 0.76) 100%);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-card-icon,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-card.is-bound .user-cookie-binding-card-icon {
  color: var(--rose-spa-primary-strong);
  background: var(--rose-spa-primary-soft);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-check {
  background: var(--rose-spa-primary);
  color: #fff;
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-card .status-pill.good,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-card .status-pill.warn,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-card .status-pill.accent {
  border-color: #ffcfb7;
  background: var(--rose-spa-primary-soft);
  color: var(--rose-spa-primary-strong);
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-footer {
  border-top-color: rgba(255, 189, 152, 0.78);
  background: linear-gradient(180deg, rgba(255, 244, 231, 0.68) 0%, rgba(255, 232, 216, 0.78) 100%);
  color: #9a4b18;
}

.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-footer span,
.view-mount[data-view="cookie"].is-user-cookie-manual-bind .user-cookie-binding-footer strong {
  color: #9a4b18;
}

.workspace-title h1,
.workspace-header:has(.workspace-back-button:not(.hidden)) .workspace-title h1 {
  color: var(--rose-workspace-title-color);
  font-family: "Arial Black", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.12;
  text-shadow:
    0 1px 0 rgba(255, 218, 201, 0.92),
    0 2px 0 rgba(255, 189, 152, 0.64),
    0 5px 12px rgba(255, 136, 72, 0.22);
}

.workspace-footer {
  border-top-color: rgba(255, 206, 184, 0.48);
}

.workspace-footer-brand {
  color: var(--rose-spa-blush);
}

.footer-link-button {
  color: var(--rose-spa-text);
}

.footer-link-button:hover {
  color: var(--rose-spa-primary);
}

.dock::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.46), transparent 26%),
    linear-gradient(135deg, rgba(255, 136, 72, 0.07), rgba(255, 95, 148, 0.05));
}

.dock::after,
.dock-ambient-glow {
  display: none;
}

.dock-ambient-streak {
  background: linear-gradient(180deg, rgba(255, 136, 72, 0) 0%, rgba(255, 136, 72, 0.78) 18%, rgba(255, 95, 148, 0.72) 88%, rgba(255, 95, 148, 0) 100%);
  box-shadow: 0 0 18px rgba(255, 136, 72, 0.16);
}

.dock-ambient-streak::after {
  background: linear-gradient(180deg, rgba(255, 166, 98, 0.9) 0%, rgba(255, 95, 148, 0.9) 100%);
  box-shadow: 0 10px 18px rgba(116, 59, 70, 0.18);
}

.dock-head-button,
.workspace-back-button {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #ffffff 0%, #fff0e7 100%);
  color: var(--rose-spa-primary);
  box-shadow: 0 10px 22px rgba(255, 136, 72, 0.13);
}

.dock-head-button::before {
  background: linear-gradient(135deg, rgba(255, 240, 231, 0.9), rgba(255, 232, 240, 0.58));
}

.dock-head-button:hover,
.workspace-back-button:hover:not(:disabled) {
  border-color: var(--rose-spa-border-strong);
  background: linear-gradient(180deg, #ffffff 0%, #ffe9dc 100%);
  color: var(--rose-spa-primary-hover);
}

.dock-head-button:focus-visible {
  box-shadow:
    0 0 0 4px var(--rose-spa-ring),
    0 14px 28px rgba(255, 136, 72, 0.16);
}

.dock-brand-mark {
  border-color: rgba(255, 136, 72, 0.28);
  background: #102f2a;
  box-shadow: 0 12px 24px rgba(35, 58, 52, 0.18);
}

.dock-group-head:hover {
  background: rgba(255, 240, 231, 0.78);
}

.dock-group-head:focus-visible,
.dock-logout:focus-visible,
.app-tab-controls .app-icon-action-button:focus-visible {
  outline-color: rgba(255, 136, 72, 0.34);
}

.dock-group-icon,
.dock-subitem-icon,
.dock-group-caret {
  border-color: var(--rose-spa-border);
  background: #fff7f1;
}

.dock-group.active .dock-group-icon,
.dock-subitem.active .dock-subitem-icon {
  border-color: #ffcfb7;
  background: #ffffff;
  color: var(--rose-spa-primary);
}

.dock-subitem {
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 242, 234, 0.92) 100%);
  box-shadow: 0 8px 18px rgba(113, 70, 42, 0.05);
}

.dock-subitem::before,
.dock-group-items::before {
  background: linear-gradient(180deg, #ffccb3 0%, #ffe7db 100%);
}

.dock-subitem:hover {
  border-color: #ffcfb7;
  background: #fff7f1;
  box-shadow: 0 12px 22px rgba(255, 136, 72, 0.11);
}

.dock-subitem.active {
  border-color: #ffbd98;
  background: linear-gradient(180deg, #fff0e7 0%, #fffaf6 100%);
  color: var(--rose-spa-primary-strong);
}

.dock-subitem.active::before {
  background: var(--rose-spa-primary);
}

.dock-subitem-tag,
.dock-subitem.active .dock-subitem-tag {
  border-color: #ffd8c6;
  background: #ffffff;
  color: var(--rose-spa-primary-strong);
}

.dock-system-info,
.mobile-menu-system-info {
  border-color: rgba(255, 136, 72, 0.2);
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 240, 231, 0.94) 100%);
  color: var(--rose-spa-primary-strong);
  box-shadow: 0 10px 24px rgba(255, 136, 72, 0.1);
}

.dock-system-info-label,
.system-info-value {
  color: var(--rose-spa-ink);
}

.dock-system-info:hover {
  border-color: rgba(255, 136, 72, 0.34);
  color: var(--rose-spa-primary);
  background: linear-gradient(180deg, #ffffff 0%, #fff0e7 100%);
}

.view-tabs,
.system-config-tab-list,
.toolbar-inline .view-tabs {
  border-color: var(--rose-spa-border);
  background: rgba(255, 240, 231, 0.92);
}

.view-tab {
  color: var(--rose-spa-text);
}

.view-tab.active,
.tg-poster-stage .view-tab.active {
  background: #ffffff;
  color: var(--rose-spa-primary-strong);
  box-shadow:
    0 3px 0 rgba(216, 95, 35, 0.16),
    0 10px 18px rgba(255, 136, 72, 0.13);
}

.toolbar-search-button,
.admin-emby-search-button,
.mobile-header-search-button:not(.hidden),
.transfer-search-icon-button {
  color: var(--rose-spa-muted);
}

.mobile-header-search-button:not(.hidden),
.transfer-search-icon-button,
.app-search-trigger .transfer-search-icon-button {
  border-color: var(--rose-spa-border);
  background: #ffffff;
}

.mobile-header-search-button.is-active:not(.hidden),
.transfer-record-search-trigger.is-active .transfer-search-icon-button,
.transfer-search-modal-trigger.is-active .transfer-search-icon-button {
  border-color: rgba(255, 136, 72, 0.4);
  background: var(--rose-spa-primary-veil);
  color: var(--rose-spa-primary);
}

.toolbar-search-button:focus-visible,
.admin-emby-search-button:focus-visible {
  box-shadow: 0 0 0 3px var(--rose-spa-ring);
}

.chart-panel .panel-head-actions .button-ghost.small {
  border-color: #ffcfb7;
  background: #fffaf6;
  color: var(--rose-spa-primary-strong);
  box-shadow:
    0 3px 0 rgba(216, 95, 35, 0.14),
    0 10px 18px rgba(255, 136, 72, 0.1);
}

.chart-panel .panel-head-actions .button-ghost.small.active {
  border-color: #ff8848;
  background: linear-gradient(180deg, #ff9957 0%, var(--rose-spa-primary) 100%);
  color: #ffffff;
  box-shadow:
    0 4px 0 #d8672f,
    0 14px 24px rgba(255, 136, 72, 0.22);
}

.chart-panel .panel-head-actions .button-ghost.small.active:hover,
.chart-panel .panel-head-actions .button-ghost.small.active:focus-visible {
  border-color: #f07834;
  background: linear-gradient(180deg, #ff8f4d 0%, var(--rose-spa-primary-hover) 100%);
  color: #ffffff;
  box-shadow:
    0 4px 0 #c85a27,
    0 16px 28px rgba(255, 136, 72, 0.26);
}

.mobile-dock-tab.active {
  color: #ffffff;
  background: linear-gradient(180deg, #ff9957 0%, var(--rose-spa-primary) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 4px 0 rgba(216, 95, 35, 0.28),
    0 10px 18px rgba(255, 136, 72, 0.22);
}

.transfer-runtime-run-button,
.transfer-help-button,
.transfer-action-button,
.transfer-search-icon-button {
  border-color: #ffcfb7;
  background: #fffaf6;
  color: var(--rose-spa-primary);
}

.transfer-runtime-run-button:hover,
.transfer-runtime-run-button:focus-visible,
.transfer-help-button:hover,
.transfer-help-button:focus-visible,
.transfer-help-button.is-active,
.transfer-action-button:hover,
.transfer-search-icon-button:hover {
  border-color: #ff8848;
  background: #fff0e7;
  color: var(--rose-spa-primary-strong);
  outline-color: var(--rose-spa-ring);
}

.transfer-resource-existing-modes,
.transfer-mode-tabs {
  border-color: #ffdac9;
  background: #fff7f1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.transfer-resource-existing-modes label,
.transfer-mode-tabs button {
  color: var(--rose-spa-text);
}

.transfer-resource-existing-modes label:has(input:checked),
.transfer-mode-tabs button.active {
  background: linear-gradient(180deg, #ff9957 0%, var(--rose-spa-primary) 100%);
  color: #ffffff;
  box-shadow:
    0 3px 0 #d8672f,
    0 10px 18px rgba(255, 136, 72, 0.2);
}

.transfer-resource-existing-modes label:hover,
.transfer-mode-tabs button:hover {
  color: var(--rose-spa-primary-strong);
  background: #fff0e7;
}

.transfer-resource-existing-modes label:has(input:checked):hover,
.transfer-mode-tabs button.active:hover {
  color: #ffffff;
  background: linear-gradient(180deg, #ff8f4d 0%, var(--rose-spa-primary-hover) 100%);
}

.summary-card {
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.list-item {
  background: linear-gradient(180deg, #fff7f1 0%, #fffaf6 100%);
}

.view-mount[data-view="embyUsers"] .emby-combined-tabs-card,
.view-mount[data-view="embyUsers"] .list-shell-emby,
.view-mount[data-view="embyUsers"] .list-shell-users {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, rgba(255, 250, 246, 0.99) 0%, rgba(255, 247, 241, 0.96) 100%);
  box-shadow:
    0 18px 38px rgba(113, 70, 42, 0.1),
    0 8px 22px rgba(255, 136, 72, 0.08);
}

.view-mount[data-view="embyUsers"] .emby-users-table-head,
.view-mount[data-view="embyUsers"] .list-head {
  color: var(--rose-spa-primary-strong);
}

.view-mount[data-view="embyUsers"] .emby-user-table-row,
.view-mount[data-view="embyUsers"] .list-shell-users .list-item {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
  box-shadow: 0 10px 22px rgba(113, 70, 42, 0.06);
}

.view-mount[data-view="embyUsers"] .emby-user-table-row.is-concurrent,
.view-mount[data-view="embyUsers"] .emby-user-table-row.is-disabled {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fffaf6 0%, #fff0e7 100%);
}

.view-mount[data-view="embyUsers"] .emby-target-account-trigger,
.view-mount[data-view="embyUsers"] .emby-target-binding-group,
.view-mount[data-view="embyUsers"] .emby-target-account-list-group {
  border-color: var(--rose-spa-border);
  background: #fffaf6;
}

.view-mount[data-view="embyUsers"] .emby-target-account-trigger {
  color: var(--rose-spa-primary-strong);
}

.view-mount[data-view="embyUsers"] .emby-target-account-trigger:hover,
.view-mount[data-view="embyUsers"] .emby-target-account-trigger:focus-visible {
  border-color: #ffad82;
  background: #fff0e7;
  color: var(--rose-spa-primary-strong);
}

.view-mount[data-view="embyUsers"] .emby-target-binding-row,
.view-mount[data-view="embyUsers"] .emby-target-account-list-row {
  border-color: rgba(255, 218, 201, 0.9);
  background: rgba(255, 253, 249, 0.98);
}

.view-mount[data-view="embyUsers"] .app-tab-controls .app-icon-action-button {
  border-color: #ffad82;
  background: linear-gradient(180deg, #ff9957 0%, var(--rose-spa-primary) 100%);
  color: #ffffff;
  box-shadow:
    0 3px 0 rgba(216, 95, 35, 0.28),
    0 12px 22px rgba(255, 136, 72, 0.2);
}

.view-mount[data-view="embyUsers"] .app-tab-controls .app-icon-action-button:hover,
.view-mount[data-view="embyUsers"] .app-tab-controls .app-icon-action-button:focus-visible {
  border-color: #f07834;
  background: linear-gradient(180deg, #ff8f4d 0%, var(--rose-spa-primary-hover) 100%);
  color: #ffffff;
}

.account-avatar {
  background: linear-gradient(135deg, var(--rose-spa-primary) 0%, var(--rose-spa-blush) 100%);
  box-shadow: 0 6px 16px rgba(255, 136, 72, 0.18);
}

.account-avatar:hover {
  box-shadow: 0 8px 20px rgba(217, 95, 122, 0.2);
}

.list-tree-toggle,
.list-tree-toggle.is-placeholder {
  border-color: #ffd8c6;
  background: linear-gradient(180deg, #ffffff 0%, #fff0e7 100%);
  color: var(--rose-spa-text);
}

button.list-tree-toggle:hover,
.list-tree-toggle.is-expanded {
  border-color: #ffbd98;
  background: linear-gradient(180deg, #ffffff 0%, #ffe9dc 100%);
  color: var(--rose-spa-primary);
  box-shadow: 0 12px 24px rgba(255, 136, 72, 0.13);
}

.list-metric-tone-good .list-metric-value,
.play-user-scope-tag-onestrm,
.play-user-scope-tag-symedia {
  color: var(--rose-spa-mint-strong);
}

.list-metric-tone-warn .list-metric-value,
.play-user-scope-tag-cms {
  color: #8b4f20;
}

.list-metric-tone-bad .list-metric-value {
  color: #b4233a;
}

.play-user-scope-tag-default {
  border-color: #ffcfb7;
  background: #fff4ed;
  color: var(--rose-spa-primary-strong);
}

.play-user-scope-tag-pickcode_url,
.play-user-scope-tag-compatible {
  border-color: #f1cdbd;
  background: #fff3ed;
  color: #8f4430;
}

.empty-state {
  border-color: var(--rose-spa-border-strong);
  background: #fff7f1;
}

.notice-error {
  border-color: #f2c8c8;
  background: #fff5f5;
}

.notice-strip-warn,
.status-pill.warn {
  border-color: #edc98f;
  background: var(--rose-spa-amber-soft);
  color: #8b4f20;
}

.status-pill.good,
.dock-system-info.update,
.mobile-menu-system-info.update {
  border-color: rgba(18, 199, 163, 0.28);
  background: var(--rose-spa-mint-soft);
  color: var(--rose-spa-mint-strong);
}

.status-pill.bad {
  border-color: #f1b7b7;
  background: #fff1f1;
  color: #b4233a;
}

.toast {
  border-color: rgba(255, 218, 201, 0.92);
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 18px 38px rgba(113, 70, 42, 0.14);
}

.toast-success {
  border-color: var(--rose-spa-border-strong);
}

.toast-success .toast-mark {
  background: var(--rose-spa-primary);
}

.toast-success .toast-title {
  color: var(--rose-spa-primary-strong);
}

.toast-error .toast-mark {
  background: var(--semi-color-danger);
}

.toast-warn .toast-mark {
  background: var(--rose-spa-amber);
}

.detail-modal-backdrop,
.disclaimer-backdrop,
.recycle-password-modal-backdrop {
  background: rgba(22, 35, 32, 0.48);
}

.detail-modal-backdrop:hover,
.disclaimer-backdrop:hover,
.recycle-password-modal-backdrop:hover,
.recycle-password-modal-backdrop:focus,
.recycle-password-modal-backdrop:active {
  background: rgba(22, 35, 32, 0.48);
}

.detail-modal-card,
.disclaimer-card,
.recycle-password-modal-card {
  border-color: var(--rose-spa-border);
  background: #ffffff;
  box-shadow: 0 30px 70px rgba(113, 70, 42, 0.18);
}

.detail-modal-head,
.disclaimer-head {
  border-bottom-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #ffffff 0%, #fff4ed 100%);
}

.detail-modal-body,
.disclaimer-body {
  background: #fff7f1;
}

.detail-modal-foot,
.disclaimer-actions {
  border-top-color: var(--rose-spa-border);
  background: #fffdf9;
}

.detail-modal-foot > button:not(.modal-close-button),
.disclaimer-actions > button,
.plugin-modal-footer-actions > button,
.tg-discover-search-toolbar-actions > button,
.tg-discover-search-foot > button {
  box-sizing: border-box;
  min-height: 48px;
  height: 48px;
  padding: 0 24px;
  line-height: 1;
  align-items: center;
  transform: none;
}

.detail-modal-foot > .button-ghost:not(.modal-close-button),
.disclaimer-actions > .button-ghost,
.plugin-modal-footer-actions > .button-ghost,
.tg-discover-search-toolbar-actions > .button-ghost,
.tg-discover-search-foot > .button-ghost {
  border-color: #ffad82;
  background: #fffaf6;
  color: var(--rose-spa-primary);
  box-shadow:
    0 4px 0 rgba(216, 95, 35, 0.18),
    0 14px 24px rgba(255, 136, 72, 0.12);
}

.detail-modal-foot > .button-accent,
.disclaimer-actions > .button-accent,
.plugin-modal-footer-actions > .button-accent,
.tg-discover-search-toolbar-actions > .button-accent,
.tg-discover-search-foot > .button-accent {
  box-shadow:
    0 4px 0 #d8672f,
    0 14px 26px rgba(255, 136, 72, 0.24);
}

.detail-modal-foot > .button-ghost:not(.modal-close-button):hover,
.disclaimer-actions > .button-ghost:hover,
.plugin-modal-footer-actions > .button-ghost:hover,
.tg-discover-search-toolbar-actions > .button-ghost:hover,
.tg-discover-search-foot > .button-ghost:hover {
  border-color: #ff8848;
  background: #fff0e7;
  color: var(--rose-spa-primary-strong);
  box-shadow:
    0 4px 0 rgba(216, 95, 35, 0.18),
    0 16px 28px rgba(255, 136, 72, 0.14);
  transform: translateY(-1px);
}

.detail-modal-foot > .button-accent:hover,
.disclaimer-actions > .button-accent:hover,
.plugin-modal-footer-actions > .button-accent:hover,
.tg-discover-search-toolbar-actions > .button-accent:hover,
.tg-discover-search-foot > .button-accent:hover {
  transform: translateY(-1px);
}

.detail-modal-foot > button:not(.modal-close-button):active,
.disclaimer-actions > button:active,
.plugin-modal-footer-actions > button:active,
.tg-discover-search-toolbar-actions > button:active,
.tg-discover-search-foot > button:active {
  transform: translateY(2px);
}

.secret-mask {
  border-color: #ffcfb7;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.88) 0%, rgba(255, 240, 231, 0.94) 100%),
    repeating-linear-gradient(135deg, rgba(255, 136, 72, 0.1) 0, rgba(255, 136, 72, 0.1) 10px, rgba(255, 255, 255, 0.1) 10px, rgba(255, 255, 255, 0.1) 20px);
  color: var(--rose-spa-primary);
}

.ext-chip.checked,
.source-root-browser-node-row.is-selected {
  border-color: #ffbd98;
  background: #fff0e7;
  color: var(--rose-spa-primary-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 136, 72, 0.09);
}

.recycle-password-pin input:disabled {
  background: var(--semi-color-bg-2);
}

.field-error-focus {
  background: linear-gradient(180deg, rgba(214, 69, 69, 0.07) 0%, rgba(214, 69, 69, 0.02) 100%);
  box-shadow: inset 0 0 0 1px rgba(214, 69, 69, 0.18);
}

.field-error-input,
.recycle-password-field.is-invalid .recycle-password-pin input:not([type="checkbox"]) {
  border-color: #df8c8c !important;
  box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.14) !important;
}

.emby-browser-shell,
.panel.emby-browser-shell {
  border-color: var(--rose-spa-border);
  background: var(--emby-stage-bg);
}

.panel.emby-browser-shell .empty-state,
.emby-browser-shell .empty-state,
.panel.emby-browser-shell .button-ghost,
.emby-browser-shell .button-ghost,
.emby-browser-back,
.emby-browser-eyebrow {
  border-color: #ffcfb7;
  background: #fff4ed;
}

.emby-browser-back {
  color: var(--rose-spa-primary);
  box-shadow: 0 8px 20px rgba(255, 136, 72, 0.12);
}

.emby-browser-back:hover {
  border-color: #ffbd98;
  background: #ffe9dc;
}

.emby-library-card:hover .emby-library-card-media,
.emby-library-media-card:hover .emby-library-media-poster {
  box-shadow: 0 24px 48px rgba(25, 32, 30, 0.26), 0 0 20px rgba(255, 136, 72, 0.14);
}

.emby-library-card:hover .emby-library-card-media::after,
.emby-library-media-card:hover .emby-library-media-poster::after {
  background: rgba(255, 136, 72, 0.08);
}

.emby-library-card-inline-tag {
  border-color: rgba(255, 136, 72, 0.28);
  background: rgba(255, 136, 72, 0.12);
}

.emby-cover-maker-library-tab,
.emby-skipped-item,
.emby-scan-log-item,
.emby-missing-group,
.emby-missing-episode-card {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #ffffff 0%, #fff7f1 100%);
}

.emby-cover-maker-library-tab:hover,
.emby-cover-maker-library-tab.is-active {
  border-color: #e8b9c5;
  box-shadow: 0 20px 38px rgba(217, 95, 122, 0.12);
}

.emby-cover-maker-summary,
.emby-cover-maker-card {
  border-color: rgba(255, 214, 224, 0.22);
  background: linear-gradient(135deg, rgba(32, 56, 50, 0.98) 0%, rgba(31, 27, 31, 0.98) 100%);
}

.emby-missing-episode-media {
  background: linear-gradient(180deg, rgba(255, 136, 72, 0.08) 0%, rgba(255, 240, 231, 0.9) 100%);
}

.transfer-filter-chip.active {
  background: var(--rose-spa-primary-veil);
  color: var(--rose-spa-primary-strong);
}

.transfer-filter-chip.icon-only.active {
  border-color: var(--rose-spa-primary);
  background: rgba(255, 136, 72, 0.14);
  box-shadow: 0 0 0 3px rgba(255, 136, 72, 0.12), 0 8px 18px rgba(255, 136, 72, 0.16);
}

.transfer-filter-chip.icon-only.active::after {
  background: var(--rose-spa-primary);
  border-color: var(--semi-color-bg-1);
}

.transfer-loading-spinner {
  border-color: rgba(255, 136, 72, 0.18);
  border-top-color: var(--rose-spa-primary);
}

.transfer-record-search-modal .detail-modal-backdrop {
  background: rgba(22, 35, 32, 0.38);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}

.transfer-record-search-modal .detail-modal-backdrop:hover {
  background: rgba(22, 35, 32, 0.38);
}

.transfer-record-search-modal .transfer-record-search-panel {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 253, 249, 0.7);
  box-shadow:
    0 28px 70px rgba(113, 70, 42, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.66);
}

.transfer-record-search-kind-chip.active {
  border-color: rgba(182, 106, 44, 0.28);
  background: linear-gradient(180deg, #f7bf74 0%, var(--rose-spa-amber) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 8px 16px rgba(182, 106, 44, 0.18);
}

.transfer-sort-arrow.asc {
  color: var(--rose-spa-primary);
}

.transfer-sort-arrow.desc {
  color: var(--rose-spa-blush);
}

.transfer-resource-filter-summary-card,
.transfer-history-table,
.archive-organize-rule-panel,
.archive-organize-picker-panel,
.transfer-detail-panel,
.transfer-hdhive-config-panel {
  border-color: var(--rose-spa-border);
  background: rgba(255, 253, 249, 0.88);
}

.transfer-progress-bar,
.transfer-task-progress-bar,
.archive-organize-progress-bar {
  background: linear-gradient(90deg, var(--rose-spa-primary), var(--rose-spa-blush));
}

.onboarding-overlay,
.onboarding-overlay:hover {
  background:
    radial-gradient(circle at bottom right, rgba(255, 136, 72, 0.1), transparent 30%),
    rgba(44, 30, 24, 0.06);
}

.onboarding-popover {
  border-color: rgba(255, 207, 183, 0.92);
  background:
    radial-gradient(circle at top right, rgba(255, 136, 72, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(255, 246, 239, 0.92) 100%);
  box-shadow:
    0 26px 54px rgba(113, 70, 42, 0.14),
    0 10px 24px rgba(255, 136, 72, 0.12);
}

.onboarding-popover::before {
  background: radial-gradient(circle, rgba(255, 136, 72, 0.14) 0%, rgba(255, 116, 101, 0.04) 64%, transparent 74%);
}

.onboarding-close {
  border-color: #ffcfb7;
  background: rgba(255, 250, 246, 0.94);
  color: var(--rose-spa-ink);
}

.onboarding-close:hover,
.onboarding-close:focus-visible {
  border-color: #ffad82;
  background: #fff0e7;
  color: var(--rose-spa-primary-strong);
}

.onboarding-progress {
  background: rgba(255, 207, 183, 0.46);
}

.onboarding-progress-bar {
  background: linear-gradient(90deg, var(--rose-spa-primary) 0%, var(--rose-spa-blush) 100%);
  box-shadow: 0 8px 18px rgba(255, 136, 72, 0.2);
}

.onboarding-step-card {
  border-color: rgba(255, 218, 201, 0.94);
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 12px 28px rgba(113, 70, 42, 0.05);
}

.onboarding-step-card:hover {
  border-color: #ffcfb7;
  box-shadow: 0 16px 30px rgba(113, 70, 42, 0.08);
}

.onboarding-step-card.is-current {
  border-color: #ffad82;
  background: linear-gradient(180deg, rgba(255, 244, 237, 0.98) 0%, rgba(255, 253, 249, 0.92) 100%);
  box-shadow: 0 18px 34px rgba(255, 136, 72, 0.12);
}

.onboarding-step-index {
  border-color: #ffcfb7;
  background: #fff0e7;
  color: var(--rose-spa-primary-strong);
}

.onboarding-fab {
  border-color: rgba(255, 207, 183, 0.96);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 244, 237, 0.94) 100%);
  box-shadow:
    0 18px 38px rgba(113, 70, 42, 0.14),
    0 8px 22px rgba(255, 136, 72, 0.14);
}

.onboarding-fab::before {
  background: radial-gradient(circle, rgba(255, 136, 72, 0.22) 0%, rgba(255, 136, 72, 0.04) 60%, transparent 74%);
}

.onboarding-fab:hover {
  box-shadow:
    0 24px 46px rgba(113, 70, 42, 0.17),
    0 10px 26px rgba(255, 136, 72, 0.18);
}

.onboarding-fab.is-open {
  border-color: #ffad82;
}

.onboarding-fab-core {
  border-color: rgba(255, 207, 183, 0.98);
  background: linear-gradient(180deg, #fffdf9 0%, #fff0e7 100%);
}

.onboarding-fab-icon {
  color: var(--rose-spa-primary-strong);
}

.onboarding-fab-badge {
  background: var(--rose-spa-primary);
  box-shadow: 0 10px 18px rgba(255, 136, 72, 0.26);
}

.guide-focus-anchor {
  border-color: #ffad82 !important;
  box-shadow:
    0 0 0 2px rgba(255, 136, 72, 0.24),
    0 18px 34px rgba(255, 136, 72, 0.12);
}

@keyframes guide-focus-pulse {
  0%,
  100% {
    box-shadow:
      0 0 0 2px rgba(255, 136, 72, 0.24),
      0 18px 34px rgba(255, 136, 72, 0.12);
  }
  50% {
    box-shadow:
      0 0 0 4px rgba(255, 136, 72, 0.14),
      0 22px 40px rgba(255, 136, 72, 0.16);
  }
}

.plugin-tabs {
  gap: var(--rose-page-action-gap);
}

.plugin-tab {
  min-height: var(--rose-page-action-tab-height);
  padding: 0 var(--rose-page-action-tab-padding-x);
  border-color: #ffcfb7;
  background: #fffaf6;
  color: var(--rose-spa-text);
  box-shadow: 0 10px 20px rgba(113, 70, 42, 0.06);
}

.plugin-tab:hover,
.plugin-tab:focus-visible {
  border-color: var(--rose-spa-border-strong);
  background: #fff4ed;
  color: var(--rose-spa-primary-strong);
  box-shadow: 0 12px 22px rgba(255, 136, 72, 0.12);
}

.plugin-tab.active {
  border-color: #ffad82;
  background: linear-gradient(180deg, #ffffff 0%, #fff0e7 100%);
  color: var(--rose-spa-primary-strong);
  box-shadow:
    inset 0 0 0 1px rgba(255, 136, 72, 0.08),
    0 14px 26px rgba(255, 136, 72, 0.15);
}

.compat-plugin-card {
  --plugin-neon-a: 255, 105, 180;
  --plugin-neon-b: 124, 92, 255;
  --plugin-neon-c: 45, 212, 191;
  --plugin-glass-mid: 46, 29, 58;
  --plugin-on-card: #fffdf9;
  --plugin-muted-on-card: rgba(255, 253, 249, 0.78);
  isolation: isolate;
  border-color: transparent;
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--plugin-neon-a), 0.34), transparent 34%) padding-box,
    radial-gradient(circle at 100% 8%, rgba(var(--plugin-neon-b), 0.28), transparent 36%) padding-box,
    linear-gradient(150deg, rgba(18, 15, 31, 0.95) 0%, rgba(var(--plugin-glass-mid), 0.9) 56%, rgba(16, 32, 43, 0.88) 100%) padding-box,
    linear-gradient(130deg, rgba(var(--plugin-neon-a), 0.82), rgba(255, 255, 255, 0.34) 34%, rgba(var(--plugin-neon-b), 0.74) 68%, rgba(var(--plugin-neon-c), 0.58)) border-box;
  box-shadow:
    0 18px 38px rgba(41, 23, 49, 0.18),
    0 0 0 1px rgba(var(--plugin-neon-a), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(142%);
  -webkit-backdrop-filter: blur(18px) saturate(142%);
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.compat-plugin-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: auto;
  height: auto;
  border-radius: inherit;
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.20), transparent 24% 76%, rgba(var(--plugin-neon-b), 0.20)),
    radial-gradient(circle at 14% 96%, rgba(var(--plugin-neon-c), 0.16), transparent 34%);
  pointer-events: none;
}

.compat-plugin-card:hover,
.compat-plugin-card:focus-within {
  transform: translateY(-2px);
  box-shadow:
    0 22px 46px rgba(41, 23, 49, 0.22),
    0 0 26px rgba(var(--plugin-neon-a), 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.compat-plugin-card.is-enabled {
  box-shadow:
    0 22px 46px rgba(41, 23, 49, 0.22),
    0 0 30px rgba(var(--plugin-neon-a), 0.24),
    0 0 42px rgba(var(--plugin-neon-b), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.compat-plugin-card-cms {
  --plugin-neon-a: 255, 78, 173;
  --plugin-neon-b: 139, 92, 246;
  --plugin-neon-c: 56, 189, 248;
  --plugin-glass-mid: 55, 31, 70;
}

.compat-plugin-card-onestrm {
  --plugin-neon-a: 45, 212, 191;
  --plugin-neon-b: 59, 130, 246;
  --plugin-neon-c: 168, 85, 247;
  --plugin-glass-mid: 24, 55, 66;
}

.compat-plugin-card-symedia {
  --plugin-neon-a: 52, 211, 153;
  --plugin-neon-b: 14, 165, 233;
  --plugin-neon-c: 250, 204, 21;
  --plugin-glass-mid: 22, 57, 48;
}

.compat-plugin-card-pickcode-url {
  --plugin-neon-a: 251, 113, 133;
  --plugin-neon-b: 249, 115, 22;
  --plugin-neon-c: 244, 114, 182;
  --plugin-glass-mid: 67, 33, 46;
}

.compat-plugin-card-autobind {
  --plugin-neon-a: 56, 189, 248;
  --plugin-neon-b: 34, 197, 94;
  --plugin-neon-c: 250, 204, 21;
  --plugin-glass-mid: 24, 62, 67;
}

.compat-plugin-card-rosebot {
  --plugin-neon-a: 168, 85, 247;
  --plugin-neon-b: 34, 211, 238;
  --plugin-neon-c: 244, 114, 182;
  --plugin-glass-mid: 45, 35, 74;
}

.compat-plugin-card-brand {
  --plugin-neon-a: 251, 113, 133;
  --plugin-neon-b: 250, 204, 21;
  --plugin-neon-c: 168, 85, 247;
  --plugin-glass-mid: 67, 38, 49;
}

.compat-plugin-card-hero,
.compat-plugin-card-cms .compat-plugin-card-hero,
.compat-plugin-card-onestrm .compat-plugin-card-hero,
.compat-plugin-card-symedia .compat-plugin-card-hero,
.compat-plugin-card-pickcode-url .compat-plugin-card-hero,
.compat-plugin-card-rosebot .compat-plugin-card-hero,
.compat-plugin-card-autobind .compat-plugin-card-hero,
.compat-plugin-card-brand .compat-plugin-card-hero {
  z-index: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 16% 4%, rgba(var(--plugin-neon-a), 0.42), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(var(--plugin-neon-b), 0.10) 48%, rgba(255, 255, 255, 0.04));
}

.compat-plugin-card-autobind .compat-plugin-card-body,
.compat-plugin-card-rosebot .compat-plugin-card-body,
.compat-plugin-card-brand .compat-plugin-card-body {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 100% 100%, rgba(var(--plugin-neon-b), 0.14), transparent 38%);
}

.autobind-setting-cell,
.autobind-title-media,
.mobile-menu-hero,
.mobile-menu-group,
.mobile-menu-primary,
.mobile-menu-item,
.mobile-menu-main-tab,
.mobile-menu-subitem,
.mobile-menu-list-card {
  border-color: var(--rose-spa-border);
  background: rgba(255, 253, 249, 0.94);
}

.compat-plugin-card-body {
  z-index: 1;
  border-color: rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.05)),
    radial-gradient(circle at 100% 100%, rgba(var(--plugin-neon-b), 0.14), transparent 38%);
}

.compat-plugin-card-copy h3 {
  color: var(--plugin-on-card);
  letter-spacing: 0;
  text-shadow: 0 0 16px rgba(var(--plugin-neon-a), 0.32);
}

.compat-plugin-card-copy p {
  color: var(--plugin-muted-on-card);
}

.compat-plugin-card-kicker {
  border: 1px solid rgba(var(--plugin-neon-a), 0.38);
  background: rgba(255, 255, 255, 0.13);
  color: var(--plugin-on-card);
  box-shadow: 0 0 18px rgba(var(--plugin-neon-a), 0.16);
}

.compat-plugin-card-summary {
  color: var(--plugin-muted-on-card);
}

.compat-plugin-card-panel {
  color: var(--plugin-on-card);
}

.compat-plugin-card .compat-plugin-card-panel:focus-visible,
.compat-plugin-card-panel-body:focus-visible {
  outline-color: rgba(var(--plugin-neon-c), 0.72);
}

.compat-plugin-card-icon {
  border-color: rgba(255, 255, 255, 0.28);
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.38), transparent 38%),
    linear-gradient(145deg, rgba(var(--plugin-neon-a), 0.42), rgba(var(--plugin-neon-b), 0.30));
  box-shadow:
    0 0 20px rgba(var(--plugin-neon-a), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.compat-plugin-card-icon svg {
  color: var(--plugin-on-card);
  filter: drop-shadow(0 0 8px rgba(var(--plugin-neon-a), 0.42));
}

.compat-plugin-card-icon img {
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .compat-plugin-card {
    transition: none;
  }

  .compat-plugin-card:hover,
  .compat-plugin-card:focus-within {
    transform: none;
  }
}

.plugin-hub .status-pill,
.plugin-hub .status-pill.accent,
.plugin-hub .status-pill.good,
.plugin-hub .status-pill.warn {
  border-color: #ffcfb7;
  background: #fff4e7;
  color: #9a4b18;
}

.plugin-hub .status-pill.bad {
  border-color: #f1b7b7;
  background: #fff1f1;
  color: #b4233a;
}

.plugin-hub .compat-plugin-card .status-pill,
.plugin-hub .compat-plugin-card .status-pill.accent,
.plugin-hub .compat-plugin-card .status-pill.good,
.plugin-hub .compat-plugin-card .status-pill.warn {
  border-color: rgba(var(--plugin-neon-a), 0.32);
  background: rgba(255, 253, 249, 0.88);
  color: #26131f;
  box-shadow: 0 0 18px rgba(var(--plugin-neon-a), 0.14);
}

.plugin-hub .compat-plugin-card .status-pill.bad {
  border-color: rgba(255, 146, 146, 0.42);
  background: rgba(255, 239, 239, 0.92);
  color: #9f1239;
}

.compat-plugin-switch-slider {
  border-color: rgba(213, 134, 82, 0.86);
  background: linear-gradient(180deg, #f3c4a4 0%, #cf8b62 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -5px 10px rgba(122, 76, 48, 0.2),
    0 7px 16px rgba(113, 70, 42, 0.16);
}

.compat-plugin-switch-slider::before {
  background:
    radial-gradient(circle at 30% 28%, #ffffff 0%, #ffe9dc 32%, #ffb184 68%, var(--rose-spa-primary) 100%);
  box-shadow:
    0 8px 16px rgba(113, 70, 42, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -3px 6px rgba(216, 95, 35, 0.22);
}

.compat-plugin-switch input:checked + .compat-plugin-switch-slider {
  border-color: #ff8848;
  background: linear-gradient(180deg, #ffb15f 0%, var(--rose-spa-primary) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -5px 10px rgba(191, 80, 31, 0.24),
    0 8px 18px rgba(255, 136, 72, 0.28);
}

.compat-plugin-switch input:checked + .compat-plugin-switch-slider::before {
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0%, #fff2e7 32%, #ffc184 68%, #ff8848 100%);
  box-shadow:
    0 8px 16px rgba(158, 78, 32, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -3px 6px rgba(216, 95, 35, 0.2);
}

.compat-plugin-switch input:active + .compat-plugin-switch-slider::before {
  box-shadow:
    0 6px 12px rgba(113, 70, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 5px rgba(216, 95, 35, 0.2);
}

.compat-plugin-switch input:focus-visible + .compat-plugin-switch-slider {
  outline: 3px solid rgba(255, 136, 72, 0.24);
  outline-offset: 2px;
}

.compat-plugin-card .compat-plugin-switch-slider {
  border-color: rgba(var(--plugin-neon-a), 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(16, 18, 28, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -5px 10px rgba(0, 0, 0, 0.26),
    0 0 16px rgba(var(--plugin-neon-a), 0.14);
}

.compat-plugin-card .compat-plugin-switch-slider::before {
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0%, #eef7ff 34%, rgba(var(--plugin-neon-a), 0.9) 100%);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.28),
    0 0 14px rgba(var(--plugin-neon-a), 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.compat-plugin-card .compat-plugin-switch input:checked + .compat-plugin-switch-slider {
  border-color: rgba(var(--plugin-neon-c), 0.66);
  background:
    linear-gradient(100deg, rgba(var(--plugin-neon-a), 0.9), rgba(var(--plugin-neon-b), 0.82));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 22px rgba(var(--plugin-neon-a), 0.36),
    0 0 28px rgba(var(--plugin-neon-b), 0.18);
}

.compat-plugin-card .compat-plugin-switch input:checked + .compat-plugin-switch-slider::before {
  background:
    radial-gradient(circle at 32% 28%, #ffffff 0%, #f7fbff 34%, rgba(var(--plugin-neon-c), 0.95) 100%);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.26),
    0 0 16px rgba(var(--plugin-neon-c), 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.compat-plugin-card .compat-plugin-switch input:focus-visible + .compat-plugin-switch-slider {
  outline-color: rgba(var(--plugin-neon-c), 0.34);
}

.plugin-hub .rosebot-plugin-menu-trigger {
  border-color: rgba(var(--plugin-neon-a), 0.34);
  background: rgba(255, 255, 255, 0.13);
  color: var(--plugin-on-card);
  box-shadow:
    0 0 16px rgba(var(--plugin-neon-a), 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.plugin-hub .rosebot-plugin-menu-trigger:hover,
.plugin-hub .rosebot-plugin-menu-trigger:focus-visible {
  border-color: rgba(var(--plugin-neon-c), 0.58);
  background: rgba(255, 255, 255, 0.2);
  color: var(--plugin-on-card);
}

.plugin-hub .rosebot-plugin-menu {
  border-color: rgba(var(--plugin-neon-a), 0.34);
  background: rgba(24, 19, 35, 0.96);
  box-shadow:
    0 18px 34px rgba(17, 12, 27, 0.32),
    0 0 24px rgba(var(--plugin-neon-a), 0.14);
}

.plugin-hub .rosebot-plugin-menu-item:hover,
.plugin-hub .rosebot-plugin-menu-item:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--plugin-on-card);
}

.plugin-hub .rosebot-plugin-menu-item {
  color: var(--plugin-muted-on-card);
}

.plugin-hub .rosebot-plugin-menu-item-warn {
  color: #facc15;
}

.plugin-hub .rosebot-plugin-menu-item-danger {
  color: #fb7185;
}

.autobind-setting-icon,
.mobile-menu-main-icon,
.mobile-menu-subitem-icon,
.mobile-menu-primary-icon,
.mobile-menu-group-icon,
.mobile-menu-item-icon,
.mobile-menu-list-icon {
  color: var(--rose-spa-primary);
}

.mobile-dock-drawer,
.mobile-dock-drawer-body {
  background: #fff7f1;
}

.mobile-menu-main-tab.active,
.mobile-menu-subitem.active,
.mobile-menu-primary.active,
.mobile-menu-item.active {
  border-color: #ffbd98;
  background: linear-gradient(180deg, #ffffff 0%, #fff0e7 100%);
  box-shadow: 0 14px 28px rgba(113, 70, 42, 0.12);
}

.mobile-menu-list-heading {
  color: var(--rose-spa-muted);
}

.mobile-menu-list-row {
  color: var(--rose-spa-text);
}

.mobile-menu-list-row:hover {
  background: #fff0e7;
}

.log-box,
.log-stream {
  border-color: rgba(139, 218, 194, 0.22);
  background: #12352f;
  color: #e8f7ef;
}

.log-entry {
  border-bottom-color: rgba(216, 233, 225, 0.14);
}

.log-line-no,
.log-tag,
.log-meta,
.log-entry-detail-label,
.log-empty-state {
  color: #9fcfc0;
}

.log-message-inline,
.log-message-block,
.log-entry-detail-text {
  color: #f2fff9;
}

.log-level-badge {
  border-color: rgba(159, 207, 192, 0.26);
  color: #c7eadf;
  background: rgba(159, 207, 192, 0.1);
}

.log-level-info {
  border-color: rgba(139, 218, 194, 0.3);
  color: #b8efdf;
  background: rgba(18, 199, 163, 0.16);
}

.log-level-warning {
  border-color: rgba(255, 196, 122, 0.42);
  color: #ffe2af;
  background: rgba(182, 106, 44, 0.22);
}

.log-level-error {
  border-color: rgba(246, 143, 166, 0.46);
  color: #ffd4dc;
  background: rgba(155, 44, 67, 0.24);
}

.log-level-debug {
  border-color: rgba(217, 95, 122, 0.34);
  color: #ffd5df;
  background: rgba(217, 95, 122, 0.16);
}

.log-entry-detail,
.log-entry-client-media,
.log-entry-poster-media {
  border-color: rgba(216, 233, 225, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(139, 218, 194, 0.06) 100%),
    rgba(255, 255, 255, 0.04);
}

.disclaimer-footer-note,
.system-info-upgrade,
.license-flow-card.is-active .license-flow-index,
.license-addon-trigger:hover,
.license-addon-trigger:focus-visible {
  background: var(--rose-spa-primary-veil);
  color: var(--rose-spa-primary-strong);
}

.license-hero-panel,
.license-status-strip,
.license-flow-card,
.license-kv-grid .summary-card,
.license-status-art,
.license-form-panel input,
.license-form-panel textarea {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #ffffff 0%, #fff7f1 100%);
}

.license-hero-panel,
.license-hero-panel.is-valid {
  border-color: var(--rose-spa-border-strong);
  background:
    linear-gradient(135deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 240, 231, 0.94) 52%, rgba(255, 232, 240, 0.86) 100%),
    repeating-linear-gradient(90deg, rgba(255, 136, 72, 0.05) 0 1px, transparent 1px 38px);
  box-shadow:
    0 24px 52px rgba(113, 70, 42, 0.1),
    0 10px 24px rgba(255, 95, 148, 0.06);
}

.license-hero-panel::after {
  background: linear-gradient(90deg, var(--rose-spa-primary), var(--rose-spa-blush), var(--rose-spa-amber), var(--rose-spa-primary));
}

.license-kicker {
  border-color: rgba(255, 136, 72, 0.2);
  color: var(--rose-spa-primary-strong);
}

.license-sigil-ring {
  border-color: rgba(255, 136, 72, 0.22);
  background: conic-gradient(from 90deg, rgba(255, 136, 72, 0.14), rgba(255, 95, 148, 0.32), rgba(255, 193, 92, 0.3), rgba(255, 136, 72, 0.14));
}

.license-sigil-core svg,
.license-sigil.is-valid .license-sigil-core svg,
.license-flow-card.is-active .license-flow-locked {
  stroke: var(--rose-spa-primary);
}

.license-addon-trigger {
  border-color: var(--rose-spa-border);
  color: var(--rose-spa-text);
}

.license-form-panel input:focus,
.license-form-panel textarea:focus,
.transfer-center-shell input:focus,
.transfer-center-shell select:focus,
.transfer-center-shell textarea:focus {
  border-color: var(--rose-spa-primary);
  box-shadow:
    0 0 0 3px var(--rose-spa-ring),
    0 10px 22px rgba(255, 136, 72, 0.08);
}

.cookie-pool-chart-wrap,
.cookie-pool-province-line-card {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #ffffff 0%, #fff7f1 100%);
}

.cookie-pool-chart-area {
  fill: rgba(255, 136, 72, 0.1);
}

.cookie-pool-chart-line,
.cookie-pool-province-line-total {
  stroke: var(--rose-spa-primary);
}

.cookie-pool-province-line-series,
.cookie-pool-account-line-series {
  stroke: var(--rose-spa-blush);
}

.cookie-pool-province-chart-grid-line {
  stroke: #ffdac9;
}

.cookie-pool-chart-label,
.cookie-pool-chart-axis-label {
  fill: #6f827b;
}

.cookie-pool-account-line-point {
  stroke: var(--point-color, var(--rose-spa-blush));
}

:root {
  --rose-list-action-height: 38px;
  --rose-list-toolbar-action-height: 34px;
}

.page-toolbar .soft-pills > .status-pill,
.page-toolbar .toolbar-inline > .status-pill {
  min-height: var(--rose-page-action-height);
  height: var(--rose-page-action-height);
  padding: 0 var(--rose-page-action-button-padding-x);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.archive-organize-rule-tools > .status-pill,
.archive-organize-rule-tools > button,
.tg-organize-rule-toolbar .tg-record-toolbar-summary .status-pill,
.tg-organize-rule-toolbar > button,
.tg-record-toolbar .tg-record-toolbar-summary .status-pill,
.tg-record-toolbar > button {
  min-height: var(--rose-list-toolbar-action-height);
  height: var(--rose-list-toolbar-action-height);
  padding: 0 12px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

:is(
  .list-item-actions,
  .share-item-actions,
  .transfer-history-actions,
  .transfer-record-actions,
  .transfer-transfer-actions,
  .transfer-organize-inline-actions,
  .archive-organize-transfer-row-actions,
  .transfer-channel-actions,
  .transfer-record-resource-actions,
  .transfer-subscription-progress-actions,
  .emby-user-table-actions
) > :is(button, .status-pill),
.transfer-subscription-progress-actions > .soft-pills > .status-pill,
.library-action-grid > .library-action-btn {
  --rose-list-action-color: var(--rose-spa-primary);
  --rose-list-action-border: #ffad82;
  --rose-list-action-bg: #fffaf6;
  --rose-list-action-bg-hover: #fff0e7;
  --rose-list-action-shadow: rgba(255, 136, 72, 0.12);
  --rose-list-action-step: rgba(216, 95, 35, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--rose-list-action-height);
  min-height: var(--rose-list-action-height);
  padding: 0 12px;
  border-color: var(--rose-list-action-border);
  border-radius: 12px;
  background: var(--rose-list-action-bg);
  color: var(--rose-list-action-color);
  box-shadow:
    0 3px 0 var(--rose-list-action-step),
    0 10px 20px var(--rose-list-action-shadow);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.library-action-grid > .library-action-btn,
.library-action-grid > .library-action-btn-wide {
  min-height: var(--rose-list-action-height);
}

:is(
  .list-item-actions,
  .share-item-actions,
  .transfer-history-actions,
  .transfer-record-actions,
  .transfer-transfer-actions,
  .transfer-organize-inline-actions,
  .archive-organize-transfer-row-actions,
  .transfer-channel-actions,
  .transfer-record-resource-actions,
  .transfer-subscription-progress-actions,
  .emby-user-table-actions
) > :is(button:hover, button:focus-visible):not(:disabled),
.library-action-grid > .library-action-btn:is(:hover, :focus-visible):not(:disabled) {
  border-color: var(--rose-list-action-border);
  background: var(--rose-list-action-bg-hover);
  color: var(--rose-list-action-color);
  box-shadow:
    0 3px 0 var(--rose-list-action-step),
    0 12px 22px var(--rose-list-action-shadow);
  transform: translateY(-1px);
}

:is(
  .list-item-actions,
  .share-item-actions,
  .transfer-history-actions,
  .transfer-record-actions,
  .transfer-transfer-actions,
  .transfer-organize-inline-actions,
  .archive-organize-transfer-row-actions,
  .transfer-channel-actions,
  .transfer-record-resource-actions,
  .transfer-subscription-progress-actions,
  .emby-user-table-actions
) > button:active:not(:disabled),
.library-action-grid > .library-action-btn:active:not(:disabled) {
  box-shadow:
    0 1px 0 var(--rose-list-action-step),
    0 7px 14px var(--rose-list-action-shadow);
  transform: translateY(1px);
}

:is(
  .list-item-actions,
  .share-item-actions,
  .transfer-history-actions,
  .transfer-record-actions,
  .transfer-transfer-actions,
  .transfer-organize-inline-actions,
  .archive-organize-transfer-row-actions,
  .transfer-channel-actions,
  .transfer-record-resource-actions,
  .transfer-subscription-progress-actions,
  .emby-user-table-actions
) > :is(button:disabled, .status-pill),
.library-action-grid > .library-action-btn:disabled {
  transform: none;
}

:is(
  .list-item-actions,
  .share-item-actions,
  .transfer-history-actions,
  .transfer-record-actions,
  .transfer-transfer-actions,
  .transfer-organize-inline-actions,
  .archive-organize-transfer-row-actions,
  .transfer-channel-actions,
  .transfer-record-resource-actions,
  .transfer-subscription-progress-actions,
  .emby-user-table-actions
) > :is(.button-success, .status-pill.good),
.transfer-subscription-progress-actions > .soft-pills > .status-pill.good,
.library-action-grid > .button-success {
  --rose-list-action-color: var(--rose-spa-mint-strong);
  --rose-list-action-border: rgba(18, 199, 163, 0.34);
  --rose-list-action-bg-hover: #e7fff7;
  --rose-list-action-shadow: rgba(18, 199, 163, 0.11);
  --rose-list-action-step: rgba(11, 150, 124, 0.16);
}

:is(
  .list-item-actions,
  .share-item-actions,
  .transfer-history-actions,
  .transfer-record-actions,
  .transfer-transfer-actions,
  .transfer-organize-inline-actions,
  .archive-organize-transfer-row-actions,
  .transfer-channel-actions,
  .transfer-record-resource-actions,
  .transfer-subscription-progress-actions,
  .emby-user-table-actions
) > :is(.button-danger, .status-pill.bad),
.transfer-subscription-progress-actions > .soft-pills > .status-pill.bad,
.library-action-grid > .button-danger {
  --rose-list-action-color: #b4233a;
  --rose-list-action-border: #ffc0d3;
  --rose-list-action-bg-hover: #fff1f5;
  --rose-list-action-shadow: rgba(255, 95, 148, 0.12);
  --rose-list-action-step: rgba(180, 35, 58, 0.14);
}

:is(
  .list-item-actions,
  .share-item-actions,
  .transfer-history-actions,
  .transfer-record-actions,
  .transfer-transfer-actions,
  .transfer-organize-inline-actions,
  .archive-organize-transfer-row-actions,
  .transfer-channel-actions,
  .transfer-record-resource-actions,
  .transfer-subscription-progress-actions,
  .emby-user-table-actions
) > :is(.button-warm, .button-ember, .status-pill.warn),
.transfer-subscription-progress-actions > .soft-pills > .status-pill.warn,
.library-action-grid > :is(.button-warm, .button-ember) {
  --rose-list-action-color: #9a4b18;
  --rose-list-action-border: #ffc184;
  --rose-list-action-bg-hover: #fff4e7;
  --rose-list-action-shadow: rgba(255, 158, 72, 0.12);
  --rose-list-action-step: rgba(154, 75, 24, 0.14);
}

:is(
  .list-item-actions,
  .share-item-actions,
  .transfer-history-actions,
  .transfer-record-actions,
  .transfer-transfer-actions,
  .transfer-organize-inline-actions,
  .archive-organize-transfer-row-actions,
  .transfer-channel-actions,
  .transfer-record-resource-actions,
  .transfer-subscription-progress-actions,
  .emby-user-table-actions
) > .button-cyan,
.library-action-grid > .button-cyan {
  --rose-list-action-color: #0b7285;
  --rose-list-action-border: #9edfea;
  --rose-list-action-bg-hover: #e4fbfe;
  --rose-list-action-shadow: rgba(11, 114, 133, 0.11);
  --rose-list-action-step: rgba(11, 114, 133, 0.14);
}

@media (max-width: 780px) {
  .workspace-title h1,
  .workspace-header:has(.workspace-back-button:not(.hidden)) .workspace-title h1 {
    font-size: 23px;
  }

  .mobile-header-clear-button.is-danger:not(.hidden) {
    border-color: rgba(214, 69, 69, 0.24);
    background: rgba(214, 69, 69, 0.08);
    color: var(--semi-color-danger);
  }
}

@media (max-width: 640px) {
  .workspace-title h1,
  .workspace-header:has(.workspace-back-button:not(.hidden)) .workspace-title h1 {
    font-size: 21px;
  }
}

.view-mount[data-view="sync"] > .page-toolbar > .toolbar-inline > .view-tabs .view-tab:not(.active):hover,
.view-mount[data-view="accounts"] .account-tab-controls .view-tab:not(.active):hover,
.view-mount[data-view="embyUsers"] .emby-combined-tab-controls .view-tab:not(.active):hover,
.view-mount[data-view="cookiePool"] .cookie-pool-tabs .view-tab:not(.active):hover,
.view-mount[data-view="cookiePool"] .cookie-pool-window-tabs .view-tab:not(.active):hover,
.view-mount[data-view="system"] .system-config-tab-list .view-tab:not(.active):hover,
.view-mount[data-view="transferCenter"] .transfer-center-tab:not(.active):hover,
.view-mount[data-view="archiveOrganize"] .transfer-center-tab:not(.active):hover {
  color: var(--rose-spa-primary-strong);
  background: rgba(255, 136, 72, 0.08);
}

.view-mount[data-view="sync"] > .page-toolbar > .toolbar-inline > .view-tabs .view-tab.active,
.view-mount[data-view="accounts"] .account-tab-controls .view-tab.active,
.view-mount[data-view="embyUsers"] .emby-combined-tab-controls .view-tab.active,
.view-mount[data-view="cookie"] > .user-cookie-bind-tab-panel .user-cookie-bind-tabs .view-tab.active,
.view-mount[data-view="cookie"] .page-toolbar .user-cookie-bind-tabs .view-tab.active,
.view-mount[data-view="cookiePool"] .cookie-pool-tabs .view-tab.active,
.view-mount[data-view="cookiePool"] .cookie-pool-window-tabs .view-tab.active,
.view-mount[data-view="system"] .system-config-tab-list .view-tab.active,
.view-mount[data-view="transferCenter"] .transfer-center-tab.active,
.view-mount[data-view="archiveOrganize"] .transfer-center-tab.active {
  color: var(--rose-spa-primary-strong);
}

.view-mount[data-view="sync"] > .page-toolbar > .toolbar-inline > .view-tabs .view-tab.active::after,
.view-mount[data-view="accounts"] .account-tab-controls .view-tab.active::after,
.view-mount[data-view="embyUsers"] .emby-combined-tab-controls .view-tab.active::after,
.view-mount[data-view="cookie"] > .user-cookie-bind-tab-panel .user-cookie-bind-tabs .view-tab.active::after,
.view-mount[data-view="cookie"] .page-toolbar .user-cookie-bind-tabs .view-tab.active::after,
.view-mount[data-view="cookiePool"] .cookie-pool-tabs .view-tab.active::after,
.view-mount[data-view="cookiePool"] .cookie-pool-window-tabs .view-tab.active::after,
.view-mount[data-view="system"] .system-config-tab-list .view-tab.active::after,
.view-mount[data-view="transferCenter"] .transfer-center-tab.active::after,
.view-mount[data-view="archiveOrganize"] .transfer-center-tab.active::after {
  background: var(--rose-spa-primary);
}

.transfer-center-shell .transfer-center-tabs,
.transfer-subscription-progress-status-tabs,
.transfer-mode-tabs,
.transfer-resource-link-tabs,
.transfer-resource-pan-tabs,
.transfer-resource-source-tabs {
  border-color: var(--rose-spa-border);
  background: rgba(255, 240, 231, 0.78);
}

.transfer-filter-chip.active,
.transfer-resource-link-tabs button.active,
.transfer-resource-pan-tabs button.active,
.transfer-resource-source-tabs button.active,
.transfer-record-resource-tabs button.active,
.transfer-records-side-tab.active,
.transfer-subscription-progress-status-tab.active,
.transfer-subscription-progress-menu-item.active {
  border-color: rgba(255, 136, 72, 0.32);
  background: var(--rose-spa-primary-veil);
  color: var(--rose-spa-primary-strong);
  box-shadow: inset 0 0 0 1px rgba(255, 136, 72, 0.08);
}

.transfer-records-side-tab.active,
.transfer-subscription-progress-menu-item.active {
  box-shadow: inset 3px 0 0 var(--rose-spa-primary);
}

.transfer-filter-chip.icon-only.active {
  border-color: var(--rose-spa-primary);
  background: rgba(255, 136, 72, 0.14);
  box-shadow:
    0 0 0 3px rgba(255, 136, 72, 0.12),
    0 8px 18px rgba(255, 136, 72, 0.16);
}

.transfer-filter-chip.icon-only.active::after,
.transfer-record-search-submit,
.transfer-mode-tabs button.active,
.transfer-resource-existing-modes label:has(input:checked),
.transfer-record-search-kind-chip.active {
  border-color: #ffad82;
  background: linear-gradient(180deg, #ff9957 0%, var(--rose-spa-primary) 100%);
  color: #ffffff;
}

.view-mount[data-view="playbackRecords"] .playback-record-table-head,
.view-mount[data-view="playbackRecords"] .playback-record-player-media {
  border-color: rgba(255, 136, 72, 0.16);
  background: linear-gradient(180deg, #ffffff 0%, #fff4ed 100%);
}

.view-mount[data-view="playbackRecords"] .playback-record-table-head,
.view-mount[data-view="playbackRecords"] .playback-record-type,
.view-mount[data-view="playbackRecords"] .playback-record-player-placeholder {
  color: var(--rose-spa-primary-strong);
}

.tg-discover-search-shell,
.tg-discover-search-dialog,
.tg-discover-search-result,
.tg-discover-search-keycap,
.tg-poster-card,
.tg-subscribed-card {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #ffffff 0%, #fff7f1 100%);
}

.tg-discover-search-dialog {
  box-shadow: 0 32px 60px rgba(113, 70, 42, 0.18);
}

.tg-discover-search-head,
.tg-discover-search-toolbar,
.tg-discover-search-foot {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #ffffff 0%, #fff4ed 100%);
}

.tg-discover-search-body {
  background: linear-gradient(180deg, rgba(255, 247, 241, 0.9) 0%, rgba(255, 253, 249, 0.98) 100%);
}

.tg-discover-search-icon,
.tg-discover-search-result-copy strong,
.tg-discover-search-result-head .status-pill.accent {
  color: var(--rose-spa-primary-strong);
}

.tg-discover-search-head .modal-close-button {
  border-color: #ffcfb7;
  background: #fffaf6;
  color: var(--rose-spa-text);
}

.view-mount[data-view="embyLibraryPoster"] .emby-browser-stage .emby-browser-head .emby-search-trigger.button-ghost {
  border-color: #ffcfb7;
  background: #fffaf6;
  color: var(--rose-spa-primary);
  box-shadow: 0 8px 20px rgba(255, 136, 72, 0.12);
}

.view-mount[data-view="embyLibraryPoster"] .emby-browser-stage .emby-browser-head .emby-search-trigger.button-ghost:hover,
.view-mount[data-view="embyLibraryPoster"] .emby-browser-stage .emby-browser-head .emby-search-trigger.button-ghost:focus-visible {
  border-color: #ffad82;
  background: #fff0e7;
  color: var(--rose-spa-primary-strong);
  box-shadow: 0 0 0 3px rgba(255, 136, 72, 0.12), 0 10px 22px rgba(255, 136, 72, 0.16);
}

.tg-discover-search-result-media,
.tg-poster-card-media,
.tg-subscribed-card-media,
.tg-completed-card-media,
.tg-task-editor-poster,
.emby-missing-episode-media {
  background: linear-gradient(180deg, rgba(255, 136, 72, 0.08) 0%, rgba(255, 240, 231, 0.88) 100%);
}

.tg-discover-search-result:hover .tg-discover-search-result-media,
.tg-poster-card:hover .tg-poster-card-media,
.tg-subscribed-card:hover .tg-subscribed-card-media,
.tg-completed-card:hover .tg-completed-card-media {
  box-shadow: 0 18px 34px rgba(113, 70, 42, 0.16), 0 0 18px rgba(255, 136, 72, 0.12);
}

.tg-discover-search-result:hover .tg-discover-search-result-media::after,
.tg-poster-card:hover .tg-poster-card-media::after,
.tg-subscribed-card:hover .tg-subscribed-card-media::after,
.tg-completed-card:hover .tg-completed-card-media::after {
  background: rgba(255, 136, 72, 0.08);
}

.tg-poster-stage {
  border-color: var(--rose-spa-border);
  background:
    radial-gradient(circle at top left, rgba(255, 136, 72, 0.1), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 95, 148, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fff7f1 100%);
}

.tg-poster-stage .view-tabs {
  border-color: var(--rose-spa-border);
  background: rgba(255, 240, 231, 0.88);
}

.tg-poster-stage .view-tab.active {
  background: linear-gradient(180deg, #ffffff 0%, var(--rose-spa-primary-soft) 100%);
  color: var(--rose-spa-primary-strong);
  box-shadow:
    inset 0 0 0 1px rgba(255, 136, 72, 0.1),
    0 8px 20px rgba(255, 136, 72, 0.16);
}

.emby-cover-maker-library-tab.is-active,
.emby-cover-maker-library-tab:hover {
  border-color: #ffad82;
  box-shadow: 0 20px 38px rgba(255, 136, 72, 0.13);
}

.emby-cover-maker-library-tab.is-active {
  background:
    radial-gradient(circle at 0 0, rgba(255, 136, 72, 0.16) 0%, rgba(255, 136, 72, 0) 54%),
    linear-gradient(180deg, #ffffff 0%, #fff0e7 100%);
}

.emby-cover-maker-library-thumb {
  background: linear-gradient(135deg, #c7531f 0%, var(--rose-spa-primary) 58%, #ffb15f 100%);
  color: #fffdf9;
}

.detail-modal-card:has(.plugin-modal-footer-toggle),
.detail-modal-card:has(.autobind-plugin-settings),
.detail-modal-card:has(.brand-plugin-settings),
.detail-modal-card:has(.rosebot-plugin-settings) {
  border-color: var(--rose-spa-border);
  box-shadow: 0 30px 70px rgba(113, 70, 42, 0.18);
}

.detail-modal-card:has(.plugin-modal-footer-toggle) .detail-modal-head,
.detail-modal-card:has(.autobind-plugin-settings) .detail-modal-head,
.detail-modal-card:has(.brand-plugin-settings) .detail-modal-head,
.detail-modal-card:has(.rosebot-plugin-settings) .detail-modal-head {
  border-bottom-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #ffffff 0%, #fff4ed 100%);
}

.detail-modal-card:has(.plugin-modal-footer-toggle) .detail-modal-body,
.detail-modal-card:has(.autobind-plugin-settings) .detail-modal-body,
.detail-modal-card:has(.brand-plugin-settings) .detail-modal-body,
.detail-modal-card:has(.rosebot-plugin-settings) .detail-modal-body {
  background: #fff7f1;
}

.detail-modal-card:has(.plugin-modal-footer-toggle) .card-section,
.detail-modal-card:has(.autobind-plugin-settings) .card-section,
.detail-modal-card:has(.brand-plugin-settings) .card-section,
.detail-modal-card:has(.rosebot-plugin-settings) .card-section {
  border-color: var(--rose-spa-border);
  background: rgba(255, 253, 249, 0.94);
}

.compat-plugin-modal-note.is-warn,
.plugin-modal-footer-toggle-copy strong {
  color: var(--rose-spa-primary-strong);
}

.detail-modal-card:has(.emby-missing-detail),
.detail-modal-card:has(.emby-missing-detail) .detail-modal-foot {
  background: #fff7f1;
}

.detail-modal-card:has(.emby-missing-detail) .detail-modal-body {
  background:
    radial-gradient(circle at 6% 0%, rgba(255, 136, 72, 0.1), transparent 30%),
    linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.detail-modal-card:has(.emby-missing-detail) .card-section,
.emby-missing-detail .card-section {
  border-color: var(--rose-spa-border);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 136, 72, 0.12), transparent 34%),
    linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.emby-missing-detail .summary-card,
.emby-missing-detail .empty-state,
.emby-missing-detail .emby-missing-group,
.emby-missing-detail .emby-missing-episode-card {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fffaf6 0%, #ffeede 100%);
}

.view-mount[data-view="embyUsers"] .emby-users-table-body,
.view-mount[data-view="embyUsers"] .list-shell-users .list-stack {
  border-radius: 8px;
  background: rgba(255, 240, 231, 0.52);
}

.view-mount[data-view="embyUsers"] .emby-user-table-row:hover,
.view-mount[data-view="embyUsers"] .list-shell-users .list-item:hover {
  background: linear-gradient(180deg, #fff0e7 0%, #ffe6d7 100%);
}

.view-mount[data-view="playbackRecords"] .playback-record-table-shell,
.view-mount[data-view="playbackRecords"] .playback-record-table-body {
  border-radius: 8px;
  background: rgba(255, 240, 231, 0.48);
}

.view-mount[data-view="playbackRecords"] .playback-record-row {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.view-mount[data-view="transferCenter"] .panel,
.view-mount[data-view="archiveOrganize"] .panel,
.view-mount[data-view="transferCenter"] .transfer-filter-panel,
.view-mount[data-view="archiveOrganize"] .transfer-filter-panel,
.view-mount[data-view="transferCenter"] .transfer-config-panel,
.view-mount[data-view="archiveOrganize"] .transfer-config-panel,
.view-mount[data-view="transferCenter"] .transfer-history-panel,
.view-mount[data-view="archiveOrganize"] .transfer-history-panel {
  border-color: var(--rose-spa-border);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 136, 72, 0.1), transparent 30%),
    linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
  box-shadow: 0 18px 38px rgba(113, 70, 42, 0.1), 0 8px 22px rgba(255, 136, 72, 0.08);
}

.view-mount[data-view="transferCenter"] .transfer-resource-filter-config,
.view-mount[data-view="archiveOrganize"] .transfer-resource-filter-config,
.view-mount[data-view="transferCenter"] .transfer-channel-row,
.view-mount[data-view="archiveOrganize"] .transfer-channel-row,
.view-mount[data-view="transferCenter"] .transfer-record-resource-card,
.view-mount[data-view="archiveOrganize"] .transfer-record-resource-card,
.view-mount[data-view="transferCenter"] .transfer-subscription-progress-card,
.view-mount[data-view="archiveOrganize"] .transfer-subscription-progress-card {
  border-color: #ffcfb7;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.96) 0%, rgba(255, 238, 222, 0.92) 100%),
    var(--rose-spa-primary-soft);
}

.view-mount[data-view="transferCenter"] .transfer-subscription-config,
.view-mount[data-view="archiveOrganize"] .transfer-subscription-config {
  background: transparent;
}

.view-mount[data-view="transferCenter"] .transfer-channel-row.is-builtin,
.view-mount[data-view="archiveOrganize"] .transfer-channel-row.is-builtin {
  background:
    linear-gradient(180deg, rgba(255, 247, 241, 0.98) 0%, rgba(255, 232, 216, 0.9) 100%),
    var(--rose-spa-primary-soft);
}

.view-mount[data-view="transferCenter"] .transfer-config-head,
.view-mount[data-view="archiveOrganize"] .transfer-config-head,
.view-mount[data-view="transferCenter"] .transfer-subsection-title,
.view-mount[data-view="archiveOrganize"] .transfer-subsection-title {
  border-radius: 8px;
  background: rgba(255, 232, 216, 0.42);
}

.tg-discover-search-dialog,
.tg-discover-search-body,
.tg-discover-search-results,
.tg-poster-stage,
.tg-subscribed-stage,
.emby-browser-stage {
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 136, 72, 0.1), transparent 30%),
    linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.tg-discover-search-result,
.tg-poster-card,
.tg-subscribed-card,
.tg-completed-card,
.emby-library-card,
.emby-library-media-card {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.detail-modal-card:has(.plugin-modal-footer-toggle) .card-section,
.detail-modal-card:has(.autobind-plugin-settings) .card-section,
.detail-modal-card:has(.brand-plugin-settings) .card-section,
.detail-modal-card:has(.rosebot-plugin-settings) .card-section,
.detail-modal-card:has(.plugin-modal-footer-toggle) .summary-card,
.detail-modal-card:has(.autobind-plugin-settings) .summary-card,
.detail-modal-card:has(.brand-plugin-settings) .summary-card,
.detail-modal-card:has(.rosebot-plugin-settings) .summary-card {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.detail-modal-card:has(.plugin-modal-footer-toggle),
.detail-modal-card:has(.autobind-plugin-settings),
.detail-modal-card:has(.brand-plugin-settings),
.detail-modal-card:has(.rosebot-plugin-settings),
.detail-modal-card:has(.plugin-modal-footer-toggle) .detail-modal-foot,
.detail-modal-card:has(.autobind-plugin-settings) .detail-modal-foot,
.detail-modal-card:has(.brand-plugin-settings) .detail-modal-foot,
.detail-modal-card:has(.rosebot-plugin-settings) .detail-modal-foot {
  background: #fff7f1;
}

.tg-discover-search-head,
.tg-discover-search-toolbar,
.tg-discover-search-foot,
.view-mount[data-view="playbackRecords"] .playback-record-table-head,
.view-mount[data-view="playbackRecords"] .playback-record-player-media {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.view-mount[data-view="transferCenter"] .transfer-config-panel-icon,
.view-mount[data-view="archiveOrganize"] .transfer-config-panel-icon {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
  color: var(--rose-spa-primary-strong);
}

.detail-modal-card:has(.emby-detail-grid),
.detail-modal-card:has(.admin-emby-bind-section),
.detail-modal-card:has(.library-binding-detail-grid),
.detail-modal-card:has(.emby-target-account-modal-body),
.detail-modal-card:has(.compat-plugin-modal-note) {
  border-color: var(--rose-spa-border);
  background: #fff7f1;
  box-shadow: 0 30px 70px rgba(113, 70, 42, 0.18);
}

.detail-modal-card:has(.emby-detail-grid) .detail-modal-head,
.detail-modal-card:has(.admin-emby-bind-section) .detail-modal-head,
.detail-modal-card:has(.library-binding-detail-grid) .detail-modal-head,
.detail-modal-card:has(.emby-target-account-modal-body) .detail-modal-head,
.detail-modal-card:has(.compat-plugin-modal-note) .detail-modal-head,
.detail-modal-card:has(.emby-detail-grid) .detail-modal-foot,
.detail-modal-card:has(.admin-emby-bind-section) .detail-modal-foot,
.detail-modal-card:has(.library-binding-detail-grid) .detail-modal-foot,
.detail-modal-card:has(.emby-target-account-modal-body) .detail-modal-foot,
.detail-modal-card:has(.compat-plugin-modal-note) .detail-modal-foot {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.detail-modal-card:has(.emby-detail-grid) .detail-modal-body,
.detail-modal-card:has(.admin-emby-bind-section) .detail-modal-body,
.detail-modal-card:has(.library-binding-detail-grid) .detail-modal-body,
.detail-modal-card:has(.emby-target-account-modal-body) .detail-modal-body,
.detail-modal-card:has(.compat-plugin-modal-note) .detail-modal-body {
  background:
    radial-gradient(circle at 6% 0%, rgba(255, 136, 72, 0.1), transparent 30%),
    linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.detail-modal-card:has(.emby-detail-grid) .card-section,
.detail-modal-card:has(.admin-emby-bind-section) .card-section,
.detail-modal-card:has(.library-binding-detail-grid) .card-section,
.detail-modal-card:has(.emby-target-account-modal-body) .card-section,
.detail-modal-card:has(.compat-plugin-modal-note) .card-section,
.detail-modal-card:has(.emby-detail-grid) .summary-card,
.detail-modal-card:has(.admin-emby-bind-section) .summary-card,
.detail-modal-card:has(.library-binding-detail-grid) .summary-card,
.detail-modal-card:has(.emby-target-account-modal-body) .summary-card,
.detail-modal-card:has(.compat-plugin-modal-note) .summary-card,
.detail-modal-card:has(.compat-plugin-modal-note) .empty-state,
.detail-modal-card:has(.compat-plugin-modal-note) .share-tree-empty {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fffaf6 0%, #ffeede 100%);
}

.detail-modal-card:has(.admin-emby-bind-section) .library-binding-card,
.detail-modal-card:has(.library-binding-detail-grid) .library-binding-card,
.detail-modal-card:has(.emby-detail-grid) .library-binding-card,
.detail-modal-card:has(.admin-emby-bind-section) .library-binding-card.is-enabled,
.detail-modal-card:has(.library-binding-detail-grid) .library-binding-card.is-enabled,
.detail-modal-card:has(.emby-detail-grid) .library-binding-card.is-enabled,
.detail-modal-card:has(.emby-target-account-modal-body) .emby-target-account-list-group,
.detail-modal-card:has(.emby-target-account-modal-body) .emby-target-account-list-row,
.detail-modal-card:has(.emby-detail-grid) .emby-target-binding-group,
.detail-modal-card:has(.emby-detail-grid) .emby-target-binding-row {
  border-color: #ffcfb7;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 238, 222, 0.94) 100%),
    var(--rose-spa-primary-soft);
}

.detail-modal-card:has(.admin-emby-bind-section) input:not([type="checkbox"]),
.detail-modal-card:has(.admin-emby-bind-section) select,
.detail-modal-card:has(.admin-emby-bind-section) textarea,
.detail-modal-card:has(.library-binding-detail-grid) input:not([type="checkbox"]),
.detail-modal-card:has(.library-binding-detail-grid) select,
.detail-modal-card:has(.library-binding-detail-grid) textarea,
.detail-modal-card:has(.emby-detail-grid) .field-static-value,
.detail-modal-card:has(.admin-emby-bind-section) .field-static-value,
.detail-modal-card:has(.library-binding-detail-grid) .field-static-value,
.detail-modal-card:has(.admin-emby-bind-section) .secret-textarea {
  border-color: #ffcfb7;
  background: #fffaf6;
}

.detail-modal-card:has(.compat-plugin-modal-note) input:not([type="checkbox"]),
.detail-modal-card:has(.compat-plugin-modal-note) select,
.detail-modal-card:has(.compat-plugin-modal-note) textarea,
.detail-modal-card:has(.plugin-modal-footer-toggle) input:not([type="checkbox"]),
.detail-modal-card:has(.plugin-modal-footer-toggle) select,
.detail-modal-card:has(.plugin-modal-footer-toggle) textarea,
.detail-modal-card:has(.autobind-plugin-settings) .autobind-command-panel,
.detail-modal-card:has(.autobind-plugin-settings) .autobind-run-panel,
.detail-modal-card:has(.autobind-plugin-settings) .autobind-summary-card,
.detail-modal-card:has(.rosebot-plugin-settings) .rosebot-summary-card,
.detail-modal-card:has(.brand-plugin-settings) .brand-preview-shell {
  border-color: #ffcfb7;
  background: #fffaf6;
}

.view-mount[data-view="transferCenter"] .transfer-subscription-progress-panel,
.view-mount[data-view="transferCenter"] .transfer-records-side-tabs,
.view-mount[data-view="transferCenter"] .transfer-subscription-progress-detail,
.view-mount[data-view="archiveOrganize"] .archive-organize-config-panel {
  border-color: var(--rose-spa-border);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 136, 72, 0.1), transparent 30%),
    linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.view-mount[data-view="transferCenter"] .transfer-subscription-progress-panel .panel-head,
.view-mount[data-view="archiveOrganize"] .archive-organize-config-panel .panel-head {
  border: 1px solid rgba(255, 207, 183, 0.72);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 232, 216, 0.42);
}

.view-mount[data-view="transferCenter"] .transfer-subscription-progress-card,
.view-mount[data-view="transferCenter"] .transfer-subscription-progress-menu-item,
.view-mount[data-view="transferCenter"] .transfer-subscription-season-progress,
.view-mount[data-view="transferCenter"] .transfer-subscription-upgrade-section,
.view-mount[data-view="archiveOrganize"] .archive-organize-post-transfer-panel,
.view-mount[data-view="archiveOrganize"] .archive-organize-transfer-template-panel,
.view-mount[data-view="archiveOrganize"] .archive-organize-transfer-conflict-panel,
.view-mount[data-view="archiveOrganize"] .archive-organize-template-token,
.view-mount[data-view="archiveOrganize"] .archive-organize-transfer-summary,
.view-mount[data-view="archiveOrganize"] .archive-organize-transfer-chain-step {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fffaf6 0%, #ffeede 100%);
}

.view-mount[data-view="transferCenter"] .transfer-subscription-progress-card,
.view-mount[data-view="transferCenter"] .transfer-subscription-season-progress,
.view-mount[data-view="transferCenter"] .transfer-subscription-upgrade-section {
  border: 1px solid #ffcfb7;
  border-radius: 8px;
  padding: 12px;
}

.view-mount[data-view="transferCenter"] .transfer-subscription-progress-card:first-child {
  border-top: 1px solid #ffcfb7;
  padding-top: 12px;
}

.view-mount[data-view="transferCenter"] .transfer-history-table,
.view-mount[data-view="archiveOrganize"] .transfer-history-table {
  display: grid;
  gap: 12px;
  padding: 6px;
  border-radius: 8px;
  background: rgba(255, 240, 231, 0.5);
}

.view-mount[data-view="transferCenter"] .transfer-history-row,
.view-mount[data-view="archiveOrganize"] .transfer-history-row {
  border: 1px solid #ffcfb7;
  border-radius: 8px;
  padding: 14px 16px;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 238, 222, 0.92) 100%),
    var(--rose-spa-primary-soft);
  box-shadow: 0 10px 24px rgba(113, 70, 42, 0.08);
}

.view-mount[data-view="transferCenter"] .transfer-history-row:first-child,
.view-mount[data-view="archiveOrganize"] .transfer-history-row:first-child {
  border-top: 1px solid #ffcfb7;
}

.view-mount[data-view="transferCenter"] .transfer-history-cover,
.view-mount[data-view="archiveOrganize"] .transfer-history-cover,
.view-mount[data-view="transferCenter"] .transfer-subscription-progress-cover {
  border: 1px solid #ffcfb7;
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
  box-shadow: 0 8px 18px rgba(113, 70, 42, 0.12);
  justify-self: start;
}

.view-mount[data-view="transferCenter"] .transfer-history-actions,
.view-mount[data-view="archiveOrganize"] .transfer-history-actions,
.view-mount[data-view="transferCenter"] .transfer-transfer-footer,
.view-mount[data-view="archiveOrganize"] .transfer-record-info-column,
.view-mount[data-view="transferCenter"] .transfer-record-info-column {
  border-radius: 8px;
  background: rgba(255, 240, 231, 0.48);
}

.view-mount[data-view="transferCenter"] .transfer-history-actions,
.view-mount[data-view="archiveOrganize"] .transfer-history-actions {
  padding: 8px;
}

.view-mount[data-view="transferCenter"] .transfer-transfer-footer,
.view-mount[data-view="archiveOrganize"] .transfer-record-info-column,
.view-mount[data-view="transferCenter"] .transfer-record-info-column {
  padding: 10px;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-detail-cell,
.view-mount[data-view="archiveOrganize"] .transfer-organize-details {
  border-radius: 8px;
  background: rgba(255, 240, 231, 0.48);
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-detail-cell {
  padding: 10px;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-details {
  border: 1px solid #ffcfb7;
  overflow: hidden;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-details > summary {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-root {
  border-top-color: #ffcfb7;
  display: grid;
  gap: 8px;
  padding: 10px 12px 12px 18px;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 238, 222, 0.92) 100%),
    var(--rose-spa-primary-soft);
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-list {
  border-left-color: #ffcfb7;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-node,
.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-node > details {
  display: grid;
  gap: 8px;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-list .transfer-organize-tree-list {
  gap: 8px;
  margin-left: 18px;
  padding-left: 14px;
  border-left: 1px dashed #ffcfb7;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-node summary,
.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-file {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 207, 183, 0.72);
  padding: 0 12px;
  background: linear-gradient(180deg, #fffaf6 0%, #ffeede 100%);
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-node summary::before {
  display: inline-flex;
  width: 28px;
  min-width: 28px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffcfb7;
  border-radius: 999px;
  background: #fffaf6;
  color: var(--rose-spa-primary-strong);
  content: "▸";
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-node details[open] > summary::before {
  content: "▾";
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-node summary > .transfer-action-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-node summary span {
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 780;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-node summary em {
  margin-left: auto;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-node summary:hover,
.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-file:hover {
  border-color: #ffbd98;
  background: linear-gradient(180deg, #fff6ef 0%, #ffe8d6 100%);
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-file-dot {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  border: 1px solid #ffcfb7;
  border-radius: 999px;
  background: #fffaf6;
  color: var(--rose-spa-primary-strong);
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-file-dot::before {
  content: "•";
  font-size: 16px;
  line-height: 1;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-file div {
  min-width: 0;
}

.view-mount[data-view="archiveOrganize"] .transfer-organize-tree-file strong {
  font-size: 14px;
  font-weight: 760;
}

.view-mount[data-view="archiveOrganize"] .archive-organize-config-panel input:not([type="checkbox"]),
.view-mount[data-view="archiveOrganize"] .archive-organize-config-panel select,
.view-mount[data-view="archiveOrganize"] .archive-organize-picker-trigger,
.view-mount[data-view="archiveOrganize"] .archive-organize-toggle-control,
.view-mount[data-view="archiveOrganize"] .transfer-bordered-check-control,
.view-mount[data-view="archiveOrganize"] .archive-organize-template-token code {
  border-color: #ffcfb7;
  background: #fffaf6;
}

.detail-modal-card.archive-organize-transfer-card,
.detail-modal-card.archive-organize-target-picker-card {
  border-color: var(--rose-spa-border);
  background: #fff7f1;
  box-shadow: 0 30px 70px rgba(113, 70, 42, 0.18);
}

.detail-modal-card.archive-organize-transfer-card .detail-modal-head,
.detail-modal-card.archive-organize-target-picker-card .detail-modal-head,
.detail-modal-card.archive-organize-transfer-card .detail-modal-foot,
.detail-modal-card.archive-organize-target-picker-card .detail-modal-foot {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.detail-modal-card.archive-organize-transfer-card .detail-modal-body,
.detail-modal-card.archive-organize-target-picker-card .detail-modal-body {
  background:
    radial-gradient(circle at 7% 0%, rgba(255, 136, 72, 0.1), transparent 30%),
    linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.detail-modal-card.archive-organize-transfer-card .archive-organize-transfer-map,
.detail-modal-card.archive-organize-target-picker-card .archive-organize-target-dir-list {
  border-radius: 8px;
  background: rgba(255, 240, 231, 0.48);
}

.detail-modal-card.archive-organize-transfer-card .archive-organize-transfer-row,
.detail-modal-card.archive-organize-transfer-card .archive-organize-transfer-row.is-linked,
.detail-modal-card.archive-organize-target-picker-card .archive-organize-target-current,
.detail-modal-card.archive-organize-target-picker-card .archive-organize-target-create,
.detail-modal-card.archive-organize-target-picker-card .archive-organize-target-selected,
.detail-modal-card.archive-organize-target-picker-card .archive-organize-target-dir-row,
.detail-modal-card.archive-organize-target-picker-card .archive-organize-target-dir-row.is-selected,
.detail-modal-card.archive-organize-transfer-card .empty-state,
.detail-modal-card.archive-organize-target-picker-card .empty-state {
  border-color: #ffcfb7;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 238, 222, 0.92) 100%),
    var(--rose-spa-primary-soft);
  box-shadow: 0 10px 24px rgba(113, 70, 42, 0.08);
}

.detail-modal-card.archive-organize-transfer-card .archive-organize-transfer-row.is-drop-target {
  border-color: rgba(255, 136, 72, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 136, 72, 0.14);
}

.detail-modal-card.archive-organize-transfer-card .archive-organize-transfer-node {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fffaf6 0%, #ffeede 100%);
}

.detail-modal-card.archive-organize-transfer-card .archive-organize-link-rail::before {
  background: rgba(255, 190, 155, 0.82);
}

.detail-modal-card.archive-organize-transfer-card .archive-organize-link-rail span {
  background:
    linear-gradient(90deg, rgba(255, 136, 72, 0), rgba(255, 136, 72, 0.86), rgba(184, 93, 43, 0.9), rgba(255, 136, 72, 0));
  opacity: 0.38;
}

.detail-modal-card.archive-organize-transfer-card .archive-organize-link-rail.is-linked span {
  box-shadow: 0 0 16px rgba(255, 136, 72, 0.24);
}

.detail-modal-card.archive-organize-transfer-card .archive-organize-link-rail.is-linked::after {
  border-color: rgba(255, 111, 54, 0.92);
}

.detail-modal-card.archive-organize-transfer-card .archive-organize-transfer-drag-handle {
  background-image: radial-gradient(circle, rgba(184, 93, 43, 0.78) 1.4px, transparent 1.6px);
}

.detail-modal-card.archive-organize-target-picker-card input:not([type="checkbox"]),
.detail-modal-card.archive-organize-target-picker-card .archive-organize-target-selected code,
.detail-modal-card.archive-organize-target-picker-card .archive-organize-target-dir-row code {
  border-color: #ffcfb7;
  background: #fffaf6;
  color: var(--rose-spa-primary-strong);
}

.source-root-browser-modal .detail-modal-card {
  border-color: var(--rose-spa-border);
  background: #fff7f1;
  box-shadow: 0 30px 70px rgba(113, 70, 42, 0.18);
}

.source-root-browser-modal .detail-modal-head,
.source-root-browser-modal .detail-modal-foot {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.source-root-browser-modal .detail-modal-body {
  background:
    radial-gradient(circle at 7% 0%, rgba(255, 136, 72, 0.1), transparent 30%),
    linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.source-root-browser-modal .card-section {
  border-color: #ffcfb7;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 238, 222, 0.92) 100%),
    var(--rose-spa-primary-soft);
}

.source-root-browser-modal .card-section-title {
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 232, 216, 0.42);
}

.source-root-browser-modal .source-root-browser-summary,
.source-root-browser-modal .source-root-browser-tree {
  border: 1px solid #ffcfb7;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 238, 222, 0.92) 100%),
    var(--rose-spa-primary-soft);
  box-shadow: 0 10px 24px rgba(113, 70, 42, 0.08);
}

.source-root-browser-modal .source-root-browser-summary {
  padding: 12px 14px;
}

.source-root-browser-modal .source-root-browser-summary-main {
  border: 1px solid #ffcfb7;
  border-radius: 8px;
  padding: 12px;
  background: linear-gradient(180deg, #fffaf6 0%, #ffeede 100%);
}

.source-root-browser-modal .source-root-browser-tree {
  padding: 14px;
}

.source-root-browser-modal .share-tree-list[data-depth="1"],
.source-root-browser-modal .share-tree-list[data-depth="2"],
.source-root-browser-modal .share-tree-list[data-depth="3"],
.source-root-browser-modal .share-tree-list[data-depth="4"] {
  border-left-color: #ffcfb7;
}

.source-root-browser-modal .share-tree-node-row,
.source-root-browser-modal .source-root-browser-node-row.is-selected,
.source-root-browser-modal .share-tree-empty {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fffaf6 0%, #ffeede 100%);
  color: var(--rose-spa-ink);
}

.source-root-browser-modal .source-root-browser-node-row.is-selected {
  box-shadow:
    inset 0 0 0 1px rgba(255, 136, 72, 0.12),
    0 8px 18px rgba(113, 70, 42, 0.1);
}

.source-root-browser-modal .share-tree-node-row:hover {
  border-color: #ffbd98;
  background: linear-gradient(180deg, #fff6ef 0%, #ffe8d6 100%);
}

.source-root-browser-modal .share-tree-node-toggle,
.source-root-browser-modal .share-tree-node-toggle.is-placeholder {
  border-color: #ffcfb7;
  background: #fffaf6;
  color: var(--rose-spa-primary-strong);
}

.source-root-browser-modal .share-tree-node-toggle:not(:disabled):hover {
  border-color: #ffbd98;
  background: #fff0e7;
}

.source-root-browser-modal .share-tree-node-meta,
.source-root-browser-modal .source-root-browser-summary-path {
  color: #7e8a91;
}

.source-root-browser-modal .source-root-browser-select:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 136, 72, 0.18);
}

.view-mount[data-view="sync"] .share-tree-shell,
.view-mount[data-view="shares"] .share-tree-shell {
  border-top-color: #ffcfb7;
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 240, 231, 0.48);
}

.view-mount[data-view="sync"] .share-tree-source,
.view-mount[data-view="shares"] .share-tree-source,
.view-mount[data-view="sync"] .share-tree-tab-panel,
.view-mount[data-view="shares"] .share-tree-tab-panel {
  border-color: #ffcfb7;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 238, 222, 0.92) 100%),
    var(--rose-spa-primary-soft);
}

.view-mount[data-view="sync"] .share-tree-tabs {
  border-color: #ffcfb7;
  background: rgba(255, 232, 216, 0.48);
}

.view-mount[data-view="sync"] .share-tree-tab.is-active,
.view-mount[data-view="shares"] .share-tree-tab.is-active {
  border-color: #ffcfb7;
  border-bottom-color: #fffaf6;
  background: #fffaf6;
  color: var(--rose-spa-primary-strong);
}

.view-mount[data-view="sync"] .share-tree-search-input,
.view-mount[data-view="shares"] .share-tree-search-input {
  border-color: #ffcfb7;
  background: #fffaf6;
}

.view-mount[data-view="sync"] .share-tree-list[data-depth="1"],
.view-mount[data-view="sync"] .share-tree-list[data-depth="2"],
.view-mount[data-view="sync"] .share-tree-list[data-depth="3"],
.view-mount[data-view="sync"] .share-tree-list[data-depth="4"],
.view-mount[data-view="shares"] .share-tree-list[data-depth="1"],
.view-mount[data-view="shares"] .share-tree-list[data-depth="2"],
.view-mount[data-view="shares"] .share-tree-list[data-depth="3"],
.view-mount[data-view="shares"] .share-tree-list[data-depth="4"] {
  border-left-color: #ffcfb7;
}

.view-mount[data-view="sync"] .share-tree-node-row,
.view-mount[data-view="sync"] .share-tree-node.is-match .share-tree-node-row,
.view-mount[data-view="shares"] .share-tree-node-row,
.view-mount[data-view="shares"] .share-tree-node.is-match .share-tree-node-row,
.view-mount[data-view="sync"] .share-tree-empty,
.view-mount[data-view="shares"] .share-tree-empty {
  border-color: #ffcfb7;
  background: linear-gradient(180deg, #fffaf6 0%, #ffeede 100%);
  color: var(--rose-spa-ink);
}

.view-mount[data-view="sync"] .share-tree-node-row:hover,
.view-mount[data-view="shares"] .share-tree-node-row:hover {
  border-color: #ffbd98;
  background: linear-gradient(180deg, #fff6ef 0%, #ffe8d6 100%);
}

.view-mount[data-view="sync"] .share-tree-node-toggle,
.view-mount[data-view="sync"] .share-tree-node-toggle.is-placeholder,
.view-mount[data-view="shares"] .share-tree-node-toggle,
.view-mount[data-view="shares"] .share-tree-node-toggle.is-placeholder {
  border-color: #ffcfb7;
  background: #fffaf6;
  color: var(--rose-spa-primary-strong);
}

.view-mount[data-view="sync"] .share-tree-node-meta,
.view-mount[data-view="shares"] .share-tree-node-meta {
  color: #7e8a91;
}

.detail-modal-card:has([data-action="save-account"]) {
  border-color: var(--rose-spa-border);
  background: #fff7f1;
  box-shadow: 0 30px 70px rgba(113, 70, 42, 0.18);
}

.detail-modal-card:has([data-action="save-account"]) .detail-modal-head,
.detail-modal-card:has([data-action="save-account"]) .detail-modal-foot {
  border-color: var(--rose-spa-border);
  background: linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.detail-modal-card:has([data-action="save-account"]) .detail-modal-body {
  background:
    radial-gradient(circle at 6% 0%, rgba(255, 136, 72, 0.1), transparent 30%),
    linear-gradient(180deg, #fff7f1 0%, #fff0e7 100%);
}

.detail-modal-card:has([data-action="save-account"]) .card-section {
  border-color: #ffcfb7;
  background:
    linear-gradient(180deg, rgba(255, 250, 246, 0.98) 0%, rgba(255, 238, 222, 0.92) 100%),
    var(--rose-spa-primary-soft);
}

.detail-modal-card:has([data-action="save-account"]) .card-section-title {
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 232, 216, 0.42);
}

.detail-modal-card:has([data-action="save-account"]) input:not([type="checkbox"]),
.detail-modal-card:has([data-action="save-account"]) select,
.detail-modal-card:has([data-action="save-account"]) textarea,
.detail-modal-card:has([data-action="save-account"]) .secret-textarea,
.detail-modal-card:has([data-action="save-account"]) .field-static-value,
.detail-modal-card:has([data-action="save-account"]) .field-static-secret,
.detail-modal-card:has([data-action="save-account"]) .checkbox-row {
  border-color: #ffcfb7;
  background: #fffaf6;
}
