.guide-bar, .guide-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px var(--gutter); color: var(--chalk);
}
.guide-bar { position: sticky; top: 0; z-index: 10; background: #080b0edb; -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); border-bottom: 1px solid var(--line); }
.guide-bar > a:last-child, .guide-foot > a:last-child {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font: 600 12.5px/1 Barlow, Arial, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: #dbe3e6; transition: color .2s;
}
.guide-bar > a:last-child:hover, .guide-foot > a:last-child:hover { color: var(--ice); }
.guide-cover {
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch;
  background: var(--grain), radial-gradient(60% 80% at 0% 100%, #8ad8ff14, #0000 70%), var(--panel); border-bottom: 1px solid var(--line);
}
.cover-copy { padding: clamp(40px,6.7vw,100px) clamp(26px,4vw,70px) clamp(32px,5vw,72px) var(--gutter); }
.cover-copy .folio { color: var(--ice); }
.cover-copy h1 { margin: .3em 0; font-size: clamp(54px,6.3vw,104px); line-height: .95; }
.cover-copy > p:not(.folio) { max-width: 46ch; color: #d5dcde; line-height: 1.55; }
.cover-rules { display: flex; gap: clamp(25px,4.5vw,80px); border-top: 1px solid var(--line-strong); padding-top: 18px; margin: 28px 0 0; }
.cover-rules dt { font: 600 11px/1.3 Barlow, Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.cover-rules dd { width: fit-content; margin: 6px 0 0; padding-right: .08em; font: 600 clamp(34px,3.8vw,62px)/1 var(--display); font-variant-numeric: lining-nums; background: linear-gradient(98deg, #f7e8be, #d9b670 55%, #f6e7ba); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.guide-cover figure { position: relative; min-width: 0; overflow: hidden; }
.guide-cover figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--panel), #0e131700 26%); }
.guide-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 49% 48%; position: absolute; inset: 0; }
html[data-motion="on"] .guide-cover img { animation: cover-in 2.2s var(--ease) backwards; }
@keyframes cover-in { from { scale: 1.12; filter: brightness(.3); } }
html[data-motion="on"] .cover-copy > * { animation: drift-in 1s var(--ease) backwards; }
html[data-motion="on"] .cover-copy > :nth-child(2) { animation-delay: .1s; }
html[data-motion="on"] .cover-copy > :nth-child(3) { animation-delay: .22s; }
html[data-motion="on"] .cover-copy > :nth-child(4) { animation-delay: .34s; }
.guide-cover figcaption { position: absolute; z-index: 1; bottom: 12px; right: 12px; padding: 6px 11px; background: #06090cd9; border: 1px solid var(--line-strong); font: var(--label); letter-spacing: .14em; text-transform: uppercase; }
.guide-spread {
  display: grid; grid-template-columns: minmax(185px,250px) minmax(0,760px);
  justify-content: space-between; align-items: start; gap: clamp(32px,6vw,110px);
  /* Margen fijo y no --gutter: dentro de 1500 px, en un monitor 4K --gutter dejaba el texto en 0. */
  max-width: 1500px; margin: auto; padding: clamp(36px,6vw,88px) clamp(20px,5vw,92px);
}
.guide-index { position: sticky; top: 96px; padding-top: 12px; border-top: 1px solid var(--ice); }
.guide-index h2 { font: 600 26px/1.2 var(--display); letter-spacing: -.025em; margin-bottom: 10px; }
.guide-index a { display: block; padding: 12px 0; font-size: 16px; color: #c3ced3; border-bottom: 1px solid var(--line); transition: color .2s, padding .4s var(--ease); }
.guide-index a:hover { color: #fff; }
.guide-index a[aria-current] { padding-left: 12px; color: var(--ice); box-shadow: inset 2px 0 var(--ice); }
.guide-copy a:hover { color: var(--ice); }
.guide-copy section { padding: 0 0 clamp(28px,4vw,54px); scroll-margin-top: 88px; }
.guide-copy h2 { font: 600 clamp(34px,3.5vw,57px)/1.02 var(--display); letter-spacing: -.04em; margin: 0 0 16px; }
.guide-copy p { max-width: 65ch; line-height: 1.58; color: #d5dcde; }
.guide-copy p + p { margin-top: .8em; }
.rulebook { margin: 20px 0 0; }
.rulebook div { display: grid; grid-template-columns: minmax(120px,1fr) 2.9fr; gap: 22px; padding: 14px 10px; margin-inline: -10px; border-top: 1px solid var(--line); transition: background .25s; }
.rulebook div:last-child { border-bottom: 1px solid var(--line); }
.rulebook div:hover { background: #8ad8ff0d; }
.rulebook dt { font-weight: 600; color: var(--gold); }
.rulebook dd { margin: 0; line-height: 1.5; color: #dfe5e7; }
.guide-copy a { text-decoration: underline; text-underline-offset: .2em; }
.guide-copy h3 { margin: 30px 0 0; font: 600 clamp(24px,2.4vw,34px)/1.15 var(--display); color: var(--ice); }
.guide-copy h3 + .rulebook { margin-top: 12px; }
.guide-return { display: inline-block; padding-block: 12px; }
.guide-foot { padding-block: 25px; border-top: 1px solid var(--line); background: var(--void); }
@media (max-width: 800px) {
  .guide-cover { grid-template-columns: 1fr; }
  .guide-cover figure { height: clamp(175px,34vw,270px); }
  .guide-cover figure::after { background: linear-gradient(180deg, var(--panel), #0e131700 30%); }
  .guide-cover img { object-position: 50% 49%; }
  .guide-spread { grid-template-columns: 1fr; gap: 32px; }
  .guide-index { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 18px; }
  .guide-index h2 { grid-column: 1 / -1; }
  .guide-index a { line-height: 1.35; }
}
@media (max-width: 500px) {
  .guide-bar { gap: 8px; padding-inline: 12px; }
  .guide-bar .brand { font-size: 22px; gap: 6px; }
  .guide-bar .brand img { width: 22px; height: 26px; }
  .cover-copy h1 { font-size: clamp(43px,10.8vw,55px); }
  .cover-copy { padding: 30px var(--gutter); }
  .rulebook div { grid-template-columns: 1fr; gap: 4px; }
  .guide-foot { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .guide-bar > a:last-child span[data-i18n] { display: none; }
  .guide-bar > a:last-child { min-height: 36px; padding: 0 4px; }
}
