:root {
  color-scheme: dark;
  --site-bg: #050506;
  --site-text: #fff7f5;
  --site-muted: rgba(255, 247, 245, 0.64);
  --site-dim: rgba(255, 247, 245, 0.42);
  --site-line: rgba(255, 255, 255, 0.1);
  --site-panel: rgba(255, 255, 255, 0.055);
  --site-panel-strong: rgba(255, 255, 255, 0.09);
  --site-red: #ff4d45;
  --site-red-strong: #ff2d25;
  --site-orange: #ff8b54;
  --site-shadow: rgba(0, 0, 0, 0.52);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body,
.download-page,
.gallery-page,
.articles-page,
.article-page,
.software-page,
.music-page {
  color: var(--site-text);
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 65, 56, 0.34), transparent 34rem),
    radial-gradient(circle at 18% 18%, rgba(255, 139, 84, 0.16), transparent 30rem),
    linear-gradient(180deg, #120607 0%, #060506 34%, #020203 100%) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 68%);
}

a[href="/lvtuang"],
a[href="/admin.html"] {
  display: none !important;
}

.topbar,
.music-topbar {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 2.6vw, 34px);
  width: min(1204px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 30px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background: rgba(14, 14, 15, 0.74) !important;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px);
}

.music-topbar {
  grid-template-columns: auto minmax(220px, 1fr) auto;
  width: auto;
  margin: 0 0 24px;
}

.brand,
.music-mobile-brand,
.music-sidebar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 850;
}

.brand img,
.music-mobile-brand img,
.music-sidebar__brand img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.topbar nav,
.music-topbar nav {
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  border: 0;
  padding: 0;
  background: transparent;
}

.topbar nav a,
.music-topbar nav a {
  border-radius: 0;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.48) !important;
  background: transparent !important;
  font-size: 14px;
  font-weight: 780;
  transition: color 160ms ease, text-shadow 160ms ease;
}

.topbar nav a:hover,
.music-topbar nav a:hover,
.download-page .topbar nav a[href="/download.html"],
.gallery-page .topbar nav a[href="/gallery.html"],
.music-page .music-topbar nav a[href="/music.html"],
.articles-page .topbar nav a[href="/articles.html"],
.article-page .topbar nav a[href="/articles.html"],
.license-page .topbar nav a[href="/license.html"],
.software-page .topbar nav a[href="/download.html"] {
  color: var(--site-text) !important;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.22);
}

main {
  position: relative;
}

.eyebrow,
.music-kicker,
.hero-kicker {
  color: #ffb3ad !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero,
.download-hero,
.gallery-hero,
.music-hero {
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  border: 1px solid var(--site-line) !important;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 77, 69, 0.28), transparent 34rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)) !important;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.page-hero,
.download-hero {
  padding: clamp(70px, 9vw, 118px) clamp(22px, 5vw, 64px) !important;
}

.gallery-hero,
.music-hero {
  min-height: min(620px, calc(100vh - 132px));
}

.page-hero::before,
.download-hero::before,
.gallery-hero::before,
.music-hero::before {
  content: "";
  position: absolute;
  inset: auto 14% -80px;
  z-index: -1;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(255, 77, 69, 0.36), transparent 70%);
  filter: blur(28px);
}

.page-hero h1,
.download-hero h1,
.gallery-hero h1,
.music-hero h1 {
  max-width: 960px;
  color: var(--site-text) !important;
  font-size: clamp(48px, 8vw, 108px) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.page-hero p:not(.eyebrow),
.download-hero p:not(.eyebrow),
.gallery-hero p:not(.eyebrow),
.music-hero__lead {
  max-width: 680px;
  color: var(--site-muted) !important;
  font-size: clamp(17px, 2vw, 22px) !important;
  line-height: 1.65 !important;
}

.download-hero__panel,
.download-rank-card,
.download-controls,
.article-controls,
.article-list__head,
.article-card,
.product-card,
.license-grid article,
.software-hero,
.software-download-card,
.software-info-card,
.software-release-card,
.software-article-card,
.gallery-toolbar,
.gallery-tile,
.music-sidebar,
.music-panel,
.music-player,
.music-empty,
.new-release,
.chart-list a,
.release-list a,
.music-card,
.article-tools,
.article-detail article,
.article-detail__hero {
  border: 1px solid var(--site-line) !important;
  background: rgba(255, 255, 255, 0.055) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(18px);
}

.product-card,
.article-card,
.gallery-tile,
.music-card,
.license-grid article,
.software-article-card {
  transition: transform 190ms ease, border-color 190ms ease, background 190ms ease, filter 190ms ease;
}

.product-card:hover,
.article-card:hover,
.gallery-tile:hover,
.music-card:hover,
.license-grid article:hover,
.software-article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 77, 69, 0.42) !important;
  background: rgba(255, 77, 69, 0.08) !important;
  filter: saturate(1.05);
}

.button,
button,
.gallery-hero__action,
.download-hero__actions a,
.license-action a,
.product-card a,
.article-card a,
.software-download-card a,
.music-hero__actions button,
.music-hero__actions a {
  border-radius: 999px !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  font-weight: 850;
}

.button--primary,
.download-hero__actions .button--primary,
.license-action .button--primary,
.gallery-hero__action,
.music-hero__actions button,
.product-card a,
.software-download-card a {
  color: #fff !important;
  background: linear-gradient(180deg, #ff6158, #e12a24) !important;
  box-shadow: 0 22px 80px rgba(255, 45, 37, 0.28) !important;
}

.button--ghost,
.ghost,
.music-hero__actions a,
.article-tools button {
  color: var(--site-muted) !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

input,
select,
textarea,
.music-search {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
  color: var(--site-text) !important;
  background: rgba(255, 255, 255, 0.07) !important;
  outline: 0;
}

input::placeholder,
textarea::placeholder {
  color: var(--site-dim) !important;
}

.download-shell,
.page-section,
.gallery-shell,
.music-main,
.article-detail,
.software-page main {
  width: min(1180px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.download-shell__head h2,
.section-head h2,
.article-list__head h2,
.music-section-head h2,
.software-section h2 {
  color: var(--site-text) !important;
  letter-spacing: -0.035em;
}

.download-shell__head p,
.section-head p,
.article-list__head p,
.music-section-head a,
.license-grid p,
.product-card p,
.article-card p,
.software-page p,
.gallery-toolbar span,
.music-page p,
footer {
  color: var(--site-muted) !important;
}

.category-tabs button,
.gallery-tags button,
.tag-strip button {
  color: var(--site-muted) !important;
  background: rgba(255, 255, 255, 0.055) !important;
}

.category-tabs button.is-active,
.gallery-tags button.is-active,
.tag-strip button.is-active {
  color: #fff !important;
  background: rgba(255, 77, 69, 0.24) !important;
  box-shadow: 0 14px 38px rgba(255, 45, 37, 0.2) !important;
}

.gallery-page .topbar {
  background: rgba(14, 14, 15, 0.74) !important;
}

.gallery-hero__shade {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.86) 0%, rgba(5, 5, 6, 0.34) 56%, rgba(5, 5, 6, 0.72) 100%),
    linear-gradient(180deg, rgba(255, 77, 69, 0.22), rgba(0, 0, 0, 0.3)) !important;
}

.gallery-viewer__backdrop {
  background: rgba(2, 2, 3, 0.9) !important;
}

.music-page {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.music-sidebar {
  position: sticky;
  top: 16px;
  height: calc(100vh - 32px);
  margin: 16px 0 16px 16px;
  border-radius: 28px !important;
}

.music-app {
  min-width: 0;
  padding: 16px;
}

.music-sidebar__nav a,
.music-sidebar__stats article {
  background: rgba(255, 255, 255, 0.05) !important;
}

.music-sidebar__nav a.is-active,
.music-sidebar__nav a:hover {
  color: #fff !important;
  background: rgba(255, 77, 69, 0.16) !important;
}

.music-hero__image {
  filter: saturate(1.04) contrast(1.05) brightness(0.78);
}

.music-player {
  border-radius: 28px 28px 0 0 !important;
}

.gallery-page .gallery-hero {
  width: 100%;
  max-width: none;
  min-height: clamp(560px, 72svh, 780px);
  margin: 0;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
}

.gallery-page .gallery-hero::before {
  inset: 0 !important;
  height: auto !important;
  border-radius: 0 !important;
  background-image: var(--hero-image) !important;
  background-size: cover !important;
  background-position: center !important;
  opacity: 0 !important;
  transform: scale(1.035);
  filter: saturate(1.05) contrast(1.06) brightness(0.86) !important;
}

.gallery-page .gallery-hero.has-hero-image::before {
  opacity: 0.62 !important;
}

.gallery-page .gallery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.9), rgba(5, 5, 6, 0.58) 42%, rgba(5, 5, 6, 0.28)),
    linear-gradient(180deg, rgba(5, 5, 6, 0.02), rgba(5, 5, 6, 0.58) 72%, #050506),
    radial-gradient(circle at 18% 14%, rgba(255, 77, 69, 0.26), transparent 34%),
    radial-gradient(circle at 76% 54%, rgba(255, 139, 84, 0.12), transparent 28%);
}

.gallery-page .gallery-hero__content {
  position: relative;
  z-index: 1;
}

.gallery-page .gallery-shell {
  width: 100%;
  max-width: none;
  margin-top: -72px;
  padding: 72px 0 96px;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.28), #020203 220px) !important;
}

.gallery-page .gallery-toolbar {
  position: relative;
  top: auto;
  z-index: 1;
  margin: 0 auto;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(18, 15, 16, 0.72), rgba(10, 8, 9, 0.52)) !important;
}

.gallery-page .gallery-masonry {
  column-count: 5;
  column-gap: 0;
  width: 100%;
  line-height: normal;
}

.gallery-page .gallery-tile {
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: #120c0d !important;
  box-shadow: none !important;
  backdrop-filter: none;
}

.gallery-page .gallery-tile:hover {
  transform: none;
  background: #120c0d !important;
}

.gallery-page .gallery-tile img {
  min-height: 220px;
}

.gallery-page .gallery-viewer {
  padding: 0;
}

.gallery-page .gallery-viewer figure,
.gallery-page .gallery-viewer figure.is-screen-fit {
  max-width: 100vw;
  max-height: 100svh;
}

.gallery-page .gallery-viewer img,
.gallery-page .gallery-viewer figure.is-screen-fit img {
  max-width: 100vw;
  max-height: 100svh;
  border-radius: 0;
}

.gallery-page .gallery-viewer figure.is-compact-size {
  max-width: 100vw;
  max-height: 100svh;
}

.gallery-page .gallery-viewer figure.is-compact-size img {
  max-width: 100vw;
  max-height: 100svh;
}

.music-page {
  display: block;
}

.music-page .music-sidebar {
  position: fixed;
  inset: 16px auto 16px 16px;
  width: 244px;
  height: auto;
  margin: 0;
  padding: 20px 12px;
}

.music-page .music-app {
  margin-left: 276px;
  padding: 16px 18px 118px 0;
}

.music-page .music-topbar {
  width: auto;
  margin: 0 0 18px;
}

.music-page .music-main {
  width: min(1680px, calc(100vw - 318px));
  max-width: none;
  padding-top: 0;
}

.music-page .music-hero {
  width: 100%;
  min-height: 360px;
  margin-top: 0;
  padding: 36px;
}

.music-page .music-layout {
  grid-template-columns: minmax(300px, 0.36fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.music-page .music-content {
  gap: 20px;
}

.music-page .music-panel {
  padding: 16px;
}

.music-page .music-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.music-page .new-release {
  grid-template-columns: 132px minmax(0, 1fr);
}

.music-page .new-release h3 {
  font-size: clamp(24px, 3vw, 38px);
}

.articles-page .page-hero,
.article-page .article-cover {
  width: calc(100% - 32px);
  max-width: none;
  min-height: clamp(500px, 62svh, 680px);
  margin-top: 24px;
  border: 1px solid var(--site-line) !important;
  border-radius: 34px 34px 0 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.92), rgba(5, 5, 6, 0.66) 48%, rgba(5, 5, 6, 0.28)),
    linear-gradient(180deg, rgba(255, 77, 69, 0.16), rgba(5, 5, 6, 0.78) 78%, #050506),
    radial-gradient(circle at 12% 18%, rgba(255, 77, 69, 0.34), transparent 36rem),
    radial-gradient(circle at 80% 18%, rgba(255, 139, 84, 0.18), transparent 30rem) !important;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.articles-page .page-hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(152px, 13vw, 190px) clamp(24px, 6vw, 86px) clamp(80px, 8vw, 116px) !important;
}

.articles-page .page-hero h1,
.article-page .article-cover h1 {
  max-width: 1160px;
  font-size: clamp(56px, 9vw, 128px) !important;
}

.articles-page .article-list {
  width: 100%;
  max-width: none;
  margin-top: -36px;
  padding: 36px 16px 110px !important;
  background: linear-gradient(180deg, rgba(5, 5, 6, 0.78), #020203 220px) !important;
}

.articles-page .article-list__head,
.articles-page .article-controls {
  width: 100%;
  border-radius: 0 !important;
  background: linear-gradient(180deg, rgba(18, 15, 16, 0.78), rgba(10, 8, 9, 0.58)) !important;
}

.articles-page .article-list__head {
  align-items: end;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px clamp(20px, 4vw, 42px) 26px;
}

.articles-page .article-list__head h2 {
  margin: 4px 0 0;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.articles-page .article-controls {
  margin: 0 0 24px;
  border-top: 0;
  padding: 18px clamp(14px, 3vw, 28px);
}

.articles-page .article-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.articles-page .article-card {
  min-height: 420px;
  border-radius: 28px !important;
}

.articles-page .article-card--lead {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 680px;
}

.articles-page .article-card img {
  height: 280px;
}

.articles-page .article-card--lead img {
  min-height: 680px;
}

.articles-page .article-card > div {
  padding: clamp(22px, 2.8vw, 38px);
}

.articles-page .article-card--lead h2 {
  font-size: clamp(38px, 4.8vw, 72px);
}

.article-page .article-detail {
  width: 100%;
  max-width: none;
}

.article-page .article-cover {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.48fr);
  gap: clamp(24px, 4vw, 68px);
  align-items: end;
  padding: clamp(58px, 8vw, 112px) clamp(24px, 6vw, 86px) !important;
}

.article-page .article-cover img {
  width: 100%;
  height: min(560px, 58svh);
  max-height: none;
  border-radius: 30px;
  object-fit: cover;
}

.article-page .article-body {
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 20px;
  padding: 22px 16px 116px !important;
}

.article-page .article-body article,
.article-page .article-related {
  border-radius: 28px !important;
}

.article-page .article-body article {
  min-height: 70svh;
  padding: clamp(30px, 4vw, 64px);
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.95;
}

.article-page .article-related {
  top: 112px;
}

footer {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  border-top: 1px solid var(--site-line);
  padding: 28px 0 42px;
}

@media (max-width: 980px) {
  .topbar,
  .music-topbar {
    top: 10px;
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: auto;
    padding: 14px;
  }

  .topbar nav,
  .music-topbar nav {
    justify-self: start;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .music-page {
    display: block;
  }

  .music-page .music-sidebar {
    position: static;
    height: auto;
    margin: 16px;
  }

  .music-page .music-app {
    margin-left: 0;
    padding: 0 16px 118px;
  }

  .music-page .music-main {
    width: 100%;
  }

  .music-page .music-layout {
    grid-template-columns: 1fr;
  }

  .gallery-page .gallery-masonry {
    column-count: 3;
  }

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

  .articles-page .article-card--lead {
    grid-column: span 2;
    grid-row: auto;
    min-height: 520px;
  }

  .article-page .article-cover,
  .article-page .article-body {
    grid-template-columns: 1fr;
  }

  .article-page .article-related {
    position: static;
  }
}

@media (max-width: 620px) {
  .topbar nav a,
  .music-topbar nav a {
    font-size: 13px;
  }

  .page-hero h1,
  .download-hero h1,
  .gallery-hero h1,
  .music-hero h1 {
    font-size: 46px !important;
  }

  .page-hero,
  .download-hero {
    padding: 48px 20px !important;
  }

  .gallery-page .gallery-masonry {
    column-count: 2;
    column-gap: 0;
  }

  .gallery-page .gallery-shell {
    padding-inline: 10px;
  }

  .gallery-page .gallery-tile {
    margin-bottom: 0;
    border-radius: 0 !important;
  }

  .articles-page .page-hero,
  .article-page .article-cover {
    width: calc(100% - 20px);
    min-height: auto;
    border-radius: 24px;
  }

  .articles-page .article-list {
    padding-inline: 10px !important;
  }

  .articles-page .article-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .articles-page .article-card--lead {
    grid-column: span 1;
    min-height: 420px;
  }

  .articles-page .article-card--lead img,
  .articles-page .article-card img {
    min-height: 0;
    height: 260px;
  }

  .articles-page .article-controls {
    grid-template-columns: 1fr;
  }

  .article-page .article-body {
    padding-inline: 10px !important;
  }
}
