/* Attische Phraseologie – Darstellung (nur innerhalb von .attphr) */
@font-face { font-family: 'Phraseologie Grc'; font-weight: 400; font-display: swap; src: url('fonts/LibertinusSerif-Regular.woff') format('woff'); }
@font-face { font-family: 'Phraseologie Grc'; font-weight: 600; font-display: swap; src: url('fonts/LibertinusSerif-SemiBold.woff') format('woff'); }
.attphr {
    --text: #1f2328;
    --muted: #6a717b;
    --faint: #9aa1aa;
    --line: #e3e6ea;
    --bg: #ffffff;
    --panel: #f7f8fa;
    --accent: #1f5f9e;
    --accent-soft: #e8f0f9;
    --top: #8a5a00;
    --top-soft: #fff4dc;
    --grc: 'Phraseologie Grc', 'Gentium Plus', 'GFS Didot', 'Noto Serif', 'Times New Roman', serif;
    --ui: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  }
.attphr, .attphr * { box-sizing: border-box; }
.attphr { font-size: 16px; line-height: 1.5; font-family: var(--ui); color: var(--text); }
.attphr { padding-top: 4px; padding-bottom: 40px; }
.attphr header h1 { font: 600 1.5rem/1.2 var(--grc); margin: 0 0 2px; letter-spacing: .01em; }
.attphr header p { margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.attphr .suche { position: relative; }
.attphr .suche input {
    width: 100%; font: 1.15rem var(--ui); padding: 12px 44px 12px 14px;
    border: 1.5px solid var(--line); border-radius: 10px; outline: none; background: #fff; color: var(--text);
  }
.attphr .suche input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.attphr .suche input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.attphr .suche button {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    border: 0; background: none; color: var(--faint); font-size: 1.3rem; cursor: pointer; padding: 4px 8px; display: none;
  }
.attphr .suche.voll button { display: block; }
.attphr .hinweis { color: var(--muted); font-size: .92rem; margin-top: 18px; }
.attphr .hinweis a, .attphr .chip { color: var(--accent); cursor: pointer; text-decoration: none; }
.attphr .chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.attphr .chip { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: .88rem; background: #fff; }
.attphr .chip:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.attphr .chips .titel { color: var(--muted); font-size: .85rem; padding: 3px 4px 0 0; }
.attphr .karte { margin-top: 22px; }
.attphr .karte h2 { font-size: 1.35rem; margin: 0; font-weight: 650; }
.attphr .karte .val { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.attphr .karte .val .sep { color: var(--faint); margin: 0 6px; }
.attphr .karte h2 .wa { font-weight: 400; color: var(--faint); font-size: .85rem; margin-left: 6px; }
.attphr .syn { margin-top: 6px; }
.attphr ol.liste { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.attphr ol.liste li { padding: 12px 2px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; }
.attphr ol.liste li > * { min-width: 0; }
.attphr ol.liste li.top { background: linear-gradient(90deg, var(--top-soft), transparent 70%); }
.attphr .grc { font: 1.3rem/1.3 var(--grc); }
.attphr .grc .schwach { color: var(--muted); font-size: 1.05rem; }
.attphr .tag { font: .72rem var(--ui); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-left: 6px; vertical-align: 3px; }
.attphr .badge { font: 600 .72rem var(--ui); color: var(--top); background: var(--top-soft); border: 1px solid #f0d9a6; border-radius: 4px; padding: 0 6px; margin-left: 6px; vertical-align: 3px; white-space: nowrap; }
.attphr .konstr { grid-column: 1; color: var(--text); font-size: .9rem; }
.attphr .konstr i { color: var(--muted); }
.attphr .konstr .k { font-family: var(--grc); font-size: 1.02rem; }
.attphr .konstr .sep { color: var(--faint); margin: 0 6px; }
.attphr .haeufiger { grid-column: 1; font-size: .85rem; color: var(--top); }
.attphr .haeufiger span { font-family: var(--grc); font-size: 1rem; }
.attphr .anm { grid-column: 1; font-size: .85rem; color: var(--muted); margin-top: 2px; }
.attphr .anm span { font-family: var(--grc); font-size: 1rem; }
.attphr .de { grid-column: 1; font-size: .82rem; color: var(--faint); }
.attphr .de b { color: var(--muted); font-weight: 500; }
.attphr .freq { grid-column: 2; grid-row: 1 / span 3; text-align: right; font-size: .8rem; color: var(--muted); min-width: 84px; padding-top: 4px; white-space: nowrap; }
.attphr .bar { height: 4px; background: var(--line); border-radius: 2px; margin-top: 4px; overflow: hidden; }
.attphr .bar span { display: block; height: 100%; background: var(--accent); opacity: .55; }
.attphr li.top .bar span { background: var(--top); opacity: .7; }
.attphr details.sf { grid-column: 1 / -1; margin-top: 4px; font-size: .86rem; }
.attphr details.sf summary { cursor: pointer; color: var(--accent); width: max-content; list-style: none; }
.attphr details.sf summary::-webkit-details-marker { display: none; }
.attphr details.sf summary::before { content: '▸'; display: inline-block; width: 1em; transition: transform .15s; }
.attphr details.sf[open] summary::before { transform: rotate(90deg); }
.attphr /* Stammformen als Raster: Spalten Fut. | Aor. | Pf., .attphr Zeilen Akt. / Pass. – gleiche Tempora übereinander */
  .sf .reihe { margin: 6px 0 0 1em; display: grid; grid-template-columns: max-content repeat(3, minmax(0, max-content));
               justify-content: start; gap: 1px clamp(8px, 3vw, 16px); align-items: baseline; }
.attphr .sf .verb { grid-column: 1 / -1; font: 600 1rem var(--grc); margin-bottom: 2px; }
.attphr .sf .zeile { display: contents; }
.attphr .sf .gen { color: var(--muted); min-width: 2.6em; }
.attphr .sf .kopf { color: var(--faint); font-style: normal; font-size: .78rem; }
.attphr .sf .f { font: 1.02rem var(--grc); overflow-wrap: break-word; }
.attphr .sf .f.fehlt { color: var(--faint); }
.attphr .leer { margin-top: 22px; color: var(--muted); }
.attphr .fuss { margin-top: 36px; color: var(--faint); font-size: .8rem; line-height: 1.45; }
@media (max-width: 520px) {
.attphr .grc { font-size: 1.18rem; }
.attphr .freq { min-width: 52px; font-size: .75rem; }
.attphr .freq .wort { display: none; }
}

.attphr ol.liste, .attphr ol.liste li { margin: 0; list-style: none; }
.attphr ol.liste { padding: 0; }
.attphr .karte h2 { font-family: var(--ui); color: var(--text); line-height: 1.3; letter-spacing: 0; text-transform: none; }
.attphr .suche input[type=search] { height: auto; min-height: 0; margin: 0; box-shadow: none; -webkit-appearance: none; appearance: none; }
.attphr .suche input[type=search]:focus { box-shadow: 0 0 0 3px var(--accent-soft); }
.attphr .suche button, .attphr .suche button:hover, .attphr .suche button:focus { background: none; border: 0; box-shadow: none; min-height: 0; height: auto; width: auto; line-height: 1; color: var(--faint); }
.attphr a, .attphr a:hover, .attphr a:focus { text-decoration: none; box-shadow: none; }
.attphr .chip, .attphr .hinweis a { color: var(--accent); }
.attphr details.sf summary { margin: 0; padding: 0; font-weight: 400; }
.attphr p { margin-bottom: 0; }
