/* Пазители на времето — общ стил (по тефтера A5_pametnici и визиите от кампанията) */
@font-face { font-family: "Izhitsa"; src: url("assets/fonts/Izhitsa-Regular-web.ttf") format("truetype");
  unicode-range: U+0000-00AA, U+00AC-00B6, U+00B8-00BA, U+00BC-201B, U+201F-10FFFF; font-display: block; }
/* Izhitsa няма кавички „ “ « » — само за тях Georgia */
@font-face { font-family: "Izhitsa"; src: local("Georgia Bold"), local("Georgia-Bold"), local("Georgia");
  unicode-range: U+00AB, U+00B7, U+00BB, U+201C-201E; }
@font-face { font-family: "RobotoV"; src: url("assets/fonts/Roboto-Variable.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --forest: #0A1E1B;
  --forest-2: #10302A;
  --forest-3: #17423A;
  --cream: #FDFBE6;
  --cream-2: #F4F0D2;
  --gold: #D6BE78;
  --gold-2: #E8D59C;
  --ink: #0E2A25;
  --body: #3C4E46;
  --muted: #768377;
  --line: rgba(14, 42, 37, .28);
  --line-dark: rgba(214, 190, 120, .38);
  --ok: #4F8A5B;
  --bad: #A4473B;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body { font-family: "RobotoV", system-ui, sans-serif; color: var(--ink); background: var(--forest);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.iz { font-family: "Izhitsa", Georgia, serif; font-weight: normal; letter-spacing: .01em; line-height: 1; }
.kicker { font: 600 12px/1.2 "RobotoV"; letter-spacing: .22em; text-transform: uppercase; }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.tab { font-variant-numeric: tabular-nums; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px;
  font: 600 15px/1 "RobotoV"; letter-spacing: .14em; text-transform: uppercase; border-radius: 2px; transition: transform .12s, opacity .2s; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-dark { background: var(--forest); color: var(--cream); }
.btn-line { border: 1px solid currentColor; }
.btn-block { width: 100%; }

/* портрет в рамка с номер — като в мозайката на корицата */
.ph { position: relative; overflow: hidden; background: #cfc9a8; flex: none; }
.ph img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ph.framed { outline: 2px solid var(--ink); outline-offset: -1px; }
.dark .ph.framed, .ph.framed.on-dark { outline-color: rgba(214,190,120,.6); }
.ph .no { position: absolute; left: 4px; bottom: 4px; font: 400 15px/1 "Izhitsa"; color: var(--cream); background: var(--forest); padding: 3px 5px 1px; }

.logoband { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--cream); padding: 12px 16px calc(12px + var(--safe-b)); }
.logoband img { display: block; height: 26px; width: auto; }
.logoband img.school { height: 40px; }
.logoband .sep { width: 1px; height: 36px; background: var(--ink); }
