/* photo-answer.css – QRENA Foto-Antwort System v1.0.0 */
/* Design Hook: Polaroid-Slide-Up (Schüler) + Film-Strip-Accent (Lehrer-Review) */
/* Dual-Mode: SOL + Rallye-Bewertungsaufgaben */
/* Prefix: pa- (photo-answer) – keine Konflikte mit bestehenden Klassen */

/* ──────────────────────────────────────────────────────────────
   1. SCHÜLER-SEITE – Kamera-Zone im Antwortformular
   ────────────────────────────────────────────────────────────── */

/* Trenner "— oder —" zwischen Textarea und Kamera-Option */
.pa-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.pa-divider::before,
.pa-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* Kamera-Button-Wrapper */
.pa-camera-zone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* Kamera-Button — 52×52px Icon-Only, EXCLUDED from global button rule */
.pa-btn-camera {
  position: relative;
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 14px;
  border: 1.5px solid rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.08);
  color: #818cf8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out, background 180ms ease-out;
  overflow: hidden;
  flex-shrink: 0;
}
.pa-btn-camera:hover {
  transform: translateY(-2px);
  background: rgba(99, 102, 241, 0.14);
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.28), 0 1px 4px rgba(0, 0, 0, 0.4);
}
.pa-btn-camera:active {
  transform: scale(0.95);
}
.pa-btn-camera svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.pa-btn-camera:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Upload-Spinner (erscheint über dem Kamera-Icon) */
.pa-btn-camera .pa-spinner {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.12);
  border-radius: 13px;
}
.pa-btn-camera.pa-uploading .pa-spinner {
  display: flex;
}
.pa-btn-camera.pa-uploading svg.pa-camera-icon {
  opacity: 0.25;
}
.pa-spinner-ring {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(129, 140, 248, 0.2);
  border-top-color: #818cf8;
  border-radius: 50%;
  animation: pa-spin 0.7s linear infinite;
}
@keyframes pa-spin {
  to { transform: rotate(360deg); }
}

/* Kamera-Label neben dem Button */
.pa-camera-label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pa-camera-label-text {
  font-size: var(--fs-sm);
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}
.pa-camera-label-sub {
  font-size: var(--fs-xs);
  color: var(--muted);
  opacity: 0.65;
}

/* Hidden file input — accessibel per visually-hidden */
.pa-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ──────────────────────────────────────────────────────────────
   2. POLAROID PREVIEW (nach Fotoauswahl)
   ────────────────────────────────────────────────────────────── */

.pa-polaroid-wrap {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  animation: pa-slideUp 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.pa-polaroid-wrap.pa-visible {
  display: flex;
}

@keyframes pa-slideUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Der Polaroid-Rahmen */
.pa-polaroid {
  position: relative;
  background: #ffffff;
  padding: 5px 5px 18px 5px;
  border-radius: 3px;
  transform: rotate(-2deg);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.45),
    0 1px 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
  display: inline-block;
}
.pa-polaroid:hover {
  transform: rotate(-1deg) translateY(-3px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.35);
}
.pa-polaroid-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  display: block;
  border-radius: 1px;
}

/* Remove-Button — klein, oben rechts über dem Polaroid */
.pa-btn-remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  border-radius: 50%;
  background: var(--error);
  color: #fff;
  border: 2px solid var(--panel);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}
.pa-btn-remove:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.55);
}
.pa-btn-remove svg {
  width: 11px;
  height: 11px;
}

/* Upload-Status-Label unter dem Polaroid */
.pa-upload-status {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pa-upload-status--pending { color: var(--muted); }
.pa-upload-status--uploading { color: #818cf8; }
.pa-upload-status--done { color: var(--success); }
.pa-upload-status--error { color: var(--error); }
.pa-upload-status svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────────
   3. DSGVO-CONSENT BANNER (einmalig, Schülerseite)
   ────────────────────────────────────────────────────────────── */

.pa-consent-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 9998;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}
.pa-consent-overlay.pa-visible {
  display: flex;
  animation: pa-fadeIn 200ms ease-out both;
}
@keyframes pa-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.pa-consent-card {
  background: var(--panel-2);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 20px;
  padding: 22px 20px;
  max-width: 420px;
  width: 100%;
  box-shadow:
    0 -4px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: pa-sheetUp 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pa-sheetUp {
  from { transform: translateY(40px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.pa-consent-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #818cf8;
}
.pa-consent-icon svg { width: 20px; height: 20px; }

.pa-consent-title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.pa-consent-body {
  font-size: var(--fs-sm);
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 18px;
}
.pa-consent-body strong {
  color: var(--text-secondary);
  font-weight: 600;
}

.pa-btn-consent-ok {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.pa-btn-consent-ok:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.45);
}
.pa-btn-consent-ok svg { width: 16px; height: 16px; }

/* ──────────────────────────────────────────────────────────────
   3b. KAMERA-DIREKTAUFNAHME (FIX 2026-07-20, FUND-7) — Vollbild-Vorschau + Snapshot
   ────────────────────────────────────────────────────────────── */

.pa-capture-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#paCaptureVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pa-capture-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(28px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.pa-btn-capture-shoot {
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  padding: 0;
  transition: transform 120ms ease-out;
}
.pa-btn-capture-shoot:active { transform: scale(0.92); }

.pa-btn-capture-cancel,
.pa-btn-capture-switch {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* ──────────────────────────────────────────────────────────────
   4. LEHRER-REVIEW-KARTE — Film-Strip-Accent + Thumbnail
   ────────────────────────────────────────────────────────────── */

/* Marker auf bestehenden Review-Karten: .pa-has-photo */
.pa-has-photo {
  position: relative;
  padding-left: 14px !important;
}

/* Film-Strip: 3 Segmente, indigo/transparent/indigo */
.pa-has-photo::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  border-radius: 3px 0 0 3px;
  background: repeating-linear-gradient(
    to bottom,
    #6366f1 0px,
    #6366f1 28%,
    rgba(99, 102, 241, 0.12) 28%,
    rgba(99, 102, 241, 0.12) 36%,
    #6366f1 36%,
    #6366f1 64%,
    rgba(99, 102, 241, 0.12) 64%,
    rgba(99, 102, 241, 0.12) 72%,
    #6366f1 72%,
    #6366f1 100%
  );
}

/* Thumbnail-Button in Review-Karte */
.pa-btn-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(99, 102, 241, 0.3);
  cursor: pointer;
  background: var(--panel-3);
  flex-shrink: 0;
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pa-btn-thumb:hover {
  transform: scale(1.06);
  border-color: rgba(99, 102, 241, 0.65);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18), 0 4px 16px rgba(0, 0, 0, 0.4);
}
.pa-btn-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lupe-Overlay beim Hover auf Thumbnail */
.pa-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 160ms ease-out;
}
.pa-btn-thumb:hover .pa-thumb-overlay {
  opacity: 1;
}
.pa-thumb-overlay svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

/* Review-Karte Layout mit Thumbnail */
.pa-review-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  /* FUND-1 FIX: ohne min-width:0 wuchs diese Zeile auf ihre Content-basierte
     Mindestbreite (getrieben von den nowrap-Kindern Titel/Meta/Antwort-Vorschau),
     was in der schmalen Smart-Inbox-Spalte über die Kartenbreite hinausragte und
     vom overflow:hidden der Karte rechts abgeschnitten wurde ("Fehler"-Button
     abgeschnitten, "Tipp"-Button komplett unsichtbar, obwohl im DOM vorhanden). */
  min-width: 0;
}
.pa-review-content {
  flex: 1;
  min-width: 0;
}

/* Kompakter Foto-Indicator in der Smart-Inbox-Liste (kein <img> mehr dort –
   das eigentliche Foto erscheint erst in der Detailansicht/Lightbox).
   FUND-1: sitzt jetzt ÜBER statt NEBEN dem Inhalt (siehe sol-radar.js renderInbox),
   damit die 3 Aktions-Buttons mehr horizontalen Platz in der schmalen Spalte haben. */
.pa-photo-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-bottom: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #c4b5fd;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ──────────────────────────────────────────────────────────────
   4b. REVIEW-AKTIONEN – Bewerten-Buttons (SOL-Radar / Live-Control)
   ────────────────────────────────────────────────────────────── */

.pa-review-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.pa-btn-grade {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  min-height: 30px;
  min-width: 30px;
  transition: background 160ms ease-out, border-color 160ms ease-out, transform 120ms ease-out, box-shadow 160ms ease-out;
  white-space: nowrap;
}
.pa-btn-grade svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}
.pa-btn-grade:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* Approve: Grün */
.pa-btn-grade--approve {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  color: #34d399;
}
.pa-btn-grade--approve:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

/* Reject: Rot */
.pa-btn-grade--reject {
  background: rgba(239, 68, 68, 0.10);
  border-color: rgba(239, 68, 68, 0.25);
  color: #f87171;
}
.pa-btn-grade--reject:hover:not(:disabled) {
  background: rgba(239, 68, 68, 0.20);
  border-color: rgba(239, 68, 68, 0.5);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.22);
}

/* ──────────────────────────────────────────────────────────────
   4c. TOAST NOTIFICATION (SOL-Radar / Live-Control)
   ────────────────────────────────────────────────────────────── */

.pa-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease-out, transform 200ms ease-out;
  white-space: nowrap;
}
.pa-toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.pa-toast--success {
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2), 0 4px 8px rgba(0, 0, 0, 0.3);
}
.pa-toast--error {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2), 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ──────────────────────────────────────────────────────────────
   5. LIGHTBOX – Desktop + Tablet Bottom-Sheet
   ────────────────────────────────────────────────────────────── */

.pa-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 16px;
}
.pa-lightbox.pa-open {
  display: flex;
  animation: pa-fadeIn 200ms ease-out both;
}

/* Desktop Modal */
.pa-lightbox-modal {
  position: relative;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  max-width: min(820px, calc(100vw - 32px));
  width: 100%;
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  box-shadow:
    0 24px 72px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: pa-modalIn 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes pa-modalIn {
  from { opacity: 0; transform: scale(0.94) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Header */
.pa-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.02);
}
.pa-lightbox-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pa-lightbox-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.pa-lightbox-sub {
  font-size: var(--fs-xs);
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* Image Container */
.pa-lightbox-img-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.25);
  cursor: zoom-in;
  min-height: 0;
}
.pa-lightbox-img-wrap.pa-zoomed {
  cursor: zoom-out;
  overflow: auto;
  align-items: flex-start;
  justify-content: flex-start;
}
.pa-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
  user-select: none;
  -webkit-user-select: none;
}
.pa-lightbox-img-wrap.pa-zoomed .pa-lightbox-img {
  max-width: none;
  max-height: none;
  transform: scale(2.2);
  transform-origin: top left;
}

/* Toolbar (Zoom + Close) */
.pa-lightbox-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pa-btn-lightbox {
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease-out, transform 160ms ease-out;
}
.pa-btn-lightbox:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.08);
}
.pa-btn-lightbox svg { width: 16px; height: 16px; }
.pa-btn-lightbox-close {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.2);
  color: var(--error);
}
.pa-btn-lightbox-close:hover {
  background: rgba(239, 68, 68, 0.22);
}

/* ──────────────────────────────────────────────────────────────
   6. TABLET BOTTOM-SHEET (≤1023px)
   ────────────────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .pa-lightbox {
    align-items: flex-end;
    padding: 0;
    background: rgba(0, 0, 0, 0.8);
  }
  .pa-lightbox-modal {
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    max-height: 92vh;
    animation: pa-sheetUp 350ms cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  /* Handle-Bar */
  .pa-lightbox-modal::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    margin: 10px auto 0;
    flex-shrink: 0;
  }
  .pa-lightbox-img-wrap {
    max-height: 55vh;
  }
}

/* ──────────────────────────────────────────────────────────────
   7. LEHRER-DSGVO-HINWEIS BANNER (lehrkraft, einmalig)
   ────────────────────────────────────────────────────────────── */

.pa-teacher-notice {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  margin-bottom: 16px;
  animation: pa-slideUp 300ms ease-out both;
}
.pa-teacher-notice.pa-visible { display: flex; }

.pa-teacher-notice-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  background: rgba(99, 102, 241, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #818cf8;
  margin-top: 1px;
}
.pa-teacher-notice-icon svg { width: 16px; height: 16px; }

.pa-teacher-notice-text {
  flex: 1;
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.55;
}
.pa-teacher-notice-text strong {
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
  font-size: var(--fs-sm);
}

.pa-btn-notice-close {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms ease-out, color 150ms ease-out;
  flex-shrink: 0;
}
.pa-btn-notice-close:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}
.pa-btn-notice-close svg { width: 14px; height: 14px; }

/* ──────────────────────────────────────────────────────────────
   8. RESPONSIVE TWEAKS
   ────────────────────────────────────────────────────────────── */

/* Auf sehr kleinen Screens (≤360px) Thumbnail etwas kleiner */
@media (max-width: 360px) {
  .pa-btn-thumb {
    width: 54px;
    height: 54px;
    min-width: 54px;
    min-height: 54px;
  }
  .pa-polaroid-img {
    width: 84px;
    height: 84px;
  }
}

/* Print: Thumbnails ausblenden */
@media print {
  .pa-lightbox,
  .pa-consent-overlay,
  .pa-teacher-notice { display: none !important; }
  .pa-btn-thumb { display: none !important; }
}
