/* Painted comic panels, independent VFX and compositor-friendly motion. */
body.duel-home { background: #09172c; }
.dh-premium { --dh-px: 0px; --dh-py: 0px; --dh-glow: #52d5ff; background-color: #fff8e9; }
.dh-premium h1, .dh-premium h2 { font-family: 'Fraunces', Georgia, serif; font-optical-sizing: auto; font-weight: 900; letter-spacing: -.055em; }
.dh-premium .dh-masthead { height: clamp(178px, 13vw, 250px); }
.dh-premium .dh-masthead::before { background: url('/duel/hub-comic-v2/masthead-splash.webp') center 45% / cover; }
.dh-premium .dh-roster { clip-path: polygon(0 0, 100% 0, 100% 84%, 84% 100%, 64% 94%, 34% 88%, 23% 100%, 0 80%); }
.dh-premium .dh-roster::after { display: none; }
.dh-premium .dh-ignis { width: 31%; left: -3%; top: -12%; filter: drop-shadow(4px 3px 0 #0b1931) drop-shadow(0 0 13px #ff812b60); translate: calc(var(--dh-px) * .5) calc(var(--dh-py) * .2); }
.dh-premium .dh-sylwan { width: 26%; right: 9%; top: -38%; filter: drop-shadow(-3px 3px 0 #0b1931); translate: calc(var(--dh-px) * -.35) calc(var(--dh-py) * .3); }
.dh-premium .dh-morvath { width: 26%; right: -4%; top: -31%; filter: drop-shadow(-3px 3px 0 #0b1931) drop-shadow(0 0 18px #ad65ff50); translate: calc(var(--dh-px) * -.65) calc(var(--dh-py) * .25); }
.dh-premium .dh-nav { background: #fff8eae8; padding-inline: 12px; gap: 4px; min-height: 43px; box-shadow: 0 1px #fff9ef; }
.dh-premium .dh-nav :is(a, button) { font-size: 13px; font-weight: 800; padding: 10px 14px; transition: color .18s, translate .18s, background .18s; }
.dh-premium .dh-nav :is(a, button):hover { translate: 0 -2px; color: #08172d; background: #ffdb55; }
.dh-premium .dh-nav .active { color: #ffd139; background: #09182e; outline: 3px solid #ffc52d; rotate: -1deg; border-radius: 2px; }
.dh-premium .dh-masthead h1 { font-size: clamp(50px, 5.05vw, 97px); line-height: .87; margin-top: 2px; color: #07162c; text-shadow: 2px 2px 0 #f3c43e; }
.dh-premium .dh-title-rule { margin-top: 5px; width: 220px; font-size: 12px; }
.dh-premium .dh-play { z-index: 3; height: clamp(425px, 27vw, 510px); border-top: 0; border-bottom: 7px solid #07152a; margin-top: -12px; background: #fff7e8 url('/duel/hub-comic-v1/paper.webp') repeat; background-size: 640px; }
.dh-premium .dh-blue { inset: 0; clip-path: polygon(26.3% 0, 77.4% 0, 86.2% 100%, 11.6% 100%); background-position: 50% 40%; }
.dh-premium .dh-blue::before, .dh-premium .dh-blue::after { display: none; }
.dh-premium .dh-mode { padding-top: 27px; padding-bottom: 28px; }
.dh-premium .dh-classic { width: 21%; }
.dh-premium .dh-classic::before { content: ''; position: absolute; inset: -12px -37% -1px -1px; background: #fff8e8 url('/duel/hub-comic-v2/classic-panel.webp') center / cover; z-index: -1; clip-path: polygon(0 0, 100% 7%, 56% 100%, 0 100%); }
.dh-premium .dh-chaos { width: 21%; padding-left: 32px; background: transparent; clip-path: none; }
.dh-premium .dh-chaos::before { content: ''; position: absolute; inset: -3px -1px -1px -24%; background: #ffcf33 url('/duel/hub-comic-v1/paint-yellow.webp') center / cover; clip-path: polygon(0 14%, 100% 0, 100% 100%, 42% 100%); z-index: -1; }
.dh-premium .dh-crest { width: clamp(82px, 8.6vw, 158px); margin-top: -8px; filter: drop-shadow(2px 4px 0 #08172d22); transition: scale .35s, rotate .35s, filter .35s; }
.dh-premium .dh-mode:hover .dh-crest { scale: 1.08; rotate: -4deg; filter: drop-shadow(3px 6px 0 #08172d33) drop-shadow(0 0 12px #ffba38a0); }
.dh-premium .dh-chaos:hover .dh-crest { rotate: 9deg; }
.dh-premium .dh-mode h2 { font-size: clamp(29px, 2.65vw, 50px); line-height: .99; margin: 3px 0 13px; text-shadow: 1px 1px #fff7d9; }
.dh-premium .dh-mode p { line-height: 1.4; font-size: clamp(12px, 1vw, 17px); }
.dh-premium .dh-thora { width: 38%; left: 10%; height: 112%; bottom: -1px; z-index: 1; filter: drop-shadow(3px 1px 0 #071830) drop-shadow(-3px 0 0 #d9f6ff70); translate: calc(var(--dh-px) * .65) calc(var(--dh-py) * .35); animation: dh-thora-life 6.8s ease-in-out infinite; transform-origin: 50% 95%; }
.dh-premium .dh-nerissa { width: 36%; right: 12%; height: 109%; bottom: -1px; filter: drop-shadow(-3px 1px 0 #08182e) drop-shadow(3px 0 0 #adf4ff60); translate: calc(var(--dh-px) * -.5) calc(var(--dh-py) * .25); animation: dh-nerissa-life 8s ease-in-out infinite; transform-origin: 50% 90%; }
.dh-premium .dh-thora, .dh-premium .dh-nerissa { z-index: 3; }
.dh-premium .dh-coop-copy { left: 36.5%; width: 27%; top: 24px; z-index: 5; }
.dh-premium .dh-coop-select { padding-top: 2px; text-shadow: 0 3px 0 #072e70, 0 0 18px #1b75de80; }
.dh-premium .dh-coop-select h2 { font-size: clamp(38px, 3.5vw, 65px); line-height: .95; letter-spacing: -.045em; margin-bottom: 7px; }
.dh-premium .dh-coop-select p { font-size: clamp(12px, 1.05vw, 18px); line-height: 1.28; margin-top: 5px; font-weight: 600; }
.dh-premium .dh-coop-select:hover, .dh-premium .dh-coop-select:focus-visible { background: transparent; }
.dh-premium .dh-versus { margin: 5px auto 0; height: clamp(41px, 4.2vw, 73px); }
.dh-premium .dh-versus .dh-matchup { width: clamp(110px, 11vw, 190px); height: 100%; fill: none; color: transparent; filter: drop-shadow(0 2px 0 #07235c); }
.dh-premium .dh-matchup { transition: scale .3s; }
.dh-premium .dh-coop-select:hover .dh-matchup { scale: 1.07; }
.dh-stage-fx { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.dh-electric-halo { position: absolute; width: 29%; height: 82%; left: 17%; bottom: -12%; background: radial-gradient(ellipse, #159eff45, transparent 64%); mix-blend-mode: screen; animation: dh-energy-breathe 5s ease-in-out infinite; }
.dh-lightning { position: absolute; width: 100%; height: 100%; inset: 0; fill: none; stroke: #ebffff; stroke-linejoin: miter; stroke-linecap: round; stroke-width: 1.7; }
.dh-lightning path { stroke-dasharray: 800; stroke-dashoffset: 800; opacity: 0; }
.dh-bolt-a { animation: dh-bolt 7s ease-out infinite; }
.dh-bolt-b { animation: dh-bolt 8.7s ease-out -3s infinite; }
.dh-lightning .dh-bolt-glow { stroke: #34baff; stroke-width: 10; filter: url('#dh-electric-glow'); }
.dh-tide-ribbon { position: absolute; width: 28%; height: 96%; right: 12%; bottom: -7%; object-fit: contain; opacity: .63; mix-blend-mode: screen; animation: dh-tide-flow 7.4s ease-in-out infinite; transform-origin: 55% 75%; }
.dh-tide-glow { position: absolute; width: 27%; height: 65%; right: 12%; bottom: -4%; background: radial-gradient(ellipse, #29dcff48, transparent 70%); mix-blend-mode: screen; animation: dh-energy-breathe 6s ease-in-out -2s infinite; }
.dh-panel-seams { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-linejoin: miter; }
.dh-seam-ink { stroke: #07162d; stroke-width: 9; }
.dh-seam-paper { stroke: #fff9eb; stroke-width: 4; }
.dh-premium .dh-setup { left: 34%; right: 20.5%; gap: 20px; padding: 20px 28px 16px; grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.4fr); background: transparent; border: 0; border-radius: 0; box-shadow: none; isolation: isolate; filter: drop-shadow(0 -3px 0 #fff4d5); }
.dh-premium .dh-setup::before, .dh-premium .dh-setup::after { content: ''; position: absolute; inset: 0; z-index: -2; clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%); background: #0a192f; }
.dh-premium .dh-setup::after { inset: 4px 4px 0; z-index: -1; background: #fff8e9 url('/duel/hub-comic-v1/paper.webp') repeat; background-size: 640px; }
.dh-premium .dh-setup { z-index: 7; }
.dh-premium .dh-deck-chip { gap: 15px; padding-right: 16px; }
.dh-premium .dh-deck-chip > div > small { font-size: 12px; margin-bottom: 6px; }
.dh-premium .dh-deck-chip > div > strong { font-size: clamp(16px, 1.15vw, 22px); font-weight: 900; letter-spacing: -.03em; }
.dh-premium .dh-deck-chip > div > span { font-size: 11px; margin-top: 6px; margin-bottom: 8px; }
.dh-deck-stack { display: block; width: 64px; height: 90px; position: relative; flex: none; isolation: isolate; }
.dh-deck-stack > i { position: absolute; inset: 3px; background: #0b284f url('/duel-art/rewers') center / cover; border: 2px solid #a87a29; border-radius: 5px; transform-origin: center 85%; }
.dh-deck-stack > i:first-child { transform: rotate(-13deg) translateX(-7px); z-index: -2; }
.dh-deck-stack > i:nth-child(2) { transform: rotate(-5deg) translateX(-3px); z-index: -1; }
.dh-deck-stack > img { width: 100%; height: 100%; object-fit: cover; border: 2px solid #bc8d30; border-radius: 4px; }
.dh-deck-stack .dl-card { --w: 64px; }
.dh-premium .dh-change { font-size: 11px; font-weight: 800; padding: 5px 8px; background: #fffbf3; transition: background .18s, translate .18s; }
.dh-premium .dh-change:hover { translate: 2px 0; background: #ffda60; }
.dh-premium .dh-actions { gap: 8px; }
.dh-premium .dh-actions .dh-button { min-height: 49px; font-size: clamp(15px, 1.3vw, 23px); padding: 9px 12px; }
.dh-premium .dh-selected-mode { font-size: 10px; letter-spacing: .04em; margin-top: -3px; }
.dh-premium .dh-button { border-radius: 4px; border-width: 2px; font-weight: 900; position: relative; overflow: hidden; isolation: isolate; transition: translate .18s, scale .18s, box-shadow .18s, background .18s; }
.dh-premium .dh-button::after { content: ''; position: absolute; inset: -100% -40%; background: linear-gradient(110deg, transparent 38%, #fff9 49%, transparent 61%); transform: translateX(-95%); z-index: -1; pointer-events: none; }
.dh-premium .dh-button:hover::after { animation: dh-button-gloss .7s ease-out both; }
.dh-premium .dh-dark { box-shadow: 2px 3px 0 #fff7df, 4px 5px 0 #0b1b2d50; }
.dh-premium .dh-dark:hover { transform: none; translate: 0 -3px; box-shadow: 3px 5px 0 #ffca37, 5px 7px 0 #0b1b2d40; background: #102e53; }
.dh-premium .dh-yellow { box-shadow: inset 0 0 0 2px #fff3a9, 0 3px 0 #091a2f; background: linear-gradient(100deg, #ffdc5f, #ffc52d 72%, #ffe17b); }
.dh-premium .dh-yellow:hover { transform: none; translate: 0 -3px; scale: 1.015; box-shadow: inset 0 0 0 2px #fff8be, 0 5px 0 #091a2f, 0 0 24px #ffd54880; }
.dh-premium .dh-outline { background: #fffdf8; box-shadow: 0 2px #d8c9ae; }
.dh-premium .dh-outline:hover { translate: 0 -2px; background: #fff0c8; }
.dh-premium .dh-mode .dh-button { min-width: 68%; min-height: 49px; font-size: clamp(12px, 1vw, 17px); }
.dh-premium .dh-shelf { grid-template-columns: 1.9fr 1.05fr 1fr; gap: 6px; padding-top: 5px; border-bottom: 8px solid #08182e; }
.dh-premium .dh-utility { min-height: clamp(201px, 14.4vw, 277px); padding: clamp(19px, 1.6vw, 32px); transition: filter .25s; }
.dh-premium .dh-decks { background: #fff8e8 url('/duel/hub-comic-v2/shelf-fire.webp') center / cover; }
.dh-premium .dh-collection { background: #fff8e8 url('/duel/hub-comic-v2/shelf-collection.webp') center / cover; }
.dh-premium .dh-packs { background: #fff8e8 url('/duel/hub-comic-v2/shelf-packs.webp') center / cover; }
.dh-premium .dh-utility h2 { font-size: clamp(26px, 2.1vw, 40px); margin-bottom: 13px; line-height: 1; }
.dh-premium .dh-utility h2 svg { fill: #08172d; stroke: #fff5e5; width: 32px; height: 32px; stroke-width: 1.2; filter: drop-shadow(1px 1px #08172d); }
.dh-premium .dh-utility p { font-size: clamp(12px, 1vw, 17px); line-height: 1.4; margin-bottom: 24px; }
.dh-premium .dh-packs .dh-utility-copy { max-width: 67%; }
.dh-premium .dh-packs p b { font-size: .92em; }
.dh-premium .dh-utility .dh-button { min-height: 41px; font-size: clamp(11px, .9vw, 15px); padding: 8px 13px; }
.dh-premium .dh-card-fan { width: 65%; height: 100%; right: -1%; bottom: 1px; }
.dh-premium .dh-card-fan .dl-card { --w: clamp(94px, 8.5vw, 165px); left: calc(var(--fan) * 16.8%); bottom: 0; transition: translate .4s cubic-bezier(.2,.8,.2,1), rotate .4s; }
.dh-premium .dh-decks:hover .dh-card-fan .dl-card { translate: calc((var(--fan) - 2) * 4px) calc(-6px - var(--fan) * 2px); }
.dh-premium .dh-card-fan .dl-card:nth-child(3) { bottom: 12px; }
.dh-collector-folio { position: absolute; width: 59%; height: 116%; object-fit: contain; right: -6%; bottom: -15%; rotate: 9deg; filter: drop-shadow(5px 9px 4px #17395435); transition: rotate .45s, translate .45s; pointer-events: none; }
.dh-collection:hover .dh-collector-folio { rotate: 3deg; translate: 0 -10px; }
.dh-premium .dh-pack-art { width: 52%; height: 115%; right: -3%; bottom: -2%; animation: dh-pack-life 6.5s ease-in-out infinite; transition: scale .35s; }
.dh-premium .dh-packs:hover .dh-pack-art { scale: 1.06; }
.dh-premium .dh-pack-art > span { bottom: 17%; }
.dh-pack-aura { position: absolute; right: -13%; top: -5%; width: 72%; height: 110%; background: radial-gradient(ellipse, #dd8bff70, #9e41d526 45%, transparent 68%); pointer-events: none; animation: dh-energy-breathe 5.5s ease-in-out -2s infinite; }
.dh-pack-aura::before, .dh-pack-aura::after { content: ''; position: absolute; inset: 18% 8%; border: 1px solid #b754e9; border-left-color: #fff9da; border-right-color: #efc4ff; border-radius: 50%; transform: rotate(-25deg); box-shadow: 0 0 15px #d981ff60; animation: dh-orbit 14s linear infinite; }
.dh-pack-aura::after { inset: 28% -4%; animation-direction: reverse; animation-duration: 19s; }
.dh-pack-aura i { position: absolute; width: 6px; height: 6px; background: #fff0b9; rotate: 45deg; box-shadow: 0 0 12px #efc4ff; animation: dh-star-float 5s ease-in-out infinite; }
.dh-pack-aura i:nth-child(1) { left: 23%; top: 24%; }
.dh-pack-aura i:nth-child(2) { right: 19%; top: 12%; animation-delay: -2s; width: 4px; height: 4px; }
.dh-pack-aura i:nth-child(3) { right: 27%; bottom: 18%; animation-delay: -3s; }
.dh-atmosphere { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 9; pointer-events: none; }
.dh-premium[data-motion-paused] *, .dh-premium[data-motion-paused] *::before, .dh-premium[data-motion-paused] *::after { animation-play-state: paused !important; }
.dh-premium .dh-mode .dh-button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px #fff9d9, 3px 4px 0 #08172d; }
.dh-premium[data-mode="classic"] .dh-classic .dh-crest { filter: drop-shadow(0 0 13px #ff953b88); }
.dh-premium[data-mode="chaos"] .dh-chaos .dh-crest { animation: dh-chaos-life 9s ease-in-out infinite; }

@keyframes dh-thora-life { 0%, 100% { transform: translateY(0) rotate(-.2deg); } 50% { transform: translateY(-5px) rotate(.35deg); } }
@keyframes dh-nerissa-life { 0%, 100% { transform: translateY(-2px) rotate(.2deg); } 50% { transform: translateY(3px) rotate(-.35deg); } }
@keyframes dh-tide-flow { 0%, 100% { transform: rotate(-3deg) translateY(2px) scale(.98); opacity: .48; } 50% { transform: rotate(4deg) translateY(-10px) scale(1.03); opacity: .8; } }
@keyframes dh-energy-breathe { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes dh-bolt { 0%, 66%, 78%, 100% { opacity: 0; stroke-dashoffset: 800; } 69% { opacity: .95; stroke-dashoffset: 0; } 73% { opacity: .4; stroke-dashoffset: -35; } 77% { opacity: 0; stroke-dashoffset: -800; } }
@keyframes dh-pack-life { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(5deg) translateY(-7px); } }
@keyframes dh-star-float { 0%, 100% { translate: 0 0; opacity: .2; scale: .7; } 50% { translate: -7px -16px; opacity: 1; scale: 1; } }
@keyframes dh-orbit { from { transform: rotate(-25deg) rotateY(12deg); } to { transform: rotate(335deg) rotateY(12deg); } }
@keyframes dh-chaos-life { 0%, 100% { rotate: -3deg; scale: 1; } 50% { rotate: 7deg; scale: 1.04; } }
@keyframes dh-button-gloss { to { transform: translateX(95%); } }

@media (min-width: 901px) and (max-width: 1180px) {
  .dh-premium .dh-play { height: 420px; margin-top: -4px; }
  .dh-premium .dh-masthead { height: 178px; }
  .dh-premium .dh-masthead h1 { font-size: 53px; margin-top: 7px; }
  .dh-premium .dh-thora { left: 9%; width: 39%; height: 104%; }
  .dh-premium .dh-classic::before { right: -18%; }
  .dh-premium .dh-nerissa { right: 14%; width: 34%; height: 100%; }
  .dh-premium .dh-classic .dh-mode-copy { max-width: 100%; }
  .dh-premium .dh-mode h2 { font-size: 29px; }
  .dh-premium .dh-mode p { font-size: 11px; }
  .dh-premium .dh-chaos { padding-left: 19px; }
  .dh-premium .dh-chaos .dh-mode-copy { padding-left: 0; }
  .dh-premium .dh-coop-copy { top: 24px; width: 29%; left: 35.5%; }
  .dh-premium .dh-coop-select h2 { font-size: 34px; }
  .dh-premium .dh-coop-select p { font-size: 11px; }
  .dh-premium .dh-setup { left: 31%; right: 21%; gap: 12px; padding: 18px 20px 14px; grid-template-columns: minmax(140px, 1fr) minmax(170px, 1.4fr); }
  .dh-premium .dh-deck-chip { gap: 10px; padding-right: 8px; }
  .dh-deck-stack { width: 43px; height: 61px; }
  .dh-deck-stack .dl-card { --w: 43px; }
  .dh-premium .dh-deck-chip > div > small { font-size: 10px; }
  .dh-premium .dh-deck-chip > div > strong { font-size: 14px; }
  .dh-premium .dh-deck-chip > div > span { font-size: 9px; }
  .dh-premium .dh-change { font-size: 10px; padding: 4px; }
  .dh-premium .dh-actions .dh-button { font-size: 13px; min-height: 43px; }
  .dh-premium .dh-selected-mode { font-size: 9px; }
  .dh-premium .dh-mode .dh-button { font-size: 12px; min-height: 44px; }
  .dh-premium .dh-utility { min-height: 203px; padding: 20px 16px; }
  .dh-premium .dh-utility h2 { font-size: 26px; }
  .dh-premium .dh-utility p { font-size: 12px; }
  .dh-premium .dh-card-fan { right: -6%; }
}
/* Let the co-op copy and setup reserve their own height above the layered artwork. */
@media (min-width: 901px) {
  .dh-premium .dh-play { display: flex; flex-direction: column; gap: 16px; height: auto; min-height: clamp(425px, 27vw, 510px); padding-top: 24px; }
  .dh-premium .dh-coop-copy { position: relative; top: auto; flex: none; }
  .dh-premium .dh-setup { position: relative; right: auto; bottom: auto; width: 45.5%; flex: none; margin-top: auto; }
}
@media (min-width: 901px) and (max-width: 1180px) {
  .dh-premium .dh-play { min-height: 420px; }
  .dh-premium .dh-setup { width: 48%; }
}
@media (max-width: 900px) {
  .dh-premium .dh-masthead { height: 184px; }
  .dh-premium .dh-masthead h1 { font-size: 60px; margin-top: 9px; }
  .dh-premium .dh-nav { width: 100%; padding-inline: 6px; gap: 1px; }
  .dh-premium .dh-nav :is(a, button) { font-size: 11px; padding: 10px 9px; }
  .dh-premium .dh-ignis { width: 33%; left: -7%; top: 6%; }
  .dh-premium .dh-sylwan { width: 24%; right: 7%; top: -6%; }
  .dh-premium .dh-morvath { width: 31%; right: -7%; top: -11%; }
  .dh-premium .dh-play { height: 610px; margin-top: 0; }
  .dh-premium .dh-blue { clip-path: none; }
  .dh-premium .dh-mode { padding: 0; width: 30%; height: 64px; z-index: 8; }
  .dh-premium .dh-mode::before { display: none; }
  .dh-premium .dh-mode .dh-button { min-height: 64px; font-size: 14px; }
  .dh-premium .dh-mode .dh-button:hover { translate: none; box-shadow: none; }
  .dh-premium .dh-chaos { background: #ffd338; }
  .dh-premium .dh-thora { left: -8%; width: 52%; height: 63%; bottom: 143px; }
  .dh-premium .dh-nerissa { right: -7%; width: 52%; height: 65%; bottom: 143px; }
  .dh-premium .dh-coop-copy { top: 85px; left: 29%; width: 42%; }
  .dh-premium .dh-coop-select h2 { font-size: 47px; }
  .dh-premium .dh-coop-select p { font-size: 13px; }
  .dh-premium .dh-coop-select::before { bottom: calc(100% + 25px); height: 64px; }
  .dh-premium .dh-versus { height: 49px; }
  .dh-premium .dh-versus .dh-matchup { width: 132px; }
  .dh-premium .dh-stage-fx { top: 64px; bottom: 120px; }
  .dh-panel-seams { display: none; }
  .dh-tide-ribbon { right: -8%; width: 46%; height: 90%; bottom: -5%; }
  .dh-premium .dh-setup { left: 6%; right: 6%; gap: 18px; padding: 19px 25px; grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.4fr); }
  .dh-premium .dh-actions .dh-button { font-size: 16px; min-height: 47px; }
  .dh-premium .dh-deck-chip > div > strong { font-size: 18px; }
  .dh-premium .dh-shelf { grid-template-columns: 1fr 1fr; }
  .dh-premium .dh-utility { min-height: 230px; padding: 24px; }
  .dh-premium .dh-utility h2 { font-size: 31px; }
  .dh-premium .dh-utility p { font-size: 14px; }
  .dh-premium .dh-card-fan { width: 60%; right: 0; }
  .dh-premium .dh-card-fan .dl-card { --w: 122px; }
  .dh-premium .dh-pack-art { opacity: 1; }
}
@media (max-width: 540px) {
  .dh-premium .dh-masthead { height: 160px; }
  .dh-premium .dh-masthead h1 { font-size: 46px; margin-top: 12px; }
  .dh-premium .dh-nav { gap: 0; padding-inline: 3px; }
  .dh-premium .dh-nav :is(a, button) { font-size: 10px; padding: 10px 5px; }
  .dh-premium .dh-ignis { width: 41%; left: -16%; top: 29%; }
  .dh-premium .dh-sylwan { display: none; }
  .dh-premium .dh-morvath { width: 39%; right: -14%; top: 21%; }
  .dh-premium .dh-title-rule { width: 150px; }
  .dh-premium .dh-play { height: 670px; border-bottom-width: 5px; }
  .dh-premium .dh-mode { width: 32%; height: 53px; }
  .dh-premium .dh-mode .dh-button { min-height: 53px; font-size: 11px; box-shadow: none; }
  .dh-premium .dh-coop-copy { top: 73px; left: 15%; width: 70%; }
  .dh-premium .dh-coop-select h2 { font-size: 37px; }
  .dh-premium .dh-coop-select p { font-size: 12px; }
  .dh-premium .dh-coop-select::before { bottom: calc(100% + 23px); height: 53px; }
  .dh-premium .dh-versus { height: 43px; }
  .dh-premium .dh-versus .dh-matchup { width: 114px; }
  .dh-premium .dh-thora { height: 40%; width: 65%; left: -7%; bottom: 167px; }
  .dh-premium .dh-nerissa { height: 39%; width: 64%; right: -3%; bottom: 167px; }
  .dh-premium .dh-stage-fx { top: 53px; bottom: 167px; }
  .dh-tide-ribbon { right: -12%; width: 55%; height: 64%; bottom: -9%; opacity: .5; }
  .dh-electric-halo { width: 57%; left: -4%; height: 72%; }
  .dh-premium .dh-setup { left: 2%; right: 2%; padding: 18px 13px; gap: 10px; min-height: 169px; grid-template-columns: minmax(120px, 1fr) minmax(150px, 1.3fr); filter: none; }
  .dh-premium .dh-setup::before { clip-path: none; border-radius: 7px 7px 0 0; }
  .dh-premium .dh-setup::after { clip-path: none; border-radius: 5px 5px 0 0; }
  .dh-premium .dh-deck-chip { gap: 0; padding-right: 8px; }
  .dh-deck-stack { display: none; }
  .dh-premium .dh-deck-chip > div > small { font-size: 10px; }
  .dh-premium .dh-deck-chip > div > strong { font-size: 16px; }
  .dh-premium .dh-deck-chip > div > span { font-size: 10px; }
  .dh-premium .dh-change { font-size: 10px; padding: 5px; }
  .dh-premium .dh-actions .dh-button { font-size: 12px; min-height: 45px; padding-inline: 5px; gap: 4px; }
  .dh-premium .dh-selected-mode { font-size: 9px; }
  .dh-premium .dh-shelf { grid-template-columns: 1fr; gap: 5px; }
  .dh-premium .dh-utility { min-height: 225px; padding: 23px 19px; }
  .dh-premium .dh-utility h2 { font-size: 30px; }
  .dh-premium .dh-utility p { font-size: 13px; }
  .dh-premium .dh-utility .dh-button { font-size: 11px; }
  .dh-premium .dh-card-fan { right: -9%; width: 60%; }
  .dh-premium .dh-card-fan .dl-card { --w: 94px; }
  .dh-collector-folio { width: 58%; right: -7%; }
  .dh-premium .dh-pack-art { width: 50%; right: -1%; }
}
@media (max-width: 360px) {
  .dh-premium .dh-setup { grid-template-columns: minmax(98px, 1fr) minmax(140px, 1.3fr); padding-inline: 9px; gap: 7px; }
  .dh-premium .dh-actions .dh-button { font-size: 11px; }
  .dh-premium .dh-masthead h1 { font-size: 42px; }
  .dh-premium .dh-nav :is(a, button) { font-size: 9px; padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .dh-premium *, .dh-premium *::before, .dh-premium *::after { animation: none !important; transition: none !important; }
  .dh-premium { --dh-px: 0px !important; --dh-py: 0px !important; }
  .dh-tide-ribbon { opacity: .6; }
  .dh-lightning { display: none; }
}


