/*
  aerofrutiger.org — af.css  (Aero "window" edition)

  Idea: instead of everything floating as glass cards, the site behaves like
  Windows 7-era software. Frosted glass is the *frame* (title bars, header),
  and the content sits on a calmer solid pane inside it. Lists look like an
  Explorer details view, posts hang off a timeline, selection is sky-blue,
  and green is reserved for "good / ready / copy".
*/

/* ================= Tokens: dark = lagoon at night ================= */
:root {
  color-scheme: dark;
  --theme-color: #06354a;

  --sky-1: #031a2b;
  --sky-2: #06465c;
  --sky-3: #0b7d73;

  --glass-hi: rgba(170, 235, 255, .26);
  --glass-bg: rgba(90, 190, 220, .14);
  --glass-edge: rgba(200, 250, 255, .45);
  --glass-ink: #eafffd;

  --pane: rgba(5, 33, 49, .88);
  --pane-edge: rgba(150, 230, 240, .3);
  --ink: #dff8fb;
  --muted: #9ccdd4;
  --heading: #f3fffe;
  --line: rgba(130, 220, 230, .2);

  --blue: #5cd0f2;
  --green: #5fe69f;
  --green-ink: #043a30;

  --sel-top: rgba(110, 210, 245, .30);
  --sel-bot: rgba(60, 160, 210, .16);
  --sel-edge: rgba(130, 225, 250, .65);

  --btn-1: rgba(255, 255, 255, .26);
  --btn-2: rgba(255, 255, 255, .08);
  --btn-edge: rgba(190, 245, 255, .5);

  --input-bg: rgba(2, 24, 38, .6);
  --input-edge: rgba(130, 220, 230, .45);
  --code-bg: rgba(2, 22, 34, .7);
  --code-text: #d0fbf4;

  --shadow: rgba(0, 12, 22, .55);
  --focus: rgba(92, 208, 242, .45);

  --token-function: #84ffc2;
  --token-object: #91d9ff;
  --token-string: #ffe485;
  --token-punctuation: #b8f6ef;

  --radius-frame: 16px;
  --radius-pane: 10px;
  --radius-btn: 7px;
}

/* ================= Tokens: light = clear sky ================= */
:root[data-theme='light'] {
  color-scheme: light;
  --theme-color: #bfeeff;

  --sky-1: #5cc6f0;
  --sky-2: #bfeeff;
  --sky-3: #d2ffe4;

  --glass-hi: rgba(255, 255, 255, .8);
  --glass-bg: rgba(255, 255, 255, .38);
  --glass-edge: rgba(255, 255, 255, .95);
  --glass-ink: #0d4258;

  --pane: rgba(255, 255, 255, .9);
  --pane-edge: rgba(70, 160, 190, .35);
  --ink: #17495c;
  --muted: #4d7783;
  --heading: #0c3f55;
  --line: rgba(50, 140, 170, .2);

  --blue: #1b8fc0;
  --green: #14a67c;
  --green-ink: #ffffff;

  --sel-top: rgba(150, 220, 250, .65);
  --sel-bot: rgba(190, 235, 255, .4);
  --sel-edge: rgba(60, 160, 210, .6);

  --btn-1: rgba(255, 255, 255, .95);
  --btn-2: rgba(205, 235, 245, .8);
  --btn-edge: rgba(70, 150, 180, .55);

  --input-bg: rgba(240, 252, 255, .95);
  --input-edge: rgba(70, 150, 180, .5);
  --code-bg: rgba(232, 248, 252, .95);
  --code-text: #1f5d70;

  --shadow: rgba(30, 110, 140, .32);
  --focus: rgba(27, 143, 192, .35);

  --token-function: #067f68;
  --token-object: #087cac;
  --token-string: #a06b13;
  --token-punctuation: #3b7787;
}

/* ================= Base ================= */
* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* lets search actually hide list rows */

html {
  min-height: 100%;
  background:
    radial-gradient(ellipse 70rem 30rem at 50% -10rem, rgba(255, 255, 255, .28), transparent 70%),
    linear-gradient(170deg, var(--sky-1), var(--sky-2) 55%, var(--sky-3));
  background-attachment: fixed;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font: 15px/1.65 "Nunito", "Segoe UI", "Frutiger", "Trebuchet MS", ui-sans-serif, system-ui, sans-serif;
}

/* Light shafts + soft bokeh, behind everything */
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: '';
  background:
    linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, .13) 30%, transparent 42%, rgba(255, 255, 255, .08) 58%, transparent 70%),
    radial-gradient(circle at 12% 82%, rgba(255, 255, 255, .22) 0 3.5rem, transparent 3.6rem),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .18) 0 2.6rem, transparent 2.7rem),
    radial-gradient(circle at 78% 86%, rgba(255, 255, 255, .14) 0 5rem, transparent 5.1rem),
    radial-gradient(circle at 24% 12%, rgba(255, 255, 255, .14) 0 1.8rem, transparent 1.9rem);
}

/* Grassy horizon glow */
body::after {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  height: 32vh;
  pointer-events: none;
  content: '';
  background:
    radial-gradient(ellipse 70% 100% at 18% 125%, rgba(70, 215, 125, .5), transparent 70%),
    radial-gradient(ellipse 60% 90% at 85% 130%, rgba(60, 200, 190, .4), transparent 70%);
}

button, input { font: inherit; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

/* Shared glossy command button (Win7-style: two-tone, not pill) */
.tab-btn-base,
.code-toggle, .source-button, .theme-toggle {
  background: linear-gradient(to bottom, var(--btn-1) 0 48%, var(--btn-2) 50% 100%);
  border: 1px solid var(--btn-edge);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 1px 3px rgba(0, 20, 35, .25);
}

/* ================= Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 64px;
  padding: 8px 26px;
  background: linear-gradient(to bottom, var(--glass-hi), var(--glass-bg));
  border-bottom: 1px solid var(--glass-edge);
  box-shadow: 0 8px 24px rgba(0, 20, 35, .25), inset 0 -1px 0 rgba(0, 0, 0, .1);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.site-name {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--glass-ink);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.3px;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(140, 255, 230, .45);
}
.site-name::before {               /* glass orb logo mark */
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  content: '';
  background: radial-gradient(circle at 34% 28%, #fff 0 9%, #c4fff2 10% 30%, #3fd0c0 62%, #0a7f86);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(120, 255, 225, .6), inset 0 -3px 6px rgba(0, 80, 90, .4);
}
.site-name:hover { filter: brightness(1.15); }

/* Header tabs: toolbar buttons; same show/hide rule as before */
.inner-tabs {
  display: none;
  gap: 4px;
  min-width: 0;
  overflow-x: auto;
}
:root[data-active-tab='vlogs'] .inner-tabs,
:root[data-active-tab='scripts'] .inner-tabs,
:root[data-active-tab='updates'] .inner-tabs { display: flex; }

:root[data-active-tab='home'] .site-header,
:root[data-active-tab='home'] footer { display: none; }

.tab {
  flex: 0 0 auto;
  padding: 6px 15px;
  color: var(--glass-ink);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  transition: background .15s, border-color .15s;
}
.tab:hover, .tab:focus-visible {
  background: linear-gradient(to bottom, var(--btn-1) 0 48%, var(--btn-2) 50% 100%);
  border-color: var(--glass-edge);
}
.tab.is-active, .tab[aria-selected='true'] {
  background: linear-gradient(to bottom, var(--sel-top), var(--sel-bot));
  border-color: var(--sel-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 12px rgba(100, 200, 245, .35);
}

.header-actions { display: flex; gap: 10px; align-items: center; }

.theme-toggle, .discord-button {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  overflow: hidden;
  place-items: center;
  color: var(--glass-ink);
  cursor: pointer;
  border-radius: 50%;
}
.theme-toggle:hover { filter: brightness(1.15); }
.theme-toggle__icon { font-size: 18px; line-height: 1; transform: translateY(-1px); }

.discord-button { cursor: default; background: none; border: 0; box-shadow: none; }
.discord-button img { display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.2); }
.discord-button.is-disabled { opacity: .55; }

/* ================= Layout ================= */
.content-stage { min-width: 0; min-height: 100svh; }
.tab-panel:focus { outline: none; }
.tab-panel[hidden] { display: none; }

/* ================= Landing: a "start menu" ================= */
.landing-panel {
  display: grid;
  min-height: 100svh;
  padding: 32px 20px;
  place-items: center;
}

.landing-card {
  width: min(100%, 660px);
  padding: 10px;
  background: linear-gradient(to bottom, var(--glass-hi), var(--glass-bg));
  border: 1px solid var(--glass-edge);
  border-radius: 22px;
  box-shadow: 0 30px 80px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .6);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.landing-card > * { position: relative; }

/* Everything inside the frame sits on the solid pane */
.landing-media, .landing-title, .landing-tagline, .landing-tabs { margin-inline: 0; }

.landing-media {
  display: grid;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 120%, rgba(95, 230, 159, .25), transparent 60%),
    var(--pane);
  border: 1px solid var(--pane-edge);
  border-radius: var(--radius-pane) var(--radius-pane) 0 0;
}
.landing-media img {
  display: block;
  width: 130%;
  height: 100%;
  transform: translateX(-20px) translateY(-50px);
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(0, 30, 45, .35));
}

.landing-title, .landing-tagline, .landing-tabs { background: var(--pane); border-inline: 1px solid var(--pane-edge); }
.landing-title {
  margin: 0;
  padding: 18px 22px 0;
  color: var(--heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1.1;
  text-align: center;
}
.landing-tagline { margin: 0; padding: 4px 22px 18px; color: var(--muted); font-size: 13.5px; text-align: center; }

.landing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 14px 18px;
  border-bottom: 1px solid var(--pane-edge);
  border-radius: 0 0 var(--radius-pane) var(--radius-pane);
}

.landing-tab {
  display: flex;
  flex: 1 1 150px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: var(--heading);
  cursor: pointer;
  background: linear-gradient(to bottom, var(--btn-1) 0 48%, var(--btn-2) 50% 100%);
  border: 1px solid var(--btn-edge);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 2px 5px rgba(0, 20, 35, .25);
  transition: filter .15s, box-shadow .15s, transform .15s;
}
.landing-tab:hover, .landing-tab:focus-visible {
  background: linear-gradient(to bottom, var(--sel-top), var(--sel-bot));
  border-color: var(--sel-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 16px rgba(100, 200, 245, .45);
}
.landing-tab:active { transform: translateY(1px); }

.tile-orb {
  display: grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--green-ink);
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .7) 0 48%, rgba(255, 255, 255, 0) 50%), linear-gradient(to bottom, #8dffc4, #12a878);
  border: 1px solid #0b8466;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 12px rgba(95, 230, 159, .45);
}
.landing-tab:nth-child(2) .tile-orb {   /* a little colour variety */
  background: linear-gradient(to bottom, rgba(255, 255, 255, .7) 0 48%, rgba(255, 255, 255, 0) 50%), linear-gradient(to bottom, #9fe3ff, #1a8fd0);
  border-color: #136fa6;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 12px rgba(92, 208, 242, .5);
}
.landing-tab:nth-child(3) .tile-orb {
  background: linear-gradient(to bottom, rgba(255, 255, 255, .7) 0 48%, rgba(255, 255, 255, 0) 50%), linear-gradient(to bottom, #fff0a3, #e3a512);
  border-color: #b17f0b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 12px rgba(255, 215, 90, .45);
}

.tile-text strong { color: inherit; font-size: 14.5px; font-weight: 800; white-space: nowrap; }

/* ================= Content window ================= */
.content-panel {
  width: min(calc(100% - 40px), 860px);
  min-height: 520px;
  margin: 36px auto 64px;
  padding: 8px;
  background: linear-gradient(to bottom, var(--glass-hi), var(--glass-bg));
  border: 1px solid var(--glass-edge);
  border-radius: var(--radius-frame);
  box-shadow: 0 30px 80px var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .6);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.window-bar { display: flex; gap: 10px; align-items: center; padding: 2px 4px 8px 8px; }
.window-icon {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 34% 28%, #fff 0 10%, #c4fff2 11% 32%, #3fd0c0 64%, #0a7f86);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(120, 255, 225, .6);
}
.window-title { flex: 1; color: var(--glass-ink); font-size: 13px; font-weight: 700; text-shadow: 0 0 10px rgba(140, 255, 230, .35); }

.window-close {
  width: 42px;
  height: 22px;
  padding: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(120, 20, 10, .7);
  background: linear-gradient(to bottom, rgba(255, 255, 255, .55) 0 48%, rgba(255, 255, 255, 0) 50%), linear-gradient(to bottom, #f08a73, #c8381f);
  border: 1px solid #8f2615;
  border-radius: 5px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
}
.window-close:hover { filter: brightness(1.15); }

.window-body {
  min-height: 440px;
  padding: 34px 34px 40px;
  background: var(--pane);
  border: 1px solid var(--pane-edge);
  border-radius: var(--radius-pane);
  box-shadow: inset 0 2px 10px rgba(0, 20, 35, .12);
}

h1, h2, h3 { font-family: "Nunito", "Segoe UI", sans-serif; }

.panel-heading, .library-heading { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.panel-heading h1, .library-heading h1 {
  margin: 0;
  color: var(--heading);
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}
.panel-heading p, .library-heading p { margin: 8px 0 0; color: var(--muted); }

/* ================= Timeline (Vlogs + Updates) ================= */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 3px;
  content: '';
  background: linear-gradient(to bottom, var(--blue), rgba(92, 208, 242, 0));
  border-radius: 3px;
}

.post { position: relative; padding: 0 0 34px; }
.post:last-child { padding-bottom: 0; }
.post::before {                      /* glossy bead on the timeline */
  position: absolute;
  top: 3px;
  left: -36px;
  width: 20px;
  height: 20px;
  content: '';
  background: linear-gradient(to bottom, rgba(255, 255, 255, .75) 0 48%, rgba(255, 255, 255, 0) 50%), linear-gradient(to bottom, #8dffc4, #12a878);
  border: 1px solid #0b8466;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 0 10px rgba(95, 230, 159, .5);
}

.post-date { margin: 0 0 2px; color: var(--blue); font-size: 13px; font-weight: 700; }
.post h2 { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; margin: 0 0 6px; color: var(--heading); font-size: 22px; font-weight: 800; line-height: 1.25; }
.post h3 { margin: 16px 0 4px; color: var(--heading); font-size: 15px; font-weight: 800; }
.post p:not(.post-date) { margin: 0; color: var(--muted); }
.post ul { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.post li + li { margin-top: 4px; }
.post li::marker { color: var(--green); }

.version {
  padding: 1px 10px;
  color: var(--green-ink);
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .6) 0 48%, rgba(255, 255, 255, 0) 50%), linear-gradient(to bottom, #8dffc4, #12a878);
  border: 1px solid #0b8466;
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}

/* ================= Script library (Explorer details view) ================= */
.library-heading { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; }

.library-count {
  flex: 0 0 auto;
  padding: 3px 12px;
  color: var(--heading);
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(to bottom, var(--sel-top), var(--sel-bot));
  border: 1px solid var(--sel-edge);
  border-radius: 999px;
}

.search-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.search-box { position: relative; margin-bottom: 16px; }
.search-box::before { position: absolute; top: 50%; left: 13px; color: var(--blue); content: '⌕'; font-size: 20px; line-height: 1; pointer-events: none; transform: translateY(-53%); }

#search {
  display: block;
  width: 100%;
  padding: 10px 14px 10px 40px;
  color: var(--ink);
  background: var(--input-bg);
  border: 1px solid var(--input-edge);
  border-radius: 8px;
  outline: none;
  box-shadow: inset 0 2px 5px rgba(0, 20, 35, .22);
}
#search::placeholder { color: var(--muted); opacity: .8; }
#search:focus { border-color: var(--blue); box-shadow: inset 0 2px 5px rgba(0, 20, 35, .22), 0 0 0 3px var(--focus); }

.script-list { margin: 0; padding: 0; overflow: hidden; list-style: none; border: 1px solid var(--line); border-radius: 10px; }
.script-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 14px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  transition: background .15s;
}
.script-list li:last-child { border-bottom: 0; }
.script-list li:hover, .script-list li:has(.code-toggle[aria-expanded='true']) {
  background: linear-gradient(to bottom, var(--sel-top), var(--sel-bot));
  border-left-color: var(--blue);
}

.script-topline { display: flex; gap: 12px; align-items: center; min-width: 0; }
.game-icon { flex: 0 0 40px; width: 40px; height: 40px; object-fit: cover; border: 2px solid var(--glass-edge); border-radius: 10px; box-shadow: 0 2px 8px rgba(0, 30, 45, .35); }
.script-info { min-width: 0; }
.script-name { display: flex; gap: 8px; align-items: center; min-width: 0; }
.script-name strong { overflow: hidden; color: var(--heading); font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.script-info > span { display: block; color: var(--muted); font-size: 12px; }

.script-status {
  display: inline-grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--green-ink);
  font-size: 11px;
  font-weight: 800;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .7) 0 48%, rgba(255, 255, 255, 0) 50%), linear-gradient(to bottom, #8dffc4, #12a878);
  border: 1px solid #0b8466;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(95, 230, 159, .6);
}

.script-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }

.code-toggle, .source-button, .copy-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 15px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--radius-btn);
  transition: filter .15s, box-shadow .15s;
}
.code-toggle, .source-button { color: var(--heading); }
.code-toggle:hover, .source-button:hover { filter: brightness(1.12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4), 0 0 10px rgba(92, 208, 242, .45); }

.copy-code {
  color: var(--green-ink);
  background: linear-gradient(to bottom, rgba(255, 255, 255, .6) 0 48%, rgba(255, 255, 255, 0) 50%), linear-gradient(to bottom, #8dffc4, #12a878);
  border: 1px solid #0b8466;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
.copy-code:hover { filter: brightness(1.08); }

.code-box {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  background: var(--code-bg);
  border: 1px solid var(--input-edge);
  border-radius: 8px;
  box-shadow: inset 0 2px 6px rgba(0, 20, 35, .25);
}
.code-box code { flex: 1; min-width: 190px; overflow-wrap: anywhere; color: var(--code-text); font: 12.5px/1.55 Consolas, "Courier New", monospace; }
.token-function { color: var(--token-function); font-weight: 700; }
.token-object { color: var(--token-object); }
.token-string { color: var(--token-string); }
.token-punctuation { color: var(--token-punctuation); }

.empty { margin: 20px 0; color: var(--muted); text-align: center; }

/* Windows-style info bar */
.info-bar {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding: 11px 15px;
  color: var(--muted);
  font-size: 13px;
  background: linear-gradient(to bottom, var(--sel-top), var(--sel-bot));
  border: 1px solid var(--sel-edge);
  border-radius: 8px;
}
.info-bar p { margin: 0; }
.info-bar strong { color: var(--heading); }
.info-bar__icon {
  display: grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  font: italic 800 14px/1 Georgia, serif;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .55) 0 48%, rgba(255, 255, 255, 0) 50%), linear-gradient(to bottom, #6cc8f5, #1a78c0);
  border: 1px solid #14609e;
  border-radius: 50%;
}

/* ================= Footer ================= */
footer {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  padding: 14px 26px;
  color: var(--glass-ink);
  font-size: 12px;
  background: linear-gradient(to bottom, var(--glass-hi), var(--glass-bg));
  border-top: 1px solid var(--glass-edge);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* ================= Scrollbars ================= */
* { scrollbar-width: thin; scrollbar-color: var(--blue) transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, .06); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(to right, rgba(255, 255, 255, .5), rgba(255, 255, 255, .1) 50%, transparent 51%), linear-gradient(to right, #8fdcfa, #2a8fd0);
  border: 1px solid var(--sel-edge);
  border-radius: 6px;
}

/* ================= Mobile ================= */
@media (max-width: 620px) {
  .site-header { display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 8px 16px; }
  .site-name { margin-right: auto; font-size: 18px; }
  .inner-tabs { order: 3; flex: 1 0 100%; padding-bottom: 4px; }

  .landing-panel { padding: 20px 14px; }
  .window-body { padding: 24px 18px 30px; }
  .content-panel { width: calc(100% - 20px); margin: 20px auto 40px; }
  .library-heading { display: block; }
  .library-count { display: inline-block; margin-top: 12px; }
  .script-list li { grid-template-columns: 1fr; }
  .script-actions { justify-content: flex-start; padding-left: 52px; }
  .timeline { padding-left: 30px; }
  .post::before { left: -30px; }
  footer { display: block; padding: 14px 18px; }
  footer span + span { display: block; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }