/* 🏷️ Lelz Deals – gleiche Bausteine wie Lelz Film (iOS-Systemfarben, hell & dunkel) */
:root { --bg: #f2f2f7; --card: #fff; --text: #000; --t2: #6c6c70; --t3: #c7c7cc; --fill: rgba(118,118,128,.12); --sep: rgba(60,60,67,.18); --acc: #007aff; --green: #34c759; --orange: #ff9500; --red: #ff3b30; --gold: #ff9f0a; color-scheme: light dark;
  --spring: cubic-bezier(.18, 1.25, .3, 1); --pop: cubic-bezier(.2, 1.5, .4, 1); }
@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; --red: #ff453a; } }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; min-width: 0; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1rem/1.3 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
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 2px; } h1 { margin: 0; font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.sub { color: var(--t2); font-size: .7647rem; margin: 0 0 4px; }
.gear { border: 0; background: none; color: var(--acc); font-size: 1.529rem; padding: 4px; cursor: pointer; min-width: 44px; min-height: 44px; }
.search { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; margin: 4px -16px 6px; padding: 8px 16px; background: var(--bg); }
.search > span { position: absolute; left: 26px; color: var(--t2); font-size: 1.176rem; pointer-events: none; }
.search input { flex: 1; height: 38px; min-height: 44px; padding: 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: .6471rem; display: none; cursor: pointer; } .search.has button { display: block; }
.chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; } .chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; border: 0; padding: 8px 14px; border-radius: 99px; background: var(--card); color: var(--text); font-size: .8824rem; font-weight: 500; white-space: nowrap; cursor: pointer; box-shadow: 0 1px 2px rgba(0,0,0,.06); display: inline-flex; align-items: center; gap: 6px; }
.chips button.on { background: var(--text); color: var(--bg); } .chips button small { opacity: .55; font-weight: 600; }
.chips .sd { width: 8px; height: 8px; border-radius: 50%; background: var(--sc); }

/* Regale zum Wischen (wie App Store) */
.shelf { margin: 8px 0 22px; } .sh-t { display: flex; justify-content: space-between; align-items: baseline; margin: 4px 0 10px; gap: 10px; } .sh-t b { font-size: 1.294rem; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.sh-t b i { width: 22px; height: 22px; border-radius: 6px; background: var(--sc); color: #fff; font-style: normal; font-size: .6rem; font-weight: 800; display: grid; place-items: center; }
.lnk { border: 0; background: none; color: var(--acc); font-size: .8824rem; cursor: pointer; padding: 6px 0; white-space: nowrap; }
.row-x { display: flex; gap: 12px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; } .row-x::-webkit-scrollbar { display: none; }
.card { flex: none; width: 210px; border: 0; padding: 0; background: none; text-align: left; cursor: pointer; scroll-snap-align: start; scroll-margin-left: 16px; }
.card.wide { width: min(300px, 78vw); }
.card:active .art { transform: scale(.97); }
.art { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--fill); box-shadow: 0 2px 10px rgba(0,0,0,.12); transition: transform .3s var(--pop); }
.art::before { content: ""; position: absolute; inset: -16px; background: var(--img) center / cover; filter: blur(18px) saturate(1.3); opacity: .75; }
.art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.cut { position: absolute; left: 7px; top: 7px; padding: 3px 7px; border-radius: 7px; background: var(--green); color: #fff; font-size: .7647rem; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.cut.free { background: linear-gradient(135deg, #ffcc00, #ff9500); color: #3a2400; }
.st { position: absolute; right: 7px; top: 7px; padding: 3px 7px; border-radius: 7px; background: var(--sc); color: #fff; font-size: .6471rem; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.best { position: absolute; left: 7px; bottom: 7px; padding: 2px 7px; border-radius: 6px; background: rgba(0,0,0,.6); color: #ffd60a; font-size: .6rem; font-weight: 800; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.card b { display: block; margin-top: 7px; font-size: .8235rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr { display: flex; align-items: baseline; gap: 6px; margin-top: 1px; font-size: .8235rem; } .pr strong { font-weight: 700; } .pr s { color: var(--t2); font-size: .7059rem; } .pr em { margin-left: auto; font-style: normal; color: var(--orange); font-size: .6471rem; font-weight: 600; white-space: nowrap; }
.card .why { display: block; color: var(--t2); font-size: .7059rem; margin-top: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Liste (Store gewählt / Suche) */
.seg { display: grid; grid-template-columns: repeat(4, 1fr); padding: 2px; margin: 2px 0 12px; border-radius: 9px; background: var(--fill); }
.seg button { border: 0; padding: 7px 2px; border-radius: 7px; background: none; font-size: .7647rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.seg button.on { background: var(--card); box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 0 0 .5px rgba(0,0,0,.04); }
@media (prefers-color-scheme: dark) { .seg button.on { background: #636366; } }
.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; text-align: left; cursor: pointer; position: relative; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 120px; right: 0; height: .5px; background: var(--sep); }
.row .art { width: 94px; flex: none; border-radius: 8px; box-shadow: none; } .row .art .cut, .row .art .st { display: none; }
.row .t { flex: 1; } .row .t b { display: block; font-weight: 600; font-size: .9412rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .t small { color: var(--t2); font-size: .7647rem; }
.row .p { text-align: right; flex: none; } .row .p strong { display: block; font-weight: 700; } .row .p span { display: inline-block; margin-top: 3px; padding: 2px 7px; border-radius: 99px; background: color-mix(in srgb, var(--green) 18%, transparent); color: var(--green); font-size: .7059rem; font-weight: 700; }
.row .p span.free { background: color-mix(in srgb, var(--orange) 20%, transparent); color: var(--orange); }
.more { display: block; width: 100%; margin: 14px 0 0; padding: 13px; border: 0; border-radius: 12px; background: var(--card); color: var(--acc); font-weight: 600; cursor: pointer; }
.empty, .msg { text-align: center; color: var(--t2); padding: 40px 20px; } .msg b { display: block; color: var(--text); font-size: 1.176rem; margin-bottom: 6px; }
.hint { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; background: var(--card); color: var(--t2); font-size: .8235rem; line-height: 1.4; } .hint b { color: var(--text); }
.skel { height: 150px; background: var(--card); border-radius: 12px; margin-bottom: 12px; 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: .6471rem; line-height: 1.5; } footer a { color: var(--t2); }
.fade { animation: fin .45s var(--spring) both; } @keyframes fin { from { opacity: 0; transform: translateY(10px); } }

/* Sheet (Detail) */
#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 .45s cubic-bezier(.2,.9,.3,1) both; -webkit-overflow-scrolling: touch; }
.sh.out { animation: down .3s ease-in both; } .bg.out { animation: fade .3s reverse both; }
@keyframes up { from { transform: translateY(100%); } } @keyframes down { to { 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: .8824rem; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; }
.hero { position: relative; aspect-ratio: 16 / 9; max-height: 300px; width: 100%; overflow: hidden; background: var(--fill); }
.hero::before { content: ""; position: absolute; inset: -30px; background: var(--img) center / cover; filter: blur(30px) saturate(1.4); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, var(--bg)); }
.dh { padding: 4px 16px 0; position: relative; z-index: 2; } .dh h2 { margin: 0; font-size: 1.412rem; line-height: 1.15; letter-spacing: -.01em; } .dh small { display: block; color: var(--t2); font-size: .8235rem; margin-top: 4px; }
.price { margin: 16px; padding: 16px; border-radius: 14px; background: var(--card); display: flex; align-items: center; gap: 14px; }
.price .big { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; } .price s { color: var(--t2); font-size: .9412rem; } .price .c { margin-left: auto; padding: 6px 11px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 800; font-size: 1.059rem; }
.price .c.free { background: linear-gradient(135deg, #ffcc00, #ff9500); color: #3a2400; }
.verdict { margin: 0 16px; padding: 12px 16px; border-radius: 14px; background: var(--card); display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: .9412rem; }
.verdict .ic { font-size: 1.4rem; } .verdict small { display: block; font-weight: 400; color: var(--t2); font-size: .7647rem; } .verdict.ok { box-shadow: inset 0 0 0 2px var(--green); } .verdict.gold { box-shadow: inset 0 0 0 2px var(--gold); }
.acts { display: flex; gap: 8px; margin: 14px 16px 0; } .act { flex: 1; display: grid; place-items: center; border: 0; padding: 13px; border-radius: 12px; background: var(--card); color: var(--acc); font-size: .9412rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: transform .2s var(--pop); }
.act.main { background: var(--acc); color: #fff; } .act:active { transform: scale(.96); } .act.on { color: var(--gold); }
.sec { margin: 22px 16px 0; } .sec h3 { margin: 0 0 8px 16px; font-size: .7647rem; font-weight: 400; text-transform: uppercase; color: var(--t2); }
.prow { display: flex; align-items: center; gap: 12px; padding: 11px 14px; position: relative; text-decoration: none; color: inherit; } .prow + .prow::before { content: ""; position: absolute; top: 0; left: 64px; right: 0; height: .5px; background: var(--sep); }
.prow .ic { width: 38px; height: 38px; border-radius: 9px; flex: none; display: grid; place-items: center; background: var(--sc); color: #fff; font-size: .6471rem; font-weight: 800; }
.prow .n { flex: 1; } .prow .n b { display: block; font-weight: 600; } .prow .n small { color: var(--t2); font-size: .7647rem; }
.prow .pp { font-weight: 700; } .prow .pp.low { color: var(--green); }
/* Einstellungen */
.set h2 { margin: 18px 16px 4px; font-size: 1.647rem; } .set p { margin: 0 16px 14px; color: var(--t2); font-size: .8824rem; }
.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 3px 8px rgba(0,0,0,.15); transition: transform .25s var(--spring); }
.sw input:checked + i { background: var(--green); } .sw input:checked + i::after { transform: translateX(20px); }
#toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 99; transform: translate(-50%, 30px); opacity: 0; padding: 10px 16px; border-radius: 99px; background: rgba(40,40,48,.92); color: #fff; backdrop-filter: blur(20px); font-size: .8235rem; font-weight: 600; transition: transform .5s var(--spring), opacity .3s; pointer-events: none; white-space: nowrap; }
#toast.on { transform: translate(-50%, 0); opacity: 1; }
@media (min-width: 900px) { main { max-width: 1040px; } .sh { max-width: 720px; } }
