@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@800;900&display=swap');
/* TAE TRAX — tt-frame.css · the shared player bar, the page frame, and the shared site navigation */
:root { --tt-player-h: 0px; --tt-gold: #E8A020; --tt-bg: #0b0b0b; --tt-br: #242424; --tt-tx: #f8f8f8; --tt-tx3: #888; }
html.tt-has-player { --tt-player-h: 64px; }
html.tt-has-player body { padding-bottom: var(--tt-player-h); }

/* Pages open in a full-screen frame above the host page; the host page's own content is hidden */
html.tt-framed, html.tt-framed body { overflow: hidden !important; height: 100%; }
html.tt-framed body > *:not(.tt-player):not(.tt-frame):not(script):not(style) { display: none !important; }
.tt-frame { position: fixed; left: 0; right: 0; top: 0; bottom: var(--tt-player-h); width: 100%; height: calc(100% - var(--tt-player-h)); border: 0; z-index: 9000; background: #020202; }

/* Player bar */
.tt-player { position: fixed; left: 0; right: 0; bottom: 0; height: 64px; z-index: 9500; display: none; align-items: center; gap: 12px;
  padding: 0 14px; background: rgba(11,11,11,.97); border-top: 1px solid var(--tt-br); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-family: 'DM Mono', ui-monospace, monospace; color: var(--tt-tx); box-sizing: border-box; }
html.tt-has-player .tt-player { display: flex; }
.tt-player * { box-sizing: border-box; }
.tt-p-prog { position: absolute; left: 0; right: 0; top: -3px; height: 6px; cursor: pointer; }
.tt-p-prog::before { content: ''; position: absolute; left: 0; right: 0; top: 2px; height: 2px; background: #222; }
.tt-p-fill { position: absolute; left: 0; top: 2px; height: 2px; width: 0; background: var(--tt-gold); }
.tt-p-art { width: 44px; height: 44px; border-radius: 10px; flex: none; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(232,160,32,.2), #161616); border: 1px solid rgba(232,160,32,.25);
  font-family: 'Bebas Neue', sans-serif; font-size: 16px; color: var(--tt-gold); letter-spacing: 1px; }
.tt-p-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt-p-info { flex: 1; min-width: 0; }
.tt-p-title { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: 1.5px; color: var(--tt-tx); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.1; }
.tt-p-title:hover { color: var(--tt-gold); }
.tt-p-artist { font-size: 10px; color: var(--tt-tx3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.tt-p-time { font-size: 10px; color: var(--tt-tx3); flex: none; display: none; }
.tt-p-ctl { display: flex; gap: 8px; align-items: center; flex: none; }
.tt-p-btn[hidden] { display: none; }
.tt-p-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--tt-br); background: #161616; color: #ccc; font-size: 13px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.tt-p-btn:hover { border-color: var(--tt-gold); color: var(--tt-gold); }
.tt-p-play { width: 42px; height: 42px; background: var(--tt-gold); border-color: var(--tt-gold); color: #000; font-size: 15px; }
.tt-p-play:hover { background: #f5b942; color: #000; }
.tt-p-x { background: none; border: 0; color: #555; font-size: 14px; cursor: pointer; padding: 6px; flex: none; }
.tt-p-x:hover { color: #ccc; }
@media (min-width: 760px) {
  .tt-player { padding: 0 24px; gap: 18px; }
  .tt-p-time { display: block; }
  .tt-p-info { flex: 0 1 360px; }
  .tt-p-ctl { margin-left: auto; }
}
@media (max-width: 380px) { .tt-p-btn[data-tt="prev"] { display: none; } }

/* ── Shared site navigation (public pages) ─────────────────────────────────────── */
.tt-nav { position: sticky; top: 0; z-index: 800; display: flex; align-items: center; gap: 18px; height: 60px; padding: 0 16px;
  background: rgba(2,2,2,.92); border-bottom: 1px solid var(--tt-br); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-sizing: border-box; }
.tt-nav-logo { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 5px; color: var(--tt-tx); text-decoration: none; flex: none; }
.tt-nav-logo span { color: var(--tt-gold); }
.tt-nav-links { display: none; gap: 4px; flex: 1; justify-content: center; }
.tt-nav-links a { font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tt-tx3); text-decoration: none; padding: 8px 12px; border-radius: 20px; }
.tt-nav-links a:hover { color: var(--tt-tx); background: #111; }
.tt-nav-links a.on { color: var(--tt-gold); background: rgba(232,160,32,.08); }
.tt-nav-me { margin-left: auto; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--tt-tx); font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 1px; flex: none; }
.tt-nav-av { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; background: #161616; border: 1px solid var(--tt-br); display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 14px; color: var(--tt-gold); }
.tt-nav-av img { width: 100%; height: 100%; object-fit: cover; }
.tt-nav-login { border: 1px solid var(--tt-gold); color: var(--tt-gold); border-radius: 20px; padding: 7px 14px; }
.tt-tabs { position: fixed; left: 0; right: 0; bottom: var(--tt-player-h); z-index: 850; display: flex; height: 60px; background: rgba(8,8,8,.97); border-top: 1px solid var(--tt-br);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-bottom: env(safe-area-inset-bottom); box-sizing: content-box; }
.tt-tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-decoration: none; color: #666;
  font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.tt-tabs a .i { font-size: 18px; line-height: 1; filter: grayscale(.6); }
.tt-tabs a.on { color: var(--tt-gold); }
.tt-tabs a.on .i { filter: none; }
body.tt-has-tabs { padding-bottom: calc(60px + var(--tt-player-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .tt-nav { padding: 0 28px; height: 64px; }
  .tt-nav-links { display: flex; }
  .tt-tabs { display: none; }
  body.tt-has-tabs { padding-bottom: var(--tt-player-h); }
}

/* ── Fan & artist apps on desktop: the phone layout opens up (tabs become a sidebar, cards sit side by side) ── */
@media (min-width: 900px) {
  body.tt-app #app { max-width: none; border: 0; display: grid; grid-template-columns: 236px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  body.tt-app #app > .top-bar { grid-column: 2; grid-row: 1; padding-left: 28px; padding-right: 28px; }
  body.tt-app #app > .screen-body { grid-column: 2; grid-row: 2; }
  body.tt-app #app > .bottom-nav { grid-column: 1; grid-row: 1 / 3; height: auto; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px; padding: 22px 14px; border-top: 0; border-right: 1px solid var(--br-1, #1a1a1a); background: #070707; }
  body.tt-app #app > .bottom-nav::before { content: 'TAE TRAX'; font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 6px; color: #f8f8f8; padding: 0 12px 22px; }
  body.tt-app .nav-item { flex: none; flex-direction: row; justify-content: flex-start; gap: 14px; padding: 12px 14px; border-radius: 12px; }
  body.tt-app .nav-item.active { background: rgba(255,255,255,.05); }
  body.tt-app .nav-item:hover { background: rgba(255,255,255,.03); }
  body.tt-app .nav-lbl { font-size: 11px; letter-spacing: 2px; }
  body.tt-app .nav-ico { font-size: 18px; width: 22px; text-align: center; }
  body.tt-app .screen.active { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); align-content: start; padding: 0 16px 48px; }
  body.tt-app .screen.active > * { grid-column: 1 / -1; }
  body.tt-app .screen.active > :is(.song-card, .artist-card, .booking-card, .portfolio-card, .earn-card, .pool-card, .req-card) { grid-column: auto; margin: 0 8px 16px; }
  body.tt-app .screen.active > :is(.hero-banner, .quick-stats, .ticker-wrap, .action-grid) { margin-left: -16px; margin-right: -16px; }
  body.tt-app .modal-sheet { left: 236px; max-width: 560px; }
  body.tt-app .toast-container { left: 236px; }
}
.tt-rail-links { display: none; }
@media (min-width: 900px) {
  body.tt-app .top-bar .wordmark { visibility: hidden; }
  body.tt-app .tt-rail-links { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 18px; border-top: 1px solid #1a1a1a; }
  .tt-rail-h { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 2px; color: #555; padding: 0 14px 8px; }
  .tt-rail-links a { display: flex; gap: 14px; align-items: center; padding: 10px 14px; border-radius: 12px; text-decoration: none; color: #777;
    font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; }
  .tt-rail-links a span { width: 22px; text-align: center; font-size: 16px; }
  .tt-rail-links a:hover { color: #f8f8f8; background: rgba(255,255,255,.03); }
}

/* Video pop-up */
.tt-video { position: fixed; inset: 0; z-index: 9800; background: rgba(0,0,0,.88); display: flex; align-items: center; justify-content: center; padding: 16px; }
.tt-video-in { width: min(960px, 100%); position: relative; }
.tt-video-frame { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid #222; }
.tt-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tt-video-t { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 2px; color: #f8f8f8; margin-top: 12px; }
.tt-video-x { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #333; background: #111; color: #ddd; font-size: 14px; cursor: pointer; }

/* "Latest project" tiles (song + video) used on Bookings and artist pages */
.tt-proj { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tt-proj-tile { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #161616; border: 1px solid #262626; aspect-ratio: 16 / 11; cursor: pointer; text-decoration: none; color: #f8f8f8; padding: 0; text-align: left; font: inherit; }
.tt-proj-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tt-proj-tile .tt-proj-fb { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 28px; color: var(--tt-gold); background: linear-gradient(135deg, #1a0e00, #0a0a0a); }
.tt-proj-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.85), transparent 55%); }
.tt-proj-kind { position: absolute; top: 8px; left: 8px; z-index: 2; font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; background: rgba(0,0,0,.65); border: 1px solid rgba(255,255,255,.15); border-radius: 20px; padding: 3px 8px; }
.tt-proj-play { position: absolute; right: 8px; bottom: 8px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: var(--tt-gold); color: #000; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.tt-proj-tile.yt .tt-proj-play { background: #ff0033; color: #fff; }
.tt-proj-name { position: absolute; left: 10px; right: 50px; bottom: 9px; z-index: 2; font-family: 'Bebas Neue', sans-serif; font-size: 15px; letter-spacing: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tt-proj-empty { border-style: dashed; cursor: default; }
.tt-proj-empty .tt-proj-fb { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 1px; color: #555; background: none; }
.tt-proj-empty::after { display: none; }

/* Footer on every public page (links every section + what TAE TRAX is) */
.tt-foot { border-top: 1px solid #242424; margin-top: 30px; padding: 32px 16px 20px; font-family: 'Syne', sans-serif; color: #f8f8f8; text-align: left; }
.tt-foot-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 24px; }
.tt-foot-about p { font-size: 13px; line-height: 1.7; color: #888; margin: 10px 0 0; max-width: 460px; }
.tt-foot-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tt-foot-links div { display: flex; flex-direction: column; gap: 8px; }
.tt-foot-links b { font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #555; font-weight: 400; }
.tt-foot-links a { font-size: 13px; color: #c8c8c8; text-decoration: none; }
.tt-foot-links a:hover { color: var(--tt-gold); }
.tt-foot-copy { max-width: 1180px; margin: 20px auto 0; font-family: 'DM Mono', monospace; font-size: 10px; color: #555; }
@media (min-width: 900px) { .tt-foot-in { grid-template-columns: 1.2fr 1fr; } }

/* Shuffle / repeat / share */
.tt-p-mode.on { border-color: var(--tt-gold); color: var(--tt-gold); background: rgba(232,160,32,.1); }
.tt-p-more { display: none; }
@media (max-width: 759px) {
  .tt-p-more { display: flex; }
  .tt-p-extra { display: none; position: absolute; right: 10px; bottom: 70px; padding: 8px; gap: 8px; border-radius: 30px;
    background: rgba(11,11,11,.98); border: 1px solid var(--tt-br); box-shadow: 0 10px 30px rgba(0,0,0,.6); }
  .tt-player.tt-more-open .tt-p-extra { display: flex; }
  .tt-player.tt-more-open .tt-p-more { border-color: var(--tt-gold); color: var(--tt-gold); }
  .tt-p-x { padding: 4px; }
}
@media (min-width: 760px) { .tt-p-ctl:not(.tt-p-extra) { margin-left: auto; } .tt-p-extra { margin-left: 6px; } }
.tt-share { position: fixed; inset: 0; z-index: 9900; background: rgba(0,0,0,.6); display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.tt-share-in { width: min(380px, 100%); background: #0f0f0f; border: 1px solid #2a2a2a; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 8px; margin-bottom: calc(var(--tt-player-h) + 8px); font-family: 'DM Mono', monospace; }
.tt-share-t { font-size: 10px; letter-spacing: 2px; color: #888; margin-bottom: 4px; }
.tt-share-in a, .tt-share-in button { display: block; text-align: left; padding: 12px 14px; border-radius: 12px; background: #161616; border: 1px solid #262626; color: #f8f8f8; font: inherit; font-size: 13px; text-decoration: none; cursor: pointer; }
.tt-share-in a:hover, .tt-share-in button:hover { border-color: var(--tt-gold); color: var(--tt-gold); }
.tt-share-x { color: #888 !important; text-align: center !important; }

/* Add to playlist (uses the share pop-up look) */
html.tt-framed body > .tt-share { display: flex !important; }
.tt-pl-song { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 1.5px; color: #f8f8f8; margin-bottom: 4px; }
.tt-pl-list { display: flex; flex-direction: column; gap: 8px; max-height: 42vh; overflow-y: auto; }
.tt-pl-list button { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tt-pl-list button small { color: #777; font-size: 10px; }
.tt-pl-list button.on { border-color: var(--tt-gold) !important; color: var(--tt-gold) !important; }
.tt-pl-msg { font-size: 12px; color: #888; margin: 4px 0; line-height: 1.6; }
.tt-pl-new { display: flex; gap: 8px; margin-top: 4px; }
.tt-pl-new input { flex: 1; min-width: 0; background: #161616; border: 1px solid #262626; border-radius: 12px; padding: 11px 12px; color: #f8f8f8; font: inherit; font-size: 13px; }
.tt-pl-new input:focus { outline: none; border-color: var(--tt-gold); }
.tt-pl-new button { flex: none; text-align: center !important; background: var(--tt-gold) !important; color: #000 !important; border-color: var(--tt-gold) !important; font-weight: 700; }

/* Volume */
.tt-p-vol { display: flex; align-items: center; gap: 6px; }
.tt-p-volr { -webkit-appearance: none; appearance: none; width: 90px; height: 4px; border-radius: 2px; cursor: pointer;
  background: linear-gradient(to right, var(--tt-gold) var(--v, 100%), #333 var(--v, 100%)); }
.tt-p-volr::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: #f8f8f8; border: 0; }
.tt-p-volr::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #f8f8f8; border: 0; }
@media (max-width: 759px) { .tt-p-extra { flex-wrap: nowrap; } .tt-p-volr { width: 80px; } }

/* ── Brand: the TAE TRAX logo as on the home page (Rubik, heaviest weight, white) ── */
.tt-nav-logo, .tt-rail-h, .wordmark, .splash-logo, .logo-t, .left-logo, .art-logo-t, .mob-logo, .logo-text, .footer-logo, .wm, .logo-word, .tt-brand {
  font-family: 'Rubik', 'Arial Black', sans-serif !important; font-weight: 900 !important; letter-spacing: 0 !important; color: #fff; }
:is(.tt-nav-logo, .wordmark, .splash-logo, .logo-t, .left-logo, .art-logo-t, .mob-logo, .logo-text, .footer-logo, .wm, .logo-word) :is(span, .x) { color: inherit !important; }
.tt-nav-logo { font-size: 21px; }
.splash-logo { letter-spacing: 1px !important; }
@media (min-width: 900px) {
  body.tt-app #app > .bottom-nav::before { font-family: 'Rubik', 'Arial Black', sans-serif; font-weight: 900; letter-spacing: 0; font-size: 22px; }
}
@media (min-width: 760px) and (max-width: 1099px) { .tt-p-time { display: none; } .tt-p-volr { width: 64px; } .tt-player { gap: 12px; } }
