/* ============================================================
   Global Search — "Search Shell"
   ------------------------------------------------------------
   Two zones: a quiet sticky search bar on top, and every
   secondary control docked in the Search Options panel, so the
   page body contains nothing but results.

   Tokens: the neutral --ss-* scale from css/series-shell.css
   (loaded before this file). Panel behaviour mirrors
   css/reader-settings.css.

   Spacing scale: 4 / 8 / 12 / 16 / 24 / 32 only.
   ============================================================ */

/* ---------- Shell ---------- */
.gs-shell {
  max-width: var(--ss-max, 1120px);
  margin: 0 auto;
  padding: 0 16px 48px;
  color: var(--ss-text);
}
.gs-shell *,
.gs-shell *::before,
.gs-shell *::after { box-sizing: border-box; }

/* Staff-only surfaces (Source Plugin status / coverage tooling) */
body:not(.gs-staff) [data-staff-only] { display: none !important; }

.gs-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Identity strip ---------- */
.gs-identity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 0 12px;
}
.gs-h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--ss-text);
}

/* ---------- Buttons: one set, no purple ---------- */
.gs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.gs-btn i { font-size: 16px; }
.gs-btn:disabled { opacity: .55; cursor: not-allowed; }

.gs-btn-primary {
  background: var(--ss-primary-bg);
  color: var(--ss-primary-fg);
}
.gs-btn-primary:hover:not(:disabled) { background: var(--ss-primary-bg-hover); }

.gs-btn-secondary {
  background: var(--ss-secondary-bg);
  color: var(--ss-secondary-fg);
  border-color: var(--ss-secondary-border);
}
.gs-btn-secondary:hover:not(:disabled) { background: var(--ss-secondary-bg-hover); }

.gs-btn-ghost {
  background: transparent;
  color: var(--ss-ghost-fg);
}
.gs-btn-ghost:hover:not(:disabled) { background: var(--ss-ghost-bg-hover); }

.gs-btn:focus-visible {
  outline: 2px solid var(--ss-border-strong);
  outline-offset: 2px;
}

/* ---------- Zone 1: sticky search bar + filter row ---------- */
.gs-searchzone {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ss-bg);
  border-bottom: 1px solid var(--ss-border);
  padding-bottom: 12px;
}
.gs-suggest { position: relative; }

.gs-searchbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 8px 0 12px;
  background: var(--ss-surface);
  border: 1px solid var(--ss-border);
  border-radius: 8px;
}
.gs-searchbar:focus-within { border-color: var(--ss-border-strong); }
.gs-searchbar-icon { font-size: 16px; color: var(--ss-text-muted); }
.gs-searchbar input[type="search"] {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--ss-text);
  font-family: inherit;
  font-size: 14px;
}
.gs-searchbar input[type="search"]::placeholder { color: var(--ss-text-muted); }

/* 2px indeterminate progress line pinned under the search bar */
.gs-progress-wrap { height: 2px; margin-top: 0; }
.gs-progress {
  height: 2px;
  background: var(--ss-border);
  overflow: hidden;
  border-radius: 999px;
}
.gs-progress > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--ss-primary-bg);
  transition: width 120ms ease;
}

/* Filter row: one segmented, horizontally scrollable row + Options */
.gs-filterrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 0;
}
.gs-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gs-filters::-webkit-scrollbar { display: none; }
.gs-filter {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--ss-border);
  background: var(--ss-surface);
  color: var(--ss-text);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.gs-filter:hover { background: var(--ss-surface-2); }
.gs-filter.is-active {
  background: var(--ss-primary-bg);
  border-color: var(--ss-primary-bg);
  color: var(--ss-primary-fg);
}
.gs-options-btn { flex: 0 0 auto; }
.gs-options-count {
  min-width: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--ss-primary-bg);
  color: var(--ss-primary-fg);
  font-size: 12px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

/* Recent searches */
.gs-history {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  font-size: 12px;
  color: var(--ss-text-muted);
}
.gs-history-chip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--ss-border);
  background: var(--ss-surface);
  color: var(--ss-text);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}
.gs-history-chip:hover { background: var(--ss-surface-2); }
.gs-history-clear {
  background: none;
  border: 0;
  color: var(--ss-ghost-fg);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

/* Suggestions */
.gs-suggest-list {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  display: none;
  max-height: 240px;
  overflow: auto;
  background: var(--ss-surface);
  border: 1px solid var(--ss-border);
  border-radius: 8px;
  box-shadow: var(--ss-shadow);
}
.gs-suggest-list.is-open { display: block; }
.gs-suggest-item {
  padding: 12px 16px;
  font-size: 14px;
  cursor: pointer;
  color: var(--ss-text);
}
.gs-suggest-item:hover { background: var(--ss-surface-2); }

/* ---------- Results header ---------- */
.gs-results-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 24px 0 0;
}
.gs-results-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--ss-text);
}
.gs-results-count {
  margin-left: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ss-text-muted);
}
.gs-results-state {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.gs-progress-label { font-size: 12px; color: var(--ss-text-muted); }
.gs-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.gs-active-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--ss-border);
  background: var(--ss-surface);
  color: var(--ss-text-muted);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease;
}
.gs-active-chip.is-static { cursor: default; }
.gs-active-chip:not(.is-static):hover {
  border-color: var(--ss-border-strong);
  color: var(--ss-text);
}
.gs-active-clear {
  background: none;
  border: 0;
  color: var(--ss-ghost-fg);
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

/* ---------- One status strip ---------- */
.gs-strip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 12px 16px;
  border: 1px solid var(--ss-border);
  border-radius: 8px;
  background: var(--ss-surface);
  font-size: 12px;
  color: var(--ss-text-muted);
}
.gs-strip-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.gs-strip-body > div:empty { display: none; }
.gs-strip-x {
  flex: 0 0 auto;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px;
  background: transparent;
  color: var(--ss-ghost-fg);
  cursor: pointer;
}
.gs-strip-x:hover { background: var(--ss-ghost-bg-hover); }

.gs-status {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
}
.gs-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.gs-status-head { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.gs-status-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.gs-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 12px; line-height: 1.5; white-space: nowrap;
}
.gs-chip em { font-style: normal; opacity: .7; }
.gs-status-row.is-queued    { color: var(--ss-text-muted); }
.gs-status-row.is-searching { color: var(--ss-text-muted); }
.gs-status-row.is-retrying  { color: var(--ss-hiatus, #d97706); }
.gs-status-row.is-timeout   { color: var(--ss-hiatus, #d97706); }
.gs-status-row.is-unavail   { color: var(--ss-hiatus, #d97706); }
.gs-status-foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--ss-border);
  color: var(--ss-text-muted);
}
.gs-retry-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 32px; padding: 0 12px;
  border-radius: 8px; cursor: pointer;
  border: 1px solid var(--ss-secondary-border);
  background: var(--ss-secondary-bg);
  color: var(--ss-secondary-fg);
  font-family: inherit; font-size: 12px; font-weight: 500;
}
.gs-retry-btn:hover { background: var(--ss-secondary-bg-hover); }

.gs-failed {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--ss-text-muted);
}
.gs-coverage { width: 100%; border-collapse: collapse; font-size: 12px; }
.gs-coverage th,
.gs-coverage td { padding: 4px 8px; text-align: left; }
.gs-coverage tbody tr { border-top: 1px solid var(--ss-border); }

/* ---------- Results ---------- */
.gs-section { margin-top: 24px; }
.gs-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ss-text);
}
.gs-count {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--ss-border);
  background: var(--ss-surface);
  font-size: 12px;
  font-weight: 500;
  color: var(--ss-text-muted);
}

.gs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
@media (min-width: 720px) { .gs-grid { gap: 16px; } }

.gs-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: var(--ss-text);
  background: var(--ss-surface);
  border: 1px solid var(--ss-border);
  border-radius: 8px;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.gs-card:hover {
  border-color: var(--ss-border-strong);
  box-shadow: var(--ss-shadow);
}
.gs-card:focus-visible { outline: 2px solid var(--ss-border-strong); outline-offset: 2px; }
.gs-card .gs-cover {
  aspect-ratio: 2 / 3;
  width: 100%;
  background: var(--ss-surface-2) center/cover no-repeat;
}
.gs-card .gs-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  padding: 8px 12px 12px;
}
.gs-card .gs-title {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.gs-card .gs-src,
.gs-card .gs-also {
  font-size: 12px;
  color: var(--ss-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gs-badge {
  display: inline-block;
  margin-left: 4px;
  padding: 0 4px;
  border-radius: 6px;
  border: 1px solid var(--ss-border-strong);
  color: var(--ss-text-muted);
  font-size: 12px;
  vertical-align: middle;
}
.gs-badge-warn { border-color: var(--ss-hiatus, #d97706); color: var(--ss-hiatus, #d97706); }

.gs-empty {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  padding: 32px 16px;
  font-size: 14px;
  color: var(--ss-text-muted);
}
.gs-empty span { font-size: 12px; }

/* ---------- Multi-select ---------- */
.gs-check {
  position: absolute; top: 8px; left: 8px;
  width: 24px; height: 24px; border-radius: 8px;
  border: 1px solid var(--ss-border-strong);
  background: var(--ss-bg);
  display: none; align-items: center; justify-content: center;
  font-size: 12px; color: transparent; z-index: 2;
}
body.gs-multiselect .gs-check { display: inline-flex; }
body.gs-multiselect .gs-card { cursor: pointer; }
.gs-card.is-selected { border-color: var(--ss-border-strong); }
.gs-card.is-selected .gs-check {
  background: var(--ss-primary-bg);
  border-color: var(--ss-primary-bg);
  color: var(--ss-primary-fg);
}

.gs-selbar {
  position: fixed; left: 50%; bottom: 16px;
  transform: translate(-50%, 200%);
  z-index: 60;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--ss-border);
  background: var(--ss-surface);
  box-shadow: var(--ss-shadow);
  transition: transform 120ms ease;
  max-width: calc(100% - 32px);
  flex-wrap: wrap; justify-content: center;
}
.gs-selbar.is-open { transform: translate(-50%, 0); }
.gs-selbar-count { font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--ss-text); }
.gs-selbar .gs-btn { min-height: 40px; border-radius: 999px; }

@media (max-width: 768px) {
  .gs-selbar {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 32px);
    justify-content: space-between;
    border-radius: 12px;
  }
  .gs-selbar-count { width: 100%; text-align: center; }
}

/* ==========================================================
   Search Options panel
   Bottom sheet up to 719px, 380px right-docked panel from 720px
   (the reader-settings breakpoint behaviour).
   ========================================================== */
.gs-panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 1600;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  overflow: hidden;
}
.gs-panel-overlay[hidden] { display: none; }

.gs-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: 85dvh;
  background: var(--ss-surface);
  color: var(--ss-text);
  border: 1px solid var(--ss-border);
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
  animation: gsSheetIn 180ms ease-out;
}
@keyframes gsSheetIn { from { transform: translateY(16px); opacity: .6; } to { transform: none; opacity: 1; } }

.gs-panel-handle {
  flex: 0 0 auto;
  height: 16px;
  display: flex; align-items: center; justify-content: center;
}
.gs-panel-handle::after {
  content: '';
  width: 36px; height: 4px; border-radius: 999px;
  background: var(--ss-border-strong);
}

.gs-panel-head {
  flex: 0 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--ss-border);
}
.gs-panel-title { margin: 0; font-size: 16px; font-weight: 600; }
.gs-panel-x {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px;
  background: transparent; color: var(--ss-ghost-fg); cursor: pointer;
}
.gs-panel-x:hover { background: var(--ss-ghost-bg-hover); }

.gs-panel-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 16px;
}
.gs-panel-foot {
  flex: 0 0 auto;
  display: flex; justify-content: flex-end;
  gap: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--ss-border);
}

/* Sections — one divider each, no nested cards */
.gs-sec { padding-bottom: 24px; }
.gs-sec + .gs-sec {
  padding-top: 24px;
  border-top: 1px solid var(--ss-border);
}
.gs-sec-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ss-text-muted);
}
.gs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
  padding: 12px 0;
}
.gs-row-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ss-text);
}
.gs-row-hint { font-size: 12px; font-weight: 400; color: var(--ss-text-muted); }

.gs-select {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--ss-secondary-border);
  background: var(--ss-secondary-bg);
  color: var(--ss-secondary-fg);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
}

/* Neutral toggle: "on" is --ss-primary-bg, never an accent colour */
.gs-toggle {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.gs-toggle input {
  position: absolute;
  opacity: 0;
  width: 100%; height: 100%;
  margin: 0;
  cursor: pointer;
}
.gs-toggle-track {
  width: 44px; height: 26px;
  border-radius: 999px;
  background: var(--ss-surface-2);
  border: 1px solid var(--ss-border-strong);
  position: relative;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.gs-toggle-track::after {
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--ss-text-muted);
  transition: transform 120ms ease, background-color 120ms ease;
}
.gs-toggle input:checked + .gs-toggle-track,
.gs-toggle-btn[aria-pressed="true"] .gs-toggle-track {
  background: var(--ss-primary-bg);
  border-color: var(--ss-primary-bg);
}
.gs-toggle input:checked + .gs-toggle-track::after,
.gs-toggle-btn[aria-pressed="true"] .gs-toggle-track::after {
  transform: translateX(18px);
  background: var(--ss-primary-fg);
}

/* ---------- Sources section ---------- */
.gs-sources-count {
  margin-left: 8px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid var(--ss-border);
  background: var(--ss-surface-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ss-text-muted);
}
.gs-sp-sub,
.gs-sp-note,
.gs-sp-empty,
.gs-sp-warn {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--ss-text-muted);
}
.gs-sp-toolbar {
  position: sticky;
  top: -16px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
  background: var(--ss-surface);
}
.gs-sp-search {
  flex: 1 1 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--ss-border);
  background: var(--ss-bg);
  color: var(--ss-text);
  font-family: inherit;
  font-size: 13px;
}
.gs-sp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gs-sp-btn { font-size: 13px; padding: 0 12px; }

.gs-sp-body { display: flex; flex-direction: column; gap: 16px; }
.gs-sp-group h3 {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ss-text-muted);
}
.gs-sp-list { display: flex; flex-direction: column; }
.gs-sp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ss-border);
}
.gs-sp-row:last-child { border-bottom: 0; }
.gs-sp-row.is-off { opacity: .6; }
.gs-sp-check {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
}
.gs-sp-check input {
  width: 18px; height: 18px;
  flex: 0 0 auto;
  accent-color: var(--ss-primary-bg);
  cursor: pointer;
}
.gs-sp-name {
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gs-sp-domain { display: block; font-size: 12px; color: var(--ss-text-muted); }
.gs-sp-star {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px;
  background: none;
  color: var(--ss-text-muted);
  cursor: pointer;
  opacity: .5;
  transition: opacity 120ms ease, background-color 120ms ease;
}
.gs-sp-star:hover { opacity: 1; background: var(--ss-ghost-bg-hover); }
.gs-sp-star.is-on { opacity: 1; color: var(--ss-hiatus, #d97706); }
.gs-sp-lock { font-size: 12px; color: var(--ss-text-muted); }
.gs-sp-upgrade {
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--ss-secondary-border);
  background: var(--ss-secondary-bg);
  color: var(--ss-secondary-fg);
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}
.gs-sp-warn { color: var(--ss-hiatus, #d97706); }

/* Desktop: right-docked 380px full-height panel */
@media (min-width: 720px) {
  .gs-panel-overlay {
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    align-items: stretch;
    justify-content: flex-end;
    pointer-events: none;
  }
  .gs-panel {
    pointer-events: auto;
    width: 380px;
    max-width: 380px;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
    border-bottom: 1px solid var(--ss-border);
    animation: none;
  }
  .gs-panel-handle { display: none; }
}

@media (max-width: 719px) {
  .gs-shell { padding-bottom: 96px; }
}
