:root {
  --paper: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --red: #ff3b30;
  --coral: #f07b58;
  --teal: #007aff;
  --yellow: #f2c14e;
  --navy: #111827;
  --soft: #fbfbfd;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg,
video {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(245, 245, 247, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  background: #1d1d1f;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: #424245;
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--red);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: clamp(42px, 8vw, 94px) clamp(18px, 5vw, 72px) 38px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 700;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 720px;
  color: #42505a;
  font-size: clamp(16px, 2vw, 20px);
}

.lead.compact {
  font-size: 17px;
}

.hero-actions,
.action-strip,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  text-align: center;
  overflow-wrap: anywhere;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.button.primary {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
}

.button.secondary {
  color: var(--teal);
  background: rgba(0, 122, 255, 0.08);
}

.button.icon {
  color: var(--teal);
  background: rgba(0, 122, 255, 0.08);
}

.button.small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 14px;
}

.notice-inline {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-board {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.board-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
  background:
    linear-gradient(90deg, rgba(43, 138, 131, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(43, 138, 131, 0.1) 1px, transparent 1px),
    #f9f4e8;
  background-size: 26px 26px;
}

.onokun-hero-image {
  width: min(78%, 270px);
  max-height: 310px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(37, 49, 59, 0.16));
}

.shirt-art {
  position: relative;
  display: grid;
  place-items: center;
  width: 190px;
  height: 210px;
  color: #fff;
  background: var(--red);
  clip-path: polygon(20% 0, 38% 0, 45% 12%, 55% 12%, 62% 0, 80% 0, 100% 22%, 84% 38%, 78% 30%, 78% 100%, 22% 100%, 22% 30%, 16% 38%, 0 22%);
  box-shadow: 0 14px 28px rgba(217, 77, 54, 0.24);
}

.shirt-art.large {
  width: min(78vw, 330px);
  height: 360px;
}

.shirt-neck {
  position: absolute;
  top: 16px;
  width: 48px;
  height: 28px;
  border-radius: 0 0 30px 30px;
  background: var(--paper);
}

.shirt-label {
  max-width: 118px;
  text-align: center;
  font-weight: 800;
  line-height: 1.25;
}

.mini-people {
  position: absolute;
  right: 32px;
  bottom: 28px;
  display: flex;
}

.mini-people span {
  width: 34px;
  height: 34px;
  margin-left: -8px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--yellow);
}

.mini-people span:nth-child(2) {
  background: var(--teal);
}

.mini-people span:nth-child(3) {
  background: var(--coral);
}

.mini-people span:nth-child(4) {
  background: var(--navy);
}

.board-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.board-stats div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.board-stats div:last-child {
  border-right: 0;
}

.board-stats strong,
.board-stats span {
  display: block;
}

.board-stats strong {
  font-size: 28px;
  line-height: 1;
}

.board-stats span {
  color: var(--muted);
  font-size: 13px;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.ticker div {
  padding: 18px;
  background: var(--surface);
}

.ticker span,
.ticker strong {
  display: block;
}

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

.ticker strong {
  color: var(--navy);
  font-size: 30px;
  line-height: 1.2;
}

.section {
  padding: clamp(60px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.page-hero {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 62px);
  background: var(--paper);
}

.page-hero h1 {
  max-width: 980px;
}

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

.portal-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(37, 49, 59, 0.08);
}

.portal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.portal-card h2 {
  margin-top: 18px;
  font-size: clamp(22px, 3vw, 31px);
}

.portal-card strong {
  margin-top: auto;
  color: var(--teal);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

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

.filter,
.size {
  min-width: 44px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
}

.filter.active,
.size.active {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
}

.ranking-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -6px 0 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ranking-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ranking-group span,
.category-select {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.rank-sort {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  cursor: pointer;
}

.rank-sort.active {
  border-color: var(--teal);
  color: #fff;
  background: var(--teal);
}

.category-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.category-filter {
  min-height: 36px;
  border-radius: 8px;
  background: var(--soft);
}

.ranking-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
}

.ranking-note strong {
  color: var(--teal);
  white-space: nowrap;
}

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

.challenge-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  min-height: 560px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
}

.challenge-card.hidden {
  display: none;
}

.challenge-image {
  position: relative;
  display: flex;
  align-items: end;
  padding: 18px;
  color: #fff;
  font-weight: 800;
  background: var(--navy);
}

.challenge-image::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
}

.challenge-image span {
  position: relative;
  font-size: 24px;
}

.image-bousai {
  background: var(--red);
}

.image-links {
  background: var(--teal);
}

.image-onokun {
  background: var(--navy);
}

.image-art {
  background: linear-gradient(135deg, var(--red), var(--teal));
}

.revo-art-hero {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 250, 0.82)),
    url("onokun-a.jpeg") right 12% center / min(34vw, 380px) auto no-repeat;
}

.revo-map {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.revo-map article {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.revo-map span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: var(--teal);
}

.revo-map h3 {
  margin: 18px 0 8px;
}

.revo-map a {
  margin-top: auto;
  color: var(--teal);
  font-weight: 800;
}

.authority-hero {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.94), rgba(245, 245, 247, 0.86)),
    radial-gradient(circle at 82% 18%, rgba(0, 122, 255, 0.14), transparent 32%);
}

.authority-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: 22px;
  align-items: start;
}

.authority-profile {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  font-size: 34px;
  font-weight: 900;
}

.authority-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.authority-tags span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  background: var(--soft);
}

.authority-main {
  min-width: 0;
}

.compact-head {
  margin-bottom: 16px;
}

.link-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.link-hub-card {
  display: flex;
  flex-direction: column;
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.link-hub-card span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: var(--teal);
}

.link-hub-card.primary-link span {
  background: var(--red);
}

.link-hub-card h3 {
  margin-top: 18px;
}

.link-hub-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.representative-links {
  padding-top: 26px;
}

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

.official-backlinks a {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.official-backlinks span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.official-backlinks strong {
  font-size: 22px;
  line-height: 1.2;
}

.official-backlinks p {
  margin: 0;
  color: var(--muted);
}

.official-sns-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.official-sns-row a {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--teal);
  background: #fff;
  font-size: 13px;
  font-weight: 900;
}

.challenge-content {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

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

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.status.open {
  background: var(--red);
}

.status.next {
  background: var(--teal);
}

.status.done {
  background: var(--navy);
}

.step {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: auto 0 12px;
}

.metrics span {
  min-height: 62px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  background: var(--soft);
}

.metrics strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.15;
}

.progress {
  height: 10px;
  border-radius: 999px;
  background: #e8dfcd;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.next-note {
  margin: 10px 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.band {
  background: var(--soft);
}

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

.cycle-step {
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.step-num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #fff;
  background: var(--red);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: start;
}

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

.timeline-item {
  padding: 16px;
  border-left: 5px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.timeline-item.active {
  border-left-color: var(--red);
}

.timeline-item span {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
}

.timeline-item strong {
  display: block;
}

.timeline-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.detail-side {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  position: sticky;
  top: 92px;
}

.counter-card,
.report-cell {
  min-height: 116px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.counter-card span,
.report-cell span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.counter-card strong,
.report-cell strong {
  display: block;
  margin-top: 8px;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.2;
}

.counter-card.link-card {
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.counter-card.link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.product-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 36px;
  align-items: center;
  background: #fff;
}

.shop-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 62px);
  align-items: start;
  padding: clamp(42px, 7vw, 86px) clamp(18px, 5vw, 72px);
  background: var(--paper);
}

.shop-gallery {
  display: grid;
  gap: 14px;
}

.tshirt-mockup {
  display: grid;
  place-items: center;
  min-height: 580px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 28px 28px;
}

.mock-shirt {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  width: min(80vw, 360px);
  height: 440px;
  padding-top: 78px;
  color: #fff;
  background: #1d3557;
  clip-path: polygon(18% 0, 36% 0, 44% 12%, 56% 12%, 64% 0, 82% 0, 100% 20%, 83% 38%, 77% 31%, 77% 100%, 23% 100%, 23% 31%, 17% 38%, 0 20%);
  filter: drop-shadow(0 18px 24px rgba(37, 49, 59, 0.18));
}

.mock-shirt::before {
  content: "";
  position: absolute;
  top: 16px;
  width: 74px;
  height: 42px;
  border-radius: 0 0 40px 40px;
  background: #fff;
}

.mock-shirt img {
  width: 140px;
  height: 190px;
  border: 5px solid #fff;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
}

.mock-shirt span {
  margin-top: 22px;
  padding: 8px 12px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  font-weight: 900;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.thumb {
  display: grid;
  place-items: center;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.thumb.active {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 77, 54, 0.14);
}

.thumb img {
  width: 52px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.shop-summary {
  padding-top: 8px;
}

.price-block {
  display: grid;
  gap: 2px;
  margin: 22px 0 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.price-block span,
.price-block small {
  color: var(--muted);
}

.price-block strong {
  color: var(--ink);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.buy-panel {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

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

.shop-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 18px;
}

.share-lab {
  background: #fff;
}

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

.share-card {
  min-height: 280px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  overflow-wrap: anywhere;
}

.share-button svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: currentColor;
}

.share-button.x {
  background: #111;
}

.share-button.threads {
  background: #000;
}

.share-button.line {
  background: #06c755;
}

.share-button.instagram {
  background: #c13584;
}

.share-button.facebook {
  background: #1877f2;
}

.share-button.copy {
  background: var(--teal);
}

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

.social-format-grid span {
  display: grid;
  place-items: center;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.canva-preview {
  display: grid;
  grid-template-columns: 1fr 0.68fr 1fr;
  gap: 10px;
  align-items: end;
  margin: 18px 0;
}

.canva-preview span {
  display: grid;
  place-items: center;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(0, 122, 255, 0.14), rgba(255, 59, 48, 0.12)),
    #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.canva-preview span:nth-child(2) {
  min-height: 150px;
}

.disabled-link,
.disabled-link:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.copy-text {
  min-height: 150px;
  margin: 8px 0 12px;
  background: #fff;
}

.embed-card pre {
  overflow-x: auto;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-size: 13px;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  margin-top: 16px;
  border: 8px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(90deg, var(--ink) 12px, transparent 12px) 14px 18px / 28px 28px,
    linear-gradient(var(--ink) 12px, transparent 12px) 18px 14px / 28px 28px,
    #fff;
  color: var(--red);
  font-weight: 900;
}

.seo-section {
  background: var(--paper);
}

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

.clean-list li + li {
  margin-top: 8px;
}

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

.product-visual {
  display: grid;
  place-items: center;
  min-height: 460px;
  border-radius: 8px;
  background: var(--soft);
}

.product-info {
  max-width: 700px;
}

.product-meta,
.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.product-meta span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 700;
}

.privilege-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.privilege-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 999px;
  color: var(--teal);
  background: rgba(0, 122, 255, 0.08);
  font-weight: 800;
  font-size: 13px;
}

.story-section {
  background: #fff;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}

.story-copy {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.story-cards {
  display: grid;
  gap: 12px;
}

.story-cards div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.story-cards strong,
.story-cards span {
  display: block;
}

.story-cards strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.story-cards span {
  color: var(--muted);
}

.merch-system {
  background: var(--paper);
}

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

.merch-card {
  min-height: 280px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.merch-card.featured {
  background: #1d1d1f;
  color: #fff;
}

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

.merch-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.logo-sample,
.merch-icon {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 18px;
  border-radius: 18px;
  font-weight: 900;
}

.logo-sample {
  color: #1d1d1f;
  background: #fff;
  font-size: 32px;
}

.merch-icon {
  color: #fff;
  background: var(--teal);
}

.cap-icon {
  border-radius: 999px 999px 18px 18px;
}

.bag-icon {
  border-radius: 22px;
  background: #34c759;
}

.sticker-icon {
  background: #ff9500;
}

.license-privilege {
  background: #fff;
}

.privilege-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.privilege-panel p {
  color: var(--muted);
}

.privilege-panel img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 20px 24px rgba(0, 0, 0, 0.12));
}

.license-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.license-benefits span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  font-size: 13px;
}

.designer-hero {
  background: linear-gradient(180deg, var(--paper), #fff);
}

.challenger-hero {
  background: linear-gradient(180deg, #fff, var(--paper));
}

.designer-value {
  background: #fff;
}

.challenger-money {
  background: #fff;
}

.money-hero {
  background: linear-gradient(180deg, #fff, var(--paper));
}

.money-flow-section {
  background: #fff;
}

.money-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.money-step {
  position: relative;
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.money-step::after {
  content: "";
  position: absolute;
  top: 44px;
  right: -10px;
  width: 18px;
  height: 18px;
  border-top: 3px solid var(--line);
  border-right: 3px solid var(--line);
  transform: rotate(45deg);
  background: var(--surface);
}

.money-step:last-child::after {
  content: none;
}

.money-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
}

.money-step h3 {
  font-size: 22px;
}

.money-step p {
  color: var(--muted);
}

.money-step.return {
  border-color: rgba(255, 59, 48, 0.35);
  background: #fff8f7;
}

.money-step.return span {
  background: var(--red);
}

.money-note {
  background: var(--soft);
}

.dashboard-panel {
  background: #fff;
}

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

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

.dash-card {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.dash-card span,
.dash-card small {
  display: block;
  color: var(--muted);
}

.dash-card strong {
  display: block;
  margin: 10px 0 6px;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
}

.profile-layout,
.referral-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 18px;
  align-items: start;
}

.profile-card,
.qr-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.qr-card p {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.report-article {
  background: #fff;
}

.report-hero-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.45fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.report-hero-card img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.1));
}

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

.designer-card {
  min-height: 320px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.designer-avatar {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: #1d1d1f;
  font-size: 30px;
  font-weight: 900;
}

.designer-avatar.blue {
  background: var(--teal);
}

.designer-avatar.green {
  background: #34c759;
}

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

.designer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.designer-tags span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft);
  font-weight: 800;
  font-size: 12px;
}

.designer-flow {
  background: #fff;
}

.designer-bridge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--soft);
}

.designer-bridge > div {
  max-width: 860px;
}

.designer-bridge p {
  color: var(--muted);
}

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

.report-date {
  color: var(--muted);
  font-size: 14px;
}

.community {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
  background: var(--soft);
}

.license-hero {
  background: linear-gradient(180deg, var(--paper), var(--soft));
}

.license-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
  gap: 34px;
  align-items: center;
}

.license-visual {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.onokun-license-image {
  width: min(82%, 320px);
  max-height: 460px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(37, 49, 59, 0.16));
}

.license-face {
  position: relative;
  width: 210px;
  height: 210px;
  border-radius: 42% 48% 45% 50%;
  background: var(--red);
  box-shadow: 0 18px 38px rgba(217, 77, 54, 0.2);
}

.license-face::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 52%;
  width: 82px;
  height: 42px;
  border: 7px solid #fff;
  border-top: 0;
  border-radius: 0 0 80px 80px;
  transform: translate(-50%, -50%);
}

.license-face span {
  position: absolute;
  top: 68px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
}

.license-face span:first-child {
  left: 58px;
}

.license-face span:last-child {
  right: 58px;
}

.license-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.license-points span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

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

.rule-card {
  min-height: 240px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

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

.badge-wall {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-wall span {
  padding: 10px 14px;
  border: 1px solid #d6b968;
  border-radius: 8px;
  background: #fff6d8;
  font-weight: 800;
}

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

.form-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
}

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

textarea {
  min-height: 120px;
  resize: vertical;
}

.check {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-weight: 500;
}

.check input {
  min-height: 20px;
  margin-top: 4px;
}

.faq {
  background: #fff;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 10px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  color: #fff;
  background: var(--navy);
}

.site-footer p {
  margin-bottom: 0;
}

.footer-links {
  display: grid;
  gap: 4px;
  min-width: min(210px, 100%);
  font-size: 13px;
}

.footer-links a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.7);
}

.legal-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.legal-table div {
  display: grid;
  grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.legal-table div:last-child {
  border-bottom: 0;
}

.legal-table span {
  color: var(--ink);
  font-weight: 900;
}

.legal-table p {
  margin: 0;
  color: var(--muted);
}

.legal-table a {
  color: var(--teal);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.todo-label {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fff3cd;
  color: #7a4d00;
  font-size: 12px;
  line-height: 1.5;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: 320px;
  padding: 12px 14px;
  border-radius: 8px;
  color: #fff;
  background: var(--navy);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .detail-layout,
  .authority-layout,
  .product-section,
  .shop-hero,
  .shop-detail-grid,
  .story-layout,
  .privilege-panel,
  .profile-layout,
  .referral-layout,
  .report-hero-card,
  .community,
  .license-intro,
  .forms {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .challenge-grid,
  .cycle-grid,
  .money-flow,
  .portal-grid,
  .revo-map,
  .link-hub-grid,
  .official-backlinks,
  .share-grid,
  .merch-grid,
  .designer-grid,
  .dashboard-grid,
  .rule-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-side {
    position: static;
  }

  .tshirt-mockup {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  h1 {
    font-size: clamp(34px, 12vw, 48px);
  }

  h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

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

  .ticker,
  .report-grid,
  .challenge-grid,
  .cycle-grid,
  .money-flow,
  .portal-grid,
  .revo-map,
  .link-hub-grid,
  .official-backlinks,
  .share-grid,
  .merch-grid,
  .designer-grid,
  .dashboard-grid,
  .dashboard-grid.compact,
  .rule-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .authority-profile {
    position: static;
  }

  .money-step::after {
    top: auto;
    right: 50%;
    bottom: -10px;
    transform: translateX(50%) rotate(135deg);
  }

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

  .board-stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .board-stats div:last-child {
    border-bottom: 0;
  }

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

  .hero-actions,
  .action-strip,
  .card-actions,
  .shop-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .designer-bridge {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }

  .legal-table div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }

  .share-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-format-grid,
  .canva-preview {
    grid-template-columns: 1fr;
  }

  .canva-preview span,
  .canva-preview span:nth-child(2) {
    min-height: 86px;
  }

  .embed-card pre {
    font-size: 12px;
  }
}
