.ge-store {
  color: var(--ge-ink, #111827);
  font-family: var(--ge-font, Inter, ui-sans-serif, system-ui, sans-serif);
  overflow-x: hidden;
  background:
    linear-gradient(180deg, #fbfff9 0%, #f7fbff 42%, #fff9f3 100%);
}

.ge-store * {
  box-sizing: border-box;
}

.ge-store button,
.ge-store input,
.ge-store select,
.ge-store textarea {
  font: inherit;
}

.ge-store button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 15px;
  color: #fff;
  background: var(--ge-ink, #111827);
  cursor: pointer;
}

.ge-store button:hover {
  background: var(--ge-accent-dark, #006c70);
}

.ge-shell {
  display: grid;
  gap: 24px;
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 16px 0 56px;
}

.ge-header,
.ge-brand,
.ge-nav,
.ge-actions,
.ge-total,
.ge-drawer-head {
  display: flex;
  align-items: center;
}

.ge-header {
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.ge-brand {
  gap: 10px;
}

.ge-logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: var(--ge-logo-bg, linear-gradient(135deg, #00a8a8, #635bff));
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0, 108, 112, .22);
}

.ge-brand strong {
  display: block;
  font-size: 20px;
}

.ge-brand small,
.ge-muted {
  color: var(--ge-muted, #697386);
}

.ge-nav,
.ge-actions {
  gap: 9px;
  flex-wrap: wrap;
}

.ge-nav a,
.ge-secondary {
  border: 1px solid var(--ge-line, #dde5e8);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ge-ink, #111827);
  background: #fff;
  text-decoration: none;
}

.ge-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 18px;
  max-width: 100%;
  width: 100%;
  min-width: 0;
}

.ge-header,
.ge-categories,
.ge-featured,
.ge-layout {
  min-width: 0;
  max-width: 100%;
}

.ge-hero-copy,
.ge-hero-card,
.ge-filter,
.ge-row,
.ge-feature,
.ge-drawer,
.ge-modal-card {
  border: 1px solid var(--ge-line, #dde5e8);
  border-radius: 8px;
  background: #fff;
}

.ge-hero-copy {
  display: grid;
  gap: 18px;
  align-content: center;
  min-height: 360px;
  padding: 38px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,168,168,.16), rgba(99,91,255,.12)),
    radial-gradient(circle at 88% 18%, rgba(255,209,102,.5), transparent 26%),
    #fff;
  max-width: 100%;
  min-width: 0;
}

.ge-hero-type {
  position: absolute;
  right: -28px;
  top: -18px;
  max-width: 52%;
  color: rgba(17, 24, 39, .13);
  font-size: clamp(76px, 13vw, 160px);
  line-height: .78;
  transform: rotate(-4deg);
  pointer-events: none;
}

.ge-eyebrow {
  margin: 0;
  color: var(--ge-accent-dark, #006c70);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.ge-hero h1 {
  position: relative;
  max-width: 780px;
  margin: 0;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.ge-hero p {
  margin: 0;
}

.ge-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  max-width: 660px;
  padding: 8px;
  border: 1px solid var(--ge-line, #dde5e8);
  border-radius: 8px;
  background: #fff;
}

.ge-search input,
.ge-store select,
.ge-store textarea {
  width: 100%;
  border: 1px solid var(--ge-line, #dde5e8);
  border-radius: 8px;
  padding: 12px;
}

.ge-search input {
  border: 0;
}

.ge-hero-card {
  display: grid;
  gap: 12px;
  align-content: end;
  padding: 22px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(17,24,39,.08), rgba(17,24,39,.82)),
    linear-gradient(135deg, #ff6b4a, #635bff);
}

.ge-tag {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--ge-ink, #111827);
  background: var(--ge-highlight, #ffd166);
  font-size: 12px;
  font-weight: 900;
}

.ge-categories,
.ge-featured {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 12px;
  overflow-x: auto;
}

.ge-category,
.ge-feature {
  display: grid;
  gap: 10px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
}

.ge-thumb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 58px;
  border-radius: 8px;
  color: #fff;
  background: var(--ge-thumb-bg, linear-gradient(135deg, #00a8a8, #635bff));
  font-weight: 900;
}

.ge-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}

.ge-filter {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.ge-list {
  display: grid;
  gap: 10px;
}

.ge-row {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.ge-row-actions {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 8px;
}

.ge-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 30;
  display: none;
  gap: 16px;
  align-content: start;
  width: min(420px, 100%);
  height: 100vh;
  padding: 20px;
  overflow: auto;
  box-shadow: 0 18px 50px rgba(17,24,39,.14);
}

.ge-drawer.ge-open {
  display: grid;
}

.ge-drawer-head,
.ge-total {
  justify-content: space-between;
}

.ge-mini-list {
  display: grid;
  gap: 9px;
}

.ge-mini-item {
  padding: 10px;
  border: 1px solid var(--ge-line, #dde5e8);
  border-radius: 8px;
}

.ge-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(17,24,39,.48);
}

.ge-modal.ge-open {
  display: grid;
}

.ge-modal-card {
  display: grid;
  gap: 14px;
  width: min(720px, 100%);
  padding: 20px;
}

@media (max-width: 900px) {
  .ge-header,
  .ge-layout,
  .ge-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .ge-hero {
    display: block;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
  }

  .ge-hero-card {
    margin-top: 18px;
  }

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

  .ge-hero-copy {
    min-height: 0;
    padding: 26px;
  }

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

  .ge-categories,
  .ge-featured {
    grid-auto-columns: minmax(240px, 86%);
  }
}

.ge-font-row {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--ge-line, #dde5e8);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.95), rgba(255,255,255,.98)),
    linear-gradient(135deg, rgba(0,168,168,.1), rgba(99,91,255,.12));
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.ge-font-row:hover {
  border-color: rgba(0,108,112,.45);
  box-shadow: 0 16px 34px rgba(17,24,39,.08);
  transform: translateY(-1px);
}

.ge-font-mini {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 16px;
  border-radius: 8px;
  color: #0b1020;
  background:
    radial-gradient(circle at 18% 20%, rgba(182,228,92,.55), transparent 32%),
    linear-gradient(135deg, rgba(0,168,168,.18), rgba(99,91,255,.2));
  font-size: 25px;
  line-height: 1.18;
  overflow: hidden;
  text-align: center;
}

.ge-font-title {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.ge-font-title h3 {
  margin: 0;
}

.ge-font-title span,
.ge-formats {
  color: var(--ge-muted, #697386);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.ge-credit {
  margin: 4px 0;
  color: var(--ge-accent-dark, #006c70);
  font-size: 13px;
  font-weight: 800;
}

.ge-pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
  color: var(--ge-muted, #697386);
}

.ge-pagination div {
  display: flex;
  gap: 8px;
}

.ge-modal-card {
  max-height: min(860px, calc(100vh - 40px));
  overflow: auto;
}

.ge-font-detail {
  width: min(900px, 100%);
}

.ge-row-actions button {
  color: #fff;
}

.ge-row-actions .ge-secondary {
  color: var(--ge-ink, #111827);
}

.ge-font-specimen {
  min-height: 160px;
  padding: 20px;
  border-radius: 8px;
  color: var(--ge-ink, #111827);
  background:
    radial-gradient(circle at 18% 20%, rgba(182,228,92,.55), transparent 28%),
    linear-gradient(135deg, rgba(0,168,168,.13), rgba(99,91,255,.16));
  font-size: 50px;
  line-height: 1.06;
  overflow-wrap: anywhere;
}

.ge-font-detail label {
  display: grid;
  gap: 8px;
  color: var(--ge-muted, #697386);
  font-weight: 800;
}

.ge-font-tester {
  min-height: 90px;
  padding: 16px;
  border: 1px solid var(--ge-line, #dde5e8);
  border-radius: 8px;
  font-size: 42px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

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

.ge-license-grid span {
  padding: 12px;
  border: 1px solid var(--ge-line, #dde5e8);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .ge-font-row {
    grid-template-columns: 1fr;
  }

  .ge-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .ge-license-grid {
    grid-template-columns: 1fr;
  }

  .ge-font-specimen,
  .ge-font-tester {
    font-size: 34px;
  }
}
