.islands-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  margin-bottom: 0.7rem;
}

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

.island-toolbar {
  margin-top: 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.island-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.island-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: #dce7f5;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.island-chip:hover {
  border-color: rgba(20, 147, 255, 0.7);
  color: #fff;
}

.island-chip.is-active {
  background: var(--fn-blue);
  border-color: var(--fn-blue);
  color: #fff;
}

.island-chip--soft.is-active {
  background: var(--fn-yellow);
  border-color: var(--fn-yellow);
  color: #111;
}

.island-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: end;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
}

.island-filter-search {
  flex: 1 1 220px;
  display: grid;
  gap: 0.3rem;
}

.island-filter-search input,
.island-filter-select select {
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  padding: 0.55rem 0.75rem;
  font: inherit;
}

.island-filter-select {
  flex: 0 1 160px;
  display: grid;
  gap: 0.3rem;
}

.island-filter-select span {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}

.island-filter-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 0.2rem;
  color: #dce7f5;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.island-filter-check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--fn-yellow);
}

.island-filter-count {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
}

.island-list-meta {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
}

.island-rank {
  display: inline-flex;
  margin-bottom: 0.35rem;
  padding: 0.12rem 0.5rem;
  border-radius: 6px;
  background: rgba(245, 197, 24, 0.18);
  border: 1px solid rgba(245, 197, 24, 0.45);
  color: var(--fn-yellow);
  font-family: 'Teko', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

@media (max-width: 700px) {
  .island-filter-select {
    flex: 1 1 140px;
  }
}

.island-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.island-card__body {
  padding: 1.05rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.island-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.island-card__body .island-card__actions {
  padding-top: 0.35rem;
}

.island-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 1.4rem 0 0.9rem;
}

.island-list-head .hub-subtitle {
  margin: 0;
}

.island-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.island-sort__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.island-sort__btn:hover {
  color: #fff;
  border-color: rgba(245, 197, 24, 0.55);
}

.island-sort__btn.is-active {
  color: #111;
  background: var(--fn-yellow);
  border-color: var(--fn-yellow);
}

.island-detail {
  padding: 0;
  overflow: hidden;
}

.island-detail__body {
  padding: 1.15rem 1.25rem 1.3rem;
}

.island-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 140px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(135deg, rgba(20, 147, 255, 0.55), rgba(245, 197, 24, 0.35)),
    #12263f;
}

.island-media--detail {
  min-height: 200px;
}

.island-media__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.18) 0 1.5px, transparent 2.5px),
    linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.08) 40%, rgba(255, 255, 255, 0.08) 42%, transparent 42%);
  background-size: 48px 48px, 36px 36px, 100% 100%;
}

.island-media__initial {
  position: relative;
  z-index: 1;
  font-family: 'Teko', sans-serif;
  font-size: clamp(3.4rem, 8vw, 4.6rem);
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
  letter-spacing: 0.02em;
}

.island-media--detail .island-media__initial {
  font-size: clamp(4.2rem, 10vw, 5.8rem);
}

.island-media__badge {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  z-index: 1;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.island-media__code {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 1;
  font-family: 'Teko', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
}

.island-media--tone-0 {
  background:
    linear-gradient(135deg, #1493ff 0%, #0b3d66 55%, #f5c518 120%),
    #12263f;
}

.island-media--tone-1 {
  background:
    linear-gradient(145deg, #f5c518 0%, #8a6a08 48%, #1493ff 110%),
    #2a2208;
}

.island-media--tone-2 {
  background:
    linear-gradient(160deg, #1f6fb5 0%, #0d2138 50%, #3aa0ff 100%),
    #0d2138;
}

.island-media--tone-3 {
  background:
    linear-gradient(120deg, #d4a017 0%, #2b2410 45%, #1a6fb8 100%),
    #2b2410;
}

.island-media--tone-4 {
  background:
    linear-gradient(150deg, #0ea5e9 0%, #164e63 50%, #facc15 105%),
    #164e63;
}

.island-media--tone-5 {
  background:
    linear-gradient(135deg, #2563eb 0%, #1e293b 52%, #eab308 115%),
    #1e293b;
}
