:root {
  --yellow: #FFD43B;
  --yellow-deep: #F5B700;
  --orange: #FF8A3D;
  --red: #FF5A5F;
  --sky: #5BC0EB;
  --leaf: #7BD389;
  --pink: #FF9EC7;
  --cream: #FFF8E7;
  --cream-2: #FFF1CC;
  --ink: #3A2E1F;
  --ink-soft: #6B5B45;
  --white: #fff;
  --screen: #2A2340;
  --radius: 28px;
  --shadow: 0 10px 0 rgba(58, 46, 31, .08), 0 20px 40px rgba(58, 46, 31, .08);
  --font-head: "Baloo 2", "SC Rounded", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-body: "Nunito", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 { font-family: "Baloo 2", "SC Rounded", "PingFang SC", "Noto Sans SC", sans-serif; font-weight: 700; letter-spacing: .02em; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(30px, 4vw, 46px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
a { color: inherit; }
.hl { background: linear-gradient(transparent 58%, var(--yellow) 58%); padding: 0 .1em; border-radius: 4px; }

/* staging + nav */
.staging-bar {
  background: var(--ink); color: var(--yellow);
  text-align: center; font-size: 13px; font-weight: 800; padding: 6px 16px; letter-spacing: .04em;
}
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(255, 248, 231, .88);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid rgba(58, 46, 31, .06);
}
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.logo-dot {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--yellow); box-shadow: inset -4px -4px 0 var(--yellow-deep);
  position: relative;
}
.logo-dot::before, .logo-dot::after { content: ""; position: absolute; top: 10px; width: 4px; height: 6px; background: var(--ink); border-radius: 3px; }
.logo-dot::before { left: 7px; } .logo-dot::after { right: 7px; }
.logo-text { font-family: "Baloo 2", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .04em; }
.logo-cn { font-family: "SC Rounded", "Noto Sans SC", sans-serif; font-size: 15px; color: var(--ink-soft); }
.nav-links { display: flex; gap: 22px; font-weight: 800; font-size: 15px; }
.nav-links a { text-decoration: none; opacity: .8; }
.nav-links a:hover { opacity: 1; color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-btn {
  border: 2px solid var(--ink); background: var(--white); border-radius: 999px;
  font: 800 14px var(--font-body); padding: 6px 14px; cursor: pointer; color: var(--ink);
}
.lang-btn:hover { background: var(--yellow); }

/* buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--orange); color: var(--white);
  font: 800 17px var(--font-body); text-decoration: none;
  padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 5px 0 #D9661E; transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #D9661E; }
.btn:active { transform: translateY(3px); box-shadow: 0 2px 0 #D9661E; }
.btn-small { padding: 8px 18px; font-size: 15px; box-shadow: 0 4px 0 #D9661E; }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: 0 5px 0 rgba(58,46,31,.15); border: 2px solid var(--ink); }
.btn-ghost:hover { box-shadow: 0 7px 0 rgba(58,46,31,.15); }

.badge {
  display: inline-block; background: var(--white); border: 2px dashed var(--orange);
  color: var(--orange); font-weight: 800; font-size: 14px; padding: 4px 14px; border-radius: 999px; margin-bottom: 18px;
}

/* hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px;
  padding: clamp(40px, 6vw, 80px) clamp(16px, 5vw, 72px) 60px;
  background: radial-gradient(circle at 75% 45%, #FFE680 0, #FFF1CC 38%, var(--cream) 70%);
}
.sun-rays {
  position: absolute; right: -10%; top: -20%; width: 900px; height: 900px; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 212, 59, .22) 0 8deg, transparent 8deg 22deg);
  border-radius: 50%; animation: spin 80s linear infinite;
  mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%);
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero-copy { position: relative; z-index: 2; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 22px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-points li { background: var(--white); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; box-shadow: 0 3px 0 rgba(58,46,31,.08); }
.hero-visual { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; min-height: 460px; justify-content: center; }
.bubble {
  position: absolute; background: var(--white); padding: 12px 18px; border-radius: 22px;
  font-weight: 800; font-size: 15px; max-width: 250px; box-shadow: var(--shadow); line-height: 1.4;
  animation: pop .6s cubic-bezier(.3,1.6,.5,1) both;
}
.bubble.b1 { top: 6%; left: 0; border-bottom-left-radius: 6px; animation-delay: .4s; }
.bubble.b2 { bottom: 12%; right: 0; background: var(--yellow); border-bottom-right-radius: 6px; animation-delay: 1.4s; }
@keyframes pop { from { opacity: 0; transform: scale(.6) translateY(10px); } to { opacity: 1; transform: none; } }

/* pet */
.pet-stage { width: min(340px, 78vw); aspect-ratio: 1 / 1; }
.pet-stage.small { width: 200px; }
.pet-stage svg { width: 100%; height: 100%; overflow: visible; }
.pet-float { animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
.pet-shadow { width: 180px; height: 22px; background: rgba(58,46,31,.12); border-radius: 50%; margin-top: 6px; animation: shadow 3.2s ease-in-out infinite; }
@keyframes shadow { 0%,100% { transform: scaleX(1); } 50% { transform: scaleX(.8); opacity: .7; } }
.pet-eyes { transform-box: fill-box; transform-origin: center; animation: blink 4.5s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.pet-ear-l { transform-box: fill-box; transform-origin: 80% 100%; animation: wiggleL 4s ease-in-out infinite; }
.pet-ear-r { transform-box: fill-box; transform-origin: 20% 100%; animation: wiggleR 4s ease-in-out infinite; }
@keyframes wiggleL { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(4deg); } }
@keyframes wiggleR { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
.pet-stage.talking .pet-mouth { animation: talk .25s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: center; }
@keyframes talk { from { transform: scaleY(1); } to { transform: scaleY(1.9); } }

/* marquee */
.marquee { background: var(--ink); color: var(--yellow); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 3; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: slide 30s linear infinite; font: 800 20px var(--font-head); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(60px, 8vw, 110px) clamp(16px, 5vw, 72px); max-width: 1240px; margin: 0 auto; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }
.kicker { display: inline-block; font-weight: 800; color: var(--orange); letter-spacing: .1em; text-transform: uppercase; font-size: 14px; margin-bottom: 8px; }

.story-card {
  background: var(--white); border-radius: 40px; padding: clamp(28px, 5vw, 60px); box-shadow: var(--shadow);
  position: relative; max-width: 900px; margin: 0 auto; text-align: center;
}
.story-card p { font-size: 18px; color: var(--ink-soft); max-width: 40em; margin-left: auto; margin-right: auto; }
.trio { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.trio-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trio-item b {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  font: 700 34px "SC Rounded", "Baloo 2", sans-serif; background: var(--yellow); box-shadow: inset -6px -6px 0 var(--yellow-deep);
}
.trio-item:nth-child(2) b { background: var(--sky); box-shadow: inset -6px -6px 0 #3AA6D6; }
.trio-item:nth-child(3) b { background: var(--leaf); box-shadow: inset -6px -6px 0 #5DBB6D; }
.trio-item span { font-weight: 800; font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.step:nth-child(even) { transform: translateY(18px); }
.step-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--cream-2); display: grid; place-items: center; font-size: 32px; margin-bottom: 14px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 16px; }

/* friends */
.friends-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.friend-preview { display: flex; flex-direction: column; align-items: center; background: var(--cream-2); border-radius: 40px; padding: 40px 20px 30px; transition: background .4s; }
.friend-hello { margin-top: 16px; background: var(--white); padding: 12px 20px; border-radius: 20px; font-weight: 800; text-align: center; box-shadow: 0 4px 0 rgba(58,46,31,.08); }
.friend-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.friend-card {
  border: 3px solid transparent; background: var(--white); border-radius: 24px; padding: 18px;
  text-align: left; cursor: pointer; font: inherit; color: inherit; box-shadow: var(--shadow);
  display: flex; gap: 12px; align-items: flex-start; transition: transform .15s, border-color .15s;
}
.friend-card:hover { transform: translateY(-3px); }
.friend-card[aria-pressed="true"] { border-color: var(--c); }
.friend-card .mini { width: 64px; flex: none; aspect-ratio: 1/1; }
.friend-card .mini svg { width: 100%; height: 100%; }
.friend-card h3 { margin: 0; font-size: 20px; }
.friend-card .role { font-weight: 800; color: var(--c); font-size: 14px; display: block; filter: brightness(.8); }
.friend-card .loves { font-size: 13px; color: var(--ink-soft); display: block; margin-top: 4px; line-height: 1.45; }

/* chat */
.chat-box { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: 36px; box-shadow: var(--shadow); overflow: hidden; border: 3px solid var(--ink); }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--cream-2); border-bottom: 3px solid var(--ink); }
.chat-top small { display: block; color: #3E9B4F; font-weight: 800; font-size: 12px; }
.chat-avatar { width: 46px; aspect-ratio: 1/1; }
.chat-avatar svg { width: 100%; height: 100%; }
.chat-reset { margin-left: auto; border: 2px solid var(--ink); background: var(--white); border-radius: 999px; padding: 4px 12px; font: 800 13px var(--font-body); cursor: pointer; color: var(--ink); }
.chat-log { height: 360px; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; background:
  radial-gradient(circle at 10px 10px, rgba(255,212,59,.18) 2px, transparent 3px) 0 0 / 26px 26px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 20px; line-height: 1.5; font-size: 16px; animation: pop .35s ease both; }
.msg.kid { align-self: flex-end; background: var(--sky); color: var(--white); font-weight: 700; border-bottom-right-radius: 6px; }
.msg.pet { align-self: flex-start; background: var(--cream-2); border-bottom-left-radius: 6px; }
.msg .filter-tag { display: inline-block; background: var(--ink); color: var(--yellow); font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; margin-bottom: 6px; }
.msg .say { border: 0; background: var(--white); border-radius: 50%; width: 30px; height: 30px; margin-left: 6px; cursor: pointer; vertical-align: middle; font-size: 14px; }
.typing span { display: inline-block; width: 8px; height: 8px; background: var(--ink-soft); border-radius: 50%; margin: 0 2px; animation: dot 1s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-5px); opacity: 1; } }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-top: 2px dashed rgba(58,46,31,.15); }
.chip { border: 2px solid var(--ink); background: var(--white); border-radius: 999px; padding: 6px 14px; font: 700 14px var(--font-body); cursor: pointer; color: var(--ink); }
.chip:hover:not(:disabled) { background: var(--yellow); }
.chip.risky { border-style: dashed; border-color: var(--red); }
.chip:disabled { opacity: .45; cursor: default; }
.chat-note { font-size: 12px; color: var(--ink-soft); padding: 0 18px 14px; margin: 0; }

/* safety */
.safe { background: none; }
.flow { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.flow-node { background: var(--white); border-radius: 22px; padding: 14px 18px; font-size: 30px; display: flex; flex-direction: column; align-items: center; box-shadow: var(--shadow); min-width: 104px; }
.flow-node span { font-size: 14px; font-weight: 800; margin-top: 4px; }
.flow-node.shield { background: var(--ink); color: var(--yellow); }
.flow-arrow { font: 800 26px var(--font-head); color: var(--orange); }
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.layer { background: var(--white); border-radius: var(--radius); padding: 28px; position: relative; box-shadow: var(--shadow); }
.layer-n { position: absolute; top: -16px; left: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font: 800 20px var(--font-head); border: 3px solid var(--ink); }
.layer p { color: var(--ink-soft); margin: 0; font-size: 16px; }
.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.promise div { background: var(--cream-2); border-radius: 22px; padding: 18px 22px; }
.promise b { display: block; font-size: 17px; }
.promise span { color: var(--ink-soft); font-size: 15px; }

/* ages */
.age-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.age { background: var(--white); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); border-top: 10px solid var(--c); }
.age em { font: 800 44px var(--font-head); font-style: normal; color: var(--c); filter: brightness(.9); display: block; line-height: 1; margin-bottom: 8px; }
.age p { color: var(--ink-soft); margin: 0; }

/* specs */
.specs-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.specs-views { display: flex; justify-content: center; gap: 20px; background: var(--white); border-radius: 40px; padding: 30px 20px; box-shadow: var(--shadow); }
.specs-views figure { margin: 0; text-align: center; }
.specs-views figcaption { font-weight: 800; font-size: 14px; margin-top: 10px; color: var(--ink-soft); }
.spec-list { list-style: none; margin: 0; padding: 0; }
.spec-list li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; padding: 12px 0; border-bottom: 2px dashed rgba(58,46,31,.12); }
.spec-list b { color: var(--orange); }
.fine { font-size: 13px; color: var(--ink-soft); text-align: center; margin-top: 24px; }

/* parent app */
.parent { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.parent-copy p { color: var(--ink-soft); font-size: 18px; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 34px; position: relative; margin: 10px 0; font-weight: 700; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--leaf); color: var(--white); display: grid; place-items: center; font-size: 14px; font-weight: 800; }
.phone { width: 290px; margin: 0 auto; background: var(--ink); border-radius: 44px; padding: 14px; box-shadow: var(--shadow); transform: rotate(3deg); }
.phone-in { background: var(--cream); border-radius: 32px; padding: 26px 20px; min-height: 480px; }
.ph-head { font-weight: 800; font-size: 15px; margin-bottom: 18px; }
.ph-big { background: var(--white); border-radius: 20px; padding: 14px 18px; margin-bottom: 12px; display: flex; align-items: baseline; gap: 10px; }
.ph-big b { font: 800 40px var(--font-head); color: var(--orange); line-height: 1; }
.ph-big:nth-of-type(3) b { color: var(--sky); }
.ph-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.ph-tags span { background: var(--yellow); border-radius: 999px; padding: 4px 10px; font-size: 13px; font-weight: 800; }
.ph-mood { background: var(--white); border-radius: 18px; padding: 12px 14px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* reserve */
.reserve-card { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; background: var(--yellow); border-radius: 44px; padding: clamp(28px, 5vw, 56px); box-shadow: inset -12px -12px 0 var(--yellow-deep), var(--shadow); }
.price { font: 800 96px var(--font-head); line-height: 1; margin: 6px 0 20px; }
.price small { font-size: 28px; vertical-align: top; }
.price s { font-size: 28px; opacity: .5; margin-left: 10px; }
.res-form { background: var(--white); border-radius: 30px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.res-form h3 { margin: 0; }
.res-form p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.res-form input, .res-form select { font: 600 16px var(--font-body); padding: 12px 16px; border: 2px solid var(--ink); border-radius: 16px; background: var(--cream); color: var(--ink); width: 100%; }
.res-ok { color: #3E9B4F !important; font-weight: 800; }

/* faq */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
details { background: var(--white); border-radius: 22px; padding: 18px 24px; box-shadow: 0 4px 0 rgba(58,46,31,.08); }
summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 800 24px var(--font-head); color: var(--orange); line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--ink-soft); }

.foot { text-align: center; padding: 60px 16px 40px; background: var(--ink); color: var(--cream); }
.foot .logo { justify-content: center; margin-bottom: 10px; }
.foot .logo-cn { color: var(--yellow); }
.foot-small { font-size: 13px; opacity: .6; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: var(--yellow); padding: 12px 22px; border-radius: 999px; font-weight: 800; z-index: 100; box-shadow: var(--shadow); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.step.reveal.in:nth-child(even) { transform: translateY(18px); }

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

/* responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero, .friends-wrap, .specs-wrap, .parent, .reserve-card { grid-template-columns: 1fr; }
  .hero-visual { min-height: 400px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .layers, .promise, .age-row { grid-template-columns: 1fr; }
  .layers { gap: 30px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .steps, .friend-list { grid-template-columns: 1fr; }
  .step:nth-child(even), .step.reveal.in:nth-child(even) { transform: none; }
  .logo-cn { display: none; }
  .bubble { font-size: 13px; max-width: 200px; }
  .flow-arrow { display: none; }
  .flow-node { min-width: 88px; padding: 10px 12px; font-size: 24px; }
  .specs-views { flex-direction: column; align-items: center; }
  .spec-list li { grid-template-columns: 74px 1fr; }
  .price { font-size: 72px; }
  .chat-log { height: 320px; }
}

/* ---------- product design additions ---------- */
.pet-stage svg { filter: drop-shadow(0 18px 18px rgba(160, 110, 0, .18)); }
button.pet-stage { border: 0; background: none; padding: 0; cursor: pointer; display: block; }
.pet-stage.jump { animation: jump .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes jump { 0% { transform: scale(1, 1); } 25% { transform: scale(1.12, .86); } 55% { transform: translateY(-34px) scale(.94, 1.08); } 100% { transform: none; } }
.pet-stage.swap svg { animation: swap .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes swap { from { transform: scale(.7) rotate(-8deg); opacity: .4; } to { transform: none; opacity: 1; } }
.pet-q { animation: qbob 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes qbob { 50% { transform: translateY(-6px) rotate(12deg); } }
.pet-z text { animation: zfloat 2.4s ease-in-out infinite; }
.pet-z text:nth-child(2) { animation-delay: .5s; }
@keyframes zfloat { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); } }
.pet-antenna { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 3s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(7deg); } }

.dock { width: min(380px, 84vw); margin-top: -64px; position: relative; z-index: -1; }
.dock svg { width: 100%; display: block; }
.dock-glow { animation: glow 2.4s ease-in-out infinite; }
@keyframes glow { 50% { opacity: .1; } }
.dock-led { animation: glow 1.2s ease-in-out infinite; }
.poke-tip { margin-top: 10px; font-weight: 800; font-size: 14px; color: var(--ink-soft); }
.hero-visual .pet-stage { position: relative; z-index: 1; }
.tickle { position: absolute; z-index: 5; top: 26%; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--yellow); font-weight: 800; padding: 8px 16px; border-radius: 999px; white-space: nowrap; animation: pop .4s cubic-bezier(.3,1.6,.5,1) both; pointer-events: none; }

.family { padding-bottom: 40px; }
.family-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.fam { border: 0; background: none; cursor: pointer; font: inherit; color: inherit; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0; }
.fam .pet-stage { width: 100%; max-width: 220px; }
.fam:nth-child(2) .pet-float { animation-delay: -.8s; }
.fam:nth-child(3) .pet-float { animation-delay: -1.6s; }
.fam:nth-child(4) .pet-float { animation-delay: -2.4s; }
.fam .plinth { width: 80%; height: 18px; border-radius: 50%; background: var(--c); opacity: .35; margin-top: -6px; }
.fam b { font-family: var(--font-head); font-size: 22px; margin-top: 6px; }
.fam small { color: var(--ink-soft); font-weight: 700; font-size: 14px; }
.fam:hover .pet-stage { transform: translateY(-6px) scale(1.04); transition: transform .2s; }

.faces-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.faces-stage { display: flex; flex-direction: column; align-items: center; background: radial-gradient(circle, #FFE680 0, var(--cream-2) 60%); border-radius: 50%; aspect-ratio: 1; justify-content: center; max-width: 460px; width: 100%; margin: 0 auto; }
.faces-stage .pet-stage { width: 66%; }
.faces-copy p { color: var(--ink-soft); font-size: 18px; }
.face-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.face-btn { border: 3px solid transparent; background: var(--white); border-radius: 20px; padding: 10px 6px 8px; cursor: pointer; font: 800 13px var(--font-body); color: var(--ink); box-shadow: 0 4px 0 rgba(58,46,31,.08); display: flex; flex-direction: column; align-items: center; gap: 4px; transition: transform .15s; }
.face-btn:hover { transform: translateY(-3px); }
.face-btn[aria-pressed="true"] { border-color: var(--orange); }
.face-btn .mini { width: 54px; }
.face-btn .mini svg { width: 100%; height: auto; filter: none; }

@media (max-width: 980px) {
  .faces-wrap { grid-template-columns: 1fr; }
  .family-row { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
}
@media (max-width: 560px) {
  .face-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .face-btn .mini { width: 44px; }
  .face-btn { font-size: 11px; }
}
.dock { margin-top: -84px; }
.fam .plinth { margin-top: -26px; }
.price-side { position: relative; }
.res-visual { position: absolute; right: 0; top: -10px; width: 170px; display: flex; flex-direction: column; align-items: center; }
.res-visual .pet-stage { width: 130px; }
.res-visual .dock { width: 170px; margin-top: -34px; }
@media (max-width: 560px) { .res-visual { width: 120px; } .res-visual .pet-stage { width: 92px; } .res-visual .dock { width: 120px; margin-top: -24px; } }
.res-visual .pet-stage { position: relative; z-index: 1; }
.res-visual .dock { z-index: 0; }

/* ---------- v2: round magnetic disc ---------- */
.pet-stage svg { filter: drop-shadow(0 16px 20px rgba(120, 90, 20, .18)); }
.pet-twinkle path { animation: glow 2.2s ease-in-out infinite; }
.pet-twinkle path:nth-child(even) { animation-delay: 1.1s; }
.friend-preview .pet-stage { width: min(300px, 70vw); position: relative; z-index: 1; }
.friend-preview .dock { width: min(300px, 70vw); margin-top: -40px; z-index: 0; }
.res-visual .dock { margin-top: -22px; }

.hero-visual { min-height: 0; }
.hero-photo {
  width: min(560px, 100%); aspect-ratio: 1; border-radius: 48px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(160, 110, 0, .22), 0 0 0 10px rgba(255, 255, 255, .6);
  animation: bob 6s ease-in-out infinite;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bubble.b1 { top: 4%; left: -4%; }
.bubble.b2 { bottom: 6%; right: -2%; }

.photo-card { margin: 0; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); position: relative; background: var(--white); }
.photo-card img { width: 100%; height: auto; display: block; }
.photo-card.wide { max-width: 1100px; margin: 0 auto; }
.cast-chip { position: absolute; left: 20px; top: 20px; background: rgba(42, 35, 64, .82); color: var(--yellow); font-weight: 800; font-size: 14px; padding: 8px 16px; border-radius: 999px; backdrop-filter: blur(6px); }

.family-names { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 1100px; margin: 18px auto 0; }
.family-names .fam { background: var(--white); border-radius: 20px; padding: 12px 10px; box-shadow: 0 4px 0 rgba(58,46,31,.08); flex-direction: row; justify-content: center; gap: 10px; flex-wrap: wrap; }
.family-names .fam b { margin: 0; font-size: 19px; }
.fam-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: inset -3px -3px 0 rgba(0,0,0,.12); }
.family-names .fam:hover { transform: translateY(-3px); }

.tv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.tv-card { background: var(--white); border-radius: 26px; padding: 24px 22px; box-shadow: var(--shadow); }
.tv-card > span { font-size: 34px; display: block; margin-bottom: 8px; }
.tv-card h3 { font-size: 20px; }
.tv-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }

.magnet-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.magnet-copy p { color: var(--ink-soft); font-size: 18px; }
.mounts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.mount { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border-radius: 20px; padding: 14px 16px; box-shadow: 0 4px 0 rgba(58,46,31,.08); }
.mount b { font-size: 26px; line-height: 1; }
.mount strong { display: block; font-size: 16px; }
.mount em { font-style: normal; color: var(--ink-soft); font-size: 14px; line-height: 1.45; display: block; }

.design-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.design-card { margin: 0; background: var(--white); border-radius: 32px; padding: 26px 20px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; }
.design-card .pet-stage.small { width: min(220px, 70%); }
.design-card.photo { padding: 0; overflow: hidden; }
.design-card.photo img { width: 100%; height: auto; aspect-ratio: 1.15; object-fit: cover; display: block; }
.design-card.photo figcaption { padding: 0 20px 20px; }
.design-card figcaption { text-align: center; margin-top: 14px; }
.design-card figcaption b { display: block; }
.design-card figcaption span { color: var(--ink-soft); font-size: 14px; }

.dims { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0; }
.dims div { background: var(--ink); color: var(--cream); border-radius: 24px; padding: 18px; text-align: center; }
.dims b { font: 800 46px var(--font-head); color: var(--yellow); line-height: 1; display: block; }
.dims small { font-size: 18px; margin-left: 3px; color: var(--cream); }
.dims span { font-size: 14px; font-weight: 700; opacity: .8; }

.spec-groups { columns: 2 380px; column-gap: 20px; }
.spec-group { break-inside: avoid; background: var(--white); border-radius: 26px; padding: 22px 24px; box-shadow: var(--shadow); margin-bottom: 20px; }
.spec-group.hot { background: var(--cream-2); outline: 3px solid var(--yellow); }
.spec-group h3 { font-size: 20px; margin-bottom: 10px; }
.spec-group dl { display: grid; grid-template-columns: 76px 1fr; gap: 8px 14px; margin: 0; }
.spec-group dt { font-weight: 800; color: var(--orange); }
.spec-group dd { margin: 0; color: var(--ink-soft); font-size: 15px; }
.box-list { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.box-list li { margin: 4px 0; }

.chat-avatar { width: 46px; aspect-ratio: 1; }

@media (max-width: 980px) {
  .tv-grid { grid-template-columns: 1fr 1fr; }
  .magnet-wrap { grid-template-columns: 1fr; }
  .design-row { grid-template-columns: 1fr 1fr; }
  .dims { grid-template-columns: 1fr 1fr; }
  .hero-photo { width: min(460px, 100%); margin: 0 auto; }
}
@media (max-width: 560px) {
  .tv-grid, .mounts, .design-row { grid-template-columns: 1fr; }
  .family-names { grid-template-columns: 1fr 1fr; }
  .bubble.b1 { left: 0; } .bubble.b2 { right: 0; }
  .hero-photo { border-radius: 32px; }
  .dims b { font-size: 36px; }
}
.hero-photo img, .photo-card img { height: auto; }

/* ======================================================================
   v3 — multi-page site, real product shots, premium type
   ====================================================================== */
:root {
  --font-head: "Nunito", "Noto Sans SC", "PingFang SC", sans-serif;
  --font-body: "Nunito", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --line: rgba(58, 46, 31, .1);
}
h1, h2, h3, html[lang="zh-CN"] h1, html[lang="zh-CN"] h2, html[lang="zh-CN"] h3 {
  font-family: var(--font-head); font-weight: 900; letter-spacing: -.01em;
}
html[lang="zh-CN"] h1, html[lang="zh-CN"] h2 { letter-spacing: .01em; }
html[lang="zh-CN"] body { font-family: "Noto Sans SC", "PingFang SC", var(--font-body); }
h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.12; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
.section-head p, .lead { color: var(--ink-soft); }

/* header */
.staging-bar { font-size: 12px; padding: 5px 16px; }
.nav { padding: 12px clamp(16px, 4vw, 48px); }
.logo img { height: 36px; width: auto; display: block; }
.logo-cn { font-family: "Noto Sans SC", sans-serif; font-weight: 700; font-size: 14px; color: var(--ink-soft); padding-left: 10px; border-left: 2px solid var(--line); }
.nav-links { gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 999px; font-size: 15px; opacity: .78; }
.nav-links a[aria-current="page"] { background: var(--ink); color: var(--yellow); opacity: 1; }
.nav-links a:hover { color: inherit; background: rgba(255, 212, 59, .35); opacity: 1; }
.nav-links a[aria-current="page"]:hover { background: var(--ink); color: var(--yellow); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--ink); background: var(--white); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.menu-btn span { width: 18px; height: 2.5px; background: var(--ink); border-radius: 2px; display: block; }
.lang-select { border: 2px solid var(--ink); background: var(--white); border-radius: 999px; font: 800 14px var(--font-body); padding: 7px 12px; color: var(--ink); cursor: pointer; }

/* hero */
.eyebrow { display: inline-block; font-weight: 800; font-size: 14px; letter-spacing: .06em; color: var(--orange); background: rgba(255, 138, 61, .1); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.slogan { font: 900 18px var(--font-head); color: var(--ink); margin: 0 0 10px; letter-spacing: .02em; }
.hero { background: radial-gradient(circle at 78% 40%, #FFE89A 0, #FFF3D1 36%, var(--cream) 68%); }
.hero-photo { border-radius: 40px; box-shadow: 0 30px 70px rgba(140, 95, 0, .22); animation: none; }
.text-link { display: inline-block; font-weight: 800; color: var(--orange); text-decoration: none; margin-top: 12px; }
.text-link:hover { text-decoration: underline; }
.text-link.small { font-size: 14px; margin-top: 0; }

/* device bezel around a companion portrait */
.disc { --c: #FFD43B; --cd: #E9A400; display: inline-block; width: 100%; aspect-ratio: 1; border-radius: 50%; padding: 7%;
  background: radial-gradient(circle at 32% 26%, #fff 0, #F4F5F7 46%, #D9DDE3 100%);
  box-shadow: 0 0 0 5px var(--c), 0 0 0 6px var(--cd), 0 18px 34px rgba(70, 50, 10, .22), inset 0 -6px 12px rgba(0, 0, 0, .06);
  position: relative; vertical-align: middle; }
.disc-bezel { display: block; width: 100%; height: 100%; border-radius: 50%; background: #15121E; padding: 6%; overflow: hidden; position: relative; }
.disc-bezel img { width: 100%; height: 100%; border-radius: 50%; display: block; object-fit: cover; }
.disc-bezel::after { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,.38) 0%, rgba(255,255,255,0) 38%); pointer-events: none; }
.disc::after { content: ""; position: absolute; top: 3.2%; left: 50%; width: 2.2%; aspect-ratio: 1; border-radius: 50%; background: #AEB4BC; transform: translateX(-50%); }
.disc.tiny { width: 34px; padding: 6%; box-shadow: 0 0 0 2px var(--c), 0 3px 6px rgba(0,0,0,.15); }
.disc.tiny::after, .disc.mini::after, .disc.avatar::after { display: none; }
.disc.mini { width: 62px; box-shadow: 0 0 0 3px var(--c), 0 6px 12px rgba(0,0,0,.15); flex: none; }
.disc.avatar { width: 44px; box-shadow: 0 0 0 2.5px var(--c), 0 3px 8px rgba(0,0,0,.15); }
.disc.mid { width: 150px; }
.disc.big { width: min(320px, 72vw); }
.disc.go { width: 120px; }
.disc.home { width: 210px; }
.disc.dock { width: 64px; box-shadow: 0 0 0 3px var(--c), 0 6px 12px rgba(0,0,0,.2); }
.disc.dock::after { display: none; }

/* family + palm */
.family-names .fam { text-decoration: none; color: inherit; align-items: center; }
.family-names .fam span { display: flex; flex-direction: column; text-align: left; line-height: 1.25; }
.palm { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.dims.compact { grid-template-columns: repeat(3, 1fr); margin: 20px 0 6px; }
.dims.compact b { font-size: 38px; }

/* values */
.values .section-head { max-width: 820px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar { border-radius: 36px; padding: 36px 34px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.pillar.ask { background: var(--yellow); }
.pillar.stay { background: var(--ink); color: var(--cream); }
.pillar.stay p { color: rgba(255, 248, 231, .82); }
.pillar h3 { font-size: 34px; margin-bottom: 10px; }
.pillar p { font-size: 18px; margin: 0; max-width: 30em; position: relative; }
.pillar-mark { position: absolute; right: 22px; top: -18px; font: 900 170px/1 var(--font-head); opacity: .16; }
.ask-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.ask-features > div { background: var(--white); border-radius: 24px; padding: 20px; box-shadow: 0 4px 0 rgba(58,46,31,.06); display: flex; flex-direction: column; gap: 4px; }
.ask-features b { font-size: 28px; }
.ask-features strong { font-size: 17px; }
.ask-features span { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.motto { text-align: center; font: 900 clamp(22px, 3vw, 32px) var(--font-head); margin: 40px auto 0; color: var(--ink); }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { display: flex; flex-direction: column; border-radius: 30px; overflow: hidden; background: var(--white); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s; }
.feature:hover { transform: translateY(-4px); }
.feature img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.feature-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 4px; }
.feature-body b { font-size: 19px; }
.feature-body em { font-style: normal; color: var(--ink-soft); font-size: 15px; }
.step-n { font: 900 15px var(--font-head); color: var(--orange); background: rgba(255,138,61,.12); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px; }

/* picker */
.pick-stage { display: flex; justify-content: center; padding: 10px 0 6px; }
.pick-stage.swap .disc { animation: swap .5s cubic-bezier(.3, 1.6, .5, 1); }
.friend-preview { gap: 6px; }
.chat-avatar { width: auto; aspect-ratio: auto; }

/* product line */
.lineup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.line-card { background: var(--white); border-radius: 32px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; position: relative; }
.line-card.set { background: var(--cream-2); outline: 3px solid var(--yellow); }
.line-card h3 { font-size: 26px; margin: 4px 0 8px; }
.line-card p { color: var(--ink-soft); font-size: 15.5px; }
.line-visual { height: 250px; border-radius: 24px; background: radial-gradient(circle at 50% 45%, #FFF6D8, #F6EBD2); display: flex; align-items: center; justify-content: center; position: relative; margin-bottom: 18px; gap: 14px; }
.set-visual { align-items: flex-end; padding-bottom: 28px; }
.scale-tag { position: absolute; left: 14px; bottom: 12px; font-weight: 800; font-size: 12px; background: var(--white); padding: 3px 10px; border-radius: 999px; color: var(--ink-soft); }
.line-tag { font-weight: 800; font-size: 13px; color: var(--orange); letter-spacing: .06em; }
.line-specs { list-style: none; padding: 0; margin: 4px 0 18px; display: grid; gap: 6px; font-size: 14.5px; }
.line-specs li { padding-left: 18px; position: relative; }
.line-specs li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.line-price { margin-top: auto; font: 900 28px var(--font-head); }
.line-price s { font-size: 16px; opacity: .45; margin-left: 6px; }
.set-badge { position: absolute; right: 20px; top: 20px; background: var(--orange); color: var(--white); font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; z-index: 2; }
.home-unit { display: inline-flex; flex-direction: column; align-items: center; position: relative; }
.home-unit .disc.home { position: relative; z-index: 2; }
.home-base { width: 190px; height: 64px; margin-top: -26px; border-radius: 24px 24px 46px 46px / 18px 18px 40px 40px; position: relative; z-index: 1;
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.035) 0 2px, transparent 2px 4px), linear-gradient(180deg, #FBF7EF, #E7DECB);
  box-shadow: 0 16px 26px rgba(70, 50, 10, .2), inset 0 -4px 8px rgba(0,0,0,.06); }
.home-light { position: absolute; left: 14%; right: 14%; bottom: 7px; height: 5px; border-radius: 999px; background: #FFC86B; box-shadow: 0 0 16px 4px rgba(255, 190, 90, .6); }
.home-go { position: absolute; right: -40px; bottom: 6px; z-index: 3; }
.home-visual .disc.home { width: 170px; }
.home-visual .home-base { width: 160px; }
.set-visual .disc.home { width: 150px; }
.set-visual .disc.go { width: 82px; margin-bottom: -6px; }
.sync-row { display: flex; align-items: center; gap: 12px; margin-top: 22px; background: var(--white); border-radius: 26px; padding: 18px 22px; box-shadow: 0 4px 0 rgba(58,46,31,.06); }
.sync-row > div { flex: 1; display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 15px; }
.sync-row b { font-size: 26px; }
.sync-row i { font-style: normal; font: 900 22px var(--font-head); color: var(--orange); }

/* reserve */
.price-note { font-weight: 700; font-size: 14px; margin: -12px 0 14px; opacity: .75; }
.box-photo { margin: 18px 0 0; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 24px rgba(120,80,0,.18); }
.box-photo img { width: 100%; height: auto; display: block; }

/* inner page hero */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: clamp(36px, 6vw, 72px) clamp(16px, 5vw, 72px) 30px; max-width: 1280px; margin: 0 auto; }
.page-hero.center { grid-template-columns: 1fr; text-align: center; }
.page-hero.center .page-hero-copy { max-width: 820px; margin: 0 auto; }
.page-hero-photo { margin: 0; border-radius: 36px; overflow: hidden; box-shadow: 0 26px 60px rgba(140, 95, 0, .2); }
.page-hero-photo img { width: 100%; height: auto; display: block; }
.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.page-hero.center .jump-links, .page-hero.center .promise-pills, .hero-cta.center { justify-content: center; }
.jump-links a { text-decoration: none; font-weight: 800; font-size: 14px; padding: 7px 14px; border-radius: 999px; background: var(--white); box-shadow: 0 3px 0 rgba(58,46,31,.08); }
.jump-links a:hover { background: var(--yellow); }
.promise-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.promise-pills span { background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.sub-h { font-size: 26px; margin: 34px 0 16px; }
.cta-band { text-align: center; background: var(--yellow); border-radius: 40px; margin: 40px auto; max-width: 1100px; box-shadow: inset -10px -10px 0 var(--yellow-deep); }
.cta-band p { max-width: 36em; margin: 0 auto 6px; }

/* design page */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { background: var(--white); border-radius: 30px; padding: 30px; box-shadow: var(--shadow); }
.principle p { color: var(--ink-soft); margin: 0; }
.p-shape { display: block; width: 58px; height: 58px; margin-bottom: 16px; }
.p-shape.round { border-radius: 50%; background: var(--yellow); }
.p-shape.soft { border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; background: var(--pink); }
.p-shape.warm { border-radius: 50%; background: radial-gradient(circle, #FFE7A8 0 35%, #FF8A3D 36% 100%); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.swatch { background: var(--white); border-radius: 28px; padding: 26px 16px 20px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s; }
.swatch:hover { transform: translateY(-4px); }
.swatch .disc { margin-bottom: 14px; }
.swatch b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.swatch b i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--cd); }
.swatch small { color: var(--ink-soft); font-weight: 700; }
.materials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.materials div { border-top: 3px solid var(--yellow); padding-top: 12px; }
.materials b { display: block; }
.materials span { color: var(--ink-soft); font-size: 14.5px; }
.anatomy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.anat { margin: 0; background: var(--white); border-radius: 32px; padding: 26px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; }
.anat-visual { display: flex; justify-content: center; }
.anat-visual .disc.big { width: 100%; max-width: 260px; }
.anat-visual.photo img { width: 100%; height: auto; border-radius: 22px; display: block; }
.callouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.callouts li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.callouts b { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font-size: 13px; }
.mode-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.mode-row div { background: var(--cream-2); border-radius: 22px; padding: 16px 20px; }
.mode-row b { display: block; }
.mode-row span { color: var(--ink-soft); font-size: 14.5px; }
.box { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.box-copy p { color: var(--ink-soft); }
.box-copy .btn { margin-top: 18px; }

/* specs page */
.spec-hero-visual { display: flex; align-items: flex-end; justify-content: center; gap: 30px; min-height: 340px; background: radial-gradient(circle at 50% 50%, #FFF1C4, transparent 70%); }
.spec-hero-visual .disc.home { width: 240px; }
.spec-hero-visual .home-base { width: 220px; height: 74px; }
.go-beside .disc.go { width: 104px; }
.compare { overflow-x: auto; background: var(--white); border-radius: 28px; box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); font-size: 15px; vertical-align: top; }
.compare thead th { font-size: 17px; background: var(--ink); color: var(--yellow); }
.compare tbody th { color: var(--orange); white-space: nowrap; font-weight: 800; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.box-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 10px; }
.certs { background: var(--white); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); margin-top: 10px; }
.certs p { color: var(--ink-soft); }
.cert-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cert-row span { border: 2px solid var(--ink); border-radius: 10px; padding: 5px 12px; font-weight: 800; font-size: 13px; }

/* companions page */
.jump-pets { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.jump-pets a { display: flex; align-items: center; gap: 8px; background: var(--white); padding: 6px 16px 6px 8px; border-radius: 999px; text-decoration: none; font-weight: 800; box-shadow: 0 3px 0 rgba(58,46,31,.08); }
.page-hero.center .photo-card.wide { margin-top: 10px; }
.profile { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; align-items: center; }
.profile.flip .profile-art { order: 2; }
.profile-art { background: var(--bg); border-radius: 44px; padding: 40px 30px 30px; display: flex; flex-direction: column; align-items: center; gap: 26px; }
.traits { width: 100%; max-width: 320px; display: grid; gap: 10px; }
.trait { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 15px; }
.dots { display: flex; gap: 5px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; background: rgba(0,0,0,.08); }
.dots i.on { background: var(--cd); }
.profile-body h2 { margin-bottom: 10px; }
.profile-body h2 small { font-size: .5em; color: var(--ink-soft); font-weight: 800; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.tags span { background: var(--bg); border: 2px solid var(--c); font-weight: 800; font-size: 14px; padding: 4px 12px; border-radius: 999px; }
.persona { font-size: 17.5px; }
.profile blockquote { margin: 0 0 18px; font: 900 21px var(--font-head); padding: 14px 20px; border-radius: 20px; background: var(--white); border-inline-start: 6px solid var(--c); }
.facts { display: grid; grid-template-columns: 130px 1fr; gap: 10px 16px; margin: 0 0 18px; }
.facts dt { font-weight: 800; color: var(--cd); }
.facts dd { margin: 0; color: var(--ink-soft); }
.sample { background: var(--ink); color: var(--cream); border-radius: 22px; padding: 16px 20px; }
.sample b { color: var(--c); font-size: 14px; }
.sample p { margin: 4px 0 0; }

/* safety page */
.filter-grid, .control-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.filter-grid > div, .control-grid > div, .region-grid > div { background: var(--white); border-radius: 24px; padding: 20px 22px; box-shadow: 0 4px 0 rgba(58,46,31,.06); display: flex; flex-direction: column; gap: 4px; }
.filter-grid b, .control-grid b { font-size: 28px; }
.filter-grid strong, .control-grid strong { font-size: 17px; }
.filter-grid span, .control-grid span { color: var(--ink-soft); font-size: 14.5px; }
.example { max-width: 640px; margin: 26px auto 0; display: flex; flex-direction: column; gap: 10px; background: var(--white); border-radius: 28px; padding: 20px; box-shadow: var(--shadow); }
.commit-list { list-style: none; counter-reset: c; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.commit-list li { counter-increment: c; background: var(--white); border-radius: 22px; padding: 18px 20px 18px 64px; position: relative; box-shadow: 0 4px 0 rgba(58,46,31,.06); }
.commit-list li::before { content: counter(c); position: absolute; left: 18px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font: 900 15px var(--font-head); }
.commit-list b { display: block; font-size: 17px; }
.commit-list span { color: var(--ink-soft); font-size: 15px; }
.region-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.region-grid b { font-size: 16px; }
.region-grid span { color: var(--ink-soft); font-size: 13.5px; }

/* stores page */
.notice { max-width: 1100px; margin: 10px auto 0; background: #FFF0E3; border: 2px dashed var(--orange); color: #9A4A12; border-radius: 18px; padding: 12px 18px; font-weight: 700; font-size: 14.5px; width: calc(100% - 32px); }
.official { display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center; background: var(--white); border-radius: 36px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.official p { color: var(--ink-soft); }
.official .btn { margin-top: 16px; }
.official-prices { display: grid; gap: 12px; }
.official-prices div { display: flex; justify-content: space-between; align-items: center; background: var(--cream-2); padding: 16px 20px; border-radius: 20px; }
.official-prices div.hot { background: var(--yellow); }
.official-prices span { font: 900 22px var(--font-head); }
.region-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.region-tabs button { border: 2px solid var(--ink); background: var(--white); border-radius: 999px; padding: 7px 16px; font: 800 14px var(--font-body); cursor: pointer; color: var(--ink); }
.region-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }
.channel-grid, .city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.channel, .city { background: var(--white); border-radius: 22px; padding: 18px 20px; box-shadow: 0 4px 0 rgba(58,46,31,.06); display: flex; flex-direction: column; gap: 2px; }
.channel b, .city b { font-size: 18px; }
.channel span, .city span { color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.channel em, .city em { font-style: normal; font-size: 12.5px; font-weight: 800; color: var(--orange); margin-top: 6px; }
.city .chip { margin-top: 10px; align-self: flex-start; }
.store-perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.store-perks div { background: var(--ink); color: var(--cream); border-radius: 22px; padding: 18px; display: flex; align-items: center; gap: 12px; font-weight: 800; }
.store-perks b { font-size: 26px; }
.partner { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; background: var(--yellow); border-radius: 40px; padding: clamp(24px, 4vw, 48px); box-shadow: inset -10px -10px 0 var(--yellow-deep); }

/* footer */
.foot { text-align: start; padding: 56px clamp(16px, 5vw, 72px) 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 30px; max-width: 1240px; margin: 0 auto 26px; }
.foot .logo { justify-content: flex-start; }
.foot .logo img { height: 44px; }
.foot .logo-cn { color: var(--yellow); border-color: rgba(255,255,255,.2); }
.foot-grid b { display: block; color: var(--yellow); margin-bottom: 10px; }
.foot-grid a { display: block; color: rgba(255,248,231,.78); text-decoration: none; margin: 6px 0; font-size: 15px; }
.foot-grid a:hover { color: var(--white); }
.foot-small { text-align: center; }

/* RTL (Arabic) */
html[dir="rtl"] body { font-family: "Baloo Bhaijaan 2", "Noto Sans Arabic", var(--font-body); }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { font-family: "Baloo Bhaijaan 2", "Noto Sans Arabic", var(--font-head); letter-spacing: 0; }
html[dir="rtl"] .checks li { padding-left: 0; padding-right: 34px; }
html[dir="rtl"] .checks li::before { left: auto; right: 0; }
html[dir="rtl"] .line-specs li { padding-left: 0; padding-right: 18px; }
html[dir="rtl"] .line-specs li::before { left: auto; right: 0; }
html[dir="rtl"] .commit-list li { padding: 18px 64px 18px 20px; }
html[dir="rtl"] .commit-list li::before { left: auto; right: 18px; }
html[dir="rtl"] .logo-cn { padding-left: 0; padding-right: 10px; border-left: 0; border-right: 2px solid var(--line); }
html[dir="rtl"] .family-names .fam span { text-align: right; }
html[dir="rtl"] .flow, html[dir="rtl"] .sync-row { direction: rtl; }
html[dir="rtl"] .flow-arrow, html[dir="rtl"] .sync-row i { transform: scaleX(-1); }
html[dir="rtl"] .cast-chip { left: auto; right: 20px; }
html[dir="rtl"] .scale-tag { left: auto; right: 14px; }
html[dir="rtl"] .set-badge { right: auto; left: 20px; }
html[dir="rtl"] .home-go { right: auto; left: -40px; }
html[dir="rtl"] .logo img, html[dir="rtl"] .price, html[dir="rtl"] .dims b { direction: ltr; }

/* responsive */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  body.menu-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 12px 16px 18px; border-bottom: 2px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); }
  body.menu-open .nav-links a { font-size: 17px; padding: 12px 16px; }
}
@media (max-width: 980px) {
  .palm, .page-hero, .box, .profile, .partner, .official, .anatomy-grid, .pillars { grid-template-columns: 1fr; }
  .profile.flip .profile-art { order: 0; }
  .lineup-grid, .feature-grid, .principles { grid-template-columns: 1fr; }
  .ask-features, .swatches, .materials, .channel-grid, .city-grid, .store-perks { grid-template-columns: 1fr 1fr; }
  .filter-grid, .control-grid, .commit-list, .mode-row { grid-template-columns: 1fr 1fr; }
  .region-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .sync-row { flex-direction: column; align-items: stretch; }
  .sync-row i { transform: rotate(90deg); align-self: center; }
}
@media (max-width: 560px) {
  .ask-features, .filter-grid, .control-grid, .commit-list, .mode-row, .box-compare, .materials, .region-grid { grid-template-columns: 1fr; }
  .channel-grid, .city-grid, .store-perks, .swatches { grid-template-columns: 1fr 1fr; }
  .anat { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 8px; }
  .logo-cn { display: none; }
  .btn-small { display: none; }
  .disc.mid { width: 110px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .spec-hero-visual .disc.home { width: 180px; }
  .spec-hero-visual .home-base { width: 170px; }
}
.pet-slot { display: inline-flex; }
.home-base, .home-light { display: block; }
.home-unit .pet-slot { position: relative; z-index: 2; }

.hero-photo { position: relative; }
.home-base { background: repeating-linear-gradient(90deg, rgba(60,40,10,.06) 0 2px, transparent 2px 5px), linear-gradient(180deg, #F3EBDD, #D9CBB2);
  box-shadow: 0 18px 30px rgba(70, 50, 10, .28), inset 0 2px 0 rgba(255,255,255,.7), inset 0 -6px 10px rgba(0,0,0,.08); }

/* learning packs */
.pack-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 720px; margin: 24px auto 0; }
.pack-stats div { background: var(--white); border-radius: 22px; padding: 14px 10px; box-shadow: 0 4px 0 rgba(58,46,31,.06); }
.pack-stats b { display: block; font: 900 30px var(--font-head); color: var(--orange); line-height: 1.1; }
.pack-stats span { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); }
.method-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.m-step { background: var(--white); border-radius: 28px; padding: 26px 22px; box-shadow: var(--shadow); }
.m-step b { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font: 900 20px var(--font-head); margin-bottom: 12px; }
.m-step:nth-child(2) b { background: var(--sky); } .m-step:nth-child(3) b { background: var(--leaf); } .m-step:nth-child(4) b { background: var(--pink); }
.m-step p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pack-card { --pc: #FFD43B; text-align: start; border: 0; cursor: pointer; font: inherit; color: inherit; background: var(--white); border-radius: 26px; padding: 22px; box-shadow: 0 6px 0 rgba(58,46,31,.06), 0 14px 30px rgba(58,46,31,.06); display: flex; flex-direction: column; gap: 6px; position: relative; overflow: hidden; transition: transform .18s; }
.pack-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: var(--pc); }
.pack-card:hover { transform: translateY(-4px); }
.pack-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: color-mix(in srgb, var(--pc) 22%, white); }
.pack-ico.big { width: 72px; height: 72px; font-size: 40px; border-radius: 22px; flex: none; }
.pack-cat { font-size: 12.5px; font-weight: 800; letter-spacing: .05em; color: var(--ink-soft); margin-top: 6px; }
.pack-card b { font-size: 19px; line-height: 1.3; }
.pack-q { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.pack-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pack-meta span { font-size: 12.5px; font-weight: 800; background: var(--cream-2); border-radius: 999px; padding: 3px 10px; }
.pack-more { margin-top: auto; padding-top: 8px; color: var(--orange); font-weight: 800; font-size: 14px; }
.pack-dialog { --pc: #FFD43B; border: 0; border-radius: 32px; padding: 0; width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 40px); box-shadow: 0 30px 80px rgba(0,0,0,.3); background: var(--cream); color: var(--ink); }
.pack-dialog::backdrop { background: rgba(42, 35, 64, .45); backdrop-filter: blur(4px); }
.dlg-head { display: flex; gap: 16px; align-items: center; padding: 26px 28px; background: color-mix(in srgb, var(--pc) 30%, white); }
.dlg-head h3 { margin: 2px 0 6px; font-size: 26px; }
.dlg-body { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; padding: 24px 28px 28px; }
.dlg-body h4 { margin: 0 0 10px; font-size: 15px; letter-spacing: .04em; color: var(--orange); }
.dlg-body .checks { margin-bottom: 18px; }
.dlg-chat { display: flex; flex-direction: column; gap: 10px; background: var(--white); border-radius: 22px; padding: 16px; }
.dlg-chat .msg { max-width: 92%; }
.dlg-buddy { display: flex; align-items: center; gap: 12px; }
.dlg-buddy span { display: flex; flex-direction: column; }
.dlg-buddy small { color: var(--ink-soft); font-weight: 700; }
.any-buddies { flex-direction: row !important; gap: 4px; }
.dlg-close { position: absolute; top: 14px; inset-inline-end: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--white); font-size: 24px; cursor: pointer; line-height: 1; color: var(--ink); }
.pack-phone .ph-pack { display: flex; gap: 10px; align-items: center; background: var(--white); border-radius: 18px; padding: 10px 12px; margin-bottom: 10px; }
.pack-phone .pack-ico { width: 40px; height: 40px; font-size: 22px; border-radius: 12px; flex: none; }
.ph-pack-t { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ph-pack-t b { font-size: 13px; line-height: 1.3; }
.ph-pack-t i { display: block; height: 7px; border-radius: 999px; background: var(--cream-2); position: relative; overflow: hidden; }
.ph-pack-t i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--pc); border-radius: 999px; }
html[dir="rtl"] .ph-pack-t i::after { inset: 0 0 0 auto; }
.pack-price { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; background: var(--white); border-radius: 36px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.pack-price p { color: var(--ink-soft); }
.teaser-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 1000px; margin: 0 auto 26px; }
.teaser-chip { --pc: #FFD43B; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: inherit; font-weight: 800; font-size: 15px; background: var(--white); border: 2px solid color-mix(in srgb, var(--pc) 60%, white); border-radius: 999px; padding: 8px 16px 8px 10px; transition: transform .15s; }
.teaser-chip:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--pc) 18%, white); }
.teaser-chip span { font-size: 20px; }
@media (max-width: 980px) {
  .method-steps, .pack-grid { grid-template-columns: 1fr 1fr; }
  .pack-price, .dlg-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .method-steps, .pack-grid { grid-template-columns: 1fr; }
  .pack-stats { grid-template-columns: 1fr 1fr; }
  .dlg-head { flex-direction: column; align-items: flex-start; }
}
html { overflow-x: clip; }
.marquee { margin-inline: -20px; }
.name-story { margin: 34px auto 0; max-width: 900px; background: var(--white); border-radius: 30px; padding: 26px 30px; box-shadow: var(--shadow); text-align: center; }
.name-story h3 { font-size: 24px; }
.name-story p { color: var(--ink-soft); max-width: 44em; margin: 0 auto 6px; }
.name-story .trio { margin-top: 16px; }
.name-story .trio-item b { width: 58px; height: 58px; font-size: 26px; }
.price.bump { animation: pop .4s cubic-bezier(.3,1.6,.5,1); }
.pack-ico svg { width: 82%; height: 82%; display: block; }
.pack-ico { background: color-mix(in srgb, var(--pc) 16%, #FFFDF7); }
.pack-card:hover .pack-ico svg, .teaser-chip:hover .chip-ico svg { animation: wiggle .5s ease; }
@keyframes wiggle { 30% { transform: rotate(-8deg) scale(1.06); } 60% { transform: rotate(6deg); } }
.chip-ico { width: 30px; height: 30px; display: inline-flex; }
.chip-ico svg { width: 100%; height: 100%; }
.teaser-chip span.chip-ico { font-size: 0; }
.launch-tag { display: inline-block; margin: 0 0 12px 8px; font-weight: 800; font-size: 14px; color: var(--ink); background: var(--yellow); padding: 6px 14px; border-radius: 999px; box-shadow: 0 3px 0 var(--yellow-deep); }
html[dir="rtl"] .launch-tag { margin: 0 8px 12px 0; }
.launch-band { max-width: 1100px; width: calc(100% - 32px); margin: 10px auto 0; background: var(--ink); color: var(--yellow); border-radius: 18px; padding: 14px 20px; font-weight: 800; text-align: center; }
.line-price .exp { display: block; font: 800 12px var(--font-body); color: var(--ink-soft); letter-spacing: .04em; }
.tax-note { font-size: 13px; font-weight: 700; color: var(--ink-soft); margin: -10px 0 14px; }
.official-prices .tax-note { margin: 0 0 2px; }
.region-select { max-width: 120px; }
@media (max-width: 560px) { .region-select { max-width: 92px; padding: 7px 8px; font-size: 13px; } .lang-select { padding: 7px 8px; font-size: 13px; } }

/* ======================= motion: everyone is alive ======================= */
/* hero desk photo: a gentle, natural sway instead of a slide */
.page-hero-photo { position: relative; }
@keyframes sway {
  0%, 8%, 100% { transform: translate(0, 0) rotate(0); }
  20%, 30%     { transform: translate(-1.6%, .4%) rotate(-2deg); }      /* looks left */
  40%          { transform: translate(0, -1%) rotate(0); }
  52%, 62%     { transform: translate(1.6%, .4%) rotate(2deg); }        /* looks right */
  72%          { transform: translate(0, 0) rotate(0); }
  78%          { transform: translate(0, -1.8%) rotate(0); }            /* tiny hop */
  84%          { transform: translate(0, .3%) rotate(0); }
}
/* the line-up photo: each screen's character sways on its own beat */
.live-family { position: relative; }
/* every device bezel on the site: the pet peeks around */
.disc-bezel img { transform-origin: 50% 88%; animation: peek 7.5s ease-in-out infinite; animation-delay: var(--d, 0s); transform: scale(1.06); }
@keyframes peek {
  0%, 10%, 100% { transform: scale(1.06) translate(0, 0) rotate(0); }
  22%, 32%      { transform: scale(1.06) translate(-2.4%, .5%) rotate(-4deg); }
  44%, 54%      { transform: scale(1.06) translate(2.4%, .5%) rotate(4deg); }
  64%           { transform: scale(1.06) translate(0, -2.6%) rotate(0); }
  70%           { transform: scale(1.06) translate(0, .4%) rotate(0); }
}
.disc.tiny .disc-bezel img, .disc.mini .disc-bezel img, .disc.avatar .disc-bezel img { animation-duration: 6s; }
/* a little hand pops out now and then to wave hello */
.disc .wave { position: absolute; right: -4%; bottom: 12%; font-size: clamp(18px, 14%, 42px); line-height: 1; transform-origin: 70% 90%; opacity: 0; transform: scale(.3);
  animation: wave-hi 9s ease-in-out infinite; animation-delay: var(--wd, 2s); filter: drop-shadow(0 3px 4px rgba(0,0,0,.15)); pointer-events: none; z-index: 3; }
.disc.big .wave, .disc.home .wave { font-size: 40px; }
.disc.mid .wave, .disc.go .wave { font-size: 26px; }
@keyframes wave-hi {
  0%, 58%, 100% { opacity: 0; transform: scale(.3) rotate(0); }
  62%           { opacity: 1; transform: scale(1) rotate(0); }
  66%           { transform: scale(1) rotate(22deg); }
  70%           { transform: scale(1) rotate(-12deg); }
  74%           { transform: scale(1) rotate(22deg); }
  78%           { transform: scale(1) rotate(-8deg); }
  84%           { opacity: 1; transform: scale(1) rotate(0); }
  88%           { opacity: 0; transform: scale(.4); }
}
html[dir="rtl"] .disc .wave { right: auto; left: -4%; transform-origin: 30% 90%; }
/* whole discs float a little, out of step with one another */
.swatch .disc, .profile-art .disc, .line-visual .disc, .spec-hero-visual .disc, .anat-visual .disc { animation: bob 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
/* pack icons bob and blink their way through the grid */
.pack-ico svg { animation: icon-bob 3.6s ease-in-out infinite; }
.pack-card:nth-child(3n+2) .pack-ico svg { animation-delay: -1.2s; }
.pack-card:nth-child(3n) .pack-ico svg { animation-delay: -2.4s; }
.teaser-chip:nth-child(odd) .chip-ico svg { animation: icon-bob 3.2s ease-in-out infinite; }
.teaser-chip:nth-child(even) .chip-ico svg { animation: icon-bob 3.2s ease-in-out infinite -1.6s; }
@keyframes icon-bob { 0%, 100% { transform: translateY(0) rotate(0); } 25% { transform: translateY(-2px) rotate(-4deg); } 50% { transform: translateY(0) rotate(0); } 75% { transform: translateY(-1px) rotate(4deg); } }
/* gentle hover life on cards */
.feature:hover img, .photo-card:hover > img { transform: scale(1.02); }
.feature img, .photo-card > img { transition: transform .6s ease; }
@media (prefers-reduced-motion: reduce) {
  .disc .wave { display: none; }
}
/* v2: layers now cover the whole screen, so nothing underneath can ghost through */

/* parents page */
.trio-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.role-card { background: var(--white); border-radius: 30px; padding: 30px 26px; box-shadow: var(--shadow); text-align: center; }
.role-card p { color: var(--ink-soft); margin: 0; }
.role-ico { display: grid; place-items: center; width: 110px; height: 110px; margin: 0 auto 16px; font-size: 64px; border-radius: 50%; background: var(--cream-2); }
.role-ico.pet-slot { background: none; }
.role-ico .disc.mid { width: 110px; }
.relay-line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.relay-line::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; height: 4px; background: repeating-linear-gradient(90deg, var(--orange) 0 10px, transparent 10px 18px); border-radius: 4px; }
.relay-line li { position: relative; background: var(--white); border-radius: 26px; padding: 64px 20px 22px; box-shadow: 0 4px 0 rgba(58,46,31,.06); display: flex; flex-direction: column; gap: 6px; }
.relay-line li b { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 50px; height: 50px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; font-size: 24px; box-shadow: 0 0 0 6px var(--cream); }
.relay-line strong { font-size: 17px; text-align: center; }
.relay-line span { color: var(--ink-soft); font-size: 14.5px; }
.app-screens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.app-screens figure { margin: 0; text-align: center; }
.phone.small { width: 250px; transform: none; padding: 12px; border-radius: 38px; }
.phone.small .phone-in { min-height: 400px; padding: 22px 16px; text-align: start; }
.app-screens figure:nth-child(2) .phone { transform: translateY(-14px); }
.phone.hot { background: var(--orange); }
.phone-in .ph-mood { margin-bottom: 10px; }
.phone-in .ph-mood.q { background: var(--yellow); color: var(--ink); }
.ph-bars { display: flex; align-items: flex-end; gap: 8px; height: 120px; background: var(--white); border-radius: 18px; padding: 14px; margin-bottom: 12px; }
.ph-bars i { flex: 1; height: var(--h); background: linear-gradient(var(--yellow), var(--orange)); border-radius: 6px 6px 3px 3px; animation: grow 1.2s cubic-bezier(.3,1.4,.5,1) both; }
@keyframes grow { from { height: 0; } }
.app-screens figcaption { margin-top: 14px; }
.app-screens figcaption b { display: block; font-size: 18px; }
.app-screens figcaption span { color: var(--ink-soft); font-size: 14.5px; }
.idea-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.idea { background: var(--white); border-radius: 28px; padding: 26px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.idea-n { position: absolute; right: 18px; top: 8px; font: 900 54px var(--font-head); color: var(--yellow); opacity: .55; }
html[dir="rtl"] .idea-n { right: auto; left: 18px; }
.idea h3 { margin-bottom: 4px; }
.idea em { display: block; font-style: normal; font-weight: 800; font-size: 13px; color: var(--orange); margin-bottom: 10px; }
.idea p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }
.idea:nth-child(7) { grid-column: span 3; background: var(--ink); color: var(--cream); }
.idea:nth-child(7) p { color: rgba(255,248,231,.8); }
.advisory { margin-top: 20px; background: var(--cream-2); border: 2px dashed var(--orange); border-radius: 22px; padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; }
.advisory span { color: var(--ink-soft); }
@media (max-width: 980px) {
  .trio-roles, .app-screens { grid-template-columns: 1fr; }
  .relay-line { grid-template-columns: 1fr 1fr; }
  .relay-line::before { display: none; }
  .idea-grid { grid-template-columns: 1fr 1fr; }
  .idea:nth-child(7) { grid-column: span 2; }
  .app-screens figure:nth-child(2) .phone { transform: none; }
}
@media (max-width: 560px) {
  .relay-line, .idea-grid { grid-template-columns: 1fr; }
  .idea:nth-child(7) { grid-column: auto; }
}
/* only the animals move — the devices themselves stay put */
.swatch .disc, .profile-art .disc, .line-visual .disc, .spec-hero-visual .disc, .anat-visual .disc, .faces-stage .pet-stage { animation: none !important; }
.pet-float { animation: none; }
/* long headlines (English, German…) must fit their column */
.hero h1 { font-size: clamp(34px, 4.4vw, 62px); overflow-wrap: anywhere; hyphens: auto; }
.hero-copy { min-width: 0; }
/* accessibility */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--yellow); padding: 10px 16px; border-radius: 12px; font-weight: 800; text-decoration: none; transition: top .15s; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 8px; }
.btn:focus-visible, .chip:focus-visible, .lang-select:focus-visible { outline-offset: 4px; }
html[lang="ja"] body, html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3 { font-family: "Nunito", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif; }
html[lang="ja"] h1, html[lang="ja"] h2 { letter-spacing: .01em; }

/* parent dashboard */
.dash-board { background: var(--white); border-radius: 36px; padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow); }
.dash-top { display: flex; justify-content: space-between; margin-bottom: 14px; }
.dash-child { font-weight: 800; font-size: 14px; background: var(--cream-2); padding: 6px 14px; border-radius: 999px; }
.dash-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.dash-tile { background: var(--cream); border-radius: 22px; padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.dash-tile b { font: 900 34px var(--font-head); line-height: 1.1; color: var(--ink); }
.dash-tile span { font-weight: 800; font-size: 14px; }
.dash-tile em { font-style: normal; font-size: 13px; color: #2E7D4F; font-weight: 700; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dash-card { margin: 0; border: 1.5px solid var(--line); border-radius: 24px; padding: 18px 18px 14px; min-width: 0; }
.dash-card figcaption b { display: block; font-size: 18px; }
.dash-card figcaption span { color: var(--ink-soft); font-size: 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.legend span, .band-key span { display: inline-flex; align-items: center; gap: 6px; }
.legend i, .band-key i, .chart-tip i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.chart-wrap svg { width: 100%; height: auto; display: block; }
.chart-wrap .grid { stroke: rgba(58,46,31,.1); stroke-width: 1; }
.chart-wrap .tick { fill: var(--ink-soft); font: 700 11px var(--font-body); }
.chart-wrap .tick.strong { fill: var(--ink); font-size: 13px; }
.chart-wrap .dlabel { fill: var(--ink); font: 700 11px var(--font-body); }
.chart-wrap .seg-label { fill: #fff; font: 800 12px var(--font-body); pointer-events: none; }
.chart-wrap .hit { fill: transparent; cursor: crosshair; }
.chart-wrap .hit:hover { fill: rgba(58,46,31,.05); }
.chart-wrap .seg { cursor: crosshair; }
.chart-wrap .seg:hover { opacity: .85; }
.table-btn { margin-top: 8px; border: 0; background: none; color: var(--orange); font: 800 13px var(--font-body); cursor: pointer; padding: 4px 0; }
.data-table { overflow-x: auto; margin-top: 6px; }
.data-table table { border-collapse: collapse; width: 100%; font-size: 13px; }
.data-table th, .data-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: start; }
.data-table td { font-variant-numeric: tabular-nums; }
.chart-tip { position: fixed; z-index: 120; background: var(--ink); color: var(--cream); border-radius: 14px; padding: 10px 12px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; min-width: 170px; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.chart-tip span { display: flex; align-items: center; gap: 6px; }
.chart-tip em { margin-inline-start: auto; font-style: normal; font-weight: 800; padding-inline-start: 12px; }
.chart-tip .tt-total { border-top: 1px solid rgba(255,255,255,.2); padding-top: 4px; margin-top: 2px; }
.dash-block { margin-top: 26px; padding-top: 22px; border-top: 1.5px dashed var(--line); }
.dash-block h3 { font-size: 22px; margin-bottom: 4px; }
.muted { color: var(--ink-soft); margin: 0 0 14px; }
.fine.left { text-align: start; margin-top: 12px; }
.strength-grid, .path-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.strength, .path { background: var(--cream); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.strength b, .path b { font-size: 28px; }
.strength strong, .path strong { font-size: 17px; }
.strength span { color: var(--ink-soft); font-size: 14.5px; }
.strength em { font-style: normal; font-weight: 800; font-size: 14px; color: var(--ink); }
.path .why { font-size: 13.5px; font-weight: 700; color: var(--orange); }
.path ul { margin: 4px 0 0; padding-inline-start: 18px; color: var(--ink-soft); font-size: 14.5px; }
.assess { display: flex; flex-direction: column; gap: 10px; max-width: 620px; }
.assess-row { display: grid; grid-template-columns: 150px 1fr 80px; align-items: center; gap: 14px; }
.assess-n { font-weight: 800; font-size: 15px; }
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.band i { height: 12px; border-radius: 4px; background: rgba(58,46,31,.08); }
.assess-b { font-weight: 800; font-size: 14px; }
.band-key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; font-weight: 700; color: var(--ink-soft); margin-top: 4px; }
.assess-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; font-weight: 700; font-size: 14px; }
.assess-foot span { background: var(--cream-2); padding: 7px 14px; border-radius: 999px; }
.assess-foot .soon { background: none; border: 2px dashed var(--orange); }
.dash-privacy { margin: 24px 0 0; text-align: center; font-weight: 800; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 980px) { .dash-grid, .strength-grid, .path-grid { grid-template-columns: 1fr; } .dash-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .assess-row { grid-template-columns: 1fr 70px; } .assess-row .assess-n { grid-column: 1 / -1; } }
.dash-grid { grid-template-columns: 1fr; }
.dash-card .chart-wrap { max-width: 860px; }
/* nine pages + two pickers: keep the header on one line */
.nav-links a, .nav-right .btn, .lang-select { white-space: nowrap; }
.nav-links a { padding: 7px 10px; font-size: 14.5px; }
.nav { gap: 12px; }
@media (max-width: 1400px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  body.menu-open .nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); padding: 12px 16px 18px; border-bottom: 2px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); }
  body.menu-open .nav-links a { font-size: 17px; padding: 12px 16px; }
}

/* live screens: transparent character cut-outs over an empty-screen photo; only the character moves */
.hero-photo, .photo-card, .page-hero-photo { position: relative; }
.live-screen { position: absolute; border-radius: 50%; overflow: hidden; isolation: isolate; }
.live-screen::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 3;
  background: linear-gradient(140deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 34%), radial-gradient(ellipse at 50% 50%, transparent 66%, rgba(10,8,20,.16) 100%); }
.live-screen .ch { position: absolute; left: 5%; top: 9%; width: 90%; height: auto; transform-origin: 50% 100%; will-change: transform;
  animation: ch-move 9s ease-in-out infinite; animation-delay: var(--d, 0s); }
.live-screen .ch-wave { animation: ch-move 9s ease-in-out infinite, ch-wave-show 9s steps(1, end) infinite; animation-delay: var(--d, 0s); opacity: 0; }
.live-screen .ch:has(+ .ch-wave) { animation: ch-move 9s ease-in-out infinite, ch-base-show 9s steps(1, end) infinite; animation-delay: var(--d, 0s); }
@keyframes ch-move {
  0%, 6%    { transform: translate(0, 0) rotate(0) scale(1, 1); }
  14%, 24%  { transform: translate(-3%, 0) rotate(-2deg) scale(1, 1); }   /* look left */
  32%       { transform: translate(0, 0) rotate(0) scale(1, 1); }
  40%, 50%  { transform: translate(3%, 0) rotate(2deg) scale(1, 1); }     /* look right */
  58%       { transform: translate(0, 0) rotate(0) scale(1, 1); }
  62%       { transform: translate(0, 2%) rotate(0) scale(1.03, .96); }   /* crouch */
  66%       { transform: translate(0, -5%) rotate(0) scale(.98, 1.03); }  /* hop */
  70%       { transform: translate(0, 0) rotate(0) scale(1.03, .97); }
  74%, 100% { transform: translate(0, 0) rotate(0) scale(1, 1); }
}
@keyframes ch-wave-show { 0%, 77.9% { opacity: 0; } 78%, 90% { opacity: 1; } 90.1%, 100% { opacity: 0; } }
@keyframes ch-base-show { 0%, 77.9% { opacity: 1; } 78%, 90% { opacity: 0; } 90.1%, 100% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .live-screen .ch { animation: none !important; } .live-screen .ch-wave { display: none; } }
.line-visual.has-render { padding: 0; overflow: hidden; background: #F6EBD2; }
.line-visual.has-render .render { width: 100%; height: 100%; object-fit: cover; display: block; }
.line-visual.has-render .scale-tag { z-index: 2; }
.spec-hero-visual.has-render { min-height: 0; padding: 0; border-radius: 36px; overflow: hidden; background: none; display: block; box-shadow: 0 26px 60px rgba(140, 95, 0, .2); }
.spec-hero-visual.has-render .render { width: 100%; height: auto; display: block; }

/* ===== restored: original cute photos, gentle sway on full-screen layers (no ghosting) ===== */
.hero-photo, .page-hero-photo, .live-family { position: relative; }
.hero-screen, .fam-screen { display: block; position: absolute; border-radius: 50%; overflow: hidden; isolation: isolate; }
.hero-screen { left: 30.18%; top: 32.62%; width: 34.47%; height: 37.01%; box-shadow: inset 0 0 5px 1px rgba(10, 8, 20, .28); }
.fam-screen { box-shadow: inset 0 0 4px 1px rgba(10, 8, 20, .22); }
.hero-screen img, .fam-screen img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: -1; transform-origin: 50% 80%;
  animation: sway3 8.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.fam-screen img { animation-duration: 9s; }
@keyframes sway3 {
  0%, 10%, 100% { transform: scale(1.08) translate(0, 0) rotate(0); }
  22%, 32%      { transform: scale(1.08) translate(-1%, .3%) rotate(-1.6deg); }
  42%           { transform: scale(1.08) translate(0, -.6%) rotate(0); }
  54%, 64%      { transform: scale(1.08) translate(1%, .3%) rotate(1.6deg); }
  74%           { transform: scale(1.08) translate(0, 0) rotate(0); }
  80%           { transform: scale(1.08) translate(0, -1.2%) rotate(0); }
  86%           { transform: scale(1.08) translate(0, .2%) rotate(0); }
}
/* device bezels: zoom the portrait enough that its edge can never slide into view (no black crescent) */
.disc-bezel { background: #fff; }
.disc-bezel img { animation-name: peek2; }
@keyframes peek2 {
  0%, 10%, 100% { transform: scale(1.16) translate(0, 0) rotate(0); }
  22%, 32%      { transform: scale(1.16) translate(-2%, .4%) rotate(-3deg); }
  44%, 54%      { transform: scale(1.16) translate(2%, .4%) rotate(3deg); }
  64%           { transform: scale(1.16) translate(0, -2%) rotate(0); }
  70%           { transform: scale(1.16) translate(0, .3%) rotate(0); }
}
@media (prefers-reduced-motion: reduce) { .hero-screen img, .fam-screen img { animation: none !important; } }
.disc-bezel { background: #15121E; }
.disc-screen { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; position: relative; background: #FFF6DA; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.disc-screen img { border-radius: 0; }

/* ===== swing: rotate around the screen centre, so no edge can ever show ===== */
.hero-screen img, .fam-screen img { transform-origin: 50% 52%; animation: swing 6.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.fam-screen img { animation-duration: 7s; }
@keyframes swing {
  0%, 100% { transform: scale(1.03) rotate(0deg) translateY(0); }
  14%      { transform: scale(1.03) rotate(-7deg) translateY(0); }
  32%      { transform: scale(1.03) rotate(6.5deg) translateY(0); }
  48%      { transform: scale(1.03) rotate(-4.5deg) translateY(0); }
  62%      { transform: scale(1.03) rotate(3deg) translateY(0); }
  72%      { transform: scale(1.03) rotate(0deg) translateY(0); }
  78%      { transform: scale(1.03) rotate(0deg) translateY(-1.2%); }   /* little hop */
  84%      { transform: scale(1.03) rotate(0deg) translateY(.3%); }
  90%      { transform: scale(1.03) rotate(0deg) translateY(0); }
}
.disc-screen img { transform-origin: 50% 52%; animation: swing-disc 6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes swing-disc {
  0%, 100% { transform: scale(1.04) rotate(0deg) translateY(0); }
  14%      { transform: scale(1.04) rotate(-9deg) translateY(0); }
  32%      { transform: scale(1.04) rotate(8deg) translateY(0); }
  48%      { transform: scale(1.04) rotate(-5deg) translateY(0); }
  62%      { transform: scale(1.04) rotate(3deg) translateY(0); }
  72%      { transform: scale(1.04) rotate(0deg) translateY(0); }
  78%      { transform: scale(1.04) rotate(0deg) translateY(-1.6%); }
  84%      { transform: scale(1.04) rotate(0deg) translateY(.4%); }
  90%      { transform: scale(1.04) rotate(0deg) translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .hero-screen img, .fam-screen img, .disc-screen img { animation: none !important; } }

/* line-up v4: Gemini photo with separated, front-facing empty screens; the original characters swing inside */
.lineup-screen { position: absolute; border-radius: 50%; overflow: hidden; isolation: isolate; box-shadow: inset 0 0 6px 2px rgba(10, 8, 20, .35); }
.lineup-screen::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: linear-gradient(140deg, rgba(255,255,255,.32) 0%, rgba(255,255,255,0) 34%); }
.lineup-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform-origin: 50% 52%;
  animation: swing-disc 6.4s ease-in-out infinite; animation-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .lineup-screen img { animation: none !important; } }
/* discs keep their own box model, whatever container they sit in */
span.disc { display: inline-block !important; flex: none; }
.disc > .disc-bezel, .disc-bezel > .disc-screen { display: block !important; flex: none; width: 100%; height: 100%; }
.disc.tiny { width: 34px !important; height: 34px; }
/* insets are measured from the disc itself (percentage padding would follow the container's width) */
span.disc { padding: 0 !important; position: relative; }
.disc > .disc-bezel { position: absolute !important; inset: 7%; width: auto; height: auto; padding: 0 !important; }
.disc-bezel > .disc-screen { position: absolute !important; inset: 6.5%; width: auto; height: auto; }
.disc.tiny > .disc-bezel { inset: 6%; }
.disc-bezel::after { inset: 6.5%; }

/* ======================= living pets ======================= */
.pet-live { position: absolute; inset: 0; display: block; background: center / cover no-repeat; overflow: hidden; border-radius: inherit; }
.pet-move { position: absolute; inset: 0; display: block; transform-origin: 50% 100%; animation: alive 9s ease-in-out infinite; animation-delay: var(--d, 0s); will-change: transform; }
.pet-move img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; display: block; pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); mask-image: linear-gradient(to bottom, #000 80%, transparent 99%); }
.pet-lids { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pet-lids .lid { transform-box: fill-box; transform-origin: 50% 0%; transform: scaleY(0); animation: blink 4.6s infinite; animation-delay: var(--d, 0s); }
/* breathe → glance left → glance right → crouch → hop → squishy landing → wiggle */
@keyframes alive {
  0%   { transform: translate(0, 0) rotate(0) scale(1, 1); }
  6%   { transform: translate(0, 0) rotate(0) scale(1.015, .985); }
  12%  { transform: translate(0, 0) rotate(0) scale(.99, 1.015); }
  20%  { transform: translate(-5%, 0) rotate(-4deg) scale(1, 1); }
  28%  { transform: translate(-5%, 0) rotate(-4deg) scale(1.01, .99); }
  36%  { transform: translate(5%, 0) rotate(4deg) scale(1, 1); }
  44%  { transform: translate(5%, 0) rotate(4deg) scale(.99, 1.01); }
  52%  { transform: translate(0, 0) rotate(0) scale(1, 1); }
  58%  { transform: translate(0, 0) rotate(0) scale(1.07, .91); }        /* crouch */
  64%  { transform: translate(0, -9%) rotate(0) scale(.95, 1.06); }      /* hop */
  70%  { transform: translate(0, 0) rotate(0) scale(1.08, .92); }        /* squishy landing */
  76%  { transform: translate(0, 0) rotate(0) scale(.98, 1.02); }
  82%  { transform: translate(0, 0) rotate(-5deg) scale(1, 1); }         /* happy wiggle */
  86%  { transform: translate(0, 0) rotate(5deg) scale(1, 1); }
  90%  { transform: translate(0, 0) rotate(-3deg) scale(1, 1); }
  95%, 100% { transform: translate(0, 0) rotate(0) scale(1, 1); }
}
@keyframes blink {
  0%, 44%, 50%, 86%, 89%, 92%, 100% { transform: scaleY(0); }
  46%, 48% { transform: scaleY(1); }
  87.5% { transform: scaleY(1); }
  90.5% { transform: scaleY(1); }
}
/* every screen hosts a living pet now: retire the old rotating layers */
.hero-screen > img, .lineup-screen > img, .disc-screen > img { display: none; }
.hero-screen, .lineup-screen { isolation: auto; }
.disc-screen { background: none; }
@media (prefers-reduced-motion: reduce) { .pet-move, .pet-lids .lid { animation: none !important; } }

/* Home photos: the photo and its pet screen share one frame, so the pet stays locked to the screen */
.line-visual.has-render { height: auto; aspect-ratio: 1280 / 858; position: relative; }
.render-frame { position: absolute; inset: 0; display: block; }
.render-frame .render { width: 100%; height: 100%; object-fit: fill; display: block; }
.home-screen { position: absolute; left: 61.094%; top: 36.014%; width: 12.109%; height: 17.133%; border-radius: 50%; overflow: hidden;
  box-shadow: inset 0 0 4px 1px rgba(0, 0, 0, .45); filter: brightness(.8) saturate(.95); }
.set-go { position: absolute; left: 7%; bottom: 8%; z-index: 2; }
.set-go .disc.go { width: 26%; min-width: 70px; }
.set-visual.has-render .set-go .disc.go { width: 86px; }
/* specs hero: same square, rounded frame as the home page hero; the device sits right of centre */
.spec-hero-visual.has-render.square { aspect-ratio: 1; position: relative; border-radius: 40px; box-shadow: 0 30px 70px rgba(140, 95, 0, .22), 0 0 0 10px rgba(255, 255, 255, .6); max-width: 560px; width: 100%; margin: 0 auto; }
.spec-hero-visual.has-render.square .render-frame { left: -49.18%; right: auto; width: 149.18%; height: 100%; }
.spec-hero-visual.has-render.square .set-go .disc.go { width: 110px; }
.spec-hero-visual.has-render.square .set-go { left: 8%; bottom: 8%; }

/* Swiss origin */
.swiss-mark { display: inline-block; width: 16px; height: 16px; border-radius: 4px; background: #E3242B; position: relative; vertical-align: -3px; margin-inline-end: 6px; flex: none; }
.swiss-mark::before, .swiss-mark::after { content: ""; position: absolute; background: #fff; border-radius: 1px; }
.swiss-mark::before { left: 42%; right: 42%; top: 20%; bottom: 20%; }
.swiss-mark::after { top: 42%; bottom: 42%; left: 20%; right: 20%; }
.swiss-mark.big { width: 64px; height: 64px; border-radius: 16px; }
.swiss-tag { display: inline-flex; align-items: center; font-weight: 800; font-size: 14px; background: var(--white); color: var(--ink); padding: 6px 14px; border-radius: 999px; margin: 0 0 12px 8px; box-shadow: 0 3px 0 rgba(58,46,31,.08); }
.swiss-card { background: var(--white); border-radius: 36px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.swiss-head { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.swiss-head h2 { margin-bottom: 6px; }
.swiss-head p { color: var(--ink-soft); margin: 0; }
.swiss-badge { flex: none; }
.swiss-points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.swiss-point { background: var(--cream); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.swiss-point b { font-size: 28px; }
.swiss-point strong { font-size: 17px; }
.swiss-point span { color: var(--ink-soft); font-size: 14.5px; }
.foot-small .swiss-mark { width: 13px; height: 13px; vertical-align: -2px; }
@media (max-width: 980px) { .swiss-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .swiss-points { grid-template-columns: 1fr; } .swiss-head { flex-direction: column; align-items: flex-start; } }

/* ===== screen edges: every pet screen carries its own dark display edge, so it melts into the bezel ===== */
.hero-screen { left: 29.88%; top: 32.32%; width: 35.07%; height: 37.61%; box-shadow: none; }
.hero-screen, .lineup-screen, .home-screen { box-shadow: none; }
.pet-live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 3;
  box-shadow: inset 0 0 0 2.5px #121019, inset 0 0 9px 4px rgba(18, 16, 25, .55); }
.pet-live::before { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none; z-index: 4;
  background: linear-gradient(140deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 30%); }
.disc-screen .pet-live::after { box-shadow: inset 0 0 0 1.5px #15121E, inset 0 0 6px 2px rgba(18, 16, 25, .45); }
.lineup-screen::after { display: none; }
.home-screen { left: 60.859%; top: 35.664%; width: 12.578%; height: 17.832%; filter: brightness(.86) saturate(.95); }

/* hero screen = the photo's tilted oval: rotate the mask to match, keep the pet upright inside */
.hero-screen { left: 30.397%; top: 29.723%; width: 36.065%; height: 41.228%; transform: rotate(21.02deg); }
.hero-screen .pet-live { transform: rotate(-21.02deg) scale(1.06); }

/* Go docked magnetically on the side of Home's knitted base, at true scale (⌀78 mm vs ⌀150 mm), lit like the room */
.docked-go { position: absolute; left: 73.0%; top: 62.9%; width: 7.9%; z-index: 2; display: block; }
.docked-go .disc.docked { width: 100% !important; display: block !important; box-shadow: 0 0 0 2px var(--c), 0 6px 10px rgba(0, 0, 0, .45); filter: brightness(.8) saturate(.92); }
.docked-go .disc.docked::after { display: none; }
.docked-go::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -10%; height: 14%; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.45), transparent 70%); z-index: -1; }
.docked-go .wave { display: none; }
.docked-go { left: 71.6%; top: 63.2%; }

/* Sparkie Home = a big round disc on a small fold-out stand (no fabric base); Go docks on its side at true scale */
.device-scene { position: absolute; inset: 0; display: block; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, #FFF6DE 0%, #F7E7C6 60%, #EED9B0 100%); }
.device-scene::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24%;
  background: linear-gradient(#E3C792, #D4B27A); box-shadow: 0 -1px 0 rgba(255,255,255,.5); }
.scene-home { position: absolute; left: 50%; bottom: 17%; width: 46%; transform: translateX(-50%); display: block; }
.scene-home .disc.home2 { width: 100% !important; display: block !important; position: relative; z-index: 2;
  box-shadow: 0 0 0 5px #FFD43B, 0 0 0 6px #E9A400, 0 18px 26px rgba(80, 55, 10, .28); }
.scene-home .stand { position: absolute; left: 50%; bottom: -9%; width: 36%; height: 16%; transform: translateX(-50%); border-radius: 0 0 14px 14px / 0 0 10px 10px;
  background: linear-gradient(#F3F0EA, #D9D3C7); box-shadow: 0 10px 14px rgba(80, 55, 10, .25); z-index: 1; }
.scene-home .stand::after { content: ""; position: absolute; left: -18%; right: -18%; bottom: -14%; height: 26%; border-radius: 50%; background: radial-gradient(rgba(60,40,10,.3), transparent 70%); }
.scene-go { position: absolute; left: calc(50% + 23% - 6%); bottom: calc(17% + 2%); width: calc(46% * .52); display: block; z-index: 3; }
.scene-go .disc.go2 { width: 100% !important; display: block !important; box-shadow: 0 0 0 3px #FFB8D6, 0 0 0 4px #E57FAE, 0 10px 16px rgba(80, 55, 10, .3); }
.scene-go .disc.go2::after, .scene-home .disc.home2 .wave { display: none; }
.spec-hero-visual.has-render.square .device-scene { border-radius: inherit; }
.spec-hero-visual.has-render.square .scene-home { width: 50%; bottom: 20%; }
.spec-hero-visual.has-render.square .scene-go { left: calc(50% + 25% - 6%); bottom: 22%; width: calc(50% * .52); }
.set-visual .scene-home { left: 42%; }
.set-visual .scene-go { left: calc(42% + 23% - 6%); }
.scene-home > .pet-slot, .scene-go > .pet-slot { display: block !important; width: 100%; }
/* non-Chinese pages: no Chinese wordmark next to the logo; any CJK that remains (e.g. characters taught in the Chinese pack) uses a real CJK font */
html:not([lang="zh-CN"]) .logo-cn { display: none; }
body, h1, h2, h3, .btn { font-synthesis: none; }
html:not([lang="zh-CN"]):not([lang="ja"]) body { font-family: "Nunito", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif; }
html[dir="rtl"] body { font-family: "Baloo Bhaijaan 2", "Noto Sans Arabic", "Nunito", "Noto Sans SC", sans-serif; }

/* screens sized exactly to the measured glass; a wide bezel-coloured edge hides any sub-pixel mismatch */
.hero-screen { left: 30.690%; top: 30.016%; width: 35.479%; height: 40.642%; transform: rotate(21.02deg); }
.pet-live::after { box-shadow: inset 0 0 0 3.5px #0F0D15, inset 0 0 10px 5px rgba(15, 13, 21, .5); }
.disc-screen .pet-live::after { box-shadow: inset 0 0 0 1.5px #15121E, inset 0 0 6px 2px rgba(18, 16, 25, .45); }

/* each photo screen draws its own bezel edge: it reaches a few px over the black ring and paints that band bezel-black */
.lineup-screen, .hero-screen { --glass: 94.8%; }
.hero-screen { --glass: 96.8%; left: 30.153%; top: 29.479%; width: 36.553%; height: 41.717%; transform: rotate(21.02deg); }
.lineup-screen .pet-live::after, .hero-screen .pet-live::after { box-shadow: none;
  background: radial-gradient(closest-side, transparent calc(var(--glass) - 7%), rgba(15,13,21,.28) calc(var(--glass) - 2%), #0F0D15 var(--glass)); }
.hero-screen .pet-live { border-radius: 50%; }

/* ======================= parent control centre ======================= */
.pc-wrap { display: grid; grid-template-columns: minmax(300px, 400px) 1fr; gap: 40px; align-items: start; justify-content: center; max-width: 1000px; margin: 0 auto; }
.pc-phone { background: var(--ink); border-radius: 46px; padding: 12px; box-shadow: 0 30px 60px rgba(42,35,64,.28); }
.pc-screen { background: #F7F3EA; border-radius: 36px; height: 640px; display: flex; flex-direction: column; overflow: hidden; }
.pc-top { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 8px; gap: 8px; }
.pc-child { font-weight: 900; font-size: 15px; }
.pc-demo { font-size: 11px; font-weight: 800; color: var(--orange); background: rgba(255,138,61,.12); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pc-tabs { display: flex; gap: 4px; padding: 6px 12px 10px; overflow-x: auto; scrollbar-width: none; }
.pc-tabs button { flex: none; border: 0; background: transparent; border-radius: 999px; padding: 7px 12px; font: 800 13px var(--font-body); color: var(--ink-soft); cursor: pointer; }
.pc-tabs button[aria-selected="true"] { background: var(--ink); color: var(--yellow); }
.pc-panel { flex: 1; overflow-y: auto; padding: 4px 12px 16px; display: flex; flex-direction: column; gap: 10px; }
.pc-card { background: var(--white); border-radius: 20px; padding: 14px 14px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 2px 0 rgba(58,46,31,.05); }
.pc-card.off { opacity: .45; pointer-events: none; }
.pc-card > b, .pc-sub { font-size: 14.5px; }
.pc-card > span { color: var(--ink-soft); font-size: 12.5px; line-height: 1.45; }
.pc-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pc-row > div { display: flex; flex-direction: column; min-width: 0; }
.pc-row b { font-size: 13.5px; }
.pc-row span { color: var(--ink-soft); font-size: 12px; }
.pc-row input[type="range"] { width: 46%; }
.pc-card input[type="range"] { accent-color: var(--orange); }
.pc-card > input[type="range"] { width: 100%; }
.pc-switch { flex: none; width: 46px; height: 28px; border-radius: 999px; border: 0; background: #D9D3C7; position: relative; cursor: pointer; transition: background .2s; }
.pc-switch i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.2); transition: transform .2s; }
.pc-switch[aria-checked="true"] { background: #3BAA5C; }
.pc-switch[aria-checked="true"] i { transform: translateX(18px); }
html[dir="rtl"] .pc-switch i { left: auto; right: 3px; }
html[dir="rtl"] .pc-switch[aria-checked="true"] i { transform: translateX(-18px); }
.pc-seg { display: flex; flex-wrap: wrap; background: #EFE8DA; border-radius: 14px; padding: 3px; gap: 3px; }
.pc-seg button { flex: 1; border: 0; background: transparent; border-radius: 11px; padding: 8px 6px; font: 800 12.5px var(--font-body); color: var(--ink-soft); cursor: pointer; min-width: 30%; }
.pc-seg button[aria-checked="true"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.pc-times { display: flex; gap: 10px; }
.pc-times label { flex: 1; display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.pc-card input[type="time"] { font: 700 14px var(--font-body); border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 8px; background: #FBF8F2; color: var(--ink); }
.pc-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pc-btn { border: 0; border-radius: 999px; padding: 8px 14px; font: 800 13px var(--font-body); cursor: pointer; background: var(--orange); color: #fff; }
.pc-btn.ghost { background: #EFE8DA; color: var(--ink); }
.pc-btn.danger { background: #FCE3E1; color: #B3261E; }
.pc-ok { font-style: normal; font-weight: 800; font-size: 13px; color: #2E7D4F; }
.pc-muted { font-style: normal; font-weight: 700; font-size: 12.5px; color: var(--ink-soft); }
.pc-req { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); }
.pc-req > span:first-child { font-size: 13px; font-weight: 700; display: flex; flex-direction: column; }
.pc-req small { color: var(--ink-soft); font-weight: 600; font-size: 11.5px; }
.pc-locks { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-locks span { font-size: 12px; font-weight: 800; background: var(--ink); color: var(--yellow); padding: 4px 10px; border-radius: 999px; }
.pc-val { font-weight: 900; font-size: 15px; }
.pc-kid { font-size: 13.5px; font-weight: 700; padding: 8px 10px; border-radius: 12px; background: #FBF8F2; }
.pc-kid.on { outline: 2px solid var(--yellow); }
.pc-side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }
.pc-device { background: radial-gradient(circle at 50% 40%, #FFF3CF, #F6E7C5); border-radius: 36px; padding: 30px 20px 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; transition: background .4s; }
.pc-device .disc.pcd { width: 200px !important; display: block !important; transition: filter .4s; }
.pc-device .pc-disc { display: block; }
.pc-device.paused .disc.pcd { filter: grayscale(.85) brightness(.75); }
.pc-device.paused .pet-move, .pc-device.paused .lid { animation-play-state: paused; }
.pc-device.bed { background: radial-gradient(circle at 50% 40%, #3B3560, #1E1A33); }
.pc-device.bed .disc.pcd { filter: brightness(.6) sepia(.25); }
.pc-state { font-weight: 800; font-size: 14px; background: var(--white); padding: 6px 14px; border-radius: 999px; }
.pc-device.bed .pc-state { background: #2A2445; color: var(--yellow); }
.pc-rules { background: var(--white); border-radius: 26px; padding: 18px 20px; box-shadow: var(--shadow); }
.pc-rules b { font-size: 16px; }
.pc-rules ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.pc-rules li { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
@media (max-width: 860px) { .pc-wrap { grid-template-columns: 1fr; } .pc-side { position: static; } .pc-screen { height: 560px; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-consent { font-size: 12px !important; color: var(--ink-soft); margin: 0; }
.form-msg { color: #B3261E !important; font-weight: 800; font-size: 14px; margin: 0; }
.res-form button[disabled] { opacity: .7; cursor: wait; }

/* ---------- 家长等级测评 /quiz (ported from qifujiu.com's exam) ---------- */
.qz-medals { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.qz-medal { display: flex; flex-direction: column; align-items: center; gap: 6px; background: var(--white); border: 3px solid var(--ink); border-radius: 26px; padding: 14px 18px 12px; min-width: 150px; box-shadow: 0 6px 0 rgba(58,46,31,.12); }
.qz-medal b { font: 800 17px var(--font-head); }
.qz-medal small { color: var(--ink-soft); font-weight: 800; font-size: 13px; }
.qz-medal.is-gold { background: linear-gradient(160deg, #FFF3B8, #FFD43B); }
.qz-medal.is-silver { background: linear-gradient(160deg, #FAFBFC, #DDE3EA); }
.qz-medal.is-bronze { background: linear-gradient(160deg, #FFE7D3, #F2B48A); }
.qz-medal.big { margin: 6px auto 16px; min-width: 240px; }
.qz-medal .disc.tiny { width: 58px; height: 58px; }
.qz-medal.big .disc.mini { width: 110px; height: 110px; }
.qz-section { padding-top: 10px; }
.qz { max-width: 860px; margin: 0 auto; position: relative; }
.qz-form { max-width: 620px; margin: 0 auto; border: 3px solid var(--ink); box-shadow: var(--shadow); }
.qz-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 800; font-size: 15px; }
.qz-form select { appearance: auto; }
.qz-form .qz-consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.qz-form .qz-consent input { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.qz-note { color: var(--ink-soft); font-size: 15px; text-align: center; }
.qz-form .qz-note { text-align: start; background: var(--cream-2); border-radius: 14px; padding: 8px 12px; }
[data-step="rules"] { background: var(--white); border: 3px solid var(--ink); border-radius: 30px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.qz-rules { padding-inline-start: 1.3em; margin: 0 0 22px; }
.qz-rules li { margin: 0 0 10px; }
.qz-rules li::marker { font: 800 18px var(--font-head); color: var(--orange); }
.qz-run { position: relative; overflow: hidden; background: var(--white); border: 3px solid var(--ink); border-radius: 30px; padding: clamp(20px, 4vw, 40px); box-shadow: var(--shadow); user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.qz-run > *:not(.qz-wm) { position: relative; z-index: 1; }
.qz-run.is-veiled > *:not(.qz-wm) { filter: blur(14px); }
.qz-wm { position: absolute; inset: -40px; z-index: 2; pointer-events: none; display: flex; flex-wrap: wrap; gap: 40px 60px; transform: rotate(-18deg); opacity: .07; font-weight: 800; font-size: 13px; overflow: hidden; }
.qz-bar { height: 8px; background: var(--cream-2); border-radius: 99px; overflow: hidden; margin-bottom: 14px; }
.qz-bar i { display: block; height: 100%; background: var(--yellow); border-radius: 99px; transition: width .3s; }
.qz-head { display: flex; justify-content: space-between; align-items: baseline; }
.qz-count, .qz-clock { margin: 0; font-weight: 800; color: var(--ink-soft); }
.qz-clock span { font: 800 26px var(--font-head); color: var(--ink); }
.qz-timer { height: 6px; background: var(--cream-2); border-radius: 99px; overflow: hidden; margin: 8px 0 18px; }
.qz-timer i { display: block; height: 100%; background: var(--leaf); transition: width .2s linear; }
.qz-timer.is-low i { background: var(--red); }
.qz-type { display: inline-block; font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 99px; background: rgba(91,192,235,.18); margin: 0 0 10px; }
.qz-type.is-multi { background: rgba(255,158,199,.25); }
.qz-type.is-tf { background: rgba(123,211,137,.25); }
.qz-q { font-size: clamp(21px, 2.6vw, 28px); line-height: 1.35; margin: 0 0 20px; }
.qz-opts { display: grid; gap: 12px; }
.qz-opts.is-tf { grid-template-columns: 1fr 1fr; }
.qz-opt { display: flex; align-items: center; gap: 14px; text-align: start; font: 700 17px var(--font-body); color: var(--ink); background: var(--cream); border: 2px solid rgba(58,46,31,.25); border-radius: 18px; padding: 14px 16px; cursor: pointer; transition: transform .12s, border-color .12s, background .12s; }
.qz-opt:hover { border-color: var(--ink); transform: translateY(-1px); }
.qz-opt b { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--ink); font: 800 16px var(--font-head); }
.qz-opt.is-multi b { border-radius: 9px; }
.qz-opt.is-on { background: var(--yellow); border-color: var(--ink); }
.qz-opt.is-on b { background: var(--ink); color: var(--yellow); }
.qz-nav { display: flex; justify-content: flex-end; margin-top: 20px; }
.qz-wait { text-align: center; font-weight: 800; padding: 40px 0; margin: 0; }
.qz-warn { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(58,46,31,.55); padding: 16px; }
.qz-warn > div { background: var(--white); border: 3px solid var(--ink); border-radius: 26px; padding: 26px; max-width: 440px; text-align: center; }
.qz-result { text-align: center; }
.qz-score { display: inline-flex; align-items: baseline; gap: 6px; background: var(--white); border: 4px solid var(--ink); border-radius: 50%; width: 180px; height: 180px; justify-content: center; align-items: center; flex-direction: column; box-shadow: var(--shadow); }
.qz-score b { font: 800 72px/1 var(--font-head); }
.qz-score span { font-weight: 800; color: var(--ink-soft); }
.qz-score.is-gold { background: linear-gradient(160deg, #FFF3B8, #FFD43B); }
.qz-score.is-silver { background: linear-gradient(160deg, #FAFBFC, #DDE3EA); }
.qz-score.is-bronze { background: linear-gradient(160deg, #FFE7D3, #F2B48A); }
.qz-right { font-weight: 800; margin: 14px 0 4px; }
.qz-lead { font-size: 19px; max-width: 34em; margin: 6px auto 10px; }
.qz-void { color: #B3261E; font-weight: 800; }
.qz-next { color: var(--ink-soft); font-weight: 700; }
.qz-card img, .qz-cert img { width: 100%; height: auto; display: block; border-radius: 22px; box-shadow: var(--shadow); margin: 12px 0 16px; }
.qc-status { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--white); border: 3px solid var(--ink); border-radius: 22px; padding: 14px 18px; margin: 14px auto; max-width: 520px; }
.qc-status.is-valid b { color: #1E7B3C; }
.qc-status.is-expired b { color: #B3261E; }
.qc-status span { color: var(--ink-soft); font-weight: 700; font-size: 15px; }
.qc-bar { width: 100%; height: 6px; background: var(--cream-2); border-radius: 99px; overflow: hidden; margin-top: 6px; }
.qc-bar i { display: block; height: 100%; background: var(--leaf); }
.qc-tabs { display: inline-flex; gap: 6px; background: var(--cream-2); border-radius: 99px; padding: 5px; margin: 6px 0; flex-wrap: wrap; justify-content: center; }
.qc-tabs button { font: 800 14px var(--font-body); border: 0; background: transparent; border-radius: 99px; padding: 6px 14px; cursor: pointer; color: var(--ink); }
.qc-tabs button.is-on { background: var(--ink); color: var(--yellow); }
.qc-share { background: var(--white); border: 3px solid var(--ink); border-radius: 26px; padding: 22px; margin: 24px 0; }
.qc-share p { color: var(--ink-soft); font-size: 15px; }
.qc-badge { display: block; margin: 0 auto 12px; max-width: 100%; height: auto; }
.qc-share textarea { width: 100%; font: 500 12px/1.5 Menlo, Consolas, monospace; border: 2px solid rgba(58,46,31,.25); border-radius: 14px; padding: 10px; background: var(--cream); resize: vertical; direction: ltr; }
.qz-review { text-align: start; background: var(--white); border: 3px solid var(--ink); border-radius: 26px; padding: 16px 22px; margin-top: 22px; }
.qz-review summary { font: 800 18px var(--font-head); cursor: pointer; }
.qz-review ol { padding-inline-start: 1.2em; }
.qz-review li { margin: 14px 0; padding-bottom: 12px; border-bottom: 2px dashed rgba(58,46,31,.12); }
.qz-review li p { margin: 0 0 4px; }
.qz-review .rq { font-weight: 800; }
.qz-review .rq small { display: inline-block; margin-inline-end: 8px; font-size: 12px; background: var(--cream-2); border-radius: 99px; padding: 1px 8px; }
.qz-review li.ok .rq { color: #1E7B3C; }
.qz-review li.no .rq { color: #B3261E; }
.qz-review .why { color: var(--ink-soft); font-size: 15px; }
.qz-books { list-style: none; padding: 0; margin: 0 auto; max-width: 860px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.qz-books li { background: var(--white); border-radius: 20px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.qz-books span { color: var(--ink-soft); font-size: 14px; }
.qz-verify { display: flex; gap: 10px; max-width: 520px; margin: 0 auto; }
.qz-verify input { flex: 1; min-width: 0; font: 800 18px var(--font-head); letter-spacing: .06em; padding: 12px 16px; border: 3px solid var(--ink); border-radius: 18px; background: var(--white); text-transform: uppercase; direction: ltr; }
.qz-verify-sec .form-msg { text-align: center; margin-top: 10px; }
.qz-cta { display: flex; align-items: center; gap: 16px; text-decoration: none; background: var(--white); border: 3px solid var(--ink); border-radius: 26px; padding: 16px 20px; box-shadow: var(--shadow); max-width: 760px; margin: 0 auto; }
.qz-cta b { display: block; font: 800 19px var(--font-head); }
.qz-cta span span { color: var(--ink-soft); font-size: 15px; }
.qz-cta i { margin-inline-start: auto; font-style: normal; font: 800 24px var(--font-head); }
@media (max-width: 640px) { .qz-opts.is-tf { grid-template-columns: 1fr; } .qz-medal { min-width: 120px; padding: 10px 12px; } .qz-verify { flex-direction: column; } }
.qz-medal .disc { width: 66px !important; height: 66px !important; }
.qz-medal.big .disc { width: 120px !important; height: 120px !important; }

/* ---------- 育儿文章 /news, /news/<slug> and the home-page strip ---------- */
.btn-quiz { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--yellow-deep); white-space: nowrap; }
.btn-quiz:hover { box-shadow: 0 6px 0 var(--yellow-deep); }
.news-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 auto 26px; }
.news-cats .chip { font: 800 14px var(--font-body); border: 2px solid var(--ink); background: var(--white); color: var(--ink); border-radius: 99px; padding: 7px 16px; cursor: pointer; }
.news-cats .chip.is-on { background: var(--ink); color: var(--yellow); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; max-width: 1180px; margin: 0 auto; }
.news-grid.three { grid-template-columns: repeat(3, 1fr); }
.news-card { display: flex; flex-direction: column; text-decoration: none; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.news-card:hover { transform: translateY(-4px); }
.news-img { display: block; aspect-ratio: 3 / 2; background: var(--cream-2); overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.news-body small { color: var(--orange); font-weight: 800; font-size: 13px; }
.news-body b { font: 800 20px/1.3 var(--font-head); }
html[lang="zh-CN"] .news-body b { font-family: var(--font-body); font-weight: 900; }
.news-body > span { color: var(--ink-soft); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card.is-big { grid-column: 1 / -1; flex-direction: row; }
.news-card.is-big .news-img { flex: 1.3; aspect-ratio: auto; min-height: 320px; }
.news-card.is-big .news-body { flex: 1; justify-content: center; padding: 30px; }
.news-card.is-big .news-body b { font-size: 30px; }
.news-empty { text-align: center; color: var(--ink-soft); font-weight: 700; grid-column: 1 / -1; padding: 40px 0; }
.news-cta { margin-top: 36px; }
.qz-cta-star { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); border: 3px solid var(--ink); font-size: 24px; }
.art-section { padding-top: 30px; }
.art { max-width: 780px; margin: 0 auto; }
.art h1 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 10px; }
html[lang="zh-CN"] .art h1 { font-family: var(--font-body); font-weight: 900; letter-spacing: 0; }
.art .lead { font-size: 20px; }
.art-hero, .art-fig { margin: 26px 0; }
.art-hero img, .art-fig img { width: 100%; height: auto; display: block; border-radius: 30px; box-shadow: var(--shadow); }
.art figcaption { color: var(--ink-soft); font-size: 14px; margin-top: 8px; text-align: center; }
.art-body { font-size: 18px; line-height: 1.85; }
.art-body h3 { font-size: 26px; margin: 1.6em 0 .5em; }
html[lang="zh-CN"] .art-body h3 { font-family: var(--font-body); font-weight: 900; }
.art-body blockquote { margin: 1.2em 0; padding: 14px 22px; background: var(--cream-2); border-inline-start: 6px solid var(--yellow); border-radius: 18px; }
.art-body blockquote p { margin: 0; font-weight: 700; }
.art-body cite { display: block; color: var(--ink-soft); font-style: normal; font-size: 15px; margin-top: 6px; }
.art-body ul, .art-body ol { padding-inline-start: 1.3em; }
.art-body li { margin: .35em 0; }
.art-body sup.fn a { text-decoration: none; color: var(--orange); font-weight: 800; }
.art-note { color: var(--ink-soft); font-size: 14px; background: var(--white); border-radius: 18px; padding: 12px 16px; margin: 28px 0; }
.art-sources h2 { font-size: 20px; }
.art-sources ol { font-size: 14px; color: var(--ink-soft); padding-inline-start: 1.3em; word-break: break-word; }
.art-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
.art-nav a { text-decoration: none; background: var(--white); border-radius: 22px; padding: 14px 18px; box-shadow: var(--shadow); }
.art-nav a.is-next { text-align: end; }
.art-nav small { display: block; color: var(--orange); font-weight: 800; }
@media (max-width: 860px) { .news-grid.three { grid-template-columns: 1fr; } .news-card.is-big { flex-direction: column; } .news-card.is-big .news-img { min-height: 0; aspect-ratio: 3 / 2; } .art-nav { grid-template-columns: 1fr; } }
.art > .text-link.small { display: inline-block; margin-bottom: 14px; }

/* home-page article ticker: a picture row above the dark headline band, scrolling the other way */
.nt-pics { overflow: hidden; padding: 18px 0 22px; position: relative; z-index: 2; margin-bottom: -6px; }
.nt-track { display: flex; gap: 18px; width: max-content; animation: slide var(--dur, 60s) linear infinite; }
.nt-pics:hover .nt-track, .marquee:hover .marquee-track.nt-heads { animation-play-state: paused; }
.nt-card { display: flex; align-items: center; gap: 12px; width: 330px; flex: none; text-decoration: none; background: var(--white); border-radius: 22px; padding: 8px 14px 8px 8px; box-shadow: 0 6px 0 rgba(58,46,31,.08), 0 12px 26px rgba(58,46,31,.08); transition: transform .15s; }
.nt-card:hover { transform: translateY(-3px); }
.nt-card img { width: 110px; height: 74px; object-fit: cover; border-radius: 16px; flex: none; }
.nt-card span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nt-card small { color: var(--orange); font-weight: 800; font-size: 12px; }
.nt-card b { font: 800 16px/1.3 var(--font-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.marquee-track.nt-heads { animation: slide var(--dur, 60s) linear infinite reverse; }
.marquee-track.nt-heads a { color: var(--yellow); text-decoration: none; }
.marquee-track.nt-heads a:hover { text-decoration: underline; }
.marquee-track.nt-heads .nt-all { color: #fff; }
html[dir="rtl"] .nt-track, html[dir="rtl"] .marquee-track { animation-direction: reverse; }
html[dir="rtl"] .marquee-track.nt-heads { animation-direction: normal; }
@media (prefers-reduced-motion: reduce) { .nt-track, .marquee-track.nt-heads { animation: none; } .nt-pics, .marquee { overflow-x: auto; } }
/* the article ticker, a little larger (our values deserve the room) */
.nt-pics { padding: 24px 0 28px; }
.nt-track { gap: 22px; }
.nt-card { width: 420px; gap: 16px; padding: 10px 18px 10px 10px; border-radius: 26px; }
.nt-card img { width: 156px; height: 104px; border-radius: 18px; }
.nt-card small { font-size: 13px; }
.nt-card b { font-size: 19px; }
.marquee-track.nt-heads { font-size: 23px; gap: 46px; }
#marqueeBand { padding: 17px 0; }
@media (max-width: 640px) { .nt-card { width: 320px; } .nt-card img { width: 112px; height: 75px; } .nt-card b { font-size: 16px; } .marquee-track.nt-heads { font-size: 19px; } }

/* 「表情」: the round screen with the 3D companion's faces (home.js), cross-fading as they change */
.face-disc { position: relative; width: min(380px, 78vw); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff 0%, #F3F4F6 55%, #D5D9DF 100%);
  box-shadow: 0 26px 50px rgba(140, 95, 0, .22), inset -8px -10px 0 rgba(0,0,0,.05); padding: 7.5%; }
.face-rim { position: absolute; inset: 3.2%; border-radius: 50%; border: 6px solid var(--c, var(--yellow)); pointer-events: none; }
.face-screen { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #111; box-shadow: 0 0 0 10px #17151F; }
.face-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease; }
.face-img.on { opacity: 1; }
.pet-stage.jump .face-screen { animation: faceBop .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes faceBop { 0% { transform: scale(1); } 35% { transform: scale(1.045); } 100% { transform: scale(1); } }
.face-btn .mini { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px #17151F; }
.face-btn .mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face-btn[aria-pressed="true"] .mini { box-shadow: 0 0 0 3px var(--orange); }
@media (max-width: 640px) { .face-btn .mini { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .face-img { transition: none; } .pet-stage.jump .face-screen { animation: none; } }

/* 「收听本文」: the article's narration (zh / en), from the worker's audio queue (news.js listenHtml) */
.listen { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; padding: 10px 16px 10px 10px; background: var(--white); border: 2px solid var(--ink); border-radius: 999px; box-shadow: 0 5px 0 rgba(58,46,31,.12); max-width: 560px; }
.listen-play { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--orange); color: var(--white); display: grid; place-items: center; cursor: pointer; box-shadow: inset -3px -3px 0 rgba(0,0,0,.12); }
.listen-play svg { width: 20px; height: 20px; fill: currentColor; }
.listen-play .i-pause, .listen.is-playing .listen-play .i-play { display: none; }
.listen.is-playing .listen-play .i-pause { display: inline; }
.listen-main { flex: 1; min-width: 0; display: grid; gap: 6px; }
.listen-label { font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.listen-bar { display: block; height: 8px; border-radius: 99px; background: var(--cream-2); overflow: hidden; cursor: pointer; }
.listen-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), var(--orange)); border-radius: 99px; }
.listen-time { flex: none; font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.listen-speed { flex: none; border: 2px solid var(--ink); background: var(--white); border-radius: 999px; padding: 2px 10px; font: 800 13px var(--font-body); cursor: pointer; color: var(--ink); }
.listen-speed:hover { background: var(--yellow); }
@media (max-width: 520px) { .listen { gap: 8px; padding-right: 10px; } .listen-time { display: none; } }

/* the brand name beside the logo in every language (no longer Chinese only) */
html:not([lang="zh-CN"]) .logo-cn { display: inline; font-family: var(--font-body); font-weight: 800; letter-spacing: .01em; }
html[lang="ja"] .logo-cn { font-family: "Noto Sans JP", var(--font-body); }
html[lang="ar"] .logo-cn { font-family: "Baloo Bhaijaan 2", var(--font-body); }
@media (max-width: 560px) { .foot .logo-cn { display: inline; } }
/* currency picker, now a quiet footer setting (the currency follows the language) */
.foot-cur { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 12px; }
.foot-cur select { font: 700 12px var(--font-body); background: transparent; color: inherit; border: 1px solid rgba(255,255,255,.3); border-radius: 99px; padding: 3px 8px; max-width: none; }
.foot-cur select option { color: #3A2E1F; }
/* mobile: keep the brand name beside the logo (every language), a little smaller so the header still fits */
@media (max-width: 560px) {
  .nav .logo-cn, html:not([lang="zh-CN"]) .nav .logo-cn { display: inline !important; font-size: 12px; padding-inline-start: 7px; margin-inline-start: 0; white-space: nowrap; }
  .nav .logo { gap: 6px; min-width: 0; }
  .nav .logo img { width: 104px; height: auto; }
}
@media (max-width: 360px) { .nav .logo img { width: 88px; } .nav .logo-cn, html:not([lang="zh-CN"]) .nav .logo-cn { font-size: 11px; } }
@media (max-width: 560px) {
  .nav { gap: 8px; }
  .nav .logo img { width: 92px; }
  .nav .logo-cn, html:not([lang="zh-CN"]) .nav .logo-cn { font-size: 11px; padding-inline-start: 6px; }
  .nav .lang-select { max-width: 82px; padding: 6px 6px; font-size: 12px; }
  .nav-right { gap: 6px; flex: none; }
}
/* header polish: logo, divider and name on one optical line; controls the same height */
.nav .logo { display: inline-flex; align-items: center; }
.nav .logo img { display: block; }
.nav .logo-cn, html:not([lang="zh-CN"]) .nav .logo-cn { display: inline-flex; align-items: center; height: 18px; line-height: 1; padding-inline-start: 9px; margin-inline-start: 1px; border-inline-start: 1.5px solid rgba(58, 46, 31, .22); border-left-width: 0; border-right-width: 0; border-inline-start-width: 1.5px; color: var(--ink-soft); font-weight: 700; letter-spacing: .02em; transform: translateY(1px); }
html[lang="zh-CN"] .nav .logo-cn { letter-spacing: .12em; }
.nav-right { align-items: center; }
@media (max-width: 560px) {
  .nav { padding-top: 12px; padding-bottom: 12px; }
  .nav .logo { gap: 7px; }
  .nav .logo-cn, html:not([lang="zh-CN"]) .nav .logo-cn { height: 14px; padding-inline-start: 7px; font-size: 11.5px; }
  .nav .lang-select { height: 36px; box-sizing: border-box; padding-block: 0; }
  .menu-btn { width: 36px; height: 36px; }
}
/* optical alignment: the wordmark's letters sit above its centre (descender "p"), so lift the name to match */
.nav .logo-cn, html:not([lang="zh-CN"]) .nav .logo-cn { transform: translateY(-2px); }
.foot .logo-cn { transform: translateY(-2px); }
@media (max-width: 560px) { .nav .logo-cn, html:not([lang="zh-CN"]) .nav .logo-cn { transform: translateY(-1.5px); } }
.swiss-points { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Chinese headings: 思源柔黑 (Resource Han Rounded, fonts/sc-rounded.css) — rounded and friendly, but a proper sans with
   authority. Earlier rules that forced Noto Sans SC 900 on some Chinese headings now use it too. */
html[lang="zh-CN"] .art h1, html[lang="zh-CN"] .art-body h3, html[lang="zh-CN"] .news-body b, html[lang="zh-CN"] .nt-card b,
html[lang="zh-CN"] .marquee-track, html[lang="zh-CN"] .qz-q, html[lang="zh-CN"] .layer h3, html[lang="zh-CN"] .faq summary { font-family: "Baloo 2", "SC Rounded", "PingFang SC", "Noto Sans SC", sans-serif; font-weight: 700; letter-spacing: .02em; }
html[lang="zh-CN"] .nav .logo-cn { font-family: "SC Rounded", "Noto Sans SC", sans-serif; font-weight: 700; }
/* Chinese pages: the heading font is 思源柔黑 everywhere var(--font-head) is used (headings, buttons, badges) */
html[lang="zh-CN"] { --font-head: "Baloo 2", "SC Rounded", "PingFang SC", "Noto Sans SC", sans-serif; }
html[lang="zh-CN"] body h1, html[lang="zh-CN"] body h2, html[lang="zh-CN"] body h3, html[lang="zh-CN"] .art h1, html[lang="zh-CN"] .art-body h3, html[lang="zh-CN"] .news-body b { font-family: var(--font-head); font-weight: 700; letter-spacing: .02em; }
/* the Swiss section's five points: one row on wide screens */
@media (min-width: 1100px) { .swiss-points { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 700px) and (max-width: 1099px) { .swiss-points { grid-template-columns: repeat(3, 1fr); } }
.listen-bgm { flex: none; width: 32px; height: 28px; border: 2px solid var(--ink); background: var(--white); border-radius: 999px; font: 800 15px/1 var(--font-body); cursor: pointer; color: var(--ink); opacity: .45; }
.listen-bgm.is-on { opacity: 1; background: var(--yellow); }

/* read-along (「收听本文」): the block being read is highlighted; click a block to listen from there */
.art .is-readable { cursor: pointer; border-radius: 14px; transition: background .3s, box-shadow .3s; }
.art .is-readable:hover { background: rgba(255, 212, 59, .14); }
.art .is-reading { background: rgba(255, 212, 59, .32); box-shadow: 0 0 0 8px rgba(255, 212, 59, .32); }
.art h1.is-reading { box-shadow: 0 0 0 10px rgba(255, 212, 59, .32); }
.listen-back { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 80; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); background: var(--yellow); color: var(--ink); border-radius: 999px; padding: 9px 18px; font: 800 15px var(--font-body); box-shadow: 0 8px 22px rgba(58, 46, 31, .2); cursor: pointer; }
.listen-back[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .art .is-readable { transition: none; } }
/* the listen bar spans the article column, edge to edge like the pictures below it */
.art .listen { display: flex; width: 100%; box-sizing: border-box; }
.art .listen .listen-main { flex: 1; min-width: 0; }
.art .listen .listen-bar { width: 100%; }
.art .listen { max-width: none; }

/* reserve card: long option texts (Japanese, German…) must not widen the card on phones */
.reserve-card > *, .res-form > * { min-width: 0; }
.res-form select, .res-form input { width: 100%; max-width: 100%; min-width: 0; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.checks li, .price-note, .res-form p { overflow-wrap: anywhere; }
.box-photo { max-width: 100%; }
.box-photo img { max-width: 100%; height: auto; }

/* expression screen: explicit square size (no aspect-ratio dependence) and a clip-path circle, which WebKit keeps
   clipped during the bounce animation (border-radius + overflow:hidden does not on iOS) */
.face-disc { height: min(380px, 78vw); }
.face-screen { background: transparent; clip-path: circle(50% at 50% 50%); -webkit-clip-path: circle(50% at 50% 50%); box-shadow: none; outline: 10px solid #17151F; outline-offset: -1px; }
.face-disc::after { content: ""; position: absolute; inset: 7.5%; border-radius: 50%; box-shadow: 0 0 0 10px #17151F; pointer-events: none; }
.pet-stage.jump .face-screen { animation: none; }
.pet-stage.jump .face-img.on { animation: faceBop .55s cubic-bezier(.3, 1.6, .5, 1); }

/* language picker: a rounded pill with a globe and a chevron */
.nav .lang-select {
  -webkit-appearance: none; appearance: none; cursor: pointer;
  font: 800 14px var(--font-body); color: var(--ink); line-height: 1;
  height: 40px; padding: 0 34px 0 36px; border: 2px solid var(--ink); border-radius: 999px;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A2E1F' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.5 2.6 3.7 5.6 3.7 9s-1.2 6.4-3.7 9c-2.5-2.6-3.7-5.6-3.7-9S9.5 5.6 12 3z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A2E1F' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat; background-size: 17px 17px, 14px 14px; background-position: 12px 50%, calc(100% - 12px) 50%;
  box-shadow: 0 3px 0 rgba(58, 46, 31, .12); transition: background-color .15s, transform .15s;
}
.nav .lang-select:hover { background-color: var(--yellow); transform: translateY(-1px); }
.nav .lang-select:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
html[dir="rtl"] .nav .lang-select { padding: 0 36px 0 34px; background-position: calc(100% - 12px) 50%, 12px 50%; }
@media (max-width: 560px) { .nav .lang-select { height: 36px; max-width: 108px; padding: 0 26px 0 30px; font-size: 12px; background-size: 15px 15px, 12px 12px; background-position: 9px 50%, calc(100% - 9px) 50%; } html[dir="rtl"] .nav .lang-select { padding: 0 30px 0 26px; background-position: calc(100% - 9px) 50%, 9px 50%; } }
