/* ==========================================================================
   美图库 · 站点样式
   设计基调：深色底 + 薄荷绿点缀，参考「艺图语」的信息密度，
   但栅格、瀑布流与响应式全部改为现代 CSS 实现（无 jQuery、无第三方库）。
   ========================================================================== */

:root {
  --bg: #141414;
  --bg-header: rgba(20, 20, 20, 0.88);
  --bg-side: #171717;
  --bg-foot: #0c0c0c;
  --card: #242424;
  --card-hover: #2a2a2a;
  --chip: #1c1c1c;
  --line: #2a2a2a;
  --line-soft: #202020;

  --text: rgba(255, 255, 255, 0.62);
  --text-2: rgba(255, 255, 255, 0.42);
  --title: #f2f2f2;
  --muted: #7d7d7d;

  --accent: #31c27c;
  --accent-dark: #0c0c0c;
  --accent-soft: rgba(49, 194, 124, 0.12);

  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 64px;
  --side-w: 172px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font: "PingFang SC", "HarmonyOS Sans SC", "Hiragino Sans GB",
    "Microsoft YaHei", system-ui, -apple-system, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
  padding: 0;
  font-weight: 400;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

img {
  display: block;
  max-width: 100%;
  border: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  outline: none;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--accent);
  color: var(--accent-dark);
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-dark);
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* ---------- 滚动条 ---------- */
* {
  scrollbar-width: thin;
  scrollbar-color: #3a3a3a transparent;
}

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

*::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
  border: 3px solid var(--bg);
}

*::-webkit-scrollbar-thumb:hover {
  background: #4a4a4a;
}

/* ==========================================================================
   顶栏
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 18px;
  height: var(--header-h);
  padding: 0 22px;
  background: var(--bg-header);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  color: #fff;
  letter-spacing: 0.04em;
  flex: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.topnav a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text);
}

.topnav a:hover {
  color: var(--title);
  background: #1e1e1e;
}

.topnav a.is-active {
  color: var(--accent);
}

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(300px, 26vw);
  height: 38px;
  margin-left: auto;
  padding: 0 6px 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #1e1e1e;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.search:focus-within {
  border-color: var(--accent);
  background: #222;
}

.search input {
  width: 100%;
  min-width: 0;
  font-size: 14px;
  color: var(--title);
}

.search input::placeholder {
  color: var(--muted);
}

.search button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-left: auto;
  border-radius: 50%;
  color: var(--muted);
}

.search button:hover {
  color: var(--accent);
  background: #2a2a2a;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--text);
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--solid {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 500;
}

.btn--solid:hover {
  background: #3ad48b;
  border-color: #3ad48b;
  color: var(--accent-dark);
}

.btn.is-on {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn.is-on .icon {
  fill: currentColor;
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--text);
}

.nav-toggle:hover {
  background: #1e1e1e;
  color: var(--title);
}

/* ==========================================================================
   左侧固定分类栏
   ========================================================================== */
.sidebar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  z-index: 90;
  width: var(--side-w);
  padding: 18px 12px 40px;
  overflow-y: auto;
  background: var(--bg-side);
  border-right: 1px solid var(--line-soft);
}

.side-group + .side-group {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
}

.side-title {
  padding: 0 12px 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--text-2);
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text);
}

.side-link:hover {
  background: #1f1f1f;
  color: var(--title);
}

.side-link.is-active {
  background: var(--accent-soft);
  color: var(--accent);
}

.side-link .count {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-2);
}

.side-backdrop {
  display: none;
}

/* ==========================================================================
   页面主体
   ========================================================================== */
.main {
  margin-left: var(--side-w);
  padding: calc(var(--header-h) + 20px) 30px 0;
}

.wrap {
  max-width: 1780px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 34px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.hero p {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-2);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-tags span {
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--chip);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- 筛选栏 ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 22px;
}

.chip {
  height: 34px;
  padding: 0 16px;
  border: 1px solid #262626;
  border-radius: 999px;
  background: var(--chip);
  font-size: 14px;
  color: var(--text);
  transition: all 0.22s var(--ease);
}

.chip:hover {
  color: var(--title);
  border-color: #3a3a3a;
}

.chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-dark);
  font-weight: 500;
}

.result-tip {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-2);
}

/* ---------- 瀑布流（CSS 多列，无 JS 布局计算） ---------- */
.masonry {
  columns: 5;
  column-gap: 18px;
}

/* 作品少时收窄，避免单张卡片被拉得过宽 */
.masonry.is-narrow {
  max-width: calc(var(--cols, 3) * 540px);
}

.masonry.is-plain {
  columns: 1;
  max-width: none;
}

.card {
  break-inside: avoid;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.3s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  background: var(--card-hover);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
}

.card-media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #1b1b1b;
}

.card-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: filter 0.5s var(--ease), transform 0.7s var(--ease);
}

img.is-broken {
  opacity: 0;
}

.card:hover .card-media img {
  filter: brightness(0.45);
  transform: scale(1.03);
}

.card-count {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  color: #f0f0f0;
  backdrop-filter: blur(4px);
}

.card-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 30px 12px 10px;
  font-size: 12.5px;
  color: #eaeaea;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.card:hover .card-overlay,
.card:focus-within .card-overlay {
  opacity: 1;
}

.card-title {
  padding: 10px 13px 0;
  overflow: hidden;
  font-size: 14px;
  color: var(--title);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card-meta {
  display: flex;
  gap: 7px;
  padding: 3px 13px 12px;
  overflow: hidden;
  font-size: 12.5px;
  color: var(--muted);
  white-space: nowrap;
}

.card-meta a:hover {
  color: var(--accent);
}

.card-meta .dot {
  color: #4a4a4a;
}

.empty {
  padding: 80px 0;
  text-align: center;
  color: var(--text-2);
}

/* ---------- 通用区块头 ---------- */
.sec-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 56px 0 20px;
}

.sec-head h2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--title);
}

.sec-head .bar {
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: var(--accent);
}

.sec-head .more {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-2);
}

.sec-head .more:hover {
  color: var(--accent);
}

/* ---------- 关于 / 空状态引导 ---------- */
.about {
  max-width: 860px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text);
}

.about p + p {
  margin-top: 10px;
}

.about code,
.guide code {
  padding: 2px 6px;
  border-radius: 4px;
  background: #222;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12.5px;
  color: #b9e6cd;
}

.guide {
  padding: 42px 32px;
  border: 1px dashed #333;
  border-radius: var(--radius);
  background: #1a1a1a;
  color: var(--text);
}

.guide h2 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 500;
  color: var(--title);
}

.guide ol {
  margin: 12px 0;
  padding-left: 20px;
  list-style: decimal;
}

.guide li {
  margin: 6px 0;
  font-size: 14px;
  line-height: 1.8;
}

.guide b {
  font-weight: 400;
  color: var(--accent);
}

.guide-tip {
  font-size: 13px;
  color: var(--text-2);
}

.chip-num {
  opacity: 0.45;
  font-variant-numeric: tabular-nums;
}

/* ---------- 标签云 ---------- */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 8px;
}

.tag-cloud a {
  padding: 6px 14px;
  border: 1px solid #262626;
  border-radius: 999px;
  background: var(--chip);
  font-size: 13px;
  color: var(--text);
}

.tag-cloud a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- 页脚 ---------- */
.footer {
  margin-top: 80px;
  padding: 30px 30px 34px calc(30px + var(--side-w));
  background: var(--bg-foot);
  font-size: 13px;
  color: #666;
  text-align: center;
}

.footer p + p {
  margin-top: 6px;
}

.footer a {
  margin: 0 8px;
  color: #666;
}

.footer a:hover {
  color: var(--accent);
}

/* ==========================================================================
   详情页
   ========================================================================== */
.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  align-items: start;
  padding-top: 16px;
}

.viewer {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
}

.viewer-toolbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  background: linear-gradient(var(--bg) 70%, rgba(20, 20, 20, 0));
}

.viewer-toolbar .btn {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.viewer-toolbar .spacer {
  flex: 1;
}

.viewer-toolbar .idx {
  font-size: 13px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.shots {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1b1b1b;
  cursor: zoom-in;
}

.shot img {
  width: 100%;
  height: auto;
}

.shot::after {
  content: attr(data-idx);
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  font-size: 12px;
  color: #ddd;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.shot:hover::after {
  opacity: 1;
}

.shots.is-thumb {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.shots.is-thumb .shot img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.pager {
  display: flex;
  gap: 12px;
  margin: 26px 0 4px;
}

.pager a {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  font-size: 14px;
  color: var(--text);
}

.pager a span {
  display: block;
  font-size: 12px;
  color: var(--text-2);
}

.pager a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pager a.next {
  text-align: right;
}

/* ---------- 详情侧栏 ---------- */
.aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.author-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--card);
}

.author-card + .author-card {
  margin-top: 10px;
}

.author-card img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.author-card .who {
  min-width: 0;
}

.author-card strong {
  display: block;
  overflow: hidden;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--title);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.author-card strong:hover {
  color: var(--accent);
}

.author-card span {
  font-size: 12.5px;
  color: var(--text-2);
}

.detail-title {
  margin: 22px 0 10px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--title);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.detail-desc {
  margin: 16px 0 18px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--text);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.detail-tags a {
  padding: 4px 12px;
  border-radius: 999px;
  background: #1e1e1e;
  font-size: 12.5px;
  color: var(--muted);
}

.detail-tags a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.detail-actions {
  display: flex;
  gap: 10px;
}

.detail-actions .btn {
  flex: 1;
  height: 42px;
}

.tip {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-2);
}

/* ==========================================================================
   灯箱
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(8, 8, 8, 0.97);
}

.lightbox.is-open {
  display: grid;
  place-items: center;
}

.lightbox img {
  max-width: 92vw;
  max-height: 86dvh;
  object-fit: contain;
  border-radius: 6px;
}

.lb-close,
.lb-prev,
.lb-next {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #eee;
}

.lb-close {
  top: 20px;
  right: 20px;
}

.lb-prev {
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.lb-next {
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: var(--accent);
  color: var(--accent-dark);
}

.lb-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #999;
}

/* ==========================================================================
   响应式：一套代码适配，不再拆 m. 子站
   ========================================================================== */
@media (max-width: 1680px) {
  .masonry {
    columns: 4;
  }
}

@media (max-width: 1380px) {
  .masonry {
    columns: 3;
  }

  .detail {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 1150px) {
  .sidebar {
    width: 240px;
    transform: translateX(-100%);
    transition: transform 0.3s var(--ease);
    z-index: 120;
  }

  .sidebar.is-open {
    transform: none;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  }

  .side-backdrop {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 110;
    display: none;
    background: rgba(0, 0, 0, 0.55);
  }

  .side-backdrop.is-open {
    display: block;
  }

  .main {
    margin-left: 0;
    padding-right: 22px;
    padding-left: 22px;
  }

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

  .footer {
    padding-left: 22px;
  }

  .nav-toggle {
    display: grid;
  }

  .topnav {
    display: none;
  }

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

  .aside {
    position: static;
  }

  .viewer-toolbar {
    position: static;
  }
}

@media (max-width: 860px) {
  .masonry {
    columns: 2;
    column-gap: 12px;
  }

  .card {
    margin-bottom: 12px;
  }

  .search {
    width: auto;
    flex: 1;
    min-width: 0;
    margin-left: 0;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    padding: 26px 0 26px;
  }

  .hero h1 {
    letter-spacing: 0.08em;
  }

  .hero-tags span {
    padding: 5px 12px;
    font-size: 12px;
  }

  .shot {
    border-radius: 8px;
  }

  .lb-prev,
  .lb-next {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 560px) {
  .brand span:last-child {
    display: none;
  }

  .masonry {
    columns: 2;
  }

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

  .card-title {
    font-size: 13px;
    padding: 8px 10px 0;
  }

  .card-meta {
    padding: 2px 10px 10px;
    font-size: 11.5px;
  }

  .card-count {
    font-size: 11px;
    padding: 1px 7px;
  }

  .detail-title {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   LoRA 模型库
   ========================================================================== */

.hero--sub {
  padding: 30px 0 26px;
}

.hero--sub h1 {
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: 0.1em;
}

/* ---------- 三步说明 ---------- */
.usage {
  padding: 20px 24px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1b1b1b, #171717);
}

.usage-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.usage-steps li {
  position: relative;
  padding-left: 34px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  counter-increment: step;
}

.usage-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 22px;
}

.usage-steps b {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 500;
  color: var(--title);
}

.usage-steps code,
.lora-facts dd code {
  padding: 1px 5px;
  border-radius: 4px;
  background: #262626;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: #b9e6cd;
}

/* ---------- 模型卡片 ---------- */
.lora-list {
  display: grid;
  gap: 18px;
  max-width: 1180px;
  padding-bottom: 10px;
}

.lora {
  display: grid;
  grid-template-columns: 268px 1fr;
  gap: 24px;
  padding: 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.lora:hover {
  border-color: #333;
  background: var(--card-hover);
}

.lora-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1a1a;
  aspect-ratio: 3 / 4;
}

.lora-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.lora:hover .lora-thumb img {
  transform: scale(1.03);
}

.lora-noimg {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 13px;
  color: var(--text-2);
}

.lora-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.72);
  backdrop-filter: blur(6px);
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: #d8f5e6;
}

.lora-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.lora-name {
  margin: 0;
  font-size: 19px;
  font-weight: 500;
  color: var(--title);
}

.lora-name a {
  color: inherit;
}

.lora-name em {
  margin-left: 6px;
  padding: 1px 7px;
  border: 1px solid #2f2f2f;
  border-radius: 4px;
  font-size: 11.5px;
  font-style: normal;
  color: var(--text-2);
  vertical-align: 2px;
}

.lora-desc {
  margin: 0;
  max-width: 70ch;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text);
}

/* 触发词 */
.lora-trigger {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lora-k {
  font-size: 12px;
  color: var(--text-2);
}

.lora-words {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lora-words code {
  padding: 3px 8px;
  border: 1px solid #2c3a33;
  border-radius: 5px;
  background: rgba(49, 194, 124, 0.08);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: #8fd9b3;
}

.lora-copy {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border: 1px solid #303030;
  border-radius: 5px;
  background: transparent;
  font-size: 12px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.lora-copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.lora-copy.is-done {
  border-color: var(--accent);
  color: var(--accent);
}

.lora-copy .icon {
  width: 13px;
  height: 13px;
}

/* 参数表 */
.lora-facts {
  display: grid;
  max-width: 780px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px 20px;
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: #1d1d1d;
}

.lora-facts dt {
  font-size: 11.5px;
  color: var(--text-2);
}

.lora-facts dd {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--title);
  word-break: break-all;
}

.lora-note {
  margin: 0;
  padding-left: 11px;
  border-left: 2px solid #2f2f2f;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-2);
}

.lora-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.btn.is-disabled {
  border-color: #2c2c2c;
  background: #1c1c1c;
  color: #5a5a5a;
  cursor: not-allowed;
  pointer-events: none;
}

/* 示例图条 */
.lora-samples {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.lora-sample {
  width: 62px;
  height: 82px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: zoom-in;
}

.lora-sample img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: opacity 0.25s var(--ease), transform 0.4s var(--ease);
}

.lora-sample:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.lora-sample-more {
  font-size: 12px;
  color: var(--text-2);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1150px) {
  .lora {
    grid-template-columns: 220px 1fr;
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .usage-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lora {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .lora-thumb {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }

  .lora-thumb img {
    object-position: center 22%;
  }
}

@media (max-width: 560px) {
  .usage {
    padding: 16px;
  }

  .lora {
    padding: 14px;
  }

  .lora-facts {
    grid-template-columns: 1fr 1fr;
  }

  .lora-sample {
    width: 54px;
    height: 72px;
  }
}

/* ---------- 首页 · 动漫模型条带 ---------- */
.lora-teaser {
  margin: 34px 0 8px;
  padding: 18px 20px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #191919;
}

.teaser-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.teaser-head h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--title);
}

.teaser-more {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--accent);
}

.teaser-more:hover {
  text-decoration: underline;
}

.teaser-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.teaser-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid #262626;
  border-radius: 8px;
  background: #1f1f1f;
}

.teaser-card img {
  flex: none;
  width: 56px;
  height: 74px;
  border-radius: 5px;
  object-fit: cover;
}

.teaser-info {
  min-width: 0;
}

.teaser-info h4 {
  margin: 0;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--title);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.teaser-info p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--text-2);
}

.teaser-dl {
  flex: none;
  margin-left: auto;
  padding: 5px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent);
  transition: all 0.22s var(--ease);
}

.teaser-dl:hover {
  background: var(--accent);
  color: var(--accent-dark);
}

/* ==========================================================================
   账号与会员
   ========================================================================== */

.account-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--text);
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}

.account-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.account-pill.is-member {
  border-color: rgba(49, 194, 124, 0.5);
  background: var(--accent-soft);
  color: var(--accent);
}

.account-pill .icon {
  width: 15px;
  height: 15px;
}

/* ---------- 通用面板 ---------- */
.panel {
  padding: 26px 28px;
  margin-bottom: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #1a1a1a;
}

.btn--block {
  width: 100%;
}

.btn--sm {
  height: 30px;
  padding: 0 12px;
  font-size: 13px;
}

.btn--ghost {
  border-color: transparent;
  background: transparent;
  color: var(--text-2);
}

.btn--ghost:hover {
  border-color: var(--line);
  color: var(--text);
}

/* ---------- 登录 / 注册 ---------- */
.auth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.auth-tab {
  padding: 7px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.auth-tab:hover {
  color: var(--text);
}

.auth-tab.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.auth-form {
  display: grid;
  gap: 14px;
  max-width: 380px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span {
  font-size: 13px;
  color: var(--text-2);
}

.field input {
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141414;
  font-size: 14px;
  color: var(--title);
  font-family: inherit;
  transition: border-color 0.2s var(--ease);
}

.field input::placeholder {
  color: #555;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-tip {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-2);
  min-height: 18px;
}

.form-tip.is-error {
  color: #e06666;
}

.form-tip.is-ok {
  color: var(--accent);
}

.auth-note {
  margin: 20px 0 0;
  font-size: 12.5px;
  line-height: 1.8;
  color: #666;
}

/* ---------- 会员状态卡 ---------- */
.member-card {
  background: linear-gradient(135deg, #1d2723 0%, #1a1a1a 60%);
  border-color: #263a30;
}

.member-head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.member-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  flex: none;
}

.member-icon .icon {
  width: 22px;
  height: 22px;
}

.member-info h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--title);
}

.member-info p {
  margin: 3px 0 0;
  font-size: 13px;
  color: var(--text-2);
}

.member-info b.is-member-text {
  font-weight: 500;
  color: var(--accent);
}

.member-head .btn--ghost {
  margin-left: auto;
}

.member-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #23302a;
}

/* ---------- 跳转模式：获取完整套图 ---------- */
.support-panel {
  max-width: 620px;
  margin-inline: auto;
  background: linear-gradient(135deg, #1d2723 0%, #1a1a1a 60%);
  border-color: #263a30;
}

.support-btn {
  margin-top: 22px;
  height: 46px;
  font-size: 14.5px;
}

.support-btn .icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

.support-steps {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.support-steps li {
  position: relative;
  counter-increment: step;
  padding: 9px 0 9px 34px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-2);
}

.support-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.support-panel .auth-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #23302a;
}

/* ---------- 套餐 ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  max-width: 1000px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.plan:hover {
  border-color: #3a3a3a;
  transform: translateY(-2px);
}

.plan.is-hot {
  border-color: rgba(49, 194, 124, 0.55);
  background: linear-gradient(180deg, #1e2a24, #212121);
}

.plan-hot {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--accent);
  font-size: 11.5px;
  color: var(--accent-dark);
}

.plan h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--title);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 2px 0 0;
}

.plan-price b {
  font-size: 26px;
  font-weight: 500;
  color: var(--accent);
}

.plan-price span {
  font-size: 12.5px;
  color: var(--text-2);
}

.plan-desc {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-2);
  flex: 1;
}

.buy-hint {
  margin: 14px 0 26px;
  font-size: 13px;
  color: var(--text-2);
}

/* ---------- 订单 ---------- */
.order-panel {
  border-color: #2c3a33;
}

.order-title {
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 500;
  color: var(--title);
}

.order-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 26px;
  align-items: start;
}

.pay-qr {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 14px;
  border-radius: 10px;
  background: #fff;
}

.pay-qr img {
  display: block;
  border-radius: 6px;
}

.pay-qr p {
  margin: 0;
  font-size: 12.5px;
  color: #444;
}

.qr-placeholder {
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 26px 12px;
  color: #999;
  text-align: center;
}

.qr-placeholder .icon {
  width: 30px;
  height: 30px;
  color: #bbb;
}

.qr-placeholder p {
  margin: 0;
  font-size: 13px;
  color: #555;
}

.qr-placeholder span {
  font-size: 12px;
  color: #999;
}

.order-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px 20px;
  margin: 0;
  padding: 14px 16px;
  border-radius: 8px;
  background: #1d1d1d;
}

.order-facts dt {
  font-size: 11.5px;
  color: var(--text-2);
}

.order-facts dd {
  margin: 3px 0 0;
  font-size: 13.5px;
  color: var(--title);
  word-break: break-all;
  font-variant-numeric: tabular-nums;
}

.order-tip {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-2);
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

/* ---------- 卡密 ---------- */
.redeem-panel .sec-head {
  margin-bottom: 8px;
}

.redeem-desc {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-2);
}

.redeem-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
}

.redeem-form input {
  flex: 1;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #141414;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: var(--title);
  text-transform: uppercase;
}

.redeem-form input:focus {
  outline: none;
  border-color: var(--accent);
}

/* ---------- 详情页锁定块 ---------- */
.shot.is-locked {
  cursor: default;
  height: clamp(320px, 46vh, 460px);
  overflow: hidden;
  background: #191919;
}

.shot.is-locked::after {
  display: none;
}

.lock-blur {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  filter: blur(24px) brightness(0.7) saturate(0.85);
}

.lock-body {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  height: 100%;
  padding: 40px 20px;
  text-align: center;
  /* 均匀压暗：即使浏览器忽略了 blur，也不会露出清晰原图 */
  background: rgba(10, 10, 10, 0.58);
}

.lock-body .btn {
  white-space: nowrap;
}

.lock-body .icon {
  width: 30px;
  height: 30px;
  color: rgba(255, 255, 255, 0.85);
}

.lock-title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7);
}

.lock-sub {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.unlock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 4px 0;
  padding: 16px 20px;
  border: 1px solid #2c3a33;
  border-radius: var(--radius);
  background: linear-gradient(90deg, #1c2622, #1a1a1a);
}

.unlock-bar b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--title);
}

.unlock-bar span {
  font-size: 12.5px;
  color: var(--text-2);
}

.unlock-bar .btn {
  flex: none;
}

/* ---------- LoRA 提取码 ---------- */
.lora-code {
  font-size: 12.5px;
  color: var(--text-2);
  align-self: center;
}

.lora-code b {
  font-weight: 500;
  color: var(--accent);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.08em;
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .panel {
    padding: 20px 18px;
  }

  .order-body {
    grid-template-columns: 1fr;
  }

  .pay-qr {
    max-width: 260px;
  }

  .unlock-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .member-head {
    flex-wrap: wrap;
  }

  .member-head .btn--ghost {
    margin-left: 0;
  }
}

@media (max-width: 560px) {
  .plans {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .plan {
    padding: 16px 12px;
  }

  .plan-price b {
    font-size: 21px;
  }

  .reedem-form,
  .redeem-form {
    flex-direction: column;
  }

  .redeem-form button {
    width: 100%;
  }

  .account-pill span {
    display: none;
  }

  .account-pill {
    padding: 0 12px;
  }
}

/* ==========================================================================
   管理后台
   ========================================================================== */

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 60px;
  padding: 0 26px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(16, 16, 16, 0.92);
  backdrop-filter: blur(10px);
}

.admin-header-right {
  display: flex;
  gap: 8px;
}

.admin-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 26px 70px;
}

.admin-login {
  max-width: 460px;
  margin: 60px auto;
}

.admin-login h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 500;
  color: var(--title);
}

.admin-login h1 .icon {
  width: 19px;
  height: 19px;
  color: var(--accent);
}

.admin-login code,
.warn-banner code {
  padding: 1px 5px;
  border-radius: 4px;
  background: #262626;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: #b9e6cd;
}

.warn-banner {
  margin-bottom: 22px;
  padding: 13px 18px;
  border: 1px solid #6b4a1e;
  border-radius: 8px;
  background: #2a2114;
  font-size: 13px;
  line-height: 1.7;
  color: #e0b878;
}

.warn-banner b {
  font-weight: 500;
  color: #f0c98a;
}

/* ---------- 统计 ---------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stat {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #1a1a1a;
}

.stat span {
  display: block;
  font-size: 12px;
  color: var(--text-2);
}

.stat b {
  display: block;
  margin-top: 5px;
  font-size: 20px;
  font-weight: 500;
  color: var(--title);
  font-variant-numeric: tabular-nums;
}

/* ---------- 生成卡密 ---------- */
.card-gen {
  display: grid;
  grid-template-columns: 110px 190px 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 8px;
}

.card-gen .field input {
  height: 38px;
}

.code-out {
  margin: 12px 0 18px;
  padding: 14px 16px;
  border: 1px solid #2c3a33;
  border-radius: 8px;
  background: #1a211e;
}

.code-out:empty {
  display: none;
}

.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.code-head b {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}

.code-list {
  margin: 0;
  max-height: 220px;
  overflow: auto;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.9;
  color: #cfe9db;
  white-space: pre;
}

/* ---------- 表格 ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  white-space: nowrap;
}

.admin-table th {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: #191919;
  font-size: 12px;
  font-weight: 400;
  text-align: left;
  color: var(--text-2);
}

.admin-table td {
  padding: 11px 14px;
  border-bottom: 1px solid #1c1c1c;
  color: var(--text);
  vertical-align: middle;
}

.admin-table tbody tr:last-child td {
  border-bottom: 0;
}

.admin-table tbody tr:hover {
  background: #1c1c1c;
}

.admin-table .mono {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12.5px;
  color: #d5d5d5;
}

.admin-table .dim {
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}

.td-empty {
  padding: 26px 14px !important;
  text-align: center;
  color: #666;
}

.tag-ok,
.tag-used,
.tag-wait,
.tag-off {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
}

.tag-ok {
  background: rgba(49, 194, 124, 0.14);
  color: var(--accent);
}

.tag-wait {
  background: rgba(224, 168, 78, 0.14);
  color: #d9a441;
}

.tag-used,
.tag-off {
  background: #262626;
  color: #888;
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .card-gen {
    grid-template-columns: 1fr 1fr;
  }

  .card-gen button {
    grid-column: 1 / -1;
  }

  .admin-main {
    padding: 20px 16px 60px;
  }

  .admin-header {
    padding: 0 16px;
  }
}

@media (max-width: 560px) {
  .stat-row {
    grid-template-columns: 1fr 1fr;
  }

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