@font-face {
  font-family: "MRT Marukoias Beta";
  src: url("assets/mrt-marukoias-beta.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-teal: #007b8c;
  --color-lime: #ceff78;
  --color-lime-border: #00a1b7;
  --color-orange: #fe794b;
  --color-blue: #3755ff;
  --color-bg: #fefefd;
  --color-white: #ffffff;
  --color-black: #000000;
  --font-maruko: "MRT Marukoias Beta", sans-serif;
  --font-noto: var(--font-maruko);
  --shumi-alien-w: 72px;
  --shumi-alien-h: 120px;
  /* Mobile alien viewport: measured under 「優先したい３つは？」 (64×108) */
  --shumi-alien-w-sm: 64px;
  --shumi-alien-h-sm: 108px;
  --shumi-log-z: 100;
  /* Tablet non-home background: match home zoom, sit just under navbar.
     Smaller top = higher (0 ≈ navbar edge). */
  --shumi-bg-top-md: 8px;
  --shumi-bg-width-md: 200%;
  /* Tablet (non-home): priority-weight is the reference for bubble/alien.
     Bubble above head (~10px gap); alien left ≈ 9.722%; bubble left ≈ 8%. */
  --shumi-bubble-top-md: 15px;
  --shumi-bubble-left-md: 8%;
  --shumi-bubble-h-md: 111px;
  --shumi-bubble-pad-x-md: 34px;
  --shumi-bubble-font-md: clamp(26px, 3.6vw, 38px);
  --shumi-bubble-w-md: min(480px, calc(100% - 140px));
  --shumi-alien-top-md: 136px;
  --shumi-alien-left-md: 9.722%;
  --shumi-alien-w-md: 96px;
  --shumi-alien-h-md: 160px;
  /* Mobile non-home background (home uses the same zoom: width 200%).
     Adjust Y here: smaller = higher (0 ≈ just under navbar). */
  --shumi-bg-top-sm: 56px;
  /* Adjust zoom here: larger % = more zoomed in (home is 200%). */
  --shumi-bg-width-sm: 200%;
  /* Mobile bubble → alien gap ≈ 12px (tablet baseline ≈ 10px). */
  --shumi-bubble-top-sm: 54px;
  --shumi-bubble-h-sm: 84px;
  --shumi-alien-top-sm: 150px;
  /* Result nests bubble at top:0 inside .result-upper, so alien top = bubble-h + gap */
  --shumi-result-alien-top-sm: 96px;
  --void: #050505;
  --void-2: #101010;
  --void-3: #1a1a1a;
  --paper: #f3efe4;
  --ink: #0b0b0b;
  --cream: #f3efe4;
  --muted: #9b968c;
  --dust: #c4bfb3;
  --line: rgba(243, 239, 228, 0.18);
  --line-strong: rgba(243, 239, 228, 0.42);
  --accent: #d94a32;
  --tilt-bubble: -6deg;
  --tilt-card: -2.8deg;
  --tilt-card-alt: 2.2deg;
}

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

html,
body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  font-family: var(--font-maruko), sans-serif;
  background: var(--color-bg);
  color: var(--color-black);
}

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

a {
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.page {
  width: 100%;
  background: var(--color-bg);
}

/*
 * Decorative pattern backgrounds: locked to the viewport while content scrolls.
 * HTML places these <img> as direct children of .page (not inside overflow:hidden mains).
 */
.home-bg,
.find-bg,
.dx-bg,
.weight-bg,
.hobby-sort-bg,
.contact-bg,
.result-main__bg,
.add-hobby-bg,
.modify-bg,
.secret-bg,
.secret-hint-bg,
.tag-bg,
.priority-bg,
.method2-bg,
.hobby-detail-bg,
.hobby-list-bg {
  position: fixed;
  z-index: 0;
  pointer-events: none;
}

.page > .navbar,
.page > main,
.page > [class$="-main"],
.page > .home-main,
.page > .result-main,
.page > .dx-main,
.page > .site-footer,
.page > [data-site-footer-root] {
  position: relative;
  z-index: 2;
}

/* ===== Navbar ===== */
.navbar {
  position: relative;
  z-index: 20;
  height: 45px;
  min-height: 45px;
  background: #000000;
  border-bottom: 1px solid #a07231;
}

.navbar__header {
  height: 42px;
  padding: 0 64px;
}

.navbar__container {
  position: relative;
  top: 9px;
  right: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 2px 26px;
  border: 1px solid #ffffff;
  border-radius: 6px;
  font-family: var(--font-maruko);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: none;
}

.navbar__logo--link {
  cursor: pointer;
}

.navbar__logo--link:hover {
  filter: brightness(1.08);
}

.navbar__nav {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 2px;
}

.nav-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 24px;
  padding: 0 9px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-family: var(--font-maruko);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.nav-btn__text {
  display: block;
  line-height: 1;
  text-align: center;
  color: inherit;
  text-shadow: none;
}

.nav-btn--home {
  color: #d2cf2c;
}

.nav-btn--secret {
  color: #e58888;
}

.nav-btn--list {
  color: #a9c7ff;
}

.nav-list-menu {
  position: relative;
  display: inline-flex;
}

.nav-list-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 120;
  min-width: 220px;
  max-width: min(92vw, 280px);
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 8px 0;
  border: 1px solid rgba(169, 199, 255, 0.55);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.nav-list-menu__panel[hidden] {
  display: none !important;
}

.nav-list-menu__item {
  display: block;
  padding: 10px 16px;
  color: var(--item-color, #a9c7ff);
  font-family: var(--font-maruko);
  font-size: clamp(13px, 1.111vw, 16px);
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-list-menu__item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav-list-menu__item:focus-visible {
  outline: 2px solid #91bdff;
  outline-offset: -2px;
}

.nav-list-menu.is-open .nav-btn--list {
  text-shadow: 0 0 10px rgba(169, 199, 255, 0.55);
}

.nav-btn--active {
  box-shadow: none;
}

.js-required-notice {
  box-sizing: border-box;
  width: min(100%, 520px);
  margin: 12px auto 8px;
  padding: 14px 16px;
  border: 1px solid #e58888;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.72);
  color: #ffd0d0;
  font-family: var(--font-maruko);
  font-size: clamp(14px, 3.6vw, 18px);
  line-height: 1.5;
  text-align: center;
}

.js-required-notice p {
  margin: 0;
}

.navbar__hamburger {
  display: none;
  box-sizing: border-box;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.navbar__hamburger-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 1px;
  background: #b0b0b0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.navbar.is-menu-open .navbar__hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar.is-menu-open .navbar__hamburger-bar:nth-child(2) {
  opacity: 0;
}

.navbar.is-menu-open .navbar__hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.is-nav-open {
  overflow: hidden;
}

/* ===== Home ===== */
.home-page {
  min-height: 100vh;
  background: #000000;
}

.home-main {
  width: 100%;
  /* Transparent so fixed .home-bg (z-index:0) shows through; page stays black via .home-page */
  background: transparent;
  /* Pass clicks through empty areas to the fixed UFO underneath */
  pointer-events: none;
}

.home-main a,
.home-main button {
  pointer-events: auto;
}

.home-hero {
  position: relative;
  width: min(100%, 1440px);
  height: 756px;
  margin: 0 auto;
  overflow: hidden;
}

.home-bg {
  position: fixed;
  top: 98px;
  left: 50%;
  width: 1440px;
  height: 603px;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center;
  max-width: none;
  pointer-events: none;
}

.home-subtitle {
  position: absolute;
  top: 39px;
  left: 50%;
  width: 792px;
  margin: 0;
  padding-bottom: 4px;
  transform: translateX(-50%) translateY(18px);
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
  font-family: var(--font-maruko);
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  opacity: 0;
  animation: home-subtitle-slide 1.4s ease forwards;
  animation-delay: 0.35s;
}

@keyframes home-subtitle-slide {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-subtitle {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    animation: none;
  }
}

.home-title-box {
  position: absolute;
  top: 252px;
  left: 50%;
  padding: 2px 26px;
  border: 3px solid #ffffff;
  border-radius: 24px;
  transform: translateX(-50%);
}

.home-title {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-maruko);
  font-size: 96px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.home-buttons {
  position: absolute;
  top: 521px;
  left: calc(50% + 25px);
  display: flex;
  gap: 45px;
  transform: translateX(-50%);
}

.home-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 77px;
  padding: 18px 54px;
  border: 2px solid transparent;
  border-radius: 51px;
  background: #000000;
  font-family: var(--font-maruko);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.home-cta--find {
  border-color: #9dbf4b;
  color: #9dbf4b;
}

.home-cta--submit {
  border-color: #9678db;
  color: #9678db;
}

.home-cta--deep {
  border-color: #7ec8ff;
  color: #7ec8ff;
}

.home-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.home-cta:active,
.home-cta.is-pressed {
  filter: brightness(0.96);
  transform: translateY(0);
  box-shadow: none;
}

.home-bubble {
  position: absolute;
  top: 438px;
  left: 118px;
  z-index: 2;
  min-height: 86px;
  padding: 16px 18px 18px;
  border: 2px solid #ffffff;
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  font-family: var(--font-maruko);
  font-size: 48px;
  line-height: 1;
  white-space: nowrap;
}

.home-bubble::after {
  content: "";
  position: absolute;
  left: 6px;
  bottom: -17px;
  width: 22px;
  height: 20px;
  background: rgba(0, 0, 0, 0.9);
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: skewX(-25deg);
}

/* Resting left/top/width/height are set by home.js to match the pattern UFO in .home-bg
   Stack: content (z:2) > interactive UFO (z:1) > background pattern (z:0) */
.home-ufo {
  position: fixed;
  z-index: 1;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  touch-action: none;
  /* Fallback before JS (pattern coords 668,45 / 128×75 within 1440×603 @ top 98) */
  top: calc(98px + 45px);
  left: calc(50% - 720px + 668px);
  width: 128px;
  height: 75px;
}

.home-ufo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.home-ufo.is-dragging,
.home-alien.is-dragging {
  cursor: grabbing;
  z-index: 6;
}

.home-ufo.is-drop-ready,
.home-alien.is-drop-ready {
  outline: 2px dashed rgba(180, 255, 0, 0.65);
  outline-offset: 4px;
}

.home-count {
  position: absolute;
  top: 648px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  color: #ffffff;
  font-family: var(--font-maruko);
  font-size: 34px;
  line-height: 1.08;
  white-space: nowrap;
}

.home-alien {
  position: absolute;
  top: 546px;
  left: 127px;
  display: block;
  width: 105px;
  height: 210px;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.home-alien img {
  position: absolute;
  top: -90.11%;
  left: -235.96%;
  width: 561.4%;
  height: 281.32%;
  max-width: none;
}

@media (max-width: 1024px) {
  .navbar__header {
    padding: 0 20px;
  }

  .navbar__nav {
    gap: 14px;
    min-width: 0;
  }

  .navbar__logo {
    padding: 2px 14px;
    font-size: 13px;
  }

  .nav-btn {
    padding: 0 6px;
    font-size: 13px;
  }

  .nav-btn__text {
    white-space: nowrap;
  }

  .home-hero {
    height: auto;
    min-height: 700px;
    padding-bottom: 72px;
    overflow-x: hidden;
  }

  .home-bg {
    top: 114px;
    left: 50%;
    width: min(1280px, 220vw);
    height: auto;
    transform: translateX(-50%);
  }

  .home-subtitle {
    top: 46px;
    width: min(86vw, 760px);
    font-size: var(--shumi-bubble-font-md, clamp(22px, 3.1vw, 34px));
    white-space: normal;
    line-height: 1.3;
  }

  .home-title-box {
    top: 240px;
    z-index: 2;
  }

  .home-title {
    font-size: clamp(56px, 8vw, 88px);
  }

  /* Keep PC-like row of CTAs, leave room for alien on the left */
  .home-buttons {
    top: 480px;
    left: calc(50% + 36px);
    gap: 18px;
    z-index: 3;
  }

  .home-cta {
    min-height: 64px;
    padding: 14px 28px;
    font-size: clamp(16px, 2vw, 22px);
  }

  .home-bubble {
    top: 390px;
    left: 28px;
    right: auto;
    width: max-content;
    max-width: min(36vw, 180px);
    min-height: 0;
    padding: 6px 10px 8px;
    font-size: clamp(14px, 1.9vw, 18px);
    white-space: nowrap;
    line-height: 1.15;
    z-index: 4;
  }

  .home-bubble::after {
    left: 10px;
    bottom: -14px;
    width: 16px;
    height: 14px;
  }

  .home-alien {
    top: 470px;
    left: 18px;
    right: auto;
    width: 88px;
    height: 150px;
    z-index: 3;
  }

  .home-count {
    top: 620px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 640px);
    white-space: normal;
    text-align: center;
    font-size: clamp(18px, 2.4vw, 28px);
    line-height: 1.3;
    z-index: 2;
  }
}

@media (max-width: 599px) {
  /* .page > .navbar { z-index:2 } より詳細度を上げ、開閉メニューを最前面に */
  .page > .navbar,
  .navbar {
    height: 56px;
    z-index: 300;
  }

  .page > .home-main,
  .home-main {
    z-index: 1;
  }

  .home-subtitle {
    z-index: 0;
  }

  .navbar__header {
    height: 56px;
    padding: 0 10px;
    position: relative;
    overflow: visible;
  }

  .navbar__container {
    top: 8px;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
  }

  .navbar__logo {
    padding: 5px 8px;
    font-size: 11px;
    flex-shrink: 0;
  }

  .navbar__hamburger {
    display: inline-flex;
    margin-left: auto;
  }

  /* JS off: keep links visible (hamburger is injected only when JS runs). */
  .navbar:not(:has(.navbar__hamburger)) .navbar__nav {
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: min(70vw, 260px);
  }

  .navbar:not(:has(.navbar__hamburger)) .nav-btn {
    padding: 0 4px;
    font-size: 11px;
  }

  .navbar:has(.navbar__hamburger) .navbar__nav {
    display: none;
    position: fixed;
    top: 56px;
    left: 10px;
    right: 10px;
    z-index: 310;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px 12px 16px;
    border: 1px solid #a07231;
    border-radius: 0 0 12px 12px;
    background: #000000;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  }

  .navbar.is-menu-open:has(.navbar__hamburger) .navbar__nav {
    display: flex;
  }

  .nav-btn {
    width: 100%;
    justify-content: flex-start;
    padding: 12px 10px;
    font-size: 16px;
    height: auto;
    min-height: 44px;
    font-family: var(--font-maruko);
  }

  .nav-btn__text {
    white-space: nowrap;
  }

  .nav-list-menu {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nav-list-menu__panel {
    position: static;
    right: auto;
    min-width: 0;
    max-width: none;
    width: 100%;
    max-height: min(46vh, 320px);
    margin-top: 4px;
  }

  .nav-list-menu__item {
    padding: 11px 12px;
    font-size: 14px;
  }

  .home-hero {
    width: 100%;
    height: auto;
    min-height: 560px;
    padding-bottom: 24px;
    overflow: visible;
  }

  .home-bg {
    top: 140px;
    left: 50%;
    width: 200%;
    height: auto;
  }

  .home-subtitle {
    top: 56px;
    width: min(92vw, 540px);
    font-size: clamp(16px, 4.6vw, 22px);
    line-height: 1.35;
    white-space: normal;
  }

  .home-title-box {
    top: 170px;
    padding: 2px 14px;
    border-width: 2px;
    border-radius: 16px;
  }

  .home-title {
    font-size: clamp(40px, 11vw, 64px);
  }

  /* Compact bubble sized to the shorter text */
  .home-bubble {
    top: 248px;
    left: 12px;
    right: auto;
    width: max-content;
    max-width: none;
    min-height: 0;
    padding: 7px 12px 8px;
    border-width: 2px;
    font-size: 18px;
    white-space: nowrap;
    line-height: 1.15;
    z-index: 4;
  }

  .home-bubble::after {
    left: 14px;
    bottom: -12px;
    width: 14px;
    height: 11px;
  }

  /* Alien to the left of the "シュミをサガす" button */
  .home-alien {
    top: 300px;
    left: 8px;
    right: auto;
    width: 52px;
    height: 90px;
    z-index: 3;
  }

  .home-buttons {
    top: 300px;
    left: 70px;
    right: 70px;
    width: auto;
    max-width: none;
    flex-direction: column;
    gap: 12px;
    transform: none;
    z-index: 3;
  }

  .home-cta {
    width: 100%;
    min-height: 58px;
    padding: 12px 16px;
    font-size: clamp(16px, 4.6vw, 22px);
  }

  /* Below both CTAs so it is not covered */
  .home-count {
    top: 500px;
    left: 80px;
    right: 14px;
    width: auto;
    max-width: none;
    transform: none;
    font-size: clamp(14px, 3.8vw, 18px);
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    z-index: 2;
    padding-right: 0;
  }
}

/* ===== Home below-fold content ===== */
.home-below {
  position: relative;
  z-index: 4;
  width: min(100% - 48px, 880px);
  margin: 32px auto 0;
  padding: 8px 0 72px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.home-reveal {
  opacity: 1;
  transform: none;
}

.home-reveal.js-ready {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.home-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.home-intro__title,
.home-latest__title {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: var(--font-maruko);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
}

/* サイト定義文 — 黒パネル＋マゼンタ＋左の段階的白線＋長めの白下線 */
.home-seo-blurb {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 0 0 52px;
  max-width: min(100%, 860px);
  padding: 14px 16px 12px;
  box-sizing: border-box;
  background: #000000;
  color: #e8009b;
  font-family: var(--font-maruko);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: left;
}

.home-seo-blurb__panel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.home-seo-blurb__bars {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
  align-self: stretch;
  gap: 5px;
}

.home-seo-blurb__bar {
  display: block;
  width: 5px;
  background: #ffffff;
  border-radius: 1px;
}

.home-seo-blurb__bar--tall {
  align-self: stretch;
}

.home-seo-blurb__bar--short {
  height: 1.35em;
  flex-shrink: 0;
}

.home-seo-blurb__text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.home-seo-blurb__accent {
  color: #f04141;
}

.home-seo-blurb__break {
  display: block;
}

.home-seo-blurb__rule {
  display: block;
  width: 100%;
  height: 2px;
  margin-top: 12px;
  background: #ffffff;
}

.home-faq__method--easy {
  color: #4eba78;
}

.home-faq__method--deep {
  color: #4987de;
}

.home-faq__eta {
  color: #9a9a9a;
}

.home-intro__title {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  width: max-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding-bottom: 4px;
  color: #b4ff00;
  border-bottom: 1px solid #b4ff00;
  box-sizing: content-box;
}

.home-intro__title-main,
.home-intro__title-cont {
  display: block;
  line-height: 1.25;
  width: max-content;
  max-width: 100%;
}

.home-intro__break {
  display: none;
}

.home-intro__raw {
  color: #db4340;
  font-size: 1.35em;
  line-height: 1.2;
}

.home-intro__example {
  color: #7ec8ff;
  font-size: 1.14em;
  line-height: 1.45;
}

.home-faq__tag {
  color: #ffeb6e;
}

.home-faq__start {
  color: #3755ff;
}

.home-intro__body,
.home-accordion__text,
.home-latest__explanation,
.home-latest__weights,
.home-latest__status {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-maruko);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.7;
}

.home-intro__note {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.48);
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.65;
}

.home-intro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.home-faq {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.home-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.home-accordion:first-child {
  border-top: 0;
}

.home-accordion__heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

.home-accordion__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 16px 4px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-maruko);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.home-accordion__trigger:hover {
  color: #b4ff00;
}

.home-accordion.is-open .home-accordion__trigger,
.home-accordion.is-open .home-accordion__trigger:hover {
  color: #b4ff00;
}

.home-accordion__mark {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.home-accordion__mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #91bdff;
  transform: translateY(-50%);
  transition: transform 0.15s ease;
}

.home-accordion.is-open .home-accordion__mark::before {
  transform: translateY(-50%) rotate(90deg);
}

.home-accordion__title {
  flex: 1;
}

.home-accordion.is-open .home-accordion__title {
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}

.home-accordion__body {
  padding: 0 4px 20px 34px;
}

.home-accordion__body[hidden] {
  display: none;
}

.home-accordion__link {
  color: #4ea3ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-accordion__link:hover {
  color: #8cc8ff;
}

.home-latest__card {
  display: block;
  padding: 18px 20px;
  border: 1px solid #57c0c9;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.72);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.home-latest__card:hover {
  border-color: #b4ff00;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.home-latest__name {
  margin: 0 0 10px;
  color: #b4ff00;
  font-family: var(--font-maruko);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.home-latest__explanation {
  overflow-wrap: anywhere;
}

.home-latest__weights {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.6;
}

.home-latest__card[hidden],
.home-latest__status[hidden] {
  display: none;
}

@media (max-width: 1024px) {
  .home-below {
    width: min(92vw, 640px);
    margin-top: 24px;
    padding-bottom: 56px;
    gap: 28px;
    background: #000000;
  }

  .home-intro__actions {
    justify-content: center;
  }

  .home-intro__actions .home-cta {
    flex: 0 1 auto;
    min-height: 56px;
    padding: 14px 22px;
    white-space: nowrap;
  }

  .home-accordion__body {
    padding-left: 28px;
  }

  .home-accordion__body .home-cta {
    min-height: 56px;
    padding: 14px 22px;
    white-space: nowrap;
  }
}

@media (max-width: 599px) {
  .home-below {
    width: 100%;
    max-width: 480px;
    box-sizing: border-box;
    margin-top: 8px;
    padding: 0 16px 48px;
    gap: 24px;
    background: #000000;
  }

  .home-intro__title,
  .home-latest__title {
    font-size: clamp(16px, 4.6vw, 19px);
  }

  .home-seo-blurb {
    gap: 0;
    margin-bottom: 40px;
    /* 右余白を詰め、文字を大きく。改行は br のみ（行内折り返しなし） */
    padding: 10px 4px 10px 8px;
    width: 100%;
    max-width: 100%;
    font-size: clamp(17px, 4.8vw, 21px);
  }

  .home-seo-blurb__panel {
    gap: 6px;
  }

  .home-seo-blurb__bars {
    gap: 3px;
  }

  .home-seo-blurb__bar {
    width: 3px;
  }

  .home-seo-blurb__text {
    white-space: nowrap;
  }

  .home-seo-blurb__break {
    display: block;
  }

  .home-seo-blurb__rule {
    margin-top: 10px;
  }

  /* イントロ見出し：左右同幅。1行目が折り返さず2行になるサイズ */
  .home-intro__title {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
    margin: 0 0 16px;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 2px;
    line-height: 1.25;
    border-bottom: 1px solid #b4ff00;
  }

  .home-intro__title-main {
    white-space: nowrap;
  }

  .home-intro__body,
  .home-intro__actions {
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .home-intro__body,
  .home-accordion__text,
  .home-latest__explanation,
  .home-latest__status {
    font-size: clamp(15px, 4.2vw, 17px);
    line-height: 1.65;
  }

  .home-intro__actions {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .home-intro__actions .home-cta,
  .home-accordion__body .home-cta {
    width: auto;
    min-width: 200px;
    max-width: 100%;
    min-height: 52px;
    padding: 12px 28px;
    font-size: clamp(16px, 4.4vw, 20px);
  }

  .home-accordion__trigger {
    padding: 14px 2px;
    font-size: clamp(16px, 4.4vw, 18px);
  }

  .home-accordion__body {
    padding: 0 2px 16px 26px;
  }

  .home-latest__card {
    padding: 14px 14px;
    border-radius: 16px;
  }

  .home-latest__weights {
    font-size: clamp(13px, 3.6vw, 15px);
  }
}

/* Shared mobile background for non-home pages:
   see mobile-controls.css (loads last so it wins over page CSS).
   Tune --shumi-bg-top-sm / --shumi-bg-width-sm in :root above. */

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

  .home-reveal.js-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Anti-bot honeypot (visually hidden, still in DOM for bots) */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.turnstile-slot {
  margin: 12px 0 4px;
  min-height: 0;
}

.turnstile-slot:empty {
  display: none;
}

/* ===== Black UI overlay (formerly black-ui.css) ===== */
/* Production overlay: redesign-black bubbles / buttons / cards.
   Original pattern backgrounds and home title placement stay in page CSS. */

:root {
  --void: #050505;
  --void-2: #101010;
  --void-3: #1a1a1a;
  --paper: #f3efe4;
  --paper-2: #e4dfd2;
  --ink: #0b0b0b;
  --cream: #f3efe4;
  --muted: #9b968c;
  --dust: #c4bfb3;
  --line: rgba(243, 239, 228, 0.18);
  --line-strong: rgba(243, 239, 228, 0.42);
  --accent: #d94a32;
  --accent-soft: rgba(217, 74, 50, 0.16);
  --tilt-bubble: -6deg;
  --tilt-card: -2.8deg;
  --tilt-card-alt: 2.2deg;
  --tap: 44px;
  --bubble-font: 35px;
  --bubble-pad-y: 7px;
  --bubble-pad-x: 18px;
  --bubble-line: 1.28;
}

.navbar__logo {
  font-family: var(--font-maruko);
}

/* Shared back buttons */
.find-back,
.tag-back,
.dx-back,
.weight-back,
.result-back,
.add-hobby-back,
.modify-back,
.secret-back,
.secret-hint-back,
.secret-hint-home,
.secret-display-back,
.contact-back,
.hobby-sort-back,
.hobby-detail__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--accent);
  border-radius: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-maruko);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
}

.find-back:hover,
.tag-back:hover,
.dx-back:hover,
.weight-back:hover,
.result-back:hover,
.add-hobby-back:hover,
.modify-back:hover,
.secret-back:hover,
.secret-display-back:hover,
.contact-back:hover,
.hobby-sort-back:hover,
.hobby-detail__back:hover {
  filter: none;
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
  transform: none;
  box-shadow: none;
}

/* Speech bubbles — hide SVG layers, paint CSS polygons */
.find-bubble img,
.tag-bubble img,
.priority-bubble img,
.weight-bubble img,
.result-bubble img,
.add-hobby-bubble img,
.secret-bubble img,
.modify-bubble img,
.method2-bubble img,
.hobby-list-bubble img,
.result-bottom__bubble img {
  display: none !important;
}

.find-bubble,
.tag-bubble,
.priority-bubble,
.weight-bubble,
.result-bubble,
.add-hobby-bubble,
.secret-bubble,
.modify-bubble,
.method2-bubble,
.hobby-list-bubble,
.result-bottom__bubble {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex: 0 1 auto;
  flex-shrink: 1;
  width: fit-content;
  min-width: 0;
  max-width: calc(100% - 8px);
  height: auto;
  min-height: 0;
  margin: 0 0 10px;
  justify-self: start;
  padding: var(--bubble-pad-y) var(--bubble-pad-x);
  border: 0;
  color: var(--ink);
  background:
    linear-gradient(var(--ink), var(--ink)) top left / 68% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top left / 2px 62% no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 42% 6px no-repeat,
    var(--paper);
  transform: rotate(var(--tilt-bubble));
  transform-origin: left top;
}

.result-upper {
  margin: 0 0 28px;
}

.result-middle,
.result-bottom {
  margin: 20px 0 36px;
}

.add-hobby-bubble {
  padding: 6px 8px;
  width: auto;
  max-width: 100%;
  margin-top: 0;
  margin-left: 0;
}

.weight-bubble--add,
.weight-bubble--compact {
  min-height: 0;
}

.find-stage,
.tag-stage,
.priority-stage,
.weight-stage,
.result-stage,
.result-upper,
.result-middle,
.result-bottom,
.secret-stage,
.modify-stage {
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  overflow: visible;
  gap: 0;
}

.find-main {
  column-gap: 0;
}

.find-bubble,
.tag-bubble,
.priority-bubble,
.weight-bubble {
  margin-left: -28px;
}

@media (min-width: 1025px) {
  .dx-weight .weight-bubble {
    margin-left: 0px;
    margin-top: -30px;
  }
}

.result-bubble--top {
  width: max-content;
  max-width: none;
  margin-top: -24px;
  margin-left: -88px;
}

.result-bubble--middle {
  margin-top: -4px;
  margin-left: -48px;
}

.result-bottom__bubble {
  margin-top: -4px;
  margin-left: -16px;
}

.add-hobby-bubble {
  padding: 6px 8px;
  width: auto;
  max-width: 100%;
  margin-top: 0;
  margin-left: 0;
}

.find-alien,
.find-bubble {
  align-self: flex-start;
}

.find-bubble::after,
.tag-bubble::after,
.priority-bubble::after,
.weight-bubble::after,
.result-bubble::after,
.add-hobby-bubble::after,
.secret-bubble::after,
.modify-bubble::after,
.method2-bubble::after,
.hobby-list-bubble::after,
.result-bottom__bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -10px;
  width: 16px;
  height: 16px;
  background: var(--paper);
  border: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform: rotate(-12deg);
}

.find-bubble h1,
.find-bubble h2,
.tag-bubble h1,
.priority-bubble h2,
.weight-bubble h1,
.weight-bubble h2,
.result-bubble h1,
.result-bubble p,
.add-hobby-bubble p,
.secret-bubble h1,
.modify-bubble p,
.method2-bubble h1,
.method2-bubble h2,
.hobby-list-bubble h1,
.hobby-list-bubble h2,
.result-bottom__bubble p,
.weight-bubble__text {
  position: relative;
  z-index: 1;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-maruko);
  font-size: var(--bubble-font);
  font-weight: 400;
  line-height: var(--bubble-line);
  letter-spacing: 0.01em;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-text-stroke: 0;
  text-shadow: none;
  transform: none;
}

.add-hobby-bubble p {
  white-space: normal;
}

.result-bubble--top h1 {
  font-size: var(--bubble-font);
  white-space: nowrap;
}

.add-hobby-bubble p,
.result-bubble--middle p,
.result-bottom__bubble p {
  white-space: normal;
}

.result-bottom__bubble p {
  font-size: var(--bubble-font);
  line-height: var(--bubble-line);
  text-align: center;
}

.weight-bubble--add .weight-bubble__text,
.weight-bubble--compact .weight-bubble__text {
  font-size: var(--bubble-font);
}

/* Home bubble: black look, original absolute placement */
.home-page .home-bubble {
  border: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) top left / 68% 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) top left / 2px 62% no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 42% 6px no-repeat,
    var(--paper);
  color: var(--ink);
  transform: rotate(var(--tilt-bubble));
  transform-origin: left top;
}

.home-page .home-bubble::after {
  left: 18px;
  bottom: -10px;
  width: 16px;
  height: 16px;
  background: var(--paper);
  border: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  transform: rotate(-12deg);
}

/* Buttons */
.home-cta {
  border-radius: 0;
  border: 1px solid var(--cream);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-maruko);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-page .home-hero .home-cta {
  min-height: 77px;
  padding: 18px 54px;
  font-size: 20px;
}

.home-cta--find {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}

.home-page .home-hero .home-cta--find {
  background: #000000;
  border: 2px solid #9dbf4b;
  color: #9dbf4b;
}

.home-cta--submit {
  background: transparent;
  border-color: var(--cream);
  border-bottom-width: 6px;
  color: var(--cream);
}

.home-cta--deep {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.home-cta:hover {
  filter: none;
  transform: translate(4px, -4px);
  box-shadow: -8px 8px 0 var(--void-3);
}

.home-cta:active,
.home-cta.is-pressed {
  filter: none;
  transform: none;
  box-shadow: none;
}

.home-intro__actions .home-cta,
.home-accordion__body .home-cta {
  min-height: 52px;
  padding: 12px 22px;
  font-size: 17px;
}

.weight-next,
.hobby-form-submit,
.tag-next,
.priority-next,
.method2-result,
.secret-form button,
.contact-form button[type="submit"],
.error-page .error-main a {
  border-radius: 0;
  border: 0;
  background: var(--accent);
  color: var(--cream);
  font-family: var(--font-maruko);
}

.weight-reset,
.hobby-form-reset,
.tag-reset,
.priority-reset,
.method2-reset {
  border-radius: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--dust);
}

/* Home below: definition, heading, body, Q&A cards */
.home-seo-blurb {
  position: relative;
  display: block;
  margin: 0 0 32px;
  max-width: none;
  padding: 22px 24px 20px 28px;
  background: var(--paper);
  color: var(--ink);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.55;
  letter-spacing: 0;
  transform: rotate(-1.2deg);
}

.home-seo-blurb::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--accent);
}

.home-seo-blurb__panel {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.home-seo-blurb__bars {
  display: none;
}

.home-seo-blurb__text {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.home-seo-blurb__accent {
  color: var(--accent);
}

.home-seo-blurb__break {
  display: block;
}

.home-seo-blurb__rule {
  display: block;
  width: 46%;
  height: 2px;
  margin-top: 14px;
  background: var(--ink);
  transform: skewX(-24deg);
}

.home-intro__copy {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 8px;
  padding: 20px 24px 22px;
  background: #000000;
}

.home-intro__title {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: baseline;
  width: max-content;
  max-width: 100%;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--cream);
  font-size: clamp(20px, 2.15vw, 28px);
  white-space: nowrap;
}

.home-intro__title-main,
.home-intro__title-cont {
  display: block;
  line-height: 1.3;
  white-space: nowrap;
  width: max-content;
  max-width: none;
}

.home-intro__emphasis {
  color: var(--accent);
  font-size: 1.3em;
  line-height: 1;
}

.home-intro__raw {
  color: var(--accent);
  font-size: 1.22em;
}

.home-intro__example {
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
  color: var(--cream);
}

.home-intro__body {
  margin: 0 0 14px;
  color: var(--dust);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.85;
}

.home-intro__note {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.home-intro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 16px;
}

.home-faq__method--easy {
  color: var(--accent);
}

.home-faq__method--deep {
  color: var(--paper);
}

.home-faq__eta {
  color: var(--muted);
}

.home-faq__tag,
.home-faq__start {
  color: var(--accent);
}

.home-faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 0;
  border-top: 1px solid var(--line-strong);
}

.home-accordion,
.home-accordion:first-child,
.home-accordion:nth-child(even) {
  position: relative;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--cream);
  transform: none;
  box-shadow: none;
}

.home-accordion.is-open,
.home-accordion:nth-child(even).is-open {
  background:
    linear-gradient(var(--accent), var(--accent)) left / 6px 100% no-repeat,
    var(--void-2);
}

.home-accordion__trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 16px 8px;
  border: 0;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-maruko);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  min-height: var(--tap);
}

.home-accordion__trigger:hover {
  color: var(--accent);
}

.home-accordion.is-open .home-accordion__trigger,
.home-accordion.is-open .home-accordion__trigger:hover {
  color: var(--cream);
}

.home-accordion.is-open .home-accordion__text,
.home-accordion:nth-child(even).is-open .home-accordion__text {
  color: var(--dust);
}

.home-accordion__mark {
  position: relative;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
}

.home-accordion__mark::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border: 0;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  background: transparent;
  transform: translateY(-70%) rotate(45deg);
}

.home-accordion.is-open .home-accordion__mark::before {
  transform: translateY(-20%) rotate(225deg);
}

.home-accordion__title {
  flex: 1;
  color: inherit;
}

.home-accordion.is-open .home-accordion__title {
  color: inherit;
}

.home-accordion__body {
  padding: 0 8px 20px 32px;
}

.home-latest__title {
  margin: 0 0 16px;
  color: var(--cream);
  font-family: var(--font-maruko);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.35;
}

.home-latest__status {
  margin: 0 0 14px;
  color: var(--dust);
  font-family: var(--font-maruko);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.85;
}

.home-latest__card {
  display: block;
  padding: 22px 24px 20px;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  box-shadow: none;
  transform: rotate(-1.1deg);
  transition: transform 0.15s ease;
}

.home-latest__card::before {
  content: "";
  display: block;
  width: 48px;
  height: 6px;
  margin-bottom: 12px;
  background: var(--accent);
  transform: skewX(-24deg);
}

.home-latest__card:hover {
  border-color: transparent;
  box-shadow: none;
  transform: rotate(0.6deg) translate(3px, -3px);
}

.home-latest__name {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-maruko);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.home-latest__card .home-latest__explanation,
.home-latest__card .home-latest__weights {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: var(--font-maruko);
}

.home-latest__explanation {
  overflow-wrap: anywhere;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
}

.home-latest__weights {
  margin: 0;
  color: #4d4942;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1024px) {
  :root {
    --bubble-font: 28px;
  }

  .home-latest__card {
    padding: 20px 20px 18px;
  }

  .home-below {
    background: #000000;
  }

  .home-intro__copy {
    padding: 18px 22px 20px;
  }

  .home-intro__body {
    color: #ffffff;
    margin-left: 8px;
    margin-right: 8px;
  }

  .home-intro__actions {
    justify-content: center;
    align-items: center;
  }

  .home-intro__title {
    font-size: clamp(18px, 2.35vw, 24px);
  }

  .home-intro__emphasis {
    font-size: 1.26em;
  }

  .find-stage,
  .modify-stage,
  .tag-stage,
  .priority-stage,
  .weight-stage {
    position: relative;
    display: block;
    width: 100%;
    grid-column: 1 / -1;
    padding-bottom: calc(var(--shumi-alien-h-md, 160px) + 36px);
  }

  .find-bubble,
  .modify-bubble,
  .tag-bubble,
  .priority-bubble,
  .weight-bubble {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    transform-origin: center center;
  }

  .find-alien,
  .modify-alien,
  .tag-alien,
  .priority-alien,
  .weight-alien {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
  }
}

@media (max-width: 599px) {
  :root {
    --bubble-font: 22px;
    --bubble-pad-y: 5px;
    --bubble-pad-x: 12px;
    --comic-follow: 16px;
  }

  .home-intro__copy {
    padding: 10px 6px 16px;
  }

  .home-intro__title {
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
    white-space: normal;
    font-size: clamp(17px, 5.5vw, 22px);
  }

  .home-intro__title-main,
  .home-intro__title-cont {
    white-space: nowrap;
    width: max-content;
    max-width: 100%;
  }

  .home-intro__emphasis {
    font-size: 1.22em;
  }

  .home-intro__body {
    color: #ffffff;
    margin-left: 12px;
    margin-right: 12px;
  }

  .home-intro__actions {
    justify-content: center;
    align-items: center;
  }

  .home-intro__actions .home-cta {
    width: auto;
    min-width: 200px;
    max-width: calc(100% - 24px);
  }

  .home-page .home-bubble {
    font-size: 18px;
    padding: 7px 12px 8px;
    line-height: 1.15;
  }

  .home-seo-blurb {
    margin-left: -16px;
    margin-right: -16px;
    width: calc(100% + 32px);
    max-width: none;
    padding: 18px 16px 16px 22px;
    background: #ffffff;
    font-size: clamp(16px, 4.4vw, 20px);
    white-space: normal;
  }

  .home-seo-blurb__text {
    white-space: nowrap;
  }

  .find-bubble,
  .tag-bubble,
  .priority-bubble,
  .weight-bubble,
  .result-bubble--top,
  .result-bubble--middle,
  .result-bottom__bubble,
  .add-hobby-bubble,
  .secret-bubble,
  .modify-bubble,
  .method2-bubble,
  .hobby-list-bubble {
    min-height: 0;
    padding: var(--bubble-pad-y) var(--bubble-pad-x);
    transform: rotate(var(--tilt-bubble));
  }

  .find-stage,
  .modify-stage,
  .tag-stage,
  .priority-stage,
  .weight-stage {
    padding-bottom: calc(var(--shumi-alien-h-sm, 108px) + var(--comic-follow, 16px));
  }

  .result-bubble--top,
  .result-bubble--middle,
  .result-bottom__bubble {
    margin-bottom: 0;
  }

  .result-alien--top,
  .result-alien--middle {
    margin: var(--comic-follow, 16px) 0 8px;
  }

  .result-alien--bottom {
    margin: 24px 0 8px;
  }

  .result-bottom__bubble {
    width: fit-content;
    max-width: calc(100% - 8px);
  }

  .result-bottom__bubble p {
    white-space: nowrap;
  }

  .tag-bubble h1,
  .priority-bubble h2,
  .weight-bubble h2,
  .weight-bubble__text,
  .find-bubble h1,
  .modify-bubble p {
    white-space: nowrap;
  }

  .home-page .home-hero .home-cta {
    min-height: 52px;
    padding: 12px 18px;
    font-size: 16px;
    white-space: normal;
  }

  .home-latest__title {
    font-size: clamp(18px, 5vw, 22px);
  }

  .home-latest__card,
  .home-latest__card:hover {
    padding: 18px 16px 16px;
    transform: none;
  }

  .home-latest__weights {
    font-size: 13px;
  }
}

/* Standing / noting aliens sit in a fixed crop box.
   Page CSS `height: auto` + absolutely positioned sprite = 0-height (invisible). */
.find-alien,
.tag-alien,
.priority-alien,
.secret-alien,
.modify-alien,
.result-alien--bottom,
.result-alien--bottom-crop {
  position: relative;
  display: block;
  width: 105px;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
  isolation: isolate;
  contain: paint;
}

.find-alien img,
.tag-alien img,
.priority-alien img,
.secret-alien img,
.modify-alien img,
.result-alien--bottom img,
.result-alien--bottom-crop img {
  position: absolute;
  top: -90.11%;
  left: -235.96%;
  width: 561.4%;
  height: 281.32%;
  max-width: none;
  object-fit: unset;
  object-position: unset;
}

/* Arms-out illustration is already framed in the PNG; fill the same 105×210 box. */
.result-alien--top,
.result-alien--middle {
  position: relative;
  display: block;
  width: 200px;
  height: 236px;
  overflow: hidden;
  flex-shrink: 0;
}

.result-alien--top img,
.result-alien--middle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center center;
}

/* add-hobby sprite is wider (content ~0.78). Tall 105×210 + non-uniform crop stretched it. */
.add-hobby-alien {
  position: relative;
  display: block;
  width: 164px;
  height: 210px;
  overflow: hidden;
  flex-shrink: 0;
  isolation: isolate;
  contain: paint;
}

.add-hobby-alien img {
  position: absolute;
  inset: auto;
  top: -100.1%;
  left: -142.2%;
  width: 384.1%;
  height: 300%;
  max-width: none;
  object-fit: fill;
  object-position: unset;
}

.weight-alien {
  position: relative;
  display: block;
  width: 96px;
  height: 160px;
  overflow: hidden;
  flex-shrink: 0;
}

.weight-alien img {
  position: absolute;
  top: -108.73%;
  left: -271.64%;
  width: 636.82%;
  height: 319.2%;
  max-width: none;
  object-fit: unset;
}

@media (max-width: 1024px) {
  .find-alien,
  .tag-alien,
  .priority-alien,
  .secret-alien,
  .modify-alien,
  .result-alien--bottom,
  .result-alien--bottom-crop,
  .weight-alien {
    width: var(--shumi-alien-w-md, 96px);
    height: var(--shumi-alien-h-md, 160px);
  }

  .result-alien--top,
  .result-alien--middle {
    width: 168px;
    height: 198px;
  }

  .add-hobby-alien {
    width: 125px;
    height: 160px;
  }
}

@media (max-width: 599px) {
  .find-alien,
  .tag-alien,
  .priority-alien,
  .secret-alien,
  .modify-alien,
  .result-alien--bottom,
  .result-alien--bottom-crop,
  .weight-alien {
    width: var(--shumi-alien-w-sm, 64px);
    height: var(--shumi-alien-h-sm, 108px);
  }

  .result-alien--top,
  .result-alien--middle {
    width: 118px;
    height: 140px;
  }

  .add-hobby-alien {
    width: 84px;
    height: 108px;
  }
}
