/* rutenbau.rybolov.de (2026-12-02, von aborigen übernommen) – moderne Optik wie eine App, Mobile First (2026-11, übernommen von stroim.de/rybolov.de; gleiche Palette wie bisher bei aborigen). Liegt über main.css und responsive.css.
   Grundregeln = Handy; ab 768px (Tablet) und 1024px (PC) nur Ergänzungen. Spalten und Handy-Umbau bleiben bei responsive.css.
   Kompakt: viel Information auf einen Blick. Volle Breite (kein leerer Seitenrand, dort setzt Google sonst Seitenleisten-Anzeigen).
   Keine untere Tab-Leiste: dort sitzt die Google-Ankeranzeige.
   Farben aus der bisherigen Palette: Blau #375288, Lavendel #E7E9FE, Gelb #F6C233. */

:root {
  --blau: #375288;
  --blau-dunkel: #2a4170;
  --grund: #eef1f6;          /* App-Hintergrund */
  --flaeche: #f5f7fd;
  --linie: #e1e5f0;
  --text: #1f2a44;
  --text-leise: #5a6378;     /* 2026-11 dunkler: Kontrast auch auf grauem Grund */
  --link: #2c55b0;
  --gelb: #f6c233;
  --radius: 10px;
  --schatten: 0 1px 2px rgba(31, 42, 68, .08);
  --leiste: 48px;            /* Höhe der App-Leiste (responsive.css: .rb-bar button min-height) */
  --schrift: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ================= Handy (Grundregeln) ================= */

html, body { background: var(--grund); }
body, td, input, select, textarea, button { font-family: var(--schrift); color: var(--text); }
body { -webkit-font-smoothing: antialiased; }
a, a.nav { color: var(--link); text-decoration: none; }
a.nav:visited { color: var(--blau); }
a:hover, a.nav:hover { color: var(--blau-dunkel); text-decoration: underline; }
h1 { font-family: var(--schrift); font-size: 19px; line-height: 1.25; color: #1b2750; margin: 6px 0 8px; }
h2, h3 { font-family: var(--schrift); color: #1b2750; margin: 6px 0; }
hr { border: 0; border-top: 1px solid var(--linie); height: 0; margin: 6px 0; }
img.imageborder { border-radius: 6px; }

/* --- App-Leiste (responsive.js): ☰ | Aborigen | Вход --- */
.rb-bar { align-items: stretch; box-shadow: 0 2px 6px rgba(20, 30, 60, .18); }
.rb-bar button { flex: 0 0 auto; border-radius: 0; padding: 0 16px; font-size: 16px; }
.rb-bar button:first-child { font-size: 22px; padding: 0 14px; }
.rb-bar button + button { border-left: 0; }
.rb-brand { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; color: #fff !important;
            font-size: 18px; font-weight: 700; letter-spacing: .3px; text-decoration: none !important; }
.rb-brand .sl-zeichen { width: 26px; height: 26px; --z-grund: #fff; --z-linie: var(--blau); --z-akzent: #e0a800; }   /* auf blauer Leiste umgekehrt */
.rb-brand .sl-tld { color: #c9d3f3; font-weight: 600; }

/* --- Logo (2026-10): Zeichen als SVG + Schriftzug als Text, scharf auf jedem Bildschirm --- */
.sl-logo { display: inline-flex; align-items: center; gap: 10px; margin: 6px 10px; color: var(--text); text-decoration: none !important; }
.sl-zeichen { flex: 0 0 auto; display: block; }
.sl-text { display: flex; flex-direction: column; line-height: 1.1; }
.sl-name { font-family: var(--schrift); font-size: 27px; font-weight: 800; letter-spacing: -.5px; color: var(--blau); }
.sl-tld { color: #8193c4; font-weight: 600; }
.sl-claim { margin-top: 3px; font-size: 12.5px; color: var(--text-leise); white-space: nowrap; }
.sl-logo:hover .sl-name { color: var(--blau-dunkel); }
.rb-panel { box-shadow: 0 8px 20px rgba(20, 30, 60, .18); border-bottom: 0; background: #fff; padding: 4px 0; }
/* Menü im aufgeklappten Bereich: App-Liste mit Trennlinien statt Aufzählungspunkten */
.rb-panel .dot { box-shadow: none; padding: 0; margin: 0; border-radius: 0; }
.rb-panel ul { list-style: none; padding: 0; margin: 0; }
.rb-panel li { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--linie); }
.rb-panel li a { flex: 1; display: block; padding: 10px 0; }
.rb-panel li img { flex: 0 0 auto; }

/* Großer Kopf (Suchbegriffe, Logo) auf dem Handy aus: die App-Leiste zeigt den Namen */
@media (max-width: 767.98px) {
  table:has(> tbody > tr > td[colspan="2"] > font) { display: none; }
}

/* --- Navigation: alle Punkte sichtbar, bricht am Handy in eine zweite Zeile um (nicht klebend, spart Platz beim Lesen) --- */
.loc.topnav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; padding: 5px 6px; border: 0; border-radius: 0;
              background: #fff; border-bottom: 1px solid var(--linie); font-size: 0; }   /* font-size 0 blendet die "|" aus */
.loc.topnav::-webkit-scrollbar { display: none; }
.loc.topnav a.nav, .loc.topnav a.nav:visited { flex: 0 0 auto; padding: 4px 9px; font-size: 13px; font-weight: 600; white-space: nowrap;
              color: var(--blau); background: #e9edf9; border-radius: 999px; }
.loc.topnav a.nav:hover { background: var(--blau); color: #fff; text-decoration: none; }
.loc.topnav + .loc[align="right"] { display: none; }                         /* leere Leiste (rybolov); bei aborigen folgen hier die Brotkrumen */
.loc.topnav + .loc:not([align]) { font-size: 13px; padding: 5px 10px; box-shadow: none; background: transparent; border-radius: 0; }  /* Brotkrumen schlicht */
@media (max-width: 374.98px) {                                                 /* 360px-Handys: trotzdem 2 Zeilen */
  .loc.topnav { gap: 3px; padding: 5px 4px; }
  .loc.topnav a.nav, .loc.topnav a.nav:visited { padding: 4px 7px; font-size: 12.5px; }
}

/* --- Karten: Beitrags-Vorschauen, Menü, Seitenkästen --- */
.dot { background: #fff; border: 0; border-radius: var(--radius); padding: 8px 11px; margin: 0 0 8px; box-shadow: var(--schatten); }
.dot + br { display: none; }                                                   /* Leerzeile zwischen den Karten */
.dot ul { padding-left: 16px; margin: 2px 0; }
.dot li { padding: 1px 0; }
.dot p { margin: 2px 0; }
table[bgcolor="#375288"][cellpadding="1"] { background: #fff; border: 0; border-radius: var(--radius);
          border-collapse: separate; overflow: hidden; box-shadow: var(--schatten); }
td.lheader, .lheader { background: var(--blau); color: #fff; padding: 6px 10px; font-size: 14px; }
table[bgcolor="#E7E9FE"], td[bgcolor="#E7E9FE"] { background: #fff; }

/* --- Forumsbeiträge und Leisten (main.css: 8pt Verdana mit blauem Rahmen) --- */
.loc:not(.topnav), .ratingloc, .ratingloc10, .ratingloc20 { font-family: var(--schrift); border: 0; border-radius: var(--radius);
       padding: 8px 11px; background: #fff; box-shadow: var(--schatten); }
.ratingloc { box-shadow: inset 3px 0 0 #8a9ad0, var(--schatten); }
.ratingloc10 { box-shadow: inset 3px 0 0 #5a6fb5, var(--schatten); }
.ratingloc20 { box-shadow: inset 3px 0 0 var(--blau), var(--schatten); background: #f7f8fe; }

/* --- Listen (Forumsübersicht, Themen): randlos wie in einer App, Trennlinien statt Kästen --- */
table:has(> tbody > tr[bgcolor="#F6C233"]) { border-collapse: separate; border-spacing: 0; border: 0; border-radius: var(--radius);
       overflow: hidden; box-shadow: var(--schatten); background: #fff; }
tr[bgcolor="#F6C233"] > td { background: var(--gelb); padding: 6px 11px; font-weight: 600; font-size: 13px; color: #3b2f05; }
table:has(> tbody > tr[bgcolor="#F6C233"]) > tbody > tr:not([bgcolor="#F6C233"]) > td { padding: 4px 11px !important;
       border-bottom: 0; background: #fff; }
table:has(> tbody > tr[bgcolor="#F6C233"]) > tbody > tr:not([bgcolor="#F6C233"]) { border-bottom: 1px solid var(--linie); }
table:has(> tbody > tr[bgcolor="#F6C233"]) > tbody > tr:not([bgcolor="#F6C233"]):hover > td { background: var(--flaeche); }
table:has(> tbody > tr[bgcolor="#F6C233"]) p { margin: 0; }                   /* jeder Eintrag steckt in einem <p> */
table:has(> tbody > tr[bgcolor="#F6C233"]) b > a.nav { font-size: 15px; }      /* Titel der Rubrik/des Themas */
table:has(> tbody > tr[bgcolor="#F6C233"]) .text_small { color: #3d4457; }   /* Kontrast auf Gelb (PageSpeed) */

/* --- Formulare: große, runde Felder wie in Apps --- */
input[type="text"], input[type="password"], input[type="email"], input[type="search"], input:not([type]), select, textarea,
.frm, .frm2, .frm21, .frm22 { border: 1px solid #cdd3e4; border-radius: 8px; padding: 7px 10px; background: #fff;
       font-family: var(--schrift); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(55, 82, 136, .3); outline-offset: 1px; border-color: var(--blau); }
input[type="submit"], input[type="button"], button, .btn { background: var(--blau); color: #fff; border: 0; border-radius: 8px;
       padding: 8px 16px; font-weight: 600; cursor: pointer; }
input[type="submit"]:hover, input[type="button"]:hover, button:hover { background: var(--blau-dunkel); }

/* --- Fuß und Cookie-Hinweis --- */
.fuss { color: #4a5266; font-size: 12.5px; line-height: 1.5; padding: 8px 12px 80px; }  /* unten Platz für die Ankeranzeige */
.fuss strong { font-weight: 600; }
#cookieChoiceInfo { background-color: var(--blau-dunkel) !important; font-family: var(--schrift) !important;
       font-size: 12px !important; padding: 6px 10px !important; }
#cookieChoiceInfo a { border-radius: 6px; }

/* ================= Tablet ab 768px: keine App-Leiste (responsive.css), Kopf wieder sichtbar ================= */
@media (min-width: 768px) {
  .loc.topnav { position: sticky; top: 0; z-index: 898; }                     /* ab Tablet eine Zeile: klebt oben */
  tr[bgcolor="#375288"] > td[colspan="2"] { padding: 2px 10px; background: var(--blau-dunkel); }
  tr[bgcolor="#375288"] > td[colspan="2"] font { font-size: 11px; color: #c9d3f3; }
  table:has(> tbody > tr > td[colspan="2"] > font) { background: #fff; }
}

/* ================= PC ab 1024px: kompakt, volle Breite ================= */
@media (min-width: 1024px) {
  body, td { font-size: 15px; line-height: 1.45; }                            /* 2026-11: vorher 13px – am PC zu klein */
  .nav, a.nav { font-size: 15px; }
  h1 { font-size: 24px; }
  .loc.topnav { padding: 5px 10px; }
  .loc.topnav a.nav, .loc.topnav a.nav:visited { padding: 5px 13px; font-size: 14.5px; }
  .dot { padding: 6px 10px; margin-bottom: 6px; }
  .dot li, .dot li a.nav { font-size: 14px; line-height: 1.4; }             /* Menü in der schmalen linken Spalte */
  td.lheader, .lheader { padding: 5px 8px; font-size: 14px; }
  .loc:not(.topnav), .ratingloc, .ratingloc10, .ratingloc20 { font-size: 14px; line-height: 1.5; padding: 6px 10px; }
  tr[bgcolor="#F6C233"] > td { padding: 4px 10px; }
  table:has(> tbody > tr[bgcolor="#F6C233"]) > tbody > tr:not([bgcolor="#F6C233"]) > td { padding: 3px 10px !important; }
  table:has(> tbody > tr[bgcolor="#F6C233"]) b > a.nav { font-size: 15.5px; }
  input[type="text"], input[type="password"], input[type="email"], input[type="search"], input:not([type]), select, textarea,
  .frm, .frm2, .frm21, .frm22 { padding: 4px 8px; font-size: 14px; border-radius: 6px; }
  input[type="submit"], input[type="button"], button, .btn { padding: 4px 12px; border-radius: 6px; }
}

/* Tippflächen (PageSpeed/Barrierefreiheit, 2026-11): kleine Links in Leiste und Fotolisten mindestens 24 px hoch */
div.dot li a, a[href="/sitemap"], a[href="/sitemap/21/index21.html"], a:has(> small), small > a {
  display: inline-block; min-height: 24px; line-height: 24px;
}
/* rutenbau 2026-12-02: lange Rubriknamen in der Leiste umbrechen – Punkt bleibt an der ersten Zeile, kein 24-px-Zeilenabstand je Umbruch */
div.dot li a { vertical-align: top; line-height: 1.35; padding: 3px 0; max-width: calc(100% - 4px); }

/* Barrierefreiheit (PageSpeed, 2026-11): ausreichender Kontrast, Links nicht nur an der Farbe erkennbar */
.text_small { color: #3d4457; }
font[color="#999999"], font[color="#a0a0a0"] { color: #5f6675 !important; }
[role="main"] a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
                  text-decoration-color: rgba(44, 85, 176, .35); }
[role="main"] a:hover { text-decoration-color: currentColor; }
@media (max-width: 767.98px) {
  [role="main"] td a { display: inline-block; min-height: 24px; line-height: 24px; min-width: 24px; }   /* Tippflächen */
}
/* Rot aus alten Vorlagen (#FF0000 auf Weiß = 4:1) etwas dunkler, damit lesbar */
font[color="#FF0000"], font[color="#ff0000"], font[color="red"] { color: #c00000 !important; }
/* Links auch außerhalb der Inhaltsspalte nicht nur an der Farbe erkennbar */
.loc:not(.topnav) a, .fuss a, .sape-links a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
                                             text-decoration-color: rgba(44, 85, 176, .35); }
/* Tippflächen in den Kästen der Leiste („Ваше участие“, Anmeldung …) */
table[bgcolor="#375288"] td.nav a { display: inline-block; min-height: 24px; line-height: 24px; }
/* Leiste „Разделы“: Unterebenen haben ein Ordnersymbol – kein zusätzlicher Aufzählungspunkt, Symbol und Text nebeneinander */
.dot ul ul { list-style: none; padding-left: 6px; margin: 0; }
.dot ul ul li { display: flex; align-items: center; }
.dot ul ul li > img { flex: 0 0 auto; }
/* Leiste: aktuelle Rubrik (früher <span class=sel> um das <li>, jetzt Klasse am <li>) */
.dot li.sel > a, .dot li.sel > b > a { font-weight: 700; }
/* Brotkrumen auf Fotoseiten stehen direkt im <body> */
body > a.nav, body > a[href="/"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px;
                                   text-decoration-color: rgba(44, 85, 176, .35); }
/* Zusatzeinträge unter der Rubrikenliste (eigene <ul>, damit kein <li> außerhalb einer Liste steht) */
.dot ul.dot-extra { margin-top: -2px; }
/* Forenlisten: Thema-Link als Tippfläche, auch am PC (am Handy greift [role=main] td a) */
td.text_small > a.nav, span.text_sans a { display: inline-block; min-height: 24px; line-height: 24px; vertical-align: top; }
span.text_sans a { max-width: calc(100% - 28px); }   /* langer Titel bleibt neben dem Ordner-Symbol */
/* aborigen: Kästen „Популярное“ (popular.html, Titel unter dem Bild) und Nutzerliste im Fotoalbum als Tippfläche */
.dot td > a.nav, a.nav[href*="?user="] { display: inline-block; min-height: 24px; line-height: 24px; }
/* aborigen: Suchfeld und „Искать!“ stehen in der Leiste untereinander – Abstand, damit beide getrennte Tippflächen sind */
#sbi, #sbb { min-height: 28px; box-sizing: border-box; }
#sbb { margin-top: 6px; }
/* ── Einheitliche Seitenzahlen (H_seiten in lib.inc.php): Forum, Themen, Fotoalbum, Artikel, Blogs, Nutzerlisten ──
   „Страницы:“ + Kästchen, aktuelle Seite gefüllt, Lücken als „…“, Pfeile ‹ › (am Rand ausgegraut). Passt bei 7 Plätzen in eine Handyzeile. */
:is(nav,div).seiten { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 3px; margin: 8px 0; font-size: 13px; line-height: 1; text-align: left; }
:is(nav,div).seiten > .seiten-titel { color: var(--text-leise, #5a6378); margin-right: 4px; font-size: 13px; }
:is(nav,div).seiten > a, :is(nav,div).seiten > span.seiten-akt, :is(nav,div).seiten > span.seiten-luecke, :is(nav,div).seiten > span.seiten-pfeil {
  display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
  min-width: 26px; height: 28px; min-height: 0; line-height: 1; padding: 0 5px; margin: 0;
  border-radius: 6px; font-size: 13px; font-weight: 400; text-decoration: none; }
:is(nav,div).seiten > a { background: #f5f7fc; border: 1px solid #cfd8ea; color: #2c55b0; }
:is(nav,div).seiten > a:hover, :is(nav,div).seiten > a:focus-visible { background: #e6edf9; border-color: #8fa6d4; color: #1f3f8a; }
:is(nav,div).seiten > span.seiten-akt { background: #375288; border: 1px solid #375288; color: #fff; font-weight: 700; }
:is(nav,div).seiten > span.seiten-luecke { min-width: 14px; padding: 0 1px; color: #5a6378; border: 0; }
:is(nav,div).seiten > .seiten-pfeil { font-size: 16px; font-weight: 700; }
:is(nav,div).seiten > span.seiten-aus { border: 1px solid #e3e7ef; color: #b4bccb; background: transparent; }
:is(nav,div).seiten.seiten-kurz { margin: 4px 0 2px; }
/* 2026-11 (SEO, wie rybolov): zweite Überschriften („Комментарии“, „Пользователи“) sind jetzt h2, sehen aber aus wie h1 */
h2.wie-h1 { font-family: var(--schrift); font-size: 19px; line-height: 1.25; color: #1b2750; margin: 6px 0 8px; font-weight: 700; }
/* aborigen: „Про Сахалин.“ im Kopf war auf jeder Seite eine h1 – jetzt <p class=kopf-h1> im selben Aussehen */
p.kopf-h1 { font-family: var(--schrift); font-size: 19px; line-height: 1.25; color: #1b2750; margin: 6px 0 8px; font-weight: 700; }
@media (min-width: 1024px) { h2.wie-h1, p.kopf-h1 { font-size: 24px; } }
/* 2026-11-05 (WCAG): Links im Infotext der Registrierung wie im Hauptbereich unterstreichen */
.reg-info a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; text-decoration-color: rgba(44, 85, 176, .35); }
/* 2026-11-05: Hinweis im Postfach (vorher als zweite h1 ausgegeben) */
.mail-meldung { font-size: 16px; font-weight: 700; margin: 6px 0; }
/* 2026-11-05 (WCAG, angemeldete Nutzer): Post-Link in der Leiste unterstreichen, Tippflächen für „Написать письмо“ und die Format-Knöpfe B/I/U im Kommentarformular */
a[href="mail/inbox"].nav { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a[href^="/mail/new/?recipient="] { display: inline-block; min-height: 24px; line-height: 24px; }
input.small[type="button"] { min-width: 24px; min-height: 24px; }

/* ===== 2026-11-09: von rybolov.de übernommen (Nutzerliste, Profil, Profil bearbeiten, Fotoalbum, Einzelfoto); ohne „/online“ (.ko-*), das hat aborigen nicht ===== */

/* 2026-11-08: Nutzerliste /all_user – am PC Tabelle, auf dem Handy Karten (Zeilen aus H_all_user.php) */
.nl-titel { margin: 0 0 6px; }
.nl-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nl-tabelle { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--schatten); font-size: 14px; margin: 8px 0; }
.nl-tabelle th { background: var(--blau); color: #fff; font-weight: 600; text-align: left; padding: 8px; }
.nl-tabelle td { padding: 7px 8px; border-top: 1px solid var(--linie); vertical-align: top; overflow-wrap: break-word; }
.nl-tabelle tbody tr:nth-child(even) td { background: var(--flaeche); }
.nl-tabelle .nl-login a { font-weight: 600; }
.nl-tabelle .nl-zahl { text-align: center; }
.nl-tabelle .nl-zeit { white-space: nowrap; }
.nl-mail-link { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; }
@media (max-width: 700px) {
  .nl-tabelle, .nl-tabelle tbody, .nl-tabelle tr, .nl-tabelle td { display: block; width: auto; }
  .nl-tabelle { background: transparent; box-shadow: none; overflow: visible; }
  .nl-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nl-tabelle tr { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--schatten);
    margin: 0 0 10px; padding: 8px 12px; }
  .nl-tabelle td, .nl-tabelle tbody tr:nth-child(even) td { display: flex; gap: 8px; border: 0; padding: 2px 0; background: none; }
  .nl-tabelle td::before { content: attr(data-label); flex: 0 0 9em; color: var(--text-leise); font-size: 13px; }
  .nl-tabelle tbody tr td:empty, .nl-tabelle tbody tr:nth-child(even) td:empty { display: none; }
  .nl-tabelle .nl-login { font-size: 16px; padding-right: 36px; }
  .nl-tabelle .nl-login::before, .nl-tabelle .nl-mail::before { content: none; }
  .nl-tabelle .nl-mail { position: absolute; right: 8px; top: 6px; }
  .nl-tabelle .nl-zahl { text-align: left; }
}

/* 2026-11-08: Profilseite /users/<login> (H_templates/users.html) */
.pf { max-width: 860px; }
.pf-kopf { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; background: #fff; border-radius: var(--radius);
  box-shadow: var(--schatten); padding: 16px; margin: 0 0 12px; }
.pf-bild { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--blau);
  display: flex; align-items: center; justify-content: center; border: 3px solid var(--gelb); }
.pf-bild img { width: 100%; height: 100%; object-fit: cover; }
.pf-bild span { color: #fff; font-size: 38px; font-weight: 700; line-height: 1; }
.pf-titel { flex: 1 1 200px; min-width: 0; }
.pf-titel h1 { margin: 0 0 2px; font-size: 26px; overflow-wrap: anywhere; }
.pf-unter { margin: 0; color: var(--text-leise); font-size: 14px; }
.pf-status { display: inline-block; background: var(--gelb); color: var(--text); font-weight: 600; border-radius: 999px; padding: 1px 10px; }
.pf-aktionen { display: flex; gap: 8px; flex-wrap: wrap; }
a.pf-knopf { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px; border-radius: 8px; background: var(--blau);
  border: 1px solid var(--blau); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }
a.pf-knopf:hover { background: var(--blau-dunkel); color: #fff; text-decoration: none; }
a.pf-knopf.zweit { background: #fff; color: var(--blau); border-color: #c5ccdb; }
a.pf-knopf.zweit:hover { background: var(--flaeche); color: var(--blau); }
.pf-zahlen { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pf-zahlen a, .pf-zahlen div { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%;
  background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 12px 8px; text-align: center; text-decoration: none; color: var(--text); }
.pf-zahlen a:hover { box-shadow: 0 0 0 2px var(--link); text-decoration: none; }
.pf-zahlen b { font-size: 22px; color: var(--blau); line-height: 1.2; }
.pf-zahlen span { font-size: 13px; color: var(--text-leise); }
.pf-karte { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 14px 16px; margin: 0 0 12px; }
.pf-karte h2 { font-size: 17px; margin: 0 0 8px; color: var(--blau); }
.pf-text { margin: 0 0 8px; line-height: 1.5; overflow-wrap: anywhere; }
.pf-liste { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.pf-liste dt { color: var(--text-leise); }
.pf-liste dd { margin: 0; overflow-wrap: anywhere; }
.pf-leise { color: var(--text-leise); margin: 0; }
.pf-freunde { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pf-freunde a { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--flaeche); border: 1px solid var(--linie); text-decoration: none; }
@media (max-width: 600px) {
  .pf-kopf { padding: 12px; gap: 12px; }
  .pf-bild { width: 64px; height: 64px; }
  .pf-bild span { font-size: 30px; }
  .pf-titel h1 { font-size: 22px; }
  .pf-aktionen { width: 100%; }
  .pf-zahlen { grid-template-columns: repeat(2, 1fr); }
  .pf-liste { grid-template-columns: 1fr; gap: 0; }
  .pf-liste dd { margin-bottom: 6px; }
}

/* 2026-11-08: Profil bearbeiten /users/<login>/edit (H_templates/usersedit.html) */
.pe { max-width: 760px; margin: 0 auto; padding: 8px 12px 24px; }
.pe-zurueck { margin: 4px 0 6px; font-size: 14px; }
.pe h1 { margin: 0 0 2px; }
.pe-unter { margin: 0 0 14px; color: var(--text-leise); }
.pe-meldung { background: #fde8e7; border-left: 4px solid #b3261e; border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; font-weight: 600; }
.pe-meldung.ok { background: #e3f4ea; border-left-color: #1e7d4f; }
.pe-karte { background: #fff; border: 0; border-radius: var(--radius); box-shadow: var(--schatten); padding: 14px 16px 6px; margin: 0 0 12px; min-width: 0; }
.pe-karte legend { float: left; width: 100%; padding: 0; margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--blau); }
.pe-karte legend + * { clear: left; }
.pe-feld { margin: 0 0 12px; min-width: 0; }
.pe-feld label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 4px; }
.pe-feld input[type="text"], .pe-feld input[type="email"], .pe-feld input[type="password"], .pe-feld textarea {
  width: 100%; box-sizing: border-box; font: 16px/1.4 var(--schrift); padding: 9px 11px; border: 1px solid #c5ccdb; border-radius: 8px; background: #fff; color: var(--text); }
.pe-feld textarea { min-height: 130px; resize: vertical; }
.pe-feld input:focus, .pe-feld textarea:focus { outline: 3px solid #f28f30; outline-offset: 1px; border-color: var(--blau); }
.pe-feld input[readonly] { background: var(--flaeche); color: var(--text-leise); }
.pe-feld input[type="file"] { font-size: 14px; max-width: 100%; }
.pe-hilfe { margin: 4px 0 0; font-size: 13px; color: var(--text-leise); }
.pe-karte > .pe-hilfe { margin: 0 0 10px; }
.pe-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.pe-avatar { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; }
.pe-vorschau { margin-bottom: 12px; }
.pe-avatar-felder { flex: 1 1 220px; }
.pe-haken { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; margin-top: 8px !important; }
.pe-haken input { width: 20px; height: 20px; }
.pe-leiste { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 0; }
.pe-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 22px; border-radius: 8px;
  border: 1px solid var(--blau); background: var(--blau); color: #fff; font: 600 16px var(--schrift); cursor: pointer; text-decoration: none; }
.pe-knopf:hover { background: var(--blau-dunkel); color: #fff; text-decoration: none; }
a.pe-knopf.zweit { background: #fff; color: var(--blau); border-color: #c5ccdb; }
a.pe-knopf.zweit:hover { background: var(--flaeche); color: var(--blau); }
@media (max-width: 600px) {
  .pe { padding: 6px 4px 20px; }
  .pe-reihe { grid-template-columns: 1fr; }
  .pe-leiste .pe-knopf { flex: 1 1 auto; }
}

/* 2026-11-09: Fotoalbum /photo/ (H_templates/photo.html, photo_header.html) – Raster, Rubriken, Nutzer, Formulare, Admin */
h1.fa-titel { margin: 0 0 10px; }
.fa-rubriken { margin: 0 0 14px; }
.fa-rubriken ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fa-rubriken li { margin: 0; padding: 0; }
.fa-rubriken li br, .fa-rubriken img { display: none; }
.fa-rubriken a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid #c5ccdb;
  color: var(--blau); font-weight: 600; font-size: 14px; text-decoration: none; }
.fa-rubriken a:hover { background: var(--flaeche); text-decoration: none; }
.fa-raster { list-style: none; margin: 10px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.fa-foto { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; display: flex; flex-direction: column; }
.fa-foto.fa-neu { box-shadow: 0 0 0 2px #e8a33c; }
.fa-bild { display: flex; align-items: center; justify-content: center; height: 130px; background: var(--flaeche); }
.fa-bild img { max-width: 100%; max-height: 120px; width: auto; height: auto; border-radius: 4px; }
a.fa-bild:hover { background: #e8edf8; }
.fa-info { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 10px; font-size: 13px; line-height: 1.35; flex: 1; }
.fa-titel-foto { font-size: 14px; color: var(--text); overflow-wrap: anywhere; }
.fa-autor { color: var(--text-leise); }
.fa-rubrik { align-self: flex-start; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: var(--flaeche); color: var(--text-leise); font-size: 12px; }
.fa-status { align-self: flex-start; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: #fdf0d8; color: #7a4a00; font-size: 12px; font-weight: 600; }
.fa-wahl { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-top: 1px solid var(--linie); font-size: 13px; cursor: pointer; }
.fa-wahl input { width: 18px; height: 18px; }
.fa-seiten { margin: 8px 0; }
.fa-nutzer { margin: 18px 0 0; }
.fa-nutzer h2 { font-size: 19px; margin: 0 0 8px; }
.fa-nutzerliste { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fa-nutzerliste a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; background: #fff;
  border: 1px solid var(--linie); color: var(--blau); font-size: 14px; text-decoration: none; }
.fa-nutzerliste a:hover { border-color: var(--link); text-decoration: none; }
.fa-zahl { display: inline-block; min-width: 1.6em; padding: 1px 7px; border-radius: 999px; background: var(--flaeche); color: var(--text-leise);
  font-size: 12px; font-weight: 600; text-align: center; }
.fa-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 6px 14px; border-radius: 8px;
  border: 1px solid var(--blau); background: var(--blau); color: #fff; font: 600 14px var(--schrift); cursor: pointer; text-decoration: none; }
.fa-knopf:hover { background: var(--blau-dunkel); color: #fff; text-decoration: none; }
a.fa-knopf, a.fa-knopf:link, a.fa-knopf:visited { color: #fff; }
a.fa-knopf.zweit, a.fa-knopf.zweit:link, a.fa-knopf.zweit:visited { color: var(--blau); }
.fa-knopf.zweit { background: #fff; color: var(--blau); border-color: #c5ccdb; }
.fa-knopf.zweit:hover { background: var(--flaeche); color: var(--blau); }
.fa-knopf.fa-gefahr { background: #fff; color: #b3261e; border-color: #e5a7a2; }
.fa-knopf.fa-gefahr:hover { background: #fde8e7; color: #8f1d17; }
.fa-knopf .fa-zahl { background: #e8a33c; color: #fff; }
.fa-werkzeug { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff; border-radius: var(--radius); box-shadow: var(--schatten);
  padding: 10px 12px; margin: 0 0 12px; }
.fa-werkzeug-admin { border-left: 4px solid #e8a33c; }
.fa-werkzeug-titel { font-weight: 700; color: #7a4a00; font-size: 13px; }
.fa-trenner { flex-basis: 100%; height: 0; }
.fa-verschieben, .fa-drehen { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; }
.fa-verschieben select { font: 14px var(--schrift); padding: 7px 8px; border: 1px solid #c5ccdb; border-radius: 8px; max-width: 220px; }
.fa-admin { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 12px 14px; margin: 0 0 14px; }
.fa-admin .fa-werkzeug { box-shadow: none; padding: 10px 0 0; margin: 10px 0 0; border-left: 0; border-top: 1px solid var(--linie); border-radius: 0; }
.fa-bearbeiten > summary { cursor: pointer; font-weight: 700; color: var(--blau); padding: 4px 0; }
.fa-form-titel { font-size: 19px; margin: 0 0 8px; }
.fa-hinweis { background: var(--flaeche); border-left: 4px solid var(--gelb); border-radius: 8px; padding: 8px 12px; margin: 0 0 12px; font-size: 14px; }
.fa-hinweis p { margin: 4px 0; }
.fa-form { margin-top: 10px; }
.fa-feld { margin: 0 0 12px; }
.fa-feld label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 4px; }
.fa-feld input[type="text"], .fa-feld select, .fa-feld textarea { width: 100%; box-sizing: border-box; font: 16px/1.4 var(--schrift); padding: 9px 11px;
  border: 1px solid #c5ccdb; border-radius: 8px; background: #fff; color: var(--text); }
.fa-feld textarea { min-height: 120px; resize: vertical; }
.fa-feld input[type="file"] { font-size: 14px; max-width: 100%; }
.fa-hilfe { margin: 4px 0 0; font-size: 13px; color: var(--text-leise); }
.fa-haken { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; }
.fa-haken input { width: 18px; height: 18px; }
.fa-leiste { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 600px) {
  .fa-raster { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .fa-bild { height: 115px; }
  .fa-info { padding: 6px 8px 8px; }
  .fa-werkzeug .fa-knopf, .fa-verschieben { flex: 1 1 100%; }
  .fa-drehen { flex: 1 1 100%; }
  .fa-drehen .fa-knopf { flex: 0 0 auto; min-width: 64px; }
  .fa-verschieben select { max-width: none; flex: 1; }
}

/* 2026-11-09: Einzelfoto /photo/<id> (H_templates/photo.html, Zweig „show“) */
.fe { max-width: 860px; }
.fe-pruefung { background: #fdf0d8; border-left: 4px solid #e8a33c; border-radius: 8px; padding: 8px 12px; margin: 0 0 12px; font-weight: 600; }
.fe-bild { margin: 0 0 10px; background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 10px; text-align: center; }
.fe-bild img.fe-foto { display: block; margin: 0 auto; max-width: 100%; height: auto; max-height: 80vh; width: auto; border-radius: 6px; }
.fe-bild figcaption { font-size: 12.5px; color: var(--text-leise); margin-top: 6px; }
.fe-geloescht { margin: 30px 0; font-weight: 600; color: var(--text-leise); }
.fe-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 10px; font-size: 14px; color: var(--text-leise); }
.fe-autor { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.fe-avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--blau); color: #fff; font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center; }
.fe-text { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 12px 14px; margin: 0 0 12px; line-height: 1.5; overflow-wrap: anywhere; }
.fe-leise { color: var(--text-leise); }
.fe-mehr, .fe-kommentare { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 12px 14px; margin: 0 0 12px; }
.fe-mehr h2, .fe-kommentare h2 { font-size: 17px; margin: 0 0 10px; color: var(--blau); }
.fe-mehr p { margin: 8px 0 0; }
.fe-streifen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.fe-streifen a { display: flex; align-items: center; justify-content: center; height: 90px; background: var(--flaeche); border-radius: 8px; border: 2px solid transparent; }
.fe-streifen a[aria-current="page"] { border-color: var(--gelb); }
.fe-streifen img { max-width: 100%; max-height: 80px; width: auto; height: auto; border-radius: 4px; }
.fe-forum { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten); padding: 10px 14px; margin: 0 0 12px; }
.fe-forum > summary { cursor: pointer; font-weight: 700; color: var(--blau); }
.fe-forum .fa-feld { margin: 10px 0 0; }
.fe-forum input[readonly] { background: var(--flaeche); font-size: 14px; }
.fe-formular { margin-top: 12px; }
@media (max-width: 600px) {
  .fe-bild { padding: 6px; }
  .fe-streifen { grid-template-columns: repeat(3, 1fr); }
}
/* Startseite: Fotoblock „Избранные добавления в фотоальбомах“ (H_templates/albom_liste.html) */
.fa-start { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); margin: 8px 0; }
.fa-start-link { margin: 4px 0 8px; }
.fa-start-link a { font-weight: 600; }
/* 2026-11-09 (axe target-size): Häkchen „Автотранслит“ im Kommentarformular als ausreichend große Tippfläche */
input[type="checkbox"][name="a"] { width: 24px; height: 24px; margin: 4px; vertical-align: middle; }
/* 2026-11-09 (axe, nur für Admins sichtbar): „edit“-Link auf Gelb – Linkfarbe Blau ergab zu wenig Kontrast, schwarz wie in main.css */
a.e, [role="main"] a.e { color: #000 !important; }
form[name="edit"] input[type="button"] { min-height: 24px; min-width: 24px; }
/* 2026-11-09: Textfeld im Kommentarformular als Block, damit es die Zeile mit „Автотранслит“/„Транслит“ darunter nicht überdeckt */
form[name="edit"] textarea[name="text"] { display: block; margin-bottom: 8px; box-sizing: border-box; }
form[name="edit"] a.tabl { display: inline-block; white-space: nowrap; }   /* bricht sonst um und überdeckt den Knopf „Транслит“ */
