﻿:root {
  --ink: #624f48;
  --muted: #8e7d73;
  --paper: #fffaf0;
  --card: rgba(255, 255, 255, 0.78);
  --line: #eadfd0;
  --orange: #ffb166;
  --yellow: #ffd166;
  --pink: #ff8eb3;
  --green: #7ccb8a;
  --blue: #7db7ff;
  --purple: #b39dff;
  --shadow: 0 18px 45px rgba(124, 93, 59, 0.12);
}

@font-face {
  font-family: "jf open 粉圓";
  src: url("../fonts/jf-openhuninn-2.1.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Iansui";
  src: url("../fonts/Iansui-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "jf open 粉圓", "Microsoft JhengHei", "PingFang TC", "Segoe UI", system-ui, sans-serif;
  background: #fffaf0;
  cursor: url("../images/mouse_cursor.png") 4 4, auto;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.08;
  background-image: none;
  background-size: 1550px auto;
  background-position: center -40px;
  filter: saturate(0.8) brightness(1.08);
}

a {
  color: inherit;
  text-decoration: none;
  cursor: url("../images/mouse_cursor.png") 4 4, pointer;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

button,
input,
select,
textarea,
[role="button"] {
  cursor: url("../images/mouse_cursor.png") 4 4, pointer;
}

html:active,
body:active,
a:active,
button:active,
input:active,
select:active,
textarea:active,
[role="button"]:active {
  cursor: url("../images/mouse_touch_cursor.png") 4 4, pointer;
}

.page-shell {
  width: min(1320px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 120px;
}

.brand img {
  display: block;
  width: 118px;
  height: auto;
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #5e514d;
  font-size: 14px;
}

.main-nav a,
.site-footer nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a {
  --nav-accent: var(--yellow);
  --nav-soft: rgba(255, 255, 255, 0.68);
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid rgba(234, 223, 208, 0.86);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), var(--nav-soft));
  box-shadow: 0 7px 18px rgba(124, 93, 59, 0.07);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

.main-nav a::before {
  display: inline-block;
  width: 9px;
  height: 9px;
  content: "";
  border-radius: 50%;
  background: var(--nav-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--nav-accent) 18%, transparent);
}

.main-nav a:nth-child(1) {
  --nav-accent: #ffb166;
  --nav-soft: rgba(255, 244, 219, 0.82);
}

.main-nav a:nth-child(2) {
  --nav-accent: #ff8eb3;
  --nav-soft: rgba(255, 238, 244, 0.84);
}

.main-nav a:nth-child(3) {
  --nav-accent: #7db7ff;
  --nav-soft: rgba(232, 242, 255, 0.84);
}

.main-nav a:nth-child(4) {
  --nav-accent: #7ccb8a;
  --nav-soft: rgba(232, 248, 229, 0.84);
}

.main-nav a:nth-child(5) {
  --nav-accent: #b39dff;
  --nav-soft: rgba(241, 236, 255, 0.84);
}

.main-nav a:nth-child(6) {
  --nav-accent: #ffd166;
  --nav-soft: rgba(255, 248, 220, 0.84);
}

.main-nav a:nth-child(7) {
  --nav-accent: #71d2c6;
  --nav-soft: rgba(229, 249, 246, 0.84);
}

.main-nav a:hover,
.main-nav a.active {
  border-color: color-mix(in srgb, var(--nav-accent) 62%, #eadfd0);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), color-mix(in srgb, var(--nav-accent) 18%, #ffffff));
  box-shadow: 0 10px 22px rgba(124, 93, 59, 0.12);
  transform: translateY(-1px);
}

.main-nav a.active {
  color: #4f3f39;
  font-weight: 700;
}

.main-nav a.active::after {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 5px;
  height: 3px;
  content: "";
  background: var(--nav-accent);
  border-radius: 999px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #3f3431;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.icon-button svg {
  width: 21px;
}

.login-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}

.login-button {
  background: #fff1d6;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.primary-button {
  gap: 16px;
  color: #5c4032;
  background: linear-gradient(180deg, #ffd772, #ffbd3f);
  box-shadow: 0 12px 26px rgba(255, 184, 58, 0.22);
}

.secondary-button {
  color: #7b604d;
  border: 1px solid #f4bf5f;
  background: rgba(255, 255, 255, 0.46);
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  align-items: center;
  gap: 18px;
  min-height: 560px;
  padding: 52px 0 28px;
}

.hero-logo {
  margin: 0;
}

.hero-copy {
  text-align: center;
}

.hero-logo img {
  display: block;
  width: min(560px, 100%);
  height: auto;
  margin-inline: auto;
}

.hero-copy p {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 40px;
  color: #6f5e58;
  font-family: "Iansui", "jf open 粉圓", "Microsoft JhengHei", "PingFang TC", cursive;
  font-size: 22px;
  font-weight: 400;
}

.hero-copy p::after {
  position: absolute;
  left: 63%;
  bottom: -12px;
  width: 120px;
  height: 8px;
  content: "";
  background: repeating-linear-gradient(135deg, var(--yellow) 0 8px, transparent 8px 14px);
  clip-path: polygon(0 55%, 8% 0, 16% 55%, 24% 0, 32% 55%, 40% 0, 48% 55%, 56% 0, 64% 55%, 72% 0, 80% 55%, 88% 0, 96% 55%, 100% 0, 100% 100%, 0 100%);
}

.hero-actions {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-art {
  position: relative;
  min-height: 460px;
}

.hero-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-map img {
  display: block;
  width: min(112%, 720px);
  height: auto;
  border-radius: 18px;
  filter: drop-shadow(0 18px 34px rgba(124, 93, 59, 0.14));
}

.path-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.path-line {
  stroke-width: 2.1;
}

.path-line.pink { stroke: var(--pink); }
.path-line.orange { stroke: #ff9c4d; }
.path-line.blue { stroke: var(--blue); }
.path-line.green { stroke: var(--green); }

.dot-set circle:nth-child(3n + 1) { fill: var(--pink); stroke: #fff; }
.dot-set circle:nth-child(3n + 2) { fill: var(--orange); stroke: #fff; }
.dot-set circle:nth-child(3n) { fill: var(--green); stroke: #fff; }

.sketch {
  position: absolute;
  width: 118px;
  height: 112px;
  color: #76645c;
}

.learner::before,
.learner::after,
.learner span::before,
.learner span::after {
  position: absolute;
  content: "";
  border: 2px solid currentColor;
}

.learner::before {
  top: 6px;
  left: 41px;
  width: 36px;
  height: 42px;
  border-radius: 46% 46% 45% 45%;
  border-bottom-color: transparent;
}

.learner::after {
  top: 58px;
  left: 28px;
  width: 66px;
  height: 44px;
  border-radius: 36px 36px 8px 8px;
  border-bottom-color: transparent;
}

.learner span::before {
  top: 29px;
  left: 55px;
  width: 6px;
  height: 6px;
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.learner span::after {
  left: 34px;
  bottom: 4px;
  width: 54px;
  height: 20px;
  border-radius: 3px;
}

.laptop {
  top: 56px;
  right: 180px;
}

.laptop span::after {
  width: 68px;
  height: 32px;
  left: 22px;
  bottom: 2px;
  transform: skewX(8deg);
}

.reader {
  top: 176px;
  left: 232px;
}

.reader span::after {
  background: rgba(124, 203, 138, 0.22);
}

.writer {
  left: 82px;
  bottom: 28px;
}

.joy {
  left: 320px;
  bottom: 16px;
}

.joy::after {
  border-left-color: transparent;
  border-right-color: transparent;
}

.note {
  right: 42px;
  bottom: 34px;
}

.doodle {
  position: absolute;
  color: #7b6559;
}

.cloud {
  top: 50px;
  left: 70px;
  width: 45px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50px;
  border-bottom-color: transparent;
}

.plane {
  top: 70px;
  right: 42px;
  width: 42px;
  height: 34px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: skew(-22deg) rotate(-16deg);
}

.plant {
  right: 162px;
  bottom: 72px;
  width: 36px;
  height: 44px;
  border-bottom: 2px solid currentColor;
}

.plant::before,
.plant::after {
  position: absolute;
  bottom: 18px;
  width: 20px;
  height: 12px;
  content: "";
  border: 2px solid currentColor;
  border-radius: 50% 0 50% 0;
}

.plant::before {
  left: -3px;
  transform: rotate(24deg);
}

.plant::after {
  right: -3px;
  transform: rotate(-72deg);
}

.feature-strip,
.panel,
.journey-card {
  border: 1px solid rgba(234, 223, 208, 0.72);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: 18px;
  overflow: hidden;
}

.feature-card {
  min-height: 210px;
  padding: 24px 26px 20px;
  text-align: center;
}

.feature-card + .feature-card {
  border-left: 1px solid var(--line);
}

.feature-icon,
.step-icon {
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 50%;
}

.feature-icon {
  width: 78px;
  height: 78px;
}

.feature-icon svg,
.step-icon svg {
  width: 45px;
}

.warm { color: #f7af22; background: #fff0c6; }
.cool { color: #4f9ce8; background: #ddebff; }
.green { color: #45a95d; background: #def2d9; }
.purple { color: #8c6fff; background: #eadfff; }
.rose { color: #de526c; background: #ffdbe6; }

.feature-card h2 {
  margin: 18px 0 10px;
  font-size: 18px;
}

.feature-card p {
  min-height: 44px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.accent {
  display: block;
  width: 42px;
  height: 4px;
  margin: 16px auto 0;
  border-radius: 999px;
}

.warm-line { background: var(--yellow); }
.cool-line { background: var(--blue); }
.green-line { background: var(--green); }
.purple-line { background: var(--purple); }
.rose-line { background: var(--pink); }

.cycle-section {
  padding: 42px 0 30px;
}

.cycle-section > h2 {
  margin: 0 0 26px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
}

.cycle-wrap {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 36px;
  align-items: center;
}

.cycle-steps {
  display: grid;
  grid-template-columns: repeat(9, auto);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cycle-steps article {
  width: 100px;
  text-align: center;
}

.cycle-steps > span {
  color: #8d7466;
}

.step-icon {
  width: 78px;
  height: 78px;
}

.cycle-steps h3 {
  margin: 13px 0 4px;
  font-size: 16px;
}

.cycle-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.journey-card {
  min-height: 210px;
  padding: 30px;
  border-radius: 18px;
}

.journey-card h3 {
  margin: 0 0 22px;
  font-size: 21px;
  line-height: 1.7;
}

.journey-card p {
  margin: 0 0 22px;
  color: var(--muted);
}

.primary-button.small {
  min-height: 42px;
  padding: 0 22px;
  font-size: 13px;
}

.content-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 20px;
  padding: 0 0 32px;
}

.panel {
  padding: 26px 32px;
  border-radius: 18px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.panel-title h2 {
  margin: 0;
  font-size: 20px;
}

.panel-title a {
  color: #7e6b62;
  font-size: 13px;
}

.topics article,
.topic-link-card,
.latest article,
.latest-article {
  display: grid;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
}

.topics article,
.topic-link-card {
  grid-template-columns: 64px 1fr;
  border: 1px solid #f1e5d4;
  border-radius: 14px;
  padding: 13px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.topics article + article,
.topic-link-card + .topic-link-card,
.latest article + article,
.latest-article + .latest-article {
  margin-top: 10px;
}

.topic-link-card:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(4px);
}

.mini-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 14px;
}

.mini-icon svg {
  width: 31px;
}

.mini-icon.blue { background: #ddebff; color: #4f9ce8; }
.mini-icon.green { background: #def2d9; color: #45a95d; }
.mini-icon.purple { background: #eadfff; color: #8c6fff; }
.mini-icon.peach { background: #ffe8d3; color: #ff8b3d; }

.topics h3,
.latest h3 {
  margin: 0 0 7px;
  font-size: 15px;
}

.topics p,
.latest p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.latest article,
.latest-article {
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid #ede1d4;
}

.latest article:last-child,
.latest-article:last-child {
  border-bottom: 0;
}

.latest-article {
  color: inherit;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.latest-article:hover {
  opacity: 0.86;
  transform: translateX(4px);
}

.thumb {
  height: 86px;
  border-radius: 9px;
  background-color: #fff0dc;
  background-image:
    radial-gradient(circle at 30% 35%, rgba(255, 142, 179, 0.28) 0 11px, transparent 12px),
    radial-gradient(circle at 64% 48%, rgba(124, 203, 138, 0.24) 0 18px, transparent 19px),
    linear-gradient(135deg, rgba(255, 177, 102, 0.28), rgba(125, 183, 255, 0.15));
  border: 1px solid #f2e5d3;
}

.thumb.calendar {
  background-image:
    linear-gradient(#8d7466 0 0),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(141, 116, 102, 0.28) 22px 24px),
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(141, 116, 102, 0.24) 18px 20px),
    linear-gradient(135deg, #fff2dc, #e9f7e6);
  background-size: 68px 2px, 105px 58px, 105px 58px, auto;
  background-position: 28px 22px, center, center, center;
  background-repeat: no-repeat;
}

.thumb.tomato {
  background-image:
    radial-gradient(circle at 43% 47%, #ffb08a 0 27px, transparent 28px),
    radial-gradient(circle at 41% 26%, #6fb56e 0 8px, transparent 9px),
    linear-gradient(135deg, #fff1da, #fff);
}

.tag {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 2px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.blue-tag { color: #4380bd; background: #dcecff; }
.green-tag { color: #43985c; background: #def2d9; }
.purple-tag { color: #8065d9; background: #eadfff; }

.banner {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 118px;
  margin: 0 0 32px;
  padding: 22px 36px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 8% 30%, rgba(255, 142, 179, 0.32), transparent 24%),
    radial-gradient(circle at 82% 70%, rgba(125, 183, 255, 0.22), transparent 24%),
    linear-gradient(100deg, rgba(255, 210, 230, 0.72), rgba(244, 249, 255, 0.76) 55%, rgba(255, 241, 214, 0.82));
  overflow: hidden;
}

.banner-sketch {
  position: relative;
  height: 86px;
  color: #7b6559;
}

.banner-sketch::before {
  position: absolute;
  left: 40px;
  top: 8px;
  width: 50px;
  height: 58px;
  content: "";
  border: 2px solid currentColor;
  border-bottom-color: transparent;
  border-radius: 50% 50% 42% 42%;
}

.banner-sketch::after {
  position: absolute;
  left: 96px;
  top: 8px;
  width: 18px;
  height: 18px;
  content: "";
  border: 2px solid #f7af22;
  border-radius: 50%;
  box-shadow: 0 -14px 0 -7px #f7af22, 14px 0 0 -7px #f7af22;
}

.banner p {
  margin: 0;
  color: #6d5a52;
  font-size: 17px;
  line-height: 1.9;
}

.secondary-button.white {
  background: rgba(255, 255, 255, 0.72);
}

.site-footer {
  padding-top: 4px;
}

.footer-brand img {
  width: 92px;
}

.site-footer nav {
  gap: 28px;
  font-size: 12px;
}

.socials {
  display: flex;
  gap: 16px;
  color: #8a756b;
}

.socials a {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
}

.socials img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.about-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 46px;
  padding: 72px 0 44px;
}

.section-kicker {
  margin: 0 0 18px;
  color: #d98275;
  font-size: 15px;
}

.about-hero h1 {
  margin: 0 0 22px;
  color: #5d4b45;
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.25;
}

.about-hero p:not(.section-kicker) {
  margin: 0;
  color: #7b665e;
  font-size: 18px;
  line-height: 2;
}

.about-hero img {
  display: block;
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.founder-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 34px;
  margin: 16px 0 28px;
  padding: 34px;
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 247, 239, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.founder-photo {
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
}

.founder-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.founder-copy h2,
.brand-story h2 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.35;
}

.founder-copy p,
.story-text p {
  margin: 0 0 16px;
  color: #756158;
  font-size: 17px;
  line-height: 2;
}

.founder-copy p:last-child,
.story-text p:last-child {
  margin-bottom: 0;
}

.founder-question {
  padding: 18px 22px;
  border-left: 5px solid var(--green);
  border-radius: 12px;
  background: rgba(235, 244, 219, 0.62);
  color: #5d4b45 !important;
  font-size: 19px !important;
}

.brand-story {
  margin: 0 0 28px;
  padding: 38px;
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.story-text {
  max-width: 880px;
}

.about-section {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  padding: 20px 0 34px;
}

.about-block,
.about-values article,
.about-cta {
  border: 1px solid rgba(234, 223, 208, 0.72);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.about-block {
  padding: 34px;
  border-radius: 18px;
}

.about-block h2,
.about-cta h2 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: 26px;
  font-weight: 400;
}

.about-block p,
.about-values p,
.about-cta p {
  margin: 0;
  color: #806d64;
  line-height: 1.9;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-values article {
  min-height: 168px;
  padding: 28px;
  border-radius: 16px;
}

.value-dot {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 18px;
  border-radius: 50%;
}

.pink-dot { background: var(--pink); }
.green-dot { background: var(--green); }
.blue-dot { background: var(--blue); }
.purple-dot { background: var(--purple); }

.about-values h3 {
  margin: 0 0 10px;
  font-size: 21px;
  font-weight: 400;
}

.about-cta {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 8px 0 36px;
  padding: 42px 24px;
  border-radius: 20px;
  text-align: center;
}

.about-cta p {
  margin-bottom: 12px;
}

.blog-hero {
  padding: 68px 0 34px;
  text-align: center;
}

.blog-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
}

.blog-hero p:not(.section-kicker) {
  margin: 0 auto;
  max-width: 620px;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.blog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  padding: 14px 0 42px;
}

.blog-sidebar,
.blog-post {
  border: 1px solid rgba(234, 223, 208, 0.72);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.blog-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 24px;
  border-radius: 18px;
}

.blog-sidebar h2 {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 400;
}

.blog-sidebar a {
  display: block;
  padding: 12px 0;
  color: #74635b;
  border-top: 1px solid #eadfd0;
}

.blog-list {
  display: grid;
  gap: 20px;
}

.blog-post {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  scroll-margin-top: 30px;
  padding: 24px;
  border-radius: 20px;
  color: inherit;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.blog-post:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.blog-post-thumb {
  min-height: 210px;
  border-radius: 16px;
  border: 1px solid #f2e5d3;
  background-color: #fff0dc;
}

.blog-post-thumb.people {
  background-image:
    radial-gradient(circle at 30% 35%, rgba(255, 142, 179, 0.28) 0 18px, transparent 19px),
    radial-gradient(circle at 64% 48%, rgba(124, 203, 138, 0.24) 0 28px, transparent 29px),
    linear-gradient(135deg, rgba(255, 177, 102, 0.28), rgba(125, 183, 255, 0.15));
}

.blog-post-thumb.calendar {
  background-image:
    linear-gradient(#8d7466 0 0),
    repeating-linear-gradient(90deg, transparent 0 28px, rgba(141, 116, 102, 0.28) 28px 30px),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(141, 116, 102, 0.24) 24px 26px),
    linear-gradient(135deg, #fff2dc, #e9f7e6);
  background-size: 98px 2px, 150px 92px, 150px 92px, auto;
  background-position: 52px 48px, center, center, center;
  background-repeat: no-repeat;
}

.blog-post-thumb.tomato {
  background-image:
    radial-gradient(circle at 46% 48%, #ffb08a 0 44px, transparent 45px),
    radial-gradient(circle at 43% 25%, #6fb56e 0 12px, transparent 13px),
    linear-gradient(135deg, #fff1da, #fff);
}

.blog-post-content h2 {
  margin: 14px 0 10px;
  color: #5d4b45;
  font-size: 25px;
  font-weight: 400;
  line-height: 1.45;
}

.post-meta {
  margin: 0 0 16px;
  color: #9a867c;
  font-size: 13px;
}

.blog-post-content p:not(.post-meta) {
  margin: 0 0 18px;
  color: #78675f;
  line-height: 1.9;
}

.read-more {
  color: #a96d2a;
  font-weight: 600;
}

.explore-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 42px;
  padding: 64px 0 34px;
}

.explore-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 400;
  line-height: 1.25;
}

.explore-hero p:not(.section-kicker) {
  margin: 0;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.explore-hero img {
  display: block;
  width: 100%;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 22px 0 48px;
}

.topic-card {
  min-height: 310px;
  padding: 30px;
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.topic-card .mini-icon {
  margin-bottom: 22px;
}

.topic-card h2 {
  margin: 0 0 12px;
  color: #5d4b45;
  font-size: 25px;
  font-weight: 400;
}

.topic-card p {
  margin: 0 0 18px;
  color: #7b665e;
  line-height: 1.9;
}

.topic-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.topic-card li {
  padding: 7px 13px;
  color: #806d64;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid #eadfd0;
  font-size: 14px;
}

.explore-tool-card {
  position: relative;
  overflow: hidden;
}

.explore-tool-card::after {
  position: absolute;
  right: -34px;
  bottom: -34px;
  width: 120px;
  height: 120px;
  content: "";
  border: 2px dashed rgba(255, 177, 102, 0.44);
  border-radius: 50%;
}

.tool-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 20px;
  color: #9a6a31;
  border: 1px solid #f0c575;
  border-radius: 999px;
  background: rgba(255, 246, 223, 0.82);
  font-family: inherit;
  font-size: 14px;
  cursor: default;
}

a.tool-button {
  cursor: pointer;
}

.gacha-hero {
  padding: 64px 0 20px;
  text-align: center;
}

.gacha-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
}

.gacha-hero p:not(.section-kicker) {
  max-width: 720px;
  margin: 0 auto;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.gacha-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 34px;
  padding: 24px 0 42px;
}

.gacha-machine {
  display: grid;
  justify-items: center;
}

.gacha-dome {
  position: relative;
  width: min(320px, 86vw);
  height: 210px;
  overflow: hidden;
  border: 5px solid #6a5148;
  border-radius: 170px 170px 28px 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 18px 34px rgba(255, 255, 255, 0.56);
}

.gacha-ball {
  position: absolute;
  width: 72px;
  height: 72px;
  border: 4px solid #6a5148;
  border-radius: 50%;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.12);
}

.gacha-ball.pink { left: 42px; bottom: 22px; background: #ff8eb3; }
.gacha-ball.blue { right: 54px; bottom: 34px; background: #7db7ff; }
.gacha-ball.green { left: 118px; top: 52px; background: #7ccb8a; }
.gacha-ball.yellow { right: 96px; top: 92px; background: #ffd166; }

.gacha-body {
  display: grid;
  gap: 20px;
  width: min(300px, 82vw);
  justify-items: center;
  padding: 28px;
  border: 5px solid #6a5148;
  border-top: 0;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, #ffb166, #ff8eb3);
}

.gacha-window {
  display: grid;
  width: 116px;
  height: 72px;
  place-items: center;
  color: #5d4b45;
  border: 4px solid #6a5148;
  border-radius: 16px;
  background: #fffaf0;
  font-size: 28px;
  font-weight: 700;
}

.gacha-knob {
  width: 76px;
  height: 76px;
  border: 5px solid #6a5148;
  border-radius: 50%;
  background: #fff1d6;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.12);
}

.gacha-tray {
  width: min(240px, 74vw);
  padding: 12px;
  color: #fffaf0;
  border: 5px solid #6a5148;
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: #6a5148;
  text-align: center;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.gacha-panel,
.gacha-result {
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.gacha-panel h2,
.gacha-result h2 {
  margin: 0 0 14px;
  color: #5d4b45;
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 400;
}

.gacha-panel p:not(.section-kicker),
.gacha-result p:not(.section-kicker) {
  margin: 0 0 22px;
  color: #78675f;
  font-size: 17px;
  line-height: 1.9;
}

.gacha-result {
  margin: 0 0 54px;
}

.gacha-result[hidden] {
  display: none;
}

.topic-resource-list {
  display: grid;
  gap: 12px;
}

.resource-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  color: #6f5b53;
  border: 1px solid #eadfd0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.resource-link-card:hover {
  border-color: #f0c575;
  background: #fff6df;
}

.note-lab-hero {
  max-width: 760px;
  padding: 64px 0 26px;
}

.note-lab-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
}

.note-lab-hero p:not(.section-kicker) {
  margin: 0;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.note-lab-game {
  margin-bottom: 54px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(234, 223, 208, 0.78);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.note-lab-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 14px;
  max-width: 520px;
  margin: 0 auto 22px;
}

.note-lab-status div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #eadfd0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.note-lab-status span {
  color: #92786d;
  font-size: 13px;
}

.note-lab-status strong {
  color: #5d4b45;
  font-size: 26px;
}

.note-lab-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.note-stack,
.note-categories {
  padding: 22px;
  border: 1px solid #eadfd0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.note-stack h2 {
  margin: 0 0 8px;
  color: #5d4b45;
  font-size: 26px;
  font-weight: 400;
}

.note-stack p {
  margin: 0 0 16px;
  color: #78675f;
}

.note-card-list,
.note-categories {
  display: grid;
  gap: 12px;
}

.lab-note-card,
.note-category {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #eadfd0;
  border-radius: 14px;
  background: #fffaf0;
  color: #6f5b53;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.lab-note-card {
  box-shadow: 0 8px 18px rgba(124, 93, 59, 0.08);
}

.lab-note-card.selected {
  border-color: #f0c575;
  background: #fff1d6;
  transform: translateY(-1px);
}

.note-category {
  display: grid;
  gap: 5px;
  background: rgba(255, 255, 255, 0.72);
}

.note-category:hover {
  border-color: #b39dff;
  background: #f4f0ff;
}

.note-category span {
  color: #5d4b45;
  font-size: 18px;
  font-weight: 700;
}

.note-category small {
  color: #8e7d73;
  font-size: 13px;
}

.note-lab-feedback {
  min-height: 30px;
  margin: 20px 0 0;
  color: #78675f;
  text-align: center;
}

.note-lab-feedback.correct {
  color: #36844a;
}

.note-lab-feedback.wrong {
  color: #b8584f;
}

.note-lab-result {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid #eadfd0;
  border-radius: 18px;
  background: #fff6df;
  text-align: center;
}

.note-lab-result[hidden] {
  display: none;
}

.note-lab-result h2 {
  margin: 0;
  color: #5d4b45;
  font-size: 32px;
  font-weight: 400;
}

.note-lab-result p {
  max-width: 640px;
  margin: 0;
  color: #78675f;
  line-height: 1.85;
}

.time-rhythm-hero {
  max-width: 780px;
  padding: 64px 0 26px;
}

.time-rhythm-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
}

.time-rhythm-hero p:not(.section-kicker) {
  margin: 0;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.time-rhythm-game {
  margin-bottom: 54px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(234, 223, 208, 0.78);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.rhythm-status {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr));
  gap: 14px;
  margin: 0 auto 18px;
}

.rhythm-status div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #eadfd0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.rhythm-status span {
  color: #92786d;
  font-size: 13px;
}

.rhythm-status strong {
  color: #5d4b45;
  font-size: 25px;
}

.energy-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid #eadfd0;
  border-radius: 18px;
  background: rgba(235, 244, 219, 0.42);
}

.energy-picker p {
  margin: 0;
  color: #6f5b53;
  font-size: 16px;
}

.energy-picker div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.energy-option {
  min-height: 42px;
  padding: 10px 15px;
  border: 1px solid #d8cab8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #6f5b53;
  font-family: inherit;
  font-size: 14px;
}

.energy-option.active,
.energy-option:hover {
  border-color: #9dbd83;
  background: #ebf4db;
  color: #4f6f3c;
}

.rhythm-board {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px;
}

.rhythm-task-panel,
.rhythm-slots {
  padding: 22px;
  border: 1px solid #eadfd0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.rhythm-task-panel h2 {
  margin: 0 0 8px;
  color: #5d4b45;
  font-size: 26px;
  font-weight: 400;
}

.rhythm-task-panel p {
  margin: 0 0 16px;
  color: #78675f;
}

.rhythm-task-list,
.rhythm-slots {
  display: grid;
  gap: 12px;
}

.rhythm-task,
.rhythm-slot {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #eadfd0;
  border-radius: 14px;
  background: #fffaf0;
  color: #6f5b53;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
}

.rhythm-task {
  box-shadow: 0 8px 18px rgba(124, 93, 59, 0.08);
}

.rhythm-task.selected {
  border-color: #9dbd83;
  background: #eef7df;
  transform: translateY(-1px);
}

.rhythm-slot {
  display: grid;
  gap: 5px;
  background: rgba(255, 255, 255, 0.74);
}

.rhythm-slot:hover {
  border-color: #9dbd83;
  background: #f2f8e9;
}

.rhythm-slot span {
  color: #5d4b45;
  font-size: 19px;
  font-weight: 700;
}

.rhythm-slot small {
  color: #8e7d73;
  font-size: 13px;
}

.rhythm-slot ul {
  display: grid;
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.rhythm-slot li {
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff6df;
  color: #6f5b53;
  font-size: 13px;
}

.rhythm-feedback {
  min-height: 30px;
  margin: 20px 0 0;
  color: #78675f;
  text-align: center;
}

.rhythm-feedback.good {
  color: #36844a;
}

.rhythm-feedback.soft {
  color: #b0783a;
}

.rhythm-result {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid #eadfd0;
  border-radius: 18px;
  background: #fff6df;
  text-align: center;
}

.rhythm-result[hidden] {
  display: none;
}

.rhythm-result h2 {
  margin: 0;
  color: #5d4b45;
  font-size: 32px;
  font-weight: 400;
}

.rhythm-result p {
  max-width: 680px;
  margin: 0;
  color: #78675f;
  line-height: 1.85;
}

.rhythm-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.career-hero {
  max-width: 800px;
  padding: 64px 0 26px;
}

.career-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
}

.career-hero p:not(.section-kicker) {
  margin: 0;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.career-game {
  margin-bottom: 54px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(234, 223, 208, 0.78);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.career-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
  gap: 14px;
  max-width: 520px;
  margin: 0 auto 22px;
}

.career-status div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #eadfd0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  text-align: center;
}

.career-status span {
  color: #92786d;
  font-size: 13px;
}

.career-status strong {
  color: #5d4b45;
  font-size: 26px;
}

.career-stage {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
  margin-bottom: 18px;
}

.career-question,
.career-options,
.career-trail,
.career-result {
  padding: 22px;
  border: 1px solid #eadfd0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.career-question h2,
.career-trail h2,
.career-result h2 {
  margin: 0 0 12px;
  color: #5d4b45;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
}

.career-question p:not(.section-kicker),
.career-trail p,
.career-result > p:not(.section-kicker) {
  margin: 0;
  color: #78675f;
  line-height: 1.85;
}

.career-options {
  display: grid;
  gap: 12px;
}

.career-option {
  width: 100%;
  min-height: 72px;
  padding: 16px 18px;
  border: 1px solid #eadfd0;
  border-radius: 14px;
  background: #fffaf0;
  color: #6f5b53;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  box-shadow: 0 8px 18px rgba(124, 93, 59, 0.08);
}

.career-option:hover {
  border-color: #f0b58f;
  background: #fff0e4;
  transform: translateY(-1px);
}

.career-trail {
  margin-bottom: 22px;
  background: rgba(255, 247, 239, 0.72);
}

.career-trail div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.career-trail span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff1d6;
  color: #6f5b53;
  font-size: 13px;
}

.career-result {
  display: grid;
  gap: 16px;
  background: #fff6df;
}

.career-result[hidden],
.career-stage[hidden] {
  display: none;
}

.career-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.career-result-card {
  padding: 20px;
  border: 1px solid #eadfd0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.career-result-card h3 {
  margin: 0 0 10px;
  color: #5d4b45;
  font-size: 24px;
  font-weight: 400;
}

.career-result-card p {
  margin: 0 0 10px;
  color: #78675f;
  line-height: 1.75;
}

.career-result-card p:last-child {
  margin-bottom: 0;
}

.career-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.focus-hero {
  max-width: 780px;
  padding: 64px 0 26px;
}

.focus-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
}

.focus-hero p:not(.section-kicker) {
  margin: 0;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.focus-game-shell {
  margin-bottom: 54px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(234, 223, 208, 0.78);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.focus-topbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.focus-topbar div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #eadfd0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.focus-topbar span {
  color: #92786d;
  font-size: 13px;
}

.focus-topbar strong {
  color: #5d4b45;
  font-size: 28px;
}

.focus-start,
.focus-result {
  display: grid;
  min-height: 360px;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
}

.focus-start h2,
.focus-result h2 {
  margin: 0;
  color: #5d4b45;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 400;
}

.focus-start p,
.focus-result p {
  max-width: 620px;
  margin: 0;
  color: #78675f;
  font-size: 18px;
  line-height: 1.9;
}

.focus-play[hidden],
.focus-start[hidden],
.focus-result[hidden] {
  display: none;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(48px, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
}

.focus-cell {
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  color: #5d4b45;
  border: 2px solid #eadfd0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  font-family: inherit;
  font-size: clamp(22px, 5vw, 34px);
  font-weight: 700;
  transition: transform 0.12s ease, background 0.12s ease, border-color 0.12s ease;
}

.focus-cell:hover {
  transform: translateY(-1px);
  border-color: #b39dff;
}

.focus-cell.correct {
  color: #2f7a43;
  border-color: #7ccb8a;
  background: #e9f7e6;
}

.focus-cell.wrong {
  color: #a84740;
  border-color: #ffb8ad;
  background: #fff0ec;
}

.focus-cell:disabled {
  opacity: 0.78;
}

.focus-feedback {
  min-height: 28px;
  margin: 18px 0 0;
  color: #78675f;
  text-align: center;
}

.quiz-hero {
  max-width: 760px;
  padding: 68px 0 28px;
}

.quiz-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
  line-height: 1.2;
}

.quiz-hero p:not(.section-kicker) {
  margin: 0;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.quiz-panel,
.quiz-result {
  max-width: 840px;
  margin: 16px auto 54px;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.quiz-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  color: #92786d;
  font-size: 14px;
  font-weight: 600;
}

.quiz-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #f3e8d8;
}

.quiz-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ffb166, #7ccf92);
  transition: width 0.24s ease;
}

.quiz-question-card h2 {
  margin: 0 0 24px;
  color: #5d4b45;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 400;
  line-height: 1.4;
}

.quiz-options {
  display: grid;
  gap: 12px;
}

.quiz-option {
  width: 100%;
  padding: 18px 20px;
  color: #6f5b53;
  border: 1px solid #eadfd0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.68);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.quiz-option:hover,
.quiz-option[aria-pressed="true"] {
  border-color: #f0c575;
  background: #fff6df;
  transform: translateY(-1px);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
}

.quiz-nav-button:disabled {
  opacity: 0.44;
  cursor: not-allowed;
}

.quiz-result[hidden] {
  display: none;
}

.quiz-result h2 {
  margin: 0 0 14px;
  color: #5d4b45;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 400;
  line-height: 1.25;
}

.quiz-result > p:not(.section-kicker) {
  margin: 0 0 24px;
  color: #78675f;
  font-size: 18px;
  line-height: 1.9;
}

.result-recommendation {
  margin: 24px 0;
  padding: 24px;
  border: 1px solid #eadfd0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
}

.result-recommendation span {
  display: block;
  margin-bottom: 8px;
  color: #a96d2a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.result-recommendation h3 {
  margin: 0 0 10px;
  color: #5d4b45;
  font-size: 28px;
  font-weight: 400;
}

.result-recommendation p {
  margin: 0 0 18px;
  color: #78675f;
  line-height: 1.8;
}

.quiz-restart {
  margin-top: 4px;
}

.game-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 46px;
  padding: 64px 0 36px;
}

.game-hero-copy h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
  line-height: 1.2;
}

.game-hero-copy p:not(.section-kicker) {
  margin: 0;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.game-console {
  position: relative;
  padding: 28px;
  border: 4px solid #6a5148;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 177, 102, 0.85), rgba(125, 183, 255, 0.72)),
    #ffdca8;
  box-shadow: 0 22px 0 #6a5148, 0 28px 50px rgba(91, 64, 46, 0.2);
}

.console-screen {
  min-height: 230px;
  padding: 24px;
  border: 4px solid #6a5148;
  border-radius: 16px;
  color: #f9ffe8;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0.08) 50%),
    linear-gradient(135deg, #354b45, #17251f);
  background-size: 100% 8px, auto;
}

.pixel-label {
  display: inline-block;
  margin-bottom: 22px;
  color: #ffe58a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.pixel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pixel-grid span {
  display: grid;
  min-height: 74px;
  place-items: center;
  border: 2px solid rgba(249, 255, 232, 0.48);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 18px;
}

.console-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 8px 0;
}

.d-pad {
  position: relative;
  width: 72px;
  height: 72px;
}

.d-pad::before,
.d-pad::after {
  position: absolute;
  content: "";
  border-radius: 8px;
  background: #6a5148;
}

.d-pad::before {
  top: 24px;
  left: 0;
  width: 72px;
  height: 24px;
}

.d-pad::after {
  top: 0;
  left: 24px;
  width: 24px;
  height: 72px;
}

.control-dot {
  display: inline-block;
  width: 42px;
  height: 42px;
  border: 4px solid #6a5148;
  border-radius: 50%;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.12);
}

.control-dot.pink-dot {
  margin-left: auto;
  background: #ff8eb3;
}

.control-dot.green-dot {
  background: #7ccb8a;
}

.game-category {
  padding: 26px 0;
}

.game-category-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.game-category-heading h2 {
  margin: 0;
  color: #5d4b45;
  font-size: clamp(30px, 4.8vw, 46px);
  font-weight: 400;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.game-card {
  position: relative;
  min-height: 280px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(234, 223, 208, 0.8);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(255, 246, 223, 0.78)),
    var(--card);
  box-shadow: var(--shadow);
}

.game-card::after {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  content: "";
  border: 2px solid rgba(125, 183, 255, 0.42);
  border-radius: 20px;
  transform: rotate(12deg);
}

.game-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #6f5b53;
  font-size: 13px;
  font-weight: 700;
}

.game-badge.ready {
  background: #ddebff;
}

.game-badge.playable {
  color: #366f42;
  background: #def2d9;
}

.game-badge.idea {
  background: #ffe8d3;
}

.game-card h3 {
  margin: 18px 0 10px;
  color: #5d4b45;
  font-size: 26px;
  font-weight: 400;
}

.game-card p {
  margin: 0 0 18px;
  color: #78675f;
  line-height: 1.85;
}

.game-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.game-card li {
  padding: 7px 12px;
  color: #806d64;
  border: 1px solid #eadfd0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.multiplication-hero {
  padding: 62px 0 26px;
  text-align: center;
}

.multiplication-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
}

.multiplication-hero p:not(.section-kicker) {
  max-width: 680px;
  margin: 0 auto;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.math-game-shell {
  max-width: 880px;
  margin: 0 auto 54px;
  padding: 24px;
  border: 4px solid #6a5148;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 177, 102, 0.86), rgba(125, 183, 255, 0.72)),
    #ffdca8;
  box-shadow: 0 20px 0 #6a5148, 0 28px 50px rgba(91, 64, 46, 0.2);
}

.math-game-topbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
  margin-bottom: 18px;
  margin-left: auto;
  margin-right: auto;
}

.math-game-topbar div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 3px solid #6a5148;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.68);
  text-align: center;
}

.math-game-topbar span {
  color: #806d64;
  font-size: 13px;
}

.math-game-topbar strong {
  color: #5d4b45;
  font-size: 30px;
  font-weight: 700;
}

.math-game-screen {
  min-height: 500px;
  padding: clamp(20px, 4vw, 34px);
  border: 4px solid #6a5148;
  border-radius: 20px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 50%, rgba(0, 0, 0, 0.06) 50%),
    linear-gradient(135deg, #fffaf0, #e9f7e6);
  background-size: 100% 10px, auto;
}

.game-state-panel {
  display: grid;
  min-height: 420px;
  place-items: center;
  align-content: center;
  gap: 18px;
  text-align: center;
}

.game-state-panel h2 {
  margin: 0;
  color: #5d4b45;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
}

.game-state-panel p {
  max-width: 560px;
  margin: 0;
  color: #78675f;
  font-size: 18px;
  line-height: 1.9;
}

.game-mode-picker {
  display: inline-flex;
  gap: 10px;
  padding: 8px;
  border: 2px solid #eadfd0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.game-mode-picker label {
  cursor: pointer;
}

.game-mode-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.game-mode-picker span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 18px;
  color: #6f5b53;
  border-radius: 999px;
}

.game-mode-picker input:checked + span {
  color: #4f3f39;
  background: #fff1d6;
  box-shadow: 0 6px 14px rgba(124, 93, 59, 0.12);
  font-weight: 700;
}

.game-play-area {
  display: grid;
  min-height: 430px;
  align-content: center;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}

.game-play-area[hidden],
.game-state-panel[hidden] {
  display: none;
}

.equation-display {
  display: flex;
  min-height: 122px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #3f3431;
  border: 3px solid #6a5148;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  font-size: clamp(42px, 9vw, 82px);
  line-height: 1;
  text-align: center;
}

.equation-blank {
  display: inline-flex;
  min-height: 1.08em;
  align-items: center;
  gap: 0.08em;
  margin: 0 0.08em;
}

.equation-slot {
  display: inline-grid;
  width: 1.02em;
  min-height: 1.08em;
  place-items: center;
  color: #a96d2a;
  border: 3px dashed #f0c575;
  border-radius: 14px;
  background: #fff6df;
  line-height: 1;
}

.number-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: 340px;
  justify-content: center;
  justify-self: center;
}

.operation-number-grid {
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  max-width: 340px;
}

.operation-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(90px, 1fr));
  gap: 14px;
  max-width: 560px;
  justify-self: center;
  width: 100%;
}

.number-card-grid[hidden],
.operation-card-grid[hidden] {
  display: none;
}

.number-card {
  display: grid;
  aspect-ratio: 1 / 1;
  min-height: 76px;
  place-items: center;
  color: #5d4b45;
  border: 3px solid #6a5148;
  border-radius: 16px;
  background: #fff6df;
  box-shadow: 0 6px 0 #6a5148;
  font-family: inherit;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.number-card-zero {
  grid-column: 2;
}

.number-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #6a5148;
}

.number-card:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #6a5148;
}

.operation-card {
  min-height: 96px;
  color: #4f3f39;
  background: #e9f7e6;
  font-size: 42px;
}

.operation-slot {
  color: #366f42;
  border-color: #7ccb8a;
  background: #e9f7e6;
}

.math-game-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.result-action-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.game-feedback {
  min-height: 58px;
  margin: 0;
  color: #78675f;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.game-feedback.correct {
  color: #36844a;
}

.game-feedback.wrong {
  color: #b8584f;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.62);
}

.modal-overlay[hidden] {
  display: none;
}

.coming-soon-modal {
  position: relative;
  display: grid;
  width: min(440px, 100%);
  min-height: 190px;
  place-items: center;
  padding: 42px 32px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
  text-align: center;
}

.coming-soon-modal h2 {
  margin: 0;
  color: #5d4b45;
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 400;
}

.resource-hero {
  padding: 68px 0 28px;
  text-align: center;
}

.resource-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 70px);
  font-weight: 400;
}

.resource-hero p:not(.section-kicker) {
  max-width: 660px;
  margin: 0 auto;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.resource-search {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  margin: 12px 0 24px;
  padding: 18px;
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.resource-search input {
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  color: #5d4b45;
  border: 1px solid #eadfd0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 15px;
}

.resource-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.resource-filters button {
  min-height: 40px;
  padding: 0 16px;
  color: #806d64;
  border: 1px solid #eadfd0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  cursor: pointer;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 0 46px;
}

.resource-card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.resource-type {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 5px 13px;
  color: #9a6a31;
  border-radius: 999px;
  background: rgba(255, 241, 214, 0.82);
  font-size: 13px;
}

.resource-card h2 {
  margin: 0 0 12px;
  color: #5d4b45;
  font-size: 23px;
  font-weight: 400;
}

.resource-card p {
  margin: 0 0 22px;
  color: #7b665e;
  line-height: 1.9;
}

.asset-section {
  padding: 20px 0 52px;
}

.asset-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.asset-age-filter {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.asset-age-filter p {
  margin: 0;
  color: #5d4b45;
  font-size: 18px;
}

.asset-filter-buttons {
  display: grid;
  gap: 10px;
}

.asset-filter-button {
  width: 100%;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #d8cab8;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: #6f5b53;
  font-family: inherit;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
}

.asset-filter-button.active,
.asset-filter-button:hover {
  border-color: #f0c575;
  background: #fff1d6;
  color: #775932;
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(330px, 1fr));
  gap: 18px;
}

.asset-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.asset-card[hidden] {
  display: none;
}

.asset-preview-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.asset-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 10px;
  border: 1px solid #eadfd0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.asset-preview-button:hover img {
  border-color: #f0c575;
  box-shadow: 0 12px 24px rgba(124, 93, 59, 0.12);
}

.asset-card h3 {
  margin: 0 0 10px;
  color: #5d4b45;
  font-size: 24px;
  font-weight: 400;
}

.asset-card p {
  margin: 0 0 16px;
  color: #7b665e;
  line-height: 1.8;
}

.asset-age-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 10px;
}

.asset-age-tags span,
.asset-subject-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
}

.asset-age-tags span {
  border: 1px solid #eadfd0;
  background: rgba(255, 255, 255, 0.86);
  color: #806d64;
}

.asset-subject-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 16px;
}

.asset-subject-tags span {
  border: 1px solid #d8cab8;
  background: #fffaf0;
  color: #6f5b53;
}

.asset-subject-tags .subject-chinese {
  border-color: #f0b0a8;
  background: #fff0ee;
  color: #a6463e;
}

.asset-subject-tags .subject-english {
  border-color: #c9b9f0;
  background: #f4f0ff;
  color: #7056b5;
}

.asset-subject-tags .subject-math {
  border-color: #a9c9f0;
  background: #edf6ff;
  color: #356fa8;
}

.asset-subject-tags .subject-science {
  border-color: #b9d8c0;
  background: #edf7e8;
  color: #4f6f3c;
}

.asset-subject-tags .subject-social {
  border-color: #f0c08a;
  background: #fff3e2;
  color: #a76425;
}

.asset-subject-tags .subject-life {
  border-color: #efc4cf;
  background: #fff0f5;
  color: #a64a68;
}

.asset-download-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.asset-download-list a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  color: #806d64;
  border: 1px solid #eadfd0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.asset-empty {
  margin: 24px 0 0;
  padding: 24px;
  border: 1px dashed #d8cab8;
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.72);
  color: #7b665e;
  text-align: center;
  line-height: 1.8;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding: 14px 0 54px;
}

.platform-card {
  min-height: 270px;
  padding: 28px;
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.platform-card h2 {
  margin: 0 0 12px;
  color: #5d4b45;
  font-size: 26px;
  font-weight: 400;
}

.platform-card p {
  margin: 0 0 22px;
  color: #7b665e;
  line-height: 1.9;
}

.image-preview-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 32px;
  background: rgba(0, 0, 0, 0.78);
  cursor: zoom-out;
}

.image-preview-overlay[hidden] {
  display: none;
}

.image-preview-frame {
  display: grid;
  gap: 14px;
  max-width: min(92vw, 980px);
  max-height: 92vh;
  margin: 0;
  color: #fffaf0;
  text-align: center;
}

.image-preview-frame img {
  display: block;
  max-width: 100%;
  max-height: calc(92vh - 48px);
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

.image-preview-frame figcaption {
  font-size: 16px;
}

body.preview-open {
  overflow: hidden;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  padding: 62px 0 46px;
}

.article-main,
.article-sidebar {
  border: 1px solid rgba(234, 223, 208, 0.72);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.article-main {
  padding: 30px;
  border-radius: 22px;
}

.article-cover {
  min-height: 360px;
  margin-bottom: 30px;
  border: 1px solid #f2e5d3;
  border-radius: 18px;
  background-color: #fff0dc;
}

.article-cover.people {
  background-image:
    radial-gradient(circle at 30% 35%, rgba(255, 142, 179, 0.28) 0 28px, transparent 29px),
    radial-gradient(circle at 64% 48%, rgba(124, 203, 138, 0.24) 0 45px, transparent 46px),
    linear-gradient(135deg, rgba(255, 177, 102, 0.28), rgba(125, 183, 255, 0.15));
}

.article-cover.calendar {
  background-image:
    linear-gradient(#8d7466 0 0),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(141, 116, 102, 0.28) 42px 44px),
    repeating-linear-gradient(0deg, transparent 0 34px, rgba(141, 116, 102, 0.24) 34px 36px),
    linear-gradient(135deg, #fff2dc, #e9f7e6);
  background-size: 140px 2px, 230px 146px, 230px 146px, auto;
  background-position: 90px 80px, center, center, center;
  background-repeat: no-repeat;
}

.article-cover.tomato {
  background-image:
    radial-gradient(circle at 48% 48%, #ffb08a 0 74px, transparent 75px),
    radial-gradient(circle at 45% 25%, #6fb56e 0 20px, transparent 21px),
    linear-gradient(135deg, #fff1da, #fff);
}

.article-main h1 {
  margin: 0 0 22px;
  color: #5d4b45;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 400;
  line-height: 1.35;
}

.article-body {
  color: #6f5e58;
  font-size: 18px;
  line-height: 2;
}

.article-body p {
  margin: 0 0 22px;
}

.article-sidebar {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 28px;
  border-radius: 18px;
}

.article-sidebar h2 {
  margin: 0 0 22px;
  color: #5d4b45;
  font-size: 22px;
  font-weight: 400;
}

.article-sidebar dl,
.article-sidebar dd {
  margin: 0;
}

.article-sidebar dl {
  display: grid;
  gap: 18px;
  margin-bottom: 26px;
}

.article-sidebar dt {
  margin-bottom: 6px;
  color: #a18a7f;
  font-size: 13px;
}

.article-sidebar dd {
  color: #5f504a;
  line-height: 1.7;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tags span {
  padding: 5px 11px;
  color: #806d64;
  border: 1px solid #eadfd0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.admin-hero {
  padding: 68px 0 28px;
  text-align: center;
}

.admin-hero h1 {
  margin: 0 0 18px;
  color: #5d4b45;
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 400;
}

.admin-hero p:not(.section-kicker) {
  max-width: 680px;
  margin: 0 auto;
  color: #7b665e;
  font-size: 18px;
  line-height: 1.9;
}

.admin-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  padding: 14px 0 48px;
}

.admin-list,
.admin-form {
  border: 1px solid rgba(234, 223, 208, 0.72);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.admin-list {
  align-self: start;
  padding: 24px;
}

.admin-list h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 400;
}

.admin-list [data-admin-list] {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-list [data-admin-list] button {
  padding: 12px;
  color: #6f5e58;
  border: 1px solid #eadfd0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: #6f5e58;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 13px 15px;
  color: #5d4b45;
  border: 1px solid #eadfd0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 15px;
}

.admin-form textarea {
  resize: vertical;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-note {
  margin: 0;
  color: #9a867c;
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 22px;
    overflow-x: auto;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-art {
    min-height: 430px;
  }

  .feature-strip,
  .content-grid,
  .cycle-wrap {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    overflow: visible;
  }

  .feature-card + .feature-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .cycle-steps {
    grid-template-columns: repeat(5, 1fr);
  }

  .cycle-steps > span {
    display: none;
  }

  .asset-grid {
    grid-template-columns: 1fr;
  }

  .banner {
    grid-template-columns: 110px 1fr;
  }

  .banner .secondary-button {
    grid-column: 2;
    width: max-content;
  }

  .about-hero,
  .founder-section,
  .about-section,
  .explore-hero,
  .gacha-layout,
  .note-lab-board,
  .rhythm-board,
  .career-stage,
  .career-result-grid,
  .game-hero,
  .resource-search,
  .article-layout,
  .admin-layout,
  .blog-layout,
  .blog-post {
    grid-template-columns: 1fr;
  }

  .blog-sidebar,
  .article-sidebar {
    position: static;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .asset-layout {
    grid-template-columns: 1fr;
  }

  .asset-age-filter {
    position: static;
  }

  .asset-grid {
    grid-template-columns: 1fr;
  }

  .platform-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 16px;
  }

  .site-header {
    gap: 14px;
    padding: 10px 0 4px;
  }

  .brand {
    min-width: 92px;
  }

  .brand img {
    width: 94px;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 8px;
    padding: 8px 2px 4px;
    scrollbar-width: none;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    border-color: color-mix(in srgb, var(--nav-accent) 38%, #eadfd0);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.9), var(--nav-soft));
    font-size: 13px;
  }

  .main-nav a.active {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.96), color-mix(in srgb, var(--nav-accent) 22%, #ffffff));
  }

  .main-nav a.active::after,
  .main-nav a:hover::after {
    display: none;
  }

  .login-button {
    min-height: 36px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    gap: 18px;
    padding: 28px 0 20px;
  }

  .hero-logo img {
    width: min(330px, 96%);
  }

  .hero-copy p {
    margin: 10px auto 24px;
    font-size: 18px;
    line-height: 1.8;
  }

  .hero-copy p::after {
    left: 50%;
    bottom: -8px;
    width: 92px;
    transform: translateX(-50%);
  }

  .hero-actions {
    gap: 12px;
  }

  .primary-button,
  .secondary-button {
    min-height: 42px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero-art,
  .hero-map {
    min-height: auto;
    transform: none;
    margin-bottom: 0;
  }

  .hero-map img {
    width: 100%;
    border-radius: 16px;
  }

  .feature-strip {
    gap: 12px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .feature-card {
    min-height: auto;
    padding: 20px 18px;
    border: 1px solid rgba(234, 223, 208, 0.72);
    border-radius: 16px;
    background: var(--card);
    box-shadow: var(--shadow);
  }

  .feature-card + .feature-card {
    border-left: 1px solid rgba(234, 223, 208, 0.72);
    border-top: 1px solid rgba(234, 223, 208, 0.72);
  }

  .feature-icon,
  .step-icon {
    width: 64px;
    height: 64px;
  }

  .feature-icon svg,
  .step-icon svg {
    width: 36px;
  }

  .cycle-section {
    padding: 30px 0 24px;
  }

  .cycle-section > h2,
  .panel-title h2 {
    font-size: 19px;
  }

  .cycle-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 10px;
  }

  .cycle-steps article {
    width: auto;
  }

  .journey-card,
  .panel,
  .about-block,
  .about-values article,
  .topic-card,
  .resource-card,
  .blog-post,
  .article-main,
  .article-sidebar,
  .admin-list,
  .admin-form,
  .post-composer {
    border-radius: 16px;
  }

  .latest article,
  .latest-article {
    grid-template-columns: 1fr;
  }

  .thumb {
    height: 120px;
  }

  .panel {
    padding: 22px;
  }

  .content-grid {
    gap: 14px;
    padding-bottom: 22px;
  }

  .topics article,
  .topic-link-card {
    grid-template-columns: 54px 1fr;
    padding: 12px;
  }

  .mini-icon {
    width: 48px;
    height: 48px;
  }

  .mini-icon svg {
    width: 28px;
  }

  .banner {
    grid-template-columns: 1fr;
    padding: 24px;
    text-align: center;
  }

  .banner-sketch {
    display: none;
  }

  .banner .secondary-button {
    grid-column: auto;
    justify-self: center;
  }

  .site-footer,
  .site-footer nav {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer {
    gap: 18px;
    padding: 18px 0 6px;
  }

  .site-footer nav {
    gap: 10px;
  }

  .socials {
    gap: 18px;
  }

  .about-hero,
  .explore-hero,
  .game-hero {
    gap: 22px;
    padding: 42px 0 28px;
    text-align: center;
  }

  .founder-section {
    gap: 22px;
    padding: 28px 20px 32px;
    text-align: left;
  }

  .founder-copy {
    padding: 0 4px;
  }

  .about-hero h1,
  .explore-hero h1,
  .game-hero-copy h1,
  .blog-hero h1,
  .resource-hero h1,
  .article-main h1,
  .admin-hero h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .blog-hero,
  .gacha-hero,
  .resource-hero,
  .admin-hero {
    padding: 42px 0 24px;
  }

  .about-hero p:not(.section-kicker),
  .explore-hero p:not(.section-kicker),
  .game-hero-copy p:not(.section-kicker),
  .gacha-hero p:not(.section-kicker),
  .blog-hero p:not(.section-kicker),
  .resource-hero p:not(.section-kicker),
  .admin-hero p:not(.section-kicker) {
    font-size: 16px;
    line-height: 1.85;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .topic-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 32px;
  }

  .gacha-layout {
    gap: 18px;
    padding-bottom: 28px;
  }

  .gacha-panel,
  .gacha-result,
  .note-lab-game,
  .time-rhythm-game,
  .career-game,
  .focus-game-shell {
    border-radius: 16px;
  }

  .note-lab-hero,
  .time-rhythm-hero,
  .career-hero,
  .focus-hero {
    padding: 42px 0 24px;
  }

  .note-lab-hero h1,
  .time-rhythm-hero h1,
  .career-hero h1,
  .focus-hero h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .note-lab-hero p:not(.section-kicker),
  .time-rhythm-hero p:not(.section-kicker),
  .career-hero p:not(.section-kicker),
  .focus-hero p:not(.section-kicker) {
    font-size: 16px;
    line-height: 1.85;
  }

  .note-lab-status,
  .rhythm-status,
  .career-status {
    grid-template-columns: 1fr;
  }

  .energy-picker {
    align-items: stretch;
    flex-direction: column;
  }

  .energy-picker div {
    justify-content: flex-start;
  }

  .focus-topbar {
    grid-template-columns: repeat(2, 1fr);
  }

  .focus-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
  }

  .game-console {
    order: 2;
    padding: 18px;
    border-radius: 22px;
    box-shadow: 0 14px 0 #6a5148, 0 20px 36px rgba(91, 64, 46, 0.18);
  }

  .console-screen {
    min-height: 180px;
    padding: 18px;
  }

  .pixel-grid {
    grid-template-columns: 1fr;
  }

  .pixel-grid span {
    min-height: 48px;
  }

  .game-category {
    padding: 18px 0;
  }

  .game-category-heading {
    display: block;
  }

  .game-card {
    min-height: auto;
    padding: 22px;
  }

  .multiplication-hero {
    padding: 42px 0 24px;
  }

  .multiplication-hero h1 {
    font-size: clamp(32px, 10vw, 42px);
  }

  .multiplication-hero p:not(.section-kicker) {
    font-size: 16px;
    line-height: 1.85;
  }

  .math-game-shell {
    padding: 14px;
    border-radius: 22px;
    box-shadow: 0 12px 0 #6a5148, 0 18px 34px rgba(91, 64, 46, 0.16);
  }

  .math-game-topbar {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .math-game-topbar div {
    padding: 10px 8px;
  }

  .math-game-topbar strong {
    font-size: 24px;
  }

  .math-game-screen {
    min-height: 430px;
    padding: 16px;
  }

  .game-state-panel {
    min-height: 360px;
  }

  .equation-display {
    min-height: 96px;
    padding: 12px;
  }

  .number-card-grid {
    grid-template-columns: repeat(3, minmax(60px, 1fr));
    max-width: 270px;
  }

  .operation-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .number-card {
    min-height: 60px;
    font-size: 24px;
  }

  .operation-card {
    min-height: 72px;
    font-size: 34px;
  }

  .math-game-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .platform-grid {
    gap: 14px;
    padding-bottom: 34px;
  }

  .platform-card {
    min-height: auto;
    padding: 22px;
  }

  .resource-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .asset-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .asset-card img {
    max-height: 220px;
  }

  .resource-search {
    padding: 16px;
  }

  .resource-filters {
    gap: 8px;
  }

  .resource-filters button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .blog-layout,
  .article-layout,
  .admin-layout {
    gap: 16px;
    padding-bottom: 32px;
  }

  .blog-sidebar {
    padding: 18px;
  }

  .blog-sidebar h2 {
    margin-bottom: 10px;
  }

  .blog-sidebar div {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .blog-sidebar div::-webkit-scrollbar {
    display: none;
  }

  .blog-sidebar a {
    flex: 0 0 auto;
    padding: 8px 12px;
    border: 1px solid #eadfd0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    font-size: 13px;
  }

  .blog-post {
    gap: 16px;
    padding: 18px;
  }

  .blog-post-thumb {
    min-height: 150px;
  }

  .blog-post-content h2 {
    font-size: 21px;
  }

  .article-cover {
    min-height: 190px;
    margin-bottom: 22px;
  }

  .article-main,
  .article-sidebar {
    padding: 20px;
  }

  .article-body {
    font-size: 16px;
    line-height: 1.9;
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    display: grid;
  }

  .post-composer {
    padding: 20px;
  }

  .coming-soon-modal {
    min-height: 160px;
    border-radius: 18px;
  }
}

body,
body * {
  cursor: url("../images/mouse_cursor.png") 4 4, auto !important;
}

a,
button,
input,
select,
textarea,
[role="button"] {
  cursor: url("../images/mouse_cursor.png") 4 4, pointer !important;
}

html:active,
body:active,
body:active *,
a:active,
button:active,
input:active,
select:active,
textarea:active,
[role="button"]:active {
  cursor: url("../images/mouse_touch_cursor.png") 4 4, pointer !important;
}
