.c1-icons-view {
  width: 100%;
  max-width: none;
  padding: 40px 28px 72px;
  background:
    radial-gradient(circle at top left, rgb(2 118 191 / 0.08), transparent 24%),
    radial-gradient(circle at top right, rgb(234 65 0 / 0.05), transparent 24%),
    #f7fafc;
}

.c1-icons-head {
  margin-bottom: 28px;
}

.c1-icons-head h1 {
  margin: 0;
  color: #0f3b5d;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

.c1-icons-kicker,
.c1-icons-panel__kicker,
.c1-icon-specs__kicker,
.c1-icon-specs__label {
  margin: 0 0 10px;
  color: #52718a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.c1-icons-lead {
  max-width: 760px;
  margin: 12px 0 0;
  color: #5b6779;
  font-size: 0.95rem;
  line-height: 1.6;
}

.c1-icons-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.c1-icons-main {
  display: grid;
  gap: 24px;
}

.c1-icons-panel {
  padding: 28px;
  border: 1px solid #e4ebf4;
  border-radius: 28px;
  background: rgb(255 255 255 / 0.88);
  box-shadow: 0 18px 42px rgb(15 23 42 / 0.05);
  backdrop-filter: blur(8px);
}

.c1-icons-panel__top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.c1-icons-panel__intro h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.c1-icons-panel__intro p {
  margin: 0;
  color: #5b6779;
  line-height: 1.6;
}

.c1-icon-specs {
  --c1-spec-accent: var(--c1-primary);
  position: sticky;
  top: 24px;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgb(8 31 49 / 0.98) 0%, rgb(13 52 80 / 0.98) 100%);
  color: #f1f7ff;
  box-shadow: 0 24px 48px rgb(8 31 49 / 0.28);
}

.c1-icon-specs h2 {
  margin: 0;
  color: #f8fbff;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.c1-icon-specs__intro p:not(.c1-icon-specs__kicker) {
  margin: 12px 0 0;
  color: rgb(232 240 251 / 0.82);
  line-height: 1.6;
}

.c1-icon-specs__intro code,
.c1-icon-specs__grid code,
.c1-icon-specs__token-value code,
.c1-icon-specs__notes code {
  color: #d8eaff;
}

.c1-icon-specs__preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  margin: 24px 0;
  padding: 18px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.04));
}

.c1-icon-specs__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
  margin: 20px 0 0;
}

.c1-icon-specs__grid div {
  margin: 0;
}

.c1-icon-specs__grid dt,
.c1-icon-specs__label {
  margin: 0 0 8px;
  color: rgb(188 207 226 / 0.84);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.c1-icon-specs__grid dd {
  margin: 0;
  color: #f8fbff;
  font-size: 0.95rem;
  line-height: 1.55;
  word-break: break-word;
}

.c1-icon-specs__full {
  grid-column: 1 / -1;
}

.c1-icon-specs__variants,
.c1-icon-specs__tokens,
.c1-icon-specs__code,
.c1-icon-specs__notes {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.c1-icon-specs__tokens-list {
  display: grid;
  gap: 16px;
}

.c1-icon-specs__token {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.c1-icon-specs__token-name {
  color: #f8fbff;
  font-size: 1rem;
  line-height: 1.4;
}

.c1-icon-specs__token-value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 20px;
  background: rgb(230 235 242 / 0.9);
  color: #081f31;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
}

.c1-icon-specs__token-value code {
  color: inherit;
}

.c1-icon-specs__code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.c1-icon-specs__copy {
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgb(255 255 255 / 0.08);
  color: #f1f7ff;
  cursor: pointer;
}

.c1-icon-specs__copy:hover,
.c1-icon-specs__copy:focus-visible {
  background: rgb(255 255 255 / 0.14);
}

.c1-icon-specs__copy:focus-visible {
  outline: 2px solid rgb(216 234 255 / 0.35);
  outline-offset: 2px;
}

.c1-icon-specs__code pre {
  margin: 0;
  padding: 16px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 18px;
  background: rgb(3 13 22 / 0.42);
  color: #d9ebff;
  font-size: 0.84rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}

.c1-icon-specs__notes ul {
  margin: 0;
  padding-left: 18px;
  color: rgb(232 240 251 / 0.88);
  line-height: 1.65;
}

.c1-icon-specs__notes li + li {
  margin-top: 10px;
}

.c1-icons-tools {
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.c1-icons-count {
  margin: 0;
  font-size: 0.82rem;
  color: var(--c1-muted);
}

.c1-icons-search {
  width: 100%;
  border: 1px solid #d7e2ee;
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--c1-text);
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.65);
}

.c1-icons-search:focus {
  outline: none;
  border-color: rgb(2 118 191 / 0.42);
  box-shadow: 0 0 0 4px rgb(2 118 191 / 0.08);
}

.c1-icons-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.c1-icons-family-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.c1-icons-family-meta__label {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgb(2 118 191 / 0.1);
  color: #0f3b5d;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.c1-icons-family-meta__value {
  color: #5b6779;
}

.c1-icons-empty {
  padding: 28px;
  border: 1px dashed rgb(2 118 191 / 0.24);
  border-radius: 22px;
  background: linear-gradient(180deg, rgb(2 118 191 / 0.04), #ffffff);
  color: var(--c1-muted);
  text-align: center;
}

.c1-icon-strip {
  height: 120px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.c1-icon-strip .c1-icon-tile {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.c1-icon-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--c1-border);
  background:
    linear-gradient(180deg, rgb(2 118 191 / 0.03), #ffffff),
    #ffffff;
}

.c1-icon-tile--dark {
  border-color: rgb(15 23 42 / 0.08);
  background:
    linear-gradient(135deg, rgb(4 53 83 / 0.96), rgb(2 118 191 / 0.74)),
    #0f172a;
}

.c1-icon-tile--soft {
  background:
    linear-gradient(180deg, rgb(2 118 191 / 0.08), rgb(2 118 191 / 0.02)),
    #ffffff;
}

.c1-icon-stage {
  width: 100%;
  display: flex;
  justify-content: center;
}

.c1-icon-stage__tile {
  width: min(100%, 100%);
  height: auto;
  min-height: 280px;
  padding: 24px;
  border-radius: 24px;
}

.c1-icon-stage__icon {
  width: clamp(4.5rem, 11vw, 6.5rem);
  height: clamp(4.5rem, 11vw, 6.5rem);
}

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

.c1-icon-choice {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 18px;
  background: rgb(255 255 255 / 0.05);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.c1-icon-choice:hover,
.c1-icon-choice:focus-visible,
.c1-icon-choice.is-active {
  border-color: rgb(216 234 255 / 0.28);
  box-shadow: 0 14px 24px rgb(8 31 49 / 0.24);
  transform: translateY(-1px);
}

.c1-icon-choice:focus-visible {
  outline: 3px solid rgb(216 234 255 / 0.14);
  outline-offset: 1px;
}

.c1-icon-choice__body {
  display: grid;
  gap: 4px;
  text-align: left;
}

.c1-icon-choice__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #f8fbff;
}

.c1-icon-choice__meta {
  font-size: 0.74rem;
  color: rgb(232 240 251 / 0.72);
}

@media (max-width: 1180px) {
  .c1-icons-layout {
    grid-template-columns: 1fr;
  }

  .c1-icon-specs {
    position: static;
  }
}

@media (max-width: 980px) {
  .c1-icon-variants {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .c1-icons-view {
    padding: 28px 16px 48px;
  }

  .c1-icons-panel,
  .c1-icon-specs {
    padding: 22px;
    border-radius: 22px;
  }

  .c1-icon-specs__grid,
  .c1-icon-specs__token {
    grid-template-columns: 1fr;
  }

  .c1-icon-specs__token-value {
    justify-content: flex-start;
    white-space: normal;
  }

  .c1-icon-specs__code-top {
    align-items: flex-start;
    flex-direction: column;
  }

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