/* Informational content remains in the HTML for visitors and search engines. */
body{display:block;background:radial-gradient(ellipse at top,#effbf7,#dceee8)}
.site-layout{width:100%;max-width:1440px;margin:auto;display:grid;grid-template-columns:minmax(0,1fr);gap:20px;justify-items:center;align-items:start}
.site-layout>.phone{grid-row:1}
.info-panel{background:#ffffffed;color:#19494b;border:1px solid #cce4df;border-radius:18px;padding:20px;box-shadow:0 8px 24px #154d430a;min-width:0;width:100%;overflow-wrap:anywhere;font-family:Tahoma,Arial,sans-serif}
.site-summary,.site-guide{width:100%;max-width:720px}
.site-summary{display:grid;gap:16px;align-self:start;min-width:0}
.site-guide{display:grid;gap:16px;align-self:start}
.site-intro{order:-1}
.site-eyebrow{font-size:12px;color:#376c68}
.site-intro h1{font-size:26px;line-height:1.5;margin:8px 0;font-weight:700}
.site-intro h1 br{display:none}
.site-tagline{color:#087b77;font-weight:700;font-size:15px}
.info-panel h2{font-size:20px;margin:0 0 14px}
.info-panel p{font-size:14px;line-height:1.8;margin:10px 0}
.site-features{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0}
.site-features span{background:#e4f4ef;color:#25665d;border-radius:30px;padding:5px 10px;font-size:12px}
.info-panel .site-footnote{border-top:1px solid #d6e8e2;padding-top:12px;font-size:12px;color:#40645f}
.how-steps{padding:0;list-style:none;counter-reset:step;display:grid;gap:12px;margin:0 0 14px}
.how-steps li{counter-increment:step;display:flex;align-items:center;gap:10px;line-height:1.7;font-size:14px}
.how-steps li:before{content:counter(step);display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:50%;background:#d9efea;color:#175a54;font-weight:700}
.faq details{border-top:1px solid #d6e8e2;padding:10px 0}
.faq details:last-child{padding-bottom:0}
.faq summary{cursor:pointer;font-size:14px;font-weight:700;line-height:1.7}
.faq summary:focus-visible{outline:2px solid #087b77;outline-offset:4px}
.faq details p{font-size:14px;margin:10px 0 0}
@media(min-width:1120px){
 body[data-display=phone] .site-layout{grid-template-columns:minmax(0,1fr) 450px minmax(0,1fr);gap:24px}
 body[data-display=phone] .site-layout>.phone{grid-column:2;grid-row:1}
 body[data-display=phone] .site-summary{grid-column:1;grid-row:1}
 body[data-display=phone] .site-guide{grid-column:3;grid-row:1}
}
@media(max-width:759px){
 body{padding:0;background:var(--game-bg)}
 .site-layout{gap:16px;padding-bottom:20px}
 .site-summary,.site-guide{width:calc(100% - 28px)}
 .info-panel{padding:22px;border-radius:18px}
 .site-intro h1 br{display:none}
}
.stats-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}
.stats-heading h2{font-size:20px;margin:0}.stats-heading>span{font-size:22px}
.player-total{display:flex;align-items:baseline;gap:10px;padding:16px 0;border-bottom:1px solid #d6e8e2;flex-wrap:wrap}
.player-total strong{font-size:36px;color:#087b77;font-variant-numeric:tabular-nums}.player-total span{font-size:14px;color:#40645f}
.stats-panel h3{font-size:16px;margin:18px 0 12px}.leaderboard{list-style:none;padding:0;margin:0;display:grid;gap:8px}
.leaderboard li{display:flex;direction:rtl;align-items:center;gap:10px;background:#edf7f3;padding:10px;border-radius:12px}
.rank-number{display:grid;place-items:center;border-radius:50%;width:28px;height:28px;flex-shrink:0;background:#d9efea;color:#175a54;font-weight:bold}
.leaderboard li:first-child .rank-number{background:#ffe7a8;color:#775600}.rank-name{flex:1;min-width:0;text-align:right;unicode-bidi:isolate;overflow-wrap:anywhere}.rank-score{font-size:12px;color:#376c68;white-space:nowrap;unicode-bidi:isolate}
.info-panel .stats-note{font-size:12px;line-height:1.8;color:#40645f;margin:12px 0 0}
.nickname-form{margin-top:16px;padding-top:14px;border-top:1px solid #d6e8e2}.nickname-form label{font-size:13px;display:block;margin-bottom:8px}.nickname-form label span{color:#60736a}
.nickname-form>div{display:flex;gap:8px}.nickname-form input{min-width:0;flex:1;width:100%;font:inherit;font-size:14px;border:1px solid #bed8cf;border-radius:8px;padding:9px;background:#fff;color:#19494b}
.nickname-form button{background:#087b77;color:#fff;padding:8px 14px;border-radius:8px;font-size:13px}.nickname-form small{display:block;font-size:11px;line-height:1.7;color:#60736a;margin-top:7px}
.nickname-form :focus-visible{outline:2px solid #087b77;outline-offset:3px}
.nickname-form input{text-align:right;unicode-bidi:isolate}
.info-panel.stats-panel{padding:18px}
.stats-panel .player-total{padding:8px 0;gap:8px}.stats-panel .player-total strong{font-size:30px}
.stats-panel h3{margin:10px 0 8px;font-size:14px}.stats-panel .leaderboard{gap:5px}
.stats-panel .leaderboard li{padding:7px 9px;gap:8px}.stats-panel .rank-number{width:25px;height:25px}
.stats-panel .nickname-form{margin-top:10px;padding-top:10px}
.stats-panel .stats-note:empty{display:none}
.stats-panel .rank-name{font-size:14px;font-weight:500}
.stats-home{min-width:0;width:100%}
.drawer-stats{display:block;width:calc(100% - 24px);margin:12px;padding:12px 8px;border:1px solid #ffffff55;border-radius:10px;background:#ffffff20;color:inherit;font-size:15px;font-weight:bold}
.drawer-stats:focus-visible{outline:3px solid currentColor;outline-offset:2px}
.stats-dialog{width:420px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:38px 0 0;border:0;border-radius:18px;background:#fff;color:#19494b;overflow:auto;overscroll-behavior:contain;direction:rtl}
.stats-dialog::backdrop{background:#102b2980}
.stats-dialog>.close{position:absolute;top:7px;right:12px;width:30px;height:30px;font-size:26px;background:transparent;color:#19494b}
.stats-dialog .stats-panel{border:0;border-radius:0;box-shadow:none;background:transparent}
@media(max-width:759px){.stats-home{display:none}}
.player-profile{display:flex;align-items:center;direction:rtl;gap:12px;flex-shrink:0;width:calc(100% - 24px);margin:12px 12px 0;padding:12px;border:1px solid #ffffff4a;border-radius:12px;background:#fff;color:#19494b;text-align:right;font-family:Tahoma,Arial,sans-serif}
.profile-avatar{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:50%;background:#e4f4ef;font-size:22px}
.profile-copy{display:grid;gap:5px;flex:1;min-width:0}.profile-copy small{font-size:11px;color:#60736a}.profile-copy bdi{font-size:16px;overflow-wrap:anywhere;text-align:right}.profile-edit{font-size:12px;color:#087b77;white-space:nowrap}
.drawer .drawer-header{height:auto;min-height:0;padding:20px 12px 8px}
.drawer .drawer-header p:first-of-type{font-size:17px;line-height:1.5;margin:3px 0 6px}
.drawer .drawer-header p:last-child{font-size:14px;line-height:1.5;margin:0}
.drawer .player-profile{margin:4px 12px 0;padding:8px 10px;gap:9px;border-radius:10px}
.drawer .profile-avatar{flex-basis:34px;height:34px;font-size:20px}.drawer .profile-copy{gap:2px}
.drawer .drawer-stats{margin:8px 12px;padding:10px 8px;flex-shrink:0;font-size:14px}
.connection-dialog{width:340px;max-width:calc(100vw - 32px);border-radius:18px;padding:26px;background:#fff;color:#19494b;text-align:center;font:16px Tahoma,Arial,sans-serif}
.connection-dialog>span{font-size:32px}.connection-dialog h2{font-size:21px}.connection-dialog p{font-size:14px;line-height:1.9}.connection-dialog button{background:#087b77;color:#fff;border-radius:9px;padding:11px 20px}.connection-dialog::backdrop{background:#102b29c9}
