/* trunkrecorder.pro/plugins/ and /interfaces/: the stores' directories, on the site's tokens (styles.css). */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header band: the hero's gradient, lighter */
.sx-hero { position: relative; padding: 64px 0 40px; isolation: isolate; overflow: hidden; }
.sx-hero::before {
  content: ""; position: absolute; inset: -64px 0 0 0; z-index: -1;
  background:
    radial-gradient(50% 90% at 88% 0%, rgba(108,108,255,.32), transparent 62%),
    radial-gradient(45% 80% at 62% -10%, rgba(63,182,255,.38), transparent 66%),
    linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}
.sx-h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.06; letter-spacing: -.033em; color: var(--ink); margin: 0 0 18px; font-weight: 700; }
.sx-lede { font-size: clamp(17px, 1.7vw, 19px); color: #2c3e55; margin: 0 0 28px; max-width: 720px; }
.sx-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Search and filters */
.sx-list { padding: 8px 0 96px; }
.sx-bar {
  position: sticky; top: 64px; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px;
  margin: 0 -12px 24px; padding: 12px;
  background: rgba(255,255,255,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
}
.sx-search { position: relative; flex: 1 1 280px; max-width: 440px; }
.sx-search svg { position: absolute; left: 14px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.sx-search input {
  width: 100%; font: 500 15.5px var(--sans); color: var(--ink);
  padding: 11px 16px 11px 40px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
}
.sx-search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,123,214,.14); }
.sx-chips { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #f1f4f8; }
.sx-chips button { font: 600 14px/1 var(--sans); color: var(--muted); padding: 8px 14px; border: 0; border-radius: 999px; background: none; cursor: pointer; }
.sx-chips button:hover { color: var(--ink); }
.sx-chips button[aria-pressed="true"] { color: var(--ink); background: #fff; box-shadow: 0 1px 2px rgba(11,26,46,.1), 0 0 0 1px var(--line); }
.sx-count { margin: 0 0 0 auto; font: 500 13px var(--mono); color: var(--muted); }
@media (max-width: 640px) { .sx-count { margin-left: 0; } .sx-bar { position: static; } }

/* Cards */
.sx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .sx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .sx-grid { grid-template-columns: 1fr; } }
.sx-card {
  display: flex; flex-direction: column; min-width: 0;
  padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: box-shadow .2s, border-color .2s, transform .2s;
  scroll-margin-top: 150px;
}
.sx-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }
.sx-card:target { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(10,123,214,.14), var(--shadow-md); }
.sx-card[hidden] { display: none; }
.sx-card-head { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px; margin-bottom: 12px; }
.sx-ava { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; background: #eef2f7; box-shadow: inset 0 0 0 1px rgba(11,26,46,.06); }
.sx-name { margin: 1px 0 3px; font-size: 18px; line-height: 1.25; letter-spacing: -.01em; }
.sx-name a { color: var(--ink); }
.sx-facts { display: flex; flex-wrap: wrap; gap: 2px 10px; margin: 0; font-size: 13px; color: var(--muted); line-height: 1.4; }
.sx-facts a { color: var(--text); font-weight: 500; }
.sx-ver { font-family: var(--mono); font-size: 12.5px; }
.sx-desc { margin: 0 0 14px; font-size: 15px; line-height: 1.6; flex: 1; }


.sx-plat { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; }
.sx-plat li { font: 500 11.5px/1 var(--mono); color: #3a4d66; background: var(--bg-alt); border: 1px solid var(--line); padding: 5px 7px; border-radius: 6px; }

.sx-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.sx-link { display: inline-flex; align-items: center; gap: 6px; font: 600 13.5px/1 var(--sans); color: var(--ink); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.sx-link:hover { text-decoration: none; border-color: #c9d3df; background: var(--bg-alt); }
.sx-link svg { width: 15px; height: 15px; flex: none; }
.sx-link-main { color: #fff; background: var(--ink); border-color: var(--ink); }
.sx-link-main:hover { background: #1b3352; border-color: #1b3352; }

/* Interfaces: two to a row, with their screenshots */
.sx-igrid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
@media (max-width: 880px) { .sx-igrid { grid-template-columns: 1fr; } }
.sx-icard { padding: 0; overflow: hidden; }
.sx-ibody { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.sx-gallery { background: var(--night); padding: 14px 14px 12px; }
.sx-shot { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #0d1117; border-radius: 9px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.sx-shot img { width: 100%; height: 100%; object-fit: contain; transition: opacity .2s; }
.sx-cap { margin: 10px 2px 0; min-height: 1.5em; font-size: 13.5px; line-height: 1.5; color: var(--night-text); }
.sx-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding: 2px; }
.sx-thumb { flex: none; width: 76px; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: #0d1117; opacity: .55; box-shadow: 0 0 0 1px var(--night-line); transition: opacity .15s, box-shadow .15s; }
.sx-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sx-thumb:hover { opacity: .85; }
.sx-thumb[aria-pressed="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--cyan); }
.sx-noshot { display: grid; place-items: center; aspect-ratio: 16 / 9; color: var(--night-text); font-size: 14px; }
.sx-badges { margin: 0 0 14px; }
.sx-access { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px/1 var(--sans); color: #2c4563; background: #f3f8fe; border: 1px solid #d7e7f8; padding: 6px 10px; border-radius: 999px; }
.sx-access svg { width: 14px; height: 14px; }
.sx-control { color: #8a5a12; background: #fff8eb; border-color: #f3dfb8; }

/* The big picture */
.sx-zoom { width: min(1280px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 14px; background: var(--night); color: var(--night-text); box-shadow: var(--shadow-lg); }
.sx-zoom::backdrop { background: rgba(6,10,18,.78); backdrop-filter: blur(4px); }
.sx-zoom img { display: block; width: 100%; max-height: calc(94vh - 64px); object-fit: contain; background: #0d1117; }
.sx-zoom p { margin: 0; padding: 14px 18px 16px; font-size: 14.5px; }
.sx-zoom form { position: absolute; top: 10px; right: 10px; margin: 0; }
.sx-zoom-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--night-line); background: rgba(11,18,32,.8); color: #fff; font: 400 22px/1 var(--sans); cursor: pointer; }
.sx-zoom-close:hover { border-color: var(--cyan); }

/* Bottom of the list */
.sx-empty { margin: 24px 0; padding: 28px; text-align: center; border: 1px dashed #c9d3df; border-radius: var(--radius); color: var(--muted); }
.sx-empty button { font: inherit; font-weight: 600; color: var(--blue); background: none; border: 0; cursor: pointer; padding: 0; }
.sx-asof { margin: 28px 0 0; font-size: 13.5px; color: var(--muted); }
.sx-yours {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px;
  margin-top: 40px; padding: 28px 30px; border-radius: 18px;
  background: linear-gradient(135deg, #f3f8fe, #f4f2ff); border: 1px solid #dfe7f3;
}
.sx-yours > div:first-child { max-width: 640px; }
.sx-yours p { margin: 0; font-size: 15.5px; }
.sx-yours-cta { display: flex; flex-wrap: wrap; gap: 10px; }
