:root {
  --ink: #132236;
  --muted: #5a6b7f;
  --line: #dce8ef;
  --paper: #ffffff;
  --soft: #f5f8fa;
  --teal: #00a4a6;
  --teal-dark: #087f86;
  --blue: #1c78d4;
  --green: #6ecb63;
  --yellow: #f5c84c;
  --shadow: 0 18px 45px rgba(19, 34, 54, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  min-height: 72px;
  padding: 0 32px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: inline-flex;
  text-decoration: none;
}

.brand-logo {
  display: block;
  height: auto;
  max-height: 58px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 22px;
  margin-left: auto;
  overflow-x: auto;
}

.nav-links a,
.header-cta {
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--teal-dark);
}

.header-cta,
.button,
.domain-search button {
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  text-decoration: none;
}

.header-cta {
  background: var(--ink);
  color: #fff;
  padding: 11px 16px;
}

.hero {
  background:
    radial-gradient(circle at 86% 20%, rgba(245, 200, 76, 0.32), transparent 25%),
    linear-gradient(115deg, #073d51 0%, #0b7888 54%, #eaf8fb 54%, #f7fbfd 100%);
  min-height: 565px;
  overflow: hidden;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 72px 32px 78px;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 42px;
}

.eyebrow {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #b9f2f2;
}

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

h1 {
  font-size: 3.18rem;
  letter-spacing: 0;
  line-height: 1.03;
  margin-bottom: 18px;
  max-width: 720px;
}

h2 {
  font-size: 2.15rem;
  line-height: 1.18;
  margin-bottom: 0;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
  margin-bottom: 26px;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-action {
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 6px;
  color: #fff;
  font-weight: 800;
  padding: 12px 16px;
  text-decoration: none;
}

.hero-action.primary {
  background: var(--green);
  border-color: var(--green);
  color: #0d3311;
}

.domain-search label {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
}

.search-row input {
  border: 0;
  border-radius: 6px 0 0 6px;
  color: var(--ink);
  font: inherit;
  min-height: 56px;
  padding: 0 18px;
}

.domain-search button {
  background: var(--green);
  border: 0;
  color: #0d3311;
  cursor: pointer;
  font: inherit;
  min-height: 56px;
}

.quick-tlds {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.quick-tlds a {
  color: #fff;
  font-weight: 800;
}

.hero-visual {
  min-height: 390px;
  position: relative;
}

.hero-visual::before {
  background: rgba(0, 164, 166, 0.2);
  border: 28px solid rgba(0, 164, 166, 0.2);
  border-radius: 50%;
  content: "";
  height: 520px;
  position: absolute;
  right: -170px;
  top: -70px;
  width: 520px;
}

.browser-window {
  background: #fff;
  border: 1px solid rgba(19, 34, 54, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 34px 0 0 auto;
  max-width: 430px;
  padding: 18px;
  position: relative;
  z-index: 1;
}

.browser-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 30px;
}

.browser-dots span {
  background: var(--line);
  border-radius: 50%;
  height: 10px;
  width: 10px;
}

.domain-card {
  background: linear-gradient(135deg, #eef9fb, #fff);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 7px;
  padding: 26px;
  text-decoration: none;
}

.domain-card strong {
  font-size: 1.82rem;
}

.domain-card span:last-child {
  color: var(--muted);
}

.highlight-card {
  min-height: 228px;
}

.highlight-card small {
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.highlight-card b {
  color: var(--teal-dark);
  font-size: 0.86rem;
  margin-top: 8px;
}

.status-dot {
  background: var(--green);
  border-radius: 50%;
  height: 12px;
  width: 12px;
}

.metric-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 18px;
}

.metric-grid span {
  background: var(--soft);
  border-radius: 6px;
  color: var(--muted);
  font-weight: 800;
  padding: 18px;
  text-align: center;
}

.highlight-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}

.highlight-dots button {
  background: var(--line);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  height: 10px;
  padding: 0;
  width: 10px;
}

.highlight-dots button.active {
  background: var(--teal);
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 86px 32px;
  width: 100%;
}

.section-heading {
  margin-bottom: 28px;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.product-card,
.network-card,
.tool-card {
  background: var(--soft);
  border: 1px solid #edf2f5;
  border-radius: 8px;
  text-decoration: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 315px;
  padding: 28px;
}

.product-card.featured {
  background: #eef9fb;
  border-color: #bee7eb;
}

.product-icon {
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--line);
  height: 54px;
  margin-bottom: 24px;
  width: 54px;
}

.domain-icon {
  background:
    linear-gradient(90deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, #fff 45% 55%, transparent 55%),
    var(--teal);
}

.links-icon {
  background:
    radial-gradient(circle at 34% 50%, #fff 0 12%, transparent 13%),
    radial-gradient(circle at 66% 50%, #fff 0 12%, transparent 13%),
    linear-gradient(#fff 0 0) 50% 50% / 28px 5px no-repeat,
    var(--yellow);
}

.hosting-icon {
  background:
    linear-gradient(#fff 0 0) 50% 32% / 26px 5px no-repeat,
    linear-gradient(#fff 0 0) 50% 50% / 26px 5px no-repeat,
    linear-gradient(#fff 0 0) 50% 68% / 26px 5px no-repeat,
    var(--blue);
}

.games-icon {
  background:
    radial-gradient(circle at 36% 36%, #fff 0 9%, transparent 10%),
    radial-gradient(circle at 64% 36%, #fff 0 9%, transparent 10%),
    radial-gradient(circle at 36% 64%, #fff 0 9%, transparent 10%),
    radial-gradient(circle at 64% 64%, #fff 0 9%, transparent 10%),
    var(--blue);
}

.emoji-icon {
  background:
    radial-gradient(circle at 35% 38%, #132236 0 7%, transparent 8%),
    radial-gradient(circle at 65% 38%, #132236 0 7%, transparent 8%),
    radial-gradient(ellipse at 50% 66%, transparent 0 18%, #132236 19% 23%, transparent 24%),
    var(--yellow);
}

.product-card h3 {
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.product-card p {
  color: var(--muted);
  margin-bottom: 26px;
}

.button {
  align-self: flex-start;
  border: 1px solid var(--teal);
  color: var(--teal-dark);
  margin-top: auto;
  padding: 12px 18px;
}

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

.split {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.split > a {
  color: var(--teal-dark);
  font-weight: 800;
  white-space: nowrap;
}

.tools-section {
  padding-top: 0;
}

.primary-content {
  padding-top: 34px;
}

.secondary-overview {
  padding-top: 34px;
}

.tool-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.tool-card {
  display: grid;
  gap: 8px;
  min-height: 154px;
  padding: 22px;
}

.tool-emoji {
  font-size: 2rem;
  line-height: 1;
}

.tool-card.featured-tool {
  background: #eef9fb;
  border-color: #bee7eb;
}

.tool-card strong {
  font-size: 1.28rem;
}

.tool-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.tool-card small {
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-card:hover,
.network-card:hover {
  border-color: var(--teal);
}

.network-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, 1fr);
}

.network-card {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 20px;
}

.network-card strong {
  font-size: 1rem;
}

.network-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.exchange-banner-section {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 auto 54px;
  max-width: 100%;
  padding: 0 20px;
  text-align: center;
}

.exchange-banner-section iframe {
  border: 1px solid var(--line);
  max-width: 100%;
}

.exchange-banner-section a {
  color: var(--teal-dark);
  font-size: 0.88rem;
  font-weight: 800;
}

.domain-strip {
  align-items: center;
  background: #f2f7fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: grid;
  gap: 34px;
  grid-template-columns: 0.82fr 1.18fr;
  margin-bottom: 76px;
}

.domain-strip .eyebrow {
  color: var(--teal);
}

.support-copy {
  color: var(--muted);
  margin: 14px 0 0;
}

.domain-search.compact {
  color: var(--ink);
}

.domain-search.compact .search-row {
  border: 1px solid var(--line);
  border-radius: 6px;
}

.domain-search.compact .search-row input {
  background: #fff;
}

.content-page-hero {
  background: linear-gradient(115deg, #073d51 0%, #0b7888 62%, #eaf8fb 62%, #f7fbfd 100%);
  overflow: hidden;
}

.content-page-hero-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding: 64px 32px 70px;
}

.content-page-hero .eyebrow,
.content-page-hero h1,
.content-page-hero p {
  color: #fff;
}

.content-page-hero h1 {
  font-size: 3rem;
}

.content-page-hero p {
  font-size: 1.08rem;
  max-width: 690px;
}

.content-emoji {
  display: block;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 18px;
}

.content-layout {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.55fr) minmax(240px, 0.65fr);
}

.content-article h2 {
  font-size: 1.65rem;
  margin: 34px 0 12px;
}

.content-article h2:first-child {
  margin-top: 0;
}

.content-article li {
  margin-bottom: 8px;
}

.content-article code {
  background: var(--soft);
  border-radius: 4px;
  padding: 2px 5px;
}

.content-sidebar {
  align-content: start;
  display: grid;
  gap: 16px;
}

.content-panel,
.content-card {
  background: var(--soft);
  border: 1px solid #edf2f5;
  border-radius: 8px;
  padding: 22px;
}

.content-panel h3,
.content-card h3 {
  margin-bottom: 10px;
}

.content-panel p,
.content-card p {
  color: var(--muted);
  margin-bottom: 16px;
}

.content-panel .button {
  margin-top: 0;
}

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

.content-card {
  display: grid;
  gap: 8px;
  min-height: 178px;
  text-decoration: none;
}

.content-card:hover {
  border-color: var(--teal);
}

.content-card .tool-emoji {
  margin-bottom: 4px;
}

.text-link {
  color: var(--teal-dark);
  font-weight: 800;
}

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

.joke-card {
  background: var(--soft);
  border: 1px solid #edf2f5;
  border-radius: 8px;
  min-height: 138px;
  padding: 22px;
}

.joke-card p {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.joke-card strong {
  color: var(--teal-dark);
}

.archive-count {
  color: var(--muted);
  margin: 10px 0 0;
}

.rating-stars {
  color: #aab8c5;
  display: flex;
  gap: 2px;
  letter-spacing: 0;
  margin-top: 12px;
}

.rating-star {
  background: transparent;
  border: 0;
  color: #aab8c5;
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0 2px;
}

.rating-star.checked,
.rating-star:hover {
  color: #e0a800;
}

.vote-status {
  color: var(--teal-dark);
  display: block;
  margin-top: 8px;
  min-height: 1.2em;
}

.legacy-modernized {
  background: var(--paper) !important;
  color: var(--ink) !important;
}

.legacy-modernized .legacy-original-chrome {
  display: none !important;
}

.legacy-modernized .page-wrapper {
  margin: 0;
  max-width: none;
  width: 100%;
}

.legacy-content-surface {
  display: block !important;
  margin: 0 auto !important;
  max-width: 1180px !important;
  padding: 62px 32px !important;
  width: 100% !important;
}

.legacy-modernized .article-layout > section {
  display: block;
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
}

.legacy-modernized .article-layout > section > h1,
.legacy-modernized .legacy-content-surface > h1,
.legacy-modernized .legacy-content-surface > p:first-of-type + h1 {
  display: none;
}

.legacy-modernized center.legacy-content-surface {
  text-align: left;
}

.legacy-modernized center.legacy-content-surface > table {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: table;
  max-width: 100%;
  overflow: hidden;
  padding: 12px;
  width: 100% !important;
}

.legacy-modernized .legacy-support-section {
  margin-top: 20px;
}

.legacy-modernized .domain-strip {
  margin-bottom: 76px;
}

.site-footer {
  align-items: start;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  gap: 28px;
  grid-template-columns: 0.85fr 1.3fr 1fr;
  padding: 34px max(32px, calc((100% - 1116px) / 2));
}

.site-footer section {
  display: grid;
  gap: 8px;
}

.site-footer h3 {
  color: var(--ink);
  font-size: 1rem;
  margin: 0 0 4px;
}

.site-footer p {
  font-size: 0.86rem;
  margin: 0;
}

.site-footer a {
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1180px) {
  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .network-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    min-height: auto;
    padding: 18px 22px;
  }

  .nav-links {
    margin-left: 0;
    order: 3;
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

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

  .header-cta {
    margin-left: auto;
  }

  .hero-inner,
  .domain-strip {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    padding: 30px;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-visual {
    display: none;
  }

  .product-grid,
  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 620px) {
  .nav-links {
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-inner,
  .legacy-content-surface,
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    background: linear-gradient(135deg, #073d51 0%, #0b7888 100%);
  }

  .search-row,
  .content-grid,
  .joke-grid,
  .product-grid,
  .tool-grid,
  .network-grid {
    grid-template-columns: 1fr;
  }

  .hero-action {
    width: 100%;
  }

  .search-row input,
  .domain-search button {
    border-radius: 6px;
  }

  .domain-search button {
    margin-top: 10px;
  }

  .split,
  .site-footer {
    align-items: flex-start;
  }
}

body[data-joke-category],
body[data-quote-category] {
  visibility: hidden;
}

body.category-page-ready {
  visibility: visible;
}
