/* Shared with the native app: paper, Pokédex red, and green XP. */
:root{--paper:#faf6ed;--ink:#2f2927;--muted:#756b61;--green:#4a6f2f;--line:#cfc3b2;--orange:#c43d38;--serif:'Segoe UI',Arial,sans-serif;--sans:'Segoe UI',Arial,sans-serif;--card:#fffcf5;--inset:#eae2d2;--red:#c43d38}
body{background:var(--paper);color:var(--ink)}
::selection{background:#f6d67b;color:var(--ink)}
.wrap{max-width:1320px;width:calc(100% - 96px)}
h1,h2,h3{font-family:var(--sans);font-weight:700}
em{font-style:normal;color:var(--red)}
a:focus-visible,button:focus-visible,[role=tabpanel]:focus-visible{outline:3px solid var(--red);outline-offset:4px}
.site-header,.landing-minimal .site-header,.hiscores-page .site-header{height:86px;border-bottom:1px solid var(--line);gap:24px}
.landing-minimal .site-header{border-bottom:0}
.site-header .brand{display:inline-flex;align-items:center;gap:9px;padding:10px 14px;border-radius:10px;background:var(--red);color:white;font-size:21px;font-weight:700;letter-spacing:-.7px;white-space:nowrap}
.site-header .brand img{width:26px;height:26px}
.site-header .brand-light,.site-header .brand-dot{color:inherit;font-weight:inherit}
.site-header nav,.landing-minimal .site-header nav,.hiscores-page .site-header nav{display:flex;align-items:center;gap:28px;font-size:13px;color:var(--ink)}
.site-header nav a{color:var(--ink)}
.site-header nav a[href='/hiscores']{display:inline-flex;align-items:center;gap:6px}
.site-header .nav-icon{display:block;width:16px;height:16px;flex-shrink:0}
.site-header .discord-link{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;flex-shrink:0;border-radius:8px}
.site-header .discord-link:hover{background:var(--inset)}
.site-header .discord-link svg{display:block;flex-shrink:0}
.site-header nav a:hover,.site-header nav [aria-current=page]{color:var(--red)}
.site-header nav a:last-child{padding:9px 13px;border:1px solid var(--line);border-radius:8px;background:#f1eadd;white-space:nowrap}
.button{background:var(--red);color:#fff;border:1px solid var(--red);border-radius:8px;box-shadow:inset 0 1px #ffffff20;font-weight:600}
.button:hover{background:#a92f2b;color:#fff;transform:translateY(-1px)}
.landing-minimal .hero-layout{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.28fr);align-items:center;gap:40px;padding-block:54px 28px}
.landing-minimal .hero{display:block;padding:0;text-align:left;min-width:0}
.landing-minimal .hero-copy{max-width:560px}
.landing-minimal .hero-category{font-size:10px;letter-spacing:1.6px;color:var(--muted);margin-bottom:18px}
.landing-minimal .hero h1{font-size:clamp(39px,4vw,60px);font-weight:750;line-height:1.06;letter-spacing:-.055em;margin-bottom:22px;white-space:nowrap}
.landing-minimal .hero h1 em{color:var(--red);font-weight:inherit}
.landing-minimal .hero-description{font-size:17px;line-height:1.65;color:var(--muted);margin:0;max-width:390px}
.landing-minimal .hero-actions{display:flex;align-items:center;justify-content:flex-start;gap:19px;flex-wrap:wrap;margin-top:27px}
.hero-actions .button{font-size:13px;gap:10px;padding:14px 17px;white-space:nowrap}
.demo-link{font-size:12px;white-space:nowrap;text-underline-offset:4px;text-decoration:underline}
.demo-link span{color:var(--red);margin-left:4px}
.landing-minimal .availability{color:var(--muted);font-size:10px;margin-top:12px}
.hero-layout .computer-demo{width:100%;min-width:0;margin:0;scroll-margin-top:20px}
.hero-layout .video-demo{width:100%;min-width:0;margin:0;scroll-margin-top:20px}
.video-demo video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#181c1e;border:0;border-radius:4px}
.video-demo figcaption{margin-top:10px;text-align:center;font-size:11px;color:var(--muted)}
.hero-layout .monitor-frame{padding:9px;border-radius:12px;background:linear-gradient(135deg,#41474b,#25292c);box-shadow:0 14px 26px -18px #362b2270}
.hero-layout .monitor-frame::before{top:3px;width:3px;height:3px}
.monitor-stand{background:linear-gradient(#2f3438,#51585b);height:27px}
.render-caption{font-size:9px;color:var(--muted);gap:10px;margin-top:8px}
#pet-pause{color:var(--ink);border-color:var(--line);font-size:9px;background:var(--card)}
#pet-pause:hover{background:var(--inset)}
.core-features{padding:20px 24px;margin-block:10px 0;gap:24px;border:1px solid var(--line);border-radius:12px;background:var(--card);text-align:left}
.core-features article{position:relative;padding-left:42px}
.core-features article+article{border-left:1px solid var(--line);padding-left:64px}
.core-features article::before,.feature-tabs button::before{content:'';position:absolute;width:20px;height:20px;left:0;top:3px;background:url('/favicon.svg') center/contain no-repeat}
.core-features article+article::before{left:24px}
.core-features h2{font-size:21px;letter-spacing:-.5px;margin-bottom:5px;line-height:1.2}
.core-features p{font-size:12px;line-height:1.6;color:var(--muted)}
.feature-showcase{border:0;padding-block:38px 35px}
.feature-heading{margin-bottom:18px;align-items:center}
.feature-heading h2{font-size:25px;font-weight:700;letter-spacing:-.8px;line-height:1.2}
.feature-heading>span{font-size:8px;letter-spacing:1.1px}
.feature-explorer{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:18px 24px 24px}
.feature-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;border-bottom:2px solid var(--red);padding-bottom:11px;margin-bottom:23px}
.feature-tabs[hidden]{display:none}
.feature-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:38px;border:0;border-radius:22px;background:transparent;color:var(--ink);font:500 15px var(--sans);cursor:pointer}
.feature-tabs button::before{position:static;display:block;width:18px;height:18px;flex-shrink:0}
.feature-tabs button[aria-selected=true]{background:var(--red);color:white;font-weight:600}
.feature-tabs button[aria-selected=true]::before{filter:brightness(0) invert(1)}
.feature-tabs button:hover:not([aria-selected=true]){background:var(--inset)}
.has-tabs .feature-grid{display:block}
.has-tabs .feature-item{display:grid;grid-template-columns:minmax(240px,380px) minmax(0,440px);align-items:center;justify-content:center;gap:60px;padding:0 16px;min-height:380px}
.feature-item[hidden]{display:none}
.feature-screenshot{border-color:var(--line);background:var(--paper);box-shadow:0 5px 15px #483d3212;border-radius:8px}
.feature-screenshot:hover{border-color:var(--red);transform:translateY(-2px)}
.feature-screenshot>span{font-size:9px;padding:4px 8px}
.feature-number{display:block;font-size:9px;letter-spacing:1.5px;color:var(--red);font-weight:600;margin-bottom:13px}
.feature-item h3{font:700 32px/1.15 var(--sans);letter-spacing:-1px;margin:0 0 13px}
.feature-item p{font-size:15px;line-height:1.7;max-width:370px;color:var(--muted)}
.feature-copy ul{list-style:none;display:grid;gap:12px;padding:0;margin:23px 0 0;font-size:13px;color:var(--ink)}
.feature-copy li{display:flex;align-items:center;gap:10px}
.feature-copy li::before{content:'✓';display:grid;place-items:center;width:18px;height:18px;flex-shrink:0;background:#79a74b;border-radius:4px;color:white;font-size:12px;font-weight:700}
.feature-setup{display:block;width:fit-content;margin:18px auto 0;font-size:11px;color:var(--muted)}
.site-footer,.landing-minimal .site-footer{border-top:1px solid var(--line);padding-block:22px;gap:15px;align-items:center}
.footer-links,.landing-minimal .footer-links{padding:0;font-size:11px;gap:22px}
.fan-note,.landing-minimal .fan-note{border:0;padding:0;width:auto;font-size:9px;line-height:1.7;color:var(--muted)}
/* The supporting pages use the same native panel language. */
.guide{max-width:850px;padding-top:50px;padding-bottom:65px}
.guide h1,.scores-heading h1{font-weight:750;letter-spacing:-.05em;line-height:1.08}
.guide h1{font-size:clamp(38px,5vw,62px)}
.guide h2{font-size:25px;letter-spacing:-.7px;font-weight:700}
.guide p,.guide li{color:var(--muted)}
.guide section{background:var(--card);border:1px solid var(--line);border-radius:10px;padding:25px;margin-top:22px}
.guide .notice,.notice{background:#f1ecde;border-color:var(--line);border-radius:8px}
.guide code{color:var(--ink);background:var(--inset)}
.guide pre{background:#352e2a;color:var(--paper);border-radius:8px}
.guide pre code{color:inherit;background:transparent}
.scores-main{max-width:960px;padding-block:50px 65px}
.scores-heading h1{font-size:clamp(46px,6vw,66px)}
.scores-toolbar select,.scores-toolbar button{background:var(--card);border-color:var(--line);border-radius:8px}
.scores-toolbar button:hover{background:var(--inset)}
.scores-table-wrap{background:var(--card);border:1px solid var(--line);border-radius:10px}
.scores-table-wrap th{background:#f0e9dc;color:var(--muted);font-weight:600}
.scores-table-wrap td{border-color:#e7ddce}
.scores-table-wrap tbody tr:nth-child(-n+3){background:#eef2e4}
.scores-table-wrap tbody tr:nth-child(-n+3) td:first-child{color:var(--green)}
.scores-table-wrap tbody tr:hover{background:#e7ecdb}
.score-trainer{display:flex;align-items:center;gap:10px}
.score-avatar{display:block;width:34px;height:34px;flex-shrink:0;object-fit:cover;border:1px solid var(--line);border-radius:50%;background:var(--inset)}
.scores-table-wrap th:first-child,.scores-table-wrap td:first-child{padding-left:18px}
@media(min-width:1500px){.landing-minimal .hero h1{font-size:62px}.hero-layout .computer-demo{transform:translateY(5px)}}
@media(max-width:1100px){.wrap{width:calc(100% - 60px)}.landing-minimal .hero-layout{gap:25px;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}.landing-minimal .hero h1{font-size:clamp(34px,4.2vw,47px)}.landing-minimal .hero-description{font-size:15px}.hero-actions .button{font-size:12px;padding:12px}.landing-minimal .hero-actions{gap:14px}.has-tabs .feature-item{gap:35px;grid-template-columns:minmax(240px,350px) minmax(0,360px);min-height:350px}.core-features article{padding-left:33px}.core-features article+article{padding-left:47px}.core-features article+article::before{left:14px}.core-features p{font-size:11px}.core-features{gap:14px;padding-inline:20px}}
@media(max-width:850px){.landing-minimal .hero-layout{grid-template-columns:1fr;padding-block:36px 22px;gap:28px}.landing-minimal .hero{text-align:center}.landing-minimal .hero-copy{margin:auto;max-width:580px}.landing-minimal .hero h1{font-size:clamp(40px,6.6vw,55px)}.landing-minimal .hero-description{margin:auto;max-width:390px;font-size:16px}.landing-minimal .hero-actions{justify-content:center}.hero-layout .computer-demo{max-width:690px;margin:auto}.has-tabs .feature-item{gap:28px;padding:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0}.feature-item h3{font-size:28px}.feature-item p{font-size:13px}.feature-copy ul{font-size:12px;gap:10px}.core-features h2{font-size:20px}.site-header .brand{font-size:19px}.site-header nav,.landing-minimal .site-header nav{gap:20px}}
@media(max-width:600px){.wrap{width:calc(100% - 32px)}.site-header,.landing-minimal .site-header,.hiscores-page .site-header{height:74px;gap:12px}.site-header .brand,.landing-minimal .site-header .brand,.hiscores-page .site-header .brand{font-size:16px;padding:8px 9px;gap:6px;letter-spacing:-.7px}.site-header .brand img,.landing-minimal .site-header .brand img,.hiscores-page .site-header .brand img{width:20px;height:20px}.site-header nav,.landing-minimal .site-header nav,.hiscores-page .site-header nav{gap:12px;font-size:11px}.site-header nav a:last-child{padding:7px 9px}.site-header nav a[href='/setup']{display:none}.landing-minimal .hero-layout{padding-block:30px 19px;gap:25px}.landing-minimal .hero-category{font-size:8px;letter-spacing:1.2px;margin-bottom:15px}.landing-minimal .hero h1{font-size:clamp(36px,8.5vw,49px);margin-bottom:18px;letter-spacing:-.055em}.landing-minimal .hero-description{font-size:14px;max-width:320px}.landing-minimal .hero-actions{margin-top:21px;gap:15px}.hero-actions .button{font-size:12px;padding:12px 13px}.demo-link{font-size:11px}.landing-minimal .availability{font-size:9px}.hero-layout .monitor-frame{padding:7px;border-radius:10px}.monitor-stand{height:22px;width:105px}.render-caption{font-size:8px;margin-top:5px}.core-features{padding:16px 13px;gap:12px;margin-top:0}.core-features article,.core-features article+article{padding:0;border:0}.core-features article::before{display:none}.core-features h2{font-size:19px;margin-bottom:6px}.core-features p{font-size:10px;line-height:1.6}.feature-showcase{padding-block:28px}.feature-heading{display:block;margin-bottom:16px}.feature-heading h2{font-size:25px;max-width:none}.feature-heading>span{margin-top:9px;font-size:7px;letter-spacing:1px}.feature-explorer{padding:12px 13px 20px}.feature-tabs{gap:4px;padding-bottom:10px;margin-bottom:19px}.feature-tabs button{font-size:11px;gap:4px;min-height:34px;padding:5px 2px}.feature-tabs button::before{width:13px;height:13px}.has-tabs .feature-item{grid-template-columns:1fr;gap:22px}.feature-screenshot{width:100%;max-width:360px;margin:auto}.feature-copy{padding:0 6px}.feature-number{font-size:8px;margin-bottom:10px}.feature-item h3{font-size:28px;margin-bottom:10px}.feature-item p{font-size:13px;max-width:none}.feature-copy ul{margin-top:18px;font-size:12px;gap:10px}.feature-setup{margin-top:17px}.site-footer,.landing-minimal .site-footer{padding-block:19px}.footer-links,.landing-minimal .footer-links{font-size:10px;gap:20px}.fan-note,.landing-minimal .fan-note{width:100%;font-size:8px}.guide{padding-top:35px}.guide section{padding:18px}.guide h1{font-size:40px}.guide h2{font-size:23px}.scores-main{padding-block:35px 50px}}
@media(prefers-reduced-motion:reduce){.button,.feature-screenshot{transition:none}.button:hover,.feature-screenshot:hover{transform:none}}
@media(max-width:380px){.site-header .brand,.landing-minimal .site-header .brand,.hiscores-page .site-header .brand{font-size:14px;padding:8px;gap:5px}.site-header .brand img,.landing-minimal .site-header .brand img,.hiscores-page .site-header .brand img{width:18px;height:18px}.site-header nav,.landing-minimal .site-header nav,.hiscores-page .site-header nav{font-size:10px;gap:8px}.site-header nav a:last-child{padding:7px 8px}.feature-tabs button{font-size:10px;gap:3px}.feature-tabs button::before{width:12px;height:12px}}

.hero-actions .windows{display:block;width:18px;height:18px;flex-shrink:0}
.hero-actions.platform-downloads{gap:12px;align-items:flex-start}
.platform-download{display:grid;gap:8px}
.download-detail{font-size:10px;line-height:1.5;color:var(--muted)}
.hero-actions .platform-icon{display:block;width:18px;height:18px;flex-shrink:0}
.hero-actions .mac-download{background:var(--card);color:var(--ink);border-color:var(--line);box-shadow:none}
.hero-actions .mac-download:hover{background:var(--inset);color:var(--ink)}
.download-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:16px}
@media(max-width:460px){.platform-download{width:100%}.platform-download .button{width:100%}.download-detail{font-size:9px}.download-links{margin-top:14px}}
@media(max-width:440px){.landing-minimal .site-header nav a[href='/hiscores']{width:36px;height:36px;justify-content:center;border:0;padding:0}.landing-minimal .site-header nav a[href='/hiscores'] span{display:none}}
@media(max-width:380px){.landing-minimal .site-header{flex-wrap:wrap;height:auto;padding-block:14px;gap:8px}.landing-minimal .site-header .brand{flex-shrink:0}.landing-minimal .site-header nav{margin-left:auto;gap:8px}}
