@font-face {
  font-family: "JiangChengYuanTi";
  src: url("fonts/JiangChengYuanTi-600W.woff2?v=4") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "JiangChengYuanTi";
  src: url("fonts/JiangChengYuanTi-700W.woff2?v=4") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #26364f;
  --ink-soft: #4b5a73;
  --aqua: #8fd8f0;
  --aqua-deep: #3e8ba3;
  --mist: #cdeff8;
  --haze: #e2f7fc;
  --peri: #c9d8ff;
  --peri-soft: #eef2fe;
  --sakura: #ffb3c8;
  --sakura-soft: #ffe3ec;
  --ice: #fdffff;
  --mint: #cfeee6;
  --coral: #d96c7a;
  --gold: #d9b98a;
  --shadow: 0 22px 60px rgba(36, 59, 83, 0.13);
  --shadow-soft: 0 12px 30px rgba(36, 59, 83, 0.09);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --max: 1160px;
  --font: "JiangChengYuanTi", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
  background:
    radial-gradient(900px 700px at 8% 0%, rgba(255, 179, 200, 0.42), transparent 64%),
    radial-gradient(900px 700px at 96% 8%, rgba(143, 216, 240, 0.5), transparent 66%),
    radial-gradient(850px 700px at 48% 108%, rgba(201, 216, 255, 0.6), transparent 70%),
    linear-gradient(135deg, #fff7fa 0%, #f2fbfe 44%, #eef7fc 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--aqua-deep);
  text-decoration: none;
}

a:hover {
  color: var(--coral);
}

button,
input,
select,
option {
  font-family: var(--font);
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--ice);
}

.skip-link:focus {
  left: 16px;
}

.site-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 14px 0;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(253, 255, 255, 0.82), rgba(253, 255, 255, 0.55));
  border-bottom: 1px solid rgba(143, 216, 240, 0.28);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ice);
  background: linear-gradient(135deg, var(--aqua-deep), var(--aqua));
  border: 2px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 16px rgba(62, 139, 163, 0.25);
  font-size: 17px;
  font-weight: 700;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: 0.08em;
}

.brand-text small {
  color: #7f8fa8;
  font-size: 9px;
  letter-spacing: 0.24em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(143, 216, 240, 0.35);
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 52px;
  align-items: center;
  padding: 74px 0 58px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--aqua-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--sakura));
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--aqua-deep) 0%, #6478c8 48%, var(--coral) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid rgba(143, 216, 240, 0.9);
  outline-offset: 3px;
}

.button-primary {
  color: var(--ice);
  background: linear-gradient(135deg, #3e8ba3 0%, #6f8fd4 55%, #d96c7a 100%);
  box-shadow: 0 14px 30px rgba(62, 139, 163, 0.25);
}

.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(143, 216, 240, 0.55);
  box-shadow: var(--shadow-soft);
}

.button-bilibili {
  gap: 9px;
  color: #fff;
  background: #fb7299;
  border-color: #fb7299;
  box-shadow: 0 12px 26px rgba(251, 114, 153, 0.25);
}

.button-bilibili:hover {
  color: #fff;
  background: #fc8bad;
  box-shadow: 0 14px 30px rgba(251, 114, 153, 0.3);
}

.bilibili-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.site-nav a.nav-bilibili {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-right: 2px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #fff;
  background: #fb7299;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 5px 14px rgba(251, 114, 153, 0.2);
}

.site-nav a.nav-bilibili:hover {
  color: #fff;
  background: #fc8bad;
}

.nav-bilibili .bilibili-icon {
  width: 16px;
  height: 16px;
}

.hero-note {
  margin: 18px 0 0;
  color: #7f8fa8;
  font-size: 12px;
}

.hero-card {
  position: relative;
  padding: 12px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 252, 255, 0.78)) padding-box,
    linear-gradient(135deg, rgba(143, 216, 240, 0.9), rgba(201, 216, 255, 0.8), rgba(255, 179, 200, 0.8)) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow);
}

.hero-card-inner {
  position: relative;
  min-height: 430px;
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(320px 240px at 78% 18%, rgba(255, 179, 200, 0.35), transparent 70%),
    radial-gradient(380px 300px at 18% 82%, rgba(143, 216, 240, 0.35), transparent 70%),
    linear-gradient(145deg, rgba(255, 253, 255, 0.85), rgba(242, 250, 255, 0.7));
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 0;
  color: #74829a;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.hero-card-top strong {
  color: var(--aqua-deep);
  letter-spacing: 0.08em;
}

.hero-pet {
  position: absolute;
  right: 10px;
  top: 38px;
  width: 188px;
  height: 188px;
  border-radius: 50%;
  object-fit: contain;
  padding: 9px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(226, 247, 252, 0.6));
  border: 2px solid rgba(143, 216, 240, 0.85);
  box-shadow: 0 16px 30px rgba(36, 59, 83, 0.12);
}

.bubble {
  position: absolute;
  right: 170px;
  top: 94px;
  z-index: 2;
  padding: 10px 16px;
  border-radius: 16px;
  color: #b85870;
  background: var(--sakura-soft);
  border: 1.5px solid rgba(217, 108, 122, 0.7);
  font-size: 17px;
  font-weight: 700;
  transform: rotate(-3deg);
  box-shadow: 0 10px 20px rgba(36, 59, 83, 0.1);
}

.bubble::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 16px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 8px solid rgba(217, 108, 122, 0.7);
}

.mini-calc {
  position: absolute;
  left: 22px;
  bottom: 24px;
  width: min(270px, calc(100% - 44px));
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(143, 216, 240, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
}

.mini-calc-label {
  margin: 0;
  color: #7f8fa8;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.mini-calc-value {
  margin: 5px 0 2px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
}

.mini-calc-value small {
  margin-left: 4px;
  color: #74829a;
  font-size: 12px;
  font-weight: 600;
}

.mini-calc p {
  margin: 0;
  color: #64758e;
  font-size: 11px;
}

.section {
  padding: 44px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(242, 250, 255, 0.7)) padding-box,
    linear-gradient(135deg, rgba(143, 216, 240, 0.7), rgba(201, 216, 255, 0.65), rgba(255, 179, 200, 0.6)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.tool-card .tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  color: var(--aqua-deep);
  background: rgba(226, 247, 252, 0.8);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.tool-card h3 {
  margin: 14px 0 6px;
  font-size: 22px;
  line-height: 1.25;
}

.tool-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13.5px;
}

.tool-card .card-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--aqua-deep);
  font-size: 13px;
  font-weight: 700;
}

.tool-card.soon {
  opacity: 0.72;
}

.tool-card.soon .card-link {
  color: #8fa1b7;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 8px;
}

.trust-item {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.54);
  border: 1px solid rgba(143, 216, 240, 0.25);
}

.trust-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.trust-item span {
  color: var(--ink-soft);
  font-size: 12px;
}

.site-footer {
  margin-top: 44px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(143, 216, 240, 0.3);
  color: #8190a7;
  font-size: 11px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner strong {
  color: var(--ink-soft);
}

.page-main {
  padding: 38px 0 10px;
}

.error-page {
  padding-top: 12vh;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 24px;
  color: #8190a7;
  font-size: 12px;
}

.breadcrumb a {
  color: #5d7590;
}

.page-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.15;
}

.page-lead {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 20px;
  align-items: start;
  margin-top: 30px;
}

.panel {
  border-radius: var(--radius-md);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(243, 251, 255, 0.72)) padding-box,
    linear-gradient(135deg, rgba(143, 216, 240, 0.65), rgba(201, 216, 255, 0.6), rgba(255, 179, 200, 0.55)) border-box;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
}

.calc-form {
  padding: 20px;
}

.panel-title {
  margin: 0 0 4px;
  font-size: 20px;
}

.panel-sub {
  margin: 0 0 20px;
  color: #74829a;
  font-size: 12px;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(143, 216, 240, 0.5);
  border-radius: 12px;
  outline: none;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--aqua-deep);
  box-shadow: 0 0 0 4px rgba(143, 216, 240, 0.22);
}

.field small {
  color: #8a99af;
  font-size: 10.5px;
  font-family: var(--font);
}

.field-label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font);
}

.difficulty-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

.difficulty-options label {
  position: relative;
  display: block;
  cursor: pointer;
  font-weight: 600;
}

.difficulty-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.difficulty-options span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 39px;
  padding: 4px 6px;
  border-radius: 11px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(143, 216, 240, 0.45);
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.difficulty-options span small {
  margin-top: 1px;
  color: #8a99af;
  font-size: 8.5px;
  font-weight: 400;
}

@media (max-width: 720px) {
  .difficulty-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.difficulty-options input:checked + span {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(62, 139, 163, 0.7);
  box-shadow: 0 6px 14px rgba(36, 59, 83, 0.08);
}

.difficulty-options input:focus-visible + span {
  outline: 3px solid rgba(143, 216, 240, 0.9);
  outline-offset: 2px;
}

.drop-warning p {
  font-family: var(--font);
}

.drop-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 13px;
  color: #9f3d4d;
  background: linear-gradient(135deg, rgba(255, 214, 226, 0.96), rgba(255, 235, 240, 0.92));
  border: 1px solid rgba(217, 108, 122, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.7;
}

.drop-warning-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: #d96c7a;
  font-size: 12px;
  font-weight: 700;
}

.drop-warning p {
  margin: 0;
}

.checkline {
  flex-direction: row !important;
  align-items: center;
  gap: 8px !important;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(238, 246, 255, 0.58);
  border: 1px solid rgba(143, 216, 240, 0.32);
  cursor: pointer;
}

.checkline input {
  width: 17px !important;
  height: 17px;
  min-height: 0 !important;
  margin: 0;
  accent-color: var(--aqua-deep);
}

.checkline span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.calc-status {
  margin: 14px 0 0;
  color: var(--aqua-deep);
  font-size: 12px;
  font-weight: 700;
}

.calc-status.is-danger {
  color: #b14e5d;
}

.calc-note {
  margin: 5px 0 0;
  color: #8a99af;
  font-size: 10.5px;
  line-height: 1.6;
}

.simulation-note {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #5d7590;
  background: rgba(238, 242, 254, 0.66);
  border-left: 3px solid var(--peri);
  font-size: 11.5px;
  line-height: 1.6;
}

.max-pair {
  margin: 0 0 14px;
  white-space: pre-line;
  padding: 9px 12px;
  border-radius: 11px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(143, 216, 240, 0.3);
  font-size: 11.5px;
  font-weight: 700;
}

.simulation-note.is-rescue {
  color: #9f3d4d;
  background: linear-gradient(135deg, rgba(255, 214, 226, 0.9), rgba(255, 245, 248, 0.85));
  border-left-color: var(--coral);
  font-weight: 700;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.form-message {
  min-height: 20px;
  margin: 12px 0 0;
  color: var(--coral);
  font-size: 12px;
}

.js-warning {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  color: #8a4d5a;
  background: rgba(255, 227, 236, 0.7);
  border: 1px dashed rgba(217, 108, 122, 0.45);
  font-size: 11.5px;
  line-height: 1.6;
}

.js-warning code {
  font-family: inherit;
  font-weight: 700;
  color: #b14e5d;
}

.result-panel {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

.segmented-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.segmented-field legend {
  margin-bottom: 6px;
  padding: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 14px;
  background: rgba(238, 246, 255, 0.7);
  border: 1px solid rgba(143, 216, 240, 0.45);
}

.segmented label {
  position: relative;
  display: block;
  cursor: pointer;
}

.segmented input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 10px;
  color: #5d7590;
  font-size: 13px;
  font-weight: 700;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.segmented input:checked + span {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(36, 59, 83, 0.08);
  outline: 1px solid rgba(143, 216, 240, 0.65);
}

.segmented input:focus-visible + span {
  outline: 3px solid rgba(143, 216, 240, 0.9);
  outline-offset: 2px;
}

.verdict {
  margin: 8px 0 16px;
  padding: 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(143, 216, 240, 0.35);
}

.verdict-kicker {
  margin: 0 0 5px;
  color: #7f8fa8;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.verdict-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(22px, 3.1vw, 30px);
  font-weight: 700;
  line-height: 1.35;
}

.verdict.is-safe {
  background: linear-gradient(145deg, rgba(238, 252, 248, 0.86), rgba(245, 252, 255, 0.72));
  border-color: rgba(121, 196, 174, 0.55);
}

.verdict.is-safe .verdict-title {
  color: #2f8f7c;
}

.verdict.is-dead {
  background: linear-gradient(145deg, rgba(255, 227, 236, 0.9), rgba(255, 246, 250, 0.72));
  border-color: rgba(217, 108, 122, 0.55);
}

.verdict.is-dead .verdict-title {
  color: #b14e5d;
}

.lookup-meta {
  display: grid;
  gap: 5px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(238, 242, 254, 0.62);
  border: 1px solid rgba(201, 216, 255, 0.6);
}

.lookup-meta p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  color: #5d7590;
  font-size: 11.5px;
}

.lookup-meta strong {
  color: #74829a;
  font-weight: 600;
}

.lookup-meta span {
  color: var(--ink);
  font-weight: 700;
  text-align: right;
}

.safe-actions {
  margin-top: 12px;
}

.sell-box {
  margin-top: 14px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 227, 236, 0.7), rgba(238, 250, 253, 0.78));
  border: 1px dashed rgba(217, 108, 122, 0.55);
}

.survive-box {
  background: linear-gradient(145deg, rgba(255, 214, 226, 0.88), rgba(255, 245, 248, 0.8));
  border-color: rgba(217, 108, 122, 0.8);
}

.sell-text {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.7;
}

.sell-text strong {
  color: #b14e5d;
}

.button-video {
  min-height: 44px;
  padding: 0 18px;
  color: var(--ice);
  background: linear-gradient(135deg, #3e8ba3, #6f8fd4 55%, #d96c7a);
  box-shadow: 0 10px 22px rgba(62, 139, 163, 0.18);
  font-size: 13px;
}

.result-panel::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 179, 200, 0.3), transparent 70%);
  pointer-events: none;
}

.status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.status-label {
  color: #74829a;
  font-size: 10px;
  letter-spacing: 0.14em;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--aqua-deep);
  background: rgba(226, 247, 252, 0.82);
  border: 1px solid rgba(143, 216, 240, 0.7);
  font-size: 11px;
  font-weight: 700;
}

.status-pill.is-danger {
  color: #b14e5d;
  background: rgba(255, 227, 236, 0.86);
  border-color: rgba(217, 108, 122, 0.55);
}

.big-result {
  margin: 0;
  color: #74829a;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.big-result strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.big-result strong small {
  margin-left: 4px;
  color: #74829a;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 20px 0 0;
}

.result-item {
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(143, 216, 240, 0.28);
}

.result-item span {
  display: block;
  color: #7f8fa8;
  font-size: 10px;
}

.result-item strong {
  display: block;
  margin-top: 2px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.2;
}

.advice {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink-soft);
  background: rgba(238, 242, 254, 0.74);
  border-left: 3px solid var(--peri);
  font-size: 12.5px;
}

.advice strong {
  color: var(--ink);
}

.local-note {
  margin: 14px 0 0;
  color: #8a99af;
  font-size: 10.5px;
}

.howto {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.howto-item {
  padding: 16px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(143, 216, 240, 0.25);
}

.howto-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--aqua-deep);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.howto-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
}

.disclaimer {
  margin: 18px 0 0;
  color: #8a99af;
  font-size: 10.5px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 46px 0 34px;
  }

  .hero-card {
    max-width: 520px;
  }

  .calc-layout {
    grid-template-columns: 1fr;
  }

  .howto {
    grid-template-columns: 1fr;
  }

  .trust {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  body {
    overflow-x: hidden;
  }

  .site-nav {
    display: none;
  }

  .site-shell {
    width: min(var(--max), calc(100% - 28px));
  }

  .page-title,
  .page-lead,
  .calc-layout,
  .panel,
  .field,
  .field input,
  .field select,
  .hero-card,
  .hero-card-inner {
    max-width: 100%;
    min-width: 0;
  }

  .field-grid,
  .result-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-inner {
    align-items: flex-start;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    padding: 7px 9px;
    font-size: 12px;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .nav-about {
    display: none;
  }

  .site-nav a {
    padding: 6px 7px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-card-inner {
    min-height: 390px;
  }

  .hero-pet {
    width: 142px;
    height: 142px;
  }

  .bubble {
    right: 128px;
    top: 84px;
    font-size: 14px;
  }

  .mini-calc {
    left: 14px;
    bottom: 16px;
    width: calc(100% - 28px);
  }

  .field-grid,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .calc-form,
  .result-panel {
    padding: 18px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}


.route-block {
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px solid rgba(143, 216, 240, 0.5);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.52);
  color: #42526b;
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.65;
}
.route-block strong {
  display: block;
  margin-bottom: 4px;
  color: #26364f;
  font-size: 13.5px;
  font-weight: 700;
}
.route-danger {
  border-color: rgba(214, 108, 122, 0.62);
  background: rgba(255, 239, 241, 0.72);
  color: #9c4050;
}
.route-danger strong { color: #b14e5d; }
.route-safe {
  border-color: rgba(86, 164, 112, 0.62);
  background: rgba(236, 250, 241, 0.72);
  color: #32704b;
}
.route-safe strong { color: #32704b; }
body, button, input, select, textarea { font-family: var(--font); }
