/* FamiClash identity and readable, pre-rendered game pages. */
a{color:inherit}a.btn,a.play-card,.brand,.game-card h3 a,.game-card-visual,.footer-brand{text-decoration:none}
.brand{gap:9px;white-space:nowrap;flex-shrink:0}.brand-mark{width:53px;height:40px;object-fit:contain;display:block}.brand-word{font-size:29px;letter-spacing:-1.3px;font-weight:850;line-height:1}.brand-word>span{color:var(--purple)}
.header-nav .nav-link{text-decoration:none;display:inline-flex;align-items:center;min-height:44px}.site-header{padding-top:22px;padding-bottom:22px}.nav-link:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #7664cf;outline-offset:5px;border-radius:6px}
.hero h1{font-size:clamp(2.6rem,4.7vw,4.4rem);line-height:1.04;letter-spacing:-2.3px;max-width:740px}.hero-copy{font-size:1.1rem;max-width:580px;line-height:1.7}.hero .eyebrow{font-size:.76rem;letter-spacing:1.5px}.hero-actions{flex-wrap:wrap}.text-btn{box-shadow:none;background:transparent;border-color:transparent;padding-left:4px;padding-right:4px}.hero-foot{flex-wrap:wrap;font-size:.81rem;gap:14px}.hero-badge{white-space:nowrap}
.game-card-visual .game-cover{display:block;width:100%;height:100%;object-fit:cover;object-position:center 55%}.game-landing-art:has(.game-cover){padding:0;overflow:hidden}.game-landing-art .game-cover{display:block;width:100%;height:100%;min-height:inherit;object-fit:cover}.game-landing-art:has(.game-cover) .preview-caption{display:none}.game-card-visual{display:block;width:100%;overflow:hidden}.game-card-visual>span[aria-hidden]{display:block;width:100%;height:100%}.game-card h3 a:hover{color:var(--purple)}.game-card h3 a{display:block}.game-card-desc{font-size:.95rem;line-height:1.6}.game-card-bottom .play-card{min-height:44px}.game-family{font-size:.75rem}.game-card h3{line-height:1.3}.game-card-info{display:flex;flex-direction:column;flex:1}.game-card{display:flex;flex-direction:column}.game-card-bottom{margin-top:auto}.game-card-visual{flex-shrink:0}.catalog-filters .filter{font-size:.875rem}
.home-explainer{margin-top:76px;padding:45px 0;display:grid;grid-template-columns:1fr 1.5fr;gap:55px;border-top:1px solid var(--border)}.home-explainer h2{font-size:2.1rem;line-height:1.13;letter-spacing:-1px;margin:12px 0 18px}.home-explainer p,.how-cards p{font-size:1rem;line-height:1.75;color:var(--muted)}.how-cards{display:grid;gap:24px}.how-cards article{position:relative;padding-left:54px}.how-cards article>span{position:absolute;left:0;top:0;width:38px;height:38px;border-radius:12px;background:#eee9fa;display:grid;place-items:center;color:var(--purple)}.how-cards h3{font-size:1.1rem;margin:0 0 6px}.home-faq{max-width:890px;margin:42px auto 60px}.home-faq h2{font-size:1.8rem;letter-spacing:-.7px;margin:0 0 22px}.home-faq details{border-bottom:1px solid #e0e3ed;padding:0 2px}.home-faq summary{font-size:1rem;font-weight:700;line-height:1.5;cursor:pointer;min-height:60px;padding:18px 22px 18px 0}.home-faq details p{font-size:1rem;line-height:1.75;color:var(--muted);max-width:760px;padding:0 0 22px;margin:0}.home-faq details[open] summary{color:var(--purple)}
.famiclash-footer{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:28px 0 10px}.famiclash-footer .footer-brand{font-size:1.35rem;font-weight:850;letter-spacing:-.7px;color:var(--ink)}.famiclash-footer p{font-size:.875rem;margin:0}.famiclash-footer nav{display:flex;gap:20px;flex-wrap:wrap;margin-left:auto}.famiclash-footer nav a{font-size:.875rem;min-height:44px;display:inline-flex;align-items:center}.famiclash-footer small{width:100%;font-size:.8rem;color:var(--muted)}
.breadcrumbs{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:.875rem;color:var(--muted);margin:10px 0 35px}.breadcrumbs a{text-decoration:none;min-height:34px;display:inline-flex;align-items:center}.breadcrumbs a:hover{text-decoration:underline;color:var(--purple)}.breadcrumbs [aria-current]{color:var(--ink)}
.game-landing{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;gap:65px;margin-bottom:58px}.game-landing h1{font-size:clamp(2.4rem,4.2vw,4.1rem);line-height:1.06;letter-spacing:-2px;margin:16px 0 17px}.game-lead{font-size:1.25rem;font-weight:650;line-height:1.6;max-width:640px;margin:0 0 14px}.game-intro{font-size:1rem;line-height:1.8;color:var(--muted);margin:0;max-width:650px}.game-facts{display:flex;flex-wrap:wrap;gap:13px 20px;margin-top:24px}.game-facts span{display:inline-flex;align-items:center;gap:6px;font-size:.875rem;color:var(--muted)}.game-launch-actions{display:flex;gap:12px;flex-wrap:wrap;margin:27px 0 16px}.game-launch-actions .btn{min-height:52px;font-size:1rem;padding:13px 20px}.game-rules-link{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;text-underline-offset:4px;color:var(--muted)}.game-landing-art{min-width:0;width:100%;max-width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;border:1px solid rgba(32,42,69,.06);border-radius:34px;position:relative;overflow:hidden;min-height:310px;aspect-ratio:1.16;box-shadow:0 18px 50px #202a4507;transform:rotate(2deg)}.game-landing-art>svg{width:100%;height:auto;max-height:340px}.preview-caption{font-size:.875rem;background:#ffffffc9;border:1px solid #ffffffdd;border-radius:24px;padding:10px 17px;margin:0 16px 20px;position:relative;text-align:center}.game-guide{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;scroll-margin-top:20px}.guide-card{background:white;border:1px solid #e4e6ef;border-radius:22px;padding:30px;min-width:0}.guide-card h2{font-size:1.35rem;line-height:1.4;letter-spacing:-.5px;margin:9px 0 16px}.guide-card p,.guide-card li{font-size:1rem;line-height:1.8;color:var(--muted);overflow-wrap:anywhere}.guide-card p{margin:0}.guide-card .guide-note{font-size:.875rem;margin-top:18px;border-top:1px solid #ececf4;padding-top:16px}.guide-card ul{margin:0;padding-left:20px;display:grid;gap:12px}.guide-card .eyebrow{font-size:.75rem}.guide-controls{background:#f1eef9;border-color:#e7e1f4}.game-faq{margin:55px auto}.related-games{padding-top:12px}.related-games .catalog-head{gap:20px;flex-wrap:wrap}.related-games .catalog-head h2{font-size:1.7rem;letter-spacing:-.7px}.related-games .catalog-head>a{font-size:.875rem;min-height:44px;display:inline-flex;align-items:center;color:var(--purple)}
.playing .play-brand .brand-word{font-size:23px}.playing .play-brand .brand-mark{width:43px;height:32px}.offline-page{max-width:650px;margin:10vh auto;padding:30px;text-align:center}.offline-page h1{font-size:2rem;margin:25px 0}.offline-page p{font-size:1rem;line-height:1.75;color:var(--muted)}.offline-page .brand{justify-content:center}.noscript{margin:15px auto;max-width:800px;font-size:1rem;line-height:1.7}
@media(min-width:1600px){.hero-art{max-width:500px}}
@media(max-width:1100px){.brand-word{font-size:26px}.brand-mark{width:46px;height:35px}.site-header{gap:18px}.header-actions{gap:7px}.header-nav{gap:12px}.game-landing{gap:35px}.game-landing-art{min-height:270px}.game-landing h1{font-size:3.1rem}.home-explainer{gap:30px}.famiclash-footer nav{margin-left:0;width:100%}}
@media(max-width:850px){.hero h1{font-size:3rem}.game-landing{grid-template-columns:1.2fr 1fr;gap:25px}.game-landing h1{font-size:2.7rem}.game-landing-art{min-height:220px;border-radius:25px}.game-facts{gap:10px}.game-launch-actions{gap:9px}.game-launch-actions .btn{font-size:.95rem;padding:12px 14px}.home-explainer{grid-template-columns:1fr;gap:30px;margin-top:45px}.how-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.how-cards article{padding-left:0;padding-top:50px}.guide-card{padding:24px}}
@media(max-width:650px){.brand-word{font-size:24px;letter-spacing:-1px}.brand-mark{width:43px;height:32px}.brand{gap:7px}.site-header{padding:17px 18px;gap:8px}.header-actions{gap:4px}.profile-button{padding:5px}.profile-button .avatar-mini{width:25px;height:25px}.hero h1{font-size:2.8rem;max-width:none;letter-spacing:-1.8px}.hero-copy{font-size:1rem;max-width:500px}.hero-actions .text-btn{padding-left:0;min-height:40px}.hero-actions .btn{font-size:.9rem}.hero-foot{font-size:.8rem}.game-card-desc{font-size:.9rem}.game-card h3{font-size:1.1rem}.game-family{font-size:.75rem}.catalog-filters .filter{font-size:.8rem}.home-explainer{padding-top:32px}.home-explainer h2{font-size:1.9rem}.how-cards{grid-template-columns:1fr}.how-cards article{padding:0 0 0 54px}.home-faq{margin:28px auto 38px}.home-faq h2{font-size:1.55rem}.famiclash-footer{gap:12px}.famiclash-footer nav{gap:0 19px}.breadcrumbs{font-size:.8rem;gap:9px;margin:7px 0 21px}.game-landing{grid-template-columns:1fr;gap:25px;margin-bottom:30px}.game-landing h1{font-size:2.8rem;letter-spacing:-1.5px}.game-lead{font-size:1.1rem}.game-intro{font-size:1rem;line-height:1.7}.game-landing-art{aspect-ratio:1.8;min-height:180px;max-height:240px;transform:none}.game-landing-art>svg{width:78%;max-height:180px}.preview-caption{font-size:.8rem;padding:7px 13px;margin:0 10px 14px}.game-guide{grid-template-columns:1fr;gap:14px}.guide-card{padding:23px 20px;border-radius:18px}.guide-card h2{font-size:1.3rem}.game-facts{font-size:.85rem}.game-launch-actions{margin-top:22px}.game-launch-actions .btn{flex:1;font-size:.94rem;padding:12px 8px;white-space:nowrap}.game-rules-link{font-size:.875rem}.related-games .catalog-head h2{font-size:1.45rem}.playing .play-brand .brand-word{display:none}.playing .play-brand .brand-mark{width:40px;height:29px}}
@media(max-width:370px){.site-header{padding:14px 12px}.brand-word{font-size:21px}.brand-mark{width:35px;height:27px}.brand{gap:5px}.header-actions .icon-btn{width:28px}.header-actions{gap:2px}.profile-button .avatar-mini{width:22px;height:24px;font-size:16px}.hero h1{font-size:2.45rem}.game-launch-actions{flex-direction:column}.game-launch-actions .btn{flex:auto}.game-landing h1{font-size:2.4rem}.game-card h3{font-size:1.03rem}.game-card-desc{font-size:.875rem}}
