/* Seller Zone (Oct 23, 2026): living bubble style, same glass as the Shop panel. Type sizes 11 / 13 / 15 / 22 px. */
.sz-ov {
  position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center;
  padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
  background: radial-gradient(120% 90% at 50% 0%, rgba(40, 90, 140, .45), rgba(2, 8, 20, .82));
  opacity: 0; transition: opacity .24s ease;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.sz-ov.show { opacity: 1; }
.sz-box {
  position: relative; width: min(560px, 100%); max-height: 100%; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 30px; color: var(--mb-ink, #eaf6ff);
  background: radial-gradient(130% 70% at 30% 0%, rgba(143, 231, 255, .16), rgba(8, 22, 40, .94) 60%);
  border: 1px solid rgba(143, 231, 255, .28);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .04) inset, 0 18px 60px rgba(0, 0, 0, .5), 0 0 40px rgba(110, 210, 255, .14);
  transform: scale(.96); transition: transform .28s cubic-bezier(.2, .9, .3, 1.2);
}
.sz-ov.show .sz-box { transform: none; }
.sz-head { display: flex; gap: 12px; align-items: center; padding: 18px 18px 8px; }
.sz-head h3 { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: .2px; }
.sz-head p { margin: 2px 0 0; font-size: 13px; opacity: .8; line-height: 1.35; }
.sz-scroll { overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 4px 14px 12px; }
.sz-orb {
  flex: 0 0 auto; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; font-size: 20px; line-height: 1;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .34), rgba(143, 231, 255, .18) 42%, rgba(30, 90, 140, .30) 100%);
  box-shadow: 0 0 0 1px rgba(143, 231, 255, .35) inset, 0 0 14px rgba(143, 231, 255, .22);
  animation: szPulse 3.6s ease-in-out infinite;
}
.sz-orb-h { width: 50px; height: 50px; font-size: 26px; }
.sz-orb-l { width: 46px; height: 46px; font-size: 24px; }
@keyframes szPulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 1px rgba(143, 231, 255, .35) inset, 0 0 12px rgba(143, 231, 255, .18); } 50% { transform: scale(1.06); box-shadow: 0 0 0 1px rgba(143, 231, 255, .5) inset, 0 0 20px rgba(143, 231, 255, .34); } }
.sz-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 2px 8px; }
.sz-chips::-webkit-scrollbar { display: none; }
.sz-chip {
  flex: 0 0 auto; min-height: 40px; padding: 8px 12px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 800; color: inherit; cursor: pointer;
  background: rgba(143, 231, 255, .08); border: 1px solid rgba(143, 231, 255, .25);
}
.sz-chip.on { background: radial-gradient(circle at 35% 30%, #c9f5ff, #6fd6ff); color: #062033; border-color: transparent; box-shadow: 0 0 16px rgba(143, 231, 255, .45); }
.sz-regs .sz-chip { min-height: 36px; font-size: 13px; font-weight: 700; }
.sz-note { margin: 6px 2px 10px; font-size: 13px; line-height: 1.4; opacity: .88; }
.sz-note-l { padding: 10px 14px; border-radius: 18px; background: rgba(255, 210, 120, .08); border: 1px solid rgba(255, 210, 120, .25); }
.sz-grid { display: grid; gap: 12px; }
.sz-card {
  padding: 14px; border-radius: 26px; background: radial-gradient(120% 90% at 20% 0%, rgba(143, 231, 255, .12), rgba(255, 255, 255, .03));
  border: 1px solid rgba(143, 231, 255, .22); box-shadow: 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.sz-card.sz-away { opacity: .62; }
.sz-top { display: flex; align-items: center; gap: 10px; }
.sz-tt { flex: 1 1 auto; min-width: 0; }
.sz-tt b { display: block; font-size: 15px; font-weight: 900; line-height: 1.25; overflow-wrap: anywhere; }
.sz-tt small { display: block; font-size: 13px; opacity: .72; overflow-wrap: anywhere; }
.sz-v { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .4px; }
.sz-ja { background: rgba(80, 230, 150, .18); color: #7dffb8; border: 1px solid rgba(80, 230, 150, .45); }
.sz-sel { background: rgba(255, 107, 107, .15); color: #ff8a8a; border: 1px solid rgba(255, 107, 107, .45); }
.sz-why { margin: 10px 0 6px; font-size: 13px; line-height: 1.45; }
.sz-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0 0 6px; font-size: 13px; opacity: .85; }
.sz-ing { margin: 0 0 10px; font-size: 11px; line-height: 1.4; opacity: .65; }
.sz-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sz-buy, .sz-amz {
  display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 900; text-decoration: none; text-align: center;
}
.sz-buy { background: radial-gradient(circle at 35% 30%, #c9f5ff, #6fd6ff); color: #062033; box-shadow: 0 0 14px rgba(143, 231, 255, .35); }
.sz-amz { color: inherit; background: rgba(143, 231, 255, .08); border: 1px solid rgba(143, 231, 255, .28); }
.sz-buy svg, .sz-amz svg { width: 14px; height: 14px; flex: 0 0 auto; }
.sz-failed { margin: 14px 2px 4px; padding: 10px 14px; border-radius: 20px; background: rgba(255, 110, 110, .06); border: 1px solid rgba(255, 110, 110, .22); font-size: 13px; }
.sz-failed summary { cursor: pointer; font-weight: 800; min-height: 28px; }
.sz-failed ul { margin: 8px 0 2px; padding-left: 18px; }
.sz-failed li { margin: 0 0 6px; line-height: 1.4; }
.sz-fine { margin: 10px 2px 4px; font-size: 11px; opacity: .6; line-height: 1.4; }
.sz-foot { display: flex; justify-content: center; padding: 8px 0 14px; }
.sz-close {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: inherit; cursor: pointer;
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .3), rgba(143, 231, 255, .14) 45%, rgba(20, 60, 100, .4));
  border: 1px solid rgba(143, 231, 255, .4); box-shadow: 0 0 16px rgba(143, 231, 255, .25);
}
.sz-close svg { width: 22px; height: 22px; }
/* Shop panel entry */
.sz-entry {
  display: flex; align-items: center; gap: 12px; width: 100%; margin: 0 0 14px; padding: 10px 14px; border-radius: 999px; font: inherit; color: inherit; text-align: left; cursor: pointer;
  background: radial-gradient(120% 140% at 10% 0%, rgba(143, 231, 255, .2), rgba(143, 231, 255, .05)); border: 1px solid rgba(143, 231, 255, .35);
  box-shadow: 0 0 18px rgba(143, 231, 255, .14);
}
.sz-entry-t { flex: 1 1 auto; min-width: 0; }
.sz-entry-t b { display: block; font-size: 15px; font-weight: 900; }
.sz-entry-t small { display: block; font-size: 13px; opacity: .78; line-height: 1.3; }
.sz-chev { font-size: 22px; opacity: .7; }
/* scanner card swap row */
.sz-swap .sz-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sz-mini {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px; border-radius: 22px; text-align: center; text-decoration: none; color: inherit; min-width: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(143, 231, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(143, 231, 255, .25);
}
/* 24 Oct 2026: whole words, no "Knusperkä-se": no automatic hyphens, a slightly smaller size on narrow phones so long German words fit;
   break-word only as a last resort for a word longer than the whole column */
.sz-mini b { font-size: clamp(11.5px, 3.1vw, 13px); font-weight: 800; line-height: 1.2; overflow-wrap: break-word; word-break: normal; hyphens: manual; -webkit-hyphens: manual; }
.sz-mini small { font-size: 11px; opacity: .7; overflow-wrap: anywhere; }
.sz-mini .sz-v { font-size: 11px; padding: 2px 8px; }
.sz-all {
  display: block; width: 100%; margin: 6px 0 0; min-height: 44px; padding: 10px 14px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; color: inherit;
  background: rgba(143, 231, 255, .1); border: 1px solid rgba(143, 231, 255, .32);
}
html[data-theme="light"] .sz-box { color: #0b2236; background: radial-gradient(130% 70% at 30% 0%, rgba(143, 231, 255, .35), rgba(245, 251, 255, .97) 60%); }
html[data-theme="light"] .sz-ja { color: #0b7a44; }
html[data-theme="light"] .sz-sel { color: #b42828; }
@media (max-width: 360px) { .sz-swap .sz-row { grid-template-columns: 1fr 1fr; } .sz-swap .sz-row > :nth-child(3) { display: none; } .sz-acts { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .sz-orb { animation: none; } .sz-ov, .sz-box { transition: none; } }
/* Oct 23 (Eman: "Pls add images. Nobody likes just reading it."): real product photos, image first.
   The photo sits in a bubble window: rounded, a soft cyan rim and a light sheen on top, like the living bubbles. The emoji bubble
   underneath shows when there is no photo or it fails to load. Photos never pulse (battery). */
.sz-ph { position: relative; display: block; overflow: hidden; background: #fff; isolation: isolate; }
.sz-ph .sz-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; z-index: 1; -webkit-user-drag: none; user-select: none; }
.sz-ph::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit;
  background: radial-gradient(70% 45% at 30% 8%, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 70%);
  box-shadow: 0 0 0 1px rgba(143, 231, 255, .55) inset, 0 0 16px rgba(143, 231, 255, .30) inset;
}
.sz-ph-e { position: absolute; inset: 0; display: grid; place-items: center; z-index: 0; font-size: 34px; line-height: 1; }
.sz-ph.sz-noimg { background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .34), rgba(143, 231, 255, .18) 42%, rgba(30, 90, 140, .30) 100%); }
.sz-ph-l { width: 100%; aspect-ratio: 1 / 1; border-radius: 22px; box-shadow: 0 0 18px rgba(143, 231, 255, .18); }
.sz-ph-l .sz-ph-e { font-size: 54px; }
.sz-ph-m { width: 64px; height: 64px; flex: 0 0 auto; border-radius: 22px; box-shadow: 0 0 12px rgba(143, 231, 255, .22); }
.sz-ph-m .sz-ph-e { font-size: 28px; }
@supports not (aspect-ratio: 1 / 1) { .sz-ph-l { height: 0; padding-bottom: 100%; } }
/* the grid: a shop shelf, 2 across on a phone, 3 or more on an iPad */
.sz-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.sz-card { display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 10px; border-radius: 28px; min-width: 0; }
.sz-pic { position: relative; display: block; border-radius: 22px; text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
.sz-pic:active .sz-ph-l { transform: scale(.98); }
.sz-pic .sz-v, .sz-price {
  position: absolute; z-index: 3; border-radius: 999px; background: rgba(6, 24, 40, .74); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.sz-pic .sz-v { top: 8px; left: 8px; font-size: 10px; padding: 3px 8px; }
.sz-price { right: 8px; bottom: 8px; padding: 4px 9px; font-size: 12px; font-weight: 900; color: #fff; border: 1px solid rgba(143, 231, 255, .4); white-space: nowrap; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }
.sz-card .sz-tt { padding: 0 4px; }
.sz-card .sz-tt b { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sz-card .sz-tt small { font-size: 12px; white-space: normal; overflow-wrap: anywhere; }
.sz-card .sz-meta { flex-direction: column; gap: 2px; margin: 0; padding: 0 4px; font-size: 12px; line-height: 1.3; }
.sz-more { padding: 0 4px; font-size: 12px; }
.sz-more summary { min-height: 32px; display: flex; align-items: center; gap: 4px; cursor: pointer; font-weight: 800; opacity: .82; list-style: none; }
.sz-more summary::-webkit-details-marker { display: none; }
.sz-more summary::after { content: "\203A"; transition: transform .2s; font-size: 15px; }
.sz-more[open] summary::after { transform: rotate(90deg); }
.sz-more .sz-why { margin: 2px 0 6px; font-size: 12px; }
.sz-more .sz-ing { margin: 0 0 4px; }
.sz-card .sz-acts { grid-template-columns: 1fr; gap: 6px; margin-top: auto; }
.sz-card .sz-buy, .sz-card .sz-amz { padding: 8px 10px; font-size: 13px; }
.sz-card .sz-amz { min-height: 40px; font-weight: 800; }
/* the scanner card's swaps and the Shop shelf: a photo bubble instead of the emoji */
.sz-mini .sz-ph-m { margin-bottom: 2px; }
.sz-strip-it .sz-ph-m { width: 72px; height: 72px; }
html[data-theme="light"] .sz-pic .sz-ja { color: #7dffb8; }
html[data-theme="light"] .sz-pic .sz-sel { color: #ff8a8a; }
@media (min-width: 700px) { .sz-grid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); } }
@media (max-width: 330px) { .sz-grid { grid-template-columns: 1fr 1fr; gap: 8px; } .sz-pic .sz-v { font-size: 9px; padding: 2px 6px; } }
@media (prefers-reduced-motion: reduce) { .sz-more summary::after { transition: none; } }
/* 24 Oct 2026: Category and Region as two labelled rows (Emmanuel: one mixed strip was confusing). Shelves pick cyan, regions pick warm gold. */
.sz-filters { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 6px; }
.sz-filter { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px 4px; border-radius: 18px; background: rgba(143, 231, 255, .05); border: 1px solid rgba(143, 231, 255, .12); }
.sz-flabel { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .78; padding-left: 4px; }
.sz-filter .sz-chips { padding: 4px 0 6px; gap: 6px 8px; }
.sz-filter-reg { background: rgba(255, 216, 119, .05); border-color: rgba(255, 216, 119, .16); }
.sz-reg { background: transparent; border: 1px solid rgba(255, 216, 119, .4); }
.sz-reg.on { background: #ffd877; color: #2b1d00; border-color: transparent; box-shadow: 0 0 14px rgba(255, 216, 119, .4); }
.sz-chip:focus-visible { outline: 2px solid #8fe7ff; outline-offset: 2px; }
html[data-theme="light"] .sz-filter { background: rgba(10, 70, 110, .05); border-color: rgba(10, 70, 110, .14); }
html[data-theme="light"] .sz-filter-reg { background: rgba(150, 100, 0, .06); border-color: rgba(150, 100, 0, .18); }
html[data-theme="light"] .sz-flabel { color: #12324a; opacity: .85; }
html[data-theme="light"] .sz-chip { color: #0b2236; background: rgba(255, 255, 255, .75); border-color: rgba(10, 70, 110, .28); }
html[data-theme="light"] .sz-chip.on { background: #0f6f9c; color: #fff; box-shadow: none; }
html[data-theme="light"] .sz-reg { background: rgba(255, 255, 255, .75); border-color: rgba(150, 100, 0, .4); }
html[data-theme="light"] .sz-reg.on { background: #8a5a00; color: #fff; box-shadow: none; }
