/* ═══════════════════════════════════════════
   avbravo — Windows Vista Aero theme
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Tahoma:wght@400;700&family=Trebuchet+MS:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;700&display=swap');

:root {
  --vista-blue-title:    #1e4d9b;
  --vista-blue-mid:      #2a6dd9;
  --vista-blue-light:    #4a9eff;
  --vista-glass-bg:      rgba(185, 215, 255, 0.18);
  --vista-glass-border:  rgba(120, 180, 255, 0.6);
  --vista-white:         #ffffff;
  --vista-text:          #1a1a1a;
  --vista-text-light:    #444;
  --vista-btn-face:      #e8f0fb;
  --vista-btn-border:    #7bacd8;
  --vista-btn-hover:     #cce0ff;
  --vista-btn-active:    #9ec4f0;
  --vista-inset:         #dce9f8;
  --vista-shadow:        rgba(0,0,0,0.35);
  --vista-green:         #2d7a00;
  --vista-taskbar:       rgba(20,50,120,0.88);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

/* ── BODY: XP/Vista green hills field ── */
body {
  font-family: 'Noto Sans', Tahoma, sans-serif;
  font-size: 12px;
  color: var(--vista-text);
  min-height: 100vh;
  padding: 16px 12px 72px;
  background-image: url('vista_field.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  cursor: default;
}

/* ── DESKTOP grid ── */
.desktop {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 8px;
}

/* ═══════════════════════════════════════════
   VISTA WINDOW — the core component
   Glass effect: blue gradient titlebar,
   frosted content area, square corners
   ═══════════════════════════════════════════ */
.win {
  background: rgba(235, 245, 255, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--vista-glass-border);
  border-radius: 6px 6px 4px 4px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.7) inset,
    0 6px 24px var(--vista-shadow),
    0 1px 3px rgba(0,0,0,0.4);
  overflow: hidden;
}

/* top glass shine */
.win::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.22) 0%, transparent 100%);
  border-radius: 6px 6px 0 0;
  pointer-events: none;
  z-index: 1;
}

/* ── TITLEBAR: Vista Aero blue gradient ── */
.win-title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px 4px 8px;
  background: linear-gradient(to bottom,
    #4d94e8 0%,
    #2060c8 30%,
    #1a4faa 60%,
    #1d5cc4 80%,
    #3070d8 100%
  );
  border-bottom: 1px solid #1040a0;
  user-select: none;
  min-height: 26px;
}

/* titlebar shine streak */
.win-title::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.05) 100%);
  pointer-events: none;
}

.win-title .win-icon {
  font-size: 12px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.4));
}

.win-title .win-label {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  letter-spacing: 0.3px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Vista window control buttons — SQUARE */
.win-controls {
  display: flex;
  gap: 2px;
  margin-left: auto;
  flex-shrink: 0;
}
.wbtn {
  width: 17px;
  height: 16px;
  border-radius: 2px;
  border: 1px solid rgba(0,0,0,0.4);
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.6);
  position: relative;
  z-index: 2;
}
.wbtn.min  { background: linear-gradient(to bottom, #7ab0e8, #4a80d0); }
.wbtn.max  { background: linear-gradient(to bottom, #7ab0e8, #4a80d0); }
.wbtn.close {
  background: linear-gradient(to bottom, #e87878, #c03030);
  width: 20px;
}
.wbtn:hover { filter: brightness(1.2); }

/* ── WINDOW BODY ── */
.win-body {
  padding: 10px 12px;
  position: relative;
  z-index: 2;
}

/* ── LAYOUT SPANS ── */
.span-full  { grid-column: 1 / -1; }
.span-left  { grid-column: 1; }
.span-right { grid-column: 2; }

/* ═══════════════════════════════════════════
   HEADER WINDOW — banner
   ═══════════════════════════════════════════ */
.win-header {
  grid-column: 1 / -1;
  position: relative;
  overflow: hidden;
  border-radius: 6px 6px 4px 4px;
}
.win-header .header-body {
  position: relative;
  height: 140px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* photo sits behind logo as subtle texture */
.win-header .header-photo {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.12;
}
.win-header .header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.0);
}
.win-header .header-scanlines { display: none; }
/* logo: black on white, large and clear */
.win-header .header-logo {
  position: relative;
  width: 72%; max-width: 500px;
  filter: none;
  opacity: 1;
  z-index: 2;
  display: block;
}
.win-header .header-sub {
  position: absolute; bottom: 8px; left: 14px;
  font-size: 10px; color: #555;
  letter-spacing: 3px; text-transform: uppercase;
  font-family: 'Noto Sans', Tahoma, sans-serif;
  z-index: 2;
}

/* ═══════════════════════════════════════════
   VISTA SQUARE BUTTONS
   ═══════════════════════════════════════════ */
.vista-btn {
  display: inline-block;
  padding: 3px 12px 4px;
  background: linear-gradient(to bottom, #f0f7ff 0%, #d0e4f8 48%, #b8d4f5 52%, #cce0ff 100%);
  border: 1px solid var(--vista-btn-border);
  border-radius: 3px;
  font-size: 11px;
  font-family: 'Noto Sans', Tahoma, sans-serif;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 1px 2px rgba(0,0,0,0.2);
  white-space: nowrap;
  transition: background 0.08s;
}
.vista-btn:hover {
  background: linear-gradient(to bottom, #e0f0ff 0%, #b8d8ff 48%, #a0c8f0 52%, #b8d8ff 100%);
  border-color: #4a84cc;
}
.vista-btn:active {
  background: linear-gradient(to bottom, #a8c8f0 0%, #c0d8f8 100%);
  box-shadow: 0 1px 2px rgba(0,0,0,0.3) inset;
}

/* ── section headings ── */
.win-section-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--vista-blue-title);
  border-bottom: 1px solid var(--vista-glass-border);
  padding-bottom: 5px;
  margin-bottom: 9px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

p {
  font-size: 12px;
  line-height: 1.55;
  color: var(--vista-text-light);
  margin-bottom: 6px;
}

h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--vista-blue-title);
  margin: 7px 0 3px;
}

/* ═══════════════════════════════════════════
   NAV — Vista list style
   ═══════════════════════════════════════════ */
.win-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 7px;
  margin: 2px 0;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--vista-blue-title);
  border-radius: 3px;
  border: 1px solid transparent;
  transition: background 0.1s, border-color 0.1s;
}
.win-nav-link:hover {
  background: var(--vista-btn-hover);
  border-color: var(--vista-btn-border);
}
.win-nav-link.active {
  background: linear-gradient(to bottom, #cce0ff, #a8ccf8);
  border-color: #5a90d8;
}
.win-nav-link .nav-arrow {
  font-size: 9px;
  color: var(--vista-blue-mid);
}

/* status boxes */
.status-pill {
  background: var(--vista-inset);
  border: 1px solid var(--vista-btn-border);
  border-radius: 3px;
  padding: 4px 7px;
  margin: 5px 0;
  font-size: 11px;
}
.status-pill .pill-label {
  font-weight: 700;
  color: var(--vista-blue-title);
  display: block;
  margin-bottom: 1px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-pill a {
  display: block;
  color: var(--vista-blue-mid);
  text-decoration: none;
  font-size: 11px;
}
.status-pill a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   TRACK CARDS
   ═══════════════════════════════════════════ */
.track-list { display: flex; flex-direction: column; gap: 4px; }
.track {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: linear-gradient(to bottom, #f5faff, #e8f3ff);
  border: 1px solid #b8d4f0;
  border-radius: 3px;
}
.track:hover { background: linear-gradient(to bottom, #eaf4ff, #d4e8ff); border-color: #7ab0e8; }
.track-title { font-size: 12px; font-weight: 700; color: var(--vista-text); }
.track-meta  { font-size: 10px; color: #666; margin-top: 1px; }
.track-tags  { margin-top: 2px; }
.tag {
  display: inline-block;
  background: #d8eaff;
  border: 1px solid #9cc4f0;
  border-radius: 2px;
  padding: 0px 5px;
  font-size: 10px;
  color: var(--vista-blue-title);
  margin-right: 3px;
}
.yt-btn {
  margin-left: auto;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   BLOG ENTRIES
   ═══════════════════════════════════════════ */
.entry {
  border-left: 3px solid var(--vista-blue-mid);
  padding: 4px 8px;
  margin-bottom: 6px;
  background: linear-gradient(to right, #eaf3ff, transparent);
}
.entry-date { font-size: 10px; color: #666; margin-bottom: 1px; }
.entry h3   { font-size: 12px; font-weight: 700; color: var(--vista-blue-title); margin-bottom: 2px; }
.entry p    { font-size: 11px; color: #555; margin: 0 0 2px; }
.entry a    { font-size: 11px; color: var(--vista-blue-mid); text-decoration: none; }
.entry a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   BLOG POSTS (full page)
   ═══════════════════════════════════════════ */
.blog-post { margin-bottom: 8px; }
.post-header { margin-bottom: 8px; border-bottom: 1px solid #c0d8f0; padding-bottom: 6px; }
.post-date { font-size: 10px; color: #888; display: block; margin-bottom: 2px; }
.post-header h1 { font-size: 14px; font-weight: 700; color: var(--vista-blue-title); }
.post-body p { font-size: 12px; line-height: 1.6; color: var(--vista-text-light); margin-bottom: 7px; }
.post-footer { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-top: 6px; border-top: 1px solid #d0e4f8; }
.post-nav-link { margin-left: auto; color: var(--vista-blue-mid); text-decoration: none; font-size: 11px; }
.post-nav-link:hover { text-decoration: underline; }
.post-divider { text-align: center; color: #b0c8e8; font-size: 11px; margin: 5px 0; letter-spacing: 3px; }

/* ═══════════════════════════════════════════
   ABOUT GRID
   ═══════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 7px; }
.about-item { background: var(--vista-inset); border: 1px solid #b8d0e8; border-radius: 3px; padding: 4px 7px; }
.about-label { font-size: 9px; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1px; }
.about-val   { font-size: 11px; font-weight: 700; color: var(--vista-blue-title); }

/* post index links */
.post-index-link {
  display: block; font-size: 11px; color: var(--vista-blue-mid);
  text-decoration: none; padding: 1px 0;
}
.post-index-link:hover { text-decoration: underline; }

/* ext links */
.ext-link {
  color: var(--vista-blue-mid); text-decoration: none;
  font-size: 12px; margin: 0 6px;
}
.ext-link:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   WAVEFORM — Vista blue glow
   ═══════════════════════════════════════════ */
.waveform-wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 2px; padding: 8px 0 6px;
}
.waveform-wrap .bar {
  display: inline-block; width: 3px; border-radius: 1px;
  background: var(--vista-blue-mid);
  box-shadow: 0 0 4px rgba(42,109,217,0.5);
  animation: vistaWave 1.4s ease-in-out infinite;
}
.waveform-wrap .bar:nth-child(1)  { height: 5px;  animation-delay: 0.00s; }
.waveform-wrap .bar:nth-child(2)  { height: 8px;  animation-delay: 0.05s; }
.waveform-wrap .bar:nth-child(3)  { height: 6px;  animation-delay: 0.10s; }
.waveform-wrap .bar:nth-child(4)  { height: 11px; animation-delay: 0.08s; }
.waveform-wrap .bar:nth-child(5)  { height: 7px;  animation-delay: 0.15s; }
.waveform-wrap .bar:nth-child(6)  { height: 15px; animation-delay: 0.20s; }
.waveform-wrap .bar:nth-child(7)  { height: 9px;  animation-delay: 0.12s; }
.waveform-wrap .bar:nth-child(8)  { height: 26px; animation-delay: 0.25s; }
.waveform-wrap .bar:nth-child(9)  { height: 11px; animation-delay: 0.18s; }
.waveform-wrap .bar:nth-child(10) { height: 7px;  animation-delay: 0.30s; }
.waveform-wrap .bar:nth-child(11) { height: 6px;  animation-delay: 0.22s; }
.waveform-wrap .bar:nth-child(12) { height: 10px; animation-delay: 0.35s; }
.waveform-wrap .bar:nth-child(13) { height: 8px;  animation-delay: 0.28s; }
.waveform-wrap .bar:nth-child(14) { height: 32px; animation-delay: 0.40s; }
.waveform-wrap .bar:nth-child(15) { height: 10px; animation-delay: 0.32s; }
.waveform-wrap .bar:nth-child(16) { height: 28px; animation-delay: 0.45s; }
.waveform-wrap .bar:nth-child(17) { height: 9px;  animation-delay: 0.38s; }
.waveform-wrap .bar:nth-child(18) { height: 7px;  animation-delay: 0.50s; }
.waveform-wrap .bar:nth-child(19) { height: 14px; animation-delay: 0.42s; }
.waveform-wrap .bar:nth-child(20) { height: 24px; animation-delay: 0.55s; }
.waveform-wrap .bar:nth-child(21) { height: 8px;  animation-delay: 0.48s; }
.waveform-wrap .bar:nth-child(22) { height: 6px;  animation-delay: 0.60s; }
.waveform-wrap .bar:nth-child(23) { height: 10px; animation-delay: 0.52s; }
.waveform-wrap .bar:nth-child(24) { height: 7px;  animation-delay: 0.65s; }
.waveform-wrap .bar:nth-child(25) { height: 20px; animation-delay: 0.58s; }
.waveform-wrap .bar:nth-child(26) { height: 8px;  animation-delay: 0.70s; }
.waveform-wrap .bar:nth-child(27) { height: 6px;  animation-delay: 0.62s; }
.waveform-wrap .bar:nth-child(28) { height: 10px; animation-delay: 0.75s; }
.waveform-wrap .bar:nth-child(29) { height: 7px;  animation-delay: 0.68s; }
.waveform-wrap .bar:nth-child(30) { height: 5px;  animation-delay: 0.80s; }
@keyframes vistaWave {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50%       { transform: scaleY(1.6); opacity: 1; }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
  text-align: center; margin-top: 8px;
  font-size: 10px; color: rgba(255,255,255,0.7);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
footer a { color: rgba(200,230,255,0.8); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════
   VISTA TASKBAR + MUSIC PLAYER
   Two-row layout: controls top, progress bottom
   ═══════════════════════════════════════════ */
body { padding-bottom: 16px; }

#music-player {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: 'Noto Sans', Tahoma, sans-serif;
  background: linear-gradient(to bottom,
    rgba(50,90,200,0.97) 0%,
    rgba(20,55,160,1) 50%,
    rgba(12,40,130,1) 100%
  );
  border-top: 2px solid rgba(130,180,255,0.6);
  box-shadow: 0 -3px 12px rgba(0,0,0,0.5);
}

/* TOP ROW: orb + track info + controls + time + clock */
#player-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 3px;
  height: 36px;
  min-width: 0;
}

/* BOTTOM ROW: seek bar + vol */
#player-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 5px;
  height: 18px;
}

/* Vista start orb */
#player-start {
  background: radial-gradient(circle at 50% 35%, #80c8ff, #1a60e0 55%, #0a3090 100%);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(100,180,255,0.6);
}

/* waveform */
#player-wave {
  display: flex; align-items: center; gap: 1px; flex-shrink: 0;
}
#player-wave span {
  display: inline-block; width: 2px;
  background: #90c8ff; border-radius: 1px;
  animation: vistaWave 1.4s ease-in-out infinite;
}
#player-wave span:nth-child(1) { height: 4px;  animation-delay: 0.0s; }
#player-wave span:nth-child(2) { height: 9px;  animation-delay: 0.1s; }
#player-wave span:nth-child(3) { height: 6px;  animation-delay: 0.2s; }
#player-wave span:nth-child(4) { height: 12px; animation-delay: 0.15s; }
#player-wave span:nth-child(5) { height: 7px;  animation-delay: 0.3s; }
#player-wave span:nth-child(6) { height: 5px;  animation-delay: 0.25s; }
#player-wave.paused span { animation-play-state: paused; opacity: 0.3; }

/* track info pill */
#player-info {
  flex: 1;
  min-width: 120px;
  background: linear-gradient(to bottom, rgba(100,160,255,0.22), rgba(60,110,220,0.32));
  border: 1px solid rgba(120,180,255,0.35);
  border-radius: 3px;
  padding: 2px 9px;
  height: 26px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
#player-track-name {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
}
#player-track-index {
  color: rgba(190,215,255,0.7);
  font-size: 9px;
  line-height: 1;
}

/* playback controls */
#player-controls { display: flex; gap: 4px; flex-shrink: 0; white-space: nowrap; }
.player-btn {
  background: linear-gradient(to bottom, #c0dcff 0%, #6aa8f0 48%, #5090e0 52%, #80b8f8 100%);
  border: 1px solid rgba(60,120,220,0.9);
  border-radius: 3px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 0 11px;
  height: 24px;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 1px 2px rgba(0,0,0,0.3);
  font-family: 'Noto Sans', Tahoma, sans-serif;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.player-btn:hover  { background: linear-gradient(to bottom, #d8eeff, #80c0ff 48%, #60a8f0 52%, #a0d0ff 100%); }
.player-btn:active { background: linear-gradient(to bottom, #5090e0, #a0c8f8); }

/* time display */
#player-time {
  color: rgba(210,230,255,0.9);
  font-size: 11px;
  font-weight: 700;
  min-width: 90px;
  text-align: center;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

/* clock */
#player-clock {
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
  padding: 0 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
  min-width: 36px;
}

/* bottom row: seek + vol label + vol slider */
#player-seek-label, #player-vol-label {
  color: rgba(180,210,255,0.65);
  font-size: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

#player-progress {
  flex: 1;
  -webkit-appearance: none; appearance: none;
  height: 5px;
  background: rgba(100,160,255,0.25);
  border: 1px solid rgba(100,160,255,0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
#player-volume {
  width: 80px;
  -webkit-appearance: none; appearance: none;
  height: 5px;
  background: rgba(100,160,255,0.25);
  border: 1px solid rgba(100,160,255,0.3);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
}
#player-progress::-webkit-slider-thumb,
#player-volume::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px; height: 12px;
  background: linear-gradient(to bottom, #c0dcff, #5090d8);
  border: 1px solid #3060b0;
  border-radius: 2px;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

img { max-width: 100%; }
a:visited { color: #6a8fc8; }


/* ═══════════════════════════════════════════
   POPUP AD WINDOWS — scattered on sides
   ═══════════════════════════════════════════ */

/* shared popup style — looks like a real IE popup */
.popup-ad {
  position: fixed;
  z-index: 900;
  width: 180px;
  background: #ece9d8;
  border: 2px solid #0054e3;
  border-radius: 4px 4px 2px 2px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  font-family: 'Noto Sans', Tahoma, sans-serif;
  font-size: 11px;
  overflow: hidden;
}

/* each popup's IE-style title bar */
.popup-ad .popup-title {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 2px 4px 2px 6px;
  background: linear-gradient(to bottom, #4d94e8 0%, #2060c8 40%, #1a4faa 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0,0,0,0.5);
  user-select: none;
  min-height: 20px;
}
.popup-ad .popup-title .popup-icon { font-size: 10px; }
.popup-ad .popup-title .popup-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.popup-ad .popup-close {
  background: linear-gradient(to bottom, #e87878, #c03030);
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 2px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  width: 16px; height: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.popup-ad .popup-close:hover { filter: brightness(1.2); }

.popup-ad .popup-body {
  padding: 6px 7px;
  text-align: center;
}
.popup-ad .popup-body img {
  width: 100%;
  display: block;
  margin: 0 auto 4px;
  border: 1px solid #999;
}
.popup-ad .popup-body p {
  font-size: 10px;
  color: #222;
  margin: 3px 0;
  line-height: 1.3;
}
.popup-ad .popup-body strong {
  color: #cc0000;
  font-size: 11px;
}
.popup-ad .popup-btn {
  display: block;
  margin: 5px auto 3px;
  padding: 3px 10px;
  background: linear-gradient(to bottom, #f0f7ff, #c8dcf8);
  border: 1px solid #7bacd8;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  color: #003399;
  cursor: pointer;
  text-decoration: none;
  width: fit-content;
}
.popup-ad .popup-btn:hover { background: linear-gradient(to bottom, #d8ecff, #a8ccf0); }

/* individual placement */
.popup-1 { left: 6px;  top: 120px; }
.popup-2 { left: 6px;  top: 360px; }
.popup-3 { left: 6px;  top: 580px; }
.popup-4 { right: 6px; top: 140px; }
.popup-5 { right: 6px; top: 380px; }
.popup-6 { right: 6px; top: 610px; }

/* hide on narrow screens where there's no room */
@media (max-width: 1200px) {
  .popup-1, .popup-2, .popup-3 { left: 2px; width: 140px; }
  .popup-4, .popup-5, .popup-6 { right: 2px; width: 140px; }
}
@media (max-width: 980px) {
  .popup-ad { display: none; }
}

/* ── FONT READABILITY UPDATES ── */
body { font-size: 13px; }

.win-body p {
  font-size: 13px;
  line-height: 1.6;
  color: #222;
}
.win-label { font-size: 12px !important; }
.win-section-title { font-size: 13px !important; }
.win-nav-link { font-size: 13px !important; }
.track-title { font-size: 13px !important; }
.track-meta  { font-size: 11px !important; }
.tag         { font-size: 11px !important; }
.entry h3    { font-size: 13px !important; }
.entry p     { font-size: 12px !important; }
.entry a     { font-size: 12px !important; }
.status-pill { font-size: 12px !important; }
.status-pill .pill-label { font-size: 11px !important; }
.about-val   { font-size: 12px !important; }
.post-header h1 { font-size: 16px !important; }
.post-body p { font-size: 13px !important; }
h4 { font-size: 13px !important; }
.vista-btn   { font-size: 12px !important; }

/* ── MINIMIZE BUTTON on popups ── */
.popup-min {
  background: linear-gradient(to bottom, #7ab0e8, #4a80d0);
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 2px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 16px; height: 14px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
}
.popup-min:hover { filter: brightness(1.2); }

/* make popup title bar show grab cursor so users know it's draggable */
.popup-title {
  cursor: grab;
}
.popup-title:active {
  cursor: grabbing;
}
