@font-face {
  font-family: 'Player Inter';
  src: url('./fonts/inter-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

.player-theme-cookie {
  display: none;
  margin-left: auto;
  flex: 0 0 auto;
}
.oreo-edition { display: none; }

html[data-player-theme="oreo"]:not([data-hub-alerts-only]) {
  --bg: #0764dc;
  --panel: #24232e;
  --panel2: #35313f;
  --line: #585160;
  --line2: #80d8ff;
  --text: #fff8e9;
  --muted: #d1c8d5;
  --blue: #0866df;
  --blue-deep: #064daf;
  --sky: #80d8ff;
  --gold: #fff8e9;
  --green: #a5debb;
  --red: #ff9c95;
  --accent: var(--blue);
  --label-color: #151521;
  --label-bg: #fff8e9;
  --oreo-cream: #fff8e9;
  --oreo-ink: #151521;
  --oreo-type: 'Player Inter', Inter, system-ui, sans-serif;
  color-scheme: dark;
}
html[data-player-theme="oreo"]:not([data-hub-alerts-only]) body {
  font-family: var(--oreo-type);
  background:
    radial-gradient(circle, #9fddff26 1px, transparent 1.5px) 0 0 / 12px 12px,
    radial-gradient(ellipse at 100% 100%, #00a8fa, transparent 65%),
    linear-gradient(130deg, #054cb8, var(--bg) 55%);
}
html[data-player-theme="oreo"] #player-topbar {
  position: relative;
  z-index: 2;
  padding: 14px 24px 12px;
  gap: 20px;
  background: var(--oreo-cream);
  border-top: 5px solid var(--oreo-ink);
  border-bottom: 0;
  box-shadow: none;
}
html[data-player-theme="oreo"] #player-topbar::after {
  content: '';
  position: absolute;
  inset: auto 0 -25px;
  height: 28px;
  background: url('./player-oreo-drip.svg') left top / 192px 28px repeat-x;
  pointer-events: none;
}
html[data-player-theme="oreo"] #brand-logo { height: 68px; filter: drop-shadow(0 3px 0 #d9d2c3); }
html[data-player-theme="oreo"] #brand-words {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
html[data-player-theme="oreo"] #brand-name {
  color: var(--oreo-ink);
  font-family: var(--oreo-type);
  font-size: clamp(28px, 3.7vw, 48px);
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.075em;
  text-transform: none;
  line-height: 1;
  transform: rotate(-3deg);
}
html[data-player-theme="oreo"] #brand-name em {
  color: #075bd2;
  font-style: normal;
  text-shadow: 2px 2px 0 #80d8ff;
}
html[data-player-theme="oreo"] #brand-tenant { color: #505168; max-width: 100%; margin-top: 7px; }
html[data-player-theme="oreo"] .oreo-edition {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
  color: var(--oreo-ink);
  transform: rotate(-5deg);
}
html[data-player-theme="oreo"] .oreo-edition > span {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #075bd2;
}
html[data-player-theme="oreo"] .oreo-edition strong {
  font-size: 25px;
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.07em;
}
html[data-player-theme="oreo"] .oreo-edition small { font-size: 9px; font-weight: 600; margin-top: 3px; }
html[data-player-theme="oreo"] .player-theme-cookie {
  display: block;
  width: 140px;
  height: 104px;
  margin-left: 0;
  transform: rotate(4deg);
  filter: drop-shadow(3px 4px 0 #15152115);
  animation: oreo-dunk-in 750ms cubic-bezier(.2, .8, .3, 1.2) both;
}
html[data-player-theme="oreo"] #status-row { padding: 36px 24px 0; gap: 8px; }
html[data-player-theme="oreo"]:not([data-hub-alerts-only]) #main-content { padding: 18px 24px 24px; gap: 24px; }
html[data-player-theme="oreo"] .status-badge {
  border: 2px solid var(--oreo-ink);
  border-radius: 6px 10px 7px 10px;
  letter-spacing: 0.04em;
  color: var(--oreo-ink);
  background: var(--oreo-cream);
  box-shadow: 2px 2px 0 var(--oreo-ink);
}
html[data-player-theme="oreo"] .status-badge.st-ok {
  color: #155136;
  border-color: var(--oreo-ink);
  background: #d4f4db;
}
html[data-player-theme="oreo"] .status-badge.st-warn {
  color: #704208;
  border-color: var(--oreo-ink);
  background: #ffe1a2;
}
html[data-player-theme="oreo"] .status-badge.st-bad {
  color: #87253a;
  border-color: var(--oreo-ink);
  background: #ffd2d9;
}
html[data-player-theme="oreo"] #coord-container {
  border: 3px solid var(--oreo-ink);
  border-radius: 26px 26px 22px 22px;
  background:
    repeating-linear-gradient(45deg, #b7a2be0d 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, #b7a2be0d 0 1px, transparent 1px 14px),
    linear-gradient(130deg, #302a37, #181620);
  box-shadow: 0 6px 0 var(--oreo-cream), 0 9px 0 var(--oreo-ink), 5px 13px 0 #053477;
}
html[data-player-theme="oreo"] #coord-container > .iframe-label {
  padding: 6px 18px;
  border-top: 3px solid var(--oreo-ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
html[data-player-theme="oreo"] .coord-card { border-bottom-color: #ffffff0f; }
html[data-player-theme="oreo"] .coord-active {
  background: linear-gradient(110deg, #036ade36, transparent 65%);
  box-shadow: inset 5px 0 0 var(--sky);
}
html[data-player-theme="oreo"] .coord-queued { background: #f6f0e406; }
html[data-player-theme="oreo"] .coord-idle {
  font-family: var(--oreo-type);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.015em;
  text-transform: none;
}
html[data-player-theme="oreo"] #coord-status > .coord-idle { gap: 4px; color: #f0e8f4; }
html[data-player-theme="oreo"] #coord-status > .coord-idle::before {
  content: '';
  flex: 0 0 104px;
  width: 145px;
  height: 104px;
  background: url('./player-oreo-dunk.svg') center / contain no-repeat;
  transform: rotate(-5deg);
  filter: drop-shadow(0 5px 0 #0003);
}
html[data-player-theme="oreo"] .coord-user { color: var(--text); }
html[data-player-theme="oreo"] .coord-title { color: #e3dace; }
html[data-player-theme="oreo"] .coord-img { background: #151311; border: 1px solid #746557; }
html[data-player-theme="oreo"] .coord-skip {
  color: var(--oreo-ink);
  background: var(--oreo-cream);
  border: 2px solid var(--oreo-ink);
  box-shadow: 3px 4px 0 #80d8ff;
  font-family: var(--oreo-type);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
}
html[data-player-theme="oreo"] .coord-skip:hover { background: #bceaff; transform: rotate(-2deg); }
html[data-player-theme="oreo"] .coord-skip:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 #80d8ff; }
html[data-player-theme="oreo"] .cheer-badge { background: #074da7; border-color: #639cfa; }
html[data-player-theme="oreo"] #control-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) 42px;
  gap: 10px;
  padding-bottom: 3px;
}
html[data-player-theme="oreo"] #master-mute {
  grid-column: 1 / -1;
  justify-self: center;
  align-self: center;
  width: min(140px, 100%);
  height: auto;
  aspect-ratio: 1;
  max-height: 100%;
  border: 5px solid var(--oreo-ink);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 5deg, #6e5d7526 0deg 4deg, transparent 4deg 16deg),
    radial-gradient(circle at 35% 25%, #484051, #201925 70%);
  box-shadow: inset 0 0 0 3px #74657d, inset 0 0 0 7px #201925, 0 6px 0 var(--oreo-cream), 0 10px 0 var(--oreo-ink);
  text-shadow: 0 2px 5px #000;
}
html[data-player-theme="oreo"] #master-mute::before {
  content: '';
  position: absolute;
  inset: 9px;
  border: 3px dashed #b29bbe80;
  border-radius: inherit;
  pointer-events: none;
}
html[data-player-theme="oreo"] #master-mute:hover { transform: translateY(-3px) rotate(-8deg); }
html[data-player-theme="oreo"] #master-mute:active { transform: translateY(2px); }
html[data-player-theme="oreo"] #master-mute[aria-pressed="true"] {
  background: radial-gradient(circle at 35% 25%, #d35c72, #912e45);
  box-shadow: inset 0 0 0 3px #ffb9c6, inset 0 0 0 7px #912e45, 0 6px 0 var(--oreo-cream), 0 10px 0 var(--oreo-ink);
}
html[data-player-theme="oreo"] #master-mute:disabled { transform: none; }
html[data-player-theme="oreo"] #tab-mute,
html[data-player-theme="oreo"] #player-settings-btn {
  height: 42px;
  border: 3px solid var(--oreo-ink);
  border-radius: 12px 15px 10px 14px;
  background: var(--oreo-cream);
  color: var(--oreo-ink);
  box-shadow: 3px 3px 0 var(--oreo-ink);
}
html[data-player-theme="oreo"] #tab-mute:hover,
html[data-player-theme="oreo"] #player-settings-btn:hover { background: #c6edff; border-color: var(--oreo-ink); transform: translateY(-2px); }
html[data-player-theme="oreo"] #tab-mute[aria-pressed="true"] {
  background: #ffd2d9;
  border-color: #87253a;
  box-shadow: 3px 3px 0 #87253a;
}
html[data-player-theme="oreo"] #mute-cover {
  background: #84273df5;
  border: 3px solid var(--oreo-ink);
  border-radius: 24px;
}
html[data-player-theme="oreo"] #history-panel,
html[data-player-theme="oreo"] #next-panel {
  --text: #151521;
  --muted: #545466;
  --sky: #0754b7;
  --green: #196140;
  --red: #aa2d46;
  --line: #b4bcc9;
  padding: 18px;
  border: 3px solid var(--oreo-ink);
  border-radius: 22px;
  background: var(--oreo-cream);
  color: var(--text);
  box-shadow: 5px 6px 0 var(--oreo-ink);
}
html[data-player-theme="oreo"] #history-panel { margin-top: 8px; }
html[data-player-theme="oreo"] #next-panel { margin-top: 8px; }
html[data-player-theme="oreo"] #next-panel { background: #def1ff; }
html[data-player-theme="oreo"] #history-panel-head,
html[data-player-theme="oreo"] #next-panel-head { min-height: 100px; }
html[data-player-theme="oreo"] #history-panel-head { align-items: flex-start; }
html[data-player-theme="oreo"] #history-eyebrow,
html[data-player-theme="oreo"] #next-eyebrow {
  padding: 4px 7px;
  border: 1px solid var(--oreo-ink);
  border-radius: 5px;
  background: #151521;
  color: #fff8e9;
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.12em;
}
html[data-player-theme="oreo"] #history-panel-head h2,
html[data-player-theme="oreo"] #next-panel-head h2 {
  color: var(--oreo-ink);
  font-family: var(--oreo-type);
  font-size: clamp(20px, 2.2vw, 26px);
  font-style: normal;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
  text-transform: none;
  margin-top: 8px;
}
html[data-player-theme="oreo"] #history-panel-head p,
html[data-player-theme="oreo"] #next-panel-head p { line-height: 1.5; margin-top: 7px; font-size: 11px; }
html[data-player-theme="oreo"] #history-clear {
  min-height: 34px;
  padding: 7px 11px;
  margin-top: 23px;
  border: 2px solid var(--oreo-ink);
  background: #fffefb;
  color: var(--oreo-ink);
  box-shadow: 2px 2px 0 var(--oreo-ink);
  font-family: var(--oreo-type);
  font-size: 12px;
  text-transform: none;
  letter-spacing: 0;
}
html[data-player-theme="oreo"] #history-clear:hover { color: var(--red); border-color: var(--red); transform: rotate(-4deg); }
html[data-player-theme="oreo"] #history-list,
html[data-player-theme="oreo"] #next-list { padding: 2px 4px 8px 0; gap: 12px; }
html[data-player-theme="oreo"] .hist-item {
  background: #fffefb;
  border: 2px solid var(--oreo-ink);
  border-left: 6px solid var(--oreo-ink);
  border-radius: 13px 16px 13px 10px;
  box-shadow: 3px 3px 0 #151521;
}
html[data-player-theme="oreo"] .hist-item:hover { background: #eef8ff; border-color: #075bd2; }
html[data-player-theme="oreo"] .hist-item .coord-title { color: #353343; }
html[data-player-theme="oreo"] .hist-item .coord-name-se { color: #754299; }
html[data-player-theme="oreo"] .hist-item .coord-name-streamlabs { color: #12644f; }
html[data-player-theme="oreo"] #next-list .hist-item:hover { background: #fffefb; border-color: var(--oreo-ink); }
html[data-player-theme="oreo"] .hist-item.coord-idle,
html[data-player-theme="oreo"] .hist-item.coord-idle:hover,
html[data-player-theme="oreo"] #next-list .hist-item.coord-idle:hover {
  flex-direction: row;
  gap: 12px;
  min-height: 94px;
  color: #545466;
  background: #ffffff70;
  border: 2px dashed #a1a6b7;
  box-shadow: none;
  padding: 18px 16px;
}
html[data-player-theme="oreo"] .hist-item.coord-idle::before {
  content: '';
  flex: 0 0 42px;
  width: 42px;
  height: 46px;
  background: url('./player-oreo-cookie.svg') center / contain no-repeat;
  transform: rotate(-15deg);
}
html[data-player-theme="oreo"] #next-list .hist-item.coord-idle::before {
  flex-basis: 64px;
  width: 64px;
  background-image: url('./player-oreo-dunk.svg');
  transform: rotate(5deg);
}
html[data-player-theme="oreo"] #unlock-overlay {
  background:
    radial-gradient(circle, #ffffff21 1px, transparent 1.5px) 0 0 / 14px 14px,
    radial-gradient(ellipse at 50% 35%, #12a8f2, #0655c3 75%);
  gap: 20px;
}
html[data-player-theme="oreo"] #unlock-overlay::before {
  content: '';
  width: min(310px, 65vw);
  height: min(230px, 48vw);
  background: url('./player-oreo-dunk.svg') center / contain no-repeat;
  transform: rotate(-7deg);
  filter: drop-shadow(4px 8px 0 #00348066);
  animation: oreo-dunk-in 900ms cubic-bezier(.2, .8, .3, 1.2) both;
}
html[data-player-theme="oreo"] .unlock-logo {
  width: min(220px, 50vw);
  padding: 12px;
  border: 3px solid var(--oreo-ink);
  border-radius: 18px;
  background: var(--oreo-cream);
  filter: drop-shadow(4px 5px 0 var(--oreo-ink));
  transform: rotate(-3deg);
}
html[data-player-theme="oreo"] #unlock-overlay p {
  max-width: 340px;
  color: #fff;
  font-family: var(--oreo-type);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
}
html[data-player-theme="oreo"] #player-setup { background: #052962d9; }
html[data-player-theme="oreo"] .setup-box {
  --muted: #545466;
  --text: #151521;
  --red: #a62b40;
  --line: #bbb3a7;
  position: relative;
  background: var(--oreo-cream);
  border: 3px solid var(--oreo-ink);
  border-radius: 28px;
  box-shadow: 7px 8px 0 var(--oreo-ink), 0 22px 60px #001e5a66;
}
html[data-player-theme="oreo"] .setup-box::before {
  content: '';
  position: absolute;
  top: 12px;
  right: 16px;
  width: 110px;
  height: 82px;
  background: url('./player-oreo-dunk.svg') center / contain no-repeat;
  transform: rotate(12deg);
  pointer-events: none;
}
html[data-player-theme="oreo"] .setup-box h1 {
  font-family: var(--oreo-type);
  font-style: normal;
  font-weight: 900;
  font-size: 29px;
  letter-spacing: -0.045em;
  text-transform: none;
  color: var(--oreo-ink);
}
html[data-player-theme="oreo"] .setup-box p.setup-hint { line-height: 1.6; }
html[data-player-theme="oreo"] .setup-field label { color: #0754b7; }
html[data-player-theme="oreo"] .setup-field input {
  background: #fffefb;
  border: 2px solid #a5a4ad;
  color: var(--text);
  font-size: 16px;
}
html[data-player-theme="oreo"] .setup-field input::placeholder { color: #767381; opacity: 1; }
html[data-player-theme="oreo"] .setup-field input:focus { border-color: #075bd2; }
html[data-player-theme="oreo"] .setup-actions button,
html[data-player-theme="oreo"] .setup-copy button {
  font-family: var(--oreo-type);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  min-height: 44px;
}
html[data-player-theme="oreo"] #setup-save {
  color: #fff;
  background: #075bd2;
  border: 2px solid var(--oreo-ink);
  box-shadow: 3px 3px 0 var(--oreo-ink);
}
html[data-player-theme="oreo"] #setup-save:hover { background: #0745a2; }
html[data-player-theme="oreo"] #setup-clear,
html[data-player-theme="oreo"] #setup-close { background: #fffefb; border: 2px solid #b0aab5; color: #444052; }
html[data-player-theme="oreo"] #setup-clear:hover,
html[data-player-theme="oreo"] #setup-close:hover { border-color: var(--oreo-ink); color: var(--oreo-ink); }
html[data-player-theme="oreo"] .setup-copy button { background: #24232e; border: 2px solid var(--oreo-ink); box-shadow: 3px 3px 0 #91859e; }
html[data-player-theme="oreo"] .setup-copy button:hover:not(:disabled) { background: #42374e; }
html[data-player-theme="oreo"] #mute-status { background: #fff8e9; color: var(--oreo-ink); border: 2px solid var(--oreo-ink); box-shadow: 3px 4px 0 var(--oreo-ink); }
html[data-player-theme="oreo"] #mute-status.error { border-color: var(--red); }
html[data-player-theme="oreo"] button:focus-visible,
html[data-player-theme="oreo"] input:focus-visible,
html[data-player-theme="oreo"] select:focus-visible {
  outline: 3px solid #ffbc42;
  outline-offset: 3px;
}

@keyframes oreo-dunk-in {
  from { opacity: 0; translate: 0 -18px; rotate: -10deg; }
  to { opacity: 1; translate: 0 0; rotate: 0deg; }
}

@media (max-width: 900px) {
  html[data-player-theme="oreo"] .oreo-edition { display: none; }
  html[data-player-theme="oreo"] .player-theme-cookie { margin-left: auto; width: 100px; height: 74px; }
  html[data-player-theme="oreo"]:not([data-hub-alerts-only]) #main-content { overflow-y: auto; }
  html[data-player-theme="oreo"] #panels-row { flex-direction: column; flex: 1 0 auto; gap: 16px; }
  html[data-player-theme="oreo"] #history-panel,
  html[data-player-theme="oreo"] #next-panel { flex: 1 0 240px; min-height: 240px; }
  html[data-player-theme="oreo"] #history-panel-head,
  html[data-player-theme="oreo"] #next-panel-head { min-height: 80px; }
  html[data-player-theme="oreo"] #history-list,
  html[data-player-theme="oreo"] #next-list { max-height: 300px; }
}

@media (max-width: 680px) {
  #player-topbar { flex-wrap: wrap; column-gap: 12px; row-gap: 8px; }
  html[data-player-theme="oreo"] #player-topbar { padding: 12px 14px 8px; gap: 10px; flex-wrap: nowrap; }
  html[data-player-theme="oreo"] #brand-logo { height: 42px; }
  html[data-player-theme="oreo"] #brand-name { font-size: clamp(22px, 5vw, 30px); }
  html[data-player-theme="oreo"] #brand-tenant { font-size: 9px; letter-spacing: 0.02em; }
  html[data-player-theme="oreo"] .player-theme-cookie { width: 58px; height: 44px; }
  html[data-player-theme="oreo"] #brand-words { flex: 1; }
  html[data-player-theme="oreo"] #status-row { padding: 32px 14px 0; }
  html[data-player-theme="oreo"]:not([data-hub-alerts-only]) #main-content { padding: 16px 14px 22px; gap: 22px; }
  html[data-player-theme="oreo"] #history-panel,
  html[data-player-theme="oreo"] #next-panel { padding: 14px; }
  html[data-player-theme="oreo"] #coord-status { font-size: 1rem; }
  html[data-player-theme="oreo"] #coord-status .coord-active { flex-direction: column; gap: 6px; }
  html[data-player-theme="oreo"] #coord-status .coord-skip { min-height: 40px; padding: 8px 12px; font-size: 1rem; }
  html[data-player-theme="oreo"] #coord-status .coord-card-body { margin-top: 6px; gap: 8px; }
  html[data-player-theme="oreo"] #coord-status .coord-img,
  html[data-player-theme="oreo"] #coord-status .coord-ov-blerp .coord-img { width: 48px; height: 48px; border-radius: 12px; }
  html[data-player-theme="oreo"] #coord-status .coord-ov-blerp .coord-user { font-size: 1.12em; }
  html[data-player-theme="oreo"] #coord-status .coord-ov-blerp .coord-title { font-size: 1em; }
  html[data-player-theme="oreo"] #coord-status .coord-ov-blerp .coord-detail { font-size: 0.88em; }
  html[data-player-theme="oreo"] #coord-status .coord-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  html[data-player-theme="oreo"] #master-mute { border-radius: 50%; border-width: 4px; font-size: 2.5rem; }
  html[data-player-theme="oreo"] #history-panel-head { align-items: flex-start; }
  html[data-player-theme="oreo"] #history-panel-head p,
  html[data-player-theme="oreo"] #next-panel-head p { font-size: 11px; }
}

@media (max-height: 700px) {
  html[data-player-theme="oreo"]:not([data-hub-alerts-only]) #main-content { overflow-y: auto; }
  html[data-player-theme="oreo"] #panels-row { flex: 1 0 270px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-player-theme="oreo"] *,
  html[data-player-theme="oreo"] *::before,
  html[data-player-theme="oreo"] *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
