/* Download-led home, keeping the existing practice engine. */
[hidden]{display:none!important}
html{scroll-padding-top:90px}


.download-home .back-top{left:50%!important;right:auto!important;margin-left:0!important;transform:translateX(-50%)!important;bottom:24px}
@media(max-width:760px){.download-home .back-top{bottom:calc(94px + env(safe-area-inset-bottom))!important}}
body.download-home{background:#fffdf8;color:#221a17;font-family:Arial,sans-serif}
.download-home .wrap{width:min(1200px,calc(100% - 48px))}
.download-home .site-head{background:#160e0d!important}
.download-home h2,.download-home h3{font-family:Georgia,serif;letter-spacing:-.035em}
.download-home .section{padding:48px 0}
.download-home .section-head{display:block;margin-bottom:24px}
.download-home .section-head h2{font:700 clamp(27px,3vw,38px)/1.15 Georgia,serif;padding:0}
.download-home .section-head h2:before{display:none}
.download-home .section-head p{max-width:720px;color:#6c615b;font-size:16px}
.download-home .gold-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:48px;padding:12px 24px;border:1px solid #e4ba60;border-radius:6px;background:linear-gradient(#ffe6a4,#eabb5d);color:#241808;font-weight:800;text-decoration:none;cursor:pointer;box-shadow:0 3px 8px #0002}
.download-home .outline-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border:1px solid #d7b577;color:#fff4db;background:#23070955;border-radius:6px;text-decoration:none;font-weight:700}
.download-hero{position:relative;isolation:isolate;background:#260608;color:#fff8e8;min-height:570px;overflow:hidden}
.download-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 58%;z-index:-2}
.download-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#240305c9,transparent 76%);z-index:-1}
.download-hero .wrap{padding:72px 0 54px}
.download-hero-copy{max-width:570px;width:49%}
.download-eyebrow{font-size:11px;font-weight:700;letter-spacing:.26em;color:#e6c387;margin-bottom:22px}
.download-hero h1{font:700 clamp(42px,5vw,70px)/1.02 Georgia,serif;letter-spacing:-.04em;margin:0 0 20px}
.download-hero-copy>p:not(.download-eyebrow){font-size:19px;line-height:1.6;color:#eee0cd}
.download-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 18px}



.download-disclaimer{font-size:12px!important;color:#d9c4b4!important}
.art-caption{position:absolute;right:24px;bottom:12px;color:#e7d4be;font-size:10px}
.download-home .play-hero{background:#faf7f0!important;color:#251b17;padding:44px 0!important;min-height:0!important}
.download-home .play-hero>.wrap{display:grid!important;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr)!important;gap:24px!important;align-items:start}
.download-home .play-heading{position:static!important;grid-column:1/-1!important;display:block!important;text-align:left!important;margin:0!important;opacity:1!important;transform:none!important;pointer-events:auto!important}
.download-home .play-heading h2{font:700 clamp(28px,3vw,40px)/1.15 Georgia,serif;margin:0 0 10px}
.download-home .play-heading p{max-width:740px;color:#6c615b;margin:0!important}
.download-home .play-heading .hero-points{display:none}
.download-home .play-heading .hero-play{display:inline-flex!important;width:auto!important;min-height:44px!important;padding:12px 22px!important;margin:16px 0 0!important;background:linear-gradient(#ffe5a0,#e3b659)!important;color:#281908!important;border:1px solid #b89042!important;border-radius:5px!important;box-shadow:none!important;animation:none!important;font-size:15px!important;transform:none!important}
.download-home .hero-play:after{display:none}
.download-home .game-shell{grid-column:1!important;grid-row:auto!important;width:100%!important;margin:0!important;transform:none!important;opacity:1!important;border:2px solid #c49b50!important;border-radius:10px!important;min-height:440px!important;height:440px!important;background-color:#6d1319!important}
.download-home .game-preview{background-position:center!important;background-size:cover!important}
.download-home .play-mode .game-shell{height:570px!important;min-height:570px!important}
.download-home .site-head.playing{display:block!important}
.practice-explainer{grid-column:2;grid-row:2;padding:30px;border:1px solid #e2d6c5;border-radius:8px;background:#fffdf9;min-height:440px}
.practice-explainer h3{font-size:30px;line-height:1.13;margin-bottom:28px}
.practice-explainer ol{list-style:none;padding:0;counter-reset:step}
.practice-explainer li{position:relative;padding:0 0 24px 44px;counter-increment:step}
.practice-explainer li:before{content:counter(step);position:absolute;left:0;background:#7c1017;color:#fff;width:28px;height:28px;border-radius:50%;display:grid;place-items:center}
.practice-explainer strong,.practice-explainer small{display:block}.practice-explainer small{color:#796e65;margin-top:6px}
.practice-explainer a{color:#7c1017}.download-home .danmaku-layer,.download-home .hero-trust{display:none!important}
.download-home .danmaku-composer{grid-column:1;grid-row:3;margin:0!important;width:100%;background:#fff;border:1px solid #d9c6a5;color:#222}
.download-home .intro-strip{padding:26px 0;background:#fff}.download-home .intro-grid{display:block}.download-home .intro-grid h2{font:700 26px Georgia;padding:0}.download-home .intro-grid h2:before{display:none}.download-home .quick-rule{padding:14px 18px}
.download-home .route-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;border:0;overflow:visible}
.download-home .route{border:1px solid #e1d8ca!important;border-radius:7px;padding:24px!important;background:linear-gradient(135deg,#fff,#f5efe3)!important;color:#241914}
.download-home .route strong{font:38px Georgia;color:#a97829}.download-home .route h3{font-size:24px;margin:14px 0 10px}.download-home .route a{display:inline-block;padding:0;border:0;border-bottom:1px solid;color:#83141a}.download-home .route p{color:#73685e}
.lesson-expand{border-top:1px solid #e5dacc;border-bottom:1px solid #e5dacc;padding:14px 0}.lesson-expand>summary{cursor:pointer;font:700 22px Georgia}.download-home .article-demo{background:#faf5eb;padding:24px}.download-home .article-shell{width:100%}
.download-home .tools{background:#fff}.download-home .tools>.wrap{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.download-home #tools .section-head{grid-column:1/-1;margin:0}
.download-home .score-panel{border:1px solid #ded3c4;border-radius:7px;box-shadow:none;min-width:0}
.download-home .score-row{grid-template-columns:1fr 80px 80px 70px}.download-home .score-row input{width:100%}.download-home .tool-grid{display:block;margin:0!important;min-width:0}.download-home .tool-feature{background:#f5efe5;color:#281a12;border:1px solid #ded3c4;border-radius:7px;padding:22px}.download-home .tool-feature p{color:#796857}.download-home .tool-feature h3{font-size:23px}.download-home .tool-list{margin-top:12px}.download-home .tool-item{padding:14px}.download-home .btn{background:#751018;color:#fff;border-radius:5px;box-shadow:none}
.news-heading{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:22px}.news-heading h2{font-size:36px;margin:0}.news-heading a,.editorial-card a{color:#801018}
.editorial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.editorial-card{border:1px solid #dfd6cb;border-radius:7px;padding:22px;background:#fff}.editorial-symbol{height:72px;display:flex;align-items:center;font:46px Georgia;color:#971521;letter-spacing:-.1em}.editorial-card small{font-size:10px;letter-spacing:.16em;color:#971521}.editorial-card h3{font-size:24px;margin:10px 0}.editorial-card p{color:#786c63;line-height:1.6;font-size:15px}
.community-ribbon{display:flex;justify-content:space-between;align-items:center;gap:25px;background:linear-gradient(110deg,#2b080b,#7b0d17);color:#fff3dc;padding:26px 32px;border-radius:6px;margin-top:22px}.community-ribbon h3{font-size:29px;margin:0 0 8px}.community-ribbon p{margin:0;color:#d2bbae}
.download-home .faq{padding-top:12px}.download-home .faq details{background:#fff;border:1px solid #ded5c9}.download-home #learning-guide{font-size:15px;color:#6e6258;padding-top:20px}.download-home #learning-guide h2{font-size:27px}
.download-home .closing-download{color:#fff0d5;background:#21080a;padding:0;overflow:hidden}
.download-home .closing-download .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:24px}
.closing-copy{align-self:center;min-width:0;padding:40px 0}
.download-home .closing-download h2{font-size:clamp(28px,3vw,40px);line-height:1.15;margin:0 0 14px;max-width:480px;overflow-wrap:break-word}
.closing-download p{margin:0;line-height:1.6}
.download-home .closing-download .gold-button{margin-top:24px;min-height:48px;max-width:100%;width:fit-content;white-space:normal;text-align:center;line-height:1.3;box-sizing:border-box}
.closing-art{min-height:320px;background:linear-gradient(90deg,#21080a,transparent 18%),url('/download-hero-rummy13-v2.png') right center/auto 120% no-repeat}
@media(max-width:760px){.download-home .closing-download .wrap{grid-template-columns:minmax(0,1fr);gap:0}.closing-copy{padding:32px 0 24px}.download-home .closing-download h2{max-width:100%;font-size:30px}.closing-art{min-height:0;height:240px;background-image:linear-gradient(#21080a,transparent 18%),url('/download-hero-rummy13-v2.png');background-size:auto,auto 120%}.download-home .closing-download .gold-button{width:100%;max-width:320px}}
.download-home .site-footer{background:#130f0f}.mobile-download-bar{display:none}

.download-home :focus-visible{outline:3px solid #bb872c;outline-offset:4px}.nav-download{font-size:12px;min-height:36px!important;padding:8px 12px!important;white-space:nowrap}
@media(max-width:1100px){.nav-download{display:none!important}.download-hero-copy{width:55%}.download-home .tools>.wrap{grid-template-columns:1fr}.download-home .score-row{grid-template-columns:1fr 90px 90px 70px}}
@media(max-width:760px){.download-home .wrap{width:calc(100% - 32px)}.download-home .section{padding:30px 0}.download-hero{min-height:720px}.download-hero>img{height:390px;top:auto;bottom:0;object-position:75% center}.download-hero:before{background:linear-gradient(#240608 42%,transparent 74%)}.download-hero .wrap{padding-top:42px}.download-hero-copy{width:100%;max-width:none;text-align:center}.download-hero h1{font-size:46px}.download-hero-copy>p:not(.download-eyebrow){font-size:16px}.download-actions{justify-content:center}.download-disclaimer{font-size:10px!important}.download-eyebrow{margin-bottom:16px}.download-home .play-hero>.wrap{grid-template-columns:1fr!important}.download-home .play-heading{grid-column:1!important}.download-home .game-shell{height:330px!important;min-height:330px!important;grid-row:2!important}.download-home .play-mode .game-shell{height:540px!important;min-height:540px!important}.practice-explainer{grid-column:1;grid-row:4;min-height:0;padding:24px}.practice-explainer h3{font-size:27px}.practice-explainer ol{margin-bottom:0}.practice-explainer li{padding-bottom:16px}.download-home .danmaku-composer{grid-row:3}.download-home .route-grid,.editorial-grid{grid-template-columns:1fr}.download-home .route{padding:22px!important}.download-home .route strong{float:right}.download-home .score-row{grid-template-columns:1fr 58px 58px 48px;gap:8px}.download-home .panel-head,.download-home .panel-foot,.download-home .score-table{padding:15px}.news-heading h2{font-size:29px}.news-heading a{font-size:13px}.community-ribbon,.closing-download .wrap{align-items:flex-start;flex-direction:column}.closing-download h2{font-size:35px}.download-home .site-footer{padding-bottom:105px}.mobile-download-bar{position:fixed;bottom:0;left:0;right:0;z-index:70;display:flex;justify-content:space-between;align-items:center;background:#fffaf2f5;border-top:1px solid #dac8a6;backdrop-filter:blur(12px);padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:12px}.mobile-download-bar strong{font-size:13px}.mobile-download-bar small{display:block;font-size:11px;color:#8b7563;margin-top:4px}.mobile-download-bar .gold-button{min-height:42px;padding:10px 18px;font-size:13px}.download-home .back-top{bottom:90px}.download-home:has(.play-mode) .mobile-download-bar{display:none}.download-home .play-heading p{margin:0!important}.download-home .hero-play{margin:16px 0!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
/* Explicit rows prevent legacy game styles from moving the heading beside the aside. */
.download-home .play-hero .play-heading{grid-row:1!important;grid-column:1/-1!important;width:100%!important;max-width:100%!important;min-width:0;inset:auto!important;padding:0!important;text-shadow:none!important}
.download-home .play-hero .play-heading #play-title{color:#251b17!important;-webkit-text-fill-color:#251b17!important;text-shadow:none!important;white-space:normal!important;overflow-wrap:anywhere;font-size:clamp(26px,3vw,40px)!important;line-height:1.2!important;width:100%!important;max-width:900px!important}
.download-home .play-hero .play-heading p{position:static!important;transform:none!important;width:100%!important;max-width:720px!important;min-width:0!important;color:#62554c!important;font-size:clamp(15px,1.4vw,18px)!important;line-height:1.7!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere;text-shadow:none!important}
.download-home .play-hero .game-shell{grid-row:2!important}
.download-home .download-actions{align-items:center}
.download-home .google-play-button{display:inline-flex;align-items:center;justify-content:center;width:190px;height:74px;flex:0 0 auto}
.download-home .google-play-button img{position:static;width:100%;height:auto;max-width:100%;object-fit:contain}
@media(max-width:760px){.download-home .play-hero .play-heading #play-title{font-size:28px!important}.download-home .download-actions{gap:6px}.download-home .google-play-button{width:170px;height:66px}.download-home .download-actions .gold-button{padding:12px 16px}}
