html{scroll-behavior:smooth}
.landing{--landing-edge:#3a2849;background:#110e1d;min-height:100svh}
.landing-header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100% - 1190px)/2));background:#110e1df0;position:relative;z-index:3;border-bottom:1px solid #342440;white-space:nowrap}
.landing-header a{text-decoration:none}
.landing-mark{display:inline-flex;align-items:center;gap:3px;font-size:1.13rem;font-weight:950;letter-spacing:-.055em;color:#fff1d7}
.mark-chip{width:27px;height:27px;display:inline-grid;place-items:center;margin-right:6px;background:#cab0e8;color:#21162f;clip-path:polygon(0 0,81% 0,100% 19%,100% 100%,19% 100%,0 81%);font:950 1rem system-ui}
.accent{color:#fca1cb}.landing-header nav{display:flex;align-items:center;gap:clamp(.6rem,3vw,1.65rem);font-weight:720;font-size:.94rem;color:#d9c7e8}
.landing-header nav a:hover{color:#7cebd6}.nav-play{border:1px solid #6e5e91;color:#f2e4ff;border-radius:4px;padding:.35rem .8rem}
.landing-hero{position:relative;isolation:isolate;overflow:hidden;min-height:clamp(570px,76vh,800px);display:grid;align-items:center;background:#21112a}
.hero-art{position:absolute;z-index:-3;inset:-4%;background:url("/art/key-art.webp") center 39%/cover no-repeat;transform-origin:58% 43%;animation:art-drift 15s ease-in-out infinite alternate}
.landing-hero::before,.landing-hero::after{content:"";position:absolute;z-index:-2;inset:0;pointer-events:none}
.landing-hero::before{background:linear-gradient(90deg,#130e208d,#130e2017 49%,#160d23a0 100%),linear-gradient(0deg,#110e1d 0%,#130b2180 24%,#180d1e00 72%,#110e1d38)}
.landing-hero::after{z-index:-1;background:repeating-linear-gradient(transparent 0 3px,#1a092b26 4px 5px);mix-blend-mode:multiply}
.hero-effects{position:absolute;inset:0;z-index:-1;pointer-events:none}
.hero-effects i{position:absolute;width:5px;height:5px;background:#71ffdd;box-shadow:0 0 16px #84ffe1;left:18%;bottom:16%;opacity:0;animation:rise 6s linear infinite}
.hero-effects i:nth-child(2){left:30%;bottom:8%;animation-delay:1.4s;background:#f7a6ef}
.hero-effects i:nth-child(3){left:53%;bottom:30%;animation-delay:2.6s}
.hero-effects i:nth-child(4){left:42%;bottom:15%;animation-delay:4s;background:#f7a6ef}
.hero-effects i:nth-child(5){left:63%;bottom:18%;animation-delay:.6s}
@keyframes art-drift{from{transform:translate3d(-.5%,0,0) scale(1.01)}to{transform:translate3d(1%,.7%,0) scale(1.085)}}
@keyframes rise{0%{opacity:0;transform:translate(0,25px)}20%{opacity:.85}80%{opacity:.4}100%{opacity:0;transform:translate(37px,-120px)}}
.landing-content{width:min(1190px,calc(100% - 48px));margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,370px);align-items:end;gap:clamp(25px,6vw,90px);padding:70px 0 55px}
.landing .identity{align-self:end;padding-bottom:.8rem}
.landing .identity h1{font-size:clamp(4rem,10vw,9.15rem);line-height:.76;letter-spacing:-.095em;font-weight:1000;color:#fff1d7;text-shadow:3px 3px 0 #862d66,7px 8px 0 #20112c,0 9px 42px #180d24}
.landing .identity h1 span{display:block;color:#ffa2cb;margin-top:.17em}
.landing .identity p{color:#fff0e5;font-size:clamp(1.02rem,1.8vw,1.33rem);font-weight:720;margin:1.35rem 0 .85rem;text-shadow:0 2px 9px #150e22}
.game-facts{display:flex;flex-wrap:wrap;gap:6px}
.game-facts span{font:.75rem/1.35 ui-monospace,monospace;color:#ddc5eb;background:#160e25d9;border:1px solid #664572;padding:.35rem .5rem;text-transform:uppercase;letter-spacing:.065em}
.player-panel{position:relative;display:grid;gap:.8rem;padding:1.35rem;background:linear-gradient(155deg,#241634fa,#151120fc);border:1px solid #6a487b;border-top:3px solid #efa2ca;border-radius:8px;box-shadow:0 20px 70px #0d0814ac;scroll-margin-top:18px}
.panel-top{display:flex;align-items:center;gap:10px}.panel-top h2{font-size:1.38rem;letter-spacing:-.04em}
.panel-icon{width:15px;height:15px;border:1px solid #fda0cf;display:block;transform:rotate(45deg);background:#552446;box-shadow:inset 0 0 0 3px #21152d}
.account-modes{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-bottom:.82rem;background:#130f1f;border:1px solid #463456;border-radius:5px;padding:3px}
.account-modes button{border:none;font-size:.88rem;min-height:35px;background:transparent;color:#dcc8df}
.account-modes button[aria-pressed=true]{background:#422b52;color:#fff0e9}
.landing-form{display:grid;gap:.65rem}
.landing-form label{margin-bottom:.23rem}
.landing-form input{min-height:43px}
.landing-form .primary{font-weight:850;margin-top:.2rem}
.landing-form .join{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:end;gap:.5rem}
.landing-form .join button{min-height:43px}
.account-chip{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.2rem 0;border-bottom:1px solid #513961;padding-bottom:.65rem;color:#82edcd;font-weight:780;overflow-wrap:anywhere}
.account-chip button{min-height:32px;font-size:.82rem;padding:.27rem .52rem;white-space:nowrap}
.text-button{justify-self:start;min-height:30px;font-size:.85rem;background:none;border:0;padding:.17rem 0;color:#d9bcea}
.text-button:hover{color:#7cebd6}
.account-message{margin:0}
.landing-rankings{width:min(1190px,calc(100% - 48px));margin:0 auto;padding:1.6rem 0 3.5rem;scroll-margin-top:12px}
.rankings-title{display:flex;gap:1rem;justify-content:space-between;align-items:end;margin-bottom:.85rem}
.rankings-title h2{font-size:clamp(1.6rem,4vw,2.6rem);letter-spacing:-.055em}
.rankings-title p,#ranking-status{color:#d6c6de;font-size:.94rem}
.rankings-title button{font-size:.9rem}
.rankings-board{border:1px solid #4e365b;border-radius:7px;overflow:hidden;background:#1b1428}
.rankings-board table{width:100%;border-collapse:collapse;table-layout:auto;text-align:left}
.rankings-board th,.rankings-board td{border-bottom:1px solid #42324f;padding:.63rem clamp(.4rem,2vw,1rem)}
.rankings-board th{color:#d6a3cc;font:.77rem ui-monospace,monospace;font-weight:700;text-transform:uppercase;letter-spacing:.035em;background:#251933}
.rankings-board tr :last-child{text-align:right}.rankings-board td:last-child{color:#8bf1d6;font-weight:850;font-variant-numeric:tabular-nums}
.rankings-board td:nth-child(2){overflow-wrap:anywhere}
#ranking-status{padding:.84rem clamp(.4rem,2vw,1rem)}
@media(max-width:760px){.landing-header{padding:0 14px;height:54px}.landing-content{grid-template-columns:1fr;width:min(100% - 24px,490px);gap:1.3rem;padding:125px 0 34px}.landing .identity{padding:0}.landing .identity h1{font-size:clamp(3.65rem,15vw,6rem)}.hero-art{background-position:47% top;background-size:auto 62%;background-repeat:no-repeat}.landing-hero::before{background:linear-gradient(0deg,#110e1d,#170e23 33%,#170e23aa 61%,#170e2325 100%)}.landing-rankings{width:calc(100% - 24px)}.player-panel{padding:1rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.hero-art,.hero-effects i{animation:none}}
