:root {
  color-scheme: light;
  --bg: #f7f7f8;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #333840;
  --muted: #7b828d;
  --soft: #eef0f4;
  --line: rgba(35, 39, 46, 0.08);
  --accent: #ee8f96;
  --accent-soft: #f8d6da;
  --shadow: 0 18px 54px rgba(28, 31, 38, 0.08);
  --glow: rgba(255, 255, 255, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1480px;
}

body[data-theme="dark"] {
  color-scheme: dark;
  --bg: #202123;
  --surface: rgba(38, 39, 42, 0.84);
  --surface-strong: #2a2b2e;
  --ink: #f1f3f6;
  --muted: #b8bdc7;
  --soft: #303236;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -12%, rgba(238, 143, 150, 0.18), transparent 28rem),
    linear-gradient(180deg, #fff 0, var(--bg) 32rem);
  color: var(--ink);
  font-family:
    "Source Han Sans SC",
    "Source Han Sans CN",
    "Noto Sans CJK SC",
    "Noto Sans SC",
    "思源黑体 CN",
    "思源黑体",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    system-ui,
    -apple-system,
    sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-logo strong,
.section-kicker,
.button,
.topnav a {
  font-family:
    "Source Han Sans SC",
    "Source Han Sans CN",
    "Noto Sans CJK SC",
    "Noto Sans SC",
    "思源黑体 CN",
    "思源黑体",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(26px);
}

body::before {
  top: 3rem;
  right: -8rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(238, 143, 150, 0.26), transparent 68%);
}

body::after {
  bottom: -10rem;
  left: -8rem;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(130, 158, 255, 0.2), transparent 70%);
}

body.has-preview-open {
  overflow: hidden;
}

body[data-theme="dark"] {
  background:
    radial-gradient(circle at 50% -12%, rgba(238, 143, 150, 0.16), transparent 28rem),
    linear-gradient(180deg, #1f2022 0, var(--bg) 32rem);
}

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

button {
  font: inherit;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(238, 143, 150, 0.72), rgba(120, 153, 255, 0.72)) padding-box;
}

::-webkit-scrollbar-track {
  background: transparent;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(18px);
  overflow: visible;
}

.site-logo,
.topnav,
.icon-button {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

body[data-theme="dark"] .site-logo,
body[data-theme="dark"] .topnav,
body[data-theme="dark"] .icon-button {
  background: rgba(37, 38, 41, 0.72);
}

body[data-theme="dark"] .layout-auth__trigger,
body[data-theme="dark"] .layout-auth__dropdown {
  background: rgba(37, 38, 41, 0.84);
}

.site-logo {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px 9px 10px;
  border-radius: 999px;
}

.site-logo:hover,
.topnav:hover,
.icon-button:hover {
  transform: translateY(-2px);
  border-color: rgba(238, 143, 150, 0.22);
  box-shadow: 0 20px 40px rgba(28, 31, 38, 0.12);
}

.topbar-side {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 130;
}

.layout-auth {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 140;
}

.layout-auth__menu {
  position: relative;
  z-index: 150;
}

.layout-auth__trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background 0.28s ease;
}

.layout-auth__trigger:hover,
.layout-auth__menu.is-open .layout-auth__trigger {
  transform: translateY(-2px);
  border-color: rgba(238, 143, 150, 0.22);
  box-shadow: 0 20px 40px rgba(28, 31, 38, 0.12);
}

.layout-auth__avatar {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4a5aa, #a7c6ff);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 900;
}

.layout-auth__label {
  white-space: nowrap;
}

.layout-auth__caret {
  color: var(--muted);
  font-size: 0.78rem;
}

.layout-auth__dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 54px rgba(28, 31, 38, 0.16);
  backdrop-filter: blur(18px);
  z-index: 200;
}

.layout-auth__header {
  display: grid;
  gap: 4px;
  padding: 6px 8px 12px;
}

.layout-auth__header strong {
  font-size: 0.98rem;
}

.layout-auth__header span {
  color: var(--muted);
  font-size: 0.88rem;
}

.layout-auth__item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease;
}

.layout-auth__item:hover {
  background: rgba(238, 143, 150, 0.08);
  border-color: rgba(238, 143, 150, 0.18);
  transform: translateX(2px);
}

.layout-auth__item--danger {
  color: #c54f5c;
}

.site-logo span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4a5aa, #a7c6ff);
  color: #fff;
  font-weight: 800;
}

.topnav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 22px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
}

.topnav a:first-child,
.topnav a:hover {
  color: var(--ink);
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
}

main {
  display: grid;
  gap: 86px;
  padding: 36px 0 72px;
}

.section-shell,
.category-section,
.media-section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.section-shell::before,
.hero-widget::before,
.menu-group::before,
.feed-card::before,
.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), var(--glow), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 44%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.menu-group::after,
.feed-card::after,
.category-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background:
    conic-gradient(
      from 120deg at var(--pointer-x, 50%) var(--pointer-y, 50%),
      transparent 0deg,
      rgba(255, 255, 255, 0.06) 56deg,
      rgba(238, 143, 150, 0.78) 110deg,
      rgba(123, 164, 255, 0.72) 170deg,
      rgba(255, 255, 255, 0.08) 220deg,
      transparent 300deg
    );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.section-shell:hover::before,
.hero-widget:hover::before,
.menu-group:hover::before,
.feed-card:hover::before,
.category-card:hover::before {
  opacity: 1;
}

.menu-group:hover::after,
.feed-card:hover::after,
.category-card:hover::after {
  opacity: 1;
}

.section-kicker {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: stretch;
  padding: clamp(28px, 4vw, 58px);
}

.hero::after {
  content: "";
  position: absolute;
  right: 10%;
  top: -4rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
  filter: blur(8px);
  animation: floatOrb 10s ease-in-out infinite;
  pointer-events: none;
}

.hero-copy h1 {
  max-width: 860px;
  margin: 14px 0 18px;
  font-size: clamp(2.1rem, 5vw, 5.8rem);
  line-height: 1.04;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-copy p,
.about-section p {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

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

.button.ghost {
  background: var(--soft);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(28, 31, 38, 0.12);
}

.hero-widget {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 24px;
  min-height: 320px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.42)),
    radial-gradient(circle at 70% 12%, rgba(255, 255, 255, 0.72), transparent 4rem),
    linear-gradient(135deg, #212b32, #111519);
  color: #fff;
  overflow: hidden;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    filter 0.35s ease;
}

.hero-widget:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 28px 60px rgba(17, 21, 25, 0.3);
}

.hero-widget .widget-label,
.hero-widget strong,
.hero-widget p,
.hero-widget .stat-grid {
  position: relative;
  z-index: 1;
}

.hero-widget::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
  animation: pulseGlow 4s ease-in-out infinite;
}

.widget-label {
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-widget strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.hero-widget p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

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

.stat-grid span {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
}

.stat-grid b {
  display: block;
  color: #fff;
  font-size: 1.18rem;
}

.home-story {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
}

.profile-card,
.story-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
  transform:
    perspective(1200px)
    rotateX(var(--rotate-x, 0deg))
    rotateY(var(--rotate-y, 0deg));
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.profile-card:hover,
.story-card:hover {
  border-color: rgba(238, 143, 150, 0.2);
  box-shadow: 0 24px 50px rgba(28, 31, 38, 0.12);
}

@supports selector(:has(*)) {
  .home-story:has(.interactive-card:hover) .interactive-card:not(:hover),
  .home-grid:has(.interactive-card:hover) .interactive-card:not(:hover) {
    opacity: 0.56;
    transform: scale(0.98);
    filter: blur(1.6px);
  }
}

.profile-card__cover {
  position: relative;
  aspect-ratio: 1.3 / 1;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top, rgba(238, 143, 150, 0.3), transparent 52%),
    linear-gradient(135deg, #f2f4f8, #d9e4ff);
}

.profile-card__cover.has-image .profile-card__cover-fallback {
  display: none;
}

.profile-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease;
}

.profile-card:hover .profile-card__cover img {
  transform: scale(1.08);
  filter: saturate(1.06) contrast(1.02);
}

.profile-card__cover-fallback {
  color: rgba(31, 35, 43, 0.45);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-card__body,
.story-card {
  padding: 22px;
}

.profile-card__body h2,
.story-card h2 {
  margin: 10px 0 12px;
  font-size: 1.55rem;
}

.profile-card__body p,
.story-card__content {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.profile-meta {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.profile-meta__item {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.6);
}

.profile-meta__item span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.profile-meta__item strong {
  font-size: 1rem;
}

.profile-player {
  margin-top: 18px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--line);
}

.profile-player__head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.profile-player__head span {
  color: var(--muted);
  font-size: 0.88rem;
}

.profile-player audio {
  width: 100%;
}

.story-card__content {
  white-space: normal;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  padding: 24px;
}

.browse-panel {
  padding: clamp(18px, 3vw, 34px);
  background: #dfe2e7;
}

body[data-theme="dark"] .browse-panel {
  background: #2f3136;
}

.browse-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.round-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.44);
  color: var(--muted);
}

.browse-head h2,
.section-title h2,
.about-section h2 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: clamp(2rem, 3.8vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.visual-menu {
  display: grid;
  gap: 16px;
}

.menu-group {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition:
    transform 0.34s ease,
    box-shadow 0.34s ease,
    border-color 0.34s ease,
    background 0.34s ease,
    opacity 0.34s ease,
    filter 0.34s ease;
}

.interactive-card {
  cursor: default;
}

.interactive-card:focus-visible {
  outline: 2px solid rgba(238, 143, 150, 0.72);
  outline-offset: 4px;
}

body[data-theme="dark"] .menu-group {
  background: rgba(255, 255, 255, 0.05);
}

.menu-group h3 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.25rem;
}

.menu-group h3 span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.42);
  font-size: 0.95rem;
}

.menu-group p {
  margin: 0;
  color: var(--muted);
}

.menu-group:hover {
  transform: translateY(-8px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  border-color: rgba(238, 143, 150, 0.22);
  box-shadow: 0 24px 48px rgba(28, 31, 38, 0.1);
}

@supports selector(:has(*)) {
  .visual-menu:has(.menu-group:hover) .menu-group:not(:hover) {
    opacity: 0.52;
    transform: scale(0.975);
    filter: blur(1.4px);
  }
}

.preview-badge {
  position: absolute;
  right: 16px;
  top: 16px;
  z-index: 2;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  color: var(--ink);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 26px rgba(28, 31, 38, 0.08);
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

.preview-badge:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 32px rgba(28, 31, 38, 0.12);
}

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

.menu-links a {
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.32);
  color: #444a53;
  font-weight: 800;
  transition:
    transform 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease,
    color 0.24s ease;
}

body[data-theme="dark"] .menu-links a {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.menu-links a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 28px rgba(28, 31, 38, 0.08);
}

.section-title {
  margin-bottom: 28px;
}

.center-title {
  text-align: center;
}

.center-title h2 {
  color: var(--accent);
}

.center-title p {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.8;
}

.feed-section {
  padding: clamp(22px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.58);
}

body[data-theme="dark"] .feed-section {
  background: rgba(39, 40, 43, 0.7);
}

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

.feed-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 18px;
  min-height: 160px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: 0 12px 36px rgba(26, 28, 32, 0.04);
  transition:
    transform 0.34s ease,
    box-shadow 0.34s ease,
    border-color 0.34s ease,
    opacity 0.34s ease,
    filter 0.34s ease,
    background 0.34s ease;
}

body[data-theme="dark"] .feed-card {
  background: #27282b;
}

.feed-card:hover {
  transform: translateY(-10px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  border-color: rgba(238, 143, 150, 0.24);
  box-shadow: 0 28px 54px rgba(26, 28, 32, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.feed-card h3 {
  margin: 9px 0 8px;
  font-size: 1.06rem;
  line-height: 1.55;
}

.feed-card p {
  display: -webkit-box;
  margin: 0 0 16px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.meta,
.feed-card time {
  color: var(--muted);
  font-size: 0.82rem;
}

.thumb {
  align-self: center;
  width: 112px;
  height: 92px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  transform-origin: center;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.42s ease,
    filter 0.42s ease;
  box-shadow: 0 12px 26px rgba(20, 24, 30, 0.08);
}

.feed-card:hover .thumb {
  transform: scale(1.22) translate3d(-8px, -6px, 0);
  box-shadow: 0 26px 42px rgba(20, 24, 30, 0.18);
  filter: saturate(1.08) contrast(1.04);
}

.feed-card:hover .card-text {
  transform: translateY(-2px);
}

.card-text {
  transition: transform 0.32s ease;
}

@supports selector(:has(*)) {
  .feed-grid:has(.feed-card:hover) .feed-card:not(:hover) {
    opacity: 0.46;
    transform: scale(0.965);
    filter: blur(1.4px);
  }
}

.dark-thumb {
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.26), transparent 26%),
    linear-gradient(135deg, #050505, #27282a);
}

.spark-thumb {
  background:
    radial-gradient(circle at 58% 48%, rgba(255, 255, 255, 0.9), transparent 6%),
    radial-gradient(circle at 42% 42%, rgba(255, 118, 88, 0.75), transparent 12%),
    linear-gradient(135deg, #061414, #2d3f35);
}

.sea-thumb {
  background:
    radial-gradient(circle at 52% 54%, rgba(176, 255, 223, 0.75), transparent 5%),
    linear-gradient(135deg, #0e3342, #081d2a 65%, #194b5d);
}

.red-thumb {
  background:
    radial-gradient(circle at 86% 14%, rgba(255, 182, 59, 0.9), transparent 8%),
    linear-gradient(135deg, #5f1118, #a42427);
}

.blue-thumb {
  background:
    radial-gradient(circle at 10% 12%, rgba(74, 143, 255, 0.92), transparent 18%),
    linear-gradient(135deg, #061844, #074db1);
}

.pink-thumb {
  background:
    linear-gradient(135deg, transparent 44%, #ff155b 45% 62%, transparent 63%),
    linear-gradient(135deg, #07146a, #140055);
}

.category-section {
  overflow: hidden;
}

.category-section::before {
  content: "DIARY";
  display: block;
  height: 0;
  color: rgba(238, 143, 150, 0.07);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 1000;
  line-height: 0.78;
  text-align: center;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.category-scroller {
  display: grid;
  grid-template-columns: repeat(4, minmax(280px, 1fr));
  gap: 18px;
  position: relative;
  z-index: 1;
}

.category-card,
.media-card,
.video-card {
  position: relative;
  display: grid;
  align-content: end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: #fff;
  isolation: isolate;
  transition:
    transform 0.34s ease,
    box-shadow 0.34s ease,
    filter 0.34s ease;
}

.category-card {
  min-height: 440px;
  padding: 28px;
  background-size: 110% 110%;
  background-position: center;
  transition:
    transform 0.34s ease,
    box-shadow 0.34s ease,
    filter 0.34s ease,
    background-size 0.42s ease;
}

.category-card:hover {
  transform: translateY(-10px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  box-shadow: 0 30px 60px rgba(15, 18, 24, 0.22);
  filter: saturate(1.08);
  background-size: 124% 124%;
}

.category-card h3,
.category-card p,
.category-card span {
  transition:
    transform 0.34s ease,
    opacity 0.34s ease;
}

.category-card:hover h3,
.category-card:hover p,
.category-card:hover span {
  transform: translateY(-4px);
}

@supports selector(:has(*)) {
  .category-scroller:has(.category-card:hover) .category-card:not(:hover) {
    opacity: 0.42;
    transform: scale(0.958);
    filter: blur(1.8px) saturate(0.92);
  }
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 5;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24), rgba(238, 143, 150, 0.16), transparent 70%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.88;
  filter: blur(12px);
  transition: transform 0.08s linear;
}

.quick-preview {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.quick-preview.is-open {
  opacity: 1;
  pointer-events: auto;
}

.quick-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 24, 0.38);
  backdrop-filter: blur(16px);
}

.quick-preview__panel {
  position: relative;
  width: min(1120px, calc(100vw - 32px));
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66)),
    radial-gradient(circle at top right, rgba(238, 143, 150, 0.22), transparent 32%);
  box-shadow: 0 34px 80px rgba(15, 18, 24, 0.24);
  backdrop-filter: blur(28px);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.quick-preview.is-open .quick-preview__panel {
  transform: translateY(0) scale(1);
}

body[data-theme="dark"] .quick-preview__panel {
  background:
    linear-gradient(180deg, rgba(42, 43, 46, 0.94), rgba(33, 34, 37, 0.88)),
    radial-gradient(circle at top right, rgba(238, 143, 150, 0.18), transparent 32%);
}

.quick-preview__close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  cursor: pointer;
}

.quick-preview__layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
}

.quick-preview__visual-wrap {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent),
    rgba(17, 22, 28, 0.92);
}

.quick-preview__visual {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  filter: saturate(1.05) contrast(1.02);
}

.quick-preview__visual-glow {
  position: absolute;
  inset: auto -10% -18% auto;
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 68%);
  filter: blur(10px);
}

.quick-preview__content {
  display: grid;
  align-content: center;
}

.quick-preview__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(238, 143, 150, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-preview__title {
  margin: 16px 0 10px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.quick-preview__desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.quick-preview__meta,
.quick-preview__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.quick-preview__meta span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  font-weight: 800;
}

.quick-preview__actions .button {
  min-height: 44px;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, 18px, 0);
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.48;
  }

  50% {
    transform: scale(1.12);
    opacity: 0.72;
  }
}

.category-card::after,
.media-card::after,
.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.68));
}

.category-card span {
  margin-bottom: 12px;
  color: #ffd2d7;
  font-weight: 900;
}

.category-card h3 {
  max-width: 24ch;
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.55;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.7;
}

.photo-a {
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.88), transparent 5%),
    radial-gradient(circle at 28% 62%, rgba(255, 255, 255, 0.54), transparent 11%),
    linear-gradient(135deg, #0d211d, #172d25 56%, #0c1412);
}

.photo-b {
  background:
    radial-gradient(circle at 30% 38%, rgba(255, 89, 104, 0.28), transparent 20%),
    linear-gradient(135deg, #171029, #59345f 52%, #2a1731);
}

.photo-c {
  background:
    radial-gradient(circle at 48% 28%, rgba(255, 217, 110, 0.72), transparent 28%),
    linear-gradient(135deg, #a04d16, #d89128 48%, #5f2a16);
}

.photo-d {
  background:
    radial-gradient(circle at 45% 45%, rgba(255, 213, 82, 0.88), transparent 8%),
    linear-gradient(135deg, #2d1608, #7b3f12 60%, #1a0f09);
}

.media-section {
  display: grid;
  gap: 36px;
}

.editorial-section,
.showcase-panel {
  display: grid;
  gap: 22px;
}

.editorial-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) 420px;
  gap: 22px;
}

.editorial-feature,
.showcase-main,
.showcase-thumb,
.editorial-mini,
.editorial-chip {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.editorial-feature {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.08), rgba(8, 12, 18, 0.82)),
    linear-gradient(135deg, #242632, #6c3b4a);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition:
    transform 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.78s ease,
    filter 0.78s ease,
    background-size 0.9s ease;
}

.editorial-feature__overlay {
  display: grid;
  align-content: end;
  gap: 16px;
  min-height: 100%;
  padding: 34px;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.03), rgba(8, 12, 18, 0.76));
}

.editorial-feature__meta,
.latest-card__meta {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.editorial-feature h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.editorial-feature p {
  max-width: 32rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.9;
}

.editorial-feature__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editorial-feature__stats span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 800;
}

.editorial-side {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
}

.editorial-stack {
  display: grid;
  gap: 14px;
}

.editorial-mini {
  display: grid;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.editorial-mini span,
.editorial-mini small {
  color: var(--muted);
}

.editorial-mini strong {
  font-size: 1.08rem;
  line-height: 1.65;
}

.editorial-rail,
.showcase-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 12px;
  scrollbar-width: thin;
  scrollbar-color: rgba(238, 143, 150, 0.72) transparent;
}

.editorial-chip,
.showcase-thumb {
  flex: 0 0 240px;
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  text-align: left;
  cursor: pointer;
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    background 0.32s ease;
}

.editorial-chip span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.editorial-chip strong,
.showcase-thumb strong {
  line-height: 1.55;
}

.showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) 360px;
  gap: 22px;
  align-items: stretch;
}

.showcase-main {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.68);
  transition:
    transform 0.78s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.78s ease;
}

.showcase-main__visual {
  min-height: 520px;
  background:
    linear-gradient(135deg, #2d3243, #73455d);
  background-size: cover;
  background-position: center;
}

.showcase-main__visual.has-media,
.showcase-thumb__visual.has-media {
  background-size: cover;
  background-position: center;
}

.showcase-main__copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 10px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(8, 12, 18, 0.02), rgba(8, 12, 18, 0.8));
}

.showcase-main__copy span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-main__copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.showcase-main__copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.85;
}

.showcase-thumb {
  flex: 0 0 auto;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}

.showcase-thumb.is-active {
  border-color: rgba(238, 143, 150, 0.34);
  background: rgba(255, 255, 255, 0.92);
}

.showcase-thumb__visual {
  width: 118px;
  height: 92px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2d3243, #73455d);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 26px rgba(20, 24, 30, 0.08);
}

.showcase-thumb--video .showcase-thumb__visual {
  display: grid;
  place-items: center;
}

.showcase-thumb--video .showcase-thumb__visual span,
.showcase-play {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  backdrop-filter: blur(16px);
}

.showcase-play {
  position: absolute;
  left: 26px;
  bottom: 26px;
}

.editorial-feature:hover,
.editorial-mini:hover,
.editorial-chip:hover,
.showcase-main:hover,
.showcase-thumb:hover {
  transform: translateY(-8px) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
  box-shadow: 0 24px 48px rgba(28, 31, 38, 0.12);
}

.editorial-rail::-webkit-scrollbar,
.showcase-rail::-webkit-scrollbar {
  height: 10px;
}

.editorial-rail::-webkit-scrollbar-thumb,
.showcase-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(238, 143, 150, 0.78);
}

.editorial-rail::-webkit-scrollbar-track,
.showcase-rail::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.image-section,
.video-section {
  width: 100%;
  max-width: none;
  padding: 0;
  background: transparent;
}

.image-section .section-title h2,
.image-section .section-kicker,
.video-section .section-title h2,
.video-section .section-kicker {
  color: var(--accent);
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.media-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.media-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(12, 16, 22, 0.62);
  backdrop-filter: blur(18px);
}

.media-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 28px 80px rgba(14, 18, 24, 0.28);
}

body[data-theme="dark"] .media-lightbox__panel {
  background: rgba(35, 37, 40, 0.94);
}

.media-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
}

.media-lightbox__visual {
  overflow: hidden;
  border-radius: 22px;
  background: #14181e;
}

.media-lightbox__visual img,
.media-lightbox__visual video,
.media-lightbox__fallback {
  display: block;
  width: 100%;
  min-height: 300px;
  max-height: 70vh;
  object-fit: cover;
}

.media-lightbox__fallback {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
}

.media-lightbox__copy {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.media-lightbox__copy h3 {
  margin: 0;
  font-size: 1.45rem;
}

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

@supports selector(:has(*)) {
  .editorial-rail:has(.editorial-chip:hover) .editorial-chip:not(:hover),
  .showcase-rail:has(.showcase-thumb:hover) .showcase-thumb:not(:hover),
  .editorial-stack:has(.editorial-mini:hover) .editorial-mini:not(:hover) {
    opacity: 0.48;
    transform: scale(0.97);
  }
}

.lantern {
  background:
    radial-gradient(circle at 32% 12%, #ffdb6a, transparent 13%),
    radial-gradient(circle at 78% 10%, #ef3238, transparent 14%),
    linear-gradient(135deg, #322326, #6f241e);
}

.temple {
  background:
    radial-gradient(circle at 52% 35%, #e2cf6f, transparent 5%),
    linear-gradient(135deg, #bfc6c6, #798b72 64%, #e5e4df);
}

.steel {
  background:
    repeating-linear-gradient(0deg, transparent 0 18px, rgba(255, 255, 255, 0.06) 19px 20px),
    linear-gradient(135deg, #25282b, #0f1113);
}

.lights {
  background:
    radial-gradient(circle at 68% 12%, rgba(255, 255, 236, 0.82), transparent 10%),
    linear-gradient(135deg, #0c0d15, #221d17);
}

.roof {
  background:
    linear-gradient(28deg, transparent 45%, #7c1d1b 46% 62%, transparent 63%),
    linear-gradient(135deg, #15384b, #8a5740 55%, #a9d4e8);
}

.night {
  background:
    radial-gradient(circle at 28% 48%, #d82d2c, transparent 8%),
    linear-gradient(135deg, #101014, #422818);
}

.hero-image {
  background:
    radial-gradient(circle at 66% 50%, #cf1f30, transparent 7%),
    linear-gradient(135deg, #dbdce1, #676b7c);
}

.moon {
  background:
    radial-gradient(circle at 52% 45%, #e84126, transparent 2%),
    linear-gradient(180deg, #000, #0e0f11);
}

.lake {
  background:
    linear-gradient(180deg, #8bd2ff 0 42%, #506878 43% 48%, #284556 49% 100%);
}

.video-carousel {
  display: grid;
  grid-template-columns: auto minmax(560px, 2fr) minmax(420px, 1.2fr) auto;
  gap: 14px;
  align-items: center;
}

.carousel-arrow {
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  cursor: pointer;
}

.video-card {
  min-height: 430px;
  padding: 26px;
}

.video-a {
  background:
    radial-gradient(circle at 57% 68%, rgba(141, 255, 200, 0.62), transparent 6%),
    linear-gradient(135deg, #0a2730, #154c5c 46%, #0f1a20);
}

.video-b {
  background:
    radial-gradient(circle at 86% 30%, rgba(250, 223, 179, 0.88), transparent 30%),
    linear-gradient(135deg, #bdb4a6, #353838);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 46px);
}

.deploy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.deploy-list span {
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.deploy-list span:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(28, 31, 38, 0.08);
}

.reveal-card,
.interactive-card {
  opacity: 0;
  translate: var(--reveal-from-x, 0px) var(--reveal-from-y, 28px);
  scale: 0.96;
  transition:
    opacity 0.82s ease,
    translate 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.82s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease;
  transition-delay: var(--reveal-delay, 0ms);
  filter: saturate(0.92);
}

.reveal-card.is-visible,
.interactive-card.is-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  filter: saturate(1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .cursor-glow,
  .hero::after,
  .hero-widget::after {
    animation: none !important;
    display: none;
  }

  .reveal-card,
  .interactive-card {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    transition: none;
  }
}

@media (max-width: 1180px) {
  .hero,
  .about-section {
    grid-template-columns: 1fr;
  }

  .editorial-showcase,
  .showcase-layout {
    grid-template-columns: 1fr;
  }

  .editorial-side {
    grid-template-rows: auto auto;
  }

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

  .category-scroller {
    overflow-x: auto;
    grid-template-columns: repeat(4, 320px);
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
  }

  .category-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 760px) {
  .topbar {
    grid-template-columns: 1fr auto;
    width: min(100% - 20px, var(--max));
  }

  .topnav {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
    gap: 16px;
    order: 3;
  }

  main {
    gap: 56px;
    padding-top: 14px;
  }

  .section-shell,
  .category-section,
  .media-section {
    width: min(100% - 20px, var(--max));
  }

  .hero,
  .browse-panel,
  .feed-section,
  .about-section {
    border-radius: 24px;
    padding: 20px;
  }

  .hero-widget {
    min-height: 260px;
  }

  .stat-grid,
  .menu-links,
  .feed-grid {
    grid-template-columns: 1fr;
  }

  .feed-card {
    grid-template-columns: 1fr;
  }

  .thumb {
    width: 100%;
    height: 150px;
  }

  .category-scroller {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .category-card {
    min-height: 360px;
  }

  .image-section,
  .video-section {
    width: 100%;
    padding-inline: 0;
  }

  .editorial-feature {
    min-height: 360px;
  }

  .showcase-main__visual {
    min-height: 360px;
  }

  .showcase-thumb {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .showcase-thumb__visual {
    width: 88px;
    height: 78px;
  }

  .carousel-arrow {
    display: none;
  }

  .media-lightbox__panel {
    padding: 18px;
    border-radius: 22px;
  }

  .cursor-glow {
    display: none;
  }

  .preview-badge {
    right: 12px;
    top: 12px;
    min-height: 32px;
    padding: 0 10px;
  }

  .quick-preview__panel {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .quick-preview__layout {
    grid-template-columns: 1fr;
  }

  .quick-preview__visual-wrap {
    min-height: 260px;
  }

  .quick-preview__actions,
  .quick-preview__meta {
    gap: 10px;
  }
}
