:root { --bg: #f2f2f7; --card: #fff; --text: #000; --t2: #8a8a8e; --t3: #c7c7cc; --fill: rgba(118,118,128,.12); --sep: rgba(60,60,67,.18); --acc: #007aff; --green: #34c759; --orange: #ff9500; color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #000; --card: #1c1c1e; --text: #fff; --t2: #98989f; --t3: #48484a; --fill: rgba(118,118,128,.24); --sep: rgba(84,84,88,.6); --acc: #0a84ff; --green: #30d158; --orange: #ff9f0a; } }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
main { max-width: 680px; margin: 0 auto; padding: calc(10px + env(safe-area-inset-top)) 16px calc(30px + env(safe-area-inset-bottom)); }
.top { display: flex; align-items: flex-end; justify-content: space-between; padding: 8px 0 6px; } h1 { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.gear { border: 0; background: none; color: var(--acc); font-size: 26px; padding: 4px; cursor: pointer; }
.search { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 6px; margin: 4px -16px 12px; padding: 8px 16px; background: var(--bg); }
.search > span { position: absolute; left: 26px; color: var(--t2); font-size: 20px; pointer-events: none; }
.search input { flex: 1; height: 38px; padding: 0 34px 0 34px; border: 0; border-radius: 11px; background: var(--fill); color: var(--text); font: inherit; outline: none; -webkit-appearance: none; }
.search input::-webkit-search-cancel-button { display: none; }
.search button { position: absolute; right: 24px; width: 20px; height: 20px; border: 0; border-radius: 50%; background: var(--t2); color: var(--bg); font-size: 11px; display: none; cursor: pointer; } .search.has button { display: block; }
.h { margin: 14px 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; } .grid button { display: block; width: 100%; min-width: 0; border: 0; padding: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.poster { position: relative; aspect-ratio: 2/3; border-radius: 10px; overflow: hidden; background: var(--fill); box-shadow: 0 2px 10px rgba(0,0,0,.12); } .poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster .np { position: absolute; inset: 0; display: grid; place-items: center; color: var(--t2); font-size: 30px; }
.grid b { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .grid small { color: var(--t2); font-size: 12px; }
.mine { position: absolute; left: 5px; bottom: 5px; right: 5px; display: flex; flex-wrap: wrap; gap: 3px; } .mine img { width: 22px; height: 22px; border-radius: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.rows { background: var(--card); border-radius: 12px; overflow: hidden; }
.row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; position: relative; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 76px; right: 0; height: .5px; background: var(--sep); }
.row .poster { width: 50px; flex: none; border-radius: 7px; } .row .t { flex: 1; min-width: 0; } .row .t b { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .t small { color: var(--t2); font-size: 14px; } .row .chev { color: var(--t3); font-size: 22px; }
.tag { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; padding: 3px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.tag.ok { background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); } .tag.free { background: color-mix(in srgb, var(--acc) 16%, transparent); color: var(--acc); } .tag.pay { background: var(--fill); color: var(--t2); }
.tag img { width: 16px; height: 16px; border-radius: 4px; }
.empty, .msg { text-align: center; color: var(--t2); padding: 40px 20px; } .msg b { display: block; color: var(--text); font-size: 20px; margin-bottom: 6px; }
.skel { height: 70px; background: var(--card); border-radius: 12px; margin-bottom: 8px; animation: sk 1.2s ease-in-out infinite; } @keyframes sk { 50% { opacity: .5; } }
footer { margin-top: 30px; text-align: center; color: var(--t2); font-size: 11px; line-height: 1.5; }
/* Sheet */
#sheet { position: fixed; inset: 0; z-index: 50; pointer-events: none; } #sheet.show { pointer-events: auto; }
.bg { position: absolute; inset: 0; background: rgba(0,0,0,.4); animation: fade .25s both; } @keyframes fade { from { opacity: 0; } }
.sh { position: absolute; left: 0; right: 0; bottom: 0; top: calc(env(safe-area-inset-top) + 40px); max-width: 680px; margin: 0 auto; background: var(--bg); border-radius: 14px 14px 0 0; overflow-y: auto; animation: up .4s cubic-bezier(.2,.9,.3,1) both; -webkit-overflow-scrolling: touch; }
@keyframes up { from { transform: translateY(100%); } }
.close { position: sticky; top: 10px; float: right; margin: 10px 12px -46px 0; z-index: 3; width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 15px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; }
.bd { position: relative; height: 220px; background: var(--fill) center/cover; } .bd::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, var(--bg)); }
.dh { display: flex; gap: 14px; padding: 0 16px; margin-top: -90px; position: relative; z-index: 2; } .dh .poster { width: 104px; flex: none; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.dh .t { align-self: flex-end; min-width: 0; } .dh h2 { margin: 0; font-size: 24px; line-height: 1.15; letter-spacing: -.01em; } .dh small { display: block; color: var(--t2); font-size: 14px; margin-top: 4px; }
.verdict { margin: 16px; padding: 14px 16px; border-radius: 14px; background: var(--card); display: flex; align-items: center; gap: 12px; font-weight: 600; }
.verdict .ic { font-size: 26px; } .verdict small { display: block; font-weight: 400; color: var(--t2); font-size: 14px; } .verdict.ok { box-shadow: inset 0 0 0 2px var(--green); } .verdict.free { box-shadow: inset 0 0 0 2px var(--acc); }
.sec { margin: 22px 16px 0; } .sec h3 { margin: 0 0 8px 16px; font-size: 13px; font-weight: 400; text-transform: uppercase; color: var(--t2); }
.prow { display: flex; align-items: center; gap: 12px; padding: 10px 14px; position: relative; } .prow + .prow::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: .5px; background: var(--sep); }
.prow img { width: 38px; height: 38px; border-radius: 9px; flex: none; } .prow .n { flex: 1; min-width: 0; } .prow .n b { display: block; font-weight: 600; } .prow .n small { color: var(--t2); font-size: 13px; }
.open { flex: none; padding: 7px 16px; border-radius: 99px; background: var(--fill); color: var(--acc); font-weight: 700; font-size: 15px; text-decoration: none; } .open.main { background: var(--acc); color: #fff; }
.ov { margin: 22px 16px 0; color: var(--text); font-size: 15px; line-height: 1.45; } .ov p { margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; } .ov.all p { -webkit-line-clamp: unset; } .ov button { border: 0; background: none; color: var(--acc); font: inherit; padding: 4px 0; }
.foot { margin: 22px 16px 40px; text-align: center; } .foot a { color: var(--acc); font-size: 14px; text-decoration: none; }
/* Einstellungen */
.set h2 { margin: 18px 16px 4px; font-size: 28px; } .set p { margin: 0 16px 14px; color: var(--t2); font-size: 15px; }
.sw { position: relative; width: 51px; height: 31px; flex: none; } .sw input { position: absolute; inset: 0; opacity: 0; margin: 0; z-index: 1; cursor: pointer; }
.sw i { position: absolute; inset: 0; border-radius: 99px; background: var(--fill); transition: background .2s; } .sw i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.25); transition: transform .25s cubic-bezier(.34,1.56,.64,1); }
.sw input:checked + i { background: var(--green); } .sw input:checked + i::after { transform: translateX(20px); }
.sic { width: 38px; height: 38px; border-radius: 9px; display: grid; place-items: center; font-size: 13px; font-weight: 800; color: #fff; flex: none; }
