:root { color-scheme: dark; --bg: #16181d; --bg-card: #1e2127; --fg: #e8e6e3; --fg-muted: #9aa0a8; --accent: #c2762f; --error: #d4645c; --ok: #6fa06b; --border: #2a2e36; } body { margin: 0; background: var(--bg); color: var(--fg); font-family: system-ui, sans-serif; font-size: 14px; } main.center { display: flex; flex-direction: column; gap: 0.9rem; max-width: 34rem; margin: 9vh auto; padding: 1rem; } h1 { font-size: 1.4rem; font-weight: 600; margin: 0; white-space: nowrap; } .muted { color: var(--fg-muted); line-height: 1.5; } .small { font-size: 0.86rem; } .bar { display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 1.2rem; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 1; } .bar .muted { white-space: nowrap; } .input, .bar input, .bar select { border: 1px solid var(--border); border-radius: 6px; padding: 0.4rem 0.7rem; background: var(--bg-card); color: var(--fg); font-size: 0.92rem; } .bar input.search { flex: 1; min-width: 12rem; } button { border: 1px solid var(--border); border-radius: 6px; padding: 0.45rem 0.9rem; background: var(--bg-card); color: var(--fg); cursor: pointer; font-size: 0.92rem; white-space: nowrap; } button:hover:enabled { filter: brightness(1.15); } button:disabled { opacity: 0.55; cursor: default; } button.primary { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; } button.primary, .actions button { padding: 0.32rem 0.65rem; font-size: 0.88rem; } .actions { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.15rem; min-height: 2rem; flex-wrap: wrap; } .overlay { position: absolute; inset: 0; background: rgba(10, 12, 15, 0.62); display: flex; align-items: flex-end; justify-content: flex-end; padding: 0.4rem; } .overlaytxt { color: #fff; font-size: 0.85rem; font-weight: 600; background: rgba(10, 12, 15, 0.5); border-radius: 4px; padding: 0.05rem 0.4rem; } .dlbadge { font-size: 0.86rem; color: var(--accent); border: 1px solid var(--accent); border-radius: 99px; padding: 0.12rem 0.55rem; white-space: nowrap; } .progress.indeterminate .fill { width: 32%; animation: dlslide 1.3s linear infinite; } .progress.indeterminate.slow .fill { animation-duration: 2.6s; opacity: 0.6; } @keyframes dlslide { from { transform: translateX(-120%); } to { transform: translateX(420%); } } .chip.err { color: var(--error); border-color: var(--error); } button.ghost { background: transparent; } button.activechip { border-color: var(--ok); color: var(--ok); } .info { color: #7fa9d4; } .error { color: var(--error); } /* Bibliotheksraster */ .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 1rem; padding: 1rem 1.2rem 2rem; } .card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; } .cover { aspect-ratio: 1 / 1; width: 100%; background: linear-gradient(160deg, #262a31, #1b1e24); position: relative; } .cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; } .meta { padding: 0.55rem 0.65rem 0.7rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; } .meta .t { font-size: 0.92rem; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; } .chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-top: auto; padding-top: 0.25rem; } .chip { font-size: 0.72rem; padding: 0.1rem 0.45rem; border: 1px solid var(--border); border-radius: 99px; color: var(--fg-muted); display: inline-flex; align-items: center; gap: 0.28rem; } .actions { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.15rem; min-height: 2rem; flex-wrap: wrap; } .chip.ok { color: var(--ok); border-color: var(--ok); } .chip.done { color: var(--accent); border-color: var(--accent); } .chip.age { color: var(--ok); border-color: var(--ok); } .actions input.input { width: 7rem; font-size: 0.85rem; padding: 0.25rem 0.5rem; } .progress { height: 3px; border-radius: 2px; background: var(--border); overflow: hidden; } .progress .fill { height: 100%; background: var(--accent); } .statespace { display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; padding: 2.4rem 1.2rem; } code { background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 0.05rem 0.3rem; } /* Player-Leiste (T-021) */ .playerbar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 1rem; background: var(--bg-card); border-top: 1px solid var(--border); z-index: 5; } .paddingbottom main { padding-bottom: 4.6rem; } .barcover { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; background: var(--bg); flex: none; } .barmeta { min-width: 0; flex: 1; } .barmeta .bt { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .barctrl { display: flex; align-items: center; gap: 0.3rem; flex: none; } .playerbar button { width: 2.4rem; height: 2.4rem; display: inline-flex; align-items: center; justify-content: center; padding: 0; } .mtime { flex: none; } .playerbar .seek { flex: 1; min-width: 6rem; accent-color: var(--accent); } .playerbar .speedsel { border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--fg); font-size: 0.85rem; padding: 0.25rem 0.4rem; } /* Lesezeichen-Panel (T-031) */ .bmpanel { position: fixed; right: 1rem; bottom: 5.2rem; width: min(26rem, calc(100vw - 2rem)); background: var(--bg-card); border: 1px solid var(--border); border-radius: 8px; padding: 0.8rem 0.9rem; display: flex; flex-direction: column; gap: 0.5rem; z-index: 6; max-height: 12rem; overflow: auto; box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4); } .bmrow { display: flex; align-items: center; gap: 0.4rem; } .bmrow button { padding: 0.2rem 0.5rem; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 0.3rem; } .bmtext { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bmnote { flex: 1; min-width: 0; font-size: 0.85rem; padding: 0.25rem 0.5rem; } .settings .setrow { display: flex; align-items: center; gap: 0.5rem; } /* Statusleiste (immer sichtbar, unten) */ .statusbar { position: fixed; left: 0; right: 0; bottom: 0; height: 26px; display: flex; align-items: center; gap: 0.9rem; padding: 0 1rem; background: var(--bg-card); border-top: 1px solid var(--border); font-size: 0.78rem; color: var(--fg-muted); z-index: 7; overflow: hidden; } .statcell { display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; } .statflex { flex: 1; overflow: hidden; text-overflow: ellipsis; min-width: 0; } .statend { margin-left: auto; opacity: 0.7; } .playerbar { bottom: 27px; } .bmpanel { bottom: 5.9rem; } /* Detailansicht (Titel-Details) */ .clickable { cursor: pointer; } .cover.clickable:hover { filter: brightness(1.12); } .meta .t.clickable:hover { color: var(--accent); } .backdrop { position: fixed; inset: 0; background: rgba(8, 10, 13, 0.65); z-index: 8; } .detailpanel { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(44rem, calc(100vw - 2rem)); max-height: calc(100vh - 8rem); overflow: auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; padding: 1.2rem 1.4rem; z-index: 9; } .dclose { position: absolute; top: 0.6rem; right: 0.6rem; } .dtop { display: flex; gap: 1.1rem; } .dcover { width: 150px; height: 150px; border-radius: 8px; object-fit: cover; flex: none; background: var(--bg); } .dmeta { flex: 1; min-width: 0; } .dtitle { margin: 0 0 0.2rem; font-size: 1.15rem; line-height: 1.3; } .dactions { display: flex; gap: 0.5rem; margin-top: 0.7rem; flex-wrap: wrap; } .dactions button { display: inline-flex; align-items: center; gap: 0.35rem; } .dbody h3 { font-size: 0.95rem; margin: 1rem 0 0.35rem; } .ddesc { line-height: 1.55; color: var(--fg); margin: 0 0 0.4rem; }