:root {
  --deep: #0a5563;
  --deep-ink: #06343e;
  --lagoon: #1498a8;
  --aqua: #6ed0db;
  --foam: #f7fcfd;
  --sand: #f8f1e4;
  --sand-warm: #efe2c8;
  --coral: #e45732;
  --coral-hot: #ff6a42;
  --sun: #ffe7a8;
  --palm: #2d9a72;
  --text: #143a43;
  --text-soft: #4a6f78;
  --line: rgba(6, 52, 62, 0.12);
  --line-strong: rgba(6, 52, 62, 0.2);
  --font-display: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "DM Sans", sans-serif;
  --font-body: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "DM Sans", sans-serif;
  --font-ui: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "DM Sans", sans-serif;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

::selection {
  background: rgba(228, 87, 50, 0.2);
  color: var(--deep-ink);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: #1a7f8c;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(26, 127, 140, 0.18) 0%, rgba(110, 208, 219, 0.22) 45%, rgba(248, 241, 228, 0.35) 100%),
    linear-gradient(90deg, rgba(247, 252, 253, 0.2) 0%, transparent 40%),
    url("../../images/shipwrecked-bg-rift.png") center top / cover no-repeat fixed;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

a {
  color: var(--deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.25s var(--ease);
}

a:hover {
  color: var(--coral);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site {
  position: relative;
  z-index: 2;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem clamp(1.25rem, 4vw, 2.5rem);
  background: rgba(247, 252, 253, 0.8);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 1px 0 rgba(6, 52, 62, 0.04), 0 12px 40px rgba(6, 52, 62, 0.07);
}

.brand {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: center;
  color: var(--deep-ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--deep-ink);
}

.brand-mark {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 4px 12px rgba(6, 52, 62, 0.18);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-mark-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.brand-mark svg {
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
}

.brand-en {
  font-family: var(--font-ui);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a {
  color: var(--text-soft);
  text-decoration: none;
  position: relative;
  padding: 0.2rem 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--coral), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--deep-ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  min-height: calc(100vh - 4.6rem);
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) 1.08fr;
  align-items: stretch;
  overflow: hidden;
  position: relative;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.4rem, 7vw, 5.5rem) clamp(1.6rem, 5vw, 4.2rem);
  max-width: 40rem;
  position: relative;
  z-index: 2;
  background:
    linear-gradient(115deg, rgba(248, 241, 228, 0.94) 0%, rgba(247, 252, 253, 0.86) 62%, rgba(247, 252, 253, 0.55) 100%);
  box-shadow: 12px 0 40px rgba(6, 52, 62, 0.12);
}

.hero-copy::before {
  content: "";
  position: absolute;
  left: clamp(1.2rem, 3vw, 2rem);
  top: clamp(1.8rem, 5vw, 3rem);
  bottom: clamp(1.8rem, 5vw, 3rem);
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--coral), var(--aqua), transparent);
  opacity: 0.7;
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.9), transparent);
}

.hero-kicker {
  margin: 0 0 1.1rem;
  padding-left: 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lagoon);
}

.hero-brand {
  margin: 0 0 1.35rem;
  padding-left: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6.2vw, 4.55rem);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--deep-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-title {
  margin: 0 0 1.05rem;
  padding-left: 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  line-height: 1.35;
  color: var(--deep);
  max-width: 18em;
}

.hero-title em {
  font-style: normal;
  color: var(--coral);
  background: linear-gradient(180deg, transparent 62%, rgba(228, 87, 50, 0.16) 62%);
}

.hero-lead {
  margin: 0 0 2.1rem;
  padding-left: 0.9rem;
  color: var(--text-soft);
  font-size: 1.04rem;
  max-width: 28rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  padding-left: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.95rem;
  padding: 0.72rem 1.45rem;
  font-family: var(--font-ui);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 8px;
  transition: transform 0.28s var(--ease), background 0.28s var(--ease), border-color 0.28s var(--ease), color 0.28s var(--ease), box-shadow 0.28s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #e45732 0%, #f17845 55%, #ff8f5c 100%);
  color: #fffaf7;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 12px 28px rgba(228, 87, 50, 0.3);
}

.btn-primary:hover {
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 16px 34px rgba(228, 87, 50, 0.38);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  color: var(--deep-ink);
  border-color: rgba(6, 52, 62, 0.14);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  border-color: rgba(20, 152, 168, 0.45);
  color: var(--deep);
  background: rgba(255, 255, 255, 0.88);
}

.hero-visual {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  background: #1f8fa0;
}

.hero-visual .scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  animation: slow-pan 22s ease-in-out infinite alternate;
}

.hero-visual .scene-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 241, 228, 0.42) 0%, transparent 32%),
    linear-gradient(180deg, rgba(40, 120, 110, 0.08) 0%, transparent 40%, rgba(6, 52, 62, 0.28) 100%),
    radial-gradient(ellipse 40% 35% at 78% 18%, rgba(120, 255, 210, 0.12), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-visual .portrait {
  position: absolute;
  right: 2%;
  bottom: 0;
  width: min(42%, 320px);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 36px rgba(6, 52, 62, 0.4));
  animation: floaty 5.8s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}

@keyframes slow-pan {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

.wave-break {
  display: block;
  width: 100%;
  height: clamp(48px, 8vw, 88px);
  margin-top: -1px;
  color: rgba(247, 252, 253, 0.92);
  filter: drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.5));
}

.wave-break svg {
  display: block;
  width: 100%;
  height: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.95s var(--ease) forwards;
}

.reveal-delay-1 { animation-delay: 0.1s; }
.reveal-delay-2 { animation-delay: 0.2s; }
.reveal-delay-3 { animation-delay: 0.32s; }
.reveal-delay-4 { animation-delay: 0.44s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

@keyframes drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes wave {
  0%, 100% { transform: translateY(0) scaleX(1); }
  50% { transform: translateY(-9px) scaleX(1.035); }
}

.section {
  padding: clamp(3.2rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem) clamp(4rem, 8vw, 6rem);
  max-width: var(--max);
  margin: 0 auto;
}

.section-head {
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.section-ornament {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: var(--lagoon);
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-ornament::before,
.section-ornament::after {
  content: "";
  height: 1px;
  width: 2rem;
  background: linear-gradient(90deg, var(--coral), var(--aqua));
  opacity: 0.7;
}

.section-ornament::before {
  background: linear-gradient(90deg, transparent, var(--coral));
}

.section-ornament::after {
  background: linear-gradient(90deg, var(--aqua), transparent);
}

.section-head h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 700;
  letter-spacing: 0;
  color: var(--deep-ink);
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
}

.entry-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(180deg, rgba(247, 252, 253, 0.88), rgba(248, 241, 228, 0.55));
  backdrop-filter: blur(10px);
  border-radius: var(--radius);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 50px rgba(6, 52, 62, 0.1);
}

.entry-list li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}

.entry-list li.is-in {
  opacity: 1;
  transform: none;
}

.entry-list li:nth-child(2) { transition-delay: 0.06s; }
.entry-list li:nth-child(3) { transition-delay: 0.12s; }
.entry-list li:nth-child(4) { transition-delay: 0.18s; }

.entry-list a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem 1.35rem;
  align-items: baseline;
  padding: 1.25rem 1.05rem;
  margin: 0.15rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.entry-list a:hover {
  color: inherit;
  background: linear-gradient(100deg, rgba(110, 208, 219, 0.28), rgba(248, 241, 228, 0.55));
}

.entry-tag {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lagoon);
  min-width: 3.4rem;
  padding-top: 0.28rem;
}

.entry-title {
  font-family: var(--font-display);
  font-size: 1.32rem;
  letter-spacing: 0;
  color: var(--deep-ink);
}

.entry-desc {
  grid-column: 2 / 3;
  margin: 0.18rem 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.entry-arrow {
  font-family: var(--font-ui);
  color: var(--coral);
  font-size: 1.1rem;
  transition: transform 0.28s var(--ease);
  align-self: center;
}

.entry-list a:hover .entry-arrow {
  transform: translateX(5px);
}

/* Homepage archive panel — matches equipment infobox teal */
.section-archive {
  margin: 0 auto 2.5rem;
  padding: clamp(2rem, 5vw, 2.75rem) clamp(1.25rem, 4vw, 2rem) clamp(2.2rem, 5vw, 3rem);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(165deg, rgba(6, 52, 62, 0.96), rgba(10, 85, 99, 0.92));
  border: 1px solid rgba(110, 208, 219, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 22px 50px rgba(6, 52, 62, 0.28);
}

.section-archive .section-ornament {
  color: var(--aqua);
}

.section-archive .section-ornament::before {
  background: linear-gradient(90deg, transparent, var(--sun));
}

.section-archive .section-ornament::after {
  background: linear-gradient(90deg, var(--aqua), transparent);
}

.section-archive .section-head h2 {
  color: #fff;
}

.section-archive .section-head p {
  color: rgba(247, 252, 253, 0.72);
}

.section-archive .entry-list {
  border: 1px solid rgba(110, 208, 219, 0.22);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.section-archive .entry-list a {
  color: var(--foam);
}

.section-archive .entry-list a:hover {
  color: var(--foam);
  background: linear-gradient(100deg, rgba(110, 208, 219, 0.22), rgba(247, 252, 253, 0.06));
}

.section-archive .entry-tag {
  color: var(--sun);
}

.section-archive .entry-title {
  color: #fff;
}

.section-archive .entry-desc {
  color: rgba(174, 223, 228, 0.88);
}

.section-archive .entry-arrow {
  color: var(--aqua);
}

.page {
  padding: clamp(2.3rem, 5.5vw, 3.6rem) clamp(1.35rem, 4vw, 2.6rem) 3.4rem;
  max-width: 820px;
  margin: 1.75rem auto 2.5rem;
  background:
    linear-gradient(165deg, rgba(247, 252, 253, 0.94), rgba(248, 241, 228, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: calc(var(--radius) + 2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 60px rgba(6, 52, 62, 0.12);
  position: relative;
}

.page::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(20, 152, 168, 0.12);
  border-radius: 6px;
  pointer-events: none;
}

.page.page-wide {
  max-width: min(1120px, calc(100% - 1.5rem));
}

.meta-table.tier-table th:first-child,
.meta-table.tier-table td:first-child {
  min-width: 7.5rem;
  white-space: nowrap;
}

.page-hero {
  display: grid;
  gap: 1.75rem;
  margin-bottom: 2.2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.page-hero.has-art {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 250px);
  align-items: end;
}

.page-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--lagoon);
}

.page h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.15rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--deep-ink);
}

.page-lead {
  margin: 0;
  color: var(--text-soft);
}

.page-art {
  justify-self: end;
  width: min(100%, 250px);
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 231, 168, 0.45), transparent 55%),
    radial-gradient(circle at 50% 60%, rgba(110, 208, 219, 0.4), transparent 65%);
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.page-art img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(6, 52, 62, 0.25));
}

.page h2 {
  margin: 2.3rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
  font-weight: 600;
  color: var(--deep);
  position: relative;
  z-index: 1;
}

.page p,
.page li,
.page table {
  position: relative;
  z-index: 1;
}

.page ul {
  padding-left: 1.15rem;
}

.page li + li {
  margin-top: 0.4rem;
}

.meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
}

.meta-table th,
.meta-table td {
  padding: 0.85rem 0.55rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.meta-table tr:hover td,
.meta-table tr:hover th {
  background: rgba(110, 208, 219, 0.1);
}

.meta-table th {
  width: 34%;
  color: var(--text-soft);
  font-weight: 500;
  font-family: var(--font-ui);
  font-size: 0.88rem;
}

.quote {
  margin: 1.4rem 0 1.8rem;
  padding: 1rem 1rem 1rem 1.15rem;
  border-left: 3px solid var(--coral);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.45;
  background: linear-gradient(90deg, rgba(228, 87, 50, 0.08), transparent 70%);
  border-radius: 0 8px 8px 0;
  position: relative;
  z-index: 1;
}

.page code {
  font-family: var(--font-ui);
  font-size: 0.88em;
  padding: 0.12em 0.4em;
  border-radius: 5px;
  color: var(--deep-ink);
  background: rgba(10, 85, 99, 0.08);
  border: 1px solid rgba(6, 52, 62, 0.1);
}

.page pre {
  margin: 0.9rem 0 1.1rem;
  padding: 0.95rem 1.05rem;
  overflow-x: auto;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(6, 52, 62, 0.92), rgba(10, 85, 99, 0.88));
  border: 1px solid rgba(110, 208, 219, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.page pre code {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--foam);
  font-size: 0.86rem;
  line-height: 1.55;
  white-space: pre;
}

.equip-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  margin: 0 0 1.6rem;
  padding: 0.95rem 1.05rem;
  list-style: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(110, 208, 219, 0.16), rgba(247, 252, 253, 0.55));
  border: 1px solid var(--line);
  position: relative;
  z-index: 1;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}

.equip-toc a {
  color: var(--deep);
  text-decoration: none;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(247, 252, 253, 0.75);
  border: 1px solid rgba(6, 52, 62, 0.1);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.equip-toc a:hover {
  color: var(--coral);
  border-color: rgba(228, 87, 50, 0.35);
  background: #fff;
}

.equip-entry {
  margin-bottom: 0.4rem;
  scroll-margin-top: 5.5rem;
}

.equip-entry h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
}

.equip-entry h2 code {
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.page h3 {
  margin: 1.35rem 0 0.55rem;
  font-family: var(--font-ui);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--deep-ink);
  position: relative;
  z-index: 1;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: -0.15rem 0 1rem;
  position: relative;
  z-index: 1;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--deep);
  background: rgba(20, 152, 168, 0.12);
  border: 1px solid rgba(10, 85, 99, 0.14);
}

.tag-mod {
  color: #8a2e16;
  background: rgba(228, 87, 50, 0.14);
  border-color: rgba(228, 87, 50, 0.28);
  vertical-align: middle;
}

.page-note {
  margin-top: 2rem;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.page ol.steps {
  margin: 0.4rem 0 1rem;
  padding-left: 1.25rem;
  position: relative;
  z-index: 1;
}

.page ol.steps > li + li {
  margin-top: 0.75rem;
}

.page ul ul {
  margin: 0.45rem 0 0.2rem;
}

/* —— Wiki item layout (DST wiki structure, site palette) —— */
.page.page-wiki {
  max-width: 1080px;
}

.item-head {
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.item-head .item-en {
  margin: -0.35rem 0 0.75rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text-soft);
  letter-spacing: 0.04em;
}

.wiki-body .wiki-quote {
  margin: 0 0 1.25rem;
}

.wiki-body h2 {
  margin-top: 1.75rem;
}

.wiki-body h3 {
  margin: 1.25rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--deep);
  font-weight: 600;
}


.item-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.2rem;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  max-height: 7.5rem;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.item-subnav a {
  color: var(--deep);
  text-decoration: none;
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.item-subnav a:hover {
  color: var(--coral);
  background: rgba(228, 87, 50, 0.08);
}

.item-subnav a.is-current {
  color: var(--foam);
  background: var(--deep);
}

.item-subnav .sep {
  color: var(--line-strong);
  padding: 0 0.1rem;
  user-select: none;
}

.wiki-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  gap: 1.75rem 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.wiki-body > p:first-child {
  margin-top: 0;
}

.wiki-body .quote {
  margin-top: 0;
}

.wiki-cats {
  margin-top: 2.2rem;
  padding-top: 1rem;
  border-top: 1px dotted var(--line-strong);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  color: var(--text-soft);
}

.wiki-cats a {
  color: var(--lagoon);
}

/* Bottom related-content navbox (site teal, DST-wiki layout) */
.wiki-navbox {
  margin: 1.75rem 0 0.35rem;
  border: 1px solid rgba(110, 208, 219, 0.35);
  border-radius: var(--radius);
  background:
    linear-gradient(165deg, rgba(6, 52, 62, 0.94), rgba(10, 85, 99, 0.9));
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 12px 28px rgba(6, 52, 62, 0.18);
  color: var(--foam);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.wiki-navbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0.85rem;
  list-style: none;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(20, 152, 168, 0.42), rgba(6, 52, 62, 0.35));
  border-bottom: 1px solid rgba(110, 208, 219, 0.22);
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  user-select: none;
}

.wiki-navbox-head::-webkit-details-marker,
.wiki-navbox-head::marker {
  display: none;
  content: "";
}

.wiki-navbox-title {
  letter-spacing: 0.02em;
}

.wiki-navbox-toggle::before {
  content: "[折叠]";
  color: var(--aqua);
  font-weight: 500;
  font-size: 0.8rem;
}

.wiki-navbox:not([open]) .wiki-navbox-toggle::before {
  content: "[展开]";
}

.wiki-navbox:not([open]) .wiki-navbox-head {
  border-bottom: none;
}

.wiki-navbox-body {
  display: flex;
  flex-direction: column;
}

.wiki-navbox-row {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid rgba(110, 208, 219, 0.16);
}

.wiki-navbox-row:first-child {
  border-top: none;
}

.wiki-navbox-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.4rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sand);
  background: rgba(4, 40, 48, 0.45);
  border-right: 1px solid rgba(110, 208, 219, 0.16);
}

.wiki-navbox-label a {
  color: var(--sand);
  text-decoration: none;
}

.wiki-navbox-label a:hover {
  color: var(--sun);
}

.wiki-navbox-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.15rem;
  padding: 0.4rem 0.55rem;
}

.wiki-navbox-links > a,
.wiki-navbox-item {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem 0.55rem;
  border-radius: 8px;
  color: rgba(247, 252, 253, 0.92);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  line-height: 1.35;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.wiki-navbox-links > a:hover,
.wiki-navbox-item:hover {
  color: #fff;
  background: rgba(110, 208, 219, 0.18);
}

.wiki-navbox-links > a.is-current,
.wiki-navbox-item.is-current {
  color: var(--deep-ink);
  background: var(--sand);
  font-weight: 600;
}

.wiki-navbox-item img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .wiki-navbox-row {
    grid-template-columns: 1fr;
  }

  .wiki-navbox-label {
    justify-content: flex-start;
    padding: 0.4rem 0.65rem 0.15rem;
    border-right: none;
    background: transparent;
    color: var(--aqua);
  }
}

.infobox {
  position: sticky;
  top: 5.2rem;
  padding: 1.05rem 1.05rem 1.15rem;
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(165deg, rgba(6, 52, 62, 0.94), rgba(10, 85, 99, 0.9));
  border: 1px solid rgba(110, 208, 219, 0.28);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 16px 36px rgba(6, 52, 62, 0.22);
  color: var(--foam);
  font-size: 0.9rem;
  line-height: 1.55;
}

.infobox-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0;
  font-weight: 700;
  text-align: center;
  color: #fff;
}

.infobox-en {
  margin: 0.2rem 0 0.85rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--aqua);
  letter-spacing: 0.04em;
}

.infobox-art {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 140px;
  margin: 0 auto 0.95rem;
  padding: 0.75rem;
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 40%, rgba(110, 208, 219, 0.22), transparent 60%),
    rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(110, 208, 219, 0.28);
  color: rgba(247, 252, 253, 0.55);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-align: center;
}

.infobox-art img {
  max-height: 168px;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35));
}

.infobox-art.infobox-art-multi img {
  max-height: 110px;
}

.infobox-art-cap {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.72rem;
  color: rgba(247, 252, 253, 0.55);
}

.infobox-section {
  margin: 0.85rem 0 0.45rem;
  padding-top: 0.65rem;
  border-top: 1px dotted rgba(110, 208, 219, 0.35);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sun);
  text-align: center;
}

.infobox-recipe {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  align-items: center;
  margin: 0.35rem 0 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.84rem;
  color: rgba(247, 252, 253, 0.92);
}

.infobox-recipe .plus,
.infobox-recipe .arrow {
  opacity: 0.55;
  font-size: 0.75rem;
}

.infobox-recipe .mat {
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(247, 252, 253, 0.1);
  border: 1px solid rgba(110, 208, 219, 0.22);
}

/* Site-native crafting recipe box (teal / foam / coral) */
.dst-recipe {
  margin: 0.55rem 0 0.75rem;
  border: 1px solid rgba(110, 208, 219, 0.32);
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(165deg, rgba(4, 40, 48, 0.72), rgba(8, 72, 84, 0.55));
  box-shadow:
    inset 0 1px 0 rgba(247, 252, 253, 0.08),
    0 6px 16px rgba(6, 52, 62, 0.18);
  overflow: hidden;
}

.infobox .dst-recipe {
  margin: 0.65rem 0 0.55rem;
}

.dst-recipe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0.55rem;
  list-style: none;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(20, 152, 168, 0.35), rgba(6, 52, 62, 0.45));
  border-bottom: 1px solid rgba(110, 208, 219, 0.22);
  color: var(--foam);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 600;
  user-select: none;
}

.dst-recipe-head::-webkit-details-marker,
.dst-recipe-head::marker {
  display: none;
  content: "";
}

.dst-recipe-toggle::before {
  content: "[折叠]";
  color: var(--aqua);
  font-weight: 500;
  font-size: 0.75rem;
}

.dst-recipe:not([open]) .dst-recipe-toggle::before {
  content: "[展开]";
}

.dst-recipe-body {
  padding: 0.65rem 0.45rem 0.55rem;
}

.dst-recipe-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.3rem;
}

.dst-slot {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 38%, rgba(247, 252, 253, 0.22) 0%, rgba(20, 152, 168, 0.28) 55%, rgba(6, 52, 62, 0.55) 100%);
  border: 1px solid rgba(110, 208, 219, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(247, 252, 253, 0.12),
    0 2px 6px rgba(6, 52, 62, 0.25);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

a.dst-slot:hover {
  border-color: rgba(255, 231, 168, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(247, 252, 253, 0.16),
    0 0 0 1px rgba(255, 231, 168, 0.2);
}

.dst-slot img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.dst-slot-name {
  display: block;
  max-width: 46px;
  padding: 0 2px;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: var(--foam);
  word-break: break-all;
}

.dst-meta-text {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(247, 252, 253, 0.88);
  text-align: center;
  line-height: 1.3;
  max-width: 7.5rem;
}

.dst-qty {
  position: absolute;
  right: 3px;
  bottom: 1px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  color: var(--sun);
  text-shadow:
    0 0 2px rgba(6, 52, 62, 0.95),
    1px 1px 0 rgba(6, 52, 62, 0.9);
  pointer-events: none;
}

.dst-arrow {
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(110, 208, 219, 0.85);
  font-weight: 300;
  padding: 0 0.05rem;
}

.dst-recipe-quote {
  margin: 0.55rem 0 0.4rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(247, 252, 253, 0.88);
  line-height: 1.4;
}

.dst-recipe-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  padding: 0.3rem 0.15rem 0.05rem;
  border-top: 1px solid rgba(110, 208, 219, 0.18);
}

/* Material uses: 料理烹饪 / 制作 (灰机-style body sections) */
.wiki-sec {
  margin: 1.25rem 0 1rem;
}

.wiki-sec-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0;
}

.wiki-sec-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  flex-shrink: 0;
}

.wiki-cook-list {
  margin: 0.35rem 0 0;
  padding-left: 0;
  list-style: none;
}

.wiki-cook-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0.35rem 0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
}

.wiki-cook-pot {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  flex-shrink: 0;
}

.dst-uses {
  margin: 0.35rem 0 0;
  border: 1px solid rgba(10, 85, 99, 0.18);
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(165deg, rgba(232, 247, 250, 0.95), rgba(214, 236, 241, 0.88));
  overflow: hidden;
}

.dst-uses-group + .dst-uses-group {
  border-top: 1px solid rgba(10, 85, 99, 0.14);
}

.dst-uses-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0.65rem;
  list-style: none;
  cursor: pointer;
  background: rgba(20, 152, 168, 0.12);
  color: var(--deep);
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 600;
  user-select: none;
}

.dst-uses-group-head::-webkit-details-marker,
.dst-uses-group-head::marker {
  display: none;
  content: "";
}

.dst-uses-group .dst-recipe-toggle::before {
  content: "[折叠]";
  color: var(--teal, #0a5563);
  font-weight: 500;
  font-size: 0.75rem;
}

.dst-uses-group:not([open]) .dst-recipe-toggle::before {
  content: "[展开]";
}

.dst-uses-group-body {
  padding: 0.55rem 0.45rem 0.65rem;
  background: rgba(247, 252, 253, 0.65);
}

.dst-uses-row {
  margin: 0.35rem 0;
}

.wiki-body .dst-uses .dst-slot {
  width: 48px;
  height: 48px;
}

.wiki-body .dst-uses .dst-slot img {
  width: 36px;
  height: 36px;
}

.wiki-body .dst-uses .dst-slot-name {
  color: var(--deep);
}

.wiki-body .dst-uses .dst-qty {
  color: var(--deep);
  text-shadow:
    0 0 2px rgba(247, 252, 253, 0.95),
    1px 1px 0 rgba(247, 252, 253, 0.85);
}

.wiki-body .dst-uses .dst-arrow {
  color: rgba(10, 85, 99, 0.55);
}

.dst-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  min-width: 3.5rem;
}

.dst-meta-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(248, 241, 228, 0.72);
}

.dst-meta-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.infobox-flavor {
  margin: 0.55rem 0 0.35rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--sand);
  line-height: 1.4;
}

.infobox-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.35rem;
  font-size: 0.84rem;
}

.infobox-table th,
.infobox-table td {
  padding: 0.45rem 0.2rem;
  border-bottom: 1px dotted rgba(110, 208, 219, 0.22);
  text-align: left;
  vertical-align: top;
}

.infobox-table th {
  width: 38%;
  color: rgba(110, 208, 219, 0.9);
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.78rem;
}

.infobox-table td {
  color: rgba(247, 252, 253, 0.95);
}

.infobox a {
  color: var(--aqua);
  text-decoration-color: rgba(110, 208, 219, 0.65);
}

.infobox a:hover,
.infobox a:focus-visible {
  color: var(--sun);
  text-decoration-color: rgba(255, 231, 168, 0.85);
}

.infobox-table code {
  font-family: var(--font-ui);
  font-size: 0.8em;
  color: var(--sun);
  background: transparent;
  border: 0;
  padding: 0;
}

.nav-hub .section-label {
  margin: 1.8rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--deep);
  position: relative;
  z-index: 1;
  scroll-margin-top: 5.5rem;
}

.nav-hub .section-label:first-of-type {
  margin-top: 0.4rem;
}

.site-footer {
  padding: 2.2rem clamp(1.25rem, 4vw, 2.5rem) 3.2rem;
  color: rgba(247, 252, 253, 0.92);
  font-family: var(--font-ui);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
  background:
    linear-gradient(180deg, transparent, rgba(6, 52, 62, 0.42));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer a {
  color: var(--sun);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 22rem;
    order: -1;
  }

  .hero-visual .portrait {
    width: min(48%, 200px);
  }

  .hero-copy::before,
  .hero-copy::after {
    display: none;
  }

  .hero-kicker,
  .hero-brand,
  .hero-title,
  .hero-lead,
  .cta-row {
    padding-left: 0;
  }

  .page-hero.has-art {
    grid-template-columns: 1fr;
  }

  .page-art {
    justify-self: center;
    max-width: 210px;
  }

  .entry-list a {
    grid-template-columns: auto 1fr;
  }

  .entry-arrow {
    display: none;
  }

  .entry-desc {
    grid-column: 2;
  }

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

  .infobox {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }

  .topbar {
    justify-content: center;
  }

  .page {
    margin: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .entry-list li {
    opacity: 1;
    transform: none;
  }
}

/* ========== 门户首页（以撒维基式：图标入口 + 双栏板块）========== */

.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;
}

body.home-portal {
  color: var(--text);
  background: #1a7f8c;
  font-family: var(--font-ui);
}

body.home-portal::before {
  background:
    linear-gradient(180deg, rgba(26, 127, 140, 0.12) 0%, rgba(110, 208, 219, 0.2) 42%, rgba(248, 241, 228, 0.42) 100%),
    url("../../images/shipwrecked-bg-rift.png") center top / cover no-repeat fixed;
}

body.home-portal::after {
  opacity: 0.14;
}

body.home-portal a {
  color: var(--deep);
}

body.home-portal a:hover {
  color: var(--coral);
}

.home-portal .topbar-slim {
  justify-content: center;
  padding: 0.45rem 1rem;
  background: rgba(247, 252, 253, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 1px 0 rgba(6, 52, 62, 0.04), 0 10px 28px rgba(6, 52, 62, 0.06);
  backdrop-filter: blur(14px) saturate(1.15);
}

.home-portal .nav-slim {
  gap: 0.15rem 1.1rem;
  font-size: 0.82rem;
  justify-content: center;
}

.home-portal .nav-slim a {
  color: var(--text-soft);
  text-decoration: none;
}

.home-portal .nav-slim a::after {
  display: none;
}

.home-portal .nav-slim a:hover,
.home-portal .nav-slim a[aria-current="page"] {
  color: var(--coral);
}

.portal {
  width: min(1080px, calc(100% - 1.5rem));
  margin: 0 auto 2.5rem;
  padding: 1.1rem 0.9rem 1.15rem;
  box-sizing: border-box;
  border-radius: 14px;
  background: rgba(186, 228, 232, 0.18);
  border: 1px solid rgba(110, 208, 219, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.28) inset,
    0 12px 28px rgba(6, 52, 62, 0.06);
  backdrop-filter: blur(8px) saturate(1.05);
  -webkit-backdrop-filter: blur(8px) saturate(1.05);
}

.portal-masthead {
  text-align: center;
  padding: 0.85rem 0.5rem 0.75rem;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.portal-kicker {
  margin: 0 0 0.85rem;
  color: var(--lagoon);
}

.portal-dst-logo {
  display: block;
  width: min(200px, 48vw);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 2px 10px rgba(6, 52, 62, 0.22));
}

.portal-logo {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 400;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--deep-ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.portal-sub {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--deep);
}

.portal-tagline {
  margin: 0.75rem auto 0;
  max-width: 36rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.portal-icons {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.35rem 0 0.85rem;
}

.portal-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 0.4rem 0.7rem;
  text-decoration: none !important;
  color: #143a43 !important;
  background:
    linear-gradient(180deg, #f3e6c8 0%, #e4d2a8 55%, #d4bc88 100%);
  border: 2px solid #8a7348;
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 4px 0 #6a5634,
    0 8px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}

.portal-icon:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  color: #0a3a44 !important;
}

.portal-icon-glyph {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  color: #0a5563;
}

.portal-icon-glyph svg {
  width: 100%;
  height: 100%;
}

.portal-icon-label {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.portal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0;
  margin: 0;
}

.portal-col {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.wiki-box {
  background: rgba(247, 252, 253, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 22px rgba(6, 52, 62, 0.08);
}

.wiki-box-head {
  margin: 0;
  padding: 0.55rem 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--foam);
  background: linear-gradient(180deg, #1f8fa0 0%, #0a5563 100%);
  border-bottom: 1px solid rgba(6, 52, 62, 0.12);
}

.wiki-box-body {
  padding: 0.85rem 0.9rem 1rem;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text);
  background: rgba(236, 248, 249, 0.55);
}

.wiki-search {
  margin-bottom: 0.75rem;
}

.wiki-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(6, 52, 62, 0.14);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--deep-ink);
  font: inherit;
}

.wiki-search input::placeholder {
  color: rgba(74, 111, 120, 0.55);
}

.wiki-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 0.55rem;
}

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

.wiki-link-grid a {
  display: block;
  padding: 0.35rem 0.45rem;
  border-radius: 3px;
  background: rgba(110, 208, 219, 0.16);
  text-decoration: none;
  color: var(--deep);
  font-size: 0.86rem;
}

.wiki-link-grid a:hover {
  background: rgba(228, 87, 50, 0.12);
  color: var(--coral);
}

.wiki-dense-list {
  margin: 0;
  padding-left: 1.1rem;
}

.wiki-dense-list li + li {
  margin-top: 0.35rem;
}

/* 饥荒 Wiki「机制」式：先横后竖，仅名称 */
.wiki-mech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.4rem 0.85rem;
  align-items: start;
}

.wiki-mech-grid a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
  padding: 0.2rem 0;
  text-decoration: none;
  color: var(--deep);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.wiki-mech-grid a:hover {
  color: var(--coral);
  text-decoration: underline;
}

.wiki-mech-grid .badge-sw {
  flex-shrink: 0;
}

.wiki-note {
  margin: 0 0 0.65rem;
  color: var(--text-soft);
}

.wiki-more {
  margin: 0.75rem 0 0;
}

.wiki-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.wiki-mini-table th,
.wiki-mini-table td {
  padding: 0.4rem 0.35rem;
  border-bottom: 1px solid rgba(126, 215, 228, 0.12);
  text-align: left;
  vertical-align: top;
}

.wiki-mini-table th {
  width: 5.5rem;
  color: var(--lagoon);
  font-weight: 600;
}

.home-portal .site-footer-portal {
  background: rgba(247, 252, 253, 0.88);
  border-top: 1px solid rgba(6, 52, 62, 0.08);
  color: var(--text-soft);
}

.home-portal .site-footer-portal a {
  color: var(--deep);
}

@media (max-width: 860px) {
  .portal-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 640px) {
  .home-portal .nav-slim {
    display: flex;
    flex-wrap: wrap;
  }

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

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

/* ========== 装备目录卡片网格（仿以撒道具卡）========== */

body.catalog-page {
  background: #1a7f8c;
  color: var(--text);
}

body.catalog-page::before {
  background:
    linear-gradient(180deg, rgba(26, 127, 140, 0.14) 0%, rgba(110, 208, 219, 0.2) 48%, rgba(248, 241, 228, 0.38) 100%),
    url("../../images/shipwrecked-bg-rift.png") center top / cover no-repeat fixed;
}

body.catalog-page .page.nav-hub {
  max-width: min(1280px, calc(100% - 1.5rem));
}

.catalog-toolbar {
  margin: 0 0 1rem;
}

.catalog-filter {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  background: rgba(247, 252, 253, 0.78);
  border: 1px solid rgba(6, 52, 62, 0.1);
  display: grid;
  grid-template-columns: 1fr minmax(9rem, 12rem) auto;
  gap: 0.55rem;
  align-items: center;
}

.catalog-filter input,
.catalog-filter select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.8rem;
  border-radius: 4px;
  border: 1px solid rgba(6, 52, 62, 0.14);
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep-ink);
  font: inherit;
}

.catalog-go {
  padding: 0.65rem 1.1rem;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #1f8fa0, #0a5563);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.catalog-go:hover {
  filter: brightness(1.06);
}

.catalog-status {
  margin: 0.55rem 0 0;
  font-size: 0.86rem;
  color: var(--text-soft);
}

.catalog-filter-hint {
  display: none;
}

.catalog-grid {
  margin-top: 0.35rem;
}

.catalog-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 1.25rem 0 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  background: rgba(10, 85, 99, 0.92);
  color: #f7fcfd;
}

.catalog-page-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #dff4f7;
  font: inherit;
  font-size: 0.9rem;
  padding: 0.2rem 0.45rem;
  cursor: pointer;
  border-radius: 3px;
}

.catalog-page-btn:hover:not(.is-disabled):not(.is-current) {
  background: rgba(255, 255, 255, 0.12);
}

.catalog-page-btn.is-current {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-weight: 700;
  cursor: default;
}

.catalog-page-btn.is-disabled {
  opacity: 0.4;
  cursor: default;
}

.catalog-page-info {
  margin-left: auto;
  font-size: 0.86rem;
  color: rgba(247, 252, 253, 0.85);
}

@media (max-width: 720px) {
  .catalog-filter {
    grid-template-columns: 1fr;
  }

  .catalog-page-info {
    margin-left: 0;
    width: 100%;
  }
}

.catalog-filter input::placeholder { color: rgba(74, 111, 120, 0.5); }

.item-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 0 0 1.75rem;
}

.item-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  aspect-ratio: 4 / 3;
  text-decoration: none !important;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(6, 52, 62, 0.12);
  box-shadow: 0 10px 24px rgba(6, 52, 62, 0.1);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
  background: #f7fcfd;
}

.item-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(6, 52, 62, 0.14);
}

.item-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.65rem 0.7rem;
  color: #fff;
}

.item-card-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.18);
  font-family: var(--font-display);
  font-size: 1.05rem;
  overflow: hidden;
}

.item-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
}

.item-card-titles {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.item-card-zh {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-card-en {
  font-size: 0.68rem;
  opacity: 0.82;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-card-badge {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
}

.item-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.4rem;
  align-items: center;
  padding: 0.35rem 0.55rem;
  background: rgba(6, 52, 62, 0.08);
}

.item-card-meta code {
  font-size: 0.68rem;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  padding: 0;
}

.item-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.item-card-tag {
  font-size: 0.62rem;
  padding: 0.12rem 0.35rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.item-card-body {
  flex: 1;
  min-height: 0;
  padding: 0.55rem 0.65rem 0.65rem;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #2a3438;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.item-card.theme-weapons .item-card-head { background: linear-gradient(180deg, #6b3fa0, #4a2a72); }
.item-card.theme-weapons .item-card-body { background: #efe6f8; }

.item-card.theme-armor .item-card-head { background: linear-gradient(180deg, #3d6ea8, #2a4f7a); }
.item-card.theme-armor .item-card-body { background: #e4eef8; }

.item-card.theme-head .item-card-head { background: linear-gradient(180deg, #2f8f6e, #216a52); }
.item-card.theme-head .item-card-body { background: #e3f5ec; }

.item-card.theme-bag .item-card-head { background: linear-gradient(180deg, #b07a2e, #855a1f); }
.item-card.theme-bag .item-card-body { background: #f6edd8; }

.item-card.theme-accessory .item-card-head { background: linear-gradient(180deg, #2a8fa0, #1c6875); }
.item-card.theme-accessory .item-card-body { background: #dff4f7; }

.item-card.theme-special .item-card-head { background: linear-gradient(180deg, #c45a3a, #933f28); }
.item-card.theme-special .item-card-body { background: #f8e6df; }

.item-card.theme-shipcloth .item-card-head { background: linear-gradient(180deg, #5a6d82, #3f4e5e); }
.item-card.theme-shipcloth .item-card-body { background: #e8edf2; }

.item-card[hidden] { display: none !important; }

@media (max-width: 1100px) {
  .item-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .item-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .item-card {
    aspect-ratio: auto;
    min-height: 190px;
  }
  .item-card-body {
    -webkit-line-clamp: 6;
  }
}

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

/* 海难 / Shipwrecked 标记（替代文字 IA） */
.badge-sw {
  display: inline-block;
  width: 1.35em;
  height: 1.35em;
  vertical-align: -0.28em;
  margin: 0 0.12em;
  object-fit: contain;
  image-rendering: auto;
}

.badge-sw--lg {
  width: 1.65em;
  height: 1.65em;
  vertical-align: -0.35em;
}

.item-card-zh .badge-sw,
.item-card-en .badge-sw,
.col-name .badge-sw,
.infobox-title .badge-sw,
.section-label .badge-sw {
  margin-left: 0.28em;
}

/* —— 灰机式介绍列表（系统对照页） —— */
body.wiki-list-page {
  background: #1a7f8c;
  color: var(--text);
}

body.wiki-list-page::before {
  background:
    linear-gradient(180deg, rgba(26, 127, 140, 0.14) 0%, rgba(110, 208, 219, 0.2) 48%, rgba(248, 241, 228, 0.38) 100%),
    url("../../images/shipwrecked-bg-rift.png") center top / cover no-repeat fixed;
}

.wiki-list-shell {
  display: grid;
  grid-template-columns: 11.5rem minmax(0, 1fr);
  gap: 1.25rem;
  max-width: min(1280px, calc(100% - 1.5rem));
  margin: 1.25rem auto 2.5rem;
  align-items: start;
}

.wiki-side-toc {
  position: sticky;
  top: 4.5rem;
  padding: 0.75rem 0.65rem;
  border-radius: 8px;
  background: rgba(247, 252, 253, 0.9);
  border: 1px solid rgba(6, 52, 62, 0.1);
  box-shadow: 0 10px 28px rgba(6, 52, 62, 0.08);
  font-size: 0.82rem;
  line-height: 1.45;
}

.wiki-side-toc a {
  display: block;
  color: var(--deep);
  text-decoration: none;
  padding: 0.18rem 0.35rem;
  border-radius: 3px;
}

.wiki-side-toc a:hover { color: var(--coral); background: rgba(228, 87, 50, 0.08); }
.wiki-side-toc .toc-sub { padding-left: 0.85rem; font-size: 0.78rem; }
.wiki-side-toc .toc-top {
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
}

.wiki-list-main {
  padding: clamp(1.5rem, 3.5vw, 2.4rem) clamp(1.1rem, 3vw, 2rem) 2.6rem;
  background:
    linear-gradient(165deg, rgba(247, 252, 253, 0.94), rgba(248, 241, 228, 0.78));
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: calc(var(--radius) + 2px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 22px 60px rgba(6, 52, 62, 0.12);
  color: var(--text);
}

.wiki-list-main .page-kicker { color: var(--lagoon); }
.wiki-list-main h1 {
  margin: 0 0 0.85rem;
  color: var(--deep-ink);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  font-weight: 700;
}

.wiki-list-main .page-lead {
  margin: 0 0 1.4rem;
  color: var(--text-soft);
}

.wiki-list-main h2 {
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
  color: var(--deep);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

.wiki-list-main h3 {
  margin: 1.35rem 0 0.55rem;
  color: var(--deep-ink);
  font-size: 1.12rem;
}

.wiki-list-main p,
.wiki-list-main li {
  color: var(--text);
  line-height: 1.65;
}

.wiki-list-main a { color: var(--deep); }
.wiki-list-main a:hover { color: var(--coral); }

.wiki-list-main .hl,
.wiki-list-main mark.hl {
  color: var(--coral);
  background: transparent;
  font-weight: 600;
}

.wiki-quote {
  margin: 0 0 1.25rem;
  padding: 0.95rem 1.1rem 0.95rem 1.25rem;
  border: 1px solid rgba(20, 152, 168, 0.2);
  border-radius: 8px;
  background: rgba(110, 208, 219, 0.12);
  color: var(--text);
  font-style: normal;
}

.wiki-quote footer {
  margin-top: 0.45rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.intro-table-wrap {
  overflow-x: auto;
  margin: 0.85rem 0 1.4rem;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
}

.intro-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  min-width: 640px;
}

.intro-table th,
.intro-table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.6rem;
  vertical-align: top;
}

.intro-table thead th {
  background: rgba(10, 85, 99, 0.1);
  color: var(--deep);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.intro-table tbody tr:nth-child(odd) td { background: rgba(247, 252, 253, 0.85); }
.intro-table tbody tr:nth-child(even) td { background: rgba(248, 241, 228, 0.55); }
.intro-table tbody tr:hover td { background: rgba(110, 208, 219, 0.16); }

.intro-table .col-name {
  text-align: center;
  white-space: nowrap;
  min-width: 5.5rem;
  color: var(--deep-ink);
  font-weight: 600;
}

.intro-table .col-name .name-en {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--text-soft);
}

.intro-table .col-num {
  text-align: center;
  white-space: nowrap;
  color: var(--deep);
}

.intro-table .col-fx {
  text-align: left;
  min-width: 14rem;
  color: var(--text);
}

.intro-table .col-fx ul {
  margin: 0;
  padding-left: 1.1rem;
}

.intro-table .col-fx li { margin: 0.15rem 0; }

.wiki-list-main .meta-table {
  background: transparent;
}

.wiki-list-main .meta-table th,
.wiki-list-main .meta-table td {
  border-color: var(--line);
  color: var(--text);
}

.wiki-list-main .meta-table th {
  background: rgba(10, 85, 99, 0.08);
  color: var(--deep);
}

.wiki-list-main .meta-table td { background: rgba(255, 255, 255, 0.45); }

.wiki-list-main .quote {
  background: rgba(110, 208, 219, 0.12);
  border-color: rgba(20, 152, 168, 0.2);
  color: var(--text);
}

@media (max-width: 860px) {
  .wiki-list-shell {
    grid-template-columns: 1fr;
  }
  .wiki-side-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem 0.55rem;
  }
  .wiki-side-toc .toc-sub { padding-left: 0; }
  .wiki-side-toc .toc-top {
    width: 100%;
    border-top: 0;
    margin-top: 0;
    padding-top: 0;
  }
}

/* 装备词条内页：沿用全站清新浅色（勿再套深色覆盖） */
body.wiki-inner-page {
  background: #1a7f8c;
  color: var(--text);
}

body.wiki-inner-page::before {
  background:
    linear-gradient(180deg, rgba(26, 127, 140, 0.14) 0%, rgba(110, 208, 219, 0.2) 48%, rgba(248, 241, 228, 0.38) 100%),
    url("../../images/shipwrecked-bg-rift.png") center top / cover no-repeat fixed;
}

/* 三维状态图标（对齐灰机：生命值 / 饥饿值 / 理智值，禁止写脑血胃） */
.icon-stat {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  margin: 0 0.12em;
  vertical-align: -0.22em;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-stat.icon-health {
  background-image: url("../../images/icon-health.png");
}

.icon-stat.icon-hunger {
  background-image: url("../../images/icon-hunger.png");
}

.icon-stat.icon-sanity {
  background-image: url("../../images/icon-sanity.png");
}

.icon-stat.icon-wetness {
  background-image: url("../../images/icon-wetness.png");
}

.icon-stat.icon-enlightenment {
  background-image: url("../../images/icon-enlightenment.png");
}

/* 双子魔眼：灰机式 眼别 × 阶段 切换信息框 */
.twin-ibox {
  padding-top: 0.55rem;
}

.twin-eye-tabs,
.twin-phase-tabs {
  display: flex;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
}

.twin-eye-tabs button,
.twin-phase-tabs button {
  flex: 1;
  margin: 0;
  padding: 0.4rem 0.35rem;
  border: 1px solid rgba(110, 208, 219, 0.35);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: rgba(247, 252, 253, 0.78);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.twin-eye-tabs button:hover,
.twin-phase-tabs button:hover {
  color: #fff;
  border-color: rgba(110, 208, 219, 0.65);
}

.twin-eye-tabs button.is-active,
.twin-phase-tabs button.is-active {
  background: linear-gradient(180deg, rgba(20, 152, 168, 0.55), rgba(10, 85, 99, 0.75));
  border-color: var(--aqua);
  color: #fff;
}

.twin-phase-note {
  margin: 0 0 0.65rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(247, 252, 253, 0.7);
  line-height: 1.45;
}

