/* The raid extends the incumbent dark-gold game world and pixel artwork. */
.game-page .raid-stage { padding: 28px 30px 24px; overflow: visible; }
.raid-stage::after { display: none; }
.raid-stage .raid-shell { position: relative; z-index: 1; --raid-gold: #efd077; --raid-muted: #b3a995; --raid-line: #443920; --raid-green: #81cca7; color: #e7ddc7; font-size: 13px; line-height: 1.65; }
.raid-shell *, .raid-shell *::before, .raid-shell *::after { box-sizing: border-box; }
.raid-shell [hidden] { display: none !important; }
.raid-shell button, .raid-shell input { font: inherit; }
.raid-shell button { cursor: pointer; }
.raid-shell button:disabled { cursor: not-allowed; opacity: .45; }
.raid-shell h3, .raid-shell p { margin: 0; }
.raid-shell h3 { color: #ecdfbf; font-size: 16px; font-weight: 700; }
.raid-shell input { min-width: 0; caret-color: #f3d27c; }
.raid-shell .raid-intro { margin: 8px 0 23px; color: var(--raid-muted); font-size: 13px; }
.raid-notice { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: 0 0 18px; padding: 10px 13px; border: 1px solid #7b3c2e; color: #efb7a2; background: #261712; }
.raid-notice button { flex: 0 0 auto; padding: 4px 8px; border: 0; color: #f6d8ae; background: #513323; text-decoration: underline; text-underline-offset: 3px; }
.raid-route { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0 0 20px; padding: 0; list-style: none; }
.raid-route li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px 15px; border-top: 1px solid #302b20; border-bottom: 1px solid #302b20; color: #9a9182; background: #0c0d0e; }
.raid-route li + li { border-left: 1px solid #302b20; }
.raid-route-number { color: #807251; font-family: "Cinzel", serif; font-size: 17px; font-weight: 600; line-height: 1; }
.raid-route li > span:nth-child(2) { font-weight: 700; white-space: nowrap; }
.raid-route small { margin-left: auto; font-size: 11px; white-space: nowrap; }
.raid-route .is-current { border-top-color: #a88839; border-bottom-color: #75602f; color: #f2d48a; background: #201b10; }
.raid-route .is-current .raid-route-number { color: #f2d48a; }
.raid-route .is-cleared { color: #9dd4b2; background: #101b15; }
.raid-route .is-cleared .raid-route-number { color: #a7d3b6; }
.raid-play-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; align-items: start; gap: 25px; }
.raid-main { min-width: 0; }
.raid-arena { position: relative; isolation: isolate; height: 330px; overflow: hidden; border: 1px solid #514026; background: linear-gradient(0deg, rgba(7, 8, 9, .2), rgba(7, 8, 9, .1)), linear-gradient(90deg, rgba(10, 11, 14, .84), rgba(10, 11, 14, .25), rgba(10, 11, 14, .62)), url("/images/games/hero-banner.png") 53% 44% / cover no-repeat; }
.raid-arena::after { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(0deg, #11100e 0%, transparent 35%, rgba(8, 9, 11, .88) 100%); pointer-events: none; }
.raid-scene-heading { position: absolute; z-index: 4; top: 13px; right: 16px; left: 16px; display: flex; justify-content: space-between; gap: 10px; font-size: 11px; }
.raid-scene-name { color: #e1c17b; letter-spacing: 2px; }
.raid-scene-round { color: #d2c6ac; font-variant-numeric: tabular-nums; }
.raid-boss-info { position: absolute; z-index: 4; top: 50px; right: 18px; width: 47%; }
.raid-boss-info > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.raid-boss-name { color: #f1ce9d; font-size: 14px; letter-spacing: 1px; }
.raid-boss-hp { color: #dab2a0; font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.raid-health { height: 5px; overflow: hidden; background: #242323; }
.raid-health > span { display: block; width: 100%; height: 100%; background: #5aa983; transform-origin: left center; transition: transform 430ms cubic-bezier(.16, 1, .3, 1); }
.raid-health-boss { height: 7px; background: #391e1c; box-shadow: 0 2px 5px #050505; }
.raid-health-boss > span { background: linear-gradient(90deg, #842e26, #bf6550); }
.raid-boss-effects { display: block; min-height: 20px; margin-top: 4px; color: #a7cf8b; font-size: 10px; text-align: right; }
.raid-stone-floor { position: absolute; z-index: -1; inset: 51% -10% -28%; border: 1px solid rgba(166, 132, 62, .3); border-radius: 50%; background: radial-gradient(ellipse at 48% 50%, rgba(112, 86, 40, .3), rgba(25, 24, 21, .76) 64%); transform: rotate(-5deg); }
.raid-prop { position: absolute; z-index: -1; width: 58px; height: 72px; object-fit: contain; image-rendering: pixelated; filter: brightness(.5); }
.raid-prop-gate { top: 75px; left: 42%; width: 105px; height: 115px; opacity: .3; }
.raid-prop-torch-left { bottom: 45px; left: -8px; width: 65px; height: 80px; filter: brightness(.9); }
.raid-prop-torch-right { bottom: 95px; right: -10px; width: 65px; height: 80px; filter: brightness(.9); }
.raid-prop-statue { top: 40px; left: 12%; width: 75px; height: 125px; opacity: .45; }
.raid-hero { position: absolute; z-index: 3; width: 82px; height: 111px; text-align: center; }
.raid-hero::before { position: absolute; left: 10%; right: 10%; bottom: 23px; height: 15px; border-radius: 50%; content: ""; background: rgba(0, 0, 0, .6); filter: blur(4px); }
.raid-hero-warrior { bottom: 50px; left: 32%; }
.raid-hero-mage { bottom: 100px; left: 11%; }
.raid-hero-taoist { bottom: 27px; left: 9%; }
.raid-hero-art { position: relative; width: 82px; height: 85px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 5px 7px rgba(0, 0, 0, .7)); }
.raid-hero-label { position: relative; display: block; color: #ead8b6; font-size: 11px; line-height: 1.4; text-shadow: 0 2px 4px #000; }
.raid-hero-ready { position: absolute; top: -13px; left: 8px; right: 8px; padding: 1px 3px; border: 1px solid #46634c; color: #b4dfb1; background: #142219; font-size: 10px; }
.raid-hero.is-shielded .raid-hero-art { filter: drop-shadow(0 4px 9px rgba(138, 193, 245, .6)); }
.raid-hero.is-fallen .raid-hero-art { transform: rotate(-68deg) translate(-8px, 17px); filter: grayscale(1) brightness(.5); }
.raid-hero.is-vacant { opacity: .34; }
.raid-enemy { position: absolute; z-index: 2; right: 4%; bottom: 40px; width: 45%; height: 198px; }
.raid-enemy::before { position: absolute; bottom: 0; left: 17%; right: 9%; height: 32px; content: ""; border-radius: 50%; background: #050505; filter: blur(7px); opacity: .8; }
.raid-enemy-art { width: 100%; height: 100%; }
.raid-boss-art { position: relative; width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 9px 6px rgba(0, 0, 0, .65)); }
.raid-hit-number { position: absolute; z-index: 5; top: 10px; left: 35%; color: #ffdc93; font-family: "Cinzel", serif; font-size: 35px; font-weight: 700; line-height: 1; opacity: 0; text-shadow: 0 3px 4px #150900; white-space: nowrap; pointer-events: none; }
.raid-adds { position: absolute; right: 2%; bottom: 0; padding: 2px 7px; border: 1px solid #764435; color: #ffd2ae; background: #271512; font-size: 11px; }
.raid-scene-caption { position: absolute; z-index: 4; right: 13px; bottom: 10px; color: #a79a7c; font-size: 10px; letter-spacing: 1px; }
.raid-intent { display: flex; gap: 12px; align-items: center; min-height: 79px; padding: 13px 14px; border: 1px solid #544025; border-top: 0; background: #1c1710; }
.raid-intent-symbol { flex: 0 0 35px; width: 35px; }
.raid-intent-icon { width: 34px; height: 42px; object-fit: contain; image-rendering: pixelated; }
.raid-intent-label { margin-right: 9px; color: #beaa81; font-size: 11px; }
.raid-intent-title { color: #f0c477; font-size: 13px; }
.raid-shell .raid-intent-description { margin-top: 3px; color: #cfbfa1; font-size: 12px; line-height: 1.6; }
.raid-team-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 21px 0 10px; }
.raid-team-heading h3 { font-size: 14px; }
.raid-team-summary { color: #a49a85; font-size: 11px; }
.raid-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.raid-member { min-width: 0; padding: 9px 10px; background: #121411; }
.raid-member.is-self { outline: 1px solid #746035; background: #1a1912; }
.raid-member-top { display: flex; align-items: center; min-width: 0; gap: 7px; margin-bottom: 8px; }
.raid-member-art { flex: 0 0 30px; width: 30px; height: 38px; object-fit: contain; image-rendering: pixelated; }
.raid-member-copy { min-width: 0; }
.raid-member-name { display: block; overflow: hidden; color: #eee0c1; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.raid-member-type { display: block; color: #aa9f86; font-size: 10px; line-height: 1.5; }
.raid-member-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 6px; margin-top: 5px; color: #aeae96; font-size: 10px; }
.raid-health-number { font-variant-numeric: tabular-nums; }
.raid-member-effects { display: block; margin-top: 5px; color: #a7d6ab; font-size: 10px; }
.raid-member.is-fallen { background: #151212; }
.raid-member.is-fallen .raid-member-art { filter: grayscale(1); }
.raid-member.is-fallen .raid-member-status { color: #cf9d88; }
.raid-member.is-vacant { opacity: .55; }
.raid-controls { min-width: 0; padding-left: 24px; border-left: 1px solid #39301e; }
.raid-section-description { margin-top: 5px !important; color: var(--raid-muted); font-size: 12px; }
.raid-role-options { display: grid; gap: 7px; margin: 17px 0 20px; }
.raid-role-option { display: flex; align-items: center; gap: 10px; min-width: 0; width: 100%; padding: 8px 10px; border: 1px solid #3c3426; color: #b3a78d; background: #101111; text-align: left; transition: border-color 140ms ease, background-color 140ms ease; }
.raid-role-option:hover { border-color: #a08648; background: #1b1912; }
.raid-role-option.is-selected { border-color: #bc9643; background: #272112; }
.raid-role-art { flex: 0 0 37px; width: 37px; height: 43px; object-fit: contain; image-rendering: pixelated; }
.raid-role-copy { min-width: 0; }
.raid-role-copy strong { display: block; color: #ead4a5; font-size: 14px; }
.raid-role-copy > span { display: block; margin-top: 1px; color: #b7a98c; font-size: 11px; }
.raid-role-mark { margin-left: auto; color: #a79569; font-size: 10px; white-space: nowrap; }
.raid-role-option.is-selected .raid-role-mark { color: #efd077; }
.raid-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 15px; border: 1px solid #64502d; border-radius: 2px; color: #e4c67d; background: #1a1811; font-size: 13px; font-weight: 600; transition: background 140ms ease, border-color 140ms ease; }
.raid-button:hover:not(:disabled) { border-color: #b59140; background: #292213; }
.raid-button-primary { border-color: #d5af52; color: #201605; background: #d5b25d; }
.raid-button-primary:hover:not(:disabled) { border-color: #f6d07b; background: #ebc977; }
.raid-practice { display: flex; flex-direction: column; width: 100%; min-height: 64px; font-size: 15px; }
.raid-practice span { color: #4d3c18; font-size: 11px; font-weight: 500; }
.raid-create { width: 100%; margin-top: 9px; }
.raid-join-form { margin-top: 21px; padding-top: 18px; border-top: 1px solid #39301f; }
.raid-join-form label { display: block; margin-bottom: 8px; color: #c1b290; font-size: 12px; }
.raid-join-form > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 7px; }
.raid-join-form input { width: 100%; min-height: 42px; padding: 9px 10px; border: 1px solid #59482b; border-radius: 2px; color: #f0d38e; background: #0c0d0e; font-size: 12px; }
.raid-join-form input::placeholder { color: #a49a87; }
.raid-shell .raid-fair-play { margin-top: 18px; color: #a89c84; font-size: 11px; line-height: 1.8; }
.raid-room-top { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.raid-room-mode { color: #bbad90; font-size: 11px; }
.raid-text-button { border: 0; padding: 3px 0; color: #d0b47e; background: transparent; font-size: 11px !important; text-decoration: underline; text-underline-offset: 4px; }
.raid-text-button:hover { color: #f4d799; }
.raid-room-code-wrap { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 9px; padding: 10px 0; border-bottom: 1px solid #554020; }
.raid-room-code-wrap > span { color: #b7a88a; font-size: 12px; }
.raid-room-code { padding: 0; border: 0; color: #efd077; background: none; font-family: "Cinzel", serif !important; font-size: 23px !important; font-weight: 700; letter-spacing: 3px; font-variant-numeric: tabular-nums; }
.raid-room-code:hover { color: #ffedbb; }
.raid-shell .raid-copy-status { min-height: 22px; margin-top: 5px; color: #b7cea3; font-size: 10px; }
.raid-waiting { padding-top: 9px; }
.raid-shell .raid-waiting-description { margin-top: 10px; color: #c0b297; font-size: 13px; }
.raid-start { width: 100%; margin-top: 22px; }
.raid-shell .raid-room-help { margin-top: 13px; color: #a89d85; font-size: 12px; line-height: 1.8; }
.raid-turn-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.raid-turn-heading h3 { font-size: 15px; }
.raid-countdown { min-width: 39px; color: #e1c07b; font-variant-numeric: tabular-nums; font-size: 17px; text-align: right; }
.raid-countdown.is-urgent { color: #f29576; }
.raid-shell .raid-turn-status { margin: 8px 0 13px; color: #bcae91; font-size: 12px; line-height: 1.7; }
.raid-turn-status.is-submitted { color: #9ed3a8; }
.raid-skills { display: grid; gap: 9px; }
.raid-skill { display: flex; align-items: center; gap: 9px; width: 100%; min-width: 0; min-height: 79px; padding: 10px; border: 1px solid #5b4828; border-radius: 2px; color: #e7c782; background: #1b1811; text-align: left; transition: border-color 150ms ease, background-color 150ms ease; }
.raid-skill:hover:not(:disabled) { border-color: #d0aa56; background: #2b2314; }
.raid-skill-art { flex: 0 0 33px; display: grid; place-items: center; width: 33px; height: 42px; }
.raid-skill-art img { width: 32px; height: 36px; object-fit: contain; image-rendering: pixelated; }
.raid-skill-copy { flex: 1; min-width: 0; }
.raid-skill-top { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 2px 6px; }
.raid-skill-top strong { color: #f0d191; font-size: 13px; }
.raid-skill-cooldown { color: #b6a077; font-size: 10px; white-space: nowrap; }
.raid-skill-description { display: block; margin-top: 4px; color: #c5b596; font-size: 11px; line-height: 1.65; }
.raid-skill.is-cooling .raid-skill-cooldown { color: #edb58c; }
.raid-shell .raid-round-help { margin-top: 15px; color: #a49981; font-size: 11px; line-height: 1.8; }
.raid-result { padding-top: 5px; text-align: center; }
.raid-result-art { height: 90px; margin: 0 0 10px; }
.raid-result-art img { width: 96px; height: 90px; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .65)); }
.raid-result .raid-result-title { color: #f1d27e; font-size: 25px; letter-spacing: 2px; }
.raid-shell .raid-result-description { margin: 10px 0; color: #c6b797; }
.raid-shell .raid-result-score { margin: 0 0 23px; color: #e7cb8c; font-size: 12px; }
.raid-result .raid-button { width: 100%; margin-bottom: 9px; }
.raid-shell .raid-result-note { margin-top: 6px; color: #aa9f87; font-size: 10px; }
.raid-journal { margin-top: 24px; padding-top: 17px; border-top: 1px solid #44371f; }
.raid-journal-heading { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.raid-journal-heading h3 { font-size: 14px; }
.raid-journal-heading > span { color: #a99c7f; font-size: 11px; }
.raid-log { display: grid; gap: 5px; max-height: 166px; overflow: auto; margin: 0; padding: 0 8px 0 0; list-style: none; scrollbar-width: thin; scrollbar-color: #705930 #101010; }
.raid-log li { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: baseline; gap: 8px; color: #a99f8a; font-size: 11px; }
.raid-log li.is-latest { color: #dfc596; }
.raid-log li.is-heal { color: #9bbb9c; }
.raid-log-mark { color: #d5b56d; font-size: 9px; }
.raid-shell .raid-bottom-note { margin-top: 18px; color: #a89d85; font-size: 11px; }
.raid-arena.is-impact .raid-boss-art { animation: raid-impact 480ms cubic-bezier(.16, 1, .3, 1); }
.raid-arena.is-impact .raid-hit-number { animation: raid-damage-rise 850ms cubic-bezier(.16, 1, .3, 1); }
.raid-stage[data-raid-phase="victory"] .raid-boss-art { opacity: .22; filter: grayscale(1); transform: rotate(15deg); }
.raid-stage[data-raid-phase="victory"] .raid-intent { background: #151e13; border-color: #3c5130; }
.raid-stage[data-raid-phase="victory"] .raid-intent-title { color: #bfd09a; }
@keyframes raid-impact { 0% { filter: brightness(1.75); transform: translateX(0); } 22% { filter: brightness(1.5); transform: translateX(9px) rotate(3deg); } 100% { filter: brightness(1); transform: translateX(0); } }
@keyframes raid-damage-rise { 0% { opacity: 0; transform: translateY(8px) scale(.8); } 18% { opacity: 1; transform: translateY(-6px) scale(1); } 65% { opacity: 1; } 100% { opacity: 0; transform: translateY(-36px); } }
@media (min-width: 1600px) { .raid-arena { height: 365px; } .raid-enemy { height: 230px; } .raid-hero { transform: scale(1.15); transform-origin: center bottom; } }
@media (max-width: 1200px) {
  .game-page .raid-stage { padding: 23px; }
  .raid-play-layout { grid-template-columns: minmax(0, 1fr) 275px; gap: 19px; }
  .raid-controls { padding-left: 18px; }
  .raid-route li { padding: 9px 11px; gap: 7px; }
  .raid-route small { display: none; }
  .raid-member { padding: 8px; }
  .raid-member-top { gap: 4px; }
  .raid-member-art { flex-basis: 24px; width: 24px; }
  .raid-hero-warrior { left: 29%; }
  .raid-hero-mage, .raid-hero-taoist { left: 5%; }
}
@media (max-width: 950px) {
  .raid-play-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .raid-controls { padding: 20px 0 0; border-left: 0; border-top: 1px solid #44371f; }
  .raid-lobby { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
  .raid-lobby h3, .raid-lobby .raid-section-description, .raid-lobby .raid-role-options { grid-column: 1; }
  .raid-lobby .raid-role-options { grid-row: 3 / span 3; margin-bottom: 0; }
  .raid-practice { grid-column: 2; grid-row: 1 / span 2; align-self: start; }
  .raid-create { grid-column: 2; grid-row: 3; align-self: start; margin-top: 12px; }
  .raid-join-form { grid-column: 2; grid-row: 4; margin-top: 15px; padding-top: 12px; }
  .raid-fair-play { grid-column: 2; grid-row: 5; }
  .raid-arena { height: 330px; }
  .raid-hero-warrior { left: 33%; }
  .raid-hero-mage, .raid-hero-taoist { left: 13%; }
  .raid-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .raid-room-code-wrap { justify-content: flex-start; gap: 20px; }
  .raid-room-code { font-size: 20px !important; }
  .raid-copy-status:empty { display: none; }
  .raid-waiting, .raid-battle-panel, .raid-result { margin-top: 17px; }
  .raid-result { max-width: 430px; margin-right: auto; margin-left: auto; }
}
@media (max-width: 600px) {
  .game-page .raid-stage { padding: 19px 14px 20px; }
  .game-page .raid-stage > header { gap: 8px; flex-wrap: wrap; }
  .game-page .raid-stage > header h2 { font-size: 23px; letter-spacing: 2px; }
  .raid-shell .raid-intro { max-width: 40ch; margin: 9px 0 16px; font-size: 11px; line-height: 1.9; }
  .raid-route { margin-bottom: 13px; }
  .raid-route li { gap: 6px; padding: 8px 7px; }
  .raid-route li > span:nth-child(2) { font-size: 11px; }
  .raid-route-number { font-size: 13px; }
  .raid-play-layout { display: flex; flex-direction: column; gap: 0; align-items: stretch; }
  .raid-play-layout > .raid-lobby { margin-bottom: 23px; }
  .raid-play-layout > .raid-waiting { margin: 12px 0 23px; }
  .raid-play-layout > .raid-result { width: 100%; margin: 0 0 24px; }
  .raid-play-layout > .raid-battle-panel { margin: 15px 0 0; }
  .raid-play-layout > .raid-roster { margin-top: 2px; }
  .raid-play-layout > .raid-room-meta { margin-top: 20px; padding-top: 14px; border-top: 1px solid #44371f; }
  [data-raid-phase="lobby"] .raid-play-layout > .raid-room-meta { margin-top: 0; padding-top: 0; border-top: 0; }
  .raid-play-layout > .raid-arena, .raid-play-layout > .raid-intent, .raid-play-layout > .raid-lobby, .raid-play-layout > .raid-result, .raid-play-layout > .raid-room-meta { scroll-margin-top: 76px; }
  .raid-arena { height: 282px; }
  .raid-scene-heading { left: 11px; right: 11px; top: 11px; }
  .raid-boss-info { top: 44px; right: 12px; width: 50%; }
  .raid-boss-name { font-size: 12px; letter-spacing: 0; }
  .raid-boss-hp { font-size: 9px; }
  .raid-enemy { bottom: 36px; right: 3%; height: 157px; width: 48%; }
  .raid-hero { width: 65px; height: 91px; }
  .raid-hero-art { width: 65px; height: 69px; }
  .raid-hero-label { font-size: 9px; }
  .raid-hero-warrior { bottom: 46px; left: 29%; }
  .raid-hero-mage { bottom: 89px; left: 8%; }
  .raid-hero-taoist { bottom: 24px; left: 5%; }
  .raid-hero-ready { top: -11px; font-size: 8px; }
  .raid-prop-gate { top: 59px; left: 35%; width: 88px; height: 94px; }
  .raid-prop-statue { width: 65px; height: 92px; }
  .raid-prop-torch-left { left: -18px; }
  .raid-prop-torch-right { right: -19px; }
  .raid-scene-caption { bottom: 8px; right: 9px; font-size: 8px; }
  .raid-intent { min-height: 80px; gap: 8px; padding: 10px; }
  .raid-intent-symbol { flex-basis: 28px; }
  .raid-intent-icon { width: 27px; height: 34px; }
  .raid-intent-label { font-size: 10px; }
  .raid-intent-title { font-size: 12px; }
  .raid-shell .raid-intent-description { font-size: 11px; }
  .raid-team { gap: 6px; }
  .raid-team-heading { margin: 17px 0 9px; }
  .raid-team-heading h3 { font-size: 13px; }
  .raid-team-summary { font-size: 10px; }
  .raid-member { padding: 7px 6px; }
  .raid-member-top { align-items: flex-start; gap: 4px; }
  .raid-member-art { display: none; }
  .raid-member-name { font-size: 11px; }
  .raid-member-type { font-size: 9px; }
  .raid-member-status { font-size: 9px; }
  .raid-lobby { display: block; }
  .raid-lobby .raid-role-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin: 15px 0 18px; }
  .raid-role-option { position: relative; flex-direction: column; align-items: center; gap: 3px; padding: 10px 5px 8px; text-align: center; }
  .raid-role-art { width: 38px; height: 38px; flex-basis: auto; }
  .raid-role-copy strong { font-size: 13px; }
  .raid-role-copy > span { max-width: 7em; margin: 3px auto 0; font-size: 10px; line-height: 1.6; }
  .raid-role-mark { margin-left: 0; font-size: 9px; }
  .raid-practice { min-height: 59px; font-size: 15px; }
  .raid-create { margin-top: 9px; }
  .raid-join-form { margin-top: 18px; padding-top: 15px; }
  .raid-join-form input { font-size: 16px; }
  .raid-join-form input::placeholder { font-size: 12px; }
  .raid-shell .raid-fair-play { margin-top: 13px; font-size: 10px; }
  .raid-room-code-wrap { margin-top: 7px; padding: 8px 0; }
  .raid-skills { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .raid-skill { min-height: 74px; }
  .raid-skill-description { font-size: 12px; }
  [data-raid-phase="battle"] .raid-arena { height: 210px; }
  [data-raid-phase="battle"] .raid-boss-info { top: 36px; }
  [data-raid-phase="battle"] .raid-enemy { height: 125px; bottom: 19px; }
  [data-raid-phase="battle"] .raid-hero { width: 55px; height: 72px; }
  [data-raid-phase="battle"] .raid-hero-art { width: 55px; height: 54px; }
  [data-raid-phase="battle"] .raid-hero-warrior { bottom: 29px; }
  [data-raid-phase="battle"] .raid-hero-mage { bottom: 54px; }
  [data-raid-phase="battle"] .raid-hero-taoist { bottom: 9px; }
  [data-raid-phase="battle"] .raid-prop-statue { top: 25px; height: 78px; }
  [data-raid-phase="battle"] .raid-prop-gate { top: 43px; height: 79px; }
  [data-raid-phase="battle"] .raid-scene-caption { font-size: 8px; bottom: 4px; }
  [data-raid-phase="battle"] .raid-intent { min-height: 73px; }
  [data-raid-phase="battle"] .raid-skill { min-height: 68px; padding: 8px; }
  [data-raid-phase="battle"] .raid-skill-description { font-size: 11px; }
  [data-raid-phase="battle"] .raid-turn-status { margin: 4px 0 9px; }
  [data-raid-phase="battle"] .raid-round-help { margin-top: 10px; }
  .raid-notice { align-items: flex-start; font-size: 12px; }
  .raid-notice button { font-size: 11px; }
  .raid-journal { margin-top: 21px; }
  .raid-shell .raid-bottom-note { margin-top: 15px; font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .raid-shell *, .raid-shell *::before, .raid-shell *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .raid-arena.is-impact .raid-hit-number { opacity: 1; }
}
