:root{color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#0e101d;color:#f6f6ff}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #51ead7;outline-offset:3px}.shell{max-width:850px;margin:auto;min-height:100dvh}.hero{background:linear-gradient(115deg,#182b70,#4c32b8 65%,#0878a9);padding:calc(18px + env(safe-area-inset-top)) 20px 20px;border-radius:0 0 24px 24px;display:flex;align-items:center;gap:14px}.hero img{width:58px;height:58px}.hero h1{margin:0;font-size:26px}.hero p{margin:2px 0;color:#e0e7ff;font-size:12px}.tabs{display:flex;gap:5px;margin:16px 14px 0;background:#17192e;border-radius:16px;padding:5px}.tabs button{flex:1;border:0;border-radius:12px;padding:13px 4px;background:transparent;color:#adb5d2;font-weight:700}.tabs button.active{color:#081d25;background:#59e3d0}.main{padding:18px 16px 70px}.intro{font-size:15px;color:#b2bad7;margin:0 0 14px}.filter{display:grid;grid-template-columns:1fr auto;gap:8px;margin-bottom:14px}.filter input,.filter select,.radius-input{min-width:0;border:1px solid #515775;background:#20233a;border-radius:13px;padding:13px;color:#fff}.filter select{max-width:140px}.card{background:#1c2035;border:1px solid #30374e;border-radius:22px;margin:12px 0;padding:18px;box-shadow:0 10px 24px #07081348}.badge{color:#c9b7ff;font-weight:800;font-size:12px;letter-spacing:.04em}.card h3{font-size:20px;margin:10px 0 9px}.price{font-size:32px;letter-spacing:-.04em;color:#53e9d2;font-weight:800}.muted{color:#adb6d2;font-size:13px}.row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.pill{display:inline-flex;padding:7px 10px;border-radius:10px;background:#303052;color:#d2beff;font-size:12px}.counter{display:flex;align-items:center;gap:10px}.counter button{border:1px solid #5e6583;border-radius:12px;background:#292f4c;color:white;font-size:22px;min-width:40px;min-height:40px}.counter output{min-width:20px;text-align:center}.primary{background:#4be4cf;border:none;border-radius:13px;padding:12px 16px;color:#0c2531;font-weight:800}.ghost{background:#303651;color:#fff;border:0;border-radius:12px;padding:11px}.empty{padding:32px 18px;color:#bdc5de;text-align:center;background:#1c2035;border-radius:20px}.help{padding:12px 16px;border-radius:14px;background:#162c3d;color:#b6e8f0;font-size:13px}.section-title{font-size:24px;margin:0 0 12px}.splash{position:fixed;inset:0;z-index:20;background:radial-gradient(circle at 50% 36%,#2e2987,#111731 55%,#080b19);display:grid;place-items:center;text-align:center;padding:22px;transition:opacity .35s}.splash.hide{opacity:0;pointer-events:none}.splash img{width:170px}.splash h2{font-size:42px;margin:8px 0;color:#66eeda}.splash p{color:#e2e6ff}.splash strong{display:block;padding:20px;border-radius:20px;background:#282b58;color:#7bf5e6;margin-top:40px}a{color:#7df2df}small{color:#aeb5cd}@media(max-width:400px){.hero h1{font-size:22px}.card h3{font-size:18px}.main{padding:14px 12px 65px}}
.place-search{margin-top:16px}.place-search label{display:block;margin-bottom:8px}.place-search-row{display:flex;gap:8px}.place-search-row input{flex:1;min-width:0;border:1px solid #515775;background:#20233a;border-radius:13px;padding:12px;color:#fff}.place-results{display:grid;gap:7px;margin-top:10px}.place-choice{text-align:left;line-height:1.45}.store-results{display:grid;gap:8px}.store-item{border:1px solid #373e58;border-radius:14px;background:#1c2035;padding:14px;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.store-item strong{font-size:16px}.store-item p{margin:5px 0}.store-toggles{display:flex;gap:14px;align-items:center}.store-toggles label{display:flex;gap:5px;align-items:center;font-size:12px;color:#c9d5ed}.store-toggles input{accent-color:#59e3d0}

.list-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px;margin-bottom:16px;border:1px solid #373e58;border-radius:14px;background:#1c2035}.list-summary strong{font-size:15px}.list-summary .ghost{margin-left:auto}

.comparison{border-left:3px solid #59e3d0;padding:9px 12px;margin:10px 0 12px;background:#1a3040;border-radius:0 8px 8px 0;font-size:13px;line-height:1.45;color:#e3f8f3}

.list-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.list-summary strong{font-size:16px}.list-summary .muted{grid-column:1/-1;font-size:12px;line-height:1.5}.list-summary #clear-list{grid-column:1/-1;justify-self:end;margin-left:0}@media(max-width:520px){.list-summary{grid-template-columns:1fr}.list-summary .muted,.list-summary #clear-list{grid-column:1}}

#retailer-search{width:100%;padding:12px;border-radius:12px;border:1px solid #515775;background:#20233a;color:#fff;margin:8px 0 16px}.retailer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:20px}.retailer-choice{text-align:left;border:1px solid #414963;border-radius:14px;padding:18px 15px;color:#fff;background:#20283d;display:flex;flex-direction:column;gap:9px;cursor:pointer;min-height:94px}.retailer-choice strong{font-size:18px}.retailer-choice span{color:#b9c8dc;font-size:13px}.retailer-choice:hover,.retailer-choice:focus-visible,.retailer-choice.active{border-color:#59e3d0;background:#21413f}.retailer-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.retailer-detail{margin-top:12px}.retailer-detail .store-results{margin-top:12px}

/* Händler als vertikale, durchgehend anklickbare Liste statt Kachelraster. */
.retailer-grid{display:flex;flex-direction:column;gap:9px}.retailer-choice{width:100%;flex-direction:row;align-items:center;justify-content:space-between;min-height:66px;padding:14px 18px}.retailer-choice span{white-space:nowrap}@media(max-width:440px){.retailer-choice strong{font-size:16px}.retailer-choice span{font-size:12px}}


.store-info{flex:1;min-width:min(100%,280px)}.store-offers-button{margin-top:8px}.store-toggles{align-self:center;flex-wrap:wrap}.store-toggles>.muted{width:100%;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.branch-offers{margin-top:14px;padding-top:4px}.branch-offer-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.branch-offer-heading h3{margin:3px 0 4px}.branch-kicker{margin:0;color:#7df2df;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}.branch-offer-list{margin-top:10px}@media(max-width:520px){.store-item{align-items:stretch}.store-toggles{width:100%;justify-content:flex-start}.store-offers-button{width:100%}.branch-offer-heading .ghost{width:100%}}

/* Android-Pager, Detailansicht und Einstellungen in der Browser-Version. */
.hero>div{flex:1;min-width:0}.header-settings{border:0;border-radius:12px;background:#232856;color:#fff;font-size:24px;padding:7px 14px;min-height:44px}.offer-group{margin:14px 0 22px}.group-heading{display:flex;justify-content:space-between;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:8px}.group-heading strong{font-size:17px}.group-heading span{color:#bfc8e0;font-size:12px}.offer-pages{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;padding-bottom:8px}.offer-page{flex:0 0 100%;min-width:0;scroll-snap-align:start}.offer-page .card{margin:4px 0}.group-rank{color:#59e3d0;font-size:13px;font-weight:700;margin:6px 0}.open-offer{padding:7px 0;background:transparent;color:#8ef2e4;border:0;text-decoration:underline;font-size:13px}.retailer-category{display:block;width:100%;border:1px solid #515775;background:#20233a;border-radius:12px;padding:12px;color:#fff;margin:7px 0 12px}.detail-overlay{position:fixed;inset:0;z-index:30;display:flex;justify-content:center;align-items:center;background:#080a18d9;padding:16px}.detail-dialog{width:min(600px,100%);max-height:88dvh;overflow-y:auto;background:#20243b;border:1px solid #515775;border-radius:22px;padding:24px;color:#fff;box-shadow:0 16px 50px #0009}.detail-dialog h2{margin:12px 0}.detail-dialog label{display:block;margin:12px 0}.detail-dialog input[type=number]{width:100%;margin-top:8px;background:#14182a;color:#fff;border:1px solid #66708d;border-radius:11px;padding:12px}.detail-close{float:right}@media(max-width:480px){.detail-dialog{padding:18px}.group-heading{align-items:start}}

/* Android-Paritaet: Einkaufslistenaktionen und Haendleruebersicht. */
.list-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.list-actions .ghost{margin-left:0}.retailer-overview-title{align-items:center}.retailer-overview-title .section-title{margin-bottom:0}@media(max-width:520px){.list-actions{justify-content:stretch}.list-actions button{flex:1}.retailer-overview-title{align-items:flex-start}}

/* Android-Haendlerverwaltung: Schalter, Filialfilter und Sammelauswahl. */
.retailer-entry{display:flex;align-items:center;gap:10px;border-radius:14px}.retailer-entry .retailer-choice{flex:1;min-width:0}.retailer-meta{display:flex;flex-direction:column;gap:5px}.retailer-meta small{font-size:12px;color:#b9c8dc;font-weight:400;white-space:normal}.retailer-toggle{white-space:nowrap;display:flex;align-items:center;gap:5px;font-size:13px;color:#d4dfef}.retailer-toggle input{accent-color:#59e3d0;width:18px;height:18px}.branch-tools{display:grid;grid-template-columns:1fr 160px;gap:9px;margin-top:16px;margin-bottom:12px}.branch-tools input,.branch-tools select{min-width:0;padding:10px;background:#20233a;border:1px solid #515775;border-radius:12px;color:#fff}.branch-tools .ghost{min-height:43px}.branch-tools .ghost:first-of-type{grid-column:1}@media(max-width:520px){.retailer-entry{gap:6px}.retailer-entry .retailer-choice{padding:12px}.retailer-toggle{font-size:12px}.branch-tools{grid-template-columns:1fr 1fr}.branch-tools input{grid-column:1/-1}.branch-tools select{grid-column:1/-1}.branch-tools .ghost:first-of-type{grid-column:auto}}

.catalog-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}.catalog-toolbar .muted{flex:1;min-width:190px}.catalog-status{background:#1c2035;border:1px solid #373e58;border-radius:15px;padding:15px;margin:14px 0}.catalog-status p{margin:7px 0}.hero .header-settings{font-size:16px;font-weight:700;white-space:nowrap}.hero .header-settings:last-child{font-size:23px}@media(max-width:480px){.hero{gap:8px}.hero img{width:42px;height:42px}.hero .header-settings{padding:6px 9px}.catalog-toolbar .ghost{width:100%}}

/* Vergleichspager wie in Android: Normalpreise vor der besten Angebotsseite. */
.normal-price-card{border-color:#66577b;background:#252137}.normal-price-card .price{color:#c7b1ff}.normal-price-card .pill{background:#403354;color:#e5d1ff}.offer-pages{scroll-padding-inline:0}.offer-page{position:relative}.group-rank{min-height:20px}

/* Kompakte Händlerverwaltung analog Android. */
.compact-location{padding:12px!important;margin:8px 0 12px!important}
.compact-location-row{display:flex;align-items:center;gap:7px;flex-wrap:nowrap}
.compact-location-row>.place-search{flex:1;min-width:0;margin:0}
.compact-location-row .place-search-row{display:flex;gap:5px;margin:0}
.compact-location-row .place-search-row input{width:100%;min-width:0}
.compact-location-row button{white-space:nowrap;min-height:39px;padding:8px 11px}
.compact-radius{display:flex;gap:5px;align-items:center;white-space:nowrap;font-size:13px}
.compact-radius .radius-input{width:56px;padding:8px 4px;margin:0}
.compact-current{margin:5px 0;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.store-help-panel{font-size:13px;padding:8px;border-top:1px solid #424762}
.store-help-panel[hidden]{display:none}
.compact-data{padding:6px 10px;margin:6px 0}
.compact-data>strong{font-size:13px}.compact-data>p{font-size:12px}
.compact-data button{padding:5px 9px}
.retailer-list{display:flex!important;flex-direction:column;gap:4px}
.retailer-list .retailer-entry{width:100%;padding:0;border-bottom:1px solid #353b52;border-radius:0}
.retailer-list .retailer-choice{padding:8px 10px;text-align:left;background:transparent;border:0;border-radius:7px}
.retailer-list .retailer-choice.active{background:#2b345c}
.retailer-list .retailer-meta{gap:2px}
.retailer-list .retailer-meta strong{display:flex;justify-content:space-between}
.retailer-chevron{opacity:.65;margin-left:10px}
.retailer-list .retailer-toggle{margin-right:8px}
.retailer-detail{margin-top:5px}
.store-search-status{margin:5px 0}
@media(max-width:520px){
.compact-location-row{gap:4px}
.compact-location-row button{font-size:12px;padding:7px}
.compact-location-row .place-search-row input{font-size:13px;padding:7px}
.compact-radius{font-size:11px}
.compact-radius .radius-input{width:44px}
.retailer-list .retailer-choice{padding:7px}
}

.inline-branches{grid-column:1/-1;width:100%;padding:3px 8px 9px 20px;display:flex;flex-direction:column;gap:4px;background:#141b30}.inline-branch{text-align:left;width:100%;font-size:13px;white-space:normal;padding:9px;border:1px solid #39465e;border-radius:9px}.retailer-list .retailer-entry:has(+.inline-branches){border-bottom:0}.retailer-list .inline-branches{margin-bottom:7px}.retailer-list .retailer-entry{flex-wrap:wrap}

/* Original Android-Händlerquellen direkt aus dem gemeinsamen Kotlin-Modul. */
.retailer-list .official-source-link{font-size:12px;color:#92e0d8;text-decoration:underline;text-underline-offset:2px;align-self:center;padding:8px 4px;max-width:130px;line-height:1.3}
@media(max-width:520px){.retailer-list .official-source-link{max-width:100px;font-size:11px}}

.location-summary{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compact-location-row{display:flex;align-items:center;gap:.5rem}

/* Keep login labels and fields on separate, full-width rows. */
#signin{display:grid;gap:1rem}#signin label{display:flex;flex-direction:column;align-items:stretch;gap:.4rem}#signin input{width:100%;box-sizing:border-box}

/* Compact offer cards with independent source and shopping controls. */
.compact-offer{position:relative;cursor:pointer;padding:16px}.compact-offer:focus-visible{outline:2px solid #59e3d0;outline-offset:3px}.compact-offer h3{margin:0 78px 6px 0;font-size:18px}.card-location{margin:0 0 10px;color:#bcc9e0;font-size:14px}.card-tools{position:absolute;right:12px;top:12px;display:flex;gap:8px;align-items:center}.offer-source{display:inline-flex;align-items:center;justify-content:center;min-width:30px;min-height:30px;color:#88e8db}.source-unavailable{opacity:.4}.comparison-count{display:inline-grid;place-items:center;min-width:22px;height:22px;padding:0 3px;border-radius:50%;background:#303c59;color:#e7f6ff;font-size:12px;font-weight:700}.compact-offer .price{font-size:24px;margin:0}.compact-offer .counter{flex-shrink:0}.offer-pages{position:relative}.pager-controls{display:flex;justify-content:space-between;margin-top:4px}.pager-controls button{padding:5px 14px}.pager-controls button:disabled{opacity:.3}.category-filter{display:flex;flex-direction:column;gap:4px;font-size:12px;color:#c5d2e9}.category-filter select{width:100%}.help-icon{width:30px;height:30px;border:1px solid #66849a;border-radius:50%;background:transparent;color:#9ee8df;cursor:pointer;font-size:16px}.offer-help{display:flex;gap:8px;justify-content:flex-end;margin:4px 0 8px}.offer-source:focus-visible,.help-icon:focus-visible{outline:2px solid #59e3d0}

.offer-help>span{display:inline-flex;align-items:center;gap:5px;font-size:12px;color:#c5d2e9}.category-filter>span{display:flex;align-items:center;gap:5px}.category-filter .help-icon{width:24px;height:24px;font-size:13px}

.offer-search{display:flex;align-items:stretch;gap:4px;min-width:0}.offer-search input{width:100%;min-width:0;flex:1}.clear-query{flex:0 0 38px;border:1px solid #515775;border-radius:12px;background:#20233a;color:#d6f8f1;font-size:24px;cursor:pointer}.clear-query:disabled{opacity:.35;cursor:default}.offer-search input::-webkit-search-cancel-button{-webkit-appearance:none}
