
  @import url('https://fonts.googleapis.com/css2?family=Rubik+Spray+Paint&family=Permanent+Marker&display=swap');
  :root {
    --navy: #070d1e;
    --navy2: #0b1430;
    --navy3: #101c3d;
    --line: #1d2d55;
    --blue: #4da3ff;
    --blue-soft: #8cc6ff;
    --blue-dim: #2b6fb8;
    --cyan: #5eead4;
    --gold: #ffc861;
    --text: #dce7ff;
    --muted: #8ba0c9;
    --danger: #ff6b81;
    --good: #3ddc97;
    --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  }

  html, body { background: var(--navy); }

  /* ---------- modern scrollbars ---------- */
  * { scrollbar-width: thin; scrollbar-color: #2b4470 transparent; }
  *::-webkit-scrollbar { width: 10px; height: 10px; }
  *::-webkit-scrollbar-track { background: transparent; }
  *::-webkit-scrollbar-thumb {
    background: linear-gradient(160deg, #2b4470, #1d2d55);
    border-radius: 999px; border: 2px solid transparent; background-clip: padding-box;
  }
  *::-webkit-scrollbar-thumb:hover { background: linear-gradient(160deg, var(--blue-dim), #2b4470); background-clip: padding-box; border: 2px solid transparent; }
  *::-webkit-scrollbar-corner { background: transparent; }
  body {
    text-align: left;
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, sans-serif;
    margin: 0;
    -webkit-font-smoothing: antialiased;
  }
  #ommApp {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 14px 60px;
    background:
      radial-gradient(1100px 520px at 12% -12%, rgba(77,163,255,.16), transparent 60%),
      radial-gradient(900px 460px at 88% -6%, rgba(94,234,212,.09), transparent 55%),
      linear-gradient(180deg, var(--navy) 0%, #060a17 60%, #05080f 100%);
    min-height: 100vh;
  }
  a { color: var(--blue-soft); text-decoration: none; }
  a:hover { color: #fff; }
  h1, h2, h3, h4 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
  .omm-muted { color: var(--muted); }
  .omm-mono { font-family: var(--mono); }
  .omm-small { font-size: 12px; }
  .omm-tiny { font-size: 11px; }
  .omm-nowrap { white-space: nowrap; }
  .omm-right { text-align: right; }
  .omm-center { text-align: center; }
  .omm-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
  .omm-col { display: flex; flex-direction: column; gap: 6px; }
  .omm-grow { flex: 1 1 auto; min-width: 0; }
  .omm-hide { display: none !important; }

  /* ---------- header ---------- */
  .omm-top {
    position: sticky; top: 0; z-index: 40;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) 240px auto auto;
    gap: 14px;
    align-items: center;
    padding: 10px 4px;
    backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(7,13,30,.96), rgba(7,13,30,.72));
    border-bottom: 1px solid var(--line);
  }
  .omm-brand { display: flex; align-items: center; gap: 9px; color: #fff; }
  .omm-logo {
    display: grid; place-items: center;
    width: 34px; height: 34px; border-radius: 10px;
    background: linear-gradient(150deg, var(--blue), #1a4e8a);
    color: #04101f;
    box-shadow: 0 0 0 1px rgba(140,198,255,.35), 0 6px 20px rgba(77,163,255,.28);
  }
  .omm-brandtext { display: flex; flex-direction: column; line-height: 1; letter-spacing: .06em; }
  .omm-brandtext b { font-size: 13px; }
  .omm-brandtext i { font-size: 10px; font-style: normal; color: var(--blue-soft); letter-spacing: .22em; }

  .omm-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .omm-nav::-webkit-scrollbar { display: none; }
  .omm-nav a {
    padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 550;
    color: var(--muted); border: 1px solid transparent; white-space: nowrap;
  }
  .omm-nav a:hover { color: #fff; background: rgba(77,163,255,.08); }
  .omm-nav a.active { color: #fff; background: rgba(77,163,255,.16); border-color: rgba(77,163,255,.45); }
  /* Admin links ship hidden and are only unhidden for the desk by paintNav,
     so a slow first paint can never leak the desk before the splash lifts. */
  .omm-nav a[hidden], .omm-search[hidden] { display: none; }

  /* Search is scoped under #ommApp so WP theme input[type="search"]
     rules (same specificity, later stylesheet) can never override it. */
  #ommApp .omm-search { position: relative; min-width: 0; }
  #ommApp .omm-search input {
    width: 100%; max-width: none; box-sizing: border-box; margin: 0;
    -webkit-appearance: none; appearance: none;
    font: inherit; font-size: 13px; line-height: 1.4;
    background: var(--navy3); border: 1px solid var(--line); border-radius: 10px;
    color: var(--text); padding: 8px 11px; outline: none;
  }
  #ommApp .omm-search input:focus {
    background: var(--navy3); border-color: var(--blue-dim); color: var(--text);
    box-shadow: 0 0 0 3px rgba(77,163,255,.14); outline: none;
  }
  #ommApp .omm-results {
    position: absolute; top: 42px; left: 0; right: 0; z-index: 60;
    background: #0a142c;
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    max-height: 60vh; overflow-y: auto;
    box-shadow: 0 22px 50px rgba(0,0,0,.6);
  }
  #ommApp .omm-results[hidden] { display: none; }
  #ommApp .omm-results button {
    display: block; width: 100%; text-align: left; background: none; border: 0; border-radius: 0;
    font: inherit; font-size: 13px;
    color: var(--text); padding: 9px 12px; cursor: pointer;
  }
  #ommApp .omm-results button:hover { background: rgba(77,163,255,.12); }
  #ommApp .omm-results button small { color: var(--muted); }

  /* ---------- autosave indicator ---------- */
  .omm-savechip {
    display: inline-flex; align-items: center; gap: 6px; justify-self: end;
    padding: 6px 10px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--line); background: rgba(140,198,255,.05);
    color: var(--muted); font-size: 11.5px; font-weight: 550; white-space: nowrap;
    transition: .15s; user-select: none; flex: none;
  }
  .omm-savechip:hover { border-color: var(--blue-dim); color: var(--text); }
  .omm-savechip[hidden] { display: none; }
  .omm-savedot {
    width: 8px; height: 8px; border-radius: 50%; flex: none;
    background: var(--good); box-shadow: 0 0 8px rgba(61,220,151,.7);
  }
  .omm-savechip[data-state="busy"] { color: var(--gold); }
  .omm-savechip[data-state="busy"] .omm-savedot {
    background: var(--gold); box-shadow: 0 0 8px rgba(255,200,97,.7);
    animation: ommPulse 1s ease-in-out infinite;
  }
  .omm-savechip[data-state="bad"] { color: var(--danger); border-color: rgba(255,107,129,.5); }
  .omm-savechip[data-state="bad"] .omm-savedot { background: var(--danger); box-shadow: 0 0 8px rgba(255,107,129,.7); }

  /* ---------- ticker ---------- */
  .omm-ticker {
    display: flex; gap: 10px; align-items: center;
    position: relative;
    padding: 7px 4px; margin: 10px 0 16px;
    border: 1px solid var(--line); border-radius: 12px;
    background: linear-gradient(90deg, rgba(77,163,255,.10), rgba(94,234,212,.04));
    overflow: hidden; white-space: nowrap;
  }
  .omm-ticker .omm-chip { flex: 0 0 auto; position: relative; z-index: 2; background: #0e1832; }
  .omm-ticker .omm-chip.ghost { background: #0e1832; }
  .omm-ticker .tk-mask { flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; align-items: center; }
  .omm-ticker .tk-track { display: inline-flex; gap: 26px; align-items: center; font-size: 12.5px; width: max-content; animation: ommSlide 60s linear infinite; }
  .omm-ticker a.tk { display: inline-flex; gap: 8px; align-items: center; }
  .omm-ticker .tk span { color: var(--muted); }
  .omm-ticker .tk span { color: var(--muted); }
  @keyframes ommSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

  /* ---------- cards / layout ---------- */
  .omm-grid { display: grid; gap: 14px; }
  .omm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
  .omm-card {
    border: 1px solid var(--line); border-radius: 14px;
    background: linear-gradient(170deg, rgba(16,28,61,.72), rgba(9,16,36,.66));
    padding: 14px;
  }
  .omm-card.tight { padding: 11px; }
  .omm-section { margin: 26px 0 10px; }
  .omm-section h2 { font-size: 17px; display: flex; align-items: center; gap: 9px; }
  .omm-section h2 .rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
  .omm-sub { color: var(--muted); font-size: 12.5px; margin-top: 3px; }

  .omm-panel {
    border: 1px solid var(--line); border-radius: 14px; padding: 14px;
    background: linear-gradient(170deg, rgba(13,23,50,.75), rgba(8,14,32,.6));
  }

  /* ---------- badges ---------- */
  .omm-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 10.5px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
    padding: 2.5px 7px; border-radius: 999px;
    border: 1px solid currentColor; opacity: .95;
  }
  .omm-chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11.5px; padding: 3px 9px; border-radius: 999px;
    background: rgba(77,163,255,.10); border: 1px solid rgba(77,163,255,.28); color: var(--blue-soft);
  }
  .omm-chip.ghost { background: rgba(140,198,255,.05); border-color: var(--line); color: var(--muted); }
  .omm-pdot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

  /* ---------- buttons / inputs ---------- */
  .omm-btn {
    display: inline-flex; align-items: center; gap: 7px; justify-content: center;
    border: 1px solid var(--line); background: var(--navy3); color: var(--text);
    padding: 7px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 550;
    cursor: pointer; transition: .14s;
  }
  .omm-btn:hover { border-color: var(--blue-dim); background: #16244a; }
  .omm-btn.primary { background: linear-gradient(160deg, var(--blue), #2b6fb8); border-color: #6db6ff; color: #04101f; font-weight: 700; }
  .omm-btn.primary:hover { filter: brightness(1.08); }
  .omm-btn.ghost { background: transparent; }
  .omm-btn.primary.ghost { background: rgba(77,163,255,.12); color: var(--text); border-color: #6db6ff; }
  .omm-btn.danger { color: var(--danger); border-color: rgba(255,107,129,.35); }
  .omm-btn.sm { padding: 4.5px 9px; font-size: 11.5px; border-radius: 8px; }
  .omm-btn.big { padding: 11px 16px; font-size: 13.5px; border-radius: 12px; }
  .omm-btn[disabled] { opacity: .55; cursor: default; }

  /* ---------- "View as" role-switcher dropdown (header) ---------- */
  .omm-viewas { position: relative; display: inline-flex; }
  .omm-viewas-menu {
    position: absolute; top: calc(100% + 6px); right: 0; z-index: 70;
    min-width: 148px; overflow: hidden;
    background: #0a142c; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: 0 22px 50px rgba(0,0,0,.6);
  }
  .omm-viewas-menu[hidden] { display: none; }
  .omm-viewas-menu button {
    display: block; width: 100%; text-align: left;
    background: none; border: 0; border-radius: 0;
    font: inherit; font-size: 12.5px; font-weight: 550;
    color: var(--text); padding: 9px 12px; cursor: pointer;
  }
  .omm-viewas-menu button:hover { background: rgba(77,163,255,.12); }

  /* ---------- grassroots autopilot ---------- */
  .omm-live {
    font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  }
  .omm-live.on {
    color: #04101f; border-color: transparent;
    background: linear-gradient(160deg, var(--cyan), #2bb39c);
    animation: ommPulse 1.6s ease-in-out infinite;
  }
  @keyframes ommPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
  .omm-pill {
    position: fixed; left: 14px; bottom: 14px; z-index: 80;
    display: flex; align-items: center; gap: 9px;
    max-width: min(440px, calc(100vw - 28px));
    padding: 9px 12px; border-radius: 999px;
    border: 1px solid rgba(94,234,212,.42);
    background: linear-gradient(160deg, rgba(12,24,52,.97), rgba(8,15,32,.97));
    box-shadow: 0 16px 40px rgba(0,0,0,.55);
    font-size: 12px;
  }
  .omm-pill[hidden] { display: none; }
  .omm-pill > .omm-grow { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .omm-console { border-color: rgba(94,234,212,.3); }

  input, select, textarea {
    background: #0c1730; border: 1px solid var(--line); border-radius: 9px;
    color: var(--text); padding: 7px 10px; font-size: 12.5px; outline: none;
    font-family: inherit;
  }
  input:focus, select:focus, textarea:focus { border-color: var(--blue-dim); box-shadow: 0 0 0 3px rgba(77,163,255,.13); }
  label.omm-field { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
  .omm-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 9px; }

  /* ---------- tables ---------- */
  .omm-tablewrap { border: 1px solid var(--line); border-radius: 14px; overflow: auto; background: rgba(9,16,36,.55); }
  table.omm-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 700px; }
  table.omm-table th {
    text-align: left; font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase;
    color: var(--muted); font-weight: 650; padding: 10px 11px;
    background: #0a142c; border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 2;
  }
  table.omm-table td { padding: 9px 11px; border-bottom: 1px solid rgba(29,45,85,.55); vertical-align: middle; }
  table.omm-table tbody tr { cursor: pointer; }
  table.omm-table tbody tr:hover { background: rgba(77,163,255,.07); }
  table.omm-table tbody tr:last-child td { border-bottom: 0; }
  .omm-rank { font-family: var(--mono); font-weight: 700; color: var(--blue); font-size: 13px; }
  .omm-rank.top1 { color: var(--gold); }
  .omm-rank.top2 { color: #dbe6ff; }
  .omm-rank.top3 { color: #e0a670; }

  /* ---------- artist bits ---------- */
  .omm-avatar {
    width: 42px; height: 42px; border-radius: 11px; object-fit: cover;
    background: var(--navy3); border: 1px solid var(--line); flex: none;
  }
  .omm-avatar.lg { width: 92px; height: 92px; border-radius: 16px; }
  .omm-avatar.sm { width: 28px; height: 28px; border-radius: 8px; }
  .omm-artistname { font-weight: 620; font-size: 13.5px; color: #fff; }
  .omm-statgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 9px; }
  .omm-stat {
    border: 1px solid var(--line); border-radius: 11px; padding: 9px 10px;
    background: rgba(12,22,48,.6);
  }
  .omm-stat .k { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; align-items: center; gap: 5px; }
  .omm-stat .v { font-size: 17px; font-weight: 650; font-family: var(--mono); margin-top: 3px; }
  .omm-stat .d { font-size: 10.5px; color: var(--muted); }

  /* ---------- chart ---------- */
  .omm-chartwrap {
    border: 1px solid var(--line); border-radius: 14px; padding: 12px;
    background: linear-gradient(170deg, rgba(11,20,44,.9), rgba(7,12,28,.8));
  }
  .omm-chartbox { position: relative; height: 330px; }
  .omm-chartbox canvas { width: 100%; height: 100%; display: block; cursor: crosshair; touch-action: none; }
  .omm-chartctl { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }

  /* ---------- misc ---------- */
  .omm-loading { display: grid; place-items: center; gap: 14px; padding: 90px 0; color: var(--muted); }
  .omm-spin {
    width: 34px; height: 34px; border-radius: 50%;
    border: 3px solid rgba(77,163,255,.22); border-top-color: var(--blue);
    animation: ommSpin .9s linear infinite;
  }
  @keyframes ommSpin { to { transform: rotate(360deg); } }
  .omm-bar { height: 5px; border-radius: 999px; background: rgba(77,163,255,.14); overflow: hidden; }
  .omm-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan)); border-radius: 999px; }
  .omm-toasts { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; flex-direction: column; gap: 8px; }
  .omm-toast {
    background: #0c1730; border: 1px solid var(--blue-dim); border-radius: 11px;
    padding: 10px 13px; font-size: 12.5px; max-width: 330px;
    box-shadow: 0 14px 34px rgba(0,0,0,.5); animation: ommIn .18s ease-out;
  }
  .omm-toast.err { border-color: rgba(255,107,129,.6); }
  .omm-toast.ok { border-color: rgba(61,220,151,.55); }
  @keyframes ommIn { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

  .omm-foot {
    display: flex; flex-direction: column; gap: 12px;
    margin-top: 34px; padding-top: 16px; border-top: 1px solid var(--line);
    font-size: 11.5px; color: var(--muted);
  }
  .omm-foot-top {
    display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
    align-items: center;
  }
  .omm-foot-brand { display: flex; align-items: center; gap: 10px; }
  .omm-foot-brandtext { display: flex; flex-direction: column; gap: 2px; }
  .omm-foot-brandtext b { color: #fff; font-size: 13px; }
  .omm-foot-brandtext span { font-size: 11.5px; }
  .omm-foot-nav { display: flex; gap: 4px; flex-wrap: wrap; }
  .omm-foot-nav a {
    padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 550;
    color: var(--muted); border: 1px solid transparent;
  }
  .omm-foot-nav a:hover { color: #fff; background: rgba(77,163,255,.08); border-color: rgba(77,163,255,.3); }
  .omm-foot-bottom {
    display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
    padding-top: 10px; border-top: 1px solid rgba(29,45,85,.5);
    font-size: 11px;
  }

  .omm-split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 14px; align-items: start; }
  @media (max-width: 1080px) { .omm-split { grid-template-columns: 1fr; } }
  /* Header reflow: the nav needs ~500px, so below ~1120px it takes the
     second row and the search moves to a row of its own. */
  @media (max-width: 1120px) and (min-width: 781px) {
    .omm-top { grid-template-columns: auto minmax(0,1fr) auto auto; }
    .omm-search { grid-column: 1 / -1; grid-row: 2; }
    .omm-results { top: 40px; }
  }
  @media (max-width: 780px) {
    .omm-top { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
    .omm-brand { grid-column: 1; grid-row: 1; }
    .omm-auth { grid-column: 2; grid-row: 1; justify-self: end; }
    .omm-savechip { display: none; }
    .omm-nav { grid-column: 1 / -1; grid-row: 2; }
    .omm-search { grid-column: 1 / -1; grid-row: 3; }
    .omm-results { top: 40px; }
    .omm-chartbox { height: 250px; }
    #ommApp { padding: 0 10px 50px; }
    .omm-pill { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  }

  /* platform colour helpers */
  .omm-plat { display: inline-flex; align-items: center; gap: 6px; }
  .omm-plat .omm-pdot { box-shadow: 0 0 8px currentColor; }
  .omm-platbar { display: flex; gap: 3px; }
  .omm-platbar i { height: 4px; border-radius: 2px; background: var(--blue); display: block; }

  .omm-release { display: flex; gap: 10px; align-items: center; }
  .omm-release img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: var(--navy3); flex: none; }
  .omm-release .t { font-weight: 600; font-size: 13px; color: #fff; }
  .omm-release .s { font-size: 11.5px; color: var(--muted); }
  .omm-scroll-x { display: grid; grid-auto-flow: column; grid-auto-columns: 218px; gap: 12px; overflow-x: auto; padding-bottom: 8px; }

  .omm-kv { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12.5px; }
  .omm-kv .k { color: var(--muted); }
  .omm-lead-status { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; }
  .omm-copy { cursor: pointer; font-family: var(--mono); font-size: 11.5px; }
  .omm-email {
    white-space: pre-wrap; font-size: 12.5px; line-height: 1.65;
    background: #0a142c; border: 1px solid var(--line);
    border-radius: 12px; padding: 13px; max-height: 400px; overflow: auto;
  }
  .omm-warn {
    border: 1px solid rgba(255,200,97,.4); background: rgba(255,200,97,.07);
    color: #ffe6b0; border-radius: 11px; padding: 9px 11px; font-size: 12px;
  }

  /* ---------- roles / auth ---------- */
  .omm-auth { display: flex; gap: 8px; align-items: center; justify-self: end; }
  .omm-rolebadge {
    font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  }
  .omm-rolebadge.admin { color: #04101f; background: linear-gradient(160deg, var(--gold), #d99a3c); border-color: transparent; }
  .omm-rolebadge.client { color: var(--cyan); border-color: rgba(94,234,212,.4); }
  .omm-userchip { display: inline-flex; align-items: center; gap: 7px; max-width: 190px; }
  .omm-userchip img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); flex: none; }
  .omm-userchip span { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .omm-modal-back {
    position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
    background: rgba(3,6,14,.74); padding: 16px;
  }
  .omm-modal {
    width: min(440px, 100%); border: 1px solid var(--line); border-radius: 16px;
    background: linear-gradient(170deg, #101c3d, #0a142c); padding: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,.6);
    max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow-y: auto;
  }
  .omm-modal h3 { font-size: 16px; margin-bottom: 4px; }

  /* ---------- modern auth modal ---------- */
  .omm-modal-back { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); background: rgba(3,6,14,.68); }
  .omm-modal { animation: ommPop .22s ease-out; border-radius: 20px; }
  @keyframes ommPop { from { transform: translateY(12px) scale(.98); opacity: 0; } }
  .omm-modal input { padding: 10px 12px; border-radius: 12px; font-size: 13px; }
  .omm-authhero {
    position: relative; overflow: hidden;
    margin: -18px -18px 14px; padding: 24px 20px 18px;
    border-radius: 19px 19px 0 0; color: #fff;
  }
  .omm-authhero svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%) rotate(-8deg); opacity: .3; }
  .omm-authhero-eyebrow { position: relative; font-size: 10px; font-weight: 800; letter-spacing: .24em; opacity: .85; }
  .omm-authhero-title { position: relative; font-size: 23px; font-weight: 750; letter-spacing: -.01em; margin-top: 5px; }
  .omm-authhero-line { position: relative; font-size: 12.5px; opacity: .88; margin-top: 3px; }
  .omm-authhero.t0 { background: radial-gradient(140px 140px at 85% 15%, rgba(94,234,212,.5), transparent 70%), linear-gradient(135deg, #0b1e4b, #1d4ed8 60%, #0e7490); }
  .omm-authhero.t1 { background: radial-gradient(140px 140px at 85% 15%, rgba(255,122,162,.5), transparent 70%), linear-gradient(135deg, #2b1065, #7c3aed 60%, #2563eb); }
  .omm-authhero.t2 { background: radial-gradient(140px 140px at 85% 15%, rgba(255,200,97,.45), transparent 70%), linear-gradient(135deg, #3b0764, #a21caf 60%, #f59e0b); }
  .omm-authhero.t3 { background: radial-gradient(140px 140px at 85% 15%, rgba(125,211,252,.5), transparent 70%), linear-gradient(135deg, #022c22, #0d9488 60%, #1d4ed8); }
  .omm-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 10px 0 12px; border-radius: 14px; background: rgba(77,163,255,.08); border: 1px solid var(--line); }
  .omm-tab { border: 0; background: transparent; color: var(--muted); font-family: inherit; font-size: 12.5px; font-weight: 650; padding: 8px; border-radius: 10px; cursor: pointer; }
  .omm-tab.sel { background: linear-gradient(160deg, var(--blue), #2b6fb8); color: #04101f; box-shadow: 0 4px 14px rgba(77,163,255,.35); }
  .omm-modal .omm-btn.big { width: 100%; padding: 12px 16px; font-size: 14px; border-radius: 13px; }
  .omm-modal.has-side { width: min(720px, 100%); padding: 0; }
  .omm-modal.has-side .omm-authhero { margin: 0; border-radius: 0; }
  .omm-authbody { display: grid; grid-template-columns: 240px minmax(0, 1fr); }
  .omm-authside { margin: 0; min-height: 340px; background: #0a142c; }
  .omm-authside img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .omm-authform { padding: 4px 18px 18px; min-width: 0; }
  @media (max-width: 640px) {
    .omm-authbody { grid-template-columns: 1fr; }
    .omm-authside { display: none; }
  }

  /* ---------- fan votes ---------- */
  .omm-voters { display: flex; align-items: center; }
  .omm-voters img, .omm-voters .omm-vav {
    width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none;
    border: 2px solid #0b1430; margin-left: -9px; background: #16244a;
    display: inline-grid; place-items: center; font-size: 11px; font-weight: 700; color: #8cc6ff;
  }
  .omm-voters img:first-child, .omm-voters .omm-vav:first-child { margin-left: 0; }
  .omm-voters .omm-vmore {
    width: 30px; height: 30px; border-radius: 50%; flex: none;
    border: 2px solid #0b1430; margin-left: -9px; background: #101c3d;
    display: inline-grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--muted);
  }

  /* ---------- milestone badges ---------- */
  .omm-ms-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
  .omm-ms {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 11px 6px 8px; border-radius: 999px;
    border: 1px solid var(--line); background: rgba(12,22,48,.55);
    color: var(--text); cursor: pointer; font-size: 11.5px; font-weight: 650; font-family: inherit;
  }
  .omm-ms:hover { border-color: var(--blue-dim); background: #16244a; }
  .omm-ms .e { font-size: 15px; line-height: 1; }
  .omm-ms small { color: var(--muted); font-weight: 500; font-size: 10.5px; }
  .omm-ms.locked { opacity: .45; filter: grayscale(.85); }
  .omm-ms.crown { border-color: rgba(255,200,97,.65); background: rgba(255,200,97,.09); }

  /* ---------- shop + booking ---------- */
  .omm-graffiti { font-family: 'Rubik Spray Paint', 'Permanent Marker', cursive; font-weight: 400; letter-spacing: .01em; }
  .omm-shop-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .omm-shop-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; background: #101c3d; }
  .omm-shop-img { position: relative; }
  .omm-shop-tag {
    position: absolute; top: 8px; left: 8px;
    font-size: 10.5px; font-weight: 700; color: #04101f;
    background: linear-gradient(120deg, #ffc861, #ff7aa2);
    border-radius: 999px; padding: 3px 9px;
  }
  .omm-shop-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: start; }
  @media (max-width: 720px) { .omm-shop-split { grid-template-columns: 1fr; } }
  .omm-shop-heroimg img { width: 100%; border-radius: 14px; display: block; background: #101c3d; border: 1px solid var(--line); }

  /* ---------- voter profiles ---------- */
  .omm-kindpick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 12px; }
  .omm-kindopt {
    display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
    border: 1px solid var(--line); border-radius: 11px; padding: 9px 10px;
    background: rgba(12,22,48,.5); color: var(--text); cursor: pointer; text-align: left;
    font-size: 12px; font-family: inherit;
  }
  .omm-kindopt:hover { border-color: var(--blue-dim); }
  .omm-kindopt b { font-size: 12.5px; }
  .omm-kindopt .omm-pdot { width: 9px; height: 9px; }
  .omm-kindopt .omm-tiny { line-height: 1.45; }

  /* ---------- vote charts ---------- */
  .omm-votebar { display: flex; border-radius: 999px; overflow: hidden; background: rgba(77,163,255,.12); min-height: 8px; }
  .omm-votebar i { display: block; height: 100%; min-width: 0; }

  /* ---------- standalone landing page ---------- */
  body.omm-landing-mode .omm-top,
  body.omm-landing-mode .omm-ticker,
  body.omm-landing-mode .omm-foot { display: none; }
  body.omm-landing-mode #ommApp { max-width: none; padding: 0; background: #05080f; }
  .omm-lp { color: var(--text); }
  .omm-hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
  .omm-hero-orb.a { width: 420px; height: 420px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(77,163,255,.55), transparent 65%); animation: ommDrift 11s ease-in-out infinite alternate; }
  .omm-hero-orb.b { width: 360px; height: 360px; right: -120px; bottom: -150px; background: radial-gradient(circle, rgba(94,234,212,.4), transparent 65%); animation: ommDrift 13s ease-in-out infinite alternate-reverse; }
  @keyframes ommDrift { from { transform: translate(0,0) scale(1); } to { transform: translate(46px,30px) scale(1.12); } }
  .omm-hero-inner { position: relative; z-index: 1; max-width: 660px; }
  .omm-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--blue-soft);
    border: 1px solid rgba(77,163,255,.4); border-radius: 999px; padding: 5px 12px;
    background: rgba(77,163,255,.08); margin-bottom: 18px;
  }
  .omm-hero-title { font-size: clamp(38px, 7vw, 68px); line-height: 1.02; letter-spacing: -.02em; color: #fff; font-weight: 750; }
  .omm-hero-title span { background: linear-gradient(100deg, var(--blue-soft), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .omm-hero-sub { font-size: 15px; line-height: 1.75; color: var(--muted); margin-top: 16px; max-width: 58ch; }
  .omm-hero-sub b { color: var(--text); }
  .omm-hero-stats { display: flex; gap: clamp(18px, 4vw, 44px); margin-top: 26px; flex-wrap: wrap; }
  .omm-hero-stats > div { display: flex; flex-direction: column; gap: 2px; }
  .omm-hero-stats b { font-size: 24px; font-family: var(--mono); color: #fff; }
  .omm-hero-stats span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
  .omm-kindcards .omm-card { transition: transform .16s, box-shadow .16s; }
  .omm-kindcards .omm-card:hover { transform: translateY(-3px); }
  .omm-steps .omm-stepn { font-family: var(--mono); font-size: 22px; font-weight: 700; color: rgba(77,163,255,.55); }
  .omm-steps .omm-card { display: flex; flex-direction: column; gap: 6px; }
  .omm-cta { border-color: rgba(94,234,212,.4); background: linear-gradient(170deg, rgba(13,26,52,.9), rgba(8,15,32,.75)); }
  .omm-lp-top {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    background: rgba(5,8,15,.82); border-bottom: 1px solid var(--line);
  }
  .omm-lp-topinner { max-width: 1120px; margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .omm-lp-brand { display: flex; align-items: center; gap: 9px; color: #fff; }
  .omm-lp-links { display: flex; gap: 2px; }
  .omm-lp-link {
    background: none; border: 0; color: var(--muted); font-size: 13px; font-weight: 550;
    cursor: pointer; padding: 7px 12px; border-radius: 999px; font-family: inherit; text-decoration: none;
  }
  .omm-lp-link:hover { color: #fff; background: rgba(77,163,255,.08); }
  .omm-lp-hero {
    position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
    background:
      radial-gradient(1000px 500px at 15% 0%, rgba(77,163,255,.14), transparent 60%),
      radial-gradient(800px 420px at 90% 20%, rgba(94,234,212,.08), transparent 55%),
      linear-gradient(180deg, #0b142c 0%, #05080f 100%);
  }
  .omm-lp-heroinner {
    position: relative; z-index: 1; max-width: 1120px; margin: 0 auto;
    padding: clamp(56px, 9vw, 110px) 20px clamp(48px, 7vw, 88px);
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr);
    gap: clamp(24px, 4vw, 56px); align-items: center;
  }
  .omm-lp-livecard {
    border: 1px solid rgba(61,220,151,.35); border-radius: 18px; padding: 18px;
    background: linear-gradient(170deg, rgba(13,26,44,.94), rgba(8,15,32,.88));
    box-shadow: 0 24px 60px rgba(0,0,0,.5);
  }
  .omm-lp-sec { padding: clamp(44px, 6vw, 72px) 20px; }
  .omm-lp-alt { background: rgba(13,22,46,.45); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .omm-lp-narrow { max-width: 1080px; margin: 0 auto; }
  .omm-lp-narrow h2 { font-size: clamp(21px, 3vw, 27px); }
  .omm-lp-faq { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
  .omm-lp-qa { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; background: rgba(12,22,48,.5); }
  .omm-lp-qa summary { cursor: pointer; padding: 12px 0; font-weight: 600; font-size: 14px; color: #fff; list-style: none; }
  .omm-lp-qa summary::-webkit-details-marker { display: none; }
  .omm-lp-qa summary::after { content: "+"; float: right; color: var(--blue-soft); }
  .omm-lp-qa[open] summary::after { content: "–"; }
  .omm-lp-qa p { margin: 0 0 12px; }
  .omm-lp-final { padding: clamp(44px, 6vw, 72px) 20px; }
  .omm-lp-foot { border-top: 1px solid var(--line); padding: 26px 20px 40px; }
  .omm-lp-footinner { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; align-items: center; }
  /* ---------- sales landing extras ---------- */
  .omm-lp-heroimg { min-height: 560px; display: flex; align-items: stretch; }
  .omm-lp-herobg {
    position: absolute; left: 0; right: 0; top: -10%; width: 100%; height: 120%;
    object-fit: cover; object-position: center 30%;
    transform: translate3d(0, calc(var(--omm-para, 0) * 1px), 0);
    will-change: transform;
    filter: saturate(1.08) contrast(1.05);
  }
  .omm-lp-heroshade {
    position: absolute; inset: 0; z-index: 0;
    background:
      linear-gradient(100deg, rgba(5,8,15,.94) 20%, rgba(5,8,15,.72) 50%, rgba(5,8,15,.35) 100%),
      linear-gradient(0deg, rgba(5,8,15,.92), transparent 45%);
  }
  .omm-lp-herisingle { width: 100%; }
  .omm-lp-herosub { text-shadow: 0 2px 18px rgba(0,0,0,.6); }
  .omm-lp-herosub b { color: #fff; }
  .omm-lp-ghostlight { border-color: rgba(140,198,255,.55); color: #fff; background: rgba(5,8,15,.45); }
  .omm-lp-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
  .omm-lp-pill {
    font-size: 11.5px; font-weight: 650; letter-spacing: .02em;
    padding: 6px 12px; border-radius: 999px; color: var(--blue-soft);
    border: 1px solid rgba(77,163,255,.4); background: rgba(5,8,15,.55);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  }
  .omm-lp-strip { border-bottom: 1px solid var(--line); padding: 20px; background: rgba(5,8,15,.9); }
  .omm-lp-striphead {
    text-align: center; font-size: 10.5px; font-weight: 700;
    letter-spacing: .22em; color: var(--muted); margin-bottom: 12px;
  }
  .omm-lp-logos { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .omm-lp-logo {
    font-size: 12px; font-weight: 600; color: var(--text);
    border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
    background: rgba(16,28,61,.6); white-space: nowrap;
  }
  .omm-lp-split {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: clamp(24px, 4vw, 56px); align-items: center;
  }
  .omm-lp-check { display: flex; gap: 10px; align-items: flex-start; }
  .omm-lp-tick {
    flex: none; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: 12px; font-weight: 700;
    color: #04101f; background: linear-gradient(160deg, var(--cyan), #2bb39c);
  }
  .omm-lp-shotframe { min-width: 0; }
  .omm-lp-shot {
    width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover;
    border-radius: 18px; border: 1px solid rgba(77,163,255,.3);
    box-shadow: 0 24px 60px rgba(0,0,0,.5); display: block;
  }
  .omm-lp-shotcap { margin-top: 8px; text-align: center; }
  .omm-lp-feat { transition: transform .16s, box-shadow .16s; }
  .omm-lp-feat:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.45); }
  .omm-lp-ctaban { border-color: rgba(94,234,212,.4); }
  .omm-lp-ctabg {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: .22;
  }
  @media (max-width: 900px) {
    .omm-lp-heroinner { grid-template-columns: 1fr; }
    .omm-lp-links { display: none; }
    .omm-lp-split { grid-template-columns: 1fr; }
    .omm-lp-heroimg { min-height: 0; }
  }
  @media (max-width: 700px) {
    .omm-kindpick { grid-template-columns: 1fr; }
  }

  /* ---------- One Mic News ---------- */
  .omm-newsfeed { max-width: 780px; margin: 0 auto; width: 100%; }
  .omm-newscover { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0a142c; }
  .omm-newscover img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(28px) brightness(.55); transform: scale(1.15); }
  .omm-newscover img.fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 1; }
  .omm-newscover::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(5,8,15,.08) 35%, rgba(5,8,15,.55) 68%, rgba(5,8,15,.92) 100%);
  }
  .omm-newscover .omm-kicker { position: absolute; top: 12px; left: 12px; z-index: 2; }
  .omm-newscover h2 {
    position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 2; margin: 0;
    font-size: clamp(20px, 2.8vw, 26px); line-height: 1.22; color: #fff;
    text-shadow: 0 2px 16px rgba(0,0,0,.65); letter-spacing: -.01em;
  }
  .omm-newsbody { padding: 16px 22px 18px; }
  .omm-newsbody > p { font-size: 16px; line-height: 1.8; color: var(--text); margin: 12px 0; }
  .omm-newsbody > p.omm-dek { font-size: 15px; line-height: 1.65; color: #c6d6f2; }
  /* News two-column: excerpts left, categories/tags right. */
  .omm-newslayout { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 22px; max-width: 1180px; margin: 0 auto; width: 100%; align-items: start; }
  .omm-newsside { position: sticky; top: 118px; }
  .omm-newscover-tall { aspect-ratio: 21/9; }
  .omm-newscover-tall h2 { font-size: clamp(22px, 3.2vw, 30px); }
  @media (max-width: 960px) {
    .omm-newslayout { grid-template-columns: 1fr; }
    .omm-newsside { position: static; }
    .omm-newscover-tall { aspect-ratio: 16/9; }
  }
  @media (max-width: 560px) {
    .omm-newsbody { padding: 14px 15px 15px; }
    .omm-newsbody > p { font-size: 15px; }
    .omm-newscover h2 { left: 14px; right: 14px; }
  }


  /* ---------- live rooms, podcasts, dashboards (mirrored from index.html, v1.0.56) ---------- */
/* ---------- live rooms, podcasts, dashboards ---------- */
  @keyframes ommPulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
  .omm-livepill {
    display: inline-flex; align-items: center; gap: 5px;
    background: linear-gradient(120deg, #ff3b5c, #ff7a3b); color: #fff;
    font-size: 11px; font-weight: 800; letter-spacing: .06em;
    border-radius: 999px; padding: 4px 11px; text-decoration: none; white-space: nowrap;
    animation: ommPulse 1.6s ease-in-out infinite; border: 0;
  }
  a.omm-livepill { cursor: pointer; }
  .omm-livebanner {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    border: 1px solid rgba(255,93,122,.5); border-radius: 14px; padding: 10px 14px;
    background: linear-gradient(120deg, rgba(255,59,92,.14), rgba(255,122,59,.08));
    color: inherit; text-decoration: none; margin-bottom: 12px;
  }
  .omm-livebanner:hover { border-color: #ff5d7a; }
  .omm-livecols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 14px; align-items: start; }
  @media (max-width: 860px) { .omm-livecols { grid-template-columns: 1fr; } }
  .omm-stage {
    position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
    background: #04070f; min-height: 240px;
    display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  }
  .omm-stage video { width: 100%; max-height: 60vh; background: #000; display: block; }
  .omm-stagehint { position: absolute; bottom: 10px; left: 10px; right: 10px; text-align: center; font-size: 12px; color: var(--muted); }
  .omm-stagechat { font-size: 64px; }
  .omm-chatlog { display: flex; flex-direction: column; gap: 8px; max-height: 340px; overflow-y: auto; margin-top: 8px; padding-right: 2px; }
  .omm-chatmsg { display: flex; gap: 8px; align-items: flex-start; }
  .omm-chatmsg img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
  .omm-chatav {
    width: 30px; height: 30px; border-radius: 50%; flex: none;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 13px; color: #fff; background: #16244a; border: 1px solid var(--line);
  }
  .omm-chatmsg.del { opacity: .55; }
  .omm-bar { height: 7px; border-radius: 999px; overflow: hidden; background: rgba(77,163,255,.12); }
  .omm-barfill { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
  .omm-podmic {
    width: 96px; height: 96px; border-radius: 16px; flex: none;
    display: inline-flex; align-items: center; justify-content: center; font-size: 48px;
    background: linear-gradient(150deg, #13264d, #0a142e); border: 1px solid var(--line);
  }
  .omm-userwrap { position: relative; display: inline-flex; }
  .omm-usermenu {
    position: absolute; top: calc(100% + 6px); right: 0; z-index: 200; min-width: 190px;
    background: #0c1730; border: 1px solid var(--line); border-radius: 12px; padding: 6px;
    box-shadow: 0 18px 50px rgba(0,0,0,.55); display: flex; flex-direction: column; gap: 2px;
  }
  .omm-usermenu[hidden] { display: none; }
  .omm-usermenu button, .omm-usermenu a {
    background: none; border: 0; color: var(--text); font-size: 13px; font-weight: 550; font-family: inherit;
    text-align: left; padding: 8px 10px; border-radius: 8px; cursor: pointer; text-decoration: none; display: block;
  }
  .omm-usermenu button:hover, .omm-usermenu a:hover { background: rgba(77,163,255,.12); }


  /* ---------- Call-in split screen: every caller fits one frame, IG-style ---------- */
  /* mountCallTiles stamps data-n = tile count; the grid reshapes per count so
     all callers fit on one screen with no scrolling (cover-cropped, like IG). */
  .omm-callgrid { display: grid; gap: 8px; margin-top: 8px; }
  .omm-callgrid[data-n="0"] { display: none; }
  .omm-callgrid[data-n="1"] { grid-template-columns: 1fr; }
  .omm-callgrid[data-n="2"] { grid-template-columns: 1fr 1fr; }
  .omm-callgrid[data-n="3"] { grid-template-columns: 1fr 1fr; }
  .omm-callgrid[data-n="3"] > .omm-calltile:first-child { grid-column: 1 / -1; }
  .omm-callgrid[data-n="4"] { grid-template-columns: 1fr 1fr; }
  .omm-calltile { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #04070f; min-height: 0; }
  .omm-calltile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
  .omm-callgrid[data-n="1"] .omm-calltile { aspect-ratio: 16 / 10; max-height: 62vh; }
  .omm-callgrid[data-n="2"] .omm-calltile { aspect-ratio: 3 / 4; max-height: 52vh; }
  .omm-callgrid[data-n="3"] > .omm-calltile:first-child { aspect-ratio: 16 / 8; max-height: 30vh; }
  .omm-callgrid[data-n="3"] > .omm-calltile:not(:first-child) { aspect-ratio: 3 / 4; max-height: 34vh; }
  .omm-callgrid[data-n="4"] .omm-calltile { aspect-ratio: 1 / 1; max-height: 30vh; }
  @media (max-width: 560px) {
    .omm-callgrid[data-n="2"] { grid-template-columns: 1fr; }
    .omm-callgrid[data-n="2"] .omm-calltile { aspect-ratio: 16 / 10; max-height: 30vh; }
  }
  .omm-calltile.novid { background: linear-gradient(150deg, #13264d, #0a142e); }
  .omm-calltile.novid::after { content: "connecting…"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 11px; color: #8ba0c9; letter-spacing: .04em; }
  .omm-callname { position: absolute; left: 6px; bottom: 6px; z-index: 2; font-size: 11px; background: rgba(0,0,0,.6); color: #fff; padding: 2px 7px; border-radius: 999px; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* ---------- Floating watch room (mirrored from index.html, v1.0.58) ---------- */
/* ---------- Floating watch room (chat over the stage) ---------- */
  .omm-watchphone { max-width: 480px; margin: 0 auto; }
  .omm-stagewrap {
    position: relative; border-radius: 18px; overflow: hidden;
    border: 1px solid var(--line); background: #04070f;
  }
  .omm-stagewrap .omm-stage { border: 0; border-radius: 0; min-height: 320px; }
  .omm-stagewrap .omm-stage video { max-height: 62vh; object-fit: cover; }
  .omm-stagewrap .omm-stagechatty { min-height: 62vh; justify-content: flex-start; padding-top: 66px; }
  /* The float covers the bottom of the stage, so the hint rides under the top bar instead. (v1.0.59) */
  .omm-stagewrap .omm-stagehint { bottom: auto; top: 56px; }
  /* The big chat bubble would sit behind the floating input — the hint says it all. (v1.0.59) */
  .omm-stagewrap .omm-stagechat { display: none; }
  .omm-livetop {
    position: absolute; top: 0; left: 0; right: 0; z-index: 3;
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    padding: 10px 12px 22px;
    background: linear-gradient(180deg, rgba(2,5,12,.78), transparent);
    pointer-events: none;
  }
  .omm-livetop a, .omm-livetop button { pointer-events: auto; }
  .omm-livetitle {
    color: #fff; font-size: 14px; white-space: nowrap; overflow: hidden;
    text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0,0,0,.7);
  }
  .omm-livetop .omm-chip {
    background: rgba(6,12,26,.66); border: 1px solid rgba(140,198,255,.25);
    font-size: 11px; white-space: nowrap;
  }
  .omm-livetop .omm-btn.ghost {
    background: rgba(6,12,26,.66); border: 1px solid rgba(140,198,255,.25);
  }
  .omm-chatfloat {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 26px 10px 10px;
    background: linear-gradient(0deg, rgba(2,5,12,.85) 55%, transparent);
  }
  .omm-chatoverlay { position: relative; }
  .omm-chatoverlay .omm-chatlog {
    max-height: 30vh; margin-top: 0; padding-right: 0;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%);
    mask-image: linear-gradient(180deg, transparent, #000 22%);
  }
  .omm-chatoverlay .omm-chatmsg {
    background: rgba(6,12,26,.62);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    border-radius: 13px; padding: 6px 10px; margin-top: 6px;
  }
  .omm-chatoverlay .omm-chatmsg img { width: 24px; height: 24px; }
  .omm-chatoverlay .omm-chatav { width: 24px; height: 24px; font-size: 11px; }
  .omm-chatoverlay .omm-row { gap: 6px; }
  .omm-chatoverlay input[type="text"] {
    background: rgba(6,12,26,.82); border: 1px solid rgba(140,198,255,.3);
    border-radius: 999px; padding: 8px 13px; font-size: 13px; color: #fff;
  }
  .omm-chatoverlay input[type="text"]::placeholder { color: #8ba0c9; }
  .omm-chatoverlay .omm-btn.sm { border-radius: 999px; }
  .omm-watchbelow { max-width: 480px; margin: 12px auto 0; display: grid; gap: 12px; }

  /* ---------- On-screen rewards, mirrored from index.html (v1.0.59) ---------- */
  .omm-reactbar {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
    display: flex; align-items: center; gap: 8px;
    padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(0deg, rgba(2,5,12,.92) 30%, transparent);
  }
  .omm-chatfloat { padding-bottom: 104px; }
  /* Below-stage rewards: the same emoji/mic buttons as a static card
     under the video (the watch room stacks everything below now). */
  .omm-watchbelow .omm-reactbar {
    position: static; flex-wrap: wrap;
    background: rgba(10,18,36,.6);
    border: 1px solid var(--line); border-radius: 14px;
  }
  .omm-reactbtn {
    background: rgba(6,12,26,.7); border: 1px solid rgba(140,198,255,.25);
    border-radius: 999px; font-size: 17px; line-height: 1;
    width: 36px; height: 36px; cursor: pointer; flex: none;
  }
  .omm-reactbtn:active { transform: scale(1.25); }
  .omm-reactdiv { width: 1px; align-self: stretch; background: rgba(140,198,255,.25); flex: none; }
  .omm-qmic {
    background: rgba(61,220,151,.14); border: 1px solid rgba(61,220,151,.5);
    color: #bff3dd; border-radius: 999px; font-size: 12.5px; font-weight: 700;
    padding: 8px 11px; cursor: pointer; white-space: nowrap; flex: none;
  }
  .omm-qmic:disabled { opacity: .35; cursor: default; }
  .omm-reactbal { color: #bff3dd; font-weight: 700; margin-left: auto; flex: none; }
  .omm-walletchip {
    background: rgba(6,12,26,.66); border: 1px solid rgba(61,220,151,.45);
    color: #bff3dd; font-size: 11px; white-space: nowrap; text-decoration: none;
    pointer-events: auto;
  }
  .omm-burstlayer { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
  .omm-burst {
    position: absolute; bottom: 34%; font-size: 30px;
    animation: ommBurst 1.6s ease-out forwards;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.6));
  }
  @keyframes ommBurst {
    0% { transform: translateY(0) scale(.5); opacity: 0; }
    12% { opacity: 1; }
    100% { transform: translateY(-46vh) scale(1.25) rotate(8deg); opacity: 0; }
  }
  /* ---------- Trending rail, mirrored from index.html (v1.0.59) ---------- */
  .omm-trend { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; }
  .omm-trendcard {
    flex: 0 0 210px; border: 1px solid var(--line); border-radius: 14px;
    padding: 10px 12px; background: rgba(10,18,36,.6); text-decoration: none; color: inherit;
  }
  .omm-trendrank {
    font-size: 20px; font-weight: 800; color: var(--gold, #f5c451);
    min-width: 30px;
  }

  /* ---------- Sponsored ads, mirrored from index.html (v1.0.60) ---------- */
  .omm-adcard {
    display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit;
    border-radius: 16px; padding: 12px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, rgba(77,163,255,.10), rgba(94,234,212,.06)), rgba(10,18,36,.72);
    border: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: 0 0 0 1px rgba(77,163,255,.35), 0 8px 28px rgba(77,163,255,.10);
  }
  .omm-adimg { flex: none; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: rgba(77,163,255,.08); }
  .omm-adimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .omm-adbody { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
  .omm-adtop { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
  .omm-adtag {
    font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: #04101f; background: linear-gradient(100deg, #8cc6ff, #5eead4);
    border-radius: 6px; padding: 2px 7px;
  }
  .omm-adtag.sm { font-size: 9px; padding: 1px 6px; }
  .omm-adbadge {
    font-size: 10px; font-weight: 700; color: #bff3dd;
    border: 1px solid rgba(61,220,151,.5); border-radius: 6px; padding: 2px 7px;
    background: rgba(61,220,151,.10); white-space: nowrap;
  }
  .omm-adbadge.both { color: #ffe1a8; border-color: rgba(255,200,97,.5); background: rgba(255,200,97,.10); }
  .omm-adtitle { color: #fff; font-size: 14px; line-height: 1.35; }
  .omm-adtext { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
  .omm-adcta { color: var(--blue-soft); font-size: 12.5px; font-weight: 700; }
  .omm-adcard.compact .omm-adimg { width: 58px; height: 58px; }
  .omm-adpopup {
    position: absolute; right: 10px; top: 54px; z-index: 5; width: 218px;
    display: flex; flex-direction: column; gap: 5px;
    background: linear-gradient(150deg, rgba(20,34,66,.96), rgba(8,14,28,.96));
    border: 1px solid rgba(77,163,255,.5); border-radius: 14px; padding: 10px 10px 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,.55), 0 0 24px rgba(77,163,255,.18);
    animation: ommAdIn .35s ease both; cursor: pointer; color: inherit; text-align: left;
  }
  @keyframes ommAdIn { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: none; } }
  .omm-adpopup img { width: 100%; height: 96px; object-fit: cover; border-radius: 9px; }
  .omm-adpopup b { color: #fff; font-size: 13px; line-height: 1.35; }
  .omm-adpopup span { color: var(--muted); font-size: 11.5px; line-height: 1.5; }
  .omm-adx {
    position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%;
    background: rgba(4,7,15,.7); color: #9db1d1; border: 1px solid rgba(140,198,255,.3);
    font-size: 12px; cursor: pointer; line-height: 1;
  }
  .omm-chatmsg.sponsored { border: 1px dashed rgba(77,163,255,.4); border-radius: 10px; background: rgba(77,163,255,.06); }
  .omm-chatav.spon {
    background: linear-gradient(135deg, #4da3ff, #5eead4); color: #04101f; font-weight: 800;
  }
  .omm-sponlink {
    background: none; border: none; padding: 0; cursor: pointer; text-align: left;
    color: inherit; font: inherit;
  }
  .omm-sponlink:hover span:last-child { text-decoration: underline; }
  .omm-previewbanner { border-color: rgba(255,200,97,.5); background: rgba(255,200,97,.06); }
  .omm-promohero {
    border-radius: 18px; padding: 26px 22px; margin-bottom: 4px; position: relative; overflow: hidden;
    background:
      radial-gradient(600px 220px at 20% 0%, rgba(77,163,255,.22), transparent 60%),
      radial-gradient(500px 200px at 85% 100%, rgba(94,234,212,.14), transparent 60%),
      rgba(10,18,36,.72);
    border: 1px solid rgba(77,163,255,.3);
  }
  .omm-packname { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-soft); }
  .omm-packprice { font-size: 30px; font-weight: 800; color: #fff; margin-top: 2px; }
  /* ---------- One Mic Card, mirrored from index.html (v1.0.89) ---------- */
  .omm-cardart {
    border-radius: 18px; padding: 20px 22px; margin-bottom: 4px; position: relative; overflow: hidden;
    background:
      radial-gradient(500px 200px at 15% 0%, rgba(77,163,255,.30), transparent 60%),
      radial-gradient(420px 200px at 90% 110%, rgba(94,234,212,.20), transparent 60%),
      linear-gradient(140deg, #14264e, #0a142c 70%);
    border: 1px solid rgba(140,198,255,.45);
    box-shadow: 0 14px 44px rgba(0,0,0,.5), 0 0 26px rgba(77,163,255,.12);
    color: #fff;
  }
  .omm-cardart-top { display: flex; align-items: center; justify-content: space-between; }
  .omm-cardart-top b { font-size: 13px; letter-spacing: .22em; }
  .omm-cardart-chip {
    width: 44px; height: 32px; border-radius: 7px;
    background: linear-gradient(135deg, #e8c96a, #a97f2c 60%, #e8c96a);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,.35);
  }
  .omm-cardart-num { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 21px; letter-spacing: .12em; margin: 18px 0 14px; }
  .omm-cardart-bot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .omm-cardart-bot span { font-size: 12px; color: var(--blue-soft); text-transform: uppercase; letter-spacing: .12em; }
  .omm-cardart-bot b { font-size: 24px; }
