/* Guides (#40): one closed bar per guide; open one to read it. */
.guides-hero { position: relative; padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.3rem, 4vw, 3rem);
  border: 1px solid #52616a; box-shadow: 0 28px 70px #0006;
  background: linear-gradient(110deg, #101b24f5 40%, #1a252ad0), url("/static/img/rf-warrior-bg.jpg") center 38% / cover; }
.guides-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 4px;
  background: linear-gradient(90deg, #da6328, #ffc170 40%, transparent); }
.guides-hero h1 { margin: .35rem 0 .7rem; font: 500 clamp(2.3rem, 5vw, 4rem)/1 var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; }
.guides-intro { margin: 0; color: #c6d0d2; }
.guide-section { margin-top: 1rem; border: 1px solid #40505a; background: linear-gradient(145deg, #172530, #101b22);
  box-shadow: inset 0 1px #ffffff0b, 0 12px 25px #0003; }
.guide-section > summary { display: flex; align-items: center; gap: 1.2rem; padding: clamp(1rem, 2.5vw, 1.4rem) clamp(1rem, 3vw, 1.8rem);
  cursor: pointer; list-style: none; }
.guide-section > summary::-webkit-details-marker { display: none; }
.guide-section > summary::after { content: "+"; margin-left: auto; flex: none; color: var(--gold-2);
  font: 400 1.8rem/1 var(--font-display); }
.guide-section[open] > summary::after { content: "\2212"; }
.guide-section > summary:hover strong { color: var(--gold-2); }
.guide-section > summary:focus-visible { outline: 2px solid var(--gold-2); outline-offset: -4px; }
.guide-section[open] > summary { border-bottom: 1px solid #40505a; }
.guide-number { flex: none; color: #dcb381; font: 500 clamp(1.6rem, 3vw, 2.2rem)/1 var(--font-display); }
.guide-heading { display: grid; gap: .2rem; min-width: 0; }
.guide-heading strong { font: 500 clamp(1.3rem, 2.6vw, 1.8rem)/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; }
.guide-heading span { color: var(--muted); font-size: .92rem; }
.guide-body { padding: clamp(1rem, 3vw, 1.8rem); }
.overlevel-intro h2 { margin: 0 0 .6rem; font: 500 clamp(1.7rem, 3.2vw, 2.4rem)/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .03em; }
.overlevel-intro > p { margin: 0; max-width: 46rem; color: #c6d0d2; }
.overlevel-milestones { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 1.6rem; }
.overlevel-milestones span { display: flex; align-items: center; gap: .6rem; padding: .5rem .9rem;
  border: 1px solid #52616a; background: #0e1920; color: #c6d0d2; font-size: .9rem; }
.overlevel-milestones b { color: var(--gold-2); font: 600 1.4rem/1 var(--font-display); }
.overlevel-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem; }
.overlevel-card { position: relative; min-width: 0; padding: clamp(1.1rem, 2.5vw, 1.6rem); border: 1px solid #40505a;
  background: linear-gradient(145deg, #1b2932, #111c23); }
.overlevel-card h3 { margin: .1rem 0 .5rem; font: 500 1.6rem/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .03em; }
.overlevel-card > p { color: #c6d0d2; }
.overlevel-god { border-color: #8a6a43; background: radial-gradient(circle at 85% 20%, #6b3a1e55, transparent 50%),
  linear-gradient(145deg, #1f2a30, #131d24); }
.overlevel-rewards { width: 100%; border-collapse: collapse; margin-top: .8rem; }
.overlevel-rewards th, .overlevel-rewards td { text-align: left; padding: .55rem .4rem; border-bottom: 1px solid #34424a; }
.overlevel-rewards th { color: var(--gold-2); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.overlevel-reward { display: flex; justify-content: space-between; gap: 1rem; margin: .8rem 0 0; padding: .7rem .8rem;
  border: 1px solid #52616a; background: #0e1920; }
.overlevel-reward span { color: var(--gold-2); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.tba { color: var(--muted); font-style: italic; font-weight: 400; }
@media (max-width: 760px) { .overlevel-grid { grid-template-columns: 1fr; } }
/* Enhanced Inventory management (#43). */
.inventory h2 { margin: .1rem 0 .5rem; font: 500 clamp(1.5rem, 2.8vw, 2rem)/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .03em; }
.inventory p { color: #c6d0d2; }
.inventory-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem; }
.inventory-card { display: flex; flex-direction: column; gap: 1rem; min-width: 0; margin: 0;
  padding: clamp(1.1rem, 2.5vw, 1.6rem); border: 1px solid #40505a; background: linear-gradient(145deg, #1b2932, #111c23); }
.inventory-card figcaption p:last-child { margin-bottom: 0; }
.inventory-card img { display: block; max-width: 100%; height: auto; margin-block: auto; align-self: center;
  border: 1px solid #52616a; box-shadow: 0 10px 25px #0006; }
.inventory-bags { margin-top: 1.6rem; }
.inventory-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.inventory-features section { padding: .9rem 1rem; border: 1px solid #52616a; border-top: 3px solid var(--gold-2); background: #0e1920; }
.inventory-features h3 { margin: 0 0 .35rem; color: var(--gold-2); font: 500 1.25rem/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; }
.inventory-features p { margin: 0; }
.inventory-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.inventory-videos figure { min-width: 0; margin: 0; }
.inventory-videos video { display: block; width: auto; max-width: 100%; height: auto; max-height: min(70vh, 36rem); margin-inline: auto; border: 1px solid #52616a; background: #000; }
.inventory-videos figcaption { margin-top: .45rem; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .inventory-grid, .inventory-features, .inventory-videos { grid-template-columns: 1fr; } }
/* Pit Boss changes (#45). */
.pit-boss h2 { margin: .1rem 0 .5rem; font: 500 clamp(1.5rem, 2.8vw, 2rem)/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .03em; }
.pit-boss p { color: #c6d0d2; }
.pit-boss-intro > p { max-width: 46rem; }
.pit-boss-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem; align-items: start; margin-top: 1rem; }
.pit-boss-features { display: grid; gap: .8rem; }
.pit-boss-features section { padding: .9rem 1rem; border: 1px solid #52616a; border-top: 3px solid var(--gold-2); background: #0e1920; }
.pit-boss-features h3 { margin: 0 0 .35rem; color: var(--gold-2); font: 500 1.25rem/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; }
.pit-boss-features p { margin: 0; }
.pit-boss-shot { min-width: 0; margin: 0; }
.pit-boss-shot img { display: block; width: 100%; height: auto; border: 1px solid #52616a; box-shadow: 0 10px 25px #0006; }
.pit-boss-shot figcaption { margin-top: .45rem; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .pit-boss-layout { grid-template-columns: 1fr; } }
.umt-mining h2 { margin: .1rem 0 .5rem; font: 500 clamp(1.5rem, 2.8vw, 2rem)/1.1 var(--font-display); }
.umt-mining p { color: #c6d0d2; }
.umt-intro > p { max-width: 46rem; }
.umt-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; align-items: start; margin-top: 1rem; }
.umt-features { display: grid; gap: .8rem; }
.umt-features section { padding: .9rem 1rem; border: 1px solid #52616a; border-top: 3px solid var(--gold-2); background: #0e1920; }
.umt-features h3 { margin: 0 0 .35rem; color: var(--gold-2); font: 500 1.25rem/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; }
.umt-features p { margin: 0; }
.umt-shots { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: flex-start; }
.umt-shots figure { margin: 0; max-width: 100%; }
.umt-shots img { display: block; max-width: 100%; height: auto; border: 1px solid #52616a; box-shadow: 0 10px 25px #0006; }
.umt-shots figcaption { margin-top: .45rem; max-width: 266px; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .umt-layout { grid-template-columns: 1fr; } }
/* Race Hunt (#47). */
.race-hunt h2 { margin: .1rem 0 .5rem; font: 500 clamp(1.5rem, 2.8vw, 2rem)/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .03em; }
.race-hunt p { color: #c6d0d2; }
.race-hunt-intro > p { max-width: 46rem; }
.race-hunt-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; }
.race-hunt-facts span { display: flex; align-items: center; gap: .6rem; padding: .5rem .9rem;
  border: 1px solid #52616a; background: #0e1920; color: #c6d0d2; font-size: .9rem; }
.race-hunt-facts b { color: var(--gold-2); font: 600 1.4rem/1 var(--font-display); }
.race-hunt-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 1rem; align-items: start; margin-top: 1.4rem; }
.race-hunt-features { display: grid; gap: .8rem; }
.race-hunt-features section { min-width: 0; padding: .9rem 1rem; border: 1px solid #52616a; border-top: 3px solid var(--gold-2); background: #0e1920; }
.race-hunt-features h3 { margin: 0 0 .35rem; color: var(--gold-2); font: 500 1.25rem/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; }
.race-hunt-features p { margin: 0; }
.race-hunt-icon { display: block; width: min(100%, 183px); height: auto; margin: .8rem auto 0; border: 1px solid #52616a; }
.race-hunt-rules { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 1.6rem; }
.race-hunt-shot { min-width: 0; margin: 0; }
.race-hunt-shot img { display: block; max-width: 100%; height: auto; margin-inline: auto; border: 1px solid #52616a; box-shadow: 0 10px 25px #0006; }
.race-hunt-shot figcaption { margin-top: .45rem; text-align: center; color: var(--muted); font-size: .9rem; }
.race-hunt-milestone { margin-top: 1rem; }
.race-hunt-targets, .race-hunt-boss { margin-top: 1.6rem; }
.race-hunt-boss h2 + p { max-width: 46rem; }
.race-hunt-boss .race-hunt-shot { margin: 1rem 0 1.6rem; }
.race-hunt-table { width: 100%; max-width: 46rem; border-collapse: collapse; }
.race-hunt-table th, .race-hunt-table td { text-align: left; padding: .55rem .4rem; border-bottom: 1px solid #34424a; }
.race-hunt-table th { color: var(--gold-2); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 760px) { .race-hunt-layout, .race-hunt-rules { grid-template-columns: 1fr; } }
/* Looting Improvements (#52). */
.looting h2 { margin: .1rem 0 .5rem; font: 500 clamp(1.5rem, 2.8vw, 2rem)/1.1 var(--font-display); }
.looting p { color: #c6d0d2; }
.looting-intro > p { max-width: 46rem; }
.looting-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; align-items: start; margin-top: 1rem; }
.looting-features { display: grid; gap: .8rem; min-width: 0; }
.looting-features > p { margin: 0; }
.looting-features section { padding: .9rem 1rem; border: 1px solid #52616a; border-top: 3px solid var(--gold-2); background: #0e1920; }
.looting-features h3 { margin: 0 0 .35rem; color: var(--gold-2); font: 500 1.25rem/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; }
.looting-features section p { margin: 0; }
.looting-shots { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: flex-start; }
.looting-shots figure { margin: 0; max-width: 100%; }
.looting-shots img { display: block; max-width: 100%; height: auto; border: 1px solid #52616a; box-shadow: 0 10px 25px #0006; }
.looting-shots figcaption { margin-top: .45rem; max-width: 232px; text-align: center; color: var(--muted); font-size: .9rem; }
.looting-excelsiar { margin-top: 1.6rem; }
.looting-table { width: 100%; border-collapse: collapse; }
.looting-table th, .looting-table td { text-align: left; padding: .55rem .4rem; border-bottom: 1px solid #34424a; }
.looting-table th { color: var(--gold-2); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 760px) { .looting-layout { grid-template-columns: 1fr; }
  .looting-table th { letter-spacing: .04em; } .looting-table th, .looting-table td { padding-inline: .3rem; } }
/* Guild features (#56). */
.guild-guide h2 { margin: .1rem 0 .5rem; font: 500 clamp(1.5rem, 2.8vw, 2rem)/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .03em; }
.guild-guide p { color: #c6d0d2; }
.guild-intro > p { max-width: 46rem; }
.guild-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; }
.guild-facts span { display: flex; align-items: center; gap: .6rem; padding: .5rem .9rem;
  border: 1px solid #52616a; background: #0e1920; color: #c6d0d2; font-size: .9rem; }
.guild-facts b { color: var(--gold-2); font: 600 1.4rem/1 var(--font-display); }
.guild-part { margin-top: 1.6rem; }
.guild-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.guild-layout-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.guild-features { display: grid; gap: .8rem; min-width: 0; }
.guild-features section { padding: .9rem 1rem; border: 1px solid #52616a; border-top: 3px solid var(--gold-2); background: #0e1920; }
.guild-features h3 { margin: 0 0 .35rem; color: var(--gold-2); font: 500 1.25rem/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; overflow-wrap: anywhere; }
.guild-features section p { margin: 0; }
.guild-shot, .guild-shots figure { min-width: 0; max-width: 100%; margin: 0; }
.guild-shots { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.guild-shot img, .guild-shots img { display: block; max-width: 100%; height: auto; margin-inline: auto;
  border: 1px solid #52616a; box-shadow: 0 10px 25px #0006; }
.guild-shot figcaption, .guild-shots figcaption { margin-top: .45rem; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .guild-layout, .guild-layout-wide { grid-template-columns: 1fr; } }
/* Auction house (#59). */
.auction-guide h2 { margin: .1rem 0 .5rem; font: 500 clamp(1.5rem, 2.8vw, 2rem)/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .03em; }
.auction-guide p { color: #c6d0d2; }
.auction-intro > p, .auction-part > p { max-width: 46rem; }
.auction-facts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; }
.auction-facts span { display: flex; align-items: center; gap: .6rem; padding: .5rem .9rem;
  border: 1px solid #52616a; background: #0e1920; color: #c6d0d2; font-size: .9rem; }
.auction-facts b { color: var(--gold-2); font: 600 1.4rem/1 var(--font-display); }
.auction-part { margin-top: 1.6rem; }
.auction-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.auction-features { display: grid; gap: .8rem; min-width: 0; }
.auction-features-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.auction-features section { padding: .9rem 1rem; border: 1px solid #52616a; border-top: 3px solid var(--gold-2); background: #0e1920; }
.auction-features h3 { margin: 0 0 .35rem; color: var(--gold-2); font: 500 1.25rem/1.1 var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; overflow-wrap: anywhere; }
.auction-features h3 code { text-transform: none; }
.auction-features section p { margin: 0; }
.auction-features code { overflow-wrap: anywhere; }
.auction-shots { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.auction-shots-wide { margin-top: 1rem; }
.auction-shots figure { min-width: 0; max-width: 100%; margin: 0; }
.auction-shots img { display: block; max-width: 100%; height: auto; margin-inline: auto;
  border: 1px solid #52616a; box-shadow: 0 10px 25px #0006; }
.auction-shots figcaption { margin-top: .45rem; text-align: center; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .auction-layout, .auction-features-row { grid-template-columns: 1fr; } }
