/* TapeVu R12N: mobile control system. Scoped below desktop breakpoint. */
@media (max-width:750px) {
  :root { --tv-nav-h: 64px; --tv-player-h: 60px; --tv-gold:#eac46b; }
  html { scroll-padding-top: 74px; }
  body { -webkit-tap-highlight-color:transparent; }
  .shell { padding-bottom:calc(var(--tv-nav-h) + var(--tv-player-h) + env(safe-area-inset-bottom,0px) + 30px); }
  .topbar { display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;column-gap:12px;min-height:62px;height:62px;padding:0 16px;position:sticky;top:0;z-index:24;background:rgba(8,9,12,.97);border-bottom:1px solid rgba(221,177,88,.28);box-shadow:0 8px 22px rgba(0,0,0,.32); }
  .topbar .top-nav { display:none!important; }
  .topbar .mobile-menu { display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:0;border-radius:13px;border:1px solid rgba(227,184,97,.33);background:#151519;color:#f0d18a;box-shadow:none;font-size:0; }
  .topbar .mobile-menu svg { width:21px;height:21px;stroke-width:1.9; }
  .mobile-header-brand { grid-column:2;display:flex;align-items:center;justify-content:center;min-width:0;text-align:center;line-height:1; font-size:28px;font-style:italic;font-weight:950;letter-spacing:-1.6px;color:#e6e7e8;text-shadow:0 2px 7px #000a; }
  .mobile-header-brand span { background:linear-gradient(155deg,#ffefb8 10%,#f2c65f 52%,#a77629);-webkit-background-clip:text;background-clip:text;color:transparent; }
  .topbar .top-actions { grid-column:3;justify-content:center;gap:0;min-width:0; }
  .topbar .top-actions .outline-gold { display:grid;place-items:center;width:44px;height:44px;padding:0;min-width:44px;min-height:44px;border-radius:13px;border:1px solid rgba(227,184,97,.5);background:linear-gradient(135deg,#282019,#111216);color:#f2cf7a;font-size:0;box-shadow:none; }
  .topbar .top-actions .outline-gold svg { width:21px;height:21px;stroke-width:1.85; }
  .topbar .top-actions .profile-btn,.topbar .top-actions .icon-btn { display:none!important; }
  .layout { padding:13px 14px 28px;gap:16px; }
  .mobile-brand { display:none!important; }
  .mobile-search-row { min-height:47px;height:47px;margin:0 0 14px;border:1px solid rgba(225,186,111,.3);border-radius:14px;background:#131418;padding:0 13px;box-shadow:inset 0 1px rgba(255,255,255,.04); }
  .mobile-search-row .mobile-search-symbol { display:flex;align-items:center;justify-content:center;width:19px;color:#d6b266;font-size:0; }
  .mobile-search-row .mobile-search-symbol svg { width:19px;height:19px;stroke-width:1.9; }
  .mobile-search-row .search-hint { font-size:9px;letter-spacing:.12em;white-space:nowrap;color:#e4c27f; }
  #mobile-search { font-size:14px; }
  .hero { margin-top:0; border-radius:16px; }
  .quick-features { margin-top:12px;gap:9px; }
  .quick-features>div { min-height:80px; }
  .section { margin-top:25px; }
  .section-heading h2 { font-size:19px; }
  .panel-grid { margin-top:16px; }
  .player { position:fixed;bottom:calc(var(--tv-nav-h) + env(safe-area-inset-bottom,0px));left:10px;right:10px;height:var(--tv-player-h);padding:6px 10px;gap:10px;z-index:25;border-radius:12px;border:1px solid rgba(235,194,102,.43);background:linear-gradient(180deg,#26201aeF,#101114f9 65%);box-shadow:0 -3px 22px #000b, inset 0 1px #fff2b01a; }
  .player>img { width:44px;height:44px;flex:0 0 44px;border-radius:7px;border:1px solid #a07b36; }
  .player-title { flex:1;min-width:0;max-width:none; }
  .player-title b { font-size:12px;letter-spacing:-.01em; }
  .player-title span { font-size:10px;color:#a9a5a0; }
  .player #like-btn { display:grid;place-items:center;flex:0 0 36px;width:36px;height:40px;font-size:25px;color:#ded3bc; }
  .player-centre { flex:0 0 40px;min-width:40px;width:40px; }
  .player .transport { margin:0;padding:0; }
  .player .transport .play-main { width:37px;height:37px;font-size:14px;border-radius:50%;background:linear-gradient(145deg,#fae5a1,#d3a647);border:1px solid #fff0b7;box-shadow:0 2px 10px #edc66935; }
  .player .player-status,.player .volume,.player .track { display:none!important; }
  .mobile-bottom-nav { position:fixed;left:0;right:0;bottom:0;z-index:24;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:calc(var(--tv-nav-h) + env(safe-area-inset-bottom,0px));min-height:64px;padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));border-top:1px solid #56482d;background:#0b0c0f;box-shadow:0 -12px 26px #0008;gap:2px; }
  .mobile-bottom-nav .tv-tab { position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:48px;padding:3px 0 2px;border:0;border-radius:10px;background:transparent;color:#a9a9ae;font-size:10px;font-weight:700;letter-spacing:.01em;box-shadow:none;appearance:none; }
  .mobile-bottom-nav .tv-tab svg { display:block;width:21px;height:21px;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;fill:none; }
  .mobile-bottom-nav .tv-tab .tv-tab-label { display:block;font-size:10px;line-height:1.2; }
  .mobile-bottom-nav .tv-tab.is-current { color:#f7d47e;background:linear-gradient(180deg,#f2bd4b16,transparent 85%); }
  .mobile-bottom-nav .tv-tab.is-current:before { content:'';position:absolute;top:0;width:19px;height:2px;background:#eec46b;border-radius:2px;box-shadow:0 0 8px #e9b45a7b; }
  .mobile-bottom-nav .tv-tab.is-current svg { stroke-width:2.1; }
  .mobile-bottom-nav .bottom-upload .bottom-icon { display:flex;width:auto;height:auto;background:none;border:0;border-radius:0;box-shadow:none;color:inherit;font-size:inherit; }
  .sidebar { z-index:34; }
  .mobile-menu-backdrop { z-index:33; }
  .modal-backdrop { z-index:65; }
  .topbar button:focus-visible,.mobile-bottom-nav .tv-tab:focus-visible { outline:2px solid #f1cf7a;outline-offset:2px; }
}
@media (max-width:360px) {
  .topbar { padding:0 12px;gap:9px; }
  .layout { padding-left:10px;padding-right:10px; }
  .mobile-header-brand { font-size:25px; }
  .mobile-bottom-nav .tv-tab .tv-tab-label { font-size:9px; }
  .mobile-search-row .search-hint { display:none; }
}
@media (min-width:751px) { .mobile-header-brand { display:none!important; } }
@media (prefers-reduced-motion:reduce) { .mobile-bottom-nav *, .topbar * { transition:none!important; } }

/* TapeVu R12P: visible header SVG strokes */
@media (max-width:750px) {
  .topbar .mobile-menu svg,
  .topbar .top-actions .outline-gold svg,
  .mobile-search-row .mobile-search-symbol svg {
    display:block;
    fill:none;
    stroke:currentColor;
    stroke-width:1.95;
    stroke-linecap:round;
    stroke-linejoin:round;
    overflow:visible;
  }
  .topbar .mobile-menu,
  .topbar .top-actions .outline-gold { color:#f3ce79; }
  .mobile-search-row .mobile-search-symbol { color:#d6b266; }
}
