/* Shared header (Lab template) — must be first */
@import url("header.css?v=logoCompact1");

/* NAMENLOS shared page shell — brand background, footer, content */
:root {
  --bg: #050505;
  --yellow: #f5c518;
  --yellow-hot: #ffe14a;
  --text: #f5f5f5;
  --muted: rgba(255, 255, 255, 0.68);
  --muted-dim: rgba(255, 255, 255, 0.42);
  --line: rgba(245, 197, 24, 0.32);
  --panel: rgba(10, 10, 10, 0.9);
  --font-body: "Inter", system-ui, sans-serif;
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
  --font-impact: "Oswald", "Montserrat", "Inter", system-ui, sans-serif;
  --font-mono: "Oswald", "Montserrat", "Inter", system-ui, sans-serif;
  --font-nav: "Montserrat", "Inter", system-ui, sans-serif;
  /* wall_punk lives in header.css (html) — keep aliases for pages */
  --texture: var(--wall-punk, url("../images/texture/wall_punk.jpg"));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

/* Mobile: avoid fixed bg jank (header.css sets wall on html) */
@media (max-width: 900px) {
  html {
    background-attachment: scroll !important;
  }
}

/* Page shell: brand wall (also in header.css; repeated so body is never empty) */
body.shell-body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--wall-fallback, var(--bg, #050505));
  background-image:
    var(--wall-veil, linear-gradient(rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.8))),
    var(--wall-punk, var(--texture, url("../images/texture/wall_punk.jpg")));
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

::selection {
  background: var(--yellow);
  color: #000;
}

/* Top caution tape */
.shell-tape {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
  background: repeating-linear-gradient(
    -45deg,
    #f5c518 0 10px,
    #0a0a0a 10px 20px
  );
}

.shell-tape.thick {
  height: 8px;
}

/* Header / logo / lang / book → css/header.css (Lab template) */

/* Legacy shell ghost buttons (non-header use) */
.shell-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-nav);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--yellow);
  transition: 0.15s;
  cursor: pointer;
  background: transparent;
  color: var(--yellow);
  border-radius: 0;
  white-space: nowrap;
}

.shell-btn:hover {
  background: var(--yellow);
  color: #000;
}

.shell-btn.solid {
  background: var(--yellow);
  color: #000;
}

.shell-btn.solid:hover {
  background: var(--yellow-hot);
  border-color: var(--yellow-hot);
}

.shell-btn.ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.shell-btn.ghost:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Main content card */
.shell-main {
  flex: 1 1 auto;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 1.75rem 1.15rem 2.5rem;
}

.shell-card {
  border: 2px solid rgba(245, 197, 24, 0.35);
  background: rgba(5, 5, 5, 0.82);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  padding: 1.5rem 1.25rem 1.75rem;
}

.shell-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  line-height: 1;
  color: #fff;
}

.shell-card .updated,
.shell-meta {
  font-size: 0.75rem;
  color: var(--muted-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
}

.shell-card h2,
.shell-card #content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 1.75rem 0 0.6rem;
}

.shell-card p,
.shell-card li,
.shell-card #content p,
.shell-card #content li {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.95rem;
}

.shell-card #content ul {
  padding-left: 1.2rem;
  margin: 0.4rem 0 1rem;
}

.shell-card a,
.shell-card #content a {
  color: var(--yellow);
}

.shell-disclaimer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: var(--muted-dim);
  line-height: 1.5;
}

.shell-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(245, 197, 24, 0.22);
}

.shell-nav a {
  color: var(--yellow);
  text-decoration: none;
  font-family: var(--font-nav);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shell-nav a:hover {
  text-decoration: underline;
}

.shell-nav a.current {
  color: #fff;
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 2px;
}

/* Footer → css/header.css (.site-foot / .shell-foot / .lab-foot) */


