/* FPA Steckbrief 0.2.4 – FPC-Blau #3a6d9c / #349ddc / #0b6ab7, weiße Karten. */
.fpa-sb { --b1: #3a6d9c; --b2: #349ddc; --b3: #0b6ab7; display: grid; gap: 14px; font-size: 15px; }
.fpa-sb *, .fpa-sb *::before, .fpa-sb *::after { box-sizing: border-box; }
.fpa-sb__karte { background: #fff; border: 1px solid #dfe5ec; border-radius: 10px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(20, 40, 70, .06); }
.fpa-sb__karte > h3 { margin: 0 0 10px !important; padding-bottom: 6px; border-bottom: 2px solid var(--b2); font-size: 1.05rem; font-weight: 800; color: #1f2328; }
.fpa-sb__kopf { display: flex; gap: 16px; align-items: flex-start; }
.fpa-sb__avatar { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--b2); background: #e9edf2; }
.fpa-sb__avatar--leer { display: flex; align-items: center; justify-content: center; font: 800 40px/1 system-ui, sans-serif; color: var(--b1); }
.fpa-sb__wer h2 { margin: 2px 0 4px !important; font-size: 1.6rem; font-weight: 800; color: #1f2328; }
.fpa-sb__badge { display: inline-block; padding: 1px 10px; border-radius: 999px; background: #fff4d6; color: #7a5600; font-size: .78rem; font-weight: 700; }
.fpa-sb__meta { margin: 4px 0 !important; color: #5f6670; font-size: .88rem; }
.fpa-sb__ueber { margin: 6px 0 0 !important; }
.fpa-sb__zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fpa-sb__zahlen div { padding: 10px; border-radius: 8px; background: #f2f6fa; }
.fpa-sb__zahlen b { display: block; font-size: 1.7rem; line-height: 1.1; color: var(--b3); }
.fpa-sb__zahlen span { font-size: .82rem; color: #4a5560; }
.fpa-sb__typen { list-style: none !important; margin: 10px 0 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 14px; }
.fpa-sb__typen li { display: flex; justify-content: space-between; margin: 0 !important; padding: 0; border-bottom: 1px dotted #d5dde6; font-size: .88rem; align-items: stretch; }
.fpa-sb__typen li > span { padding: 3px 0; }
.fpa-sb__typen b { color: var(--b1); }
.fpa-sb__typ {
  display: flex; justify-content: space-between; align-items: center; gap: 8px; width: 100%;
  margin: 0; padding: 3px 0; border: 0; background: transparent; font: inherit; color: inherit;
  cursor: pointer; text-align: left; border-radius: 4px;
}
.fpa-sb__typ:hover, .fpa-sb__typ:focus-visible { color: var(--b3); outline: none; }
.fpa-sb__typ:hover span, .fpa-sb__typ:focus-visible span { text-decoration: underline; text-underline-offset: 2px; }
.fpa-sb__typ b { color: var(--b3); }
.fpa-sb__typ::after { content: "›"; color: var(--b2); font-weight: 700; margin-left: 2px; }
.fpa-sb__dlg {
  border: 0; border-radius: 12px; padding: 0; width: min(560px, calc(100vw - 24px));
  max-height: min(80vh, 720px); box-shadow: 0 12px 40px rgba(20, 40, 70, .22);
  color: inherit; font: inherit;
}
.fpa-sb__dlg::backdrop { background: rgba(15, 30, 50, .45); }
.fpa-sb__dlg-kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  position: sticky; top: 0; background: #fff; padding: 12px 14px 10px;
  border-bottom: 2px solid var(--b2); z-index: 1;
}
.fpa-sb__dlg-kopf h3 { margin: 0 !important; font-size: 1.05rem; font-weight: 800; color: #1f2328; }
.fpa-sb__dlg-kopf h3 small { font-weight: 600; color: #6b7480; }
.fpa-sb__dlg-x {
  flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 8px;
  background: #eef3f8; color: #1f2328; font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.fpa-sb__dlg-x:hover { background: var(--b2); color: #fff; }
.fpa-sb__dlg .fpa-sb__liste { padding: 4px 14px 14px !important; margin: 0 !important; overflow: auto; max-height: calc(min(80vh, 720px) - 58px); }
.fpa-sb__felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 0 !important; }
.fpa-sb__felder dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; color: #6b7480; font-weight: 600; }
.fpa-sb__felder dd { margin: 0 !important; font-weight: 700; color: #1f2328; }
.fpa-sb__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0 !important; }
.fpa-sb__chips a { padding: 3px 10px; border-radius: 999px; border: 1px solid #cfd9e4; background: #f6f9fc; font-size: .82rem; color: var(--b3); text-decoration: none; }
.fpa-sb__chips a:hover { background: var(--b2); color: #fff; }
.fpa-sb__zwei { display: grid; grid-template-columns: 3fr 2fr; gap: 14px; }
.fpa-sb__liste { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.fpa-sb__liste li { display: flex; justify-content: space-between; gap: 10px; margin: 0 !important; padding: 6px 0; border-bottom: 1px solid #eef1f4; }
.fpa-sb__liste a { font-weight: 700; color: #1f2328; text-decoration: none; }
.fpa-sb__liste a:hover { color: var(--b3); }
.fpa-sb__liste small { display: block; color: #6b7480; font-size: .8rem; }
.fpa-sb__liste time { flex: 0 0 auto; color: #6b7480; font-size: .82rem; }
.fpa-sb__laender { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.fpa-sb__laender li { display: grid; grid-template-columns: minmax(0, 9em) 1fr 2.4em; align-items: center; gap: 8px; margin: 0 !important; padding: 3px 0; font-size: .86rem; }
.fpa-sb__laender span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fpa-sb__laender i { display: block; height: 7px; border-radius: 4px; background: #e6edf4; }
.fpa-sb__laender em { display: block; height: 100%; border-radius: 4px; background: var(--b2); }
.fpa-sb__laender b { text-align: right; }
.fpa-sb__klein { margin: 8px 0 0 !important; font-size: .78rem; color: #7a838e; font-weight: 400; }
.fpa-sb__hinweis { margin: 0 !important; color: #5f6670; }
.fpa-sb .fpa-fotos { margin-top: 0; }
.fpa-sb .fpa-fotos__monat h3 small { margin: 0 !important; }
@media (max-width: 760px) {
  .fpa-sb__zahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fpa-sb__felder, .fpa-sb__zwei { grid-template-columns: 1fr; }
  .fpa-sb__kopf { flex-direction: column; align-items: center; text-align: center; }
}

/* 0.2.0 – Patron-Krone, öffentliches Profil, Mein-Konto-Karte */
.fpa-sb__ava { position: relative; flex: 0 0 96px; width: 96px; height: 96px; display: block; }
.fpa-sb__ava img.fpa-sb__avatar { display: block; }
.fpa-sb__ava--patron .fpa-sb__avatar { border-color: #f2b705; box-shadow: 0 0 0 2px #fff4d6; }
.fpa-sb__ava .fpa-sb__krone { position: absolute; top: -8px; right: -6px; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #ffd54a, #f2a900); color: #fff; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(120, 80, 0, .35); transform: rotate(14deg); }
.fpa-sb__badge .fpa-sb__krone { display: inline-flex; vertical-align: -2px; color: #d99a00; }
.fpa-sb__oeff a { color: var(--b3); word-break: break-all; }
.fpa-sb-seite { display: block; padding: 6px 0 24px; }
.fpa-sb-seite__titel { margin: 0 0 12px !important; font-size: 1.5rem; font-weight: 800; color: #1f2328; }
.fpa-sb-karte { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin: 14px 0; padding: 14px 16px; border-radius: 10px; background: linear-gradient(135deg, #1e3f61, #3a6d9c); color: #fff; }
.fpa-sb-karte strong { display: block; font-size: 1.1rem; }
.fpa-sb-karte span { display: block; font-size: .88rem; opacity: .9; }
.fpa-sb-karte p { margin: 0 !important; display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.fpa-sb-karte .fpa-sb-karte__btn { background: linear-gradient(180deg, #349ddc, #0b6ab7) !important; color: #fff !important; border: 0 !important; border-radius: 6px; padding: 8px 16px !important; font-weight: 700; text-decoration: none; }
.fpa-sb-karte .fpa-sb-karte__oeff { color: #cfe8ff !important; text-decoration: underline; font-size: .9rem; }
.woocommerce-MyAccount-navigation-link--steckbrief a { font-weight: 700; }
/* 0.2.0 – Vorschaubilder in Listen (wie App) */
.fpa-sb__liste--bild li { align-items: center; justify-content: flex-start; }
.fpa-sb__liste--bild li > span { flex: 1 1 auto; min-width: 0; }
.fpa-sb__liste--bild .fpa-sb__bildlink { flex: 0 0 auto; line-height: 0; }
.fpa-sb__thumb { flex: 0 0 56px; width: 56px !important; height: 42px !important; max-width: none !important; object-fit: cover; border-radius: 6px; background: #eceef1; display: block; }
.fpa-sb__thumb--leer { display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #349ddc, #0b6ab7); }
.fpa-sb__zahlen .fpa-sb__zahl-klick { padding: 0; background: none; }
.fpa-sb__zahlen .fpa-sb__zahl-btn { display: block !important; width: 100%; height: 100%; text-align: left; padding: 10px !important; border-radius: 8px; background: #f2f6fa !important; border: 1px solid #cfe0ef !important; cursor: pointer; }
.fpa-sb__zahlen .fpa-sb__zahl-btn:hover { background: #e6f0f9 !important; }
.fpa-sb__zahlen .fpa-sb__zahl-btn span::after { content: " ›"; color: var(--b3); font-weight: 700; }
.fpa-sb__dlg--parks .fpa-sb__thumb { object-fit: contain; background: #fff; border: 1px solid #eceef1; }
/* 0.2.0 – Fotos-Monate als Akkordeon */
.fpa-sb__monat { border-bottom: 1px solid #eef1f4; }
.fpa-sb__monat > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.fpa-sb__monat > summary::-webkit-details-marker { display: none; }
.fpa-sb__monat > summary::before { content: "›"; display: inline-block; width: 1em; font-weight: 800; color: var(--b3); transition: transform .15s; }
.fpa-sb__monat[open] > summary::before { transform: rotate(90deg); }
.fpa-sb__monat > summary h3 { margin: 0 !important; display: inline; }
.fpa-sb__monat > summary:hover h3 { color: var(--b3); }
.fpa-sb__monat[open] > ul { margin-bottom: 10px !important; }

/* 0.2.4 – Kopf über der Mein-Konto-Navigation */
.fpa-sb--oben { display: grid; gap: 0; margin: 0 0 14px; }
.woocommerce-MyAccount-navigation { margin-top: 0; }

/* 0.3.10 – klickbare Länder + Counter-Links */
.fpa-sb__zahlen a.fpa-sb__zahl-btn { text-decoration: none; color: inherit; box-sizing: border-box; }
.fpa-sb__laender li { position: relative; }
.fpa-sb__land {
  display: grid; grid-template-columns: minmax(0, 9em) 1fr 2.4em; align-items: center; gap: 8px;
  width: 100%; margin: 0; padding: 3px 0; border: 0; background: none; font: inherit; cursor: pointer;
  text-align: left; color: inherit; border-radius: 4px;
}
.fpa-sb__land:hover span, .fpa-sb__land:focus-visible span { color: var(--b3); text-decoration: underline; text-underline-offset: 2px; }
.fpa-sb__land:focus-visible { outline: 2px solid var(--b2); outline-offset: 2px; }
.fpa-sb__land b { text-align: right; }
.fpa-sb__land b::after { content: " ›"; color: var(--b3); font-weight: 700; }

/* 0.3.11 – Counter-Zahlen Patron-Sperre */
.fpa-sb__sperre { display: flex; align-items: center; gap: 12px; margin: 4px 0 0; padding: 12px 14px; border-radius: 10px; background: #fff4ee; border: 1px solid #ffd2b8; }
.fpa-sb__sperre-ico { flex: 0 0 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #f97316; color: #fff; font-size: 1.05rem; }
.fpa-sb__sperre-text { flex: 1 1 auto; font-size: .9rem; line-height: 1.4; color: #3b4450; }
.fpa-sb__sperre-text strong { color: #b33a00; display: block; margin-bottom: 2px; }
.fpa-sb__sperre-knopf { flex: 0 0 auto; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; background: #f97316; color: #fff !important; font-weight: 800; font-size: .88rem; text-decoration: none !important; white-space: nowrap; }
.fpa-sb__sperre-knopf:hover { background: #ea580c; }
@media (max-width: 640px) {
  .fpa-sb__sperre { flex-wrap: wrap; }
  .fpa-sb__sperre-knopf { width: 100%; justify-content: center; }
}
