/* Arbor Grozaviae — planșa copacului. Paleta de noapte a site-ului (Winter Noir), tuș auriu. */

:root {
  --noapte: #0D131C;
  --noapte-2: #111925;
  --noapte-3: #172131;
  --hartie: #F4EFE6;
  --hartie-2: #D6CEBE;
  --hartie-3: #A9A090;
  --aur: #E2B467;
  --aur-2: #F3C878;
  --aur-slab: rgba(226, 180, 103, 0.28);
  --aur-abia: rgba(226, 180, 103, 0.10);
  --mac: #E06B53;
  --brad: #68B692;
  --cer: #8FB4D9;
  --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-text: 'Newsreader', Georgia, serif;
  --font-hand: 'Caveat', cursive;
  --plansa-max: 1180px;
  --margine: clamp(14px, 3vw, 44px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--noapte);
  color: var(--hartie);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.intrare-deschisa { overflow: hidden; }

a { color: var(--aur-2); text-decoration: none; }
a:hover { color: var(--hartie); }
button { font: inherit; cursor: pointer; }
::selection { background: var(--aur); color: var(--noapte); }

/* ---------- zăpada (canvas fix, sub conținut) ---------- */
#zapada {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.85;
}

/* ---------- bara de sus ---------- */
.ar-top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--margine);
  background: linear-gradient(to bottom, rgba(13, 19, 28, 0.92), rgba(13, 19, 28, 0.0));
  pointer-events: none;
}
.ar-top > * { pointer-events: auto; }
.ar-top a.inapoi {
  font-family: var(--font-editorial); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--hartie-2);
}
.ar-top a.inapoi:hover { color: var(--aur-2); }
.ar-top .tz img { height: 46px; width: auto; display: block; transition: transform .25s ease; }
.ar-top .tz:hover img { transform: rotate(-2deg) scale(1.04); }
.ar-top .dreapta { display: flex; align-items: center; gap: 18px; }
.ar-top .inv img { height: 20px; width: auto; display: block; transition: filter .3s; }
.ar-top .inv:hover img { filter: drop-shadow(0 0 8px rgba(243, 200, 120, 0.55)); }
.ar-top .wt img { height: 22px; width: auto; display: block; opacity: 0.8; }
.ar-top .wt:hover img { opacity: 1; }
.ar-top .bilete {
  font-family: var(--font-editorial); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; background: var(--aur-2); color: #1a1208; font-weight: 600;
}
.ar-top .bilete:hover { filter: brightness(1.08); }
.nota-subsol .logouri { display: flex; justify-content: center; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 28px; }
.nota-subsol .logouri img { height: 34px; width: auto; opacity: 0.85; transition: opacity .2s; }
.nota-subsol .logouri a:hover img { opacity: 1; }
@media (max-width: 560px) {
  .ar-top .tz img { height: 36px; }
  .ar-top .dreapta { gap: 12px; }
  .ar-top .wt { display: none; }
  .ar-top .inv img { height: 15px; }
  .ar-top .bilete { padding: 7px 12px; font-size: 12px; }
}

/* ---------- intrarea ---------- */
.intrare {
  position: fixed; inset: 0; z-index: 60;
  display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 40%, #16202E 0%, var(--noapte) 70%);
  padding: 24px;
  transition: opacity 0.9s ease, visibility 0.9s;
}
.intrare.ascunsa { opacity: 0; visibility: hidden; }
.intrare-card {
  max-width: 560px; text-align: center;
  border: 1px solid var(--aur-slab); padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 48px);
  position: relative; background: rgba(13, 19, 28, 0.6);
}
.intrare-card::before, .intrare-card::after {
  content: ''; position: absolute; inset: 6px; border: 1px solid var(--aur-abia); pointer-events: none;
}
.intrare .kicker {
  font-family: var(--font-editorial); font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--hartie-3); margin: 0 0 18px;
}
.intrare h1 {
  font-family: var(--font-display); font-weight: 500; font-style: italic;
  font-size: clamp(34px, 6vw, 58px); line-height: 1.02; margin: 0 0 10px; color: var(--aur-2);
  letter-spacing: 0.01em;
}
.intrare .sub {
  font-family: var(--font-editorial); font-size: clamp(17px, 2.4vw, 21px); color: var(--hartie-2); margin: 0 0 26px;
}
.intrare .citat {
  font-family: var(--font-editorial); font-style: italic; font-size: 19px; color: var(--hartie); margin: 0 0 6px; line-height: 1.4;
}
.intrare .sursa { font-size: 13px; color: var(--hartie-3); margin: 0 0 30px; letter-spacing: 0.04em; }
.intrare .butoane { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.intrare button {
  background: transparent; color: var(--aur-2); border: 1px solid var(--aur);
  padding: 12px 22px; font-family: var(--font-editorial); font-size: 17px; letter-spacing: 0.06em;
  transition: background 0.25s, color 0.25s;
}
.intrare button:hover, .intrare button:focus-visible { background: var(--aur); color: var(--noapte); outline: none; }
.intrare .mic { font-size: 12px; color: var(--hartie-3); margin-top: 22px; }

/* ---------- planșa ---------- */
.plansa-wrap {
  position: relative; z-index: 1;
  max-width: var(--plansa-max); margin: 0 auto;
  padding: 72px var(--margine) 40px;
}
.plansa {
  position: relative;
  border: 1px solid var(--aur-slab);
  background:
    radial-gradient(ellipse at 50% 8%, rgba(143, 180, 217, 0.08), transparent 45%),
    linear-gradient(to bottom, var(--noapte-2), var(--noapte) 30%, var(--noapte) 75%, #0A0F16);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(0,0,0,0.3);
}
.plansa::before {
  content: ''; position: absolute; inset: 10px; border: 1px solid var(--aur-abia); pointer-events: none; z-index: 3;
}
.plansa svg.copac { display: block; width: 100%; height: auto; }

/* frontispiciu peste planșă */
.frontispiciu {
  position: absolute; top: 3.2%; left: 0; right: 0; text-align: center; z-index: 4; pointer-events: none;
  padding: 0 8%;
}
.frontispiciu .kicker {
  font-family: var(--font-editorial); font-size: clamp(10px, 1.1vw, 13px); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--hartie-3); margin: 0 0 6px;
}
.frontispiciu h1 {
  font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(26px, 4.6vw, 54px); line-height: 1; margin: 0; color: var(--aur-2);
}
.frontispiciu .sub {
  font-family: var(--font-editorial); font-size: clamp(12px, 1.6vw, 19px); color: var(--hartie-2); margin: 8px 0 0;
}
.frontispiciu .pl {
  font-family: var(--font-editorial); font-size: clamp(10px, 1.1vw, 13px); letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--hartie-3); margin: 12px 0 0;
}

/* ---------- desen: stiluri SVG ---------- */
.copac .tus { fill: none; stroke: var(--aur); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.copac .tus-fin { fill: none; stroke: var(--aur); stroke-width: 0.9; stroke-linecap: round; opacity: 0.75; }
.copac .tus-slab { fill: none; stroke: var(--aur); stroke-width: 0.8; opacity: 0.4; stroke-linecap: round; }
.copac .umbra { fill: rgba(0, 0, 0, 0.35); }
.copac .lemn { fill: #0B1017; }
.copac .fereastra { fill: rgba(243, 200, 120, 0.10); stroke: var(--aur); stroke-width: 1.2; transition: fill 1.2s ease; }
.copac .fereastra-aprinsa, .noapte .copac .fereastra { fill: rgba(243, 200, 120, 0.55); }
.copac .lumina-fereastra { fill: rgba(243, 200, 120, 0.0); transition: fill 1.2s ease; }
.noapte .copac .lumina-fereastra { fill: rgba(243, 200, 120, 0.16); }
.copac .zapada { fill: rgba(244, 239, 230, 0.85); }
.copac .zapada-slab { fill: rgba(244, 239, 230, 0.35); }
.copac .luna { fill: #F4EFE6; opacity: 0.9; }
.copac .luna-halo { fill: rgba(244, 239, 230, 0.06); }
.copac .stea { fill: var(--hartie); opacity: 0.6; }
.noapte .copac .stea { opacity: 0.95; }
.copac .tv { fill: rgba(143, 180, 217, 0.0); transition: fill 0.8s; }
.noapte .copac .tv { fill: rgba(143, 180, 217, 0.35); animation: palpaie 1.6s steps(2) infinite; }
@keyframes palpaie { 50% { fill: rgba(143, 180, 217, 0.18); } }
.copac .ochi { fill: var(--aur-2); opacity: 0; transition: opacity 0.6s; }
.noapte .copac .ochi { opacity: 1; animation: clipeste 5s infinite; }
@keyframes clipeste { 0%, 92%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
.copac .ochi { transform-box: fill-box; transform-origin: center; }
.copac .text-plansa { font-family: var(--font-editorial); fill: var(--hartie-3); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.copac .text-hand { font-family: var(--font-hand); fill: var(--hartie-2); font-size: 20px; }
.copac .text-latin { font-family: var(--font-editorial); font-style: italic; fill: var(--hartie-3); font-size: 15px; }
.copac .etaj-linie { stroke: var(--aur); stroke-width: 0.6; stroke-dasharray: 2 6; opacity: 0.35; fill: none; }
.copac .scara { stroke: var(--aur); stroke-width: 0.9; opacity: 0.5; fill: none; }

/* numerele (lupele) */
.copac .lupa { cursor: pointer; }
.copac .lupa circle.cerc { fill: var(--noapte); stroke: var(--aur-2); stroke-width: 1.4; transition: fill 0.3s, r 0.3s; }
.copac .lupa circle.halo { fill: none; stroke: var(--aur); stroke-width: 0.8; opacity: 0.5; animation: respira 3.4s ease-in-out infinite; }
@keyframes respira { 50% { r: 26; opacity: 0.0; } }
.copac .lupa text { font-family: var(--font-editorial); fill: var(--aur-2); font-size: 15px; font-weight: 600; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.copac .lupa:hover circle.cerc, .copac .lupa:focus circle.cerc, .copac .lupa.activa circle.cerc { fill: var(--aur-2); }
.copac .lupa:hover text, .copac .lupa:focus text, .copac .lupa.activa text { fill: var(--noapte); }
.copac .lupa:focus { outline: none; }
.copac .ghid { stroke: var(--aur); stroke-width: 0.7; opacity: 0.55; stroke-dasharray: 3 4; fill: none; }

/* straturile */
.copac .strat { transition: opacity 0.6s ease; }
.copac .strat.ascuns { opacity: 0; pointer-events: none; }

/* firele */
.copac .fir { fill: none; stroke: var(--mac); stroke-width: 1.3; opacity: 0.0; stroke-dasharray: 4 5; transition: opacity 0.5s; }
.copac .fir.vizibil { opacity: 0.55; }
.copac .fir.aprins { opacity: 1; stroke-width: 2; stroke-dasharray: none; filter: drop-shadow(0 0 6px rgba(224, 107, 83, 0.9)); }
.copac .fir-text { font-family: var(--font-hand); font-size: 19px; fill: var(--mac); opacity: 0; transition: opacity 0.5s; paint-order: stroke; stroke: var(--noapte); stroke-width: 5px; stroke-linejoin: round; }
.copac .fir-text.vizibil { opacity: 0.9; }
.copac .fir-text.aprins { opacity: 1; fill: var(--aur-2); }

/* notele muzicale */
.copac .nota { cursor: pointer; }
.copac .nota circle { fill: var(--noapte); stroke: var(--brad); stroke-width: 1.2; }
.copac .nota path { fill: var(--brad); }
.copac .nota:hover circle { fill: var(--brad); }
.copac .nota:hover path { fill: var(--noapte); }

/* amintirile: tuș aproape șters, apare la activare */
.copac .amintire { opacity: 0.22; transition: opacity 0.6s; }
.strat-amintiri-activ .copac .amintire { opacity: 1; }

/* veverița-mesager */
.copac .veverita { fill: var(--aur-2); transition: transform 0.08s linear; }
.copac .veverita-umbra { fill: rgba(0,0,0,0.5); }

/* ---------- legendele din margine ---------- */
.legende { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.legenda {
  position: absolute; width: clamp(150px, 20%, 230px);
  pointer-events: auto;
  font-family: var(--font-editorial);
  color: var(--hartie-2);
  font-size: clamp(11px, 1.25vw, 15px); line-height: 1.35;
  transform: translateY(-50%);
  transition: opacity 0.5s;
}
.legenda.ascunsa { opacity: 0; pointer-events: none; }
.legenda.dreapta { right: 1.6%; text-align: left; }
.legenda.stanga { left: 1.6%; text-align: right; }
.legenda .nr {
  display: inline-block; font-family: var(--font-display); font-style: italic; color: var(--aur-2);
  font-size: 1.25em; margin-bottom: 2px;
}
.legenda .t { display: block; color: var(--hartie); font-weight: 600; letter-spacing: 0.02em; }
.legenda .s { display: block; font-style: italic; color: var(--hartie-3); font-size: 0.86em; margin-bottom: 3px; }
.legenda .l { display: block; }
.legenda button {
  background: none; border: 0; padding: 0; margin-top: 4px;
  color: var(--aur-2); font-family: var(--font-editorial); font-size: 0.92em; letter-spacing: 0.08em; text-transform: uppercase;
  border-bottom: 1px solid var(--aur-slab);
}
.legenda button:hover { color: var(--hartie); border-color: var(--hartie); }

/* marginile poetice */
.margine-text {
  position: absolute; z-index: 5; pointer-events: none;
  font-family: var(--font-editorial); font-style: italic; color: var(--hartie-2);
  font-size: clamp(11px, 1.3vw, 16px); line-height: 1.35; max-width: 26%;
}
.margine-text { background: rgba(13, 19, 28, 0.72); padding: 6px 10px; border-radius: 2px; box-shadow: 0 0 24px 12px rgba(13, 19, 28, 0.72); }
.margine-text .sursa { display: block; font-style: normal; font-size: 0.75em; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hartie-3); margin-top: 4px; }
.margine-text.coroana { top: 9.5%; right: 2.5%; text-align: right; }
.margine-text.trunchi { top: 56%; right: 2.5%; text-align: right; max-width: 22%; }
.margine-text.radacini { bottom: 2.6%; left: 3%; max-width: 44%; }

/* nota de subsol */
.nota-subsol {
  max-width: var(--plansa-max); margin: 0 auto; padding: 18px var(--margine) 96px;
  font-family: var(--font-editorial); color: var(--hartie-3); font-size: 14px; line-height: 1.5; position: relative; z-index: 1;
}
.nota-subsol .lista { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; }
.nota-subsol .lista a { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--aur-slab); }

/* ---------- cartușul straturilor (fix) ---------- */
.cartus {
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 45;
  display: flex; gap: 4px; align-items: center;
  background: rgba(13, 19, 28, 0.88); border: 1px solid var(--aur-slab); backdrop-filter: blur(8px);
  padding: 6px 8px; border-radius: 999px;
  opacity: 0; transition: opacity 0.6s; pointer-events: none;
}
.cartus.vizibil { opacity: 1; pointer-events: auto; }
.cartus .eticheta { font-family: var(--font-editorial); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hartie-3); padding: 0 8px 0 6px; }
.cartus button {
  background: transparent; border: 1px solid transparent; color: var(--hartie-2); border-radius: 999px;
  padding: 7px 12px; font-family: var(--font-editorial); font-size: 14px; letter-spacing: 0.04em;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.cartus button .pct { width: 7px; height: 7px; border-radius: 50%; background: var(--hartie-3); }
.cartus button[data-strat="fire"] .pct { background: var(--mac); }
.cartus button[data-strat="cantece"] .pct { background: var(--brad); }
.cartus button[data-strat="amintiri"] .pct { background: var(--hartie-2); }
.cartus button[data-strat="noapte"] .pct { background: var(--cer); }
.cartus button[aria-pressed="true"] { background: rgba(226, 180, 103, 0.14); border-color: var(--aur-slab); color: var(--aur-2); }
.cartus button:hover { color: var(--hartie); }
.cartus .sep { width: 1px; height: 18px; background: var(--aur-slab); margin: 0 4px; }
.cartus button.sunet[aria-pressed="true"] { color: var(--aur-2); }

/* ---------- lupa (fereastra deschisă) ---------- */
.lupa-modal {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center;
  background: rgba(7, 10, 15, 0.78); backdrop-filter: blur(6px);
  padding: 16px;
  opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s;
}
.lupa-modal.deschisa { opacity: 1; visibility: visible; }
.lupa-card {
  width: min(960px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(18px, 3vw, 40px);
  background: var(--noapte-2); border: 1px solid var(--aur-slab);
  padding: clamp(18px, 3vw, 36px);
  position: relative;
  transform: translateY(14px) scale(0.985); transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}
.lupa-modal.deschisa .lupa-card { transform: none; }
.lupa-card::before { content: ''; position: absolute; inset: 7px; border: 1px solid var(--aur-abia); pointer-events: none; }
.lupa-img {
  position: relative; aspect-ratio: 1; align-self: start;
  border-radius: 50%; overflow: hidden;
  border: 1px solid var(--aur); box-shadow: 0 0 0 8px var(--noapte-2), 0 0 0 9px var(--aur-slab), 0 20px 60px rgba(0,0,0,0.6);
  background: var(--noapte);
}
.lupa-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.04); transition: transform 1.6s ease; }
.lupa-modal.deschisa .lupa-img img { transform: scale(1); }
.lupa-img .nr {
  position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
  background: var(--aur-2); color: var(--noapte); font-family: var(--font-display); font-style: italic; font-weight: 600;
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 16px;
}
.lupa-text .kicker { font-family: var(--font-editorial); font-size: 12px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--hartie-3); margin: 6px 0 8px; }
.lupa-text h2 { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.05; margin: 0 0 4px; color: var(--aur-2); }
.lupa-text .sub { font-family: var(--font-editorial); font-style: italic; color: var(--hartie-3); margin: 0 0 16px; font-size: 16px; }
.lupa-text p { margin: 0 0 10px; color: var(--hartie-2); font-size: 16.5px; }
.lupa-text blockquote {
  margin: 18px 0 14px; padding: 10px 0 10px 16px; border-left: 2px solid var(--aur);
  font-family: var(--font-editorial); font-style: italic; font-size: 20px; color: var(--hartie); line-height: 1.3;
}
.lupa-text blockquote cite { display: block; font-style: normal; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--hartie-3); margin-top: 6px; }
.lupa-cantec {
  display: flex; align-items: center; gap: 12px; margin: 14px 0 6px;
  border: 1px solid var(--aur-slab); padding: 10px 12px; background: rgba(0,0,0,0.2);
}
.lupa-cantec button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--brad); background: transparent; color: var(--brad);
  display: grid; place-items: center; flex: 0 0 auto; transition: background 0.2s, color 0.2s;
}
.lupa-cantec button:hover, .lupa-cantec button.canta { background: var(--brad); color: var(--noapte); }
.lupa-cantec .info { font-family: var(--font-editorial); font-size: 14px; line-height: 1.3; color: var(--hartie-2); }
.lupa-cantec .info b { display: block; color: var(--hartie); font-weight: 600; font-size: 15px; }
.lupa-cantec .info i { color: var(--hartie-3); }
.lupa-cantec .bara { height: 2px; background: var(--aur-abia); margin-top: 6px; position: relative; overflow: hidden; }
.lupa-cantec .bara i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--brad); }
.lupa-linkuri { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.lupa-linkuri a {
  font-family: var(--font-editorial); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--aur-slab); padding: 8px 12px; color: var(--aur-2);
}
.lupa-linkuri a.principal { background: var(--aur); color: var(--noapte); border-color: var(--aur); }
.lupa-linkuri a.principal:hover { background: var(--aur-2); }
.lupa-linkuri a.mic { font-size: 12px; border-color: transparent; color: var(--hartie-3); padding-left: 0; }
.lupa-inchide {
  position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--aur-slab); background: var(--noapte); color: var(--hartie-2); display: grid; place-items: center; font-size: 18px;
}
.lupa-inchide:hover { color: var(--noapte); background: var(--aur-2); }
.lupa-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; font-family: var(--font-editorial); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.lupa-nav button { background: none; border: 0; color: var(--hartie-3); padding: 4px 0; }
.lupa-nav button:hover { color: var(--aur-2); }

/* ---------- telefon ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .plansa-wrap { padding: 60px 8px 30px; }
  .plansa::before { inset: 6px; }
  .legenda {
    width: auto; max-width: 46%;
    font-size: 11px; line-height: 1.25;
    background: rgba(13, 19, 28, 0.7); padding: 5px 7px; border: 1px solid var(--aur-abia);
  }
  .legenda .nr { font-size: 1.1em; }
  .legenda button { font-size: 0.85em; margin-top: 2px; }
  .legenda.dreapta { right: 2%; }
  .legenda.stanga { left: 2%; }
  .legenda .s { display: none; }
  .legenda .l { display: none; }
  .margine-text { font-size: 11px; }
  .margine-text.trunchi { display: none; }
  .margine-text.coroana { max-width: 40%; top: 10%; }
  .margine-text.radacini { max-width: 60%; }
  .cartus { bottom: 10px; max-width: calc(100vw - 16px); overflow-x: auto; }
  .cartus .eticheta { display: none; }
  .cartus button { padding: 7px 9px; font-size: 13px; }
  .lupa-card { grid-template-columns: 1fr; padding: 18px 16px 22px; max-height: calc(100dvh - 24px); }
  .lupa-img { width: min(62vw, 260px); margin: 6px auto 10px; }
  .lupa-text h2 { font-size: 26px; }
  .lupa-text p { font-size: 15.5px; }
  .lupa-text blockquote { font-size: 18px; }
  .frontispiciu { top: 2.6%; }
}

@media (prefers-reduced-motion: reduce) {
  .copac .lupa circle.halo, .noapte .copac .tv, .noapte .copac .ochi { animation: none; }
  .lupa-card, .lupa-img img { transition: none; }
}

/* creanga trosnește o singură dată */
#loc-creanga.trosneste .zapada { animation: scutura 1.2s ease-out forwards; }
#loc-creanga.trosneste #fisura { animation: fisureaza 1.2s ease-out; }
@keyframes scutura { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(40px); opacity: 0; } }
@keyframes fisureaza { 0%, 100% { stroke-width: 0.9; opacity: 0.75; } 30% { stroke-width: 2.4; opacity: 1; filter: drop-shadow(0 0 4px #F3C878); } }
#loc-creanga .zapada { transform-box: fill-box; }
/* noaptea, trei pițigoi dorm */
.noapte .noapte-ascuns { opacity: 0 !important; transition: opacity 1s; }
.noapte-ascuns { transition: opacity 1s; }

/* =====================================================================
   Versiunea pe ilustrație (1.11 seara): planșa pictată în mijloc, legendele pe coloane laterale.
   Regulile de mai jos au prioritate față de cele de sus.
   ===================================================================== */
.plansa-wrap { max-width: 1480px; padding: 84px var(--margine) 24px; }
.frontispiciu { position: static; text-align: center; padding: 0 0 22px; pointer-events: auto; }
.frontispiciu h1 { font-size: clamp(32px, 5vw, 60px); }
.frontispiciu .pl { margin-top: 10px; }

.plansa {
  display: grid; grid-template-columns: minmax(170px, 250px) minmax(0, 760px) minmax(170px, 250px);
  justify-content: center; gap: 0 clamp(10px, 1.6vw, 22px); align-items: stretch;
  border: 0; background: none; box-shadow: none;
}
.plansa::before { display: none; }
.coloana { position: relative; }
.figura {
  position: relative; border: 1px solid var(--aur-slab); padding: 6px; background: #0A0F16;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}
.figura::before { content: ''; position: absolute; inset: 3px; border: 1px solid var(--aur-abia); pointer-events: none; z-index: 3; }
.figura picture, .figura img.plansa-img { display: block; width: 100%; height: auto; }
.figura svg.copac { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); z-index: 4; overflow: visible; }
.noapte-val {
  position: absolute; inset: 6px; z-index: 2; pointer-events: none;
  background: #0A1424; mix-blend-mode: multiply; opacity: 0; transition: opacity 1.4s ease;
}
.noapte .noapte-val { opacity: 0.62; }
.copac .lumini { opacity: 0; transition: opacity 1.4s ease; mix-blend-mode: screen; }
.noapte .copac .lumini { opacity: 1; }
.noapte .copac .lumini .tv { animation: palpaie-tv 1.4s steps(2) infinite; }
@keyframes palpaie-tv { 50% { opacity: 0.45; } }

/* lupele peste ilustrație */
.copac .lupa circle.cerc { fill: rgba(13, 19, 28, 0.92); stroke: var(--aur-2); stroke-width: 2; }
.copac .lupa circle.halo { animation-name: respira-mare; }
@keyframes respira-mare { 0% { r: 22; opacity: 0.6; } 100% { r: 40; opacity: 0; } }
.copac .lupa text { font-size: 22px; font-weight: 600; }
.copac .lupa .ghid { stroke: var(--aur); stroke-width: 1.4; opacity: 0.55; stroke-dasharray: 5 7; }
.copac .lupa .ghid-ancora { stroke: var(--aur-2); stroke-width: 1.2; opacity: 0; fill: none; transition: opacity 0.3s; }
.copac .lupa:hover .ghid-ancora, .copac .lupa.activa .ghid-ancora { opacity: 0.9; }
.copac .lupa.stinsa { opacity: 0.25; }
.copac .lupa.stinsa circle.halo { display: none; }
.copac .nota circle { stroke-width: 2; }
.copac .nota path { transform-origin: center; }
.copac .fir { stroke-width: 2.2; stroke-dasharray: 6 7; }
.copac .fir.aprins { stroke-width: 3.2; }
.copac .fir-text { font-size: 30px; stroke-width: 7px; }
.copac .amintire .semn { fill: none; stroke: var(--hartie-2); stroke-width: 1.6; stroke-dasharray: 4 6; }
.copac .amintire .text-hand { font-size: 30px; fill: var(--hartie); paint-order: stroke; stroke: rgba(13,19,28,0.9); stroke-width: 6px; stroke-linejoin: round; }
.copac .amintire { opacity: 0; }
.strat-amintiri-activ .copac .amintire { opacity: 1; }
#fisura.arata { animation: fisura-arata 1.6s ease-out; }
@keyframes fisura-arata { 0% { opacity: 0; } 20% { opacity: 1; stroke-width: 4; filter: drop-shadow(0 0 6px #F3C878); } 100% { opacity: 0; } }
.copac .veverita { fill: #F3C878; }

/* legendele în coloane */
.coloana .legenda {
  position: absolute; width: 100%; transform: translateY(-50%);
  font-size: clamp(12px, 1.05vw, 15px); line-height: 1.35; padding: 8px 10px;
  border: 1px solid transparent; transition: border-color 0.3s, background 0.3s, opacity 0.5s;
}
.coloana.stanga .legenda { right: 0; text-align: right; }
.coloana.dreapta .legenda { left: 0; text-align: left; }
.coloana .legenda.evidenta { border-color: var(--aur-slab); background: rgba(226, 180, 103, 0.06); }
.coloana .legenda .nr { font-size: 1.3em; }
.coloana .legenda .t { font-size: 1.05em; line-height: 1.25; margin-bottom: 1px; }

/* indexul numerotat */
.index-figuri {
  display: none; max-width: 760px; margin: 18px auto 0; gap: 6px; grid-template-columns: 1fr 1fr;
}
.index-figuri .idx {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: rgba(17, 25, 37, 0.7); border: 1px solid var(--aur-abia); color: var(--hartie-2);
  padding: 8px 10px; font-family: var(--font-editorial); font-size: 14px; line-height: 1.2;
}
.index-figuri .idx .nr {
  flex: 0 0 26px; height: 26px; border-radius: 50%; border: 1px solid var(--aur-2); color: var(--aur-2);
  display: grid; place-items: center; font-family: var(--font-display); font-style: italic; font-size: 14px;
}
.index-figuri .idx.ascunsa { display: none; }

/* marginile poetice, sub planșă, ca trei note de subsol */
.margini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1180px; margin: 26px auto 0; }
.margini .margine-text {
  position: static; max-width: none; text-align: left; background: none; box-shadow: none; padding: 0 0 0 12px;
  border-left: 1px solid var(--aur-slab); font-size: clamp(13px, 1.3vw, 17px);
}
.nota-subsol { padding-top: 26px; }

@media (max-width: 1060px) {
  .plansa { grid-template-columns: minmax(0, 760px); }
  .coloana { display: none; }
  .index-figuri { display: grid; }
}
@media (max-width: 760px) {
  .plansa-wrap { padding: 64px 10px 20px; }
  .frontispiciu .pl { font-size: 10px; }
  .copac .lupa circle.cerc, .copac .lupa circle.halo { r: 30; }
  .copac .lupa text { font-size: 30px; }
  .copac .lupa .ghid { display: none; }
  .copac .fir-text { font-size: 40px; }
  .copac .amintire .text-hand { font-size: 40px; }
  .copac .nota circle { r: 28; }
  .copac .nota path { transform: scale(1.4); }
  .index-figuri { grid-template-columns: 1fr; }
  .margini { grid-template-columns: 1fr; }
  .margini .margine-text { display: block; }
}

/* ---------- Vevi în locul cursorului (03.11.2026) ---------- */
html.cu-vevi, html.cu-vevi * { cursor: none !important; }
.vevi { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; width: 54px; opacity: 0; transition: opacity .25s; will-change: transform; --sens: 1; --aplecare: 0deg; }
.vevi img { display: block; width: 100%; height: auto; transform-origin: 50% 85%;
  transform: scaleX(var(--sens)) rotate(var(--aplecare)); transition: transform .18s ease-out;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.55)); }
.vevi.vizibila { opacity: 1; }
.vevi.curioasa img { animation: vevi-sare .45s ease-out; transform: scaleX(var(--sens)) rotate(var(--aplecare)) scale(1.18); }
.vevi.ronta img { animation: vevi-ronta .28s ease-out; }
.vevi.odihna img { animation: vevi-respira 2.6s ease-in-out infinite; }
.vevi-punct { position: fixed; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; z-index: 10000; pointer-events: none;
  background: var(--aur-2); box-shadow: 0 0 10px 2px rgba(243,200,120,.7); opacity: 0; transition: opacity .2s, width .2s, height .2s, left .2s, top .2s; }
.vevi-punct.vizibil { opacity: 1; }
.vevi-punct.curios { width: 14px; height: 14px; left: -7px; top: -7px; background: transparent; border: 2px solid var(--aur-2); }
@keyframes vevi-sare { 0% { translate: 0 0; } 40% { translate: 0 -14px; } 100% { translate: 0 0; } }
@keyframes vevi-ronta { 0% { scale: 1 1; } 40% { scale: 1.12 .86; } 100% { scale: 1 1; } }
@keyframes vevi-respira { 0%, 100% { translate: 0 0; } 50% { translate: 0 -2px; rotate: -2deg; } }
/* telefon: Vevi apare o clipă unde atingi */
.vevi.atinge { opacity: 1; animation: vevi-apare .95s ease-out forwards; }
@keyframes vevi-apare { 0% { opacity: 0; translate: 0 10px; } 20% { opacity: 1; translate: 0 -8px; } 70% { opacity: 1; translate: 0 0; } 100% { opacity: 0; translate: 0 0; } }
@media (prefers-reduced-motion: reduce) { .vevi img, .vevi.curioasa img, .vevi.odihna img { animation: none !important; } }

/* ---------- relieful planșei (03.11.2026) ---------- */
.figura .relief { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); z-index: 1; pointer-events: none; }
