/* ==========================================================================
   Dankalicious — classic theme (original templatemo layout, rebuilt)
   Same look as the original site: leaf-tile background, neon skyline header,
   subtitle menu, purple-framed panel, content + sidebar, blue headings.
   Now fluid, mobile-friendly and dependency-free.
   ========================================================================== */

:root {
  --text: #b4b4b4;
  --text-strong: #ffffff;
  --muted: #8a8a8a;
  --dim: #6a6a6a;
  --blue: #00baf2;
  --cyan: #00ccff;
  --orange: #e08a00;
  --green: #36e83c;
  --purple: #9c67fd;
  --frame: #74708a;
  --panel: #262626;
  --panel-2: #1d1d1d;
  --well: #131313;
  --line: #4c4c4c;
  --line-soft: #3a3a3a;
  --sans: Tahoma, Geneva, Verdana, sans-serif;
  --lime: #36e83c; --amber: #e0a200; --rose: #ff5c8a;
  --mono: Consolas, "Lucida Console", Menlo, ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  color: var(--text);
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  background: #121212 url(../img/theme/leaf-bg.webp) repeat top center;
  overflow-x: hidden;
}

a, a:visited { color: #fff; text-decoration: none; }
a:hover { color: var(--cyan); text-decoration: underline; }
p { margin: 0 0 12px; }
img { border: 0; max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
::selection { background: rgba(156,103,253,.45); color: #fff; }

h1, h2, h3, h4, h5 { color: var(--blue); font-weight: normal; line-height: 1.2; }
h1 { font-size: clamp(26px, 5vw, 34px); margin: 0 0 22px; }
h2 { font-size: clamp(22px, 4vw, 26px); margin: 0 0 16px; }
h3 { font-size: clamp(18px, 3vw, 21px); margin: 0 0 12px; }
h4 { font-size: 18px; margin: 0 0 12px; }
h5 { font-size: 15px; margin: 0 0 8px; }
strong { color: #e6e6e6; }
em { font-style: italic; }
ul, ol { margin: 0 0 14px; padding-left: 20px; }
li { margin-bottom: 6px; }
hr { border: 0; border-top: 1px dashed var(--line); margin: 30px 0; }
code, .mono { font-family: var(--mono); font-size: .95em; }

.cleaner { clear: both; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 10px; top: -60px; background: var(--blue); color: #000; padding: 8px 12px; z-index: 99; }
.skip:focus { top: 10px; }

/* the original green italic meta line */
.meta-green { color: var(--green); font-weight: 700; font-style: italic; margin-bottom: 10px; display: block; }
.post_meta { padding: 6px 9px; margin-bottom: 16px; background: var(--well); color: #ddd; }

/* ---------- wrapper & header ---------- */
#wrapper { width: min(960px, 100%); margin: 0 auto; }

#header {
  position: relative; width: 100%; aspect-ratio: 960 / 150; min-height: 96px;
  background: url(../img/theme/header-skyline.webp) no-repeat center bottom / 100% auto;
  text-align: center;
}
#site_title { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 1%; }
#site_title a { display: block; width: 53.4%; max-width: 512px; text-decoration: none; }
#site_title img { width: 100%; height: auto; margin: 0 auto; }
#site_title .tagline { display: block; color: var(--cyan); font-size: clamp(10px, 1.7vw, 16px); margin-top: -.15em; text-shadow: 0 1px 2px #000, 0 0 6px #000; }

/* ---------- menu ---------- */
#menu {
  position: relative; background: #000; margin: 0 3px;
  border: 1px solid #000; border-top: 7px solid var(--purple); border-radius: 12px 12px 0 0;
  box-shadow: inset 0 3px 0 #0a0022, 0 -1px 6px rgba(156,103,253,.55);
  padding: 0 30px;
}
#menu::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px; background: linear-gradient(#000, var(--panel)); }
#menu ul { margin: 0; padding: 14px 0 0; list-style: none; display: flex; flex-wrap: wrap; }
#menu li { margin: 0; }
#menu a {
  display: block; padding: 6px 16px 12px; font-size: 14px; font-weight: bold; color: #b1b1b1;
  text-align: center; text-decoration: none; position: relative;
}
#menu a span { display: block; font-size: 11px; font-weight: normal; color: #5a5a5a; }
#menu a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 3px; border-radius: 3px; background: transparent; }
#menu a:hover, #menu a.current { color: var(--blue); }
#menu a:hover::after, #menu a.current::after { background: linear-gradient(90deg, transparent, var(--blue), transparent); box-shadow: 0 0 8px var(--blue); }
#menu a.current span { color: #7a7a7a; }

.menu-btn { display: none; }

/* ---------- main panel ---------- */
#main {
  background: var(--panel);
  border-left: 4px solid var(--frame); border-right: 4px solid var(--frame);
  box-shadow: -1px 0 0 #010103, 1px 0 0 #010103, inset 1px 0 0 #000, inset -1px 0 0 #000;
  margin: 0 3px; padding: 36px 30px 30px;
  display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 0;
}
#content { padding: 0 40px 0 20px; min-width: 0; }
#sidebar { padding-left: 29px; border-left: 1px solid var(--line-soft); min-width: 0; }

/* ---------- sidebar ---------- */
.sidebar_box { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid #433d3a; }
.sidebar_box:last-child { border-bottom: 0; }
.sidebar_box h4 { text-align: center; color: var(--blue); }
.sidebar_badge img { width: 180px; margin: 0 auto; transition: transform .3s; }
.sidebar_badge a:hover img { transform: rotate(-6deg) scale(1.03); }
.tmo_list { margin: 0 0 0 4px; padding: 0; list-style: none; }
.tmo_list li { margin: 0 0 6px; padding: 3px 0 3px 15px; background: url(../img/theme/list-arrow.png) no-repeat 0 8px; line-height: 1.4; }
.tmo_list a { color: #fff; }
.tmo_list a.active { color: var(--blue); }
.tmo_list .n { color: var(--dim); font-family: var(--mono); font-size: 11px; margin-right: 4px; }
.recent_comment_box { padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px dashed #433d3a; }
.recent_comment_box:last-child { border-bottom: 0; margin-bottom: 0; }
.recent_comment_box img { border: 1px solid #000; width: 180px; aspect-ratio: 9/10; object-fit: cover; margin-bottom: 6px; }
.recent_comment_box b { color: var(--orange); display: block; }
.recent_comment_box span { font-size: 12px; color: var(--muted); }
.side-toc { position: sticky; top: 16px; }

/* ---------- footer ---------- */
#footer_wrapper { background: #000; border-top: 1px solid #222; margin-top: 0; }
#footer { width: min(960px, 100%); margin: 0 auto; padding: 32px 24px 22px; text-align: center; color: #7a7a7a; font-size: 13px;
  background: radial-gradient(60% 30px at 50% 0, rgba(156,103,253,.25), transparent); }
#footer nav a { color: #9c9283; margin: 0 4px; }
#footer nav a:hover { color: var(--cyan); }
#footer .disclaimer { max-width: 720px; margin: 14px auto 10px; font-size: 12px; color: #6f6f6f; }
#footer .copy { color: #5e5e5e; }

/* ---------- old-style blocks ---------- */
.content_box { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px dashed var(--line); }
.content_box:last-child, .content_box.last { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.intro { font-size: 15px; color: #c4c4c4; }

.post_box { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 26px; margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px dashed var(--line); align-items: start; }
.post_box:last-child, .post_box_last { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.post_box.full { grid-template-columns: minmax(0, 1fr); }
.post_box h2 { margin: 0 0 8px; line-height: 1.25; }
.post_box h2 a { color: var(--blue); }
.post_box .category { color: #fff; font-size: 13px; }
.img_frame { padding: 5px; border: 1px solid #000; background: #221c1c; box-shadow: 0 0 0 1px var(--line); }
.img_frame img { width: 100%; }
.img_frame.tall img { aspect-ratio: 3/4; object-fit: cover; }
.img_frame.wide img { aspect-ratio: 4/3; object-fit: cover; }
.img_frame figcaption { font-size: 12px; color: var(--muted); padding: 6px 2px 0; }

/* old "more" button, rebuilt in CSS */
.btn, a.more {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; min-height: 38px;
  font: bold 13px/1.2 var(--sans); color: #000 !important; text-decoration: none !important;
  background: linear-gradient(#5fe0ff, #00a7dc); border: 1px solid #006e91; border-radius: 4px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 2px 0 #000; cursor: pointer;
}
.btn:hover, a.more:hover { background: linear-gradient(#a6efff, #00baf2); color: #000 !important; }
.btn-ghost { background: #1b1b1b; color: #ddd !important; border-color: var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 2px 0 #000; }
.btn-ghost:hover { background: #262626; border-color: var(--blue); color: #fff !important; }
.btn-primary { }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- slideshow ---------- */
#slider { border: 1px solid var(--line); padding: 8px; margin-bottom: 36px; background: #222; }
.slides { position: relative; aspect-ratio: 58 / 30; overflow: hidden; background: #000; touch-action: pan-y; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; margin: 0; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 9px 12px; font: 12px/1.45 Georgia, "Times New Roman", serif;
  color: #fff; background: rgba(0,0,0,.72);
}
.slide figcaption a { color: var(--cyan); }
.slide-nav { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.slide-arrow { flex: none; width: 30px; height: 46px; border: 1px solid var(--line); background: #1a1a1a; color: #bbb; cursor: pointer; font-size: 16px; }
.slide-arrow:hover { color: #fff; border-color: var(--blue); }
.thumbs { flex: 1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.thumbs button { padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.thumbs button img { aspect-ratio: 87/45; object-fit: cover; width: 100%; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: #fff; }
.thumbs button:hover { opacity: .9; }

/* lite YouTube embed */
.video { position: relative; aspect-ratio: 16/9; background: #000 center/cover; border: 1px solid var(--line); cursor: pointer; }
.video button { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.25); cursor: pointer; }
.video button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: #c00; }
.video button::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -10px 0 0 -6px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- ported content components, classic styling ---------- */
.wrap, .wrap-narrow { width: auto; margin: 0; }
.section, .section-tight { padding: 0 0 30px; margin-bottom: 30px; border-bottom: 1px dashed var(--line); }
.section:last-child, .section-tight:last-child { border-bottom: 0; margin-bottom: 0; }
.divider-top { border-top: 0; }
.section-head { margin-bottom: 18px; }
.eyebrow { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; font-weight: bold; }
.lead { font-size: 15px; color: #c4c4c4; }
.grad-text { color: var(--cyan); }
.reveal { opacity: 1; transform: none; }

.grid { display: grid; gap: 14px; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split { display: grid; gap: 22px; }
.split > * { min-width: 0; }

.card { background: var(--panel-2); border: 1px solid var(--line); padding: 16px 18px; }
.card h3, .card h4 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { display: block; color: inherit !important; text-decoration: none !important; }
.card-link:hover { border-color: var(--blue); }
.card .more { color: var(--blue); font-weight: bold; display: inline-block; margin-top: 6px; }
.card .icon { width: 34px; height: 34px; color: var(--cyan); margin-bottom: 8px; }
.card .icon svg { width: 100%; height: 100%; }

.tag { display: inline-block; font: 11px/1 var(--mono); padding: 4px 7px; border: 1px solid var(--line); color: #bbb; margin: 0 4px 6px 0; background: var(--well); }
.tag.lime { color: var(--green); border-color: #2e6b2f; } .tag.cyan { color: var(--cyan); border-color: #135b70; }
.tag.violet { color: #c2a3ff; border-color: #523c80; } .tag.amber { color: var(--orange); border-color: #6d4a10; }

.callout { background: var(--well); border: 1px solid var(--line-soft); border-left: 4px solid var(--blue); padding: 12px 14px; margin: 16px 0; }
.callout b.label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; color: var(--blue); }
.callout p:last-child, .callout ul:last-child { margin-bottom: 0; }
.callout.tip { border-left-color: var(--green); } .callout.tip b.label { color: var(--green); }
.callout.warn { border-left-color: var(--orange); } .callout.warn b.label { color: var(--orange); }
.callout.sci { border-left-color: var(--purple); } .callout.sci b.label { color: #b993ff; }
.callout.note { border-left-color: var(--cyan); } .callout.note b.label { color: var(--cyan); }

.defs { margin: 0 0 16px; border-top: 1px dashed var(--line); }
.defs > div { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.defs dt { color: #fff; font-weight: bold; margin-bottom: 2px; }
.defs dt .mono { color: var(--cyan); font-weight: normal; margin-left: 4px; }
.defs dd { margin: 0; color: var(--text); }
.defs.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 22px; }

.formula { font: bold clamp(18px, 4vw, 24px)/1.3 var(--mono); color: var(--cyan); text-align: center; background: var(--well); border: 1px solid var(--line); padding: 16px 10px; margin: 16px 0; }
.formula small { display: block; font: 12px/1.5 var(--sans); color: var(--muted); margin-top: 6px; }

.steps { list-style: none; counter-reset: s; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 10px 36px; margin: 0 0 8px; border-bottom: 1px dashed #383838; }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: bold 12px/1 var(--sans); color: #000; background: var(--blue); }

.table-wrap { overflow-x: auto; margin: 14px 0 18px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 440px; }
table.data th, table.data td { padding: 8px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid #333; }
table.data th { background: var(--well); color: var(--blue); font-weight: normal; }
table.data td:first-child { color: #fff; }
table.data tr:last-child td { border-bottom: 0; }

.mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mode { background: var(--panel-2); border: 1px solid var(--line); padding: 14px 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font: 12px var(--mono); padding: 3px 8px 3px 4px; background: var(--well); border: 1px solid #333; color: #ddd; }
.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; flex: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.dot.split-dot { background: conic-gradient(var(--a) 0 50%, var(--b) 0 100%); }

/* Punnett lab */
.lab { background: var(--well); border: 1px solid var(--line); }
.lab-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #0d0d0d; }
.lab-head h3 { margin: 0; font-size: 18px; }
.seg { display: inline-flex; border: 1px solid var(--line); }
.seg button { font: bold 12px var(--sans); background: #1b1b1b; color: #aaa; border: 0; padding: 8px 12px; cursor: pointer; min-height: 36px; }
.seg button[aria-pressed="true"] { background: var(--blue); color: #000; }
.lab-body { display: grid; }
.lab-controls { padding: 14px; display: grid; gap: 12px; border-bottom: 1px solid var(--line); }
.field label, .field .label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 4px; }
select, input[type="number"] {
  width: 100%; font: 15px var(--sans); color: #ddd; background: #1b1b1b; border: 1px solid #000; box-shadow: 0 0 0 1px var(--line);
  padding: 8px 32px 8px 9px; min-height: 40px; appearance: none; -webkit-appearance: none; border-radius: 0;
  background-image: linear-gradient(45deg, transparent 50%, #999 50%), linear-gradient(135deg, #999 50%, transparent 50%);
  background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
select:focus { box-shadow: 0 0 0 1px var(--blue); outline: none; }
.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sex.f { color: #ff7fae; } .sex.m { color: var(--cyan); }
.gene-help { font-size: 12.5px; color: var(--muted); border: 1px dashed var(--line); padding: 9px 11px; }
.gene-help p { margin: 0 0 4px; } .gene-help p:last-child { margin: 0; }
.lab-controls .btn { min-height: 34px; padding: 6px 10px !important; font-size: 12px !important; }
.lab-output { padding: 14px; min-width: 0; }
.punnett-scroll { overflow-x: auto; }
.punnett { border-collapse: separate; border-spacing: 4px; margin: 0 auto; }
.punnett th { font: bold 14px var(--mono); color: var(--muted); padding: 4px; text-align: center; }
.punnett th.corner { font: 10px var(--sans); color: var(--dim); }
.punnett th.g-top { color: var(--cyan); } .punnett th.g-side { color: #ff7fae; }
.punnett td { width: clamp(56px, 12vw, 84px); height: clamp(50px, 10vw, 66px); text-align: center; vertical-align: middle; background: var(--c, #333); color: #000; font: bold clamp(12px, 2.6vw, 14px)/1.1 var(--mono); border: 1px solid #000; }
.punnett.dihybrid td { width: clamp(50px, 10vw, 72px); height: clamp(44px, 8vw, 56px); font-size: clamp(10px, 2.2vw, 12px); }
.punnett td small { display: block; font: 10px/1.2 var(--sans); margin-top: 2px; opacity: .8; }
.ratio { font: bold 16px var(--mono); color: var(--green); text-align: center; }
.results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 10px; }
.results h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; margin-bottom: 8px; font-size: 12.5px; }
.bar-row .name { display: flex; align-items: center; gap: 6px; color: #ddd; }
.bar-row .name .dot { width: 10px; height: 10px; }
.bar-row .pct { font: 11px var(--mono); color: var(--muted); }
.bar-row .bar { grid-column: 1 / -1; height: 6px; background: #2c2c2c; }
.bar-row .bar i { display: block; height: 100%; width: 0; background: var(--c, var(--cyan)); transition: width .5s; }

/* seed calc */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out { text-align: center; background: var(--well); border: 1px solid var(--line); padding: 14px; margin-top: 14px; }
.calc-out b { display: block; font: bold clamp(34px, 8vw, 46px)/1 var(--sans); color: var(--cyan); }
.calc-out span { color: var(--muted); font-size: 13px; }

/* pH explorer */
.ph { background: var(--well); border: 1px solid var(--line); padding: 14px; margin: 16px 0; }
.ph-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: flex-end; margin-bottom: 10px; }
.ph-val { font: bold clamp(34px, 8vw, 44px)/1 var(--sans); }
.ph-zone { font-size: 13px; color: var(--muted); max-width: 300px; }
.ph-zone b { display: block; color: #fff; }
.ph-scale { height: 14px; border: 1px solid #000; background: linear-gradient(90deg, #ff3b3b, #ff9f1c 18%, #ffe14d 33%, #a7f04a 45%, #2fe07a 55%, #14c4e0 68%, #3f7dff 82%, #8a4dff); }
.ph input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: -22px 0 0; position: relative; }
.ph input[type="range"]::-webkit-slider-runnable-track { height: 14px; background: transparent; }
.ph input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -4px; border-radius: 50%; background: #fff; border: 3px solid #000; box-shadow: 0 0 0 2px var(--blue); cursor: grab; }
.ph input[type="range"]::-moz-range-track { height: 14px; background: transparent; }
.ph input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid #000; box-shadow: 0 0 0 2px var(--blue); }
.ph-ticks { display: flex; justify-content: space-between; font: 11px var(--mono); color: var(--dim); }
.ph-bands { position: relative; font: 10px/1 var(--mono); }
.ph-bands span { position: absolute; height: 20px; display: grid; place-items: center; white-space: nowrap; overflow: hidden; }
.ph-bands .soil { background: rgba(54,232,60,.12); border: 1px solid #2e6b2f; color: var(--green); }
.ph-bands .hydro { background: rgba(0,204,255,.12); border: 1px solid #135b70; color: var(--cyan); }
.nutrients { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 12px; margin-top: 10px; }
.nut { font-size: 12px; }
.nut .top { display: flex; justify-content: space-between; color: var(--muted); }
.nut .top b { color: #fff; font-family: var(--mono); }
.nut .meter { height: 5px; background: #2c2c2c; margin-top: 2px; }
.nut .meter i { display: block; height: 100%; transition: width .25s; }
.ph .label.mono { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }

/* lifecycle links on home */
.lifecycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.lifecycle a { display: block; padding: 8px 10px; background: var(--panel-2); border: 1px solid var(--line); color: #ddd; text-decoration: none; font-size: 12.5px; line-height: 1.35; }
.lifecycle a:hover { border-color: var(--blue); color: #fff; }
.lifecycle .wk { display: block; font: 10px var(--mono); color: var(--orange); }
.lifecycle b { color: var(--blue); font-weight: normal; }

/* Horticulture: chapters */
.course { display: block; }
.toc { display: none; }
.chapter { margin-bottom: 34px; padding-bottom: 34px; border-bottom: 1px dashed var(--line); }
.chapter:last-of-type { border-bottom: 0; }
.ch-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.ch-num { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: bold 20px var(--sans); color: #000;
  background: radial-gradient(circle at 35% 30%, #a6efff, var(--blue) 60%, #0077a0); box-shadow: 0 0 0 3px #000, 0 0 0 4px var(--purple), 0 0 14px rgba(156,103,253,.6); }
.ch-kicker { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); font-weight: bold; }
.chapter h2 { margin: 0; }
.chapter h3 { margin-top: 20px; }
.ch-art { display: none; }
.ch-art.has-img { display: block; aspect-ratio: 21/9; margin-bottom: 16px; padding: 5px; background: #221c1c var(--ch-img) center/cover content-box; border: 1px solid #000; box-shadow: 0 0 0 1px var(--line); }
.ch-art .big { display: none; }
.back-top { display: inline-block; font-size: 12px; color: var(--muted) !important; margin-top: 4px; }

/* mobile chapter picker */
.chapter-jump { display: none; margin-bottom: 22px; }

/* journal */
.cross { font-family: var(--mono); color: var(--cyan); margin-bottom: 10px; }
.cross .x { color: var(--dim); }
.spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 6px; margin: 10px 0 0; }
.spec div { background: var(--well); border: 1px solid #333; padding: 6px 8px; }
.spec dt { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.spec dd { margin: 0; color: #fff; font-size: 13px; }

.tree { display: grid; gap: 8px; }
.tree-row { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.tree-branch { border-left: 2px dashed var(--line); padding-left: 10px; margin-left: 6px; display: grid; gap: 8px; }
.node { background: var(--panel-2); border: 1px solid var(--line); padding: 8px 10px; }
.node .role { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.node b { display: block; color: #fff; font-weight: normal; font-size: 15px; }
.node .sub { font-size: 12px; color: var(--muted); }
.node.root { border-color: var(--green); } .node.root b { color: var(--green); font-size: 19px; }
.node.f { border-left: 3px solid #ff7fae; } .node.m { border-left: 3px solid var(--cyan); }

.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.gallery figure { margin: 0; }
.gallery img { border: 1px solid #000; aspect-ratio: 9/10; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: 11.5px; color: var(--muted); padding-top: 4px; line-height: 1.35; }
.gallery figcaption b { display: block; color: var(--orange); }

/* thanks */
.thanks-card .t-top { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.avatar { width: 54px; height: 54px; flex: none; border-radius: 50%; display: grid; place-items: center; font: bold 16px var(--sans); color: #000; background: var(--av); box-shadow: 0 0 0 3px #000, 0 0 0 4px var(--purple); }
.thanks-card .role { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--orange); }
.thanks-card h3 { margin: 0; }

.cta-band { background: var(--well); border: 1px solid var(--line); border-left: 4px solid var(--purple); padding: 16px 18px; display: grid; gap: 12px; }
.cta-band h2 { font-size: 21px; margin-bottom: 4px; }
.cta-band p { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  #main { grid-template-columns: minmax(0, 1fr); padding: 26px 22px; }
  #content { padding: 0; }
  #sidebar { padding: 26px 0 0; margin-top: 30px; border-left: 0; border-top: 1px solid var(--line-soft); display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0 26px; }
  #sidebar .sidebar_badge { grid-row: span 2; }
  #sidebar .photos-box { grid-column: 1 / -1; }
  .photos-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
  .photos-list .recent_comment_box { border: 0; margin: 0; padding: 0; }
  .recent_comment_box img { width: 100%; }
  .side-toc { display: none; }
  .chapter-jump { display: block; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  body { font-size: 15px; }
  #header { aspect-ratio: auto; height: 108px; background-size: auto 100%; }
  #site_title a { width: min(78vw, 360px); }
  #site_title .tagline { font-size: 12px; }
  #menu { padding: 0 12px; margin: 0; border-radius: 10px 10px 0 0; }
  .menu-btn {
    display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 4px; background: none; border: 0; color: #ddd;
    font: bold 14px var(--sans); cursor: pointer; min-height: 48px;
  }
  .menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { display: block; width: 20px; height: 2px; background: var(--blue); position: relative; transition: transform .2s, background .2s; }
  .menu-btn .bars::before, .menu-btn .bars::after { content: ""; position: absolute; left: 0; }
  .menu-btn .bars::before { top: -6px; } .menu-btn .bars::after { top: 6px; }
  .menu-open .menu-btn .bars { background: transparent; }
  .menu-open .menu-btn .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-btn .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .menu-btn .cur { color: var(--blue); font-weight: normal; margin-left: auto; font-size: 13px; }
  #menu ul { display: none; padding: 0 0 10px; flex-direction: column; }
  .menu-open #menu ul { display: flex; }
  #menu a { text-align: left; display: flex; justify-content: space-between; align-items: baseline; padding: 12px 6px; border-top: 1px solid #1c1c1c; }
  #menu a::after { left: 0; right: auto; width: 3px; top: 10px; bottom: 10px; height: auto; }
  #menu a:hover::after, #menu a.current::after { background: var(--blue); }
  #menu a span { display: inline; }
  #main { margin: 0; padding: 22px 16px; border-width: 3px; }
  #sidebar { grid-template-columns: minmax(0, 1fr); }
  #sidebar .sidebar_badge { grid-row: auto; }
  .sidebar_badge img { width: 150px; }
  .post_box { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .post_box .img_frame { max-width: 420px; }
  .grid-2, .grid-3, .grid-4, .mode-grid, .defs.two, .results { grid-template-columns: minmax(0, 1fr); }
  .lifecycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nutrients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tree-row { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .thumbs button:nth-child(n+4) { display: none; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .slide figcaption { font-size: 11.5px; padding: 7px 9px; }
}

@media print {
  body { background: #fff; color: #000; }
  #header, #menu, #sidebar, #footer_wrapper, #slider, .lab, .ph { display: none !important; }
  #main { display: block; border: 0; box-shadow: none; background: #fff; }
  h1, h2, h3 { color: #000; } a { color: #000; }
}

table.data td.mono { white-space: nowrap; }
.post_box .lifecycle { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
@media (max-width: 700px) {
  .post_box .img_frame { max-width: none; }
  .post_box .img_frame img { aspect-ratio: 16 / 10; object-fit: cover; }
  .post_box .img_frame.keep img { aspect-ratio: auto; }
}

/* ==========================================================================
   POLISH LAYER — refined framing ("encapsulation") for the classic layout
   One beveled shell for menu + content, soft hairline dividers, rounded
   frames and consistent depth on every box.
   ========================================================================== */
:root {
  --edge: rgba(255,255,255,.08);
  --edge-2: rgba(255,255,255,.14);
  --box: linear-gradient(180deg, #212124 0%, #1b1b1e 100%);
  --box-hi: inset 0 1px 0 rgba(255,255,255,.05);
  --depth: 0 10px 26px -12px rgba(0,0,0,.85);
  --hair: linear-gradient(90deg, transparent, rgba(180,140,255,.35) 20%, rgba(0,204,255,.35) 80%, transparent);
  --hair-soft: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 15%, rgba(255,255,255,.12) 85%, transparent);
  --r: 10px;
}

/* header: skyline fades into the page instead of ending in a hard edge */
#header { -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }

/* ---- the shell: one gradient-bevel frame around menu + content ---- */
.shell {
  position: relative; margin: -4px 0 0; border-radius: 18px; border: 2px solid transparent;
  background:
    linear-gradient(#232325, #232325) padding-box,
    linear-gradient(180deg, #c8a6ff 0%, #8a5cf6 18%, #3b2c5e 55%, #2a3550 80%, #46d9f0 100%) border-box;
  box-shadow: 0 0 0 1px #000, 0 0 34px -6px rgba(156,103,253,.55), 0 30px 60px -20px rgba(0,0,0,.9);
  overflow: hidden;
}
.shell::before { /* glass highlight along the top edge */
  content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
}

#menu {
  margin: 0; border: 0; border-radius: 0; box-shadow: none; padding: 0 26px;
  background: linear-gradient(180deg, #17121f 0%, #0a080d 100%);
}
#menu::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--hair); }
#menu ul { padding: 12px 0 0; }
#menu li + li a::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 16px; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.09), transparent); }
#menu a { padding: 8px 18px 14px; transition: color .2s; }
#menu a::after { left: 26%; right: 26%; bottom: 4px; height: 2px; border-radius: 2px; transition: background .2s, box-shadow .2s; }
#menu a:hover::after { background: rgba(0,186,242,.5); box-shadow: none; }
#menu a.current::after { background: var(--blue); box-shadow: 0 0 10px 1px rgba(0,186,242,.7); }

#main {
  margin: 0; border: 0; box-shadow: none; padding: 38px 30px 34px;
  background: radial-gradient(120% 60% at 50% 0%, #2b2a30 0%, #232325 55%) no-repeat;
}
#sidebar { border-left: 0; position: relative; }
#sidebar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, rgba(255,255,255,.12) 8%, rgba(255,255,255,.12) 92%, transparent); }

/* ---- hairline dividers replace dashed lines ---- */
hr { border: 0; height: 1px; background: var(--hair-soft); margin: 30px 0; }
.content_box, .post_box, .chapter, .section, .section-tight {
  border-bottom: 0 !important;
  background-image: var(--hair-soft); background-repeat: no-repeat; background-position: bottom; background-size: 100% 1px;
}
.content_box:last-child, .content_box.last, .post_box:last-child, .post_box_last, .chapter:last-of-type, .section:last-child, .section-tight:last-child { background-image: none; }
.sidebar_box { border-bottom: 0; background: var(--hair-soft) bottom / 100% 1px no-repeat; }
.sidebar_box:last-child { background: none; }
.recent_comment_box { border-bottom: 0; }
.defs { border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; background: #18181b; box-shadow: var(--box-hi), var(--depth); }
.defs > div { border: 0; border-bottom: 1px solid var(--edge); padding: 11px 14px; }
.defs > div:last-child { border-bottom: 0; }
.defs.two { column-gap: 0; }
.defs.two > div:nth-child(odd) { border-right: 1px solid var(--edge); }
.defs.two > div:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 700px) { .defs.two > div:nth-child(odd) { border-right: 0; } .defs.two > div:nth-last-child(2) { border-bottom: 1px solid var(--edge); } }
.steps li { border-bottom: 0; background: var(--hair-soft) bottom / 100% 1px no-repeat; }
.steps li:last-child { background: none; }

/* ---- image frames: beveled, rounded, consistent ---- */
.img_frame, .recent_comment_box img, .gallery img {
  border: 0; border-radius: var(--r); padding: 4px;
  background: linear-gradient(145deg, #4a3f63 0%, #1e1b24 45%, #15141a 60%, #2b4a5a 100%);
  box-shadow: 0 0 0 1px #000, var(--depth);
}
.img_frame img { border-radius: 7px; }
.img_frame figcaption { padding: 7px 4px 3px; }
.recent_comment_box img, .gallery img { padding: 3px; }
.recent_comment_box img { margin-bottom: 8px; }
.ch-art.has-img { border: 0; border-radius: var(--r); padding: 4px; background-clip: content-box; box-shadow: 0 0 0 1px #000, var(--depth); background-color: #1e1b24; }

/* ---- slideshow ---- */
#slider {
  border: 0; border-radius: 14px; padding: 6px;
  background: linear-gradient(145deg, #4a3f63, #1b1a20 40%, #17161b 65%, #2b4a5a);
  box-shadow: 0 0 0 1px #000, 0 16px 34px -14px rgba(0,0,0,.9);
}
.slides { border-radius: 9px; }
.slide figcaption { font-family: var(--sans); background: linear-gradient(transparent, rgba(0,0,0,.85) 40%); padding: 26px 14px 10px; }
.slide-nav { padding: 2px 2px 0; gap: 10px; }
.slide-arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--edge-2); background: #141417; color: #ddd; font-size: 12px;
  display: grid; place-items: center; box-shadow: var(--box-hi); transition: border-color .2s, color .2s, box-shadow .2s;
}
.slide-arrow:hover { border-color: var(--blue); color: #fff; box-shadow: 0 0 12px rgba(0,186,242,.45); }
.thumbs button { border: 0; border-radius: 6px; overflow: hidden; outline: 1px solid rgba(255,255,255,.06); outline-offset: 0; }
.thumbs button[aria-current="true"] { outline: 2px solid var(--blue); outline-offset: 1px; box-shadow: 0 0 10px rgba(0,186,242,.5); }

/* ---- boxes: cards, callouts, wells ---- */
.card, .mode, .lab, .ph, .calc-out, .formula, .cta-band, .node, .spec div, .lifecycle a, .post_meta, .table-wrap, .gene-help {
  border: 1px solid var(--edge); border-radius: var(--r); box-shadow: var(--box-hi), var(--depth);
}
.card, .mode, .node, .lifecycle a { background: var(--box); }
.spec div, .post_meta { border-radius: 8px; box-shadow: var(--box-hi); background: #161618; }
.gene-help { border-style: dashed; box-shadow: none; }
.formula, .calc-out { background: radial-gradient(100% 140% at 50% 0%, rgba(0,186,242,.09), transparent 60%), #151517; }
.card-link:hover, .lifecycle a:hover { border-color: rgba(0,186,242,.55); box-shadow: var(--box-hi), 0 0 0 1px rgba(0,186,242,.2), 0 12px 28px -12px rgba(0,186,242,.35); }
.lab, .ph { background: #151517; overflow: hidden; }
.lab-head { background: linear-gradient(180deg, #1c1a22, #121215); border-bottom: 1px solid var(--edge); }
.lab-controls { border-bottom: 1px solid var(--edge); }
.table-wrap { overflow: hidden; overflow-x: auto; }
table.data th { background: #17171a; border-bottom: 1px solid var(--edge-2); }
table.data td { border-bottom-color: var(--edge); }
table.data tbody tr:nth-child(even) td { background: rgba(255,255,255,.015); }

.callout {
  border: 1px solid var(--edge); border-left: 0; border-radius: var(--r); position: relative; padding-left: 18px; overflow: hidden;
  background: linear-gradient(90deg, rgba(0,186,242,.07), transparent 40%), #161618; box-shadow: var(--box-hi);
}
.callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.callout.tip { background: linear-gradient(90deg, rgba(54,232,60,.07), transparent 40%), #161618; } .callout.tip::before { background: var(--green); box-shadow: 0 0 10px rgba(54,232,60,.6); }
.callout.warn { background: linear-gradient(90deg, rgba(224,138,0,.08), transparent 40%), #161618; } .callout.warn::before { background: var(--orange); box-shadow: 0 0 10px rgba(224,138,0,.6); }
.callout.sci { background: linear-gradient(90deg, rgba(156,103,253,.09), transparent 40%), #161618; } .callout.sci::before { background: var(--purple); box-shadow: 0 0 10px rgba(156,103,253,.7); }
.callout.note { background: linear-gradient(90deg, rgba(0,204,255,.07), transparent 40%), #161618; } .callout.note::before { background: var(--cyan); }

.cta-band { border-left: 1px solid var(--edge); background: radial-gradient(90% 140% at 0% 0%, rgba(156,103,253,.16), transparent 60%), #18171b; }
.node.f, .node.m { border-left-width: 1px; box-shadow: inset 3px 0 0 #ff7fae, var(--box-hi); }
.node.m { box-shadow: inset 3px 0 0 var(--cyan), var(--box-hi); }
.node.root { border-color: rgba(54,232,60,.45); box-shadow: 0 0 18px -6px rgba(54,232,60,.5), var(--box-hi); }
.tree-branch { border-left: 1px solid var(--edge-2); }

.tag { border-radius: 999px; padding: 4px 9px; }
.chip { border-radius: 999px; border-color: var(--edge); }

/* form controls */
select, input[type="number"] { border-radius: 8px; border: 1px solid var(--edge-2); box-shadow: inset 0 1px 3px rgba(0,0,0,.5); background-color: #121214; }
select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,186,242,.18); }
.seg { border-radius: 999px; overflow: hidden; border-color: var(--edge-2); }
.seg button { background: #141417; }
.punnett td { border: 0; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.18), 0 4px 10px -4px rgba(0,0,0,.8); }
.ph-scale { border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.6), 0 0 12px -2px rgba(140,200,255,.35); }
.ph-bands span, .nut .meter, .bar-row .bar, .nut .meter i, .bar-row .bar i { border-radius: 999px; }
.ph-bands span { border-radius: 6px; }

/* ---- buttons ---- */
.btn, a.more {
  border-radius: 8px; border: 1px solid rgba(0,0,0,.55); padding: 9px 18px;
  background: linear-gradient(180deg, #3fd6ff 0%, #00a4dc 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 16px -6px rgba(0,186,242,.7);
  transition: transform .15s, box-shadow .2s, background .2s;
}
.btn:hover, a.more:hover { background: linear-gradient(180deg, #7ee4ff 0%, #12b6ee 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 22px -6px rgba(0,186,242,.85); transform: translateY(-1px); }
.btn-ghost { background: linear-gradient(180deg, #24242a, #18181c); border: 1px solid var(--edge-2); box-shadow: var(--box-hi), 0 4px 12px -6px #000; }
.btn-ghost:hover { background: linear-gradient(180deg, #2c2c33, #1e1e23); border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,186,242,.12); }

/* ---- sidebar ---- */
.sidebar_badge img { filter: drop-shadow(0 0 18px rgba(156,103,253,.45)); }
.sidebar_box h4 { display: flex; align-items: center; gap: 10px; justify-content: center; font-size: 17px; }
.sidebar_box h4::before, .sidebar_box h4::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,186,242,.5)); }
.sidebar_box h4::after { background: linear-gradient(90deg, rgba(0,186,242,.5), transparent); }
.tmo_list li { background: none; padding-left: 16px; position: relative; }
.tmo_list li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 6px; height: 6px; border-radius: 1px; transform: rotate(45deg); background: var(--green); box-shadow: 0 0 6px rgba(54,232,60,.7); }
.tmo_list a.active { color: var(--blue); }
.tmo_list a.active::after { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); margin-left: 6px; vertical-align: middle; box-shadow: 0 0 6px var(--blue); }

/* chapter number badge */
.ch-num { box-shadow: 0 0 0 2px #0b0b0d, 0 0 0 3px rgba(156,103,253,.9), 0 0 16px rgba(156,103,253,.45); }
.avatar { box-shadow: 0 0 0 2px #0b0b0d, 0 0 0 3px rgba(156,103,253,.9), 0 0 14px rgba(156,103,253,.4); }

/* video */
.video { border: 0; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px #000, 0 0 0 5px #1d1b22, 0 0 0 6px rgba(255,255,255,.08), var(--depth); margin: 6px; }

/* ---- footer ---- */
#footer_wrapper { position: relative; border-top: 0; margin-top: 40px; background: linear-gradient(180deg, #0b0a0e, #000); }
#footer_wrapper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--hair); }

/* ---- responsive refinements ---- */
@media (max-width: 900px) {
  #sidebar { border-top: 0; background: var(--hair-soft) top / 100% 1px no-repeat; }
  #sidebar::before { display: none; }
}
@media (max-width: 700px) {
  #wrapper { padding: 0 8px; }
  .shell { border-radius: 14px; }
  #menu { padding: 0 12px; }
  #menu li + li a::before { display: none; }
  #menu a { border-top: 0; background: var(--hair-soft) top / 100% 1px no-repeat; }
  #menu a::after { left: 0; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; }
  #menu a.current::after { box-shadow: 0 0 8px var(--blue); }
  #main { padding: 22px 14px; }
  #slider { padding: 4px; border-radius: 12px; }
}
