/* [project]/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-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --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;
    --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
    --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --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;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .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;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .grow {
    flex-grow: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

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

  .uppercase {
    text-transform: uppercase;
  }

  .underline {
    text-decoration-line: underline;
  }

  .\!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, ) !important;
  }

  .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, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

:root {
  --ink: #0b1120;
  --muted: #64748b;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #fbbf24;
  --paper: #fff;
  --wash: #f8fafc;
  --line: #e2e8f0;
  --radius: 20px;
  --csl-bg: #fdf2f8;
  --csl-text: #be185d;
  --sgsl-bg: #f0fdfa;
  --sgsl-text: #0f766e;
  --asl-bg: #eef2ff;
  --asl-text: #4338ca;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  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: not-allowed;
  opacity: .5;
}

button {
  color: inherit;
  background: none;
  border: 0;
}

button:focus-visible, a:focus-visible {
  outline-offset: 4px;
  outline: 3px solid #539b70;
}

input:focus, select:focus, textarea:focus {
  outline-offset: 1px;
  outline: 2px solid #47866d;
}

input, select, textarea {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
  max-width: 100%;
  padding: 11px 13px;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

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

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

h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
}

h2 {
  font-size: 1.9rem;
}

h3 {
  font-size: 1.15rem;
}

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

svg {
  flex-shrink: 0;
}

small {
  color: var(--muted);
  font-size: 13px;
}

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

.narrow {
  max-width: 740px;
}

.header {
  border-bottom: 1px solid var(--line);
  z-index: 20;
  background: #fff;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  height: 100px;
  padding: 0 48px;
  display: flex;
  position: relative;
}

.brand {
  white-space: nowrap;
  letter-spacing: -1px;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 700;
  display: flex;
}

.brand-icon {
  background: var(--primary);
  width: 43px;
  height: 46px;
  color: var(--secondary);
  background: #eef4f3;
  border-radius: 13px 13px 13px 4px;
  place-items: center;
  display: grid;
  overflow: hidden;
}

.brand-icon img {
  object-fit: contain;
  object-position: center;
  width: 100%;
  height: 100%;
}

.brand small {
  letter-spacing: 1px;
  margin-top: 0;
  font-size: 10px;
  font-weight: 400;
  display: block;
}

.nav {
  align-items: center;
  gap: 30px;
  height: 100%;
  font-size: 14px;
  display: flex;
}

.nav a.active:after {
  content: "";
  background: var(--primary);
  border-radius: 3px 3px 0 0;
  height: 3px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.header-actions {
  align-items: center;
  gap: 20px;
  font-size: 14px;
  display: flex;
}

.locale {
  align-items: center;
  gap: 6px;
  min-height: 44px;
  display: flex;
}

.signin {
  white-space: nowrap;
}

.button {
  border: 1px solid var(--line);
  white-space: nowrap;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 11px 21px;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s, transform .15s;
  display: inline-flex;
}

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

.button.primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.compact {
  min-height: 42px;
  padding: 9px 17px;
}

.icon-button {
  justify-content: center;
  align-items: center;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
}

.mobile-menu {
  display: none;
}

.hero {
  background: linear-gradient(135deg, var(--wash) 0%, #eef2ff 50%, #fdf2f8 100%);
  border-bottom: 1px solid var(--line);
  padding: 60px 0 80px;
}

.hero > .container {
  grid-template-columns: minmax(0, 1fr) 335px;
  align-items: center;
  gap: 85px;
  display: grid;
}

.eyebrow {
  letter-spacing: 1.6px;
  color: #527257;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  display: flex;
}

.small-line {
  background: #64875d;
  width: 23px;
  height: 2px;
}

.hero h1 {
  letter-spacing: -.055em;
  margin-bottom: 19px;
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 500;
  line-height: 1.08;
}

.hero h1 > span, .dictionary-intro h1 > span {
  color: #527a48;
}

.hero-copy > p {
  max-width: 625px;
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 1.8;
}

.searchbox {
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #cfdacf;
  align-items: center;
  gap: 14px;
  padding: 7px 7px 7px 19px;
  display: flex;
  box-shadow: 0 4px 15px #234b2110;
}

.searchbox > svg {
  color: #597360;
}

.searchbox input {
  outline-offset: 0;
  border: 0;
  width: 100%;
  min-width: 0;
  padding: 9px 0;
  font-size: 15px;
}

.searchbox .button {
  min-height: 45px;
  padding: 10px 17px;
}

.search-hint {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  font-size: 12px;
  display: flex;
}

.search-hint button {
  border-bottom: 1px solid #bdcabc;
  padding: 0;
  font-size: 12px;
}

.search-hint > span {
  color: #72806e;
  margin-left: auto;
  font-size: 11px;
}

.hero-card {
  background: var(--primary);
  color: #fff;
  border-radius: 15px;
  padding: 23px 27px 20px;
  transform: rotate(1deg);
  box-shadow: 10px 10px #dfe8d6;
}

.hero-card-top {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.tag {
  letter-spacing: .8px;
  color: #345447;
  background: #ffffffb8;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 700;
}

.tag.inverse {
  color: #dbedc7;
  background: #ffffff16;
  font-size: 9px;
}

.hero-card-top > svg {
  color: #d4e7ba;
}

.hello {
  letter-spacing: -3px;
  margin: 24px 0 23px;
  font-size: 57px;
  font-weight: 500;
  line-height: 1.2;
}

.hello span {
  color: var(--secondary);
  letter-spacing: 1px;
  margin-left: 17px;
  font-size: 27px;
  font-weight: 400;
  display: inline-block;
}

.language-lines {
  gap: 10px;
  font-size: 12px;
  display: grid;
}

.language-lines > span {
  border-bottom: 1px solid #ffffff25;
  justify-content: space-between;
  padding-bottom: 7px;
  display: flex;
}

.language-lines b {
  color: #c6deb2;
  font-size: 10px;
  font-weight: 400;
}

.hero-card > p {
  color: #bfd3c2;
  margin: 14px 0;
  font-size: 12px;
  line-height: 1.65;
}

.hero-card > a {
  color: #e9f4cf;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.language-bar {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.language-bar > .container {
  align-items: center;
  gap: 25px;
  display: flex;
}

.language-label {
  letter-spacing: 1px;
  color: var(--muted);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
}

.language-bar [role="group"] {
  flex: 1;
  gap: 10px;
  display: flex;
}

.language-bar button {
  border: 1px solid var(--line);
  white-space: nowrap;
  border-radius: 8px;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 10px 15px;
  font-size: 12px;
  display: flex;
}

.language-bar button.selected {
  color: #2f542b;
  background: #edf4e7;
  border-color: #98b086;
}

.language-code {
  background: #f1f3ef;
  border-radius: 4px;
  place-items: center;
  min-width: 30px;
  height: 25px;
  font-size: 10px;
  font-weight: 700;
  display: grid;
}

.selected .language-code {
  background: #dce9cf;
}

.check {
  margin-left: auto;
  font-weight: 700;
}

.dictionary-layout {
  grid-template-columns: 215px minmax(0, 1fr);
  gap: 42px;
  padding-top: 42px;
  padding-bottom: 40px;
  display: grid;
}

.filters {
  border-right: 1px solid var(--line);
  padding-right: 24px;
}

.filter-title {
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.filters h3 {
  letter-spacing: 0;
  margin-bottom: 10px;
  font-size: 12px;
}

.category {
  text-align: left;
  color: #526455;
  border-radius: 7px;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 43px;
  margin: 3px 0;
  padding: 11px 10px;
  font-size: 12px;
  display: flex;
}

.category svg {
  stroke-width: 1.5px;
  width: 17px;
  height: 17px;
}

.category.selected {
  color: #2a542c;
  background: #eaf1e4;
  font-weight: 600;
}

.category > span {
  margin-left: auto;
  font-size: 10px;
}

.filter-divider {
  background: var(--line);
  height: 1px;
  margin: 22px 0;
}

.region-search {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding-right: 7px;
  display: flex;
}

.region-search input {
  border: 0;
  width: 100%;
  min-width: 0;
  padding: 9px;
  font-size: 12px;
}

.region-search button {
  min-width: 30px;
}

.community-note {
  background: #f2f5ed;
  border: 1px solid #e3e9dc;
  border-radius: 9px;
  margin-top: 29px;
  padding: 20px 16px;
}

.community-note > svg {
  color: #597c40;
  margin-bottom: 15px;
}

.community-note h3 {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.4;
}

.community-note p {
  font-size: 12px;
  line-height: 1.8;
}

.community-note a {
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

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

.results-heading .eyebrow {
  margin-bottom: 8px;
  font-size: 9px;
}

.results-heading h2 {
  margin-bottom: 7px;
  font-size: 27px;
}

.results-heading p {
  font-size: 12px;
}

.result-actions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.result-actions select {
  min-height: 40px;
  padding: 8px 11px;
  font-size: 12px;
}

.filter-toggle {
  display: none;
}

.word-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  display: grid;
}

.word-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s;
  overflow: hidden;
}

.word-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px -10px #0000001f;
}

.word-art {
  background: var(--wash);
  height: 180px;
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.tone-1 {
  background: var(--asl-bg);
}

.tone-2 {
  background: var(--csl-bg);
}

.tone-3 {
  background: var(--sgsl-bg);
}

.word-glyph {
  color: var(--muted);
  opacity: .6;
  position: absolute;
  bottom: 18px;
  left: 23px;
}

.word-glyph > svg {
  stroke-width: .8px;
  width: 75px;
  height: 75px;
}

.tone-1 .word-glyph {
  color: var(--asl-text);
}

.tone-2 .word-glyph {
  color: var(--csl-text);
}

.tone-3 .word-glyph {
  color: var(--sgsl-text);
}

.art-translation {
  color: var(--ink);
  letter-spacing: 1px;
  overflow-wrap: anywhere;
  max-width: 60%;
  font-size: 28px;
  font-weight: 600;
  position: absolute;
  top: 55px;
  right: 25px;
}

.card-arrow {
  width: 32px;
  height: 32px;
  color: var(--ink);
  background: #fff;
  border-radius: 50%;
  place-items: center;
  display: grid;
  position: absolute;
  bottom: 16px;
  right: 16px;
  box-shadow: 0 4px 10px #0000000d;
}

.word-content {
  padding: 16px 17px 12px;
}

.word-name {
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  display: flex;
}

.word-name h3 {
  letter-spacing: -.5px;
  font-size: 19px;
}

.word-name > span {
  color: #81907c;
  flex-shrink: 0;
  font-size: 12px;
}

.word-content > p {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 42px;
  font-size: 12px;
  line-height: 1.7;
  display: -webkit-box;
  overflow: hidden;
}

.card-meta {
  color: #73806e;
  border-top: 1px solid #edf0e9;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 11px;
  font-size: 10px;
  display: flex;
}

.card-meta > span {
  align-items: center;
  gap: 5px;
  display: flex;
}

.seed-note {
  color: var(--muted);
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  font-size: 12px;
  display: flex;
}

.contribute-banner {
  background: #edf3e7;
  border: 1px solid #dce7d1;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-block: 10px 30px;
  padding: 29px 35px;
  display: flex;
}

.contribute-banner .eyebrow {
  margin-bottom: 8px;
  font-size: 10px;
}

.contribute-banner h2 {
  margin-bottom: 9px;
  font-size: 27px;
}

.contribute-banner p {
  font-size: 14px;
}

.impact {
  justify-content: space-around;
  padding: 26px 0 40px;
  display: flex;
}

.impact > div {
  text-align: center;
  flex-direction: column;
  gap: 3px;
  display: flex;
}

.impact strong {
  font-size: 29px;
  font-weight: 500;
}

.impact span {
  color: var(--muted);
  font-size: 12px;
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 48px;
  font-size: 11px;
  display: flex;
}

.footer-brand {
  align-items: center;
  gap: 10px;
  display: flex;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 14px;
}

.footer-brand > span {
  margin-left: 10px;
}

footer > div:last-child {
  gap: 22px;
  display: flex;
}

.dictionary-intro {
  border-bottom: 1px solid var(--line);
  background: #f5f7f1;
  padding: 42px 0;
}

.dictionary-intro .hero-copy {
  max-width: 900px;
}

.dictionary-intro h1 {
  margin-bottom: 20px;
  font-size: 39px;
}

.dictionary-intro .searchbox {
  max-width: 800px;
}

.page-title {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 40px 0 28px;
  display: flex;
}

.page-title h1 {
  margin-bottom: 12px;
  font-size: 35px;
}

.page-title p {
  max-width: 710px;
  font-size: 15px;
}

.page-title .eyebrow {
  margin-bottom: 10px;
}

.empty {
  text-align: center;
  background: #f8faf6;
  border: 1px dashed #cddacc;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  padding: 64px 22px;
  display: flex;
}

.empty > svg {
  color: #6d8d5f;
  margin-bottom: 20px;
}

.empty h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.empty p {
  max-width: 550px;
  margin-bottom: 20px;
  font-size: 14px;
}

.loading {
  text-align: center;
  color: var(--muted);
  padding: 60px;
}

.skeleton {
  background: linear-gradient(100deg, #f2f5ee 30%, #e8eee3 50%, #f2f5ee 70%) 0 0 / 200% 100%;
  border-radius: 12px;
  height: 320px;
  animation: 1.5s infinite pulse;
}

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

.toast {
  z-index: 100;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 10px;
  align-items: center;
  gap: 20px;
  width: calc(100% - 40px);
  max-width: 650px;
  padding: 14px 18px;
  font-size: 14px;
  display: flex;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 5px 30px #0003;
}

.toast button {
  min-width: 35px;
  min-height: 35px;
  margin-left: auto;
  font-size: 24px;
}

.skip {
  z-index: 100;
  background: var(--primary);
  color: #fff;
  padding: 12px;
  position: fixed;
  top: -100px;
  left: 20px;
}

.skip:focus {
  top: 10px;
}

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

.avatar {
  color: #476236;
  background: #e7efdb;
  border: 1px solid #cedcbd;
  border-radius: 50%;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 15px;
  font-weight: 700;
  display: grid;
}

.avatar-upload {
  cursor: pointer;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.avatar-upload input {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
}

.avatar-upload small {
  text-underline-offset: 3px;
  color: var(--primary);
  text-decoration: underline;
}

.avatar-upload .avatar {
  overflow: hidden;
}

.avatar-upload img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.between {
  justify-content: space-between;
}

.text-button {
  text-underline-offset: 4px;
  color: var(--primary);
  align-items: center;
  gap: 6px;
  min-height: 38px;
  font-size: 13px;
  text-decoration: underline;
  display: inline-flex;
}

.back {
  color: var(--muted);
  align-items: center;
  gap: 5px;
  margin: 30px 0;
  font-size: 13px;
  display: inline-flex;
}

.detail {
  padding-bottom: 55px;
}

.word-header {
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  display: flex;
}

.word-header h1 {
  font-size: 52px;
}

.word-header h1 span {
  color: #72866a;
  margin-left: 20px;
  font-size: 30px;
  font-weight: 400;
}

.definition {
  max-width: 710px;
  margin: 15px 0;
  font-size: 18px;
}

.tags {
  gap: 9px;
  margin: 15px 0;
  display: flex;
}

.tags span {
  background: var(--wash);
  color: #58744c;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 12px;
}

.principle {
  background: #edf3e7;
  border-radius: 10px;
  align-items: center;
  gap: 14px;
  padding: 20px;
  font-size: 14px;
  display: flex;
}

.variation-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  display: grid;
}

.variation {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.variation video {
  aspect-ratio: 16 / 10;
  background: #152e27;
  width: 100%;
}

.video-cover {
  aspect-ratio: 16 / 10;
  background: #eaf0e5;
  place-items: center;
  width: 100%;
  display: grid;
  position: relative;
}

.video-cover img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  position: absolute;
}

.play-button {
  z-index: 1;
  color: #fff;
  background: #174f41db;
  border-radius: 50%;
  place-items: center;
  width: 60px;
  height: 60px;
  display: grid;
}

.variation-body {
  padding: 22px;
}

.variation-body p {
  align-items: center;
  gap: 6px;
  margin: 10px 0;
  font-size: 14px;
  display: flex;
}

.variation-body a {
  font-size: 13px;
  text-decoration: underline;
}

.like {
  border: 1px solid var(--line);
  border-radius: 30px;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 7px 15px;
  display: flex;
}

.like.liked {
  color: #3e712c;
  background: #eaf3e1;
  border-color: #b0cca0;
}

.form-panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  margin-bottom: 25px;
  padding: 28px;
}

.form-panel > h3 {
  margin-bottom: 18px;
}

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

.form-grid .wide {
  grid-column: 1 / -1;
}

label {
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
}

label input, label select, label textarea {
  width: 100%;
  font-weight: 400;
}

label small {
  font-size: 12px;
  font-weight: 400;
}

.checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
}

.checkbox input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.notice {
  color: #536744;
  background: #f2f6ea;
  border: 1px solid #dce7ce;
  border-radius: 8px;
  margin-bottom: 22px;
  padding: 15px 18px;
  font-size: 14px;
}

.notice.warning {
  color: #7c612c;
  background: #fff7e5;
  border-color: #efdfb6;
}

.auth-layout {
  border: 1px solid var(--line);
  border-radius: 18px;
  grid-template-columns: 1fr 1fr;
  max-width: 1050px;
  margin: 55px auto;
  display: grid;
  overflow: hidden;
}

.auth-story {
  background: var(--primary);
  color: #fff;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 50px 40px;
  display: flex;
}

.auth-story h1 {
  font-size: 40px;
}

.auth-story p {
  color: #c5d7c8;
  margin-top: 20px;
  font-size: 15px;
}

.auth-story > svg {
  color: #d5eab6;
}

.auth-story .eyebrow {
  color: var(--secondary);
}

.auth-form {
  padding: 38px;
}

.auth-form h2 {
  margin-bottom: 8px;
  font-size: 27px;
}

.auth-form > p {
  margin-bottom: 22px;
  font-size: 14px;
}

.auth-form form .button {
  width: 100%;
}

.auth-links {
  justify-content: space-between;
  gap: 15px;
  margin: 15px 0;
  font-size: 13px;
  display: flex;
}

.auth-links button, .auth-links a {
  color: var(--primary);
  text-decoration: underline;
}

.oauth {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}

.oauth .button {
  padding: 9px;
  font-size: 13px;
}

.divider {
  color: var(--muted);
  align-items: center;
  gap: 15px;
  margin: 22px 0;
  font-size: 12px;
  display: flex;
}

.divider:before, .divider:after {
  content: "";
  background: var(--line);
  flex: 1;
  height: 1px;
}

.auth-footer {
  margin: 20px 0 0 !important;
  font-size: 12px !important;
}

.upload-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 35px;
  margin-bottom: 55px;
  display: grid;
}

.upload-tips {
  position: sticky;
  top: 25px;
}

.upload-tips h3 {
  margin-bottom: 16px;
}

.upload-tips ol {
  color: var(--muted);
  gap: 14px;
  padding-left: 22px;
  font-size: 14px;
  display: grid;
}

.upload-tips p {
  font-size: 14px;
}

.tabs {
  border-bottom: 1px solid var(--line);
  gap: 5px;
  margin-bottom: 25px;
  padding-bottom: 2px;
  display: flex;
  overflow-x: auto;
}

.tabs button {
  white-space: nowrap;
  border-bottom: 2px solid #0000;
  min-height: 46px;
  padding: 13px 17px;
  font-size: 14px;
}

.tabs button.selected {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.dropzone {
  cursor: pointer;
  background: #f6f9f2;
  border: 2px dashed #cad9bf;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 165px;
  padding: 25px;
  display: flex;
  position: relative;
}

.dropzone > svg {
  color: #73915e;
}

.dropzone small {
  font-size: 12px;
}

.dropzone input {
  background: none;
  border: 0;
  max-width: 100%;
  font-size: 12px;
}

.preview-video {
  background: #17382d;
  border-radius: 10px;
  max-width: 100%;
  max-height: 340px;
  margin: 15px auto;
  display: block;
}

.steps {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 12px;
  display: flex;
}

.steps span {
  background: #f1f5ed;
  border-radius: 20px;
  padding: 5px 10px;
}

.status {
  color: #7b6937;
  white-space: nowrap;
  background: #f3f0df;
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 12px;
  display: inline-flex;
}

.status.approved, .status.ready {
  color: #3c6f31;
  background: #e7f2df;
}

.status.rejected, .status.failed, .status.banned {
  color: #934e3a;
  background: #faeae4;
}

.status.changes_requested {
  color: #476c83;
  background: #e6eff5;
}

.status.hidden, .status.suspended {
  color: #617063;
  background: #eceeeb;
}

.contribution {
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 16px;
  padding: 22px;
}

.contribution h3 {
  font-size: 20px;
}

.contribution p {
  margin-top: 10px;
  font-size: 14px;
}

.contribution .meta {
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
  display: flex;
}

.profile-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 35px;
  margin-bottom: 50px;
  display: grid;
}

.profile-summary {
  background: #eff4e7;
  border-radius: 12px;
  align-self: start;
  padding: 30px 23px;
}

.profile-summary .avatar {
  width: 65px;
  height: 65px;
  margin-bottom: 20px;
  font-size: 25px;
}

.profile-summary h2 {
  overflow-wrap: anywhere;
  font-size: 24px;
}

.profile-summary p {
  margin: 7px 0 20px;
  font-size: 13px;
}

.profile-points {
  font-size: 38px;
  font-weight: 500;
}

.profile-points span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  display: block;
}

.profile-nav {
  gap: 4px;
  margin-top: 25px;
  display: grid;
}

.profile-nav a {
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  display: flex;
}

.session {
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  font-size: 13px;
  display: flex;
}

.session p {
  overflow-wrap: anywhere;
  max-width: 520px;
}

.language-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 50px;
  display: grid;
}

.language-card {
  border: 1px solid var(--line);
  background: #f7f9f4;
  border-radius: 12px;
  padding: 30px;
}

.language-card > strong {
  color: #7e9a6c;
  margin-bottom: 40px;
  font-size: 48px;
  font-weight: 400;
  display: block;
}

.language-card h2 {
  margin-bottom: 15px;
  font-size: 24px;
}

.language-card p {
  margin-bottom: 25px;
  font-size: 15px;
}

.prose {
  max-width: 850px;
  margin: 40px auto 70px;
}

.prose h1 {
  margin-bottom: 25px;
}

.prose h2 {
  margin: 35px 0 15px;
  font-size: 27px;
}

.prose p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.85;
}

.prose ul {
  color: var(--muted);
  padding-left: 25px;
  line-height: 1.9;
  list-style: outside;
}

.admin-layout {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 30px;
  margin-bottom: 55px;
  display: grid;
}

.admin-nav {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.admin-nav button {
  text-align: left;
  border-radius: 7px;
  min-height: 44px;
  padding: 12px 15px;
  font-size: 14px;
}

.admin-nav button.selected {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}

.metric-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 25px;
  display: grid;
}

.metric {
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 16px;
  padding: 20px;
}

.metric strong {
  font-size: 34px;
  font-weight: 500;
  display: block;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
}

.table-wrap {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 16px;
  margin: 20px 0;
  overflow: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

th {
  text-align: left;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 13px;
}

td select {
  min-width: 90px;
  font-size: 12px;
}

.bar-row {
  align-items: center;
  gap: 15px;
  margin: 15px 0;
  font-size: 13px;
  display: flex;
}

.bar-row > span {
  min-width: 150px;
}

.bar-track {
  background: #eef3e7;
  border-radius: 5px;
  flex: 1;
  height: 10px;
  overflow: hidden;
}

.bar-track > i {
  background: #7c9e63;
  height: 100%;
  display: block;
}

.danger {
  color: #9a4835;
  border-color: #dec4ba;
}

.notification {
  border-bottom: 1px solid var(--line);
  padding: 22px;
}

.notification p {
  color: var(--ink);
  font-size: 15px;
}

.notification.unread {
  background: #f3f7ed;
}

.session-badge {
  color: #4e7343;
  font-size: 11px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.review-video {
  background: #16382f;
  width: 100%;
  max-height: 350px;
  margin: 15px 0;
}

.inline-search {
  width: 100%;
  margin-bottom: 20px;
}

.no-wrap {
  white-space: nowrap;
}

progress {
  width: 100%;
  accent-color: var(--primary);
  height: 15px;
}

.success-panel {
  text-align: center;
  padding: 60px 25px;
}

.success-panel > svg {
  color: #568341;
  margin: 0 auto 25px;
}

.success-panel h2 {
  margin-bottom: 15px;
}

.success-panel p {
  max-width: 530px;
  margin: 0 auto 25px;
}

.success-panel .button {
  margin: 5px;
}

@media (min-width: 1500px) {
  .header {
    padding-inline: max(48px, 50% - 670px);
  }
}

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

  .nav {
    gap: 18px;
  }

  .header-actions {
    gap: 12px;
  }

  .brand {
    font-size: 20px;
  }

  .brand small {
    font-size: 9px;
  }

  .container {
    width: calc(100% - 60px);
  }

  .hero > .container {
    grid-template-columns: 1fr 290px;
    gap: 40px;
  }

  .hero-card {
    padding: 22px;
  }

  .dictionary-layout {
    grid-template-columns: 180px 1fr;
    gap: 25px;
  }

  .filters {
    padding-right: 16px;
  }

  .word-grid {
    gap: 16px;
  }

  .language-label, .header-actions .upload-link {
    display: none;
  }

  .language-bar button {
    font-size: 11px;
  }

  .word-content {
    padding: 14px;
  }

  .word-name h3 {
    font-size: 17px;
  }

  .word-name > span {
    font-size: 11px;
  }

  .footer-brand > span {
    display: none;
  }

  .upload-layout {
    grid-template-columns: 1fr 240px;
  }

  .auth-layout {
    margin-inline: 30px;
  }

  .art-translation {
    font-size: 23px;
    right: 16px;
  }

  .word-glyph {
    left: 16px;
  }

  .word-glyph > svg {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 800px) {
  .container {
    width: calc(100% - 36px);
  }

  .header {
    height: 78px;
    padding: 0 18px;
  }

  .brand small {
    display: none;
  }

  .brand {
    font-size: 20px;
  }

  .brand-icon {
    border-radius: 10px;
    width: 36px;
    height: 40px;
  }

  .nav {
    border-bottom: 1px solid var(--line);
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: auto;
    padding: 20px;
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    white-space: nowrap;
    height: 100%;
    color: var(--muted);
    align-items: center;
    padding-inline: 18px;
    font-weight: 500;
    transition: color .2s, background .2s;
    display: flex;
    position: relative;
  }

  .mobile-menu {
    display: flex;
  }

  .header-actions {
    gap: 9px;
  }

  .notification-link {
    display: none;
  }

  .hero {
    padding: 33px 0;
  }

  .hero > .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-card {
    display: none;
  }

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

  .hero-copy > p {
    font-size: 14px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .search-hint > span {
    display: none;
  }

  .language-bar {
    padding: 15px 0;
  }

  .language-bar [role="group"] {
    overflow-x: auto;
  }

  .language-bar button {
    white-space: normal;
    min-width: 160px;
    padding: 9px;
  }

  .dictionary-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 27px;
  }

  .filters {
    border-right: 0;
    padding: 0;
    display: none;
  }

  .filters.show {
    display: block;
  }

  .community-note {
    display: none;
  }

  .filter-toggle {
    display: flex;
  }

  .results-heading h2 {
    font-size: 25px;
  }

  .results-heading p {
    font-size: 12px;
  }

  .word-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .word-art {
    height: 155px;
  }

  .word-glyph > svg {
    width: 65px;
    height: 65px;
  }

  .art-translation {
    font-size: 28px;
  }

  .contribute-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

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

  .impact {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    display: grid;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 18px;
  }

  footer > div:last-child {
    flex-wrap: wrap;
    gap: 15px;
  }

  .page-title {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 30px;
  }

  .page-title h1 {
    font-size: 31px;
  }

  .upload-layout, .profile-layout, .admin-layout {
    grid-template-columns: 1fr;
  }

  .upload-tips {
    order: -1;
    position: static;
  }

  .upload-tips ol {
    display: none;
  }

  .upload-tips.form-panel {
    margin: 0;
    padding: 18px;
  }

  .upload-tips h3 {
    margin: 0;
    font-size: 16px;
  }

  .upload-tips p {
    margin-top: 10px;
    font-size: 13px;
  }

  .auth-layout {
    grid-template-columns: 1fr;
    margin: 25px 18px;
  }

  .auth-story {
    gap: 10px;
    padding: 28px;
  }

  .auth-story h1 {
    font-size: 31px;
  }

  .auth-story > svg {
    display: none;
  }

  .auth-story .eyebrow {
    margin-bottom: 10px;
  }

  .auth-story p {
    margin-top: 10px;
    font-size: 14px;
  }

  .auth-form {
    padding: 27px;
  }

  .profile-summary {
    display: none;
  }

  .language-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .language-card > strong {
    margin-bottom: 15px;
    font-size: 34px;
  }

  .language-card {
    padding: 24px;
  }

  .word-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .word-header h1 {
    font-size: 42px;
  }

  .variation-grid {
    grid-template-columns: 1fr;
  }

  .definition {
    font-size: 16px;
  }

  .principle {
    font-size: 13px;
  }

  .admin-nav {
    flex-direction: row;
    padding-bottom: 10px;
    overflow-x: auto;
  }

  .admin-nav button {
    white-space: nowrap;
  }

  .metric-grid {
    grid-template-columns: 1fr 1fr;
  }

  .profile-layout {
    gap: 0;
  }

  .prose {
    margin-block: 30px 50px;
  }

  .dictionary-intro h1 {
    font-size: 33px;
  }

  .seed-note {
    text-align: center;
    align-items: flex-start;
    font-size: 11px;
  }

  .form-panel {
    padding: 22px;
  }

  .contribution {
    padding: 18px;
  }

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

  .bar-row > span {
    min-width: 100px;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 7px;
    font-size: 18px;
  }

  .brand-icon {
    width: 32px;
    height: 35px;
  }

  .header-actions {
    gap: 2px;
    font-size: 12px;
  }

  .locale {
    font-size: 12px;
  }

  .locale svg {
    display: none;
  }

  .signin {
    padding-inline: 5px;
  }

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

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

  .searchbox input {
    font-size: 13px;
  }

  .searchbox .button {
    padding: 8px 12px;
    font-size: 12px;
  }

  .searchbox .button svg {
    display: none;
  }

  .word-grid {
    gap: 11px;
  }

  .word-art {
    height: 131px;
  }

  .word-glyph > svg {
    width: 42px;
    height: 42px;
  }

  .art-translation {
    font-size: 23px;
    right: 13px;
  }

  .word-content {
    padding: 12px;
  }

  .word-name {
    flex-wrap: wrap;
    gap: 2px;
  }

  .word-name h3 {
    font-size: 17px;
  }

  .word-content > p {
    font-size: 11px;
  }

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

  .results-heading {
    align-items: flex-start;
  }

  .result-actions {
    gap: 0;
  }

  .result-actions select {
    max-width: 108px;
    padding: 8px;
    font-size: 11px;
  }

  .hero-copy > p {
    font-size: 13px;
  }
}

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

:root {
  --ink: #172f3b;
  --ink-soft: #315363;
  --muted: #70808b;
  --primary: #205d61;
  --primary-dark: #153f50;
  --secondary: #f0d27e;
  --line: #e3e9ee;
  --wash: #f6f8fa;
  --blue-soft: #e9f1f7;
  --purple: #7568d8;
  --gold-soft: #fcf5dd;
}

html {
  background: #fff;
}

body {
  color: var(--ink);
  letter-spacing: -.01em;
  background: #fff;
  font-family: Inter, Avenir Next, Segoe UI, Noto Sans SC, Microsoft YaHei, sans-serif;
}

.header {
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: #fffffff0;
  box-shadow: 0 8px 28px #172f3b0a;
}

.brand-icon {
  background: var(--blue-soft);
  border: 1px solid #dce8ef;
  box-shadow: 0 8px 18px #205d6114;
}

.brand-name {
  color: var(--ink);
}

.brand-name span {
  color: var(--purple);
}

.brand-tagline, .nav-link, .locale, .signin {
  color: var(--muted);
}

.nav-link:hover, .locale:hover, .signin:hover {
  color: var(--primary);
}

.hero {
  border-bottom-color: var(--line);
  background: linear-gradient(135deg, #f8fafb 0%, #f5f8fa 58%, #fcf7e9 100%);
  padding-block: clamp(64px, 8vw, 116px);
}

.hero h1 {
  color: var(--ink);
  letter-spacing: -.055em;
}

.hero h1 > span {
  color: var(--primary);
  background: linear-gradient(100deg, var(--primary) 18%, var(--purple) 92%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.eyebrow, .hero-kicker {
  color: var(--primary);
  letter-spacing: .16em;
}

.hero-kicker:before {
  background: var(--secondary);
}

.hero-copy > p, .hero-card p, .word-content > p, .results-heading p, .section-heading p {
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(150deg, #205d61 0%, #1d4e62 52%, #4d518e 100%);
  border: 1px solid #ffffff29;
  box-shadow: 18px 20px #e3e9dae6, 0 24px 46px #1d4e6233;
}

.hero-card .pill {
  color: #fff8d9;
  background: #f0d27e2b;
  border-color: #f0d27e3d;
}

.hero-card h2 {
  color: #fff;
}

.hero-card h2 span, .hero-card .globe {
  color: var(--secondary);
}

.searchbox {
  background: #fff;
  border-color: #d9e2e7;
  box-shadow: 0 14px 34px #172f3b14;
}

.searchbox:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px #7568d81f, 0 14px 34px #172f3b14;
}

.searchbox svg {
  color: var(--primary);
}

.button.primary, .searchbox .button {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 8px 16px #153f502e;
}

.button.primary:hover, .searchbox .button:hover {
  background: var(--purple);
  border-color: var(--purple);
  transform: translateY(-2px);
}

.button.secondary {
  color: var(--primary-dark);
  background: #fff;
  border-color: #cfdae0;
}

.button.secondary:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: #faf9ff;
}

.language-bar {
  border-bottom-color: var(--line);
  background: #fff;
}

.language-bar button {
  border-color: var(--line);
  background: #fff;
}

.language-bar button:hover {
  border-color: var(--purple);
  background: #faf9ff;
}

.language-bar button.selected {
  color: var(--primary-dark);
  background: #f4f8ed;
  border-color: #b4c895;
  box-shadow: 0 8px 16px #37574414;
}

.language-bar button.selected .language-code {
  background: var(--secondary);
}

.language-bar button.language-asl.selected {
  background: #f2f0ff;
  border-color: #b8b0ef;
}

.language-bar button.language-asl.selected .language-code {
  background: #c9c2ff;
}

.language-bar button.language-csl.selected {
  background: #fff2f5;
  border-color: #e6b9c7;
}

.language-bar button.language-csl.selected .language-code {
  background: #f5c7d4;
}

.language-bar button.language-sgsl.selected {
  background: #eefaf7;
  border-color: #9dd4ce;
}

.language-bar button.language-sgsl.selected .language-code {
  background: #a9e0d5;
}

.content-shell {
  background: #fff;
}

.filter-panel {
  border-right-color: var(--line);
}

.filter-panel h3, .results-heading h2, .section-heading h2 {
  color: var(--ink);
}

.filter-option.active {
  color: var(--primary-dark);
  box-shadow: inset 3px 0 0 var(--primary);
  background: #f0f5ea;
}

.word-card, .language-card, .form-panel, .metric, .variation, .contribute-banner, .profile-card {
  border-color: var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 30px #172f3b0f;
}

.word-card {
  background: #fff;
  transition: transform .18s, box-shadow .18s, border-color .18s;
  overflow: hidden;
}

.word-card:hover, .language-card:hover, .variation:hover {
  border-color: #c7d6de;
  transform: translateY(-3px);
  box-shadow: 0 18px 38px #172f3b1a;
}

.word-art {
  background: linear-gradient(145deg, var(--blue-soft), #f1effd);
  position: relative;
  overflow: hidden;
}

.word-preview {
  object-fit: cover;
  opacity: .82;
  filter: saturate(.78) contrast(.94);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.word-art:has(.word-preview):after {
  content: "";
  background: linear-gradient(#0f2a372e, #0f2a37a3);
  position: absolute;
  inset: 0;
}

.word-preview.api-word-preview {
  object-fit: contain;
  opacity: 1;
  filter: none;
  background: #e9e5f7;
}

.word-art:has(.api-word-preview):after {
  display: none;
}

:is(.word-art:has(.word-preview) .tag, .word-art:has(.word-preview) .word-glyph, .word-art:has(.word-preview) .art-translation, .word-art:has(.word-preview) .card-arrow) {
  z-index: 1;
}

.word-card:nth-child(3n) .word-art {
  background: linear-gradient(145deg, var(--gold-soft), #f7edf3);
}

.word-card:nth-child(3n+1) .word-art {
  background: linear-gradient(145deg, #edf6f1, var(--blue-soft));
}

.language-grid {
  align-items: stretch;
  gap: 22px;
}

.language-card {
  background: linear-gradient(145deg, #fff, #f8fafc);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.language-card:before {
  content: "";
  background: linear-gradient(90deg, var(--purple), #8da6f1);
  height: 5px;
  position: absolute;
  inset: 0 0 auto;
}

.language-card.language-csl {
  background: linear-gradient(145deg, #fff, #fff5f7);
}

.language-card.language-csl:before {
  background: linear-gradient(90deg, #e3a8bb, #f3c8d2);
}

.language-card.language-sgsl {
  background: linear-gradient(145deg, #fff, #f2fbf8);
}

.language-card.language-sgsl:before {
  background: linear-gradient(90deg, #55afa7, #f0d27e);
}

.language-card-topline {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  display: flex;
}

.language-card-topline strong {
  border-radius: var(--radius);
  min-width: 48px;
  min-height: 36px;
  color: var(--primary-dark);
  letter-spacing: .08em;
  background: #e9efff;
  justify-content: center;
  align-items: center;
  padding: 0 11px;
  font-size: 13px;
  display: inline-flex;
}

.language-card.language-csl .language-card-topline strong {
  background: #ffe1e8;
}

.language-card.language-sgsl .language-card-topline strong {
  background: #dff5ef;
}

.language-region {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.language-card h2 {
  color: var(--ink);
  letter-spacing: -.04em;
  margin-bottom: 10px;
  font-size: clamp(24px, 3vw, 34px);
}

.language-card p {
  min-height: 72px;
  color: var(--muted);
  line-height: 1.65;
}

.language-card .button {
  margin-top: 20px;
}

.word-glyph > svg {
  color: var(--primary);
}

.art-translation {
  color: var(--purple);
}

.word-content {
  background: #fff;
}

.word-name h3, .variation h3, .form-panel h2, .profile-card h2 {
  color: var(--ink);
}

.word-name span, .card-meta, .variation-meta {
  color: var(--muted);
}

.tag, .status-badge {
  color: var(--primary-dark);
  background: #edf5f1;
  border-color: #d5e8dd;
}

.like-button {
  color: var(--purple);
  background: #faf9ff;
  border-color: #dddafa;
}

.like-button:hover, .like-button.liked {
  color: #fff;
  background: var(--purple);
  border-color: var(--purple);
}

input, select, textarea {
  background: #fbfcfd;
  border-color: #d9e2e7;
  border-radius: 12px;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px #7568d81f;
}

.asl-dictionary-result {
  background: #faf9ff;
  border: 1px solid #e2dff2;
  border-radius: 20px;
  margin: 28px 0;
  padding: 24px;
}

.asl-dictionary-result h3 {
  margin: 8px 0;
  font-size: 26px;
}

.asl-dictionary-result p {
  line-height: 1.65;
}

.asl-variation-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  margin-top: 20px;
  display: grid;
}

.asl-variation-list {
  flex-direction: column;
  gap: 12px;
  max-height: 560px;
  display: flex;
  overflow-y: auto;
}

.asl-variation-option {
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  background: #fff;
  border: 1px solid #dedbea;
  border-radius: 12px;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  display: flex;
}

.asl-variation-option[aria-pressed="true"] {
  border-color: var(--primary);
  box-shadow: inset 3px 0 var(--primary);
  background: #eeeaff;
}

.asl-variation-option:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.asl-variation-option span {
  line-height: 1.5;
}

.asl-variation-thumbnail {
  object-fit: contain;
  background: #e9e5f7;
  border-radius: 8px;
  width: 100%;
  height: 120px;
}

.asl-variation-option small {
  color: var(--muted);
}

.asl-selected-variation {
  min-width: 0;
}

.asl-selected-variation h4 {
  margin-top: 0;
}

.asl-selected-variation .sample-video {
  object-fit: contain;
  margin-top: 16px;
}

@media (max-width: 800px) {
  .asl-dictionary-result {
    padding: 18px;
  }

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

  .asl-variation-list {
    max-height: 320px;
  }
}

.sample-video-panel {
  background: linear-gradient(135deg, #fff, #f8f6ff 72%, #fff9e9);
  border: 1px solid #e2dff2;
  border-radius: 20px;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 28px;
  margin: 30px 0;
  padding: 24px;
  display: grid;
  box-shadow: 0 16px 34px #3e347814;
}

.sample-video-panel h2 {
  color: var(--ink);
  margin: 6px 0 8px;
  font-size: clamp(22px, 2.6vw, 32px);
}

.sample-video-panel p {
  max-width: 42ch;
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
}

.sample-video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--ink);
  border-radius: 14px;
  width: 100%;
  display: block;
  box-shadow: 0 14px 26px #172f3b29;
}

.footer {
  border-top-color: var(--line);
  background: #f6f8fa;
}

@media (max-width: 800px) {
  .hero {
    padding-block: 48px 62px;
  }

  .hero-card {
    box-shadow: 10px 12px #e3e9dae6, 0 18px 32px #1d4e622e;
  }

  .sample-video-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }
}

:root {
  --primary: #6656ce;
  --primary-dark: #182339;
  --muted: #566579;
  --secondary: #f4d783;
}

body {
  font-family: Segoe UI Variable, Segoe UI, Noto Sans SC, Microsoft YaHei, sans-serif;
}

.nav a {
  white-space: nowrap;
  height: 100%;
  color: var(--muted);
  align-items: center;
  padding-inline: 18px;
  font-weight: 500;
  transition: color .2s, background .2s;
  display: flex;
  position: relative;
}

.nav a:hover, .nav a.active {
  color: var(--primary);
  background: #f4efff;
}

.hero {
  background: radial-gradient(at 90% 20%, #f1eaff 0, #0000 48%), radial-gradient(at 70% 100%, #fff2cf 0, #0000 48%), #f9fafc;
  padding: 76px 0 84px;
}

.hero > .container {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  gap: clamp(36px, 5vw, 90px);
}

.hero h1 {
  font-size: clamp(44px, 4.9vw, 76px);
  font-weight: 750;
  line-height: 1.08;
}

.hero h1 > span {
  background-image: linear-gradient(100deg, #7260df, #4672c6);
}

.hero-copy > p {
  max-width: 62ch;
  line-height: 1.8;
}

.button, button, a {
  -webkit-tap-highlight-color: transparent;
}

.button {
  border-radius: 13px;
  transition: transform .18s, background .18s, box-shadow .18s;
}

.button:active:not(:disabled) {
  transform: translateY(1px)scale(.98);
}

.button:disabled {
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.button.primary {
  background: #202b43;
  border-color: #202b43;
}

.searchbox .button svg {
  color: #fff;
}

:focus-visible {
  outline-offset: 4px;
  outline: 3px solid #846fe3;
}

.sign-stack {
  isolation: isolate;
  background: #e5ddff;
  border: 1px solid #ece7ff;
  border-radius: 27px;
  min-width: 0;
  padding: 23px;
  transition: transform .3s;
  position: relative;
  transform: rotate(1deg);
  box-shadow: 0 25px 55px #39306220;
}

.sign-stack:hover, .sign-stack:focus-within {
  transform: rotate(0);
}

.stack-back {
  z-index: -1;
  pointer-events: none;
  border-radius: 27px;
  position: absolute;
  inset: 8px;
}

.stack-rose {
  background: #f5c8d9;
  transform: rotate(-7deg);
}

.stack-gold {
  z-index: -2;
  background: #f9dd89;
  transform: rotate(5deg);
}

.sign-stack .eyebrow {
  color: #403479;
  margin-bottom: 17px;
}

.showcase-video-card {
  background: #fff;
  border: 1px solid #e8e8f1;
  border-radius: 21px;
  min-width: 0;
  overflow: hidden;
  box-shadow: 0 12px 30px #1d254414;
}

.showcase-video-wrap {
  background: #121e31;
  position: relative;
}

.showcase-video-wrap video {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  width: 100%;
  display: block;
}

.sample-ribbon {
  color: #3e4050;
  letter-spacing: .08em;
  pointer-events: none;
  background: #fffdf3;
  border-radius: 20px;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: 13px;
  left: 13px;
}

.showcase-caption {
  justify-content: space-between;
  gap: 12px;
  padding: 19px 20px 10px;
  display: flex;
}

.showcase-caption h3 {
  letter-spacing: -.035em;
  color: #19283c;
  margin: 0 0 6px;
  font-size: 27px;
}

.showcase-caption h3 span {
  color: #7c6bb1;
  margin-left: 8px;
  font-size: 17px;
  font-weight: 500;
}

.showcase-caption p {
  color: #526078;
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}

.sample-heart {
  color: #8b5aab;
  background: #f7f2ff;
  border-radius: 12px;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  padding: 8px;
  display: flex;
}

.sample-provenance {
  color: #5e687a;
  align-items: center;
  gap: 6px;
  padding: 4px 20px 12px;
  font-size: 11px;
  display: flex;
}

.sample-provenance svg {
  flex-shrink: 0;
}

.clip-tabs {
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 18px;
  display: flex;
}

.clip-tabs button {
  color: #5e4c93;
  background: #fff;
  border: 1px solid #e1daef;
  border-radius: 10px;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 12px;
}

.clip-tabs button[aria-pressed="true"] {
  color: #fff;
  background: #7160ce;
  border-color: #7160ce;
}

.showcase-picker label {
  color: #33275b;
  gap: 9px;
  font-size: 13px;
  font-weight: 650;
  display: grid;
}

.showcase-picker select {
  color: #26354b;
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
}

.sign-stack .showcase-picker {
  margin-top: 16px;
}

.stack-foot {
  color: #382c68;
  justify-content: space-between;
  gap: 10px;
  margin-top: 19px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
}

.many-ways {
  padding-block: 78px;
}

.showcase-heading h2 {
  letter-spacing: -.045em;
  margin: 0 0 15px;
  font-size: clamp(28px, 3vw, 45px);
  line-height: 1.16;
}

.showcase-heading h2 span {
  color: #7963c9;
}

.showcase-heading > p {
  color: #5a6578;
  max-width: 65ch;
  line-height: 1.75;
}

.many-ways .showcase-body {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
  gap: 36px;
  margin-top: 30px;
  display: grid;
}

.many-ways .showcase-video-wrap video {
  aspect-ratio: 16 / 9;
  max-height: 390px;
}

.showcase-grid-container {
  margin-top: 40px;
}

.grid-cards {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  display: grid;
}

.video-card {
  border-radius: var(--radius);
  background: #fff;
  width: 100%;
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px #00000026;
}

.grid-cards .video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px -15px #0003;
}

.hero-showcase .showcase-stack-container {
  grid-template-columns: 1fr;
  margin-top: 0;
}

.hero-showcase .showcase-picker {
  display: none;
}

@media (max-width: 1000px) {
  .hero > .container {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .85fr);
    gap: 36px;
  }

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

  .sign-stack {
    padding: 16px;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-block: 42px 55px;
  }

  .hero > .container {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(38px, 8vw, 56px);
  }

  .sign-stack {
    width: calc(100% - 18px);
    max-width: 470px;
    margin-inline: auto;
  }

  .many-ways {
    padding-block: 48px;
  }

  .many-ways .showcase-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .showcase-caption h3 {
    font-size: 24px;
  }

  .community-path {
    padding: 15px;
  }

  .word-art {
    height: auto;
  }

  .auth-layout {
    border-radius: 20px;
  }

  .sample-provenance {
    font-size: 10px;
  }
}

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

  .sign-stack {
    transform: none;
  }
}

.language-region {
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.language-count {
  color: #64518b;
  background: #ffffffbd;
  border-radius: 20px;
  margin-bottom: 8px;
  padding: 6px 10px;
  font-size: 12px;
  display: inline-block;
}

.word-content .sample-card-note {
  color: #655b7b;
  min-height: 0;
  margin-block: 8px;
  font-size: 10px;
  line-height: 1.5;
}

.floating-shape {
  filter: blur(40px);
  opacity: .5;
  z-index: 0;
  border-radius: 50%;
  animation: 6s ease-in-out infinite float;
  position: absolute;
}

.shape-purple {
  background: var(--primary);
  width: 120px;
  height: 120px;
  top: -40px;
  left: -20px;
}

.shape-gold {
  background: var(--secondary);
  width: 80px;
  height: 80px;
  animation-delay: 2s;
  bottom: 0;
  right: 20%;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0)scale(1);
  }

  50% {
    transform: translateY(-20px)scale(1.05);
  }
}

.hero-copy > * {
  z-index: 1;
  position: relative;
}

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

.showcase-carousel-container {
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin-top: 40px;
  display: flex;
  position: relative;
}

.carousel-cards {
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 480px;
  display: flex;
  position: relative;
}

.carousel-cards .video-card {
  cursor: pointer;
  max-width: 320px;
  transition: all .5s cubic-bezier(.25, .8, .25, 1);
  position: absolute;
}

.carousel-arrow {
  border: 1px solid var(--line);
  cursor: pointer;
  z-index: 20;
  width: 48px;
  height: 48px;
  color: var(--ink);
  background: #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  transition: all .2s;
  display: flex;
  box-shadow: 0 4px 12px #0000000d;
}

.carousel-arrow:hover:not(:disabled) {
  background: var(--wash);
  transform: scale(1.05);
}

.carousel-arrow:disabled {
  opacity: .3;
  cursor: not-allowed;
}

.hero-showcase .carousel-cards {
  height: 440px;
}

.showcase-horizontal-container {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  width: 100%;
  display: flex;
}

.horizontal-cards {
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 24px;
  width: 100%;
  padding: 20px 0;
  display: flex;
  overflow-x: auto;
}

.horizontal-cards::-webkit-scrollbar {
  display: none;
}

.horizontal-cards .video-card {
  scroll-snap-align: center;
  background: #fff;
  border-radius: 20px;
  flex: none;
  width: 320px;
  transition: transform .3s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px -10px #00000026;
}

.horizontal-cards .video-card:hover {
  transform: translateY(-8px);
}

.video-card-wrap {
  border-radius: 20px 20px 0 0;
  padding: 6px;
}

.video-card-wrap video {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  width: 100%;
  height: auto;
  display: block;
}

.video-card-api .video-card-wrap video {
  object-fit: contain;
  background: var(--sign-wash);
}

.video-card-asl .video-card-wrap {
  background: linear-gradient(135deg, #d3c4ff, #825fff);
}

.video-card-asl .sample-ribbon {
  color: #fff;
  background: #6236ff;
}

.video-card-asl .sample-heart {
  color: #6236ff;
}

.video-card-asl-regional .video-card-wrap {
  background: linear-gradient(135deg, #ffe0a3, #ffb32b);
}

.video-card-asl-regional .sample-ribbon {
  color: #fff;
  background: #e59000;
}

.video-card-asl-regional .sample-heart {
  color: #e59000;
}

.video-card-sgsl .video-card-wrap {
  background: linear-gradient(135deg, #a8f3d6, #36d399);
}

.video-card-sgsl .sample-ribbon {
  color: #fff;
  background: #26a877;
}

.video-card-sgsl .sample-heart {
  color: #26a877;
}

.video-card-csl .video-card-wrap {
  background: linear-gradient(135deg, #ffd1ec, #ff66ba);
}

.video-card-csl .sample-ribbon {
  color: #fff;
  background: #d63c96;
}

.video-card-csl .sample-heart {
  color: #d63c96;
}

.video-card-community .video-card-wrap {
  background: linear-gradient(135deg, #a7ddff, #38bdf8);
}

.video-card-community .sample-ribbon {
  color: #fff;
  background: #0284c7;
}

.video-card-community .sample-heart {
  color: #0284c7;
}

.video-card-api {
  --sign-wash: #f4effc;
  --sign-border-soft: #e6dafa;
  --sign-border: #c4acec;
  --sign-label: #e7daf9;
  --sign-ink: #503675;
}

.video-card-api[data-variation-tone="1"] {
  --sign-wash: #edf8f2;
  --sign-border-soft: #d5eee0;
  --sign-border: #a2d5bc;
  --sign-label: #d3ecdf;
  --sign-ink: #285c45;
}

.video-card-api[data-variation-tone="2"] {
  --sign-wash: #edf5fd;
  --sign-border-soft: #d8eafb;
  --sign-border: #aaccea;
  --sign-label: #d9eafa;
  --sign-ink: #315575;
}

.video-card-api[data-variation-tone="3"] {
  --sign-wash: #fff3eb;
  --sign-border-soft: #fce2cf;
  --sign-border: #eac2a3;
  --sign-label: #fbe1cc;
  --sign-ink: #795036;
}

.video-card-api[data-variation-tone="4"] {
  --sign-wash: #fcf0f4;
  --sign-border-soft: #f5dbe5;
  --sign-border: #e6afc5;
  --sign-label: #f4dce6;
  --sign-ink: #783d56;
}

.video-card-api[data-variation-tone="5"] {
  --sign-wash: #fcf8e9;
  --sign-border-soft: #f3eac5;
  --sign-border: #dece96;
  --sign-label: #f1e7c2;
  --sign-ink: #66562b;
}

.video-card-api .video-card-wrap {
  background: linear-gradient(135deg, var(--sign-border-soft), var(--sign-border));
}

.video-card-api .sample-ribbon {
  background: var(--sign-label);
  color: var(--sign-ink);
}

.sample-ribbon {
  z-index: 10;
  border-radius: 20px;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  position: absolute;
  top: 16px;
  left: 16px;
  box-shadow: 0 4px 10px #0000001a;
}

.video-card-caption {
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  display: flex;
}

.video-card-caption h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.video-card-caption h3 span {
  color: var(--muted);
  margin-left: 8px;
  font-size: 14px;
  font-weight: 400;
}

.video-card-caption p {
  color: var(--muted);
  font-size: 13px;
}

.sample-heart {
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
}

.community-paths {
  gap: 14px;
  margin-top: 22px;
  display: grid;
}

.community-path {
  color: #30264e;
  background: #eee9ff;
  border-radius: 17px;
  align-items: center;
  gap: 14px;
  padding: 20px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  display: flex;
}

.community-path:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 20px #0000000d;
}

.community-path h3 {
  margin-bottom: 2px;
}

.community-path p {
  opacity: .8;
  font-size: 13px;
}

:root {
  --primary: #7661e8;
  --primary-dark: #5846bd;
  --primary-light: #f5f3ff;
  --muted: #64748b;
  --ink: #111827;
  --line: #ede9f5;
  --radius: 16px;
  --shadow-sm: 0 4px 12px #7661e80d;
  --shadow-md: 0 12px 32px #7661e814;
}

body {
  background: var(--paper);
  color: var(--ink);
}

.header {
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--line) !important;
  background: #fffffffa !important;
  height: 80px !important;
  box-shadow: 0 4px 20px #00000005 !important;
}

.brand-icon {
  box-shadow: none !important;
  background: #f0f7fa !important;
  border: 1px solid #e1eef4 !important;
  border-radius: 12px !important;
}

.brand-sign {
  color: var(--primary) !important;
}

.nav {
  gap: 8px !important;
  height: 100% !important;
}

.nav a {
  white-space: nowrap !important;
  height: 100% !important;
  color: var(--muted) !important;
  background: none !important;
  border-radius: 0 !important;
  align-items: center !important;
  padding-inline: 22px !important;
  font-weight: 500 !important;
  transition: all .2s !important;
  display: flex !important;
  position: relative !important;
}

@media (min-width: 1151px) {
  .nav a:hover, .nav a.active {
    color: var(--primary) !important;
    background: var(--primary-light) !important;
  }

  .nav a.active:after {
    content: "" !important;
    background: var(--primary) !important;
    border-radius: 3px 3px 0 0 !important;
    height: 3px !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
  }
}

.upload-link {
  background: var(--ink) !important;
  color: #fff !important;
  border-radius: 12px !important;
  font-weight: 500 !important;
  transition: transform .2s, box-shadow .2s !important;
}

.upload-link:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 16px #11182726 !important;
}

.hero {
  border-bottom: 1px solid var(--line) !important;
  background: radial-gradient(at 80% 0, #f7f5ff 0, #0000 40%), radial-gradient(at 20% 100%, #fdfcff 0, #0000 50%), #fff !important;
  padding-block: 80px 100px !important;
}

.hero h1 {
  letter-spacing: -.04em !important;
  color: var(--ink) !important;
  font-weight: 800 !important;
}

.hero h1 > span {
  background: linear-gradient(135deg, var(--primary) 0%, #9983f0 100%) !important;
  -webkit-text-fill-color: transparent !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
}

.hero-copy > p {
  color: var(--muted) !important;
  font-size: 17px !important;
  line-height: 1.7 !important;
}

.searchbox {
  border: 1px solid var(--line) !important;
  box-shadow: var(--shadow-sm) !important;
  background: #fff !important;
  border-radius: 30px !important;
  padding: 8px 8px 8px 24px !important;
  transition: box-shadow .2s !important;
}

.searchbox:focus-within {
  box-shadow: var(--shadow-md) !important;
  border-color: #d1c8f5 !important;
}

.searchbox .button {
  background: var(--ink) !important;
  color: #fff !important;
  border-radius: 24px !important;
  font-weight: 500 !important;
  transition: transform .2s, box-shadow .2s !important;
}

.searchbox .button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px #11182733 !important;
}

.word-card, .language-card, .metric {
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  transition: transform .2s, box-shadow .2s, border-color .2s !important;
  box-shadow: 0 2px 8px #00000005 !important;
}

.word-card:hover, .language-card:hover {
  box-shadow: var(--shadow-md) !important;
  border-color: #d1c8f5 !important;
  transform: translateY(-4px) !important;
}

.searchbox input:focus {
  box-shadow: none !important;
  border-color: #0000 !important;
  outline: none !important;
}

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

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

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

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

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

@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=src_app_globals_162hn9o.css.map*/