:root {
  color-scheme: light;
  --bg: #f6f8f5;
  --surface: #ffffff;
  --surface-soft: #eef5ee;
  --text: #17211c;
  --muted: #61706a;
  --faint: #8d9a94;
  --line: #dfe8e2;
  --line-strong: #c8d7cf;
  --green: #1d9e75;
  --green-dark: #0f6e56;
  --amber: #ba7517;
  --coral: #d85a30;
  --blue: #378add;
  --purple: #7f77dd;
  --pink: #d4537e;
  --shadow: 0 18px 60px rgba(42, 62, 54, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(29, 158, 117, 0.08), transparent 360px),
    radial-gradient(circle at top right, rgba(186, 117, 23, 0.14), transparent 280px),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, "Noto Sans JP", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 8px;
  background: var(--green-dark);
  color: #fff;
  padding: 10px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

.mc-site {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
}

.mc-nav {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid rgba(200, 215, 207, 0.88);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(27, 39, 34, 0.08);
  backdrop-filter: blur(14px);
}

.mc-nav-logo {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.mc-nav-logo span {
  color: var(--green);
}

.mc-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

.mc-nav-links a:hover {
  color: var(--green-dark);
}

.mc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  padding: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mc-hero-copy {
  min-width: 0;
}

.mc-hero-eyebrow,
.mc-sec-title {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mc-hero-title {
  margin: 0;
  max-width: 720px;
  color: var(--text);
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 820;
  line-height: 1.08;
}

.mc-hero-title em {
  color: var(--green);
  font-style: normal;
}

.mc-hero-desc {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.mc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.mc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 760;
}

.mc-button.primary {
  background: var(--green-dark);
  color: #fff;
}

.mc-button.secondary {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--green-dark);
}

.mc-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 26px;
}

.mc-stat {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfb;
  padding: 12px;
}

.mc-stat strong {
  display: block;
  color: var(--green-dark);
  font-size: 18px;
}

.mc-stat span {
  display: block;
  margin-top: 3px;
  color: var(--faint);
  font-size: 11px;
}

.mc-hero-visual {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.hero-image,
.article-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #e8efe9;
  object-fit: cover;
}

.hero-image {
  aspect-ratio: 16 / 9;
  box-shadow: 0 18px 42px rgba(42, 62, 54, 0.12);
}

.article-figure {
  margin: 20px 0 0;
}

.article-figure.compact {
  margin-top: 18px;
}

.article-figure figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.paint-board {
  display: none;
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    #dfe9df;
  background-size: 38px 38px;
}

.paint-wall {
  position: absolute;
  border-radius: 14px;
  filter: saturate(0.92);
}

.wall-a {
  inset: 24px auto auto 24px;
  width: 44%;
  height: 35%;
  background: #dfe4c5;
}

.wall-b {
  right: 28px;
  top: 58px;
  width: 38%;
  height: 50%;
  background: #bdd8cf;
}

.wall-c {
  left: 72px;
  right: 44px;
  bottom: 28px;
  height: 28%;
  background: #ead9c4;
}

.chameleon {
  position: absolute;
  left: 38%;
  top: 46%;
  width: 118px;
  height: 56px;
  transform: rotate(-8deg);
  border-radius: 999px 44px 44px 999px;
  background:
    radial-gradient(circle at 26% 34%, rgba(255, 255, 255, 0.55) 0 4px, transparent 5px),
    linear-gradient(135deg, #a8cdb9, #d8dcc3 56%, #b7d4cd);
  box-shadow: inset -14px -12px 20px rgba(50, 90, 72, 0.12);
}

.eye {
  position: absolute;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #26362f;
}

.eye.one {
  right: 22px;
}

.eye.two {
  right: 40px;
  opacity: 0.5;
}

.tail {
  position: absolute;
  left: -28px;
  top: 19px;
  width: 38px;
  height: 32px;
  border: 8px solid #b6d1bf;
  border-right: 0;
  border-radius: 50% 0 0 50%;
}

.seeker-scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 0 48%, rgba(29, 158, 117, 0.2) 50%, transparent 54%);
  animation: scan 4s ease-in-out infinite;
}

@keyframes scan {
  0% {
    transform: translateX(-80%);
  }
  55%,
  100% {
    transform: translateX(80%);
  }
}

.visual-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.mc-section {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  padding: 22px;
  box-shadow: 0 10px 34px rgba(42, 62, 54, 0.06);
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.guide-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.search-box {
  display: flex;
  min-width: min(100%, 260px);
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 6px 10px 6px 12px;
}

.search-box span {
  flex: 0 0 auto;
  color: var(--faint);
  font-size: 12px;
  font-weight: 720;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  color: var(--text);
  outline: 0;
}

.search-box input::placeholder {
  color: #a7b2ad;
}

.glossary-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfb;
  padding: 10px 12px;
}

.glossary-search span {
  flex: 0 0 auto;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 780;
}

.glossary-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: 0;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 720;
}

.filter-chip.active,
.filter-chip:hover {
  border-color: rgba(29, 158, 117, 0.4);
  background: #e5f6ef;
  color: var(--green-dark);
}

.mc-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mc-card,
.mc-tip,
.map-detail,
.friend-steps {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.mc-card {
  min-width: 0;
  padding: 18px;
  transition:
    transform 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.mc-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 14px 34px rgba(42, 62, 54, 0.08);
}

.mc-card.is-hidden {
  display: none;
}

.empty-state {
  margin: 14px 0 0;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: #fbfdfb;
  color: var(--muted);
  padding: 14px;
  text-align: center;
}

.mc-card-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 820;
}

.ic-green {
  background: #e1f5ee;
  color: var(--green-dark);
}

.ic-amber {
  background: #faeeda;
  color: var(--amber);
}

.ic-coral {
  background: #faece7;
  color: var(--coral);
}

.ic-blue {
  background: #e6f1fb;
  color: var(--blue);
}

.ic-purple {
  background: #eeedfe;
  color: var(--purple);
}

.ic-pink {
  background: #fbeaf0;
  color: var(--pink);
}

.mc-card-title,
.mc-tip-title,
.split-title {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.5;
}

.mc-card-desc,
.mc-tip-body,
.split-copy {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.mc-tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mc-tip {
  padding: 16px;
}

.mc-tip.wide {
  grid-column: 1 / -1;
}

.mc-tip-num {
  display: inline-flex;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 820;
}

.map-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
}

.mc-maps-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mc-map-chip {
  display: flex;
  min-height: 70px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  text-align: left;
}

.mc-map-chip strong {
  font-size: 14px;
}

.mc-map-chip span {
  margin-top: 4px;
  color: var(--faint);
  font-size: 12px;
}

.mc-map-chip.active,
.mc-map-chip:hover {
  border-color: rgba(29, 158, 117, 0.42);
  background: #eaf7f1;
}

.map-detail {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.mini-map {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 12px;
  background: #e8ebd9;
}

.room,
.spot {
  position: absolute;
  border-radius: 10px;
}

.room {
  border: 2px solid rgba(15, 110, 86, 0.26);
  background: rgba(255, 255, 255, 0.35);
}

.r1 {
  left: 18px;
  top: 18px;
  width: 70px;
  height: 58px;
}

.r2 {
  right: 18px;
  top: 32px;
  width: 64px;
  height: 88px;
}

.r3 {
  left: 34px;
  bottom: 24px;
  width: 104px;
  height: 42px;
}

.spot {
  left: var(--spot-x, 52%);
  top: var(--spot-y, 46%);
  width: 18px;
  height: 18px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(29, 158, 117, 0.18);
}

.map-label {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.04em;
}

.map-detail h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.45;
}

.map-detail p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
}

.friend-steps {
  margin: 0;
  padding: 18px 18px 18px 38px;
  color: var(--muted);
  font-size: 14px;
  line-height: 2;
}

.mc-update-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.mc-update-row {
  display: grid;
  grid-template-columns: 80px 110px 1fr;
  gap: 12px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 13px 16px;
}

.mc-update-row:last-child {
  border-bottom: 0;
}

.mc-update-row strong {
  color: var(--green-dark);
}

.mc-update-row time {
  color: var(--faint);
  font-size: 12px;
}

.mc-update-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.mc-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  padding: 18px 0 0;
  color: var(--faint);
  font-size: 12px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  margin-top: 12px;
}

.breadcrumb {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--faint);
  font-size: 13px;
}

.breadcrumb a {
  color: var(--green-dark);
  font-weight: 720;
}

.article-card,
.related-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 34px rgba(42, 62, 54, 0.06);
}

.article-card {
  padding: 28px;
}

.article-card h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.16;
}

.article-card h2 {
  margin: 28px 0 8px;
  font-size: 22px;
}

.article-card p,
.article-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.article-card .lead {
  margin-top: 16px;
  color: #40514a;
  font-size: 17px;
}

.article-card ul,
.article-card ol {
  padding-left: 22px;
}

.related-card {
  align-self: start;
  padding: 18px;
}

.related-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.related-card a {
  display: block;
  border-top: 1px solid var(--line);
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 760;
  padding: 12px 0;
}

.guide-index-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.guide-index-item {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfb;
  padding: 16px;
}

.guide-index-item:hover {
  border-color: rgba(29, 158, 117, 0.42);
  background: #f3fbf7;
}

.guide-index-item span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.04em;
}

.guide-index-item strong {
  display: block;
  color: var(--text);
  font-size: 17px;
  line-height: 1.45;
}

.guide-index-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.term-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.term-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.term-card.is-hidden {
  display: none;
}

.term-card h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.term-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.term-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 780;
}

.map-table,
.patch-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.map-table div,
.patch-list section {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfb;
  padding: 14px;
}

.map-table strong,
.patch-list strong {
  display: block;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.map-table span,
.patch-list p {
  color: var(--muted);
  line-height: 1.75;
}

.map-gallery {
  margin-top: 26px;
}

.gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.gallery-heading h2 {
  margin: 0;
}

.map-gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 720;
}

.map-filter.active,
.map-filter:hover {
  border-color: rgba(29, 158, 117, 0.42);
  background: #eaf7f1;
  color: var(--green-dark);
}

.map-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.map-shot {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.map-shot.is-hidden {
  display: none;
}

.map-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.map-shot figcaption {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.map-shot strong {
  color: var(--green-dark);
}

.map-shot span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.finder-layout .article-card {
  min-width: 0;
}

.finder-tool {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.quiz-tool {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.finder-tool fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfb;
  margin: 0;
  padding: 14px;
}

.quiz-tool fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfb;
  margin: 0;
  padding: 14px;
}

.finder-tool legend {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 820;
  padding: 0 4px;
}

.quiz-tool legend {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 820;
  padding: 0 4px;
}

.finder-tool label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.quiz-tool label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.finder-tool input {
  flex: 0 0 auto;
  accent-color: var(--green);
}

.quiz-tool input {
  flex: 0 0 auto;
  accent-color: var(--green);
}

.finder-tool .mc-button {
  grid-column: 1 / -1;
  justify-self: start;
  cursor: pointer;
  border: 0;
}

.quiz-tool .mc-button {
  justify-self: start;
  cursor: pointer;
  border: 0;
}

.finder-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.quiz-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: 16px;
  align-items: stretch;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.result-copy {
  min-width: 0;
}

.quiz-copy {
  min-width: 0;
}

.result-copy h2 {
  margin-top: 0;
}

.quiz-copy h2 {
  margin-top: 0;
}

.result-points {
  margin: 12px 0 0;
}

.result-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.result-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #eaf7f1;
  color: var(--green-dark);
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 760;
}

.result-map {
  min-width: 0;
  margin: 0;
}

.quiz-map {
  min-width: 0;
  margin: 0;
}

.result-map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.quiz-map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.result-map figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.quiz-map figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.section-actions a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 760;
}

.ranking-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.ranking-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  padding: 9px 13px;
  font-size: 13px;
  font-weight: 760;
}

.ranking-tab.active,
.ranking-tab:hover {
  border-color: rgba(29, 158, 117, 0.42);
  background: #eaf7f1;
  color: var(--green-dark);
}

.ranking-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.ranking-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.48fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.ranking-card picture,
.ranking-card img {
  display: block;
  min-width: 0;
}

.ranking-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.rank-badge {
  display: inline-flex;
  border-radius: 999px;
  background: #eaf7f1;
  color: var(--green-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 820;
}

.ranking-card h2 {
  margin: 10px 0 6px;
}

.ranking-card p {
  margin: 0;
}

.ranking-card ul {
  margin-bottom: 0;
}

.seeker-tool {
  margin-top: 24px;
}

.seeker-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seeker-map-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 760;
}

.seeker-map-tab.active,
.seeker-map-tab:hover {
  border-color: rgba(29, 158, 117, 0.42);
  background: #eaf7f1;
  color: var(--green-dark);
}

.seeker-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.seeker-map-preview {
  min-width: 0;
  margin: 0;
}

.seeker-map-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.seeker-map-preview figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.seeker-checks {
  min-width: 0;
}

.seeker-checks h2 {
  margin-top: 0;
}

.progress-line {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.progress-line span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.progress-line progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: #e7eee9;
}

.progress-line progress::-webkit-progress-bar {
  background: #e7eee9;
}

.progress-line progress::-webkit-progress-value {
  background: var(--green);
}

.progress-line progress::-moz-progress-bar {
  background: var(--green);
}

.seeker-checklist {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
}

.seeker-checklist li {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdfb;
  padding: 10px 12px;
}

.seeker-checklist label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.seeker-checklist input {
  flex: 0 0 auto;
  accent-color: var(--green);
}

.practice-tool {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.practice-tool label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.practice-tool select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 0 10px;
}

.practice-tool .mc-button {
  align-self: end;
  cursor: pointer;
  border: 0;
}

.practice-result {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.practice-map {
  min-width: 0;
  margin: 0;
}

.practice-map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.practice-map figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.practice-copy {
  min-width: 0;
}

.practice-copy h2 {
  margin-top: 0;
}

.practice-steps {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.practice-steps li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdfb;
  padding: 10px 12px;
}

.practice-steps strong {
  color: var(--green-dark);
  font-size: 13px;
}

.practice-steps span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.mistake-tool {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.mistake-tool fieldset {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfdfb;
  margin: 0;
  padding: 14px;
}

.mistake-tool legend {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 820;
  padding: 0 4px;
}

.mistake-tool label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.mistake-tool input {
  flex: 0 0 auto;
  accent-color: var(--green);
}

.mistake-tool .mc-button {
  grid-column: 1 / -1;
  justify-self: start;
  cursor: pointer;
  border: 0;
}

.mistake-result {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.mistake-map {
  min-width: 0;
  margin: 0;
}

.mistake-map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.mistake-map figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.mistake-copy {
  min-width: 0;
}

.mistake-copy h2 {
  margin-top: 0;
}

.lobby-tool {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  margin-top: 24px;
}

.lobby-tool label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.lobby-tool select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 0 10px;
}

.lobby-tool .mc-button {
  align-self: end;
  cursor: pointer;
  border: 0;
}

.lobby-result {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.lobby-map {
  min-width: 0;
  margin: 0;
}

.lobby-map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.lobby-map figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.lobby-copy {
  min-width: 0;
}

.lobby-copy h2 {
  margin-top: 0;
}

.lobby-steps {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.lobby-steps li {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fbfdfb;
  padding: 10px 12px;
}

.lobby-steps strong {
  color: var(--green-dark);
  font-size: 13px;
}

.lobby-steps span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.impact-tool {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  margin-top: 24px;
}

.impact-tool label {
  display: grid;
  min-width: 0;
  gap: 6px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.impact-tool select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  padding: 0 10px;
}

.impact-tool .mc-button {
  align-self: end;
  cursor: pointer;
  border: 0;
}

.impact-result {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.impact-map {
  min-width: 0;
  margin: 0;
}

.impact-map img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.impact-map figcaption {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.6;
}

.impact-copy {
  min-width: 0;
}

.impact-copy h2 {
  margin-top: 0;
}

.faq-section details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  margin-top: 10px;
  padding: 14px 16px;
}

.faq-section summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 780;
}

.faq-section p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 900px) {
  .mc-hero,
  .map-section,
  .split,
  .finder-result,
  .quiz-result,
  .ranking-card,
  .seeker-panel,
  .practice-result,
  .mistake-result,
  .lobby-result,
  .impact-result {
    grid-template-columns: 1fr;
  }

  .finder-tool,
  .quiz-tool,
  .practice-tool,
  .mistake-tool,
  .lobby-tool,
  .impact-tool {
    grid-template-columns: 1fr;
  }

  .mc-hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .mc-site {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
  }

  .mc-nav {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .mc-nav-links {
    justify-content: flex-start;
  }

  .mc-hero,
  .mc-section {
    border-radius: 14px;
    padding: 18px;
  }

  .paint-board {
    min-height: 260px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-controls {
    justify-content: flex-start;
    width: 100%;
  }

  .search-box {
    width: 100%;
  }

  .glossary-search {
    align-items: stretch;
    flex-direction: column;
  }

  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .mc-grid3,
  .mc-tips-grid,
  .guide-index-grid,
  .term-grid,
  .map-gallery-grid,
  .mc-maps-row,
  .map-detail,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-card {
    padding: 20px;
  }

  .map-detail {
    gap: 12px;
  }

  .mini-map {
    min-height: 160px;
  }

  .mc-update-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
