/* Gameplay previews: rune build panel + Antique Runes chapter (build-previews.js). */

/* shared clip frame */
.clip-frame { margin: 0; position: relative; border: 1px solid #5a4a3390; background: #0b0907; aspect-ratio: 16 / 9; overflow: hidden; }
.clip-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.clip-frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 7px; font: 12px/1.3 var(--display); letter-spacing: .06em; color: var(--gold); background: linear-gradient(transparent, #000c); pointer-events: none; }
.clip-soon { display: grid; place-items: center; background: radial-gradient(ellipse at 50% 45%, #5c462b40, transparent 70%), #100d0a; }
.clip-soon-inner { display: grid; justify-items: center; gap: 12px; }
.clip-soon-inner img { width: min(34%, 150px); height: auto; opacity: .55; filter: sepia(1) saturate(2.4) hue-rotate(-10deg) brightness(1.05) drop-shadow(0 0 14px #e8b85a55); }
.clip-soon-inner span { font: 14px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* 1. rune build panel */
.presentation-page .build-preview { margin: 18px 0 6px; }
.presentation-page .build-preview .clip-frame { max-width: 560px; }

/* 2. Antique Runes chapter */
.antique-chapter .chapter-heading p { max-width: 720px; margin-inline: auto; color: var(--muted); }
.antique-ui { margin-top: 26px; }
.antique-classes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.antique-classes button { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; background: #16130e; border: 1px solid #5a4a33; color: var(--text); font: 15px var(--display); cursor: pointer; }
.antique-classes button img { width: 30px; height: 30px; }
.antique-classes button[aria-pressed="true"] { border-color: #c4a35e; background: #332719; color: var(--gold); }

.antique-stage { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 22px; padding: 20px;
  background: radial-gradient(ellipse at 85% 20%, #6b4a2226, transparent 60%), #14110d; border: 1px solid #5a4a3370; }
.antique-runes { display: grid; gap: 12px; align-content: start; }
.antique-rune { border: 1px solid #5a4a3355; background: #110e0b; padding: 9px; }
.antique-rune-head { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; font: 17px var(--display); color: var(--gold); }
.antique-rune-head img { width: 34px; height: 34px; }
.antique-ids { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.antique-ids button { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 7px; padding: 7px; text-align: left;
  background: #16130e; border: 1px solid #4a3d2b; color: var(--text); font: 12.5px/1.25 var(--display); cursor: pointer; }
.antique-ids button img { width: 34px; height: 34px; filter: sepia(1) saturate(2.2) hue-rotate(-8deg) brightness(.95); opacity: .85; }
.antique-ids button[aria-pressed="true"] { border-color: #c4a35e; background: #332719; color: var(--gold); }
.antique-ids button[aria-pressed="true"] img { opacity: 1; filter: sepia(1) saturate(3) hue-rotate(-10deg) brightness(1.15) drop-shadow(0 0 6px #e8b85a88); }
.antique-ids .has-clip { position: absolute; top: 5px; right: 5px; width: 6px; height: 6px; border-radius: 50%; background: #e8c77a; box-shadow: 0 0 6px #e8c77a; }

.antique-detail-head { display: flex; align-items: center; gap: 16px; }
.antique-emblem { width: 76px; height: 76px; filter: sepia(1) saturate(3) hue-rotate(-10deg) brightness(1.15) drop-shadow(0 0 10px #e8b85a77); }
.antique-detail-head p { margin: 0 0 2px; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.antique-detail-head h3 { margin: 0; font: 32px/1.15 var(--display); color: var(--gold); }
.antique-summary { margin: 14px 0 4px; font: italic 16px Georgia, serif; color: #f0dcae; }
.antique-body { margin: 0 0 16px; color: var(--text); max-width: 680px; }
.antique-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34%); gap: 12px; align-items: end; }
.antique-media .clip-main:only-child { grid-column: 1 / -1; }

@media (max-width: 900px) {
  .antique-stage { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .antique-media { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .antique-ids { grid-template-columns: minmax(0, 1fr); }
  .antique-detail-head h3 { font-size: 25px; }
}
