/* Slayora's existing gold frames and purple surfaces, with the Archive's green glow. */
.raid-launch { padding-top: clamp(24px, 4vw, 48px); padding-bottom: 8px; }
.raid-launch-panel { position: relative; isolation: isolate; display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 34px; padding: clamp(24px, 4vw, 52px); border: 1px solid var(--slayora-frame-border, #887044); border-radius: 12px; background: radial-gradient(ellipse at 24% 45%, #61bd181c, transparent 53%), var(--slayora-frame-bg); box-shadow: var(--slayora-frame-shadow); }
.raid-launch-panel::before { content: ''; position: absolute; inset: 7px; z-index: -1; border: 1px solid #d3ac5b22; border-radius: 6px; pointer-events: none; }
.raid-logo-link { display: grid; justify-items: center; text-decoration: none; border-radius: 8px; }
.raid-logo { display: block; width: min(100%, 510px); height: auto; filter: drop-shadow(0 0 22px #7de52a18); }
.raid-logo-link:hover .raid-logo { filter: drop-shadow(0 0 28px #7de52a44); }
.raid-live { display: inline-flex; align-items: center; gap: 9px; width: fit-content; margin-top: 14px; padding: 6px 14px; border: 1px solid #a2d95855; border-radius: 4px; background: #90d04512; color: #b7ef83; font-size: .7rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.raid-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #a5ec67; box-shadow: 0 0 10px #a5ec67aa; }
.raid-eyebrow { margin: 0 0 14px; color: #b6d78b; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .2em; }
.raid-launch-copy h1, .raid-launch-copy h2 { margin: 0 0 18px; max-width: 520px; color: var(--slayora-frame-gold, #ffe5a0); font-family: 'Cinzel', serif; font-size: clamp(1.75rem, 3.5vw, 2.8rem); line-height: 1.22; }
.raid-launch-copy > p:not(.raid-eyebrow) { max-width: 470px; color: #cbbfce; font-size: .9rem; line-height: 1.8; }
.raid-launch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 25px; }
.raid-button { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 46px; padding: 13px 24px; border: 1px solid #c6b96e; border-radius: 4px; background: linear-gradient(160deg, #344c20, #1d3015); color: #f0eccb; box-shadow: inset 0 1px #e1e99e33, inset 0 -3px #0b160a66; font-size: .76rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; }
.raid-button:hover { filter: brightness(1.2); }
.raid-text-link { color: #e0c78d; font-size: .84rem; text-underline-offset: 5px; }
:is(.raid-logo-link, .raid-button, .raid-text-link, .raid-toc a, .raid-route a, .raid-boss-tile, .raid-wiki-card):focus-visible { outline: 3px solid #c6ee95; outline-offset: 5px; }
.raid-launch-stats { display: flex; flex-wrap: wrap; gap: 12px 25px; padding: 20px 0 0; margin: 24px 0 0; border-top: 1px solid #d3ac5b33; }
.raid-launch-stats div { display: grid; gap: 5px; }
.raid-launch-stats dt { color: #a89aaa; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; }
.raid-launch-stats dd { margin: 0; color: #e8dbc0; font-size: .83rem; font-weight: 600; }
.raid-wiki-spotlight { margin: 26px 0; }
.raid-wiki-card { display: flex; align-items: center; gap: clamp(20px, 4vw, 54px); padding: 24px 36px; border: 1px solid var(--slayora-frame-border); border-radius: 12px; background: radial-gradient(ellipse at 14% 45%, #77bc1720, transparent 48%), var(--slayora-frame-bg); box-shadow: var(--slayora-frame-shadow); color: inherit; text-decoration: none; }
.raid-wiki-card:hover { border-color: #b3cf6e; }
.raid-wiki-card img { flex: 0 0 auto; width: min(32%, 220px); height: auto; }
.raid-wiki-card h2 { margin: 9px 0; font-family: 'Cinzel', serif; color: #ffe5a0; font-size: clamp(1.1rem, 2vw, 1.6rem); }
.raid-wiki-card p { color: #cbbbd4; font-size: .86rem; line-height: 1.7; }
.raid-wiki-card .raid-live { margin: 0; }
.raid-guide { padding-top: 26px; padding-bottom: 80px; }
.raid-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 22px; color: #b4a3be; font-size: .77rem; }
.raid-breadcrumb a { color: #dfc58d; text-underline-offset: 3px; }
.raid-guide-hero { display: grid; grid-template-columns: 1fr .78fr; align-items: center; gap: 30px; padding: clamp(24px, 4vw, 45px); border: 1px solid var(--slayora-frame-border); border-radius: 12px; background: radial-gradient(ellipse at 78% 50%, #6ab21a20, transparent 48%), var(--slayora-frame-bg); box-shadow: var(--slayora-frame-shadow); }
.raid-guide-hero h1 { margin: 0 0 18px; font: 700 clamp(1.85rem, 3.5vw, 2.8rem)/1.2 'Cinzel', serif; color: #ffe5a0; }
.raid-guide-hero p:not(.raid-eyebrow) { color: #d4c7da; line-height: 1.85; font-size: .89rem; }
.raid-guide-hero .raid-logo { width: 100%; max-width: 400px; justify-self: center; }
.raid-content { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 32px; }
.raid-toc { position: sticky; top: 24px; display: grid; gap: 4px; padding: 20px 14px; border: 1px solid #d3ac5b33; border-radius: 8px; background: #10091bee; }
.raid-toc p { margin: 0 8px 13px; font-size: .68rem; color: #a99ab4; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.raid-toc a { padding: 10px 9px; color: #d4c5da; font-size: .77rem; text-decoration: none; border-radius: 4px; }
.raid-toc a:hover, .raid-toc a[aria-current] { color: #c7e7a2; background: #81b94b12; }
.raid-guide-body { min-width: 0; }
.raid-section { margin: 0 0 44px; scroll-margin-top: 28px; }
.raid-section > h2 { color: #f3d598; font: 700 clamp(1.3rem, 2.5vw, 1.75rem) 'Cinzel', serif; margin: 0 0 20px; padding-bottom: 16px; border-bottom: 1px solid #d3ac5b33; }
.raid-section p, .raid-section li { font-size: .85rem; line-height: 1.85; color: #c9becf; }
.raid-section li + li { margin-top: 7px; }
.raid-section strong { color: #eee0c4; }
.raid-section a { color: #c5dfa2; text-underline-offset: 3px; }
.raid-notice { padding: 18px 21px; margin: 20px 0; border: 1px solid #c3a66455; border-left: 3px solid #c3a664; border-radius: 6px; background: #cab36609; }
.raid-notice p { margin: 0; }
.raid-notice h3 { margin: 0 0 8px; color: #f2d99f; font-size: .9rem; }
.raid-route { display: grid; gap: 10px; margin-top: 22px; }
.raid-route-step { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: center; padding: 14px 18px; border: 1px solid #c7a45b33; border-radius: 7px; background: #1a0c2266; }
.raid-route-number { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #b89b5a55; border-radius: 50%; color: #e7ce96; font-size: .75rem; }
.raid-route-choice { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: .82rem; }
.raid-route-choice span { color: #a397ac; font-size: .72rem; }
.raid-route-resupply { margin: 0 0 0 64px; color: #b6d78b; font-size: .72rem; }
.raid-boss-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0 28px; }
.raid-boss-tile { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 14px 8px; border: 1px solid #c7a45b33; border-radius: 7px; background: #1a0c2277; text-align: center; text-decoration: none; }
.raid-boss-tile img { display: block; width: 48px; height: 48px; object-fit: contain; image-rendering: pixelated; }
.raid-boss-tile span { font-size: .72rem; line-height: 1.5; color: #e0c994; }
.raid-boss-tile:hover { border-color: #adcc6b; background: #28402322; }
.raid-boss, .raid-reward { padding: clamp(19px, 3vw, 28px); margin-bottom: 20px; border: 1px solid #d3ac5b33; border-radius: 9px; background: var(--slayora-frame-bg); scroll-margin-top: 25px; }
.raid-boss h3, .raid-reward h3 { margin: 0 0 13px; color: #f0d399; font: 700 1.15rem 'Cinzel', serif; }
.raid-boss h4, .raid-reward h4 { margin: 22px 0 9px; color: #d8dfa8; font-size: .88rem; }
.raid-boss > img, .raid-boss-portrait { float: right; width: 130px; height: 140px; margin: 0 0 16px 22px; object-fit: contain; }
.raid-boss::after, .raid-reward::after { content: ''; display: block; clear: both; }
.raid-boss-facts { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; list-style: none; margin: 12px 0 18px; }
.raid-boss-facts li { font-size: .72rem; color: #aebd97; }
.raid-boss ol, .raid-boss ul { padding-left: 22px; }
.raid-reward-grid { display: grid; gap: 16px; }
.raid-reward > img, .raid-reward-icon { float: right; width: 80px; height: 80px; margin: 0 0 16px 20px; object-fit: contain; image-rendering: pixelated; }
.raid-reward dl { display: grid; grid-template-columns: minmax(120px, .35fr) 1fr; gap: 8px 16px; margin: 18px 0; font-size: .8rem; line-height: 1.7; }
.raid-reward dt { color: #ae9db7; }
.raid-reward dd { margin: 0; color: #ddcfdd; }
.raid-table-wrap { overflow-x: auto; border: 1px solid #d3ac5b33; border-radius: 7px; }
.raid-table { width: 100%; border-collapse: collapse; font-size: .79rem; line-height: 1.65; }
.raid-table th { padding: 14px 16px; background: #31201977; color: #ecd398; text-align: left; font-weight: 600; }
.raid-table td { padding: 12px 16px; border-top: 1px solid #d3ac5b22; color: #cdbed3; vertical-align: top; }
.raid-table tbody tr:nth-child(even) { background: #37244222; }
.raid-table img { display: inline-block; vertical-align: middle; width: 30px; height: 32px; margin-right: 8px; object-fit: contain; image-rendering: pixelated; }
.raid-field { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 18px 0; color: #ead6a6; font-size: .85rem; }
.raid-field select, .raid-field input { min-height: 42px; padding: 10px 14px; border: 1px solid #d3ac5b66; border-radius: 4px; background: #160d20; color: #f1e3ca; font: inherit; }
.raid-data-pending { color: #c0b2c7; font-size: .75rem; }
.raid-provenance { font-size: .75rem !important; color: #ac9cb7 !important; }
.raid-sources li { overflow-wrap: anywhere; font-size: .78rem; }
.raid-skip-link { position: absolute; top: -100px; left: 16px; z-index: 9999; padding: 12px 18px; background: #1d3015; color: #fff1bf; }
.raid-skip-link:focus { top: 16px; }
.raid-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.raid-note-title { margin: 0 0 9px; color: #ead09d; font-size: .92rem; }
.raid-notice > p { color: #cbbecb; font-size: .83rem; line-height: 1.85; }
.raid-boss-portrait img { width: 100%; height: 100%; object-fit: contain; }
.raid-boss-route { color: #b6ca8f !important; font-size: .68rem !important; text-transform: uppercase; letter-spacing: .1em; }
.raid-boss-facts li { display: grid; gap: 3px; padding: 9px 12px; border: 1px solid #c5a46d22; border-radius: 4px; background: #0002; }
.raid-boss-facts li span { color: #ac9eb5; font-size: .68rem; }
.raid-boss-facts li strong { color: #e3d2b1; font-size: .78rem; }
.raid-boss-callout { padding: 12px 16px; border-left: 2px solid #a5c96d; background: #6f8b2310; }
.raid-boss-source, .raid-source { display: inline-block; margin-top: 10px; color: #a9b690 !important; font-size: .7rem; }
.raid-rewards-grid { display: grid; gap: 18px; }
.raid-loot-card { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 24px; padding: clamp(20px, 3vw, 28px); border: 1px solid #d3ac5b33; border-radius: 9px; background: var(--slayora-frame-bg); scroll-margin-top: 25px; }
.raid-loot-card[hidden] { display: none; }
.raid-loot-art { display: grid; place-items: center; align-self: start; padding: 12px; aspect-ratio: 1; border: 1px solid #d3ac5b26; border-radius: 8px; background: radial-gradient(circle, #8ba94718, transparent 70%), #0b070e; }
.raid-loot-art img { max-width: 100%; width: 100%; height: 90px; object-fit: contain; }
.raid-loot-type { color: #b0c98b; font-size: .65rem; text-transform: uppercase; letter-spacing: .12em; }
.raid-loot-copy { min-width: 0; }
.raid-loot-copy h3 { margin: 8px 0; color: #f1d399; font: 700 1.15rem 'Cinzel', serif; }
.raid-loot-copy p { margin: 11px 0; }
.raid-loot-requirements { color: #a99cb5 !important; font-size: .74rem !important; }
.raid-loot-stats { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 16px 0; padding: 13px 0; border-block: 1px solid #d3ac5b22; }
.raid-loot-stats div { display: grid; gap: 5px; }
.raid-loot-stats dt { color: #a898b3; font-size: .67rem; }
.raid-loot-stats dd { margin: 0; color: #dfd5b4; font-size: .88rem; font-weight: 700; }
.raid-loot-speed, .raid-loot-range { color: #d2caab !important; font-size: .76rem !important; }
.raid-loot-drop { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 7px 15px; padding: 13px 0 2px; margin-top: 16px; border-top: 1px solid #d3ac5b22; font-size: .73rem; line-height: 1.6; }
.raid-loot-drop span { color: #a79bad; }
.raid-loot-drop strong { color: #c2bb9f; font-weight: 500; }
.raid-field input { width: min(100%, 380px); }
.raid-field input:focus-visible, .raid-field select:focus-visible { outline: 2px solid #c6ee95; outline-offset: 3px; }
.raid-guide-cta { padding: 28px; border: 1px solid #b7d77744; border-radius: 8px; text-align: center; background: radial-gradient(ellipse at center, #71ab2019, transparent 70%), #120b18; }
.raid-guide-cta h2 { color: #ffe5a0; font: 700 1.3rem 'Cinzel', serif; }
.raid-guide-cta p { color: #bfb0c9; font-size: .85rem; line-height: 1.7; }
@media (max-width: 1000px) {
  .raid-content { grid-template-columns: 165px minmax(0, 1fr); gap: 22px; }
  .raid-boss-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .raid-launch-panel, .raid-guide-hero { grid-template-columns: 1fr; gap: 24px; }
  .raid-launch-panel .raid-logo { max-width: 350px; }
  .raid-launch-copy { text-align: center; }
  .raid-launch-copy > p, .raid-launch-copy h1 { margin-left: auto; margin-right: auto; }
  .raid-launch-actions, .raid-launch-stats { justify-content: center; }
  .raid-guide-hero > img { grid-row: 1; max-width: 280px; }
  .raid-content { grid-template-columns: 1fr; }
  .raid-toc { position: static; display: flex; flex-wrap: wrap; gap: 4px; padding: 12px; }
  .raid-toc p { width: 100%; margin: 5px 8px; }
  .raid-toc a { padding: 9px; }
  .raid-wiki-card { padding: 20px; }
}
@media (max-width: 460px) {
  .raid-loot-card { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .raid-loot-art { width: 90px; }
  .raid-wiki-card { flex-direction: column; align-items: flex-start; }
  .raid-wiki-card img { width: 200px; align-self: center; }
  .raid-boss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raid-boss > img, .raid-boss-portrait { width: 90px; height: 105px; margin-left: 12px; }
  .raid-reward dl { grid-template-columns: 1fr; gap: 3px; }
  .raid-reward dd { margin-bottom: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .raid-launch-panel *, .raid-guide * { transition: none !important; }
}

/* Homepage raid actions: keep these styles local to the launch banner. */
#home-fractured-archive .raid-launch-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: 12px;
  margin-top: 26px;
}
#home-fractured-archive .raid-launch-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  min-height: 79px;
  padding: 17px 18px;
  overflow: hidden;
  border: 1px solid #b8ad70;
  border-radius: 6px;
  color: #fff0c5;
  text-align: left;
  text-decoration: none;
  box-shadow: inset 0 1px #fff4c028, inset 0 -3px #0005, 0 6px 18px #0003;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
#home-fractured-archive .raid-launch-cta::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #e1d39b18;
  border-radius: 3px;
  pointer-events: none;
}
#home-fractured-archive .raid-launch-cta-play {
  background: radial-gradient(ellipse at 10% 0, #9dbd4b29, transparent 80%), linear-gradient(135deg, #304320, #182615);
  border-color: #b9c781a6;
}
#home-fractured-archive .raid-launch-cta-guide {
  background: radial-gradient(ellipse at 0 0, #a877b71c, transparent 85%), linear-gradient(135deg, #2e1b32, #1a111f);
  border-color: #af8e5d8c;
}
#home-fractured-archive .raid-cta-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}
#home-fractured-archive .raid-cta-copy strong {
  font-family: 'Cinzel', serif;
  font-size: .91rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .02em;
}
#home-fractured-archive .raid-cta-copy > span {
  color: #bdc4a3;
  font-size: .65rem;
  line-height: 1.4;
}
#home-fractured-archive .raid-launch-cta-guide .raid-cta-copy > span { color: #bdaec2; }
#home-fractured-archive .raid-cta-arrow {
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid #dfd19b3d;
  border-radius: 50%;
  background: #0002;
  color: #e9d59f;
  font-size: 1rem;
  transition: transform .18s ease;
}
#home-fractured-archive .raid-launch-cta:hover {
  transform: translateY(-2px);
  border-color: #e9d48d;
  box-shadow: inset 0 1px #fff4c035, inset 0 -3px #0005, 0 8px 22px #0004, 0 0 16px #b2ca5b12;
}
#home-fractured-archive .raid-launch-cta:hover .raid-cta-arrow { transform: translateX(2px); }
#home-fractured-archive .raid-launch-cta:focus-visible {
  outline: 3px solid #c6ee95;
  outline-offset: 5px;
}
#home-fractured-archive .raid-launch-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  padding: 19px 0 0;
  margin: 20px 0 0;
  border-top: 1px solid #d3ac5b2b;
}
#home-fractured-archive .raid-launch-stats .raid-launch-proof {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-content: center;
  align-items: center;
  gap: 4px 8px;
  min-width: 0;
  min-height: 78px;
  padding: 11px 10px;
  border: 1px solid #c8a65f2b;
  border-radius: 5px;
  background: radial-gradient(ellipse at 10% 60%, #827c3612, transparent 90%), #0b071080;
  box-shadow: inset 0 1px #ffe6ac05;
  text-align: left;
}
#home-fractured-archive .raid-launch-proof img {
  grid-column: 1;
  grid-row: 1 / 3;
  width: 34px;
  height: 40px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 3px 4px #0009);
}
#home-fractured-archive .raid-launch-proof dt {
  grid-column: 2;
  grid-row: 2;
  color: #a99baa;
  font-size: .57rem;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
#home-fractured-archive .raid-launch-proof dd {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: #ead8ab;
  font-family: 'Cinzel', serif;
  font-size: 1.26rem;
  font-weight: 700;
  line-height: 1.2;
}
#home-fractured-archive .raid-launch-proof-loot { border-color: #b6c77732; }
#home-fractured-archive .raid-launch-proof-loot dd { color: #cfe0a3; font-size: .78rem; }
@media (min-width: 761px) and (max-width: 1100px) {
  #home-fractured-archive .raid-launch-cta { gap: 8px; padding-inline: 13px; }
  #home-fractured-archive .raid-cta-copy strong { font-size: .8rem; }
  #home-fractured-archive .raid-launch-stats .raid-launch-proof { grid-template-columns: 27px minmax(0, 1fr); gap: 4px 6px; padding-inline: 7px; }
  #home-fractured-archive .raid-launch-proof img { width: 27px; }
}
@media (max-width: 760px) {
  #home-fractured-archive .raid-launch-actions { max-width: 470px; margin-inline: auto; }
  #home-fractured-archive .raid-launch-stats { max-width: 470px; margin-inline: auto; }
}
@media (max-width: 390px) {
  #home-fractured-archive .raid-launch-actions { gap: 8px; }
  #home-fractured-archive .raid-launch-cta { min-height: 75px; padding: 14px 12px; gap: 7px; }
  #home-fractured-archive .raid-cta-copy strong { font-size: .8rem; }
  #home-fractured-archive .raid-cta-copy > span { font-size: .6rem; }
  #home-fractured-archive .raid-cta-arrow { flex-basis: 21px; width: 21px; height: 21px; }
  #home-fractured-archive .raid-launch-stats .raid-launch-proof { grid-template-columns: 1fr; justify-items: center; gap: 4px; padding: 10px 5px; text-align: center; }
  #home-fractured-archive .raid-launch-proof img { grid-column: 1; grid-row: 1; height: 32px; }
  #home-fractured-archive .raid-launch-proof dd { grid-column: 1; grid-row: 2; }
  #home-fractured-archive .raid-launch-proof dt { grid-column: 1; grid-row: 3; }
}
@media (prefers-reduced-motion: reduce) {
  #home-fractured-archive .raid-launch-cta, #home-fractured-archive .raid-cta-arrow { transition: none; }
  #home-fractured-archive .raid-launch-cta:hover, #home-fractured-archive .raid-launch-cta:hover .raid-cta-arrow { transform: none; }
}
