/* OBEINSON FREQUENCY X — trimming chrome the owner asked to remove.
 *
 * It started as landing-only and is no longer: it also hides the supporter
 * ribbon and the station catalog's rainbow equalizer. The file name is kept so
 * the <link> in index.html does not have to change on a vendor drop.
 *
 * Removes the block that sat between the station chart and the monitor, so the
 * chart runs straight into MONITOR / FM RADIO.
 *
 * WHAT IS HIDDEN, AND WHAT IT USED TO DO — worth stating, because these are
 * working controls rather than decoration, and hiding one costs whoever used
 * it:
 *
 *   .locbar      the location row: the "Country, state or town" field, the
 *                "Use my GPS" button, the "All regions" reset, and the line
 *                reading "worldwide — all band plans shown". This is how a
 *                listener narrowed the band plans to their own country. With
 *                it hidden the app stays on whatever was last set, which for a
 *                new listener is worldwide — every band plan shown. The
 *                Local tab in the station catalog is unaffected; it has its
 *                own location handling.
 *
 *   .bandsTools  the "Filter bands…" field and its "56 / 56" counter, which
 *                searched the band list by name. The bands themselves are
 *                untouched and all 56 are still listed and still scroll.
 *
 * HIDDEN, NOT DELETED, and deliberately so. Both elements live in index.html,
 * which is a vendor drop replaced wholesale on updates, and the app's own
 * scripts read them — #gpsLoc, #locClear and #locCur all have handlers, and
 * the station chart mounts itself immediately before .locbar. Cutting the
 * markup out would mean re-cutting it after every vendor update and would risk
 * the scripts throwing on elements that are no longer there. A rule in a file
 * of its own survives a vendor drop untouched and is one line to undo.
 *
 * TO PUT EITHER BACK: delete its rule here, or the whole file plus its <link>
 * in index.html to restore the landing as it was.
 */

/* the location row, directly above the chart's mount point */
.locbar { display: none !important; }

/* the band filter and its counter; the band list itself stays */
.bandsTools { display: none !important; }

/* ---------------------------------------------------------------------------
   The supporter ribbon.

   The gold bar reading "100% free. Listener-supported — donate to help improve
   the app." with a Donate button and a dismiss cross. It is laid out in normal
   flow with a border-bottom rather than floating, so hiding it reflows the page
   up; nothing was positioned against it.

   Donating is NOT removed with it. The "💛 Donate" chip in the top banner is a
   separate element — it is not inside this bar, it stands in for #trialChip,
   which lives elsewhere in the document entirely — and it still opens the same
   Donate screen (#planOv) with the full non-charitable, not-tax-deductible
   disclosure. Menu -> "Donate & licence" also still works.

   Hidden rather than cut, for the reason the rules above are: paintTrial() in
   index.html still writes into this bar and still adds .on to it, and that file
   is a vendor drop. The rule simply makes .on paint nothing.
   --------------------------------------------------------------------------- */
.trialBar, .trialBar.on { display: none !important; }

/* ---------------------------------------------------------------------------
   The station catalog's rainbow equalizer.

   #qsRainbow, a 350x115 canvas sitting between the LED display and the
   Browse / Popular / Local / Favorites tabs. Hiding it closes that band
   completely — its own 6px/4px margins go with it — so the tabs and the
   station list move up by about 125px, which is most of the reason for doing
   it on a phone.

   Hiding is enough to stop the work as well as the picture. The shared
   RainbowEQ loop tests `visible(cv)` before drawing each registered canvas, so
   a display:none canvas is skipped every frame rather than drawn where nobody
   can see it. There is no separate teardown to call.

   The other four canvases that share this class (#rxRainbow, #ccRainbow,
   #poRainbow, #bcRainbow) live in the receiver, broadcaster and platform
   overlays and are NOT touched — none of them is the one on screen here.
   --------------------------------------------------------------------------- */
#qsRainbow { display: none !important; }

/* ---------------------------------------------------------------------------
   Trimming the top bar — PHONES ONLY.

   A phone keeps Menu, Stations, GeoMap and World. Free TV, Log in, Donate and
   Share are hidden, along with the flag strip beneath them. Nothing here
   applies above phone width: the bar is unchanged on a tablet or desktop.

   WHAT IS STILL REACHABLE, because none of these is decoration:

     Log in   -> Menu -> More -> "Log in / Account". Still the only login the
                 app offers, and it still works; it is one tap further away.
     Donate   -> Menu -> More -> "Donate & licence", which clicks the same
                 #trialChip this chip stood in for, opening the Donate screen
                 with its full non-charitable disclosure.

   WHAT IS NOT, which matters more and is why it is written down:

     Free TV  -> #tvToggle is the ONLY entry point. The other two "Free TV"
                 strings in index.html are the consent dialog's heading and the
                 Free TV screen's own header, neither of which opens it, and
                 there is no menu item for it. Hiding this chip removes Free TV
                 from phones entirely.
     Share    -> #obnShareChip stood in for #obnShareLaunch, which the top-bar
                 script keeps in the hidden #obnHdrHold, so this chip was the
                 only visible way to share on a phone. The "Shared" figure in
                 the counts strip will stop rising from phones as a result.

   Either could be restored with a row in the MORE array in index.html.

   The counts strip itself is handled in stats-in-player.css, which hides it on
   the phone landing and moves it into the now-playing player.
   --------------------------------------------------------------------------- */
html.obn-phone #tvToggle,
html.obn-phone #obnLoginBtn,
html.obn-phone #obnDonateChip,
html.obn-phone #obnShareChip { display: none !important; }

/* the flag strip that sat under that row */
html.obn-phone header > .statStrip { display: none !important; }
