/*
Theme Name: MOKE AIGC
Theme URI: https://example.com/
Author: MOKE
Author URI: https://example.com/
Description: Cinematic AIGC studio theme rendered with WordPress posts, media and PHP templates.
Version: 2.15.13
Requires at least: 6.0
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: moke-aigc
*/

:root {
  --bg: #050505;
  --bg-soft: #0d0d0b;
  --panel: #15140f;
  --line: rgba(231, 226, 204, 0.16);
  --text: #e7e2cc;
  --muted: rgba(231, 226, 204, 0.68);
  --soft: rgba(231, 226, 204, 0.08);
  --copper: #b7834d;
  --copper-strong: #d5a96e;
  --moss: #717c55;
  --blue: #60758d;
  --danger: #b45542;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --max: 1180px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -5;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.96)),
    linear-gradient(135deg, rgba(183, 131, 77, 0.14), transparent 36%),
    linear-gradient(225deg, rgba(96, 117, 141, 0.14), transparent 42%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  z-index: 10000;
  display: block;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--bg);
  background: var(--text);
  border-radius: var(--radius);
}

.site-header {
  position: fixed;
  top: 14px;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 0 16px;
  pointer-events: none;
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100vw - 32px));
  min-height: 58px;
  margin: 0 auto;
  padding: 10px 12px 10px 16px;
  pointer-events: auto;
  background: rgba(6, 6, 5, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand img {
  width: auto;
  max-width: 170px;
  max-height: 42px;
}

.site-nav .menu,
.footer-links {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.footer-links a:hover {
  color: var(--text);
  background: var(--soft);
}

.nav-toggle {
  display: none;
  min-height: 38px;
  padding: 0 12px;
  color: var(--text);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.site-main {
  min-height: 70vh;
}

.hero,
.article-index,
.features,
.listing-hero,
.archive-grid,
.page-hero,
.prompt-hero,
.prompt-library,
.content-prose,
.single-entry,
.entry-content-section {
  width: min(var(--max), calc(100vw - 32px));
  margin-right: auto;
  margin-left: auto;
}

.home-hero {
  width: 100%;
  min-height: 100vh;
  padding: 16px;
}

.hero-frame {
  position: relative;
  display: grid;
  min-height: calc(100vh - 32px);
  overflow: hidden;
  background: #070707;
  border: 1px solid rgba(231, 226, 204, 0.12);
  border-radius: 16px;
  isolation: isolate;
}

.hero-frame video,
.fallback-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame video {
  z-index: -4;
  filter: saturate(0.75) contrast(1.05) brightness(0.72);
}

.fallback-bg {
  z-index: -5;
  background:
    url("assets/radar-grid.png") center / cover,
    linear-gradient(135deg, rgba(183, 131, 77, 0.12), rgba(96, 117, 141, 0.14)),
    #050505;
}

.noise-overlay,
.bg-noise::before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.65'/%3E%3C/svg%3E");
}

.noise-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.46;
  mix-blend-mode: overlay;
}

.hero-frame::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent 42%, rgba(0, 0, 0, 0.72));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: end;
  width: min(1080px, calc(100vw - 64px));
  margin: auto auto 64px;
}

.hero-title {
  margin: 0;
  font-size: 6rem;
  line-height: 0.88;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.asterisk {
  color: var(--copper-strong);
}

.hero-side {
  display: grid;
  gap: 18px;
  align-self: end;
  color: var(--muted);
}

.hero-side p {
  margin: 0;
  font-size: 1.05rem;
}

.cta,
.button,
.article-read,
.learn {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--bg);
  font-weight: 700;
  background: var(--text);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.cta:hover,
.button:hover,
.article-read:hover,
.learn:hover {
  transform: translateY(-1px);
  background: var(--copper-strong);
}

.label,
.article-date,
.page-kicker,
.meta,
.count,
.category,
.number {
  color: var(--copper-strong);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-index {
  padding: 96px 0 72px;
}

.article-shell {
  display: grid;
  gap: 28px;
}

.article-header,
.features-head,
.listing-hero,
.page-hero,
.prompt-hero,
.single-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 32px;
  align-items: end;
}

.article-header h2,
.features-head h2,
.listing-hero h1,
.page-hero h1,
.prompt-hero h1,
.single-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 3rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.article-header p,
.features-head p,
.listing-hero p,
.page-hero p,
.prompt-hero p,
.single-hero p {
  margin: 0;
  color: var(--muted);
}

.article-filters,
.page-tabs,
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-filter,
.page-tab,
.filter {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  color: var(--muted);
  background: rgba(231, 226, 204, 0.06);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.article-filter.active,
.article-filter:hover,
.page-tab.active,
.page-tab:hover,
.filter.active,
.filter:hover {
  color: var(--text);
  background: rgba(183, 131, 77, 0.18);
  border-color: rgba(213, 169, 110, 0.42);
}

.article-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.article-card,
.feature-card,
.empty-state,
.intro-card,
.prompt-card {
  overflow: hidden;
  background: rgba(231, 226, 204, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.article-media {
  display: block;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #111;
}

.article-media img,
.feature-icon,
.page-image img,
.page-cover img,
.single-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card:hover .article-media img,
.feature-card:hover .feature-icon {
  transform: scale(1.035);
}

.article-media img,
.feature-icon {
  transition: transform 260ms ease;
}

.article-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.article-body h2,
.feature-card h3,
.prompt-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.25;
}

.article-body p,
.feature-card li,
.prompt-card p {
  margin: 0;
  color: var(--muted);
}

.article-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.article-tag {
  color: var(--muted);
  font-size: 0.82rem;
}

.article-read {
  min-height: 36px;
  padding: 7px 11px;
  font-size: 0.86rem;
}

.features {
  position: relative;
  display: grid;
  gap: 28px;
  padding: 88px 0 96px;
}

.bg-noise::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
}

.stat {
  width: fit-content;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(113, 124, 85, 0.2);
  border: 1px solid rgba(113, 124, 85, 0.45);
  border-radius: var(--radius);
}

.page-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 20px;
  padding: 18px;
  background: rgba(12, 12, 10, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.page-panel-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: end;
}

.page-panel h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.1;
}

.page-panel p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--muted);
}

.page-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
}

.page-index {
  display: grid;
  gap: 10px;
  align-content: end;
}

.index-row {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.feature-icon {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
}

.checks {
  display: grid;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checks li::before {
  color: var(--copper-strong);
  content: "+ ";
}

.entry-content-section,
.content-prose,
.single-entry {
  padding: 48px 0 80px;
}

.content-prose {
  max-width: 780px;
}

.content-prose > * {
  margin-top: 0;
  margin-bottom: 1.15em;
}

.content-prose a {
  color: var(--copper-strong);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.content-prose h1,
.content-prose h2,
.content-prose h3 {
  line-height: 1.15;
}

.content-prose img {
  height: auto;
  border-radius: var(--radius);
}

.listing-hero,
.page-hero,
.prompt-hero,
.single-hero {
  padding-top: 148px;
  padding-bottom: 42px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 90px;
}

.navigation.pagination {
  grid-column: 1 / -1;
}

.nav-links {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.page-numbers.current,
.page-numbers:hover {
  color: var(--bg);
  background: var(--text);
}

.page-cover,
.single-cover {
  width: min(var(--max), calc(100vw - 32px));
  margin: 0 auto 36px;
  overflow: hidden;
  border-radius: var(--radius);
}

.page-cover {
  aspect-ratio: 16 / 7;
}

.single-cover {
  aspect-ratio: 16 / 8;
}

.single-cover img,
.page-cover img {
  width: 100%;
}

.single-entry {
  width: 100%;
  padding-top: 0;
}

.single-entry .content-prose {
  padding-top: 24px;
}

.x-single-entry {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.x-single-header {
  max-width: 880px;
  margin: 0 auto 32px;
}

.x-single-back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: .82rem;
}

.x-single-source {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.x-single-avatar { display: block; flex: 0 0 40px; border-radius: 50%; }
.x-single-avatar:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

.x-source-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
}

.x-author-avatar {
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
}

.x-single-source strong,
.x-single-source small { display: block; }
.x-single-source strong { font-size: .92rem; }
.x-single-source small { margin-top: 3px; color: var(--muted); font-size: .75rem; }

.x-single-header h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.x-single-lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.x-single-media { max-width: 960px; margin: 0 auto 48px; }
.x-media-grid--detail {
  display: grid;
  gap: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #111;
}
.x-media-grid--detail.x-media-grid--1 { aspect-ratio: 16 / 10; }
.x-media-grid--detail.x-media-grid--2,
.x-media-grid--detail.x-media-grid--3,
.x-media-grid--detail.x-media-grid--4 { aspect-ratio: 16 / 10; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.x-media-grid--detail.x-media-grid--3 .x-media-item:first-child { grid-row: span 2; }
.x-media-grid--detail .x-media-item { position: relative; min-width: 0; min-height: 0; overflow: hidden; background: #151515; }
.x-media-grid--detail .x-media-item > a,
.x-media-grid--detail .x-media-preview { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.x-media-grid--detail img,
.x-media-grid--detail video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; background: #080808; }
.x-media-grid--detail .x-media-fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; color: var(--muted); font-size: .78rem; text-align: center; }
.x-media-grid--detail .x-media-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  background: rgba(0,0,0,.7);
  color: #fff;
  transform: translate(-50%,-50%);
  backdrop-filter: blur(8px);
}

.x-media-lightbox {
  width: min(1200px, calc(100vw - 32px));
  height: min(880px, calc(100vh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  background: #050505;
  color: #fff;
}
.x-media-lightbox::backdrop { background: rgba(0,0,0,.88); backdrop-filter: blur(6px); }
.x-media-lightbox__stage { display: grid; width: 100%; height: 100%; place-items: center; }
.x-media-lightbox__stage img,
.x-media-lightbox__stage video { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.x-media-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.x-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}

.x-single-content.content-prose { width: 100%; padding: 0; }
.x-source-panel { position: sticky; top: 96px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.x-source-panel__label { display: block; margin-bottom: 16px; color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.x-source-panel p { margin: 0 0 22px; font-size: .86rem; line-height: 1.65; white-space: pre-line; }
.x-source-panel dl { margin: 0 0 22px; }
.x-source-panel dl div { display: grid; grid-template-columns: 78px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .76rem; }
.x-source-panel dt { color: var(--muted); }
.x-source-panel dd { margin: 0; overflow-wrap: anywhere; }
.x-source-button { display: flex; min-height: 42px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); border-radius: 4px; font-size: .8rem; }
.x-source-button:hover { color: var(--bg); background: var(--text); }

.aihot-single-entry {
  width: min(1120px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.aihot-single-header {
  max-width: 940px;
  margin-bottom: 42px;
}

.aihot-single-back {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: .82rem;
}

.aihot-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .78rem;
}

.aihot-single-meta > * + *::before {
  margin-right: 14px;
  color: var(--line-strong);
  content: "/";
}

.aihot-single-brand {
  color: var(--copper-strong);
  font-weight: 800;
}

.aihot-single-header h1 {
  max-width: 940px;
  margin: 0;
  font-size: 3.4rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.aihot-single-media {
  width: min(960px, 100%);
  margin: 0 0 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #080808;
}

.aihot-single-media button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.aihot-single-media img {
  display: block;
  width: 100%;
  max-height: 720px;
  object-fit: contain;
}

.aihot-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(240px, 300px);
  gap: 60px;
  align-items: start;
}

.aihot-single-main {
  min-width: 0;
}

.aihot-single-reason {
  margin: 0 0 24px;
  padding: 18px 20px;
  border-left: 3px solid #d7ff45;
  background: #f3f5ed;
}

.aihot-single-reason strong {
  display: block;
  margin-bottom: 6px;
  font-size: .78rem;
}

.aihot-single-reason p {
  margin: 0;
  color: #34372e;
  line-height: 1.75;
}

.aihot-single-lead {
  margin: 0;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.85;
}

.aihot-single-content.content-prose {
  width: 100%;
  max-width: none;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
  margin-top: 34px;
}

.aihot-single-content img {
  cursor: zoom-in;
}

.aihot-single-content video,
.aihot-single-content iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 28px 0;
  border: 0;
  border-radius: var(--radius);
  background: #080808;
}

.aihot-source-panel {
  position: sticky;
  top: 110px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(231, 226, 204, .045);
}

.aihot-source-panel__label {
  display: block;
  margin-bottom: 10px;
  color: var(--copper-strong);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.aihot-source-panel > strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 1.05rem;
}

.aihot-source-panel dl {
  margin: 20px 0;
}

.aihot-source-panel dl div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
}

.aihot-source-panel dt { color: var(--muted); }
.aihot-source-panel dd { margin: 0; overflow-wrap: anywhere; }

.aihot-source-button {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: .8rem;
  text-align: center;
}

.aihot-source-button.is-primary,
.aihot-source-button:hover {
  color: var(--bg);
  background: var(--text);
}

@media (max-width: 760px) {
  .x-single-entry { padding-top: 32px; }
  .x-single-back { margin-bottom: 24px; }
  .x-single-layout { grid-template-columns: 1fr; gap: 36px; }
  .x-source-panel { position: static; }
  .x-media-grid--detail.x-media-grid--2,
  .x-media-grid--detail.x-media-grid--3,
  .x-media-grid--detail.x-media-grid--4 { aspect-ratio: 1 / 1; }
  .aihot-single-entry { padding-top: 32px; }
  .aihot-single-back { margin-bottom: 24px; }
  .aihot-single-header { margin-bottom: 30px; }
  .aihot-single-header h1 { font-size: 2.2rem; }
  .aihot-single-layout { grid-template-columns: 1fr; gap: 36px; }
  .aihot-source-panel { position: static; }
  .aihot-single-lead { font-size: 1rem; }
}

.not-found {
  min-height: 70vh;
  align-items: center;
}

.prompt-library {
  display: grid;
  gap: 18px;
  padding-bottom: 90px;
}

.prompt-intro {
  padding-top: 0;
  padding-bottom: 24px;
}

.toolbox {
  position: sticky;
  top: 88px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 0.8fr) auto;
  gap: 10px;
  padding: 10px;
  background: rgba(8, 8, 7, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
}

.search-input,
.subject-input {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  color: var(--text);
  background: rgba(231, 226, 204, 0.06);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.search-input:focus,
.subject-input:focus {
  border-color: rgba(213, 169, 110, 0.66);
}

.count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  color: var(--text);
  background: rgba(183, 131, 77, 0.16);
  border-radius: var(--radius);
  white-space: nowrap;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.intro-card {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.intro-card strong {
  color: var(--text);
}

.intro-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.prompt-workspace {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
}

.prompt-sidebar {
  position: sticky;
  top: 158px;
  align-self: start;
  padding: 14px;
  background: rgba(231, 226, 204, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.sidebar-title {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.prompt-filters {
  display: grid;
  gap: 6px;
}

.prompt-filter {
  display: flex;
  justify-content: space-between;
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--muted);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius);
}

.prompt-filter.active,
.prompt-filter:hover {
  color: var(--text);
  background: rgba(183, 131, 77, 0.14);
  border-color: rgba(213, 169, 110, 0.38);
}

.prompt-results {
  display: grid;
  gap: 20px;
}

.category-section {
  display: grid;
  gap: 12px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.prompt-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}

.card-head {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.prompt-card .meta {
  color: var(--moss);
}

.prompt-card .desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.prompt-card .prompt {
  padding: 12px;
  color: rgba(231, 226, 204, 0.86);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(231, 226, 204, 0.1);
  border-radius: var(--radius);
}

.prompt-card .actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.hint {
  color: var(--muted);
  font-size: 0.86rem;
}

.copy {
  min-height: 38px;
  padding: 8px 12px;
  color: var(--bg);
  font-weight: 700;
  background: var(--text);
  border: 0;
  border-radius: 999px;
}

.copy:hover {
  background: var(--copper-strong);
}

.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #050505;
}

.footer-inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max), calc(100vw - 32px));
  padding: 30px 0;
  margin: 0 auto;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

.footer-brand {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .article-list,
  .archive-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-title {
    font-size: 5rem;
  }

  .page-panel,
  .page-panel-main,
  .prompt-workspace {
    grid-template-columns: 1fr;
  }

  .prompt-sidebar {
    position: static;
  }
}

@media (max-width: 780px) {
  .site-header {
    top: 10px;
    padding: 0 10px;
  }

  .top-inner {
    width: calc(100vw - 20px);
    border-radius: var(--radius);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 10px;
    left: 10px;
    display: none;
    padding: 8px;
    background: rgba(6, 6, 5, 0.95);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .site-header.is-open .site-nav {
    display: block;
  }

  .site-nav .menu {
    display: grid;
  }

  .site-nav a {
    width: 100%;
    border-radius: var(--radius);
  }

  .home-hero {
    padding: 10px;
  }

  .hero-frame {
    min-height: calc(100vh - 20px);
    border-radius: var(--radius);
  }

  .hero-content {
    grid-template-columns: 1fr;
    width: calc(100vw - 40px);
    margin-bottom: 42px;
  }

  .hero-title {
    font-size: 3.9rem;
  }

  .article-header,
  .features-head,
  .listing-hero,
  .page-hero,
  .prompt-hero,
  .single-hero {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .article-header h2,
  .features-head h2,
  .listing-hero h1,
  .page-hero h1,
  .prompt-hero h1,
  .single-hero h1 {
    font-size: 2.2rem;
  }

  .article-list,
  .archive-grid,
  .feature-grid,
  .intro-strip,
  .library {
    grid-template-columns: 1fr;
  }

  .article-actions,
  .prompt-card .actions,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .toolbox {
    position: static;
    grid-template-columns: 1fr;
  }

  .page-cover,
  .single-cover {
    aspect-ratio: 4 / 3;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.top {
  position: fixed;
  top: 14px;
  left: 0;
  z-index: 1000;
  width: 100%;
  padding: 0 16px;
  pointer-events: none;
}

.top .top-inner {
  pointer-events: auto;
}

.home-nav {
  position: absolute;
  top: 22px;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  width: min(720px, calc(100% - 32px));
  padding: 8px;
  background: rgba(5, 5, 5, 0.58);
  border: 1px solid rgba(231, 226, 204, 0.15);
  border-radius: 999px;
  transform: translateX(-50%);
  backdrop-filter: blur(18px);
}

.home-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 12px;
  color: var(--muted);
  font-size: 0.9rem;
  border-radius: 999px;
}

.home-nav a:hover,
.home-nav .active {
  color: var(--text);
  background: rgba(231, 226, 204, 0.1);
}

.split-hero {
  align-items: stretch;
}

.split-hero > div {
  display: grid;
  align-content: end;
  gap: 16px;
}

.split-hero p {
  max-width: 560px;
}

.hero-visual {
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  background: rgba(231, 226, 204, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-toolbar,
.masonry,
.tech-layout,
.signal-strip,
.about-grid {
  width: min(var(--max), calc(100vw - 32px));
  margin-right: auto;
  margin-left: auto;
}

.feed-toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 96px;
}

.moke-card {
  display: grid;
  overflow: hidden;
  background: rgba(231, 226, 204, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.moke-card.wide {
  grid-column: span 2;
}

.moke-card .media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.moke-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.moke-card:hover .media img {
  transform: scale(1.035);
}

.moke-card .body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.moke-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.24rem;
  line-height: 1.25;
}

.moke-card p {
  margin: 0;
  color: var(--muted);
}

.moke-card .routes {
  display: grid;
  gap: 7px;
}

.moke-card .endpoint {
  display: block;
  overflow-x: auto;
  padding: 9px 10px;
  color: rgba(231, 226, 204, 0.86);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(231, 226, 204, 0.1);
  border-radius: var(--radius);
  white-space: nowrap;
}

.moke-card .actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.moke-card .tag,
.signal-card .meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.moke-card .read {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 36px;
  padding: 7px 11px;
  color: var(--bg);
  font-size: 0.86rem;
  font-weight: 800;
  background: var(--text);
  border-radius: 999px;
}

.moke-card .read:hover {
  background: var(--copper-strong);
}

.tech-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  padding-bottom: 72px;
}

.tech-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: rgba(231, 226, 204, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tech-sidebar a {
  display: flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 10px;
  color: var(--muted);
  border-radius: var(--radius);
}

.tech-sidebar a:hover {
  color: var(--text);
  background: rgba(183, 131, 77, 0.14);
}

.tech-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.signal-strip {
  display: grid;
  gap: 18px;
  padding-bottom: 96px;
}

.signal-grid,
.about-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.signal-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background: rgba(231, 226, 204, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.signal-card h3,
.intro-card h2 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.25;
}

.signal-card p,
.intro-card p {
  margin: 0;
  color: var(--muted);
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 24px;
}

.about-content {
  padding-top: 20px;
}

.button.ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.button.ghost:hover {
  color: var(--bg);
  background: var(--text);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .masonry,
  .tech-cards,
  .signal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .moke-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 780px) {
  .top {
    top: 10px;
    padding: 0 10px;
  }

  .top.is-open .site-nav {
    display: block;
  }

  .home-nav {
    top: 14px;
    width: calc(100% - 20px);
    border-radius: var(--radius);
  }

  .split-hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 260px;
  }

  .feed-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .masonry,
  .tech-layout,
  .tech-cards,
  .signal-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .tech-sidebar {
    position: static;
  }

  .moke-card .actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Frontend parity layer for MOKE AIGC public pages. */
:root {
  --bg: #000;
  --bg-soft: #070707;
  --panel: #050505;
  --line: rgba(222, 219, 200, 0.12);
  --text: #e1e0cc;
  --muted: rgba(222, 219, 200, 0.68);
  --soft: rgba(222, 219, 200, 0.08);
  --copper: #dedbc8;
  --copper-strong: #dedbc8;
  --accent-red: #b70000;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  --max: 1480px;
  --radius: 8px;
}

html {
  overflow-x: hidden;
  background: #000;
  scroll-padding-top: 86px;
}

body {
  overflow-x: hidden;
  background: #000;
  color: var(--text);
  font-family: "Almarai", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::before {
  display: none;
  content: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(222, 219, 200, 0.8);
  outline-offset: 4px;
}

.top {
  position: sticky;
  top: 0;
  left: auto;
  z-index: 60;
  width: 100%;
  padding: 0;
  pointer-events: auto;
  border-bottom: 1px solid rgba(222, 219, 200, 0.12);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(18px);
}

.top .top-inner,
.top-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: auto;
  max-width: var(--max);
  min-height: 0;
  margin: 0 auto;
  padding: 14px clamp(16px, 3vw, 34px);
  pointer-events: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.top .brand::before,
.site-footer .brand::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-red);
  box-shadow: 0 0 20px rgba(183, 0, 0, 0.75);
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.site-nav .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 56px);
  width: 100%;
}

.site-nav a {
  min-height: auto;
  padding: 0;
  color: rgba(225, 224, 204, 0.74);
  font-size: clamp(11px, 1.1vw, 14px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  background: transparent;
  border-radius: 0;
}

.site-nav a:hover,
.site-nav a.active,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
  color: var(--text);
  background: transparent;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(222, 219, 200, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.lang-switch button,
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(225, 224, 204, 0.58);
  font-size: 11px;
}

.lang-switch button.active,
.lang-switch a.active {
  background: #dedbc8;
  color: #050505;
}

.home-hero {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  padding: 16px;
  background: #000;
}

.hero-frame {
  min-height: calc(100vh - 32px);
  border: 0;
  border-radius: 24px;
  background: #070707;
}

.hero-frame video {
  z-index: -3;
  filter: saturate(0.75) contrast(1.05) brightness(0.76);
}

.fallback-bg {
  z-index: -4;
  background:
    url("assets/radar-grid.png") center / cover,
    radial-gradient(circle at 50% 55%, rgba(222, 219, 200, 0.18), transparent 40%),
    #050505;
}

.noise-overlay {
  opacity: 0.7;
}

.hero-frame::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.34), transparent 42%, rgba(0, 0, 0, 0.68));
}

.home-nav.nav-pill {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: clamp(14px, 4vw, 56px);
  justify-content: center;
  width: auto;
  max-width: min(100vw - 24px, 1120px);
  padding: 12px clamp(18px, 4vw, 34px);
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  background: rgba(0, 0, 0, 0.94);
  border: 0;
  border-radius: 0 0 24px 24px;
  transform: translateX(-50%);
  backdrop-filter: none;
}

.home-nav.nav-pill::-webkit-scrollbar {
  display: none;
}

.home-nav.nav-pill > a {
  min-height: auto;
  padding: 0;
  color: rgba(225, 224, 204, 0.78);
  font-size: clamp(10px, 1.1vw, 14px);
  background: transparent;
  border-radius: 0;
}

.home-nav.nav-pill > a:hover,
.home-nav.nav-pill > a.active {
  color: var(--text);
}

.home-nav.nav-pill .lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
  height: 24px;
  padding: 0;
  color: rgba(225, 224, 204, 0.58);
  font-size: 11px;
  line-height: 1;
  background: transparent;
  border-radius: 999px;
}

.home-nav.nav-pill .lang-switch a.active {
  color: #050505;
  background: #dedbc8;
}

.hero-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(280px, 4fr);
  gap: 24px;
  align-items: end;
  width: auto;
  margin: 0;
  padding: clamp(18px, 4vw, 52px);
}

.hero-title {
  position: relative;
  margin: 0;
  color: var(--text);
  font-size: clamp(38px, 9.5vw, 155px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: 0;
}

.hero-title .asterisk {
  position: absolute;
  top: 0.02em;
  right: -0.1em;
  color: var(--text);
  font-size: 0.18em;
}

.hero-side {
  display: grid;
  gap: 22px;
  justify-items: start;
  padding-bottom: 0.8vw;
}

.hero-side p {
  max-width: 450px;
  color: rgba(222, 219, 200, 0.72);
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.2;
}

.cta {
  gap: 12px;
  min-height: 52px;
  padding: 6px 7px 6px 23px;
  color: #050505;
  background: #dedbc8;
}

.cta .arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #000;
  color: #dedbc8;
}

.site-main > .hero:not(.home-hero) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(46px, 8vw, 112px) clamp(16px, 3vw, 34px) 34px;
}

.site-main > .today-hero {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 460px);
  padding-top: clamp(28px, 5vw, 70px);
  padding-bottom: 22px;
}

.site-main > .prompt-hero {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  padding-top: clamp(34px, 6vw, 86px);
  padding-bottom: 28px;
}

.site-main > .hero:not(.home-hero) h1 {
  max-width: 1080px;
  margin: 0;
  color: var(--text);
  line-height: 0.88;
  letter-spacing: 0;
}

.today-hero h1 {
  font-size: clamp(34px, 4.8vw, 76px);
  line-height: 0.94;
}

.tech-hero h1 {
  font-size: clamp(50px, 10vw, 150px);
  line-height: 0.82;
}

.prompt-hero h1 {
  font-size: clamp(40px, 6.7vw, 104px);
}

.about-hero h1 {
  font-size: clamp(58px, 12vw, 170px);
  line-height: 0.82;
}

html[lang^="en"] .tech-hero h1 {
  font-size: clamp(48px, 9vw, 132px);
}

html[lang^="en"] .prompt-hero h1 {
  font-size: clamp(40px, 6vw, 86px);
}

html[lang^="en"] .about-hero h1 {
  font-size: clamp(52px, 10vw, 136px);
}

.site-main > .hero:not(.home-hero) p {
  margin: 0;
  color: rgba(222, 219, 200, 0.72);
  font-size: 14px;
  line-height: 1.72;
}

.label,
.kicker {
  display: block;
  margin-bottom: 12px;
  color: rgba(222, 219, 200, 0.56);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.article-index {
  width: auto;
  max-width: none;
  padding: clamp(22px, 5vw, 72px);
  background: #000;
}

.article-shell {
  max-width: 1160px;
  margin: 0 auto;
}

.article-header {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(22px, 5vw, 64px);
}

.article-header h2 {
  color: var(--text);
  font-size: clamp(38px, 7vw, 92px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0;
}

.site-main > .filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2.4vw, 42px);
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 34px) 24px;
}

.site-main > .filters .filter {
  min-width: 150px;
  min-height: 34px;
  padding: 0 16px;
  color: rgba(222, 219, 200, 0.72);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(222, 219, 200, 0.18);
  border-radius: 4px;
}

.site-main > .filters .filter::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 10px;
  border-radius: 999px;
  background: rgba(222, 219, 200, 0.52);
  vertical-align: -1px;
}

.site-main > .filters .filter:hover {
  transform: translateY(-1px);
  border-color: rgba(222, 219, 200, 0.38);
}

.site-main > .filters .filter.active {
  color: var(--text);
  background: rgba(222, 219, 200, 0.26);
}

.site-main > .filters .filter.active::before {
  background: var(--accent-red);
}

.masonry.feed-grid {
  display: block;
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 34px) 80px;
  column-count: 3;
  column-gap: 24px;
}

.masonry.feed-grid .moke-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 24px;
  overflow: hidden;
  break-inside: avoid;
  background: #000;
  border: 1px solid rgba(222, 219, 200, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.masonry.feed-grid .moke-card:hover {
  transform: translateY(-4px);
  border-color: rgba(222, 219, 200, 0.34);
}

.masonry.feed-grid .media {
  display: block;
  aspect-ratio: auto;
  overflow: hidden;
  background: #101010;
}

.masonry.feed-grid .media img {
  width: 100%;
  height: auto;
  filter: saturate(0.9) brightness(0.8);
}

.masonry.feed-grid .moke-card:hover .media img {
  transform: scale(1.025);
  filter: saturate(0.96) brightness(0.88);
}

.masonry.feed-grid .body {
  display: grid;
  gap: 0;
  padding: clamp(18px, 2.2vw, 24px);
}

.masonry.feed-grid h2 {
  order: 1;
  margin: 0 0 8px;
  color: var(--text);
  font-size: clamp(19px, 1.55vw, 25px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: 0;
}

.masonry.feed-grid .date {
  order: 2;
  display: block;
  margin-bottom: 14px;
  color: #dedbc8;
  font-size: 13px;
  font-style: italic;
}

.masonry.feed-grid p {
  order: 3;
  color: rgba(222, 219, 200, 0.7);
  font-size: 13px;
  line-height: 1.62;
}

.masonry.feed-grid .routes {
  order: 4;
  margin-top: 18px;
}

.masonry.feed-grid .actions {
  order: 5;
  margin-top: 22px;
}

.moke-card .tag {
  padding: 7px 9px;
  border: 1px solid rgba(222, 219, 200, 0.2);
  color: rgba(222, 219, 200, 0.52);
  font-size: 11px;
  text-transform: uppercase;
}

.moke-card .read {
  min-height: 36px;
  padding: 0 13px;
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  background: rgba(222, 219, 200, 0.22);
  border-radius: 7px;
}

.moke-card .endpoint {
  display: block;
  margin-top: 10px;
  padding: 10px 12px;
  color: rgba(222, 219, 200, 0.72);
  font-size: 11px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  background: rgba(222, 219, 200, 0.06);
  border: 0;
  border-left: 2px solid var(--accent-red);
  border-radius: 0;
  white-space: normal;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 34px) 28px;
}

.ticker div {
  min-height: 92px;
  padding: 18px;
  background: #070707;
  border: 1px solid rgba(222, 219, 200, 0.12);
}

.ticker strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 22px;
  letter-spacing: 0;
}

.ticker span {
  color: rgba(222, 219, 200, 0.55);
  font-size: 12px;
  line-height: 1.5;
}

.workspace,
.tech-layout,
.prompt-workspace {
  display: grid;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 34px) 86px;
}

.sidebar,
.tech-sidebar,
.prompt-sidebar {
  position: sticky;
  top: 82px;
  align-self: start;
  display: block;
  padding: 20px;
  background: #080808;
  border: 1px solid rgba(222, 219, 200, 0.16);
  border-radius: 10px;
}

.side-title,
.sidebar-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 0;
  color: rgba(222, 219, 200, 0.58);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  border-bottom: 0;
}

.side-link,
.tech-sidebar a {
  display: block;
  min-height: 0;
  padding: 14px 0;
  color: rgba(222, 219, 200, 0.78);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  background: transparent;
  border-top: 1px solid rgba(222, 219, 200, 0.12);
  border-radius: 0;
}

.side-link:hover,
.tech-sidebar a:hover,
.side-link.active {
  color: var(--text);
  background: transparent;
  transform: translateX(3px);
}

.side-link.active::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--accent-red);
}

.grid,
.tech-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.grid .moke-card {
  overflow: hidden;
  background: #050505;
  border: 1px solid rgba(222, 219, 200, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.grid .moke-card.wide {
  grid-column: 1 / -1;
}

.grid .media {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: #101010;
}

.grid .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.78);
}

.grid .body {
  padding: clamp(18px, 2.2vw, 26px);
}

.grid .date {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(222, 219, 200, 0.5);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.grid .date::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-red);
}

.grid h2 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(22px, 2.3vw, 38px);
  line-height: 1.02;
  letter-spacing: 0;
}

.grid p {
  color: rgba(222, 219, 200, 0.68);
  font-size: 14px;
  line-height: 1.68;
}

.prompt-library {
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.prompt-library > .toolbox {
  position: static;
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(280px, 1.2fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 34px) 24px;
  background: transparent;
  border: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.subject-input,
.search-input {
  min-height: 44px;
  padding: 0 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(222, 219, 200, 0.2);
  border-radius: 8px;
}

.subject-input:focus,
.search-input:focus {
  border-color: rgba(222, 219, 200, 0.62);
}

.count {
  min-height: 44px;
  padding: 0 14px;
  color: rgba(222, 219, 200, 0.52);
  font-size: 12px;
  font-weight: 800;
  background: transparent;
  border-radius: 0;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 34px) 28px;
}

.intro-card {
  min-height: 104px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(222, 219, 200, 0.12);
  border-radius: 8px;
  box-shadow: none;
}

.intro-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 14px;
}

.intro-card span {
  color: rgba(222, 219, 200, 0.55);
  font-size: 12px;
  line-height: 1.55;
}

.prompt-sidebar {
  top: 74px;
  padding: 14px;
  background: #050505;
  border-color: rgba(222, 219, 200, 0.12);
  border-radius: 8px;
}

.prompt-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prompt-filter {
  width: 100%;
  min-height: 34px;
  padding: 0 14px;
  color: rgba(222, 219, 200, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(222, 219, 200, 0.18);
  border-radius: 5px;
}

.prompt-filter.active,
.prompt-filter:hover {
  color: #050505;
  background: rgba(222, 219, 200, 0.88);
}

.library {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.prompt-card {
  display: flex;
  min-height: 100%;
  gap: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(222, 219, 200, 0.05), transparent 120px),
    #050505;
  border: 1px solid rgba(222, 219, 200, 0.12);
  border-radius: 8px;
  box-shadow: none;
}

.prompt-card .card-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 16px 0;
}

.number {
  min-width: 34px;
  color: rgba(222, 219, 200, 0.44);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.prompt-card h2 {
  color: var(--text);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}

.category {
  display: inline-flex;
  width: fit-content;
  margin: 10px 16px 0;
  padding: 6px 8px;
  color: rgba(222, 219, 200, 0.56);
  font-size: 11px;
  text-transform: uppercase;
  border: 1px solid rgba(222, 219, 200, 0.18);
}

.prompt-card .meta {
  display: block;
  padding: 10px 16px 0;
  color: rgba(222, 219, 200, 0.44);
  font-size: 11px;
  line-height: 1.45;
}

.prompt-card .desc {
  padding: 14px 16px 0;
  color: rgba(222, 219, 200, 0.62);
  font-size: 13px;
  line-height: 1.58;
}

.prompt-card .prompt {
  flex: 1;
  margin: 16px;
  padding: 14px;
  color: rgba(225, 224, 204, 0.82);
  font-size: 12px;
  line-height: 1.62;
  overflow-wrap: anywhere;
  background: rgba(222, 219, 200, 0.055);
  border: 0;
  border-left: 2px solid var(--accent-red);
  border-radius: 0;
}

.prompt-card .actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px 16px;
}

.copy {
  min-height: 34px;
  padding: 0 13px;
  color: #050505;
  font-size: 12px;
  font-weight: 800;
  background: rgba(222, 219, 200, 0.9);
  border: 0;
  border-radius: 7px;
}

.hint {
  color: rgba(222, 219, 200, 0.38);
  font-size: 11px;
  line-height: 1.4;
}

.portrait {
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 34px) 28px;
}

.portrait img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  filter: saturate(0.86) brightness(0.72);
  border: 1px solid rgba(222, 219, 200, 0.12);
  border-radius: 8px;
}

.content.about-content {
  display: grid;
  grid-template-columns: minmax(250px, 340px) 1fr;
  gap: 24px;
  width: auto;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 34px) 88px;
}

.profile,
.manifesto {
  background: #070707;
  border: 1px solid rgba(222, 219, 200, 0.14);
  border-radius: 10px;
}

.profile {
  position: sticky;
  top: 82px;
  padding: 22px;
}

.profile h2,
.manifesto h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.05;
  letter-spacing: 0;
}

.profile dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.profile dt {
  color: rgba(222, 219, 200, 0.46);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.profile dd {
  margin: 4px 0 0;
  color: rgba(222, 219, 200, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.manifesto {
  overflow: hidden;
}

.block {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: clamp(18px, 4vw, 46px);
  padding: clamp(22px, 4vw, 46px);
  border-bottom: 1px solid rgba(222, 219, 200, 0.1);
}

.block:last-child {
  border-bottom: 0;
}

.num {
  color: rgba(222, 219, 200, 0.34);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.block h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: clamp(24px, 3.2vw, 52px);
  line-height: 0.98;
  letter-spacing: 0;
}

.block p {
  max-width: 760px;
  margin: 0;
  color: rgba(222, 219, 200, 0.68);
  font-size: 14px;
  line-height: 1.78;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  background: rgba(222, 219, 200, 0.18);
  border-radius: 7px;
}

.button.primary {
  color: #050505;
  font-weight: 800;
  background: #dedbc8;
}

.site-footer {
  border-top: 1px solid rgba(222, 219, 200, 0.12);
  background: #050505;
}

.footer-inner {
  width: auto;
  max-width: var(--max);
  padding: 30px clamp(16px, 3vw, 34px);
}

@media (max-width: 1120px) {
  .masonry.feed-grid {
    column-count: 2;
  }

  .site-main > .hero:not(.home-hero),
  .workspace,
  .tech-layout,
  .prompt-workspace {
    grid-template-columns: 1fr;
  }

  .ticker,
  .intro-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar,
  .tech-sidebar,
  .prompt-sidebar,
  .profile {
    position: static;
  }
}

@media (max-width: 720px) {
  .top .top-inner,
  .top-inner {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .site-nav {
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
  }

  .site-nav .menu {
    justify-content: flex-start;
  }

  .home-nav.nav-pill {
    justify-content: flex-start;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .masonry.feed-grid {
    column-count: 1;
  }

  .site-main > .filters {
    justify-content: flex-start;
    gap: 8px;
  }

  .site-main > .filters .filter {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    font-size: 12px;
  }

  .ticker,
  .grid,
  .tech-cards,
  .library,
  .intro-strip,
  .content.about-content,
  .prompt-library > .toolbox {
    grid-template-columns: 1fr;
  }

  .block {
    grid-template-columns: 1fr;
  }

  .moke-card .actions,
  .prompt-card .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .moke-card .read {
    justify-content: center;
  }
}
