/* ==================================================================
 * Terrazzo Arcade · 水磨石街机
 * 骨白水磨石拼花地坪 → 釉面台面板块 → 釉面厚卡 → 真实封面
 * ================================================================== */

:root {
  --rel-cement: #f2ede3;
  --rel-cement-deep: #e5ddcd;
  --rel-cement-shadow: #d9d0bd;
  --rel-glaze: #fcfaf5;
  --rel-ink: #201e1b;
  --rel-ink-soft: #6f685c;
  --rel-coral: #ff6a4d;
  --rel-mustard: #f2b53c;
  --rel-lake: #2f8fd0;
  --rel-pine: #3fae7c;
  --rel-violet: #8a5cd6;
  --rel-rose: #ef4f8b;
  --rel-font-display: "Sora", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --rel-font-body: "Space Grotesk", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --rel-font-mono: "Space Mono", Consolas, "Courier New", monospace;
  --rel-accent: var(--rel-mustard);
  --rel-accent-deep: #d99b1f;
  --rel-theme-ink: #201e1b;
}

* { -moz-box-sizing: border-box; box-sizing: border-box; }

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

/* 隐藏态优先于组件自身的 display，避免空状态与主内容同时出现 */

[hidden] {
  display: none !important;
}

body.rel-body {
  margin: 0;
  color: var(--rel-ink);
  font-family: var(--rel-font-body);
  font-size: 15px;
  line-height: 1.62;
  background-color: var(--rel-cement);
  background-image:
    -webkit-radial-gradient(ellipse 10px 6px at 12% 22%, rgba(255,106,77,.9), transparent 60%),
    -webkit-radial-gradient(ellipse 7px 9px at 34% 7%, rgba(47,143,208,.85), transparent 60%),
    -webkit-radial-gradient(ellipse 12px 8px at 58% 27%, rgba(242,181,60,.9), transparent 60%),
    -webkit-radial-gradient(ellipse 8px 8px at 77% 11%, rgba(63,174,124,.85), transparent 60%),
    -webkit-radial-gradient(ellipse 11px 8px at 92% 35%, rgba(138,92,214,.8), transparent 60%),
    -webkit-radial-gradient(ellipse 7px 6px at 22% 49%, rgba(239,79,139,.8), transparent 60%),
    -webkit-radial-gradient(ellipse 13px 9px at 45% 59%, rgba(255,106,77,.6), transparent 60%),
    -webkit-radial-gradient(ellipse 9px 7px at 67% 45%, rgba(47,143,208,.75), transparent 60%),
    -webkit-radial-gradient(ellipse 8px 10px at 85% 67%, rgba(242,181,60,.75), transparent 60%),
    -webkit-radial-gradient(ellipse 11px 7px at 5% 73%, rgba(138,92,214,.65), transparent 60%),
    -webkit-radial-gradient(ellipse 7px 7px at 31% 89%, rgba(63,174,124,.75), transparent 60%),
    -webkit-radial-gradient(ellipse 10px 7px at 53% 77%, rgba(239,79,139,.6), transparent 60%),
    -webkit-radial-gradient(ellipse 9px 6px at 73% 93%, rgba(47,143,208,.6), transparent 60%),
    -webkit-radial-gradient(ellipse 8px 7px at 95% 83%, rgba(255,106,77,.55), transparent 60%),
    -webkit-radial-gradient(ellipse 5px 5px at 17% 33%, rgba(32,30,27,.2), transparent 60%),
    -webkit-radial-gradient(ellipse 6px 4px at 62% 7%, rgba(32,30,27,.16), transparent 60%),
    -webkit-radial-gradient(ellipse 4px 5px at 89% 51%, rgba(32,30,27,.16), transparent 60%),
    -webkit-radial-gradient(ellipse 5px 4px at 39% 37%, rgba(32,30,27,.13), transparent 60%);
  background-image:
    radial-gradient(ellipse 10px 6px at 12% 22%, rgba(255,106,77,.9), transparent 60%),
    radial-gradient(ellipse 7px 9px at 34% 7%, rgba(47,143,208,.85), transparent 60%),
    radial-gradient(ellipse 12px 8px at 58% 27%, rgba(242,181,60,.9), transparent 60%),
    radial-gradient(ellipse 8px 8px at 77% 11%, rgba(63,174,124,.85), transparent 60%),
    radial-gradient(ellipse 11px 8px at 92% 35%, rgba(138,92,214,.8), transparent 60%),
    radial-gradient(ellipse 7px 6px at 22% 49%, rgba(239,79,139,.8), transparent 60%),
    radial-gradient(ellipse 13px 9px at 45% 59%, rgba(255,106,77,.6), transparent 60%),
    radial-gradient(ellipse 9px 7px at 67% 45%, rgba(47,143,208,.75), transparent 60%),
    radial-gradient(ellipse 8px 10px at 85% 67%, rgba(242,181,60,.75), transparent 60%),
    radial-gradient(ellipse 11px 7px at 5% 73%, rgba(138,92,214,.65), transparent 60%),
    radial-gradient(ellipse 7px 7px at 31% 89%, rgba(63,174,124,.75), transparent 60%),
    radial-gradient(ellipse 10px 7px at 53% 77%, rgba(239,79,139,.6), transparent 60%),
    radial-gradient(ellipse 9px 6px at 73% 93%, rgba(47,143,208,.6), transparent 60%),
    radial-gradient(ellipse 8px 7px at 95% 83%, rgba(255,106,77,.55), transparent 60%),
    radial-gradient(ellipse 5px 5px at 17% 33%, rgba(32,30,27,.2), transparent 60%),
    radial-gradient(ellipse 6px 4px at 62% 7%, rgba(32,30,27,.16), transparent 60%),
    radial-gradient(ellipse 4px 5px at 89% 51%, rgba(32,30,27,.16), transparent 60%),
    radial-gradient(ellipse 5px 4px at 39% 37%, rgba(32,30,27,.13), transparent 60%);
  background-size:
    320px 320px, 420px 420px, 260px 260px, 380px 380px, 300px 300px, 460px 460px,
    280px 280px, 340px 340px, 400px 400px, 240px 240px, 360px 360px, 300px 300px, 440px 440px,
    260px 260px, 380px 380px, 320px 320px, 420px 420px, 280px 280px;
}

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

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

button { font: inherit; color: inherit; }

h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }

ul, ol { list-style: none; padding: 0; }

.rel-shell { width: min(100% - 40px, 1320px); margin-inline: auto; }

.rel-skip {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 90;
  padding: 11px 20px;
  border-radius: 0 0 14px 14px;
  background: var(--rel-ink);
  color: #f7f2e8;
  font-family: var(--rel-font-display);
  font-size: 13px;
}

.rel-skip:focus { top: 0; }

:focus-visible {
  outline: 2px solid var(--rel-ink);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------------- 顶栏：石板导引 ---------------- */

.rel-masthead { position: -webkit-sticky; position: sticky; top: 0; z-index: 40; }

.rel-top {
  background: rgba(242,237,227,.94);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(32,30,27,.12);
}

.rel-top__row {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 20px;
  padding: 14px 0 12px;
}

.rel-brand {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 11px;
  -webkit-box-flex: 0;
  -webkit-flex: 0 0 auto;
     -moz-box-flex: 0;
          flex: 0 0 auto;
}

.rel-brand__shard {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--rel-ink);
  box-shadow: 0 6px 14px rgba(32,30,27,.28);
}

.rel-brand__shard svg { display: block; }

.rel-brand__text { display: -webkit-box; display: -webkit-flex; display: -moz-box; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -moz-box-orient: vertical; -moz-box-direction: normal; flex-direction: column; line-height: 1.2; }

.rel-brand__name {
  font-family: var(--rel-font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.01em;
}

.rel-brand__tag {
  font-family: var(--rel-font-mono);
  font-size: 10.5px;
  color: var(--rel-ink-soft);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rel-search {
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
     -moz-box-flex: 1;
          flex: 1 1 auto;
  max-width: 380px;
  margin-left: auto;
}

.rel-search input {
  width: 100%;
  height: 42px;
  border-radius: 21px;
  border: 1px solid rgba(32,30,27,.14);
  background: var(--rel-glaze);
  padding: 0 18px 0 42px;
  font-family: var(--rel-font-body);
  font-size: 14px;
  color: var(--rel-ink);
  box-shadow: inset 0 2px 5px rgba(32,30,27,.07);
}

.rel-search input::-webkit-input-placeholder { color: #a49b8c; }

.rel-search input::-moz-placeholder { color: #a49b8c; }

.rel-search input::placeholder { color: #a49b8c; }

.rel-search input:focus-visible { outline: 2px solid var(--rel-ink); outline-offset: 2px; }

.rel-search__icon {
  position: absolute;
  left: 15px;
  top: 13px;
  pointer-events: none;
}

.rel-allgames {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border-radius: 21px;
  background: var(--rel-ink);
  color: #f7f2e8;
  border: 0;
  cursor: pointer;
  font-family: var(--rel-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  white-space: nowrap;
}

.rel-allgames:hover { background: #35322d; }

.rel-chips {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rel-chips::-webkit-scrollbar { display: none; }

.rel-chip {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 7px;
  height: 30px;
  padding: 0 14px;
  border-radius: 15px;
  font-family: var(--rel-font-display);
  font-weight: 600;
  font-size: 12.5px;
  color: var(--rel-ink);
  background: var(--rel-glaze);
  border: 1px solid rgba(32,30,27,.13);
  white-space: nowrap;
}

.rel-chip i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
  background: var(--rel-dot, var(--rel-ink));
}

.rel-chip:hover { border-color: rgba(32,30,27,.42); }

.rel-chip[aria-current="page"] { border-color: var(--rel-ink); box-shadow: inset 0 0 0 1px var(--rel-ink); }

/* ---------------- 按钮 ---------------- */

.rel-btn {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 24px;
  border-radius: 23px;
  border: 0;
  cursor: pointer;
  font-family: var(--rel-font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .01em;
}

.rel-btn--solid { background: var(--rel-mustard); color: #2a2210; }

.rel-btn--solid:hover { background: #ffc84f; }

.rel-btn--ink { background: var(--rel-ink); color: #f7f2e8; }

.rel-btn--ink:hover { background: #35322d; }

.rel-btn--ghost {
  background: transparent;
  color: var(--rel-ink);
  border: 1px solid rgba(32,30,27,.28);
}

.rel-btn--ghost:hover { border-color: var(--rel-ink); }

.rel-btn--light { background: var(--rel-glaze); color: var(--rel-ink); border: 1px solid rgba(32,30,27,.2); }

.rel-btn--light:hover { border-color: var(--rel-ink); }

/* ---------------- 眉题 ---------------- */

.rel-kicker {
  display: inline-block;
  font-family: var(--rel-font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rel-accent);
}

.rel-kicker--soft { color: var(--rel-ink-soft); }

/* ---------------- 广告 ---------------- */

.ad-container.rel-ad {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  margin: 16px auto;
  width: min(100% - 40px, 1320px);
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
}

.rel-ad__slot {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  margin-inline: auto;
  width: 100%;
  max-width: 300px;
  min-height: 250px;
}

.rel-ad__label {
  font-family: var(--rel-font-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rel-ink-soft);
  text-align: center;
  margin-bottom: 6px;
}

/* ---------------- 懒加载状态 ---------------- */

.rel-lazy-image { background: var(--rel-cement-deep); }

.rel-lazy-image.rel-loaded { -webkit-animation: rel-fade-in .45s ease none; animation: rel-fade-in .45s ease none; }

.rel-lazy-image.rel-image-error {
  background:
    -webkit-radial-gradient(30% 40%, circle, rgba(32,30,27,.10) 0 6px, transparent 7px),
    -webkit-radial-gradient(68% 66%, circle, rgba(32,30,27,.08) 0 9px, transparent 10px),
    var(--rel-cement-deep);
  background:
    radial-gradient(circle at 30% 40%, rgba(32,30,27,.10) 0 6px, transparent 7px),
    radial-gradient(circle at 68% 66%, rgba(32,30,27,.08) 0 9px, transparent 10px),
    var(--rel-cement-deep);
}

@-webkit-keyframes rel-fade-in { from { opacity: .5; } to { opacity: 1; } }

@keyframes rel-fade-in { from { opacity: .5; } to { opacity: 1; } }

/* ---------------- 页脚 ---------------- */

.rel-foot {
  margin-top: 26px;
  border-top: 1px solid rgba(32,30,27,.16);
  padding: 30px 0 42px;
}

.rel-foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.rel-foot__brand { display: -webkit-inline-box; display: -webkit-inline-flex; display: -moz-inline-box; display: inline-flex; -webkit-box-align: center; -webkit-align-items: center; -moz-box-align: center; align-items: center; gap: 11px; }

.rel-foot__text {
  margin: 12px 0 0;
  color: var(--rel-ink-soft);
  font-size: 13.5px;
  max-width: 36ch;
}

.rel-foot__title {
  margin: 0 0 10px;
  font-family: var(--rel-font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rel-ink-soft);
}

.rel-foot__links { display: grid; gap: 8px; }

.rel-foot__links a { font-size: 13.5px; }

.rel-foot__links a:hover { text-decoration: underline; }

.rel-foot__bar {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px dashed rgba(32,30,27,.2);
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 8px 18px;
  font-family: var(--rel-font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--rel-ink-soft);
}

.rel-foot__bar a { font-family: var(--rel-font-body); font-size: 12.5px; letter-spacing: 0; }

.rel-foot__bar a:hover { text-decoration: underline; }

/* ==================================================================
 * 共享组件：釉面台面板块与拼花贴卡（首页 / 详情页 / 分类页通用）
 * ================================================================== */

/* ---------------- 栏目标题栏 ---------------- */

.rel-mod { margin-block: 26px; }

.rel-mod__head {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
     -moz-box-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.rel-mod__title {
  margin: 4px 0 0;
  font-family: var(--rel-font-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.rel-mod__title small {
  display: block;
  font-family: var(--rel-font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--rel-ink-soft);
  letter-spacing: 0;
  margin-top: 5px;
}

.rel-mod__more {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  background: var(--rel-glaze);
  border: 1px solid rgba(32,30,27,.14);
  font-family: var(--rel-font-display);
  font-weight: 700;
  font-size: 12.5px;
  white-space: nowrap;
}

.rel-mod__more:hover { border-color: var(--rel-ink); }

/* ---------------- 釉面台面板块 ---------------- */

.rel-slab {
  position: relative;
  border-radius: 26px;
  background:
    -webkit-linear-gradient(top, rgba(255,255,255,.5), rgba(255,255,255,0) 120px),
    var(--rel-cement-deep);
  background:
    linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 120px),
    var(--rel-cement-deep);
  border: 1px solid rgba(32,30,27,.13);
  padding: 20px 22px 22px;
}

.rel-slab::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 26px;
  right: 26px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: var(--rel-accent, var(--rel-mustard));
}

.rel-slab__head {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rel-slab__label {
  font-family: var(--rel-font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rel-ink-soft);
}

.rel-slab__more {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  border: 1px solid rgba(32,30,27,.16);
  background: var(--rel-glaze);
  font-family: var(--rel-font-display);
  font-weight: 700;
  font-size: 11.5px;
  white-space: nowrap;
}

.rel-slab__more:hover { border-color: var(--rel-ink); }

.rel-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

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

/* ---------------- 贴卡网格 ---------------- */

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

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

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

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

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

/* ---------------- 拼花嵌片卡 ---------------- */

.rel-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: var(--rel-glaze);
  border-radius: 20px;
  padding: 9px 9px 13px;
  border: 1px solid rgba(32,30,27,.11);
  box-shadow: 0 9px 20px rgba(32,30,27,.10), inset 0 1px 0 #fff;
  cursor: pointer;
  overflow: hidden;
  -webkit-transition: box-shadow .22s ease, border-color .22s ease, -webkit-transform .22s ease;
  transition: box-shadow .22s ease, border-color .22s ease, -webkit-transform .22s ease;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, -webkit-transform .22s ease;
  -webkit-animation: rel-lay .5s ease backwards;
          animation: rel-lay .5s ease backwards;
  -webkit-animation-delay: var(--rel-lay-delay, 0ms);
          animation-delay: var(--rel-lay-delay, 0ms);
}

.rel-card:hover {
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(32,30,27,.18);
  border-color: rgba(32,30,27,.34);
}

.rel-card:focus-visible { outline: 2px solid var(--rel-ink); outline-offset: 2px; }

.rel-card__cover {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 13px;
  overflow: hidden;
  background: var(--rel-cement-deep);
}

.rel-card__cover img { width: 100%; height: 100%; object-fit: cover; }

.rel-card__dot {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(252,250,245,.9);
}

.rel-card__body { display: block; }

.rel-card__name {
  display: block;
  margin: 9px 2px 2px;
  font-family: var(--rel-font-display);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.rel-card__meta {
  display: block;
  margin: 0 2px;
  font-family: var(--rel-font-mono);
  font-size: 10px;
  letter-spacing: .05em;
  color: var(--rel-ink-soft);
  text-transform: uppercase;
}

/* 主推横幅卡：大封面 + 右侧文字 + 圆形入口 */

.rel-card--banner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  padding: 10px 18px 10px 10px;
}

.rel-card--banner .rel-card__cover { aspect-ratio: 16 / 10; }

.rel-card--banner .rel-card__body {
  position: relative;
  min-width: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  gap: 5px;
  padding-right: 52px;
}

.rel-card--banner .rel-card__name { font-size: 18px; margin-top: 0; }

.rel-card__go {
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--rel-ink);
  color: #f7f2e8;
  display: grid;
  place-items: center;
  -webkit-transition: background .22s ease, -webkit-transform .22s ease;
  transition: background .22s ease, -webkit-transform .22s ease;
  transition: transform .22s ease, background .22s ease;
  transition: transform .22s ease, background .22s ease, -webkit-transform .22s ease;
}

.rel-card:hover .rel-card__go { -webkit-transform: translateY(-50%) scale(1.08); transform: translateY(-50%) scale(1.08); background: var(--rel-coral); }

/* ---------------- 落位动画 ---------------- */

@-webkit-keyframes rel-lay {
  from { opacity: .55; -webkit-transform: translateY(8px); transform: translateY(8px); }
  to { opacity: 1; -webkit-transform: none; transform: none; }
}

@keyframes rel-lay {
  from { opacity: .55; -webkit-transform: translateY(8px); transform: translateY(8px); }
  to { opacity: 1; -webkit-transform: none; transform: none; }
}

/* ---------------- 断点 ---------------- */

@media (max-width: 1050px) {
  .rel-shell { width: min(100% - 32px, 1320px); }
  .rel-grid--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rel-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rel-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-pair, .rel-trio { grid-template-columns: minmax(0, 1fr); }
  .rel-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-top__row { gap: 14px; }
  .rel-search { max-width: 300px; }
}

@media (max-width: 480px) {
  .rel-shell { width: min(100% - 28px, 1320px); }
  .rel-mod__head { -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -moz-box-orient: vertical; -moz-box-direction: normal; flex-direction: column; -webkit-box-align: start; -webkit-align-items: flex-start; -moz-box-align: start; align-items: flex-start; gap: 10px; }
  .rel-mod__title { font-size: 21px; }
  .rel-slab { border-radius: 20px; padding: 16px; }
  .rel-slab::before { left: 18px; right: 18px; }
  .rel-grid--6, .rel-grid--4, .rel-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rel-grid--wide { grid-template-columns: minmax(0, 1fr); }
  .rel-card--banner { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 9px 14px 9px 9px; }
  .rel-card--banner .rel-card__cover { aspect-ratio: 1 / 1; }
  .rel-card--banner .rel-card__body { padding-right: 38px; }
  .rel-card--banner .rel-card__name { font-size: 14px; }
  .rel-card--banner .rel-card__go { width: 30px; height: 30px; }
  .rel-card__name { font-size: 12.5px; }
  .rel-top__row { -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 12px; padding: 12px 0 10px; }
  .rel-brand__shard { width: 34px; height: 34px; border-radius: 11px; }
  .rel-brand__name { font-size: 15px; }
  .rel-brand__tag { font-size: 9.5px; }
  .rel-search { -webkit-box-ordinal-group: 4; -webkit-order: 3; -moz-box-ordinal-group: 4; order: 3; -webkit-box-flex: 1; -webkit-flex: 1 1 100%; -moz-box-flex: 1; flex: 1 1 100%; max-width: none; margin-left: 0; }
  .rel-allgames { height: 34px; padding: 0 14px; font-size: 11.5px; margin-left: auto; }
  .rel-chips { padding-bottom: 10px; }
  .rel-btn { height: 42px; padding: 0 20px; font-size: 13px; }
  .rel-foot__grid { grid-template-columns: 1fr; gap: 20px; }
  .ad-container.rel-ad { width: min(100% - 28px, 1320px); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    -webkit-animation-duration: .001ms !important;
            animation-duration: .001ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    -webkit-transition-duration: .001ms !important;
            transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

