/* Galerie, Mediathek, Player, NAS, Dokumente, Tresor */
.nav-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); font-weight: 650; padding: 14px 10px 4px; }
.searchbar { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; min-width: 220px; }
.searchbar svg { width: 16px; height: 16px; color: var(--dim); flex: none; }
.searchbar input { border: 0 !important; background: transparent !important; padding: 8px 0 !important; }
.seg { display: inline-flex; background: var(--card2); border: 1px solid var(--line); border-radius: 9px; padding: 2px; }
.seg button { border: 0; background: none; padding: 5px 11px; border-radius: 7px; cursor: pointer; color: var(--muted); font-weight: 550; font-size: 12.5px; }
.seg button.on { background: var(--card); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.2); }

/* ---------- Galerie ---------- */
.gal-group { margin-bottom: 22px; }
.gal-group h3 { font-size: 13px; color: var(--muted); margin: 0 0 8px; font-weight: 600; display: flex; gap: 8px; align-items: baseline; }
.gal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 4px; }
.gal-grid.big { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.gal-item { position: relative; aspect-ratio: 1; background: var(--card2); border-radius: 6px; overflow: hidden; cursor: pointer; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s, opacity .3s; opacity: 0; }
.gal-item img.ok { opacity: 1; }
.gal-item:hover img { transform: scale(1.04); }
.gal-item .vid { position: absolute; right: 6px; bottom: 6px; background: rgba(0,0,0,.65); color: #fff; font-size: 11px; padding: 1px 6px; border-radius: 5px; font-family: var(--mono); }
.folder-tile { display: flex; align-items: center; gap: 10px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; min-width: 0; }
.folder-tile:hover { border-color: var(--accent); }
.folder-tile .cv { width: 52px; height: 52px; border-radius: 8px; background: var(--card2) center/cover; flex: none; }

.empty .btn svg { width: 15px; height: 15px; display: inline-block; margin: 0; color: inherit; }
.lightbox { position: fixed; inset: 0; background: #000; z-index: 70; display: flex; flex-direction: column; animation: fade .15s; touch-action: pan-y; }
.lightbox .lb-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); color: #e6e9ef; }
.lightbox .lb-top .grow { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lightbox .btn { background: rgba(255,255,255,.08); border-color: transparent; color: #fff; }
.lightbox .lb-stage { flex: 1; display: grid; place-items: center; position: relative; min-height: 0; padding: 0 8px 12px; }
.lightbox img, .lightbox video { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lightbox .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 0; color: #fff; cursor: pointer; }
.lightbox .nav-btn:hover { background: rgba(255,255,255,.18); }
.lightbox .nav-btn svg { width: 22px; height: 22px; }
.lightbox .nav-btn.l { left: 14px; } .lightbox .nav-btn.r { right: 14px; }
.lightbox .lb-info { color: #8b95a7; font-size: 12px; text-align: center; padding: 0 0 12px; font-family: var(--mono); }

/* ---------- Mediathek ---------- */
.albums { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.album { cursor: pointer; min-width: 0; }
.album .art { aspect-ratio: 1; border-radius: 10px; background: var(--card2); overflow: hidden; position: relative; display: grid; place-items: center; color: var(--dim); }
.album .art svg { width: 40%; height: 40%; }
.album .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.album .art .play { position: absolute; right: 8px; bottom: 8px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #06130a; display: grid; place-items: center; opacity: 0; transform: translateY(6px); transition: .2s; border: 0; cursor: pointer; }
.album .art .play svg { width: 18px; height: 18px; }
.album:hover .art .play { opacity: 1; transform: none; }
.album b { display: block; margin-top: 8px; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.album small { color: var(--muted); font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track { display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.track:last-child { border-bottom: 0; }
.track:hover { background: var(--card2); }
.track.on { color: var(--accent); }
.track .n { color: var(--dim); font-family: var(--mono); font-size: 12px; text-align: right; }
.track .t { min-width: 0; } .track .t b { display: block; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track .t small { color: var(--muted); font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track .d { color: var(--dim); font-family: var(--mono); font-size: 12px; }
.album-head { display: flex; gap: 18px; align-items: flex-end; margin-bottom: 16px; }
.album-head .art { width: 150px; flex: none; }
.station { display: flex; align-items: center; gap: 12px; padding: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; cursor: pointer; min-width: 0; }
.station:hover { border-color: var(--accent); }
.station.on { border-color: var(--accent); background: var(--accent-soft); }
.station .logo { width: 46px; height: 46px; border-radius: 10px; background: var(--card2); flex: none; display: grid; place-items: center; overflow: hidden; color: var(--dim); position: relative; }
.station .logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.station .logo svg { width: 22px; height: 22px; }
.stations { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.eq { display: inline-flex; gap: 2px; align-items: flex-end; height: 12px; }
.eq i { width: 3px; background: var(--accent); animation: eq .9s infinite ease-in-out; }
.eq i:nth-child(2) { animation-delay: .2s } .eq i:nth-child(3) { animation-delay: .4s }
@keyframes eq { 0%, 100% { height: 3px } 50% { height: 12px } }

/* Player-Leiste */
.player { position: fixed; left: 232px; right: 0; bottom: 0; z-index: 24; background: var(--bg2); border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 10px 20px; box-shadow: 0 -6px 24px rgba(0,0,0,.25); }
.player .now { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player .cover { width: 46px; height: 46px; border-radius: 8px; background: var(--card2) center/cover; flex: none; display: grid; place-items: center; color: var(--dim); }
.player .cover svg { width: 20px; height: 20px; }
.player .meta { min-width: 0; } .player .meta b { display: block; font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player .meta small { color: var(--muted); font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player .ctl { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 360px; }
.player .ctl .row { gap: 6px; flex-wrap: nowrap; }
.player .pbtn { width: 34px; height: 34px; border-radius: 50%; border: 0; background: none; color: var(--text); display: grid; place-items: center; cursor: pointer; }
.player .pbtn:hover { background: var(--card2); }
.player .pbtn.on { color: var(--accent); }
.player .pbtn svg { width: 17px; height: 17px; }
.player .pbtn.main { width: 40px; height: 40px; background: var(--text); color: var(--bg); }
.player .pbtn.main svg { width: 18px; height: 18px; }
.player .prog { display: flex; align-items: center; gap: 8px; width: 100%; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.player input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; height: 4px; background: var(--card2); border-radius: 9px; outline: none; accent-color: var(--accent); }
.player input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); cursor: pointer; }
.player .right { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.player .right input[type=range] { max-width: 110px; }
.player .live { font-size: 11px; font-weight: 700; color: var(--bad); letter-spacing: .06em; display: flex; align-items: center; gap: 6px; }
.player .live::before { content: ""; width: 7px; height: 7px; background: var(--bad); border-radius: 50%; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3 } }
body.has-player .page { padding-bottom: 120px; }

/* ---------- NAS / Tailscale ---------- */
.share-card .conn { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.share-card .conn code { background: var(--card2); padding: 3px 8px; border-radius: 6px; cursor: pointer; }
.share-card .conn code:hover { color: var(--accent); }
.toggle { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.toggle:last-child { border-bottom: 0; }
.toggle .grow small { display: block; color: var(--muted); font-size: 12px; }
.switch { position: relative; width: 40px; height: 22px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: var(--card2); border: 1px solid var(--line); border-radius: 99px; cursor: pointer; transition: .2s; }
.switch span::after { content: ""; position: absolute; width: 16px; height: 16px; left: 2px; top: 2px; background: var(--muted); border-radius: 50%; transition: .2s; }
.switch input:checked + span { background: var(--accent); border-color: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); background: #fff; }
.disk-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.disk-row:last-child { border-bottom: 0; }
.part { display: flex; gap: 10px; align-items: center; padding: 4px 0 4px 18px; font-size: 12.5px; }

/* ---------- Dokumente ---------- */
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 16px; align-items: start; }
.facets a { display: flex; justify-content: space-between; padding: 6px 10px; border-radius: 7px; color: var(--muted); font-size: 13px; cursor: pointer; }
.facets a:hover { background: var(--card2); color: var(--text); }
.facets a.on { background: var(--accent-soft); color: var(--accent); }
.facets h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); margin: 14px 10px 6px; }
.doc-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-bottom: 1px solid var(--line); cursor: pointer; }
.doc-row:hover { background: var(--card2); }
.doc-row:last-child { border-bottom: 0; }
.doc-ico { width: 40px; height: 46px; border-radius: 7px; background: var(--card2); display: grid; place-items: center; flex: none; font-size: 10px; font-weight: 700; color: var(--muted); font-family: var(--mono); text-transform: uppercase; position: relative; }
.doc-ico.pdf { background: rgba(239,68,68,.14); color: #f87171; }
.doc-ico.img { background: rgba(96,165,250,.14); color: var(--blue); }
.doc-row .snip { font-size: 12px; color: var(--muted); margin-top: 4px; font-family: var(--mono); }
.doc-row .snip mark { background: var(--warn-soft); color: var(--warn); border-radius: 3px; padding: 0 2px; }
.doc-preview { width: 100%; height: 70vh; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.doc-split { display: grid; grid-template-columns: 1fr 300px; gap: 16px; }

/* ---------- Tresor ---------- */
.vault-lock { max-width: 420px; margin: 40px auto; text-align: center; }
.vault-lock .big { width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin: 0 auto 16px; }
.vault-lock .big svg { width: 30px; height: 30px; }
.vault-lock form { text-align: left; margin-top: 18px; }
.v-item { display: grid; grid-template-columns: 40px minmax(0, 1.3fr) minmax(0, 1fr) 300px; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.v-item:last-child { border-bottom: 0; }
.v-item > .btns { justify-content: flex-end; flex-wrap: nowrap; align-items: center; }
.v-item:hover { background: var(--card2); }
.avatar { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 15px; }
.v-item .t b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v-item .t small { color: var(--muted); font-size: 12px; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.totp { font-family: var(--mono); font-size: 15px; font-weight: 650; letter-spacing: .12em; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.totp i { width: 14px; height: 14px; border-radius: 50%; background: conic-gradient(var(--accent) var(--p), var(--card2) 0); display: inline-block; }
.pw-gen { display: flex; gap: 8px; align-items: center; }
.strength { height: 4px; border-radius: 9px; background: var(--card2); margin-top: 6px; overflow: hidden; }
.strength i { display: block; height: 100%; transition: width .3s, background .3s; }

@media (max-width: 1150px) { .status-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .player { left: 0; bottom: calc(56px + env(safe-area-inset-bottom)); grid-template-columns: minmax(0, 1fr) auto; padding: 8px 12px; gap: 8px; }
  .player .ctl { min-width: 0; flex-direction: row; }
  .player .ctl .prog, .player .right, .player .hide-s { display: none !important; }
  .player .cover { width: 40px; height: 40px; }
  body.has-player .page { padding-bottom: 160px; }
  .player .mprog { position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--accent); transform-origin: left; }
  .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
  .gal-grid.big { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal-item { border-radius: 2px; }
  .albums { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .album .art .play { opacity: 1; transform: none; width: 34px; height: 34px; }
  .album-head .art { width: 110px; }
  .stations { grid-template-columns: 1fr; }
  .docs-layout, .doc-split { grid-template-columns: 1fr; }
  .facets.card { display: none; }
  .doc-preview { height: 55vh; }
  .v-item { grid-template-columns: 36px minmax(0, 1fr) auto; }
  .v-item .v-user { display: none; }
  .lightbox .nav-btn { display: none; }
  .searchbar { min-width: 0; flex: 1; }
}
.mprog { display: none; }
@media (max-width: 820px) { .mprog { display: block; } }

/* ---------- Überwachung ---------- */
.uptime-bars { display: flex; gap: 2px; margin-top: 8px; max-width: 520px; }
.uptime-bars i { flex: 1; height: 18px; border-radius: 2px; background: var(--card2); }
.uptime-bars i.ok { background: var(--accent); } .uptime-bars i.bad { background: var(--bad); } .uptime-bars i.warn { background: var(--warn); }

/* ---------- App-Store ---------- */
.app-card .emo-lg { font-size: 26px; width: 46px; height: 46px; border-radius: 11px; background: var(--card2); display: grid; place-items: center; flex: none; }

/* ---------- Chat (KI & Mesh) ---------- */
.chat { display: flex; flex-direction: column; height: calc(100vh - 230px); min-height: 380px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; } .msg.user { justify-content: flex-end; }
.msg .bubble { max-width: 78%; padding: 10px 14px; border-radius: 14px; background: var(--card2); line-height: 1.55; overflow-wrap: anywhere; }
.msg.user .bubble { background: var(--accent-soft); border: 1px solid rgba(34,197,94,.25); border-bottom-right-radius: 4px; }
.msg.assistant .bubble { border-bottom-left-radius: 4px; }
.chat-input { display: flex; gap: 8px; align-items: flex-end; padding: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.chat-input textarea { flex: 1; min-width: 200px; resize: none; font-family: var(--sans); font-size: 14px; max-height: 200px; }

/* ---------- Familie ---------- */
.check-item input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.check-item.done .grow { text-decoration: line-through; color: var(--dim); }
.notes { columns: 3 260px; column-gap: 12px; }
.note-card { break-inside: avoid; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 12px; cursor: pointer; }
.note-card:hover { border-color: var(--dim); }
.note-text { white-space: pre-wrap; color: var(--muted); font-size: 13px; margin: 6px 0 8px; max-height: 220px; overflow: hidden; }
.swatch { width: 22px; height: 22px; border-radius: 50%; cursor: pointer; border: 2px solid var(--line); display: inline-block; }
.swatch input { display: none; } .swatch:has(input:checked) { outline: 2px solid var(--text); outline-offset: 2px; }
.cal-layout { display: grid; grid-template-columns: 1fr 320px; gap: 14px; align-items: start; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.cal-h { font-size: 11px; color: var(--dim); text-align: center; padding: 4px 0; font-weight: 600; }
.cal-d { min-height: 86px; background: var(--card2); border-radius: 8px; padding: 4px 5px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cal-d:hover { outline: 1px solid var(--dim); }
.cal-d.out { opacity: .4; } .cal-d.today .n { background: var(--accent); color: #06130a; border-radius: 99px; padding: 0 6px; }
.cal-d .n { font-size: 12px; font-weight: 600; align-self: flex-start; }
.cal-e { font-size: 11px; background: var(--accent-soft); color: var(--accent); border-radius: 4px; padding: 1px 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-date { width: 44px; text-align: center; background: var(--card2); border-radius: 8px; padding: 4px 0; flex: none; }
.cal-date b { display: block; font-size: 17px; line-height: 1.1; } .cal-date small { color: var(--muted); font-size: 11px; }
.leaflet-container { background: var(--card2); font: inherit; }

@media (max-width: 820px) {
  .chat { height: calc(100vh - 290px); }
  .msg .bubble { max-width: 90%; }
  .cal-layout { grid-template-columns: 1fr; }
  .cal-d { min-height: 54px; }
  .cal-e { font-size: 0; height: 6px; padding: 0; }
}

/* ---------- Proxy-Manager ---------- */
.proxy-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.proxy-row:last-child { border-bottom: 0; }
.proxy-row.off { opacity: .55; }
.proxy-row a.mono { color: var(--text); }
.proxy-row a.mono:hover { color: var(--accent); }
[data-pf] .seg { display: flex; flex-wrap: wrap; }
@media (max-width: 820px) { .proxy-row { flex-wrap: wrap; } .proxy-row .btns { width: 100%; justify-content: flex-end; } }

/* ---------- Dienste-Dashboard ---------- */
.svc-bar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.svc-bar .seg { overflow-x: auto; max-width: 100%; }
.svc-bar .seg button { white-space: nowrap; }
.svc-search { flex: 1; min-width: 160px; max-width: 320px; margin-left: auto; }
.svc-group { margin-bottom: 20px; }
.svc-group-head { display: flex; align-items: center; gap: 8px; margin: 0 2px 9px; }
.svc-group-head h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 650; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.svc-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; position: relative; transition: border-color .15s, opacity .15s; }
.svc-tile::before { content: ''; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: transparent; }
.svc-tile.st-down { border-color: rgba(239,68,68,.45); } .svc-tile.st-down::before { background: var(--bad); }
.svc-tile.st-warn { border-color: rgba(245,158,11,.4); } .svc-tile.st-warn::before { background: var(--warn); }
.svc-tile.st-off { opacity: .72; }
.svc-tile.is-hidden { opacity: .4; border-style: dashed; }
.svc-tile.busy { opacity: .55; pointer-events: none; }
.svc-top { display: flex; align-items: center; gap: 11px; min-width: 0; }
.svc-top[data-a] { cursor: pointer; }
.svc-top[data-a]:hover b { color: var(--accent); }
.svc-top .emo { font-size: 21px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--card2); border-radius: 9px; flex: none; }
.svc-top b { display: block; font-size: 13.5px; }
.svc-top small { display: block; color: var(--muted); font-size: 11.5px; }
.svc-top .dot { margin-left: auto; }
.svc-meter { display: grid; gap: 4px; }
.svc-meter > div { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; font-size: 11px; }
.svc-meter span { color: var(--dim); font-weight: 600; letter-spacing: .03em; }
.svc-meter b { font-family: var(--mono); font-weight: 500; color: var(--muted); min-width: 58px; text-align: right; font-variant-numeric: tabular-nums; }
.svc-meter .bar { height: 5px; }
.svc-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; min-height: 28px; }
.svc-links { display: flex; gap: 5px; flex-wrap: wrap; flex: 1; min-width: 0; }
.chip { display: inline-block; font-size: 11px; font-family: var(--mono); padding: 2px 7px; border-radius: 6px; background: var(--card2); color: var(--muted); border: 1px solid var(--line); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.chip:hover { color: var(--accent); border-color: var(--accent); }
.svc-act { display: flex; gap: 2px; flex: none; }
.svc-act .btn.icon { padding: 5px; }
.svc-act .btn.icon svg { width: 15px; height: 15px; }
.svc-act .btn.on { color: var(--warn); }
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-search { max-width: none; margin-left: 0; }
  .hide-sm { display: none; }
}

/* ---------- ntfy ---------- */
.steps { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 13.5px; }
.steps li::marker { color: var(--accent); font-weight: 700; }
.ntfy-qr { background: #fff; border-radius: 10px; padding: 8px; width: 190px; margin: 0 auto; }
.ntfy-qr svg { display: block; width: 100%; height: auto; }
.ntfy-pub { display: grid; grid-template-columns: 150px 1fr 2fr 130px auto; gap: 8px; }
.emo-sm { font-size: 18px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--card2); border-radius: 8px; flex: none; }
.badge a { color: inherit; margin-left: 3px; opacity: .7; } .badge a:hover { opacity: 1; }
.ntfy-msg { border-left: 3px solid transparent; }
.ntfy-msg.prio-4 { border-left-color: var(--warn); } .ntfy-msg.prio-5 { border-left-color: var(--bad); }
.ntfy-text { white-space: pre-wrap; word-break: break-word; font-size: 13.5px; margin: 2px 0; }
@media (max-width: 760px) { .ntfy-pub { grid-template-columns: 1fr 1fr; } .ntfy-pub [name=message] { grid-column: 1 / -1; order: -1; } }
