/* #487: exact DX Best reference declarations; selectors retargeted to Lotte only. */

:root:where(:has(body.lotte-dx-best-page)) { --bg:#0a1416; --bg-deeper:#050a0b; --ink:#d6e2e0; --ink-dim:#8a9896; --ink-faint:#4a5856; --teal:#6db5b0; --teal-bright:#8ed4cf; --teal-deep:#2d5654; --blood:#a93942; --bronze:#8b7344; --bronze-bright:#c9a968; --line:#1f2e30; }
:where(body.lotte-dx-best-page), :where(body.lotte-dx-best-page) * { box-sizing:border-box; margin:0; padding:0; }
html:where(:has(body.lotte-dx-best-page)),body:where(.lotte-dx-best-page) { background:var(--bg); color:var(--ink); font-family:'IBM Plex Mono',monospace; line-height:1.6; min-height:100vh; overflow-x:hidden; }
body:where(.lotte-dx-best-page) { background-image: radial-gradient(ellipse at top center, rgba(109,181,176,0.06) 0%, transparent 60%), radial-gradient(ellipse at bottom center, rgba(169,57,66,0.04) 0%, transparent 50%); }
:where(body.lotte-dx-best-page) .page-head { position:relative; z-index:2; max-width:1100px; margin:0 auto; padding:48px 32px 12px; text-align:center; }
:where(body.lotte-dx-best-page) .relics-back { display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:0.3em; color:var(--ink-dim); text-decoration:none; text-transform:uppercase; margin-bottom:16px; padding:6px 12px; border:1px solid transparent; transition:all 0.2s ease; }
:where(body.lotte-dx-best-page) .relics-back:hover { color:var(--teal-bright); border-color:var(--line); }
:where(body.lotte-dx-best-page) .eyebrow { font-family:'Cinzel',serif; font-size:11px; letter-spacing:0.45em; color:var(--bronze-bright); text-transform:uppercase; margin-bottom:14px; }
:where(body.lotte-dx-best-page) .eyebrow::before, :where(body.lotte-dx-best-page) .eyebrow::after { content:'\25C6'; color:var(--blood); margin:0 12px; font-size:9px; }
:where(body.lotte-dx-best-page) .page-title { font-family:'Cinzel',serif; font-weight:900; font-size:clamp(26px,4.5vw,42px); color:var(--ink); letter-spacing:0.04em; margin-bottom:6px; }
:where(body.lotte-dx-best-page) .page-title em { font-family:'Cormorant Garamond',serif; font-style:italic; font-weight:400; color:var(--teal-bright); text-shadow:0 0 18px rgba(141,212,207,0.4); }
:where(body.lotte-dx-best-page) .page-subtitle { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:18px; color:var(--bronze-bright); margin-bottom:18px; letter-spacing:0.04em; }
:where(body.lotte-dx-best-page) .meta-badges { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:8px; }
:where(body.lotte-dx-best-page) .meta-badge { display:inline-flex; align-items:center; gap:6px; padding:6px 14px; border:1px solid var(--line); background:rgba(15,28,30,0.4); font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:0.22em; color:var(--ink-dim); text-transform:uppercase; max-width:100%; }
:where(body.lotte-dx-best-page) .meta-badge .k { color:var(--bronze-bright); }
:where(body.lotte-dx-best-page) .meta-badge .v { color:var(--teal-bright); font-weight:600; }
:where(body.lotte-dx-best-page) .set-desc { max-width:1400px; margin:36px auto 0; padding:0 32px; position:relative; z-index:2; }
:where(body.lotte-dx-best-page) .set-desc-head { font-family:'Cinzel',serif; font-size:11px; letter-spacing:0.4em; color:var(--bronze-bright); text-transform:uppercase; text-align:center; margin-bottom:28px; }
:where(body.lotte-dx-best-page) .set-desc-head::before, :where(body.lotte-dx-best-page) .set-desc-head::after { content:'\25C6 '; opacity:0.5; }
:where(body.lotte-dx-best-page) .set-grid { display:grid; gap:18px 28px; max-width:1400px; margin:0 auto; }
:where(body.lotte-dx-best-page) .set-grid-4 { grid-template-columns: repeat(4, 1fr); }
:where(body.lotte-dx-best-page) .set-grid .t { font-family:'Bungee Outline',sans-serif; font-weight:400; font-size:24px; letter-spacing:0.08em; text-transform:uppercase; text-align:center; line-height:1.3; margin:0 0 12px; padding:0; -webkit-text-stroke:0.6px currentColor; }
:where(body.lotte-dx-best-page) .set-grid .t:nth-of-type(5n+1) { color:#8ed4cf; text-shadow: 0 0 1px #fff, 0 0 3px #fff, 0 0 6px #8ed4cf, 0 0 14px #8ed4cf, 0 0 28px rgba(141,212,207,0.85), 0 0 50px rgba(141,212,207,0.55), 0 0 90px rgba(141,212,207,0.3); }
:where(body.lotte-dx-best-page) .set-grid .t:nth-of-type(5n+2) { color:#ff6fb5; text-shadow: 0 0 1px #fff, 0 0 3px #fff, 0 0 6px #ff6fb5, 0 0 14px #ff6fb5, 0 0 28px rgba(255,111,181,0.85), 0 0 50px rgba(255,111,181,0.55), 0 0 90px rgba(255,111,181,0.3); }
:where(body.lotte-dx-best-page) .set-grid .t:nth-of-type(5n+3) { color:#f5d678; text-shadow: 0 0 1px #fff, 0 0 3px #fff, 0 0 6px #f5d678, 0 0 14px #f5d678, 0 0 28px rgba(245,214,120,0.85), 0 0 50px rgba(245,214,120,0.55), 0 0 90px rgba(245,214,120,0.3); }
:where(body.lotte-dx-best-page) .set-grid .t:nth-of-type(5n+4) { color:#7fb6ff; text-shadow: 0 0 1px #fff, 0 0 3px #fff, 0 0 6px #7fb6ff, 0 0 14px #7fb6ff, 0 0 28px rgba(127,182,255,0.85), 0 0 50px rgba(127,182,255,0.55), 0 0 90px rgba(127,182,255,0.3); }
:where(body.lotte-dx-best-page) .set-grid .b { font-family:'Cormorant Garamond',serif; font-size:15px; color:var(--ink); line-height:1.55; text-align:left; margin:0; }
@media (max-width: 760px) { :where(body.lotte-dx-best-page) .set-grid { grid-template-columns: 1fr !important; max-width:700px; } }
:where(body.lotte-dx-best-page) .sticker-head { max-width:1200px; margin:48px auto 18px; padding:0 32px; }
:where(body.lotte-dx-best-page) .sticker-head h2 { font-family:'Cinzel',serif; font-size:14px; letter-spacing:0.32em; color:var(--bronze-bright); text-transform:uppercase; padding-bottom:12px; border-bottom:1px solid var(--line); }
:where(body.lotte-dx-best-page) .sticker-head .sh-sub { font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:0.22em; color:var(--ink-dim); text-transform:uppercase; margin-top:6px; }
:where(body.lotte-dx-best-page) .sets-wrap { max-width:1200px; margin:0 auto; padding:0 32px 80px; position:relative; z-index:2; }
:where(body.lotte-dx-best-page) .sets-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(560px,1fr)); gap:10px; }
:where(body.lotte-dx-best-page) .set-tile { display:flex; align-items:center; gap:14px; padding:10px 16px 10px 10px; border:1px solid var(--line); background:rgba(15,28,30,0.4); transition:all 0.2s ease; min-height:160px; position:relative; }
:where(body.lotte-dx-best-page) .set-tile:hover { border-color:var(--teal-deep); background:rgba(109,181,176,0.04); }
:where(body.lotte-dx-best-page) .set-tile .ph-f, :where(body.lotte-dx-best-page) .set-tile .ph-b {
  width:140px; height:140px; flex-shrink:0;
  border:1px dashed var(--line); background:#000;
  display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.2em;
  color:var(--ink-faint); text-transform:uppercase;
  transition:transform 0.25s cubic-bezier(0.25,1,0.5,1), border-color 0.2s ease, z-index 0s 0.05s;
  cursor:zoom-in; overflow:hidden;
}
:where(body.lotte-dx-best-page) .set-tile .ph-f img { width:100%; height:100%; object-fit:contain; display:block; }
:where(body.lotte-dx-best-page) .set-tile .ph-f:hover, :where(body.lotte-dx-best-page) .set-tile .ph-b:hover {
  transform:scale(1.7); border-color:var(--teal-bright);
  z-index:10; transition-delay:0s;
  box-shadow:0 8px 28px rgba(0,0,0,0.75);
}
:where(body.lotte-dx-best-page) .set-tile .sn { font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:0.08em; color:var(--bronze-bright); min-width:42px; flex-shrink:0; }
:where(body.lotte-dx-best-page) .set-tile .snm { font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:500; color:var(--ink); flex:1; line-height:1.4; min-width:0; word-break:keep-all; overflow-wrap:break-word; hyphens:none; }
@media (max-width: 600px) { :where(body.lotte-dx-best-page) .sets-grid { grid-template-columns:1fr; } :where(body.lotte-dx-best-page) .set-tile .ph-f, :where(body.lotte-dx-best-page) .set-tile .ph-b { width:100px; height:100px; } :where(body.lotte-dx-best-page) .set-tile { min-height:120px; } }
:where(body.lotte-dx-best-page) .set-tile .sty { font-family:'IBM Plex Mono',monospace; font-size:8px; letter-spacing:0.12em; color:var(--ink-faint); text-transform:uppercase; text-align:right; flex-shrink:0; }
:where(body.lotte-dx-best-page) .set-tile .sty.holo { color:var(--teal-bright); }
:where(body.lotte-dx-best-page) .set-tile .sty.gold { color:var(--bronze-bright); }
:where(body.lotte-dx-best-page) .set-tile .sty.promo { color:var(--blood); }
:where(body.lotte-dx-best-page) footer { background:var(--bg-deeper); border-top:1px solid var(--line); padding:40px 32px 32px; font-size:10px; color:var(--ink-faint); letter-spacing:0.1em; position:relative; z-index:2; text-align:center; line-height:1.9; }
:where(body.lotte-dx-best-page) footer .mark { font-family:'Cinzel',serif; color:var(--bronze); letter-spacing:0.4em; margin-bottom:12px; display:block; font-size:11px; }

:where(body.lotte-dx-best-page) .set-tile { scroll-margin-top: 100px; }
:where(body.lotte-dx-best-page) .set-tile:target { border-color: var(--teal-bright); background: rgba(141,212,207,0.10); box-shadow: 0 0 0 2px rgba(141,212,207,0.5); animation: target-pulse 1.4s ease-out 2; }
@keyframes target-pulse { 0% { box-shadow: 0 0 0 0 rgba(141,212,207,0.7); } 100% { box-shadow: 0 0 0 14px rgba(141,212,207,0); } }
/* === Pack Art — front pack-art thumbnail, hover to zoom === */
:where(body.lotte-dx-best-page) .pack-art { max-width:1200px; margin:44px auto 0; padding:0 32px; text-align:center; position:relative; z-index:2; }
:where(body.lotte-dx-best-page) .pack-art-head { font-family:'Cinzel',serif; font-size:11px; letter-spacing:0.4em; color:var(--bronze-bright); text-transform:uppercase; margin-bottom:18px; }
:where(body.lotte-dx-best-page) .pack-art-head::before, :where(body.lotte-dx-best-page) .pack-art-head::after { content:'\25C6 '; opacity:0.5; }
:where(body.lotte-dx-best-page) .pack-art-row { display:flex; gap:26px; justify-content:center; flex-wrap:wrap; }
:where(body.lotte-dx-best-page) .pack-art-slot { display:inline-flex; align-items:center; justify-content:center; width:200px; height:250px; border:1px dashed var(--line); background:rgba(8,15,17,0.6) center/contain no-repeat; font-family:'IBM Plex Mono',monospace; font-size:10px; letter-spacing:0.2em; color:var(--ink-faint); text-transform:uppercase; cursor:zoom-in; transition:transform 0.3s cubic-bezier(0.25,1,0.5,1), border-color 0.2s ease, box-shadow 0.3s ease; }
:where(body.lotte-dx-best-page) .pack-art-slot:hover { transform:scale(2); border-color:var(--teal-bright); z-index:20; box-shadow:0 14px 44px rgba(0,0,0,0.8); }
