﻿:root {
  color-scheme: light;
  --ink: #1f2933;
  --muted: #617080;
  --line: #dce5ea;
  --paper: #f8faf7;
  --panel: #ffffff;
  --green: #1b9a72;
  --green-deep: #0f6f53;
  --coral: #e85d4f;
  --gold: #f1ad3d;
  --blue: #2c6ed5;
  --shadow: 0 18px 48px rgba(31, 45, 61, 0.13);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  overflow-anchor: none;
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

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

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 0 3vw;
  background: rgba(248, 250, 247, 0.93);
  border-bottom: 1px solid rgba(220, 229, 234, 0.86);
  backdrop-filter: blur(14px);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 70px;
  padding: 0 3vw;
  background: rgba(248, 250, 247, 0.93);
  border-bottom: 1px solid rgba(220, 229, 234, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-mark,
.shop-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.brand-mark {
  display: block;
  object-fit: cover;
  background: transparent;
  flex: 0 0 auto;
}

.shop-icon {
  color: #fff;
  background: var(--green);
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav a:hover,
.text-link:hover {
  color: var(--green-deep);
}

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  display: grid;
  justify-items: center;
  align-items: center;
  padding: 72px 3vw 104px;
  overflow: hidden;
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(248, 250, 247, 0.96) 0%, rgba(248, 250, 247, 0.9) 55%, rgba(248, 250, 247, 0.42) 100%),
    linear-gradient(180deg, rgba(248, 250, 247, 0) 82%, var(--paper) 100%);
}

.hero-content {
  width: min(1540px, 92vw);
  text-align: center;
}

.eyebrow,
.tag {
  margin: 0 0 10px;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1120px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.mobile-title {
  display: none;
}

.mobile-home-brand {
  display: none;
}

h2 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  letter-spacing: 0;
}

.hero-copy,
.section-heading p,
.check-card p,
.product-card p,
.pack-card p,
.shop-item p,
.timeline p,
.footer p,
.small-note {
  color: var(--muted);
}

.hero-copy {
  max-width: none;
  font-size: clamp(15px, 1.18vw, 19px);
  line-height: 1.8;
  margin-right: auto;
  margin-left: auto;
}

.hero-copy span {
  display: block;
  white-space: nowrap;
}

.hero-copy .mobile-copy {
  display: none;
}

.keep-together {
  font-weight: inherit;
  white-space: nowrap;
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.hero-actions {
  margin: 30px 0;
}

.hero-jump-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(560px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.hero-jump-link {
  min-height: 48px;
  padding: 0 14px;
  text-align: center;
  line-height: 1.25;
}

.primary-button,
.secondary-button,
.ghost-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-button {
  color: #fff;
  background: var(--green);
  box-shadow: 0 10px 22px rgba(27, 154, 114, 0.24);
}

.secondary-button {
  color: var(--green-deep);
  background: #e8f6f0;
}

.ghost-button {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.hero-stat-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  min-width: min(420px, 100%);
  min-height: 58px;
  padding: 8px 32px;
  overflow: hidden;
  border: 1px solid rgba(214, 123, 95, 0.38);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(224, 142, 116, 0.86), rgba(199, 112, 91, 0.88)),
    #d28773;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.2),
    inset 0 -8px 16px rgba(143, 63, 48, 0.12),
    0 12px 26px rgba(198, 116, 92, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fortune-button-text {
  font-size: 20px;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-stat-button:hover {
  transform: translateY(-1px);
  border-color: rgba(214, 123, 95, 0.56);
  box-shadow:
    inset 0 2px 8px rgba(255, 255, 255, 0.24),
    inset 0 -8px 16px rgba(143, 63, 48, 0.12),
    0 16px 30px rgba(198, 116, 92, 0.34);
}

.hero-stats strong {
  color: var(--coral);
  font-size: 20px;
}

.section {
  width: min(1480px, 96vw);
  margin: 0 auto;
  padding: 86px 0 0;
}

.anchor-alias {
  display: block;
  height: 0;
  overflow: hidden;
  scroll-margin-top: 92px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading.compact {
  margin-bottom: 0;
}

.product-board,
.profit-grid,
.collection-grid,
.freebie-grid,
.resource-grid,
.model-grid,
.check-grid,
.pack-grid,
.shop-grid,
.timeline {
  display: grid;
  gap: 16px;
}

.product-board {
  grid-template-columns: repeat(4, 1fr);
}

.profit-grid {
  grid-template-columns: repeat(3, 1fr);
}

.freebie-grid {
  grid-template-columns: repeat(3, 1fr);
}

.resource-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.resource-entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.resource-entry-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 146px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(31, 45, 61, 0.08);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.resource-entry-card:hover,
.resource-entry-card.is-active {
  border-color: rgba(27, 154, 114, 0.24);
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.1), rgba(241, 173, 61, 0.16)),
    #fff;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.resource-entry-copy {
  display: grid;
  gap: 8px;
}

.resource-entry-copy .number {
  color: var(--coral);
  font-size: 1rem;
  line-height: 1;
}

.resource-entry-copy .tag {
  color: var(--green-dark);
  font-weight: 900;
}

.resource-entry-copy strong {
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.15;
}

.resource-detail-grid {
  grid-template-columns: minmax(0, 1fr);
}

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

.freebie-band {
  padding-top: 34px;
}

.shop-market {
  width: min(1500px, 98vw);
}

.shop-market .section-heading {
  max-width: 820px;
}

.market-shell {
  margin-bottom: 18px;
  border: 1px solid rgba(232, 93, 79, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.06);
  overflow: hidden;
}

.market-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(232, 93, 79, 0.12);
  background: linear-gradient(90deg, #fff, #fff7f5);
  color: #9aa8b4;
  font-weight: 800;
}

.market-search-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #f3f5f7;
  color: var(--coral);
  font-size: 14px;
}

.market-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.market-search input::placeholder {
  color: #9aa8b4;
}

.market-search button {
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.market-tabs {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  padding: 14px 18px 0;
  border-bottom: 1px solid rgba(220, 229, 234, 0.72);
  white-space: nowrap;
}

.market-tabs a {
  position: relative;
  padding-bottom: 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.market-tabs a.active {
  color: var(--coral);
}

.market-tabs a.active::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--coral);
}

.market-category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  padding: 18px;
}

.market-category {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 90px;
  padding: 10px 6px;
  border-radius: 8px;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}

.market-category:hover {
  background: #fff7f5;
}

.market-category span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(135deg, #fff2ed, #eafff6);
  color: var(--coral);
  box-shadow: 0 12px 28px rgba(232, 93, 79, 0.14);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.market-category:hover span {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(232, 93, 79, 0.2);
}

.category-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  background: currentColor;
  -webkit-mask: var(--category-icon) center / contain no-repeat;
  mask: var(--category-icon) center / contain no-repeat;
}

.category-icon-bed {
  --category-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2011V6a2%202%200%200%201%202-2h12a2%202%200%200%201%202%202v5%27/%3E%3Cpath%20d%3D%27M3%2019v-5a3%203%200%200%201%203-3h12a3%203%200%200%201%203%203v5%27/%3E%3Cpath%20d%3D%27M3%2016h18M7%2011V8h5v3%27/%3E%3C/g%3E%3C/svg%3E");
}

.category-icon-dryer {
  --category-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%2010a5%205%200%200%201%205-5h6l5%203v4l-5%203H9a5%205%200%200%201-5-5Z%27/%3E%3Cpath%20d%3D%27M10%2015l3%206h4l-2-6M20%2010h2M2%208v4%27/%3E%3C/g%3E%3C/svg%3E");
}

.category-icon-umbrella {
  --category-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M3%2012a9%209%200%200%201%2018%200Z%27/%3E%3Cpath%20d%3D%27M12%2012v7a2%202%200%200%200%204%200M12%203v2M7%2012c1-3%203-5%205-5s4%202%205%205%27/%3E%3C/g%3E%3C/svg%3E");
}

.category-icon-wash {
  --category-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%202S6%208.4%206%2013a6%206%200%200%200%2012%200c0-4.6-6-11-6-11Z%27/%3E%3Cpath%20d%3D%27M9%2014c1.2%201.3%204.8%201.3%206%200M8%204h8%27/%3E%3C/g%3E%3C/svg%3E");
}

.category-icon-storage {
  --category-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M4%207h16v13H4zM2%204h20v3H2z%27/%3E%3Cpath%20d%3D%27M9%2011h6M8%207V4m8%203V4%27/%3E%3C/g%3E%3C/svg%3E");
}

.category-icon-lamp {
  --category-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M9%202h6l2%207H7zM12%209v8M8%2021h8M6%2017h12%27/%3E%3Cpath%20d%3D%27M4%209h16%27/%3E%3C/g%3E%3C/svg%3E");
}

.category-icon-training {
  --category-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M12%202l8%204v5c0%205-3.4%209-8%2011-4.6-2-8-6-8-11V6z%27/%3E%3Cpath%20d%3D%27M9%2012l2%202%204-5M8%2018h8%27/%3E%3C/g%3E%3C/svg%3E");
}

.category-icon-freebies {
  --category-icon: url("data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%2024%2024%27%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%3E%3Cg%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M6%203h9l3%203v15H6z%27/%3E%3Cpath%20d%3D%27M14%203v4h4M9%2011h6M9%2015h6M9%2019h3%27/%3E%3C/g%3E%3C/svg%3E");
}

.market-category strong {
  font-size: 14px;
}

.market-rank {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 8px solid #f5f7f8;
  border-bottom: 8px solid #f5f7f8;
}

.market-rank a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  color: var(--ink);
  text-decoration: none;
}

.market-rank a + a {
  border-left: 1px solid rgba(220, 229, 234, 0.86);
}

.market-rank strong {
  font-size: 16px;
}

.market-rank span {
  color: var(--muted);
  font-weight: 700;
}

.market-feed {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  background: #fff;
}

.market-product {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.market-product img,
.market-product-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--line);
}

.market-product-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff7df, #ecfff6);
  color: var(--green-deep);
  font-weight: 1000;
}

.market-product strong {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.market-product p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.market-product span {
  color: var(--coral);
  font-size: 17px;
  font-weight: 1000;
}

.collection-grid {
  grid-template-columns: repeat(6, 1fr);
  align-items: stretch;
}

.collection-grid > .collection-card {
  grid-column: span 2;
}

.collection-carousel-controls {
  display: none;
}

.major-info {
  padding-top: 70px;
}

.major-info .profit-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.major-entry-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.major-detail-grid {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 16px;
}

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

.major-preview-image {
  width: min(420px, 100%);
  max-height: 560px;
  object-fit: contain;
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.major-info .secondary-button {
  width: fit-content;
  margin-top: auto;
}

.model-grid {
  grid-template-columns: repeat(4, 1fr);
}

.check-grid {
  grid-template-columns: repeat(4, 1fr);
}

.pack-grid {
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  align-items: stretch;
}

.shop-grid {
  grid-template-columns: repeat(4, 1fr);
}

.timeline {
  grid-template-columns: repeat(3, 1fr);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 1.05fr);
  gap: 28px;
  align-items: start;
}

.product-card,
.profit-card,
.freebie-card,
.resource-card,
.collection-card,
.rule-panel,
.link-table,
.model-card,
.check-card,
.pack-card,
.lead-form,
.shop-item,
.timeline article,
.modal-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(31, 45, 61, 0.08);
}

.product-card,
.profit-card,
.freebie-card,
.resource-card,
.collection-card,
.rule-panel,
.model-card,
.check-card,
.pack-card,
.lead-form,
.shop-item {
  padding: 24px;
}

.profit-card {
  min-height: 220px;
}

.profit-card p {
  color: var(--muted);
}

.freebie-card {
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.08), rgba(241, 173, 61, 0.12)),
    #fff;
}

.freebie-card p {
  color: var(--muted);
}

.freebie-card .secondary-button {
  width: fit-content;
  margin-top: 22px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 520px;
}

.resource-card-title {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.resource-card-title .number {
  display: inline-block;
  margin-bottom: 8px;
}

.resource-card-title .tag {
  margin-bottom: 8px;
}

.resource-card-title h3 {
  margin: 0;
}

.resource-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(27, 154, 114, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(229, 248, 241, 0.94), rgba(255, 247, 229, 0.88)),
    #fff;
  box-shadow: 0 12px 26px rgba(27, 154, 114, 0.1);
  font-size: 24px;
  line-height: 1;
}

.resource-card.featured {
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.1), rgba(241, 173, 61, 0.16)),
    #fff;
  box-shadow: var(--shadow);
}

.resource-block {
  width: 100%;
  text-align: left;
  padding: 14px;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.resource-preview-trigger {
  cursor: pointer;
  font: inherit;
}

.resource-preview-trigger:hover {
  border-color: rgba(27, 154, 114, 0.46);
  box-shadow: 0 10px 26px rgba(27, 154, 114, 0.12);
  transform: translateY(-1px);
}

.resource-block strong {
  display: block;
  margin-bottom: 6px;
}

.resource-block p {
  margin-bottom: 0;
  color: var(--muted);
}

.resource-inline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(27, 154, 114, 0.16);
}

.resource-link-row {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 10px 12px;
  align-items: start;
  margin-top: 14px;
}

.resource-chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  min-width: 144px;
  padding: 8px 14px;
  border: 1px solid rgba(27, 154, 114, 0.28);
  border-radius: 8px;
  background: rgba(229, 248, 241, 0.92);
  color: var(--green-dark);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.resource-chip-link:hover {
  border-color: rgba(27, 154, 114, 0.58);
  box-shadow: 0 8px 18px rgba(27, 154, 114, 0.12);
  transform: translateY(-1px);
}

.resource-code {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px dashed rgba(232, 93, 79, 0.38);
  border-radius: 8px;
  background: #fff7f5;
  color: var(--coral);
  font-weight: 900;
}

.resource-card .secondary-button {
  width: fit-content;
  margin-top: auto;
}

.official-link-grid {
  display: grid;
  gap: 10px;
}

.official-link-grid a {
  display: block;
  padding: 12px;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 8px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.74);
  font-weight: 900;
}

.official-link-grid a:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.certificate-calendar {
  margin-top: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(220, 229, 234, 0.9);
}

.certificate-calendar h4 {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1rem;
}

.certificate-calendar p {
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.certificate-calendar .secondary-button {
  width: fit-content;
}

.collection-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 300px;
  position: relative;
  background: #fff;
}

.collection-card.hot {
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.1), rgba(241, 173, 61, 0.18)),
    #fff;
  box-shadow: var(--shadow);
}

.collection-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(220, 229, 234, 0.62);
}

.embedded-category {
  margin-top: 28px;
}

.embedded-category .collection-head {
  padding-bottom: 10px;
}

.embedded-category .collection-head h3 {
  font-size: 19px;
}

.collection-head h3 {
  margin-bottom: 0;
  font-size: 21px;
}

.item-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
}

.collection-preview-feed {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.collection-preview-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  border: 1px solid rgba(220, 229, 234, 0.92);
  border-radius: 8px;
  background: #fff;
  text-align: left;
  box-shadow: 0 8px 18px rgba(31, 45, 61, 0.06);
  cursor: pointer;
}

.collection-preview-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
  background: #f7faf8;
}

.collection-preview-card strong {
  display: -webkit-box;
  min-height: 34px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.28;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.collection-preview-card span {
  color: var(--coral);
  font-size: 12px;
  font-weight: 1000;
  line-height: 1.2;
}

.collection-keyword-strip {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(27, 154, 114, 0.22);
  border-radius: 8px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff, #fbfffd);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(31, 45, 61, 0.05);
}

.topic-chip:hover {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  transform: translateY(-1px);
}

.topic-chip.has-preview {
  border-color: rgba(27, 154, 114, 0.28);
  color: var(--ink);
  background: #fff;
}

.topic-chip::after {
  content: attr(data-badge);
  position: absolute;
  top: -10px;
  right: -7px;
  min-width: 32px;
  padding: 2px 6px;
  border-radius: 999px;
  color: #fff;
  background: #9aa8b4;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.topic-chip.is-stocked {
  border-color: rgba(232, 93, 79, 0.38);
  color: var(--green-deep);
  background: linear-gradient(180deg, #fff, #f6fffa);
  box-shadow: 0 8px 18px rgba(232, 93, 79, 0.1);
}

.topic-chip.is-stocked::after {
  background: var(--coral);
}

.topic-note {
  display: block;
  width: 100%;
  margin-top: 8px;
  color: var(--muted);
  white-space: pre-line;
}

.collection-card .secondary-button {
  width: fit-content;
  margin-top: auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  gap: 12px;
}

.product-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.product-card.hot {
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.12), rgba(241, 173, 61, 0.2)),
    #fff;
  box-shadow: var(--shadow);
}

.product-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.product-card .primary-button {
  width: 100%;
  margin-top: auto;
}

.product-card > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card .mini-list {
  display: none;
}

.campus-account-board {
  grid-template-columns: minmax(0, 1fr);
}

.campus-account-card,
.part-time-card {
  min-height: 220px;
  gap: 22px;
}

.campus-account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, auto);
  align-items: center;
  gap: 18px;
  max-width: none;
  min-height: 118px;
  padding: 26px 30px;
}

.campus-account-card > p,
.part-time-card > p {
  display: block;
  min-height: 0;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-height: 1.75;
}

@media (max-width: 520px) {
  h2,
  h3,
  .section-heading h2,
  .resource-entry-copy strong,
  .interaction-feature-text strong,
  .product-card h3,
  .collection-card h3,
  .freebie-card h3,
  .profit-card h3,
  .check-card h3,
  .pack-card h3,
  .shop-item h3,
  .timeline h3 {
    font-size: 16px !important;
    line-height: 1.28;
  }
}

.interaction-feature-text .subline {
  display: block;
}

.entertainment-band > .section-heading p,
.freebie-band > .section-heading p,
.major-info > .section-heading p {
  display: none;
}

.entertainment-band .resource-entry-grid,
.freebie-band .resource-entry-grid,
.major-info .resource-entry-grid {
  gap: 14px;
}

.entertainment-band .resource-entry-card,
.freebie-band .resource-entry-card,
.major-info .resource-entry-card {
  min-height: 118px;
  padding: 14px 16px;
}

.entertainment-band .resource-entry-card .resource-icon,
.freebie-band .resource-entry-card .resource-icon,
.major-info .resource-entry-card .resource-icon {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  font-size: 24px;
}

.entertainment-band .resource-entry-copy .number,
.freebie-band .resource-entry-copy .number,
.major-info .resource-entry-copy .number {
  font-size: 18px;
}

.entertainment-band .resource-entry-copy strong,
.freebie-band .resource-entry-copy strong,
.major-info .resource-entry-copy strong {
  font-size: 18px;
  line-height: 1.18;
}

@media (max-width: 520px) {
  .interaction-feature-text .subline {
    display: block;
  }

  .freebie-band > .section-heading,
  .major-info > .section-heading {
    margin-bottom: 12px;
  }

  .freebie-band .resource-entry-grid,
  .major-info .resource-entry-grid {
    gap: 10px;
  }

  .freebie-band .resource-entry-card,
  .major-info .resource-entry-card {
    min-width: 112px;
    min-height: 104px;
    padding: 10px 8px;
    border-radius: 20px;
  }

  .freebie-band .resource-entry-card .resource-icon,
  .major-info .resource-entry-card .resource-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    font-size: 19px;
  }

  .freebie-band .resource-entry-copy .number,
  .major-info .resource-entry-copy .number {
    font-size: 15px;
  }

  .freebie-band .resource-entry-copy strong,
  .major-info .resource-entry-copy strong {
    max-width: 6em;
    font-size: 13px;
    line-height: 1.18;
  }
}

@media (max-width: 520px) {
  body {
    color: #151d24;
    background:
      radial-gradient(circle at 18% 4%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 32%),
      radial-gradient(circle at 88% 16%, rgba(207, 225, 214, 0.5), rgba(207, 225, 214, 0) 34%),
      linear-gradient(180deg, #eef2f7 0%, #f7faf8 42%, #eef4f1 100%);
  }

  .topbar,
  .site-header {
    width: calc(100vw - 22px);
    min-height: 72px;
    margin: 10px auto 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 42px rgba(52, 67, 84, 0.1);
    backdrop-filter: blur(18px);
  }

  .brand {
    gap: 12px;
    font-size: 17px;
    letter-spacing: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(27, 154, 114, 0.2);
  }

  .nav {
    gap: 18px;
    padding: 2px 2px 3px;
    color: #566373;
    font-size: 13px;
    font-weight: 700;
  }

  main {
    padding-bottom: 28px;
  }

  .hero {
    width: calc(100vw - 28px);
    min-height: 520px;
    margin: 18px auto 0;
    padding: 0;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.88);
    border-radius: 36px;
    background:
      radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 32%),
      radial-gradient(circle at 84% 18%, rgba(206, 226, 214, 0.7), rgba(206, 226, 214, 0) 34%),
      linear-gradient(180deg, #f8faf7 0%, #eef5f1 58%, #f7faf6 100%);
    box-shadow: 0 26px 70px rgba(52, 67, 84, 0.16);
  }

  .hero > img {
    object-position: center top;
    filter: saturate(1.04) contrast(1.02);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 22%, rgba(247, 250, 246, 0.18) 46%, rgba(247, 250, 246, 0.94) 72%, #f7faf6 100%);
  }

  .hero-content {
    align-self: end;
    width: calc(100% - 24px);
    margin: 0 0 12px;
    padding: 18px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 18px 48px rgba(52, 67, 84, 0.12);
    text-align: left;
    backdrop-filter: blur(18px);
  }

  h1 {
    max-width: none;
    margin-bottom: 8px;
    color: #111820;
    font-size: 24px;
    line-height: 1.16;
    font-weight: 950;
  }

  .hero-copy {
    margin-bottom: 0;
    color: #4d5864;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 10px;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    min-height: 44px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: none;
  }

  .primary-button {
    background: #4a8e4d;
    box-shadow: 0 14px 28px rgba(74, 142, 77, 0.2);
  }

  .hero-stat-button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #1f2a33;
    box-shadow: inset 0 0 0 1px rgba(74, 142, 77, 0.14);
  }

  .fortune-button-text {
    font-size: 14px;
  }

  .section,
  .shop-market,
  .footer {
    width: calc(100vw - 28px);
  }

  .section {
    padding-top: 34px;
  }

  .section-heading {
    max-width: none;
    margin-bottom: 18px;
  }

  .eyebrow,
  .tag {
    margin-bottom: 8px;
    color: #596879;
    font-size: 15px;
    font-weight: 900;
  }

  h2,
  h3,
  .section-heading h2,
  .resource-entry-copy strong,
  .interaction-feature-text strong,
  .product-card h3,
  .collection-card h3,
  .freebie-card h3,
  .profit-card h3,
  .check-card h3,
  .pack-card h3,
  .shop-item h3,
  .timeline h3 {
    color: #111820;
    font-size: 24px !important;
    line-height: 1.14;
    font-weight: 950;
    letter-spacing: 0;
  }

  .section-heading p {
    color: #657384;
    font-size: 15px;
    line-height: 1.75;
  }

  #campus-wall {
    padding-top: 28px;
  }

  .interaction-entry-grid {
    gap: 14px;
  }

  .interaction-entry-card {
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px rgba(52, 67, 84, 0.11);
    backdrop-filter: blur(16px);
  }

  .interaction-feature {
    gap: 14px;
  }

  .interaction-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(52, 67, 84, 0.14);
    font-size: 25px;
  }

  .interaction-feature-text strong {
    font-size: 20px !important;
  }

  .interaction-feature-text span {
    color: #667384;
    font-size: 14px;
  }

  .freebie-band {
    padding-top: 36px;
  }

  .resource-entry-grid {
    display: flex;
    gap: 12px;
    margin: 0 -2px 18px;
    padding: 2px 2px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .resource-entry-grid::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  .resource-entry-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(82, 111, 96, 0.12);
  }

  .resource-entry-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, #4a8e4d, #87b78f);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
  }

  .resource-entry-card {
    flex: 0 0 132px;
    min-height: 158px;
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 42px rgba(52, 67, 84, 0.1);
    scroll-snap-align: start;
  }

  .resource-entry-card.is-active,
  .resource-entry-card:hover {
    border-color: rgba(74, 142, 77, 0.18);
    background:
      linear-gradient(145deg, rgba(232, 245, 235, 0.95), rgba(255, 251, 242, 0.86)),
      rgba(255, 255, 255, 0.86);
    box-shadow: 0 20px 48px rgba(74, 142, 77, 0.13);
  }

  .resource-entry-card .resource-icon {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(74, 142, 77, 0.16);
    border-radius: 18px;
    background: rgba(246, 250, 245, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
    font-size: 25px;
  }

  .resource-entry-copy {
    gap: 7px;
  }

  .resource-entry-copy .number {
    color: #d96658;
    font-size: 20px;
    font-weight: 950;
  }

  .resource-entry-copy strong {
    max-width: 5.8em;
    font-size: 18px !important;
    line-height: 1.18;
  }

  .resource-detail-grid,
  .major-detail-grid,
  .freebie-grid,
  .profit-grid,
  .check-grid,
  .pack-grid,
  .timeline,
  .collection-grid,
  .product-board {
    gap: 14px;
  }

  .resource-panel,
  .resource-category-panel,
  .freebie-card,
  .profit-card,
  .check-card,
  .pack-card,
  .timeline article,
  .collection-card,
  .product-card,
  .market-category,
  .shop-item {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px rgba(52, 67, 84, 0.1);
  }

  .resource-panel,
  .resource-category-panel,
  .freebie-card,
  .profit-card,
  .check-card,
  .pack-card,
  .timeline article {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .resource-entry-grid {
    scrollbar-color: #4a8e4d rgba(82, 111, 96, 0.12);
    scrollbar-width: thin;
  }

  .resource-entry-grid::-webkit-scrollbar {
    display: block;
    height: 8px;
  }

  .resource-entry-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(82, 111, 96, 0.12);
  }

  .resource-entry-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, #4a8e4d, #87b78f);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
  }

  .major-detail-grid {
    display: none !important;
  }

  .hero > img {
    display: block;
    height: 58%;
    object-fit: cover;
    object-position: center 26%;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 18%, rgba(247, 250, 246, 0.08) 42%, rgba(247, 250, 246, 0.86) 62%, #f7faf6 100%);
  }

  .contact-card {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 12px;
    align-items: center;
    padding: 18px;
  }

  .contact-copy h2 {
    margin: 6px 0 8px;
    font-size: 20px !important;
    line-height: 1.2;
  }

  .contact-copy p:last-child {
    font-size: 13px;
    line-height: 1.55;
  }

  .contact-profile {
    padding: 8px;
    border-radius: 18px;
  }

  .contact-qr {
    max-width: 96px;
    border-radius: 14px;
  }
}

@media (max-width: 520px) {
  body {
    color: #151d24;
    background:
      radial-gradient(circle at 18% 4%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 32%),
      radial-gradient(circle at 88% 16%, rgba(207, 225, 214, 0.5), rgba(207, 225, 214, 0) 34%),
      linear-gradient(180deg, #eef2f7 0%, #f7faf8 42%, #eef4f1 100%);
  }

  .topbar,
  .site-header {
    width: calc(100vw - 22px);
    min-height: 72px;
    margin: 10px auto 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 42px rgba(52, 67, 84, 0.1);
    backdrop-filter: blur(18px);
  }

  .brand {
    gap: 12px;
    font-size: 17px;
    letter-spacing: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(27, 154, 114, 0.2);
  }

  .nav {
    gap: 18px;
    padding: 2px 2px 3px;
    color: #566373;
    font-size: 13px;
    font-weight: 700;
  }

  main {
    padding-bottom: 28px;
  }

  .hero {
    width: calc(100vw - 28px);
    min-height: 520px;
    margin: 18px auto 0;
    padding: 0;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.88);
    border-radius: 36px;
    background: #eef4ef;
    box-shadow: 0 26px 70px rgba(52, 67, 84, 0.16);
  }

  .hero > img {
    object-position: center top;
    filter: saturate(1.04) contrast(1.02);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 22%, rgba(247, 250, 246, 0.18) 46%, rgba(247, 250, 246, 0.94) 72%, #f7faf6 100%);
  }

  .hero-content {
    align-self: end;
    width: calc(100% - 24px);
    margin: 0 0 12px;
    padding: 18px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 18px 48px rgba(52, 67, 84, 0.12);
    text-align: left;
    backdrop-filter: blur(18px);
  }

  h1 {
    max-width: none;
    margin-bottom: 8px;
    color: #111820;
    font-size: 24px;
    line-height: 1.16;
    font-weight: 950;
  }

  .hero-copy {
    margin-bottom: 0;
    color: #4d5864;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 10px;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    min-height: 44px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: none;
  }

  .primary-button {
    background: #4a8e4d;
    box-shadow: 0 14px 28px rgba(74, 142, 77, 0.2);
  }

  .hero-stat-button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #1f2a33;
    box-shadow: inset 0 0 0 1px rgba(74, 142, 77, 0.14);
  }

  .fortune-button-text {
    font-size: 14px;
  }

  .section,
  .shop-market,
  .footer {
    width: calc(100vw - 28px);
  }

  .section {
    padding-top: 34px;
  }

  .section-heading {
    max-width: none;
    margin-bottom: 18px;
  }

  .eyebrow,
  .tag {
    margin-bottom: 8px;
    color: #596879;
    font-size: 15px;
    font-weight: 900;
  }

  h2,
  h3,
  .section-heading h2,
  .resource-entry-copy strong,
  .interaction-feature-text strong,
  .product-card h3,
  .collection-card h3,
  .freebie-card h3,
  .profit-card h3,
  .check-card h3,
  .pack-card h3,
  .shop-item h3,
  .timeline h3 {
    color: #111820;
    font-size: 24px !important;
    line-height: 1.14;
    font-weight: 950;
    letter-spacing: 0;
  }

  .section-heading p {
    color: #657384;
    font-size: 15px;
    line-height: 1.75;
  }

  #campus-wall {
    padding-top: 28px;
  }

  .interaction-entry-grid {
    gap: 14px;
  }

  .interaction-entry-card {
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px rgba(52, 67, 84, 0.11);
    backdrop-filter: blur(16px);
  }

  .interaction-feature {
    gap: 14px;
  }

  .interaction-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(52, 67, 84, 0.14);
    font-size: 25px;
  }

  .interaction-feature-text strong {
    font-size: 20px !important;
  }

  .interaction-feature-text span {
    color: #667384;
    font-size: 14px;
  }

  .freebie-band {
    padding-top: 36px;
  }

  .resource-entry-grid {
    display: flex;
    gap: 12px;
    margin: 0 -2px 18px;
    padding: 2px 2px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .resource-entry-grid::-webkit-scrollbar {
    display: none;
  }

  .resource-entry-card {
    flex: 0 0 132px;
    min-height: 158px;
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 42px rgba(52, 67, 84, 0.1);
    scroll-snap-align: start;
  }

  .resource-entry-card.is-active,
  .resource-entry-card:hover {
    border-color: rgba(74, 142, 77, 0.18);
    background:
      linear-gradient(145deg, rgba(232, 245, 235, 0.95), rgba(255, 251, 242, 0.86)),
      rgba(255, 255, 255, 0.86);
    box-shadow: 0 20px 48px rgba(74, 142, 77, 0.13);
  }

  .resource-entry-card .resource-icon {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(74, 142, 77, 0.16);
    border-radius: 18px;
    background: rgba(246, 250, 245, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
    font-size: 25px;
  }

  .resource-entry-copy {
    gap: 7px;
  }

  .resource-entry-copy .number {
    color: #d96658;
    font-size: 20px;
    font-weight: 950;
  }

  .resource-entry-copy strong {
    max-width: 5.8em;
    font-size: 18px !important;
    line-height: 1.18;
  }

  .resource-detail-grid,
  .major-detail-grid,
  .freebie-grid,
  .profit-grid,
  .check-grid,
  .pack-grid,
  .timeline,
  .collection-grid,
  .product-board {
    gap: 14px;
  }

  .resource-panel,
  .resource-category-panel,
  .freebie-card,
  .profit-card,
  .check-card,
  .pack-card,
  .timeline article,
  .collection-card,
  .product-card,
  .market-category,
  .shop-item {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px rgba(52, 67, 84, 0.1);
  }

  .resource-panel,
  .resource-category-panel,
  .freebie-card,
  .profit-card,
  .check-card,
  .pack-card,
  .timeline article {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  h2,
  h3,
  .section-heading h2,
  .resource-entry-copy strong,
  .interaction-feature-text strong,
  .product-card h3,
  .collection-card h3,
  .freebie-card h3,
  .profit-card h3,
  .check-card h3,
  .pack-card h3,
  .shop-item h3,
  .timeline h3 {
    font-size: 16px !important;
    line-height: 1.28;
  }
}

.campus-account-card .primary-button {
  width: 100%;
  min-width: 170px;
  margin-top: 0;
}

.part-time-card {
  border-left: 6px solid var(--green);
  color: inherit;
  text-decoration: none;
}

.part-time-card .tag {
  margin: 0;
  color: var(--red);
  font-weight: 900;
}

.deal-stack {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.deal-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.deal-item strong,
.deal-item span {
  display: block;
}

.deal-item span {
  display: none;
  color: var(--muted);
  font-size: 14px;
}

.deal-item .secondary-button {
  min-width: 84px;
}

.surprise-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1480px, 96vw);
  margin: -10px auto 64px;
  padding: 22px 26px;
  border: 1px solid rgba(27, 154, 114, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.12), rgba(241, 173, 61, 0.18)),
    #fff;
  box-shadow: 0 18px 45px rgba(27, 154, 114, 0.12);
}

.surprise-copy h2,
.surprise-copy p {
  margin: 0;
}

.surprise-copy .eyebrow {
  margin-bottom: 6px;
}

.surprise-copy h2 {
  font-size: 22px;
}

.surprise-copy p {
  color: var(--muted);
}

.surprise-button {
  position: relative;
  min-width: 210px;
  overflow: hidden;
  isolation: isolate;
  animation: surpriseBreath 2.4s ease-in-out infinite;
  background:
    linear-gradient(135deg, #1fb886, #15966f 55%, #f1ad3d);
  box-shadow:
    0 14px 30px rgba(27, 154, 114, 0.28),
    0 0 0 0 rgba(241, 173, 61, 0.34);
}

.surprise-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.36) 42%, transparent 72%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
}

.surprise-button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 18px 36px rgba(27, 154, 114, 0.34),
    0 0 26px rgba(241, 173, 61, 0.48);
  animation: surpriseBounce 0.58s ease, surpriseBreath 2.4s ease-in-out infinite;
}

.surprise-button:hover::before {
  transform: translateX(130%);
}

.surprise-button:focus-visible {
  outline: 4px solid rgba(241, 173, 61, 0.34);
  outline-offset: 3px;
}

.mini-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.mini-list li {
  margin-bottom: 8px;
}

.model-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 330px;
}

.model-card.hot {
  background:
    linear-gradient(135deg, rgba(232, 93, 79, 0.1), rgba(241, 173, 61, 0.18)),
    #fff;
  box-shadow: var(--shadow);
}

.model-card strong {
  display: block;
  margin-top: auto;
  color: var(--coral);
}

.number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--coral);
  font-weight: 900;
}

.revenue-band {
  position: relative;
}

.pack-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 310px;
}

.pack-card.featured {
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.12), rgba(241, 173, 61, 0.18)),
    #fff;
  box-shadow: var(--shadow);
}

.price {
  margin: 8px 0 12px;
  color: var(--coral);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  font-size: 20px;
}

.consult-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.consult-prices span {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--green-deep);
  background: #e8f6f0;
  font-weight: 900;
}

.profit-list {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.profit-list span {
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(31, 45, 61, 0.08);
  font-weight: 900;
}

.rule-panel {
  padding: 28px;
  box-shadow: var(--shadow);
}

.rule-panel h3:not(:first-child) {
  margin-top: 26px;
}

.link-table {
  overflow: hidden;
}

.link-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.4fr;
  gap: 16px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
}

.link-row:first-child {
  border-top: 0;
}

.link-row.head {
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.link-row span:last-child {
  color: var(--muted);
  word-break: break-all;
}

.link-row.head span:last-child {
  color: #fff;
}

.qa-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.qa-preview-shell {
  height: min(720px, 72vh);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.qa-preview-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.shop-item {
  min-height: 220px;
}

.shop-icon {
  margin-bottom: 16px;
  background: var(--coral);
}

.text-link {
  color: var(--blue);
  font-weight: 900;
}

.lead-form {
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 800;
}

input,
select,
textarea {
  min-height: 46px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(27, 154, 114, 0.16);
  border-color: var(--green);
}

textarea {
  min-height: 110px;
  resize: vertical;
  padding: 12px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.form-result {
  min-height: 24px;
  margin: 0;
  color: var(--green-deep);
  font-weight: 900;
}

.timeline article {
  min-height: 180px;
  padding: 22px;
  border-left: 5px solid var(--green);
}

.timeline span {
  color: var(--coral);
  font-weight: 900;
}

.partner-entry {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 24px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--green);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.partner-entry-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

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

.partner-form-wide,
.partner-form .form-result {
  grid-column: 1 / -1;
}

.partner-form .primary-button {
  justify-self: start;
}

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

.wall-auth-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(27, 154, 114, 0.18);
  border-radius: 8px;
  background: rgba(232, 247, 241, 0.72);
}

.wall-page-link {
  width: fit-content;
  min-width: 180px;
}

.wall-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

.interaction-entry-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 24px;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(31, 45, 61, 0.07);
}

.interaction-entry-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.interaction-entry-card h3,
.interaction-entry-card p {
  margin: 0;
}

.interaction-entry-card h3 {
  font-size: 22px;
  line-height: 1.2;
}

.interaction-entry-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.interaction-entry-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.interaction-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.interaction-feature-icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  box-shadow: 0 16px 30px rgba(31, 45, 61, 0.14);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.interaction-feature-icon::before {
  content: "";
  position: absolute;
  inset: 7px auto auto 8px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  filter: blur(0.5px);
}

.interaction-feature-icon-wall {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 26%),
    linear-gradient(135deg, #28c7a4 0%, #1a9a72 48%, #0d6f68 100%);
}

.interaction-feature-icon-forum {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 26%),
    linear-gradient(135deg, #8b7cff 0%, #2f9be8 46%, #16b58c 100%);
}

.interaction-feature-icon-test {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 26%),
    linear-gradient(135deg, #5b7cff 0%, #1b9a72 52%, #f1ad3d 100%);
}

.interaction-feature-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.interaction-feature-text strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.25;
}

.interaction-feature-text span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.wall-page {
  padding-top: 0;
}

.wall-page .section {
  padding-top: 8px;
}

body:has(.wall-page) .section {
  padding-top: 8px;
}

.approved-wall-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.approved-card {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(31, 45, 61, 0.1);
}

.approved-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.approved-card strong {
  color: var(--ink);
  font-size: 16px;
}

.approved-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--green-deep);
  background: #e8f6f0;
  font-size: 13px;
  font-weight: 900;
}

.approved-tag-confession {
  color: #25507a;
  background: #e8f1ff;
}

.approved-tag-blessing {
  color: #88521b;
  background: #fff1df;
}

.approved-card p {
  margin: 0;
  color: var(--muted);
}

.approved-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--muted);
  font-size: 13px;
}

.wall-auth-bar strong,
.wall-auth-bar span {
  display: block;
}

.wall-auth-bar strong {
  color: var(--green-deep);
}

.wall-auth-bar span {
  margin-top: 4px;
  color: var(--muted);
}

.wall-auth-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.wall-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.confession-panel {
  order: -1;
  grid-column: 1 / -1;
}

.wall-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.wall-head h3 {
  margin-bottom: 4px;
}

.wall-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.wall-form {
  display: grid;
  gap: 14px;
}

.treehole-shell {
  display: grid;
  gap: 18px;
}

.treehole-compose,
.treehole-board {
  display: grid;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.treehole-compose h2,
.treehole-board h2 {
  margin: 0;
}

.treehole-form {
  display: grid;
  gap: 14px;
}

.treehole-form textarea {
  min-height: 112px;
}

.treehole-form-actions,
.treehole-board-head,
.treehole-comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.treehole-form-actions span {
  color: var(--muted);
  font-size: 13px;
}

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

.treehole-post,
.treehole-comment,
.treehole-original {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 8px;
  background: #fff;
}

.treehole-post {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.treehole-post:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(31, 45, 61, 0.1);
}

.tone-0 {
  background: #fff8fb;
}

.tone-1 {
  background: #fbfced;
}

.tone-2 {
  background: #f2f4ff;
}

.tone-3 {
  background: #fff3f4;
}

.treehole-post-top {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.treehole-post-top strong {
  color: var(--ink);
  font-size: 16px;
}

.treehole-post-top span {
  color: #9aa6b2;
  font-size: 13px;
}

.treehole-post-author {
  margin-top: -6px;
  color: #15785f;
  font-size: 14px;
  font-weight: 900;
}

.forum-post-title {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.35;
}

.forum-topic-subtitle {
  margin: -4px 0 12px;
  color: var(--green-deep);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
}

.admin-page {
  max-width: 980px;
}

.admin-auth,
.admin-panel,
.admin-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 45, 61, 0.07);
}

.admin-auth {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin-bottom: 18px;
}

.admin-auth label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.admin-auth input {
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.admin-auth .small-note {
  grid-column: 1 / -1;
}

.admin-auth .small-note.is-error {
  color: var(--coral);
}

.admin-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-tabs button,
.danger-button {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.admin-tabs button.is-active {
  color: #fff;
  border-color: var(--green);
  background: var(--green);
}

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

.admin-card {
  box-shadow: none;
}

.admin-card-head,
.admin-comment {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-card-head span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.admin-card h3,
.admin-card p,
.admin-comment p {
  margin: 0;
}

.admin-comments {
  display: grid;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(220, 229, 234, 0.8);
}

.admin-comment {
  padding: 10px;
  border-radius: 8px;
  background: #f8faf7;
}

.danger-button {
  flex: 0 0 auto;
  color: var(--coral);
  border-color: rgba(232, 93, 79, 0.28);
  background: #fff7f5;
}

.forum-file-field {
  display: grid;
  gap: 8px;
}

.forum-file-field input[type="file"] {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.forum-file-field span {
  color: var(--muted);
  font-size: 13px;
}

.forum-image-preview,
.forum-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.forum-image-button {
  display: block;
  width: min(180px, 31%);
  aspect-ratio: 1 / 1;
  padding: 0;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
}

.forum-preview-item {
  position: relative;
  width: 92px;
  height: 92px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.forum-preview-item img,
.forum-images img,
.forum-image-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forum-preview-item span {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: #fff;
  background: rgba(31, 41, 51, 0.78);
  font-weight: 900;
}

.forum-image-modal[hidden] {
  display: none !important;
}

.forum-image-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(12, 18, 24, 0.82);
}

.forum-image-modal img {
  display: block;
  max-width: min(96vw, 980px);
  max-height: 86vh;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
  object-fit: contain;
}

.forum-image-modal-close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  z-index: 121;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #111820;
  background: #fff;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

body.has-image-modal {
  overflow: hidden;
}

.treehole-post p,
.treehole-comment p,
.treehole-original p {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
}

.treehole-post-actions {
  display: flex;
  gap: 20px;
}

.treehole-post-actions button {
  border: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.treehole-detail[hidden] {
  display: none;
}

.treehole-detail {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(31, 41, 51, 0.52);
}

.treehole-detail-panel {
  position: relative;
  display: grid;
  gap: 16px;
  width: min(720px, 100%);
  max-height: min(780px, 92vh);
  overflow: auto;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(31, 41, 51, 0.28);
}

.treehole-comments,
.treehole-comment-list {
  display: grid;
  gap: 10px;
}

.treehole-comment-form {
  display: grid;
  grid-template-columns: minmax(90px, 0.4fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  position: sticky;
  bottom: -24px;
  padding-top: 12px;
  background: #fff;
}

.treehole-empty {
  margin: 0;
  color: var(--muted);
}

.confession-embed {
  display: grid;
  gap: 12px;
}

.confession-embed iframe {
  width: 100%;
  min-height: 1280px;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 8px;
  background: #fff;
}

.confession-embed .secondary-button {
  justify-self: start;
}

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

.wall-item {
  padding: 14px;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 8px;
  background: #f8faf7;
}

.wall-item strong {
  color: var(--green-deep);
}

.wall-item time {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.wall-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

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

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(31, 41, 51, 0.54);
}

.auth-panel {
  position: relative;
  width: min(440px, 100%);
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(31, 41, 51, 0.28);
}

.auth-panel .icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
}

.auth-copy {
  color: var(--muted);
}

.auth-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

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

.school-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 76;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(31, 41, 51, 0.54);
}

.school-qr-panel {
  position: relative;
  width: min(860px, 94vw);
  max-height: 86vh;
  overflow: auto;
  padding: 28px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(31, 41, 51, 0.28);
}

.school-qr-panel .icon-button {
  position: sticky;
  z-index: 2;
  top: 0;
  right: 0;
  float: right;
  width: 40px;
  height: 40px;
  margin: -10px -10px 6px 12px;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.16);
  font-size: 26px;
  line-height: 1;
}

.school-qr-copy {
  max-width: 620px;
  color: var(--muted);
}

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

.school-qr-item {
  display: grid;
  gap: 6px;
  justify-items: center;
  padding: 14px 10px;
  border: 1px solid rgba(220, 229, 234, 0.9);
  border-radius: 8px;
  background: rgba(248, 250, 247, 0.86);
  text-align: center;
}

.school-qr-placeholder {
  display: grid;
  width: 88px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px dashed rgba(27, 154, 114, 0.46);
  border-radius: 8px;
  background: #fff;
  color: var(--green-deep);
  font-weight: 900;
}

.school-qr-image {
  width: 88px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(27, 154, 114, 0.22);
  border-radius: 8px;
  background: #fff;
}

.school-qr-item strong {
  color: var(--ink);
  font-size: 15px;
}

.school-qr-item p {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.contact-section {
  padding-bottom: 0;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 24px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.08), rgba(241, 173, 61, 0.1)),
    #fff;
  box-shadow: var(--shadow);
}

.contact-copy h2 {
  margin: 8px 0 12px;
  font-size: clamp(26px, 3.2vw, 42px);
}

.contact-copy p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.contact-profile {
  display: grid;
  gap: 8px;
  justify-items: center;
  padding: 18px;
  border: 1px solid rgba(220, 229, 234, 0.78);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(31, 45, 61, 0.06);
}

.contact-qr-frame {
  display: grid;
  place-items: center;
  width: min(48vw, 176px);
  padding: 10px;
  border: 1px solid rgba(220, 229, 234, 0.86);
  border-radius: 12px;
  background: #fff;
}

.contact-qr {
  width: 100%;
  max-width: 156px;
  border-radius: 6px;
}

.contact-profile strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.contact-profile span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 28, 36, 0.46);
}

.modal[hidden] {
  display: none;
}

.collection-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 28, 36, 0.48);
}

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

.purchase-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 28, 36, 0.5);
}

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

.purchase-preview-panel {
  position: relative;
  width: min(520px, 94vw);
  max-height: 88vh;
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.purchase-preview-panel .icon-button {
  position: absolute;
  top: 14px;
  right: 14px;
}

.purchase-preview-panel h2 {
  padding-right: 52px;
}

.purchase-preview-card {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.purchase-preview-card img,
.purchase-preview-placeholder {
  width: 100%;
  max-height: 42vh;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.purchase-preview-placeholder {
  display: grid;
  place-items: center;
  color: var(--green-deep);
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.08), rgba(241, 173, 61, 0.14)),
    #fff;
  font-size: 22px;
  font-weight: 900;
}

.purchase-preview-card .tag,
.purchase-preview-card p {
  color: var(--muted);
}

#purchasePreviewPrice {
  color: var(--coral);
  font-size: 18px;
  font-weight: 1000;
}

.purchase-preview-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.purchase-preview-actions .primary-button,
.purchase-preview-actions .secondary-button {
  justify-content: center;
  width: 100%;
}

.resource-category-modal {
  position: fixed;
  inset: 0;
  z-index: 68;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(20, 28, 36, 0.5);
}

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

.resource-category-panel {
  position: relative;
  width: min(760px, 94vw);
  max-height: 88vh;
  overflow: auto;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.resource-category-modal .resource-category-panel {
  background: #fff !important;
}

.resource-category-panel .icon-button {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -14px -14px -16px auto;
}

.resource-category-copy {
  color: var(--muted);
}

.resource-category-body {
  margin-top: 16px;
}

.resource-category-content {
  min-height: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.entertainment-modal-list {
  display: grid;
  gap: 14px;
}

.entertainment-modal-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(220, 229, 234, 0.95);
  border-radius: 8px;
  background: #fff;
}

.entertainment-modal-card h3 {
  margin: 0;
  font-size: 20px;
}

.entertainment-modal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.entertainment-modal-card .primary-button {
  width: 100%;
  margin-top: 4px;
}

.entertainment-slip-result {
  padding: 12px;
  border-radius: 8px;
  background: #f4fbf7;
  color: var(--green-deep) !important;
  font-weight: 900;
}

.resource-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(20, 28, 36, 0.54);
}

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

.resource-modal-panel {
  position: relative;
  width: min(980px, 94vw);
  max-height: 90vh;
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.resource-modal-copy {
  color: var(--muted);
}

.resource-preview-image {
  display: block;
  width: 100%;
  min-height: 220px;
  max-height: 68vh;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf7;
}

.resource-preview-image.is-error {
  min-height: 180px;
  object-fit: scale-down;
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.08), rgba(241, 173, 61, 0.14)),
    #f8faf7;
}

.resource-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.personality-modal {
  position: fixed;
  inset: 0;
  z-index: 75;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(31, 45, 61, 0.58);
}

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

.generator-modal {
  position: fixed;
  inset: 0;
  z-index: 76;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(31, 45, 61, 0.58);
}

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

.surprise-modal,
.fortune-modal {
  position: fixed;
  inset: 0;
  z-index: 78;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(31, 45, 61, 0.58);
}

.surprise-modal[hidden],
.fortune-modal[hidden] {
  display: none;
}

.generator-panel {
  position: relative;
  width: min(760px, 94vw);
  max-height: 90vh;
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.generator-copy {
  color: var(--muted);
}

.surprise-panel {
  position: relative;
  width: min(989px, 94vw);
  max-height: 92vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.fortune-panel {
  position: relative;
  width: min(680px, 94vw);
  max-height: 92vh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.surprise-panel h2,
.fortune-panel h2 {
  margin-right: 118px;
}

.surprise-unlock {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid rgba(241, 173, 61, 0.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 22%, rgba(241, 173, 61, 0.24), transparent 28%),
    radial-gradient(circle at 70% 68%, rgba(27, 154, 114, 0.2), transparent 30%),
    linear-gradient(135deg, #fffdf4, #f1fff8);
  text-align: center;
  animation: unlockPop 0.5s ease both;
}

.surprise-unlock[hidden],
.surprise-result[hidden] {
  display: none;
}

.surprise-unlock strong {
  color: var(--green-deep);
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.1;
  animation: unlockFlash 0.85s ease-in-out infinite alternate;
}

.surprise-unlock p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.surprise-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.surprise-confetti span {
  position: absolute;
  top: 18%;
  width: 12px;
  height: 22px;
  border-radius: 3px;
  background: var(--gold);
  animation: confettiDrop 0.9s ease-in-out infinite;
}

.surprise-confetti span:nth-child(1) {
  left: 18%;
  background: var(--coral);
}

.surprise-confetti span:nth-child(2) {
  left: 34%;
  animation-delay: 0.12s;
  background: var(--green);
}

.surprise-confetti span:nth-child(3) {
  left: 52%;
  animation-delay: 0.22s;
  background: var(--gold);
}

.surprise-confetti span:nth-child(4) {
  left: 68%;
  animation-delay: 0.32s;
  background: var(--blue);
}

.surprise-confetti span:nth-child(5) {
  left: 82%;
  animation-delay: 0.42s;
  background: #f6759d;
}

.surprise-result {
  animation: posterReveal 0.44s cubic-bezier(0.2, 0.9, 0.3, 1.15) both;
}

.surprise-share-tip {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(27, 154, 114, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.08), rgba(241, 173, 61, 0.12)),
    #fff;
}

.surprise-share-tip strong {
  color: var(--ink);
  font-size: 17px;
}

.surprise-share-tip p {
  margin: 0;
  padding: 12px;
  border-radius: 8px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  line-height: 1.75;
}

.surprise-share-tip .secondary-button {
  width: 100%;
  margin-top: 0;
}

.fortune-note {
  margin: -6px 118px 12px 0;
  color: var(--muted);
  font-weight: 700;
}

.fortune-top-actions {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fortune-top-actions .icon-button {
  position: static;
}

.fortune-download-button {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #e9f7f1;
  color: var(--primary-strong);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
}

.fortune-download-button:hover {
  border-color: rgba(11, 124, 92, 0.35);
  background: #dff4eb;
}

.surprise-poster-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(68vh, 820px);
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.fortune-image-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(62vh, 640px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(225, 246, 238, 0.86), rgba(255, 250, 238, 0.94)),
    #fff;
}

.fortune-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(68vh, 760px);
  height: auto;
  border: 0;
  background: transparent;
  object-fit: contain;
  opacity: 1;
  transition: opacity 160ms ease;
}

.fortune-image.is-loading {
  opacity: 0;
}

.fortune-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--green-strong);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.fortune-image:not(.is-loading) + .fortune-loading {
  display: none;
}

.surprise-panel .secondary-button,
.fortune-panel .secondary-button {
  width: 100%;
  margin-top: 14px;
}

@keyframes surpriseBreath {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 14px 30px rgba(27, 154, 114, 0.28),
      0 0 0 0 rgba(241, 173, 61, 0.32);
  }

  50% {
    transform: scale(1.025);
    box-shadow:
      0 18px 38px rgba(27, 154, 114, 0.32),
      0 0 0 10px rgba(241, 173, 61, 0.08);
  }
}

@keyframes surpriseBounce {
  0%,
  100% {
    transform: translateY(-2px) scale(1.05);
  }

  45% {
    transform: translateY(-8px) scale(1.08);
  }

  72% {
    transform: translateY(0) scale(1.04);
  }
}

@keyframes unlockPop {
  from {
    opacity: 0;
    transform: scale(0.96);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes unlockFlash {
  from {
    filter: drop-shadow(0 0 0 rgba(241, 173, 61, 0));
  }

  to {
    filter: drop-shadow(0 0 18px rgba(241, 173, 61, 0.58));
  }
}

@keyframes confettiDrop {
  0% {
    opacity: 0;
    transform: translateY(-20px) rotate(0deg);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(240px) rotate(260deg);
  }
}

@keyframes posterReveal {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .surprise-button,
  .surprise-button:hover,
  .surprise-unlock strong,
  .surprise-confetti span,
  .surprise-result {
    animation: none;
  }
}

.fortune-modal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

.fortune-modal-actions .primary-button,
.fortune-modal-actions .secondary-button {
  width: 100%;
  margin-top: 0;
}

.generator-controls {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 18px;
}

.generator-controls label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.generator-controls select,
.generator-controls input {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.generator-results {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.generator-result {
  padding: 14px 16px;
  border: 1px solid rgba(27, 154, 114, 0.18);
  border-radius: 8px;
  background: #f8fbf9;
}

.generator-result strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.generator-result p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.personality-panel {
  position: relative;
  width: min(860px, 94vw);
  max-height: 90vh;
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.personality-copy {
  color: var(--muted);
}

.personality-form {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.personality-question {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(220, 229, 234, 0.95);
  border-radius: 8px;
  background: #fbfdfc;
}

.personality-question > strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.35;
}

.personality-progress {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.personality-progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(220, 229, 234, 0.82);
}

.personality-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e85d4f, #f1ad3d);
  transition: width 0.22s ease;
}

.personality-options {
  display: grid;
  gap: 10px;
}

.personality-option {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(220, 229, 234, 0.95);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.personality-option:hover,
.personality-option.is-selected {
  border-color: rgba(27, 154, 114, 0.38);
  background: #f4fbf7;
  color: var(--green-deep);
}

.personality-nav,
.personality-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.personality-question legend {
  padding: 0 8px;
  font-weight: 900;
  color: var(--ink);
}

.personality-question label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.6;
}

.personality-question input {
  margin-top: 7px;
  accent-color: var(--green);
}

.personality-result {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid rgba(27, 154, 114, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.1), rgba(241, 173, 61, 0.16)),
    #fff;
}

.personality-result h3 {
  margin-top: 0;
}

.personality-result p {
  color: var(--muted);
  line-height: 1.8;
}

.personality-score-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.personality-score-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid rgba(27, 154, 114, 0.22);
  border-radius: 999px;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 900;
}

.collection-modal-panel {
  position: relative;
  width: min(980px, 94vw);
  max-height: 88vh;
  overflow: auto;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.collection-modal-panel .icon-button {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -18px -18px -20px auto;
}

.collection-modal-copy {
  display: none;
}

.collection-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.modal-product-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.modal-product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #eef7f3;
}

.modal-product-card img.is-pending-load {
  object-fit: contain;
  padding: 20%;
}

.modal-product-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px dashed rgba(27, 154, 114, 0.35);
  border-radius: 8px;
  color: var(--green-deep);
  background:
    linear-gradient(135deg, rgba(27, 154, 114, 0.08), rgba(241, 173, 61, 0.14)),
    #fff;
  font-size: 22px;
  font-weight: 900;
}

.modal-product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
}

.modal-product-body p {
  color: var(--muted);
}

.modal-product-price {
  color: var(--coral);
  font-size: 16px;
  font-weight: 1000;
}

.modal-product-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.modal-product-perks span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(232, 93, 79, 0.22);
  border-radius: 6px;
  color: var(--coral);
  background: #fff7f5;
  font-size: 13px;
  font-weight: 800;
}

.modal-product-body .primary-button {
  width: 100%;
  margin-top: auto;
}

.modal-panel {
  position: relative;
  width: min(470px, 100%);
  padding: 30px;
  box-shadow: var(--shadow);
}

.icon-button {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.pay-box {
  display: grid;
  gap: 4px;
  margin: 18px 0;
  padding: 20px;
  border: 1px dashed var(--green);
  border-radius: 8px;
  background: #f3fbf7;
}

.small-note {
  margin-bottom: 0;
  font-size: 13px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(1480px, 96vw);
  margin: 90px auto 0;
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  body {
    font-size: 15px;
  }

  .topbar,
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding: 8px 3vw 10px;
    min-height: 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .topbar .ghost-button {
    display: none;
  }

  .site-header .ghost-button {
    min-height: 36px;
    padding: 0 14px;
  }

  .hero {
    min-height: 760px;
    padding-top: 54px;
  }

  .freebie-band {
    padding-top: 28px;
  }

  .hero-copy span {
    white-space: normal;
  }

  .hero-copy .desktop-copy {
    display: none;
  }

  .hero-copy .mobile-copy {
    display: block;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(248, 250, 247, 0.98) 0%, rgba(248, 250, 247, 0.9) 54%, rgba(248, 250, 247, 0.4) 100%),
      linear-gradient(180deg, rgba(248, 250, 247, 0) 82%, var(--paper) 100%);
  }

  .product-board,
  .profit-grid,
  .freebie-grid,
  .resource-grid,
  .collection-grid,
  .wall-grid,
  .approved-wall-grid,
  .model-grid,
  .check-grid,
  .pack-grid,
  .split,
  .shop-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  #plan .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  #plan .timeline article {
    min-height: 112px;
    padding: 10px 7px;
    border-left-width: 3px;
  }

  #plan .timeline span {
    font-size: 12px;
    line-height: 1.2;
  }

  #plan .timeline h3 {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.15;
  }

  #plan .timeline p {
    font-size: 12px;
    line-height: 1.45;
  }

  .resource-entry-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }

  .wall-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wall-auth-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px;
  }

  .wall-auth-actions {
    width: 100%;
  }

  .wall-auth-actions .primary-button,
  .wall-auth-actions .secondary-button {
    flex: 1;
    min-height: 36px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .wall-page-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .interaction-entry-card {
    gap: 10px;
    padding: 18px;
  }

  .interaction-entry-card h3 {
    font-size: 20px;
  }

  .interaction-entry-copy {
    gap: 10px;
  }

  .interaction-entry-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .interaction-feature {
    gap: 12px;
  }

  .interaction-feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 24px;
  }

  .interaction-feature-text strong {
    font-size: 20px;
  }

  .interaction-feature-text span {
    font-size: 14px;
  }

  .interaction-entry-card .wall-page-link {
    width: 100%;
    margin-top: 4px;
  }

  .wall-page-actions .primary-button,
  .wall-page-actions .secondary-button {
    width: 100%;
  }

  .wall-panel {
    gap: 12px;
    padding: 14px;
  }

  .treehole-compose,
  .treehole-board {
    gap: 12px;
    padding: 14px;
  }

  .treehole-board-head,
  .treehole-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .treehole-board-head .secondary-button,
  .treehole-form-actions .primary-button {
    width: 100%;
  }

  .treehole-post,
  .treehole-comment,
  .treehole-original {
    padding: 14px;
  }

  .treehole-post p,
  .treehole-comment p,
  .treehole-original p {
    font-size: 15px;
  }

  .forum-post-title {
    font-size: 17px;
  }

  .forum-topic-subtitle {
    font-size: 14px;
  }

  .admin-auth {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .admin-auth .primary-button,
  .admin-tabs button {
    width: 100%;
  }

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

  .admin-panel,
  .admin-card {
    padding: 14px;
  }

  .admin-card-head,
  .admin-comment {
    align-items: stretch;
    flex-direction: column;
  }

  .danger-button {
    width: 100%;
  }

  .forum-images img,
  .forum-image-button {
    width: calc(33.333% - 7px);
    min-width: 82px;
  }

  .forum-preview-item {
    width: 82px;
    height: 82px;
  }

  .treehole-detail {
    padding: 0;
    align-items: stretch;
  }

  .treehole-detail-panel {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    padding: 18px;
  }

  .treehole-comment-form {
    grid-template-columns: 1fr;
    bottom: -18px;
  }

  .confession-panel {
    padding: 8px;
  }

  .confession-embed iframe {
    min-height: 1680px;
    border-radius: 6px;
  }

  .wall-head {
    gap: 8px;
  }

  .wall-head .shop-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .wall-head h3 {
    font-size: 18px;
    line-height: 1.2;
  }

  .wall-head p {
    display: none;
  }

  .wall-form {
    gap: 10px;
  }

  .wall-form textarea {
    min-height: 84px;
  }

  .wall-list {
    gap: 8px;
  }

  .wall-item {
    padding: 10px;
  }

  .wall-item p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .major-entry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .major-detail-grid {
    margin-top: 8px;
  }

  .major-detail-panel {
    gap: 8px;
    min-height: 0;
  }

  .major-detail-panel p {
    display: block;
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .major-info .secondary-button {
    width: 100%;
    min-height: 38px;
    margin-top: 0;
  }

  .major-preview-image {
    width: 100%;
    max-height: 58vh;
    align-self: stretch;
  }

  .resource-entry-card {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 7px;
    min-height: 112px;
    padding: 12px 7px;
    text-align: center;
  }

  .resource-entry-card .resource-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .resource-entry-copy {
    gap: 5px;
  }

  .resource-entry-copy .number {
    font-size: 14px;
  }

  .resource-entry-copy .tag {
    display: none;
  }

  .resource-entry-copy strong {
    font-size: 13px;
    line-height: 1.25;
  }

  .resource-entry-copy {
    justify-items: center;
    gap: 5px;
  }

  .resource-entry-copy .number {
    font-size: 0.88rem;
  }

  .resource-entry-copy .tag {
    display: none;
  }

  .resource-entry-copy strong {
    max-width: 7.5em;
    font-size: 13px;
    line-height: 1.25;
  }

  .collection-grid > .collection-card,
  .collection-grid > .collection-card.category-combo {
    grid-column: auto;
  }

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

  .section-heading.compact {
    margin-bottom: 22px;
  }

  .footer {
    flex-direction: column;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .contact-profile {
    justify-items: center;
    width: min(100%, 220px);
    justify-self: center;
    padding: 14px;
  }

  .contact-qr-frame {
    justify-self: center;
    width: 164px;
    padding: 8px;
  }

  .contact-qr {
    max-width: 140px;
  }

  .collection-products {
    grid-template-columns: 1fr;
  }

  .partner-entry,
  .partner-form {
    grid-template-columns: 1fr;
  }

  .partner-form .primary-button {
    justify-self: stretch;
  }

  .market-category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .market-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-rank {
    grid-template-columns: 1fr;
  }

  .market-rank a + a {
    border-top: 1px solid rgba(220, 229, 234, 0.86);
    border-left: 0;
  }

  .generator-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .section,
  .shop-market,
  .footer {
    width: calc(100vw - 36px);
  }

  .topbar,
  .site-header {
    padding-right: 18px;
    padding-left: 18px;
  }

  .nav {
    gap: 20px;
    font-size: 14px;
  }

  .section {
    padding-top: 68px;
  }

  h1 {
    max-width: 18em;
    margin-bottom: 10px;
    font-size: 27px;
    line-height: 1.18;
  }

  .hero {
    min-height: 500px;
    padding-top: 16px;
    padding-bottom: 24px;
  }

  .freebie-band {
    padding-top: 28px;
  }

  .hero-content {
    width: calc(100vw - 36px);
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-actions {
    margin: 16px 0;
  }

  .hero-jump-link {
    min-height: 42px;
    padding: 0 10px;
    font-size: 14px;
  }

  .hero-stat-button {
    min-width: min(330px, calc(100vw - 48px));
    min-height: 50px;
    padding: 7px 24px;
  }

  .fortune-button-text {
    font-size: 18px;
  }

  .hero-stats strong {
    font-size: 18px;
  }

  h2 {
    font-size: 21px;
    line-height: 1.22;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading p {
    font-size: 14px;
    line-height: 1.65;
  }

  .eyebrow,
  .tag,
  .small-note {
    font-size: 13px;
  }

  .hero-actions a,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

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

  .product-card,
  .rule-panel,
  .model-card,
  .freebie-card,
  .resource-card,
  .collection-card,
  .check-card,
  .pack-card,
  .lead-form,
  .shop-item {
    padding: 20px;
  }

  .resource-entry-card {
    min-height: 116px;
    padding: 12px 8px;
  }

  .resource-entry-card .resource-icon {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }

  .resource-entry-copy .number {
    font-size: 14px;
  }

  .resource-entry-copy strong {
    max-width: 6.5em;
    font-size: 14px;
    line-height: 1.25;
  }

  .resource-detail-grid {
    margin-top: 8px;
  }

  .resource-detail-panel {
    scroll-margin-top: 112px;
  }

  .freebie-band .resource-detail-grid {
    display: none;
  }

  .resource-category-modal {
    align-items: end;
    padding: 0;
    background: rgba(20, 28, 36, 0.48);
  }

  .resource-category-panel {
    width: 100vw;
    max-height: 86dvh;
    padding: 18px 14px 24px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 12px 12px 0 0;
    background: #f8faf7;
  }

  .resource-category-panel .icon-button {
    position: sticky;
    top: 0;
    width: 42px;
    height: 42px;
    margin: -6px -4px -18px auto;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 20px rgba(15, 31, 45, 0.14);
  }

  .resource-category-panel h2 {
    margin-right: 48px;
    font-size: 22px;
    line-height: 1.18;
  }

  .resource-category-copy {
    margin-right: 48px;
    font-size: 14px;
    line-height: 1.5;
  }

  .resource-category-body {
    margin-top: 12px;
  }

  .resource-category-content {
    gap: 12px;
    background: #fff;
  }

  .resource-preview-image {
    min-height: 120px;
    max-height: 42vh;
  }

  .resource-modal {
    align-items: end;
    padding: 0;
  }

  .resource-modal-panel {
    width: 100vw;
    max-height: 76dvh;
    padding: 16px 14px 18px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 12px 12px 0 0;
  }

  .resource-modal-panel .icon-button {
    width: 42px;
    height: 42px;
    top: 10px;
    right: 10px;
  }

  .resource-modal-panel .eyebrow {
    margin-right: 54px;
    margin-bottom: 6px;
    font-size: 13px;
  }

  .resource-modal-panel h2 {
    margin-right: 54px;
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.18;
  }

  .resource-modal-copy {
    margin-right: 54px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.5;
  }

  .resource-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
  }

  .resource-modal-actions .primary-button,
  .resource-modal-actions .secondary-button {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 15px;
  }

  #products .section-heading {
    margin-bottom: 12px;
  }

  #products {
    padding-top: 34px;
  }

  #products .section-heading .eyebrow {
    display: none;
  }

  #products .section-heading h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  #products .section-heading p {
    font-size: 14px;
    line-height: 1.55;
  }

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

  .campus-account-board {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 0;
    gap: 8px;
    padding: 14px;
  }

  .product-card.hot {
    box-shadow: 0 10px 24px rgba(27, 154, 114, 0.08);
  }

  .product-top {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    justify-content: start;
  }

  .product-top .shop-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 20px;
  }

  .product-top .tag {
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
  }

  .product-card h3 {
    margin: 4px 0 0;
    font-size: 18px;
    line-height: 1.2;
  }

  .product-card p {
    display: -webkit-box;
    min-height: 40px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .product-card .mini-list {
    display: none;
  }

  .product-card .deal-stack {
    gap: 8px;
  }

  .product-card .deal-item {
    padding: 10px;
  }

  .product-card .deal-item span {
    display: none;
  }

  .product-card .primary-button,
  .product-card .secondary-button {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 14px;
  }

  .campus-account-card {
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: none;
    min-height: 0;
    gap: 10px;
    padding: 14px;
    border-radius: 8px;
  }

  .campus-account-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.25;
  }

  .campus-account-card .primary-button {
    width: auto;
    min-width: 132px;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 14px;
    white-space: nowrap;
  }

  .school-qr-modal {
    align-items: end;
    padding: 0;
  }

  .school-qr-panel {
    width: 100vw;
    max-height: 78dvh;
    padding: 18px 14px 22px;
    border-radius: 8px 8px 0 0;
  }

  .school-qr-panel .icon-button {
    top: 10px;
    right: 10px;
  }

  .school-qr-panel h2,
  .school-qr-panel .eyebrow,
  .school-qr-copy {
    margin-right: 54px;
  }

  .school-qr-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .school-qr-item {
    padding: 10px 6px;
  }

  .school-qr-placeholder {
    width: 64px;
  }

  #checklist .section-heading {
    margin-bottom: 16px;
  }

  #checklist .section-heading h2 {
    font-size: 23px;
    line-height: 1.2;
  }

  #checklist .section-heading p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

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

  .check-card {
    min-height: 0;
    padding: 14px;
  }

  .check-card .number {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: #fff;
    background: var(--coral);
    font-size: 16px;
  }

  .check-card h3 {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.2;
  }

  .check-card p {
    display: -webkit-box;
    min-height: 40px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .resource-card {
    gap: 8px;
    min-height: 0;
  }

  .resource-card-title {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
  }

  .resource-card-title .resource-icon {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .resource-card-title .number,
  .resource-card-title .tag {
    margin-bottom: 4px;
  }

  .resource-card-title h3 {
    font-size: 1.12rem;
    line-height: 1.12;
  }

  .resource-block {
    padding: 10px;
  }

  .resource-block p {
    display: block;
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 0.86rem;
    line-height: 1.5;
  }

  .resource-block strong {
    margin-bottom: 0;
    font-size: 0.95rem;
  }

  .resource-link-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }

  .resource-chip-link,
  .resource-inline-button {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    margin-top: 0;
    font-size: 0.9rem;
  }

  .official-link-grid {
    gap: 8px;
  }

  .official-link-grid a {
    padding: 9px 10px;
    font-size: 0.9rem;
  }

  .certificate-calendar {
    margin-top: 2px;
    padding-top: 12px;
  }

  .deal-item {
    grid-template-columns: 1fr;
  }

  .surprise-strip {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 12px auto 32px;
    padding: 14px;
  }

  .surprise-copy .eyebrow {
    display: none;
  }

  .surprise-copy h2 {
    font-size: 20px;
    line-height: 1.2;
  }

  .surprise-copy p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .surprise-button {
    min-width: 0;
    min-height: 42px;
    padding: 9px 14px;
    font-size: 15px;
  }

  .surprise-panel,
  .fortune-panel {
    padding: 14px;
  }

  .fortune-modal-actions {
    grid-template-columns: 1fr;
  }

  .market-search {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .market-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .market-tabs {
    gap: 20px;
  }

  .market-category-grid,
  .market-feed {
    padding: 12px;
  }

  .market-feed {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .market-product {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    min-width: 0;
  }

  .market-product img,
  .market-product-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
  }

  .market-product strong {
    min-height: 34px;
    font-size: 12px;
    line-height: 1.25;
    -webkit-line-clamp: 2;
  }

  .market-product p {
    display: none;
  }

  .market-product span {
    font-size: 12px;
    line-height: 1.2;
  }

  .market-category {
    min-height: 82px;
  }

  .market-category span {
    width: 44px;
    height: 44px;
  }

  .collection-carousel-controls {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 34px;
    gap: 6px;
    align-items: center;
    margin: -2px 0 10px;
    padding: 8px 4px;
    border-bottom: 1px solid rgba(220, 229, 234, 0.72);
    background: rgba(255, 255, 255, 0.9);
  }

  .collection-tab-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .collection-tab-track::-webkit-scrollbar {
    display: none;
  }

  .collection-tab {
    position: relative;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 2px;
    border: 0;
    color: var(--ink);
    background: transparent;
    font: inherit;
    font-size: 16px;
    font-weight: 900;
    white-space: nowrap;
  }

  .collection-tab.is-active {
    color: var(--coral);
  }

  .collection-tab.is-active::after {
    content: "";
    position: absolute;
    right: 4px;
    bottom: 0;
    left: 4px;
    height: 3px;
    border-radius: 999px;
    background: var(--coral);
  }

  .collection-arrow {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 38px;
    border: 0;
    border-radius: 0;
    color: var(--green-deep);
    background: transparent;
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
  }

  .collection-grid {
    display: block;
  }

  .collection-grid > .collection-card {
    display: none;
  }

  .collection-grid > .collection-card.is-carousel-active {
    display: flex;
  }

  .collection-grid > .collection-card.is-carousel-active,
  .collection-grid > .collection-card.category-combo.is-carousel-active {
    min-height: 0;
    padding: 18px;
    grid-column: auto;
  }

  .collection-head h3 {
    font-size: 21px;
  }

  .topic-chip {
    min-height: 38px;
    padding: 8px 13px;
    font-size: 14px;
  }

  .topic-note {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
  }

  .resource-link-row {
    grid-template-columns: 1fr;
  }

  .resource-chip-link {
    width: 100%;
  }

  .resource-card {
    gap: 12px;
    min-height: 0;
  }

  .resource-card-title {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
  }

  .resource-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .resource-card-title .number,
  .resource-card-title .tag {
    margin-bottom: 2px;
  }

  .resource-card-title h3 {
    font-size: 19px;
    line-height: 1.22;
  }

  .resource-block {
    padding: 12px;
  }

  .resource-block p {
    display: block;
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .resource-block strong {
    margin-bottom: 0;
    font-size: 15px;
  }

  .resource-inline-button,
  .resource-link-row {
    margin-top: 10px;
  }

  .official-link-grid a {
    padding: 10px 12px;
    font-size: 14px;
  }

  .collection-modal {
    align-items: center;
    place-items: center;
    padding: 18px;
    background: rgba(20, 28, 36, 0.5);
  }

  .collection-modal-panel {
    width: min(335px, calc(100vw - 32px));
    height: auto;
    max-height: 72dvh;
    padding: 18px 12px 14px;
    border: 1px solid rgba(220, 229, 234, 0.9);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(15, 31, 45, 0.22);
  }

  .collection-modal-panel .icon-button {
    position: sticky;
    top: 0;
    right: auto;
    z-index: 8;
    width: 46px;
    height: 46px;
    margin: -6px -2px -6px auto;
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 20px rgba(15, 31, 45, 0.14);
  }

  .collection-modal-panel > .eyebrow {
    margin: 0 54px 4px 0;
    color: var(--coral);
    font-size: 11px;
  }

  .collection-modal-panel h2 {
    margin: 0 54px 10px 0;
    font-size: 18px;
    line-height: 1.2;
  }

  .collection-modal-copy {
    margin: 0 54px 10px 0;
    font-size: 13px;
    line-height: 1.45;
  }

  .collection-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
  }

  .modal-product-card {
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
  }

  .modal-product-card img,
  .modal-product-placeholder {
    aspect-ratio: 1 / 1;
    border: 0;
    border-radius: 0;
  }

  .modal-product-placeholder {
    font-size: 18px;
  }

  .modal-product-body {
    gap: 5px;
    padding: 7px;
  }

  .modal-product-body .product-top {
    justify-content: flex-start;
    gap: 6px;
  }

  .modal-product-body .shop-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 15px;
  }

  .modal-product-body .tag {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #666;
    font-size: 12px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .modal-product-body h3 {
    display: -webkit-box;
    min-height: 32px;
    margin: 0;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.28;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .modal-product-body p {
    display: none;
  }

  .modal-product-price {
    color: #d63b32;
    font-size: 14px;
    line-height: 1.1;
  }

  .modal-product-perks {
    gap: 4px;
    min-height: 24px;
    overflow: hidden;
  }

  .modal-product-perks span {
    min-height: 22px;
    max-width: 100%;
    padding: 2px 5px;
    overflow: hidden;
    border-color: rgba(214, 59, 50, 0.24);
    color: #d63b32;
    background: #fff4f2;
    font-size: 11px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .modal-product-perks span:nth-child(n + 3) {
    display: none;
  }

  .modal-product-body .primary-button,
  .modal-product-body .secondary-button {
    min-height: 30px;
    margin-top: 2px;
    padding: 7px 10px;
    border-radius: 6px;
    font-size: 12px;
  }

  .purchase-preview-modal {
    align-items: end;
    place-items: end center;
    padding: 0;
  }

  .purchase-preview-panel {
    width: 100vw;
    max-height: 78dvh;
    padding: 18px 14px 16px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
  }

  .purchase-preview-panel h2 {
    margin: 4px 52px 8px 0;
    font-size: 20px;
    line-height: 1.25;
  }

  .purchase-preview-card {
    gap: 8px;
    margin-top: 10px;
  }

  .purchase-preview-card img,
  .purchase-preview-placeholder {
    max-height: 34dvh;
    aspect-ratio: 1 / 1;
  }

  .purchase-preview-actions {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 12px;
  }

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

.campus-account-card > p,
.part-time-card > p {
  display: block;
  min-height: 0;
  overflow: visible;
  -webkit-line-clamp: unset;
  line-height: 1.75;
}

@media (max-width: 520px) {
  h2,
  h3,
  .section-heading h2,
  .resource-entry-copy strong,
  .interaction-feature-text strong,
  .product-card h3,
  .collection-card h3,
  .freebie-card h3,
  .profit-card h3,
  .check-card h3,
  .pack-card h3,
  .shop-item h3,
  .timeline h3 {
    font-size: 16px !important;
    line-height: 1.28;
  }
}

@media (max-width: 520px) {
  body {
    color: #151d24;
    background:
      radial-gradient(circle at 18% 4%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 32%),
      radial-gradient(circle at 88% 16%, rgba(207, 225, 214, 0.5), rgba(207, 225, 214, 0) 34%),
      linear-gradient(180deg, #eef2f7 0%, #f7faf8 42%, #eef4f1 100%);
  }

  .topbar,
  .site-header {
    width: calc(100vw - 22px);
    min-height: 72px;
    margin: 10px auto 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 16px 42px rgba(52, 67, 84, 0.1);
    backdrop-filter: blur(18px);
  }

  .brand {
    gap: 12px;
    font-size: 17px;
    letter-spacing: 0;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(27, 154, 114, 0.2);
  }

  .nav {
    gap: 18px;
    padding: 2px 2px 3px;
    color: #566373;
    font-size: 13px;
    font-weight: 700;
  }

  main {
    padding-bottom: 28px;
  }

  .hero {
    width: calc(100vw - 28px);
    min-height: 520px;
    margin: 18px auto 0;
    padding: 0;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.88);
    border-radius: 36px;
    background: #eef4ef;
    box-shadow: 0 26px 70px rgba(52, 67, 84, 0.16);
  }

  .hero > img {
    object-position: center top;
    filter: saturate(1.04) contrast(1.02);
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0) 22%, rgba(247, 250, 246, 0.18) 46%, rgba(247, 250, 246, 0.94) 72%, #f7faf6 100%);
  }

  .hero-content {
    align-self: end;
    width: calc(100% - 24px);
    margin: 0 0 12px;
    padding: 18px 16px 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.54);
    box-shadow: 0 18px 48px rgba(52, 67, 84, 0.12);
    text-align: left;
    backdrop-filter: blur(18px);
  }

  h1 {
    max-width: none;
    margin-bottom: 8px;
    color: #111820;
    font-size: 24px;
    line-height: 1.16;
    font-weight: 950;
  }

  .hero-copy {
    margin-bottom: 0;
    color: #4d5864;
    font-size: 14px;
    line-height: 1.55;
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 14px 0 10px;
  }

  .primary-button,
  .secondary-button,
  .ghost-button {
    min-height: 44px;
    border-radius: 999px;
    font-size: 14px;
    box-shadow: none;
  }

  .primary-button {
    background: #4a8e4d;
    box-shadow: 0 14px 28px rgba(74, 142, 77, 0.2);
  }

  .hero-stat-button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: #1f2a33;
    box-shadow: inset 0 0 0 1px rgba(74, 142, 77, 0.14);
  }

  .fortune-button-text {
    font-size: 14px;
  }

  .section,
  .shop-market,
  .footer {
    width: calc(100vw - 28px);
  }

  .section {
    padding-top: 34px;
  }

  .section-heading {
    max-width: none;
    margin-bottom: 18px;
  }

  .eyebrow,
  .tag {
    margin-bottom: 8px;
    color: #596879;
    font-size: 15px;
    font-weight: 900;
  }

  h2,
  h3,
  .section-heading h2,
  .resource-entry-copy strong,
  .interaction-feature-text strong,
  .product-card h3,
  .collection-card h3,
  .freebie-card h3,
  .profit-card h3,
  .check-card h3,
  .pack-card h3,
  .shop-item h3,
  .timeline h3 {
    color: #111820;
    font-size: 24px !important;
    line-height: 1.14;
    font-weight: 950;
    letter-spacing: 0;
  }

  .section-heading p {
    color: #657384;
    font-size: 15px;
    line-height: 1.75;
  }

  #campus-wall {
    padding-top: 28px;
  }

  .interaction-entry-grid {
    gap: 14px;
  }

  .interaction-entry-card {
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px rgba(52, 67, 84, 0.11);
    backdrop-filter: blur(16px);
  }

  .interaction-feature {
    gap: 14px;
  }

  .interaction-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    box-shadow: 0 16px 32px rgba(52, 67, 84, 0.14);
    font-size: 25px;
  }

  .interaction-feature-text strong {
    font-size: 20px !important;
  }

  .interaction-feature-text span {
    color: #667384;
    font-size: 14px;
  }

  .freebie-band {
    padding-top: 36px;
  }

  .resource-entry-grid {
    display: flex;
    gap: 12px;
    margin: 0 -2px 18px;
    padding: 2px 2px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .resource-entry-grid::-webkit-scrollbar {
    display: none;
  }

  .resource-entry-card {
    flex: 0 0 132px;
    min-height: 158px;
    padding: 14px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 42px rgba(52, 67, 84, 0.1);
    scroll-snap-align: start;
  }

  .resource-entry-card.is-active,
  .resource-entry-card:hover {
    border-color: rgba(74, 142, 77, 0.18);
    background:
      linear-gradient(145deg, rgba(232, 245, 235, 0.95), rgba(255, 251, 242, 0.86)),
      rgba(255, 255, 255, 0.86);
    box-shadow: 0 20px 48px rgba(74, 142, 77, 0.13);
  }

  .resource-entry-card .resource-icon {
    width: 58px;
    height: 58px;
    border: 1px solid rgba(74, 142, 77, 0.16);
    border-radius: 18px;
    background: rgba(246, 250, 245, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
    font-size: 25px;
  }

  .resource-entry-copy {
    gap: 7px;
  }

  .resource-entry-copy .number {
    color: #d96658;
    font-size: 20px;
    font-weight: 950;
  }

  .resource-entry-copy strong {
    max-width: 5.8em;
    font-size: 18px !important;
    line-height: 1.18;
  }

  .resource-detail-grid,
  .major-detail-grid,
  .freebie-grid,
  .profit-grid,
  .check-grid,
  .pack-grid,
  .timeline,
  .collection-grid,
  .product-board {
    gap: 14px;
  }

  .resource-panel,
  .resource-category-panel,
  .freebie-card,
  .profit-card,
  .check-card,
  .pack-card,
  .timeline article,
  .collection-card,
  .product-card,
  .market-category,
  .shop-item {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 48px rgba(52, 67, 84, 0.1);
  }

  .resource-panel,
  .resource-category-panel,
  .freebie-card,
  .profit-card,
  .check-card,
  .pack-card,
  .timeline article {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .resource-entry-grid {
    scrollbar-color: #4a8e4d rgba(82, 111, 96, 0.12);
    scrollbar-width: thin;
  }

  .resource-entry-grid::-webkit-scrollbar {
    display: block !important;
    height: 8px;
  }

  .resource-entry-grid::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(82, 111, 96, 0.12);
  }

  .resource-entry-grid::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: linear-gradient(90deg, #4a8e4d, #87b78f);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
  }
}

@media (max-width: 520px) {
  .hero {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 720px;
    padding: 14px;
  }

  .hero > img {
    position: relative !important;
    z-index: 0;
    grid-row: 1;
    align-self: stretch;
    width: 100%;
    height: 100% !important;
    min-height: 360px;
    max-height: 430px;
    border-radius: 24px;
    object-fit: cover;
    object-position: center center;
  }

  .hero-overlay {
    display: none;
  }

  .hero-content {
    position: relative;
    z-index: 1;
    grid-row: 2;
    width: 100%;
    margin: 12px 0 0;
  }
}

body,
.section,
.shop-market,
.market-shell,
.collection-card,
.collection-card.hot,
.resource-entry-card,
.interaction-entry-card,
.product-card,
.freebie-card,
.resource-card,
.check-card,
.pack-card,
.modal-panel {
  background: #fff !important;
}

.collection-carousel-frame {
  position: relative;
  scroll-margin-top: 132px;
}

.collection-side-arrow {
  display: none;
}

.topic-note {
  display: none !important;
}

.collection-preview-card,
.topic-chip {
  text-align: center;
}

.collection-preview-card strong,
.collection-preview-card span {
  width: 100%;
  text-align: left;
}

.collection-head {
  justify-content: flex-start;
}

.collection-keyword-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px 8px;
}

.topic-chip {
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding-right: 10px;
  padding-left: 10px;
  line-height: 1.18;
}

@media (max-width: 520px) {
  .topbar {
    position: sticky !important;
    top: 0;
    z-index: 30;
  }

  body {
    background: #fff !important;
  }

  .section,
  .shop-market,
  .footer {
    background: #fff !important;
  }

  .collection-carousel-frame {
    position: relative;
    padding: 0;
  }

  .collection-carousel-controls {
    display: grid;
    position: relative;
    z-index: 18;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    align-items: center;
    margin: 0 0 12px;
    padding: 6px 0 5px;
    border: 0;
    border-bottom: 1px solid rgba(220, 229, 234, 0.82);
    background: #fff !important;
    pointer-events: auto;
  }

  .collection-tab-track {
    display: flex !important;
    gap: 10px;
    overflow-x: auto;
    padding: 0 22px 9px;
    scrollbar-color: rgba(232, 93, 79, 0.72) rgba(220, 229, 234, 0.72);
    scrollbar-width: thin;
    scroll-padding-inline: 22px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .collection-tab-track::-webkit-scrollbar {
    display: block;
    height: 4px;
  }

  .collection-tab-track::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(220, 229, 234, 0.72);
  }

  .collection-tab-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(232, 93, 79, 0.72);
  }

  .collection-tab {
    flex: 0 0 auto;
    scroll-snap-align: center;
    min-height: 30px;
    padding: 0 1px;
    font-size: 14px;
    line-height: 1;
    pointer-events: auto;
  }

  .collection-arrow {
    display: none !important;
  }

  .collection-arrow-prev {
    left: auto;
  }

  .collection-arrow-next {
    right: auto;
  }

  .collection-grid > .collection-card.is-carousel-active,
  .collection-grid > .collection-card.category-combo.is-carousel-active {
    position: relative;
    padding: 18px 10px;
    border-color: rgba(220, 229, 234, 0.8);
    background: #fff !important;
    box-shadow: 0 8px 22px rgba(31, 45, 61, 0.06);
  }

  .collection-head {
    justify-content: center;
    align-items: center;
    min-height: 70px;
    padding: 0 88px 14px;
    text-align: center;
  }

  .collection-head h3 {
    text-align: center;
    font-size: 18px !important;
    line-height: 1.12 !important;
    white-space: nowrap !important;
  }

  .collection-head .shop-icon {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    font-size: 22px !important;
    line-height: 1 !important;
    transform: translateY(7px);
  }

  .collection-side-arrow {
    position: absolute;
    top: 82px;
    z-index: 9;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    background: linear-gradient(180deg, #edae9a 0%, #dd7764 100%);
    color: #fff;
    font-size: 0;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 5px 14px rgba(221, 119, 100, 0.28);
    text-shadow: none;
  }

  .collection-side-arrow::before {
    font-size: 32px;
    font-weight: 900;
    line-height: 1;
  }

  .collection-side-arrow-prev {
    left: clamp(72px, 22vw, 94px);
  }

  .collection-side-arrow-prev::before {
    content: "←";
  }

  .collection-side-arrow-next {
    right: clamp(72px, 22vw, 94px);
  }

  .collection-side-arrow-next::before {
    content: "→";
  }

  .collection-preview-feed {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .collection-preview-card {
    padding: 6px;
    text-align: left;
  }

  .collection-preview-card strong {
    min-height: 40px;
    font-size: 13px;
    line-height: 1.28;
    text-align: left;
  }

  .collection-preview-card span {
    font-size: 13px;
    text-align: left;
  }

  .collection-keyword-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 8px;
  }

  .topic-chip {
    min-height: 42px;
    padding: 8px 6px;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .collection-side-arrow {
    top: 76px !important;
    width: 36px !important;
    height: 36px !important;
    border: 2px solid rgba(255, 255, 255, 0.92) !important;
    border-radius: 50% !important;
    background: linear-gradient(180deg, #eca894 0%, #d66f5d 100%) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(220, 116, 98, 0.18) !important;
    text-shadow: none !important;
  }

  .collection-side-arrow::before {
    display: block;
    color: #fff;
    font-size: 23px;
    font-weight: 900;
    line-height: 1;
  }

  .collection-side-arrow-prev {
    left: 8px !important;
  }

  .collection-side-arrow-prev::before {
    content: "←";
  }

  .collection-side-arrow-next {
    right: 8px !important;
  }

  .collection-side-arrow-next::before {
    content: "→";
  }
}

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

.interaction-entry-card {
  min-height: 176px;
  padding: 18px;
  border: 1px solid rgba(220, 229, 234, 0.72);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(52, 67, 84, 0.1);
}

.interaction-entry-card .wall-page-link {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #3aa34d 0%, #218a38 100%);
  box-shadow: 0 10px 22px rgba(33, 138, 56, 0.18);
}

@media (max-width: 520px) {
  .interaction-entry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .interaction-entry-card {
    gap: 18px;
    min-height: 166px;
    padding: 14px;
    border-radius: 22px;
    background: #fff !important;
    box-shadow: 0 12px 30px rgba(52, 67, 84, 0.1);
    backdrop-filter: none;
  }

  .interaction-feature {
    align-items: center;
    gap: 10px;
  }

  .interaction-feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 25px;
  }

  .interaction-feature-text {
    gap: 3px;
  }

  .interaction-feature-text strong {
    font-size: 20px !important;
    line-height: 1.12;
    white-space: nowrap;
  }

  .interaction-feature-text span {
    font-size: 12px;
    line-height: 1.25;
    white-space: nowrap;
  }

  .interaction-entry-card .wall-page-link {
    min-height: 46px;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 950;
  }
}

@media (max-width: 520px) {
  body {
    background: #f7f8f6 !important;
  }

  .topbar {
    min-height: 86px !important;
    padding: 14px 14px 10px !important;
    border-bottom: 0 !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(31, 45, 61, 0.04);
    backdrop-filter: none !important;
  }

  .topbar .brand {
    flex: 1 1 auto;
    min-height: 54px;
    padding: 0 18px;
    border-radius: 18px;
    background: #f4f5f3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .topbar .brand span {
    color: #0f141a;
    font-size: 20px;
    font-weight: 950;
  }

  .topbar .brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .topbar .nav,
  .topbar .ghost-button {
    display: none !important;
  }

  .mobile-home-brand {
    display: grid;
    gap: 20px;
    width: calc(100vw - 28px);
    margin: 14px auto 18px;
    padding: 22px 24px 26px;
    border: 1px solid rgba(220, 229, 234, 0.62);
    border-radius: 28px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 247, 0.9)),
      #fff;
    box-shadow: 0 16px 38px rgba(52, 67, 84, 0.1);
  }

  .mobile-home-brand-head {
    display: flex;
    align-items: center;
    gap: 18px;
  }

  .mobile-home-brand-mark {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(27, 154, 114, 0.18);
  }

  .mobile-home-brand-head strong {
    color: #0f141a;
    font-size: 26px;
    font-weight: 950;
    line-height: 1.1;
  }

  .mobile-home-links {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #111820;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
  }

  .mobile-home-links span {
    color: #6f7881;
    font-weight: 400;
  }

  .hero {
    width: calc(100vw - 28px);
    margin: 0 auto 18px;
    padding: 22px !important;
    border: 10px solid rgba(225, 238, 229, 0.82);
    border-radius: 32px;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(52, 67, 84, 0.1);
  }

  .hero-content {
    display: grid;
    gap: 18px;
    min-height: 230px;
    align-content: center;
    padding: 34px 10px;
    border: 1px solid rgba(220, 229, 234, 0.7);
    border-radius: 24px;
    background: #fff;
    text-align: left;
  }

  .hero-content h1 {
    max-width: none;
    margin: 0;
    color: #000;
    font-size: 34px !important;
    line-height: 1.12;
    font-weight: 950;
    text-align: left;
    white-space: nowrap;
  }

  .hero-copy {
    margin: 0;
    color: #050505;
    font-size: 24px !important;
    line-height: 1.25;
    font-weight: 950;
    text-align: left;
  }

  .hero-copy .desktop-copy {
    display: none !important;
  }

  .hero-copy .mobile-copy {
    display: block !important;
    white-space: nowrap;
  }

  .hero-actions,
  .hero-stats {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .fortune-panel {
    width: min(320px, calc(100vw - 56px));
    max-height: 72vh;
    padding: 10px;
    border-radius: 16px;
  }

  .fortune-panel h2 {
    margin-right: 92px;
    font-size: 21px !important;
    line-height: 1.12;
  }

  .fortune-note {
    margin: -4px 0 8px;
    font-size: 13px;
    line-height: 1.45;
  }

  .fortune-image-frame {
    width: min(72vw, 240px);
    min-height: 0;
    height: auto;
    aspect-ratio: 1086 / 1448;
    margin: 0 auto;
    border-radius: 14px;
  }

  .fortune-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .fortune-panel .secondary-button {
    min-height: 40px;
    margin-top: 8px;
  }
}

@media (max-width: 520px) {
  .mobile-home-brand {
    display: none !important;
  }

  .topbar {
    width: calc(100vw - 28px) !important;
    min-height: 112px !important;
    margin: 14px auto 18px !important;
    padding: 16px 20px 18px !important;
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px 18px !important;
    align-items: center !important;
    border: 1px solid rgba(220, 229, 234, 0.62) !important;
    border-radius: 28px !important;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 247, 0.9)),
      #fff !important;
    box-shadow: 0 16px 38px rgba(52, 67, 84, 0.1) !important;
    backdrop-filter: none !important;
  }

  .topbar .brand {
    grid-column: 1 / -1;
    display: flex !important;
    min-height: 50px !important;
    padding: 0 !important;
    gap: 34px !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .topbar .brand-mark {
    width: 58px !important;
    height: 58px !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 28px rgba(27, 154, 114, 0.18);
  }

  .topbar .brand span {
    color: #0f141a !important;
    font-size: 22px !important;
    font-weight: 950 !important;
    line-height: 1.1;
  }

  .topbar .nav {
    grid-column: 1 / -1;
    display: flex !important;
    gap: 12px !important;
    overflow-x: auto;
    color: #4b5865;
    font-size: 13px !important;
    font-weight: 900;
    white-space: nowrap;
  }

  .topbar .ghost-button {
    display: none !important;
  }

  .hero {
    width: calc(100vw - 28px);
    margin: 0 auto 18px;
    padding: 24px !important;
    border: 10px solid rgba(225, 238, 229, 0.82);
    border-radius: 32px;
    background: #fff !important;
    box-shadow: 0 18px 42px rgba(52, 67, 84, 0.1);
  }

  .hero-content {
    display: grid;
    gap: 18px;
    min-height: 330px;
    align-content: center;
    padding: 36px 24px;
    border: 1px solid rgba(220, 229, 234, 0.7);
    border-radius: 24px;
    background: #fff;
    text-align: left;
  }

  .hero-content h1 {
    max-width: none;
    margin: 0;
    color: #000;
    font-size: 31px !important;
    line-height: 1.16;
    font-weight: 950;
    text-align: left;
    white-space: normal;
  }

  .hero-copy {
    margin: 0;
    color: #657384;
    font-size: 17px !important;
    line-height: 1.75;
    font-weight: 500;
    text-align: left;
  }

  .hero-copy .desktop-copy {
    display: none !important;
  }

  .hero-copy .mobile-copy {
    display: block !important;
    white-space: normal;
  }

  .hero-actions,
  .hero-stats {
    display: flex !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 4px 0 0 !important;
  }

  .hero-jump-link {
    border-radius: 999px;
    background: #5a9154;
  }

  .hero-stats {
    margin-top: 0;
  }

  .hero-stat-button,
  .hero-stat-button:hover {
    width: 100%;
    min-height: 50px;
    border-radius: 999px;
  }
}

.fortune-tap-hand {
  position: absolute;
  right: 18px;
  bottom: -7px;
  width: 42px;
  height: 42px;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 6px 8px rgba(128, 61, 24, 0.28));
  transform-origin: 60% 70%;
  animation: fortuneTapHand 1.05s ease-in-out infinite;
}

@keyframes fortuneTapHand {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg) scale(1);
  }

  45% {
    transform: translate3d(-6px, -7px, 0) rotate(-14deg) scale(1.08);
  }

  62% {
    transform: translate3d(-2px, -2px, 0) rotate(-5deg) scale(0.96);
  }
}

.hero {
  min-height: auto;
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero-overlay {
  display: none;
}

.mobile-hero-title {
  display: none;
}

.pdd-emphasis {
  color: #e85d4f;
  font-weight: 950;
}

.modal-product-image-link,
.modal-product-title-link {
  color: inherit;
  text-decoration: none;
}

.modal-product-image-link {
  display: block;
}

.modal-product-image-link img {
  display: block;
  width: 100%;
}

.hero-stat-button,
.hero-stat-button:hover {
  border: 0;
  background:
    linear-gradient(180deg, #ffb14a 0%, #ff8a1f 54%, #f27613 100%);
  color: #fff;
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.34),
    0 14px 24px rgba(242, 118, 19, 0.28);
}

.fortune-button-text {
  color: #fff;
  text-shadow: 0 1px 2px rgba(132, 58, 10, 0.22);
}

@media (max-width: 520px) {
  .hero {
    display: block;
    min-height: auto;
    padding: 14px;
  }

  .hero-content {
    width: 100%;
    margin: 0;
  }

  .hero-stat-button,
  .hero-stat-button:hover {
    width: 100%;
    min-height: 48px;
    padding: 8px 58px 8px 24px;
    background:
      linear-gradient(180deg, #ffb14a 0%, #ff8a1f 54%, #f27613 100%);
    color: #fff;
    box-shadow:
      inset 0 2px 0 rgba(255, 255, 255, 0.34),
      0 12px 20px rgba(242, 118, 19, 0.28);
  }

  .fortune-button-text {
    color: #fff;
    font-size: 17px;
  }

  .fortune-tap-hand {
    right: 12px;
    bottom: -8px;
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 520px) {
  .hero {
    display: block !important;
    min-height: 0 !important;
    padding: 14px !important;
  }

  .hero > img,
  .hero-overlay {
    display: none !important;
  }

  .hero-content {
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 520px) {
  .topbar {
    min-height: 82px !important;
    padding: 12px 14px 10px !important;
  }

  .topbar .brand {
    min-height: 34px !important;
    gap: 12px !important;
    align-items: center !important;
  }

  .topbar .brand-mark {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }

  .topbar .brand span {
    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
  }

  .hero-content h1 {
    font-size: 30px !important;
    line-height: 1.18 !important;
    white-space: nowrap !important;
  }

  .desktop-hero-title {
    display: none !important;
  }

  .mobile-hero-title {
    display: inline !important;
  }
}

@media (max-width: 520px) {
  .entertainment-band .resource-entry-grid,
  .freebie-band .resource-entry-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 0 !important;
    scroll-snap-type: none !important;
  }

  .major-info .resource-entry-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 0 !important;
    scroll-snap-type: none !important;
  }

  .entertainment-band .resource-entry-grid::-webkit-scrollbar,
  .freebie-band .resource-entry-grid::-webkit-scrollbar,
  .major-info .resource-entry-grid::-webkit-scrollbar {
    display: none !important;
  }

  .entertainment-band .resource-entry-card,
  .freebie-band .resource-entry-card,
  .major-info .resource-entry-card {
    min-width: 0 !important;
    min-height: 92px !important;
    padding: 8px 4px !important;
    border-radius: 16px !important;
    scroll-snap-align: none !important;
  }

  .entertainment-band .resource-entry-card .resource-icon,
  .freebie-band .resource-entry-card .resource-icon,
  .major-info .resource-entry-card .resource-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 11px !important;
    font-size: 16px !important;
  }

  .entertainment-band .resource-entry-copy,
  .freebie-band .resource-entry-copy,
  .major-info .resource-entry-copy {
    gap: 4px !important;
  }

  .entertainment-band .resource-entry-copy .number,
  .freebie-band .resource-entry-copy .number,
  .major-info .resource-entry-copy .number {
    font-size: 13px !important;
  }

  .entertainment-band .resource-entry-copy strong,
  .freebie-band .resource-entry-copy strong,
  .major-info .resource-entry-copy strong {
    max-width: 5.8em !important;
    font-size: 11px !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 520px) {
  .collection-head .shop-icon {
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  .collection-side-arrow {
    top: 76px !important;
    width: 48px !important;
    height: 48px !important;
  }

  .collection-side-arrow::before {
    font-size: 28px !important;
  }
}

@media (max-width: 520px) {
  .purchase-preview-panel {
    padding-right: 22px !important;
    padding-left: 22px !important;
  }

  .collection-products {
    gap: 12px !important;
  }

  .modal-product-body {
    padding: 9px 12px 10px !important;
  }

  .modal-product-body h3,
  .modal-product-title-link {
    font-size: 14px !important;
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
  }

  .modal-product-price {
    font-size: 12px !important;
  }

  .modal-product-body .tag {
    font-size: 11px !important;
  }

  .modal-product-perks span {
    min-height: 20px !important;
    padding: 2px 4px !important;
    font-size: 9.5px !important;
  }

  .modal-product-body .primary-button,
  .modal-product-body .secondary-button {
    min-height: 28px !important;
    padding: 6px 8px !important;
    font-size: 10px !important;
  }
}

@media (max-width: 520px) {
  .personality-modal {
    padding: 10px !important;
    place-items: center !important;
  }

  .personality-panel {
    width: min(82vw, 330px) !important;
    max-height: 84dvh !important;
    margin: 0 auto !important;
    padding: 16px 14px !important;
    border-radius: 14px !important;
  }

  .personality-panel h2 {
    max-width: calc(100% - 58px) !important;
    margin-right: 58px !important;
    font-size: 16px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }

  .personality-copy {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  .personality-form {
    justify-items: center;
    gap: 10px !important;
    margin-top: 12px !important;
  }

  .personality-progress,
  .personality-question,
  .personality-nav {
    width: 88%;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .personality-question {
    padding: 12px 10px !important;
    text-align: center;
  }

  .personality-question > strong {
    font-size: 16px !important;
    line-height: 1.32 !important;
  }

  .personality-options {
    justify-items: center;
  }

  .personality-option {
    width: 90% !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }

  .personality-nav {
    justify-content: center;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .personality-nav .primary-button,
  .personality-nav .secondary-button {
    min-height: 40px !important;
    padding: 9px 8px !important;
    font-size: 12px !important;
  }
}

