/* Dragon's Fury feature article. Reuses the portal's fonts, palette and navigation. */
.patch-feature {
  --article-width: 1160px;
  --article-rule: rgba(178, 140, 242, .2);
  background-image: radial-gradient(900px 600px at 75% 260px, #21142d 0%, var(--void) 76%);
}
.patch-feature .skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 12px 16px;
  background: var(--void-2);
  color: var(--text);
}
.patch-feature .skip-link:focus { transform: translateY(0); }
.patch-feature a { color: var(--purple-hi); }
.patch-feature a:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 5px; }

.patch-heading { max-width: var(--article-width); margin: auto; padding: 28px 24px 38px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.back-link:hover, .text-link:hover { text-decoration: underline; }
.patch-hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 28px; min-height: 310px; }
.patch-kicker { color: var(--purple-hi); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.patch-hero h1 { margin: 12px 0 16px; font: 400 clamp(48px, 6vw, 76px)/1.04 var(--display); color: var(--gold-hi); }
.patch-deck { max-width: 450px; color: #c9bdd8; font-size: 19px; line-height: 1.6; }
.patch-read { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; margin-top: 22px; font-size: 14px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.patch-read:hover { color: var(--text); }
.hero-relics { position: relative; height: 280px; margin: 0; }
.hero-relics img, .patch-story img { object-fit: contain; image-rendering: pixelated; }
.hero-relics img { position: absolute; }
.hero-key { left: 0; top: 12px; transform: rotate(-10deg); }
.hero-axe { right: 0; top: 38px; transform: rotate(5deg); }
.hero-hat { left: 31%; top: 156px; }
.hero-relics figcaption { position: absolute; bottom: 0; width: 100%; text-align: center; font-size: 12px; color: #b6a9c8; }
.patch-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 58px; max-width: var(--article-width); margin: 0 auto; padding: 0 24px 48px; align-items: start; }
.patch-contents { position: sticky; top: 94px; padding-top: 24px; }
.patch-contents h2 { font: 600 13px/1.5 var(--body); color: var(--text); margin: 0 0 13px; }
.patch-contents a { display: flex; align-items: center; min-height: 44px; padding: 7px 0; font-size: 13px; color: #b6a9c8; line-height: 1.4; text-decoration: none; }
.patch-contents a:hover { color: var(--gold-hi); }
.patch-story { min-width: 0; }
.patch-section { padding: 34px 0 40px; border-top: 1px solid var(--article-rule); scroll-margin-top: 92px; }
.patch-section h2 { margin: 0 0 18px; font: 400 clamp(29px, 3vw, 38px)/1.17 var(--display); color: var(--text); }
.patch-section h3 { margin: 0 0 8px; font: 600 17px/1.4 var(--body); color: var(--text); }
.patch-section p { margin: 0 0 15px; max-width: 68ch; color: #bdb1cd; font-size: 16px; line-height: 1.75; }
.patch-section p:last-child { margin-bottom: 0; }
.patch-section strong { color: var(--text); font-weight: 600; }
.patch-section .section-lead { color: #d0c5dd; font-size: 17px; }
.patch-section .plain-note, .patch-section .source-note { font-size: 14px; color: #b6a9c8; }
.game-shot { margin: 27px 0 30px; overflow: hidden; background: #080609; border: 1px solid var(--article-rule); border-radius: 10px; }
.game-shot img { display: block; width: 100%; height: auto; image-rendering: auto; }
.game-shot figcaption { padding: 11px 14px 12px; color: #a99cb9; font-size: 12px; line-height: 1.5; }
.game-shot-menu { width: min(100%, 360px); margin-left: auto; margin-right: auto; }
.game-shot-menu img { width: 297px; max-width: 100%; margin: 0 auto; }
.fury-equipment { margin: 26px 0; }
.fury-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; align-items: center; gap: 20px; padding: 14px 0; }
.fury-item + .fury-item { border-top: 1px solid rgba(178, 140, 242, .12); }
.fury-item h3 { margin-bottom: 3px; }
.fury-item p { font-size: 15px; margin-bottom: 0; }
.ability-word { color: var(--purple-hi); font-size: 12px; }
.section-with-art { display: grid; grid-template-columns: 1fr 144px; gap: 20px; align-items: center; }
.section-with-art h2 { max-width: 440px; }
.large-item { justify-self: center; }
.fury-callout { margin: 24px 0; padding: 20px 24px; background: var(--void-2); border-left: 3px solid var(--purple); }
.fury-callout h3 { color: var(--gold-hi); }
.rate-panel { margin: 28px 0; padding: 22px 24px; background: var(--void-2); border: 1px solid var(--article-rule); border-radius: 10px; }
.rate-panel > p { font-size: 14px; }
.rate-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.rate-list > div { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-top: 1px solid rgba(178, 140, 242, .12); color: #bdb1cd; font-size: 14px; }
.rate-list strong { white-space: nowrap; color: var(--gold-hi); }
.rate-panel .rate-footnote { margin-top: 14px; margin-bottom: 0; color: #9487a4; font-size: 12px; }
.rate-panel .route-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(178, 140, 242, .18); color: #b6a9c8; font-size: 13px; }
.chest-feature { display: grid; grid-template-columns: 192px 1fr; gap: 28px; align-items: center; margin: 30px 0; }
.key-display { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.key-display span { font: 400 22px/1.2 var(--display); color: var(--gold-hi); }
.party-hat-feature { display: flex; gap: 26px; align-items: center; margin: 0; padding: 22px 24px; background: var(--void-2); border: 1px solid var(--article-rule); border-radius: 10px; }
.party-hat-feature img { flex-shrink: 0; }
.party-hat-feature p { font-size: 15px; }
.reward-table-block { margin: 32px 0; }
.reward-table-block > p { font-size: 14px; }
.reward-table-scroll { overflow-x: auto; border: 1px solid var(--article-rule); border-radius: 10px; }
.reward-table { width: 100%; min-width: 560px; border-collapse: collapse; background: rgba(15, 10, 19, .72); color: #bdb1cd; font-size: 14px; }
.reward-table th { padding: 12px 15px; text-align: left; background: var(--void-2); color: #d9cfdf; font-size: 12px; letter-spacing: .03em; }
.reward-table td { padding: 11px 15px; border-top: 1px solid rgba(178, 140, 242, .12); }
.reward-table th:nth-child(2), .reward-table td:nth-child(2) { width: 115px; }
.reward-table th:last-child, .reward-table td:last-child { width: 160px; text-align: right; }
.reward-table td:last-child strong, .reward-table td:last-child span { display: block; }
.reward-table td:last-child strong { color: var(--text); }
.reward-table td:last-child span { margin-top: 2px; color: #9487a4; font-size: 11px; }
.reward-table .jackpot-row { background: rgba(122, 73, 191, .08); }
.reward-table .jackpot-row td:first-child, .reward-table .jackpot-row td:last-child strong { color: var(--gold-hi); }
.donation-flow { margin: 25px 0; padding-left: 23px; border-left: 2px solid var(--line-strong); }
.donation-flow > div + div { margin-top: 22px; }
.donation-flow h3 { margin-bottom: 4px; }
.donation-flow p { font-size: 15px; }
.patch-section .important-note { padding: 17px 20px; background: var(--void-2); border: 1px solid var(--article-rule); border-radius: 10px; font-size: 14px; }
.combat-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: 25px 0 30px; }
.combat-notes p { font-size: 15px; }
.flats-note { margin: 24px 0; }
.blackjack-feature { display: grid; grid-template-columns: 1fr 150px; gap: 30px; align-items: start; }
.bet-figure { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 17px 0; }
.bet-figure strong { font: 400 47px/1.2 var(--display); color: var(--gold-hi); }
.bet-figure span { margin-top: 6px; max-width: 110px; font-size: 12px; color: #b6a9c8; }
.title-feature { margin-top: 30px; padding: 25px; background: var(--void-2); border: 1px solid var(--article-rule); border-radius: 10px; }
.title-sample { margin-bottom: 16px; font: 400 35px/1.2 var(--display); color: var(--gold-hi); }
.title-feature p { font-size: 15px; }
.coin-feature { display: grid; grid-template-columns: 1fr 185px; gap: 30px; align-items: center; margin: 26px 0; }
.coin-examples { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; margin: 0; text-align: center; }
.coin-examples > div { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.coin-examples strong { font: 400 27px/1.2 var(--display); }
.coin-examples .coin-k { color: #f5f3ee; }
.coin-examples .coin-m { color: #7cd992; }
.coin-examples figcaption { grid-column: 1 / -1; margin-top: 12px; font-size: 12px; color: #b6a9c8; }
.equipment-fixes { display: grid; grid-template-columns: 96px 1fr; gap: 22px; margin: 32px 0; align-items: start; }
.equipment-fixes ul { padding-left: 18px; color: #bdb1cd; font-size: 15px; line-height: 1.7; }
.equipment-fixes li + li { margin-top: 10px; }
.equipment-fixes li::marker { color: var(--purple-hi); }
.voice-note { margin-top: 30px; }
.quest-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 26px; }
.quest-notes p { font-size: 15px; }
.chronicle-note .patch-kicker { margin-bottom: 12px; color: var(--purple-hi); }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; }
.patch-end { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 12px; border-top: 1px solid var(--article-rule); padding-top: 20px; color: #b6a9c8; font-size: 13px; }
.patch-end a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 980px) {
  .patch-layout { grid-template-columns: 160px minmax(0, 1fr); gap: 30px; }
  .hero-axe { width: 192px; height: 128px; top: 72px; }
  .hero-key { width: 144px; height: 96px; }
  .ability-word { display: none; }
  .fury-item { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .fury-item img { width: 80px; height: 54px; }
}
@media (max-width: 760px) {
  .patch-heading { padding: 18px 20px 22px; }
  .patch-hero { grid-template-columns: 1fr; gap: 12px; }
  .patch-hero h1 { font-size: 54px; }
  .patch-deck { max-width: 520px; font-size: 17px; }
  .hero-relics { height: 214px; max-width: 420px; width: 100%; margin: 0 auto; }
  .hero-key { left: 5%; top: 8px; }
  .hero-axe { right: 3%; top: 24px; }
  .hero-hat { left: 33%; top: 96px; width: 144px; height: 96px; }
  .patch-layout { display: block; padding: 0 20px 35px; }
  .patch-contents { position: static; margin: 0 0 25px; padding: 18px 0; border-top: 1px solid var(--article-rule); display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .patch-contents h2 { grid-column: 1 / -1; margin-bottom: 6px; }
  .patch-contents a { min-height: 44px; }
  .patch-section { padding: 28px 0 32px; scroll-margin-top: 82px; }
  .patch-section h2 { font-size: 31px; }
  .patch-section p { font-size: 15px; }
  .patch-section .section-lead { font-size: 16px; }
  .section-with-art { grid-template-columns: 1fr 90px; gap: 12px; }
  .large-item { width: 90px; height: 60px; }
  .chest-feature { grid-template-columns: 1fr; gap: 22px; }
  .key-display { flex-direction: row; justify-content: center; }
  .key-display img { width: 144px; height: 96px; }
  .party-hat-feature { padding: 20px 16px; gap: 15px; }
  .party-hat-feature img { width: 128px; height: 85px; }
  .rate-list { grid-template-columns: 1fr; }
  .rate-panel { padding: 19px 17px; }
  .combat-notes { grid-template-columns: 1fr; gap: 25px; }
  .blackjack-feature { grid-template-columns: 1fr 105px; gap: 15px; }
  .bet-figure strong { font-size: 38px; }
  .coin-feature { grid-template-columns: 1fr; gap: 20px; }
  .coin-examples { max-width: 200px; }
  .equipment-fixes { grid-template-columns: 64px 1fr; gap: 15px; }
  .equipment-fixes > img { width: 64px; height: 43px; }
  .quest-notes { grid-template-columns: 1fr; gap: 23px; }
}
@media (max-width: 390px) {
  .patch-hero h1 { font-size: 46px; }
  .blackjack-feature { display: flex; flex-direction: column-reverse; gap: 10px; }
  .bet-figure { flex-direction: row; gap: 10px; padding: 0; }
  .bet-figure img { width: 64px; height: 43px; }
  .bet-figure span { margin: 0; text-align: left; }
  .party-hat-feature { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .patch-feature *, .patch-feature *::before, .patch-feature *::after { animation: none !important; transition: none !important; }
}
@media print {
  .patch-feature { background: white; color: #222; }
  .patch-feature > header, .patch-feature > footer, .patch-contents, .patch-read, .back-link, .patch-end { display: none; }
  .patch-layout { display: block; }
  .patch-section { break-inside: avoid; }
  .patch-section p, .patch-section h2, .patch-section h3, .patch-section strong { color: #222; }
}
