
  :root {
    --bg: #f6f4f9; --panel: #fff; --ink: #1d1428; --muted: #6f6680; --line: #e8e3ef;
    --brand: #120d1c; --pink: #ff4fb4; --orange: #ff8a5c; --yellow: #ffd84d; --teal: #12a9ae;
    --stage: linear-gradient(90deg, var(--pink), var(--orange) 55%, var(--yellow));
    --ok: #1f9d63; --danger: #d6345a;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font: 400 15px/1.5 "Poppins", system-ui, sans-serif; background: var(--bg); color: var(--ink); }
  button { font: inherit; cursor: pointer; }
  a { color: inherit; text-decoration: none; }

  /* login */
  .login { position: fixed; inset: 0; z-index: 100; background: #120d1c; display: grid; place-items: center; padding: 16px; }
  .login::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,79,180,.3), transparent 50%), radial-gradient(circle at 20% 80%, rgba(25,195,201,.2), transparent 50%); }
  .login-card { position: relative; background: #fff; border-radius: 24px; padding: 40px; width: min(400px, 100%); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6); }
  .login-card .logo { background: #120d1c; border-radius: 16px; padding: 18px; display: grid; place-items: center; margin-bottom: 26px; }
  .login-card .logo img { height: 60px; }
  .login-card h1 { font-family: "Anton"; font-weight: 400; text-transform: uppercase; font-size: 1.8rem; margin-bottom: 18px; }
  .login.hidden { display: none; }

  /* layout */
  .app { display: grid; grid-template-columns: 250px minmax(0, 1fr); min-height: 100vh; }
  aside { background: var(--brand); color: #e9e2f3; padding: 22px 16px; display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
  aside .logo { padding: 6px 10px 26px; }
  aside .logo img { height: 44px; }
  aside a.nav { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-weight: 500; font-size: .93rem; opacity: .75; }
  aside a.nav:hover { background: rgba(255,255,255,.06); opacity: 1; }
  aside a.nav.on { background: rgba(255,255,255,.1); opacity: 1; box-shadow: inset 3px 0 0 var(--pink); }
  aside a.nav .n { margin-left: auto; font-size: .72rem; background: rgba(255,255,255,.12); padding: 1px 8px; border-radius: 99px; }
  aside .sep { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; opacity: .45; padding: 18px 14px 6px; }
  aside .me { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: .85rem; }
  .avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--stage); color: #1a0f22; display: grid; place-items: center; font-weight: 700; font-size: .85rem; flex: none; }
  main { padding: 30px clamp(16px, 3vw, 44px) 60px; min-width: 0; }
  .topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
  .topbar h1 { font-family: "Anton"; font-weight: 400; text-transform: uppercase; font-size: 2.2rem; line-height: 1; }
  .topbar p { color: var(--muted); font-size: .9rem; }
  .mobile-nav { display: none; }
  @media (max-width: 860px) {
    .app { grid-template-columns: minmax(0, 1fr); }
    aside { display: none; }
    .mobile-nav { display: flex; gap: 6px; overflow-x: auto; background: var(--brand); padding: 10px 12px; position: sticky; top: 0; z-index: 20; }
    .mobile-nav a { color: #fff; font-size: .82rem; padding: 7px 12px; border-radius: 99px; white-space: nowrap; opacity: .7; }
    .mobile-nav a.on { background: rgba(255,255,255,.14); opacity: 1; }
  }

  /* éléments */
  .btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 12px; padding: 10px 18px; font-weight: 600; font-size: .9rem; }
  .btn-primary { background: var(--brand); color: #fff; }
  .btn-primary:hover { background: #2a1f3c; }
  .btn-stage { background: var(--stage); color: #1a0f22; }
  .btn-light { background: #fff; border: 1px solid var(--line); }
  .btn-light:hover { border-color: #cfc6dc; }
  .btn-danger { background: none; color: var(--danger); padding-left: 0; }
  .btn-full { width: 100%; justify-content: center; padding: 13px; }
  .panel { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
  .panel-h { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
  .panel-h h2 { font-size: 1rem; }
  .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
  .grid2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; }
  @media (max-width: 1100px) { .grid4 { grid-template-columns: 1fr 1fr; } .grid2 { grid-template-columns: minmax(0, 1fr); } }
  .kpi { padding: 20px 22px; }
  .kpi span { font-size: .8rem; color: var(--muted); }
  .kpi b { display: block; font-family: "Anton"; font-weight: 400; font-size: 2.2rem; line-height: 1.2; }
  .quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 22px; }
  .quick button { background: var(--bg); border: 1px dashed #cfc6dc; border-radius: 14px; padding: 18px 10px; font-weight: 600; font-size: .85rem; display: grid; gap: 6px; justify-items: center; }
  .quick button:hover { border-color: var(--pink); background: #fff5fb; }
  .quick i { font-style: normal; font-size: 1.5rem; }

  .toolbar { display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
  .search { flex: 1; min-width: 200px; position: relative; }
  .search input { width: 100%; padding: 10px 14px 10px 38px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
  .search::before { content: "⌕"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.1rem; }
  .seg { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 3px; }
  .seg button { border: 0; background: none; padding: 7px 14px; border-radius: 9px; font-size: .85rem; font-weight: 500; color: var(--muted); }
  .seg button.on { background: var(--brand); color: #fff; }

  table { width: 100%; border-collapse: collapse; }
  th { text-align: left; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 12px 16px; border-bottom: 1px solid var(--line); }
  td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
  tr:last-child td { border-bottom: 0; }
  tbody tr { cursor: pointer; }
  tbody tr:hover { background: #faf8fc; }
  td .t { font-weight: 600; }
  td .s { font-size: .8rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
  .panel:has(table) { overflow-x: auto; }
  .thumb { width: 72px; height: 46px; border-radius: 8px; object-fit: cover; display: block; background: var(--line); }
  .datebox { width: 50px; text-align: center; line-height: 1.05; }
  .datebox b { font-family: "Anton"; font-weight: 400; font-size: 1.4rem; display: block; }
  .datebox span { font-size: .7rem; text-transform: uppercase; color: var(--muted); }
  .pill { display: inline-block; font-size: .72rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
  .p-konzert { background: #ffe3f3; color: #b0237a; } .p-auftritt { background: #ffeadf; color: #b4501f; }
  .p-offen { background: #fff4c7; color: #8a6a00; } .p-intern { background: #efecf3; color: #5c5370; } .p-verein { background: #dcf5f6; color: #0b7b80; }
  .p-pub { background: #ddf3e8; color: var(--ok); } .p-draft { background: #efecf3; color: #5c5370; }
  .p-tag { background: #dcf5f6; color: #0b7b80; }
  .star { color: #e5a400; }
  @media (max-width: 1100px) { .hide-md { display: none; } }
  @media (max-width: 700px) { .hide-sm { display: none; } }
  .vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
  .vcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; cursor: pointer; transition: box-shadow .2s; }
  .vcard:hover { box-shadow: 0 10px 30px -12px rgba(29,20,40,.25); }
  .vcard img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
  .vcard div { padding: 12px 14px; }
  .vcard b { display: block; font-size: .92rem; }
  .vcard span { font-size: .78rem; color: var(--muted); }

  /* drawer */
  .scrim { position: fixed; inset: 0; background: rgba(18,13,28,.45); z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; }
  .scrim.on { opacity: 1; pointer-events: auto; }
  .drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100%); background: #fff; z-index: 50; transform: translateX(100%); transition: transform .3s; display: flex; flex-direction: column; box-shadow: -20px 0 60px -20px rgba(0,0,0,.3); }
  .drawer.on { transform: none; }
  .drawer header { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
  .drawer header h2 { font-family: "Anton"; font-weight: 400; text-transform: uppercase; font-size: 1.5rem; }
  .drawer .x { border: 0; background: var(--bg); width: 36px; height: 36px; border-radius: 50%; font-size: 1.2rem; }
  .drawer .body { padding: 22px 26px; overflow-y: auto; flex: 1; display: grid; gap: 18px; align-content: start; }
  .drawer footer { padding: 16px 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 6px; }
  .field .hint { font-size: .76rem; color: var(--muted); margin-top: 5px; }
  .field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 11px 13px; font: inherit; background: #fff; color: var(--ink); }
  .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid rgba(255,79,180,.35); border-color: var(--pink); }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
  @media (max-width: 520px) { .row, .row3 { grid-template-columns: 1fr; } }
  .switch { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
  .switch small { display: block; color: var(--muted); font-size: .78rem; }
  .switch input { appearance: none; width: 42px; height: 24px; border-radius: 99px; background: #d9d2e3; position: relative; cursor: pointer; flex: none; transition: background .2s; }
  .switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .2s; }
  .switch input:checked { background: var(--ok); }
  .switch input:checked::after { transform: translateX(18px); }
  .drop { border: 2px dashed #d9d2e3; border-radius: 14px; padding: 18px; text-align: center; color: var(--muted); font-size: .85rem; position: relative; overflow: hidden; }
  .drop img { width: 100%; max-height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
  .drop b { color: var(--ink); }
  .editor { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
  .editor .tb { display: flex; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line); background: #faf8fc; }
  .editor .tb button { border: 0; background: none; width: 34px; height: 30px; border-radius: 7px; font-weight: 700; }
  .editor .tb button:hover { background: #fff; }
  .editor [contenteditable] { padding: 14px; min-height: 220px; max-height: 360px; overflow-y: auto; outline: none; font-size: .92rem; line-height: 1.7; }
  .editor [contenteditable] p { margin-bottom: .8em; }
  .yt-preview { display: flex; gap: 12px; align-items: center; background: var(--bg); border-radius: 12px; padding: 10px; }
  .yt-preview img { width: 120px; border-radius: 8px; }
  .toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 120px); background: var(--brand); color: #fff; padding: 12px 22px; border-radius: 99px; font-weight: 500; z-index: 80; transition: transform .3s; }
  .toast.on { transform: translate(-50%, 0); }
  .preview-link { font-size: .85rem; font-weight: 600; color: var(--teal); }
  .pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; max-height: 300px; overflow-y: auto; padding: 2px; }
  .pick label { position: relative; border: 2px solid var(--line); border-radius: 12px; overflow: hidden; cursor: pointer; font-size: .76rem; line-height: 1.3; background: #fff; }
  .pick label:has(input:checked) { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(255,79,180,.15); }
  .pick input { position: absolute; top: 6px; left: 6px; width: 18px; height: 18px; accent-color: var(--pink); }
  .pick img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
  .pick span { display: block; padding: 6px 8px; }
  .pick small { color: var(--muted); display: block; }
  .links-box { background: var(--bg); border-radius: 14px; padding: 14px 16px; display: grid; gap: 12px; }
  .links-box h4 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .link-item { display: flex; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; cursor: pointer; font-size: .85rem; }
  .link-item:hover { border-color: #cfc6dc; }
  .link-item img { width: 56px; height: 34px; object-fit: cover; border-radius: 6px; flex: none; }
  .link-actions { display: flex; gap: 8px; flex-wrap: wrap; }
  .btn-xs { padding: 6px 12px; font-size: .8rem; border-radius: 9px; }
  .rel { display: flex; gap: 6px; }
  .rel span { font-size: .72rem; font-weight: 600; background: var(--bg); border-radius: 99px; padding: 2px 8px; white-space: nowrap; }
  .mthumb { position: relative; }
  .mthumb img, .mthumb .audio-tile { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
  .audio-tile { display: grid; place-items: center; font-size: 1.8rem; color: #fff; background: linear-gradient(135deg, #2a1f3c, #5b2a6e); aspect-ratio: 16/9; }
  .mtype { position: absolute; top: 6px; right: 6px; background: rgba(18,13,28,.75); color: #fff; font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
  .vcard .mthumb img, .vcard .mthumb .audio-tile { aspect-ratio: 16/9; }
  .li-thumb { width: 56px; flex: none; border-radius: 6px; overflow: hidden; }
  .li-thumb img, .li-thumb .audio-tile { width: 56px; height: 34px; object-fit: cover; display: grid; font-size: 1rem; aspect-ratio: auto; }
  .link-item .li-thumb img { width: 56px; height: 34px; }
  .auto-media { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-size: .85rem; }
  .auto-strip { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; align-items: center; }
  .auto-strip span { font-size: .8rem; color: var(--muted); }
  .type-seg { width: max-content; }
  .field-sel { border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font: inherit; font-size: .88rem; background: #fff; max-width: 260px; }
  .pick .mthumb img, .pick .mthumb .audio-tile { aspect-ratio: 16/9; }
  .pick .mtype { top: 6px; right: 6px; left: auto; }
  .seiten-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
  .seite-card { display: flex; gap: 16px; padding: 20px; transition: box-shadow .2s, border-color .2s; }
  .seite-card:hover { border-color: #cfc6dc; box-shadow: 0 10px 30px -14px rgba(29,20,40,.3); }
  .s-ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--bg); display: grid; place-items: center; font-size: 1.3rem; }
  .seite-card b { font-size: 1.02rem; }
  .seite-card p { font-size: .85rem; color: var(--muted); margin: 4px 0 8px; }
  .s-meta { font-size: .75rem; color: var(--teal); font-weight: 600; }
  .seiten-edit { display: grid; gap: 18px; max-width: 860px; }
  .sect .panel-h { flex-wrap: wrap; gap: 6px; }
  .sect-body { padding: 18px 22px; display: grid; gap: 16px; }
  .wo { font-size: .75rem; color: var(--muted); background: var(--bg); padding: 3px 10px; border-radius: 99px; }
  .n-badge { font-size: .72rem; background: var(--bg); padding: 2px 8px; border-radius: 99px; color: var(--muted); margin-left: 4px; }
  .li-edit { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
  .li-edit[open] { box-shadow: 0 6px 20px -12px rgba(29,20,40,.25); }
  .li-edit summary { display: flex; align-items: center; gap: 10px; padding: 11px 14px; cursor: pointer; list-style: none; font-weight: 600; font-size: .9rem; }
  .li-edit summary::-webkit-details-marker { display: none; }
  .drag { color: #c9c1d6; letter-spacing: -2px; cursor: grab; }
  .li-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .li-tools { display: flex; gap: 4px; }
  .li-tools button { width: 30px; height: 30px; border: 1px solid var(--line); background: #fff; border-radius: 8px; color: var(--muted); }
  .li-tools button:hover:not(:disabled) { border-color: #cfc6dc; color: var(--ink); }
  .li-tools button:disabled { opacity: .35; cursor: default; }
  .li-tools .del:hover { color: var(--danger) !important; border-color: var(--danger) !important; }
  .li-body { padding: 4px 14px 16px; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
  .list-items { gap: 10px; }
  .list-items .add { justify-self: start; }
  .img-field { display: flex; gap: 14px; align-items: center; }
  .img-field img, .img-empty, .file-ico { width: 120px; height: 80px; object-fit: cover; border-radius: 10px; flex: none; }
  .img-empty, .file-ico { background: var(--bg); display: grid; place-items: center; color: var(--muted); font-size: .8rem; border: 1px dashed #d9d2e3; }
  .file-ico { width: 64px; height: 80px; font-weight: 700; color: var(--danger); border-style: solid; }
  .img-field .btn { margin: 0 6px 6px 0; }
  textarea.rt { border: 0; border-radius: 0; min-height: 140px; line-height: 1.6; }
  textarea.big { min-height: 60vh; font-size: .9rem; }
  .back { display: inline-block; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
  .notice { background: #fff7db; border: 1px solid #f0d98a; color: #6b5300; border-radius: 12px; padding: 12px 16px; font-size: .88rem; margin-bottom: 18px; max-width: 860px; }
  .empty { padding: 30px; text-align: center; color: var(--muted); }
  .list-mini li { list-style: none; display: flex; gap: 14px; align-items: center; padding: 12px 22px; border-bottom: 1px solid var(--line); }
  .list-mini li:last-child { border-bottom: 0; }

/* ---------- version PHP : formulaires en pages ---------- */
.muted { color: var(--muted); }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick a { background: var(--bg); border: 1px dashed #cfc6dc; border-radius: 14px; padding: 16px 10px; font-weight: 600; font-size: .85rem; display: grid; gap: 6px; justify-items: center; text-align: center; }
.quick a:hover { border-color: var(--pink); background: #fff5fb; }
.seg a, .seg label { border: 0; background: none; padding: 7px 14px; border-radius: 9px; font-size: .85rem; font-weight: 500; color: var(--muted); cursor: pointer; white-space: nowrap; }
.seg a.on, .seg label.on { background: var(--brand); color: #fff; }
.seg small { opacity: .7; }
.seg-full { width: 100%; } .seg-full label { flex: 1; text-align: center; }
.type-seg { margin-bottom: 18px; }
.btn-group { display: flex; gap: 8px; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 1100px) { .form-grid { grid-template-columns: minmax(0, 1fr); } }
.form-main { padding: 22px; display: grid; gap: 18px; }
.form-side { display: grid; gap: 18px; position: sticky; top: 20px; }
.side-box { padding: 18px 20px; display: grid; gap: 12px; }
.side-box h4 { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form-actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.back { display: inline-block; font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.flash { background: #ddf3e8; color: #13623e; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-weight: 500; transition: opacity .5s; }
.flash.weg { opacity: 0; }
.fehler { background: #fde6ec; color: #9b1c3c; border: 1px solid #f5b8c8; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: .9rem; }
.login-card .fehler { margin-bottom: 14px; }
.hint { font-size: .78rem; color: var(--muted); }
.chk { display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; color: var(--muted); margin-top: 6px; }
.linkbtn { background: none; border: 0; color: inherit; opacity: .6; padding: 0; font-size: inherit; cursor: pointer; }
.linkbtn:hover { opacity: 1; }
a.t { color: inherit; }
.row-link { display: flex; gap: 14px; align-items: center; width: 100%; color: inherit; }
.list-mini li { cursor: default; }
.list-mini .s { font-size: .8rem; color: var(--muted); }
tr.inaktiv { opacity: .5; }

/* upload */
.upload { display: grid; gap: 10px; }
.upload .drop { display: block; cursor: pointer; transition: border-color .2s, background .2s; }
.upload .drop:hover, .upload .drop.over { border-color: var(--pink); background: #fff5fb; }
.upload .drop small { color: var(--muted); }
.up-current { display: grid; gap: 6px; justify-items: start; }
.up-current img, .up-current video { max-width: 100%; max-height: 260px; border-radius: 10px; }
.up-current audio { width: 100%; }
.up-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px auto; gap: 10px; align-items: center; font-size: .82rem; background: var(--bg); border-radius: 10px; padding: 8px 12px; }
.up-bar { height: 6px; background: #e3dcec; border-radius: 99px; overflow: hidden; }
.up-bar i { display: block; height: 100%; width: 0; background: var(--stage); transition: width .2s; }
.up-row.ok .up-st { color: var(--ok); font-weight: 700; }
.up-row.err { background: #fde6ec; } .up-row.err .up-st { color: var(--danger); grid-column: 1 / -1; }
.poster-box { display: flex; gap: 14px; align-items: center; }
.poster-box img { width: 180px; border-radius: 10px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mini-grid img, .mini-grid .audio-tile { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 6px; display: grid; }
.vcard { color: inherit; }
.vcard > div:last-child { padding: 12px 14px; }

/* nachrichten */
.msg-list { display: grid; gap: 14px; max-width: 860px; }
.msg { padding: 18px 20px; display: grid; gap: 10px; border-left: 4px solid var(--pink); }
.msg.gelesen { border-left-color: var(--line); opacity: .75; }
.msg-h { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.msg-h a { color: var(--teal); }
.msg-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* seiten */
.s-date { display: block; font-size: .72rem; color: var(--muted); margin-top: 4px; }
.save-bar { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 20px 0 6px; display: flex; gap: 14px; align-items: center; }
.li-tools button { cursor: pointer; }
.seiten-edit textarea.big { min-height: 65vh; font-size: .9rem; line-height: 1.6; }
