:root{--background:210 40% 98%;--foreground:222 47% 11%;--card:0 0% 100%;--card-foreground:222 47% 11%;--primary:221 83% 53%;--primary-foreground:210 40% 98%;--secondary:214 32% 91%;--secondary-foreground:222 47% 11%;--muted:214 32% 94%;--muted-foreground:215 16% 47%;--border:214 32% 88%;--ring:221 83% 53%}.dark{--background:222 47% 8%;--foreground:210 40% 98%;--card:222 47% 11%;--card-foreground:210 40% 98%;--primary:217 91% 60%;--primary-foreground:222 47% 11%;--secondary:217 33% 18%;--secondary-foreground:210 40% 98%;--muted:217 33% 15%;--muted-foreground:215 20% 65%;--border:217 33% 20%;--ring:217 91% 60%}*{border-color:hsl(var(--border))}body{background:hsl(var(--background));color:hsl(var(--foreground));font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.grid-pattern{background-image:linear-gradient(to right,hsl(var(--border)/.35) 1px,transparent 1px),linear-gradient(to bottom,hsl(var(--border)/.35) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,black,transparent 85%)}.nav-link{position:relative}.nav-link:after{content:"";position:absolute;left:0;bottom:-7px;width:0;height:1px;background:currentColor;transition:width .18s ease}.nav-link:hover:after,.nav-link.active:after{width:100%}.page-view,.app-panel{display:none}.page-view.active,.app-panel.active{display:block}.primary-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;border-radius:.375rem;font-size:.875rem;font-weight:600;transition:transform .18s ease,opacity .18s ease,background .18s ease;outline:none}.primary-button{background:hsl(var(--primary));color:hsl(var(--primary-foreground))}.primary-button:hover,.secondary-button:hover{transform:translateY(-1px)}.primary-button:hover{opacity:.9}.secondary-button{border:1px solid hsl(var(--border));background:hsl(var(--card))}.secondary-button:hover{background:hsl(var(--muted))}.icon-button{display:inline-flex;height:2.25rem;width:2.25rem;align-items:center;justify-content:center;border-radius:.375rem;border:1px solid hsl(var(--border));background:hsl(var(--card));transition:.18s}.icon-button:hover{background:hsl(var(--muted));transform:translateY(-1px)}.dot{height:.625rem;width:.625rem;border-radius:9999px;background:hsl(var(--muted-foreground)/.3)}.sidebar-link{display:flex;width:100%;align-items:center;gap:.75rem;border-radius:.375rem;padding:.625rem .75rem;font-size:.875rem;color:hsl(var(--muted-foreground));transition:.18s;text-align:left}.sidebar-link svg{height:1rem;width:1rem}.sidebar-link:hover,.sidebar-link.active{background:hsl(var(--secondary));color:hsl(var(--secondary-foreground))}.onboarding-card{border:1px solid hsl(var(--border));border-radius:1rem;background:hsl(var(--card));padding:clamp(2rem,6vw,5rem) 1.5rem;text-align:center;box-shadow:0 14px 40px rgba(15,23,42,.08);overflow:hidden;position:relative}.onboarding-card:before{content:"";position:absolute;width:18rem;height:18rem;border-radius:50%;background:hsl(var(--primary)/.1);filter:blur(55px);left:50%;top:-10rem;transform:translateX(-50%)}.empty-card{border:1px solid hsl(var(--border));border-radius:.75rem;background:hsl(var(--card));padding:3rem 2rem;text-align:center}.empty-card>svg{height:1.5rem;width:1.5rem;margin:auto;color:hsl(var(--muted-foreground))}.empty-card h2{margin-top:1rem;font-weight:600}.empty-card p{margin-top:.5rem;font-size:.875rem;color:hsl(var(--muted-foreground))}.site-card{border:1px solid hsl(var(--border));border-radius:.75rem;background:hsl(var(--card));padding:1.25rem;transition:transform .2s ease,box-shadow .2s ease}.site-card:hover{transform:translateY(-3px);box-shadow:0 14px 40px rgba(15,23,42,.08)}.footer-link{font-size:.875rem;color:hsl(var(--muted-foreground));transition:color .18s}.footer-link:hover{color:hsl(var(--foreground))}.reveal-up{animation:revealUp .55s cubic-bezier(.2,.8,.2,1) both}.delay-1{animation-delay:.12s}.float-card{animation:float 6s ease-in-out infinite}.logo-pulse{animation:softPulse 3s ease-in-out infinite}.toast{position:fixed;right:1rem;bottom:1rem;z-index:100;max-width:22rem;border:1px solid hsl(var(--border));border-radius:.6rem;background:hsl(var(--card));padding:.75rem 1rem;font-size:.875rem;box-shadow:0 14px 40px rgba(15,23,42,.16);opacity:0;transform:translateY(12px);pointer-events:none;transition:.22s}.toast.show{opacity:1;transform:translateY(0)}dialog::backdrop{backdrop-filter:blur(4px)}@keyframes revealUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}@keyframes softPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
.builder-dialog{max-height:92vh;overflow:auto}.form-field{display:grid;gap:.5rem;font-size:.875rem;font-weight:600}.form-field input:not([type=color]){width:100%;border:1px solid hsl(var(--border));border-radius:.375rem;background:hsl(var(--background));padding:.65rem .75rem;font-size:.875rem;font-weight:400;outline:none}.form-field input:focus{box-shadow:0 0 0 2px hsl(var(--ring)/.35)}.form-field small{font-weight:400;color:hsl(var(--muted-foreground))}.form-field a{text-decoration:underline}.uppercase-input{text-transform:uppercase}.color-row{display:flex;align-items:center;gap:.75rem}.color-row input{width:3rem;height:2.5rem;padding:.15rem;border:1px solid hsl(var(--border));border-radius:.375rem;background:hsl(var(--card))}.color-row output{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;color:hsl(var(--muted-foreground))}.rank-card{border:1px solid hsl(var(--border));border-radius:.75rem;padding:1rem;background:hsl(var(--card))}.rank-head{display:flex;align-items:center;justify-content:space-between}.rank-head h3{font-size:.9rem;font-weight:700}.rank-head span{font-size:.7rem;color:hsl(var(--muted-foreground))}.member-list{display:grid;gap:.5rem;margin-top:.75rem}.member-row{display:flex;gap:.5rem}.member-row input{min-width:0;flex:1;border:1px solid hsl(var(--border));border-radius:.375rem;background:hsl(var(--background));padding:.6rem .7rem;font-size:.82rem;outline:none}.remove-member{height:2.35rem;width:2.35rem;border:1px solid hsl(var(--border));border-radius:.375rem;color:hsl(var(--muted-foreground))}.add-member{margin-top:.75rem;font-size:.78rem;font-weight:600;color:hsl(var(--primary))}.site-link{word-break:break-all;color:hsl(var(--primary));text-decoration:underline}.site-card .published-badge{background:hsl(var(--primary)/.12);color:hsl(var(--primary))}
.site-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.site-card-actions .primary-button,.site-card-actions .secondary-button{flex:1;min-width:8.5rem}

.faq-list{display:grid;gap:.75rem}.faq-item{overflow:hidden;border:1px solid hsl(var(--border));border-radius:.75rem;background:hsl(var(--card));transition:border-color .18s ease,box-shadow .18s ease}.faq-item:hover{box-shadow:0 10px 28px rgba(15,23,42,.07)}.faq-item summary{display:flex;cursor:pointer;list-style:none;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem;font-size:.95rem;font-weight:600}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary svg{height:1.1rem;width:1.1rem;flex:none;color:hsl(var(--muted-foreground));transition:transform .2s ease}.faq-item[open] summary svg{transform:rotate(180deg)}.faq-answer{border-top:1px solid hsl(var(--border));padding:1rem 1.25rem 1.2rem;font-size:.9rem;line-height:1.65;color:hsl(var(--muted-foreground))}.faq-answer a{font-weight:600;color:hsl(var(--primary));text-decoration:underline;text-underline-offset:3px}

.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}.template-card{overflow:hidden;border:1px solid hsl(var(--border));border-radius:1rem;background:hsl(var(--card));box-shadow:0 12px 34px rgba(15,23,42,.07);transition:transform .2s ease,box-shadow .2s ease}.template-card:hover{transform:translateY(-3px);box-shadow:0 18px 44px rgba(15,23,42,.12)}.template-preview-frame{padding:1rem;background:hsl(var(--muted)/.6);border-bottom:1px solid hsl(var(--border))}.template-card-body{padding:1.25rem}.template-card-body h2{margin-top:.65rem;font-size:1.15rem;font-weight:700}.template-card-body>p{margin-top:.6rem;color:hsl(var(--muted-foreground));font-size:.875rem;line-height:1.6}.template-badge{display:inline-flex;border-radius:9999px;background:hsl(var(--primary)/.1);padding:.3rem .55rem;color:hsl(var(--primary));font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.template-actions{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;margin-top:1.15rem}.template-mockup{overflow:hidden;min-height:270px;border-radius:.75rem;font-family:Inter,system-ui,sans-serif;box-shadow:0 18px 45px rgba(15,23,42,.2)}.template-mockup .mock-hero{min-height:125px;display:flex;align-items:center;justify-content:center;gap:16px;padding:24px;text-align:center}.mock-logo{display:grid;width:48px;height:48px;place-items:center;border-radius:50%;font-size:.8rem;font-weight:900}.mock-hero p{margin:0;font-size:1.2rem;font-weight:900;letter-spacing:.1em}.mock-hero span{display:block;margin-top:5px;font-size:.62rem;opacity:.72}.mock-content{padding:18px}.mock-label{margin-bottom:12px;font-size:.58rem;font-weight:800;letter-spacing:.2em}.mock-members{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.mock-member{display:grid;justify-items:center;padding:13px 7px;text-align:center}.mock-avatar{display:grid;width:38px;height:38px;place-items:center;border-radius:50%;font-size:.65rem}.mock-member b{margin-top:8px;font-size:.62rem}.mock-member small{margin-top:3px;font-size:.52rem;opacity:.68}.template-midnight{background:#070a12;color:#f8fafc}.template-midnight .mock-hero{background:radial-gradient(circle at 50% 15%,#2563eb70,transparent 55%),linear-gradient(145deg,#111827,#070a12)}.template-midnight .mock-logo{background:#2563eb;box-shadow:0 0 24px #2563ebaa}.template-midnight .mock-label{text-align:center;color:#60a5fa}.template-midnight .mock-member{border:1px solid #60a5fa35;border-radius:14px;background:#111827;box-shadow:0 8px 24px #0006}.template-midnight .mock-avatar{background:#1d4ed8}.template-collective{background:#07090d;color:#f7f8fa}.template-collective .mock-hero{justify-content:flex-start;background:radial-gradient(circle at 85% 15%,#e8bd6655,transparent 38%),linear-gradient(135deg,#11151d,#090b10 60%,#171207);text-align:left}.template-collective .mock-logo{border:1px solid #ffffff33;border-radius:13px;background:linear-gradient(145deg,#f2b84b,#ffdb83);color:#15110a;box-shadow:0 10px 28px #e8bd6633;transform:rotate(-4deg)}.template-collective .mock-label{color:#d9ad58;letter-spacing:.22em}.template-collective .mock-member{position:relative;overflow:hidden;justify-items:start;border:1px solid #ffffff18;border-radius:16px;background:linear-gradient(160deg,#151922,#0d1016);text-align:left}.template-collective .mock-avatar{width:100%;height:54px;border-radius:10px;background:linear-gradient(145deg,#ffffff18,#ffffff08);color:#d9ad58;font-weight:900}.template-collective .mock-member b{font-size:.68rem}.template-collective .mock-member small{color:#9aa1ad}.template-editorial{background:#f5f1e8;color:#1f2937;font-family:Georgia,serif}.template-editorial .mock-hero{justify-content:flex-start;background:linear-gradient(90deg,#ded5c4,#f5f1e8);text-align:left}.template-editorial .mock-logo{border:1px solid #1f2937;border-radius:2px}.template-editorial .mock-label{border-bottom:1px solid #9a8f7d;padding-bottom:8px}.template-editorial .mock-member{align-items:start;justify-items:start;border-top:2px solid #1f2937;background:#fffdf8;text-align:left}.template-editorial .mock-avatar{background:#e6ded0}.template-preview-dialog{max-height:94vh;overflow:auto}.template-preview-dialog #templatePreviewCanvas .template-mockup{min-height:520px}.template-preview-dialog .is-large .mock-hero{min-height:245px}.template-preview-dialog .is-large .mock-content{padding:30px}.template-preview-dialog .is-large .mock-members{gap:18px}.template-preview-dialog .is-large .mock-member{padding:24px 12px}.template-preview-dialog .is-large .mock-avatar{width:62px;height:62px}.template-preview-dialog .is-large .mock-member b{font-size:.8rem}.template-preview-dialog .is-large .mock-member small{font-size:.68rem}.selected-template-note{display:flex;align-items:center;gap:.55rem;border:1px solid hsl(var(--primary)/.25);border-radius:.5rem;background:hsl(var(--primary)/.07);padding:.65rem .8rem;color:hsl(var(--primary));font-size:.8rem;font-weight:700}@media(max-width:760px){.template-grid{grid-template-columns:1fr}.template-actions{grid-template-columns:1fr}.template-preview-dialog #templatePreviewCanvas .template-mockup{min-height:380px}.mock-members{grid-template-columns:1fr}.template-preview-dialog .is-large .mock-hero{min-height:180px}}

/* Demo page — isolated from the rest of the site */
.demo-page{background:#07090d;color:#f7f8fa}.demo-shell{width:min(1180px,calc(100% - 2rem));margin:0 auto;padding:3rem 0 5rem}.demo-banner{position:relative;isolation:isolate;min-height:440px;overflow:hidden;border:1px solid rgba(255,255,255,.11);border-radius:2rem;background:linear-gradient(135deg,#11151d 0%,#090b10 55%,#15120b 100%);box-shadow:0 30px 90px rgba(0,0,0,.45)}.demo-banner:after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(180deg,transparent,rgba(0,0,0,.5));z-index:-1}.demo-banner-grid{position:absolute;inset:0;z-index:-3;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,black,transparent 88%)}.demo-orb{position:absolute;border-radius:999px;filter:blur(18px);z-index:-2}.demo-orb-one{width:340px;height:340px;right:-45px;top:-75px;background:rgba(245,177,53,.28)}.demo-orb-two{width:240px;height:240px;left:10%;bottom:-110px;background:rgba(255,255,255,.08)}.demo-banner-content{display:flex;min-height:440px;flex-direction:column;justify-content:flex-end;padding:clamp(2rem,6vw,4.5rem)}.demo-brand-lockup{display:flex;align-items:center;gap:1.35rem}.demo-logo{display:grid;width:82px;height:82px;flex:none;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:1.35rem;background:linear-gradient(145deg,#f2b84b,#ffdb83);color:#15110a;box-shadow:0 18px 50px rgba(242,184,75,.2),inset 0 1px rgba(255,255,255,.65);transform:rotate(-4deg)}.demo-kicker{margin-bottom:.55rem;color:#e8bd66;font-size:.7rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase}.demo-brand-lockup h1{font-size:clamp(2.45rem,7vw,5.8rem);font-weight:900;line-height:.88;letter-spacing:-.06em}.demo-brand-lockup h1 span{display:block;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.5)}.demo-tagline{margin-top:1.6rem;max-width:570px;color:rgba(255,255,255,.68);font-size:clamp(1rem,2vw,1.2rem)}.demo-meta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.6rem}.demo-meta span{display:inline-flex;align-items:center;gap:.5rem;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.055);padding:.55rem .8rem;color:rgba(255,255,255,.76);font-size:.75rem;font-weight:700;backdrop-filter:blur(10px)}.demo-meta span:last-child:before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:#6ee7a8;box-shadow:0 0 12px #6ee7a8}.demo-roster{margin-top:4.25rem}.demo-section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.demo-section-heading p{color:#d9ad58;font-size:.68rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase}.demo-section-heading h2{margin-top:.35rem;font-size:clamp(2rem,4vw,3.2rem);font-weight:850;letter-spacing:-.045em}.demo-season{border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:.5rem .8rem;color:rgba(255,255,255,.58);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.demo-player-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.demo-player-card{position:relative;overflow:hidden;min-height:270px;border:1px solid rgba(255,255,255,.1);border-radius:1.25rem;background:linear-gradient(160deg,#151922,#0d1016);padding:1rem;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}.demo-player-card:hover{transform:translateY(-6px);border-color:rgba(232,189,102,.5);box-shadow:0 22px 55px rgba(0,0,0,.35)}.demo-player-card:before{content:"";position:absolute;inset:auto -15% -30% 15%;height:68%;border-radius:50%;background:radial-gradient(circle,rgba(232,189,102,.14),transparent 68%)}.demo-player-card.featured{background:linear-gradient(160deg,#2e2617,#11100d);border-color:rgba(232,189,102,.38)}.demo-player-card img{position:relative;display:block;width:100%;aspect-ratio:1/.78;object-fit:contain;border-radius:.9rem;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.025));padding:.65rem;filter:grayscale(1) contrast(.9);opacity:.92}.demo-player-card div{position:relative;margin-top:1rem}.demo-player-card h3{font-size:1.05rem;font-weight:800;letter-spacing:-.02em}.demo-player-card p{margin-top:.18rem;color:rgba(255,255,255,.47);font-size:.75rem}.demo-number{position:absolute;right:.8rem;top:.65rem;z-index:2;color:rgba(255,255,255,.38);font-size:.65rem;font-weight:900;letter-spacing:.1em}.demo-role-icon{position:absolute;right:1rem;bottom:1rem;width:1rem;height:1rem;color:#d9ad58}.demo-page+*{}@media(max-width:900px){.demo-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.demo-shell{width:min(100% - 1rem,1180px);padding-top:1rem}.demo-banner{min-height:520px;border-radius:1.25rem}.demo-banner-content{min-height:520px;padding:1.5rem}.demo-brand-lockup{align-items:flex-start;flex-direction:column}.demo-logo{width:68px;height:68px}.demo-player-grid{grid-template-columns:1fr 1fr;gap:.65rem}.demo-player-card{min-height:230px;padding:.7rem}.demo-player-card h3{font-size:.9rem}.demo-section-heading{align-items:flex-start;flex-direction:column}}

/* Demo page — isolated from the rest of the site */
.demo-page{background:#07090d;color:#f7f8fa}.demo-shell{width:min(1180px,calc(100% - 2rem));margin:0 auto;padding:3rem 0 5rem}.demo-banner{position:relative;isolation:isolate;min-height:440px;overflow:hidden;border:1px solid rgba(255,255,255,.11);border-radius:2rem;background:linear-gradient(135deg,#11151d 0%,#090b10 55%,#15120b 100%);box-shadow:0 30px 90px rgba(0,0,0,.45)}.demo-banner:after{content:"";position:absolute;inset:auto 0 0;height:42%;background:linear-gradient(180deg,transparent,rgba(0,0,0,.5));z-index:-1}.demo-banner-grid{position:absolute;inset:0;z-index:-3;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom,black,transparent 88%)}.demo-orb{position:absolute;border-radius:999px;filter:blur(18px);z-index:-2}.demo-orb-one{width:340px;height:340px;right:-45px;top:-75px;background:rgba(245,177,53,.28)}.demo-orb-two{width:240px;height:240px;left:10%;bottom:-110px;background:rgba(255,255,255,.08)}.demo-banner-content{display:flex;min-height:440px;flex-direction:column;justify-content:flex-end;padding:clamp(2rem,6vw,4.5rem)}.demo-brand-lockup{display:flex;align-items:center;gap:1.35rem}.demo-logo{display:grid;width:82px;height:82px;flex:none;place-items:center;border:1px solid rgba(255,255,255,.22);border-radius:1.35rem;background:linear-gradient(145deg,#f2b84b,#ffdb83);color:#15110a;box-shadow:0 18px 50px rgba(242,184,75,.2),inset 0 1px rgba(255,255,255,.65);transform:rotate(-4deg)}.demo-kicker{margin-bottom:.55rem;color:#e8bd66;font-size:.7rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase}.demo-brand-lockup h1{font-size:clamp(2.45rem,7vw,5.8rem);font-weight:900;line-height:.88;letter-spacing:-.06em}.demo-brand-lockup h1 span{display:block;color:transparent;-webkit-text-stroke:1px rgba(255,255,255,.5)}.demo-tagline{margin-top:1.6rem;max-width:570px;color:rgba(255,255,255,.68);font-size:clamp(1rem,2vw,1.2rem)}.demo-meta{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.6rem}.demo-meta span{display:inline-flex;align-items:center;gap:.5rem;border:1px solid rgba(255,255,255,.1);border-radius:999px;background:rgba(255,255,255,.055);padding:.55rem .8rem;color:rgba(255,255,255,.76);font-size:.75rem;font-weight:700;backdrop-filter:blur(10px)}.demo-meta span:last-child:before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:#6ee7a8;box-shadow:0 0 12px #6ee7a8}.demo-roster{margin-top:4.25rem}.demo-section-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.demo-section-heading p{color:#d9ad58;font-size:.68rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase}.demo-section-heading h2{margin-top:.35rem;font-size:clamp(2rem,4vw,3.2rem);font-weight:850;letter-spacing:-.045em}.demo-season{border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:.5rem .8rem;color:rgba(255,255,255,.58);font-size:.72rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.demo-player-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.demo-player-card{position:relative;overflow:hidden;min-height:270px;border:1px solid rgba(255,255,255,.1);border-radius:1.25rem;background:linear-gradient(160deg,#151922,#0d1016);padding:1rem;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease}.demo-player-card:hover{transform:translateY(-6px);border-color:rgba(232,189,102,.5);box-shadow:0 22px 55px rgba(0,0,0,.35)}.demo-player-card:before{content:"";position:absolute;inset:auto -15% -30% 15%;height:68%;border-radius:50%;background:radial-gradient(circle,rgba(232,189,102,.14),transparent 68%)}.demo-player-card.featured{background:linear-gradient(160deg,#2e2617,#11100d);border-color:rgba(232,189,102,.38)}.demo-player-card img{position:relative;display:block;width:100%;aspect-ratio:1/.78;object-fit:contain;border-radius:.9rem;background:linear-gradient(145deg,rgba(255,255,255,.09),rgba(255,255,255,.025));padding:.65rem;filter:grayscale(1) contrast(.9);opacity:.92}.demo-player-card div{position:relative;margin-top:1rem}.demo-player-card h3{font-size:1.05rem;font-weight:800;letter-spacing:-.02em}.demo-player-card p{margin-top:.18rem;color:rgba(255,255,255,.47);font-size:.75rem}.demo-number{position:absolute;right:.8rem;top:.65rem;z-index:2;color:rgba(255,255,255,.38);font-size:.65rem;font-weight:900;letter-spacing:.1em}.demo-role-icon{position:absolute;right:1rem;bottom:1rem;width:1rem;height:1rem;color:#d9ad58}@media(max-width:900px){.demo-player-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.demo-shell{width:min(100% - 1rem,1180px);padding-top:1rem}.demo-banner{min-height:520px;border-radius:1.25rem}.demo-banner-content{min-height:520px;padding:1.5rem}.demo-brand-lockup{align-items:flex-start;flex-direction:column}.demo-logo{width:68px;height:68px}.demo-player-grid{grid-template-columns:1fr 1fr;gap:.65rem}.demo-player-card{min-height:230px;padding:.7rem}.demo-player-card h3{font-size:.9rem}.demo-section-heading{align-items:flex-start;flex-direction:column}}


/* Targeted home Discord widget, panel motion, and sidebar fixes */
.discord-widget-wrap{display:flex;justify-content:center;background:#1e1f22;padding:1rem;min-height:500px}.discord-widget-wrap iframe{display:block;width:min(350px,100%);height:500px;max-width:100%}#appSidebar{position:sticky;top:4rem;height:calc(100vh - 4rem);align-self:flex-start;overflow-y:auto}#sidebarNav{display:grid;gap:.25rem}.app-panel.panel-opening{animation:panelOpen .38s cubic-bezier(.2,.8,.2,1) both}#appView.active{animation:appOpen .42s cubic-bezier(.2,.8,.2,1) both}@keyframes panelOpen{from{opacity:0;transform:translateY(10px) scale(.995)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes appOpen{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:767px){#appSidebar{position:static;height:auto;overflow:visible}}

/* Dashboard */
.dashboard-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}.dashboard-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.dashboard-stat,.dashboard-card{border:1px solid hsl(var(--border));background:hsl(var(--card));box-shadow:0 10px 30px rgba(15,23,42,.045)}.dashboard-stat{display:flex;align-items:center;gap:.9rem;min-height:112px;border-radius:.9rem;padding:1rem}.dashboard-stat-icon{display:grid;width:2.65rem;height:2.65rem;flex:none;place-items:center;border-radius:.75rem;background:hsl(var(--primary)/.1);color:hsl(var(--primary))}.dashboard-stat-icon svg{width:1.2rem;height:1.2rem}.dashboard-stat p{font-size:.78rem;color:hsl(var(--muted-foreground))}.dashboard-stat strong{display:block;margin-top:.2rem;font-size:1.65rem;line-height:1;font-weight:750;letter-spacing:-.04em}.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);gap:1rem}.dashboard-card{border-radius:1rem;padding:1.25rem}.dashboard-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.dashboard-card-heading h2{font-size:1rem;font-weight:650}.dashboard-eyebrow{margin-bottom:.22rem;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:hsl(var(--muted-foreground))}.dashboard-period{border:1px solid hsl(var(--border));border-radius:999px;padding:.35rem .65rem;font-size:.7rem;color:hsl(var(--muted-foreground))}.dashboard-chart{min-height:250px;margin-top:1.25rem}.dashboard-chart svg{display:block;width:100%;height:250px;overflow:visible}.dashboard-chart-grid{stroke:hsl(var(--border));stroke-width:1}.dashboard-chart-area{fill:hsl(var(--primary)/.09)}.dashboard-chart-line{fill:none;stroke:hsl(var(--primary));stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.dashboard-chart-dot{fill:hsl(var(--card));stroke:hsl(var(--primary));stroke-width:3}.dashboard-chart-label{fill:hsl(var(--muted-foreground));font-size:11px}.dashboard-chart-value{fill:hsl(var(--foreground));font-size:11px;font-weight:700}.dashboard-chart-empty{display:grid;min-height:250px;place-items:center;text-align:center;color:hsl(var(--muted-foreground));font-size:.85rem}.dashboard-actions{display:grid;gap:.65rem;margin-top:1rem}.dashboard-actions button{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.75rem;width:100%;border:1px solid hsl(var(--border));border-radius:.75rem;padding:.8rem;text-align:left;transition:.2s ease}.dashboard-actions button:hover{border-color:hsl(var(--primary)/.45);background:hsl(var(--muted)/.55);transform:translateY(-1px)}.dashboard-actions button>span{display:grid;width:2.25rem;height:2.25rem;place-items:center;border-radius:.6rem;background:hsl(var(--muted));color:hsl(var(--foreground))}.dashboard-actions svg{width:1rem;height:1rem}.dashboard-actions strong,.dashboard-actions small{display:block}.dashboard-actions strong{font-size:.82rem}.dashboard-actions small{margin-top:.15rem;font-size:.7rem;color:hsl(var(--muted-foreground))}.dashboard-actions button>svg{color:hsl(var(--muted-foreground))}.dashboard-link{display:inline-flex;align-items:center;gap:.35rem;font-size:.76rem;font-weight:600;color:hsl(var(--primary))}.dashboard-link svg{width:.9rem;height:.9rem}.dashboard-recent-list{display:grid;gap:.7rem;margin-top:1rem}.dashboard-recent-item{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.85rem;border:1px solid hsl(var(--border));border-radius:.8rem;padding:.85rem}.dashboard-recent-logo{display:grid;width:2.65rem;height:2.65rem;overflow:hidden;place-items:center;border-radius:.65rem;background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.dashboard-recent-logo img{width:100%;height:100%;object-fit:cover}.dashboard-recent-logo svg{width:1.1rem;height:1.1rem}.dashboard-recent-copy{min-width:0}.dashboard-recent-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem}.dashboard-recent-copy p{margin-top:.18rem;font-size:.7rem;color:hsl(var(--muted-foreground))}.dashboard-recent-actions{display:flex;align-items:center;gap:.45rem}.dashboard-recent-actions a,.dashboard-recent-actions button{display:inline-flex;align-items:center;gap:.35rem;border:1px solid hsl(var(--border));border-radius:.55rem;padding:.45rem .65rem;font-size:.72rem;font-weight:600}.dashboard-recent-actions a:hover,.dashboard-recent-actions button:hover{background:hsl(var(--muted))}.dashboard-recent-actions svg{width:.85rem;height:.85rem}.dashboard-empty{display:grid;min-height:150px;place-items:center;text-align:center;border:1px dashed hsl(var(--border));border-radius:.8rem;padding:1.25rem}.dashboard-empty svg{width:1.4rem;height:1.4rem;margin:0 auto .65rem;color:hsl(var(--muted-foreground))}.dashboard-empty strong{display:block;font-size:.86rem}.dashboard-empty p{margin-top:.25rem;font-size:.74rem;color:hsl(var(--muted-foreground))}@media(max-width:1000px){.dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-main-grid{grid-template-columns:1fr}}@media(max-width:640px){.dashboard-heading{align-items:flex-start;flex-direction:column}.dashboard-heading .primary-button{width:100%;justify-content:center}.dashboard-stats{grid-template-columns:1fr 1fr;gap:.7rem}.dashboard-stat{min-height:96px;padding:.8rem}.dashboard-stat strong{font-size:1.4rem}.dashboard-card{padding:1rem}.dashboard-recent-item{grid-template-columns:auto 1fr}.dashboard-recent-actions{grid-column:1/-1}.dashboard-recent-actions a,.dashboard-recent-actions button{justify-content:center;flex:1}.dashboard-period{display:none}}


/* Support tickets */
.ticket-note{display:flex;gap:.75rem;align-items:flex-start;border:1px solid hsl(var(--border));background:hsl(var(--muted)/.35);padding:1rem;border-radius:.85rem;font-size:.875rem;color:hsl(var(--muted-foreground))}.ticket-note svg{width:1.1rem;flex:none;color:hsl(var(--primary));margin-top:.1rem}.ticket-note a{color:hsl(var(--primary));font-weight:600}.support-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);gap:1rem}.ticket-card{border:1px solid hsl(var(--border));background:hsl(var(--card));border-radius:1rem;padding:1.25rem}.ticket-form{display:grid;gap:1rem}.ticket-form h2,.ticket-history h2,.ticket-chat h2{font-size:1rem;font-weight:650}.ticket-form>div p,.ticket-chat-head p{font-size:.8rem;color:hsl(var(--muted-foreground));margin-top:.25rem}.ticket-form label{display:grid;gap:.45rem;font-size:.82rem;font-weight:600}.ticket-form input,.ticket-form textarea,.ticket-reply textarea{width:100%;border:1px solid hsl(var(--border));background:hsl(var(--background));border-radius:.7rem;padding:.75rem;color:hsl(var(--foreground));resize:vertical}.ticket-history{align-self:start}.history-row{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.85rem 0;border-bottom:1px solid hsl(var(--border))}.history-row:last-child{border-bottom:0}.history-row strong,.history-row small{display:block}.history-row small{font-size:.72rem;color:hsl(var(--muted-foreground));margin-top:.2rem}.ticket-status{display:inline-flex;align-items:center;border-radius:999px;padding:.25rem .55rem;font-size:.68rem;font-weight:700;text-transform:capitalize;background:hsl(var(--muted));color:hsl(var(--muted-foreground))}.ticket-status.ongoing{background:#2563eb1a;color:#2563eb}.ticket-status.resolved{background:#16a34a1a;color:#16a34a}.ticket-status.deleted{background:#f973161a;color:#ea580c}.ticket-chat{padding:0;overflow:hidden}.ticket-chat-head{padding:1.15rem 1.25rem;border-bottom:1px solid hsl(var(--border));display:flex;justify-content:space-between}.ticket-chat-head h2{margin-top:.5rem}.ticket-messages{display:grid;gap:.9rem;padding:1.25rem;max-height:480px;overflow:auto;background:hsl(var(--muted)/.14)}.ticket-message{max-width:82%;border:1px solid hsl(var(--border));border-radius:.85rem;padding:.8rem .9rem;background:hsl(var(--card))}.ticket-message.user{margin-left:auto;background:hsl(var(--primary));color:hsl(var(--primary-foreground));border-color:transparent}.ticket-message>div{display:flex;justify-content:space-between;gap:1rem;font-size:.72rem}.ticket-message time{opacity:.65}.ticket-message p{font-size:.86rem;line-height:1.55;margin-top:.45rem;white-space:pre-wrap}.ticket-reply{display:grid;gap:.75rem;padding:1rem 1.25rem;border-top:1px solid hsl(var(--border))}.ticket-reply button{justify-self:end}.ticket-closed-note,.ticket-loading,.ticket-error{padding:1rem;border:1px solid hsl(var(--border));border-radius:.75rem;color:hsl(var(--muted-foreground));font-size:.85rem}.ticket-closed-note{margin:1rem}.ticket-error{color:#dc2626}@media(max-width:800px){.support-layout{grid-template-columns:1fr}.ticket-message{max-width:94%}}
