/* APNU NewsPager | MONOCHROME HARDWARE v1
   One manufactured appliance in every APNU theme. The TV PICTURE is
   independent and may be color, B&W, phosphor green, video art, or scopes.
   NEVER put filter/grayscale/opacity on .receiver, .display, .headline-stage,
   .band-house, .band-queue-button, .picture-tube or .band-picture-tube:
   they are ANCESTORS of the color picture, and a child cannot undo a filter.
   Filter only the physical subassemblies that contain no picture content.
*/

/* Standalone appliance: black, white, satin silver, neutral room lighting. */
body.newspager-appliance {
  background:radial-gradient(ellipse at 50% 5%,#343434,#101010 66%) !important;
}
.pager-mount>.receiver.pager-tv-hybrid {
  color:#e9e9e9;
  border-color:#7d7d7d !important;
  background:linear-gradient(148deg,#dedede 0%,#b9b9b9 40%,#ededed 78%,#a9a9a9 100%) !important;
  box-shadow:inset 0 0 0 2px #fff9,inset 0 2px 5px #fff8,0 16px 38px #0008 !important;
}
/* The television bay/frame is neutral; its *inner glass* keeps color. */
.pager-mount>.receiver.pager-tv-hybrid .display {
  border-color:#4e4e4e !important;
  background:linear-gradient(145deg,#242424,#101010 66%) !important;
  box-shadow:inset 0 0 0 2px #080808,inset 0 0 13px #000b !important;
}
.pager-mount>.receiver.pager-tv-hybrid .picture-tube {
  border-color:#777 !important;
}
/* Header lights, maker marks, panel, transport, foot and dialogs are hardware.
   None of these elements contains the picture tube or its publisher image. */
.pager-mount .receiver-head,
.pager-mount .tv-fascia-rail,
.pager-mount .tv-channel-strip,
.pager-mount .headline-window,
.pager-mount .transport,
.pager-mount .receiver-foot,
.pager-mount .band-side-tab,
.pager-mount #settings-dialog,
.pager-mount #rss-dialog,
.pager-mount #band-dialog {
  -webkit-filter:grayscale(1) !important;
  filter:grayscale(1) !important;
}
/* Standalone settings/dialogs are siblings of the receiver in .pager-mount. */
.pager-mount>.receiver.pager-tv-hybrid .transport button {
  border-color:#737373;
}
.pager-mount>.receiver.pager-tv-hybrid .transport .next {
  background:linear-gradient(#fafafa,#777) !important;
  color:#121212 !important;
  border-color:#aaa !important;
  text-shadow:0 1px 0 #fff8 !important;
  box-shadow:inset 0 1px 1px #fffa,inset 0 -2px 2px #3337,0 2px 5px #0005 !important;
}
/* In-band appliance: identical material in Metropolitan, Night Shift, Arcade,
   and all other themes. The parent dialog and theme remain untouched. */
html[data-theme] dialog.band-reader.band-has-picks[open] .band-picks.band-house {
  color:#222 !important;
  border-color:#7d7d7d !important;
  background:linear-gradient(142deg,#ededed 0%,#b9b9b9 44%,#e5e5e5 78%,#aaa 100%) !important;
  box-shadow:inset 0 0 0 2px #fff9,inset 0 3px 5px #fffc,0 16px 42px #0009 !important;
}
/* This button wraps the TV: neutralize only the case, never apply filter here. */
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house .band-queue-button.band-tv-wide {
  border-color:#686868 !important;
  background:#161616 !important;
  box-shadow:inset 0 0 0 2px #333,inset 0 2px 14px #000b,0 1px 0 #fff9 !important;
}
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house .band-picture-tube {
  border-color:#777 !important;
}
/* Only physical subassemblies; never grayscale the color display or its
   video-artifact and screen-mode descendants. */
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house>.band-picks-header,
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house .band-tv-rail,
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house .band-channel-strip,
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house .band-headline-window,
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house .wv-play-controls,
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house>.band-house-footer,
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house>.band-picks-list,
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house>.band-picks-empty {
  -webkit-filter:grayscale(1) !important;
  filter:grayscale(1) !important;
}
/* A neutral metallic READ key retains tactile illumination and interaction. */
html[data-theme] dialog.band-reader.band-has-picks[open] .band-house .wv-play-controls .wv-next-guide {
  background:linear-gradient(#f8f8f8,#777) !important;
  border-color:#aaa !important;
  color:#151515 !important;
  text-shadow:0 1px 0 #fff8 !important;
  box-shadow:inset 0 1px 1px #fff9,inset 0 -2px 2px #3337,0 2px 5px #0005 !important;
}
/* Screen exclusion is structural, not a fragile grayscale(0) override.
   Preserve TV channels, images, canvas, standby phosphor and color modes. */

/* NewsPager sound key: physical third station in the LIVE / SOUND / SETTINGS dock. */
.pager-mount .receiver-head .signal-dock>.pager-sound-toggle{
 position:relative;display:grid;place-items:center;flex:0 0 43px;width:43px;height:36px;
 margin:0;padding:0;border:0;border-left:1px solid #777;border-radius:0;
 background:linear-gradient(#303030,#161616);color:#eee;cursor:pointer;
 box-shadow:inset 0 1px 0 #ffffff20,inset 0 -2px 2px #0008;
 -webkit-tap-highlight-color:transparent;
}
.pager-mount .receiver-head .signal-dock>.pager-sound-toggle svg{display:block;width:21px;height:21px}
.pager-mount .receiver-head .signal-dock>.pager-sound-toggle[aria-pressed=false]{color:#888;background:linear-gradient(#171717,#101010)}
.pager-mount .receiver-head .signal-dock>.pager-sound-toggle:active{background:#080808;box-shadow:inset 0 2px 5px #000}
.pager-mount .receiver-head .signal-dock>.pager-sound-toggle:focus-visible{outline:2px solid #fff;outline-offset:-3px}
@media(max-width:430px){
 .pager-mount .receiver-head .signal-dock>.pager-sound-toggle{flex-basis:34px;width:34px;height:32px}
 .pager-mount .receiver-head .signal-dock>.pager-sound-toggle svg{width:19px;height:19px}
 .pager-mount .receiver-head>.topline>.signal-dock .on-air{padding-right:5px}
}
