
:root{
    --bg:#070a12;
    --panel:#131829;
    --panel2:#191f34;
    --text:#f5f7ff;
    --muted:#aeb7cf;
    --soft:#79839b;
    --line:rgba(255,255,255,.11);
    --green:#48f28d;
    --green2:#1fb66b;
    --purple:#8b45ff;
    --purple2:#5534bf;
    --red:#ff4b5f;
    --orange:#ff9c2e;
    --blue:#39bfff;
    --yellow:#ffd64d;
    --radius:24px;
}
*{box-sizing:border-box}
html{scrollbar-color:rgba(139,69,255,.8) rgba(8,12,22,.95);scrollbar-width:thin;scroll-behavior:smooth}
body{
    margin:0;
    min-height:100vh;
    font-family:Arial,Helvetica,sans-serif;
    color:var(--text);
    background:
        radial-gradient(circle at 8% 8%,rgba(72,242,141,.18),transparent 18rem),
        radial-gradient(circle at 85% 14%,rgba(139,69,255,.25),transparent 22rem),
        linear-gradient(135deg,#071111 0%,#070a16 52%,#15122c 100%);
    overflow-x:hidden;
}
::-webkit-scrollbar{width:11px;height:11px}
::-webkit-scrollbar-track{background:rgba(8,12,22,.85);border-radius:999px}
::-webkit-scrollbar-thumb{background:linear-gradient(180deg,var(--purple),var(--green2));border-radius:999px;border:2px solid rgba(8,12,22,.85)}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
.site-ambient{position:fixed;filter:blur(90px);opacity:.45;pointer-events:none;z-index:-1;border-radius:999px}
.ambient-a{width:420px;height:420px;background:rgba(72,242,141,.22);left:-140px;top:-100px}
.ambient-b{width:460px;height:460px;background:rgba(139,69,255,.25);right:-100px;bottom:-100px}
.site-header{
    position:sticky;top:0;z-index:50;
    display:flex;align-items:center;justify-content:space-between;
    gap:18px;
    padding:16px clamp(18px,4vw,56px);
    background:rgba(7,10,18,.76);
    border-bottom:1px solid var(--line);
    backdrop-filter:blur(18px);
}
.site-brand img{width:230px;max-width:58vw;display:block}
.site-nav{display:flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.site-nav a{
    color:#dce4f7;
    padding:10px 12px;
    border-radius:12px;
    font-weight:900;
    font-size:14px;
}
.site-nav a:hover,.site-nav a.is-active{background:linear-gradient(135deg,rgba(85,52,191,.85),rgba(139,69,255,.85));color:#fff}
.nav-toggle{display:none;border:1px solid var(--line);background:rgba(255,255,255,.07);color:#fff;border-radius:12px;width:46px;height:46px}
.container{width:min(1220px,calc(100vw - 36px));margin:0 auto}
.hero{padding:70px 0 38px}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:36px;align-items:center}
.eyebrow{
    display:inline-flex;gap:8px;align-items:center;
    padding:9px 13px;
    border:1px solid rgba(72,242,141,.35);
    background:rgba(72,242,141,.10);
    color:#baffcf;
    border-radius:999px;
    text-transform:uppercase;
    letter-spacing:.08em;
    font-size:12px;
    font-weight:1000;
}
h1,h2,h3{letter-spacing:-.045em}
h1{font-size:clamp(48px,7.5vw,92px);line-height:.92;margin:22px 0 20px}
.lead{font-size:clamp(18px,2vw,23px);line-height:1.65;color:#cbd5eb;max-width:780px}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.btn{
    display:inline-flex;align-items:center;justify-content:center;gap:10px;
    min-height:50px;padding:0 18px;border:0;border-radius:14px;
    font-weight:1000;cursor:pointer;transition:.18s ease;
}
.btn:hover{transform:translateY(-2px);filter:brightness(1.07)}
.btn-green{background:linear-gradient(135deg,#32db71,#6df7a8);color:#04120a}
.btn-purple{background:linear-gradient(135deg,#6c38db,#a06bff);color:#fff}
.btn-dark{background:rgba(255,255,255,.08);color:#fff;border:1px solid var(--line)}
.hero-panel,.card,.feature,.timeline-item{
    border:1px solid var(--line);
    background:linear-gradient(155deg,rgba(24,30,50,.86),rgba(11,15,26,.82));
    border-radius:var(--radius);
    box-shadow:0 16px 46px rgba(0,0,0,.24);
}
.hero-panel{padding:18px;position:relative;overflow:hidden}
.hero-panel img{width:100%;display:block;border-radius:20px}
.hero-panel:after{
    content:"";
    position:absolute;inset:18px;border-radius:20px;
    box-shadow:inset 0 0 70px rgba(139,69,255,.22);
    pointer-events:none;
}
.stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:28px}
.stat{padding:18px;border:1px solid var(--line);background:rgba(255,255,255,.055);border-radius:18px}
.stat strong{display:block;font-size:27px;margin-bottom:8px}
.stat span{color:#aeb8d1;text-transform:uppercase;font-size:11px;letter-spacing:.08em;font-weight:1000}
.section{padding:52px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}
.section-head h2{font-size:clamp(32px,4.5vw,56px);margin:0}
.section-head p{color:#b9c3db;line-height:1.6;max-width:660px;margin:10px 0 0}
.grid{display:grid;gap:18px}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.card,.feature{padding:24px}
.card h3,.feature h3{margin:0 0 10px;font-size:24px}
.card p,.feature p{color:#b8c2da;line-height:1.6;margin:0}
.icon{
    width:54px;height:54px;border-radius:18px;
    display:grid;place-items:center;
    background:linear-gradient(135deg,rgba(72,242,141,.18),rgba(139,69,255,.22));
    border:1px solid rgba(255,255,255,.10);
    margin-bottom:16px;font-size:25px;
}
.badge{
    display:inline-flex;align-items:center;gap:7px;
    padding:8px 11px;border-radius:999px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.07);
    font-weight:1000;font-size:12px;color:#eaf0ff;
}
.badge.green{background:rgba(72,242,141,.12);border-color:rgba(72,242,141,.36);color:#a3ffc4}
.badge.purple{background:rgba(139,69,255,.15);border-color:rgba(139,69,255,.40);color:#dbcaff}
.badge.orange{background:rgba(255,156,46,.13);border-color:rgba(255,156,46,.36);color:#ffc989}
.callout{
    border:1px solid rgba(72,242,141,.35);
    background:
        radial-gradient(circle at 18% 10%,rgba(72,242,141,.16),transparent 12rem),
        linear-gradient(145deg,rgba(18,25,40,.9),rgba(10,13,23,.9));
    border-radius:30px;
    padding:30px;
}
.callout h2{font-size:40px;margin:0 0 12px}
.callout p{color:#c6d0e8;line-height:1.7;font-size:17px}
.showcase-img{width:100%;border-radius:24px;border:1px solid var(--line);background:rgba(255,255,255,.04)}
.list{display:grid;gap:12px}
.list-item{
    display:grid;grid-template-columns:auto 1fr;
    gap:14px;
    padding:16px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.045);
    border-radius:18px;
}
.list-item strong{display:block;margin-bottom:5px}
.list-item span{color:#b6c0d7;line-height:1.55}
.page-hero{padding:54px 0 26px}
.page-hero h1{font-size:clamp(44px,6vw,76px)}
.timeline{display:grid;gap:16px}
.timeline-item{padding:22px;display:grid;grid-template-columns:120px 1fr;gap:22px}
.timeline-item strong{color:#48f28d}
.form-card{padding:28px}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.form-row{display:flex;flex-direction:column;gap:9px}
.form-row.span-2{grid-column:span 2}
label{font-weight:900;color:#edf2ff}
input,select,textarea{
    width:100%;
    min-height:52px;
    padding:0 15px;
    color:#fff;
    background:rgba(7,10,18,.9);
    border:1px solid rgba(255,255,255,.13);
    border-radius:14px;
    outline:none;
}
textarea{min-height:150px;padding-top:14px;resize:vertical;line-height:1.55}
input:focus,select:focus,textarea:focus{border-color:rgba(72,242,141,.85);box-shadow:0 0 0 4px rgba(72,242,141,.10)}
.checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.check{
    display:flex;align-items:center;gap:10px;
    padding:12px;border:1px solid var(--line);
    background:rgba(255,255,255,.045);
    border-radius:14px;
}
.check input{width:18px;min-height:18px}
.dev-extra{display:none}
.dev-extra.is-visible{display:grid}
.honeypot{position:absolute;left:-9999px;opacity:0}
.toast-stack{position:fixed;right:22px;top:86px;z-index:100;display:flex;flex-direction:column;gap:12px;width:min(390px,calc(100vw - 44px))}
.toast{
    border-radius:18px;padding:15px 16px;border:1px solid var(--line);
    background:rgba(18,23,39,.97);box-shadow:0 18px 45px rgba(0,0,0,.45);
    display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;
}
.toast.success{border-color:rgba(72,242,141,.45)}
.toast.danger{border-color:rgba(255,75,95,.55)}
.toast-icon{width:32px;height:32px;border-radius:11px;display:grid;place-items:center;font-weight:1000;background:rgba(72,242,141,.16);color:#8dffb5}
.toast.danger .toast-icon{background:rgba(255,75,95,.14);color:#ff9aa5}
.toast p{margin:0;color:#c2cbdf;font-size:13px}
.toast strong{display:block;margin-bottom:3px}
.toast button{border:0;background:transparent;color:#aeb8d0;cursor:pointer;font-size:18px}
.site-footer{
    width:min(1220px,calc(100vw - 36px));
    margin:40px auto 22px;
    border:1px solid var(--line);
    background:rgba(11,15,26,.72);
    border-radius:24px;
    padding:22px;
    display:flex;align-items:center;justify-content:space-between;gap:20px;
}
.site-footer p{color:#aeb8d2;margin:7px 0 0}
.footer-links{display:flex;gap:14px;flex-wrap:wrap}
.footer-links a{color:#b8c2da;font-weight:900}
@media (max-width:1000px){
    .hero-grid,.grid-4,.grid-3,.grid-2{grid-template-columns:1fr}
    .stat-row{grid-template-columns:1fr 1fr}
    .site-nav{
        display:none;position:absolute;top:100%;left:18px;right:18px;
        padding:14px;background:#11182d;border:1px solid var(--line);border-radius:18px;
        align-items:stretch;flex-direction:column;
    }
    .site-nav.is-open{display:flex}
    .nav-toggle{display:block}
    .timeline-item{grid-template-columns:1fr}
}
@media (max-width:650px){
    .site-brand img{width:190px}
    .hero{padding-top:38px}
    .stat-row,.form-grid,.checkbox-grid{grid-template-columns:1fr}
    .form-row.span-2{grid-column:span 1}
    .site-footer{flex-direction:column;align-items:flex-start}
}


/* v1.1 contact spacing and official morph roster */
.contact-layout{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
    gap:28px;
    align-items:start;
}
.contact-layout .form-card{
    width:100%;
    padding:34px;
}
.contact-layout .side-stack{
    display:grid;
    gap:18px;
    min-width:0;
}
.contact-layout input,
.contact-layout select,
.contact-layout textarea{
    min-width:0;
}
.dev-extra{
    width:100%;
}
.dev-extra.is-visible{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}
.skills-field{
    grid-column:span 2;
}
.skills-field .checkbox-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.official-morph-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}
.official-morph-card{
    overflow:hidden;
    padding:0;
}
.official-morph-card .morph-image-wrap{
    aspect-ratio:1/1;
    background:radial-gradient(circle at 50% 35%,rgba(139,69,255,.35),transparent 55%),#06070d;
    border-bottom:1px solid var(--line);
    overflow:hidden;
}
.official-morph-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.official-morph-content{
    padding:18px;
}
.official-morph-content h3{
    margin:8px 0 8px;
}
.rank-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:38px;
    height:38px;
    border-radius:14px;
    background:linear-gradient(135deg,var(--green),var(--purple));
    color:#08100c;
    font-weight:1000;
    margin-right:10px;
}
.roster-note{
    margin-top:16px;
    color:#b9c3db;
    line-height:1.65;
}
@media (max-width:1100px){
    .contact-layout{
        grid-template-columns:1fr;
    }
    .official-morph-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width:650px){
    .contact-layout .form-card{
        padding:22px;
    }
    .dev-extra.is-visible,
    .skills-field .checkbox-grid{
        grid-template-columns:1fr;
    }
    .skills-field{
        grid-column:span 1;
    }
    .official-morph-grid{
        grid-template-columns:1fr;
    }
}


/* v1.2 hype, cleaner morph image framing and content expansion */
.official-morph-card .morph-image-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:7%;
}
.official-morph-card img{
    width:86%;
    height:86%;
    object-fit:contain;
    border-radius:18px;
    filter:drop-shadow(0 18px 26px rgba(0,0,0,.45));
}
.hype-banner{
    border:1px solid rgba(72,242,141,.36);
    background:
        radial-gradient(circle at 16% 20%,rgba(72,242,141,.18),transparent 14rem),
        radial-gradient(circle at 78% 28%,rgba(139,69,255,.30),transparent 16rem),
        linear-gradient(135deg,rgba(21,28,48,.96),rgba(8,11,22,.94));
    border-radius:32px;
    padding:clamp(24px,4vw,42px);
    overflow:hidden;
    position:relative;
}
.hype-banner:after{
    content:"COMING 2027";
    position:absolute;
    right:-12px;
    bottom:10px;
    font-size:clamp(46px,9vw,118px);
    font-weight:1000;
    letter-spacing:-.08em;
    color:rgba(255,255,255,.035);
    pointer-events:none;
}
.hype-banner h2{
    font-size:clamp(36px,5vw,66px);
    margin:10px 0 14px;
}
.hype-banner p{
    color:#cbd5eb;
    line-height:1.7;
    font-size:18px;
    max-width:880px;
}
.loop-grid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:14px;
}
.loop-step{
    border:1px solid var(--line);
    background:rgba(255,255,255,.05);
    border-radius:20px;
    padding:18px;
}
.loop-step strong{
    display:block;
    font-size:24px;
    margin-bottom:8px;
}
.loop-step span{
    color:#aeb8d2;
    line-height:1.55;
}
.dev-pitch{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
    margin-top:18px;
}
.detail-panel{
    border:1px solid var(--line);
    background:linear-gradient(155deg,rgba(24,30,50,.86),rgba(11,15,26,.82));
    border-radius:24px;
    padding:24px;
}
.detail-panel ul{
    margin:14px 0 0;
    padding-left:20px;
    color:#c5cee5;
    line-height:1.8;
}
.progression-strip{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:12px;
}
.progression-pill{
    border:1px solid rgba(139,69,255,.35);
    background:rgba(139,69,255,.10);
    border-radius:18px;
    padding:15px;
    text-align:center;
}
.progression-pill strong{
    display:block;
    color:#48f28d;
    margin-bottom:6px;
}
@media (max-width:1050px){
    .loop-grid,.progression-strip{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .dev-pitch{
        grid-template-columns:1fr;
    }
}
@media (max-width:650px){
    .loop-grid,.progression-strip{
        grid-template-columns:1fr;
    }
    .official-morph-card img{
        width:90%;
        height:90%;
    }
}


/* v1.3 global spacing polish */
body{
    line-height:1.65;
}
h1,h2,h3{
    line-height:1.08;
}
h1{
    margin-bottom:28px;
}
h2{
    margin-bottom:18px;
}
h3{
    margin-bottom:14px;
}
p{
    line-height:1.75;
}
.eyebrow{
    margin-bottom:16px;
}
.eyebrow + h1,
.eyebrow + h2{
    margin-top:10px;
}
.badge{
    margin:0 8px 10px 0;
    line-height:1.25;
}
.badge + h3,
.badge + h2{
    margin-top:12px;
}
.card h3,
.feature h3{
    margin-top:10px;
    margin-bottom:14px;
}
.card p,
.feature p,
.callout p,
.detail-panel p{
    line-height:1.75;
}
.section-head{
    margin-bottom:30px;
}
.section-head p{
    margin-top:16px;
    line-height:1.75;
}
.hero-actions{
    margin-top:34px;
}
.stat-row{
    margin-top:34px;
}
.list-item{
    gap:18px;
    padding:18px;
}
.list-item strong{
    margin-bottom:8px;
}
.form-row{
    gap:11px;
}
input,select,textarea{
    line-height:1.4;
}
.official-morph-content{
    padding:22px;
}
.official-morph-content h3{
    margin-top:14px;
    margin-bottom:12px;
}
.official-morph-content p{
    margin-top:12px;
    line-height:1.72;
}

/* v1.3 homepage official roster */
.official-name-list{
    display:grid;
    gap:14px;
}
.official-name-row{
    display:grid;
    grid-template-columns:46px 1fr auto;
    gap:16px;
    align-items:center;
    padding:17px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.045);
    border-radius:18px;
}
.official-name-row .rank{
    width:42px;
    height:42px;
    border-radius:14px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,var(--green),var(--purple));
    color:#07100c;
    font-weight:1000;
}
.official-name-row strong{
    display:block;
    margin-bottom:7px;
}
.official-name-row span{
    color:#b6c0d7;
    font-size:14px;
    line-height:1.55;
}
.official-name-row .tag{
    padding:8px 12px;
    border-radius:999px;
    font-size:12px;
    font-weight:1000;
    border:1px solid rgba(255,255,255,.12);
    white-space:nowrap;
}
.tag.green{background:rgba(72,242,141,.13);color:#a4ffc4}
.tag.purple{background:rgba(139,69,255,.17);color:#dfd0ff}
.tag.blue{background:rgba(57,191,255,.14);color:#bcecff}
.tag.orange{background:rgba(255,156,46,.14);color:#ffcf95}
.tag.yellow{background:rgba(255,214,77,.14);color:#ffe99b}
.tag.red{background:rgba(255,75,95,.14);color:#ffadb6}

/* v1.3 expanded gameplay systems */
.gameplay-mega-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}
.gameplay-wide{
    grid-column:span 2;
}
.deep-list{
    display:grid;
    gap:14px;
    margin-top:20px;
}
.deep-list-row{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:14px;
    padding:16px;
    border:1px solid var(--line);
    background:rgba(255,255,255,.045);
    border-radius:16px;
}
.deep-list-row b{
    display:block;
    margin-bottom:7px;
}
.deep-list-row span{
    color:#b9c3da;
    line-height:1.65;
}
.system-pill-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
}
.system-pill{
    border:1px solid rgba(139,69,255,.35);
    background:rgba(139,69,255,.10);
    border-radius:18px;
    padding:18px;
}
.system-pill strong{
    display:block;
    color:#48f28d;
    margin-bottom:9px;
}
.system-pill span{
    color:#c2cbe0;
    line-height:1.62;
}
.info-stack{
    display:grid;
    gap:20px;
}
@media (max-width:1000px){
    .gameplay-mega-grid,
    .system-pill-grid{
        grid-template-columns:1fr;
    }
    .gameplay-wide{
        grid-column:span 1;
    }
    .official-name-row{
        grid-template-columns:42px 1fr;
        align-items:start;
    }
    .official-name-row .tag{
        grid-column:2;
        width:max-content;
        margin-top:4px;
    }
}


/* v1.3.1 contact get-involved full-width fix */
.form-grid > .span-2{
    grid-column:1 / -1;
}
.dev-extra.span-2{
    grid-column:1 / -1;
    width:100%;
    max-width:100%;
}
.dev-extra.is-visible{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    width:100%;
}
.dev-extra .form-row{
    width:100%;
    min-width:0;
}
.dev-extra .form-row input,
.dev-extra .form-row select,
.dev-extra .form-row textarea{
    width:100%;
    min-width:0;
}
.dev-extra .skills-field{
    grid-column:1 / -1;
    width:100%;
}
.dev-extra .skills-field .checkbox-grid{
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.dev-extra .form-row:nth-last-child(2),
.dev-extra .form-row:nth-last-child(1){
    min-width:0;
}
@media (max-width:650px){
    .dev-extra.is-visible{
        grid-template-columns:1fr;
    }
    .dev-extra .skills-field,
    .form-grid > .span-2{
        grid-column:1 / -1;
    }
    .dev-extra .skills-field .checkbox-grid{
        grid-template-columns:1fr;
    }
}


/* v1.3.2 skills selector cards */
.checkbox-grid{
    gap:12px;
}
.check{
    position:relative;
    min-height:76px;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:18px 16px;
    cursor:pointer;
    user-select:none;
    border-radius:16px;
    border:1px solid rgba(255,255,255,.14);
    background:linear-gradient(145deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
    color:#f5f7ff;
    font-weight:1000;
    line-height:1.35;
    transition:transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
}
.check:hover{
    transform:translateY(-1px);
    border-color:rgba(72,242,141,.50);
    box-shadow:0 14px 30px rgba(0,0,0,.20), 0 0 22px rgba(72,242,141,.08);
}
.check input{
    position:absolute;
    opacity:0;
    pointer-events:none;
    width:1px;
    height:1px;
    min-height:1px;
    margin:0;
}
.check::before{
    content:"";
    width:18px;
    height:18px;
    border-radius:7px;
    border:2px solid rgba(255,255,255,.28);
    background:rgba(7,10,18,.72);
    box-shadow:inset 0 0 8px rgba(0,0,0,.35);
    margin-right:10px;
    flex:0 0 auto;
}
.check::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:16px;
    border:1px solid transparent;
    pointer-events:none;
}
.check:has(input:checked),
.check.is-selected{
    color:#06120b;
    background:linear-gradient(135deg,#32db71,#6df7a8);
    border-color:rgba(72,242,141,.95);
    box-shadow:0 16px 34px rgba(72,242,141,.18), 0 0 26px rgba(72,242,141,.20);
}
.check:has(input:checked)::before,
.check.is-selected::before{
    content:"✓";
    display:grid;
    place-items:center;
    background:#06120b;
    border-color:#06120b;
    color:#6df7a8;
    font-size:13px;
    font-weight:1000;
}
.check span,
.check .skill-text{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:22px;
}
@media (max-width:650px){
    .check{
        min-height:64px;
    }
}


/* v1.3.3 homepage morph section layout fix */
.morph-home-section{
    overflow:hidden;
}
.morph-home-layout{
    display:grid;
    grid-template-columns:minmax(0,0.95fr) minmax(0,1.05fr);
    gap:28px;
    align-items:start;
}
.morph-home-layout .info-stack{
    min-width:0;
}
.morph-showcase-panel{
    min-width:0;
    align-self:start;
    position:relative;
    border:1px solid var(--line);
    background:linear-gradient(155deg,rgba(24,30,50,.86),rgba(11,15,26,.82));
    border-radius:28px;
    padding:20px;
    overflow:hidden;
    box-shadow:0 16px 46px rgba(0,0,0,.24);
}
.morph-showcase-panel:before{
    content:"";
    position:absolute;
    inset:-20%;
    background:radial-gradient(circle at 50% 30%,rgba(139,69,255,.22),transparent 45%);
    pointer-events:none;
}
.morph-showcase-img{
    position:relative;
    z-index:1;
    display:block;
    width:100%;
    height:auto;
    max-height:720px;
    object-fit:contain;
    border-radius:22px;
}
.progression-card{
    margin-top:18px;
}
@media (max-width:1100px){
    .morph-home-layout{
        grid-template-columns:1fr;
    }
    .morph-showcase-img{
        max-height:none;
    }
}


/* v1.3.4 real morph thumbnails on homepage */
.official-name-row{
    grid-template-columns:74px 1fr auto;
}
.official-name-row .rank{
    display:none;
}
.morph-row-avatar{
    position:relative;
    width:66px;
    height:66px;
    border-radius:50%;
    flex:0 0 66px;
}
.morph-row-avatar img{
    width:66px;
    height:66px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    border:2px solid rgba(139,69,255,.9);
    box-shadow:0 0 20px rgba(139,69,255,.28), 0 10px 22px rgba(0,0,0,.35);
    background:#070a12;
}
.morph-row-avatar span{
    position:absolute;
    left:-6px;
    bottom:-6px;
    width:34px;
    height:34px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:linear-gradient(135deg,var(--green),var(--purple));
    color:#07100c;
    font-weight:1000;
    font-size:14px;
    border:2px solid rgba(7,10,18,.92);
}
.morph-showcase-panel{
    padding:24px;
}
.morph-showcase-img{
    background:rgba(5,8,15,.45);
    border-radius:22px;
}
@media (max-width:1000px){
    .official-name-row{
        grid-template-columns:66px 1fr;
    }
    .official-name-row .tag{
        grid-column:2;
    }
}


/* v1.3.5 keep morph names on one line */
.official-name-row strong{
    white-space:nowrap;
}
.morph-showcase-img{
    image-rendering:auto;
}
@media (max-width:520px){
    .official-name-row strong{
        white-space:normal;
    }
}


/* v1.3.6 real responsive morph showcase cards */
.morph-showcase-panel{
    padding:26px;
}
.morph-showcase-panel:before{
    opacity:.75;
}
.mini-morph-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.mini-morph-card{
    min-width:0;
    border-radius:20px;
    padding:16px;
    background:rgba(5,8,15,.72);
    border:2px solid rgba(255,255,255,.14);
    box-shadow:0 14px 32px rgba(0,0,0,.22);
}
.mini-morph-card.green{border-color:#48f28d;}
.mini-morph-card.purple{border-color:#8b45ff;}
.mini-morph-card.blue{border-color:#39bfff;}
.mini-morph-card.orange{border-color:#ff9c2e;}
.mini-morph-card.yellow{border-color:#ffd64d;}
.mini-morph-card.red{border-color:#ff4b5f;}
.mini-thumb{
    width:100%;
    min-height:132px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:rgba(0,0,0,.32);
    border:1px solid rgba(255,255,255,.10);
    margin-bottom:14px;
}
.mini-thumb img{
    width:104px;
    height:104px;
    border-radius:50%;
    object-fit:cover;
    display:block;
    box-shadow:0 0 24px rgba(139,69,255,.35), 0 12px 24px rgba(0,0,0,.35);
}
.mini-morph-meta{
    display:grid;
    gap:10px;
}
.mini-morph-meta > div{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
}
.mini-rank{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    height:34px;
    padding:0 10px;
    border-radius:12px;
    background:linear-gradient(135deg,var(--green),var(--purple));
    color:#07100c;
    font-size:15px;
    font-weight:1000;
    line-height:1;
}
.mini-rarity{
    color:#48f28d;
    font-size:14px;
    line-height:1.25;
    font-weight:1000;
    white-space:nowrap;
}
.mini-morph-card.purple .mini-rarity{color:#b88cff;}
.mini-morph-card.blue .mini-rarity{color:#39bfff;}
.mini-morph-card.orange .mini-rarity{color:#ffb15b;}
.mini-morph-card.yellow .mini-rarity{color:#ffe070;}
.mini-morph-card.red .mini-rarity{color:#ff7182;}
.mini-morph-meta strong{
    display:block;
    color:#fff;
    font-size:18px;
    line-height:1.2;
    font-weight:1000;
    white-space:nowrap;
    letter-spacing:-.025em;
}
@media (min-width:1300px){
    .mini-thumb{
        min-height:150px;
    }
    .mini-thumb img{
        width:116px;
        height:116px;
    }
    .mini-morph-meta strong{
        font-size:20px;
    }
    .mini-rarity{
        font-size:15px;
    }
}
@media (max-width:1100px){
    .mini-morph-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .mini-thumb{
        min-height:150px;
    }
    .mini-thumb img{
        width:116px;
        height:116px;
    }
    .mini-morph-meta strong{
        font-size:20px;
    }
}
@media (max-width:650px){
    .morph-showcase-panel{
        padding:18px;
    }
    .mini-morph-grid{
        grid-template-columns:1fr;
        gap:14px;
    }
    .mini-morph-card{
        display:grid;
        grid-template-columns:96px 1fr;
        align-items:center;
        gap:14px;
        padding:14px;
    }
    .mini-thumb{
        width:96px;
        min-height:96px;
        margin-bottom:0;
    }
    .mini-thumb img{
        width:82px;
        height:82px;
    }
    .mini-morph-meta strong{
        font-size:18px;
        white-space:nowrap;
    }
    .mini-rarity{
        font-size:13px;
    }
    .mini-rank{
        min-width:38px;
        height:31px;
        font-size:14px;
    }
}
@media (max-width:390px){
    .mini-morph-card{
        grid-template-columns:86px 1fr;
    }
    .mini-thumb{
        width:86px;
        min-height:86px;
    }
    .mini-thumb img{
        width:74px;
        height:74px;
    }
    .mini-morph-meta strong{
        font-size:16px;
        white-space:normal;
    }
}


/* v1.3.7 desktop morph showcase text/frame fix */
/* Desktop only: allow long morph names to wrap inside the card instead of hanging over the frame. */
@media (min-width:651px){
    .mini-morph-card{
        min-height:298px;
        display:flex;
        flex-direction:column;
    }
    .mini-morph-meta{
        gap:13px;
        flex:1;
    }
    .mini-morph-meta > div{
        flex-wrap:wrap;
        row-gap:8px;
    }
    .mini-morph-meta strong{
        white-space:normal;
        overflow-wrap:normal;
        word-break:normal;
        line-height:1.22;
        min-height:44px;
        padding-bottom:2px;
        max-width:100%;
    }
    .mini-rarity{
        white-space:normal;
        line-height:1.25;
    }
}

/* Larger desktop panels get slightly better breathing room. */
@media (min-width:1200px){
    .mini-morph-card{
        padding:18px;
    }
    .mini-morph-meta strong{
        font-size:19px;
    }
}


/* v1.3.8 hard fix for desktop morph names overflowing */
@media (min-width:651px){
    .mini-morph-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
        gap:18px;
    }

    .mini-morph-card{
        overflow:hidden;
        min-width:0;
        padding:16px;
        min-height:322px;
    }

    .mini-morph-meta{
        min-width:0;
        width:100%;
        overflow:hidden;
        gap:12px;
    }

    .mini-morph-meta > div{
        min-width:0;
        max-width:100%;
    }

    .mini-rarity{
        max-width:calc(100% - 54px);
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:nowrap;
    }

    .mini-name{
        display:block !important;
        width:100%;
        max-width:100%;
        min-height:50px;
        overflow:hidden;
        white-space:normal !important;
        line-height:1.18 !important;
        font-size:18px !important;
        letter-spacing:-.035em;
        padding-right:2px;
    }

    .mini-name span{
        display:block;
        width:100%;
        max-width:100%;
        overflow:hidden;
        text-overflow:clip;
        white-space:nowrap;
    }
}

@media (min-width:1350px){
    .mini-name{
        font-size:19px !important;
    }
}

/* Keep the already approved mobile layout, but make sure names still cannot push outside. */
@media (max-width:650px){
    .mini-name{
        display:block;
        max-width:100%;
        overflow:hidden;
        white-space:normal !important;
        line-height:1.18 !important;
    }

    .mini-name span{
        display:inline;
    }
}


/* v1.3.9 footer brand ownership colour fix */
.footer-green{
    color:var(--green);
    font-weight:1000;
}
.site-footer strong.footer-green{
    display:inline-block;
    margin-bottom:8px;
    letter-spacing:.01em;
}


/* v1.4.0 mobile app-style bottom menu */
.mobile-app-nav,
.mobile-more-backdrop,
.mobile-more-panel{
    display:none;
}

@media (max-width:1000px){
    body{
        padding-bottom:calc(96px + env(safe-area-inset-bottom));
    }

    .nav-toggle{
        display:none !important;
    }

    .site-nav{
        display:none !important;
    }

    .site-header{
        justify-content:center;
        padding-top:12px;
        padding-bottom:12px;
    }

    .mobile-app-nav{
        position:fixed;
        left:10px;
        right:10px;
        bottom:calc(10px + env(safe-area-inset-bottom));
        z-index:120;
        display:grid;
        grid-template-columns:repeat(6,minmax(0,1fr));
        gap:6px;
        padding:8px;
        border:1px solid rgba(255,255,255,.14);
        background:linear-gradient(145deg,rgba(15,20,36,.96),rgba(8,12,24,.96));
        border-radius:24px;
        box-shadow:0 18px 50px rgba(0,0,0,.55), 0 0 28px rgba(139,69,255,.16);
        backdrop-filter:blur(18px);
    }

    .mobile-app-nav a,
    .mobile-app-nav button{
        min-width:0;
        min-height:62px;
        border:0;
        border-radius:18px;
        background:transparent;
        color:#cbd5eb;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:5px;
        cursor:pointer;
        font-weight:1000;
        font-size:10.5px;
        line-height:1.1;
        text-align:center;
        padding:7px 3px;
    }

    .mobile-app-nav a.is-active,
    .mobile-app-nav button.is-active,
    .mobile-app-nav a:hover,
    .mobile-app-nav button:hover{
        background:linear-gradient(135deg,rgba(72,242,141,.18),rgba(139,69,255,.22));
        color:#fff;
        box-shadow:inset 0 0 0 1px rgba(72,242,141,.20);
    }

    .mobile-nav-icon{
        width:28px;
        height:28px;
        display:grid;
        place-items:center;
        border-radius:12px;
        background:rgba(255,255,255,.075);
        font-size:16px;
        line-height:1;
    }

    .mobile-app-nav a.is-active .mobile-nav-icon,
    .mobile-app-nav button.is-active .mobile-nav-icon{
        background:linear-gradient(135deg,var(--green),var(--purple));
        color:#06120b;
    }

    .mobile-more-backdrop.is-open{
        display:block;
        position:fixed;
        inset:0;
        z-index:125;
        background:rgba(0,0,0,.50);
        backdrop-filter:blur(4px);
    }

    .mobile-more-panel{
        position:fixed;
        left:12px;
        right:12px;
        bottom:calc(96px + env(safe-area-inset-bottom));
        z-index:130;
        border:1px solid rgba(255,255,255,.14);
        background:linear-gradient(145deg,rgba(19,24,41,.98),rgba(8,12,24,.98));
        border-radius:26px;
        box-shadow:0 22px 70px rgba(0,0,0,.65), 0 0 34px rgba(139,69,255,.20);
        overflow:hidden;
        transform:translateY(18px);
        opacity:0;
        pointer-events:none;
        transition:opacity .18s ease, transform .18s ease;
    }

    .mobile-more-panel.is-open{
        display:block;
        transform:translateY(0);
        opacity:1;
        pointer-events:auto;
    }

    .mobile-more-head{
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:14px;
        padding:18px 18px 12px;
        border-bottom:1px solid rgba(255,255,255,.09);
    }

    .mobile-more-head strong{
        display:block;
        font-size:20px;
        line-height:1.2;
    }

    .mobile-more-head span{
        display:block;
        color:#aeb8d2;
        font-size:13px;
        margin-top:4px;
    }

    .mobile-more-head button{
        width:42px;
        height:42px;
        border:1px solid rgba(255,255,255,.12);
        border-radius:14px;
        background:rgba(255,255,255,.07);
        color:#fff;
        font-size:24px;
        cursor:pointer;
    }

    .mobile-more-links{
        display:grid;
        grid-template-columns:1fr 1fr;
        gap:10px;
        padding:14px;
    }

    .mobile-more-links a{
        min-width:0;
        border:1px solid rgba(255,255,255,.10);
        background:rgba(255,255,255,.055);
        border-radius:18px;
        padding:14px;
        display:grid;
        grid-template-columns:36px 1fr;
        column-gap:11px;
        row-gap:3px;
        align-items:center;
    }

    .mobile-more-links a span{
        grid-row:span 2;
        width:36px;
        height:36px;
        border-radius:13px;
        display:grid;
        place-items:center;
        background:linear-gradient(135deg,rgba(72,242,141,.17),rgba(139,69,255,.21));
        font-size:18px;
    }

    .mobile-more-links a strong{
        font-size:14px;
        line-height:1.15;
        color:#fff;
    }

    .mobile-more-links a small{
        color:#aeb8d2;
        line-height:1.35;
        font-size:11px;
    }

    .mobile-more-links a.is-active{
        border-color:rgba(72,242,141,.45);
        background:rgba(72,242,141,.10);
    }
}

@media (max-width:390px){
    .mobile-app-nav{
        left:7px;
        right:7px;
        gap:4px;
        padding:7px;
    }

    .mobile-app-nav a,
    .mobile-app-nav button{
        font-size:9.5px;
        min-height:59px;
    }

    .mobile-nav-icon{
        width:25px;
        height:25px;
        font-size:14px;
    }

    .mobile-more-links{
        grid-template-columns:1fr;
    }
}


/* v1.5.0 SEO polish */
.site-brand img{
    height:auto;
}
