/* Kosmiczna impreza: nocne niebo, neon i planety. */
body.space-theme{--ink:#eef0ff;--muted:#b6b5d4;--yellow:#74e9f5;--paper:#101024;--line:#393454;color-scheme:dark;background:radial-gradient(ellipse at 10% 15%,#282048,transparent 55%),#101024}
.space-theme .header{background:#101024ee;border-color:var(--line)}
.space-theme .hero,.space-theme .join{background:radial-gradient(ellipse at 85% 15%,#35246b,transparent 60%),linear-gradient(125deg,#101a36,#20143b)}
.space-theme .hero-description,.space-theme .game-card p{color:#b6b5d4}.space-theme h2>span{color:#b9a4ef}
.space-theme .hero h1 .chaos,.space-theme .brand-dot,.space-theme .art-spark,.space-theme .feature-row span,.space-theme .tips-doodle{color:#74e9f5}
.space-theme .chaos svg{stroke:#74e9f5}
.space-theme .hero-image-wrap{border-color:#615488;box-shadow:12px 16px 0 #74e9f520;background:radial-gradient(circle,#463768,#152039)}
.space-theme .hero-image{object-fit:contain;padding:12px 12px 34px}
.space-theme ::selection{background:#74e9f5;color:#111429}
.space-theme .gallery-item:hover b{color:#111429}
.space-theme .sticker{background:#292044;border-color:#74e9f5;box-shadow:4px 4px 0 #5077a2}
.space-theme .ticker{background:#74e9f5;color:#111429;border-color:#5088a4}
.space-theme .status-dot,.space-theme .live-dot{background:#74e9f5}
.space-theme .mini-faces span{background:#292044;border-color:#615488}
.space-theme .button{background:#74e9f5;color:#111429}.space-theme .button:hover{background:#b0f5fb}
.space-theme .gameplay,.space-theme .character-catalog,.space-theme .characters{background:#151329}
.space-theme .card-yellow{background:#232344}.space-theme .card-lilac{background:#302144}.space-theme .card-peach{background:#18303e}
.space-theme .game-card,.space-theme .card-tag{border-color:#615488}
.space-theme .catalog-search,.space-theme .catalog-character,.space-theme .fan-gallery .gallery-item{background:#1e1a35}
.space-theme .catalog-search input::placeholder{color:var(--muted)}
.space-theme .catalog-avatar-image,.space-theme .style-image-wrap,.space-theme .catalog-preview-art{background:radial-gradient(circle,#403260,#1d203b)}
.space-theme .style-card{background:#18142b;border-color:var(--line)}.space-theme .style-card:hover{background:#30254b;border-color:#74e9f5}
.space-theme .catalog-navigation button:not(:disabled):hover{color:#111429}
.space-theme .style-rarity{color:#c7a8ef}.space-theme .style-zoom{background:#292044;color:#eef0ff}
.space-theme .style-track{scrollbar-color:#79659e #1e1a35}
.space-theme .style-track::-webkit-scrollbar-track{background:#1e1a35}.space-theme .style-track::-webkit-scrollbar-thumb{background:#79659e}
.space-theme .character-photo{background:radial-gradient(circle,#463768,#152039)}
.space-theme .character-badge{background:#292044;color:#74e9f5}
.space-theme .team-style-toolbar{background:#24203c;border-color:#615488}.space-theme .team-style-toolbar>p{color:#b6b5d4}
.space-theme .team-style-all,.space-theme .character-style-button{background:#201b36;color:#eef0ff;border-color:#615488}
.space-theme .team-style-all[aria-pressed="true"],.space-theme .character-style-button[aria-pressed="true"],.space-theme .filter-button.active{background:#74e9f5;border-color:#74e9f5;color:#111429}
.space-theme .character-copy>.character-style-caption{background:#24203c;color:#c1eef5}
.space-theme .filter-button:hover{background:#30254b}.space-theme .fan-gallery .gallery-item>.gallery-tag{color:#b9a4ef}
.space-theme .faq summary>b{background:#30254b}.space-theme .faq details[open] summary>b{background:#74e9f5;color:#111429}
.space-theme dialog{background:#151329;color:#eef0ff}.space-theme .lightbox-close{background:#292044;color:#eef0ff}
.space-theme .snow-toggle{opacity:.6;cursor:not-allowed}.space-theme #snowfall{display:none}.space-theme .snowflake{animation-play-state:paused}
.character-card[data-current-style="space"] .character-photo{height:390px;background:radial-gradient(circle at 50% 45%,#463768,#152039)}
.character-card[data-current-style="space"] .character-photo img{width:100%;height:100%;max-height:390px;object-fit:contain;padding:16px;animation:appear .4s ease}
.character-card[data-current-style="space"] .character-badge{background:#292044;color:#74e9f5}
.fan-gallery .gallery-space{grid-column:span 4}.fan-gallery .gallery-space img{background:radial-gradient(circle,#463768,#152039);padding:12px;max-height:420px;object-fit:contain}
.fan-gallery .gallery-space>.gallery-tag{color:#655085}.filter-button[data-filter="space"].active{background:#74e9f5;border-color:#74e9f5;color:#111429}
.space-decor{display:none;position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:21}.space-theme .space-decor{display:block}
.space-stars{position:absolute;inset:0;background-image:radial-gradient(circle,#d5e7ff 1px,transparent 2px),radial-gradient(circle,#b9a4ef 1px,transparent 2px);background-size:137px 163px,211px 193px;background-position:17px 40px,80px 110px;opacity:.2;animation:space-twinkle 5s ease-in-out infinite alternate}
.space-planet{position:absolute;right:24px;top:150px;width:54px;height:54px;border-radius:50%;background:linear-gradient(135deg,#cc9feb,#5340a6);opacity:.5;box-shadow:0 0 32px #a98fe540;animation:space-float 9s ease-in-out infinite alternate}
.space-planet::after{content:"";position:absolute;inset:16px -17px;border:5px solid #74e9f5;border-radius:50%;transform:rotate(-28deg)}
.space-moon{position:absolute;left:18px;bottom:45px;width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#cad5fa,#606b9a);opacity:.35}
.space-meteor{position:absolute;left:10%;top:-10%;width:160px;height:2px;background:linear-gradient(90deg,transparent,#74e9f5);opacity:0;transform:rotate(35deg);animation:space-meteor 14s linear infinite}
.space-meteor.meteor-two{left:45%;animation-delay:6s;animation-duration:19s}
@keyframes space-twinkle{to{opacity:.38}}
@keyframes space-float{to{transform:translateY(15px) rotate(12deg)}}
@keyframes space-meteor{0%,82%{opacity:0;transform:translate(0,0) rotate(35deg)}84%{opacity:.65}93%,100%{opacity:0;transform:translate(75vw,55vh) rotate(35deg)}}
@media(max-width:800px){.space-theme .nav nav{background:#101024}.fan-gallery .gallery-space{grid-column:span 3}.character-card[data-current-style="space"] .character-photo{height:340px}.space-planet{width:35px;height:35px;right:12px}.space-planet::after{inset:10px -12px;border-width:3px}}
@media(max-width:540px){.fan-gallery .gallery-space{grid-column:span 1}.character-card[data-current-style="space"] .character-photo{height:350px}.space-planet,.space-moon{display:none}}
@media(prefers-reduced-motion:reduce){.space-stars,.space-planet{animation:none}.space-meteor{display:none}.character-card[data-current-style="space"] .character-photo img{animation:none}}
