:root {
  --bg: #e7e7e7;
  --bg-elev: rgba(246, 246, 246, 0.86);
  --text: #090909;
  --muted: #3f3f3f;
  --line: rgba(12, 12, 12, 0.16);
  --panel: #070808;
  --panel-text: #ebebeb;
  --panel-muted: #b7b7b7;
  --accent: #00d4ff;
  --accent-soft: rgba(0, 212, 255, 0.2);
  --glow: 0 20px 80px rgba(0, 0, 0, 0.2);
  --header-bg: rgba(235, 235, 235, 0.55);
  --ring-opacity: 0.94;
  --surface-radius: 34px;
  --easing: cubic-bezier(0.22, 0.8, 0.22, 1);
}

:root[data-theme="night"] {
  --bg: #030303;
  --bg-elev: rgba(8, 8, 8, 0.85);
  --text: #f2f2f2;
  --muted: #b7b7b7;
  --line: rgba(255, 255, 255, 0.15);
  --panel: #d9d9d9;
  --panel-text: #0b0b0b;
  --panel-muted: #4e4e4e;
  --accent: #5af3ff;
  --accent-soft: rgba(90, 243, 255, 0.24);
  --glow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --header-bg: rgba(2, 2, 2, 0.52);
  --ring-opacity: 0.88;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.54;
  transition: background 360ms var(--easing), color 300ms var(--easing);
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -4;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.32), transparent 42%),
    radial-gradient(circle at 86% 78%, rgba(255, 255, 255, 0.24), transparent 38%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.28), transparent 28%),
    var(--bg);
}

:root[data-theme="night"] .page-bg {
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.08), transparent 42%),
    radial-gradient(circle at 86% 78%, rgba(255, 255, 255, 0.07), transparent 38%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 28%),
    var(--bg);
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.22;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 84%);
  pointer-events: none;
}

:root[data-theme="night"] .page-bg::after {
  opacity: 0.12;
}

.orb {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
  opacity: var(--ring-opacity);
  filter: saturate(0.58) contrast(1.2);
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) rotate(0deg);
  animation: floatRing 11.8s ease-in-out infinite, spinRing 21s linear infinite;
  background:
    radial-gradient(circle at 30% 26%, rgba(255, 255, 255, 0.85) 0%, rgba(230, 230, 230, 0.18) 28%, transparent 44%),
    radial-gradient(circle at 74% 75%, rgba(0, 0, 0, 0.55), transparent 56%),
    conic-gradient(
      from 120deg,
      rgba(250, 250, 250, 0.78),
      rgba(62, 62, 62, 0.82),
      rgba(192, 192, 192, 0.85),
      rgba(45, 45, 45, 0.92),
      rgba(242, 242, 242, 0.8)
    );
  box-shadow: inset 0 14px 36px rgba(255, 255, 255, 0.24), inset 0 -24px 40px rgba(0, 0, 0, 0.35),
    var(--glow);
  mask-image: radial-gradient(circle at center, transparent 29%, black 35%, black 63%, transparent 68%);
}

.orb::before {
  content: "";
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  background: radial-gradient(circle at 64% 40%, rgba(255, 255, 255, 0.35), transparent 55%);
  filter: blur(0.5px);
}

.orb-top {
  width: clamp(360px, 38vw, 720px);
  aspect-ratio: 1;
  top: 8vh;
  right: clamp(-90px, -8vw, -30px);
}

.orb-bottom {
  width: clamp(280px, 28vw, 490px);
  aspect-ratio: 1;
  bottom: -14vh;
  left: clamp(-120px, -7vw, -22px);
  animation-delay: -3.4s;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0 auto;
  width: min(1380px, calc(100% - 50px));
  padding: 18px 8px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(16px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  height: clamp(24px, 2.3vw, 36px);
  width: auto;
  max-width: min(56vw, 292px);
}

.brand-logo-night {
  display: none;
}

:root[data-theme="night"] .brand-logo-day {
  display: none;
}

:root[data-theme="night"] .brand-logo-night {
  display: block;
}

.primary-nav {
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.primary-nav a {
  text-decoration: none;
  color: var(--text);
  opacity: 0.86;
  padding: 8px 2px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  transition: opacity 220ms ease, transform 220ms ease;
  position: relative;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: transform 260ms var(--easing);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  opacity: 1;
  transform: translateY(-1px);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  font-size: 1.05rem;
  cursor: pointer;
  transition: transform 200ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.icon-btn.mini {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 1.15rem;
  line-height: 1;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px;
  background: rgba(255, 255, 255, 0.06);
}

.lang-switch button {
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  min-width: 44px;
  height: 33px;
  padding: 0 11px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lang-switch button.is-active {
  background: var(--text);
  color: var(--bg);
}

.admin-chip {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: border-color 220ms ease, transform 220ms ease;
}

.admin-chip:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.home-main,
.detail-main,
.footer-panel,
.admin-auth-wrap,
.admin-main {
  width: min(1380px, calc(100% - 50px));
  margin: 0 auto;
}

.home-main {
  padding-top: clamp(84px, 10.5vw, 180px);
}

.hero {
  max-width: min(820px, 94vw);
  position: relative;
}

.hero-kicker {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1,
.detail-content h1 {
  margin: 14px 0 18px;
  font-family: "Sora", sans-serif;
  font-size: clamp(3.1rem, 8vw, 7.2rem);
  line-height: 0.93;
  letter-spacing: 0.01em;
}

.hero-line {
  margin: 0;
  font-size: clamp(1.14rem, 1.9vw, 2.08rem);
  line-height: 1.42;
  color: var(--muted);
  max-width: 33ch;
}

.hero-line + .hero-line {
  margin-top: 6px;
}

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

.hero-media {
  margin: 20px 0 0;
  max-width: min(720px, 92vw);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: var(--glow);
}

.hero-media img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.cta {
  text-decoration: none;
  border: 1px solid var(--line);
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.cta.primary {
  color: var(--bg);
  background: var(--text);
}

.cta.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.cta.small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.82rem;
}

.cta.full {
  width: 100%;
}

.cta:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.spotlight-grid {
  margin-top: clamp(102px, 13.5vw, 196px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.spotlight-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-elev);
  backdrop-filter: blur(16px);
  padding: 26px;
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: -35% auto auto -14%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 70%);
}

.spotlight-card h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.18rem;
}

.spotlight-card p {
  margin: 14px 0 22px;
  color: var(--muted);
  min-height: 64px;
  line-height: 1.62;
  font-size: 0.98rem;
}

.spotlight-card a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.footer-panel {
  margin-top: clamp(104px, 12.5vw, 188px);
  border-radius: var(--surface-radius) var(--surface-radius) 0 0;
  padding: clamp(30px, 4.8vw, 52px);
  background: var(--panel);
  color: var(--panel-text);
  display: grid;
  grid-template-columns: 1.05fr 3fr;
  gap: 34px;
}

.footer-brand-block {
  display: grid;
  align-content: start;
  gap: 14px;
}

.footer-brand-lockup {
  width: min(204px, 52vw);
}

.footer-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

.footer-brand-logo-night {
  display: none;
}

:root[data-theme="night"] .footer-brand-logo-day {
  display: none;
}

:root[data-theme="night"] .footer-brand-logo-night {
  display: block;
}

.footer-brand-block p {
  margin: 0;
  color: var(--panel-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

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

.footer-col h3 {
  margin: 0 0 12px;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  text-decoration: none;
  color: var(--panel-muted);
  font-size: 0.96rem;
  transition: color 200ms ease;
}

.footer-col a:hover {
  color: var(--panel-text);
}

.detail-main {
  margin-top: 66px;
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.detail-side,
.detail-content {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-elev);
  backdrop-filter: blur(16px);
  box-shadow: var(--glow);
}

.detail-side {
  position: sticky;
  top: 92px;
  padding: 20px;
}

.side-caption {
  margin: 0 0 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
}

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

.detail-list a {
  display: block;
  text-decoration: none;
  color: var(--text);
  padding: 11px 13px;
  line-height: 1.4;
  font-size: 0.95rem;
  border: 1px solid transparent;
  border-radius: 11px;
}

.detail-list a.is-active,
.detail-list a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.detail-content {
  padding: clamp(30px, 4.2vw, 52px);
}

.detail-path {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.detail-content h1 {
  margin-top: 12px;
  margin-bottom: 14px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.98;
}

.detail-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.55vw, 1.26rem);
  line-height: 1.62;
  max-width: 60ch;
}

.section-stack {
  margin-top: 26px;
  display: grid;
  gap: 16px;
}

.detail-section {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.detail-section h2 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  font-family: "Sora", sans-serif;
}

.detail-section-image {
  width: 100%;
  margin: 0 0 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  object-fit: cover;
  max-height: 320px;
}

.detail-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
  font-size: 1rem;
}

.detail-cta {
  margin-top: 28px;
}

.admin-main {
  padding: 30px 0 72px;
}

.admin-auth-wrap {
  padding: 58px 0 80px;
}

.admin-auth-card {
  width: min(420px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-elev);
  backdrop-filter: blur(16px);
  box-shadow: var(--glow);
  padding: clamp(22px, 4vw, 34px);
}

.admin-auth-card h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.58rem, 2.6vw, 2.3rem);
}

.admin-auth-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
}

.admin-auth-form {
  margin-top: 16px;
}

.admin-auth-form .field-group {
  max-width: 320px;
  width: 100%;
  margin: 0 auto 12px;
}

.admin-auth-form input {
  max-width: 320px;
  margin: 0 auto;
  padding: 9px 10px;
}

.admin-auth-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-auth-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-elev);
  backdrop-filter: blur(16px);
  box-shadow: var(--glow);
  padding: clamp(24px, 4vw, 36px);
}

.admin-panel h1 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
}

.admin-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
  max-width: 70ch;
}

.admin-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(290px, 340px) minmax(0, 1fr);
  gap: 16px;
}

.admin-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.admin-card h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  font-family: "Sora", sans-serif;
}

.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.field-group label,
.field-label {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
}

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

.sections-wrap {
  margin-top: 14px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.section-header-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section-editor {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.section-editor-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-editor strong {
  font-size: 0.9rem;
}

.admin-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.file-btn {
  position: relative;
  overflow: hidden;
}

#admin-import {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-status {
  margin: 12px 0 0;
  min-height: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

.json-card {
  margin-top: 14px;
}

.json-card pre {
  margin: 0;
  max-height: 420px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.25);
  color: #dff7ff;
  font-size: 0.82rem;
  line-height: 1.5;
}

.admin-nav a {
  font-size: 0.94rem;
}

.detail-feature-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  margin: 14px 0 16px;
}

.post-grid {
  display: grid;
  gap: 14px;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.post-card.is-active {
  border-color: var(--accent);
}

.post-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-card-cover {
  width: 100%;
  max-height: 240px;
  object-fit: cover;
  display: block;
}

.post-card-body {
  padding: 14px;
}

.post-card-meta {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-card-title {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 1.08rem;
}

.post-card-excerpt {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.post-card-link-text {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.post-card-badge {
  display: inline-block;
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.post-expanded {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.notice-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(2px);
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}

.notice-popup-card {
  width: min(560px, 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-elev);
  box-shadow: var(--glow);
  padding: 18px;
}

.notice-popup-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.notice-popup-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.62;
}

.notice-popup-actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.qna-form {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.qna-form h3 {
  margin: 0 0 2px;
  font-family: "Sora", sans-serif;
}

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

.qna-form textarea {
  min-height: 120px;
}

.qna-submit-status {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

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

.qna-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.qna-item-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.qna-item-name {
  font-weight: 700;
  font-size: 0.9rem;
}

.qna-item-date {
  color: var(--muted);
  font-size: 0.78rem;
}

.qna-item-question {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.qna-item-answer {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  line-height: 1.62;
}

.admin-advanced-card {
  margin-top: 14px;
}

.admin-advanced-subtitle {
  margin: 8px 0 12px;
  color: var(--muted);
}

.admin-module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.admin-module-tabs button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border-radius: 999px;
  min-height: 34px;
  padding: 0 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-module-tabs button.is-active {
  background: var(--text);
  color: var(--bg);
}

.admin-module-wrap {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.admin-module-grid {
  display: grid;
  gap: 10px;
}

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

.admin-module-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-inline-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.admin-checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-status-inline {
  margin: 10px 0 0;
  min-height: 20px;
  color: var(--muted);
  font-size: 0.86rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms var(--easing), transform 620ms var(--easing);
}

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

@keyframes floatRing {
  0%,
  100% {
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1);
  }
  50% {
    transform: translate3d(calc(var(--parallax-x) * 0.66), calc(var(--parallax-y) * 0.66 - 14px), 0) scale(1.03);
  }
}

@keyframes spinRing {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@media (max-width: 1120px) {
  .site-header {
    width: min(100% - 20px, 1380px);
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 14px 8px;
    gap: 10px;
  }

  .primary-nav,
  .header-controls {
    justify-self: start;
  }

  .home-main,
  .detail-main,
  .footer-panel,
  .admin-auth-wrap,
  .admin-main {
    width: min(100% - 20px, 1380px);
  }

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

  .detail-main {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }

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

  .admin-module-grid.two,
  .qna-form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero h1,
  .detail-content h1 {
    font-size: clamp(2.35rem, 12vw, 3.86rem);
  }

  .brand-logo {
    height: 26px;
    max-width: 68vw;
  }

  .hero-line {
    font-size: clamp(1.06rem, 5.4vw, 1.36rem);
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 26px;
    gap: 8px;
  }

  .detail-content {
    padding: 26px 20px;
  }

  .detail-section {
    padding: 17px;
  }

  .footer-brand-lockup {
    width: min(184px, 72vw);
  }

  .spotlight-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-panel {
    grid-template-columns: 1fr;
  }

  .orb-top {
    width: min(62vw, 420px);
    right: -24vw;
  }

  .orb-bottom {
    width: min(58vw, 340px);
    left: -20vw;
  }

  .lang-switch button {
    min-width: 36px;
    padding: 0 9px;
  }
}
