@font-face {
  font-family: "Noto Sans SC";
  src: url("assets/fonts/NotoSansSC.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("assets/fonts/PlusJakartaSans.woff") format("woff");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --p: 1;
  --bg-w: #eef3fb;
  --bg-s: #e5f6f0;
  --bg: color-mix(in srgb, var(--bg-w) calc((1 - var(--p)) * 100%), var(--bg-s) calc(var(--p) * 100%));
  --ink: #0b1020;
  --ink-soft: color-mix(in srgb, var(--ink) 62%, white);
  --accent-w: #2f6bff;
  --accent-s: #12e087;
  --accent: color-mix(in srgb, var(--accent-w) calc((1 - var(--p)) * 100%), var(--accent-s) calc(var(--p) * 100%));
  --accent-deep-w: #1d4ed8;
  --accent-deep-s: #00b86b;
  --accent-deep: color-mix(in srgb, var(--accent-deep-w) calc((1 - var(--p)) * 100%), var(--accent-deep-s) calc(var(--p) * 100%));
  --new-top-w: #67b4ff;
  --new-bot-w: #1d5cff;
  --new-top-s: #7dffb4;
  --new-bot-s: #00d56a;
  --new-top: color-mix(in srgb, var(--new-top-w) calc((1 - var(--p)) * 100%), var(--new-top-s) calc(var(--p) * 100%));
  --new-bot: color-mix(in srgb, var(--new-bot-w) calc((1 - var(--p)) * 100%), var(--new-bot-s) calc(var(--p) * 100%));
  --card-w: #c4daf8;
  --card-s: #79dec8;
  --card: color-mix(in srgb, var(--card-w) calc((1 - var(--p)) * 100%), var(--card-s) calc(var(--p) * 100%));
  --card-2-w: #b5cff4;
  --card-2-s: #62d3b8;
  --card-2: color-mix(in srgb, var(--card-2-w) calc((1 - var(--p)) * 100%), var(--card-2-s) calc(var(--p) * 100%));
  --glass: color-mix(in srgb, white 72%, var(--card) 28%);
  --cta: #2e6aff;
  --cta-2: #1e4fef;
  --shadow: color-mix(in srgb, #2a5088 calc((1 - var(--p)) * 100%), #1a6a58 calc(var(--p) * 100%));
  --nav-h: 78px;
  --page-pad: 28px;
  --ui: "Plus Jakarta Sans", "Noto Sans SC", sans-serif;
  --cn: "Noto Sans SC", "Plus Jakarta Sans", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--cn);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html { height: 100%; }

body {
  min-height: 100%;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg);
  transition: background-color 0.2s linear;
}

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

button { border: 0; background: none; cursor: pointer; }

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

a { text-decoration: 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;
}

.page {
  position: relative;
  min-height: 100dvh;
  background:
    radial-gradient(90% 70% at 50% 18%,
      color-mix(in srgb, white 70%, var(--bg)) 0%,
      transparent 62%),
    var(--bg);
  overflow: hidden;
}

.ambient {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
  opacity: 0.8;
}

.ambient-a {
  width: 42vw;
  height: 42vw;
  right: -8vw;
  top: -10vw;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--accent) 28%, transparent),
    transparent 68%);
}

.ambient-b {
  width: 36vw;
  height: 36vw;
  left: -10vw;
  bottom: -8vw;
  background: radial-gradient(circle,
    color-mix(in srgb, var(--card) 70%, transparent),
    transparent 70%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- nav ---------- */

.nav {
  position: relative;
  z-index: 20;
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--page-pad);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  min-width: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(180deg, #4d88ff, var(--cta-2));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--cta) 38%, transparent);
  flex: 0 0 auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  gap: 2px;
}

.logo-name {
  font-family: var(--cn);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.logo-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: color-mix(in srgb, var(--ink) 42%, white);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: color-mix(in srgb, var(--ink) 58%, white);
  padding: 8px 0;
  position: relative;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.icon-btn:hover { background: color-mix(in srgb, white 55%, transparent); }
.icon-btn:focus-visible,
.inbox-btn:focus-visible,
.cta-orb:focus-visible,
.heart-btn:focus-visible,
.sheep-hit:focus-visible,
.thumb:focus-visible,
.card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.inbox-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(180deg, #4d88ff, var(--cta-2));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--cta) 36%, transparent);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

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

.inbox-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: var(--cta-2);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(20, 40, 90, 0.2);
}
.inbox-badge[hidden] { display: none !important; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  height: calc(100dvh - var(--nav-h));
  min-height: 620px;
  padding: 0 var(--page-pad) 24px;
  z-index: 1;
}

/* ---------- headline ---------- */

.parallax {
  --px: 0px;
  --py: 0px;
}

.headline {
  position: absolute;
  z-index: 2;
  top: 0;
  left: var(--page-pad);
  right: var(--page-pad);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  line-height: 0.86;
  font-family: var(--cn);
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--ink);
  user-select: none;
}

.word-new {
  flex: 0 0 auto;
  font-size: clamp(5.2rem, 9.4vw, 9.6rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 0.86;
  background: linear-gradient(180deg, var(--new-top) 0%, var(--new-bot) 78%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: scaleX(0.92);
  transform-origin: left 70%;
  filter: drop-shadow(0 6px 18px color-mix(in srgb, var(--new-bot) 28%, transparent));
}

.word-season,
.word-intel {
  font-size: clamp(6.2rem, 11.2vw, 11.2rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  color: #0a0f1c;
}

.word-intel {
  transform: scaleX(0.9);
  transform-origin: left 70%;
  margin-left: 0.12em;
}

.word-season {
  position: relative;
  display: inline-flex;
  width: 2em;
  flex: 0 0 auto;
  height: 1em;
  margin-left: 0.04em;
}

.season-stack {
  position: absolute;
  inset: 0;
  display: grid;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.season {
  grid-area: 1 / 1;
  display: block;
  will-change: transform, opacity, filter;
  backface-visibility: hidden;
  transform-origin: 50% 55%;
}

.season-summer {
  opacity: 0;
}

.word-intel {
  flex: 0 1 auto;
}

/* ---------- intel card ---------- */

.intel-card {
  position: absolute;
  z-index: 3;
  left: 8px;
  right: 8px;
  bottom: 18px;
  height: min(46vh, 430px);
  border-radius: 40px;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--card) 86%, white) 0%,
      var(--card-2) 100%);
  box-shadow:
    0 30px 60px color-mix(in srgb, var(--shadow) 14%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  will-change: transform;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  overflow: hidden;
}

.intel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(80% 90% at 78% 50%,
      color-mix(in srgb, white 22%, transparent),
      transparent 60%);
}

.card-copy {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(36%, 430px);
  padding: 42px 28px 36px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f7fbff;
  z-index: 2;
  will-change: opacity, filter;
}

.card-summer {
  opacity: 0;
  pointer-events: none;
}

.card-badge {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: none;
  color: color-mix(in srgb, #fff 72%, var(--card));
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-badge span {
  font-family: var(--ui);
  letter-spacing: 0.08em;
}

.card-title {
  margin: 0 0 12px;
  font-family: var(--cn);
  font-weight: 900;
  font-size: clamp(1.85rem, 2.5vw, 2.55rem);
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 8px 24px color-mix(in srgb, var(--shadow) 25%, transparent);
}

.card-desc {
  margin: 0 0 22px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, #fff 78%, var(--card-2));
  max-width: 32em;
}

.card-cta-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 16px;
}

.card-price {
  margin: 0;
  font-family: var(--ui);
  font-weight: 800;
  font-size: clamp(2.1rem, 2.8vw, 2.8rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.price-label,
.price-suffix {
  font-family: var(--cn);
  font-size: 0.42em;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: 0.28em;
  margin: 0 0.08em;
}

.card-link {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.25s var(--ease), opacity 0.25s;
  pointer-events: auto;
}

.card-link:hover { transform: translateX(3px); }

.card-rating {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  color: color-mix(in srgb, #fff 76%, var(--card-2));
}

.stars {
  color: #ffd15a;
  letter-spacing: 1px;
  font-size: 13px;
  filter: drop-shadow(0 1px 0 rgba(180, 110, 0, 0.2));
}

/* ---------- sheep ---------- */

.sheep-wrap {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 18px;
  height: min(88%, 760px);
  aspect-ratio: 864 / 1152;
  transform: translate3d(calc(-50% + var(--px, 0px)), var(--py, 0px), 0);
  will-change: transform;
  pointer-events: none;
}

.sheep-hit {
  position: absolute;
  inset: 0;
  display: block;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 0;
}

.sheep-hit:focus-visible {
  outline: none;
}

.sheep-hit:focus-visible .sheep-stack {
  outline: 2px solid var(--accent);
  outline-offset: -8px;
  border-radius: 40px;
}

.visor-glow {
  position: absolute;
  left: 50%;
  top: 28%;
  width: 46%;
  height: 22%;
  transform: translate(-50%, -40%);
  background: radial-gradient(circle,
    color-mix(in srgb, var(--accent) 55%, white) 0%,
    transparent 70%);
  filter: blur(18px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

.sheep-stack {
  position: absolute;
  inset: 0;
  filter: drop-shadow(0 24px 36px color-mix(in srgb, var(--shadow) 28%, transparent));
}

.sheep {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.sheep-winter { z-index: 1; }
.sheep-summer {
  z-index: 2;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0, #000 0, transparent 0);
  mask-image: radial-gradient(circle at 50% 40%, #000 0, #000 0, transparent 0);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ---------- tags ---------- */

.tags {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}

.tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  background: color-mix(in srgb, white 78%, var(--card) 22%);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px;
  box-shadow:
    0 10px 28px color-mix(in srgb, var(--shadow) 12%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  color: var(--ink);
  min-width: 132px;
  will-change: transform;
}

.tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
  flex: 0 0 auto;
}

.tag-body { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }

.tag-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: color-mix(in srgb, var(--ink) 48%, white);
}

.tag-value {
  position: relative;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  height: 1.25em;
}

.v-winter,
.v-summer {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
}

.v-summer { opacity: 0; }

.tag-a { top: 29%; left: -2%; }
.tag-b { top: 49%; right: 2%; left: auto; }
.tag-c { top: 63%; left: 4%; }
.tag-d { top: 68%; right: -2%; left: auto; }

/* ---------- hint ---------- */

.hint-chip {
  position: absolute;
  z-index: 7;
  top: 26%;
  right: -8%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, white 80%, var(--card) 20%);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--shadow) 12%, transparent);
  font-size: 12px;
  font-weight: 600;
  color: color-mix(in srgb, var(--ink) 70%, white);
  pointer-events: none;
  white-space: nowrap;
  will-change: transform;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

.hint-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 16%, white);
  color: var(--accent-deep);
  display: grid;
  place-items: center;
  position: relative;
}

.hint-icon svg { grid-area: 1 / 1; }
.icon-sun { opacity: 0; }
.hint-summer, .hint-hover { display: none; }

.hint-chip.is-hovering .hint-winter,
.hint-chip.is-pinned .hint-winter { display: none; }
.hint-chip.is-hovering:not(.is-pinned) .hint-hover { display: inline; }
.hint-chip.is-pinned .hint-summer { display: inline; }
.hint-chip.is-hovering .icon-snow,
.hint-chip.is-pinned .icon-snow { opacity: 0; }
.hint-chip.is-hovering .icon-sun,
.hint-chip.is-pinned .icon-sun { opacity: 1; }

/* ---------- right rail ---------- */

.right-rail {
  position: absolute;
  z-index: 8;
  right: 18px;
  bottom: 18px;
  top: 38%;
  width: 200px;
  pointer-events: none;
}

.cta-orb {
  position: absolute;
  top: -10px;
  left: 10px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  pointer-events: auto;
  background:
    radial-gradient(circle at 34% 30%, #79a8ff 0%, #3b78ff 38%, #1e4eef 78%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow:
    0 22px 44px color-mix(in srgb, #1d4ed8 38%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -10px 18px rgba(15, 40, 140, 0.18);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  will-change: transform;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

.cta-orb:hover {
  transform: translate3d(var(--px, 0px), calc(var(--py, 0px) - 2px), 0) scale(1.03);
  box-shadow:
    0 26px 50px color-mix(in srgb, #1d4ed8 46%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.cta-orb:active { transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(0.97); }

.cta-orb.is-added {
  background: radial-gradient(circle at 34% 30%, #6ef0b4 0%, #16c37a 45%, #0a9a5e 80%);
  box-shadow:
    0 22px 44px color-mix(in srgb, #0a9a5e 36%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.cta-icon { display: grid; place-items: center; line-height: 0; }

.cta-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}

.heart-btn {
  position: absolute;
  top: 38px;
  left: -28px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: color-mix(in srgb, var(--ink) 55%, white);
  background: color-mix(in srgb, white 55%, transparent);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  pointer-events: auto;
  transition: color 0.25s, transform 0.25s var(--ease), background 0.25s;
  will-change: transform;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

.heart-btn:hover { color: #e11d48; transform: translate3d(var(--px, 0px), var(--py, 0px), 0) scale(1.08); }

.heart-btn[aria-pressed="true"] {
  color: #e11d48;
}

.heart-btn[aria-pressed="true"] svg { fill: #e11d48; }

.thumbs {
  position: absolute;
  right: 8px;
  top: 92px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
  will-change: transform;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
}

.thumb {
  position: relative;
  width: 76px;
  height: 92px;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 22px color-mix(in srgb, var(--shadow) 16%, transparent);
  transition: transform 0.3s var(--ease);
  background: #dbe7f8;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.thumb:hover { transform: translateY(-3px) scale(1.04); }

.thumb-price {
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  background: #fff;
  color: var(--ink);
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 2px 7px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(20, 40, 80, 0.12);
  white-space: nowrap;
}

/* ---------- search / toast ---------- */

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: color-mix(in srgb, #0b1020 22%, transparent);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: start center;
  padding-top: 16vh;
}

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

.search-sheet {
  width: min(520px, calc(100% - 40px));
  background: color-mix(in srgb, white 84%, var(--card) 16%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 60px rgba(20, 40, 80, 0.18);
}

.search-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: color-mix(in srgb, var(--ink) 50%, white);
}

.search-input {
  width: 100%;
  border: 0;
  background: color-mix(in srgb, white 70%, var(--card) 30%);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  outline: none;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
}

.search-input:focus {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.search-hint {
  margin: 12px 0 18px;
  font-size: 12px;
  color: color-mix(in srgb, var(--ink) 50%, white);
}

.search-close {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-deep);
  padding: 6px 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%) translateY(16px);
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: 0 12px 30px rgba(10, 16, 32, 0.25);
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- responsive ---------- */

@media (max-width: 1280px) {
  .word-new { font-size: clamp(4.4rem, 8.2vw, 7.4rem); }
  .word-season, .word-intel { font-size: clamp(5.2rem, 10vw, 9rem); }
  .word-season { width: 2em; }
  .tag-a { left: 0; }
  .tag-d { right: 0; }
  .hint-chip { right: 0; }
  .card-copy { width: min(38%, 400px); padding-left: 32px; }
  .cta-orb { width: 110px; height: 110px; }
  .thumbs { right: 0; }
}

@media (max-width: 1100px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }
  .nav-links { gap: 16px; overflow: auto; justify-content: flex-end; padding: 0 8px; }
  .nav-links a { font-size: 12px; letter-spacing: 0.04em; }
  .logo-sub { display: none; }
  .tag { transform: scale(0.9); transform-origin: center center; }
  .tag-a { left: 6%; }
  .tag-c { left: 14%; }
  .tag-b { right: 6%; }
  .tag-d { right: 6%; }
  .hint-chip { font-size: 11px; top: 24%; }
  .card-desc { font-size: 12.5px; max-width: 22em; }
  .card-copy { width: min(34%, 340px); padding-left: 28px; padding-right: 12px; }
  .sheep-wrap { height: min(80%, 640px); }
}

@media (max-width: 860px) {
  body { overflow: auto; }
  .page { overflow: visible; min-height: auto; }
  .hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 32px;
  }
  .headline {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    order: 1;
    flex-wrap: wrap;
    white-space: normal;
    line-height: 0.9;
    margin-bottom: 4px;
    gap: 0 0.08em;
  }
  .word-new { font-size: clamp(3rem, 16vw, 5.2rem); }
  .word-season, .word-intel { font-size: clamp(3.4rem, 18vw, 5.6rem); }
  .word-season { width: 2em; height: 0.92em; }
  .word-intel {
    flex: 0 0 100%;
    transform: none;
    margin-left: 0;
    margin-top: -0.02em;
  }
  .sheep-wrap {
    position: relative;
    left: auto;
    bottom: auto;
    order: 2;
    z-index: 5;
    transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
    width: min(90vw, 400px);
    height: auto;
    aspect-ratio: 864 / 1152;
    margin: -12px auto -170px;
    align-self: center;
  }
  .intel-card {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    order: 3;
    height: auto;
    min-height: 280px;
    margin-top: 0;
    z-index: 3;
  }
  .card-copy {
    position: relative;
    width: 100%;
    padding: 210px 24px 28px;
  }
  .card-summer { position: absolute; inset: 0; width: 100%; }
  .tags { display: none; }
  .hint-chip {
    top: 8%;
    right: 4%;
    font-size: 11px;
  }
  .hint-winter { display: none !important; }
  .hint-chip .hint-hover { display: none !important; }
  .hint-chip:not(.is-pinned)::after { content: "点按绵羊查看夏季情报"; }
  .right-rail {
    position: relative;
    right: auto;
    bottom: auto;
    top: auto;
    order: 4;
    width: 100%;
    margin-top: 8px;
    height: auto;
    min-height: 0;
    pointer-events: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 4px 8px 20px;
  }
  .cta-orb,
  .heart-btn,
  .thumbs {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    margin: 0;
    pointer-events: auto;
  }
  .cta-orb { width: 104px; height: 104px; flex: 0 0 auto; }
  .cta-orb:hover { transform: translate3d(var(--px, 0px), calc(var(--py, 0px) - 2px), 0) scale(1.03); }
  .heart-btn { flex: 0 0 auto; }
  .thumbs {
    flex-direction: row;
    gap: 8px;
    flex: 0 1 auto;
  }
  .thumb { width: 54px; height: 66px; border-radius: 14px; }
  .nav-links { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .headline, .intel-card, .sheep-wrap, .cta-orb, .thumbs, .heart-btn, .hint-chip, .tag {
    will-change: auto;
  }
}

@media (hover: none) and (pointer: coarse) {
  .hint-winter { display: none; }
  .hint-chip:not(.is-pinned) .hint-hover { display: none; }
  .hint-chip:not(.is-pinned)::after { content: "点按绵羊查看夏季情报"; }
}
/* deploy 2 */
