@charset "UTF-8";
:root {
  --ink: #27212d;
  --muted: #756f7a;
  --line: #e6e2e9;
  --soft: #f8f7fa;
  --purple: #7542c8;
  --purple-dark: #59309d;
  --coral: #ff424b;
  --yellow: #ffbd08;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(117, 66, 200, 0.3);
  outline-offset: 3px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.utility-bar {
  background: #292330;
  color: #dcd7e1;
}

.utility-bar__inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.utility-bar p {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.04em;
}

.utility-bar nav {
  display: flex;
  gap: 24px;
  font-size: 9px;
}

.utility-bar a:hover {
  color: var(--white);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  flex: 0 0 auto;
  display: block;
}

.brand__crop {
  position: relative;
  width: 166px;
  height: 70px;
  display: block;
  overflow: hidden;
}

.brand__crop img {
  position: absolute;
  left: 0;
  top: 0;
  width: 320px;
  height: 160px;
  max-width: none;
  transform: translate(-77px, -43px);
}

.brand-copy {
  max-width: 152px;
  margin: 0;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  color: #69626f;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.7;
}

.main-nav {
  margin-left: auto;
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.main-nav a {
  position: relative;
  padding: 0 18px;
  display: flex;
  align-items: center;
  color: #5e5863;
  font-size: 11px;
  font-weight: 800;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 3px;
  background: var(--purple);
  transform: scaleX(0);
  transition: transform 0.18s ease;
}

.main-nav a:hover {
  color: var(--purple);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-content {
  padding-block: 22px 88px;
}

.breadcrumbs {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #96909a;
  font-size: 9px;
}

.breadcrumbs a:hover {
  color: var(--purple);
}

.breadcrumbs strong {
  color: #5c5660;
}

.search-panel {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  align-items: center;
  gap: 10px 18px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.search-panel > label {
  font-size: 11px;
  font-weight: 900;
}

.search-panel__field {
  display: flex;
}

.search-panel input {
  min-width: 0;
  height: 42px;
  flex: 1;
  padding-inline: 14px;
  border: 1px solid #d9d5dc;
  border-right: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
}

.search-panel input:focus {
  border-color: var(--purple);
  outline-offset: 0;
}

.search-panel button {
  width: 78px;
  border: 0;
  background: var(--purple);
  color: var(--white);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
}

.search-panel button:hover {
  background: var(--purple-dark);
}

.search-panel > p {
  grid-column: 2;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: #87818b;
  font-size: 9px;
}

.search-panel > p strong {
  color: #57515b;
}

.search-panel > p a:hover {
  color: var(--purple);
  text-decoration: underline;
}

.category-hero {
  position: relative;
  min-height: 246px;
  margin-top: 22px;
  padding: 44px 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  overflow: hidden;
  background: linear-gradient(118deg, #f5f0ff 0%, #fff7f4 56%, #fff9df 100%);
}

.category-hero::before,
.category-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
}

.category-hero::before {
  width: 220px;
  height: 220px;
  top: -118px;
  right: 120px;
  border: 42px solid rgba(117, 66, 200, 0.08);
}

.category-hero::after {
  width: 95px;
  height: 95px;
  right: -26px;
  bottom: -36px;
  background: rgba(255, 66, 75, 0.09);
}

.category-hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--coral);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.category-hero h1 {
  margin: 7px 0 9px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.32;
  letter-spacing: -0.04em;
}

.category-hero > div > p {
  margin: 0;
  color: #6d6672;
  font-size: 11px;
}

.hero-meta {
  min-width: 280px;
  margin: 0;
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  border: 1px solid rgba(117, 66, 200, 0.14);
  background: rgba(255, 255, 255, 0.8);
}

.hero-meta div {
  display: grid;
  gap: 5px;
}

.hero-meta dt {
  color: #8e8792;
  font-size: 8px;
}

.hero-meta dd {
  margin: 0;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.hero-meta dd small {
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
}

.category-panel {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.section-title {
  margin-bottom: 17px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-title span,
.side-label,
.ranking-header span {
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.section-title h2 {
  margin: 3px 0 0;
  font-size: 19px;
}

.section-title > p {
  margin: 0;
  color: #8a848e;
  font-size: 9px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.category-grid a {
  position: relative;
  min-height: 52px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #5e5863;
  font-size: 9px;
}

.category-grid a:hover {
  background: var(--soft);
  color: var(--purple);
}

.category-grid a.current {
  background: #f3effc;
  color: var(--purple);
  font-weight: 900;
}

.category-grid a.current::before {
  content: "";
  position: absolute;
  top: -1px;
  bottom: -1px;
  left: -1px;
  width: 4px;
  background: var(--purple);
}

.category-grid small {
  color: #aaa4ad;
  font-size: 8px;
}

.subcategory-panel {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #e2dbea;
  background: #faf8fd;
}

.subcategory-panel__heading {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.subcategory-panel__heading strong {
  color: #514858;
  font-size: 11px;
}

.subcategory-panel__heading small {
  color: #8f8794;
  font-size: 8px;
}

.subcategory-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.subcategory-grid a {
  min-height: 34px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ded7e5;
  background: var(--white);
  color: #655e69;
  font-size: 9px;
}

.subcategory-grid a:hover,
.subcategory-grid a.current {
  border-color: var(--purple);
  color: var(--purple);
}

.subcategory-grid a.current {
  background: #f1ebfb;
  font-weight: 900;
}

.subcategory-grid small {
  color: #aaa4ad;
  font-size: 8px;
}

.ranking-category-navigation {
  padding: 26px 0 6px;
}

.ranking-category-navigation__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.ranking-category-navigation__heading span {
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.ranking-category-navigation__heading h2 {
  margin: 4px 0 0;
  font-size: 18px;
}

.ranking-category-navigation__heading > a {
  color: var(--purple);
  font-size: 9px;
  font-weight: 900;
}

.ranking-category-navigation__heading > a:hover {
  text-decoration: underline;
}

.category-directory-page {
  padding-block: 22px 88px;
}

.category-directory-hero {
  position: relative;
  min-height: 260px;
  padding: 46px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(117, 66, 200, 0.13) 0 86px, transparent 87px),
    linear-gradient(118deg, #f5f0ff 0%, #fff7f4 57%, #fff9df 100%);
}

.category-directory-hero::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -70px;
  width: 180px;
  height: 180px;
  border: 34px solid rgba(255, 66, 75, 0.08);
  border-radius: 50%;
}

.category-directory-hero > * {
  position: relative;
  z-index: 1;
}

.category-directory-hero h1 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 5vw, 50px);
  letter-spacing: -0.055em;
}

.category-directory-hero > div > p {
  max-width: 620px;
  margin: 0;
  color: #69616e;
  font-size: 11px;
  line-height: 1.9;
}

.category-directory-hero dl {
  min-width: 318px;
  margin: 0;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border: 1px solid rgba(117, 66, 200, 0.16);
  background: rgba(255, 255, 255, 0.85);
}

.category-directory-hero dl div {
  display: grid;
  gap: 5px;
}

.category-directory-hero dt {
  color: #8e8792;
  font-size: 8px;
}

.category-directory-hero dd {
  margin: 0;
  font: 700 22px Georgia, serif;
}

.category-directory-hero dd small {
  margin-left: 2px;
  font-family: inherit;
  font-size: 8px;
}

.category-directory-search {
  padding: 28px 30px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  border: 1px solid var(--line);
  border-top: 0;
  background: var(--white);
}

.category-directory-search > div > span,
.category-directory-results__heading span,
.category-directory-card header span {
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.category-directory-search h2 {
  margin: 4px 0 0;
  font-size: 18px;
}

.category-directory-search form {
  display: flex;
}

.category-directory-search input {
  min-width: 0;
  height: 46px;
  padding-inline: 15px;
  flex: 1;
  border: 1px solid #d8d3da;
  border-right: 0;
  border-radius: 0;
  color: var(--ink);
  font-size: 11px;
}

.category-directory-search input:focus {
  border-color: var(--purple);
  outline-offset: 0;
}

.category-directory-search button {
  min-width: 90px;
  border: 0;
  background: var(--purple);
  color: var(--white);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
}

.category-directory-search button:hover {
  background: var(--purple-dark);
}

.category-directory-search form > a {
  min-width: 90px;
  display: grid;
  place-items: center;
  color: #77707b;
  font-size: 9px;
  font-weight: 800;
}

.category-directory-search form > a:hover {
  color: var(--purple);
  text-decoration: underline;
}

.category-directory-index {
  padding: 22px 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-bottom: 1px solid var(--line);
}

.category-directory-index a {
  min-height: 34px;
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd7e2;
  color: #625b66;
  background: var(--white);
  font-size: 9px;
  font-weight: 800;
}

.category-directory-index a:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: #f7f3fd;
}

.category-directory-results {
  padding-top: 42px;
}

.category-directory-results__heading {
  margin-bottom: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.category-directory-results__heading h2 {
  margin: 5px 0 0;
  font-size: 25px;
}

.category-directory-results__heading > p {
  margin: 0;
  color: #8e8792;
  font-size: 9px;
}

.category-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.category-directory-card {
  scroll-margin-top: 118px;
  border: 1px solid var(--line);
  background: var(--white);
}

.category-directory-card > header {
  min-height: 94px;
  padding: 22px 24px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 4px solid var(--purple);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(110deg, #f7f3fd 0%, #fff 75%);
}

.category-directory-card h3 {
  margin: 5px 0 0;
  font-size: 17px;
}

.category-directory-card h3 a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.category-directory-card h3 a:hover {
  color: var(--purple);
}

.category-directory-card h3 b {
  color: var(--purple);
  font-size: 12px;
}

.category-directory-card header > strong {
  min-width: 72px;
  color: var(--purple);
  text-align: right;
  font: 700 20px Georgia, serif;
}

.category-directory-card header > strong small {
  margin-left: 3px;
  color: #96909a;
  font: 700 7px sans-serif;
}

.category-directory-card > p {
  margin: 0;
  padding: 15px 24px;
  border-bottom: 1px solid var(--line);
  color: #77707b;
  font-size: 9px;
  line-height: 1.75;
}

.category-directory-card ul {
  margin: 0;
  padding: 8px 24px 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  list-style: none;
}

.category-directory-card li {
  min-width: 0;
  border-bottom: 1px solid #eeeaf0;
}

.category-directory-card li a {
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #655e69;
  font-size: 9px;
}

.category-directory-card li a::before {
  content: "›";
  flex: none;
  color: #b8a9ce;
  font-weight: 900;
}

.category-directory-card li a span {
  min-width: 0;
  flex: 1;
}

.category-directory-card li a small {
  color: #aaa4ad;
  font-size: 8px;
}

.category-directory-card li a:hover {
  color: var(--purple);
}

.content-grid {
  padding-top: 36px;
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  gap: 34px;
}

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

.side-panel {
  padding: 21px;
  border: 1px solid var(--line);
}

.side-panel h2 {
  margin: 5px 0 15px;
  font-size: 15px;
  line-height: 1.45;
}

.side-panel nav {
  display: grid;
  border-top: 1px solid var(--line);
}

.side-panel nav a {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  color: #68616c;
  font-size: 9px;
}

.side-panel nav a:hover,
.side-panel nav a.active {
  color: var(--purple);
  font-weight: 900;
}

.side-panel nav small {
  color: #aaa4ad;
  font-size: 8px;
}

.side-panel--accent {
  border: 0;
  background: #30283b;
  color: var(--white);
}

.side-panel--accent .side-label {
  color: #cdbbec;
}

.side-panel--accent p {
  margin: 0;
  color: #d6d0dc;
  font-size: 9px;
  line-height: 1.8;
}

.side-panel--accent p + p {
  margin-top: 11px;
  padding-top: 11px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.ranking-header {
  min-height: 66px;
  padding: 0 4px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 3px solid var(--purple);
}

.ranking-header h2 {
  margin: 4px 0 0;
  font-size: 20px;
}

.ranking-header > p {
  margin: 0;
  color: #817a85;
  font-size: 9px;
}

.ranking-header > p strong {
  color: var(--purple);
}

.ranking-list {
  border-right: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.ranking-card {
  position: relative;
  padding: 26px 26px 24px 20px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 20px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.ranking-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 4px;
  background: transparent;
}

.ranking-card--1 {
  background: linear-gradient(90deg, rgba(255, 189, 8, 0.09), #fff 42%);
}

.ranking-card--1::before {
  background: var(--yellow);
}

.ranking-card--2::before {
  background: #b8bac0;
}

.ranking-card--3::before {
  background: #c98555;
}

.rank-number {
  padding-top: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rank-number span {
  font-family: Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.rank-number small {
  margin-top: 6px;
  color: #aaa4ad;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.site-category {
  margin: 0 0 5px;
  color: var(--coral);
  font-size: 8px;
  font-weight: 900;
}

.site-detail h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.site-detail h2 a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-detail h2 a span {
  color: var(--purple);
  font-size: 12px;
}

.site-detail h2 a:hover {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-description {
  min-height: 58px;
  margin: 12px 0 17px;
  padding: 14px 16px;
  border-left: 3px solid #ded7eb;
  background: var(--soft);
  color: #66606a;
  font-size: 10px;
  line-height: 1.8;
}

.card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.points {
  margin: 0;
  display: flex;
  gap: 26px;
}

.points > div {
  min-width: 62px;
  display: grid;
  gap: 3px;
}

.points dt {
  color: #96909a;
  font-size: 7px;
}

.points dd {
  margin: 0;
  font-size: 14px;
  font-weight: 900;
}

.points dd small {
  margin-left: 2px;
  color: #9b959f;
  font-size: 7px;
  font-weight: 700;
}

.card-footer button {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #f1c9ce;
  background: #fff7f8;
  color: #d13a45;
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
}

.card-footer button:hover {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
}

.pagination {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.pagination a,
.pagination span {
  min-width: 34px;
  height: 34px;
  padding-inline: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  font-size: 9px;
}

.pagination span {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--white);
}

.pagination a:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.site-footer {
  background: #292330;
  color: #d3ced7;
}

.footer-inner {
  min-height: 112px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.footer-inner strong {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.12em;
}

.footer-inner p {
  margin: 0;
  font-size: 9px;
}

.footer-inner small {
  color: #938d98;
  font-size: 8px;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding-top: 10px;
  }

  .main-nav {
    width: 100%;
    min-height: 42px;
    order: 3;
    margin-left: 0;
    overflow-x: auto;
    border-top: 1px solid var(--line);
  }

  .main-nav a {
    padding-inline: 16px;
    white-space: nowrap;
  }

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

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

  .sidebar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .utility-bar__inner {
    justify-content: center;
  }

  .utility-bar nav {
    display: none;
  }

  .header-inner {
    gap: 10px;
  }

  .brand__crop {
    width: 126px;
    height: 54px;
  }

  .brand__crop img {
    width: 244px;
    height: 122px;
    transform: translate(-59px, -33px);
  }

  .brand-copy {
    max-width: 132px;
    padding-left: 12px;
    font-size: 8px;
  }

  .main-content {
    padding-block: 18px 60px;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-panel > p {
    grid-column: 1;
  }

  .category-hero {
    min-height: 0;
    padding: 34px 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .category-hero h1 {
    font-size: 27px;
  }

  .hero-meta {
    width: 100%;
    min-width: 0;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .ranking-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-card {
    padding: 22px 16px 20px 12px;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-number span {
    font-size: 27px;
  }

  .site-detail h2 {
    font-size: 15px;
  }

  .site-description {
    min-height: 0;
    padding: 12px;
    font-size: 9px;
  }

  .card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .points {
    justify-content: space-between;
    gap: 8px;
  }

  .points > div {
    min-width: 0;
  }

  .card-footer button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 9px;
    padding-block: 26px;
  }
}

/* Shared multi-page navigation */
.main-nav a.active {
  color: var(--purple);
}

.main-nav a.active::after {
  transform: scaleX(1);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 9px;
}

.footer-inner nav a:hover {
  color: var(--white);
}

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

select,
textarea {
  font: inherit;
}

/* Top page */
.home-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #f5f0ff 0%, #fff7f4 57%, #fff9dd 100%);
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.home-hero::before {
  width: 420px;
  height: 420px;
  right: -80px;
  top: -250px;
  border: 70px solid rgba(117, 66, 200, 0.08);
}

.home-hero::after {
  width: 180px;
  height: 180px;
  left: 52%;
  bottom: -110px;
  background: rgba(255, 66, 75, 0.08);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 490px;
  padding-block: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: center;
  gap: 80px;
}

.home-hero__copy h1 {
  margin: 9px 0 18px;
  font-size: clamp(42px, 6vw, 70px);
  line-height: 1.15;
  letter-spacing: -0.06em;
}

.home-hero__copy h1 em {
  color: var(--purple);
  font-style: normal;
}

.home-hero__copy > p {
  max-width: 590px;
  margin: 0;
  color: #68616e;
  font-size: 13px;
  line-height: 1.9;
}

.home-search {
  max-width: 650px;
  margin-top: 28px;
  display: flex;
  border: 1px solid #d8d2dd;
  background: var(--white);
  box-shadow: 0 12px 36px rgba(57, 42, 70, 0.08);
}

.home-search input {
  min-width: 0;
  height: 58px;
  flex: 1;
  padding-inline: 18px;
  border: 0;
  color: var(--ink);
  font-size: 12px;
}

.home-search button {
  min-width: 130px;
  border: 0;
  background: var(--purple);
  color: var(--white);
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
}

.home-search button:hover {
  background: var(--purple-dark);
}

.home-keywords {
  margin-top: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: #817a85;
  font-size: 9px;
}

.home-keywords strong {
  color: #554f59;
}

.home-keywords a:hover {
  color: var(--purple);
  text-decoration: underline;
}

.home-hero__summary {
  position: relative;
  padding: 38px 34px 32px;
  display: grid;
  border: 1px solid rgba(117, 66, 200, 0.18);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 24px 60px rgba(61, 40, 80, 0.1);
}

.home-hero__summary > span {
  color: var(--coral);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.home-hero__summary > strong {
  margin-top: 9px;
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
}

.home-hero__summary > small {
  margin-top: 8px;
  color: #827b86;
  font-size: 9px;
}

.home-hero__summary > a {
  margin-top: 28px;
  min-height: 44px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #30283b;
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
}

.home-hero__summary > a:hover {
  background: var(--purple);
}

.home-section {
  padding-block: 76px;
}

.home-section--soft {
  background: var(--soft);
}

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

.home-section-heading span,
.home-join span {
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.home-section-heading h2,
.home-join h2 {
  margin: 5px 0 0;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.home-section-heading > a {
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
}

.home-section-heading > a:hover {
  text-decoration: underline;
}

.home-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.home-category-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.home-category-card__head {
  min-height: 92px;
  padding: 18px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
}

.home-category-card__head:hover {
  background: #f5f1fc;
}

.home-category-card__head i {
  color: #c4bdca;
  font: italic 14px Georgia, serif;
}

.home-category-card__head span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.home-category-card__head strong {
  font-size: 11px;
}

.home-category-card__head small {
  overflow: hidden;
  color: #928b96;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-category-card__head b {
  color: var(--purple);
  font-size: 9px;
}

.home-category-card__subs {
  margin: 0;
  padding: 0 18px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
}

.home-category-card__subs a {
  padding: 3px 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #5d5566;
  font-size: 8px;
  line-height: 1.5;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.home-category-card__subs a:hover {
  border-color: var(--purple);
  color: var(--purple);
  background: #f5f1fc;
}

.home-category-card__subs b {
  color: var(--purple);
  font-size: 7px;
}

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

.home-site-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--white);
}

.home-site-card:first-child {
  border-top: 4px solid var(--yellow);
  padding-top: 23px;
}

.home-site-card__rank {
  color: var(--coral);
  font: 700 17px Georgia, serif;
}

.home-site-card h3 {
  min-height: 48px;
  margin: 12px 0 8px;
  font-size: 15px;
  line-height: 1.55;
}

.home-site-card h3 a span {
  margin-left: 6px;
  color: var(--purple);
  font-size: 10px;
}

.home-site-card h3 a:hover {
  color: var(--purple);
  text-decoration: underline;
}

.home-site-card > p {
  min-height: 78px;
  margin: 0;
  padding: 13px;
  background: var(--soft);
  color: #6a636e;
  font-size: 9px;
  line-height: 1.75;
}

.home-card-footer {
  margin-top: 17px;
  display: grid;
  gap: 14px;
}

.home-card-footer dl {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.home-card-footer dl > div {
  display: grid;
  gap: 3px;
}

.home-card-footer dt {
  color: #99929c;
  font-size: 7px;
}

.home-card-footer dd {
  margin: 0;
  font-size: 12px;
  font-weight: 900;
}

.home-card-footer button {
  min-height: 36px;
  border: 1px solid #f1c9ce;
  background: #fff7f8;
  color: #d13a45;
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
}

.home-card-footer button:hover {
  border-color: var(--coral);
  background: var(--coral);
  color: var(--white);
}

.home-join {
  margin-block: 76px;
  padding: 42px 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr auto;
  align-items: center;
  gap: 46px;
  background: #30283b;
  color: var(--white);
}

.home-join span {
  color: #d4c1f2;
}

.home-join h2 {
  font-size: 25px;
}

.home-join p {
  margin: 0;
  color: #d8d2dd;
  font-size: 10px;
  line-height: 1.8;
}

.home-join > a {
  min-width: 175px;
  min-height: 46px;
  padding-inline: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
}

/* Registration page */
.form-page,
.dashboard-page {
  padding-block: 22px 82px;
}

.form-intro {
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.form-intro h1,
.dashboard-hero h1 {
  margin: 7px 0 10px;
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.form-intro > p,
.dashboard-hero > div > p {
  margin: 0;
  color: #706975;
  font-size: 11px;
}

.step-list {
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}

.step-list li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #9b949f;
  font-size: 9px;
  font-weight: 800;
}

.step-list li::after {
  content: "";
  height: 1px;
  flex: 1;
  margin-right: 14px;
  background: var(--line);
}

.step-list li:last-child::after {
  display: none;
}

.step-list b {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.step-list li.active {
  color: var(--purple);
}

.step-list li.active b {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--white);
}

.form-layout {
  padding-top: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 34px;
  align-items: start;
}

.registration-form {
  display: grid;
  gap: 18px;
}

.form-section {
  padding: 28px 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.form-section__heading {
  margin-bottom: 24px;
  padding-bottom: 17px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.form-section__heading > span {
  color: var(--coral);
  font: 700 19px Georgia, serif;
}

.form-section__heading h2 {
  margin: 0;
  font-size: 17px;
}

.form-section__heading p {
  margin: 4px 0 0;
  color: #8b848f;
  font-size: 9px;
}

.field-list {
  display: grid;
  gap: 20px;
}

.field-list label,
.category-allocation label,
.code-field {
  display: grid;
  gap: 8px;
  color: #554f59;
  font-size: 10px;
  font-weight: 800;
}

.field-list label > span b {
  margin-left: 6px;
  padding: 3px 6px;
  background: #fff0f1;
  color: var(--coral);
  font-size: 7px;
}

.field-list input,
.field-list textarea,
.category-allocation select,
.code-field textarea {
  width: 100%;
  border: 1px solid #d8d3da;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 11px;
}

.field-list input,
.category-allocation select {
  height: 44px;
  padding-inline: 13px;
}

.field-list textarea,
.code-field textarea {
  padding: 12px 13px;
  resize: vertical;
  line-height: 1.7;
}

.field-list input:focus,
.field-list textarea:focus,
.category-allocation select:focus {
  border-color: var(--purple);
  outline: 3px solid rgba(117, 66, 200, 0.12);
}

.field-list label > small {
  color: #918a95;
  font-size: 8px;
  font-weight: 500;
}

.category-allocation {
  display: grid;
  gap: 12px;
}

.category-allocation > div {
  padding: 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 14px;
  background: var(--soft);
}

.category-allocation label:last-child {
  position: relative;
}

.category-allocation label:last-child span {
  position: absolute;
  right: 12px;
  bottom: 13px;
}

.category-allocation > button {
  min-height: 38px;
  border: 1px dashed #cfc8d6;
  background: var(--white);
  color: var(--purple);
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
}

.category-allocation > p {
  margin: 2px 0 0;
  text-align: right;
  color: #7e7782;
  font-size: 9px;
}

.category-allocation > p strong {
  margin-left: 6px;
  color: var(--purple);
  font-size: 13px;
}

.form-submit {
  padding: 30px;
  display: grid;
  place-items: center;
  gap: 18px;
  background: var(--soft);
}

.form-submit label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
}

.form-submit button {
  width: min(100%, 330px);
  min-height: 50px;
  padding-inline: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: var(--purple);
  color: var(--white);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.form-submit > p {
  margin: 0;
  color: #96909a;
  font-size: 8px;
}

.join-aside {
  position: sticky;
  top: 130px;
  display: grid;
  gap: 16px;
}

.join-aside section {
  padding: 23px;
  border: 1px solid var(--line);
}

.join-aside section > span,
.dashboard-nav > span,
.dashboard-panel__heading > div > span {
  color: var(--purple);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.join-aside h2 {
  margin: 6px 0 14px;
  font-size: 15px;
}

.join-aside ul,
.join-aside ol {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  color: #716a75;
  font-size: 9px;
}

.join-aside ul li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--purple);
  font-weight: 900;
}

.join-aside__accent {
  border: 0 !important;
  background: #30283b;
  color: var(--white);
}

.join-aside__accent > span {
  color: #d2bff0 !important;
}

.join-aside__accent ol {
  color: #ded9e2;
}

.join-aside__accent li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.join-aside__accent li b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #d2bff0;
  font-size: 8px;
}

/* My page */
.dashboard-hero {
  padding: 34px 0 36px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.site-status {
  min-width: 280px;
  padding: 17px 19px;
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.site-status > span,
.setup-badge {
  width: fit-content;
  padding: 3px 7px;
  background: #e9f8ef;
  color: #27844a;
  font-size: 7px;
  font-weight: 900;
}

.site-status strong {
  font-size: 12px;
}

.site-status a {
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
}

.dashboard-layout {
  padding-top: 32px;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.dashboard-nav {
  position: sticky;
  top: 130px;
  padding: 20px;
  border: 1px solid var(--line);
}

.dashboard-nav nav {
  margin-top: 10px;
  display: grid;
  border-top: 1px solid var(--line);
}

.dashboard-nav nav a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #69626d;
  font-size: 9px;
  font-weight: 800;
}

.dashboard-nav nav a:hover,
.dashboard-nav nav a.active {
  color: var(--purple);
}

.dashboard-nav__logout {
  margin-top: 18px;
  display: block;
  color: #9a939e;
  font-size: 8px;
}

.dashboard-main {
  display: grid;
  gap: 18px;
}

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

.stats-grid article {
  position: relative;
  padding: 19px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
}

.stat-dot {
  position: absolute;
  width: 36px;
  height: 36px;
  top: -14px;
  right: -10px;
  border-radius: 50%;
  background: var(--purple);
  opacity: 0.14;
}

.stat-dot--2 { background: var(--coral); }
.stat-dot--3 { background: var(--yellow); }
.stat-dot--4 { background: #28a56a; }

.stats-grid article p {
  margin: 0;
  color: #8d8691;
  font-size: 8px;
}

.stats-grid article strong {
  margin-top: 7px;
  display: block;
  font-size: 22px;
}

.stats-grid article strong small {
  font-size: 8px;
}

.stats-grid article > span:last-child {
  margin-top: 5px;
  display: block;
  color: #9b949f;
  font-size: 7px;
}

.dashboard-panel {
  padding: 25px;
  border: 1px solid var(--line);
  background: var(--white);
}

.dashboard-panel__heading {
  margin-bottom: 18px;
  padding-bottom: 15px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.dashboard-panel__heading h2 {
  margin: 4px 0 0;
  font-size: 17px;
}

.dashboard-panel__heading > small {
  color: #98919b;
  font-size: 8px;
}

.dashboard-panel__heading > button {
  padding: 7px 11px;
  border: 1px solid var(--purple);
  background: var(--white);
  color: var(--purple);
  cursor: pointer;
  font-size: 8px;
  font-weight: 900;
}

.ranking-table {
  display: grid;
  font-size: 9px;
}

.ranking-table > div {
  min-height: 52px;
  padding-inline: 12px;
  display: grid;
  grid-template-columns: minmax(180px, 1.7fr) repeat(4, minmax(74px, 0.65fr));
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}

.ranking-table__head {
  min-height: 34px !important;
  background: var(--soft);
  color: #817a85;
  font-size: 7px;
  font-weight: 900;
}

.ranking-table b {
  color: var(--purple);
  font-size: 12px;
}

.ranking-table b small {
  color: #9a939d;
  font-size: 7px;
  font-weight: 500;
}

.registered-info {
  margin: 0;
  display: grid;
}

.registered-info > div {
  min-height: 48px;
  padding: 10px 4px;
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}

.registered-info dt {
  color: #8f8893;
  font-size: 8px;
}

.registered-info dd {
  margin: 0;
  color: #57515b;
  font-size: 9px;
  line-height: 1.7;
}

.panel-description {
  margin: 0 0 15px;
  color: #716a75;
  font-size: 9px;
  line-height: 1.75;
}

.code-field textarea {
  background: var(--soft);
  color: #5d5661;
  font-family: Consolas, monospace;
  font-size: 9px;
}

.link-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.link-actions button {
  min-height: 35px;
  padding-inline: 13px;
  border: 0;
  background: var(--purple);
  color: var(--white);
  cursor: pointer;
  font-size: 8px;
  font-weight: 900;
}

.link-actions a {
  color: var(--purple);
  font-size: 8px;
  font-weight: 900;
}

.settings-panel > div:last-child {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.settings-panel > div:last-child > a {
  min-height: 88px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
}

.settings-panel a > span {
  display: grid;
  gap: 5px;
}

.settings-panel a strong {
  font-size: 9px;
}

.settings-panel a small {
  color: #918a95;
  font-size: 7px;
  line-height: 1.5;
}

.settings-panel a > b {
  color: var(--purple);
}

.settings-panel a:hover {
  border-color: var(--purple) !important;
}

@media (max-width: 900px) {
  .category-directory-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .category-directory-hero dl {
    width: 100%;
  }

  .category-directory-grid {
    grid-template-columns: 1fr;
  }

  .home-hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-hero__summary {
    max-width: 460px;
  }

  .home-category-grid,
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-join {
    grid-template-columns: 1fr 1fr;
  }

  .home-join > a {
    grid-column: 1 / -1;
  }

  .form-layout,
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .join-aside {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-nav {
    position: static;
  }

  .dashboard-nav nav {
    grid-template-columns: repeat(5, auto);
    overflow-x: auto;
  }

  .dashboard-nav nav a {
    padding-inline: 12px;
    white-space: nowrap;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ranking-table {
    overflow-x: auto;
  }

  .ranking-table > div {
    min-width: 700px;
  }
}

@media (max-width: 640px) {
  .ranking-category-navigation__heading,
  .subcategory-panel__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-directory-page {
    padding-block: 18px 60px;
  }

  .category-directory-hero {
    padding: 34px 24px;
  }

  .category-directory-hero h1 {
    font-size: 34px;
  }

  .category-directory-hero dl {
    min-width: 0;
    padding: 16px;
    gap: 10px;
  }

  .category-directory-hero dd {
    font-size: 18px;
  }

  .category-directory-search {
    padding: 22px 18px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-directory-search form {
    flex-wrap: wrap;
  }

  .category-directory-search form > a {
    width: 100%;
    min-height: 36px;
  }

  .category-directory-results__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-directory-card > header,
  .category-directory-card > p {
    padding-inline: 18px;
  }

  .category-directory-card ul {
    padding-inline: 18px;
    grid-template-columns: 1fr;
  }

  .footer-inner nav {
    gap: 12px;
  }

  .home-hero__inner {
    min-height: 0;
    padding-block: 52px;
  }

  .home-hero__copy h1 {
    font-size: 42px;
  }

  .home-hero__copy > p {
    font-size: 11px;
  }

  .home-search {
    flex-direction: column;
  }

  .home-search input,
  .home-search button {
    width: 100%;
    min-height: 50px;
  }

  .home-section {
    padding-block: 56px;
  }

  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-category-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .home-category-card__head {
    min-height: 78px;
  }

  .home-category-card__subs {
    padding: 0 16px 14px;
  }

  .home-site-card h3,
  .home-site-card > p {
    min-height: 0;
  }

  .home-join {
    margin-block: 56px;
    padding: 30px 24px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-join > a {
    grid-column: auto;
  }

  .form-intro h1,
  .dashboard-hero h1 {
    font-size: 30px;
  }

  .step-list li span {
    display: none;
  }

  .form-section {
    padding: 22px 17px;
  }

  .category-allocation > div {
    grid-template-columns: 1fr;
  }

  .join-aside {
    grid-template-columns: 1fr;
  }

  .dashboard-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-status {
    width: 100%;
    min-width: 0;
  }

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

  .dashboard-panel {
    padding: 20px 15px;
  }

  .dashboard-panel__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .registered-info > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .settings-panel > div:last-child {
    grid-template-columns: 1fr;
  }

  .link-actions {
    align-items: stretch;
    flex-direction: column;
  }
}
