:root {
  --bg: #efebe3;
  --paper: rgba(252, 247, 238, 0.94);
  --paper-alt: #f3eee2;
  --ink: #111111;
  --muted: #5c5a55;
  --line-strong: #111111;
  --line: rgba(17, 17, 17, 0.16);
  --accent: #ff6038;
  --accent-blue: #1557ff;
  --accent-lime: #c8ff47;
  --accent-soft: #ffe0d7;
  --shadow: 0 22px 48px rgba(17, 17, 17, 0.09), 5px 5px 0 rgba(17, 17, 17, 0.88);
  --shadow-soft: 0 18px 36px rgba(17, 17, 17, 0.08);
  --shadow-mobile: 0 10px 22px rgba(17, 17, 17, 0.08);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 999px;
  --max-width: 1260px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  background:
    radial-gradient(circle at top right, rgba(21, 87, 255, 0.12), transparent 28%),
    radial-gradient(circle at left 20%, rgba(255, 96, 56, 0.08), transparent 26%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 0, rgba(17, 17, 17, 0.05) 72px, transparent 72px, transparent 100%),
    linear-gradient(180deg, #f4f0e8 0%, #efe9dd 100%);
}

body::before {
  content: "QCLAW / SKILLS / DIRECTORY";
  position: fixed;
  top: 120px;
  left: 20px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  font-weight: 900;
  color: rgba(17, 17, 17, 0.38);
  z-index: 0;
}

body.page-home {
  background:
    radial-gradient(circle at 82% 10%, rgba(200, 255, 71, 0.2), transparent 24%),
    radial-gradient(circle at 16% 24%, rgba(21, 87, 255, 0.12), transparent 22%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 0, rgba(17, 17, 17, 0.05) 72px, transparent 72px, transparent 100%),
    linear-gradient(180deg, #f5f1e8 0%, #ece6d8 100%);
}

body.page-library {
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 96, 56, 0.12), transparent 24%),
    radial-gradient(circle at 8% 30%, rgba(21, 87, 255, 0.1), transparent 20%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 0, rgba(17, 17, 17, 0.05) 72px, transparent 72px, transparent 100%),
    linear-gradient(180deg, #f7f2e8 0%, #eee7da 100%);
}

body.page-detail {
  background:
    radial-gradient(circle at 80% 8%, rgba(21, 87, 255, 0.14), transparent 24%),
    radial-gradient(circle at 15% 26%, rgba(255, 96, 56, 0.08), transparent 20%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.05) 0, rgba(17, 17, 17, 0.05) 72px, transparent 72px, transparent 100%),
    linear-gradient(180deg, #f3efe7 0%, #e9e2d6 100%);
}

body.menu-open {
  overflow: hidden;
}

body.search-open {
  overflow: hidden;
}

body.menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(17, 17, 17, 0.18);
  backdrop-filter: blur(4px);
}

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

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

strong {
  font-weight: 900;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(17, 17, 17, 0.08) 1px, transparent 0);
  background-size: 18px 18px;
  opacity: 0.42;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 92%);
}

.page-glow {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(100px);
  opacity: 0.18;
}

.page-glow--one {
  top: -40px;
  right: 12%;
  width: 240px;
  height: 240px;
  background: var(--accent-lime);
}

.page-glow--two {
  top: 380px;
  left: 8%;
  width: 280px;
  height: 280px;
  background: var(--accent-soft);
}

.site-shell,
.section,
.site-footer,
.signal-band {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: calc(0.75rem + env(safe-area-inset-top));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(252, 247, 238, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent));
  color: #fff;
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.9);
}

.brand__text {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.9rem;
  padding: 0.62rem 0.9rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.06);
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.search-trigger:hover {
  transform: translateY(-1px);
  background: rgba(200, 255, 71, 0.72);
}

.search-trigger__hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  padding: 0.24rem 0.45rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.04);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1;
}

.nav-links > a {
  padding: 0.62rem 0.9rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 140ms ease, border-color 140ms ease, color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.nav-links > a:hover,
.nav-links > a.is-current {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(200, 255, 71, 0.72);
  box-shadow: 0 8px 18px rgba(17, 17, 17, 0.08);
}

.nav-toggle {
  display: none;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font-weight: 900;
}

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

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.36);
  backdrop-filter: blur(10px);
}

.search-panel {
  position: relative;
  width: min(calc(100% - 1.25rem), 760px);
  margin: max(5rem, 10vh) auto 0;
  padding: 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(200, 255, 71, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(252, 247, 238, 0.99), rgba(243, 235, 223, 0.99));
  box-shadow: 0 24px 80px rgba(17, 17, 17, 0.24), 5px 5px 0 rgba(17, 17, 17, 0.88);
}

.search-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.search-panel__eyebrow {
  margin: 0 0 0.28rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.search-panel__top h2 {
  max-width: none;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.search-panel__close {
  min-width: 3.6rem;
  min-height: 2.6rem;
  padding: 0.55rem 0.8rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-weight: 900;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.search-input svg {
  width: 1.3rem;
  height: 1.3rem;
  flex: 0 0 auto;
  fill: currentColor;
  color: var(--muted);
}

.search-input input {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  outline: none;
}

.search-input input::placeholder {
  color: rgba(92, 90, 85, 0.86);
}

.search-panel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.2rem 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.search-panel__keys {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.search-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.3rem;
  min-height: 1.95rem;
  padding: 0.25rem 0.55rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
}

.search-results {
  display: grid;
  gap: 0.6rem;
  max-height: min(56vh, 560px);
  margin-top: 0.7rem;
  overflow-y: auto;
  padding-right: 0.15rem;
}

.search-result {
  display: grid;
  grid-template-columns: 44px minmax(0, 1.3fr) minmax(180px, 0.95fr);
  gap: 0.9rem;
  align-items: center;
  width: 100%;
  padding: 0.9rem;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  text-align: left;
  transition: transform 120ms ease, border-color 120ms ease, background-color 120ms ease;
}

.search-result:hover,
.search-result.is-active {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  background: rgba(200, 255, 71, 0.46);
}

.search-result__icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.8);
}

.search-result__icon--skill {
  background: rgba(21, 87, 255, 0.12);
}

.search-result__icon--soul {
  background: rgba(255, 224, 215, 0.9);
}

.search-result__icon--pack {
  background: rgba(200, 255, 71, 0.66);
}

.search-result__icon--safe {
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
}

.search-result__copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.search-result__copy strong {
  font-size: 1rem;
}

.search-result__copy span {
  color: var(--muted);
  font-size: 0.94rem;
}

.search-result__meta {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  min-width: 0;
}

.search-result__badge,
.search-result__external {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.58rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 900;
}

.search-result__section {
  color: var(--muted);
  font-size: 0.86rem;
  text-align: right;
}

.search-empty {
  padding: 1.25rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.section {
  position: relative;
  padding: 4rem 0;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.4rem;
  width: 100%;
  border-top: 1px dashed rgba(17, 17, 17, 0.14);
}

.section:first-of-type::before {
  display: none;
}

.section-panel,
.section-soft {
  padding: 1.6rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(252, 247, 238, 0.95), rgba(242, 235, 223, 0.96));
  box-shadow: var(--shadow-soft);
}

.panel,
.hero__content,
.hero__panel,
.article-card,
.benefit-card,
.info-card,
.tutorial-card,
.timeline-card,
.compare-card,
.cta-card,
.category-card,
.skill-card,
.vertical-card,
.faq-item,
.detail-hero__main,
.detail-hero__side,
.category-section__head,
.side-panel {
  position: relative;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.panel::before,
.hero__content::before,
.hero__panel::before,
.article-card::before,
.benefit-card::before,
.info-card::before,
.tutorial-card::before,
.timeline-card::before,
.compare-card::before,
.cta-card::before,
.category-card::before,
.skill-card::before,
.vertical-card::before,
.detail-hero__main::before,
.detail-hero__side::before,
.category-section__head::before,
.side-panel::before {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 5px 5px, var(--accent) 0 4.5px, transparent 5px),
    radial-gradient(circle at 21px 5px, var(--accent-blue) 0 4.5px, transparent 5px),
    radial-gradient(circle at 37px 5px, var(--accent-lime) 0 4.5px, transparent 5px);
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 2;
}

.hero-stage > *,
.hero-stage__side > *,
.detail-hero > *,
.detail-showcase > *,
.detail-showcase__grid > *,
.detail-layout > *,
.detail-main > *,
.detail-sidebar > *,
.process-grid > *,
.category-grid > *,
.vertical-grid > *,
.feature-grid > *,
.skills-grid > *,
.grouped-skills > *,
.editorial-grid > *,
.benefit-grid > *,
.article-grid > *,
.do-dont-grid > *,
.tutorial-grid > *,
.timeline-grid > *,
.info-grid > *,
.prompt-grid > *,
.detail-info-grid > * {
  min-width: 0;
}

.panel,
.hero__content,
.hero__panel,
.article-card,
.benefit-card,
.info-card,
.tutorial-card,
.timeline-card,
.compare-card,
.cta-card,
.category-card,
.vertical-card,
.side-panel,
.detail-hero__main,
.detail-hero__side,
.category-section__head {
  padding: 1.35rem;
}

.panel-hero {
  padding: 1.8rem;
  background:
    radial-gradient(circle at top right, rgba(21, 87, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(200, 255, 71, 0.26) 0 24%, transparent 24% 100%),
    linear-gradient(180deg, rgba(252, 247, 238, 0.98), rgba(245, 237, 225, 0.98));
  overflow: hidden;
}

.panel-hero::after,
.detail-hero__main::after,
.category-section__head::after,
.vertical-card::after {
  content: "";
  position: absolute;
  inset: auto auto -72px -44px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.7), transparent 70%);
  pointer-events: none;
}

.panel-hero > *,
.detail-hero__main > *,
.category-section__head > *,
.vertical-card > * {
  position: relative;
  z-index: 1;
}

.stack-card {
  padding: 1.25rem;
}

.hero__panel,
.stack-card--accent {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 1), rgba(29, 34, 48, 1));
  color: #ffffff;
}

.detail-hero__main {
  background:
    radial-gradient(circle at top right, rgba(200, 255, 71, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(252, 247, 238, 0.98), rgba(244, 236, 226, 0.98));
  overflow: hidden;
}

.hero__panel p,
.hero__panel li,
.stack-card--accent p,
.stack-card--accent li,
.stack-card--accent .panel-kicker {
  color: rgba(255, 255, 255, 0.88);
}

.stack-card--accent .panel-kicker {
  background: transparent;
  border-color: #ffffff;
}

.hero-stage,
.hero,
.detail-hero,
.detail-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.78fr);
  gap: 1rem;
  align-items: stretch;
}

.hero-stage__side,
.detail-hero__side,
.detail-sidebar,
.detail-main {
  display: grid;
  gap: 1rem;
}

.hero-stage__main h1,
.detail-hero__main h1,
.hero h1,
.hero__content h1 {
  max-width: 10ch;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 0.98;
  letter-spacing: -0.05em;
  font-family: "DIN Alternate", "Avenir Next Condensed", "PingFang SC", sans-serif;
}

h1 {
  font-size: clamp(3.3rem, 8vw, 7.2rem);
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

p,
ul,
ol,
dl {
  margin: 0;
}

.eyebrow,
.panel-kicker,
.panel-badge,
.category-section__label,
.vertical-card__label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.72rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-lime);
}

.panel-kicker {
  background: var(--accent-soft);
}

.panel-badge {
  background: var(--accent-blue);
  color: #fff;
}

.hero-lead,
.hero__lead,
.detail-hero__lead,
.detail-hero__support,
.section-heading p,
.panel p,
.article-card p,
.benefit-card p,
.info-card p,
.tutorial-card p,
.timeline-card p,
.compare-card li,
.category-card p,
.skill-card p,
.side-panel p,
.related-card span,
.site-footer p,
.faq-item p,
.breadcrumb,
.prompt-card p,
.vertical-card__summary,
.detail-side__note {
  color: var(--muted);
}

.hero-lead,
.hero__lead,
.detail-hero__lead {
  margin-top: 1rem;
  max-width: 46rem;
  font-size: 1.05rem;
}

.detail-hero__support {
  margin-top: 0.75rem;
  max-width: 42rem;
}

.detail-side__label {
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-actions,
.hero__actions,
.skill-card__actions,
.footer-links,
.detail-hero__chips,
.chip-row,
.scene-list,
.detail-stats,
.filter-bar,
.scene-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-actions,
.hero__actions,
.stat-strip {
  margin-top: 1.25rem;
}

.industry-rail {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.1rem;
  padding: 0.15rem 0 0.3rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.industry-rail::-webkit-scrollbar {
  display: none;
}

.industry-rail--compact {
  margin-top: 1rem;
}

.industry-chip {
  flex: 0 0 auto;
  display: grid;
  gap: 0.15rem;
  min-width: 11.5rem;
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 241, 231, 0.94));
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.08);
  scroll-snap-align: start;
  transition: transform 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}

.industry-chip strong {
  font-size: 0.96rem;
  font-weight: 900;
}

.industry-chip span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.industry-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(17, 17, 17, 0.1);
  background:
    linear-gradient(180deg, rgba(200, 255, 71, 0.24), rgba(255, 255, 255, 0.96));
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.stat-pill,
.stat-block {
  display: grid;
  gap: 0.18rem;
  padding: 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.stat-pill strong,
.stat-block strong {
  font-size: 1.12rem;
}

.stat-pill span,
.stat-block span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.signal-band {
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.signal-band__track {
  padding: 0.95rem 1rem;
  white-space: nowrap;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: ticker 22s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-12%);
  }
}

.section-heading {
  max-width: 56rem;
}

.section-heading h2 {
  margin-top: 0.8rem;
  max-width: 100%;
}

.section-heading + .process-grid,
.section-heading + .category-grid,
.section-heading + .feature-grid,
.section-heading + .faq-list,
.section-heading + .benefit-grid,
.section-heading + .article-grid,
.section-heading + .do-dont-grid,
.section-heading + .tutorial-grid,
.section-heading + .info-grid,
.section-heading + .timeline-grid,
.section-heading + .vertical-grid {
  margin-top: 1.4rem;
}

.process-grid,
.category-grid,
.entry-grid,
.vertical-grid,
.feature-grid,
.skills-grid,
.grouped-skills,
.editorial-grid,
.benefit-grid,
.article-grid,
.do-dont-grid,
.tutorial-grid,
.timeline-grid,
.info-grid,
.prompt-grid,
.discovery-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-grid,
.editorial-grid,
.benefit-grid,
.article-grid,
.do-dont-grid,
.tutorial-grid,
.vertical-grid,
.discovery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

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

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

.grouped-skills {
  gap: 1.8rem;
}

.process-card,
.editorial-card,
.benefit-card,
.article-card,
.compare-card,
.tutorial-card,
.timeline-card,
.info-card,
.category-card,
.vertical-card,
.cta-card,
.discovery-card {
  padding: 1.3rem;
}

.discovery-card {
  display: grid;
  gap: 0.8rem;
  height: 100%;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(21, 87, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 239, 230, 0.98));
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.84);
  transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.discovery-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(17, 17, 17, 0.9);
  border-color: var(--line-strong);
}

.discovery-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.discovery-card__tag {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.discovery-card strong {
  font-size: 1.08rem;
}

.chip-outline {
  background: transparent;
  border: 2px solid var(--line);
}

.entry-card {
  display: grid;
  gap: 0.85rem;
  height: 100%;
}

.entry-card--primary {
  background:
    radial-gradient(circle at top right, rgba(200, 255, 71, 0.18), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 239, 226, 0.98));
}

.entry-card__meta {
  color: var(--accent-blue);
  font-size: 0.92rem;
  font-weight: 900;
}

.entry-card__hint {
  color: var(--muted);
}

.process-card__index,
.timeline-card__index,
.prompt-card__index,
.category-card__index {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
}

.process-card h3,
.editorial-card h3,
.benefit-card h3,
.category-card h3,
.vertical-card h3,
.skill-card h3,
.detail-panel h2,
.side-panel h3,
.tutorial-card h3,
.timeline-card h3,
.info-card h3,
.article-card h2,
.compare-card h3 {
  margin-top: 0.95rem;
  max-width: 14ch;
}

.category-card__count {
  margin-top: 0.75rem;
  color: var(--accent-blue);
  font-weight: 900;
}

.category-card__preview,
.vertical-card__summary {
  margin-top: 0.45rem;
}

.vertical-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.9rem;
}

.vertical-card {
  background:
    radial-gradient(circle at top right, rgba(21, 87, 255, 0.08), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 239, 230, 0.98));
}

.vertical-card__top h3 {
  margin-top: 0.6rem;
  max-width: none;
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  font-weight: 900;
  color: var(--accent-blue);
}

.category-section {
  display: grid;
  gap: 0.9rem;
}

.category-section__head {
  display: grid;
  gap: 0.9rem;
  background:
    radial-gradient(circle at top right, rgba(21, 87, 255, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(255, 96, 56, 0.12) 0 18%, transparent 18% 100%),
    var(--paper);
}

.skill-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 241, 231, 1));
}

.skill-card--featured {
  background:
    linear-gradient(180deg, rgba(200, 255, 71, 0.2), rgba(255, 255, 255, 1) 30%, rgba(247, 241, 231, 1));
}

.skill-card__eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-card h3 a {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: transparent;
  transition: text-decoration-color 140ms ease, color 140ms ease;
}

.skill-card h3 a:hover {
  color: var(--accent-blue);
  text-decoration-color: var(--accent-blue);
}

.skill-card__summary {
  min-height: 3.2rem;
}

.resource-card__note,
.skill-card__pain,
.prompt-snippet {
  padding: 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
}

.resource-card__note {
  margin: 0;
}

.skill-card__pain {
  position: relative;
}

.skill-card__pain::before {
  content: "痛点";
  position: absolute;
  top: -12px;
  left: 12px;
  padding: 0.12rem 0.5rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: var(--accent-lime);
  font-size: 0.72rem;
  font-weight: 900;
}

.chip,
.scene-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.72rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.chip-brand {
  background: var(--accent-blue);
  color: #fff;
}

.chip-soft,
.scene-pill {
  background: var(--accent-soft);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  font-weight: 900;
  transition: transform 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.86);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.button:hover {
  transform: translateY(-1px);
}

.button-brand {
  background: var(--accent);
  color: #fff;
}

.button-ghost,
.button-muted {
  background: #fff;
  color: var(--ink);
}

.button-small {
  min-height: 2.45rem;
  padding: 0.62rem 0.9rem;
}

.detail-hero__main,
.detail-hero__side {
  padding: 1.5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.detail-stats {
  margin-top: 1rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.76fr);
  gap: 1rem;
}

.detail-showcase__main h1 {
  max-width: 14ch;
}

.detail-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.92fr);
  gap: 1rem;
  margin-top: 1rem;
  align-items: start;
}

.detail-showcase__copy {
  display: grid;
  align-content: start;
}

.detail-cover {
  position: relative;
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(200, 255, 71, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(17, 17, 17, 0.97), rgba(33, 36, 48, 0.98));
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.detail-cover::before {
  content: "";
  position: absolute;
  inset: auto -24px -52px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(21, 87, 255, 0.28), transparent 70%);
  pointer-events: none;
}

.detail-cover__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.detail-cover__filename,
.detail-cover__badge {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-cover__badge {
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.detail-cover__code,
.package-preview__code {
  margin: 0;
  padding: 1rem;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: "SFMono-Regular", "Menlo", "Consolas", monospace;
  font-size: 0.82rem;
  line-height: 1.7;
}

.detail-purchase {
  display: grid;
  gap: 0.95rem;
  align-self: start;
  position: sticky;
  top: calc(5rem + env(safe-area-inset-top));
  background:
    radial-gradient(circle at top right, rgba(255, 96, 56, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(252, 247, 238, 0.98), rgba(245, 237, 225, 0.98));
}

.detail-purchase h2 {
  max-width: none;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.detail-price strong {
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.9;
}

.detail-price span {
  color: var(--muted);
  font-weight: 900;
}

.detail-purchase__meta,
.side-meta-list {
  display: grid;
}

.detail-purchase__row,
.side-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px dashed rgba(17, 17, 17, 0.16);
}

.detail-purchase__row:first-child,
.side-meta-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.detail-purchase__row span,
.side-meta-row span {
  color: var(--muted);
  font-weight: 800;
}

.detail-purchase__row strong,
.side-meta-row strong {
  text-align: right;
}

.detail-checklist {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.15rem;
}

.detail-nav-wrap {
  padding-top: 0.6rem;
  padding-bottom: 0.8rem;
}

.detail-nav-wrap::before {
  display: none;
}

.detail-section-nav {
  display: flex;
  gap: 0.7rem;
  padding: 0.3rem;
  overflow-x: auto;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(252, 247, 238, 0.92);
  box-shadow: var(--shadow-soft);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.detail-section-nav::-webkit-scrollbar {
  display: none;
}

.detail-section-nav a {
  flex: 0 0 auto;
  padding: 0.72rem 0.95rem;
  border: 1.5px solid transparent;
  border-radius: 10px;
  font-weight: 900;
  color: var(--muted);
}

.detail-section-nav a:hover {
  border-color: var(--line-strong);
  background: rgba(200, 255, 71, 0.74);
  color: var(--ink);
}

.detail-layout--store {
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.74fr);
}

.detail-sidebar {
  align-self: start;
  position: sticky;
  top: calc(5rem + env(safe-area-inset-top));
}

.detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.1rem;
}

.detail-info-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-info-card {
  display: grid;
  gap: 0.7rem;
}

.detail-info-card h3 {
  margin-top: 0;
  max-width: none;
}

.package-preview {
  overflow: hidden;
  margin-top: 1rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.98), rgba(33, 36, 48, 0.98));
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.package-preview__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.detail-subtitle {
  margin-top: 1.2rem;
}

.detail-panel,
.side-panel {
  padding: 1.3rem;
}

.clean-list,
.compare-card ul,
.article-card ul {
  padding-left: 1.15rem;
}

.clean-list li,
.compare-card li,
.article-card li {
  margin-bottom: 0.45rem;
}

.step-flow {
  display: grid;
  gap: 0.85rem;
  padding-left: 1.1rem;
}

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

.prompt-card {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 4px 4px 0 #111111;
}

.related-list {
  display: grid;
  gap: 0.8rem;
}

.source-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.safe-stat-card {
  display: grid;
  gap: 0.55rem;
}

.safe-stat-card__value {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-family: "DIN Alternate", "Avenir Next Condensed", "PingFang SC", sans-serif;
}

.safe-board {
  overflow: hidden;
  border: 1.5px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(252, 247, 238, 0.98), rgba(244, 236, 226, 0.98));
  box-shadow: var(--shadow-soft);
}

.safe-board__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px dashed rgba(17, 17, 17, 0.16);
}

.safe-board__copy {
  max-width: 32rem;
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.safe-table {
  display: grid;
}

.safe-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 2.25fr) minmax(120px, 0.95fr) minmax(140px, 1fr) minmax(100px, 0.8fr) minmax(180px, 1.1fr);
  gap: 0.95rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border-top: 1px dashed rgba(17, 17, 17, 0.16);
}

.safe-row--head {
  border-top: 0;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
  background: rgba(17, 17, 17, 0.04);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.safe-row__score,
.safe-row__main,
.safe-row__fact,
.safe-row__action {
  min-width: 0;
}

.safe-row__score {
  display: grid;
  gap: 0.12rem;
}

.safe-row__score strong {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.92;
  letter-spacing: -0.06em;
  font-family: "DIN Alternate", "Avenir Next Condensed", "PingFang SC", sans-serif;
}

.safe-row__score span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.safe-row__main {
  display: grid;
  gap: 0.55rem;
}

.safe-row__main strong {
  font-size: 1.08rem;
}

.safe-row__main p {
  color: var(--muted);
}

.safe-row__note {
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

.safe-row__fact,
.safe-row__action {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.safe-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.42rem 0.78rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.safe-pill--source {
  background: rgba(255, 255, 255, 0.9);
}

.safe-pill--review-pass,
.safe-pill--risk-low {
  background: rgba(200, 255, 71, 0.82);
}

.safe-pill--review-check,
.safe-pill--risk-mid {
  background: rgba(255, 224, 215, 0.9);
}

.safe-pill--review-self {
  background: rgba(21, 87, 255, 0.14);
}

.safe-pill--review-block,
.safe-pill--risk-high {
  background: var(--accent);
  color: #fff;
}

.flag-card h3 {
  max-width: none;
}

.related-card {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  transition: transform 140ms ease, background-color 140ms ease;
}

.related-card:hover {
  transform: translateY(-1px);
  background: var(--accent-lime);
}

.source-card span {
  overflow-wrap: anywhere;
}

.mini-note {
  padding: 0.95rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-weight: 800;
}

.tool-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.search-box {
  display: grid;
  gap: 0.55rem;
  flex: 1 1 auto;
  font-weight: 900;
}

.search-box input {
  width: 100%;
  padding: 0.95rem 1rem;
  font-size: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.86);
}

.result-text {
  font-weight: 900;
}

.filter-chip {
  padding: 0.72rem 0.95rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-weight: 900;
  box-shadow: 2px 2px 0 rgba(17, 17, 17, 0.82);
}

.filter-chip.is-active {
  background: var(--ink);
  color: #fff;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  padding: 1.15rem 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-item p {
  margin-top: 0.8rem;
}

.cta-section {
  padding-bottom: 6rem;
}

.cta-card {
  background:
    linear-gradient(135deg, rgba(17, 17, 17, 1) 0 52%, rgba(21, 87, 255, 0.92) 52% 100%);
  color: #fff;
}

.cta-card p,
.cta-card .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

.cta-card .eyebrow {
  background: transparent;
  border-color: #fff;
}

.compare-card--do {
  background: linear-gradient(180deg, rgba(200, 255, 71, 0.22), rgba(252, 247, 238, 1));
}

.compare-card--dont {
  background: linear-gradient(180deg, rgba(255, 96, 56, 0.18), rgba(252, 247, 238, 1));
}

.empty-state {
  padding: 2rem;
  border: 1.5px dashed var(--line-strong);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
}

.detail-mobile-bar {
  display: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(21, 87, 255, 0.34);
  outline-offset: 2px;
}

.site-footer {
  display: grid;
  gap: 0.95rem;
  padding: 0 0 3rem;
}

.footer-links a {
  color: var(--muted);
  font-weight: 800;
}

.footer-note {
  font-size: 0.95rem;
}

.not-found {
  width: min(calc(100% - 2rem), 760px);
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 380ms ease, transform 380ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  body::before {
    display: none;
  }

  .hero-stage,
  .hero,
  .detail-hero,
  .detail-showcase,
  .detail-showcase__grid,
  .detail-layout,
  .process-grid,
  .info-grid,
  .timeline-grid,
  .prompt-grid,
  .detail-info-grid,
  .detail-info-grid--two {
    grid-template-columns: 1fr;
  }

  .detail-purchase,
  .detail-sidebar {
    position: static;
  }

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

  .feature-grid,
  .editorial-grid,
  .benefit-grid,
  .article-grid,
  .do-dont-grid,
  .tutorial-grid,
  .vertical-grid,
  .discovery-grid,
  .entry-grid,
  .skills-grid,
  .skills-grid--group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .safe-row {
    grid-template-columns: 80px minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  }

  .safe-row__action {
    grid-column: 2 / -1;
  }
}

@media (max-width: 820px) {
  .site-shell,
  .section,
  .site-footer,
  .signal-band {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .site-nav {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: inline-flex;
    min-height: 2.9rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.7rem);
    left: -1.5px;
    right: -1.5px;
    z-index: 40;
    padding: 0.75rem;
    border: 1.5px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(252, 247, 238, 0.98);
    box-shadow: var(--shadow-soft);
  }

  .nav-links.is-open {
    display: grid;
    gap: 0.55rem;
  }

  .industry-rail {
    margin-top: 0.95rem;
    gap: 0.65rem;
  }

  .industry-chip {
    min-width: 10.25rem;
    padding: 0.82rem 0.9rem;
  }

  .nav-links > a {
    width: 100%;
    justify-content: flex-start;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
  }

  .search-trigger {
    width: 100%;
    justify-content: space-between;
    min-height: 3rem;
    padding: 0.8rem 0.95rem;
  }

  .nav-links > a.button {
    justify-content: center;
  }

  .section {
    padding: 3rem 0;
  }

  .section-panel,
  .section-soft {
    padding: 1rem;
  }

  .panel,
  .hero__content,
  .hero__panel,
  .article-card,
  .benefit-card,
  .info-card,
  .tutorial-card,
  .timeline-card,
  .compare-card,
  .cta-card,
  .category-card,
  .skill-card,
  .vertical-card,
  .detail-hero__main,
  .detail-hero__side,
  .category-section__head,
  .side-panel {
    padding: 1.1rem;
    box-shadow: var(--shadow-mobile);
  }

  h1 {
    font-size: clamp(2.5rem, 12vw, 4.3rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
  }

  .tool-row {
    flex-direction: column;
    align-items: stretch;
  }

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

  .hero-actions,
  .hero__actions,
  .skill-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .hero__actions .button,
  .skill-card__actions .button {
    width: 100%;
  }

  .detail-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .detail-hero__chips,
  .chip-row,
  .scene-list,
  .scene-cloud {
    gap: 0.5rem;
  }

  .filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .signal-band__track {
    animation-duration: 18s;
  }

  .detail-section-nav {
    gap: 0.55rem;
    padding: 0.25rem;
  }

  .detail-section-nav a {
    padding: 0.72rem 0.88rem;
  }

  .detail-mobile-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    z-index: 30;
    padding: 0.7rem;
    border: 1.5px solid var(--line-strong);
    border-radius: 16px;
    background: rgba(252, 247, 238, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
  }

  .detail-mobile-bar .button {
    min-height: 3.15rem;
    box-shadow: none;
  }

  .page-detail .site-footer {
    padding-bottom: calc(7rem + env(safe-area-inset-bottom));
  }

  .safe-board__head {
    display: grid;
  }

  .safe-board__copy {
    text-align: left;
  }

  .safe-row--head {
    display: none;
  }

  .safe-row {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 1rem;
  }

  .safe-row > [data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.4rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .safe-row__action {
    grid-column: auto;
  }

  .search-panel {
    width: min(calc(100% - 1rem), 760px);
    margin-top: max(4.25rem, 8vh);
    padding: 0.85rem;
    border-radius: 18px;
  }

  .search-panel__top,
  .search-panel__meta {
    display: grid;
  }

  .search-result {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .search-result__meta {
    grid-column: 2;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 620px) {
  .category-grid,
  .feature-grid,
  .editorial-grid,
  .benefit-grid,
  .article-grid,
  .do-dont-grid,
  .tutorial-grid,
  .vertical-grid,
  .discovery-grid,
  .entry-grid,
  .skills-grid,
  .skills-grid--group,
  .stat-strip,
  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .signal-band__track {
    animation-duration: 16s;
  }

  .site-shell {
    padding-top: calc(0.55rem + env(safe-area-inset-top));
  }

  .site-nav {
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand__mark {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 9px;
  }

  .brand__text {
    font-size: 0.94rem;
  }

  .section::before {
    top: 0.75rem;
  }

  .hero-stage__main h1,
  .detail-hero__main h1,
  .detail-showcase__main h1,
  .hero h1,
  .hero__content h1,
  .section-heading h2,
  .vertical-card__top h3,
  .process-card h3,
  .editorial-card h3,
  .benefit-card h3,
  .category-card h3,
  .skill-card h3,
  .detail-panel h2,
  .side-panel h3,
  .tutorial-card h3,
  .timeline-card h3,
  .info-card h3,
  .article-card h2,
  .compare-card h3 {
    max-width: none;
  }

  .hero-lead,
  .hero__lead,
  .detail-hero__lead {
    font-size: 0.98rem;
  }

  .detail-cover__code,
  .package-preview__code {
    font-size: 0.78rem;
  }

  .detail-price strong {
    font-size: 2.5rem;
  }

  .vertical-card__top {
    flex-direction: column;
  }

  .vertical-card__top .button,
  .tool-row .result-text {
    width: 100%;
  }

  .stat-pill,
  .stat-block,
  .prompt-card,
  .search-box input {
    box-shadow: var(--shadow-mobile);
  }

  .button {
    min-height: 3.15rem;
  }

  .detail-mobile-bar {
    left: 0.6rem;
    right: 0.6rem;
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .faq-item {
    padding: 1rem;
  }

  .search-trigger__hint {
    min-width: 3rem;
    font-size: 0.72rem;
  }

  .search-panel {
    width: min(calc(100% - 0.7rem), 760px);
    margin-top: max(4rem, 7vh);
    padding: 0.72rem;
  }

  .search-panel__close {
    min-width: 3rem;
  }

  .search-input {
    padding: 0.85rem 0.9rem;
  }

  .search-input input {
    font-size: 1rem;
  }

  .search-result {
    gap: 0.75rem;
    padding: 0.82rem;
  }

  .search-result__icon {
    width: 2.45rem;
    height: 2.45rem;
    box-shadow: var(--shadow-mobile);
  }

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
  }
}

.studio-fab {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.82rem 1rem;
  border: 1.5px solid rgba(10, 17, 32, 0.7);
  border-radius: 999px;
  background:
    radial-gradient(circle at top left, rgba(151, 255, 247, 0.44), transparent 34%),
    linear-gradient(135deg, rgba(8, 14, 30, 0.96), rgba(22, 33, 84, 0.96));
  color: #f4f7ff;
  box-shadow: 0 24px 50px rgba(7, 12, 30, 0.34), 4px 4px 0 rgba(12, 18, 38, 0.92);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.studio-fab:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 28px 60px rgba(7, 12, 30, 0.4), 6px 6px 0 rgba(12, 18, 38, 0.92);
}

.studio-fab__orb {
  position: relative;
  width: 3.2rem;
  height: 3.2rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(188, 255, 255, 0.94), rgba(71, 128, 255, 0.2));
  overflow: hidden;
}

.studio-fab__ring,
.studio-fab__core {
  position: absolute;
  inset: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.studio-fab__ring {
  width: 100%;
  height: 100%;
  border: 1.5px solid rgba(158, 245, 255, 0.72);
  animation: studio-spin 6.2s linear infinite;
}

.studio-fab__ring--two {
  width: 72%;
  height: 72%;
  border-style: dashed;
  animation-duration: 4.2s;
  animation-direction: reverse;
}

.studio-fab__core {
  width: 1rem;
  height: 1rem;
  background: radial-gradient(circle, #f6fffe, #79d6ff 60%, rgba(121, 214, 255, 0.08));
  box-shadow: 0 0 18px rgba(121, 214, 255, 0.78);
}

.studio-fab__copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.studio-fab__copy strong {
  font-size: 0.98rem;
}

.studio-fab__copy span {
  color: rgba(234, 240, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.page-studio .section {
  position: relative;
}

.studio-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 1.2rem;
  align-items: stretch;
}

.studio-hero__copy,
.studio-hero__note,
.studio-toolbar,
.studio-panel,
.studio-stage-panel,
.studio-build-panel,
.studio-preview-panel {
  border-color: rgba(10, 17, 32, 0.84);
  background:
    radial-gradient(circle at top right, rgba(110, 140, 255, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(250, 247, 241, 0.98), rgba(240, 233, 223, 0.96));
}

.studio-hero__copy {
  padding: 1.7rem;
  border: 1.5px solid rgba(10, 17, 32, 0.84);
  border-radius: 30px;
  box-shadow: 6px 6px 0 rgba(10, 17, 32, 0.9), 0 24px 70px rgba(13, 18, 39, 0.14);
}

.studio-hero__note {
  padding: 1.35rem;
  border-radius: 28px;
  box-shadow: 5px 5px 0 rgba(10, 17, 32, 0.9), 0 20px 60px rgba(13, 18, 39, 0.12);
}

.studio-shell {
  display: grid;
  gap: 1.15rem;
}

.studio-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 26px;
  box-shadow: 5px 5px 0 rgba(10, 17, 32, 0.9), 0 18px 54px rgba(13, 18, 39, 0.1);
}

.studio-select {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-width: 220px;
}

.studio-select span {
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.studio-select select {
  min-height: 3.3rem;
  padding: 0 1rem;
  border: 1.5px solid rgba(10, 17, 32, 0.84);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.studio-avatar-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.studio-avatar-chip {
  min-height: 3.1rem;
  padding: 0.72rem 1rem;
  border: 1.5px solid rgba(10, 17, 32, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted);
  font-weight: 900;
  transition: transform 140ms ease, background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.studio-avatar-chip.is-active {
  background: linear-gradient(135deg, #00195b, #2848ff 70%, #71ebff);
  color: #f7fbff;
  box-shadow: 0 16px 32px rgba(31, 56, 180, 0.28);
}

.studio-avatar-chip:hover {
  transform: translateY(-2px);
}

.studio-toolbar__actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.studio-console {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr) minmax(0, 320px);
  gap: 1rem;
  align-items: start;
}

.studio-panel,
.studio-stage-panel,
.studio-build-panel,
.studio-preview-panel {
  padding: 1.05rem;
  border: 1.5px solid rgba(10, 17, 32, 0.84);
  border-radius: 28px;
  box-shadow: 5px 5px 0 rgba(10, 17, 32, 0.9), 0 18px 54px rgba(13, 18, 39, 0.1);
}

.studio-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.studio-panel__head h2 {
  margin: 0.16rem 0 0;
  font-size: 1.55rem;
}

.studio-panel__meta {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.34rem 0.72rem;
  border: 1.5px solid rgba(10, 17, 32, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
}

.studio-panel__lead {
  margin: 0 0 1rem;
  color: var(--muted);
}

.studio-skill-tree,
.studio-soul-grid {
  display: grid;
  gap: 0.7rem;
}

.studio-skill-tree {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.studio-skill-node,
.studio-soul-card {
  position: relative;
  padding: 0.9rem;
  border: 1.5px solid rgba(10, 17, 32, 0.84);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  text-align: left;
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.studio-skill-node:hover,
.studio-soul-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(14, 24, 56, 0.12);
}

.studio-skill-node strong,
.studio-soul-card strong {
  display: block;
  margin-bottom: 0.32rem;
  font-size: 1rem;
}

.studio-skill-node span:last-child,
.studio-soul-card p {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.studio-skill-node.is-active,
.studio-soul-card.is-active {
  border-color: rgba(40, 72, 255, 0.82);
  background:
    radial-gradient(circle at top right, rgba(143, 229, 255, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(225, 234, 255, 0.94));
  box-shadow: 0 18px 36px rgba(40, 72, 255, 0.16), inset 0 0 0 1px rgba(143, 229, 255, 0.5);
}

.studio-skill-node__spark {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(40, 72, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(40, 72, 255, 0.16);
}

.studio-skill-node.is-active .studio-skill-node__spark {
  background: radial-gradient(circle, #fbfffe, #7af0ff 56%, #4060ff);
  box-shadow: 0 0 20px rgba(122, 240, 255, 0.84);
}

.studio-soul-card__eyebrow {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.72rem;
}

.studio-mini-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 1.75rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(10, 17, 32, 0.06);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.studio-stage-panel {
  padding: 1.15rem;
}

.studio-stage-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.studio-stage-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}

.holo-space {
  position: relative;
  min-height: 560px;
  margin-bottom: 1rem;
  border: 1.5px solid rgba(8, 18, 52, 0.85);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(137, 255, 251, 0.24), transparent 32%),
    radial-gradient(circle at bottom, rgba(51, 90, 255, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(6, 10, 30, 0.96), rgba(12, 16, 44, 0.98));
  box-shadow: inset 0 0 0 1px rgba(135, 233, 255, 0.12), 0 26px 60px rgba(4, 9, 25, 0.22);
}

.holo-space__grid,
.holo-space__beam,
.holo-space__glow {
  position: absolute;
  pointer-events: none;
}

.holo-space__grid {
  left: -14%;
  right: -14%;
  bottom: -8%;
  height: 58%;
  background-image:
    linear-gradient(rgba(105, 217, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 217, 255, 0.18) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(960px) rotateX(76deg) translateY(38%);
  transform-origin: center bottom;
}

.holo-space__beam {
  top: 8%;
  left: 50%;
  width: 46%;
  height: 72%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(132, 243, 255, 0), rgba(132, 243, 255, 0.3), rgba(132, 243, 255, 0));
  filter: blur(4px);
  opacity: 0.72;
  animation: studio-scan 4.8s ease-in-out infinite;
}

.holo-space__glow {
  inset: auto 22% 12% 22%;
  height: 26%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(121, 214, 255, 0.26), rgba(25, 40, 120, 0));
  filter: blur(18px);
}

.holo-space__platform {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.holo-avatar {
  position: relative;
  width: 220px;
  height: 260px;
  transform-style: preserve-3d;
  animation: studio-float 4.8s ease-in-out infinite;
}

.holo-avatar__halo,
.holo-avatar__shell,
.holo-avatar__core,
.holo-avatar__echo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
}

.holo-avatar__halo {
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%) rotateX(72deg);
  border: 1.5px solid rgba(117, 246, 255, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 28px rgba(117, 246, 255, 0.12);
  animation: studio-spin 8.2s linear infinite;
}

.holo-avatar__shell {
  border: 1.5px solid rgba(132, 243, 255, 0.62);
  background: linear-gradient(180deg, rgba(137, 255, 251, 0.16), rgba(45, 72, 255, 0.08));
  box-shadow: inset 0 0 28px rgba(132, 243, 255, 0.12), 0 0 34px rgba(35, 83, 255, 0.16);
}

.holo-avatar__core {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(46px);
  background: radial-gradient(circle, #ffffff, #9ff7ff 50%, rgba(159, 247, 255, 0));
  box-shadow: 0 0 30px rgba(159, 247, 255, 0.9);
}

.holo-avatar__echo {
  width: 150px;
  height: 150px;
  border: 1px solid rgba(132, 243, 255, 0.18);
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(-36px);
  animation: studio-pulse 3.6s ease-in-out infinite;
}

.holo-avatar--core .holo-avatar__shell {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(24px);
}

.holo-avatar--guide .holo-avatar__shell {
  width: 138px;
  height: 220px;
  border-radius: 48% 48% 30% 30%;
  transform: translate(-50%, -52%) translateZ(30px);
}

.holo-avatar--guide .holo-avatar__halo {
  width: 220px;
  height: 280px;
}

.holo-avatar--guide .holo-avatar__echo {
  width: 128px;
  height: 224px;
  border-radius: 48% 48% 30% 30%;
}

.holo-avatar--sentinel .holo-avatar__shell {
  width: 160px;
  height: 160px;
  border-radius: 34% 34% 56% 56%;
  transform: translate(-50%, -50%) translateZ(28px) rotate(45deg);
}

.holo-avatar--sentinel .holo-avatar__halo {
  width: 290px;
  height: 290px;
  border-style: dashed;
}

.holo-avatar--builder .holo-avatar__shell {
  width: 170px;
  height: 170px;
  border-radius: 24px;
  transform: translate(-50%, -50%) translateZ(24px) rotate(18deg);
}

.holo-avatar--builder .holo-avatar__echo {
  width: 180px;
  height: 180px;
  border-radius: 26px;
  transform: translate(-50%, -50%) translateZ(-26px) rotate(-14deg);
}

.holo-orbit {
  position: absolute;
  inset: 0;
}

.holo-orbit__node {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 112px;
  max-width: 148px;
  padding: 0.52rem 0.62rem;
  border: 1px solid rgba(133, 246, 255, 0.46);
  border-radius: 16px;
  background: rgba(5, 12, 38, 0.76);
  color: #f0f7ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 24px rgba(7, 12, 30, 0.32), inset 0 0 0 1px rgba(117, 246, 255, 0.08);
  transform: rotate(var(--orbit-angle)) translateX(220px) rotate(calc(var(--orbit-angle) * -1));
}

.holo-orbit__node span {
  display: block;
  line-height: 1.35;
}

.holo-orbit__node--empty {
  transform: translate(-50%, 150px);
}

.studio-stage-summary {
  padding: 0.95rem 1rem;
  border: 1.5px solid rgba(10, 17, 32, 0.84);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.studio-stage-summary strong {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 1rem;
}

.studio-stage-summary p {
  margin: 0.14rem 0;
  color: var(--muted);
}

.studio-lower {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1rem;
}

.studio-build-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.studio-build-card {
  min-height: 100%;
  padding: 0.95rem;
  border: 1.5px solid rgba(10, 17, 32, 0.84);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.studio-build-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1rem;
}

.studio-selected-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-selected-list li {
  display: grid;
  gap: 0.22rem;
}

.studio-selected-list span,
.studio-selected-soul p,
.studio-install-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.studio-selected-soul strong {
  display: block;
  margin-bottom: 0.3rem;
}

.studio-install-note ol {
  margin: 0;
  padding-left: 1.1rem;
}

.studio-preview {
  min-height: 420px;
  margin: 0;
  padding: 1rem;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(7, 13, 33, 0.96), rgba(18, 24, 52, 0.96));
  color: #eef6ff;
  font-size: 0.86rem;
  line-height: 1.55;
  overflow: auto;
  box-shadow: inset 0 0 0 1px rgba(124, 210, 255, 0.12);
}

.studio-empty {
  display: grid;
  place-items: center;
  min-height: 180px;
  padding: 1rem;
  border: 1.5px dashed rgba(10, 17, 32, 0.28);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

@keyframes studio-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes studio-float {
  0%,
  100% {
    transform: translateY(0) rotateY(-8deg);
  }
  50% {
    transform: translateY(-14px) rotateY(8deg);
  }
}

@keyframes studio-pulse {
  0%,
  100% {
    opacity: 0.36;
    transform: translate(-50%, -50%) translateZ(-36px) scale(0.94);
  }
  50% {
    opacity: 0.92;
    transform: translate(-50%, -50%) translateZ(-36px) scale(1.08);
  }
}

@keyframes studio-scan {
  0%,
  100% {
    transform: translateX(-50%) translateY(-8px);
    opacity: 0.22;
  }
  50% {
    transform: translateX(-50%) translateY(18px);
    opacity: 0.88;
  }
}

@media (max-width: 1260px) {
  .studio-console {
    grid-template-columns: minmax(0, 1fr);
  }

  .studio-stage-panel {
    order: -1;
  }

  .studio-lower,
  .studio-build-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 880px) {
  .studio-hero,
  .studio-toolbar {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }

  .studio-toolbar__actions {
    justify-content: stretch;
  }

  .studio-toolbar__actions .button,
  .studio-select {
    width: 100%;
  }

  .studio-skill-tree {
    grid-template-columns: minmax(0, 1fr);
  }

  .holo-space,
  .holo-space__platform {
    min-height: 470px;
  }

  .holo-orbit__node {
    transform: rotate(var(--orbit-angle)) translateX(164px) rotate(calc(var(--orbit-angle) * -1));
    min-width: 92px;
    max-width: 116px;
    font-size: 0.72rem;
  }
}

@media (max-width: 640px) {
  .studio-fab {
    right: 0.7rem;
    left: 0.7rem;
    justify-content: center;
    padding: 0.78rem 0.9rem;
  }

  .studio-fab__copy span {
    display: none;
  }

  .studio-panel__head,
  .studio-stage-panel__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .studio-stage-badges {
    justify-content: flex-start;
  }

  .holo-space,
  .holo-space__platform {
    min-height: 420px;
  }

  .holo-avatar {
    width: 180px;
    height: 220px;
  }

  .holo-avatar__halo {
    width: 210px;
    height: 210px;
  }

  .holo-orbit__node {
    transform: rotate(var(--orbit-angle)) translateX(126px) rotate(calc(var(--orbit-angle) * -1));
    min-width: 82px;
    padding: 0.45rem 0.5rem;
  }

  .studio-preview {
    min-height: 340px;
    font-size: 0.8rem;
  }
}
