:root{color-scheme:dark;--bg:#090811;--panel:#100e19;--panel2:#15121f;--line:rgba(255,255,255,.09);--muted:#9993a8;--text:#f5f1fb;--purple:#a760fa;--pink:#f26bb8;--font:'DM Sans',sans-serif;--display:'Space Grotesk',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font);font-size:14px;overflow-x:hidden}button,a,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}.ambient{position:absolute;z-index:-1;pointer-events:none;border-radius:50%;filter:blur(95px);opacity:.2}.ambient-one{width:420px;height:420px;top:100px;left:-250px;background:#8539ef}.ambient-two{width:380px;height:380px;top:300px;right:-220px;background:#c63e9c}.topbar{height:78px;border-bottom:1px solid rgba(255,255,255,.055);display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1200px)/2),5.8vw);position:sticky;top:0;z-index:5;background:rgba(9,8,17,.83);backdrop-filter:blur(20px)}.brand{display:flex;gap:10px;align-items:center;color:#fff;text-decoration:none;font:700 19px var(--display);letter-spacing:.1em}.brand-mark{display:grid;place-items:center;width:31px;height:31px;border-radius:10px;background:linear-gradient(140deg,#a85df2,#ec66b6);font-size:17px;box-shadow:0 5px 23px #ae4aec55}.brand-dot{color:#e273d8}.main-nav{display:flex;gap:35px;align-items:center}.nav-link{color:#aaa4b2;text-decoration:none;font-size:12px;transition:color .2s}.nav-link:hover,.nav-link.active{color:#fff}.top-actions{display:flex;align-items:center;gap:10px}.button{border:1px solid transparent;border-radius:9px;padding:11px 16px;cursor:pointer;text-decoration:none;font-weight:600;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:17px;transition:transform .2s,filter .2s,border-color .2s}.button:hover{transform:translateY(-2px);filter:brightness(1.12)}.button-primary{background:linear-gradient(110deg,#9150e7,#ca5bc9 58%,#ea6cae);color:white;box-shadow:0 8px 28px #ae52dc30}.button-quiet{background:transparent;color:#ded9e5}.button-outline{background:rgba(255,255,255,.025);border-color:rgba(255,255,255,.14);color:#f1ecf6}.button-small{padding:10px 14px}.button-large{padding:14px 18px}.icon-button{border:1px solid var(--line);border-radius:9px;background:#ffffff06;padding:9px 12px;cursor:pointer}.inventory-count{font-size:10px;background:#a45ae0;border-radius:9px;padding:2px 6px;margin-left:3px}.menu-toggle{display:none;background:none;border:0;font-size:20px}.page-wrap{width:min(1080px,88%);margin-left:auto;margin-right:auto}.hero{min-height:575px;display:grid;grid-template-columns:1fr 1fr;align-items:center;padding-top:34px;padding-bottom:30px}.hero-copy{position:relative;z-index:1}.eyebrow{font-size:9px;font-weight:700;letter-spacing:.18em;color:#c7a0ec;display:flex;align-items:center;gap:9px}.live-dot{width:6px;height:6px;background:#c777ed;border-radius:50%;display:inline-block;box-shadow:0 0 10px #c777ed}.hero h1{font:600 clamp(48px,6vw,73px)/1.05 var(--display);letter-spacing:-.065em;margin:22px 0 17px}.hero h1 span,.section-heading h2 span,.booster-copy h2 span,.reveal-modal h2 span{background:linear-gradient(100deg,#b56bf2,#ed78c2);background-clip:text;color:transparent}.hero-description{font-size:14px;line-height:1.75;max-width:410px;color:#aaa4b5;margin:0}.hero-buttons{display:flex;gap:11px;margin-top:27px}.hero-social{display:flex;align-items:center;gap:12px;margin-top:37px}.hero-social>div:not(.avatar-stack):not(.hero-divider){display:flex;flex-direction:column;gap:3px}.hero-social strong{font:600 11px var(--display)}.hero-social small{font-size:9px;color:#8f899b}.avatar-stack{display:flex;margin-right:3px}.avatar-stack span{width:25px;height:25px;border:2px solid var(--bg);margin-left:-5px;border-radius:50%;background:linear-gradient(145deg,#48385c,#c370cf);display:grid;place-items:center;font-size:10px;color:#fff}.avatar-stack span:first-child{margin-left:0;background:linear-gradient(140deg,#392759,#c565a3)}.avatar-stack span:nth-child(2){background:linear-gradient(140deg,#39285c,#6da0ca)}.avatar-stack span:nth-child(3){background:linear-gradient(140deg,#63315b,#e0a778)}.avatar-stack span:last-child{background:#211d2d}.rating{color:#f2b982;letter-spacing:1px}.hero-divider{height:29px;border-left:1px solid var(--line);margin:0 7px}.hero-art{height:480px;position:relative;display:flex;align-items:center;justify-content:center;perspective:1000px}.art-glow{position:absolute;width:260px;height:260px;background:linear-gradient(140deg,#9235e9,#f069b8);border-radius:50%;filter:blur(90px);opacity:.3;animation:pulse 5s infinite alternate}.orbit{position:absolute;border:1px solid #cb8bff1b;border-radius:50%;transform:rotate(-21deg)}.orbit-a{width:400px;height:260px}.orbit-b{width:455px;height:325px;transform:rotate(48deg);border-color:#ee8ed216}.character-card{position:absolute;border:1px solid #ffffff26;border-radius:15px;background:linear-gradient(145deg,#242031,#120f1b 75%);box-shadow:0 25px 90px #05040ab3;overflow:hidden}.card-front{z-index:2;width:246px;height:347px;transform:rotate(-5deg) translate(5px,4px);animation:float 5s ease-in-out infinite}.card-back{width:206px;height:294px;transform:rotate(13deg) translate(104px,16px);opacity:.88;animation:float 6s ease-in-out infinite reverse}.card-card-top{position:absolute;z-index:3;left:14px;right:14px;top:13px;display:flex;justify-content:space-between;color:#e6d6f5;font-size:8px;letter-spacing:.08em}.card-art{height:73%;display:grid;place-items:center;position:relative;overflow:hidden}.art-mage{background:radial-gradient(ellipse at 50% 42%,#e69be7 0,#753bb3 18%,#36205d 49%,#181327 76%)}.art-mage:before,.art-moon:before,.art-fire:before,.art-cloud:before,.art-bloom:before,.art-fox:before{content:'';position:absolute;inset:10% 15%;border-radius:48% 48% 18% 18%;background:linear-gradient(130deg,#f6d2f2,#ad7bd5 27%,#30204c 62%,#090811);clip-path:polygon(50% 0,83% 15%,100% 52%,78% 100%,20% 100%,0 42%,28% 14%);filter:drop-shadow(0 0 17px #f5a5eb88)}.art-mage:after{content:'';position:absolute;width:130px;height:130px;border:1px solid #ffd4f58a;border-radius:50%;box-shadow:0 0 40px #d165dd70,inset 0 0 30px #f3a7ee28}.moon{position:absolute;z-index:1;top:25px;right:39px;font-size:62px;color:#ffd2ee;text-shadow:0 0 25px #ffc9f6}.mage-sigil{position:absolute;z-index:1;left:37px;top:60px;color:#ffe1fc;font-size:20px}.card-info{padding:0 15px;display:flex;align-items:center;justify-content:space-between;margin-top:-1px}.card-name .rarity{font-size:7px}.card-name h3{font:600 14px var(--display);margin:5px 0 2px}.card-name p{font-size:8px;color:#a9a0b3;margin:0}.card-power{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.card-power span{font-size:6px;color:#9c94a5;letter-spacing:.1em}.card-power b{font:600 18px var(--display);color:#e4a5f5}.card-shine{position:absolute;inset:-100% -50%;background:linear-gradient(110deg,transparent 42%,#ffffff09 48%,#ffffff21 51%,transparent 57%);transform:translateX(-55%);animation:shine 7s ease-in-out infinite}.art-fox{height:78%;background:radial-gradient(circle at 53% 42%,#ffb86a,#9e4961 26%,#48264b 58%,#171121)}.art-fox:before{inset:15% 18%;background:linear-gradient(135deg,#ffe4ad,#df8790 35%,#542d5a 70%)}.card-label{padding:10px 13px;display:flex;flex-direction:column;gap:6px}.card-label b{font:600 12px var(--display)}.rarity{display:inline-block;font-size:7px;letter-spacing:.12em;font-weight:700;color:#d2c5e1}.rarity.mythique{color:#ffb6ef}.rarity.legendaire{color:#e7b1ff}.rarity.epique{color:#bf9aff}.rarity.rare{color:#93bafa}.rarity.commun{color:#b0aab8}.floating-tag{position:absolute;z-index:3;display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #ffffff14;background:#171321d9;backdrop-filter:blur(12px);border-radius:10px;box-shadow:0 10px 30px #05040a88}.floating-tag>div{display:flex;flex-direction:column;gap:4px}.floating-tag b{font:600 10px var(--display)}.floating-tag small{font-size:8px;color:#aaa2b1}.tag-top{top:48px;left:2px}.tag-bottom{bottom:57px;right:0}.tag-icon,.sparkle-icon{width:26px;height:26px;display:grid;place-items:center;border-radius:8px;background:#8550a732;color:#d7a1ff}.tag-icon.pink{background:#b34b8c35;color:#fb9bcf}.tag-arrow{color:#bda3cc;margin-left:8px}.art-caption{position:absolute;bottom:24px;right:64px;font-size:7px;letter-spacing:.16em;color:#8b8195}.art-caption span{padding:0 5px;color:#d888dc}.stats-strip{display:flex;align-items:center;justify-content:space-between;padding:19px 23px;background:linear-gradient(100deg,#15111c,#12101a);border:1px solid var(--line);border-radius:12px}.stats-strip>div:not(.strip-note){display:flex;align-items:center;gap:10px}.stat-icon{font-size:18px;color:#cb8be9}.pink-icon{color:#f38bbc}.stats-strip>div>div{display:flex;flex-direction:column;gap:3px}.stats-strip b{font:600 12px var(--display)}.stats-strip small{font-size:9px;color:#938c9d}.strip-note{font-size:8px;color:#bdb3c6;letter-spacing:.1em;display:flex;align-items:center;gap:8px}.collection-section{padding:94px 0 88px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:25px}.section-heading h2,.booster-copy h2{font:600 34px/1.2 var(--display);letter-spacing:-.045em;margin:10px 0 0}.section-heading h2 span{background-image:linear-gradient(100deg,#bc7af5,#f08abf)}.text-link{color:#d9b6f3;text-decoration:none;font-size:10px;background:none;border:0;cursor:pointer}.text-link span{margin-left:7px}.collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.mini-card{border:1px solid var(--line);background:linear-gradient(155deg,#15121e,#100e18);border-radius:12px;overflow:hidden;position:relative;transition:transform .25s,border-color .25s}.mini-card:hover{transform:translateY(-5px);border-color:#c67be554}.mini-art{height:183px;display:grid;place-items:center;position:relative;overflow:hidden;font-size:62px;color:#f6dbf7;text-shadow:0 0 24px currentColor}.mini-art>span{z-index:1;animation:float 5s ease-in-out infinite}.mini-art:before{content:'';position:absolute;width:160px;height:160px;border-radius:50%;background:#da75f14a;filter:blur(45px)}.mini-art i{position:absolute;top:12px;left:12px;font:8px var(--font);font-style:normal;letter-spacing:.15em;color:#ffffff81}.art-mage{background:radial-gradient(ellipse at 50% 65%,#773c96,#251835 69%,#15111b)}.art-moon{background:radial-gradient(ellipse at 50% 60%,#43507a,#1a203a 66%,#11131d);color:#d8dbff}.art-fire{background:radial-gradient(ellipse at 50% 70%,#bb5549,#512b38 64%,#17121b);color:#ffd29c}.art-cloud{background:radial-gradient(ellipse at 50% 60%,#467d96,#24374b 65%,#12171e);color:#d1f5ff}.art-bloom{background:radial-gradient(ellipse at 50% 60%,#95669a,#453050 65%,#17121d);color:#ffe0f5}.art-fox{background:radial-gradient(ellipse at 50% 60%,#a55e60,#442b45 65%,#17121e);color:#ffe0c5}.mini-info{padding:12px 13px 15px;display:flex;flex-direction:column;gap:5px}.mini-info b{font:600 12px var(--display)}.mini-info small{font-size:9px;color:#938c9c}.mini-stars{position:absolute;top:13px;right:12px;font-size:8px;letter-spacing:2px;color:#f3c88d}.booster-section{border:1px solid #ffffff13;border-radius:16px;overflow:hidden;min-height:318px;display:grid;grid-template-columns:1fr 1fr;background:linear-gradient(110deg,#15111d,#110f19 65%,#1c1020);margin-bottom:72px}.booster-copy{padding:38px 36px}.booster-copy h2{font-size:39px;margin-top:14px}.booster-copy>p{font-size:11px;line-height:1.8;color:#a29aaa;max-width:400px;margin:15px 0 18px}.pity-info{display:flex;align-items:center;gap:11px}.pity-symbol{width:27px;height:27px;border:1px solid #c87be44f;border-radius:8px;color:#dfa1ff;display:grid;place-items:center}.pity-info>span:nth-child(2){display:flex;flex-direction:column;gap:4px}.pity-info b{font-size:9px}.pity-info small{font-size:8px;color:#938b9b}.info-mark{margin-left:auto;color:#a59aae}.booster-panel{position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 51% 44%,#8c3dc13b,transparent 56%)}.booster-panel:before,.booster-panel:after{content:'';position:absolute;width:230px;height:230px;border:1px solid #d88cff26;border-radius:50%;transform:scaleX(1.4) rotate(-20deg)}.booster-panel:after{width:290px;height:290px;transform:scaleX(.72) rotate(35deg)}.booster-orb{width:125px;height:150px;z-index:1;display:grid;place-items:center;align-content:center;gap:5px;border:1px solid #ffdefa8c;border-radius:46% 46% 40% 40%;background:radial-gradient(ellipse at 50% 15%,#f7a4e3,#a850dc 35%,#281943 80%);box-shadow:0 0 48px #db66dc72,inset 0 0 27px #ffcef040;color:#fff;font-size:42px;animation:float 4s ease-in-out infinite}.booster-orb span{font:700 9px var(--display);letter-spacing:.2em}.booster-panel-bottom{position:absolute;z-index:2;bottom:17px;left:18px;right:18px;display:flex;justify-content:space-between;align-items:center;padding:12px 14px;background:#100e19d9;border:1px solid var(--line);border-radius:10px;backdrop-filter:blur(10px)}.booster-panel-bottom>div{display:flex;flex-direction:column;gap:5px}.booster-panel-bottom>div span{font-size:7px;letter-spacing:.15em;color:#a99bb1}.booster-panel-bottom b{font:600 11px var(--display)}.booster-panel-bottom i{color:#d783e7;font-style:normal}.footer{height:82px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.footer .brand{font-size:14px}.footer .brand-mark{width:25px;height:25px;font-size:14px}.footer>span{font-size:9px;color:#817a8c}.local-note{letter-spacing:.15em!important;font-size:8px!important}.local-note .live-dot{margin-right:5px}.modal{width:min(440px,calc(100% - 28px));border:1px solid #ffffff1a;border-radius:18px;background:linear-gradient(150deg,#191421,#100e18 75%);color:var(--text);padding:30px;box-shadow:0 25px 100px #000b;max-height:90vh;overflow:auto}.modal::backdrop{background:#06040ccc;backdrop-filter:blur(8px)}.modal-close-row{display:flex;justify-content:flex-end}.modal-close{width:30px;height:30px;border:1px solid var(--line);border-radius:8px;background:#ffffff08;font-size:20px;line-height:1;cursor:pointer}.modal-mark{width:41px;height:41px;border-radius:13px;background:linear-gradient(140deg,#a85df2,#ec66b6);display:grid;place-items:center;font:700 23px var(--display);margin:6px 0 18px}.modal h2{font:600 28px var(--display);letter-spacing:-.04em;margin:11px 0 5px}.modal-subtitle{font-size:11px;color:#a49cac;margin:0 0 21px}.auth-form{display:grid;gap:15px}.auth-form label{display:grid;gap:7px;font-size:10px;color:#c4bdcb}.auth-form input{border:1px solid #ffffff1a;background:#090811;border-radius:8px;padding:12px;color:#fff;outline:none;font-size:11px}.auth-form input:focus{border-color:#b364df}.auth-submit{width:100%;margin-top:4px}.auth-switch{font-size:10px;color:#a59eab;text-align:center;margin:18px 0}.auth-switch .text-link{padding:0}.auth-notice{font-size:9px;color:#8d8495;border-top:1px solid var(--line);padding-top:13px;line-height:1.65;margin:0}.inventory-modal{width:min(640px,calc(100% - 28px))}.inventory-modal h2{display:flex;gap:10px;align-items:center}.inventory-summary{color:#aaa1b2;font-size:10px;margin:17px 0 12px}.inventory-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;max-height:330px;overflow:auto;padding:2px}.compact-card .mini-art{height:100px;font-size:42px}.compact-card .mini-info{padding:9px;gap:4px}.compact-card .mini-info b{font-size:10px}.compact-card .mini-info small{font-size:8px}.compact-card .rarity{font-size:6px}.owned-count{position:absolute;right:8px;bottom:9px;color:#c5a6db;font:600 10px var(--display)}.pity-meter{margin-top:18px;padding:14px;background:#ffffff05;border:1px solid var(--line);border-radius:10px}.pity-heading{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.1em;color:#a49aaa}.pity-heading b{color:#e1b2ee}.meter-track{height:5px;border-radius:10px;background:#ffffff12;margin-top:10px;overflow:hidden}.meter-track>div{height:100%;width:0;background:linear-gradient(90deg,#9d58e8,#eb73c3);border-radius:10px;transition:width .4s}.reset-button{width:100%;margin-top:14px;font-size:9px;color:#b3aabd;padding:9px}.empty-state{padding:30px 18px;text-align:center;border:1px dashed #ffffff1c;border-radius:11px;display:grid;justify-items:center;gap:10px}.empty-state>span{font-size:30px;color:#d38be9}.empty-state>b{font:600 14px var(--display)}.empty-state p{font-size:10px;color:#a49cac;max-width:260px;line-height:1.6;margin:0 0 4px}.empty-state .button{font-size:10px}.reveal-modal{width:min(860px,calc(100% - 28px))}.reveal-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.reveal-item{animation:reveal .45s both;animation-delay:var(--delay)}.reveal-item .mini-art{height:135px;font-size:47px}.reveal-item .mini-info{padding:9px;gap:4px}.reveal-item .mini-info b{font-size:10px}.reveal-item .mini-info small{font-size:8px}.reveal-item .rarity{font-size:6px}.reveal-done{margin-top:20px;float:right}.toast{position:fixed;z-index:10;bottom:22px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;border:1px solid #ffffff21;border-radius:9px;padding:11px 16px;background:#21192a;color:#f4defc;font-size:10px;box-shadow:0 10px 30px #0008;transition:.25s}.toast.visible{opacity:1;transform:translate(-50%,0)}
@keyframes float{0%,100%{translate:0 0}50%{translate:0 -8px}}@keyframes pulse{0%{opacity:.2;scale:.9}100%{opacity:.38;scale:1.08}}@keyframes shine{0%,70%,100%{transform:translateX(-55%)}82%{transform:translateX(55%)}}@keyframes reveal{from{opacity:0;transform:translateY(15px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:850px){.topbar{padding:0 5%}.main-nav{gap:20px}.hero{min-height:520px}.hero-art{transform:scale(.9);margin:0 -20px}.collection-grid{grid-template-columns:repeat(2,1fr)}.mini-art{height:210px}.booster-copy{padding:30px 25px}.booster-copy h2{font-size:34px}}
@media(max-width:620px){.topbar{height:65px}.topbar>.top-actions .button-quiet{display:none}.top-actions{gap:7px}.top-actions .button-small{font-size:10px;padding:9px 10px;gap:8px}.icon-button{padding:8px}.main-nav{display:none;position:absolute;top:64px;left:0;right:0;padding:18px 6%;background:#100e18;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:18px}.main-nav.nav-open{display:flex}.menu-toggle{display:block}.hero{grid-template-columns:1fr;padding-top:46px;padding-bottom:5px;min-height:auto}.hero h1{font-size:55px}.hero-description{font-size:12px}.hero-buttons{gap:8px}.button-large{font-size:10px;padding:12px 12px;gap:8px}.hero-social{margin-top:27px}.hero-art{height:405px;transform:scale(.87);margin:-5px -22px -20px}.tag-top{left:0;top:30px}.tag-bottom{right:0;bottom:48px}.orbit-a{width:350px}.orbit-b{width:380px}.stats-strip{display:grid;grid-template-columns:1fr 1fr;gap:19px;padding:18px}.strip-note{grid-column:1/-1;border-top:1px solid var(--line);padding-top:13px}.collection-section{padding:65px 0}.section-heading{align-items:flex-start;gap:10px}.section-heading h2{font-size:27px}.section-heading .text-link{max-width:110px;line-height:1.5;text-align:right}.collection-grid{gap:9px}.mini-art{height:145px;font-size:49px}.mini-info{padding:10px}.mini-info b{font-size:10px}.mini-info small{font-size:8px}.mini-stars{font-size:7px;right:8px}.booster-section{grid-template-columns:1fr;margin-bottom:50px}.booster-copy{padding:27px 22px 12px}.booster-copy h2{font-size:34px}.booster-panel{height:265px}.footer{height:auto;min-height:95px;flex-wrap:wrap;gap:12px;padding:17px 0}.footer>span:nth-child(2){order:3;width:100%;text-align:center}.inventory-grid{grid-template-columns:repeat(2,1fr)}.reveal-grid{grid-template-columns:repeat(2,1fr)}.reveal-item:last-child{grid-column:1/-1;width:calc(50% - 5px);justify-self:center}.reveal-item .mini-art{height:115px}.reveal-modal{padding:20px}.modal{padding:22px}.art-caption{right:34px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Original anime character art tiles for the HIKARI collection */
.mini-art,.card-art{background-image:url('../assets/hikari-kyara-style-art.png');background-size:400% auto;background-repeat:no-repeat;background-color:#15111b}
.mini-art{height:auto;aspect-ratio:3/4}
.compact-card .mini-art{height:auto;aspect-ratio:3/4}
.reveal-item .mini-art{height:auto;aspect-ratio:3/4}
.mini-art::before,.card-art::before,.card-art::after{display:none!important}
.mini-art>span,.card-art .moon,.card-art .mage-sigil{display:none!important}
.artwork-cell-1{background-position:0% 0%}.artwork-cell-2{background-position:33.3333% 0%}.artwork-cell-3{background-position:66.6667% 0%}.artwork-cell-4{background-position:100% 0%}
.artwork-cell-5{background-position:0% 100%}.artwork-cell-6{background-position:33.3333% 100%}.artwork-cell-7{background-position:66.6667% 100%}.artwork-cell-8{background-position:100% 100%}
.card-art>span{display:none!important}

/* Collection index, themed booster picker and achievements */
.collection-progress{display:flex;flex-direction:column;align-items:flex-end;gap:4px;padding:10px 13px;border:1px solid var(--line);border-radius:10px;background:#ffffff05}.collection-progress b{font:600 15px var(--display);color:#e5b6fa}.collection-progress small{font-size:8px;color:#9d95a5}.collection-controls{display:flex;gap:9px;margin:-5px 0 18px}.search-box{display:flex;align-items:center;gap:9px;flex:1;min-width:150px;border:1px solid var(--line);border-radius:8px;background:#ffffff05;padding:0 11px;color:#c792ec}.search-box input{width:100%;background:transparent;border:0;outline:none;color:#f4effa;padding:11px 0;font-size:10px}.search-box input::placeholder{color:#827b8d}.collection-controls select{border:1px solid var(--line);border-radius:8px;background:#15121f;color:#d6cedc;padding:0 11px;font-size:9px;max-width:170px}.mini-art{position:relative;overflow:hidden}.mini-art .index-badge{position:absolute;z-index:2;left:9px;top:9px;border:1px solid #ffffff54;border-radius:6px;background:#090811a8;padding:5px 7px;color:#fff;font:600 8px var(--display);letter-spacing:.08em}.mini-art .owned-badge{position:absolute;z-index:2;right:9px;top:9px;width:21px;height:21px;display:grid;place-items:center;border:1px solid #d7a0ee88;border-radius:50%;background:#6f3c91d9;color:#fff;font-size:11px}.mini-card.is-locked .mini-art{filter:saturate(.72)}.no-results{text-align:center;color:#a69daf;font-size:11px;padding:35px}.booster-choices{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:20px 0 18px}.booster-choice{display:grid;grid-template-columns:27px 1fr;grid-template-rows:auto auto;column-gap:7px;align-items:center;text-align:left;padding:10px 8px;border:1px solid var(--line);border-radius:9px;background:#ffffff04;color:#d8d1df;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}.booster-choice:hover{transform:translateY(-2px);border-color:#c67be566}.booster-choice.selected{border-color:#c776e6a6;background:linear-gradient(140deg,#9c54d31b,#eb6db91a);box-shadow:inset 0 0 18px #bd66d211}.booster-choice>span{grid-row:1/3;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#a85bdf24;color:#dda3ff;font-size:13px}.booster-choice>b{font:600 9px var(--display)}.booster-choice>small{font-size:7px;color:#988fa0;margin-top:3px}.achievements-section{padding:0 0 82px}.achievement-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.achievement-card{min-height:140px;display:flex;gap:12px;padding:15px;border:1px solid var(--line);border-radius:11px;background:linear-gradient(145deg,#15121e,#100e17);opacity:.78}.achievement-card.is-unlocked{opacity:1;border-color:#c472df65;background:linear-gradient(145deg,#21152a,#13101b)}.achievement-icon{flex:0 0 36px;height:36px;display:grid;place-items:center;border:1px solid #ffffff16;border-radius:11px;background:#ffffff07;color:#a49aaf;font-size:15px}.achievement-card.is-unlocked .achievement-icon{border-color:#d981ec60;background:#b854d529;color:#f0b7fa}.achievement-copy{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.achievement-state{font-size:7px;letter-spacing:.14em;color:#928999}.achievement-card.is-unlocked .achievement-state{color:#d795ec}.achievement-copy>b{font:600 11px var(--display)}.achievement-copy>small{font-size:8px;color:#a39aaa;line-height:1.45}.achievement-track{width:100%;height:4px;border-radius:6px;background:#ffffff13;margin-top:4px;overflow:hidden}.achievement-track i{display:block;height:100%;border-radius:6px;background:linear-gradient(90deg,#9652df,#e978c1)}.achievement-progress{align-self:flex-end}.booster-panel-bottom{gap:12px}.booster-panel-bottom>div{min-width:0}.booster-panel-bottom .button{white-space:nowrap}.booster-panel-bottom>div span{font-size:7px}
@media(max-width:850px){.achievement-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.collection-controls{flex-wrap:wrap}.search-box{flex-basis:100%}.collection-controls select{flex:1;max-width:none;height:36px}.collection-progress{padding:8px}.booster-choices{gap:5px}.booster-choice{grid-template-columns:1fr;justify-items:center;text-align:center;padding:8px 4px;gap:4px}.booster-choice>span{grid-row:auto}.booster-choice>b{font-size:8px}.booster-choice>small{font-size:6px}.achievement-grid{grid-template-columns:1fr}.booster-panel-bottom{left:10px;right:10px;gap:7px;padding:9px}.booster-panel-bottom .button{font-size:9px;padding:10px 8px;gap:7px}.booster-panel-bottom b{font-size:9px}}


/* Standalone collection and achievement pages */
.subpage{min-height:calc(100vh - 160px);padding-top:48px;padding-bottom:76px}.subpage-kicker{display:flex;align-items:center;gap:9px;color:#d88753;font-size:9px;font-weight:700;letter-spacing:.18em}.collection-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:15px 0 27px}.collection-page-heading h1{font:700 clamp(38px,5vw,61px)/1.05 var(--display);letter-spacing:-.06em;margin:0}.collection-page-heading h1 span{color:#eee7f2}.collection-page-heading p{font-size:11px;color:#9c95a4;margin:10px 0 0}.collection-overview{display:grid;grid-template-columns:1fr .9fr;gap:30px;align-items:center;margin-bottom:27px;padding:22px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.album-stats{display:flex;align-items:flex-start;gap:31px}.album-stats>div{min-width:70px;display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:3px}.album-stats>div>b{font:700 29px var(--display);color:#eee6f5}.album-stats>div>span{font:700 23px var(--display);color:#766e82}.album-stats>div:nth-child(2)>b{color:#f16c64}.album-stats>div>small{grid-column:1/-1;margin-top:6px;font-size:8px;color:#9290a1;letter-spacing:.06em}.recycle-note{margin-top:15px;padding:9px 13px;font-size:9px;color:#8c8592;opacity:.75;cursor:not-allowed}.series-progress{display:grid;gap:12px}.series-progress-row{display:grid;grid-template-columns:minmax(95px,1fr) minmax(70px,1.3fr) 40px;gap:10px;align-items:center;font-size:9px}.series-progress-row>b{font:600 9px var(--font);color:#e8e1ec}.series-progress-row>small{text-align:right;color:#c3bbc9;font:10px var(--display)}.series-progress-track{height:7px;border-radius:8px;background:#292532;overflow:hidden}.series-progress-track i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#d56d5e,#efa07b)}.collection-toolbar{display:flex;align-items:center;gap:12px;margin:17px 0 12px}.collection-toolbar .search-box{max-width:420px;flex:1}.visible-count{font-size:9px;color:#8f8798}.rarity-chips{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0}.rarity-chip{border:1px solid var(--line);border-radius:20px;background:#15131b;color:#bcb5c4;padding:8px 12px;font-size:9px;cursor:pointer;transition:.2s}.rarity-chip:hover{border-color:#bd72df70}.rarity-chip.active{background:#eee9e6;border-color:#eee9e6;color:#201b22}.rarity-chip[data-rarity="Commun"]{--chip:#97a2aa}.rarity-chip[data-rarity="Rare"]{--chip:#64a8ff}.rarity-chip[data-rarity="Épique"]{--chip:#bc83fc}.rarity-chip[data-rarity="Légendaire"]{--chip:#f4c83f}.rarity-chip[data-rarity="Mythique"]{--chip:#fb6554}.rarity-chip:not([data-rarity="all"]){color:var(--chip)}.rarity-chip.active:not([data-rarity="all"]){background:#221e29}.collection-selectors{display:flex;align-items:center;gap:12px;margin:14px 0 22px}.collection-selectors label{display:flex;align-items:center;gap:8px;font-size:8px;color:#8f8798;letter-spacing:.05em}.collection-selectors select{border:1px solid var(--line);border-radius:8px;background:#15121f;color:#e4dce9;padding:9px 11px;font-size:9px;min-width:140px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.achievement-overview{display:flex;align-items:center;gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:21px 0;margin-bottom:35px}.achievement-score{display:flex;align-items:center;gap:13px;min-width:230px;padding-right:24px}.achievement-score-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;border:1px solid #d980ed55;background:#ad56d51b;color:#e7b0ff;font-size:18px}.achievement-score>div,.achievement-stat{display:flex;flex-direction:column;gap:5px}.achievement-score b{font:700 23px var(--display);color:#e8dcf0}.achievement-score small,.achievement-stat small{font-size:7px;color:#8e8797;letter-spacing:.08em}.achievement-stat{min-width:135px;padding:0 22px;border-left:1px solid var(--line)}.achievement-stat b{font:600 16px var(--display);color:#e9dcef}.achievement-section-heading{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:18px}.achievement-section-heading h2{font:600 26px var(--display);letter-spacing:-.04em;margin:8px 0 0}.achievement-section-heading h2 span{color:#d993ec}.achievement-section-heading>span{font-size:8px;color:#908898}.achievements-page-grid .achievement-card{min-height:155px;padding:17px}
@media(max-width:850px){.collection-overview{grid-template-columns:1fr;gap:22px}.series-progress{grid-template-columns:repeat(2,1fr);column-gap:22px}.achievement-overview{flex-wrap:wrap;row-gap:17px}.achievement-score{width:100%;padding:0}.achievement-stat{flex:1;min-width:100px;padding:0 12px}.achievement-stat:first-of-type{border-left:0;padding-left:0}}
@media(max-width:620px){.subpage{padding-top:32px}.collection-page-heading{align-items:flex-start;flex-direction:column}.collection-page-heading .button{align-self:flex-start}.collection-overview{padding:17px 0}.album-stats{gap:16px;justify-content:space-between}.album-stats>div{min-width:0}.album-stats>div>b{font-size:24px}.album-stats>div>span{font-size:19px}.series-progress{grid-template-columns:1fr;gap:10px}.collection-toolbar .search-box{max-width:none}.rarity-chips{gap:5px}.rarity-chip{padding:7px 9px;font-size:8px}.collection-selectors{flex-wrap:wrap;gap:7px}.collection-selectors label{flex:1;display:grid;gap:5px}.collection-selectors select{min-width:0;width:100%;padding:9px 7px}.achievement-overview{gap:14px}.achievement-stat{min-width:calc(50% - 7px);border-left:0;padding:0}.achievement-section-heading{align-items:flex-start;flex-direction:column;gap:9px}.achievement-section-heading h2{font-size:22px}}


/* Seven-day local check-in reward track */
.daily-login-panel{margin:0 0 32px;padding:22px;border:1px solid #ce77e54c;border-radius:14px;background:radial-gradient(ellipse at 100% 0,#743a8c30,transparent 48%),linear-gradient(135deg,#1a1422,#100e17 70%)}.daily-login-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.daily-login-head h2{font:600 24px var(--display);letter-spacing:-.04em;margin:9px 0 4px}.daily-login-head h2 span{color:#dd98f0}.daily-login-head p{font-size:9px;color:#a69cac;margin:0}.daily-streak-score{display:flex;flex-direction:column;align-items:flex-end;gap:5px;padding:9px 12px;border:1px solid #d78be14a;border-radius:9px;background:#c05ad914}.daily-streak-score b{font:600 13px var(--display);color:#f2cafb}.daily-streak-score small,.daily-login-footer>div>small{font-size:7px;letter-spacing:.11em;color:#9f94a8}.daily-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin:19px 0}.daily-day{position:relative;min-height:93px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #ffffff12;border-radius:9px;background:#ffffff04;color:#b2aaba}.daily-day>span{font:600 8px var(--display);color:#8d8494}.daily-day>b{font-size:14px;color:#7d7487}.daily-day>small{font-size:7px;color:#968d9e;text-align:center}.daily-day.is-current{border-color:#d583efad;background:#bf5add16;box-shadow:0 0 18px #bd63d21b}.daily-day.is-current>span,.daily-day.is-current>b{color:#eab4fa}.daily-day.is-claimed{border-color:#a95ecb55;background:#a34dc517}.daily-day.is-claimed>b{color:#f0b5ff}.daily-login-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid #ffffff12}.daily-login-footer>div{display:flex;flex-direction:column;gap:5px}.daily-login-footer>div>b{font:600 11px var(--display);color:#f2dffa}.daily-login-footer .button:disabled{cursor:default;transform:none;filter:none;background:linear-gradient(110deg,#633a77,#8b4c88);opacity:.83}.daily-local-note{margin:12px 0 0;color:#898191;font-size:8px;line-height:1.5}.achievement-overview{margin-top:0}
@media(max-width:620px){.daily-login-panel{padding:15px}.daily-login-head h2{font-size:20px}.daily-streak-score{padding:8px}.daily-streak-score b{font-size:10px}.daily-calendar{grid-template-columns:repeat(4,1fr);gap:6px}.daily-day{min-height:77px}.daily-day>small{font-size:6px}.daily-login-footer{align-items:flex-start;flex-direction:column}.daily-login-footer .button{width:100%}}


/* HIKARI sample cards: manga/anime stills, rarity frames and Kyara-style stats */
.mini-card.collectible-card{--frame:#aaa5b1;position:relative;overflow:visible;padding:8px;border:1px solid var(--frame);border-radius:13px;background:linear-gradient(155deg,color-mix(in srgb,var(--frame) 20%,#25222d),#15131d 47%);box-shadow:0 12px 28px #0007;transition:transform .22s,border-color .22s,box-shadow .22s}.mini-card.collectible-card:hover,.showcase-card:hover{transform:translateY(-4px);border-color:var(--frame);box-shadow:0 15px 36px #0009,0 0 18px color-mix(in srgb,var(--frame) 22%,transparent)}.rarity-frame-commun{--frame:#c7c5c8}.rarity-frame-peu-commune{--frame:#45c98e}.rarity-frame-rare{--frame:#4b9cff}.rarity-frame-epique{--frame:#b879ff}.rarity-frame-legendaire{--frame:#f2c942}.rarity-frame-mythique{--frame:#ff624d}.collectible-head{display:flex;align-items:center;justify-content:space-between;gap:7px;min-height:30px;padding:1px 3px 7px}.collectible-head>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 11px var(--display);letter-spacing:-.02em;color:#f4f0f6}.rarity-orb{flex:0 0 22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--frame);color:#13111a;font:700 10px var(--display)}.mini-card .mini-art.card-artwork{height:auto;aspect-ratio:.92;min-height:0;position:relative;overflow:hidden;border-radius:9px;background-image:url('../assets/hikari-kyara-style-art.png');background-size:400% auto;background-repeat:no-repeat;background-color:#13111a}.card-artwork.artwork-cell-1{background-position:0% 0%}.card-artwork.artwork-cell-2{background-position:33.3333% 0%}.card-artwork.artwork-cell-3{background-position:66.6667% 0%}.card-artwork.artwork-cell-4{background-position:100% 0%}.card-artwork.artwork-cell-5{background-position:0% 100%}.card-artwork.artwork-cell-6{background-position:33.3333% 100%}.card-artwork.artwork-cell-7{background-position:66.6667% 100%}.card-artwork.artwork-cell-8{background-position:100% 100%}.mini-art.card-artwork.artwork-blast{background-image:url('../assets/kyara-blast.png');background-size:138% auto;background-position:42% 40%}.mini-art.card-artwork.artwork-hiroto{background-image:url('../assets/kyara-hiroto.png');background-size:150% auto;background-position:33% 56%}.mini-art.card-artwork.artwork-himari{background-image:url('../assets/kyara-himari.png');background-size:157% auto;background-position:57% 48%}.card-index{position:absolute;left:7px;bottom:7px;border-radius:5px;background:#08070bc9;padding:4px 6px;color:#f0edf3;font:600 7px var(--display);letter-spacing:.04em}.card-new-pill{position:absolute;top:-10px;left:50%;z-index:3;transform:translateX(-50%);padding:4px 13px;border-radius:20px;background:#fbf9fc;color:#17131a;font:700 8px var(--display);white-space:nowrap;box-shadow:0 3px 9px #0005}.collectible-details{display:flex;flex-direction:column;gap:6px;padding:8px 2px 1px}.collectible-series{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6e0ea;font:600 8px var(--font)}.collectible-stats{display:flex;align-items:center;justify-content:space-between;gap:7px;border-radius:7px;background:#0d0b11c9;padding:7px;color:#d8d2dc;font:700 8px var(--display)}.collectible-stats span{white-space:nowrap}.collectible-stats b{color:#faf7fc}.collectible-rarity{display:block;text-align:center;color:var(--frame);font:700 9px var(--display);padding:1px 0 3px}.collectible-card.is-locked .mini-art{filter:none}.collectible-card .mini-stars{display:none}.collectible-card .owned-count{margin-left:auto;color:#f4d6fa;font-size:8px}.compact-card.collectible-card{padding:6px}.compact-card.collectible-card .collectible-head>b{font-size:9px}.compact-card.collectible-card .card-artwork{aspect-ratio:.92}.compact-card.collectible-card .collectible-stats{font-size:7px;padding:6px}.reveal-item .collectible-card{height:100%}
.mini-art,.card-art{background-image:url('../assets/hikari-kyara-style-art.png')}
.rarity-chip[data-rarity="Peu commune"]{--chip:#4aca93}
.rarity-chip[data-rarity="Épique"]{--chip:#bc83fc}.rarity-chip[data-rarity="Légendaire"]{--chip:#f4c83f}

/* Booster opening: foil pack, face-down stack, rarity reveal and recap */
.pack-opening{--pack:#a855f7;--pack2:#ec64bd;width:min(900px,94vw);max-width:none;max-height:min(94vh,920px);padding:24px 28px 25px;border:1px solid color-mix(in srgb,var(--pack) 45%,#ffffff20);border-radius:20px;background:radial-gradient(ellipse at 50% 45%,color-mix(in srgb,var(--pack) 20%,transparent),transparent 58%),#0a0910;color:#f8f5fb;overflow:auto;isolation:isolate}.pack-opening::backdrop{background:rgba(2,2,6,.88);backdrop-filter:blur(9px)}.pack-opening.theme-shonen{--pack:#ff8a00;--pack2:#ffc247}.pack-opening.theme-waifu{--pack:#f04fa3;--pack2:#ff9fda}.pack-opening.theme-husbando{--pack:#3d96ff;--pack2:#8bd4ff}.pack-opening .modal-close-row{position:relative;z-index:10}.opening-pack-stage,.card-reveal-stage,.recap-stage{min-height:620px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.pack-scene{height:390px;width:min(300px,72vw);display:grid;place-items:center;perspective:900px}.foil-pack{position:relative;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;border:1px solid #fff8;border-radius:19px;background:radial-gradient(circle at 50% 39%,color-mix(in srgb,var(--pack) 92%,#fff),color-mix(in srgb,var(--pack) 55%,#342038) 42%,#17121d 100%);box-shadow:0 22px 80px color-mix(in srgb,var(--pack) 30%,transparent),inset 0 0 50px #ffffff24;animation:foil-float 3s ease-in-out infinite}.foil-pack::before,.foil-pack::after{content:"";position:absolute;inset:9px;border:1px solid #fff8;border-radius:14px;pointer-events:none}.foil-pack::after{inset:0;background:repeating-linear-gradient(108deg,transparent 0 24px,#ffffff12 25px 26px,transparent 27px 48px);mix-blend-mode:screen}.foil-rim{position:absolute;inset:0 0 auto;height:24px;background:repeating-linear-gradient(90deg,#ffffff24 0 3px,transparent 3px 7px);border-bottom:1px solid #fff7}.foil-brand{position:relative;z-index:1;font:700 16px var(--display);letter-spacing:.19em}.foil-brand span{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;margin-right:7px;background:#fff2;color:var(--pack2)}.foil-emblem{position:relative;z-index:1;width:150px;height:150px;display:grid;place-items:center;border:3px double #ffe7b5;border-radius:50%;background:radial-gradient(circle,#2c2027,#110d14);color:var(--pack);font:700 76px var(--display);text-shadow:0 0 30px var(--pack);box-shadow:0 0 0 8px #ffffff18,0 0 45px color-mix(in srgb,var(--pack) 72%,transparent);animation:emblem-pulse 2s ease-in-out infinite}.foil-title{position:relative;z-index:1;font:700 26px var(--display);color:#fff;text-shadow:0 2px 15px #0008}.foil-pack>small{position:relative;z-index:1;color:#ffefda;font-size:12px}.foil-count{position:relative;z-index:1;padding:7px 16px;border-radius:20px;background:#110c13d9;font:700 10px var(--display);letter-spacing:.12em}.foil-sparks{position:absolute;inset:0;background:radial-gradient(circle at 15% 25%,#fff 0 2px,transparent 3px),radial-gradient(circle at 81% 18%,#fff 0 2px,transparent 3px),radial-gradient(circle at 78% 78%,#fff 0 2px,transparent 3px);opacity:.55;animation:sparkle-drift 5s linear infinite}.opening-hint{margin:12px 0;color:#bcb5c6;font-size:12px}.pack-open-button{margin-top:10px;padding:14px 28px;background:linear-gradient(110deg,var(--pack),var(--pack2));color:#140f18;box-shadow:0 9px 30px color-mix(in srgb,var(--pack) 40%,transparent)}.pack-drop-note{margin:13px 0 0;color:#8d8597;font:10px var(--display)}.reveal-heading{width:min(650px,100%);display:flex;justify-content:space-between;color:var(--pack2);font:700 10px var(--display);letter-spacing:.12em}.reveal-heading b{color:#fff;font-size:13px}.reveal-heading i{font-style:normal;color:#777}.stack-arena{position:relative;width:min(310px,73vw);height:420px;display:grid;place-items:center;margin:18px auto 5px;touch-action:pan-y;perspective:1200px}.stack-shadow{position:absolute;width:210px;height:26px;bottom:5px;border-radius:50%;background:var(--pack);filter:blur(28px);opacity:.32}.stack-back,.flip-card{position:absolute;width:min(250px,66vw);height:365px;border-radius:18px}.stack-back{border:1px solid #ffe0ae99;background:linear-gradient(145deg,#362622,#151117);box-shadow:0 13px 35px #0009;transform:translate(calc(var(--layer)*4px),calc(var(--layer)*-5px)) rotate(calc(var(--layer)*1.2deg));transition:opacity .6s,transform .6s}.back-pattern{position:absolute;inset:15px;border:1px solid #ffdb9b66;border-radius:12px;background:repeating-radial-gradient(ellipse at 50% 100%,transparent 0 8px,#ffdca326 9px 10px,transparent 11px 17px)}.back-seal{position:absolute;top:34%;left:50%;transform:translate(-50%,-50%);width:95px;height:95px;display:grid;place-items:center;border:3px double #f8c988;border-radius:50%;background:radial-gradient(circle,#4b3025,#171118);color:var(--pack2);font:700 46px var(--display);box-shadow:0 0 30px color-mix(in srgb,var(--pack) 40%,transparent)}.stack-back::after{content:"H I K A R I";position:absolute;bottom:37px;left:0;right:0;color:#f8d4a5;text-align:center;font:700 12px var(--display);letter-spacing:.28em}.stack-arena.has-revealed .stack-back{opacity:.15;transform:translate(calc(var(--layer)*22px),calc(var(--layer)*-40px)) rotate(calc(var(--layer)*7deg))}.flip-card{z-index:5;padding:0;border:0;background:transparent;cursor:pointer;perspective:1200px;animation:card-enter .55s cubic-bezier(.16,.8,.3,1) both}.flip-inner{position:relative;display:block;width:100%;height:100%;transform-style:preserve-3d;transition:transform .72s cubic-bezier(.2,.75,.2,1)}.flip-card.is-flipped .flip-inner{transform:rotateY(180deg)}.card-back-face,.card-front-face{position:absolute;inset:0;display:block;overflow:hidden;border:1px solid color-mix(in srgb,var(--pack) 62%,#fff4);border-radius:18px;background:linear-gradient(145deg,#31232b,#100e14);backface-visibility:hidden;box-shadow:0 18px 50px #000b}.card-back-face .back-pattern{inset:11px}.card-back-face .back-seal{top:42%;width:110px;height:110px;font-size:58px}.card-back-face>b,.card-back-face>small{position:absolute;left:0;right:0;text-align:center;color:#f5d4ab}.card-back-face>b{bottom:42px;font:700 16px var(--display);letter-spacing:.28em}.card-back-face>small{bottom:27px;font-size:9px;letter-spacing:.23em}.card-front-face{padding:0;transform:rotateY(180deg);overflow:visible}.card-front-face .collectible-card{width:100%;height:100%;padding:10px;border-radius:17px;box-shadow:none}.card-front-face .collectible-head>b{font-size:13px}.card-front-face .mini-art.card-artwork{height:230px;aspect-ratio:auto}.card-front-face .collectible-details{gap:8px}.card-front-face .collectible-series{font-size:10px}.card-front-face .collectible-stats{font-size:10px}.drop-rate-badge{position:absolute;right:12px;bottom:12px;z-index:5;border:1px solid #ffffff5c;border-radius:7px;background:#100c14e8;padding:6px 8px;color:#fff;font:700 9px var(--display);box-shadow:0 3px 10px #0008}.revealed-caption{animation:caption-rise .38s ease both}.revealed-caption>span{font:700 10px var(--display);color:var(--pack2);letter-spacing:.12em}.revealed-caption h2{margin:4px 0;font:700 22px var(--display)}.revealed-caption>small{color:#a49cac;font:10px var(--display)}.reveal-controls{width:min(420px,100%);min-height:54px;display:flex;align-items:center;justify-content:center;gap:12px;margin-top:10px}.reveal-progress{display:flex;gap:7px;margin-right:auto}.progress-dot{width:15px;height:23px;border:1px solid #ffffff40;border-radius:5px;background:#fff1}.progress-dot.is-current{border-color:var(--pack);box-shadow:0 0 13px var(--pack)}.progress-dot.is-done{background:var(--pack);border-color:var(--pack)}.reveal-all{border:0;background:transparent;color:#b8afc0;text-decoration:underline;text-underline-offset:4px;font-size:10px;cursor:pointer}.next-card{font-size:10px;padding:10px 13px}.reveal-controls>small,.swipe-tip{color:#93899d;font-size:9px}.swipe-tip{margin:8px 0 0}.card-reveal-stage.rarity-commun{--rarity-color:#c9c9ce;animation:impact-common .42s ease}.card-reveal-stage.rarity-peu-commune{--rarity-color:#45cf91;animation:impact-green .62s ease}.card-reveal-stage.rarity-rare{--rarity-color:#4e9fff;animation:impact-blue .75s ease}.card-reveal-stage.rarity-epique{--rarity-color:#b87aff;animation:impact-epic .9s ease}.card-reveal-stage.rarity-legendaire{--rarity-color:#ffd34d;animation:impact-gold 1.1s ease}.card-reveal-stage.rarity-mythique{--rarity-color:#ff5c44;animation:impact-mythic 1.5s ease}.card-reveal-stage[class*="rarity-"] .stack-shadow{background:var(--rarity-color);opacity:.58}.card-reveal-stage[class*="rarity-"] .flip-card.is-flipped{filter:drop-shadow(0 0 22px color-mix(in srgb,var(--rarity-color) 65%,transparent))}.rarity-epique .revealed-caption,.rarity-legendaire .revealed-caption,.rarity-mythique .revealed-caption{position:relative}.rarity-mythique .revealed-caption::before{content:"✦  NOUVELLE LÉGENDE  ✦";display:block;margin:0 0 4px;color:#ffb24e;font:700 9px var(--display);letter-spacing:.18em;animation:caption-rise .5s ease both}.rarity-mythique .revealed-caption h2{color:#fff1d0;text-shadow:0 0 20px #ff614e}.rarity-mythique .drop-rate-badge{border-color:#ff755c;background:linear-gradient(120deg,#40160f,#171019);color:#ffd098}.recap-heading h2{margin:7px 0;font:700 clamp(28px,5vw,42px) var(--display)}.recap-heading>p{margin:0;color:#aaa2b3;font-size:11px}.recap-fan{position:relative;width:min(710px,95%);height:370px;margin:23px 0 15px;display:flex;align-items:center;justify-content:center}.recap-card{position:absolute;width:clamp(115px,18vw,170px);transform:translateX(calc((var(--i) - 2)*72%)) rotate(var(--tilt));animation:recap-card-in .55s cubic-bezier(.15,.75,.2,1) var(--delay) both;transform-origin:50% 110%;filter:drop-shadow(0 16px 20px #0008)}.recap-card:hover{z-index:8;transform:translateX(calc((var(--i) - 2)*72%)) translateY(-20px) rotate(0)}.recap-card .collectible-card{padding:7px}.recap-card .collectible-head>b{font-size:9px}.recap-card .card-artwork{aspect-ratio:.82}.recap-card .collectible-details{gap:5px}.recap-card .collectible-stats{font-size:7px;padding:5px}.recap-actions{display:flex;justify-content:center;gap:10px}.recap-actions .button-primary{background:linear-gradient(110deg,var(--pack),var(--pack2));color:#151018}.recap-drop-note{max-width:90%;margin:15px 0 0;color:#958da0;font-size:10px}.recap-drop-note b{color:var(--pack2)}
@keyframes foil-float{0%,100%{transform:translateY(0) rotateY(-4deg)}50%{transform:translateY(-8px) rotateY(4deg)}}@keyframes emblem-pulse{50%{transform:scale(1.045);box-shadow:0 0 0 8px #ffffff18,0 0 62px var(--pack)}}@keyframes sparkle-drift{to{transform:translate(8px,-10px);opacity:.9}}@keyframes card-enter{from{opacity:0;transform:translateY(28px) rotate(-5deg) scale(.88)}to{opacity:1;transform:translateY(0) rotate(0) scale(1)}}@keyframes caption-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@keyframes impact-common{35%{transform:translateX(-5px)}70%{transform:translateX(4px)}}@keyframes impact-green{35%{filter:drop-shadow(0 0 14px #45cf91);transform:scale(1.025)}70%{transform:scale(.995)}}@keyframes impact-blue{35%{filter:drop-shadow(0 0 20px #4e9fff);transform:scale(1.04)}70%{filter:drop-shadow(0 0 8px #4e9fff)}}@keyframes impact-epic{35%{filter:drop-shadow(0 0 24px #b87aff);transform:scale(1.07) rotate(1deg)}70%{transform:scale(1.01) rotate(-.5deg)}}@keyframes impact-gold{25%{transform:scale(1.08);filter:drop-shadow(0 0 30px #ffd34d)}55%{transform:scale(.99)}80%{transform:scale(1.04);filter:drop-shadow(0 0 22px #ff9b31)}}@keyframes impact-mythic{15%{filter:brightness(2) drop-shadow(0 0 35px #ff6748);transform:scale(1.12)}38%{filter:brightness(.8);transform:scale(.98) rotate(-1deg)}65%{filter:brightness(1.35) drop-shadow(0 0 50px #ffb337);transform:scale(1.07) rotate(1deg)}100%{filter:brightness(1) drop-shadow(0 0 24px #ff5c44);transform:scale(1)}}@keyframes recap-card-in{from{opacity:0;transform:translateY(50px) rotate(calc(var(--tilt)*2)) scale(.75)}to{opacity:1;transform:translateX(calc((var(--i) - 2)*72%)) rotate(var(--tilt)) scale(1)}}
@media(max-width:620px){.pack-opening{padding:16px 13px 20px;border-radius:14px}.opening-pack-stage,.card-reveal-stage,.recap-stage{min-height:calc(86vh - 45px)}.pack-scene{height:340px;width:min(260px,70vw)}.foil-emblem{width:120px;height:120px;font-size:62px}.foil-title{font-size:22px}.stack-arena{height:385px}.stack-back,.flip-card{height:335px;width:min(235px,68vw)}.card-front-face .mini-art.card-artwork{height:205px}.reveal-controls{gap:7px;flex-wrap:wrap}.reveal-progress{margin-right:5px}.progress-dot{width:12px;height:19px}.reveal-all{font-size:9px}.recap-fan{height:270px;width:100%;margin-top:15px}.recap-card{width:clamp(86px,22vw,128px)}.recap-card .collectible-head>b{font-size:7px}.recap-card .collectible-stats{font-size:6px;padding:4px}.recap-actions{flex-wrap:wrap}.recap-actions .button{flex:1;min-width:135px;font-size:10px}.recap-drop-note{font-size:9px}}
@media(prefers-reduced-motion:reduce){.pack-opening *,.pack-opening *::before,.pack-opening *::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important}}
.booster-choice[data-booster="shonen"]{--booster-color:#ff9500;--booster-light:#ffc85a}.booster-choice[data-booster="waifu"]{--booster-color:#ed58ad;--booster-light:#ffafe0}.booster-choice[data-booster="husbando"]{--booster-color:#438fff;--booster-light:#93d6ff}.booster-choice .booster-logo{grid-row:1/3;width:34px;height:34px;border:1px solid color-mix(in srgb,var(--booster-color) 50%,transparent);border-radius:10px;background:radial-gradient(circle at 35% 20%,color-mix(in srgb,var(--booster-color) 38%,transparent),#11101a);color:var(--booster-light);font:700 18px var(--display);text-shadow:0 0 14px var(--booster-color);box-shadow:inset 0 0 14px color-mix(in srgb,var(--booster-color) 18%,transparent);transition:transform .2s,box-shadow .2s}.booster-choice.selected .booster-logo{transform:scale(1.08);box-shadow:0 0 16px color-mix(in srgb,var(--booster-color) 43%,transparent),inset 0 0 14px color-mix(in srgb,var(--booster-color) 24%,transparent)}.booster-choice[data-booster="shonen"].selected{border-color:#ff9500aa;background:linear-gradient(140deg,#ff95001c,#ffc2470e);box-shadow:inset 0 0 18px #ff950014}.booster-choice[data-booster="waifu"].selected{border-color:#ed58adaa;background:linear-gradient(140deg,#ed58ad1c,#ffafe00e);box-shadow:inset 0 0 18px #ed58ad14}.booster-choice[data-booster="husbando"].selected{border-color:#438fffaa;background:linear-gradient(140deg,#438fff1c,#93d6ff0e);box-shadow:inset 0 0 18px #438fff14}.booster-panel[data-booster="shonen"]{--booster-color:#ff9500;--booster-light:#ffc85a;background:radial-gradient(ellipse at 51% 44%,#ff95003b,transparent 56%)}.booster-panel[data-booster="waifu"]{--booster-color:#ed58ad;--booster-light:#ffafe0;background:radial-gradient(ellipse at 51% 44%,#ed58ad3b,transparent 56%)}.booster-panel[data-booster="husbando"]{--booster-color:#438fff;--booster-light:#93d6ff;background:radial-gradient(ellipse at 51% 44%,#438fff3b,transparent 56%)}.booster-panel[data-booster] .booster-orb{border-color:color-mix(in srgb,var(--booster-light) 60%,transparent);background:radial-gradient(ellipse at 50% 15%,var(--booster-light),var(--booster-color) 35%,#171321 84%);box-shadow:0 0 48px color-mix(in srgb,var(--booster-color) 55%,transparent),inset 0 0 27px #ffffff30}.booster-panel .booster-orb strong{display:grid;place-items:center;width:77px;height:77px;border:2px double #fff9;border-radius:50%;background:radial-gradient(circle,#211722e8,#100c15);color:var(--booster-light);font:700 45px var(--display);text-shadow:0 0 21px var(--booster-color);box-shadow:0 0 0 5px #ffffff16,0 0 23px color-mix(in srgb,var(--booster-color) 65%,transparent)}.booster-panel .booster-orb span{color:#fff;text-shadow:0 1px 6px #130e19}.booster-choices .booster-choice{grid-template-columns:38px 1fr}.booster-choices .booster-choice>small,.booster-choices .booster-choice>b{grid-column:2}.booster-choices .booster-choice .booster-logo{grid-column:1;grid-row:1/3}@media(max-width:620px){.booster-choices .booster-choice{grid-template-columns:1fr}.booster-choices .booster-choice .booster-logo{grid-column:1;grid-row:auto}}
.collection-grid .collectible-card.is-locked{--frame:#716d78;border-color:#5c5862;background:linear-gradient(155deg,#28262d,#15141a 52%);box-shadow:0 10px 25px #0008}.collection-grid .collectible-card.is-locked .collectible-head,.collection-grid .collectible-card.is-locked .mini-art,.collection-grid .collectible-card.is-locked .collectible-details{filter:grayscale(1) blur(2px);opacity:.62}.collection-grid .collectible-card.is-locked .mini-art{filter:grayscale(1) blur(2px) brightness(.7);background-color:#25232a}.collection-grid .collectible-card.is-locked .collectible-rarity{color:#ff665e}.locked-question{position:absolute;z-index:4;left:50%;top:48%;transform:translate(-50%,-50%);color:#f4f1f7;font:700 58px/1 var(--display);text-shadow:0 3px 20px #fff8;pointer-events:none}.locked-drop-note{display:block;text-align:center;color:#96909c;font:9px var(--display);letter-spacing:.04em;padding:0 0 3px}
.rarity-frame-commun{--frame:#c8c9ce;--rarity-gradient:linear-gradient(135deg,#e5e6e9,#858994)}.rarity-frame-peu-commune{--frame:#43ce91;--rarity-gradient:linear-gradient(135deg,#61e5a8,#168b63)}.rarity-frame-rare{--frame:#4b9fff;--rarity-gradient:linear-gradient(135deg,#75c6ff,#2574f5)}.rarity-frame-epique{--frame:#bd74ff;--rarity-gradient:linear-gradient(135deg,#ee82ff,#8246ff)}.rarity-frame-legendaire{--frame:#f2c62f;--rarity-gradient:linear-gradient(135deg,#fff175,#ed9e16)}.rarity-frame-mythique{--frame:#ff506e;--rarity-gradient:linear-gradient(135deg,#ff426b 0%,#ff7b42 48%,#c84dff 100%)}:is(.collection-grid,.profile-showcase) .collectible-card:not(.is-locked){border:1px solid transparent;background:linear-gradient(155deg,color-mix(in srgb,var(--frame) 19%,#25222d),#15131d 52%) padding-box,var(--rarity-gradient) border-box;box-shadow:0 10px 25px #0008,0 0 13px color-mix(in srgb,var(--frame) 23%,transparent)}:is(.collection-grid,.profile-showcase) .collectible-card:not(.is-locked):hover{box-shadow:0 15px 32px #0009,0 0 22px color-mix(in srgb,var(--frame) 42%,transparent)}:is(.collection-grid,.profile-showcase) .collectible-card:not(.is-locked) .collectible-head{background:linear-gradient(100deg,color-mix(in srgb,var(--frame) 20%,transparent),transparent 85%)}:is(.collection-grid,.profile-showcase) .collectible-card:not(.is-locked) .rarity-orb{background:var(--frame);box-shadow:0 0 10px color-mix(in srgb,var(--frame) 56%,transparent)}:is(.collection-grid,.profile-showcase) .collectible-card:not(.is-locked) .collectible-rarity{color:var(--frame);text-shadow:0 0 10px color-mix(in srgb,var(--frame) 40%,transparent)}
.rarity-orb.rarity-orb-commun{background:#c8c9ce;color:#201f23}.rarity-orb.rarity-orb-peu-commune{background:#43ce91;color:#10281e}.rarity-orb.rarity-orb-rare{background:#4b9fff;color:#0c1c34}.rarity-orb.rarity-orb-epique{background:#bd74ff;color:#251238}.rarity-orb.rarity-orb-legendaire{background:#f2c62f;color:#312407}.rarity-orb.rarity-orb-mythique{background:linear-gradient(135deg,#ff426b,#ff7b42 55%,#c84dff);color:#311019}
.collection-grid .collectible-card.is-locked .collectible-head{filter:none;opacity:1}.collection-grid .collectible-card.is-locked .collectible-head>b{filter:grayscale(1) blur(2px);opacity:.62}.collection-grid .collectible-card.is-locked .rarity-orb{filter:none;opacity:1;position:relative;z-index:2}
.mini-art.card-artwork.artwork-rip-van-winkle{background-image:url('../assets/rip-van-winkle.png');background-size:cover;background-position:center}.mini-art.card-artwork.artwork-luca{background-image:url('../assets/luca.png');background-size:cover;background-position:center}.mini-art.card-artwork.artwork-kouyou-ozaki{background-image:url('../assets/kouyou-ozaki.png');background-size:cover;background-position:center}.mini-art.card-artwork.artwork-haruka-hashida{background-image:url('../assets/haruka-hashida.png');background-size:cover;background-position:center}
.mini-art.card-artwork.artwork-nana-daiba,.mini-art.card-artwork.artwork-hibiki-sakura,.mini-art.card-artwork.artwork-shiki-granbell,.mini-art.card-artwork.artwork-airi-gotou,.mini-art.card-artwork.artwork-otsu-vagabond,.mini-art.card-artwork.artwork-sensei-isekai,.mini-art.card-artwork.artwork-youko-nakajima,.mini-art.card-artwork.artwork-rim-dungeon-black-company,.mini-art.card-artwork.artwork-sena-kobayakawa,.mini-art.card-artwork.artwork-jun-manjoume{background-size:cover;background-position:center}.mini-art.card-artwork.artwork-nana-daiba{background-image:url('../assets/nana-daiba.png')}.mini-art.card-artwork.artwork-hibiki-sakura{background-image:url('../assets/hibiki-sakura.png')}.mini-art.card-artwork.artwork-shiki-granbell{background-image:url('../assets/shiki-granbell.png')}.mini-art.card-artwork.artwork-airi-gotou{background-image:url('../assets/airi-gotou.png')}.mini-art.card-artwork.artwork-otsu-vagabond{background-image:url('../assets/otsu-vagabond.png')}.mini-art.card-artwork.artwork-sensei-isekai{background-image:url('../assets/sensei-isekai.png')}.mini-art.card-artwork.artwork-youko-nakajima{background-image:url('../assets/youko-nakajima.png')}.mini-art.card-artwork.artwork-rim-dungeon-black-company{background-image:url('../assets/rim-dungeon-black-company.png')}.mini-art.card-artwork.artwork-sena-kobayakawa{background-image:url('../assets/sena-kobayakawa.png')}.mini-art.card-artwork.artwork-jun-manjoume{background-image:url('../assets/jun-manjoume.png')}
.mini-card.collectible-card:not(.is-locked).rarity-frame-commun{--frame:#c8c9ce}.mini-card.collectible-card:not(.is-locked).rarity-frame-peu-commune{--frame:#43ce91}.mini-card.collectible-card:not(.is-locked).rarity-frame-rare{--frame:#4b9fff}.mini-card.collectible-card:not(.is-locked).rarity-frame-epique{--frame:#bd74ff}.mini-card.collectible-card:not(.is-locked).rarity-frame-legendaire{--frame:#f2c62f}.mini-card.collectible-card:not(.is-locked).rarity-frame-mythique{--frame:#ff506e}

/* Keep every collection card the same width, even when its title is long. */
.collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.collection-grid>.collectible-card{min-width:0}
.collection-grid .collectible-head>b,.collection-grid .collectible-series{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Rare-card spotlight placed directly under the booster selector. */
.spotlight-section{margin-top:30px;padding:28px 0 4px;border-top:1px solid #ffffff12}
.spotlight-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}
.spotlight-heading h2{margin:8px 0 0;font:700 clamp(27px,4vw,40px)/1 var(--display);letter-spacing:-.045em}
.spotlight-heading h2 span{background:linear-gradient(100deg,#b56bf2,#ed78c2);background-clip:text;color:transparent}
.spotlight-controls{display:flex;align-items:center;gap:8px}
.spotlight-controls .button{padding:9px 12px;font-size:10px}
.spotlight-arrow{width:34px;height:34px;border:1px solid #ffffff22;border-radius:10px;background:#ffffff08;color:#f7efff;font:600 22px/1 var(--display);cursor:pointer;transition:background .2s,border-color .2s}
.spotlight-arrow:hover{background:#a760fa2b;border-color:#c68bff80}
.spotlight-rail{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(145px,1fr);grid-template-rows:1fr;gap:13px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:thin;scrollbar-color:#554567 transparent;padding:2px 2px 14px}
.spotlight-card{position:relative;display:grid;grid-template-rows:auto 1fr auto;min-width:0;height:238px;padding:7px;border:1px solid color-mix(in srgb,var(--frame) 76%,#ffffff);border-radius:14px;background:linear-gradient(155deg,color-mix(in srgb,var(--frame) 22%,#25222d),#121019 70%);color:#f6f1fa;text-align:left;overflow:hidden;cursor:pointer;scroll-snap-align:start;box-shadow:0 10px 24px #0005,0 0 15px color-mix(in srgb,var(--frame) 17%,transparent);transition:transform .22s,border-color .22s,box-shadow .22s}
.spotlight-card:hover{transform:translateY(-5px);box-shadow:0 15px 30px #0008,0 0 24px color-mix(in srgb,var(--frame) 38%,transparent)}
.spotlight-rarity{position:absolute;z-index:1;top:12px;left:12px;max-width:calc(100% - 24px);padding:5px 8px;border-radius:6px;background:var(--frame);color:#17121b;font:700 8px var(--display);letter-spacing:.055em;text-transform:uppercase}
.spotlight-art{display:block;min-height:0;height:100%;border-radius:9px;background-color:#211d29;background-size:cover;background-position:center;box-shadow:inset 0 -24px 28px #05040a20}
.spotlight-card-info{display:grid;gap:3px;padding:8px 3px 2px;min-width:0}
.spotlight-card-info b,.spotlight-card-info small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.spotlight-card-info b{font:700 11px var(--display)}
.spotlight-card-info small{color:#aaa2b3;font-size:9px}
@media(max-width:700px){.spotlight-rail{grid-auto-columns:155px}.spotlight-heading{align-items:flex-start}.spotlight-controls{gap:6px}.spotlight-controls .button{font-size:0;gap:0}.spotlight-controls .button span{font-size:13px}.spotlight-section{margin-top:22px;padding-top:22px}}
@media(max-width:430px){.spotlight-heading{display:grid}.spotlight-controls{justify-content:flex-end}}
.home-section-note{margin:7px 0 0;color:#8e8798;font-size:11px}
.spotlight-rail{grid-auto-columns:minmax(160px,1fr)}
.spotlight-card{height:260px}
.spotlight-card-info{grid-template-columns:minmax(0,1fr);}
.spotlight-time{color:#a79caf;font:9px ui-monospace,SFMono-Regular,Consolas,monospace}
.spotlight-empty{grid-column:1/-1;min-height:126px;display:grid;align-content:center;justify-items:center;gap:9px;padding:18px;border:1px dashed #ffffff20;border-radius:15px;background:linear-gradient(110deg,#a760fa0c,#f26bb80c);text-align:center}
.spotlight-empty>span{color:#d68bff;font-size:22px}
.spotlight-empty>b{font:600 13px var(--display)}
.spotlight-empty>small{max-width:430px;color:#928a9b;font-size:10px;line-height:1.6}
.leaderboards-section{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:32px}
.leaderboard-panel{min-width:0;padding:18px;border:1px solid #ffffff15;border-radius:16px;background:linear-gradient(145deg,#171321,#0f0d15 70%);box-shadow:0 15px 40px #0002}
.leaderboard-heading{display:flex;justify-content:space-between;align-items:center;padding-bottom:13px;border-bottom:1px solid #ffffff10}
.leaderboard-heading h2,.howto-heading h2{margin:6px 0 0;font:700 clamp(21px,3vw,28px)/1 var(--display);letter-spacing:-.04em}
.leaderboard-heading h2 span,.howto-heading h2 span{background:linear-gradient(100deg,#b56bf2,#ed78c2);background-clip:text;color:transparent}
.leaderboard-icon{width:36px;height:36px;display:grid;place-items:center;border:1px solid #d08cff42;border-radius:12px;background:#ac61e916;color:#d9a5ff;font-size:17px}
.referral-panel .leaderboard-icon{border-color:#f3c84b3d;background:#efc43d10;color:#f1cd64}
.leaderboard-rows{display:grid;gap:7px;margin-top:12px}
.leaderboard-rows>div{display:grid;grid-template-columns:24px 34px minmax(0,1fr) auto;align-items:center;gap:9px;padding:8px 10px;border:1px solid #ffffff0b;border-radius:11px;background:#ffffff04}
.leaderboard-rows>div>b{color:#898291;font:700 9px ui-monospace,SFMono-Regular,Consolas,monospace}
.leaderboard-rows>div:first-child>b{color:#f2cc60}
.leader-avatar{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:linear-gradient(145deg,#654386,#21182b);color:#f0d7ff;font:700 13px var(--display)}
.referral-panel .leader-avatar{background:linear-gradient(145deg,#775629,#241c15);color:#ffe39a}
.leader-placeholder{display:grid;gap:3px;min-width:0}
.leader-placeholder strong{font-size:10px;font-weight:600}
.leader-placeholder small{color:#827b8b;font-size:8px}
.leaderboard-rows>div>i{color:#6e6876;font:normal 11px ui-monospace,SFMono-Regular,Consolas,monospace}
.leaderboard-footnote{margin:12px 0 0;color:#777080;font-size:8px}
.howto-section{margin-top:34px;padding-top:26px;border-top:1px solid #ffffff12}
.howto-heading{margin-bottom:15px}
.howto-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.howto-card{position:relative;min-height:152px;padding:16px;border:1px solid #ffffff14;border-radius:14px;background:linear-gradient(145deg,#171420,#100e16);overflow:hidden}
.howto-card:after{content:attr(data-watermark);position:absolute;right:6px;top:8px;color:#ffffff06;font:700 68px/.9 var(--display);pointer-events:none}
.howto-number{color:#b8fc58;font:700 9px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.09em}
.howto-icon{float:right;width:30px;height:30px;display:grid;place-items:center;border:1px solid #d58cff55;border-radius:9px;background:#aa5ce921;color:#e1b4ff;font:700 14px var(--display)}
.howto-card:nth-child(2) .howto-icon{border-color:#75a9ff55;background:#498bff18;color:#9bc4ff}
.howto-card:nth-child(3) .howto-icon{border-color:#f4c84755;background:#e9ba2618;color:#f6d66d}
.howto-card h3{margin:12px 0 6px;font:700 13px var(--display)}
.howto-card p{max-width:280px;margin:0;color:#9891a0;font-size:10px;line-height:1.65}
@media(max-width:700px){.leaderboards-section{grid-template-columns:1fr;margin-top:24px}.howto-grid{grid-template-columns:1fr}.howto-card{min-height:130px}.spotlight-rail{grid-auto-columns:155px}}

/* Divine is a distinct full-art rarity paired with the normal Mythic card. */
.rarity-frame-divin{--frame:#e79abd;--rarity-gradient:linear-gradient(135deg,#fff0f7,#e9a3c1 48%,#81516b)}
.rarity-orb.rarity-orb-divin{background:linear-gradient(135deg,#fff0f7,#e79abd 56%,#bb7393);color:#31151e;box-shadow:0 0 12px #f3b4d066}
.rarity-chip[data-rarity="Divin"]{--chip:#f2b6d0}
.mini-card.collectible-card:not(.is-locked).rarity-frame-divin{--frame:#e79abd}
.collection-grid .collectible-card.is-full-art,.mini-card.collectible-card.is-full-art{height:340px;min-height:340px;padding:0;overflow:hidden;border:1px solid #e7a3c4;background:#21151e;box-shadow:0 12px 28px #0008,0 0 19px #e79abd25}
.mini-card.collectible-card.is-full-art .mini-art{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border-radius:inherit;background-size:cover;background-position:center;filter:none}
.mini-card.collectible-card.is-full-art .mini-art::before{content:"";position:absolute;inset:30% 0 0;z-index:1;background:linear-gradient(180deg,transparent 0%,#21151e55 48%,#21151ef5 100%);pointer-events:none}
.mini-card.collectible-card.is-full-art .collectible-head{position:absolute;z-index:3;top:0;left:0;right:0;min-height:42px;padding:9px 10px 15px;background:linear-gradient(180deg,#21151eeb,#21151e00)}
.mini-card.collectible-card.is-full-art .collectible-head>b{font-size:12px;text-shadow:0 2px 8px #000}
.mini-card.collectible-card.is-full-art .collectible-details{position:absolute;z-index:3;left:0;right:0;bottom:0;gap:7px;padding:34px 10px 10px;background:linear-gradient(180deg,transparent,#21151ee8 30%,#21151ef5)}
.mini-card.collectible-card.is-full-art .collectible-series{font-size:9px;color:#fff0f7}
.mini-card.collectible-card.is-full-art .collectible-stats{background:#100b12c9}
.mini-card.collectible-card.is-full-art .collectible-rarity{color:#ffc4dc}
.mini-card.collectible-card.is-full-art .card-index{z-index:2;bottom:72px;left:8px;background:#160f18c9}
.mini-card.collectible-card.is-full-art .owned-badge{z-index:4}
.mini-card.collectible-card.is-full-art:hover{transform:translateY(-5px);box-shadow:0 18px 40px #0009,0 0 27px #e79abd44}
.card-preview-card .collectible-card.is-full-art{height:500px;min-height:500px;padding:0;overflow:hidden;border:2px solid #e79abd;background:#21151e;box-shadow:0 0 46px #e79abd2b}
.card-preview-card .collectible-card.is-full-art .mini-art{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;border-radius:inherit;background-size:cover;background-position:center}
.card-preview-card .collectible-card.is-full-art.rarity-frame-divin{border-color:#e7a3c4;box-shadow:0 0 46px #e79abd2b}
.card-preview-card .collectible-card.is-full-art .mini-art::before{content:"";position:absolute;inset:30% 0 0;z-index:1;background:linear-gradient(180deg,transparent 0%,#21151e45 42%,#21151ef8 100%)}
.card-preview-card .collectible-card.is-full-art .collectible-head{position:absolute;z-index:3;top:0;left:0;right:0;min-height:58px;padding:12px 15px 22px;background:linear-gradient(180deg,#21151ef0,#21151e00)}
.card-preview-card .collectible-card.is-full-art .collectible-details{position:absolute;z-index:3;left:0;right:0;bottom:0;gap:10px;padding:58px 15px 14px;background:linear-gradient(180deg,transparent,#21151eea 25%,#21151ef8)}
.card-preview-card .collectible-card.is-full-art .collectible-series{font-size:12px}
.card-preview-card .collectible-card.is-full-art .card-index{bottom:100px;left:12px;background:#160f18cc}
@media(max-width:620px){.collection-grid .collectible-card.is-full-art,.mini-card.collectible-card.is-full-art{height:300px;min-height:300px}.card-preview-card .collectible-card.is-full-art{height:min(500px,72vh);min-height:min(500px,72vh)}}
@media (hover:hover) and (pointer:fine){:is(.mini-card.collectible-card,.showcase-card).rarity-frame-divin .mini-art::after{content:"";position:absolute;z-index:2;inset:0;border-radius:inherit;opacity:0;pointer-events:none;background:linear-gradient(116deg,transparent 32%,#f6b4d500 40%,#ffdcf080 48%,#fff8fbd6 51%,#e79abda6 56%,transparent 67%);background-size:240% 100%;background-position:-150% center;mix-blend-mode:screen;transition:opacity .35s ease}:is(.mini-card.collectible-card,.showcase-card).rarity-frame-divin:hover .mini-art::after{opacity:.6;animation:mythic-gloss-pass 5.8s cubic-bezier(.35,.05,.2,1) infinite}}

/* Match Divine full-art card proportions to the normal collection cards. */
.collection-grid .collectible-card.is-full-art{height:auto;min-height:0;aspect-ratio:.61}
:is(.mini-card.collectible-card,.showcase-card).rarity-frame-divin{border-color:#e7a3c4;box-shadow:0 12px 28px #0008,0 0 22px #e79abd30}
:is(.mini-card.collectible-card,.showcase-card).rarity-frame-divin .mini-art::before{background:linear-gradient(180deg,transparent 0%,#21151e4d 43%,#21151ef5 100%),repeating-linear-gradient(122deg,#ffd9e50c 0 1px,#210f1a00 1px 6px),radial-gradient(ellipse at 52% 45%,#ffb9d11a 0,transparent 72%);background-blend-mode:normal,soft-light,screen}
:is(.mini-card.collectible-card,.showcase-card).rarity-frame-divin:hover{box-shadow:0 18px 40px #0009,0 0 34px #e79abd65}
@media (hover:hover) and (pointer:fine){:is(.mini-card.collectible-card,.showcase-card).rarity-frame-divin:hover .mini-art::after{opacity:.92;animation-duration:5.2s;filter:saturate(1.25) brightness(1.12)}}
@media(max-width:620px){.collection-grid .collectible-card.is-full-art{height:auto;min-height:0;aspect-ratio:.61}}

/* Clean card-name bands and give rarity initials a Japanese seal-like type. */
.collection-grid .collectible-card .collectible-head{background:transparent!important;backdrop-filter:none!important;box-shadow:none!important;border:0!important;border-radius:0!important}
.collection-grid .collectible-card .collectible-head>b{background:transparent!important;box-shadow:none!important;padding-inline:0}
.collection-grid .collectible-card.is-full-art.is-locked .mini-art{filter:grayscale(1) blur(2px) brightness(.7)!important}



/* Card art cropped from the user screenshots; replaceable with full-size art later. */
.mini-art.card-artwork.artwork-tanjiro-kamado,.mini-art.card-artwork.artwork-chika-fujiwara,.mini-art.card-artwork.artwork-nezuko-kamado,.mini-art.card-artwork.artwork-anya-forger,.mini-art.card-artwork.artwork-nami,.mini-art.card-artwork.artwork-tony-tony-chopper,.mini-art.card-artwork.artwork-gaara,.mini-art.card-artwork.artwork-ken-ryuguji,.mini-art.card-artwork.artwork-souma-yukihira,.mini-art.card-artwork.artwork-jean-kirstein,.mini-art.card-artwork.artwork-mio-akiyama,.mini-art.card-artwork.artwork-iris-fire-force,.mini-art.card-artwork.artwork-guts,.mini-art.card-artwork.artwork-lelouch-lamperouge,.mini-art.card-artwork.artwork-thorfinn-karlsefni,.mini-art.card-artwork.artwork-griffith,.mini-art.card-artwork.artwork-nino-nakano,.mini-art.card-artwork.artwork-light-yagami,.mini-art.card-artwork.artwork-meruem,.mini-art.card-artwork.artwork-sanji,.mini-art.card-artwork.artwork-kurisu-makise,.mini-art.card-artwork.artwork-rintaro-okabe,.mini-art.card-artwork.artwork-askeladd,.mini-art.card-artwork.artwork-yami-sukehiro,.mini-art.card-artwork.artwork-revy,.mini-art.card-artwork.artwork-rumi-usagiyama,.mini-art.card-artwork.artwork-mamoru-endou,.mini-art.card-artwork.artwork-vivi-nefertari,.mini-art.card-artwork.artwork-kouichi-hirose,.mini-art.card-artwork.artwork-leone-abbacchio,.mini-art.card-artwork.artwork-foo-fighters,.mini-art.card-artwork.artwork-mohammed-avdol,.mini-art.card-artwork.artwork-diavolo,.mini-art.card-artwork.artwork-narancia-ghirga,.mini-art.card-artwork.artwork-yasuho-hirose,.mini-art.card-artwork.artwork-iggy,.mini-art.card-artwork.artwork-hermes-costello,.mini-art.card-artwork.artwork-vinegar-doppio,.mini-art.card-artwork.artwork-lisa-lisa,.mini-art.card-artwork.artwork-pannacotta-fugo{background-size:cover;background-position:center}
.mini-art.card-artwork.artwork-tanjiro-kamado{background-image:url(../assets/tanjiro-kamado.jpg)}
.mini-art.card-artwork.artwork-chika-fujiwara{background-image:url(../assets/chika-fujiwara.jpg)}
.mini-art.card-artwork.artwork-nezuko-kamado{background-image:url(../assets/nezuko-kamado.jpg)}
.mini-art.card-artwork.artwork-anya-forger{background-image:url(../assets/anya-forger.jpg)}
.mini-art.card-artwork.artwork-nami{background-image:url(../assets/nami.jpg)}
.mini-art.card-artwork.artwork-tony-tony-chopper{background-image:url(../assets/tony-tony-chopper.jpg)}
.mini-art.card-artwork.artwork-gaara{background-image:url(../assets/gaara.jpg)}
.mini-art.card-artwork.artwork-ken-ryuguji{background-image:url(../assets/ken-ryuguji.jpg)}
.mini-art.card-artwork.artwork-souma-yukihira{background-image:url(../assets/souma-yukihira.jpg)}
.mini-art.card-artwork.artwork-jean-kirstein{background-image:url(../assets/jean-kirstein.jpg)}
.mini-art.card-artwork.artwork-mio-akiyama{background-image:url(../assets/mio-akiyama.jpg)}
.mini-art.card-artwork.artwork-iris-fire-force{background-image:url(../assets/iris-fire-force.jpg)}
.mini-art.card-artwork.artwork-guts{background-image:url(../assets/guts.jpg)}
.mini-art.card-artwork.artwork-lelouch-lamperouge{background-image:url(../assets/lelouch-lamperouge.jpg)}
.mini-art.card-artwork.artwork-thorfinn-karlsefni{background-image:url(../assets/thorfinn-karlsefni.jpg)}
.mini-art.card-artwork.artwork-griffith{background-image:url(../assets/griffith.jpg)}
.mini-art.card-artwork.artwork-nino-nakano{background-image:url(../assets/nino-nakano.jpg)}
.mini-art.card-artwork.artwork-light-yagami{background-image:url(../assets/light-yagami.jpg)}
.mini-art.card-artwork.artwork-meruem{background-image:url(../assets/meruem.jpg)}
.mini-art.card-artwork.artwork-sanji{background-image:url(../assets/sanji.jpg)}
.mini-art.card-artwork.artwork-kurisu-makise{background-image:url(../assets/kurisu-makise.jpg)}
.mini-art.card-artwork.artwork-rintaro-okabe{background-image:url(../assets/rintaro-okabe.jpg)}
.mini-art.card-artwork.artwork-askeladd{background-image:url(../assets/askeladd.jpg)}
.mini-art.card-artwork.artwork-yami-sukehiro{background-image:url(../assets/yami-sukehiro.jpg)}
.mini-art.card-artwork.artwork-revy{background-image:url(../assets/revy.jpg)}
.mini-art.card-artwork.artwork-rumi-usagiyama{background-image:url(../assets/rumi-usagiyama.jpg)}
.mini-art.card-artwork.artwork-mamoru-endou{background-image:url(../assets/mamoru-endou.jpg)}
.mini-art.card-artwork.artwork-vivi-nefertari{background-image:url(../assets/vivi-nefertari.jpg)}
.mini-art.card-artwork.artwork-kouichi-hirose{background-image:url(../assets/kouichi-hirose.jpg)}
.mini-art.card-artwork.artwork-leone-abbacchio{background-image:url(../assets/leone-abbacchio.jpg)}
.mini-art.card-artwork.artwork-foo-fighters{background-image:url(../assets/foo-fighters.jpg)}
.mini-art.card-artwork.artwork-mohammed-avdol{background-image:url(../assets/mohammed-avdol.jpg)}
.mini-art.card-artwork.artwork-diavolo{background-image:url(../assets/diavolo.jpg)}
.mini-art.card-artwork.artwork-narancia-ghirga{background-image:url(../assets/narancia-ghirga.jpg)}
.mini-art.card-artwork.artwork-yasuho-hirose{background-image:url(../assets/yasuho-hirose.jpg)}
.mini-art.card-artwork.artwork-iggy{background-image:url(../assets/iggy.jpg)}
.mini-art.card-artwork.artwork-hermes-costello{background-image:url(../assets/hermes-costello.jpg)}
.mini-art.card-artwork.artwork-vinegar-doppio{background-image:url(../assets/vinegar-doppio.jpg)}
.mini-art.card-artwork.artwork-lisa-lisa{background-image:url(../assets/lisa-lisa.jpg)}
.mini-art.card-artwork.artwork-pannacotta-fugo{background-image:url(../assets/pannacotta-fugo.jpg)}

/* Compact, selectable universe progress panel in the collection overview. */
.collection-overview{grid-template-columns:minmax(250px,.75fr) minmax(0,1fr);gap:24px}
.series-panel{width:100%;align-self:center;min-width:0}
.series-panel-toggle{width:100%;min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border:1px solid #ffffff18;border-radius:13px;background:linear-gradient(120deg,#17131f,#100e18);color:var(--text);text-align:left;cursor:pointer;transition:border-color .2s,background .2s,transform .2s}
.series-panel-toggle:hover{border-color:#bf7de866;background:linear-gradient(120deg,#211729,#14101c);transform:translateY(-1px)}
.series-panel-toggle>span{display:flex;flex-direction:column;gap:5px;min-width:0}
.series-panel-toggle b{font:600 12px var(--display)}
.series-panel-toggle small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a49aaa;font-size:9px}
.series-panel-toggle>i{flex:none;width:27px;height:27px;display:grid;place-items:center;border:1px solid #ffffff1a;border-radius:50%;background:#ffffff08;color:#d5b9ec;font-style:normal;transition:transform .2s}
.series-panel-toggle[aria-expanded="true"]>i{transform:rotate(180deg)}
.series-progress{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;margin-top:9px;border:1px solid #ffffff12;border-radius:13px;background:#100e18;max-height:270px;overflow:auto;overscroll-behavior:contain}
.series-progress[hidden]{display:none}
.series-progress-row{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #ffffff0c;border-radius:9px;background:#ffffff04;color:var(--text);text-align:left;cursor:pointer;transition:background .18s,border-color .18s,transform .18s}
.series-progress-row:hover{border-color:#bb77df55;background:#ffffff0a;transform:translateY(-1px)}
.series-progress-row.active{border-color:#b86de788;background:linear-gradient(110deg,#a75ac124,#e271b00c)}
.series-progress-info{display:grid;gap:6px;min-width:0;flex:1}
.series-progress-row>b,.series-progress-row .series-progress-info>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 9px var(--font);color:#e8e1ec}
.series-progress-row>small{text-align:right;color:#c3bbc9;font:10px var(--display);white-space:nowrap}
.series-progress-track{height:4px;border-radius:8px;background:#292532;overflow:hidden}
.series-progress-track i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#d56d5e,#efa07b)}
@media(max-width:850px){.collection-overview{grid-template-columns:1fr;gap:14px}.series-panel{width:100%}}
@media(max-width:520px){.series-progress{grid-template-columns:1fr;max-height:250px}}
.site-footer{margin-top:62px;border-top:1px solid #ffffff14;background:linear-gradient(180deg,#0e0c14,#0a0910);padding:30px 0 21px}
.site-footer-inner{display:grid;gap:19px}
.site-footer-brand{display:inline-flex;align-items:center;gap:10px;width:max-content;color:#f8f3fa;text-decoration:none;font:700 20px var(--display);letter-spacing:.025em}
.site-footer-brand>span:last-child>span{color:#e178c6}
.site-footer-mark{width:40px;height:40px;display:grid;place-items:center;border:1px solid #e5bcff;border-radius:12px;background:linear-gradient(145deg,#a45be8,#7656ec);box-shadow:0 6px 22px #9b58e844;color:#fff;font:700 20px var(--display)}
.site-footer-nav{display:flex;flex-wrap:wrap;gap:20px 24px;align-items:center}
.site-footer-nav a,.site-footer-nav span{font-size:10px;font-weight:700;letter-spacing:.035em;text-transform:uppercase}
.site-footer-nav a{color:#c5b7d3;text-decoration:none;transition:color .2s}
.site-footer-nav a:hover{color:#f1c6ff}
.site-footer-nav span{color:#716b7d;cursor:default}
.site-footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:2px}
.site-footer-bottom p{margin:0;color:#aaa2b0;font:10px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}
.site-footer-bottom p a{color:#d1b7ef;text-underline-offset:3px}
.site-footer-language{display:inline-flex;align-items:center;gap:10px;flex:none;padding:10px 13px;border:1px solid #ffffff22;border-radius:9px;background:#ffffff05;color:#eee9f2;font-size:9px;font-weight:700;letter-spacing:.04em}
.site-footer-language>span{font-size:14px;color:#d4b1ef}
.site-footer-meta{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;border-top:1px solid #ffffff10;color:#777081;font-size:9px}
@media(max-width:620px){.site-footer{margin-top:42px;padding:24px 0 18px}.site-footer-nav{gap:13px 16px}.site-footer-nav a,.site-footer-nav span{font-size:8px}.site-footer-bottom{align-items:flex-start;flex-direction:column;gap:12px}.site-footer-bottom p{font-size:9px}.site-footer-language{padding:8px 10px}.site-footer-meta{font-size:8px}}
.hero-card-artwork{background-size:cover;background-position:center;background-repeat:no-repeat}
.hero-card-artwork::before,.hero-card-artwork::after,.hero-card-artwork>span{display:none!important}
.collection-grid .collectible-card{cursor:zoom-in}
.collection-grid .collectible-card:focus-visible{outline:2px solid #dc9cf5;outline-offset:3px}
.card-preview-modal{width:min(430px,calc(100% - 28px));padding:16px 22px 23px}
.card-preview-content{padding:0 8px 2px}
.card-preview-card{width:min(330px,100%);margin:0 auto}
.card-preview-card .collectible-card{padding:12px;border-radius:17px;cursor:default}
.card-preview-card .collectible-head{min-height:42px;padding:2px 5px 9px}
.card-preview-card .collectible-head>b{font-size:15px}
.card-preview-card .rarity-orb{flex-basis:29px;height:29px;font-size:13px}
.card-preview-card .mini-art.card-artwork{aspect-ratio:.78;border-radius:11px}
.card-preview-card .card-index{font-size:11px}
.card-preview-card .collectible-details{gap:9px;padding-top:10px}
.card-preview-card .collectible-series{font-size:12px}
.card-preview-card .collectible-stats{font-size:11px;padding:9px 10px}
.card-preview-card .collectible-rarity{font-size:11px}
.card-preview-card .locked-drop-note{font-size:10px;padding:2px 0 4px}
.card-preview-card .is-locked .collectible-head>b,.card-preview-card .is-locked .mini-art,.card-preview-card .is-locked .collectible-details{filter:grayscale(1) blur(3px);opacity:.62}
.card-preview-card .is-locked .mini-art{filter:grayscale(1) blur(3px) brightness(.72)}
.card-preview-card .locked-question{font-size:86px}
.card-preview-caption{display:grid;gap:5px;text-align:center;padding:13px 0 0}
.card-preview-caption>span{font:700 8px var(--display);letter-spacing:.15em;color:#c798e7}
.card-preview-caption>b{font:600 11px var(--display);color:#b9b0c2}
.card-preview-caption>a,.anilist-credit{color:#c7a2df;font-size:9px;text-decoration:none}
.card-preview-caption>a:hover,.anilist-credit:hover{color:#f0c5ff;text-decoration:underline}
@media(max-width:620px){.anilist-credit{width:100%;text-align:center}}
.collection-load-more{display:block;margin:24px auto 8px;min-width:min(320px,100%);color:#efe9f4}
.collection-load-more[hidden]{display:none}

/* Showcase rarity hover effects on the three reference cards only. */
@media (hover:hover) and (pointer:fine){
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="yasuho-hirose"],
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"],
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="emilia"]{isolation:isolate;transform-style:preserve-3d}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="yasuho-hirose"]::before,
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"]::before,
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="emilia"]::before{content:"";position:absolute;z-index:5;inset:0;border-radius:inherit;opacity:0;pointer-events:none;mix-blend-mode:screen;transition:opacity .25s ease}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="yasuho-hirose"]::before{background:radial-gradient(190px circle at var(--shine-x,50%) var(--shine-y,35%),#fff9,transparent 65%),linear-gradient(112deg,transparent 28%,#fff2 42%,#dfb6ff85 50%,#87c9ff55 56%,transparent 70%);background-size:100% 100%,260% 260%;background-position:center,-160% center}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"]::before{background:radial-gradient(210px circle at var(--shine-x,50%) var(--shine-y,35%),#fffbd1a8,transparent 68%),linear-gradient(115deg,transparent 22%,#fff7 43%,#ffe680b8 50%,#ff9d3666 57%,transparent 74%);background-size:100% 100%,250% 250%;background-position:center,-150% center}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="emilia"]::before{background:radial-gradient(260px circle at var(--shine-x,50%) var(--shine-y,32%),#fff 0, #fff9 8%,#ffb9f6aa 20%,transparent 60%),linear-gradient(120deg,transparent 20%,#ffdbf299 34%,#fff 43%,#f78ddcaa 48%,#a58aff88 53%,#72d8ff88 59%,transparent 72%);background-size:100% 100%,280% 280%;background-position:center,-180% center}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="yasuho-hirose"]:hover{transform:translateY(-8px) rotateY(-2deg) rotateX(2deg) scale(1.018);box-shadow:0 18px 40px #000b,0 0 18px #bd74ff88,0 0 38px #bd74ff55}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"]:hover{transform:translateY(-10px) rotateY(-3deg) rotateX(2deg) scale(1.025);box-shadow:0 22px 46px #000c,0 0 24px #ffe14dcc,0 0 58px #ff9d3677}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="emilia"]:hover{transform:translateY(-13px) rotateY(-3deg) rotateX(3deg) scale(1.035);box-shadow:0 28px 58px #000d,0 0 24px #ff4778,0 0 56px #da4fffbb,0 0 100px #8c56ff77;animation:mythic-card-float 1.9s ease-in-out infinite}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="yasuho-hirose"]:hover::before{opacity:.62;animation:epic-foil-sweep 2.7s ease-in-out infinite}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"]:hover::before{opacity:.78;animation:legendary-foil-sweep 2.1s ease-in-out infinite}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="emilia"]:hover::before{opacity:.92;animation:mythic-foil-sweep 1.7s ease-in-out infinite}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"]:hover .mini-art{filter:saturate(1.22) contrast(1.06);box-shadow:inset 0 0 24px #ffda5b77}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="emilia"]:hover .mini-art{filter:saturate(1.3) contrast(1.07);box-shadow:inset 0 0 28px #ff80e388}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="emilia"]:hover .collectible-head>b{text-shadow:0 0 15px #ff9ee8}
}
@keyframes epic-foil-sweep{0%,100%{background-position:center,-160% center}50%{background-position:center,160% center}}
@keyframes legendary-foil-sweep{0%,100%{background-position:center,-150% center;filter:brightness(1)}50%{background-position:center,150% center;filter:brightness(1.25)}}
@keyframes mythic-foil-sweep{0%,100%{background-position:center,-180% center;filter:hue-rotate(-12deg) brightness(1)}50%{background-position:center,180% center;filter:hue-rotate(18deg) brightness(1.35)}}
@keyframes mythic-card-float{0%,100%{transform:translateY(-11px) rotateY(-3deg) rotateX(2deg) scale(1.03)}50%{transform:translateY(-16px) rotateY(3deg) rotateX(-2deg) scale(1.04)}}
@media(prefers-reduced-motion:reduce){:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="yasuho-hirose"],:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"],:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="emilia"]{animation:none!important}:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="yasuho-hirose"]::before,:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"]::before,:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card[data-card-id="emilia"]::before{animation:none!important}}

@media (hover:hover) and (pointer:fine){#card-preview-content .collectible-card[data-card-id="yasuho-hirose"],#card-preview-content .collectible-card[data-card-id="narancia-ghirga"],#card-preview-content .collectible-card[data-card-id="emilia"]{cursor:grab;transform-style:preserve-3d;animation:none;transition:transform .12s linear,box-shadow .2s ease}#card-preview-content .collectible-card[data-card-id="yasuho-hirose"]:hover,#card-preview-content .collectible-card[data-card-id="narancia-ghirga"]:hover,#card-preview-content .collectible-card[data-card-id="emilia"]:hover{transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) rotateZ(var(--tilt-z,0deg)) scale(1.025)}#card-preview-content .collectible-card[data-card-id="emilia"]:hover{box-shadow:0 22px 54px #000d,0 0 26px #ff4778,0 0 62px #da4fffcc,0 0 105px #8c56ff88}}
@media(prefers-reduced-motion:reduce){#card-preview-content .collectible-card[data-card-id="yasuho-hirose"],#card-preview-content .collectible-card[data-card-id="narancia-ghirga"],#card-preview-content .collectible-card[data-card-id="emilia"]{transition:none!important}}

@media (hover:hover) and (pointer:fine){
  #card-preview-content .collectible-card{cursor:grab;transform-style:preserve-3d;animation:none;transition:transform .12s linear,box-shadow .2s ease}
  #card-preview-content .collectible-card:hover{transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) rotateZ(var(--tilt-z,0deg)) scale(1.02)}
  #card-preview-content .collectible-card.rarity-frame-epique::before,#card-preview-content .collectible-card.rarity-frame-legendaire::before,#card-preview-content .collectible-card.rarity-frame-mythique::before{content:"";position:absolute;z-index:5;inset:0;border-radius:inherit;opacity:0;pointer-events:none;mix-blend-mode:screen;transition:opacity .25s ease}
  #card-preview-content .collectible-card.rarity-frame-epique::before{background:radial-gradient(230px circle at var(--shine-x,50%) var(--shine-y,35%),#fff9,transparent 65%),linear-gradient(112deg,transparent 28%,#fff3 42%,#dfb6ff99 50%,#87c9ff66 56%,transparent 70%);background-size:100% 100%,260% 260%;background-position:center,-160% center}
  #card-preview-content .collectible-card.rarity-frame-legendaire::before{background:radial-gradient(250px circle at var(--shine-x,50%) var(--shine-y,35%),#fffbd1b8,transparent 68%),linear-gradient(115deg,transparent 22%,#fff8 43%,#ffe680d0 50%,#ff9d3688 57%,transparent 74%);background-size:100% 100%,250% 250%;background-position:center,-150% center}
  #card-preview-content .collectible-card.rarity-frame-mythique::before{background:radial-gradient(280px circle at var(--shine-x,50%) var(--shine-y,32%),#fff 0,#fff9 8%,#ffb9f6c2 20%,transparent 60%),linear-gradient(120deg,transparent 20%,#ffdbf2aa 34%,#fff 43%,#f78ddccc 48%,#a58affaa 53%,#72d8ff99 59%,transparent 72%);background-size:100% 100%,280% 280%;background-position:center,-180% center}
  #card-preview-content .collectible-card.rarity-frame-epique:hover::before{opacity:.68;animation:epic-foil-sweep 2.7s ease-in-out infinite}
  #card-preview-content .collectible-card.rarity-frame-legendaire:hover::before{opacity:.82;animation:legendary-foil-sweep 2.1s ease-in-out infinite}
  #card-preview-content .collectible-card.rarity-frame-mythique:hover::before{opacity:.95;animation:mythic-foil-sweep 1.7s ease-in-out infinite}
  #card-preview-content .collectible-card.rarity-frame-epique:hover{box-shadow:0 18px 42px #000b,0 0 25px #bd74ffae,0 0 50px #bd74ff66}
  #card-preview-content .collectible-card.rarity-frame-legendaire:hover{box-shadow:0 22px 48px #000c,0 0 30px #ffe14df0,0 0 68px #ff9d3699}
  #card-preview-content .collectible-card.rarity-frame-mythique:hover{box-shadow:0 25px 58px #000d,0 0 28px #ff4778,0 0 64px #da4fffcc,0 0 110px #8c56ff88}
  #card-preview-content .collectible-card[data-card-id="emilia"]:hover{animation:none}
}
@media(prefers-reduced-motion:reduce){#card-preview-content .collectible-card{transition:none!important}#card-preview-content .collectible-card::before{animation:none!important}}

/* Mythic cards: restrained, matte holographic foil that follows the pointer. */
@media (hover:hover) and (pointer:fine){
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique{isolation:isolate;transform-style:preserve-3d}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique::before,
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;opacity:0;transition:opacity .22s ease}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique::before{z-index:5;background:radial-gradient(ellipse 72% 54% at var(--shine-x,50%) var(--shine-y,36%),#fff5, #ff9fc624 28%,transparent 74%),repeating-linear-gradient(118deg,#ffffff12 0 1px,#0000 1px 5px),linear-gradient(132deg,#ff648817,#6bd9f018 48%,#c18cff20);background-size:100% 100%,180% 180%,100% 100%;background-position:center,var(--shine-x,50%) var(--shine-y,36%),center;mix-blend-mode:soft-light}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique::after{z-index:6;background:radial-gradient(farthest-corner circle at var(--shine-x,50%) var(--shine-y,36%),#fff8 0,#ffffff26 17%,transparent 67%),repeating-linear-gradient(54deg,#0000 0 7px,#ffffff18 7px 8px,#0000 9px 15px);mix-blend-mode:overlay}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique:hover::before{opacity:.7}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique:hover::after{opacity:.42}
  :is(#featured-cards,.profile-showcase) .collectible-card.rarity-frame-mythique:hover{animation:none;transform:translateY(-8px) scale(1.022);box-shadow:0 20px 42px #000b,0 0 15px #ff5c7855,0 0 31px #b26cff35}
  #card-preview-content .collectible-card.rarity-frame-mythique{animation:none;transition:transform .12s linear,box-shadow .2s ease}
  #card-preview-content .collectible-card.rarity-frame-mythique:hover{animation:none;transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) rotateZ(var(--tilt-z,0deg)) scale(1.025);box-shadow:0 22px 46px #000c,0 0 17px #ff5c7866,0 0 36px #b26cff44}
}
@media(prefers-reduced-motion:reduce){:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique{animation:none!important;transition:none!important}}

/* Pointer tilt for Epic and Legendary cards in the collection grid. */
@media (hover:hover) and (pointer:fine){
  :is(#featured-cards,.profile-showcase) .collectible-card.rarity-frame-epique,:is(#featured-cards,.profile-showcase) .collectible-card.rarity-frame-legendaire{transform-style:preserve-3d;transition:transform .12s linear,box-shadow .2s ease}
  :is(#featured-cards,.profile-showcase) .collectible-card.rarity-frame-epique:hover,:is(#featured-cards,.profile-showcase) .collectible-card.rarity-frame-legendaire:hover{transform:perspective(850px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) rotateZ(var(--tilt-z,0deg)) translateY(-7px) scale(1.02)}
  :is(#featured-cards,.profile-showcase) .collectible-card.rarity-frame-legendaire:hover{box-shadow:0 18px 40px #000b,0 0 20px #ffe14d88,0 0 42px #ff9d3655}
  :is(#featured-cards,.profile-showcase) .collectible-card.rarity-frame-mythique:hover{animation:mythic-aura 2.8s ease-in-out infinite;transform:perspective(850px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) rotateZ(var(--tilt-z,0deg)) translateY(-8px) scale(1.025)}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique::after{background:radial-gradient(circle at var(--shine-x,50%) var(--shine-y,36%),#fff8 0 1px,transparent 3px),radial-gradient(circle at 12% 13%,#ffe5f5 0 1px,transparent 3px),radial-gradient(circle at 88% 29%,#c9d8ff 0 1px,transparent 3px),radial-gradient(circle at 16% 84%,#fff1c2 0 1px,transparent 3px),radial-gradient(circle at 91% 87%,#ffd4ed 0 1px,transparent 3px),repeating-linear-gradient(54deg,#0000 0 7px,#ffffff18 7px 8px,#0000 9px 15px);background-size:100% 100%,100% 100%,100% 100%,100% 100%,100% 100%,100% 100%;mix-blend-mode:overlay}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique:hover::after{animation:mythic-twinkle 2.4s ease-in-out infinite alternate}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique:hover::before{animation:mythic-matte-glow 3.2s ease-in-out infinite alternate}
  #card-preview-content .collectible-card.rarity-frame-mythique:hover{animation:mythic-aura 2.8s ease-in-out infinite;transform:perspective(900px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) rotateZ(var(--tilt-z,0deg)) scale(1.025)}
}
@keyframes mythic-aura{0%,100%{box-shadow:0 20px 42px #000b,0 0 14px #ff5c7855,0 0 28px #b26cff35}50%{box-shadow:0 22px 46px #000c,0 0 22px #ff739277,0 0 40px #a982ff55,inset 0 0 16px #f3a7ff12}}
@keyframes mythic-twinkle{from{opacity:.3;filter:brightness(.9)}to{opacity:.7;filter:brightness(1.3)}}
@keyframes mythic-matte-glow{from{filter:saturate(1) brightness(1)}to{filter:saturate(1.16) brightness(1.12)}}
@media(prefers-reduced-motion:reduce){:is(#featured-cards,.profile-showcase) .collectible-card.rarity-frame-epique,:is(#featured-cards,.profile-showcase) .collectible-card.rarity-frame-legendaire,:is(#featured-cards,.profile-showcase) .collectible-card.rarity-frame-mythique,#card-preview-content .collectible-card.rarity-frame-mythique{animation:none!important;transition:none!important}:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique::before,:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique::after{animation:none!important}}

/* Slow, soft specular pass over Mythic artwork, layered above the matte foil. */
@media (hover:hover) and (pointer:fine){
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique .mini-art::after{content:"";position:absolute;z-index:4;inset:0;border-radius:inherit;opacity:0;pointer-events:none;background:linear-gradient(116deg,transparent 31%,#fff0 39%,#fff7 47%,#f6dfffaa 50%,#b7e9ff66 54%,transparent 66%);background-size:240% 100%;background-position:-150% center;mix-blend-mode:screen;transition:opacity .35s ease}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique:hover .mini-art::after{opacity:.62;animation:mythic-gloss-pass 6.2s cubic-bezier(.35,.05,.2,1) infinite}
}
@keyframes mythic-gloss-pass{0%,18%{background-position:-150% center}72%,100%{background-position:150% center}}
@media(prefers-reduced-motion:reduce){:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique .mini-art::after{animation:none!important;transition:none!important}}

/* Match the slow foil pass to each rarity's color. */
@media (hover:hover) and (pointer:fine){
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-epique .mini-art::after,
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-legendaire .mini-art::after{content:"";position:absolute;z-index:4;inset:0;border-radius:inherit;opacity:0;pointer-events:none;background-size:240% 100%;background-position:-150% center;mix-blend-mode:screen;transition:opacity .35s ease}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-epique .mini-art::after{background-image:linear-gradient(116deg,transparent 31%,#bd74ff00 39%,#bd74ff70 47%,#f0ddffdc 50%,#b072ff92 54%,transparent 66%)}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-legendaire .mini-art::after{background-image:linear-gradient(116deg,transparent 31%,#f5c51800 39%,#ffd83b86 47%,#fff8cddd 50%,#f2c62fa6 54%,transparent 66%)}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-epique:hover .mini-art::after,
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-legendaire:hover .mini-art::after{opacity:.62;animation:mythic-gloss-pass 6.2s cubic-bezier(.35,.05,.2,1) infinite}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique .mini-art::after{background-image:linear-gradient(116deg,transparent 31%,#ff506e00 39%,#ff506e88 47%,#ffd0d0e0 50%,#ff425db8 54%,transparent 66%)}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique:hover .mini-art::after{opacity:.66}
  :is(#featured-cards,.profile-showcase) .collectible-card[data-card-id="yasuho-hirose"] .mini-art::after,:is(#featured-cards,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"] .mini-art::after{display:none}
}
@media(prefers-reduced-motion:reduce){:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-epique .mini-art::after,:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-legendaire .mini-art::after,:is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique .mini-art::after{animation:none!important;transition:none!important}}

/* Rarity intensity: subtle Epic, medium Legendary, vivid but smooth Mythic. */
@media (hover:hover) and (pointer:fine){
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-epique:hover .mini-art::after{opacity:.22;animation-duration:10.5s}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-legendaire:hover .mini-art::after{opacity:.36;animation-duration:9s}
  :is(#featured-cards,#card-preview-content,.profile-showcase) .collectible-card.rarity-frame-mythique:hover .mini-art::after{opacity:.9;animation-duration:5.4s;filter:saturate(1.25) brightness(1.08)}
}

/* A distinct pointer hotspot in the enlarged card, separate from the foil sweep. */
@media (hover:hover) and (pointer:fine){
  #card-preview-content .collectible-card.rarity-frame-epique::after,#card-preview-content .collectible-card.rarity-frame-legendaire::after{content:"";position:absolute;z-index:8;inset:0;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity .16s ease;mix-blend-mode:screen}
  #card-preview-content .collectible-card.rarity-frame-epique::after{background:radial-gradient(210px circle at var(--shine-x,50%) var(--shine-y,35%),#ffffffc7 0,#d8b1ff66 14%,#b879ff20 34%,transparent 68%)}
  #card-preview-content .collectible-card.rarity-frame-legendaire::after{background:radial-gradient(230px circle at var(--shine-x,50%) var(--shine-y,35%),#fffbd9dc 0,#ffe6808c 14%,#f5c51835 36%,transparent 70%)}
  #card-preview-content .collectible-card.rarity-frame-epique:hover::after,#card-preview-content .collectible-card.rarity-frame-legendaire:hover::after{opacity:.82}
}

/* Keep the two sample cards calm in the grid; their foil is for the opened preview. */
@media (hover:hover) and (pointer:fine){
  :is(#featured-cards,.profile-showcase) .collectible-card[data-card-id="yasuho-hirose"]::before,:is(#featured-cards,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"]::before{display:none}
  :is(#featured-cards,.profile-showcase) .collectible-card[data-card-id="yasuho-hirose"]:hover,:is(#featured-cards,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"]:hover{transform:translateY(-4px);box-shadow:0 15px 36px #0009,0 0 18px color-mix(in srgb,var(--frame) 30%,transparent)}
  :is(#featured-cards,.profile-showcase) .collectible-card[data-card-id="narancia-ghirga"]:hover .mini-art{filter:none;box-shadow:none}
}

/* A lighter matte-gold grain for Legendary cards in the enlarged preview. */
@media (hover:hover) and (pointer:fine){
  #card-preview-content .collectible-card.rarity-frame-legendaire::after{background:radial-gradient(230px circle at var(--shine-x,50%) var(--shine-y,35%),#fffbd9cc 0,#ffe68055 18%,#f5c51818 42%,transparent 70%),repeating-linear-gradient(117deg,#fff4 0 1px,#0000 1px 6px),linear-gradient(132deg,#ffeaa812,#ffffff05 48%,#ffdb7d15);background-size:100% 100%,180% 180%,100% 100%;background-position:var(--shine-x,50%) var(--shine-y,35%),var(--shine-x,50%) var(--shine-y,35%),center;mix-blend-mode:soft-light}
  #card-preview-content .collectible-card.rarity-frame-legendaire:hover::after{opacity:.62}
}

/* Additional thematic booster palettes */
.booster-choice[data-booster="shonen-category"]{--booster-color:#bf7138;--booster-light:#f4bd7b}
.booster-choice[data-booster="isekai"]{--booster-color:#1ca9a5;--booster-light:#81e5df}
.booster-choice[data-booster="seinen"]{--booster-color:#8e96a4;--booster-light:#d8dde6}
.booster-choice[data-booster="shoujo"]{--booster-color:#dc5e9e;--booster-light:#ffadd2}
.booster-choice[data-booster="sport"]{--booster-color:#35a96a;--booster-light:#8de0a9}
.booster-choice[data-booster="mecha"]{--booster-color:#718091;--booster-light:#d4e0eb}
.booster-choice[data-booster="shonen-category"].selected,.booster-choice[data-booster="isekai"].selected,.booster-choice[data-booster="seinen"].selected,.booster-choice[data-booster="shoujo"].selected,.booster-choice[data-booster="sport"].selected,.booster-choice[data-booster="mecha"].selected{border-color:color-mix(in srgb,var(--booster-color) 72%,transparent);background:linear-gradient(140deg,color-mix(in srgb,var(--booster-color) 14%,transparent),transparent);box-shadow:inset 0 0 18px color-mix(in srgb,var(--booster-color) 10%,transparent)}
.booster-panel[data-booster="shonen-category"]{--booster-color:#bf7138;--booster-light:#f4bd7b;background:radial-gradient(ellipse at 51% 44%,#bf71383b,transparent 56%)}
.booster-panel[data-booster="isekai"]{--booster-color:#1ca9a5;--booster-light:#81e5df;background:radial-gradient(ellipse at 51% 44%,#1ca9a53b,transparent 56%)}
.booster-panel[data-booster="seinen"]{--booster-color:#8e96a4;--booster-light:#d8dde6;background:radial-gradient(ellipse at 51% 44%,#8e96a43b,transparent 56%)}
.booster-panel[data-booster="shoujo"]{--booster-color:#dc5e9e;--booster-light:#ffadd2;background:radial-gradient(ellipse at 51% 44%,#dc5e9e3b,transparent 56%)}
.booster-panel[data-booster="sport"]{--booster-color:#35a96a;--booster-light:#8de0a9;background:radial-gradient(ellipse at 51% 44%,#35a96a3b,transparent 56%)}
.booster-panel[data-booster="mecha"]{--booster-color:#718091;--booster-light:#d4e0eb;background:radial-gradient(ellipse at 51% 44%,#7180913b,transparent 56%)}
.pack-opening.theme-shonen-category{--pack:#bf7138;--pack2:#f4bd7b}
.pack-opening.theme-isekai{--pack:#1ca9a5;--pack2:#81e5df}
.pack-opening.theme-seinen{--pack:#8e96a4;--pack2:#d8dde6}
.pack-opening.theme-shoujo{--pack:#dc5e9e;--pack2:#ffadd2}
.pack-opening.theme-sport{--pack:#35a96a;--pack2:#8de0a9}
.pack-opening.theme-mecha{--pack:#718091;--pack2:#d4e0eb}
@media(max-width:620px){.booster-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Readability pass: lift undersized interface copy without changing the visual system. */
.nav-link{font-size:13px}
.button{font-size:13px;padding-block:12px}
.button-small{padding-block:11px}
.eyebrow,.subpage-kicker{font-size:10px}
.hero-social small,.floating-tag small,.stats-strip small,.mini-info small,
.pity-info small,.booster-panel-bottom>div span,.footer>span,.local-note,
.collection-progress small,.visible-count,.spotlight-card-info small,
.leader-placeholder small,.achievement-copy>small,.achievement-state,
.achievement-score small,.achievement-stat small,.achievement-section-heading>span,
.daily-login-head p,.daily-streak-score small,.daily-login-footer>div>small,
.daily-day>small,.card-preview-caption>a,.anilist-credit,.locked-drop-note{font-size:9px}
.strip-note,.mini-art i,.mini-stars,.pity-info b,.booster-panel-bottom>div span,
.album-stats>div>small,.daily-day>span,.collectible-card .owned-count{font-size:9px}
.rarity,.card-name .rarity,.card-index,.card-new-pill,.spotlight-rarity,
.booster-choice>small,.collection-selectors label,.reveal-controls>small,
.swipe-tip,.recap-drop-note{font-size:8px}
.recycle-note{font-size:10px}
.local-note{font-size:9px!important}
.text-link,.inventory-count,.auth-form label,.auth-switch,.inventory-summary,
.empty-state .button,.toast{font-size:11px}
.hero-social strong,.stats-strip b,.mini-info b,.series-progress-row>b,
.series-progress-row .series-progress-info>b,.spotlight-card-info b,
.achievement-copy>b,.series-panel-toggle b,.booster-panel-bottom b{font-size:13px}
.hero-description,.booster-copy>p,.collection-page-heading p,.howto-card p,
.spotlight-empty>small,.empty-state p{font-size:12px}
.search-box input{font-size:11px}
.collection-controls select,.collection-selectors select,.rarity-chip{font-size:10px}
.collection-selectors label{font-size:9px}
.rarity-chip{padding:9px 13px}
.collection-selectors select{padding-block:10px}
.collectible-head>b,.mini-card.collectible-card .collectible-head>b{font-size:12px}
.collectible-series,.collection-grid .collectible-series{font-size:9px}
.collectible-stats{font-size:9px}
.collectible-rarity{font-size:10px}
.rarity-orb{font-size:11px}
.card-preview-card .collectible-head>b{font-size:16px}
.card-preview-card .collectible-series{font-size:13px}
.card-preview-card .collectible-stats,.card-preview-card .collectible-rarity{font-size:12px}
.card-preview-caption>span{font-size:9px}
.series-progress-row>b,.series-progress-row .series-progress-info>b{font-size:10px}
.series-progress-row>small{font-size:11px}
.card-front-face .collectible-series,.card-front-face .collectible-stats{font-size:11px}
.reveal-all,.next-card{font-size:11px}
.compact-card .rarity,.reveal-item .rarity{font-size:7px}
.compact-card.collectible-card .collectible-head>b{font-size:10px}
.compact-card.collectible-card .collectible-stats{font-size:8px}
.recap-card .collectible-head>b{font-size:10px}
.recap-card .collectible-stats{font-size:8px}
.spotlight-controls .button{font-size:11px}
.spotlight-card-info b{font-size:12px}
.leader-placeholder strong{font-size:11px}
.howto-card h3{font-size:14px}
.series-panel-toggle small{font-size:10px}
.site-footer-nav a,.site-footer-nav span{font-size:11px}
.site-footer-bottom p{font-size:11px}
.site-footer-language,.site-footer-meta{font-size:10px}

@media(max-width:620px){
  .nav-link,.button{font-size:12px}
  .rarity-chip{font-size:9px;padding:8px 10px}
  .booster-choice>b{font-size:9px}
  .booster-choice>small{font-size:8px}
  .booster-panel-bottom .button,.booster-panel-bottom b{font-size:10px}
  .daily-day>small{font-size:8px}
  .site-footer-nav a,.site-footer-nav span{font-size:9px}
  .site-footer-bottom p{font-size:10px}
  .reveal-all,.next-card{font-size:10px}
  .recap-card .collectible-head>b{font-size:8px}
  .recap-card .collectible-stats{font-size:7px}
}

/* Multi-pack quantity control and stacked booster preview. */
.booster-section{min-height:410px}
.booster-panel{min-width:0;min-height:410px}
.booster-preview-stack{position:relative;isolation:isolate;width:min(300px,82%);height:255px;display:grid;place-items:center}
.booster-preview-stack .booster-orb{position:relative;z-index:20}
.booster-preview-stack .booster-orb-copy{position:absolute;top:50%;left:50%;z-index:var(--stack-depth,1);margin:0;opacity:0;visibility:hidden;transform:translate(calc(-50% + var(--stack-x)),calc(-50% + var(--stack-y) - 10px)) rotate(var(--stack-rotation)) scale(.92);transition:opacity .24s ease,transform .32s cubic-bezier(.2,.75,.2,1),visibility .24s;pointer-events:none}
.booster-preview-stack .booster-orb-copy.is-active{opacity:.88;visibility:visible;transform:translate(calc(-50% + var(--stack-x)),calc(-50% + var(--stack-y))) rotate(var(--stack-rotation)) scale(.98)}
.booster-stack-count{position:absolute;z-index:25;top:5px;right:calc(50% - 105px);padding:5px 10px;border:1px solid color-mix(in srgb,var(--booster-light) 55%,transparent);border-radius:20px;background:#120f1beF;color:#fff;font:700 11px var(--display);box-shadow:0 0 20px color-mix(in srgb,var(--booster-color) 35%,transparent)}
.booster-panel-bottom{left:16px;right:16px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,42%);align-items:center;gap:14px;padding:12px}
.booster-panel-summary{min-width:0}
.booster-panel-summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.booster-panel-summary>b{font:600 11px var(--display);white-space:normal;overflow-wrap:anywhere}
.booster-economy,.booster-economy>span,.booster-economy>small{min-width:0;max-width:100%}
.booster-economy>span,.booster-economy>small{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.35}
.booster-panel-bottom>.booster-purchase-controls{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;min-width:0;width:auto;gap:7px}
.booster-quantity-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;padding:3px;border:1px solid #ffffff17;border-radius:9px;background:#090811a8}
.booster-quantity-button{min-width:0;padding:6px 4px;border:1px solid transparent;border-radius:6px;background:transparent;color:#aaa1b3;font:700 11px var(--display);cursor:pointer;transition:background .2s,color .2s,border-color .2s,box-shadow .2s}
.booster-quantity-button:hover{color:#fff;background:#ffffff0a}
.booster-quantity-button.selected{border-color:color-mix(in srgb,var(--booster-light) 65%,transparent);background:linear-gradient(130deg,color-mix(in srgb,var(--booster-color) 32%,#21172a),color-mix(in srgb,var(--booster-color) 15%,#12101a));color:#fff;box-shadow:0 0 14px color-mix(in srgb,var(--booster-color) 27%,transparent)}
.booster-purchase-controls>#open-booster{width:100%;max-width:100%;min-width:0;gap:8px;padding:11px 10px;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.25;font-size:11px}
.booster-purchase-controls>#open-booster #open-booster-label{min-width:0;flex:1 1 auto;overflow-wrap:anywhere}
.booster-purchase-controls>#open-booster>[aria-hidden="true"]{flex:0 0 auto}
.booster-purchase-controls>#open-booster span{font-size:inherit;letter-spacing:normal;color:inherit}
.booster-purchase-controls>#open-booster:disabled,.booster-quantity-button:disabled{opacity:.58;cursor:wait}
.booster-panel[data-booster="shonen"],.booster-panel[data-booster="shonen-category"]{--booster-color:#ff9500;--booster-light:#ffc85a}
.booster-panel[data-booster="waifu"]{--booster-color:#ed58ad;--booster-light:#ffafe0}
.booster-panel[data-booster="husbando"]{--booster-color:#438fff;--booster-light:#93d6ff}
.booster-panel[data-booster="isekai"]{--booster-color:#1ca9a5;--booster-light:#81e5df}
.booster-panel[data-booster="seinen"]{--booster-color:#8e96a4;--booster-light:#d8dde6}
.booster-panel[data-booster="shoujo"]{--booster-color:#dc5e9e;--booster-light:#ffadd2}
.booster-panel[data-booster="sport"]{--booster-color:#35a96a;--booster-light:#8de0a9}
.booster-panel[data-booster="mecha"]{--booster-color:#718091;--booster-light:#d4e0eb}

/* Compact multi-open recap; only its presentation is sorted. */
.sequence-recap-stage{width:100%;max-height:min(82vh,820px);display:flex;flex-direction:column;gap:10px;text-align:left}
.sequence-recap-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:3px 2px 12px;border-bottom:1px solid #ffffff16}
.sequence-recap-heading h2{margin:5px 0;font:700 clamp(25px,4vw,36px) var(--display)}
.sequence-recap-heading p{margin:0;color:#b5acbf;font-size:12px}
.sequence-recap-scroll{min-height:0;max-height:58vh;overflow:auto;overscroll-behavior:contain;padding:1px 4px 6px 1px}
.sequence-recap-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:start;gap:10px}
.sequence-recap-card{min-width:0;position:relative}
.sequence-recap-badge-slot{position:relative;z-index:5;height:22px;display:flex;align-items:flex-start;justify-content:center;padding-top:2px}
.sequence-recap-card .sequence-recap-badge-slot .card-new-pill{position:relative;top:auto;left:auto;transform:none;z-index:5}
.sequence-recap-card .collectible-card.is-full-art .collectible-head{top:22px}
.sequence-recap-card.is-high-rarity .collectible-card{filter:drop-shadow(0 5px 13px color-mix(in srgb,var(--frame,#bd64ed) 32%,transparent))}
.sequence-recap-card .collectible-card{height:100%;padding:6px}
.sequence-recap-card .collectible-head>b{font-size:10px}
.sequence-recap-card .collectible-head{min-height:25px;padding-bottom:5px}
.sequence-recap-card .mini-art.card-artwork{height:auto;aspect-ratio:.92}
.sequence-recap-card .collectible-details{gap:4px;padding:6px 1px 1px}
.sequence-recap-card .collectible-series{font-size:8px}
.sequence-recap-card .collectible-stats{font-size:8px;padding:5px}
.sequence-recap-actions{flex:none;margin-top:0}
.sequence-recap-stage>.recap-drop-note{flex:none;margin:0;max-width:none}
.reveal-progress-meter{width:min(150px,28vw);height:8px;flex:none;overflow:hidden;margin-right:auto;border-radius:8px;background:#ffffff18}
.reveal-progress-meter>i{display:block;width:var(--progress);height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--pack),var(--pack2));transition:width .24s ease}
@media(max-width:900px){.sequence-recap-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.booster-panel-bottom{left:14px;right:14px}.booster-panel-summary>b{font-size:10px}}
@media(max-width:620px){
  .booster-section,.booster-panel{min-height:420px}
  .booster-panel-bottom{left:9px;right:9px;bottom:12px;gap:8px;padding:9px}
  .booster-panel-summary>span{font-size:7px}
  .booster-panel-summary>b{font-size:9px;white-space:normal}
  .booster-panel-bottom{grid-template-columns:minmax(0,1fr) minmax(0,45%)}
  .booster-panel-bottom>.booster-purchase-controls{width:auto;gap:6px}
  .booster-quantity-selector{gap:3px}
  .booster-quantity-button{padding:6px 2px;font-size:10px}
  .booster-purchase-controls>#open-booster{padding:10px 6px;font-size:10px;gap:5px}
  .booster-preview-stack{width:94%;height:260px}
  .booster-stack-count{right:calc(50% - 100px)}
  .sequence-recap-stage{max-height:78vh;gap:8px}
  .sequence-recap-heading{align-items:flex-start;flex-direction:column;gap:10px}
  .sequence-recap-scroll{max-height:55vh}
  .sequence-recap-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .sequence-recap-card .collectible-card{padding:6px}
  .sequence-recap-card .collectible-head>b{font-size:9px}
  .sequence-recap-card .collectible-series{font-size:7px}
  .sequence-recap-card .collectible-stats{font-size:7px;padding:5px}
  .sequence-recap-actions{flex-wrap:wrap}
  .sequence-recap-actions .button{flex:1;min-width:140px}
}

/* Skip navigation stays compact, clear and thumb-friendly beside reveal-all. */
.card-reveal-stage .reveal-controls{width:min(560px,100%)}
.reveal-controls .skip-rarity{min-height:38px;padding:8px 11px;font-size:10px;white-space:nowrap}
@media(max-width:620px){.card-reveal-stage .reveal-controls{width:100%;flex-wrap:wrap}.reveal-controls .skip-rarity{min-height:38px;padding:8px 10px}}

/* Compact server-synced Hikarites and free-opening menu in the navigation. */
.resource-anchor{position:relative;z-index:12;display:flex;align-items:center}
.resource-toggle{display:flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:7px 10px;border:1px solid #ffffff18;border-radius:12px;background:linear-gradient(145deg,#171321,#100e19);color:#eee7f5;cursor:pointer;white-space:nowrap;box-shadow:inset 0 1px #ffffff08;transition:border-color .2s,background .2s,box-shadow .2s}
.resource-toggle:hover,.resource-toggle[aria-expanded="true"]{border-color:#bd70e864;background:linear-gradient(145deg,#21162a,#12101a);box-shadow:0 0 20px #a34ad01c,inset 0 1px #ffffff0a}
.resource-toggle-free,.resource-toggle-balance{display:flex;align-items:center;gap:6px;font:600 11px var(--display);font-variant-numeric:tabular-nums}
.resource-toggle-free{color:#d8b1f3}
.resource-toggle-free>b{color:#f2ecf7}
.resource-toggle-balance{color:#f2a9da}
.resource-toggle-balance>i,.resource-balance-row i{color:#f2a9da;font-style:normal}
.resource-toggle-divider{width:1px;height:19px;background:#ffffff1a}
.resource-toggle-chevron{margin-left:1px;color:#91869e;font-size:13px;transition:transform .2s}
.resource-toggle[aria-expanded="true"] .resource-toggle-chevron{transform:rotate(180deg)}
.resource-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:20;width:min(340px,calc(100vw - 24px));max-height:min(70vh,440px);overflow:auto;padding:18px;border:1px solid #a760fa55;border-radius:15px;background:#15101f;box-shadow:0 22px 65px #000b,0 0 30px #9c50d21c;backdrop-filter:blur(18px);}
.resource-popover[hidden],.resource-progress[hidden],.resource-reset-note[hidden],.booster-economy-status[hidden]{display:none!important}
.resource-popover-heading{display:flex;align-items:center;justify-content:space-between;padding-bottom:13px;border-bottom:1px solid #ffffff12}
.resource-popover-heading .eyebrow{font-size:8px}
.resource-popover-heading h2{margin:4px 0 0;font:700 15px var(--display);letter-spacing:.06em}
.resource-heading-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid #cf7deb48;border-radius:11px;background:linear-gradient(145deg,#9b4fd52b,#ed70b51c);color:#efb2f1;font-size:17px}
.resource-account-state{margin:12px 0;color:#a9a1b1;font-size:10px;line-height:1.5}
.resource-free-block{padding:13px 12px;border:1px solid #ffffff10;border-radius:11px;background:#ffffff04}
.resource-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#c7bfce;font-size:11px}
.resource-row>b{flex:none;color:#f4edf8;font:700 12px var(--display);font-variant-numeric:tabular-nums}
.resource-progress{height:6px;margin-top:10px;border-radius:8px;background:#ffffff12;overflow:hidden}
.resource-progress>span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,#9d59ed,#e969b9);box-shadow:0 0 12px #bb5ad768;transition:width .35s ease}
.resource-reset-note{display:block;margin-top:8px;color:#92899b;font-size:9px;line-height:1.4}
.resource-balance-row{margin-top:13px;padding:2px 1px}
.resource-balance-row>b{font-size:14px;color:#f0b2dc}
.resource-price-note{margin-top:13px;padding-top:11px;border-top:1px solid #ffffff12;color:#9c93a4;font-size:10px}
.resource-price-note>b{color:#e5c7f0;font-weight:600}
.booster-economy-status{color:#ff9b9b!important;line-height:1.4}
.booster-economy-status.is-insufficient{display:block}
@media(max-width:850px){.topbar{padding-left:4%;padding-right:4%}.main-nav{gap:14px}.nav-link{font-size:11px}.resource-toggle{gap:7px;padding:7px 8px}.top-actions{gap:7px}}
@media(min-width:621px) and (max-width:700px){.main-nav{display:none;position:absolute;top:77px;left:0;right:0;padding:16px 5%;background:#100e18;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:16px}.main-nav.nav-open{display:flex}.menu-toggle{display:block}}
@media(max-width:620px){.topbar{padding:0 10px;gap:5px}.brand{gap:7px;font-size:16px}.brand-mark{width:28px;height:28px}.top-actions{gap:5px}.top-actions .button-small{font-size:9px;padding:8px 7px;gap:4px}.resource-toggle{min-height:36px;gap:6px;padding:6px 8px;border-radius:10px}.resource-toggle-free,.resource-toggle-balance{gap:4px;font-size:10px}.resource-toggle-divider{height:16px}.resource-toggle-chevron{display:none}.resource-popover{top:calc(100% + 8px);width:min(330px,calc(100vw - 20px));padding:16px}.resource-popover-heading h2{font-size:14px}}
@media(max-width:360px){.topbar{padding:0 4px;gap:3px}.brand{font-size:14px;gap:5px}.brand-mark{width:26px;height:26px}.resource-toggle{gap:4px;padding:5px}.resource-toggle-free,.resource-toggle-balance{font-size:8px}.notification-toggle{flex-basis:32px;width:32px;height:32px}.top-actions .button-small{font-size:7px;padding:6px 4px;gap:2px}}

/* Server-backed notifications control and responsive dropdown. */
.notification-anchor{position:relative;z-index:13;display:flex;align-items:center}
.notification-toggle{position:relative;display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;padding:0;border:1px solid #ffffff1a;border-radius:11px;background:linear-gradient(145deg,#171321,#100e19);color:#d9c7e7;cursor:pointer;transition:border-color .2s,background .2s,box-shadow .2s}
.notification-toggle:hover,.notification-toggle[aria-expanded="true"]{border-color:#b86be66b;background:linear-gradient(145deg,#21162a,#12101a);box-shadow:0 0 18px #a34ad01c}
.notification-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.notification-badge{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border:2px solid #0b0911;border-radius:10px;background:linear-gradient(135deg,#b777ff,#e56ac2);color:#fff;font:700 9px var(--display);line-height:1;box-shadow:0 2px 8px #a852e94d}
.notification-badge[hidden],.notification-popover[hidden],.notifications-state[hidden],.notification-unread-dot[hidden]{display:none!important}
.notification-toggle.is-arriving{animation:notification-nudge .62s ease}
@keyframes notification-nudge{0%,100%{transform:rotate(0)}18%{transform:rotate(12deg)}38%{transform:rotate(-10deg)}58%{transform:rotate(7deg)}78%{transform:rotate(-4deg)}}
.notification-popover{position:absolute;top:calc(100% + 10px);right:0;z-index:21;display:flex;flex-direction:column;width:min(370px,calc(100vw - 24px));max-height:min(74vh,510px);overflow:hidden;padding:16px;border:1px solid #a760fa55;border-radius:15px;background:#15101f;box-shadow:0 22px 65px #000b,0 0 30px #9c50d21c}
.notifications-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding-bottom:13px;border-bottom:1px solid #ffffff12}
.notifications-heading .eyebrow{font-size:8px}
.notifications-heading h2{margin:4px 0 0;font:700 15px var(--display);letter-spacing:.06em}
.notifications-mark-read{flex:none;border:1px solid #b56ae542;border-radius:8px;background:#a960fa12;color:#d9b8ec;padding:7px 9px;font-size:9px;font-weight:600;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.notifications-mark-read:hover:not(:disabled){border-color:#bd78ec88;background:#a960fa22;color:#fff}
.notifications-mark-read:disabled{opacity:.48;cursor:default}
.notifications-state{padding:20px 8px;text-align:center;color:#aaa1b2;font-size:11px;line-height:1.5}
.notifications-list{min-height:0;overflow:auto;overscroll-behavior:contain;display:grid;gap:7px;padding-top:10px}
.notification-item{position:relative;display:grid;grid-template-columns:32px minmax(0,1fr) 7px;align-items:start;gap:10px;padding:11px 10px;border:1px solid #ffffff0e;border-radius:11px;background:#ffffff04}
.notification-item.is-unread{border-color:#b66be329;background:linear-gradient(110deg,#a960fa0d,#e66abe08)}
.notification-item-icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid #bd72eb35;border-radius:9px;background:#a960fa13;color:#e1b8f4;font-size:14px}
.notification-item-copy{min-width:0;display:grid;gap:4px}
.notification-item-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#bf8edf;font-size:8px;font-weight:700;letter-spacing:.04em}
.notification-item-meta time{flex:none;color:#8e8498;font-size:8px;font-weight:400;letter-spacing:0}
.notification-item-copy>b{color:#f1eaf6;font:600 11px var(--display);overflow-wrap:anywhere}
.notification-item-copy>p{margin:0;color:#aaa1b1;font-size:10px;line-height:1.45;overflow-wrap:anywhere}
.notification-unread-dot{width:7px;height:7px;margin-top:3px;border-radius:50%;background:#d179f2;box-shadow:0 0 9px #bb68ed80}
@media(max-width:620px){.notification-popover{top:calc(100% + 8px);width:min(370px,calc(100vw - 20px));max-height:min(74vh,calc(100dvh - 82px));padding:14px}.notifications-heading h2{font-size:14px}.notifications-mark-read{padding:7px 8px;font-size:8px}.notification-item{gap:8px;padding:10px 8px}}
@media(prefers-reduced-motion:reduce){.notification-toggle.is-arriving{animation:none}}
/* Player profile */
[hidden]{display:none!important}
.profile-page{padding-bottom:70px}
.profile-banner{padding:24px 30px;border:1px solid #a760fa44;border-radius:18px;background:radial-gradient(ellipse at top right,#e85bb630,transparent 65%),linear-gradient(130deg,#25103e,#12101e);margin:20px 0}
.profile-banner h1{font:700 36px var(--display);margin:8px 0}.profile-banner h1 span{color:var(--pink)}.profile-banner p{margin:0;color:var(--muted)}
.profile-panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:24px;margin:20px 0}.profile-panel h2{margin:0 0 18px}
.profile-identity{display:flex;align-items:flex-start;gap:24px}.profile-identity-copy{flex:1;min-width:0;padding-top:3px}
.profile-avatar-button{position:relative;background:none;padding:0;border:0;border-radius:50%;cursor:pointer;flex-shrink:0;color:var(--text)}
.profile-avatar{width:100px;height:100px;border:3px solid var(--purple);border-radius:50%;overflow:hidden;display:grid;place-items:center;font-size:30px;background:#21162f}.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-avatar-pencil{position:absolute;right:0;bottom:1px;width:29px;height:29px;border:1px solid #b881f4;border-radius:50%;display:grid;place-items:center;background:#30203f;color:#f3d5ff;opacity:0;transform:translateY(3px);transition:opacity .18s,transform .18s}
.profile-avatar-button:hover .profile-avatar-pencil,.profile-avatar-button:focus-visible .profile-avatar-pencil{opacity:1;transform:translateY(0)}
.profile-inline-row{display:flex;align-items:center;gap:8px;margin-bottom:10px;min-width:0}.profile-inline-row h2{font:700 24px var(--display);margin:0;overflow-wrap:anywhere}.profile-inline-row p{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:#c0b6cc}.profile-title-row{color:var(--pink);font-size:12px;margin-bottom:0}
.profile-pencil{display:inline-grid;place-items:center;flex-shrink:0;width:28px;height:28px;border:1px solid transparent;border-radius:7px;background:transparent;color:#a999bb;cursor:pointer;font-size:18px;transition:background .18s,color .18s,border-color .18s}.profile-pencil:hover{color:#f3b1e0;background:#a760fa16;border-color:#a760fa44}
.profile-page button:focus-visible{outline:2px solid var(--pink);outline-offset:3px}.profile-page button:disabled{opacity:.45;cursor:wait}
.profile-inline-editor{max-width:540px;margin:0 0 15px}.profile-inline-editor label,.profile-avatar-dialog label{display:block;font-weight:600;margin-bottom:8px}.profile-inline-editor small,.profile-panel small,.profile-rarities{color:var(--muted)}.profile-inline-editor small{display:block;margin-top:7px;line-height:1.5}
.profile-page input,.profile-page textarea,.profile-page select{width:100%;background:#090811;color:var(--text);padding:10px 12px;border:1px solid #a760fa55;border-radius:8px;font:inherit}.profile-page textarea{resize:vertical}.profile-page input:focus,.profile-page textarea:focus,.profile-page select:focus{outline:2px solid var(--purple)}
.profile-editor-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.profile-inline-editor p{line-height:1.6;color:var(--muted);font-size:12px}
.profile-avatar-dialog{width:min(440px,calc(100vw - 30px));background:var(--panel)}.profile-avatar-dialog .profile-avatar{margin:18px auto}.profile-avatar-dialog p{line-height:1.6;color:var(--muted)}.profile-avatar-dialog #profile-avatar-status{color:var(--pink);font-size:12px}
.profile-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.profile-stats>div{min-width:0}.profile-stats b{overflow-wrap:anywhere}.profile-stats b{display:block;font:700 30px var(--display);color:var(--pink)}.profile-rarities{margin-top:22px;line-height:1.8;overflow-wrap:anywhere}
.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-section-heading h2{margin:0}.profile-section-heading h2 small{font-size:13px;font-weight:400}#profile-showcase-help{color:var(--muted);line-height:1.6}
.profile-showcase{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.profile-slot{min-width:0;padding:10px;border:1px solid var(--line);border-radius:12px;background:#15121f}.profile-card-art{aspect-ratio:3/4;border-radius:8px;overflow:hidden;display:grid;place-items:center;color:var(--purple);background:#21162f}.profile-card-art img{width:100%;height:100%;object-fit:cover}.profile-slot-name{display:block;margin:10px 0 5px;font-size:12px;overflow-wrap:anywhere}.profile-slot small{font-size:11px}.profile-slot label{display:flex;flex-direction:column;gap:8px;margin:14px 0;font-size:12px}.profile-slot button{padding:8px 15px;background:#352046;color:white;border:1px solid #a760fa66;border-radius:6px;cursor:pointer}.profile-slot button:disabled{opacity:.3;cursor:default}.profile-slot select{font-size:12px}
.profile-page #profile-status{line-height:1.6;min-height:22px}
@media(hover:none),(pointer:coarse){.profile-avatar-pencil{opacity:1;transform:none}}
@media(max-width:800px){.profile-showcase{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stats b{font-size:clamp(20px,5vw,30px)}.profile-banner{padding:20px}.profile-banner h1{font-size:30px}.profile-panel{padding:18px}.profile-identity{gap:14px}.profile-avatar{width:76px;height:76px}.profile-inline-row h2{font-size:20px}.top-actions #login-open{display:inline-flex}.profile-section-heading{align-items:flex-start;flex-wrap:wrap}.profile-inline-editor{max-width:100%}}
@media(max-width:420px){.profile-identity{flex-wrap:wrap}.profile-identity-copy{flex-basis:calc(100% - 100px)}.profile-inline-row{gap:4px}.profile-pencil{width:25px;height:25px}.profile-editor-actions .button{padding:10px}.profile-showcase{gap:9px}.profile-slot{padding:7px}.profile-slot button{padding:8px 12px}}
/* PLUS disclosure and future feature pages */
.nav-more{display:flex;align-items:center;flex-shrink:0}.more-toggle{display:inline-flex;align-items:center;gap:7px;padding:8px 0;border:0;background:none;cursor:pointer;font-weight:600;letter-spacing:.06em}.more-toggle:hover,.more-toggle.is-active,.more-toggle[aria-expanded=true]{color:var(--pink)}.more-chevron{transition:transform .18s}.more-toggle[aria-expanded=true] .more-chevron{transform:rotate(180deg)}
.more-menu{position:fixed;z-index:1000;list-style:none;margin:0;padding:8px;overflow-y:auto;overscroll-behavior:contain;border:1px solid #a760fa55;border-radius:14px;background:#15101ff5;box-shadow:0 18px 60px #000a,0 0 24px #a760fa12;backdrop-filter:blur(18px)}.more-menu:not([hidden]){animation:more-appear .14s ease-out}.more-menu li{margin:0;padding:0}.more-menu-link{display:flex;align-items:center;gap:13px;min-height:44px;padding:11px 13px;border-radius:8px;color:#ddd5e8;text-decoration:none;font-size:13px;transition:background .15s,color .15s}.more-menu-link:hover,.more-menu-link[aria-current=page]{background:#a760fa1c;color:#f3b2dc}.more-menu-icon{display:grid;place-items:center;width:27px;height:27px;flex-shrink:0;border-radius:7px;background:#ffffff06;font-size:17px}.more-toggle:focus-visible,.more-menu-link:focus-visible{outline:2px solid var(--pink);outline-offset:2px}
@keyframes more-appear{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.upcoming-page{padding-bottom:70px}.upcoming-hero{display:flex;align-items:flex-start;gap:25px;margin:24px 0;padding:32px;border:1px solid #a760fa3b;border-radius:20px;background:radial-gradient(ellipse at top right,#d658a91f,transparent 65%),linear-gradient(130deg,#20132f,#100e19)}.upcoming-icon{display:grid;place-items:center;width:68px;height:68px;flex-shrink:0;border:1px solid #a760fa40;border-radius:18px;background:#a760fa16;font-size:32px}.upcoming-badge{display:inline-block;border:1px solid #d26cba40;border-radius:20px;padding:5px 10px;color:#e7a1d0;background:#d26cba0a;font-size:10px;font-weight:600;letter-spacing:.06em}.upcoming-hero h1{margin:12px 0;font:700 clamp(28px,4vw,42px) var(--display)}.upcoming-hero h2{margin:0 0 12px;font:500 18px var(--display)}.upcoming-page p{color:var(--muted);line-height:1.8;max-width:700px}.upcoming-features{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:16px}.upcoming-features article,.upcoming-panel{padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--panel)}.upcoming-features h2,.upcoming-panel h2{font:600 18px var(--display)}.upcoming-features .eyebrow{font-size:9px}.upcoming-panel{margin-top:24px}.upcoming-form{max-width:680px}.upcoming-form>label,.upcoming-form legend{display:block;font-weight:600;font-size:12px;margin:18px 0 10px}.upcoming-form input[type=text],.upcoming-form textarea{width:100%;min-width:0;border:1px solid #a760fa45;border-radius:9px;background:#090811;color:var(--text);padding:12px;font:inherit}.upcoming-form textarea{resize:vertical}.upcoming-form textarea:focus-visible,.upcoming-form input:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.upcoming-form fieldset{padding:0;border:0;margin:0}.feedback-choice{display:inline-flex;align-items:center;gap:8px;margin:0 18px 10px 0;color:#c6b9d3}.feedback-choice input{accent-color:var(--purple)}.gift-code-row{display:flex;align-items:center;gap:12px}.gift-code-row .button{flex-shrink:0}.upcoming-form>.button{margin-top:16px}.upcoming-form :disabled{opacity:.5;cursor:not-allowed}.upcoming-form .button:disabled:hover{transform:none;filter:none}.upcoming-footer{display:flex;align-items:center;flex-wrap:wrap;gap:24px;margin-top:28px}
@media(max-width:1000px){.main-nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 90px);overflow-y:auto;padding:18px 5%;background:#100e18;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start;gap:16px}.main-nav.nav-open{display:flex}.menu-toggle{display:block}.nav-more{width:100%}.more-toggle{min-height:36px}}
@media(max-width:620px){.upcoming-hero{padding:22px;gap:16px;flex-direction:column}.upcoming-icon{width:52px;height:52px;font-size:26px;border-radius:14px}.upcoming-hero h2{font-size:16px}.upcoming-panel,.upcoming-features article{padding:20px}.gift-code-row{align-items:stretch;flex-direction:column}.feedback-choice{display:flex}.upcoming-footer{gap:18px}}
@media(prefers-reduced-motion:reduce){.more-menu:not([hidden]){animation:none}.more-chevron,.more-menu-link{transition:none}}
/* Align PLUS from its text edge; only shift left when the viewport requires it. */
@supports (anchor-name: --hikari-more) and (left: anchor(--hikari-more left)) {
  #more-toggle{anchor-name:--hikari-more}
  #more-menu{left:clamp(12px,anchor(--hikari-more left),calc(100vw - min(270px,calc(100vw - 24px)) - 12px))!important}
}
/* Server-confirmed gift code feedback */
.gift-page .upcoming-form{max-width:720px}.gift-status{min-height:24px;margin:18px 0 0}.gift-page .gift-status[data-kind=error]{color:#f2a0b8}.gift-page .gift-status[data-kind=success]{color:#e6b6ff}.gift-reward{display:inline-flex;margin-top:16px;padding:14px 22px;border:1px solid #bb73ec66;border-radius:12px;background:linear-gradient(120deg,#a760fa1a,#f26bb81a);color:#efc9ff;font:700 clamp(20px,4vw,28px) var(--display);overflow-wrap:anywhere}.gift-page .gift-refresh-note{font-size:12px}.gift-page .gift-code-row{align-items:stretch}.gift-page #gift-code:disabled{opacity:.55}.gift-page #gift-submit:disabled{cursor:not-allowed}.gift-page #gift-submit{min-height:44px}
@media(max-width:620px){.gift-page .gift-reward{max-width:100%;padding:14px 16px}.gift-page .gift-code-row{flex-direction:column}}
/* Permanent leaderboards: real players only, shared server snapshots. */
.leaderboard-page{padding-bottom:70px}.leaderboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.leaderboard-heading h1{font:700 clamp(30px,4.5vw,44px) var(--display);margin:0 0 12px}.leaderboard-heading h1 span{color:var(--pink)}.leaderboard-heading p,.leaderboard-refresh-note,.leaderboard-help{color:var(--muted);line-height:1.7}.leaderboard-refresh-note{font-size:11px;white-space:nowrap}.leaderboard-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.leaderboard-tabs{display:flex;gap:6px;overflow-x:auto;max-width:100%;padding:3px}.leaderboard-tabs button{flex-shrink:0;min-height:44px;padding:11px 16px;border:1px solid transparent;border-radius:9px;background:transparent;color:#a89bb9;font:600 12px var(--font);cursor:pointer;white-space:nowrap}.leaderboard-tabs button[aria-selected=true]{background:linear-gradient(120deg,#a760fa22,#f26bb81a);border-color:#b771e54d;color:#f3d4ef}.leaderboard-tabs button:hover{color:#fff;background-color:#a760fa12}.leaderboard-tabs button:focus-visible,.leaderboard-page button:focus-visible{outline:2px solid var(--pink);outline-offset:1px}.leaderboard-filter{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted)}.leaderboard-filter select{max-width:100%;padding:10px;background:#100c19;border:1px solid #a760fa40;border-radius:8px;color:var(--text);font:inherit}.leaderboard-help{font-size:12px}.leaderboard-help a{color:var(--pink)}.leaderboard-meta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px}.leaderboard-meta p{max-width:800px;color:var(--muted);font-size:12px;line-height:1.7}.leaderboard-meta .button{flex-shrink:0}.leaderboard-status{min-height:24px;color:#dcb7f1;font-size:13px;line-height:1.7}
.leaderboard-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;gap:18px;margin:32px auto;max-width:950px}.leaderboard-podium-card{display:flex;flex-direction:column;align-items:center;position:relative;min-width:0;min-height:260px;text-align:center;padding:25px 18px 22px;border:1px solid #786552;border-radius:18px;background:linear-gradient(180deg,#302016,#100e19);box-shadow:0 15px 40px #0002}.podium-rank-1{grid-column:2;grid-row:1;min-height:300px;border-color:#ccab5766;background:linear-gradient(180deg,#48382077,#100e19)}.podium-rank-2{grid-column:1;grid-row:1;min-height:270px;border-color:#b7b9ce55;background:linear-gradient(180deg,#30334188,#100e19)}.podium-rank-3{grid-column:3;grid-row:1;border-color:#bb845655;background:linear-gradient(180deg,#422b2088,#100e19)}.leaderboard-medal{font-size:28px;margin-bottom:12px}.leaderboard-avatar{display:grid;place-items:center;flex-shrink:0;width:44px;height:44px;overflow:hidden;border:1px solid #a760fa55;border-radius:50%;background:#281a38;color:#c996ff;font:700 20px var(--display)}.leaderboard-avatar img{width:100%;height:100%;object-fit:cover}.leaderboard-podium .leaderboard-avatar{width:70px;height:70px;border:2px solid #d0ac6e80}.leaderboard-podium h2{font:600 17px var(--display);margin:14px 0 8px;max-width:100%;overflow-wrap:anywhere}.leaderboard-score{font:700 21px var(--display);white-space:nowrap;color:#efc9ff}.leaderboard-podium .leaderboard-score{margin:10px 0}.podium-rank-1 .leaderboard-score{color:#f1d68c}.podium-rank-2 .leaderboard-score{color:#d5d9eb}.podium-rank-3 .leaderboard-score{color:#dca679}.leaderboard-you{font:600 10px var(--font);color:var(--pink)}.leaderboard-progress{display:block;width:100%;height:6px;max-width:320px;border:0;border-radius:8px;background:#ffffff12;overflow:hidden;margin:10px 0}.leaderboard-progress::-webkit-progress-bar{background:#ffffff12;border-radius:8px}.leaderboard-progress::-webkit-progress-value{background:linear-gradient(90deg,var(--purple),var(--pink));border-radius:8px}.leaderboard-progress::-moz-progress-bar{background:linear-gradient(90deg,var(--purple),var(--pink));border-radius:8px}.leaderboard-score-detail{display:block;color:var(--muted);font-size:10px;line-height:1.6}.leaderboard-list-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:32px}.leaderboard-list-heading h2{font:600 20px var(--display)}.leaderboard-list-heading>span{color:var(--muted);font-size:11px}.leaderboard-list{list-style:none;padding:0;margin:12px 0;display:grid;gap:9px}.leaderboard-row{display:flex;align-items:center;gap:16px;padding:18px;border:1px solid var(--line);border-radius:13px;background:var(--panel)}.leaderboard-row.is-me{border-color:#c977db66;background:linear-gradient(110deg,#a760fa16,#f26bb80b)}.leaderboard-rank{width:44px;flex-shrink:0;color:#aaa0b8;font:600 16px var(--display)}.leaderboard-player{flex:1;min-width:0}.leaderboard-player>b{display:block;font-weight:600;overflow-wrap:anywhere}.leaderboard-own{margin-top:30px;padding:22px;border:1px solid #bb73e54d;border-radius:17px;background:linear-gradient(120deg,#a760fa0d,#f26bb807)}.leaderboard-own h2{font:600 21px var(--display);margin:9px 0 18px}.leaderboard-own p{font-size:13px;color:var(--muted)}
@media(max-width:700px){.leaderboard-heading{align-items:flex-start;flex-direction:column;gap:3px}.leaderboard-controls{gap:12px}.leaderboard-tabs{width:100%}.leaderboard-filter{width:100%;justify-content:space-between}.leaderboard-meta{align-items:flex-start}.leaderboard-podium{gap:8px;margin:24px 0}.leaderboard-podium-card{padding:18px 8px;min-height:220px;border-radius:12px}.podium-rank-1{min-height:255px}.podium-rank-2{min-height:235px}.leaderboard-podium .leaderboard-avatar{width:52px;height:52px}.leaderboard-podium h2{font-size:13px}.leaderboard-score{font-size:17px}.leaderboard-podium .leaderboard-score{font-size:16px}.leaderboard-score-detail{font-size:9px}.leaderboard-row{padding:14px 12px;gap:10px}.leaderboard-rank{width:32px;font-size:13px}.leaderboard-avatar{width:36px;height:36px}.leaderboard-row .leaderboard-score{font-size:15px}.leaderboard-own{padding:16px}.leaderboard-row .leaderboard-score-detail{font-size:10px}.leaderboard-player>b{font-size:12px}}
@media(max-width:400px){.leaderboard-meta{flex-wrap:wrap;gap:0}.leaderboard-podium .leaderboard-avatar{width:43px;height:43px}.leaderboard-podium h2{font-size:11px}.leaderboard-podium .leaderboard-score{font-size:14px}.leaderboard-row{flex-wrap:wrap}.leaderboard-row .leaderboard-player{flex-basis:calc(100% - 100px)}.leaderboard-row>.leaderboard-score{margin-left:auto}.leaderboard-list-heading h2{font-size:16px}}
/* Friends: private relationships, public aliases only. */
.friends-page{padding-bottom:70px}.friends-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0}.friends-heading h1{font:700 clamp(30px,4.5vw,44px) var(--display);margin:0 0 12px}.friends-heading h1 span{color:var(--pink)}.friends-heading p,.friends-help{color:var(--muted);line-height:1.7}.friends-help{font-size:12px}.friends-page #friends-status{color:#dcbaf3;min-height:22px;line-height:1.6}.friends-page #friends-status[data-kind=error]{color:#f0a3ba}.friends-page #friends-status[data-kind=success]{color:#ddbcff}.friends-panel{padding:24px;margin:20px 0;border:1px solid var(--line);border-radius:17px;background:var(--panel)}.friends-panel h2{font:600 20px var(--display);margin:0 0 18px}.friends-panel h2>span{margin-left:8px;color:var(--pink);font-size:13px}.friends-search-row{display:flex;gap:12px}.friends-search-row input{flex:1;min-width:0;background:#090811;color:var(--text);border:1px solid #a760fa55;border-radius:9px;padding:12px;font:inherit}.friends-page label{display:block;font-weight:600;margin-bottom:9px;font-size:12px}.friends-page input:focus-visible,.friends-page button:focus-visible{outline:2px solid var(--pink);outline-offset:3px}.friends-page button:disabled{opacity:.45;cursor:wait;transform:none;filter:none}.friends-requests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.friends-requests .friends-panel{margin:0}.friends-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px}.friend-card{display:flex;align-items:center;flex-wrap:wrap;gap:12px;min-width:0;padding:15px;border:1px solid #a760fa25;border-radius:12px;background:#161020}.friend-avatar{display:grid;place-items:center;width:46px;height:46px;flex-shrink:0;border:1px solid #aa6fe65c;border-radius:50%;overflow:hidden;background:#2c1b3c;color:#d09af5;font-size:22px}.friend-avatar img{width:100%;height:100%;object-fit:cover}.friend-name{flex:1;min-width:0;overflow-wrap:anywhere}.friend-name b{font:600 14px var(--display)}.friend-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.friend-actions .button{font-size:11px;padding:9px 12px;min-height:36px}.friend-badge{font-size:10px;color:#bd97d3}.friends-empty{font-size:13px;color:var(--muted);line-height:1.7}.friends-panel>[id^=friends-more],#friends-search-more{margin-top:16px}.friends-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px}.friends-section-heading h2{margin-bottom:0}.friends-section-heading{margin-bottom:18px}.friends-section-heading .text-link{font-size:12px}.friends-page #friends-search-status{color:var(--muted);font-size:12px;line-height:1.6}
@media(max-width:700px){.friends-requests{grid-template-columns:1fr;gap:0}.friends-requests .friends-panel{margin:0 0 18px}.friends-heading{align-items:flex-start;flex-wrap:wrap}.friends-panel{padding:18px}.friends-section-heading{align-items:flex-start;flex-wrap:wrap}.friends-grid{grid-template-columns:1fr}.friend-actions{margin-left:auto}}
@media(max-width:420px){.friends-search-row{flex-direction:column}.friend-card{padding:12px}.friend-actions{width:100%;margin-left:0}.friend-actions .button{flex:1}.friends-heading .button{padding:10px 12px}}
/* Friend notification destinations: native links, keyboard focus and reduced motion. */
.notification-friend-link{color:inherit;text-decoration:none}
.friend-profile-name{color:inherit;text-decoration:none;overflow-wrap:anywhere}
.friend-profile-name:hover{color:#efa4e0;text-decoration:underline}
.friend-profile-avatar{display:block;border-radius:12px}
.friend-profile-avatar:focus-visible,.friend-profile-name:focus-visible{outline:2px solid #ed94dc;outline-offset:4px}
.public-player-page{max-width:1000px}
.public-player-back{display:inline-block;margin-bottom:24px}
.public-player-page h1{margin:0}
.public-player-page #public-profile-content{display:grid;gap:20px}
.public-player-page #public-profile-content[hidden]{display:none}
.public-player-identity{display:flex;align-items:center;gap:24px}
.public-player-identity h2{font-size:clamp(24px,5vw,38px);overflow-wrap:anywhere;margin:8px 0}
.public-player-identity>div:last-child{min-width:0}
.public-player-identity p,.public-player-showcase p{color:#c3afce}
.public-player-avatar{display:grid;place-items:center;flex:none;width:100px;height:130px;border:1px solid #d27bef66;border-radius:16px;overflow:hidden;background:#311a43;color:#eda7e5;font-size:36px}
.public-player-avatar img{width:100%;height:100%;object-fit:cover}
.public-player-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.public-player-stats>div{padding:18px;border:1px solid #d27bef26;border-radius:12px;background:#ffffff03}
.public-player-stats dt{font-size:13px;color:#c3afce}
.public-player-stats dd{margin:12px 0 0;font-size:clamp(18px,3vw,26px);color:#f2c2ed;overflow-wrap:anywhere}
@media(max-width:600px){.public-player-stats{grid-template-columns:1fr}.public-player-stats>div{padding:14px}.public-player-identity{gap:14px}.public-player-avatar{width:72px;height:96px}}
.notification-friend-link::after{content:"";position:absolute;inset:0;border-radius:inherit}
.notification-item:has(.notification-friend-link):hover{border-color:#dc8cff80}
.notification-friend-link:focus-visible{outline:2px solid #ed94dc;outline-offset:3px}
.friends-page h2[id]{scroll-margin-top:110px}
.friend-notification-target{scroll-margin-top:110px;animation:friend-notification-glow 5s ease-out}
@keyframes friend-notification-glow{0%,45%{outline:2px solid #ed94dc;box-shadow:0 0 22px #b05ef755;background:#412044}100%{outline:2px solid transparent;box-shadow:none}}
@media(prefers-reduced-motion:reduce){.friend-notification-target{animation:none;outline:2px solid #ed94dc}}
/* Public profiles from every leaderboard view. */
.leaderboard-profile-avatar{display:inline-flex;justify-self:center;border-radius:14px;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.leaderboard-profile-name{display:inline-flex;align-items:center;min-height:36px;max-width:100%;color:inherit;text-decoration:none;overflow-wrap:anywhere;cursor:pointer;transition:color .18s ease}
.leaderboard-profile-avatar:hover{transform:translateY(-2px);box-shadow:0 0 16px #d47bf455}
.leaderboard-profile-name:hover{color:#efa4e0;text-decoration:underline}
.leaderboard-profile-avatar:focus-visible,.leaderboard-profile-name:focus-visible{outline:2px solid #ed94dc;outline-offset:4px}
@media(pointer:coarse){.leaderboard-profile-name{min-height:44px}.leaderboard-profile-avatar{min-width:44px;min-height:44px;align-items:center}}
@media(prefers-reduced-motion:reduce){.leaderboard-profile-avatar,.leaderboard-profile-name{transition:none}.leaderboard-profile-avatar:hover{transform:none}}
.public-player-showcase .profile-showcase[hidden]{display:none}

/* Collection cards: give the anime title the space previously used by POW/AURA. */
.collection-grid .collectible-card .collectible-stats{display:contents}
.collection-grid .collectible-card .collectible-stats>span:not(.owned-count){display:none}
.collection-grid .mini-card.collectible-card .collectible-series{display:block;min-width:0;font-size:14px;font-weight:600;line-height:1.4;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
.collection-grid .collectible-card .collectible-details{gap:8px}
@media(max-width:620px){.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.collection-grid .mini-card.collectible-card .collectible-series{font-size:13px;line-height:1.4}}

/* Locked collection cards: keep the mystery on the illustration, not the metadata. */
.collection-grid .collectible-card.is-locked .collectible-details{filter:none;opacity:1}
.collection-grid .collectible-card.is-locked .collectible-series{color:#d8d1e2}
.collection-grid .collectible-card.is-locked .collectible-rarity{color:var(--frame);line-height:1.35}
.collection-grid .collectible-card.is-locked .locked-drop-note{margin:0;padding:0;font-size:9px;line-height:1.35}
.collection-grid .collectible-card.is-locked{border-color:transparent;background:linear-gradient(155deg,#28262d,#15141a 52%) padding-box,var(--rarity-gradient) border-box}
.collection-grid .collectible-card.is-locked.rarity-frame-divin{--frame:#e79abd}
.collection-grid .collectible-card.is-locked.rarity-frame-mythique{--frame:#ff506e}
.collection-grid .collectible-card.is-locked.rarity-frame-legendaire{--frame:#f2c62f}
.collection-grid .collectible-card.is-locked.rarity-frame-epique{--frame:#bd74ff}
.collection-grid .collectible-card.is-locked.rarity-frame-rare{--frame:#4b9fff}
.collection-grid .collectible-card.is-locked.rarity-frame-peu-commune{--frame:#43ce91}
.collection-grid .collectible-card.is-locked.rarity-frame-commun{--frame:#c8c9ce}
.collection-grid .collectible-card.is-locked:not(.is-full-art){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto 1fr}
.collection-grid .collectible-card.is-locked:not(.is-full-art)>.collectible-head{grid-column:1;grid-row:1}
.collection-grid .collectible-card.is-locked:not(.is-full-art)>.mini-art{grid-column:1;grid-row:2}
.collection-grid .collectible-card.is-locked:not(.is-full-art)>.collectible-details{grid-column:1;grid-row:3}
.collection-grid .collectible-card.is-locked:not(.is-full-art)>.locked-question{grid-column:1;grid-row:2;position:relative;top:auto;left:auto;transform:none;align-self:center;justify-self:center}
.collection-grid .collectible-card.is-locked.is-full-art>.locked-question{top:40%}
/* End locked collection card adjustments. */

/* Compact collection metadata: intrinsic card heights, readable rarity and in-flow counts. */
.collection-grid>.collectible-card{align-self:start}
.collection-grid .mini-card.collectible-card .collectible-details{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:6px;row-gap:5px}
.collection-grid .collectible-card .collectible-series{grid-column:1/-1;grid-row:1}
.collection-grid .collectible-card .collectible-rarity{grid-column:1;grid-row:2;align-self:center;text-align:left;font-size:13px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;padding:0}
.collection-grid .collectible-card .owned-count{grid-column:2;grid-row:2;position:static;align-self:center;margin-left:0;white-space:nowrap}
.collection-grid .collectible-card.is-locked .collectible-rarity{grid-column:1/-1}
.collection-grid .collectible-card.is-locked .locked-drop-note{grid-column:1/-1;grid-row:3;text-align:left;font-size:11px;line-height:1.35}
/* End compact collection metadata. */

/* Equal collection dimensions, based on the normal Mythic illustration proportions. */
.collection-grid{--collection-title-line:19.6px}
.collection-grid .mini-card.collectible-card:not(.is-full-art){display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:30px auto auto}
.collection-grid .mini-card.collectible-card:not(.is-full-art)>.collectible-head{grid-column:1;grid-row:1}
.collection-grid .mini-card.collectible-card:not(.is-full-art)>.mini-art{grid-column:1;grid-row:2}
.collection-grid .mini-card.collectible-card:not(.is-full-art)>.collectible-details{grid-column:1;grid-row:3}
.collection-grid .mini-card.collectible-card .collectible-details{grid-template-rows:calc(2 * var(--collection-title-line)) 36.4px 14.85px}
.collection-grid .mini-card.collectible-card .collectible-series{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;text-overflow:ellipsis;max-height:calc(2 * var(--collection-title-line));line-height:var(--collection-title-line)}
.collection-grid .mini-card.collectible-card.is-full-art{display:block;height:auto;min-height:0;aspect-ratio:auto}
.collection-grid .mini-card.collectible-card.is-full-art::before{content:"";display:block;aspect-ratio:.92;margin:38px 8px 0}
.collection-grid .mini-card.collectible-card.is-full-art>.collectible-details{position:relative;bottom:auto;padding:8px 10px 9px}
@media(max-width:620px){.collection-grid{--collection-title-line:18.2px}}
/* End equal collection dimensions. */
/* Owned-card avatar picker; personal profile only. */
.profile-avatar-dialog{width:min(800px,calc(100vw - 24px));max-width:800px;height:min(850px,90dvh);max-height:90dvh;overflow:hidden;overscroll-behavior:contain;padding:20px}
.profile-avatar-dialog[open]{display:flex;flex-direction:column}
.profile-avatar-dialog>h2{flex:none;margin:0;font-size:24px}
.profile-avatar-dialog>p{flex:none;margin:6px 0 12px;font-size:12px}
#profile-avatar-form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}
.avatar-picker-header{flex:none}
.avatar-picker-selection{display:flex;align-items:center;justify-content:center;gap:18px}
.profile-avatar-dialog #profile-avatar-preview{border-radius:50%;width:76px;height:76px;margin:0;overflow:hidden;flex:none}
.avatar-picker-filters{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:12px}
.avatar-picker-filters label{display:grid;gap:8px;min-width:0;font-size:13px}
.avatar-picker-filters input,.avatar-picker-filters select{width:100%;min-width:0;padding:10px;border:1px solid #a760fa55;border-radius:8px;background:#191323;color:#eee}
.avatar-picker-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-content:start;flex:1;min-height:0;gap:12px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:5px;scrollbar-gutter:stable}
.profile-avatar-dialog .avatar-picker-footer{position:sticky;bottom:0;z-index:1;flex:none;margin-top:10px;padding:10px 2px 0;border-top:1px solid var(--line);background:var(--panel)}
.avatar-picker-footer .button{min-height:42px}
.profile-avatar-dialog .avatar-picker-footer #profile-avatar-status{flex-basis:100%;margin:0;line-height:1.3;overflow-wrap:anywhere}
.avatar-picker-footer #profile-avatar-status:empty{display:none}
.avatar-choice{position:relative;min-width:0;display:grid;gap:7px;padding:8px;text-align:left;border:2px solid #ffffff15;border-radius:12px;background:#15121f;color:#eee;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.avatar-choice b{font-size:12px;overflow-wrap:anywhere}.avatar-choice small{font-size:11px;color:#cbb8d8}
.avatar-choice:hover{border-color:#c78af4}.avatar-choice.is-selected{border-color:#b671ff;box-shadow:0 0 14px #a760fa44}
.avatar-choice-check{position:absolute;top:12px;right:12px;display:none;place-items:center;width:24px;height:24px;border-radius:50%;background:#974cdb;color:white}
.avatar-choice.is-selected .avatar-choice-check{display:grid}
.avatar-choice:focus-visible{outline:2px solid #f29bda;outline-offset:2px}
#profile-avatar-none[aria-pressed=true]{border-color:#b671ff;background:#a760fa22}
#profile-avatar-results{flex:none;font-size:12px;color:#cbb8d8;margin:8px 0}
@media(max-width:600px){.avatar-picker-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-avatar-dialog{padding:14px}.avatar-picker-filters{gap:8px}.avatar-picker-filters label{font-size:11px}.avatar-picker-filters input,.avatar-picker-filters select{font-size:12px}.profile-avatar-dialog .profile-editor-actions{flex-wrap:wrap}}
@media(max-height:600px){.profile-avatar-dialog{padding:10px}.profile-avatar-dialog>h2{font-size:20px;margin-bottom:8px}.profile-avatar-dialog>p{display:none}.profile-avatar-dialog #profile-avatar-preview{width:48px;height:48px}.avatar-picker-filters{margin-top:6px}.avatar-picker-filters label{gap:3px;margin-bottom:0}.avatar-picker-filters input,.avatar-picker-filters select{padding:7px}.profile-avatar-dialog .avatar-picker-footer{margin-top:6px;padding-top:6px}#profile-avatar-results{margin:5px 0}}
@media(max-height:500px) and (min-width:500px){.avatar-picker-header{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:center;gap:12px}.avatar-picker-selection{gap:8px}.avatar-picker-selection .button{font-size:11px;padding:8px}.avatar-picker-filters{margin-top:0}}
@media(prefers-reduced-motion:reduce){.avatar-choice{transition:none}}
/* Editable showcase uses the existing owned-card picker. */
.profile-slot .profile-showcase-pick{position:relative;display:block;width:100%;padding:0;border:0;border-radius:8px;background:#21162f;text-align:inherit;cursor:pointer}
.profile-showcase-pick .profile-card-art{font-size:13px;text-align:center;padding:0}
.profile-slot .profile-showcase-pick:hover{outline:2px solid var(--purple);outline-offset:2px}
.profile-slot .profile-showcase-pick:focus-visible{outline:2px solid var(--pink);outline-offset:3px}
.profile-showcase-edit-hint{position:absolute;right:7px;bottom:7px;display:grid;place-items:center;width:26px;height:26px;border:1px solid #cc9bf488;border-radius:50%;background:#21162fe6;color:#edd5ff;opacity:.6;transition:opacity .15s}
.profile-showcase-pick:hover .profile-showcase-edit-hint,.profile-showcase-pick:focus-visible .profile-showcase-edit-hint{opacity:1}
.avatar-choice:disabled{cursor:not-allowed;opacity:.45}
@media(hover:none){.profile-showcase-edit-hint{opacity:1}}
@media(prefers-reduced-motion:reduce){.profile-showcase-edit-hint{transition:none}}
/* Showcase dimensions stay independent from Collection card layouts. */
.profile-showcase .showcase-card{position:relative;isolation:isolate;transition:transform .22s,border-color .22s,box-shadow .22s}
.profile-showcase .showcase-card>.rarity-orb{position:absolute;top:15px;right:15px;width:22px;z-index:9;pointer-events:none}
.profile-showcase .profile-card-art{position:relative;height:auto;aspect-ratio:3/4;overflow:hidden}
.profile-showcase .showcase-card .collectible-rarity{font-size:13px;line-height:1.4;padding:0}
@media(max-width:420px){.profile-showcase .showcase-card>.rarity-orb{top:12px;right:12px}}
@media(prefers-reduced-motion:reduce){.profile-showcase .showcase-card,.profile-showcase .showcase-card::before,.profile-showcase .showcase-card::after,.profile-showcase .showcase-card .mini-art::after{animation:none!important;transition:none!important}.profile-showcase .showcase-card:hover{transform:none!important}}
/* Shared card preview: showcase navigation and viewport fitting only. */
.profile-showcase [data-showcase-preview]{cursor:zoom-in}
.profile-showcase [data-showcase-preview]:focus-visible{outline:2px solid var(--pink);outline-offset:4px}
.card-preview-modal[data-preview-mode=showcase]{height:min(880px,94dvh);max-height:94dvh;overflow:hidden;padding:12px 16px}
.card-preview-modal[data-preview-mode=showcase][open]{display:flex;flex-direction:column}
.card-preview-modal[data-preview-mode=showcase] .modal-close-row{flex:none;margin:0 0 4px}
.card-preview-modal[data-preview-mode=showcase] #card-preview-content{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;min-width:0;overflow:hidden;padding:8px;touch-action:pan-y}
.card-preview-fit{flex:none;width:330px;transform:scale(var(--preview-scale,1));transform-origin:center}
.card-preview-fit .card-preview-caption>b{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.card-preview-fit .collectible-stats{display:none}
.card-preview-navigation{display:flex;align-items:center;justify-content:center;gap:16px;flex:none;min-height:48px;padding-top:8px}
.card-preview-navigation[hidden],.card-preview-navigation button[hidden]{display:none}
.card-preview-navigation .button{min-width:44px;min-height:44px}
@media(prefers-reduced-motion:reduce){.card-preview-fit .collectible-card,.card-preview-fit .collectible-card::before,.card-preview-fit .collectible-card::after,.card-preview-fit .mini-art::after{animation:none!important;transition:none!important}.card-preview-fit .collectible-card:hover{transform:none!important}}
.collection-sort-notice{margin:10px 0 16px;color:var(--muted);font-size:12px;line-height:1.5}
/* Private feedback and administration. Shared HIKARI colors, no game layout changes. */
.feedback-page{max-width:850px}.feedback-form{display:grid;gap:10px}.feedback-form label{font-weight:600;margin-top:8px}.feedback-form small{color:var(--muted)}
.feedback-form input,.feedback-form select,.feedback-form textarea,.admin-filters select,.admin-message select{max-width:100%;min-width:0;padding:12px;border:1px solid var(--line);border-radius:9px;background:var(--panel2);color:var(--text);font:inherit}
.feedback-form textarea{resize:vertical}.feedback-form .button{justify-self:start;margin-top:12px}.feedback-form :disabled{opacity:.55;cursor:default}
.admin-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:24px}.admin-filters label{display:grid;gap:8px}.admin-messages{display:grid;gap:18px;margin-bottom:20px}
.admin-message{min-width:0;padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--panel)}.admin-message-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:12px}.admin-message h2{font-size:18px;overflow-wrap:anywhere}.admin-message-description{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:var(--text)}.admin-message-actions{display:flex;gap:12px;align-items:end;justify-content:space-between;flex-wrap:wrap;margin-top:18px}.admin-message-actions label{display:grid;gap:6px;font-size:12px}#admin-delete-title{overflow-wrap:anywhere}
.feedback-form :focus-visible,.admin-page select:focus-visible{outline:2px solid var(--purple);outline-offset:2px}
@media(max-width:600px){.admin-filters{display:grid;grid-template-columns:1fr 1fr}.admin-filters .button{grid-column:1/-1}.admin-message{padding:16px}.admin-message-actions{align-items:stretch}.admin-message-actions label{flex:1}.feedback-page .friends-panel{padding:18px}}
@media(max-width:360px){body:has(.feedback-page,.admin-page) .topbar{padding-inline:12px}body:has(.feedback-page,.admin-page) .topbar>.brand{gap:0}body:has(.feedback-page,.admin-page) .topbar>.brand>span:last-child{display:none}}

/* Password recovery: shared dialog and isolated reset page. */
.forgot-password{justify-self:end;font-size:12px;margin-top:-3px}.forgot-password[hidden]{display:none}.recovery-dialog{max-height:90dvh;overflow-y:auto}.recovery-dialog .auth-notice{font-size:12px;line-height:1.65;overflow-wrap:anywhere}.password-reset-page{min-height:100dvh;display:grid;place-items:center;padding:24px 16px;background:radial-gradient(ellipse at top,color-mix(in srgb,var(--purple) 20%,transparent),transparent 65%),var(--bg)}.password-reset-panel{width:min(100%,460px);border:1px solid var(--line);border-radius:20px;padding:32px;background:var(--panel);box-shadow:0 20px 90px var(--bg)}.password-reset-panel>.brand{margin-bottom:30px}.password-reset-panel h1{font:600 clamp(26px,6vw,34px)/1.15 var(--display);letter-spacing:-.04em}.password-reset-panel .auth-notice{font-size:12px;line-height:1.7;overflow-wrap:anywhere}.password-reset-panel input,.recovery-dialog input{min-width:0;width:100%;font-size:16px}.password-reset-panel .text-link{display:inline-block;padding-block:10px}.password-reset-panel button:disabled{opacity:.55;cursor:default}@media(max-width:400px){.password-reset-panel{padding:24px 20px}}@media(prefers-reduced-motion:reduce){.password-reset-page .button,.recovery-dialog .button{transition:none}}
