:root {
  --cc-accent: #2563eb;
  --cc-bg: rgba(255, 255, 255, 0.74);
  --cc-bg-solid: #f8faff;
  --cc-border: rgba(255, 255, 255, 0.38);
  --cc-shadow: 0 24px 60px rgba(15, 23, 42, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  --cc-rail: rgba(255, 255, 255, 0.55);
  --cc-row: rgba(255, 255, 255, 0.6);
  --cc-soft: rgba(37, 99, 235, 0.08);
  --cc-track: rgba(15, 23, 42, 0.12);
}

body.dark-mode {
  --cc-accent: #3b82f6;
  --cc-bg: rgba(15, 23, 42, 0.82);
  --cc-bg-solid: #0f172a;
  --cc-border: rgba(148, 163, 184, 0.2);
  --cc-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  --cc-rail: rgba(30, 41, 59, 0.5);
  --cc-row: rgba(148, 163, 184, 0.09);
  --cc-soft: rgba(59, 130, 246, 0.16);
  --cc-track: rgba(148, 163, 184, 0.22);
}

#userPopup {
  position: fixed;
  top: 74px;
  right: 20px;
  z-index: 3000;
  box-sizing: border-box;
  width: 344px;
  height: min(480px, calc(100vh - 104px));
  border-radius: 24px;
  overflow: hidden;
  background: var(--cc-bg);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--cc-border);
  box-shadow: var(--cc-shadow);
  color: var(--text-main);
  font-family: 'Inter', Arial, sans-serif;
  transform-origin: top right;
  animation: ccPop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

body.cc-glass-off #userPopup,
body.cc-glass-off .cc-focus-widget,
body.cc-glass-off .cc-logout-overlay {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.cc-glass-off {
  --cc-bg: var(--cc-bg-solid);
}

@keyframes ccPop {
  from { opacity: 0; transform: scale(0.92) translateY(-14px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

#userPopup::before {
  display: none;
}

#userPopup * {
  box-sizing: border-box;
}

.cc-shell {
  display: flex;
  height: 100%;
}

.cc-rail {
  position: relative;
  flex: none;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 0 10px;
  gap: 6px;
  background: var(--cc-rail);
  border-right: 1px solid var(--cc-border);
}

.cc-nav {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--text-sub);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.cc-nav:hover {
  background: var(--cc-soft);
  color: var(--text-main);
  transform: translateY(-1px);
}

.cc-nav.cc-active {
  color: var(--cc-accent);
  background: var(--cc-soft);
}

.cc-nav-logout {
  margin-top: auto;
}

.cc-nav-logout:hover {
  background: rgba(239, 68, 68, 0.13);
  color: #ef4444;
}

.cc-nav::after {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  padding: 6px 11px;
  border-radius: 10px;
  background: var(--cc-bg-solid);
  border: 1px solid var(--cc-border);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  z-index: 60;
}

.cc-nav:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.cc-pill {
  position: absolute;
  left: 10px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--cc-soft);
  border: 1px solid color-mix(in srgb, var(--cc-accent) 35%, transparent);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--cc-accent) 22%, transparent);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}

.cc-body {
  position: relative;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 14px 14px 12px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.cc-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: var(--text-sub);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cc-close:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  transform: rotate(90deg);
}

.cc-pane {
  display: none;
}

.cc-pane.cc-pane-active {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  animation: ccEnter 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.cc-pane.cc-leave {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: ccLeave 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes ccEnter {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ccLeave {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-20px); }
}

.cc-home-top {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 14px;
  padding-right: 30px;
}

.cc-home-info {
  min-width: 0;
}

.cc-avatar-wrap {
  position: relative;
  flex: none;
}

.cc-avatar {
  display: block;
  width: 68px;
  height: 68px;
  margin: 0;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid var(--cc-border);
  background: var(--cc-row);
}

.cc-status-dot {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid var(--cc-bg-solid);
}

.cc-greeting {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cc-accent);
}

.cc-name {
  margin: 2px 0 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.cc-email {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--text-sub);
  word-break: break-all;
}

.cc-quote {
  margin: 10px 0;
  padding: 8px 10px;
  border-radius: 14px;
  background: var(--cc-row);
  font-size: 12.5px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: color-mix(in srgb, var(--text-main) 72%, var(--cc-accent));
}

.cc-card {
  border-radius: 16px;
  background: var(--cc-row);
  border: 1px solid var(--cc-border);
  padding: 10px;
}

.cc-online {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.cc-online-label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
}

.cc-online-label::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
  flex: none;
}

.cc-online-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cc-version {
  margin-top: 8px;
  text-align: center;
  font-size: 10px;
  color: var(--text-sub);
  opacity: 0.85;
}

.cc-section-title {
  margin: 2px 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-sub);
}

.cc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  padding: 9px 11px;
  border-radius: 13px;
  background: var(--cc-row);
  border: 1px solid var(--cc-border);
  transition: all 0.25s ease;
}

.cc-row:hover {
  transform: translateX(2px);
}

.cc-row-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.cc-row-icon {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 9px;
  background: var(--cc-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.cc-switch {
  position: relative;
  flex: none;
  width: 42px;
  height: 24px;
}

.cc-switch input {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cc-switch .cc-thumb {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: var(--cc-track);
  transition: all 0.25s ease;
}

.cc-switch .cc-thumb::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.cc-switch input:checked + .cc-thumb {
  background: var(--cc-accent);
}

.cc-switch input:checked + .cc-thumb::after {
  transform: translateX(18px);
}

.cc-accent-grid {
  display: flex;
  gap: 10px;
  margin: 2px 0 8px;
}

.cc-accent-dot {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cc-accent-dot:hover {
  transform: scale(1.12);
}

.cc-accent-dot.cc-selected {
  border-color: var(--text-main);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--text-main) 20%, transparent), 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.08);
}

.cc-focus-presets {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 6px;
}

.cc-chip {
  padding: 10px 2px;
  border-radius: 12px;
  border: 1px solid var(--cc-border);
  background: var(--cc-row);
  color: var(--text-main);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cc-chip:hover {
  border-color: var(--cc-accent);
  color: var(--cc-accent);
  transform: translateY(-2px);
}

.cc-chip.cc-active {
  background: var(--cc-soft);
  border-color: var(--cc-accent);
  color: var(--cc-accent);
}

.cc-focus-custom {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.cc-focus-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--cc-border);
  background: var(--cc-row);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  outline: none;
}

.cc-focus-input:focus {
  border-color: var(--cc-accent);
}

.cc-btn-primary {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 14px;
  background: var(--cc-accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--cc-accent) 35%, transparent);
  transition: all 0.25s ease;
}

.cc-btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.cc-btn-ghost {
  padding: 11px 16px;
  border-radius: 14px;
  border: 1px solid var(--cc-border);
  background: transparent;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cc-btn-ghost:hover {
  background: var(--cc-row);
  transform: translateY(-1px);
}

.cc-btn-danger {
  padding: 11px 16px;
  border-radius: 14px;
  border: none;
  background: #ef4444;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cc-btn-danger:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

.cc-focus-note {
  margin-top: 10px;
  font-size: 11.5px;
  color: var(--text-sub);
  text-align: center;
  line-height: 1.6;
}

.cc-track-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.cc-track {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 9px;
  border-radius: 13px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cc-track:hover {
  background: var(--cc-row);
}

.cc-track.cc-active {
  background: var(--cc-soft);
  border-color: color-mix(in srgb, var(--cc-accent) 30%, transparent);
}

.cc-track-icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 11px;
  background: var(--cc-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.cc-track-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.cc-track-sub {
  font-size: 11.5px;
  color: var(--text-sub);
}

.cc-track-eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  margin-left: auto;
  flex: none;
}

.cc-track-eq span {
  width: 3px;
  border-radius: 2px;
  background: var(--cc-accent);
  animation: ccEq 1s ease infinite;
}

.cc-track-eq span:nth-child(2) { animation-delay: 0.2s; }
.cc-track-eq span:nth-child(3) { animation-delay: 0.4s; }

@keyframes ccEq {
  0%, 100% { height: 4px; }
  50% { height: 14px; }
}

.cc-player {
  padding: 10px;
  border-radius: 16px;
  background: var(--cc-row);
  border: 1px solid var(--cc-border);
}

.cc-player-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cc-now-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 13px;
  background: var(--cc-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cc-now-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.cc-now-sub {
  font-size: 11px;
  color: var(--text-sub);
}

.cc-progress {
  position: relative;
  height: 6px;
  margin: 12px 0 4px;
  border-radius: 99px;
  background: var(--cc-track);
  cursor: pointer;
}

.cc-progress-fill {
  width: 0%;
  height: 100%;
  border-radius: 99px;
  background: var(--cc-accent);
}

.cc-progress-times {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
  color: var(--text-sub);
  font-variant-numeric: tabular-nums;
}

.cc-player-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.cc-pb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--cc-border);
  background: transparent;
  color: var(--text-main);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.cc-pb:hover {
  background: var(--cc-soft);
  color: var(--cc-accent);
  transform: translateY(-2px);
}

.cc-pb-main {
  width: 52px;
  height: 52px;
  border: none;
  background: var(--cc-accent);
  color: #ffffff;
  font-size: 18px;
  box-shadow: 0 8px 22px color-mix(in srgb, var(--cc-accent) 40%, transparent);
}

.cc-pb-main:hover {
  color: #ffffff;
  filter: brightness(1.08);
}

.cc-volume {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.cc-volume input[type="range"] {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 99px;
  background: var(--cc-track);
  outline: none;
}

.cc-volume input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cc-accent);
  cursor: pointer;
}

.cc-volume input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: none;
  border-radius: 50%;
  background: var(--cc-accent);
  cursor: pointer;
}

.cc-player-error {
  margin-top: 8px;
  font-size: 11px;
  color: #ef4444;
  text-align: center;
}

.cc-custom-url {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.cc-custom-input {
  flex: 1;
  min-width: 0;
  padding: 8px 11px;
  border-radius: 12px;
  border: 1px solid var(--cc-border);
  background: var(--cc-row);
  color: var(--text-main);
  font-size: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cc-custom-input::placeholder {
  color: var(--text-sub);
  opacity: 0.8;
}

.cc-custom-input:focus {
  border-color: var(--cc-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--cc-accent) 20%, transparent);
}

.cc-custom-play {
  flex: none;
  padding: 0 14px;
  border: none;
  border-radius: 12px;
  background: var(--cc-accent);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.cc-custom-play:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cc-custom-hint {
  margin-top: 6px;
  font-size: 10.5px;
  color: var(--text-sub);
  text-align: center;
}

.cc-focus-widget {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 3500;
  display: none;
  box-sizing: border-box;
  width: 232px;
  padding: 12px 14px;
  border-radius: 18px;
  background: var(--cc-bg);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  border: 1px solid var(--cc-border);
  box-shadow: var(--cc-shadow);
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text-main);
}

.cc-focus-widget.cc-open {
  display: block;
  animation: ccPop 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.cc-focus-pill {
  position: fixed;
  right: 20px;
  bottom: 96px;
  z-index: 3500;
  box-sizing: border-box;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  border: 1px solid var(--cc-border);
  background: var(--cc-bg);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--cc-shadow);
  color: var(--text-main);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', Arial, sans-serif;
  transition: transform 0.25s ease;
}

.cc-focus-pill:hover {
  transform: translateY(-2px) scale(1.05);
}

.cc-fw-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  cursor: grab;
}

.cc-fw-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.cc-fw-hide {
  flex: none;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-sub);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.cc-fw-hide:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.cc-focus-widget.cc-dragging {
  user-select: none;
  cursor: grabbing;
  animation: none;
}

.cc-fw-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-sub);
}

.cc-fw-state {
  font-size: 11px;
  font-weight: 600;
  color: var(--cc-accent);
}

.cc-fw-time {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.cc-fw-bar {
  height: 6px;
  margin: 10px 0;
  border-radius: 99px;
  background: var(--cc-track);
  overflow: hidden;
}

.cc-fw-fill {
  width: 0%;
  height: 100%;
  border-radius: 99px;
  background: var(--cc-accent);
}

.cc-fw-actions {
  display: flex;
  gap: 8px;
}

.cc-fw-btn {
  flex: 1;
  padding: 8px;
  border-radius: 11px;
  border: 1px solid var(--cc-border);
  background: transparent;
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cc-fw-btn:hover {
  background: var(--cc-row);
}

.cc-fw-btn.cc-danger:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border-color: color-mix(in srgb, #ef4444 35%, transparent);
}

.cc-logout-overlay {
  position: fixed;
  inset: 0;
  z-index: 5001;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 10, 20, 0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text-main);
}

.cc-logout-overlay.cc-open {
  display: flex;
}

.cc-logout-card {
  box-sizing: border-box;
  width: min(320px, calc(100vw - 32px));
  padding: 24px 22px;
  border-radius: 22px;
  background: var(--cc-bg);
  border: 1px solid var(--cc-border);
  box-shadow: var(--cc-shadow);
  text-align: center;
}

.cc-logout-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: rgba(239, 68, 68, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.cc-logout-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.cc-logout-msg {
  margin: 6px 0 18px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
}

.cc-logout-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.cc-logout-btns .cc-btn-ghost,
.cc-logout-btns .cc-btn-danger {
  flex: 1;
}

body.cc-no-anim *,
body.cc-no-anim *::before,
body.cc-no-anim *::after {
  animation: none !important;
  transition-duration: 0.01ms !important;
}

@media (prefers-reduced-motion: reduce) {
  #userPopup,
  .cc-pane,
  .cc-nav,
  .cc-pill,
  .cc-switch .cc-thumb,
  .cc-switch .cc-thumb::after,
  .cc-focus-widget,
  .cc-logout-overlay {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 480px) {
  #userPopup {
    top: 64px;
    right: 12px;
    width: 344px;
    height: min(480px, calc(100vh - 84px));
  }

  .cc-rail {
    width: 56px;
  }

  .cc-pill {
    left: 6px;
  }

  .cc-focus-widget {
    right: 12px;
    bottom: 84px;
  }

  .cc-focus-pill {
    right: 12px;
    bottom: 84px;
  }
}
