:root {
  --ink: #111827;
  --muted: #6b7d92;
  --blue: #2f72d6;
  --cyan: #50c9eb;
  --line: #e5edf7;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: #f7f9fc;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

.directory {
  width: min(1180px, calc(100% - 32px));
  min-height: 420px;
  margin: 40px auto 72px;
  padding: clamp(34px, 5vw, 66px);
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.985);
  border: 1px solid rgba(66, 116, 185, 0.12);
  border-radius: 34px;
  box-shadow: 0 25px 70px rgba(28, 68, 126, 0.13);
}

.section-tabs {
  position: relative;
  isolation: isolate;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 38px;
  padding: 6px;
  display: flex;
  gap: 6px;
  background: #f1f6fc;
  border: 1px solid #e1ebf6;
  border-radius: 17px;
}

.section-tabs::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 6px;
  bottom: 6px;
  left: 6px;
  width: calc((100% - 24px) / 3);
  border-radius: 12px;
  background: linear-gradient(120deg, #2f6fde, #4bc8e7);
  box-shadow: 0 8px 20px rgba(46, 122, 213, 0.2);
  transform: translateX(calc(var(--active-tab, 0) * (100% + 6px)));
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1);
  pointer-events: none;
}

.section-tabs[data-visible-tabs="2"]::before {
  width: calc((100% - 18px) / 2);
}

.section-tab[hidden] {
  display: none;
}

.section-tab {
  flex: 1 1 0;
  min-width: 128px;
  padding: 12px 18px;
  border: 0;
  border-radius: 12px;
  color: #6b7d92;
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  transition: color 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .section-tab:hover:not(.is-active) { color: #2f72d6; }
}

.section-tab.is-active {
  color: #ffffff;
}

.section-tab:focus-visible {
  outline: 3px solid #50c9eb;
  outline-offset: 3px;
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel:not([hidden]) { animation: section-in 220ms ease-out; }
@keyframes section-in {
  from { opacity: .65; }
  to { opacity: 1; }
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid #dce9f6;
  border-radius: 24px;
  background: linear-gradient(145deg, #f8fbff, #edf6ff);
}

.about-character {
  margin: 0;
  position: static;
  text-align: center;
}

.about-character img {
  width: min(100%, 360px);
  max-height: 720px;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(29, 73, 130, 0.18));
}

.about-character figcaption {
  margin-top: 10px;
  color: #5d7390;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.about-story {
  min-width: 0;
}

.about-story h2 {
  margin: 0;
  color: #172d4d;
  font-size: clamp(25px, 4vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.about-story__text {
  margin-top: 22px;
}

.about-story__text p {
  margin: 0 0 15px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.about-story__text .about-story__emphasis {
  color: #2474d5;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.story-accent {
  font-weight: 900;
}

.story-accent--blue {
  color: #2474d5;
}

.story-accent--red {
  color: #c92d4a;
}

.story-accent--gold {
  color: #c17b18;
}

.about-story__text .about-story__ending {
  margin-top: 24px;
  color: #c92d4a;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.mascots-head {
  margin-bottom: 28px;
}

.mascots-head h2 {
  margin: 0;
  color: #172d4d;
  font-size: clamp(25px, 4vw, 38px);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.mascots-head p:last-child {
  max-width: 620px;
  margin: 15px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.mascot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.mascot-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  min-height: 230px;
  padding: 18px 18px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #dce9f6;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(45, 77, 124, 0.08);
}

.mascot-art {
  position: relative;
  display: block;
  flex: none;
  width: min(100%, 260px);
  aspect-ratio: 1;
  overflow: hidden;
}

.mascot-art img {
  position: absolute;
  display: block;
  width: var(--art-width, 100%);
  max-width: none;
  height: auto;
  left: var(--art-left, 0%);
  top: var(--art-top, 0%);
}

.mascot-card > span:not(.mascot-art) {
  max-width: 100%;
  margin: 16px 0 2px;
  color: #266bbf;
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

/* Each name follows the colors of its character. */
.mascot-card[data-mascot="1"], .mascot-dialog[data-mascot="1"] {
  --profile-tint: #edf8ff;
  --profile-border: #c5e5f5;
  --name-color: #1e62bf;
  --name-highlight: #27c7df;
  --name-accent: #2487df;
  --name-duration: 3.2s;
  --name-delay: -0.8s;
}
.mascot-card[data-mascot="2"], .mascot-dialog[data-mascot="2"] {
  --profile-tint: #fff8e8;
  --profile-border: #efdcab;
  --name-color: #c48927;
  --name-highlight: #f0bd43;
  --name-accent: #db9c30;
  --name-duration: 3.6s;
  --name-delay: -2s;
}
.mascot-card[data-mascot="3"], .mascot-dialog[data-mascot="3"] {
  --profile-tint: #fff0f2;
  --profile-border: #efcdd3;
  --name-color: #283449;
  --name-highlight: #e64658;
  --name-accent: #a9344d;
  --name-duration: 3.4s;
  --name-delay: -0.4s;
}
.mascot-card[data-mascot="6"], .mascot-dialog[data-mascot="6"] {
  --profile-tint: #fff0f8;
  --profile-border: #f4c9df;
  --name-color: #d12c85;
  --name-highlight: #edb33b;
  --name-accent: #ef68a7;
  --name-duration: 3.8s;
  --name-delay: -2.4s;
}
.mascot-card[data-mascot="7"], .mascot-dialog[data-mascot="7"] {
  --profile-tint: #fff3e9;
  --profile-border: #eed6c3;
  --name-color: #c9754c;
  --name-highlight: #efa361;
  --name-accent: #dc8a5b;
  --name-duration: 4s;
  --name-delay: -1.2s;
}
.mascot-card > span:not(.mascot-art), .mascot-dialog #mascot-name {
  color: var(--name-color, #266bbf);
  text-transform: uppercase;
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .mascot-card > span:not(.mascot-art), .mascot-dialog #mascot-name {
    background-image: linear-gradient(110deg, var(--name-color, #266bbf) 0%, var(--name-accent, #2487df) 22%, var(--name-highlight, #27c7df) 40%, var(--name-highlight, #27c7df) 48%, var(--name-accent, #2487df) 66%, var(--name-color, #266bbf) 100%);
    background-size: 200% 100%;
    background-position: 0% 50%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: mascot-name-shimmer var(--name-duration, 3.6s) ease-in-out var(--name-delay, 0s) infinite alternate;
  }
}
@keyframes mascot-name-shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
.page-hidden .mascot-card > span:not(.mascot-art),
.page-hidden .mascot-dialog #mascot-name,
.mascot-modal-open .mascot-card > span:not(.mascot-art),
.tab-panel[hidden] .mascot-card > span:not(.mascot-art) {
  animation-play-state: paused;
}
@supports (font-size: 1cqi) {
  .mascot-card { container-type: inline-size; }
  .mascot-card > span:not(.mascot-art) { font-size: clamp(18px, 17cqi, 32px); }
}

.mascot-card { text-align: center; transition: border-color 160ms ease, box-shadow 160ms ease; }
.mascot-card:hover { border-color: #a9c8ed; box-shadow: 0 14px 34px rgba(45, 77, 124, 0.15); }
.mascot-card:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
html.mascot-modal-open { overflow: hidden; }
.mascot-dialog {
  width: min(560px, calc(100% - 28px));
  max-height: 90vh;
  max-height: 90dvh;
  padding: 0;
  border: 1px solid var(--profile-border, #dce9f6);
  border-radius: 28px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 28px 90px rgba(17, 42, 82, 0.3);
  overflow: auto;
  overscroll-behavior: contain;
}
.mascot-dialog::backdrop { background: rgba(16, 35, 61, 0.55); }
.mascot-dialog[open] { animation: mascot-dialog-in 280ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.mascot-dialog[open]::backdrop { animation: mascot-backdrop-in 280ms ease-out both; }
.mascot-dialog[open].is-closing { animation: mascot-dialog-out 180ms ease-in both; pointer-events: none; }
.mascot-dialog[open].is-closing::backdrop { animation: mascot-backdrop-out 180ms ease-in both; }
@keyframes mascot-dialog-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(6px) scale(.985); }
}
@keyframes mascot-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes mascot-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mascot-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.mascot-dialog__close {
  position: sticky; top: 14px; z-index: 1;
  display: grid; place-items: center; padding: 0; appearance: none; margin: 14px 14px -58px auto;
  width: 44px; height: 44px;
  border: 1px solid #dce9f6; border-radius: 50%;
  background: #fff; color: #284e7d; font-size: 30px; line-height: 1;
}
.mascot-dialog__close svg { display: block; pointer-events: none; }
.mascot-dialog__close:hover { background: #edf5ff; }
.mascot-dialog__close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.mascot-dialog__layout { display: grid; grid-template-columns: minmax(0, 1fr); }
.mascot-dialog__portrait {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 60px 28px 8px;
}
.mascot-dialog__portrait .mascot-art { width: min(100%, 340px); }
.mascot-dialog__copy {
  min-width: 0;
  width: 100%;
  max-width: 440px;
  padding: 18px 32px 32px;
  justify-self: center;
  text-align: center;
}
.mascot-dialog__copy h2 { margin: 10px 0 22px; font-size: clamp(36px, 4.2vw, 52px); font-weight: 900; line-height: 1.12; letter-spacing: -0.035em; overflow-wrap: anywhere; }
.mascot-dialog[open] .mascot-dialog__portrait .mascot-art,
.mascot-dialog[open] .mascot-dialog__copy { animation: mascot-detail-in 420ms cubic-bezier(.22, 1, .36, 1) both; }
@keyframes mascot-detail-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .mascot-dialog__portrait { padding: 54px 24px 8px; }
  .mascot-dialog__portrait .mascot-art { width: min(100%, 260px); }
  .mascot-dialog__copy { padding: 18px 24px 28px; }
  .mascot-dialog__copy h2 { margin: 8px 0 22px; font-size: clamp(32px, 9vw, 44px); }
}

.directory__head {
  margin-bottom: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  container-type: inline-size;
}

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

.eyebrow,
.partner-card__category {
  margin: 0 0 9px;
  color: #2474d5;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.17em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 30px;
  font-size: clamp(22px, 3.15cqi, 34px);
  letter-spacing: -0.04em;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.intro {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.result-count {
  margin: 0;
  justify-self: end;
  color: var(--muted);
  font-size: 14px;
}

.result-count strong {
  color: #284e7d;
}

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

.partner-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 12px 34px rgba(45, 77, 124, 0.07);
  animation: card-in 240ms ease-out both;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.partner-card[hidden] {
  display: none;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--partner-accent) 58%, white);
  box-shadow: 0 20px 44px rgba(45, 77, 124, 0.14);
}

.partner-card.is-featured {
  border-color: color-mix(in srgb, var(--partner-accent) 62%, white);
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.partner-card__visual {
  min-height: 224px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #dfe8f5, #f7fbff);
}

.partner-card__visual::after {
  width: 240px;
  height: 240px;
  position: absolute;
  right: -110px;
  bottom: -140px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(255, 255, 255, 0.035);
}

.partner-card__logo {
  width: 100%;
  height: 100%;
  padding: 34px;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
}

.partner-card__logo img {
  width: auto;
  height: auto;
  max-width: 84%;
  max-height: 68%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 13px 24px rgba(21, 43, 82, 0.14));
}

.partner-card[data-partner-theme="makeship"] .partner-card__visual {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(135deg, #d8d2ff 0%, #f9f8ff 48%, #beb5ff 100%);
}

.partner-card[data-partner-theme="makeship"] .partner-card__logo img {
  max-width: 86%;
  max-height: 62%;
}

.partner-card[data-partner-theme="youtooz"] .partner-card__visual {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #ffe993 0%, #ffd6eb 52%, #bdeeff 100%);
}

.partner-card[data-partner-theme="youtooz"] .partner-card__logo img {
  max-width: 88%;
  max-height: 66%;
}

.partner-card[data-partner-theme="juniper"] .partner-card__visual::after {
  display: none;
}

.partner-card[data-partner-theme="juniper"] .partner-card__logo {
  padding: 0;
}

.partner-card[data-partner-theme="juniper"] .partner-card__logo img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  filter: none;
}

.partner-card__initials {
  width: 106px;
  height: 106px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #17325f;
  background: rgba(255, 255, 255, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 31px;
  box-shadow: 0 16px 42px rgba(17, 42, 82, 0.21);
  font-size: 33px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.partner-card__badge {
  padding: 8px 11px;
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  color: #164777;
  background: rgba(255, 255, 255, 0.93);
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(16, 48, 92, 0.13);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.partner-card__body {
  padding: 24px;
}

.partner-card__category {
  margin-bottom: 7px;
  font-size: 10px;
}

.partner-card h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.037em;
  line-height: 1.12;
}

.partner-card__sells {
  margin: 9px 0 0;
  color: #25466d;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.45;
}

.partner-card__footer {
  min-height: 48px;
  margin-top: 22px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.promo {
  margin: 0;
  display: grid;
  gap: 3px;
  color: #718096;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promo strong {
  color: #17233b;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.visit {
  min-height: 44px;
  padding: 0 16px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #ffffff;
  background: linear-gradient(120deg, #2f6fde, #4bc8e7);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(46, 122, 213, 0.21);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.visit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(46, 122, 213, 0.31);
}

.visit.is-disabled {
  color: #748399;
  background: #eef3f8;
  box-shadow: none;
  cursor: default;
}

.empty-state {
  margin: 0;
  padding: 48px 24px;
  color: var(--muted);
  background: #f3f7fb;
  border: 1px dashed #cbd9e8;
  border-radius: 22px;
  text-align: center;
}

.empty-state:not([hidden]) {
  min-height: 220px;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1.5;
}

.disclosure {
  max-width: 760px;
  margin: 35px auto 0;
  color: #8a98aa;
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

/* Creator links */
.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease;
}

.contact-link:hover {
  border-color: #a9c8ed;
  background: #f8fbff;
}

.contact-link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.contact-link__icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #edf5ff;
  border-radius: 14px;
}

.contact-link__icon--youtube {
  color: #df3030;
  background: #fff1f1;
}

.contact-link__text { min-width: 0; }

.contact-link__label {
  display: block;
  margin-bottom: 6px;
  color: #60748c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.4;
}

.contact-link strong {
  display: block;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.contact-link__arrow {
  margin-left: auto;
  color: var(--blue);
  flex: 0 0 auto;
}

@media (max-width: 860px) {
  .contact-links { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .contact-link { padding: 16px 12px; gap: 10px; }
  .contact-link__icon { width: 38px; height: 38px; border-radius: 12px; }
  .contact-link strong { font-size: 14px; }
}

@media (max-width: 980px) {
  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .directory {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 31px 20px;
    border-radius: 25px;
  }

  .directory__head {
    margin-bottom: 25px;
    gap: 14px;
  }

  .section-tabs {
    width: 100%;
    margin-bottom: 28px;
  }

  .section-tab {
    min-width: 0;
    flex: 1;
    min-height: 44px;
    padding-inline: 4px;
    font-size: 10px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  .about-panel {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-character {
    position: static;
  }

  .about-character img {
    width: min(100%, 280px);
    max-height: 520px;
  }

  .mascot-card {
    flex-basis: calc((100% - 18px) / 2);
    min-height: 190px;
    padding: 13px 11px 12px;
    border-radius: 17px;
  }


  .result-count {
    justify-self: start;
  }

  .intro {
    font-size: 15px;
  }

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

  .partner-card__visual {
    min-height: 210px;
  }

}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.mascot-merch {
  position: relative;
  margin-top: 24px;
  padding: 22px 20px;
  border: 1px solid var(--profile-border, #c5e5f5);
  border-radius: 20px;
  background: var(--profile-tint, #edf8ff);
}
.mascot-merch[hidden] { display: none; }
.mascot-merch h3 { margin: 0 0 14px; font-size: 16px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; color: #28425e; }
.mascot-merch__stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mascot-merch__stores[hidden], .mascot-merch__empty[hidden] { display: none; }
.mascot-merch__store { display: grid; place-items: center; width: 112px; height: 64px; max-width: 100%; padding: 10px; box-sizing: border-box; border: 1px solid var(--profile-border, #c5e5f5); border-radius: 14px; background: #fff; box-shadow: 0 4px 12px rgba(45, 77, 124, .06); transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.mascot-merch__store img { display: block; width: 88px; max-width: 100%; height: 32px; object-fit: contain; }
.mascot-merch__store:hover { border-color: var(--name-accent, #2487df); box-shadow: 0 6px 16px rgba(45, 77, 124, .12); transform: translateY(-2px); }
.mascot-merch__store:focus-visible { outline: 2px solid #266bbf; outline-offset: 3px; }
.mascot-merch__empty { margin: 0; color: #60738a; font-size: 14px; line-height: 1.5; }

/* Standalone logo centered above the content panel */
.site-brand {
  width: clamp(116px, 14.4vw, 160px);
  margin: 16px auto 4px;
}

.site-brand__logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-brand + .directory {
  margin-top: 0;
}

/* Flat, seamless waves behind the page content */
body {
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.site-brand {
  position: relative;
  z-index: 1;
}

.ocean-waves {
  position: fixed;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 0;
  height: clamp(160px, 26vh, 290px);
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.ocean-waves__layer {
  position: absolute;
  left: 0;
  bottom: 0;
  display: block;
  width: 200%;
  height: 100%;
  animation: wave-drift 24s linear infinite;
  will-change: transform;
}

.ocean-waves__layer--back {
  opacity: 0.16;
  animation-duration: 38s;
  animation-delay: -9s;
}

.ocean-waves__layer--middle {
  height: 88%;
  opacity: 0.34;
  animation-duration: 30s;
  animation-direction: reverse;
  animation-delay: -17s;
}

.ocean-waves__layer--front {
  height: 72%;
  animation-delay: -6s;
}

@keyframes wave-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .ocean-waves__layer {
    animation: none !important;
    will-change: auto;
  }
}
