/*
Theme Name: Pirate 100.3 Rust & Chain
Theme URI: https://pirate100.com/
Description: Rust-and-chain child theme for Pirate 100.3 Turbo.
Author: Pirate 100.3 Turbo
Template: ultimate-audio-streaming
Version: 1.0.38
Text Domain: pirate100-rust-chain
*/

:root {
  --p100-red: #d21c0f;
  --p100-rust: #8d3d15;
  --p100-ember: #d35a18;
  --p100-ink: #080808;
  --p100-panel: rgba(13, 13, 13, .94);
  --p100-line: rgba(194, 76, 25, .52);
  --p100-text: #f2eee6;
  --p100-muted: #b8b2a9;
  --p100-display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { background: #050505; }
body {
  position: relative;
  min-height: 100%;
  margin: 0 !important;
  color: var(--p100-text);
  background: #050505 url("assets/rusted-panel-background.jpg") center top / cover scroll repeat-y !important;
  font-family: Arial, Helvetica, sans-serif;
}
body::before,
body::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 5;
  width: 82px;
  pointer-events: none;
  background-image: url("assets/rust-chain-background.png");
  background-repeat: repeat-y;
  background-size: 1672px 940px;
}
body::before {
  left: 0;
  background-position: left top;
}
body::after {
  right: 0;
  background-position: right top;
}
a { color: var(--p100-text); }
a:hover { color: #ff392b; }

.p100-site-header {
  position: relative;
  z-index: 20;
  width: auto;
  margin: 10px 12px 0;
  border: 12px solid transparent;
  border-image-source: url("assets/rusted-chain-frame.png");
  border-image-slice: 105 112 105 112;
  border-image-width: 12px;
  border-image-outset: 3px;
  border-image-repeat: round;
  background:
    linear-gradient(rgba(4, 3, 2, .48), rgba(7, 4, 3, .62)),
    url("assets/rusted-panel-background.jpg") center 46% / cover no-repeat;
  box-shadow: 0 5px 18px #000, inset 0 1px rgba(255,255,255,.08), inset 0 -1px #261107;
}
.p100-site-header::before,
.p100-site-header::after {
  content: "";
  position: absolute;
  top: 12px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #866140, #1b110b 52%, #000 68%);
  box-shadow: 0 0 0 2px #050505, 0 0 0 3px #653013;
}
.p100-site-header::before { left: 15px; }
.p100-site-header::after { right: 15px; }
.p100-nav-shell {
  width: min(1400px, calc(100% - 96px));
  min-height: 78px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}
.p100-mini-brand {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 172px;
  min-height: 52px;
  color: #eee7db;
  text-decoration: none;
  font: 900 24px/1 var(--p100-display);
  letter-spacing: -1px;
  text-shadow: 0 2px #000;
}
.p100-brand-text { white-space: nowrap; }
.p100-brand-text span { color: var(--p100-red); }
.p100-parental-advisory {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: block;
  width: 68px !important;
  max-width: 68px !important;
  height: 43px !important;
  object-fit: fill;
  border: 1px solid rgba(255,255,255,.28);
  box-shadow: 0 3px 9px rgba(0,0,0,.82);
  opacity: .96;
  transform: translate(-50%, -50%);
}
.p100-nav-toggle {
  display: none;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid #6f2f12;
  background: #0a0a0a;
  color: #fff;
  font-size: 20px;
}
.p100-primary-nav { flex: 1; }
.p100-primary-nav ul { display: flex; align-items: center; gap: 46px; margin: 0; padding: 0; list-style: none; }
.p100-primary-nav li { margin: 0; padding: 0; }
.p100-primary-nav a {
  position: relative;
  display: block;
  padding: 29px 0 25px;
  color: #f0ece4;
  text-decoration: none;
  text-transform: uppercase;
  font: 800 17px/1 var(--p100-display);
  letter-spacing: .7px;
}
.p100-primary-nav .current-menu-item > a,
.p100-primary-nav a:hover { color: #ff3125; }
.p100-primary-nav .current-menu-item > a::after,
.p100-primary-nav a:hover::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 14px;
  left: 0;
  height: 2px;
  background: var(--p100-red);
  box-shadow: 0 0 8px rgba(255,30,20,.6);
}
.p100-search-toggle {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.p100-search-icon {
  position: relative;
  display: block;
  width: 21px;
  height: 21px;
  border: 3px solid #eee7db;
  border-radius: 50%;
  filter: drop-shadow(0 2px 2px #000);
  transition: border-color .16s ease, transform .16s ease;
}
.p100-search-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 10px;
  height: 3px;
  border-radius: 2px;
  background: #eee7db;
  box-shadow: 0 2px 2px #000;
  transform: rotate(45deg);
  transform-origin: left center;
}
.p100-search-toggle:hover .p100-search-icon,
.p100-search-toggle:focus-visible .p100-search-icon {
  border-color: #ff392b;
  transform: scale(1.08);
}
.p100-search-toggle:hover .p100-search-icon::after,
.p100-search-toggle:focus-visible .p100-search-icon::after {
  background: #ff392b;
}
.p100-search-panel { display: none; width: 100%; padding: 12px max(48px, calc((100% - 1304px)/2)); background: linear-gradient(rgba(4,3,2,.55), rgba(7,4,3,.7)), url("assets/rusted-panel-background.jpg") center / cover; border-top: 1px solid #54250f; }
.p100-search-panel.is-open { display: block; }
.p100-search-panel form { display: flex; }
.p100-search-panel label { flex: 1; }
.p100-search-panel input[type="search"] { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #5c2a13; background: #111; color: #fff; }
.p100-search-panel input[type="submit"] { border: 0; padding: 0 24px; background: var(--p100-red); color: #fff; font-weight: 800; text-transform: uppercase; }

.p100-main { position: relative; z-index: 6; min-height: 70vh; }
.p100-shell { width: min(1180px, calc(100% - 190px)); margin: 0 auto; padding: 10px 0 34px; }
.p100-hero {
  position: relative;
  overflow: hidden;
  border: 2px solid #4e2512;
  border-radius: 4px;
  background: #000;
  box-shadow: 0 10px 28px #000, inset 0 0 0 2px #070707, inset 0 0 0 3px rgba(209,76,22,.25);
}
.p100-hero img { display: block; width: 100%; height: clamp(145px, 16vw, 205px); min-height: 0; object-fit: fill; object-position: center; }
.p100-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.p100-module {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 2px solid #4e2512;
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(255,103,24,.035), transparent 30%),
    var(--p100-panel);
  box-shadow: 0 8px 20px rgba(0,0,0,.8), inset 0 0 0 2px #050505, inset 0 0 0 3px rgba(151,62,20,.5);
}
.p100-module::before,
.p100-module::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8a6848, #21140d 50%, #000 70%);
  box-shadow: 0 0 0 2px #050505, 0 0 0 3px #5d2a12;
}
.p100-module::before { left: 9px; }
.p100-module::after { right: 9px; }

/* v1.0.1 — heavier battered-metal frames for the two live-status panels. */
.p100-now-playing,
.p100-coming-soon,
.p100-top-tracks-module,
.p100-top-requested-module,
.p100-recently-played-module,
.p100-fleet-module,
.p100-statistics-module,
.p100-track-requests-frame {
  overflow: visible;
  border: 18px solid transparent;
  border-radius: 0;
  border-image-source: url("assets/riveted-rust-frame.png");
  border-image-slice: 108 128 108 128;
  border-image-width: 18px;
  border-image-outset: 2px;
  border-image-repeat: stretch;
  background:
    linear-gradient(rgba(3, 3, 3, .28), rgba(5, 3, 2, .38)) padding-box,
    url("assets/rusted-panel-background.jpg") center / cover padding-box;
  box-shadow:
    0 10px 24px rgba(0,0,0,.88),
    0 0 0 2px #020202,
    inset 0 0 0 2px #0a0503,
    inset 0 0 0 3px rgba(178,67,22,.48),
    inset 0 0 24px rgba(176,59,10,.12);
}
.p100-now-playing::before,
.p100-now-playing::after,
.p100-coming-soon::before,
.p100-coming-soon::after,
.p100-top-tracks-module::before,
.p100-top-tracks-module::after,
.p100-top-requested-module::before,
.p100-top-requested-module::after,
.p100-recently-played-module::before,
.p100-recently-played-module::after,
.p100-fleet-module::before,
.p100-fleet-module::after,
.p100-statistics-module::before,
.p100-statistics-module::after,
.p100-track-requests-frame::before,
.p100-track-requests-frame::after {
  display: none;
}

/* Give the complete [track-requests] page the same riveted frame as Now Playing. */
.p100-track-requests-frame {
  position: relative;
  width: 100%;
  margin: 8px 0 18px;
  background:
    linear-gradient(rgba(3, 3, 3, .28), rgba(5, 3, 2, .38)) padding-box,
    url("assets/rusted-panel-background.jpg") center top / cover repeat-y padding-box !important;
}

/* The RadioDJ plugin paints several nested black containers. Make those
   transparent so the frame's existing rusty panel texture shows through. */
.p100-track-requests-frame.p100-track-requests-frame :where(div, section, article, form, table, thead, tbody, tr, th, td) {
  background-color: transparent !important;
  background-image: none !important;
}

/* Keep the artwork column and its covers, but remove its redundant heading. */
.p100-track-requests-frame table th.album-art {
  overflow: hidden;
  color: transparent !important;
  font-size: 0 !important;
  text-indent: -9999px;
}

/* Matching riveted rail between the search controls and request results. */
.p100-request-section-divider {
  display: block;
  width: 100%;
  height: 0;
  margin: 0;
  border: 0;
  border-top: 18px solid transparent;
  border-image-source: url("assets/riveted-rust-frame.png");
  border-image-slice: 108 128 108 128;
  border-image-width: 18px 0 0;
  border-image-repeat: stretch;
  box-shadow: 0 5px 12px rgba(0,0,0,.75);
}
.p100-now-playing::before,
.p100-coming-soon::before { left: -3px; }
.p100-now-playing::after,
.p100-coming-soon::after { right: -3px; }
.p100-now-playing .p100-module-title,
.p100-coming-soon .p100-module-title,
.p100-top-tracks-module .p100-module-title,
.p100-top-requested-module .p100-module-title,
.p100-recently-played-module .p100-module-title,
.p100-fleet-module .p100-module-title,
.p100-statistics-module .p100-module-title {
  margin: -1px;
  padding-top: 12px;
  border-bottom: 1px solid rgba(126,52,18,.5);
  box-shadow: inset 0 -1px #050505;
}
.p100-now-playing .p100-module-content,
.p100-coming-soon .p100-module-content,
.p100-top-tracks-module .p100-module-content,
.p100-top-requested-module .p100-module-content,
.p100-recently-played-module .p100-module-content,
.p100-fleet-module .p100-module-content,
.p100-statistics-module .p100-module-content {
  position: relative;
  min-height: 0;
  margin: 0;
  background: transparent;
}

/* Compact the display plugin to the proportions in the reference mock-up. */
.p100-now-playing .p100-widget,
.p100-coming-soon .p100-widget {
  padding: 14px 18px !important;
  min-height: 0 !important;
}
.p100-now-playing .p100-brand,
.p100-now-playing .p100-label,
.p100-coming-soon .p100-label { display: none !important; }
.p100-now-playing .p100-topline {
  position: absolute !important;
  z-index: 8;
  top: -43px;
  right: 18px;
  width: auto !important;
}
.p100-now-playing .p100-live {
  padding: 4px 8px !important;
  font-size: 10px !important;
}
.p100-now-playing .p100-now-content { gap: 18px !important; margin-top: 0 !important; }
.p100-now-playing .p100-album-art,
.p100-now-playing .p100-album-placeholder {
  width: 128px !important;
  height: 128px !important;
  min-width: 128px !important;
  border-radius: 3px !important;
}
.p100-now-playing .p100-artist { margin-top: 0 !important; font-size: 27px !important; line-height: 1.05 !important; }
.p100-now-playing .p100-title { margin-top: 5px !important; font-size: 18px !important; }
.p100-now-playing .p100-album,
.p100-now-playing .p100-year { margin-top: 4px !important; font-size: 16px !important; }
.p100-now-playing .p100-listeners { margin-top: 4px !important; font-size: 11px !important; }
.p100-coming-soon .p100-queue { margin-top: 0 !important; }
.p100-coming-soon .p100-queue-row { gap: 9px !important; padding: 6px 2px !important; }
.p100-coming-soon .p100-queue-row img {
  width: 43px !important;
  height: 43px !important;
  min-width: 43px !important;
  border-radius: 3px !important;
}
.p100-coming-soon .p100-num { width: 27px !important; height: 27px !important; font-size: 11px !important; }
.p100-coming-soon .p100-queue-row b { font-size: 13px !important; }
.p100-coming-soon .p100-queue-row em { font-size: 12px !important; }
.p100-module-title {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 13px 40px 10px;
  border-bottom: 1px solid rgba(130,53,19,.45);
  color: #ef4b25;
  background: linear-gradient(90deg, rgba(104,39,12,.22), transparent 60%);
  text-transform: uppercase;
  font: 900 19px/1.1 var(--p100-display);
  letter-spacing: 2.2px;
  text-shadow: 0 2px #000;
}
.p100-module-title::before { content: "★"; margin-right: 10px; color: #a84a1e; font-size: 13px; }
.p100-module-content { padding: 8px; }

/* Turn the working plugin outputs into inset content, while leaving plugin logic untouched. */
.p100-module .p100-shortcode-widget { margin: 0 !important; }
.p100-module .p100-widget,
.p100-module .p100-top-tracks,
.p100-module .p100-top-requested,
.p100-module .p100-recently-played,
.p100-module .rdj-wrap,
.p100-module .noticediv {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.p100-module .p100-top-tracks,
.p100-module .p100-top-requested { padding: 2px 14px 8px !important; }
.p100-module .p100-top-tracks-header,
.p100-module .p100-top-requested-header { display: none !important; }
.p100-module .p100-top-tracks-row,
.p100-module .p100-top-requested-row { min-height: 61px !important; padding: 7px 0 !important; border-color: rgba(255,255,255,.13) !important; }
.p100-module .p100-top-tracks-art,
.p100-module .p100-top-requested-art { width: 46px !important; height: 46px !important; min-width: 46px !important; margin-right: 12px !important; border-radius: 3px !important; border: 1px solid #392419; }
.p100-module .p100-top-tracks-rank,
.p100-module .p100-top-requested-rank { width: 38px !important; height: 38px !important; min-width: 38px !important; margin-right: 12px !important; line-height: 38px !important; border: 1px solid #332a25 !important; background: #090909 !important; color: #e2281d !important; }
.p100-top-tracks-module .p100-top-tracks-rank,
.p100-top-requested-module .p100-top-requested-rank { display: none !important; }
.p100-module .p100-top-tracks-artist,
.p100-module .p100-top-requested-artist { font-size: 15px !important; }
.p100-module .p100-top-tracks-title,
.p100-module .p100-top-requested-title { font-size: 14px !important; }
.p100-module .p100-top-tracks-count,
.p100-module .p100-top-requested-count { flex: 0 0 auto; color: #c8c2b9 !important; text-align: right; }

/* Dedicated RadioDJ Recently Played output in a full-width homepage panel. */
.p100-recently-played-module { grid-column: 1 / -1; }
.p100-recently-played-module .p100-module-content { padding: 0; }
.p100-recently-played-module .rdj-wrap.recently-played,
.p100-recently-played-module .p100-recently-played {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 14px 7px !important;
  background: transparent !important;
}
.p100-recently-played-module .p100-recently-played-row {
  display: flex !important;
  align-items: center !important;
  min-height: 66px !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.13) !important;
  background: transparent !important;
}
.p100-recently-played-module .p100-recently-played-row:last-child { border-bottom: 0 !important; }
.p100-recently-played-module .p100-recently-played-art {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  min-width: 50px !important;
  margin-right: 13px !important;
  border: 1px solid #392419 !important;
  border-radius: 3px !important;
  background: #15100d !important;
  object-fit: cover !important;
  color: #8f8379 !important;
}
.p100-recently-played-module .p100-recently-played-info {
  flex: 1 !important;
  min-width: 0 !important;
}
.p100-recently-played-module .p100-recently-played-artist {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.p100-recently-played-module .p100-recently-played-title {
  margin-top: 3px !important;
  color: #d2ccc4 !important;
  font-size: 14px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.p100-recently-played-module .p100-recently-played-album {
  margin-top: 3px !important;
  color: #978f86 !important;
  font-size: 12px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.p100-recently-played-module .p100-recently-played-time {
  flex: 0 0 auto !important;
  margin-left: 18px !important;
  color: #e2281d !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

/* Three-station network panel with live Icecast titles. */
.p100-fleet-module { grid-column: 1 / -1; }
.p100-fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 14px;
}
.p100-fleet-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 210px;
  flex-direction: column;
  padding: 19px;
  border: 1px solid #653017;
  background:
    linear-gradient(145deg, rgba(113,40,13,.22), rgba(0,0,0,.82) 55%),
    rgba(6,6,6,.78);
  box-shadow: inset 0 0 0 2px #080402, inset 0 0 18px rgba(201,66,15,.1), 0 6px 14px rgba(0,0,0,.62);
}
.p100-fleet-card h3 {
  max-width: calc(100% - 60px);
  margin: 0;
  font: 900 20px/1.1 var(--p100-display);
  letter-spacing: .5px;
  text-transform: uppercase;
}
.p100-fleet-card h3 a { color: #fff; text-decoration: none; }
.p100-fleet-card h3 a:hover { color: #ff392b; }
.p100-fleet-live {
  position: absolute;
  top: 18px;
  right: 17px;
  color: #ef321f;
  font: 800 10px/1 var(--p100-display);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.p100-fleet-live span {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ef2415;
  box-shadow: 0 0 7px rgba(255,39,24,.85);
}
.p100-fleet-format {
  margin: 5px 0 17px;
  color: #a89f95;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .7px;
  text-transform: uppercase;
}
.p100-fleet-label {
  margin: 0 0 5px;
  color: #d45127;
  font: 800 10px/1 var(--p100-display);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.p100-fleet-song {
  margin: 0 0 18px;
  color: #ddd7cf;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}
.p100-fleet-listen {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 17px;
  border: 1px solid #ec2c1d;
  border-radius: 3px;
  color: #fff;
  background: linear-gradient(#e52b1d, #ad140c);
  box-shadow: 0 3px 8px rgba(0,0,0,.65), inset 0 1px rgba(255,255,255,.16);
  font: 900 12px/1 var(--p100-display);
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}
.p100-fleet-listen:hover,
.p100-fleet-listen:focus-visible { color: #fff; background: linear-gradient(#ff3b2c, #c61b10); }
.p100-fleet-listen span { margin-left: 5px; font-size: 9px; }

/* Compact at-a-glance statistics strip below The Pirate Fleet. */
.p100-statistics-module { grid-column: 1 / -1; }
.p100-statistics-module .p100-module-content { padding: 14px; }
.p100-statistics-module .rdj-wrap.station-statistics {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.p100-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.p100-stat-card {
  display: flex;
  min-width: 0;
  min-height: 125px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 16px 12px;
  border: 1px solid #653017;
  background: linear-gradient(145deg, rgba(111,39,12,.2), rgba(0,0,0,.82) 58%), rgba(6,6,6,.8);
  box-shadow: inset 0 0 0 2px #080402, inset 0 0 18px rgba(201,66,15,.1), 0 5px 12px rgba(0,0,0,.58);
  text-align: center;
}
.p100-stat-value {
  display: block;
  max-width: 100%;
  overflow: hidden;
  color: #fff;
  font: 900 31px/1 var(--p100-display);
  text-overflow: ellipsis;
  text-shadow: 0 2px #000;
  white-space: nowrap;
}
.p100-stat-artist-card .p100-stat-value { color: #ef4b25; font-size: clamp(18px, 2vw, 27px); }
.p100-stat-label {
  display: block;
  margin-top: 10px;
  color: #ef4b25;
  font: 900 11px/1.15 var(--p100-display);
  letter-spacing: 1.25px;
  text-transform: uppercase;
}
.p100-stat-detail {
  display: block;
  margin-top: 5px;
  color: #999188;
  font-size: 10px;
}
.p100-stat-live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #e82d1d;
  box-shadow: 0 0 6px rgba(255,39,24,.8);
}

.p100-empty { margin: 10px; padding: 20px; border: 1px dashed #5e2b14; color: #d8cfc3; background: rgba(0,0,0,.45); }
.p100-player-dock { width: 100%; margin: 12px auto 0; padding: 8px; border: 2px solid #4e2512; border-radius: 7px; background: rgba(8,8,8,.96); box-shadow: 0 8px 28px #000, inset 0 0 0 2px #000, inset 0 0 0 3px rgba(151,62,20,.45); }
.p100-player-dock:empty { display: none; }
.p100-site-footer { position: relative; z-index: 6; border-top: 1px solid #4b2514; padding: 18px 20px 15px; color: #827a72; background: rgba(0,0,0,.86); text-align: center; font-size: 12px; }
.p100-footer-stats { width: min(1180px, calc(100% - 150px)); margin: 0 auto 18px; text-align: left; }
.p100-footer-stats .p100-statistics-module { width: 100%; }
.p100-site-footer p { margin: 0; }

@media (max-width: 900px) {
  body { background-size: auto 100vh !important; background-attachment: scroll !important; }
  body::before,
  body::after { width: 54px; background-size: 1110px 624px; }
  .p100-site-header {
    margin: 7px 7px 0;
    border-width: 9px;
    border-image-width: 9px;
    border-image-outset: 2px;
  }
  .p100-nav-shell { width: calc(100% - 48px); }
  .p100-shell { width: calc(100% - 120px); }
  .p100-footer-stats { width: calc(100% - 80px); }
  .p100-grid { grid-template-columns: 1fr; }
  .p100-fleet-grid { grid-template-columns: 1fr; }
  .p100-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p100-nav-toggle { display: block; }
  .p100-primary-nav { display: none; position: absolute; top: 100%; right: 24px; left: 24px; padding: 8px 18px; border: 1px solid #5e2b14; background: #090909; box-shadow: 0 12px 25px #000; }
  .p100-primary-nav.is-open { display: block; }
  .p100-primary-nav ul { display: block; }
  .p100-primary-nav a { padding: 15px 4px; border-bottom: 1px solid #26150e; }
  .p100-primary-nav a::after { display: none; }
}
@media (max-width: 560px) {
  body::before,
  body::after { width: 28px; background-size: 575px 323px; }
  .p100-nav-shell { width: calc(100% - 24px); }
  .p100-shell { width: calc(100% - 64px); }
  .p100-footer-stats { width: calc(100% - 24px); }
  .p100-nav-shell { min-height: 62px; gap: 15px; }
  .p100-mini-brand { width: 140px; min-height: 45px; font-size: 20px; }
  .p100-parental-advisory { width: 53px !important; max-width: 53px !important; height: 33px !important; }
  .p100-search-toggle { width: 42px; height: 42px; }
  .p100-hero img { min-height: 125px; }
  .p100-module-title { padding: 12px 34px 9px; font-size: 16px; letter-spacing: 1.5px; }
  .p100-module-content { padding: 5px; }
  .p100-module .p100-top-tracks,
  .p100-module .p100-top-requested { padding-right: 8px !important; padding-left: 8px !important; }
  .p100-module .p100-top-tracks-count,
  .p100-module .p100-top-requested-count { display: none !important; }
  .p100-module .p100-top-tracks-art,
  .p100-module .p100-top-requested-art { width: 40px !important; height: 40px !important; min-width: 40px !important; }
  .p100-recently-played-module .p100-recently-played { padding-right: 8px !important; padding-left: 8px !important; }
  .p100-recently-played-module .p100-recently-played-art { width: 42px !important; height: 42px !important; min-width: 42px !important; margin-right: 9px !important; }
  .p100-recently-played-module .p100-recently-played-time { margin-left: 9px !important; font-size: 10px !important; }
  .p100-now-playing,
  .p100-coming-soon,
  .p100-top-tracks-module,
  .p100-top-requested-module,
  .p100-recently-played-module,
  .p100-fleet-module,
  .p100-statistics-module,
  .p100-track-requests-frame {
    border-width: 14px;
    border-image-width: 14px;
  }
  .p100-request-section-divider {
    border-top-width: 14px;
    border-image-width: 14px 0 0;
  }
  .p100-now-playing .p100-topline { top: -40px; right: 12px; }
  .p100-now-playing .p100-album-art,
  .p100-now-playing .p100-album-placeholder { width: 96px !important; height: 96px !important; min-width: 96px !important; }
  .p100-now-playing .p100-artist { font-size: 22px !important; }
  .p100-now-playing .p100-title { font-size: 16px !important; }
  .p100-now-playing .p100-album,
  .p100-now-playing .p100-year { font-size: 14px !important; }
  .p100-stats-grid { grid-template-columns: 1fr; }
}
