/* Four source artworks, one cinematic world, one K7 identity. */
:root{--bg:#0d0f16;--ink:#f0e8db;--gold:#d9b278;--gold-light:#f4d5a5}
body{background:radial-gradient(ellipse at 78% 0%,#5e292423,transparent 42%),var(--bg)}
body:before{background-image:url('assets/k7-legends-hero.png');background-position:75% top;opacity:.065}
.site-header{background:#0d0f17f5;border-bottom-color:#b698623d}
.crest{background:linear-gradient(145deg,#725739,#161620 77%);border-color:#c5a572;color:#f4d8a9}
.hero{height:660px;background:#101019;border-bottom-color:#a1875b3b}
.hero-art{background-image:url('assets/k7-legends-hero.png');background-size:cover;background-position:68% center}
.hero-shade{background:linear-gradient(90deg,#101019eb 0%,#101019b3 24%,#10101919 44%,transparent 63%),linear-gradient(0deg,#0d0f16,transparent 22%)}
.hero-content{padding-top:47px}
.game-logo{width:130px;height:48px;margin-bottom:28px}
.hero-eyebrow{letter-spacing:2.7px;margin-bottom:24px}
h1{font-size:clamp(50px,4.8vw,69px);line-height:1.12;letter-spacing:.5px}
html[lang=en] h1{font-size:clamp(40px,3.9vw,56px)}
.hero-copy{font-size:13px;line-height:1.9;color:#d5c6b4;margin-bottom:25px}
.hero-link{min-height:46px;background:linear-gradient(110deg,#b58c5130,#1a1b2b66);border-color:#c5a5728c;color:#f4d5a5}
.hero-link:hover{background:#bd9a602c;border-color:#edcf9b;box-shadow:0 0 32px #c7a36c14}
.legend-key{position:relative;display:flex;gap:0;list-style:none;margin:36px 0 0;padding:13px 0 0;width:365px;max-width:100%}
.legend-key:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,#d1ac7755,#d1ac7722 85%,transparent)}
.legend-key li{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:25%;color:#c7b79f;font-size:8px;letter-spacing:1px}
.legend-number{position:relative;color:#dfbd86;font:500 12px/1 var(--serif);letter-spacing:.5px}
.legend-key li:first-child .legend-number:before{content:"";position:absolute;top:-17px;left:0;width:5px;height:5px;background:#e0b36b;transform:rotate(45deg);box-shadow:0 0 10px #edc48055}
.hero-caption{bottom:74px;right:max(40px,calc((100vw - 1280px)/2));max-width:245px;gap:13px;font-size:8px;letter-spacing:1.7px;color:#e8d4af;text-shadow:0 2px 8px #080a15}
.hero-caption-icon{width:40px;height:47px;background:#19182488;border-color:#d4b47977}
.signature-letter{font:500 19px/1 var(--serif);letter-spacing:-1px;color:#efd3a2}
.dashboard{margin-top:-34px}
html:not([data-theme=light]) .lookup-panel{background:linear-gradient(118deg,#211e24,#141823 78%);border-color:#ad94604d;border-top-color:#c7a572}
html:not([data-theme=light]) .card{background:linear-gradient(125deg,#1c1c26,#131722);border-color:#ad946036}
html:not([data-theme=light]) th{background:#11131d;border-block-color:#c2a26f29}
html:not([data-theme=light]) select{background:#10121c;border-color:#94826955}
html:not([data-theme=light]) option{background:#141722}
html:not([data-theme=light]) .lookup-notes{background:#10141c55}
html:not([data-theme=light]) .pagination button{background:#121520}
html:not([data-theme=light]) .metrics{background:linear-gradient(100deg,#b1824d0e,transparent)}
.site-footer .footer-brand .crest{opacity:.9}
html[data-theme=light]{--bg:#f3f0e8;--gold:#8a6635;--gold-light:#775024}
html[data-theme=light] body{background:radial-gradient(ellipse at 70% 0%,#ded3c833,transparent 45%),var(--bg)}
html[data-theme=light] .site-header{background:#fffcf7f5}
html[data-theme=light] .hero{background:#f3f0e8}
html[data-theme=light] .hero-shade{background:linear-gradient(90deg,#f3f0e8fc 0%,#f3f0e8f5 23%,#f3f0e8b3 36%,#f3f0e800 56%),linear-gradient(0deg,#f3f0e8,transparent 25%)}
html[data-theme=light] .hero-copy{color:#645954}
html[data-theme=light] .hero-link{color:#6d4c25;border-color:#ac885899;background:#fffaf0b3}
html[data-theme=light] .hero-caption{color:#fff0cf;text-shadow:0 1px 5px #172137,0 0 15px #121b33}
html[data-theme=light] .hero-caption-icon{background:#1f2535a8;color:#ffe3ad}
html[data-theme=light] .legend-key li{color:#766750}
html[data-theme=light] .legend-number{color:#805d2d}
html[data-theme=light] .legend-key:before{background:linear-gradient(90deg,#98764166,#98764122 90%,transparent)}
html[data-theme=light] .lookup-panel{background:linear-gradient(118deg,#fffdf8,#f6f1e7)}
html[data-theme=light] .card{background:linear-gradient(125deg,#fffdf8,#f8f5ec)}
@media(min-width:1800px){.hero{height:720px}.hero-art{background-size:cover;background-position:68% center}.hero-content{padding-top:65px}}
@media(max-width:1100px){.hero{height:620px}.hero-art{background-size:auto 100%;background-position:72% center}.hero-content{padding-top:39px}h1{font-size:54px}html[lang=en] h1{font-size:43px}.hero-copy{font-size:12px}.legend-key{width:325px;margin-top:31px}.hero-caption{right:26px;bottom:64px;max-width:200px}}
@media(min-width:681px) and (max-width:850px){.hero-art{background-position:66% center}.hero-shade{background:linear-gradient(90deg,#101019f5,#101019bc 34%,#10101900 76%),linear-gradient(0deg,#0d0f16,transparent 24%)}h1{font-size:48px}html[lang=en] h1{font-size:38px}.hero-content{padding-top:43px}.hero-copy{font-size:12px}.legend-key{width:288px}.legend-key li{font-size:7px;letter-spacing:.5px}.hero-caption{display:none}html[data-theme=light] .hero-shade{background:linear-gradient(90deg,#f3f0e8fc,#f3f0e8dd 36%,#f3f0e800 90%),linear-gradient(0deg,#f3f0e8,transparent 25%)}}
@media(max-width:680px){.hero{height:795px;background:#101019}.hero-art{background-image:url('assets/k7-legends-mobile.png');background-size:min(100%,500px) auto;background-position:center bottom;background-color:#101019}.hero-shade{background:linear-gradient(180deg,#101019b3 0%,#10101933 31%,transparent 57%,#0d0f1644 85%,#0d0f16 100%)}.hero-content{padding-top:26px}.game-logo{width:108px;height:40px;margin-bottom:19px}.hero-eyebrow{font-size:8px;letter-spacing:2px;margin-bottom:17px}h1{font-size:43px;line-height:1.13;margin-bottom:13px}html[lang=en] h1{font-size:34px}.hero-copy{font-size:11px;line-height:1.8;margin-bottom:18px}.hero-link{min-height:44px;font-size:10px}.legend-key{width:310px;margin:23px auto 0;padding-top:11px}.legend-key li{align-items:center;font-size:7px;letter-spacing:.7px}.legend-number{font-size:11px}.legend-key li:first-child .legend-number:before{top:-15px;left:2px;width:4px;height:4px}.hero-caption{display:none}.dashboard{margin-top:-29px}html[data-theme=light] .hero-shade{background:linear-gradient(180deg,#f3f0e8 0%,#f3f0e8 43%,#f3f0e800 63%,#f3f0e800 80%,#f3f0e8 100%)}}
@media(max-width:380px){.hero{height:750px}.hero-content{padding-top:22px}.game-logo{width:102px;height:38px;margin-bottom:16px}.hero-eyebrow{font-size:7px}h1{font-size:38px}html[lang=en] h1{font-size:30px}.hero-copy{font-size:10px}.legend-key{width:274px;margin-top:21px}.legend-key li{font-size:6px;letter-spacing:.5px}.hero-link{min-height:44px}}
@media(min-width:681px) and (max-width:1100px){.hero-art{background-size:100% auto;background-position:center bottom;background-color:#18121a}.hero-shade{background:linear-gradient(180deg,#101019 0%,#10101980 28%,transparent 56%),linear-gradient(90deg,#101019ed,#10101999 25%,transparent 58%),linear-gradient(0deg,#0d0f16,transparent 24%)}html[data-theme=light] .hero-shade{background:linear-gradient(180deg,#f3f0e8 0%,#f3f0e8dd 25%,#f3f0e800 60%),linear-gradient(90deg,#f3f0e8f5,#f3f0e8bf 28%,transparent 68%),linear-gradient(0deg,#f3f0e8,transparent 25%)}}
@media(max-width:680px){.hero-copy{margin-top:0}.legend-key li{font-size:9px;letter-spacing:.15px}html[data-theme=light] .legend-key{padding:13px 8px 10px;background:#f3f0e8f5;border:1px solid #b29c773d;border-top:0;box-shadow:0 5px 24px #59462a08}}
@media(max-width:680px){.hero-art{--scene-start:calc(100% - min(133.333333vw,666.6667px));-webkit-mask-image:linear-gradient(180deg,transparent calc(var(--scene-start) - 1px),#000 calc(var(--scene-start) + 155px),#000 100%);mask-image:linear-gradient(180deg,transparent calc(var(--scene-start) - 1px),#000 calc(var(--scene-start) + 155px),#000 100%)}}
@media(min-width:681px) and (max-width:1100px){.hero-art{--scene-start:calc(100% - 43.48055vw);-webkit-mask-image:linear-gradient(180deg,transparent calc(var(--scene-start) - 1px),#000 calc(var(--scene-start) + 65px),#000 100%);mask-image:linear-gradient(180deg,transparent calc(var(--scene-start) - 1px),#000 calc(var(--scene-start) + 65px),#000 100%)}.legend-key li{font-size:9px;letter-spacing:0}}
