@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap");

:root {
  --oj-bg: #050711;
  --oj-bg-2: #0b1020;
  --oj-surface: rgba(14, 18, 32, 0.82);
  --oj-surface-soft: rgba(12, 16, 28, 0.62);
  --oj-border: rgba(119, 104, 255, 0.18);
  --oj-text: #f6f8ff;
  --oj-text-soft: #b8c0d9;
  --oj-accent: #7a6cff;
  --oj-accent-2: #24c5df;
  --oj-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  --oj-nav-height: 84px;
}

html, body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 12% 10%, rgba(122,108,255,.12), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(36,197,223,.10), transparent 20%),
    linear-gradient(180deg, #04060f 0%, #070a15 48%, #0b1120 100%) !important;
  color: var(--oj-text);
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,10,18,.10), rgba(6,10,18,.18)), url('/custom/oj-route-projects.png?v=route0') center top / cover no-repeat;
  opacity: .22;
  pointer-events: none;
  z-index: 0;
}

#root { position: relative; z-index: 1; }

body *, .MuiTypography-root, .MuiButton-root, .MuiInputBase-root, .MuiChip-root, .MuiTab-root {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.MuiTypography-h1, .MuiTypography-h2, .MuiTypography-h3, .MuiTypography-h4, .MuiTypography-h5, .MuiTypography-h6,
.oj-tagline, .oj-section-title {
  font-family: 'Sora', 'Inter', Arial, sans-serif !important;
}

body .MuiAppBar-root {
  background: rgba(6, 10, 18, 0.58) !important;
  backdrop-filter: blur(16px);
  color: var(--oj-text) !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

body .MuiToolbar-root,
body .MuiAppBar-root .MuiContainer-root,
body header > div {
  background: transparent !important;
  box-shadow: none !important;
  max-width: 100% !important;
}

body .MuiTab-root,
body .MuiTypography-root,
body .MuiButton-root,
body .MuiSvgIcon-root,
body a,
body .MuiInputBase-input,
body .MuiFormLabel-root,
body .MuiChip-label,
body .MuiToolbar-root * {
  color: var(--oj-text) !important;
}

body .MuiTab-root,
body .MuiButton-root {
  font-size: 1.12rem !important;
}

body .MuiTabs-indicator {
  background: linear-gradient(90deg, var(--oj-accent), var(--oj-accent-2)) !important;
  height: 3px !important;
  border-radius: 999px !important;
}

body .MuiCard-root,
body .MuiPaper-root:not(.MuiAppBar-root):not(.MuiMenu-paper),
body .MuiMenu-paper,
body .MuiDialog-paper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--oj-text) !important;
}

body .MuiOutlinedInput-root,
body .MuiInputBase-root {
  background: rgba(12, 16, 28, 0.72) !important;
  border-radius: 14px !important;
}

body .MuiOutlinedInput-notchedOutline {
  border-color: rgba(119, 104, 255, 0.22) !important;
}


body .MuiAutocomplete-popper,
body .MuiPopper-root .MuiAutocomplete-paper,
body .MuiAutocomplete-paper,
body .MuiAutocomplete-listbox,
body .MuiPopover-paper,
body .MuiMenu-paper,
body .MuiMenu-list,
body ul[role="listbox"],
body ul[role="menu"] {
  background: rgba(10, 14, 26, 0.96) !important;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(119, 104, 255, 0.28) !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.42) !important;
  color: var(--oj-text) !important;
}

body .MuiAutocomplete-listbox,
body .MuiMenu-list,
body ul[role="listbox"],
body ul[role="menu"] {
  padding: 6px !important;
}

body .MuiAutocomplete-option,
body .MuiMenuItem-root,
body li[role="option"],
body li[role="menuitem"] {
  background: transparent !important;
  color: var(--oj-text) !important;
  border-radius: 10px !important;
}

body .MuiAutocomplete-option[aria-selected="true"],
body .MuiMenuItem-root.Mui-selected,
body li[role="option"][aria-selected="true"] {
  background: rgba(122, 108, 255, 0.18) !important;
}

body .MuiAutocomplete-option.Mui-focused,
body .MuiAutocomplete-option.Mui-focusVisible,
body .MuiAutocomplete-option:hover,
body .MuiMenuItem-root.Mui-focusVisible,
body .MuiMenuItem-root.Mui-focused,
body .MuiMenuItem-root:hover,
body li[role="option"]:hover,
body li[role="menuitem"]:hover {
  background: rgba(36, 197, 223, 0.16) !important;
}

body .MuiButton-containedPrimary,
body .MuiButton-containedSecondary,
body .oj-menu-button,
body .oj-player-actions button {
  background: linear-gradient(135deg, var(--oj-accent), var(--oj-accent-2)) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 14px 28px rgba(0,0,0,.18) !important;
}

.oj-brand-link {
  display: inline-flex !important;
  align-items: center;
  text-decoration: none !important;
}

.oj-brand-link img {
  width: 228px;
  height: auto;
  display: block;
}

body.oj-home-active #root { min-height: 100vh; }

body.oj-home-active .MuiAppBar-root {
  background: linear-gradient(180deg, rgba(4,7,17,.52), rgba(4,7,17,.12) 68%, transparent) !important;
  backdrop-filter: blur(6px);
  position: sticky !important;
  top: 0;
  z-index: 20 !important;
}

body.oj-home-active .MuiToolbar-root,
body.oj-home-active .MuiAppBar-root .MuiContainer-root,
body.oj-home-active header > div {
  background: transparent !important;
}
body.oj-route-explore::before { background-image: linear-gradient(180deg, rgba(6,10,18,.08), rgba(6,10,18,.18)), url('/custom/oj-route-explore.png?v=route1'); opacity: .18; }
body.oj-route-projects::before { background-image: linear-gradient(180deg, rgba(6,10,18,.08), rgba(6,10,18,.18)), url('/custom/oj-route-projects.png?v=route1'); opacity: .18; }
body.oj-route-upload::before { background-image: linear-gradient(180deg, rgba(6,10,18,.08), rgba(6,10,18,.18)), url('/custom/oj-route-upload.png?v=route1'); opacity: .18; }
body.oj-route-contact::before { background-image: linear-gradient(180deg, rgba(6,10,18,.08), rgba(6,10,18,.18)), url('/custom/oj-route-contact.png?v=route1'); opacity: .18; }
body.oj-home-active::before { background-image: none; opacity: 0; }

.oj-home-brand {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: none;
  margin: calc(var(--oj-nav-height) * -1 - 10px) 0 0;
  padding: 0 0 3.2rem;
}

.oj-home-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 38vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  margin-bottom: .2rem;
}

.oj-hero-montage,
.oj-hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.oj-hero-montage {
  overflow: hidden;
  background: #050711;
}

.oj-hero-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: grayscale(1) contrast(1.05) brightness(.52);
  transform: scale(1.05);
  animation: ojHeroMontage 30s linear infinite;
}

.oj-hero-frame-1 { animation-delay: 0s; }
.oj-hero-frame-2 { animation-delay: 3s; }
.oj-hero-frame-3 { animation-delay: 6s; }
.oj-hero-frame-4 { animation-delay: 9s; }
.oj-hero-frame-5 { animation-delay: 12s; }
.oj-hero-frame-6 { animation-delay: 15s; }
.oj-hero-frame-7 { animation-delay: 18s; }
.oj-hero-frame-8 { animation-delay: 21s; }
.oj-hero-frame-9 { animation-delay: 24s; }
.oj-hero-frame-10 { animation-delay: 27s; }

@keyframes ojHeroMontage {
  0% { opacity: 0; transform: scale(1.08); }
  4% { opacity: .94; }
  10% { opacity: .94; }
  14% { opacity: 0; transform: scale(1.03); }
  100% { opacity: 0; transform: scale(1.03); }
}

.oj-hero-video-overlay {
  background: linear-gradient(180deg, rgba(2,5,12,.18), rgba(2,5,12,.48));
}

.oj-hero-center {
  position: relative;
  z-index: 2;
  min-height: 38vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: calc(var(--oj-nav-height) + 2px) 3.2vw 0;
  text-align: center;
}

.oj-home-brand-logo {
  width: min(920px, 88vw);
  max-width: 920px;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 42px rgba(0,0,0,.38));
}

.oj-tagline {
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #fff2ea;
  animation: ojFadePulse 4.2s ease-in-out infinite;
}

@keyframes ojFadePulse {
  0%, 100% { opacity: 0; transform: translateY(8px); }
  18%, 72% { opacity: 1; transform: translateY(0); }
  82% { opacity: 0.35; }
}

.oj-home-sections {
  position: relative;
  z-index: 3;
  padding: 0 3.2vw;
  margin-top: 0;
}

.oj-live-now {
  padding-top: 0;
  margin-top: 0;
}

.oj-section-title {
  margin: 0 0 1rem;
  color: #fff6f1;
}

.oj-live-now .oj-section-title {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  text-align: center;
  margin-bottom: 1.2rem;
}

.oj-live-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
}

.oj-live-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(12, 16, 28, 0.88), rgba(8, 11, 21, 0.68));
  border: 1px solid var(--oj-border);
}

.oj-live-left,
.oj-live-right {
  display: flex;
  align-items: center;
  gap: .9rem;
}

.oj-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: .9rem;
  flex: 0 0 auto;
  box-shadow: 0 8px 20px rgba(0,0,0,.22);
}

.oj-name-stack {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.oj-name-main,
.oj-upload-title,
.oj-player-title,
.oj-time,
.oj-live-meta,
.oj-item-meta,
.oj-name-sub {
  color: #f6f8ff !important;
}

.oj-name-sub,
.oj-item-meta,
.oj-live-meta,
.oj-upload-time,
.oj-time {
  opacity: .84;
}

.oj-live-thumb {
  width: 160px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(9,12,23,.46), rgba(7,10,18,.62)), url('/custom/oj-studio-collab.png?v=img1') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(119,104,255,.18);
}

.oj-live-thumb::after {
  content: '';
  position: absolute;
  inset: auto auto 12px 14px;
  width: 0;
  height: 0;
  border-left: 14px solid #f6f8ff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.oj-two-col,
.oj-home-feed {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-top: 2.2rem;
}

.oj-panel-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 24px;
  margin-top: 1rem;
  opacity: .96;
  border: 1px solid rgba(119,104,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.26);
}

.oj-panel-copy {
  color: var(--oj-text-soft);
  line-height: 1.55;
  max-width: 60ch;
}


.oj-home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,8,16,.28), rgba(7,9,18,.58)), url('/custom/oj-studio-collab.png?v=img1') center center / cover no-repeat;
  opacity: .22;
  transform: scale(1.03);
}

.oj-home-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(72px, 10vw, 140px);
  background: linear-gradient(180deg, rgba(5,7,17,0) 0%, rgba(5,7,17,.68) 55%, rgba(5,7,17,.96) 84%, rgba(5,7,17,1) 100%);
  pointer-events: none;
  z-index: 1;
}

.oj-panel-image-news,
.oj-panel-image-event {
  object-position: center center;
}

.oj-panel-image-event {
  transform: scaleX(-1);
}

.oj-news-links {
  display: grid;
  gap: .8rem;
}

.oj-news-link {
  color: var(--oj-text) !important;
  text-decoration: none;
  font-weight: 600;
}

.oj-news-link:hover { color: #fff !important; }

.oj-feed-list,
.oj-simple-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}

.oj-upload-player {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.oj-upload-play {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--oj-accent), var(--oj-accent-2));
  color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.22);
}

.oj-upload-center {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.oj-upload-wave {
  display: grid;
  grid-template-columns: repeat(48, minmax(0, 1fr));
  gap: 3px;
  align-items: center;
  height: 36px;
  overflow: hidden;
}

.oj-upload-wave span {
  display: block;
  width: 100%;
  min-height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(112,122,255,.98), rgba(36,197,223,.88));
}

.oj-simple-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .9rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.oj-player-shell-audio {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 18px 20px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(12,16,30,.96), rgba(8,11,22,.92));
  border: 1px solid rgba(119,104,255,.18);
  box-shadow: var(--oj-shadow);
}

.oj-native-audio-hidden { display: none !important; }

.oj-player-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.oj-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--oj-accent), var(--oj-accent-2));
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 12px 28px rgba(255,106,61,.24);
}

.oj-waveform {
  display: grid;
  grid-template-columns: repeat(96, minmax(0, 1fr));
  align-items: center;
  gap: 3px;
  width: 100%;
  height: 54px;
  overflow: hidden;
  margin: 14px 0 12px;
}

.oj-waveform span {
  display: block;
  width: 100%;
  min-height: 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,163,115,.96), rgba(255,106,61,.9));
}

.oj-player-progress-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.oj-progress,
.oj-volume {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,.10);
  border-radius: 999px;
  outline: none;
}

.oj-progress::-webkit-slider-thumb,
.oj-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--oj-accent-2);
  border: 2px solid #fff;
  cursor: pointer;
}

.oj-player-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.oj-player-actions .oj-volume {
  max-width: 140px;
  margin-left: auto;
}

.oj-loop-btn.oj-active {
  background: linear-gradient(135deg, var(--oj-accent), var(--oj-accent-2)) !important;
  color: #fff !important;
}

.oj-player-actions .oj-ghost,
.oj-loop-btn.oj-ghost {
  background: rgba(255,255,255,.04) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  color: var(--oj-text) !important;
}

.oj-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.oj-menu-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  cursor: pointer;
}

.oj-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 280px;
  max-width: 420px;
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(10, 5, 4, 0.96);
  border: 1px solid rgba(255,106,61,.16);
  box-shadow: 0 20px 50px rgba(0,0,0,.34);
  z-index: 40;
}

.oj-dropdown-wrap[data-open="1"] .oj-dropdown-panel { display: flex; }

.oj-dropdown-pill {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  color: var(--oj-text);
  cursor: pointer;
}

.oj-dropdown-pill.oj-pill-active {
  background: linear-gradient(135deg, var(--oj-accent), var(--oj-accent-2));
  color: #fff;
  border-color: transparent;
}

.oj-sort-button {
  margin-right: 10px;
}

.oj-hidden-by-enhance { display: none !important; }

@media (max-width: 900px) {
  .oj-brand-link img { width: 194px; }
  body .MuiTab-root, body .MuiButton-root { font-size: 1.04rem !important; }
  .oj-home-brand { padding-top: 46px; padding-bottom: 2.4rem; }
  .oj-home-hero { min-height: 34vh; }
  .oj-hero-center { min-height: 34vh; padding: 0 1.1rem; }
  .oj-home-brand-logo { width: min(640px, 90vw); }
  .oj-home-sections { padding: 0 1.1rem; }
  .oj-live-grid, .oj-two-col, .oj-home-feed { grid-template-columns: 1fr; gap: 2rem; }
  .oj-live-card { align-items: flex-start; }
  .oj-live-right { width: 100%; justify-content: space-between; }
  .oj-live-thumb { width: 132px; }
  .oj-waveform { grid-template-columns: repeat(72, minmax(0, 1fr)); }
  .oj-upload-wave { grid-template-columns: repeat(36, minmax(0, 1fr)); }
}


.oj-sort-button {
  margin-right: 10px;
}

.oj-sort-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
}

.oj-sort-trigger-label,
.oj-sort-trigger-icon {
  color: inherit !important;
}

.oj-sort-trigger-icon {
  font-size: .9em;
  opacity: .9;
}

.oj-dropdown-panel {
  position: fixed;
  z-index: 10000;
}


.oj-filter-like-sort {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 40px !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.oj-sort-trigger-label {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.oj-sort-trigger-icon-left {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.95em !important;
  line-height: 1 !important;
  opacity: .96;
  border: 1px solid rgba(119,104,255,.16);
  box-shadow: 0 18px 40px rgba(0,0,0,.26);
}

.oj-sort-trigger-icon {
  margin-left: 2px;
}

.oj-dropdown-wrap {
  overflow: visible !important;
}

.oj-dropdown-panel {
  position: absolute !important;
  top: calc(100% + 10px) !important;
  left: 0 !important;
  right: auto !important;
  z-index: 9999 !important;
}


.oj-project-production-shell {
  position: relative;
  z-index: 6;
  margin: 0 0 1.4rem;
}

.oj-project-tabs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(12, 6, 5, 0.72);
  border: 1px solid rgba(255,106,61,.14);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.oj-project-tab {
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--oj-text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.oj-project-tab-active {
  background: linear-gradient(135deg, var(--oj-accent), var(--oj-accent-2));
  color: #fff;
  border-color: transparent;
}

.oj-production-panel {
  margin-top: 1rem;
  padding: 1.2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(17,9,8,.76), rgba(9,5,4,.58));
  border: 1px solid rgba(255,106,61,.14);
}

.oj-production-title {
  margin: 0 0 .9rem;
  font-size: 1.1rem;
}

.oj-prod-access-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: .9rem;
}

.oj-prod-access-input {
  min-width: 220px;
  flex: 1 1 240px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--oj-text);
}

.oj-prod-access-button {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--oj-accent), var(--oj-accent-2));
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.oj-prod-status,
.oj-prod-access-note {
  color: var(--oj-text-soft);
  margin-bottom: .8rem;
}

.oj-prod-members {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .6rem;
}

.oj-prod-member,
.oj-prod-member-empty {
  padding: .82rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  color: var(--oj-text);
}

.oj-sort-button .oj-sort-trigger-icon { display: none !important; }

.oj-live-thumb {
  width: 118px;
  height: 70px;
  border-radius: 14px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.oj-live-card:nth-child(1) .oj-live-thumb { background-image: url('/custom/oj-live-thumb-1.png?v=1'); }
.oj-live-card:nth-child(2) .oj-live-thumb { background-image: url('/custom/oj-live-thumb-2.png?v=1'); }
.oj-live-card:nth-child(3) .oj-live-thumb { background-image: url('/custom/oj-live-thumb-3.png?v=1'); }
.oj-live-card:nth-child(4) .oj-live-thumb { background-image: url('/custom/oj-live-thumb-4.png?v=1'); }
.oj-live-card:nth-child(5) .oj-live-thumb { background-image: url('/custom/oj-live-thumb-5.png?v=1'); }
.oj-panel-image-news { content-visibility: auto; }
.oj-panel-image-event { content-visibility: auto; }

/* Production tab and profile layout: scoped additions only */
.oj-production-shell {
  position: relative;
  z-index: 6;
  width: min(100%, 1180px);
  margin: 0 auto 1.4rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.oj-production-tabs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.72);
  border: 1px solid rgba(123, 145, 255, .20);
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.oj-production-tab {
  min-height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  color: var(--oj-text);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.oj-production-tab-active {
  background: linear-gradient(135deg, var(--oj-accent), var(--oj-accent-2));
  color: #fff;
  border-color: transparent;
}

.oj-production-shell .oj-production-panel {
  width: min(100%, 760px);
}

.oj-route-profile main,
.oj-route-profile [role="main"] {
  width: min(100%, 1180px) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.oj-route-profile main > *,
.oj-route-profile [role="main"] > * {
  max-width: 100% !important;
}

/* Production DAW + compact manage access */
.oj-production-shell .oj-production-panel {
  width: min(100%, 1120px) !important;
  display: grid;
  gap: 18px;
  padding: 18px !important;
}

.oj-production-access-menu {
  width: min(100%, 420px);
  justify-self: start;
  position: relative;
  margin-top: 4px;
}

.oj-prod-access-summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  color: var(--oj-text);
  font-weight: 800;
}

.oj-prod-access-summary::-webkit-details-marker { display: none; }
.oj-prod-access-summary::after { content: '⌄'; margin-left: 8px; opacity: .75; }
.oj-production-access-menu[open] .oj-prod-access-summary::after { content: '⌃'; }

.oj-production-access-menu .oj-production-section {
  margin-top: 10px;
  padding: 14px !important;
  border-radius: 18px;
  background: rgba(8,12,24,.92);
  border: 1px solid rgba(123,145,255,.18);
  box-shadow: 0 18px 40px rgba(0,0,0,.24);
}

.oj-production-access-menu .oj-prod-access-form { margin-bottom: 8px; }
.oj-production-access-menu .oj-prod-members { gap: 6px; }
.oj-production-access-menu .oj-prod-member,
.oj-production-access-menu .oj-prod-member-empty {
  padding: .55rem .75rem;
  border-radius: 12px;
}

.oj-daw-shell {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.oj-production-shell .oj-production-panel {
  width: min(100%, 1120px) !important;
  margin-top: 1rem !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.oj-production-access-block {
  width: min(100%, 1120px);
  margin: 18px auto 0;
  display: flex;
  justify-content: flex-start;
}

.oj-production-access-block .oj-production-access-menu,
.oj-production-access-menu {
  width: min(100%, 420px);
  margin: 18px 0 0;
}

.oj-daw-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.oj-daw-title {
  margin: 0;
  color: var(--oj-text);
  font-size: 1.35rem;
}

.oj-daw-subtitle {
  margin: 4px 0 0;
  color: var(--oj-text-soft);
  font-size: .92rem;
}

.oj-daw-controls {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 0 14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.oj-daw-field {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--oj-text-soft);
  font-size: .88rem;
  font-weight: 800;
}

.oj-daw-field input,
.oj-daw-field select,
.oj-daw-field select option {
  min-height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: #101522 !important;
  color: #f7f8ff !important;
  padding: 0 10px;
}

.oj-daw-bpm { width: 92px; }
.oj-daw-grid-select { min-width: 118px; }
.oj-daw-zoom { width: 120px; accent-color: #46daee; }

.oj-daw-main,
.oj-daw-mini {
  border: 1px solid rgba(205,217,255,.18);
  background: rgba(9,15,26,.74);
  color: rgba(246,249,255,.94);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

.oj-daw-main {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
}

.oj-daw-transport-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 2px;
}

.oj-daw-icon-button {
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1rem;
  line-height: 1;
}

.oj-daw-icon-button span {
  display: block;
  font-family: Arial, sans-serif;
  font-weight: 900;
  line-height: 1;
}

.oj-daw-mini {
  width: 28px;
  min-width: 28px;
  height: 28px;
  min-height: 28px;
  border-radius: 8px;
  padding: 0;
  font-size: .72rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.oj-daw-main:hover,
.oj-daw-mini:hover,
.oj-daw-active {
  border-color: rgba(70,218,238,.60) !important;
  background: rgba(70,218,238,.15) !important;
  color: #fff !important;
}

.oj-daw-workspace {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.oj-daw-library {
  padding: 12px;
  border-radius: 10px;
  background: rgba(9,13,23,.78);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: none;
}

.oj-daw-library h4 {
  margin: 0 0 2px;
  color: var(--oj-text);
  font-size: .95rem;
}

.oj-daw-library p {
  margin: 0 0 10px;
  color: var(--oj-text-soft);
  font-size: .78rem;
}

.oj-daw-library ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
}

.oj-daw-library-item,
.oj-daw-library-empty {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  grid-template-areas: "name hint" "meta hint";
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  min-height: 40px;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(255,255,255,.055);
  background: rgba(255,255,255,.025);
  color: #eef1ff;
  cursor: grab;
  user-select: none;
}

.oj-daw-library-item:nth-child(even) { background: rgba(255,255,255,.04); }
.oj-daw-library-item:hover { background: rgba(73,145,255,.16); }
.oj-daw-library-selected { outline: 1px solid rgba(70,218,238,.72); background: rgba(70,218,238,.13) !important; }

.oj-daw-library-name {
  grid-area: name;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 800;
  color: rgba(248,250,255,.96);
}

.oj-daw-library-meta {
  grid-area: meta;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .72rem;
  color: rgba(228,234,255,.62);
}

.oj-daw-library-hint {
  grid-area: hint;
  align-self: center;
  font-size: .68rem;
  color: rgba(238,241,255,.48);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.oj-daw-grid-wrap {
  min-height: 430px;
  border-radius: 10px;
  background: rgba(9,13,23,.82);
  border: 1px solid rgba(255,255,255,.10);
  overflow: hidden;
}

.oj-daw-grid-scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: rgba(70,218,238,.45) rgba(255,255,255,.06);
}

.oj-daw-grid-inner { min-width: 100%; }

.oj-daw-grid-ruler,
.oj-daw-loop-brace,
.oj-daw-lane-row {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 188px;
}

.oj-daw-grid-ruler {
  height: 34px;
  align-items: center;
  color: rgba(232,238,255,.54);
  font-size: .76rem;
  font-weight: 800;
  background: rgba(255,255,255,.035);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.oj-daw-ruler-track {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-width: 0;
  padding: 0 8px 0 0;
}

.oj-daw-loop-brace {
  height: 25px;
  position: relative;
  cursor: crosshair;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);
}

.oj-daw-loop-track { position: relative; min-width: 0; }

.oj-daw-loop-region {
  position: absolute;
  top: 4px;
  bottom: 4px;
  border-radius: 4px 4px 0 0;
  border: 1px solid rgba(70,218,238,.58);
  background: rgba(70,218,238,.18);
  z-index: 4;
  min-width: 18px;
  pointer-events: none;
}

.oj-daw-loop-label {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .68rem;
  font-weight: 900;
  color: rgba(245,250,255,.90);
  white-space: nowrap;
}

.oj-daw-grid-surface { position: relative; display: block; min-height: 392px; background: transparent; }

.oj-daw-lane-row { min-height: 92px; border-bottom: 1px solid rgba(255,255,255,.075); }
.oj-daw-lane-row:last-child { border-bottom: 0; }

.oj-daw-lane-number {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(238,241,255,.62);
  font-weight: 800;
  font-size: .84rem;
  background: rgba(255,255,255,.025);
  border-right: 1px solid rgba(255,255,255,.07);
}

.oj-daw-lane {
  position: relative;
  min-height: 92px;
  cursor: crosshair;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.13) 0 1px, transparent 1px 1.5625%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.20) 0 1px, transparent 1px 6.25%),
    linear-gradient(90deg, rgba(96,111,255,.075), rgba(36,197,223,.05));
}

.oj-daw-lane-drop { outline: 1px solid rgba(70,218,238,.65); outline-offset: -1px; }

.oj-daw-lane-loop {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(70,218,238,.045);
  border-left: 1px solid rgba(70,218,238,.28);
  border-right: 1px solid rgba(70,218,238,.28);
  pointer-events: none;
  z-index: 1;
}

.oj-daw-lane-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 12px rgba(70,218,238,.70);
  z-index: 8;
  pointer-events: none;
  transform: translateX(-1px);
}

.oj-daw-lane-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 12px;
  background: rgba(255,255,255,.026);
  border-left: 1px solid rgba(255,255,255,.075);
}

.oj-daw-lane-controls .oj-daw-volume { width: 58px; accent-color: var(--oj-accent-2); }

.oj-daw-clip {
  position: absolute;
  top: 20px;
  height: 48px;
  min-width: 80px;
  border-radius: 7px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(95,116,255,.92), rgba(36,197,223,.70));
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  overflow: hidden;
  z-index: 5;
  cursor: grab;
  user-select: none;
  transition: left .05s linear, width .12s ease, transform .12s ease, box-shadow .12s ease;
}

.oj-daw-clip-title {
  display: block;
  font-size: .86rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.oj-daw-clip:hover,
.oj-daw-clip-selected {
  box-shadow: 0 0 0 1px rgba(255,255,255,.38), 0 12px 26px rgba(0,0,0,.24);
  transform: translateY(-1px);
}

.oj-daw-clip-dragging {
  cursor: grabbing !important;
  opacity: .9;
  transform: translateY(-1px);
}

/* DAW interaction refinement: click-to-place clips, discrete zoom and easier loop boundaries. */
.oj-daw-zoom-step {
  min-width: 86px;
}

.oj-daw-loop-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.oj-daw-loop-boundary {
  width: auto;
  min-width: 56px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: .7rem;
}

.oj-daw-loop-track {
  cursor: pointer;
}

.oj-daw-loop-track::before {
  content: 'Click to set selected loop boundary';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(232,238,255,.42);
  font-size: .64rem;
  font-weight: 800;
  pointer-events: none;
}

.oj-daw-loop-region {
  border-color: rgba(103, 235, 255, .72);
  background: rgba(103, 235, 255, .16);
}

.oj-daw-lane {
  cursor: copy;
}

.oj-daw-clip {
  cursor: grab;
  transition: box-shadow .12s ease, transform .12s ease, opacity .12s ease;
  will-change: left;
}

.oj-daw-clip-dragging {
  cursor: grabbing !important;
  opacity: .96;
  box-shadow: 0 0 0 1px rgba(255,255,255,.46), 0 16px 32px rgba(0,0,0,.32);
}

.oj-daw-nudge {
  font-size: .95rem;
  font-weight: 900;
}


/* DAW loop/zoom refinement: interactive loop handles and 4/4-aware zoom grid. */
.oj-daw-zoom-field {
  gap: 10px;
}

.oj-daw-zoom-range {
  width: 150px;
  min-height: auto !important;
  padding: 0 !important;
  accent-color: var(--oj-accent-2);
}

.oj-daw-zoom-readout {
  min-width: 74px;
  color: rgba(238,241,255,.72);
  font-size: .76rem;
  font-weight: 800;
}

.oj-daw-ruler-track {
  position: relative;
  display: block;
  height: 100%;
  padding: 0;
}

.oj-daw-ruler-tick {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.12);
}

.oj-daw-ruler-bar {
  background: rgba(255,255,255,.34);
}

.oj-daw-ruler-tick em {
  position: absolute;
  top: 9px;
  left: 6px;
  font-style: normal;
  color: rgba(238,241,255,.72);
  font-size: .72rem;
  font-weight: 900;
}

.oj-daw-loop-track {
  position: relative;
  min-width: 0;
  cursor: crosshair;
  touch-action: none;
}

.oj-daw-loop-track::before {
  content: '';
}

.oj-daw-loop-region {
  pointer-events: auto !important;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  user-select: none;
  touch-action: none;
}

.oj-daw-loop-region.oj-loop-disabled {
  opacity: .45;
  filter: saturate(.55);
}

.oj-daw-loop-region:active {
  cursor: grabbing;
}

.oj-daw-loop-handle {
  position: absolute;
  top: -3px;
  bottom: -3px;
  width: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(245,250,255,.94);
  box-shadow: 0 0 0 2px rgba(70,218,238,.42), 0 4px 12px rgba(0,0,0,.35);
  cursor: ew-resize;
  z-index: 6;
}

.oj-daw-loop-handle-start {
  left: -6px;
}

.oj-daw-loop-handle-end {
  right: -6px;
}

.oj-daw-loop-label {
  position: static;
  transform: none;
  padding: 0 18px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

.oj-daw-lane {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px var(--oj-bar-width, 256px)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.105) 0 1px, transparent 1px var(--oj-beat-width, 64px)),
    linear-gradient(90deg, rgba(96,111,255,.075), rgba(36,197,223,.05));
}

.oj-daw-lane-loop {
  background: rgba(70,218,238,.05);
  border-left-color: rgba(70,218,238,.38);
  border-right-color: rgba(70,218,238,.38);
}

.oj-daw-loop-editing,
.oj-daw-loop-editing * {
  cursor: ew-resize !important;
}

