:root {
  color-scheme:dark;
  font-family:Segoe UI,system-ui,sans-serif;
  background:#101317;
  color:#e9edf2
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input,select {
  font:inherit
}
button,select {
  cursor:pointer
}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:2px solid #a3e432;
  outline-offset:3px
}
button {
  color:inherit;
  background:#242b34;
  border:1px solid #38424d;
  border-radius:7px;
  padding:8px 11px
}
button:hover {
  background:#35414c
}
header {
  padding:28px 32px 20px;
  border-bottom:1px solid #30363e;
  background:#171c22
}
h1 {
  font-size:28px;
  margin:4px 0 8px;
  letter-spacing:-1px
}
.eyebrow {
  color:#a3e432;
  font-size:11px;
  font-weight:800;
  letter-spacing:3px
}
p {
  color:#a7b1bd;
  margin:0;
  font-size:14px
}
.layout {
  display:grid;
  grid-template-columns:220px 1fr
}
aside {
  padding:22px 16px;
  border-right:1px solid #30363e;
  position:sticky;
  top:0;
  height:100vh;
  overflow:auto
}
aside button {
  display:flex;
  justify-content:space-between;
  width:100%;
  margin:3px 0;
  background:transparent;
  border-color:transparent;
  text-align:left;
  font-size:13px
}
aside button.active {
  background:#a3e432;
  color:#111b08;
  font-weight:700
}
aside h2 {
  font-size:11px;
  color:#94a1af;
  letter-spacing:2px;
  margin:22px 10px 9px
}
main {
  padding:24px 28px;
  min-width:0
}
.toolbar {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px
}
input,select {
  background:#1c222a;
  border:1px solid #3a444f;
  border-radius:8px;
  color:#edf1f6;
  padding:11px
}
#search {
  flex:1;
  min-width:210px
}
#status {
  margin-bottom:18px;
  color:#9cabb9;
  font-size:13px
}
.grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(185px,1fr));
  gap:14px
}
.card {
  background:#1b2128;
  border:1px solid #303943;
  border-radius:12px;
  overflow:hidden;
  position:relative
}
.preview {
  height:142px;
  display:flex;
  align-items:center;
  justify-content:center;
  background-color:#14191f;
  background-image:linear-gradient(45deg,#ffffff04 25%,transparent 25%,transparent 75%,#ffffff04 75%),linear-gradient(45deg,#ffffff04 25%,transparent 25%,transparent 75%,#ffffff04 75%);
  background-size:20px 20px;
  background-position:0 0,10px 10px
}
.preview.light {
  background-color:#c9ced2
}
.preview img {
  width:112px;
  height:112px;
  object-fit:contain
}
.star {
  position:absolute;
  right:8px;
  top:8px;
  padding:3px 8px;
  font-size:20px;
  color:#a3e432
}
.info {
  padding:14px
}
.title {
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis
}
.name {
  font-family:Consolas,monospace;
  color:#a8b8c8;
  font-size:12px;
  margin:8px 0 13px;
  overflow-wrap:anywhere;
  min-height:28px
}
.copy {
  width:100%;
  background:#a3e432;
  color:#17220b;
  border:0;
  font-weight:700
}
.copy:hover {
  background:#bbf559
}
.extras {
  display:flex;
  gap:5px;
  margin-top:8px
}
.extras button,.extras a {
  font-size:11px;
  flex:1;
  text-align:center;
  padding:6px 3px
}
.extras a {
  color:#c0cbd7;
  text-decoration:none
}
.grid {
  margin-bottom:26px
}
.empty {
  padding:60px 10px;
  text-align:center;
  color:#a7b1bd
}
#toast {
  position:fixed;
  bottom:24px;
  left:50%;
  transform:translateX(-50%);
  background:#a3e432;
  color:#142006;
  border-radius:9px;
  padding:13px 22px;
  box-shadow:0 4px 30px #0008;
  max-width:90vw;
  overflow-wrap:anywhere;
  z-index:4
}
#toast[hidden] {
  display:none
}
@media(max-width:700px) {
  .layout {
    grid-template-columns:1fr
  }
  aside {
    position:static;
    height:auto;
    max-height:230px;
    border-bottom:1px solid #30363e
  }
  main {
    padding:18px
  }
  .grid {
    grid-template-columns:repeat(auto-fill,minmax(155px,1fr))
  }
  header {
    padding:22px
  }
}
.pager {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:16px;
  margin:26px 0
}
.pager[hidden] {
  display:none
}
#page-jump {
  width:85px
}
button:disabled {
  opacity:.4;
  cursor:default
}

.title-accent {
  color: #a3e432;
}

.clipboard-field {
  position: fixed;
  opacity: 0;
}
