/* ==========================================================
   Soso Faces — a 2010s "Web 2.0" app-store look:
   glossy bars, embossed text, linen-ish noise, ribbons,
   inset wells and pill buttons. Orange + teal, no indigo.
   ========================================================== */

:root {
  --orange: #f2811d;
  --orange-dk: #c75f06;
  --teal: #1b9aa0;
  --teal-dk: #10707a;
  --green: #6aad2f;
  --green-dk: #4b8519;
  --red: #d63c2a;
  --red-dk: #a52617;
  --amber: #f3b51b;
  --amber-dk: #c98a00;
  --ink: #2f2f2f;
  --muted: #777;
  --paper: #fbfaf7;
  --line: #d6d2c8;
  --header-h: 64px;
  --tabs-h: 46px;
  --pager-h: 58px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; margin: 0; }

body {
  font: 14px/1.5 "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: #e6e2d9;
  /* subtle linen texture: crossed hairlines + noise-ish dots */
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.18) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0,0,0,.025) 0 1px, transparent 1px 4px),
    radial-gradient(ellipse at top, rgba(255,255,255,.6), transparent 70%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

a { color: var(--teal-dk); }
a:hover { color: var(--orange-dk); }

/* ---------- top bar ---------- */
.topbar {
  height: var(--header-h);
  flex: none;
  background:
    linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,0) 50%, rgba(0,0,0,.08) 50%, rgba(0,0,0,.2)),
    repeating-linear-gradient(45deg, #2b2b2b 0 2px, #272727 2px 4px);
  border-bottom: 1px solid #111;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 2px 6px rgba(0,0,0,.35);
  position: relative;
  z-index: 5;
}
.topbar::after { /* orange stitch line */
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px; height: 4px;
  background: linear-gradient(var(--orange), var(--orange-dk));
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.topbar-inner {
  max-width: 1400px; height: 100%; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 18px;
}
.logo {
  font: 34px/1 "Lobster", Georgia, cursive;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 -1px 0 #000, 0 2px 3px rgba(0,0,0,.5);
  letter-spacing: .5px;
}
.logo span { color: var(--orange); margin-left: 2px; }
.logo:hover { color: #fff; }
.tagline {
  color: #9a9a9a; font-size: 12px; font-style: italic;
  text-shadow: 0 -1px 0 #000;
  margin-right: auto;
}
.search input {
  width: 240px; height: 32px;
  padding: 0 14px 0 32px;
  border-radius: 16px;
  border: 1px solid #111;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Ccircle cx='6' cy='6' r='4.5' fill='none' stroke='%23999' stroke-width='1.8'/%3E%3Cpath d='M9.3 9.3L13 13' stroke='%23999' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") 11px 50% no-repeat;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.25), 0 1px 0 rgba(255,255,255,.12);
  font: inherit; color: var(--ink);
  outline: none;
}
.search input:focus { box-shadow: inset 0 2px 3px rgba(0,0,0,.25), 0 0 0 3px rgba(242,129,29,.55); }

/* ---------- glossy buttons ---------- */
.btn {
  --c1: #fdfdfd; --c2: #dcdcdc; --bd: #a9a9a9; --tx: #444;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 32px; padding: 0 16px;
  border: 1px solid var(--bd);
  border-radius: 5px;
  background: linear-gradient(var(--c1), var(--c2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 1px 2px rgba(0,0,0,.2);
  color: var(--tx);
  font: 700 13px/1 inherit;
  font-family: inherit;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { filter: brightness(1.05); color: var(--tx); }
.btn:active { background: linear-gradient(var(--c2), var(--c1)); box-shadow: inset 0 2px 4px rgba(0,0,0,.25); }
.btn-orange, .btn-coffee { --c1: #ffa94d; --c2: var(--orange-dk); --bd: #9a4700; --tx: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.35); }
.btn-teal  { --c1: #4cc6cb; --c2: var(--teal-dk); --bd: #0a5158; --tx: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.35); }
.btn-amber { --c1: #ffd86a; --c2: var(--amber-dk); --bd: #966700; --tx: #4a3200; text-shadow: 0 1px 0 rgba(255,255,255,.4); }
.btn-lg { height: 40px; padding: 0 20px; font-size: 14px; border-radius: 6px; }
.btn-coffee:hover, .btn-orange:hover, .btn-teal:hover { color: #fff; }
.btn-amber:hover { color: #4a3200; }

.link-btn {
  border: 0; background: none; padding: 0;
  color: var(--red-dk); font: 600 12px inherit; font-family: inherit;
  cursor: pointer; text-decoration: underline;
}

/* ---------- layout shell ---------- */
.shell {
  flex: 1; min-height: 0;
  width: 100%; max-width: 1400px; margin: 0 auto;
  padding: 22px 20px 16px;
  display: flex; gap: 20px;
}

/* ---------- sidebar ---------- */
.sidebar {
  width: 230px; flex: none;
  display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto;
}
.panel {
  background: linear-gradient(#fdfcf9, #f1eee6);
  border: 1px solid #c9c4b8;
  border-radius: 8px;
  box-shadow: 0 1px 0 #fff inset, 0 2px 4px rgba(0,0,0,.12);
  padding: 0 0 10px;
}
.panel-title {
  margin: 0 0 8px; padding: 7px 12px;
  font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #6d6758;
  text-shadow: 0 1px 0 #fff;
  background: linear-gradient(#f4f1ea, #e4dfd3);
  border-bottom: 1px solid #cfc9bc;
  border-radius: 8px 8px 0 0;
}
.panel-note p { margin: 0; padding: 0 12px; font-size: 12px; color: #625d52; }

.filter-list { list-style: none; margin: 0; padding: 0 8px; }
.filter-list li + li { margin-top: 3px; }
.filter-list button {
  width: 100%;
  display: flex; align-items: center; gap: 9px;
  padding: 7px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  font: 600 13px inherit; font-family: inherit; color: #4a463e;
  text-align: left;
  cursor: pointer;
}
.filter-list button:hover { background: rgba(255,255,255,.8); border-color: #ddd7ca; }
.filter-list button[aria-pressed="true"] {
  background: linear-gradient(#fff, #f4f0e6);
  border-color: #c4bdae;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.12);
  color: #222;
}
.filter-list .check {
  width: 16px; height: 16px; flex: none;
  border: 1px solid #a7a091; border-radius: 3px;
  background: linear-gradient(#fff, #e9e5dc);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.08);
  display: grid; place-items: center;
}
.filter-list button[aria-pressed="true"] .check {
  background: linear-gradient(#ffa94d, var(--orange-dk));
  border-color: #9a4700;
}
.filter-list button[aria-pressed="true"] .check::after {
  content: ""; width: 4px; height: 8px; margin-top: -2px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.filter-list .dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: inset 0 -1px 2px rgba(0,0,0,.3), 0 1px 0 #fff; }
.filter-list .label { flex: 1; }
.count-badge {
  min-width: 26px; padding: 1px 7px;
  border-radius: 10px;
  background: linear-gradient(#9a9486, #7d7769);
  color: #fff; font-size: 11px; font-weight: 700; text-align: center;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.25), 0 1px 0 #fff;
}

/* Web 2.0 tag cloud */
.tag-cloud, .lb-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.tag-cloud { padding: 0 10px; }
.lb-tags { margin: -4px 0 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.tag {
  position: relative;
  height: 24px; padding: 0 9px 0 16px;
  border: 1px solid #b9b2a3; border-radius: 3px 12px 12px 3px;
  background: linear-gradient(#fff, #ece8df);
  box-shadow: inset 0 1px 0 #fff, 0 1px 1px rgba(0,0,0,.08);
  color: #5a554b; font: 600 12px/22px inherit; font-family: inherit;
  text-shadow: 0 1px 0 #fff;
  cursor: pointer;
}
.tag::before { /* punched hole */
  content: ""; position: absolute; left: 6px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px;
  border-radius: 50%; background: #d9d3c6; box-shadow: inset 0 1px 1px rgba(0,0,0,.3);
}
.tag small { color: #9a9486; font-size: 10px; margin-left: 2px; }
.tag:hover { border-color: var(--teal); color: var(--teal-dk); }
.tag[aria-pressed="true"] {
  background: linear-gradient(#4cc6cb, var(--teal-dk)); border-color: #0a5158;
  color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3);
}
.tag[aria-pressed="true"] small { color: rgba(255,255,255,.75); }
.tag[aria-pressed="true"]::before { background: #0b5d64; }
.tag:disabled { opacity: .4; cursor: default; }

.select-wrap { padding: 0 10px; position: relative; }
.select-wrap::after {
  content: "▾"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  color: #777; pointer-events: none;
}
.select-wrap select {
  width: 100%; height: 32px; padding: 0 28px 0 10px;
  appearance: none; -webkit-appearance: none;
  border: 1px solid #b4ad9f; border-radius: 5px;
  background: linear-gradient(#fff, #ebe7de);
  box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.1);
  font: 600 13px inherit; font-family: inherit; color: #444;
  cursor: pointer;
}

/* ---------- content ---------- */
.content {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
}

/* folder tabs */
.tabs {
  height: var(--tabs-h); flex: none;
  display: flex; align-items: flex-end; gap: 4px;
  padding-left: 14px;
  position: relative; z-index: 1;
}
.tab {
  height: 38px; padding: 0 18px;
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #bcb6a8; border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(#ece8df, #d9d3c6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  color: #6a6456; font: 700 13px inherit; font-family: inherit;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
  cursor: pointer;
}
.tab:hover { background: linear-gradient(#f5f2eb, #e3ddd1); }
.tab[aria-selected="true"] {
  height: 42px;
  background: var(--paper);
  color: var(--ink);
  margin-bottom: -1px;
  box-shadow: inset 0 3px 0 var(--orange), 0 -2px 4px rgba(0,0,0,.06);
}
.tab .count-badge { min-width: 22px; padding: 0 6px; }
.tab[aria-selected="true"] .count-badge { background: linear-gradient(#4cc6cb, var(--teal-dk)); }
.tab-icon { font-size: 15px; }

.stage {
  flex: 1; min-height: 0;
  background: var(--paper);
  border: 1px solid #bcb6a8;
  border-radius: 0 8px 0 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.12), inset 0 1px 0 #fff;
  padding: 12px 18px 18px;
  display: flex; flex-direction: column;
  position: relative;
}
.stage-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; flex: none; }
.result-count { margin: 0; font-size: 12px; color: var(--muted); }
.result-count b { color: var(--ink); }

.grid {
  flex: 1; min-height: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
  grid-auto-rows: var(--row-h, 260px);
  gap: 18px;
  align-content: start;
}

/* ---------- cards ---------- */
.card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid #d5d0c5;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 4px 10px -6px rgba(0,0,0,.25);
  padding: 8px 8px 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .15s ease;
  animation: pop .35s ease both;
  overflow: visible;
}
.card:hover, .card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 2px 3px rgba(0,0,0,.15), 0 12px 20px -8px rgba(0,0,0,.35);
  outline: none;
}
.card:focus-visible { box-shadow: 0 0 0 3px rgba(27,154,160,.6), 0 12px 20px -8px rgba(0,0,0,.35); }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }

.thumb {
  flex: 1; min-height: 0;
  border-radius: 4px;
  background: radial-gradient(circle at 50% 40%, #3a3a3a, #121212 75%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.4), inset 0 2px 6px rgba(0,0,0,.6);
  display: grid; place-items: center;
  overflow: hidden;
  position: relative;
}
.thumb::after { /* glass reflection */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,0) 45%);
  pointer-events: none;
}
.thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.card-foot { padding: 8px 2px 9px; display: flex; flex-direction: column; gap: 3px; }
.card-name {
  font-weight: 800; font-size: 14px; color: #262626;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--muted); }
.type-label { text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }

/* corner ribbon */
.ribbon {
  position: absolute; top: -5px; right: -5px;
  width: 92px; height: 92px; overflow: hidden;
  pointer-events: none;
}
.ribbon span {
  position: absolute; top: 20px; right: -28px;
  width: 130px; padding: 4px 0;
  transform: rotate(45deg);
  text-align: center;
  font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.35);
  background: linear-gradient(var(--rc1), var(--rc2));
  box-shadow: 0 2px 4px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35);
  border-top: 1px dashed rgba(255,255,255,.45);
  border-bottom: 1px dashed rgba(255,255,255,.45);
}
.ribbon::before, .ribbon::after { /* fold shadows */
  content: ""; position: absolute; border: 3px solid var(--rc2); filter: brightness(.6);
}
.ribbon::before { top: 0; left: 20px; border-top-color: transparent; border-right-color: transparent; }
.ribbon::after { bottom: 20px; right: 0; border-top-color: transparent; border-right-color: transparent; }

.pay-free     { --rc1: #8fd14f; --rc2: var(--green-dk); }
.pay-freemium { --rc1: #ffd35c; --rc2: var(--amber-dk); }
.pay-trial    { --rc1: #4cc6cb; --rc2: var(--teal-dk); }
.pay-garmin   { --rc1: #f2654f; --rc2: var(--red-dk); }

/* price tag */
.price-tag {
  position: relative;
  padding: 1px 7px 1px 12px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(#f2654f, var(--red-dk));
  color: #fff; font-weight: 800; font-size: 11px;
  text-shadow: 0 -1px 0 rgba(0,0,0,.3);
  box-shadow: 0 1px 1px rgba(0,0,0,.2);
  white-space: nowrap;
}
.price-tag::before { /* tag point */
  content: ""; position: absolute; left: -8px; top: 0;
  border: 9px solid transparent; border-right-color: #e04e39; border-left: 0;
  height: 0;
}
.price-tag::after { /* hole */
  content: ""; position: absolute; left: 3px; top: 50%; width: 4px; height: 4px; margin-top: -2px;
  border-radius: 50%; background: #fff;
}
.price-tag.soft { background: linear-gradient(#ffd35c, var(--amber-dk)); color: #4a3200; text-shadow: 0 1px 0 rgba(255,255,255,.35); }
.price-tag.soft::before { border-right-color: #f6c138; }
.price-tag.green { background: linear-gradient(#8fd14f, var(--green-dk)); }
.price-tag.green::before { border-right-color: #7cc23d; }
.price-tag.teal { background: linear-gradient(#4cc6cb, var(--teal-dk)); }
.price-tag.teal::before { border-right-color: #2fb0b6; }

/* empty state */
.empty { position: absolute; inset: 60px 0 0; display: grid; place-content: center; text-align: center; color: var(--muted); }
.empty p { font: 22px "Lobster", Georgia, cursive; color: #8a8475; margin: 0 0 14px; }

/* ---------- pager ---------- */
.pager {
  height: var(--pager-h); flex: none;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding-top: 12px;
}
.pager .btn { min-width: 34px; padding: 0 10px; }
.pager .btn[aria-current="page"] {
  --c1: #4cc6cb; --c2: var(--teal-dk); --bd: #0a5158; --tx: #fff;
  text-shadow: 0 -1px 0 rgba(0,0,0,.35);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.3);
}
.pager .btn:disabled { opacity: .45; cursor: default; filter: none; }
.pager .page-info { margin: 0 10px; font-size: 12px; color: var(--muted); }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lb-backdrop {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(20,20,20,.75), rgba(0,0,0,.92));
  animation: fade .2s ease both;
}
@keyframes fade { from { opacity: 0; } }
.lb-window {
  position: relative;
  width: min(1040px, 94vw); height: min(640px, 90vh);
  display: flex;
  background: var(--paper);
  border: 6px solid #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 20px 60px rgba(0,0,0,.7);
  animation: zoom .25s cubic-bezier(.2,.9,.3,1.2) both;
}
@keyframes zoom { from { opacity: 0; transform: scale(.92); } }
.lb-close {
  position: absolute; top: -18px; right: -18px; z-index: 2;
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(#444, #111);
  color: #fff; font-size: 22px; line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,.6);
  cursor: pointer;
}
.lb-close:hover { background: linear-gradient(var(--orange), var(--orange-dk)); }

.lb-media {
  width: 56%; flex: none;
  display: flex; flex-direction: column;
  background: radial-gradient(circle at 50% 40%, #363636, #0d0d0d 80%);
  border-radius: 3px 0 0 3px;
}
.lb-viewer { flex: 1; min-height: 0; position: relative; display: grid; place-items: center; padding: 18px; }
.lb-viewer img { max-width: 100%; max-height: 100%; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0,0,0,.6)); }
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 56px;
  border: 1px solid rgba(255,255,255,.15);
  background: linear-gradient(rgba(255,255,255,.14), rgba(255,255,255,.04));
  color: #fff; font-size: 34px; line-height: 1;
  cursor: pointer; border-radius: 5px;
  text-shadow: 0 1px 3px #000;
}
.lb-arrow:hover { background: linear-gradient(rgba(242,129,29,.85), rgba(199,95,6,.85)); }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
.lb-strip {
  flex: none; display: flex; gap: 6px; padding: 10px; overflow-x: auto;
  background: linear-gradient(rgba(0,0,0,.2), rgba(0,0,0,.5));
  border-top: 1px solid rgba(255,255,255,.08);
}
.lb-strip button {
  flex: none; width: 54px; height: 54px; padding: 2px;
  border: 2px solid transparent; border-radius: 4px;
  background: #000; cursor: pointer; opacity: .55;
}
.lb-strip button:hover { opacity: .9; }
.lb-strip button[aria-current="true"] { border-color: var(--orange); opacity: 1; }
.lb-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; }

.lb-info { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 22px 24px 18px; }
.lb-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
  padding: 2px 9px; border-radius: 10px;
  font-size: 10px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3);
  background: linear-gradient(var(--rc1, #a49e90), var(--rc2, #7d7769));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.lb-info h2 {
  margin: 8px 0 2px;
  font: 34px/1.1 "Lobster", Georgia, cursive;
  color: #2a2a2a; text-shadow: 0 1px 0 #fff;
}
.lb-price { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.lb-price b { color: var(--ink); }
.lb-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); }
.lb-desc { flex: 1; min-height: 0; overflow-y: auto; padding-right: 8px; font-size: 13px; color: #4a4a4a; }
.lb-desc p { margin: 0 0 10px; }
.lb-desc ul { margin: 0 0 10px; padding-left: 18px; }
.lb-desc li { margin-bottom: 3px; }

/* 2010s scrollbars */
.lb-desc::-webkit-scrollbar, .sidebar::-webkit-scrollbar { width: 10px; }
.lb-desc::-webkit-scrollbar-thumb, .sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #d6d0c3, #b9b2a3); border-radius: 5px; border: 2px solid var(--paper);
}

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  body { overflow: auto; }
  .tagline, .btn-coffee { display: none; }
  .search { margin-left: auto; }
  .search input { width: 170px; }
  .shell { flex-direction: column; padding: 14px 12px; }
  .sidebar { width: auto; overflow: visible; }
  .panel-note { display: none; }
  .filter-list { display: flex; flex-wrap: wrap; gap: 4px; }
  .filter-list li + li { margin-top: 0; }
  .filter-list button { width: auto; }
  .tabs { overflow-x: auto; padding-left: 6px; }
  .tab { padding: 0 12px; flex: none; }
  .stage { min-height: 70vh; }
  .lb-window { flex-direction: column; height: 92vh; }
  .lb-media { width: auto; height: 48%; }
  .lb-info h2 { font-size: 26px; }
}
