/* AdaSells – Apple/iOS-Look. Wird nach style.css geladen und überschreibt dessen dunkles Design.
   Hell und dunkel folgen dem System (prefers-color-scheme); die iPhone-App erzwingt ihr violettes Dunkel (appmode.css). */
@font-face { font-family: "Work Sans"; src: url("fonts/WorkSans-latin.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
:root {
  --bg: #c6e2f2; --surface: #ffffff; --surface-2: rgba(255, 255, 255, .6); --well: #f4f4f6;
  --border: rgba(10, 30, 50, .14); --hair: rgba(10, 30, 50, .1);
  --text: #0b0d10; --muted: #4a5a68;
  --accent: #fe0032; --accent-soft: rgba(254, 0, 50, .13); --on-accent: #fff;
  --good: #14803a; --danger: #d4002b; --heart: #fe0032;
  --glass-rgb: 255, 255, 255; --ga: .55; --ga-scale: 1; --gb: 24px; --blob-op: .7;
  --glass-card: rgba(var(--glass-rgb), calc(var(--ga) * var(--ga-scale)));
  --glass-card-line: rgba(255, 255, 255, .7); --rim: rgba(255, 255, 255, .85);
  --glass: rgba(255, 255, 255, .7); --glass-strong: rgba(255, 255, 255, .86); --glass-line: rgba(255, 255, 255, .75);
  --blob-1: rgba(255, 110, 140, .55); --blob-2: rgba(255, 255, 255, .95); --blob-3: rgba(140, 150, 255, .5);
  --shadow-s: 0 1px 2px rgba(10, 40, 70, .06), 0 6px 20px rgba(10, 40, 70, .08);
  --shadow-m: 0 12px 38px rgba(10, 40, 70, .18);
  --seg-on: #fff;
  --radius: 24px; --nav-h: 64px; --gutter: 1rem;
  --font: "Work Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070a10; --surface: #171a21; --surface-2: rgba(255, 255, 255, .09); --well: #f4f4f6;
    --border: rgba(255, 255, 255, .15); --hair: rgba(255, 255, 255, .09);
    --text: #f4f6f8; --muted: #a0abb5;
    --accent: #ff3358; --accent-soft: rgba(255, 51, 88, .2);
    --good: #34d070; --danger: #ff5470;
    --seg-on: #5b616c; --glass-rgb: 255, 255, 255; --ga-scale: .2; --glass-card-line: rgba(255, 255, 255, .17); --rim: rgba(255, 255, 255, .25);
    --glass: rgba(20, 24, 32, .7); --glass-strong: rgba(30, 34, 44, .9); --glass-line: rgba(255, 255, 255, .14);
    --blob-1: rgba(254, 0, 50, .38); --blob-2: rgba(30, 90, 200, .45); --blob-3: rgba(120, 70, 220, .38);
    --shadow-s: 0 1px 2px rgba(0, 0, 0, .5); --shadow-m: 0 14px 40px rgba(0, 0, 0, .6);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #070a10; --surface: #171a21; --surface-2: rgba(255, 255, 255, .09); --well: #f4f4f6;
  --border: rgba(255, 255, 255, .15); --hair: rgba(255, 255, 255, .09);
  --text: #f4f6f8; --muted: #a0abb5;
  --accent: #ff3358; --accent-soft: rgba(255, 51, 88, .2);
  --good: #34d070; --danger: #ff5470;
  --seg-on: #5b616c; --glass-rgb: 255, 255, 255; --ga-scale: .2; --glass-card-line: rgba(255, 255, 255, .17); --rim: rgba(255, 255, 255, .25);
  --glass: rgba(20, 24, 32, .7); --glass-strong: rgba(30, 34, 44, .9); --glass-line: rgba(255, 255, 255, .14);
  --blob-1: rgba(254, 0, 50, .38); --blob-2: rgba(30, 90, 200, .45); --blob-3: rgba(120, 70, 220, .38);
  --shadow-s: 0 1px 2px rgba(0, 0, 0, .5); --shadow-m: 0 14px 40px rgba(0, 0, 0, .6);
}
:root[data-theme="light"] { color-scheme: light; }
html { background: var(--bg); }
body { font-family: var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; letter-spacing: -.011em; padding-bottom: calc(var(--nav-h) + 44px + env(safe-area-inset-bottom)); }
main { padding: var(--gutter); }
h2 { letter-spacing: -.025em; }
a { color: var(--accent); }
.large-title { font-size: 2.15rem; line-height: 1.08; font-weight: 800; letter-spacing: -.04em; margin: .25rem 0 .8rem; }

/* ---------- Steuerelemente ---------- */
input, select, textarea { background: var(--surface-2); border: 1px solid transparent; border-radius: 12px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; background: var(--surface); }
.chip, .pill-select { background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.chip:hover { background: var(--surface-2); }
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip.ok { border-color: var(--good); color: var(--good); }
.primary { background: var(--accent); color: var(--on-accent); font-weight: 700; }
.primary.wide { display: block; margin: 0 auto; padding-inline: 2rem; }
.link-btn { background: none; border: 0; color: var(--accent); font-weight: 600; padding: .2rem .1rem; font-size: .92rem; }
.badge { background: var(--accent); color: var(--on-accent); }
kbd, code, pre { background: var(--surface-2); border-color: var(--border); }
.panel, .card { background: var(--surface); border: 0; border-radius: var(--radius); box-shadow: var(--shadow-s); }
.panel { padding: 1.1rem; }

/* Segment-Schalter wie bei iOS */
.seg { display: inline-flex; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: rgba(118, 118, 128, .14); border-radius: 11px; padding: 2px; gap: 2px; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; border: 0; background: transparent; color: var(--text); padding: .38rem .95rem; border-radius: 9px; font-weight: 600; font-size: .86rem; transition: background .2s, box-shadow .2s; }
.seg button small { margin-left: .35rem; color: var(--muted); font-weight: 600; }
.seg button.active { background: var(--surface); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.seg.small button { padding: .3rem .75rem; font-size: .8rem; }

/* ---------- Kopfzeile & untere Leiste ---------- */
.topbar { background: var(--glass-strong); border-bottom: 1px solid var(--hair); }
.topbar-inner { padding: .55rem var(--gutter); }
.brand { color: var(--text); font-weight: 800; font-size: 1.2rem; letter-spacing: -.04em; }
.brand span { color: var(--accent); }
.fx { color: var(--muted); }

/* Schwebende Glas-Leiste (iOS 26): Reiter in einer Kapsel, der aktive hat eine Markierung */
#nav {
  left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 62px; padding: 6px; gap: 2px;
  background: var(--glass); backdrop-filter: saturate(180%) blur(26px); -webkit-backdrop-filter: saturate(180%) blur(26px);
  border: 1px solid var(--glass-line); border-radius: 34px; box-shadow: var(--shadow-m);
}
#nav button { color: var(--muted); border-radius: 28px; font-size: .64rem; letter-spacing: -.005em; transition: background .25s, color .25s; }
#nav button.active { color: var(--accent); background: var(--accent-soft); }
#nav button.active svg { stroke: var(--accent); }
#nav .badge { top: 4px; }
#nav.searching [data-view="search"] { color: var(--accent); background: var(--accent-soft); }
#nav.searching [data-view="search"] svg { stroke: var(--accent); }
#nav.searching [data-view="products"].active { color: var(--muted); background: none; }
#nav.searching [data-view="products"].active svg { stroke: currentColor; }
body:has(#view-detail:not([hidden])) #nav, body.lk-open #nav { z-index: 60; }

@media (min-width: 900px) {
  body { padding-bottom: 3rem; }
  .topbar { background: var(--glass); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); }
  .topbar-inner { padding: .7rem 1.5rem; }
  #nav { position: static; height: auto; padding: 3px; gap: 2px; border-radius: 14px; background: rgba(118, 118, 128, .14); border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; margin-left: 1.5rem; }
  #nav button { border-radius: 11px; padding: .42rem .95rem; color: var(--text); font-size: .86rem; }
  #nav button:hover { background: rgba(118, 118, 128, .14); }
  #nav button.active { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
  #nav button.active svg { stroke: var(--accent); }
  :root { --gutter: 1.5rem; }
}

/* ---------- Suchfeld ---------- */
.searchbar { max-width: none; margin: 0 0 1rem; }
.searchbar input { background: rgba(118, 118, 128, .14); border: 0; border-radius: 14px; padding: .72rem 3rem .72rem 2.6rem; font-size: 1rem; color: var(--text); }
.searchbar input:focus { background: var(--surface); outline-offset: 0; }
.searchbar svg { left: .85rem; }
.icon-btn { background: transparent; color: var(--accent); }
.icon-btn:hover { background: var(--accent-soft); }
@media (min-width: 900px) { .searchbar { max-width: 640px; } }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: .2rem; }
.page-head .large-title { margin: .1rem 0 .3rem; }
.page-head + .searchbar { margin-top: .5rem; }
.results-head { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem .8rem; margin: .1rem 0 1rem; }
.results-title { flex: 1 1 auto; margin: 0; font-size: 1.7rem; font-weight: 800; letter-spacing: -.035em; }
.back { background: var(--surface); border: 1px solid var(--border); color: var(--accent); }
.back:hover { background: var(--surface-2); }
.crumb { color: var(--muted); } .crumb:hover { color: var(--text); }
#product-count { display: none; }

/* ---------- Karussells ---------- */
.rail {
  display: flex; gap: .9rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
  padding: 2px var(--gutter) 14px; margin: 0 calc(var(--gutter) * -1); scroll-padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail > .tile { flex: 0 0 clamp(150px, 42vw, 196px); width: auto; scroll-snap-align: start; }
.rail.mini > .tile { flex-basis: 118px; }
.rail.mini .tile-title { font-size: .78rem; } .rail.mini .tile-meta, .rail.mini .tile-note { display: none; }
.rail-wrap { position: relative; }
.rail-arrow { display: none; }
@media (hover: hover) and (min-width: 900px) {
  .rail-arrow { display: grid; place-items: center; position: absolute; top: 38%; width: 40px; height: 40px; border-radius: 50%; border: 0; font-size: 1.5rem; line-height: 1; padding-bottom: 3px;
    background: var(--glass-strong); color: var(--text); box-shadow: var(--shadow-m); backdrop-filter: blur(12px); opacity: 0; transition: opacity .2s; z-index: 5; }
  .rail-arrow[hidden] { display: none; }
  .rail-arrow.prev { left: -12px; } .rail-arrow.next { right: -12px; }
  .rail-wrap:hover .rail-arrow { opacity: 1; }
}
.sec { margin: 1.5rem 0 .3rem; }
.sec[hidden] { display: none; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.sec-head h2 { margin: 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; }
.sec-note { margin: -.35rem 0 .6rem; }
.home-end { text-align: center; padding: 1.8rem 0 1rem; }

/* Große Karten oben auf der Startseite */
.hero-rail > .hero-card {
  flex: 0 0 min(86vw, 390px); height: 212px; scroll-snap-align: start; position: relative; overflow: hidden; border: 0; border-radius: 30px; padding: 1.15rem 1.25rem; text-align: left; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem; box-shadow: var(--shadow-m); transition: transform .2s;
}
.hero-card:active { transform: scale(.98); }
.hero-icon { position: absolute; top: .9rem; right: 1.1rem; font-size: 3.6rem; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .25)); }
.hero-kicker { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.hero-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.1; }
.hero-text { font-size: .86rem; line-height: 1.35; opacity: .9; max-width: 25ch; }
.h-look { background: linear-gradient(135deg, #5e5ce6, #bf5af2 70%, #ff6bd6); }
.h-swipe { background: linear-gradient(135deg, #ff375f, #ff9f0a); }
.h-cap { background: linear-gradient(135deg, #0a84ff, #30d158); }
.h-fill { background: linear-gradient(135deg, #1c1c1e, #3a3a3c 60%, #636366); }

.cat-rail { gap: .35rem; }
.cat-rail > .cat { flex: 0 0 76px; background: none; border: 0; padding: 0; display: grid; justify-items: center; gap: .4rem; color: var(--text); scroll-snap-align: start; font-size: .74rem; font-weight: 600; }
.cat-ic { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; background: var(--surface); box-shadow: var(--shadow-s); transition: transform .2s; }
.cat:active .cat-ic { transform: scale(.92); }
.brand-rail > .brand-chip { flex: 0 0 auto; display: flex; align-items: center; gap: .55rem; background: var(--surface); border: 0; border-radius: 20px; padding: .5rem .95rem .5rem .5rem; box-shadow: var(--shadow-s); font-weight: 700; color: var(--text); scroll-snap-align: start; }
.brand-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--bg); font-size: .72rem; font-weight: 800; letter-spacing: 0; }
.brand-chip small { color: var(--muted); font-weight: 600; }

/* ---------- Produktkarte ---------- */
.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem .85rem; margin-top: .6rem; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: .6rem; width: 100%; padding: 0; border: 0; border-radius: 0; overflow: visible; aspect-ratio: auto; background: none;
  text-align: left; text-decoration: none; color: inherit; box-shadow: none; transition: transform .2s ease;
}
.tile::after { display: none; }
.tile:hover { transform: none; box-shadow: none; }
.tile:active { transform: scale(.985); }
.tile-img { position: relative; display: block; aspect-ratio: 1; border-radius: 20px; overflow: hidden; background: var(--well); inset: auto; z-index: 0; }
.tile-img img { padding: 5%; object-fit: contain; mix-blend-mode: multiply; }
.tile-img img.fill { padding: 0; object-fit: cover; mix-blend-mode: normal; }
@media (hover: hover) { .tile:hover .tile-img img { transform: scale(1.045); } }
.tile .noimg { color: #6e6e73; }
.tile-body { display: grid; gap: .16rem; padding: 0 .15rem; min-width: 0; }
.tile-brand { font-size: .66rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.tile-title {
  position: static; opacity: 1; transform: none; color: var(--text); font-size: .9rem; font-weight: 600; line-height: 1.3; letter-spacing: -.012em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; word-break: break-word;
}
.tile-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .5rem; margin-top: .12rem; }
.pr-prefix { font-size: .72rem; font-weight: 600; color: var(--muted); }
.pr-main { font-size: 1.1rem; font-weight: 800; letter-spacing: -.025em; }
.pr-cny { font-size: .78rem; font-weight: 500; color: var(--muted); }
.pr-was { font-size: .76rem; font-weight: 500; color: var(--muted); }
.tile-meta { font-size: .74rem; color: var(--muted); }
.tile-note { font-size: .72rem; font-weight: 600; color: var(--accent); }
.badges { position: absolute; left: .5rem; top: .5rem; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.badge-pill { background: var(--glass-strong); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #1d1d1f; border-radius: 999px; font-size: .7rem; font-weight: 700; padding: .16rem .55rem; line-height: 1.3; }
.badge-pill.drop { background: #30d158; color: #032b0f; }
.badge-pill.new { background: var(--accent); color: var(--on-accent); }
.delta { position: absolute; right: .5rem; top: .5rem; z-index: 2; border-radius: 999px; font-size: .72rem; font-weight: 800; padding: .16rem .55rem; background: var(--glass-strong); color: #1d1d1f; }
.delta.down { background: #30d158; color: #032b0f; }
.fav { position: absolute; right: .5rem; bottom: .5rem; z-index: 3; width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; display: grid; place-items: center; background: var(--glass-strong); color: var(--text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.fav svg { width: 18px; height: 18px; stroke-width: 2.1; }
.fav[aria-pressed="true"] { color: var(--heart); }
.fav[aria-pressed="true"] svg { fill: currentColor; animation: pop .35s ease; }
@keyframes pop { 40% { transform: scale(1.35); } }
.tile .score { right: .5rem; top: .5rem; bottom: auto; }
.tile.skeleton { aspect-ratio: 3 / 4; border-radius: 20px; }
.skeleton { background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface) 50%, var(--surface-2) 70%); background-size: 220% 100%; }
.tile.look-in { outline: 0; }
.tile.look-in .tile-img { outline: 3px solid var(--accent); outline-offset: -3px; }
.tile.look-in .badges { display: none; }
.tile.look-in::before { top: .6rem; left: .6rem; }
.tile.market { aspect-ratio: 1; border-radius: 20px; overflow: hidden; background-color: var(--well); background-size: cover; background-position: center; }

@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.7rem 1rem; } .rail > .tile { flex-basis: 200px; } }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 1.2rem; } .rail > .tile { flex-basis: 214px; } .hero-rail > .hero-card { flex-basis: 420px; height: 230px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Kategorien-Menü ---------- */
.qb { background: var(--surface); border-color: var(--border); }
.qb-side { background: var(--surface-2); border-color: var(--hair); }
.qb-item.quick span { color: var(--text); }
.qb-item.active { background: var(--surface); color: var(--text); border-left-color: var(--accent); border-bottom-color: var(--accent); }
.qb-item:hover { color: var(--text); }
.qb-tile:hover { background: var(--surface-2); }
.qb-tile.active { background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.qb-sub:hover, .qb-sub.active, .qb-all:hover { color: var(--text); }
.qb-sub::before { background: var(--border); }
.qb-block, .qb-head { border-color: var(--hair); }
.qb-btn.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }

/* ---------- Produktseite ---------- */
.pd-stage { background: var(--well); border-radius: 30px; }
.pd-hero { mix-blend-mode: multiply; }
.thumb { background: var(--well); }
.thumb img { mix-blend-mode: multiply; }
.thumb.active { border-color: var(--accent); }
.pd-arrow { background: var(--glass-strong); color: #1d1d1f; }
.pd-count { background: var(--glass-strong); color: #1d1d1f; }
.detail-info.card, .pd-qc.card, .pd-same, .pd-pairs { padding: 1.3rem; }
.pd > .card { margin-top: 0; }
.pd { grid-template-columns: minmax(0, 1fr); }              /* Karussells dürfen die Seite nicht verbreitern */
@media (max-width: 899px) { .pd-grid { grid-template-columns: minmax(0, 1fr); } }
.pd-title { font-size: 1.55rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.2; }
.tag-chip { background: var(--surface-2); border: 0; color: var(--muted); }
.mk { background: var(--surface-2); }
.detail-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .7rem; margin: .5rem 0 .3rem; }
.detail-price .pr-main { font-size: 2.2rem; letter-spacing: -.04em; }
.detail-price .pr-cny { font-size: 1.05rem; }
.detail-price .pr-prefix { font-size: 1rem; }
.ship-box { background: var(--surface-2); border-radius: 16px; padding: .75rem .9rem; margin: .5rem 0 .9rem; }
.ship-box[hidden] { display: none; }
.ship-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .5rem; }
.ship-head b { font-size: 1.3rem; letter-spacing: -.03em; }
.ship-details > summary { cursor: pointer; color: var(--accent); font-size: .82rem; font-weight: 600; margin-top: .35rem; list-style: none; }
.ship-details > summary::-webkit-details-marker { display: none; }
.ship-rows { display: grid; gap: .4rem; margin: .65rem 0 .3rem; }
.ship-row { display: flex; justify-content: space-between; gap: 1rem; font-size: .86rem; }
.ship-row span { color: var(--muted); }
.ship-row b { white-space: nowrap; }
.ship-row.best, .ship-row.best span { color: var(--good); }
.price-hist { display: flex; align-items: center; gap: .9rem; margin: .4rem 0 .6rem; }
.spark { width: 132px; height: 42px; flex: none; }
.spark polyline { stroke: var(--muted); } .spark circle { fill: var(--muted); }
.price-hist.down .spark polyline { stroke: var(--good); } .price-hist.down .spark circle { fill: var(--good); }
.price-hist.up .spark polyline { stroke: var(--danger); } .price-hist.up .spark circle { fill: var(--danger); }
.ph-text { display: grid; gap: .1rem; }
.opt { background: var(--surface-2); border: 1px solid transparent; }
.opt.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.opt.recommended:not(.selected) { box-shadow: 0 0 0 2px var(--good); }
.opt.recommended::after { content: "★"; position: absolute; top: -2px; right: 3px; font-size: .7rem; color: var(--good); }
.opt { position: relative; }
.size-note { margin: -.2rem 0 .5rem; }
.size-note p { margin: .3rem 0; }
.size-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: .4rem; }
.size-form .primary, .size-form .chip, .size-form > p { grid-column: 1 / -1; }
.size-field { display: grid; gap: .25rem; font-size: .8rem; color: var(--muted); font-weight: 600; }
.size-field input, .size-field select { color: var(--text); font-weight: 500; }
.watch-box { display: grid; gap: .15rem; background: rgba(255, 159, 10, .14); border-radius: 14px; padding: .65rem .85rem; margin: .5rem 0; font-size: .86rem; }
.status-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .7rem 0; }
.detail-buy { gap: .6rem; }
.detail-buy input { width: 4rem; }
@media (max-width: 899px) {
  .detail-buy {
    position: sticky; bottom: calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); z-index: 30; margin: 1rem -.3rem .8rem; padding: .55rem .6rem; border-radius: 26px;
    background: var(--glass-strong); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); box-shadow: var(--shadow-m); border: 1px solid var(--glass-line);
  }
}
.pd-same h3, .pd-pairs h3, .pd-qc h3, .pd-similar h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; }
.pd-similar { margin-top: 1rem; }
.pd-similar h3 { margin-bottom: .6rem; }
.pd-pairs .seg { margin: .4rem 0 .8rem; }
.qc-empty { border-color: var(--border); }
.qc-tab .qc-n { background: var(--hair); }
.qc-tab.active .qc-n { background: rgba(255, 255, 255, .25); color: inherit; }
.qc-size[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.qc-load, .qc-tile { background: var(--surface-2); }
.pl { border-color: var(--hair); }

/* ---------- Warenkorb ---------- */
.cart-item { background: var(--surface); border: 0; box-shadow: var(--shadow-s); }
.cart-item .ci-img { background-color: var(--well); background-size: contain; background-repeat: no-repeat; background-position: center; }
.stepper { background: var(--surface-2); border: 0; }
.summary-card { padding: 1.2rem; }
.summary td { border-bottom-color: var(--hair); }
.summary .total td { color: var(--text); font-size: 1.35rem; letter-spacing: -.03em; }
.cart-extras { display: grid; gap: .8rem; margin-bottom: 1rem; }
.cart-extras:empty { display: none; }
.tip { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-s); padding: 1rem 1.1rem; display: grid; gap: .55rem; min-width: 0; }
.tip p { margin: 0; }
.tip-title { display: flex; align-items: center; gap: .55rem; font-size: 1rem; }
.cart-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cart-tab.chip.active { background: var(--text); color: var(--bg); }
.cart-name { color: var(--text); }
.haul-sheet .haul-img { width: 100%; border-radius: 18px; box-shadow: var(--shadow-m); display: block; }
.haul-sheet .lk-actions { margin-top: 1rem; }

/* ---------- Wischen ---------- */
#view-discover .seg { margin-bottom: .6rem; }
.deck-cats { padding-bottom: .5rem; flex: none; }
.deck-stack { position: relative; height: clamp(300px, calc(100dvh - 450px), 540px); max-width: 420px; margin: .4rem auto .6rem; touch-action: none; }
.deck-card {
  position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 30px; background: var(--surface); box-shadow: var(--shadow-m);
  transform: translateY(calc(var(--d, 0) * 14px)) scale(calc(1 - var(--d, 0) * .05)); z-index: calc(10 - var(--d, 0)); user-select: none; -webkit-user-select: none; cursor: grab;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
.deck-card.leaving { opacity: 0; pointer-events: none; }
.deck-img { position: relative; flex: 1; min-height: 0; background: var(--well); display: grid; place-items: center; }
.deck-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; pointer-events: none; padding: 4%; }
.deck-img img.fill { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.deck-body { padding: 1rem 1.2rem 1.25rem; display: grid; gap: .25rem; }
.deck-title { margin: 0; font-size: 1.1rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-price.big .pr-main { font-size: 1.7rem; }
.deck-tag { position: absolute; top: 1.2rem; padding: .25rem .8rem; border: 3px solid; border-radius: 12px; font-weight: 900; letter-spacing: .08em; opacity: 0; background: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.deck-tag.like { left: 1.2rem; color: #1fb948; border-color: #1fb948; transform: rotate(-12deg); }
.deck-tag.skip { right: 1.2rem; color: #ff453a; border-color: #ff453a; transform: rotate(12deg); }
.going-like .deck-tag.like, .going-skip .deck-tag.skip { opacity: var(--k, 1); }
.deck-actions { display: flex; justify-content: center; align-items: center; gap: 1.1rem; margin: .8rem 0 .4rem; }
.deck-btn { width: 64px; height: 64px; border-radius: 50%; border: 0; font-size: 1.6rem; background: var(--surface); box-shadow: var(--shadow-m); color: var(--text); transition: transform .15s; }
.deck-btn:active { transform: scale(.9); }
.deck-btn.like { color: var(--heart); } .deck-btn.skip { color: #ff453a; }
.deck-btn.undo, .deck-btn.open { width: 46px; height: 46px; font-size: 1.1rem; color: var(--muted); font-weight: 700; }
.deck-note, .deck-empty { text-align: center; }
.deck-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }

/* ---------- Schrank & Kapsel ---------- */
.wd-body { margin-top: .9rem; }
.wd-item { display: grid; gap: .45rem; align-content: start; }
.wd-actions { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.wd-actions .chip { padding: .28rem .7rem; font-size: .76rem; }
.empty-state { display: grid; justify-items: center; gap: .5rem; text-align: center; padding: 2.4rem 1rem; }
.empty-state p { margin: 0; max-width: 32ch; }
.empty-ic { font-size: 2.8rem; }
.gaps h3 { margin-bottom: .3rem; }
.gap-row { display: grid; grid-template-columns: 8rem 1fr 2.6rem auto; gap: .7rem; align-items: center; margin: .55rem 0; font-size: .88rem; }
.gap-bar { height: 8px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.gap-bar i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.gap-row.ok .gap-bar i { background: var(--good); }
.gap-n { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.gaps, .size-card, .cap-form, .cap-sum { padding: 1.1rem 1.2rem; margin-bottom: 1rem; }
.size-card > summary { cursor: pointer; font-weight: 700; }
.wd-body > .card:last-child { margin-top: 1.4rem; }
.cap-form { display: grid; gap: .9rem; }
.cap-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin-bottom: .8rem; }
.cap-stats b { display: block; font-size: 1.6rem; letter-spacing: -.035em; }
.cap-combos { display: flex; flex-wrap: wrap; gap: .7rem; margin: .4rem 0 .9rem; }
.cap-combo { display: flex; gap: .2rem; padding: .35rem; border-radius: 16px; background: var(--well); }
.cap-combo img { width: 62px; height: 62px; object-fit: contain; mix-blend-mode: multiply; border-radius: 10px; }
.cap-sum .row { margin-bottom: .6rem; }
#view-capsule > p, #view-wardrobe > p { margin-top: -.3rem; }

/* ---------- Sonstiges ---------- */
.link-result, .look-bar, .lk-card, .lk-sum, .link-row { border-color: var(--hair); }
.lk-top { background: var(--glass-strong); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.empty { color: var(--muted); }
dialog { background: var(--surface); }
.warn { background: rgba(255, 159, 10, .14); border-color: rgba(255, 159, 10, .4); color: var(--text); }
.tag { background: rgba(255, 159, 10, .18); color: var(--text); }
.tile-img img, .pd-hero, .thumb img, .deck-img img { mix-blend-mode: multiply; }

/* ================= Stil: Himmelblau, kräftiges Rot, Work Sans, Frosted Glass ================= */
/* Anregung: strollology.com (Design-Studio: pastellblau, leichte Schrift, rote Akzente, schwarze Etiketten, riesige 3D-Schrift)
   und das Glas-Material von iOS 26 (Kontrollzentrum: durchscheinende Kacheln mit hellem Rand über farbigem Hintergrund). */
html { background: var(--bg); }
body { background: transparent; font-family: var(--font); }
.bg-blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; opacity: var(--blob-op); }
.bg-blobs i { position: absolute; width: 85vmax; height: 85vmax; border-radius: 50%; will-change: transform; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.bg-blobs i:nth-child(1) { right: -32vmax; top: -38vmax; background: radial-gradient(circle, var(--blob-1), transparent 66%); }
.bg-blobs i:nth-child(2) { left: -45vmax; top: 22vh; background: radial-gradient(circle, var(--blob-2), transparent 66%); }
.bg-blobs i:nth-child(3) { right: -30vmax; bottom: -45vmax; background: radial-gradient(circle, var(--blob-3), transparent 66%); }
h1, h2, h3, button, input, select, textarea { font-family: inherit; }

/* Schrift: leicht und groß, fett nur dort, wo es zählt */
.large-title { font-weight: 300; font-size: 3rem; letter-spacing: -.055em; line-height: .98; margin: .3rem 0 .6rem; }
.large-title::after { content: "."; color: var(--accent); font-weight: 800; }
.brand { font-weight: 300; font-size: 1.4rem; letter-spacing: -.05em; }
.brand span { font-weight: 800; color: var(--accent); }
.sec-head h2 { font-weight: 400; font-size: 1.8rem; letter-spacing: -.05em; }
.results-title { font-weight: 300; font-size: 2.2rem; letter-spacing: -.05em; }
.pd-title { font-weight: 500; letter-spacing: -.045em; }
.tile-title { font-weight: 500; }
.hero-title { font-weight: 300; font-size: 2rem; letter-spacing: -.05em; line-height: 1.02; }
.hero-text { font-weight: 400; }
.pd-same h3, .pd-pairs h3, .pd-qc h3, .pd-similar h3 { font-weight: 400; letter-spacing: -.045em; font-size: 1.5rem; }
.link-btn { color: var(--accent); }

/* Glasflächen: durchscheinend, unscharf dahinter, heller Rand oben */
.card, .panel, .tip, .cart-item, .summary-card, .ship-box, .gaps, .size-card, .cap-form, .cap-sum, .look-bar, .link-result, .lk-card, .lk-sum, .cc-tile, .cc-pill, .watch-box {
  background: var(--glass-card); border: 1px solid var(--glass-card-line);
  -webkit-backdrop-filter: blur(var(--gb)) saturate(170%); backdrop-filter: blur(var(--gb)) saturate(170%);
  box-shadow: inset 0 1px 0 var(--rim), var(--shadow-s);
}
.qb { background: var(--glass-strong); -webkit-backdrop-filter: blur(var(--gb)) saturate(170%); backdrop-filter: blur(var(--gb)) saturate(170%); }
.chip, .pill-select, .cat-ic, .brand-chip, .icon-round, .seg, .searchbar input, .stepper, .back {
  background: var(--glass-card); border: 1px solid var(--glass-card-line);
  -webkit-backdrop-filter: blur(calc(var(--gb) * .7)) saturate(170%); backdrop-filter: blur(calc(var(--gb) * .7)) saturate(170%);
  box-shadow: inset 0 1px 0 var(--rim);
}
.chip.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.seg button.active { background: var(--seg-on); box-shadow: 0 1px 4px rgba(0, 0, 0, .22); }
.searchbar input { padding-left: 2.7rem; }
.searchbar input:focus { background: var(--glass-strong); }
.brand-rail > .brand-chip, .cat-ic { box-shadow: inset 0 1px 0 var(--rim), var(--shadow-s); }
.cart-item .ci-img, .cap-combo { box-shadow: none; }

/* Leiste unten: wie die Kacheln im Kontrollzentrum, aktiver Reiter als farbige Kapsel */
#nav { background: var(--glass); border-color: var(--glass-line); -webkit-backdrop-filter: blur(var(--gb)) saturate(180%); backdrop-filter: blur(var(--gb)) saturate(180%); box-shadow: inset 0 1px 0 var(--rim), var(--shadow-m); }
#nav button.active { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 45%, transparent); }
#nav button.active svg { stroke: currentColor; }
#nav .badge { background: var(--text); color: var(--bg); }
#nav.searching [data-view="search"] { background: var(--accent); color: var(--on-accent); }
#nav.searching [data-view="search"] svg { stroke: currentColor; }
.topbar { -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (min-width: 900px) { .topbar { -webkit-backdrop-filter: blur(var(--gb)) saturate(170%); backdrop-filter: blur(var(--gb)) saturate(170%); } #nav { box-shadow: none; } #nav button { color: var(--text); } #nav button.active { color: var(--on-accent); } }
.icon-round { width: 38px; height: 38px; border-radius: 50%; padding: 0; margin-left: .5rem; display: grid; place-items: center; color: var(--text); flex: none; }
.icon-round svg { width: 19px; height: 19px; }

/* Karten: Etiketten wie bei strollology – schwarze Kapseln mit weißer Schrift */
.tile-img { border-radius: 24px; }
.badge-pill { background: #0a0a0a; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; letter-spacing: .01em; }
.badge-pill.drop { background: var(--accent); color: var(--on-accent); }
.badge-pill.new { background: #fff; color: #0a0a0a; }
.delta { background: #0a0a0a; color: #fff; } .delta.down { background: var(--accent); color: var(--on-accent); }
.fav { background: rgba(255, 255, 255, .78); color: #1a1d21; }
.fav[aria-pressed="true"] { color: var(--accent); }
.tile-brand { color: var(--text); opacity: .6; }
.pr-main { font-weight: 700; }
.tile-note { color: var(--accent); }

/* Große Karten mit Glanz */
.hero-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(155deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 46%); }
.hero-rail > .hero-card { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 0 0 1px rgba(255, 255, 255, .2), var(--shadow-m); }
.hero-card > * { position: relative; }
.hero-icon { position: absolute; }
.h-look { background: linear-gradient(135deg, #fe0032, #ff5c7c 70%, #ff9bb0); }
.h-swipe { background: linear-gradient(135deg, #2b6cf6, #6ab7ff 70%, #b9e2ff); }
.h-cap { background: linear-gradient(135deg, #0b0d10, #2c3138 70%, #4a525c); }
.h-fill { background: linear-gradient(135deg, #8a7bff, #c4b8ff 70%, #eadfff); color: #14102b; }
.h-fill .hero-text, .h-fill .hero-kicker { color: #14102b; }

/* Einstellungen im Stil des Kontrollzentrums */
.settings-sheet { background: color-mix(in srgb, var(--bg) 40%, transparent); -webkit-backdrop-filter: blur(36px) saturate(170%); backdrop-filter: blur(36px) saturate(170%); }
.settings-sheet .lk-top { background: transparent; border-bottom: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.settings-sheet .lk-top h2 { font-weight: 300; font-size: 2rem; letter-spacing: -.05em; }
.cc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; width: 100%; }
.cc-tile { border-radius: 30px; padding: 1rem; display: grid; gap: .7rem; align-content: start; }
.cc-title { font-weight: 700; font-size: .86rem; }
.cc-modes { grid-column: span 2; grid-row: span 2; }
.cc-slider-tile { grid-row: span 2; align-content: stretch; grid-template-rows: 1fr auto; padding: .7rem .6rem; }
.cc-accent { grid-column: span 4; }
.cc-rounds { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.cc-round { display: grid; justify-items: center; gap: .15rem; padding: .75rem .2rem .55rem; border: 0; border-radius: 26px; color: var(--text); background: rgba(120, 130, 145, .28); font-size: .72rem; font-weight: 600; transition: background .2s, transform .15s; }
.cc-round:active { transform: scale(.94); }
.cc-round.on { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 45%, transparent); }
.cc-round svg { width: 26px; height: 26px; }
.cc-slider { position: relative; min-height: 11rem; height: 100%; border-radius: 26px; background: rgba(120, 130, 145, .3); overflow: hidden; touch-action: none; cursor: pointer; }
.cc-fill { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, .94); }
.cc-slider-ic { position: absolute; bottom: .75rem; left: 50%; transform: translateX(-50%); color: #222; font-size: 1.35rem; line-height: 1; }
.cc-cap { text-align: center; font-size: .76rem; font-weight: 600; }
.cc-dots { display: flex; flex-wrap: wrap; gap: .7rem; }
.cc-dot { width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; background: var(--dot); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 2px 8px rgba(0, 0, 0, .2); }
.cc-dot.auto { background: conic-gradient(#fe0032, #ff9500, #18b36b, #0a84ff, #8b5cf6, #fe0032); }
.cc-dot.on { outline: 3px solid var(--text); outline-offset: 2px; }
.cc-pill { grid-column: span 2; display: flex; align-items: center; gap: .7rem; border-radius: 999px; padding: .65rem 1rem .65rem .65rem; color: var(--text); text-align: left; }
.cc-pill:last-child { grid-column: span 4; }
.cc-pill-ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font-size: 1.05rem; font-weight: 700; }
.cc-pill-text { display: grid; min-width: 0; }
.cc-pill-text b { font-size: .88rem; }
.cc-pill-text small { color: var(--muted); font-size: .72rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.settings-sheet .lk-body { align-content: start; }
.searchbar > svg { z-index: 2; pointer-events: none; }
.searchbar .icon-btn { z-index: 2; }

/* Symbole (icons.js): Größe folgt der Schrift, Farbe der Textfarbe */
.ic { display: inline-flex; width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; line-height: 1; }
.ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ic svg [fill="currentColor"] { stroke-width: 1.2; }
button .ic:not(:last-child), .chip .ic:not(:last-child), a .ic:not(:last-child) { margin-right: .35em; }
.badge-pill .ic { width: 1em; height: 1em; margin-right: .2em; vertical-align: -.14em; color: #ff8a3d; }
.cat-ic .ic { width: 1em; height: 1em; }
.cat-ic .ic svg { stroke-width: 1.5; }
.hero-icon { display: block; }
.hero-icon .ic { width: 1em; height: 1em; }
.hero-icon .ic svg { stroke-width: 1.25; }
.deck-btn .ic { width: 1em; height: 1em; margin: 0; vertical-align: 0; }
.empty-ic .ic { width: 1em; height: 1em; }
.qb-tile .ic { width: 1em; height: 1em; }
.cc-pill-ic .ic { width: 1.1em; height: 1.1em; margin: 0; }
.cc-round-ic svg, .cc-slider-ic svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cc-slider-ic svg [fill="currentColor"] { stroke-width: 1.2; }
.cc-round-ic { display: grid; place-items: center; }
.qc-empty-icon .ic, .of-slot-ic .ic { width: 1em; height: 1em; }

/* Kategorien mittig */
.sec-cats .sec-head { justify-content: center; }
.cat-rail > .cat:first-child { margin-left: auto; }
.cat-rail > .cat:last-child { margin-right: auto; }
.cat-rail { gap: .6rem; }
.cat-rail > .cat { flex: 0 0 82px; }
.cat-ic { width: 70px; height: 70px; font-size: 1.9rem; color: var(--text); }
.cat:hover .cat-ic { color: var(--accent); }
.badge-pill { display: inline-flex; align-items: center; white-space: nowrap; }
.badge-pill .ic { vertical-align: 0; }
.cat-ic { font-size: 2.15rem; }

/* Hinweis zu Gewichten (klein, überall wo ein Gewicht oder Versandpreis steht) */
.weight-hint { margin: .5rem 0 0; font-size: .72rem; line-height: 1.35; color: var(--muted); }
.weight-hint-inline { font-size: .75rem; color: var(--muted); }

/* Zwei Versionen: Admin sieht alles, Nutzer nur Stöbern, Warenkorb und Bestellung senden (der Server sperrt den Rest zusätzlich) */
html[data-role="user"] .admin-only { display: none !important; }

/* Export / Bestellung senden */
.cart-export { margin-top: .8rem; }
.cart-export .export-btn { width: 100%; }
.order-form { display: grid; gap: .7rem; }
.order-form label { display: grid; gap: .25rem; font-weight: 600; font-size: .9rem; }
.order-form input, .order-form textarea, .export-text { width: 100%; box-sizing: border-box; font: inherit; border: 1px solid var(--border, rgba(127,127,127,.3)); border-radius: 14px; padding: .65rem .8rem; background: var(--glass-card, rgba(255,255,255,.5)); color: var(--text); }
.export-text { font-size: .8rem; line-height: 1.45; resize: vertical; }
.order-done { display: grid; gap: .5rem; justify-items: start; }
.order-done b { font-size: 1.1rem; }

/* Admin: Bestellungen */
#orders-page { max-width: 880px; margin: 0 auto; display: grid; gap: .9rem; }
.order-list { display: grid; gap: .6rem; }
.order-row { display: grid; grid-template-columns: 1fr auto; gap: .15rem .8rem; padding: .85rem 1rem; text-decoration: none; color: var(--text); border-radius: 18px; }
.order-row.unseen { box-shadow: inset 3px 0 0 var(--accent); }
.order-row .or-main { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.order-row .or-sum { grid-row: 1 / span 2; grid-column: 2; text-align: right; display: grid; align-content: center; }
.order-row .status { grid-column: 2; justify-self: end; }
.status { font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.status.st-ordered, .status.st-shipped { background: rgba(10,132,255,.16); color: #0a84ff; }
.status.st-done { background: rgba(24,179,107,.16); color: #18b36b; }
.status.st-cancelled { background: rgba(127,127,127,.2); color: var(--muted); }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.order-head .large-title { margin: 0; }
.order-status { font: inherit; padding: .4rem .7rem; border-radius: 999px; border: 1px solid var(--border, rgba(127,127,127,.3)); background: var(--glass-card, rgba(255,255,255,.5)); color: var(--text); }
.order-note { padding: .8rem 1rem; white-space: pre-wrap; }
.order-items { display: grid; gap: .6rem; }
.order-item .ci-name a { color: inherit; text-decoration: none; }
.order-item .ci-row { display: flex; gap: .8rem; align-items: baseline; flex-wrap: wrap; }
.order-item .ci-actions { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .35rem; }
.chip.danger { color: #ff453a; }
.profile-ctl { display: grid; gap: .25rem; margin-top: .8rem; font-size: .85rem; font-weight: 600; }
.profile-ctl select { font: inherit; padding: .45rem .7rem; border-radius: 12px; border: 1px solid var(--border, rgba(127,127,127,.3)); background: var(--glass-card, rgba(255,255,255,.5)); color: var(--text); }
.view-bar { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 84px); transform: translateX(-50%); z-index: 60; border: 0; border-radius: 999px; padding: .5rem 1rem; font: inherit; font-weight: 700; font-size: .8rem; background: #0a84ff; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
