@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap);
.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  z-index: 10;
}

.header__left,
.header__right {
  width: 48px;
  flex-shrink: 0;
}

.header__center {
  flex: 1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header__back {
  width: var(--touch-min);
  height: var(--touch-min);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--accent);
}

.header__back:hover {
  background: var(--accent-dim);
}

.header__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.podcast-card--wide {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.2s, transform 0.2s;
}

.podcast-card--wide:hover:not(:disabled) {
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.podcast-card--wide:disabled {
  opacity: 0.7;
  cursor: wait;
}

.podcast-card__body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.podcast-card__text {
  flex: 1;
  min-width: 0;
}

.podcast-card__tag {
  display: inline-block;
  padding: 3px 10px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  margin-bottom: 8px;
}

.podcast-card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
}

.podcast-card__desc {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.podcast-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text-secondary);
}

.podcast-card__stat .material-symbols-rounded {
  color: var(--text-muted);
}

.podcast-card__version {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.podcast-card__langs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  flex-shrink: 0;
  max-width: 120px;
  justify-content: flex-end;
}

.podcast-card__lang-badge {
  display: inline-block;
  padding: 2px 6px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 3px;
}

/* Compact variant for sidebar — taller with more info */
.podcast-card--compact {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
  min-height: 80px;
}

.podcast-card--compact:hover:not(:disabled) {
  border-color: var(--border-hover);
}

.podcast-card--compact:disabled {
  opacity: 0.7;
  cursor: wait;
}

.podcast-card__compact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  margin-top: 2px;
}

.podcast-card__compact-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.podcast-card__title-compact {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.podcast-card__desc-compact {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-card__compact-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.podcast-card__compact-stat {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 11px;
  color: var(--text-muted);
}

.podcast-card__compact-stat .material-symbols-rounded {
  font-size: 12px;
}

.podcast-card__compact-badge {
  display: inline-block;
  padding: 1px 5px;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 3px;
}

.podcast-list {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .podcast-list:not(.podcast-list--compact) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.podcast-list--compact {
  padding: 8px;
  gap: 4px;
}

.podcast-list__loading,
.podcast-list__error,
.podcast-list__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 16px;
  color: var(--text-secondary);
  font-size: 14px;
}

.podcast-list__error {
  color: #ef4444;
}

.podcast-list__spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.sidebar {
  display: none;
  width: var(--sidebar-width);
  border-right: 1px solid var(--border);
  overflow-y: auto;
  background: var(--bg-secondary);
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .sidebar {
    display: flex;
    flex-direction: column;
  }
}

.sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 8px;
  flex-shrink: 0;
}

.sidebar__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.sidebar__add-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--accent);
  transition: background 0.15s;
}

.sidebar__add-btn:hover {
  background: var(--accent-dim);
}

.new-project {
  max-width: 680px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.new-project__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.new-project__back {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}

.new-project__back:hover {
  background: var(--accent-dim);
}

.new-project__heading {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.new-project__success {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #16a34a18;
  border: 1px solid #16a34a40;
  border-radius: var(--radius-sm);
  color: #16a34a;
  margin-bottom: 16px;
  font-size: 13px;
}

.new-project__success a {
  color: var(--accent);
  text-decoration: underline;
}

.new-project__error {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #ef444418;
  border: 1px solid #ef444440;
  border-radius: var(--radius-sm);
  color: #ef4444;
  margin-bottom: 16px;
  font-size: 13px;
}

.new-project__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.new-project__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-top: 8px;
}

.new-project__input,
.new-project__textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}

.new-project__input:focus,
.new-project__textarea:focus {
  border-color: var(--accent);
}

.new-project__textarea {
  resize: vertical;
  min-height: 200px;
  line-height: 1.6;
}

.new-project__actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.new-project__save {
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: opacity 0.15s;
}

.new-project__save:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.new-project__save:not(:disabled):hover {
  opacity: 0.85;
}

.new-project__cancel {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-secondary);
}

.new-project__cancel:hover {
  background: var(--bg-secondary);
}

.new-project__curl-section {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.new-project__curl-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

.new-project__curl {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 12px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre;
  color: var(--text-primary);
}

.new-project__curl-note {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 12px 0;
}

.new-project__curl-note a {
  color: var(--accent);
  text-decoration: underline;
}

.waveform {
  margin-bottom: 12px;
}

.waveform__container {
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-tertiary);
}

.transcript {
  flex: 1;
  overflow-y: auto;
  padding: 24px 24px;
  scroll-behavior: smooth;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
}

.transcript--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  -webkit-mask-image: none;
  mask-image: none;
}

.transcript__content {
  font-size: 20px;
  line-height: 1.9;
  max-width: 68ch;
  margin: 0 auto;
  color: var(--text-muted);
  /* Start text higher — small top pad, generous bottom for scroll-past-end */
  padding-top: 8vh;
  padding-bottom: 50vh;
}

.transcript__word {
  cursor: pointer;
  transition: color 0.15s;
  border-radius: 2px;
  padding: 1px 0;
}

.transcript__word:hover {
  color: var(--text-secondary);
}

.transcript__word--active {
  color: var(--accent);
  font-weight: 600;
}

.transcript__word--near {
  color: var(--text-secondary);
}

.transcript__content--cjk {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.transcript__punct {
  color: var(--text-muted);
  cursor: default;
}

.controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 4px;
}

.controls__transport {
  display: flex;
  align-items: center;
  gap: 2px;
}

.controls__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-min);
  height: var(--touch-min);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: background 0.15s;
}

.controls__btn:hover {
  background: var(--accent-dim);
}

.controls__btn--play {
  width: 48px;
  height: 48px;
  background: var(--accent);
  color: var(--bg-primary);
}

.controls__btn--play:hover {
  background: var(--accent-hover);
}

.controls__time {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--text-tertiary);
  min-width: 80px;
  text-align: center;
  white-space: nowrap;
}

.controls__speed-trigger {
  margin-left: auto;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.controls__speed-trigger:hover {
  background: var(--bg-elevated);
  color: var(--accent);
}

@media (max-width: 600px) {
  .controls {
    flex-wrap: wrap;
  }
  .controls__speed-trigger {
    margin-left: 0;
  }
}

.lang-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0 2px;
}

.lang-chips__chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.15s;
  white-space: nowrap;
}

.lang-chips__chip:hover {
  border-color: var(--border-hover);
  background: var(--bg-elevated);
  color: var(--accent);
}

.lang-chips__label {
  letter-spacing: 0.03em;
}

.lang-chips__arrow {
  font-size: 10px;
  opacity: 0.5;
  margin-left: 2px;
}

/* Pulsing animation for loading state */
.lang-chips__chip--loading {
  border-color: var(--accent);
  color: var(--accent);
  animation: chip-pulse 0.8s ease-in-out infinite;
}

@keyframes chip-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@media (max-width: 600px) {
  .lang-chips {
    gap: 6px;
  }
  .lang-chips__chip {
    padding: 5px 10px;
    font-size: 12px;
  }
}

.lang-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px;
  overflow-y: auto;
}

.lang-panel__section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 480px;
}

.lang-panel__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.lang-panel__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.lang-panel__btn {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  color: var(--text-secondary);
  transition: all 0.15s;
  min-width: 64px;
  text-align: center;
}

.lang-panel__btn:hover {
  border-color: var(--border-hover);
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.lang-panel__btn--active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
}

.lang-panel__btn--active:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.lang-panel__btn--voice {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.lang-panel__btn--loading {
  border-color: var(--accent);
  color: var(--accent);
  animation: lang-panel-pulse 0.8s ease-in-out infinite;
}

@keyframes lang-panel-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.lang-panel__close {
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.15s;
}

.lang-panel__close:hover {
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  .lang-panel {
    gap: 24px;
    padding: 16px;
  }
  .lang-panel__btn {
    padding: 8px 14px;
    font-size: 13px;
    min-width: 56px;
  }
}

.player-view {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.player-view__info {
  padding: 16px 24px 8px;
  flex-shrink: 0;
}

.player-view__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2px;
}

.player-view__author {
  font-size: 13px;
  color: var(--text-tertiary);
}

.player-view__controls-area {
  flex-shrink: 0;
  padding: 0 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid var(--border);
}

.player-view__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-secondary);
  font-size: 15px;
}

.now-playing {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--nowplaying-height);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  padding: 0 16px;
  flex-shrink: 0;
}

.now-playing__progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s linear;
}

.now-playing__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.now-playing__title {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing__status {
  font-size: 12px;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 12px;
}

@media (min-width: 1024px) {
  .now-playing {
    display: none;
  }
}

.app-shell {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-shell__body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.app-shell__main {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

/*! tailwindcss v4.2.0 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --radius-sm: 0.25rem;
    --radius-lg: 0.5rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .end {
    inset-inline-end: var(--spacing);
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .container\! {
    width: 100% !important;
    @media (width >= 40rem) {
      max-width: 40rem !important;
    }
    @media (width >= 48rem) {
      max-width: 48rem !important;
    }
    @media (width >= 64rem) {
      max-width: 64rem !important;
    }
    @media (width >= 80rem) {
      max-width: 80rem !important;
    }
    @media (width >= 96rem) {
      max-width: 96rem !important;
    }
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .resize {
    resize: both;
  }
  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
}
:root {
  --bg-primary: #111111;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #222222;
  --bg-elevated: #2a2a2a;
  --text-primary: rgba(255, 255, 255, 0.92);
  --text-secondary: rgba(255, 255, 255, 0.60);
  --text-tertiary: rgba(255, 255, 255, 0.40);
  --text-muted: rgba(255, 255, 255, 0.25);
  --accent: #fbbf24;
  --accent-dim: rgba(251, 191, 36, 0.20);
  --accent-hover: #f59e0b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;
  --touch-min: 44px;
  --header-height: 56px;
  --sidebar-width: 320px;
  --info-width: 300px;
  --nowplaying-height: 64px;
}
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
  overflow: hidden;
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}
#piotrek-root {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
}
.admin-bar #piotrek-root {
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
}
@media screen and (max-width: 782px) {
  .admin-bar #piotrek-root {
    height: calc(100vh - 46px);
    height: calc(100dvh - 46px);
  }
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  touch-action: manipulation;
}
a {
  color: var(--accent);
  text-decoration: none;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  user-select: none;
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

