/* [project]/apps/web/src/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-border-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .hidden {
    display: none;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }
}

:root {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #2d2d2d;
  --panel: #383838;
  --raised: #424242;
  --text: #ececec;
  --muted: #a8a8a8;
  --border: #4a4a4a;
  --accent: #b0d58c;
  --accent-bright: #b1d68c;
  --accent-soft: #3a4534;
  --code: #1e1e1e;
  --shadow: 0 12px 35px #0004;
}

html[data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
  --bg: #f8f9f6;
  --panel: #fff;
  --raised: #f1f3ee;
  --text: #1b241c;
  --muted: #677065;
  --border: #dfe4da;
  --accent: #416e32;
  --accent-bright: #a9d579;
  --accent-soft: #edf4e7;
  --code: #141a17;
  --shadow: 0 12px 35px #19221a0a;
}

html[data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
  --bg: #2d2d2d;
  --panel: #383838;
  --raised: #424242;
  --text: #ececec;
  --muted: #a8a8a8;
  --border: #4a4a4a;
  --accent: #b0d58c;
  --accent-bright: #b1d68c;
  --accent-soft: #3a4534;
  --code: #1e1e1e;
  --shadow: 0 12px 35px #0004;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: wait;
  opacity: .55;
}

button {
  color: inherit;
}

svg {
  flex-shrink: 0;
}

::selection {
  background: #81a55b55;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  letter-spacing: -.035em;
  font-weight: 600;
  line-height: 1.22;
}

h1 {
  font-size: 38px;
}

h2 {
  font-size: 24px;
}

h3 {
  font-size: 18px;
}

p {
  color: var(--muted);
}

img {
  max-width: 100%;
}

small {
  font-size: 12px;
}

.container {
  width: min(1184px, 100% - 64px);
  margin-inline: auto;
}

.page-space {
  padding-block: 46px 72px;
}

.muted {
  color: var(--muted);
}

.accent {
  color: var(--accent);
}

.eyebrow {
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.button {
  border: 1px solid var(--border);
  background: var(--panel);
  white-space: nowrap;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s, border-color .15s, transform .15s;
  display: inline-flex;
}

.button:hover {
  background: var(--raised);
  border-color: var(--muted);
}

.button:active {
  transform: translateY(1px);
}

.button-primary {
  background: var(--accent-bright);
  color: #1b2a15;
  border-color: var(--accent-bright);
}

.button-primary:hover {
  background: #bce397;
  border-color: #bce397;
}

.button-small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 12px;
}

.button-danger {
  color: #e6827d;
}

.button-ghost {
  background: none;
  border-color: #0000;
}

.icon-button {
  background: none;
  border: 0;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  display: inline-flex;
}

.icon-button:hover {
  background: var(--raised);
}

.text-link {
  color: var(--accent);
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
}

.text-link:hover {
  text-decoration: underline;
}

.full-width {
  width: 100%;
}

.skip-link {
  z-index: 100;
  background: var(--accent-bright);
  color: #14200f;
  padding: 12px 20px;
  position: fixed;
  top: -100px;
  left: 20px;
}

.skip-link:focus {
  top: 10px;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  z-index: 30;
  position: relative;
}

.header-inner {
  align-items: center;
  gap: 42px;
  max-width: 1440px;
  height: 76px;
  margin: auto;
  padding-inline: 38px;
  display: flex;
}

.brand {
  letter-spacing: -.8px;
  white-space: nowrap;
  align-items: center;
  gap: 9px;
  font-size: 20px;
  font-weight: 700;
  display: flex;
}

.brand-accent {
  color: var(--accent);
}

.brand img {
  object-fit: contain;
}

.desktop-nav {
  flex: 1;
  align-items: center;
  gap: 25px;
  height: 100%;
  display: flex;
}

.desktop-nav > a {
  white-space: nowrap;
  color: var(--muted);
  border-bottom: 2px solid #0000;
  align-items: center;
  height: 100%;
  padding-top: 2px;
  font-size: 12px;
  display: flex;
}

.desktop-nav > a:hover, .desktop-nav > a.active {
  color: var(--text);
}

.desktop-nav > a.active {
  border-color: var(--accent);
}

.header-actions {
  align-items: center;
  gap: 12px;
  margin-left: auto;
  display: flex;
}

.login-link {
  white-space: nowrap;
  padding: 10px 4px;
  font-size: 12px;
}

.mobile-toggle {
  display: none;
}

.mobile-nav {
  border-top: 1px solid var(--border);
  gap: 5px;
  padding: 16px 24px;
  display: grid;
}

.mobile-nav a {
  align-items: center;
  gap: 10px;
  padding: 9px;
  display: flex;
}

.avatar {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  width: 36px;
  height: 36px;
  color: var(--accent);
  border-radius: 50%;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}

.account-wrap {
  position: relative;
}

.account-menu {
  border: 1px solid var(--border);
  width: 215px;
  box-shadow: var(--shadow);
  background: var(--panel);
  z-index: 32;
  border-radius: 8px;
  padding: 10px;
  position: absolute;
  top: 48px;
  right: 0;
}

.account-menu strong {
  padding: 7px 10px;
  font-size: 13px;
  display: block;
}

.account-menu a, .account-menu button {
  text-align: left;
  background: none;
  border: 0;
  border-radius: 4px;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  font-size: 13px;
  display: flex;
}

.account-menu a:hover, .account-menu button:hover {
  background: var(--raised);
}

.dismiss-menu {
  z-index: 31;
  background: none;
  border: 0;
  position: fixed;
  inset: 0;
}

.hero {
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 62px 0 44px;
  display: grid;
}

.hero h1 {
  letter-spacing: -2px;
  margin: 19px 0;
  font-size: 48px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.8;
}

.hero-note {
  color: var(--muted);
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-size: 11px;
  display: flex;
}

.status-dot {
  background: var(--accent);
  border-radius: 50%;
  width: 6px;
  height: 6px;
  display: inline-block;
}

.hero-art {
  min-width: 0;
  position: relative;
}

.terminal {
  border: 1px solid var(--border);
  background: var(--code);
  color: #cad5c6;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 14px 40px #00000012;
}

.terminal-bar {
  color: #9aa897;
  background: #ffffff04;
  border-bottom: 1px solid #ffffff0e;
  align-items: center;
  gap: 5px;
  padding: 13px 16px;
  font: 11px monospace;
  display: flex;
}

.terminal-dot {
  background: #546451;
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.terminal-bar span:last-child {
  margin: auto;
}

.terminal-body {
  white-space: pre;
  padding: 25px;
  font: 12px / 2.2 SFMono-Regular, Consolas, monospace;
  overflow: hidden;
}

.terminal-comment {
  color: #87997f;
}

.terminal-purple {
  color: #b8a0d6;
}

.terminal-green {
  color: #b6d789;
}

.terminal-num {
  color: #7dacae;
}

.hero-stamp {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 6px;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  font-size: 11px;
  display: flex;
  position: absolute;
  bottom: -15px;
  right: 12px;
}

.hero-stamp svg {
  color: var(--accent);
}

.hero-stamp strong {
  font-size: 12px;
  display: block;
}

.search-form {
  border: 1px solid var(--border);
  background: var(--panel);
  max-width: 720px;
  box-shadow: var(--shadow);
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 6px 7px 6px 17px;
  display: flex;
}

.search-form:focus-within {
  border-color: var(--accent);
  outline: 2px solid var(--accent-soft);
}

.search-form input {
  min-width: 0;
  color: var(--text);
  background: none;
  border: 0;
  flex: 1;
  height: 42px;
  font-size: 14px;
  outline: none !important;
}

.search-form > svg {
  color: var(--muted);
}

.search-form .button {
  min-height: 40px;
  padding: 8px 18px;
}

.search-shortcut {
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 11px;
}

.discovery-search {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0 28px;
  display: flex;
}

.discovery-search .search-form {
  flex: 1;
}

.popular-searches {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  display: flex;
}

.popular-searches a {
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.section {
  padding-top: 38px;
}

.section-heading {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  display: flex;
}

.section-title {
  align-items: center;
  gap: 10px;
  display: flex;
}

.section-title > svg {
  color: var(--accent);
}

.section-title h2 {
  margin: 0;
  font-size: 22px;
}

.section-title .count {
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 4px;
  padding: 1px 7px;
  font-size: 11px;
}

.section-heading p {
  margin: 7px 0 0;
  font-size: 12px;
}

.script-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  display: grid;
}

.script-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-width: 0;
  transition: border-color .18s, transform .18s;
  overflow: hidden;
}

.script-card:hover {
  border-color: #728567;
  transform: translateY(-2px);
}

.card-art {
  border-bottom: 1px solid var(--border);
  color: #acc19b;
  background: #233127;
  justify-content: space-between;
  align-items: center;
  height: 105px;
  padding: 20px 23px;
  display: flex;
  position: relative;
  overflow: hidden;
}

.card-art:before {
  content: "";
  background-image: linear-gradient(#91b0840d 1px, #0000 1px), linear-gradient(90deg, #91b0840d 1px, #0000 1px);
  background-size: 22px 22px;
  position: absolute;
  inset: 0;
}

.card-art.art-1 {
  color: #b6b4d3;
  background: #292c39;
}

.card-art.art-2 {
  color: #d6ba95;
  background: #302a23;
}

.card-art.art-3 {
  color: #96becd;
  background: #223037;
}

.card-art.art-4 {
  color: #c1a0c8;
  background: #332735;
}

.card-art.art-5 {
  color: #b5c791;
  background: #2b3022;
}

.art-code {
  opacity: .7;
  white-space: pre;
  font: 10px / 1.8 monospace;
  position: relative;
}

.art-mark {
  opacity: .75;
  letter-spacing: -5px;
  font: 600 34px / 1 monospace;
  position: relative;
}

.art-label {
  opacity: .6;
  text-transform: uppercase;
  letter-spacing: 2px;
  font: 9px monospace;
  position: absolute;
  bottom: 11px;
  right: 14px;
}

.card-body {
  padding: 19px 19px 14px;
}

.card-category {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  font-size: 10px;
  display: flex;
}

.card-title {
  align-items: flex-start;
  gap: 7px;
  display: flex;
}

.card-title h3 {
  letter-spacing: -.02em;
  flex: 1;
  margin-bottom: 9px;
  font-size: 16px;
}

.card-title a:after {
  content: "";
}

.verified {
  color: var(--accent);
}

.card-description {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 42px;
  margin-bottom: 15px;
  font-size: 12px;
  line-height: 1.75;
  display: -webkit-box;
  overflow: hidden;
}

.tags {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.tag {
  border: 1px solid var(--border);
  background: var(--raised);
  color: var(--muted);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 10px;
}

a.tag:hover {
  color: var(--text);
  border-color: var(--muted);
}

.card-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 17px;
  padding-top: 12px;
  font-size: 10px;
  display: flex;
}

.card-author {
  align-items: center;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.mini-avatar {
  background: var(--accent-soft);
  width: 18px;
  height: 18px;
  color: var(--accent);
  border-radius: 50%;
  place-items: center;
  font-size: 8px;
  display: grid;
}

.card-stats {
  align-items: center;
  gap: 12px;
  display: flex;
}

.card-stats span {
  align-items: center;
  gap: 4px;
  display: flex;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  display: grid;
}

.category-tile {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 6px;
  align-items: center;
  gap: 13px;
  padding: 20px;
  display: flex;
}

.category-tile:hover {
  border-color: var(--accent);
}

.category-icon {
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 6px;
  place-items: center;
  width: 40px;
  height: 40px;
  display: grid;
}

.category-tile h3 {
  margin: 0 0 3px;
  font-size: 13px;
}

.category-tile p {
  margin: 0;
  font-size: 10px;
}

.category-tile > svg {
  color: var(--muted);
  margin-left: auto;
}

.contribute-banner {
  border: 1px solid var(--border);
  background: var(--accent-soft);
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 40px 0 4px;
  padding: 27px 30px;
  display: flex;
}

.contribute-banner h2 {
  margin: 0 0 7px;
  font-size: 20px;
}

.contribute-banner p {
  margin: 0;
  font-size: 12px;
}

.contribute-banner .eyebrow {
  margin-bottom: 9px;
}

.site-footer {
  border-top: 1px solid var(--border);
  width: min(1184px, 100% - 64px);
  margin: 45px auto 0;
}

.footer-top {
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 30px 0;
  display: flex;
}

.footer-top .brand {
  font-size: 16px;
}

.footer-top p {
  margin: 7px 0 0;
  font-size: 11px;
}

.footer-links {
  color: var(--muted);
  gap: 24px;
  font-size: 11px;
  display: flex;
}

.footer-links a {
  align-items: center;
  gap: 3px;
  display: flex;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  color: var(--muted);
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 25px;
  font-size: 10px;
  display: flex;
}

.page-heading {
  margin-bottom: 28px;
}

.page-heading h1 {
  margin: 10px 0 12px;
}

.page-heading p {
  max-width: 650px;
  margin: 0;
  font-size: 14px;
}

.directory-top {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  display: flex;
}

.directory-top .search-form {
  flex: 1;
  min-width: 0;
  max-width: none;
}

.directory-layout {
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 30px;
  display: grid;
}

.filter-panel {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 6px;
  align-self: start;
  padding: 19px;
  position: sticky;
  top: 20px;
}

.filter-heading {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  display: flex;
}

.filter-heading h2 {
  margin: 0;
  font-size: 14px;
}

.filter-heading button {
  color: var(--accent);
  background: none;
  border: 0;
  font-size: 11px;
}

.field {
  gap: 7px;
  min-width: 0;
  margin-bottom: 19px;
  display: grid;
}

.field > span, .field > label {
  font-size: 12px;
  font-weight: 600;
}

.field input, .field select, .field textarea, .input {
  border: 1px solid var(--border);
  background: var(--bg);
  width: 100%;
  color: var(--text);
  outline-offset: 1px;
  border-radius: 5px;
  min-width: 0;
  min-height: 44px;
  padding: 11px 12px;
  font-size: 13px;
}

.field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.7;
}

.field .hint, .hint {
  color: var(--muted);
  margin: 0;
  font-size: 11px;
  font-weight: 400;
}

.field-error {
  color: #dd8278;
  font-size: 12px;
}

.checkbox-field {
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 12px;
  display: flex;
}

.checkbox-field input {
  accent-color: #83ac64;
  width: 16px;
  height: 16px;
}

.results-bar {
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 12px;
  display: flex;
}

.results-sort {
  align-items: center;
  gap: 8px;
  display: flex;
}

.results-sort select {
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 5px;
  max-width: 170px;
  padding: 8px;
  font-size: 12px;
}

.directory-layout .script-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.filter-mobile {
  display: none;
}

.pagination {
  color: var(--muted);
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
  font-size: 12px;
  display: flex;
}

.empty-state {
  text-align: center;
  border: 1px dashed var(--border);
  background: var(--panel);
  border-radius: 8px;
  padding: 65px 20px;
}

.empty-state > svg {
  color: var(--accent);
  margin: auto auto 16px;
}

.empty-state h2 {
  margin-bottom: 10px;
  font-size: 21px;
}

.empty-state p {
  max-width: 410px;
  margin: 0 auto 22px;
  font-size: 13px;
}

.toast-region {
  z-index: 100;
  width: max-content;
  max-width: calc(100% - 32px);
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
}

.toast {
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--panel);
  color: var(--text);
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 16px;
  font-size: 13px;
  display: flex;
}

.toast > svg {
  color: var(--accent);
}

.toast-error > svg {
  color: #dc8179;
}

.form-page {
  width: min(440px, 100% - 40px);
  margin: 55px auto 75px;
}

.form-page.wide {
  width: min(1100px, 100% - 40px);
}

.obfuscator-toolbar {
  margin-bottom: 18px;
}

.spin {
  animation: .9s linear infinite obfuscator-spin;
}

@keyframes obfuscator-spin {
  to {
    transform: rotate(360deg);
  }
}

.obfuscator-panels {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  display: grid;
}

.obfuscator-output-label {
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
}

.code-area {
  resize: vertical;
  min-height: 320px;
  font: 12px / 1.5 ui-monospace, Consolas, monospace;
}

.form-card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 9px;
  padding: 29px;
}

.form-page h1 {
  margin: 15px 0 10px;
  font-size: 29px;
}

.form-page > .page-heading {
  text-align: center;
}

.form-page > .page-heading .eyebrow {
  justify-content: center;
}

.form-page .page-heading p {
  font-size: 13px;
}

.form-link-row {
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12px;
  display: flex;
}

.form-link-row .checkbox-field {
  margin: 0;
}

.form-footer {
  text-align: center;
  color: var(--muted);
  margin: 22px 0 0;
  font-size: 12px;
}

.form-footer a {
  color: var(--accent);
}

.notice {
  border: 1px solid var(--border);
  background: var(--accent-soft);
  color: var(--text);
  border-radius: 6px;
  align-items: flex-start;
  gap: 9px;
  margin-bottom: 20px;
  padding: 13px 15px;
  font-size: 12px;
  display: flex;
}

.notice svg {
  margin-top: 1px;
}

.notice-error {
  color: #d7837a;
  background: #bb454510;
  border-color: #bb454550;
}

.form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  display: grid;
}

.form-divider {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 25px 0;
}

.code-input {
  tab-size: 2;
  white-space: pre;
  min-height: 290px !important;
  font-family: Consolas, monospace !important;
  font-size: 12px !important;
}

.breadcrumb {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 12px;
  display: flex;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 32px;
  display: grid;
}

.detail-title {
  margin: 13px 0;
  font-size: 33px;
}

.detail-meta {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 18px;
  margin: 20px 0;
  font-size: 12px;
  display: flex;
}

.detail-meta span, .detail-meta a {
  align-items: center;
  gap: 6px;
  display: flex;
}

.detail-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.9;
}

.detail-actions {
  flex-wrap: wrap;
  gap: 9px;
  margin: 25px 0;
  display: flex;
}

.code-viewer {
  border: 1px solid var(--border);
  border-radius: 7px;
  min-width: 0;
  margin: 20px 0;
  overflow: hidden;
}

.code-toolbar {
  background: var(--raised);
  justify-content: space-between;
  align-items: center;
  padding: 8px 13px;
  font: 11px Consolas, monospace;
  display: flex;
}

.code-toolbar span {
  align-items: center;
  gap: 7px;
  display: flex;
}

.code-scroll {
  background: #0e1310;
  max-height: 650px;
  overflow: auto;
}

.code-scroll pre {
  tab-size: 2;
  counter-reset: line;
  margin: 0;
  padding: 22px 22px 22px 12px;
  font: 12px / 1.9 Consolas, SFMono-Regular, monospace;
  background: #0e1310 !important;
}

.code-scroll .line:before {
  counter-increment: line;
  content: counter(line);
  text-align: right;
  color: #5f705e;
  -webkit-user-select: none;
  user-select: none;
  border-right: 1px solid #ffffff13;
  min-width: 26px;
  margin-right: 13px;
  padding-right: 14px;
  display: inline-block;
}

.detail-aside {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 7px;
  align-self: start;
  padding: 22px;
}

.detail-aside h2 {
  margin-bottom: 18px;
  font-size: 14px;
}

.detail-aside dl {
  grid-template-columns: 1fr 1fr;
  gap: 14px 10px;
  margin: 0;
  font-size: 11px;
  display: grid;
}

.detail-aside dt {
  color: var(--muted);
}

.detail-aside dd {
  text-align: right;
  overflow-wrap: anywhere;
  margin: 0;
}

.author-box {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 20px;
}

.author-box a {
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
}

.author-box p {
  margin: 12px 0 0;
  font-size: 11px;
}

.detail-section h2 {
  margin: 27px 0 16px;
  font-size: 18px;
}

.version-row {
  border-bottom: 1px solid var(--border);
  justify-content: space-between;
  gap: 15px;
  padding: 13px 0;
  font-size: 12px;
  display: flex;
}

.version-row span {
  color: var(--muted);
  white-space: nowrap;
}

.dashboard-tabs {
  border-bottom: 1px solid var(--border);
  gap: 24px;
  margin-bottom: 28px;
  display: flex;
  overflow-x: auto;
}

.dashboard-tabs a {
  color: var(--muted);
  white-space: nowrap;
  border-bottom: 2px solid #0000;
  padding: 12px 0;
  font-size: 13px;
}

.dashboard-tabs a.active {
  color: var(--accent);
  border-color: var(--accent);
}

.settings-section {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 7px;
  margin-bottom: 22px;
  padding: 25px;
}

.settings-section h2 {
  margin-bottom: 7px;
  font-size: 18px;
}

.settings-section > p {
  font-size: 12px;
}

.settings-layout {
  max-width: 780px;
}

.session-row {
  border-top: 1px solid var(--border);
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 16px 0;
  display: flex;
}

.session-row h3 {
  margin: 0 0 4px;
  font-size: 13px;
}

.session-row p {
  margin: 0;
  font-size: 11px;
}

.profile-heading {
  align-items: center;
  gap: 22px;
  margin-bottom: 35px;
  display: flex;
}

.profile-heading .avatar {
  width: 75px;
  height: 75px;
  font-size: 23px;
}

.profile-heading h1 {
  margin: 0 0 7px;
}

.profile-heading p {
  margin: 0;
  font-size: 13px;
}

.profile-heading small {
  color: var(--muted);
}

.admin-tabs {
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
  display: flex;
}

.admin-tabs button {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 5px;
  padding: 9px 15px;
  font-size: 12px;
}

.admin-tabs button.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

.admin-row {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 10px;
  padding: 18px;
  display: flex;
}

.admin-row h3 {
  margin: 0 0 6px;
  font-size: 14px;
}

.admin-row p {
  margin: 0;
  font-size: 12px;
}

.admin-actions {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
}

.stats-row {
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  display: grid;
}

.stat {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
}

.stat strong {
  font-size: 25px;
  font-weight: 500;
  display: block;
}

.stat span {
  color: var(--muted);
  font-size: 11px;
}

dialog {
  background: var(--panel);
  color: var(--text);
  border: 1px solid var(--border);
  width: min(460px, 100% - 30px);
  max-height: 85dvh;
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 25px;
  overflow: auto;
}

dialog::backdrop {
  background: #0009;
}

dialog h2 {
  font-size: 23px;
}

dialog .dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.prose {
  max-width: 750px;
}

.prose h2 {
  margin-top: 30px;
  font-size: 22px;
}

.prose p, .prose li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.prose a {
  color: var(--accent);
}

.skeleton {
  background: var(--raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 300px;
  animation: 1.5s infinite pulse;
}

.loading-label {
  color: var(--muted);
  margin: 25px 0;
  font-size: 13px;
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

@media (min-width: 1600px) {
  .container, .site-footer {
    width: min(1320px, 100% - 96px);
  }

  .hero {
    gap: 130px;
  }

  .script-grid {
    gap: 24px;
  }

  .card-art {
    height: 125px;
  }

  .card-body {
    padding: 22px;
  }

  .card-title h3 {
    font-size: 18px;
  }
}

@media (max-width: 1200px) {
  .header-inner {
    gap: 25px;
    padding-inline: 25px;
  }

  .desktop-nav {
    gap: 17px;
  }

  .desktop-nav a:nth-child(4) {
    display: none;
  }

  .header-actions {
    gap: 7px;
  }

  .hero {
    gap: 40px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .popular-searches > span {
    display: none;
  }

  .category-tile {
    padding: 15px;
  }

  .category-icon {
    width: 34px;
    height: 34px;
  }

  .footer-links {
    gap: 17px;
  }
}

@media (max-width: 1023px) {
  .desktop-nav a:nth-child(5), .submit-header {
    display: none;
  }

  .hero {
    gap: 28px;
    padding-block: 45px 38px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .terminal-body {
    padding: 20px 15px;
    font-size: 10px;
  }

  .hero-stamp {
    padding: 9px 12px;
    font-size: 10px;
  }

  .discovery-search {
    display: block;
  }

  .popular-searches {
    margin-top: 14px;
  }

  .popular-searches > span {
    display: block;
  }

  .search-form {
    max-width: none;
  }

  .script-grid {
    gap: 13px;
  }

  .card-body {
    padding: 16px 14px 12px;
  }

  .card-stats {
    gap: 7px;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .directory-layout {
    grid-template-columns: 185px minmax(0, 1fr);
    gap: 22px;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 235px;
    gap: 24px;
  }

  .footer-top {
    align-items: flex-start;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 360px;
  }
}

@media (max-width: 767px) {
  .container, .site-footer {
    width: calc(100% - 40px);
  }

  .header-inner {
    gap: 12px;
    height: 66px;
    padding-inline: 20px;
  }

  .brand {
    gap: 6px;
    font-size: 18px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .signup-header {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .login-link {
    padding-inline: 7px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px 0 30px;
  }

  .hero h1 {
    letter-spacing: -1.6px;
    margin: 15px 0;
    font-size: 38px;
  }

  .hero p {
    max-width: 450px;
    margin-bottom: 0;
    font-size: 14px;
  }

  .hero-art {
    display: none;
  }

  .hero-note {
    margin-top: 17px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .discovery-search {
    padding-block: 20px;
  }

  .search-shortcut {
    display: none;
  }

  .search-form {
    gap: 8px;
    padding-left: 12px;
  }

  .search-form input {
    font-size: 12px;
  }

  .search-form .button {
    padding-inline: 12px;
  }

  .popular-searches {
    gap: 12px;
    font-size: 10px;
  }

  .section {
    padding-top: 30px;
  }

  .section-title h2 {
    font-size: 20px;
  }

  .section-title {
    gap: 8px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 16px;
  }

  .section-heading > .text-link {
    font-size: 11px;
  }

  .script-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .script-card .card-art {
    height: 86px;
    padding: 15px;
  }

  .art-code {
    font-size: 8px;
  }

  .art-mark {
    font-size: 29px;
  }

  .card-title h3 {
    font-size: 15px;
  }

  .card-category {
    font-size: 9px;
  }

  .card-description {
    font-size: 11px;
  }

  .card-footer {
    flex-wrap: wrap;
    gap: 9px;
  }

  .category-grid {
    gap: 10px;
  }

  .category-tile {
    gap: 10px;
    padding: 14px 12px;
  }

  .category-tile > svg {
    display: none;
  }

  .category-tile h3 {
    font-size: 12px;
  }

  .category-tile p {
    font-size: 10px;
  }

  .contribute-banner {
    padding: 22px;
    display: block;
  }

  .contribute-banner h2 {
    font-size: 21px;
  }

  .contribute-banner .button {
    margin-top: 18px;
  }

  .footer-top {
    padding-block: 24px;
    display: block;
  }

  .footer-links {
    justify-content: flex-start;
    gap: 16px;
    max-width: none;
    margin-top: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
    font-size: 9px;
  }

  .page-space {
    padding-block: 30px 45px;
  }

  h1 {
    font-size: 30px;
  }

  .page-heading p {
    font-size: 13px;
  }

  .directory-top {
    gap: 10px;
    margin-bottom: 20px;
  }

  .filter-mobile {
    display: flex;
  }

  .filter-mobile span {
    display: none;
  }

  .directory-layout {
    display: block;
  }

  .filter-panel {
    margin-bottom: 22px;
    display: none;
    position: static;
  }

  .filter-panel.is-open {
    display: block;
  }

  .directory-layout .script-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .results-sort label {
    display: none;
  }

  .results-sort select {
    max-width: 148px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-title {
    font-size: 28px;
  }

  .detail-aside {
    order: 2;
  }

  .detail-meta {
    gap: 13px;
    font-size: 11px;
  }

  .detail-description {
    font-size: 13px;
  }

  .detail-actions .button {
    padding-inline: 12px;
    font-size: 12px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .obfuscator-panels {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 23px;
  }

  .form-page {
    margin-block: 35px 50px;
  }

  .form-page h1 {
    font-size: 27px;
  }

  .settings-section {
    padding: 20px;
  }

  .dashboard-tabs {
    gap: 20px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .admin-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-heading {
    gap: 15px;
  }

  .profile-heading .avatar {
    width: 56px;
    height: 56px;
    font-size: 19px;
  }

  .profile-heading h1 {
    font-size: 27px;
  }
}

@media (max-width: 430px) {
  .container, .site-footer {
    width: calc(100% - 32px);
  }

  .header-inner {
    padding-inline: 16px;
  }

  .header-actions {
    gap: 1px;
  }

  .brand {
    font-size: 17px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero {
    padding-top: 29px;
  }

  .script-grid, .directory-layout .script-grid {
    grid-template-columns: 1fr;
  }

  .card-art {
    height: 99px !important;
  }

  .card-body {
    padding: 18px;
  }

  .card-title h3 {
    font-size: 17px;
  }

  .card-description {
    font-size: 12px;
  }

  .card-footer {
    flex-wrap: nowrap;
  }

  .category-tile {
    gap: 8px;
    padding: 12px 9px;
  }

  .category-icon {
    width: 29px;
    height: 32px;
  }

  .category-icon svg {
    width: 17px;
  }

  .category-tile h3, .search-form input {
    font-size: 11px;
  }

  .search-form .button {
    padding-inline: 10px;
    font-size: 11px;
  }

  .search-form > svg {
    width: 16px;
  }

  .section-title h2 {
    font-size: 19px;
  }

  .section-title .count {
    display: none;
  }

  .results-bar, .login-link {
    font-size: 11px;
  }

  .header-actions .icon-button {
    width: 34px;
  }

  .form-card {
    padding: 20px;
  }

  .session-row {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

.detail-layout > article {
  min-width: 0;
}

.code-toolbar {
  gap: 10px;
}

.code-toolbar > span {
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.code-toolbar > .button {
  flex-shrink: 0;
}

.detail-section, .version-row > div {
  overflow-wrap: anywhere;
  min-width: 0;
}

.form-footer a, .prose a, .hint a, .notice a {
  text-underline-offset: 3px;
  text-decoration: underline;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

/*# sourceMappingURL=apps_web_src_app_globals_1wvyn-h.css.map*/