html body.orynos-shell.page-packs {
  --pack-bg: var(--o-bg, #f7f7fa);
  --pack-panel: var(--o-surface, #fff);
  --pack-raised: var(--o-soft, #f1edf7);
  --pack-border: var(--o-line, #e4e0ea);
  --pack-text: var(--o-ink, #201b2d);
  --pack-muted: var(--o-muted, #6e667c);
  --pack-soft: var(--o-muted, #51475f);
  --pack-green: var(--o-accent, #7145c6);
  --pack-error: #bc2745;
  --pack-warning: #865500;
  --pack-active: var(--o-soft, #eee9f5);
  --pack-border-strong: var(--o-line, #d4cbdf);
  color-scheme: light;
}
html[data-theme="dark"] body.orynos-shell.page-packs {
  --pack-error: #ff9cae;
  --pack-warning: #eac482;
  color-scheme: dark;
}
html body.orynos-shell.page-packs .packs-page {
  min-height: 100dvh;
  background: var(--pack-bg) !important;
}
html body.orynos-shell.page-packs .packs-main {
  width: min(1320px, calc(100% - 72px)) !important;
  padding: 38px 0 130px !important;
  margin-inline: auto !important;
}
html body.orynos-shell.page-packs .packs-header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center !important;
  gap: 24px !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  border: 0 !important;
}
html body.orynos-shell.page-packs .packs-header h1 {
  font-size: clamp(34px, 4vw, 48px) !important;
  font-weight: 680 !important;
  letter-spacing: -.045em !important;
  line-height: 1.06 !important;
}
html body.orynos-shell.page-packs .packs-lead {
  max-width: 58ch !important;
  margin-top: 12px !important;
  color: var(--pack-muted) !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
html body.orynos-shell.page-packs :is(.pack-button, .pack-link-button, .mode-button, .pack-preview, .pack-type-button, .pack-save, .pack-tag) {
  min-height: 44px !important;
  padding: 10px 15px !important;
  border-radius: 8px !important;
  font: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.3 !important;
  cursor: pointer;
  transition: color 140ms ease, background-color 140ms ease, border-color 140ms ease;
}
html body.orynos-shell.page-packs :is(.pack-button, .pack-link-button, .mode-button) {
  border: 1px solid var(--pack-border) !important;
  color: var(--pack-text) !important;
  background: var(--pack-panel) !important;
  box-shadow: none !important;
}
html body.orynos-shell.page-packs :is(.pack-button.primary, .pack-preview.is-playing) {
  background: var(--o-accent, #7145c6) !important;
  color: var(--o-on-accent, #fff) !important;
  border-color: var(--o-accent, #7145c6) !important;
}
html body.orynos-shell.page-packs :is(button, a, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--o-accent, #7145c6) !important;
  outline-offset: 3px !important;
}
html body.orynos-shell.page-packs .quota-panel {
  display: block !important;
  margin: 0 !important;
  background: transparent !important;
  border: 1px solid var(--pack-border) !important;
  border-radius: 10px !important;
  overflow: clip;
}
html body.orynos-shell.page-packs .pack-capacity-summary {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--pack-muted);
  font-size: 12px;
  cursor: pointer;
  list-style: none;
}
html body.orynos-shell.page-packs .pack-capacity-summary::-webkit-details-marker { display: none; }
html body.orynos-shell.page-packs .pack-capacity-summary::after { content: '+'; font-size: 18px; }
html body.orynos-shell.page-packs .quota-panel[open] .pack-capacity-summary::after { content: '−'; }
html body.orynos-shell.page-packs .pack-capacity-summary span { margin-left: auto; }
html body.orynos-shell.page-packs .quota-intro { padding: 8px 16px 16px !important; }
html body.orynos-shell.page-packs .quota-intro :is(strong, span) { font-size: 12px !important; line-height: 1.7 !important; }
html body.orynos-shell.page-packs .quota-label { display: none; }
html body.orynos-shell.page-packs .pack-section { padding-top: 0 !important; margin-top: 34px !important; }
html body.orynos-shell.page-packs .section-heading {
  display: block !important;
  margin-bottom: 20px !important;
}
html body.orynos-shell.page-packs .section-heading h2 { font-size: 23px !important; letter-spacing: -.025em !important; }
html body.orynos-shell.page-packs .section-heading > p { margin-top: 6px !important; max-width: none !important; text-align: left !important; color: var(--pack-muted) !important; font-size: 13px !important; }
html body.orynos-shell.page-packs .library-toolbar {
  display: flex !important;
  align-items: end !important;
  gap: 16px !important;
  padding: 0 !important;
  margin-bottom: 14px !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}
html body.orynos-shell.page-packs .filter-fields { grid-template-columns: minmax(180px, 1fr) minmax(130px, .27fr) !important; flex: 1; gap: 12px !important; }
html body.orynos-shell.page-packs .field-label { color: var(--pack-muted) !important; font-size: 11px !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; }
html body.orynos-shell.page-packs :is(.pack-input, .pack-select, .pack-textarea) {
  min-height: 46px !important;
  padding: 11px 13px !important;
  border: 1px solid var(--pack-border) !important;
  border-radius: 8px !important;
  background: var(--pack-panel) !important;
  color: var(--pack-text) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
html body.orynos-shell.page-packs :is(.pack-input, .pack-textarea)::placeholder { color: var(--pack-muted) !important; opacity: 1; }
html body.orynos-shell.page-packs .mode-switch { padding: 3px !important; flex-wrap: nowrap; background: var(--pack-panel) !important; border-radius: 10px !important; }
html body.orynos-shell.page-packs .mode-button { border: 0 !important; min-height: 40px !important; background: transparent !important; color: var(--pack-muted) !important; }
html body.orynos-shell.page-packs .mode-button[aria-pressed="true"] { background: var(--pack-active) !important; color: var(--pack-text) !important; }
html body.orynos-shell.page-packs .pack-type-strip { display: flex; gap: 7px; overflow-x: auto; scrollbar-width: thin; padding: 2px 0 9px; margin: 0 0 6px; }
html body.orynos-shell.page-packs .pack-type-button { flex: 0 0 auto; padding-inline: 14px !important; border: 1px solid transparent; background: transparent; color: var(--pack-muted); white-space: nowrap; }
html body.orynos-shell.page-packs .pack-type-button[aria-pressed="true"] { color: var(--pack-text); background: var(--pack-active); border-color: var(--pack-border); }
html body.orynos-shell.page-packs .pack-refine { border-block: 1px solid var(--pack-border); }
html body.orynos-shell.page-packs .pack-refine summary { width: fit-content; min-height: 44px; padding: 13px 0; color: var(--pack-muted); cursor: pointer; font-size: 12px; }
html body.orynos-shell.page-packs .pack-refine-fields { display: grid; grid-template-columns: minmax(100px, .6fr) minmax(100px, .6fr) minmax(130px, 1fr) minmax(180px, 1.2fr); gap: 14px; padding-top: 5px; align-items: end; }
html body.orynos-shell.page-packs .pack-shortlist-filter { display: flex; align-items: center; gap: 10px; min-height: 46px; font-size: 12px; color: var(--pack-text); }
html body.orynos-shell.page-packs .pack-shortlist-filter input { width: 18px; height: 18px; accent-color: var(--o-accent); flex: 0 0 auto; }
html body.orynos-shell.page-packs .pack-shortlist-filter strong { margin-left: 5px; font-variant-numeric: tabular-nums; }
html body.orynos-shell.page-packs :is(.pack-filter-help, .pack-library-note) { color: var(--pack-muted); font-size: 11px; line-height: 1.7; margin: 12px 0 15px; }
html body.orynos-shell.page-packs .pack-result-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 20px 0 18px; }
html body.orynos-shell.page-packs .pack-results { color: var(--pack-muted); font-size: 12px; margin: 0; font-variant-numeric: tabular-nums; }
html body.orynos-shell.page-packs .pack-result-actions { display: flex; gap: 12px; align-items: center; }
html body.orynos-shell.page-packs .pack-sort-label { display: flex; gap: 8px; align-items: center; color: var(--pack-muted); font-size: 11px; }
html body.orynos-shell.page-packs .pack-sort-label select { min-height: 42px !important; padding: 8px 28px 8px 10px !important; font-size: 12px !important; width: auto; }
html body.orynos-shell.page-packs .pack-view-switch { display: flex; gap: 2px; }
html body.orynos-shell.page-packs .pack-view-switch .pack-button { border-color: transparent !important; background: transparent !important; min-height: 42px !important; padding-inline: 10px !important; }
html body.orynos-shell.page-packs .pack-view-switch .pack-button[aria-pressed="true"] { border-color: var(--pack-border) !important; background: var(--pack-active) !important; }
html body.orynos-shell.page-packs .library-status { min-height: 0 !important; font-size: 12px !important; color: var(--pack-muted) !important; }
html body.orynos-shell.page-packs .library-status:empty { display: none; }
html body.orynos-shell.page-packs .packs-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; transition: opacity 140ms ease; }
html body.orynos-shell.page-packs .packs-grid.is-loading { opacity: .6; pointer-events: none; }
html body.orynos-shell.page-packs .pack-card { min-width: 0; min-height: 288px !important; padding: 21px !important; border: 1px solid var(--pack-border) !important; border-radius: 12px !important; background: var(--pack-panel) !important; }
html body.orynos-shell.page-packs .pack-card:hover { border-color: var(--o-accent, #7145c6) !important; background: var(--pack-panel) !important; }
html body.orynos-shell.page-packs .pack-card-top { justify-content: flex-start; gap: 8px; align-items: center; }
html body.orynos-shell.page-packs .pack-kind { color: var(--o-accent); font-size: 11px; font-weight: 650; }
html body.orynos-shell.page-packs .pack-save { margin-left: auto; padding: 8px 0 8px 8px !important; min-height: 36px !important; border: 0; background: transparent; color: var(--pack-muted); font-size: 11px !important; }
html body.orynos-shell.page-packs .pack-save[aria-pressed="true"] { color: var(--o-accent); }
html body.orynos-shell.page-packs .pack-card h3 { margin: 16px 0 7px !important; font-size: 19px !important; line-height: 1.35 !important; letter-spacing: -.025em !important; }
html body.orynos-shell.page-packs .pack-title-button { display: block; width: 100%; min-height: 32px; margin: 0; padding: 0; border: 0; background: transparent; color: var(--pack-text); font: inherit; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
html body.orynos-shell.page-packs .pack-author { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--pack-muted); font-size: 11px; line-height: 1.6; }
html body.orynos-shell.page-packs .pack-creator-rank { font-size: 10px; color: var(--o-accent); }
html body.orynos-shell.page-packs .pack-description { margin: 15px 0 19px !important; color: var(--pack-muted) !important; font-size: 12px !important; line-height: 1.65 !important; -webkit-line-clamp: 2; }
html body.orynos-shell.page-packs .pack-meta { gap: 6px !important; margin-top: auto; }
html body.orynos-shell.page-packs .pack-meta .meta-chip { padding: 5px 7px !important; min-height: 24px; background: var(--pack-active) !important; color: var(--pack-text) !important; border-radius: 5px !important; font-size: 10px !important; font-weight: 500; letter-spacing: 0 !important; text-transform: none !important; }
html body.orynos-shell.page-packs .pack-tag { padding: 4px 6px !important; min-height: 28px !important; color: var(--pack-muted); border: 0; background: transparent; font-size: 10px !important; text-decoration: underline; text-underline-offset: 3px; }
html body.orynos-shell.page-packs .pack-card-footer { display: block !important; margin-top: 20px !important; padding-top: 0 !important; border: 0 !important; }
html body.orynos-shell.page-packs .pack-stats { display: block; color: var(--pack-muted); font-size: 10px; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
html body.orynos-shell.page-packs .pack-actions { justify-content: flex-start !important; gap: 8px !important; flex-wrap: wrap; }
html body.orynos-shell.page-packs .pack-actions :is(.pack-preview, .pack-button) { font-size: 11px !important; padding: 9px 12px !important; min-height: 40px !important; }
html body.orynos-shell.page-packs .pack-preview { background: var(--pack-active) !important; color: var(--pack-text) !important; border: 1px solid var(--pack-border) !important; min-width: 90px !important; box-shadow: none !important; }
html body.orynos-shell.page-packs .pack-preview.is-playing { color: var(--o-on-accent, #fff) !important; background: var(--o-accent, #7145c6) !important; }
html body.orynos-shell.page-packs .pack-audition { padding: 22px; border: 1px solid var(--o-accent, #7145c6); border-radius: 12px; background: var(--pack-panel); margin-bottom: 20px; }
html body.orynos-shell.page-packs .pack-audition-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
html body.orynos-shell.page-packs .pack-audition-label { margin: 0 0 7px; color: var(--o-accent); font-size: 11px; font-weight: 600; }
html body.orynos-shell.page-packs .pack-audition-heading h3 { margin: 0; color: var(--pack-text); font-size: 22px; line-height: 1.35; overflow-wrap: anywhere; }
html body.orynos-shell.page-packs #packAuditionByline { color: var(--pack-muted); font-size: 12px; margin: 5px 0 0; }
html body.orynos-shell.page-packs .pack-audition-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 30px; margin-top: 22px; }
html body.orynos-shell.page-packs .pack-audition-player audio { display: block; width: 100%; min-height: 54px; color-scheme: inherit; }
html body.orynos-shell.page-packs .pack-preview-note { color: var(--pack-muted); font-size: 11px; line-height: 1.7; margin: 10px 0 16px; }
html body.orynos-shell.page-packs #packAuditionNotes { white-space: pre-wrap; overflow-wrap: anywhere; margin: 13px 0; color: var(--pack-text); font-size: 12px; line-height: 1.7; }
html body.orynos-shell.page-packs .pack-license-reminder { color: var(--pack-muted); font-size: 11px; line-height: 1.7; }
html body.orynos-shell.page-packs .packs-grid[data-layout="list"] { grid-template-columns: 1fr !important; gap: 10px !important; }
html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-card { min-height: 0 !important; display: grid !important; grid-template-columns: minmax(180px, 1.2fr) minmax(160px, 1fr) minmax(200px, 1.1fr); column-gap: 24px; row-gap: 6px; align-items: center; }
html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-card-top { grid-column: 1; grid-row: 1; }
html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-card h3 { grid-column: 1; grid-row: 2; margin: 0 !important; }
html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-author { grid-column: 1; grid-row: 3; margin: 0; }
html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-description { grid-column: 2; grid-row: 1 / 3; margin: 0 !important; }
html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-meta { grid-column: 2; grid-row: 3; margin: 0; }
html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-card-footer { grid-column: 3; grid-row: 1 / 4; margin: 0 !important; }
html body.orynos-shell.page-packs .empty-state { border: 1px dashed var(--pack-border) !important; padding: 48px 24px !important; background: transparent !important; border-radius: 12px !important; }
html body.orynos-shell.page-packs .empty-state h3 { color: var(--pack-text); font-size: 20px !important; }
html body.orynos-shell.page-packs .empty-state p { color: var(--pack-muted) !important; font-size: 13px !important; }
html body.orynos-shell.page-packs .creator-grid { display: block !important; }
html body.orynos-shell.page-packs .analytics-panel { padding: 24px !important; border: 1px solid var(--pack-border); border-radius: 12px !important; background: var(--pack-panel) !important; }
html body.orynos-shell.page-packs .analytics-panel header p { color: var(--pack-muted) !important; font-size: 12px !important; }
html body.orynos-shell.page-packs .analytics-chart { background: var(--pack-active) !important; }
html body.orynos-shell.page-packs .analytics-bar { background: var(--o-accent) !important; }
html body.orynos-shell.page-packs .analytics-metric { background: var(--pack-active) !important; }
html body.orynos-shell.page-packs .analytics-table { color: var(--pack-text); }
html body.orynos-shell.page-packs .pack-inline-panel {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 32px 0 0 !important;
  overflow: visible !important;
  border-radius: 12px !important;
  border: 1px solid var(--pack-border) !important;
  background: var(--pack-panel) !important;
  color: var(--pack-text) !important;
  box-shadow: none !important;
  scroll-margin-block: 24px;
}
html body.orynos-shell.page-packs .pack-inline-panel:not([open]) { display: none !important; }
html body.orynos-shell.page-packs .pack-inline-panel .dialog-body { padding: 26px !important; }
html body.orynos-shell.page-packs .pack-inline-panel .dialog-heading h2 { font-size: 25px !important; }
html body.orynos-shell.page-packs .pack-inline-panel :is(.dialog-heading p, .share-help, .form-status, .quota-note) { font-size: 12px !important; line-height: 1.7 !important; }
html body.orynos-shell.page-packs .pack-inline-panel .dialog-close { color: var(--pack-text) !important; background: var(--pack-active) !important; }
html body.orynos-shell.page-packs .pack-inline-panel :is(.file-picker, .visibility-choice, .quota-note, .share-result) { background: var(--pack-active) !important; color: var(--pack-text) !important; border-color: var(--pack-border) !important; }
html body.orynos-shell.page-packs .pack-inline-panel .visibility-choice small { color: var(--pack-muted) !important; }
html body.orynos-shell.page-packs .status-error { color: var(--pack-error) !important; }
html body.orynos-shell.page-packs .status-warning { color: var(--pack-warning) !important; }
html body.orynos-shell.page-packs .status-success { color: var(--o-accent) !important; }
@media (min-width: 1600px) {
  html body.orynos-shell.page-packs .packs-main { width: min(1480px, calc(100% - 100px)) !important; }
}
@media (max-width: 1080px) {
  html body.orynos-shell.page-packs .packs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-card { grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr); }
  html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-description { display: none; }
  html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-meta { grid-column: 2; grid-row: 1; }
  html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-card-footer { grid-column: 2; grid-row: 2 / 4; }
  html body.orynos-shell.page-packs .pack-refine-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  html body.orynos-shell.page-packs .packs-main { width: calc(100% - 36px) !important; padding-top: 26px !important; }
  html body.orynos-shell.page-packs .packs-header { grid-template-columns: 1fr !important; gap: 20px !important; }
  html body.orynos-shell.page-packs .header-actions { justify-content: flex-start; }
  html body.orynos-shell.page-packs .header-actions .pack-button { flex: 0 1 auto; }
  html body.orynos-shell.page-packs .library-toolbar { align-items: stretch !important; flex-direction: column; }
  html body.orynos-shell.page-packs .filter-fields { grid-template-columns: minmax(0, 1fr) minmax(105px, .38fr) !important; width: 100%; }
  html body.orynos-shell.page-packs .mode-switch { align-self: flex-start; }
  html body.orynos-shell.page-packs :is(.pack-input, .pack-select, .pack-textarea) { font-size: 16px !important; }
  html body.orynos-shell.page-packs .pack-result-toolbar { align-items: flex-start; flex-direction: column; gap: 10px; }
  html body.orynos-shell.page-packs .pack-result-actions { width: 100%; gap: 8px; flex-wrap: wrap; }
  html body.orynos-shell.page-packs .pack-sort-label { flex: 1; }
  html body.orynos-shell.page-packs .pack-sort-label select { flex: 1; min-width: 0; font-size: 13px !important; }
  html body.orynos-shell.page-packs .pack-audition-layout { grid-template-columns: 1fr; gap: 22px; }
  html body.orynos-shell.page-packs .pack-audition { padding: 18px; }
  html body.orynos-shell.page-packs .pack-inline-panel .dialog-body { padding: 18px !important; }
}
@media (max-width: 560px) {
  html body.orynos-shell.page-packs .packs-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  html body.orynos-shell.page-packs .pack-card { min-height: 0 !important; padding: 19px !important; }
  html body.orynos-shell.page-packs .pack-capacity-summary { padding: 12px; gap: 8px; flex-wrap: wrap; }
  html body.orynos-shell.page-packs .pack-capacity-summary span { margin-left: 0; }
  html body.orynos-shell.page-packs .pack-refine-fields { gap: 10px; }
  html body.orynos-shell.page-packs .pack-shortlist-filter { grid-column: 1 / -1; }
  html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-card { display: flex !important; gap: 0; }
  html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-card h3 { margin-top: 12px !important; }
  html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-author { margin-top: 5px; }
  html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-meta { margin-top: 14px; }
  html body.orynos-shell.page-packs .packs-grid[data-layout="list"] .pack-card-footer { margin-top: 16px !important; }
  html body.orynos-shell.page-packs .pack-actions :is(.pack-preview, .pack-button),
  html body.orynos-shell.page-packs .pack-save, html body.orynos-shell.page-packs .pack-tag { min-height: 44px !important; }
  html body.orynos-shell.page-packs .analytics-summary { flex-direction: row !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body.orynos-shell.page-packs :is(.pack-button, .pack-link-button, .mode-button, .pack-preview, .pack-type-button, .pack-save, .pack-tag, .packs-grid, .pack-card) { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  html body.orynos-shell.page-packs :is(.pack-card, .pack-audition, .pack-type-button[aria-pressed="true"], .pack-view-switch button[aria-pressed="true"]) { border: 1px solid CanvasText !important; }
}
