/* Symbols hub — page-specific only */

.symbols-shell {
  width: min(1050px,calc(100% - 32px));
  margin-inline: auto;
}

.reading-shell {
  width: min(900px,calc(100% - 32px));
  margin-inline: auto;
}

.symbols-hero {
  padding: 58px 0 70px;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 52px;
  align-items: center;
}

.hero-copy h1 {
  margin: 18px 0 20px;
  font-size: clamp(3rem,7vw,5.4rem);
  line-height: .94;
  letter-spacing: -.065em;
}

.hero-lead {
  max-width: 660px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  font-size: 12px;
}

.hero-proof strong {
  color: var(--text);
  font-size: 12px;
}

.hero-board {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  transform: rotate(1deg);
}

.hero-board-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hero-board-head span {
  font-size: 12px;
  font-weight: 850;
}

.hero-board-head small {
  color: var(--muted);
  font-size: 12px;
}

.quick-symbols {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 6px;
}

.quick-symbols button {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  font-size: 19px;
}

.quick-symbols button:hover {
  border-color: color-mix(in srgb,var(--primary) 35%,var(--line));
  transform: translateY(-1px);
}

.quick-combo {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(135deg,var(--surface-2),var(--surface-3));
  color: var(--text);
  cursor: pointer;
}

.quick-combo strong,.quick-combo span {
  display: block;
}

.quick-combo span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.collections-section {
  padding: 26px 0 84px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem,4vw,3rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}

.section-heading>p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.hub-toolbar {
  position: sticky;
  top: var(--header-height,72px);
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb,var(--surface) 96%,transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hub-search {
  position: relative;
}

.hub-search input {
  width: 100%;
  min-height: 44px;
  padding: 10px 62px 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--text);
  font: inherit;
  font-size: 12px;
}

.hub-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.hub-filters {
  display: flex;
  gap: 6px;
  align-items: center;
  overflow-x: auto;
}

.hub-filters button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.hub-filters button.active {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg);
}

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

.collection-card {
  min-width: 0;
}

.collection-link {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  transition: .16s;
}

.collection-link:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb,var(--primary) 33%,var(--line));
  box-shadow: var(--shadow-sm);
}

.collection-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.collection-icon {
  min-width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 13px;
  background: var(--surface-2);
  font-size: 18px;
  white-space: nowrap;
}

.collection-count {
  padding: 5px 7px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.collection-tag {
  margin-top: 13px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.collection-link h3 {
  margin: 5px 0 7px;
  font-size: 17px;
}

.collection-link p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.collection-examples {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 13px;
}

.collection-examples span {
  min-width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  font-size: 13px;
}

.collection-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
}

.empty-state {
  padding: 60px 20px;
  text-align: center;
}

.empty-state>span {
  font-size: 30px;
  color: var(--primary);
}

.empty-state p {
  color: var(--muted);
  font-size: 12px;
}

.browse-use-section {
  padding: 76px 0;
  background: var(--surface-3);
  border-block: 1px solid var(--line);
}

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

.use-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.use-icon {
  min-width: 42px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.use-grid h3 {
  margin: 11px 0 6px;
  font-size: 16px;
}

.use-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.use-grid article>div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.use-grid a {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.unicode-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: start;
}

.unicode-grid h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem,4vw,3rem);
}

.unicode-grid article p:not(.kicker) {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.unicode-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: var(--surface);
}

.unicode-card>span {
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.unicode-card div {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.unicode-card div:last-child {
  border-bottom: 0;
}

.unicode-card strong,.unicode-card small {
  display: block;
}

.unicode-card strong {
  font-size: 16px;
}

.unicode-card small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.related-section {
  background: var(--surface-3);
  border-block: 1px solid var(--line);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
}

.related-tool-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
}

.related-tool-card strong,.related-tool-card small {
  display: block;
}

.related-tool-card small {
  color: var(--muted);
  font-size: 12px;
}

@media (max-width:900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }
  .hero-board {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
    transform: none;
  }
  .collection-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .hub-toolbar {
    grid-template-columns: 1fr;
  }
  .hub-filters {
    padding-bottom: 1px;
  }
}

@media (max-width:700px) {
  .symbols-shell,.reading-shell {
    width: min(100% - 20px,1050px);
  }
  .symbols-hero {
    padding: 42px 0 50px;
  }
  .hero-copy h1 {
    font-size: clamp(2.7rem,15vw,4rem);
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
  .section-heading>p {
    text-align: left;
  }
  .quick-symbols {
    grid-template-columns: repeat(4,1fr);
  }
  .collection-grid,.use-grid,.unicode-grid,.related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:460px) {
  .collection-grid {
    grid-template-columns: 1fr;
  }
  .quick-symbols {
    grid-template-columns: repeat(3,1fr);
  }
}
