/* A home for adventures, collections, and completed records. Battle stays focused. */
.home-page,.scores-page,.path-page{min-width:0;padding:30px 0 42px}
.home-page [hidden],.scores-page [hidden],.path-page [hidden]{display:none!important}
#home-page-title:focus,#scores-page-title:focus,#path-page-title:focus{outline:none}
.home-page button,.scores-page button,.path-page button{overflow-wrap:anywhere}
.home-page .eyebrow,.scores-page .eyebrow,.path-page .eyebrow{color:#748664;font-size:9px;line-height:1.5;letter-spacing:1.5px}
.home-page .primary-button,.scores-page .primary-button,.path-page .primary-button{min-height:46px;line-height:1.4}
.home-page .secondary-button,.scores-page .secondary-button,.path-page .secondary-button{min-height:44px;line-height:1.4}
.home-page .text-button,.scores-page .text-button,.path-page .text-button{min-height:44px;line-height:1.5}

/* The home menu puts the trainer's keepsakes beside the next adventure. */
.home-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.8fr);align-items:center;gap:24px;padding:28px 30px;border:1px solid #d8e2c7;border-radius:24px;background:radial-gradient(ellipse at 83% 70%,#e6efce 0,transparent 52%),linear-gradient(115deg,#fffdf4,#f1f5e5);box-shadow:0 6px 24px #40542107;overflow:hidden}
.home-hero-copy{min-width:0;position:relative;z-index:1}
.home-hero h1{font-size:39px;letter-spacing:-1.1px;line-height:1.18;color:#35533b;overflow-wrap:anywhere;max-width:600px}
.home-hero-copy>p:not(.eyebrow){font-size:14px;line-height:1.75;color:#728164;max-width:510px;margin-top:10px}
.home-hero #home-switch{display:inline-flex;justify-content:flex-start;min-height:44px;padding:7px 0;margin-top:5px;color:#6a8053;font-size:11px;text-decoration:underline;text-decoration-color:#bfcfa9;text-underline-offset:4px}
.home-hero #home-switch:hover{color:#3d633e;text-decoration-color:#8ca876}
.home-hero-art{display:flex;justify-content:center;align-items:flex-end;position:relative;min-width:0;height:176px;padding-bottom:7px;isolation:isolate}
.home-hero-art:before{content:'';position:absolute;z-index:-1;left:2%;right:2%;bottom:7px;height:57px;border:1px solid #d5e2bd;border-radius:50%;background:#dce9c1;box-shadow:0 0 0 12px #e5eecd78}
.home-hero-art img{display:block;width:37%;max-width:140px;height:148px;object-fit:contain;filter:drop-shadow(0 7px 3px #46672d1a);margin:0 -5%}
.home-hero-art img:nth-child(2){position:relative;width:43%;height:165px;margin-left:-3%;margin-right:-3%;z-index:1;transform:translateY(-4px)}
.home-trainer-status{display:flex;align-items:center;gap:10px;width:fit-content;max-width:100%;margin-top:18px;padding:9px 14px 9px 10px;border:1px solid var(--honor-edge,#d6e1c4);border-radius:13px;background:var(--honor-light,#fbfdef);color:var(--honor-ink,#5a7646);text-align:left}
.home-trainer-status>span:not(.trainer-seal),.home-trainer-status>div{min-width:0}
.home-trainer-status .trainer-seal{width:32px;height:32px;font-size:18px}
.home-trainer-status small{display:block;font-size:8px;font-weight:900;letter-spacing:.6px;line-height:1.5;color:#81906f}
.home-trainer-status strong{display:block;font-size:13px;font-weight:900;line-height:1.4;overflow-wrap:anywhere;color:var(--honor-ink,#5a7646)}
.home-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:23px 0}
.home-menu-card{--menu-ink:#4c7447;--menu-soft:#e9f1de;--menu-edge:#d4e1c4;display:grid;grid-template-columns:45px minmax(0,1fr) 16px;align-items:center;gap:12px;min-width:0;min-height:108px;padding:19px 17px;border:1px solid var(--menu-edge);border-radius:18px;background:#fffef9;text-align:left;box-shadow:0 4px 14px #41532a07;transition:transform .15s,border-color .15s,background .15s}
.home-menu-card[data-menu='scores']{--menu-ink:#6a76a0;--menu-soft:#eef0f8;--menu-edge:#dbe0ed}
.home-menu-card[data-menu='legendaries']{--menu-ink:#9a7e3c;--menu-soft:#faf0d5;--menu-edge:#e5d9b8}
.home-menu-card:hover{transform:translateY(-2px);border-color:var(--menu-ink);background:#fff}
.home-menu-icon{display:grid;place-items:center;flex-shrink:0;width:45px;height:45px;border:1px solid var(--menu-edge);border-radius:14px;background:var(--menu-soft);color:var(--menu-ink);font-size:23px;line-height:1}
.home-menu-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.home-menu-copy{display:block;min-width:0}
.home-menu-copy strong{display:block;font-size:17px;font-weight:900;letter-spacing:-.4px;line-height:1.3;color:#3f573c}
.home-menu-copy small,.home-menu-copy>span{display:block;font-size:11px;line-height:1.6;color:#7a886e;margin-top:5px}
.home-menu-arrow{display:block;color:var(--menu-ink);font-size:20px;line-height:1;font-weight:800}
.home-resume-card{display:grid;grid-template-columns:75px minmax(0,1fr) auto;align-items:center;gap:17px;padding:16px 22px;margin:0 0 29px;border:1px solid #d8e4c8;border-radius:19px;background:linear-gradient(100deg,#edf4df,#f8fbee);box-shadow:0 3px 14px #3e5a2304}
.home-resume-card>img{display:block;width:75px;height:75px;object-fit:contain;filter:drop-shadow(0 5px 3px #56752d17)}
.home-resume-copy{min-width:0}
.home-resume-copy .eyebrow{font-size:8px;letter-spacing:1.1px;color:#809563;margin-bottom:3px}
.home-resume-copy h2,.home-resume-copy strong{display:block;font-size:17px;font-weight:900;line-height:1.4;letter-spacing:-.3px;color:#4f6b3f}
.home-resume-copy p,.home-resume-copy small{display:block;margin-top:5px;font-size:11px;line-height:1.65;color:#7c8c66}
.home-resume-card .primary-button{max-width:240px;font-size:12px;padding:12px 18px}
.home-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:29px 0 17px}
.home-section-heading>div{min-width:0}
.home-section-heading h2{font-size:25px;font-weight:900;letter-spacing:-.6px;line-height:1.3;color:#36563b}
.home-section-heading p{font-size:12px;line-height:1.7;color:#79896c;margin-top:6px;max-width:580px}
.home-section-heading>span{display:block;font-size:10px;font-weight:900;line-height:1.5;padding:7px 11px;border:1px solid #dfe6d3;border-radius:20px;background:#edf2e3;color:#7d9067;text-align:center;flex-shrink:0;max-width:32%}
.home-path-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-path-card{display:flex;flex-direction:column;position:relative;min-width:0;text-align:left;padding:21px 20px 17px;border:1px solid #dce5d2;border-radius:20px;background:#fffef9;box-shadow:0 5px 17px #3a4e2305;transition:transform .15s,border-color .15s,box-shadow .15s}
.home-path-card:hover{transform:translateY(-3px);border-color:var(--path-color,#7f9d61);box-shadow:0 8px 20px #3a4e230c}
.home-path-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px;min-width:0}
.home-path-rank{display:flex;align-items:center;gap:8px;min-width:0;font-size:9px;line-height:1.5;font-weight:900;color:#83916f;letter-spacing:.45px}
.home-path-rank b,.home-path-rank strong{font-size:14px;font-weight:900;line-height:1;color:#91a07d;font-variant-numeric:tabular-nums}
.home-path-symbol{display:grid;place-items:center;flex-shrink:0;width:39px;height:39px;border:1px solid color-mix(in srgb,var(--path-color,#7d9b62) 26%,white);border-radius:12px;background:color-mix(in srgb,var(--path-color,#7d9b62) 10%,white);color:var(--path-color,#799b5b);font-size:24px;font-weight:900;line-height:1}
.home-path-card h3{font-size:21px;font-weight:900;letter-spacing:-.5px;line-height:1.3;color:#3e5a3b}
.home-path-realm{font-size:11px;font-weight:900;line-height:1.6;color:var(--path-color,#799b5b);margin-top:4px}
.home-path-skill{font-size:12px;line-height:1.65;color:#819070;margin-top:8px;min-height:40px}
.home-path-pokemon{display:flex;align-items:center;justify-content:center;gap:0;min-width:0;height:110px;margin:9px -7px 12px}
.home-path-pokemon img{display:block;width:35%;max-width:110px;height:108px;object-fit:contain;filter:drop-shadow(0 5px 3px #38502314);margin:0 -2%}
.home-path-pokemon img:nth-child(2){width:37%;max-width:117px;height:116px;z-index:1}
.home-path-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:13px;min-width:0;padding-top:13px;margin-top:auto;border-top:1px solid #e5ebdd;font-size:11px;line-height:1.5;color:#7a8b65}
.home-path-footer>span{display:block;min-width:0}
.home-path-footer strong{display:block;font-size:12px;font-weight:900;line-height:1.45;color:#587548}
.home-path-footer small{display:block;font-size:10px;line-height:1.5;color:#859674;margin-top:3px}
.home-path-footer>span:last-child{color:var(--path-color,#78985c);font-weight:900;text-align:right;max-width:43%;font-size:11px}
.home-path-progress{height:4px;border-radius:5px;overflow:hidden;background:#eaf0e1;margin-top:12px}
.home-path-progress i{display:block;height:100%;background:var(--path-color,#84a467);border-radius:5px}
.home-page>.home-note,.home-page>.home-path-note,.home-path-grid+p,.home-save-note{font-size:11px;line-height:1.7;color:#829171;margin:18px 2px 0}

/* Scores only summarize finished runs; the chosen path owns pace and targets. */
.scores-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:23px}
.scores-heading>div{min-width:0}
.scores-heading h1{font-size:35px;font-weight:900;letter-spacing:-.9px;line-height:1.2;color:#36543b}
.scores-heading p:not(.eyebrow){font-size:13px;line-height:1.7;color:#78866c;margin-top:8px;max-width:610px}
.scores-heading .secondary-button{flex-shrink:0;padding:10px 17px;margin-top:4px;font-size:12px}
.scores-summary{display:flex;align-items:center;justify-content:space-between;gap:22px;margin-bottom:24px;padding:21px 25px;border:1px solid var(--honor-edge,#d6e1c4);border-radius:20px;background:linear-gradient(110deg,var(--honor-light,#fffdf4),var(--honor-soft,#eef3e2));min-width:0}
.scores-summary>div{min-width:0}
.scores-summary p,.scores-summary small{display:block;color:#78896b;font-size:11px;line-height:1.6}
.scores-summary strong{display:block;color:var(--honor-ink,#527242);font-size:22px;font-weight:900;line-height:1.35;letter-spacing:-.4px;overflow-wrap:anywhere}
.scores-summary .eyebrow{font-size:8px;letter-spacing:1.1px;margin-bottom:4px}
.scores-summary .secondary-button{flex-shrink:0;font-size:11px;padding:10px 14px;background:#fffdf7}
.scores-summary .trainer-seal{height:44px;width:44px;font-size:24px}
.scores-summary-label{display:block;color:#7f8c71;font-size:8px;font-weight:900;line-height:1.5;letter-spacing:1px;margin-bottom:5px}
.scores-summary>div>span:not(.scores-summary-label){display:block;color:#80906e;font-size:11px;line-height:1.6;margin-top:3px}
.scores-summary>.text-button{justify-content:center;gap:9px;flex-shrink:0;font-size:12px;min-height:44px;color:#617f4b;padding:10px 13px;border:1px solid #d6e2c6;border-radius:10px;background:#fffdf6}
.scores-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.scores-card{display:flex;flex-direction:column;min-width:0;padding:22px 20px 19px;border:1px solid #dfe6d6;border-radius:20px;background:#fffefa;box-shadow:0 4px 16px #3a4d2705}
.scores-card-top{display:flex;align-items:center;gap:11px;min-width:0}
.scores-card-top>div{min-width:0}
.scores-card-top h2,.scores-card-top h3,.scores-card-top strong{display:block;font-size:18px;font-weight:900;line-height:1.35;letter-spacing:-.35px;color:#47613d}
.scores-card-top p,.scores-card-top small{display:block;font-size:10px;line-height:1.5;color:var(--path-color,#7c9b60);font-weight:800;margin-top:3px}
.scores-card-art{display:flex;align-items:center;justify-content:center;gap:0;min-width:0;height:95px;margin:14px -7px 9px}
.scores-card-art img{display:block;width:34%;max-width:94px;height:92px;object-fit:contain;margin:0 -1%;filter:drop-shadow(0 4px 3px #3c552219)}
.scores-card-art img:nth-child(2){height:99px;width:36%;max-width:100px;z-index:1}
.scores-record{text-align:center;padding:8px 0 15px;border-bottom:1px solid #e7ecdf;margin-bottom:14px}
.scores-record>strong{display:block;font-size:37px;font-weight:900;letter-spacing:-1px;line-height:1.2;color:#44663b;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.scores-record>small,.scores-record>span,.scores-record>p{display:block;font-size:10px;line-height:1.5;color:#849472;margin-top:5px}
.scores-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0;margin:0 0 13px;text-align:center}
.scores-metrics>div{min-width:0}
.scores-metrics strong{display:block;font-size:18px;font-weight:900;line-height:1.4;color:#5f7b4d;font-variant-numeric:tabular-nums}
.scores-metrics small,.scores-metrics span{display:block;font-size:10px;line-height:1.5;color:#849572;margin-top:3px}
.scores-honor{display:flex;align-items:center;justify-content:center;gap:5px;min-height:37px;padding:8px 10px;margin:0 0 16px;border:1px solid var(--honor-edge,#dce6ce);border-radius:10px;background:var(--honor-light,#f2f6e9);color:var(--honor-ink,#7a9162);font-size:11px;font-weight:900;text-align:center;line-height:1.5;overflow-wrap:anywhere}
.scores-card>.primary-button,.scores-card>.secondary-button{margin-top:auto;font-size:12px;width:100%;padding:11px 14px;min-height:45px}
.scores-empty{padding:14px 13px;margin:0 0 18px;border:1px dashed #d9e2cd;border-radius:12px;background:#f4f7ed;color:#7b8e68;text-align:center;font-size:12px;line-height:1.7}
.scores-empty strong{display:block;font-size:14px;font-weight:900;color:#5f7e4b;line-height:1.45;margin-bottom:5px}
.scores-page>.scores-note{font-size:11px;line-height:1.7;color:#849173;margin:20px 2px 0}

/* Path setup is a page: choose a partner, then choose a pace. */
.path-page-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:24px}
.path-page-heading>div{min-width:0}
.path-page-heading h1{font-size:35px;letter-spacing:-.9px;line-height:1.2;overflow-wrap:anywhere}
.path-page-heading p:not(.eyebrow){max-width:650px;font-size:13px;line-height:1.7;color:#718168;margin-top:8px}
.path-page-heading>.secondary-button{flex-shrink:0;padding:10px 17px;margin-top:5px;font-size:12px}
.path-overview{display:flex;align-items:center;flex-wrap:wrap;gap:10px 24px;font-size:12px;line-height:1.6;color:#718367;margin:0 0 22px}
.path-overview strong{font-weight:900;color:#4c6841}
.path-overview>span{display:inline-flex;align-items:center;gap:5px}
.path-resume-banner{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:18px;padding:18px 22px;margin:0 0 24px;border:1px solid #cbdcb9;border-radius:20px;background:linear-gradient(110deg,#f8fbec,#eaf2db);box-shadow:0 5px 18px #3e5d2608}
.path-resume-banner>img{width:78px;height:78px;object-fit:contain;filter:drop-shadow(0 5px 3px #52753316)}
.path-resume-banner>div{min-width:0}
.path-resume-banner h2,.path-resume-banner strong{display:block;font-size:18px;font-weight:900;letter-spacing:-.3px;line-height:1.4;color:#44673c}
.path-resume-banner p,.path-resume-banner small{display:block;margin-top:5px;font-size:12px;line-height:1.6;color:#71845f}
.path-resume-banner .eyebrow{font-size:8px;color:#76935c;margin:0 0 3px}
.path-resume-banner .primary-button{max-width:245px;font-size:12px;padding:12px 17px}
.path-setup-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);align-items:start;gap:24px}
.path-setup-panel,.path-record-panel{min-width:0;padding:24px;border:1px solid #dce5d0;border-radius:21px;background:#fffef9;box-shadow:0 5px 20px #334a2506}
.path-record-panel{padding:21px;background:#f9fbf3}
.path-setup-panel h2,.path-record-panel h2{font-size:20px;font-weight:900;letter-spacing:-.4px;line-height:1.35;color:#36553b}
.path-setup-panel>p,.path-record-panel>p{font-size:12px;line-height:1.7;color:#77866b;margin-top:7px}
.setup-step{display:block;margin:5px 0 12px}
.setup-step h2,.setup-step h3{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:900;letter-spacing:-.3px;line-height:1.4}
.path-setup-panel .setup-step:not(:first-child){margin-top:25px}
.step-number{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border:1px solid #d1dfbf;border-radius:9px;background:#edf4df;color:#66864f;font-size:12px;font-weight:900;line-height:1}
.path-page .starter-grid{gap:10px;margin:15px 0 12px}
.path-page .starter-card{min-width:0;padding:17px 7px 15px;border-radius:15px;min-height:160px}
.path-page .starter-card img{display:block;max-width:100%;width:105px;height:105px;object-fit:contain;margin:0 auto 6px}
.path-page .starter-card strong{display:block;font-size:13px;line-height:1.35;letter-spacing:-.15px}
.path-page .starter-card small{display:block;font-size:10px;line-height:1.5;margin-top:4px;color:#718267}
.path-page .starter-check{width:18px;height:18px;font-size:11px;top:8px;right:8px}
.path-page .starter-path-description{font-size:12px;line-height:1.7;color:#78866d;margin:5px 0 20px}
.path-page .mode-reward-grid{gap:9px;margin:13px 0 17px}
.path-page .mode-reward-button{padding:13px 11px;min-height:145px;border-radius:13px}
.path-page .mode-reward-button[aria-pressed='true']{padding:12px 10px}
.path-page .mode-reward-top{font-size:12px;gap:6px;flex-wrap:wrap}
.path-page .mode-reward-multiplier{font-size:11px;padding:3px 5px}
.path-page .mode-reward-status{font-size:14px;line-height:1.4;margin-top:10px}
.path-page .mode-reward-detail{font-size:10px;line-height:1.6;color:#68795f;margin-top:6px}
.path-page .mode-reward-earned{font-size:10px;line-height:1.6;margin-top:6px}
.path-name-field{margin:19px 0 23px;padding-bottom:22px;border-bottom:1px solid #e4eadb}
.path-name-field .field-label{font-size:12px;font-weight:900;color:#536e44;margin-bottom:8px}
.path-name-field .text-field{width:100%;min-height:47px;font-size:16px;padding:11px 13px;border-color:#d1dec2;background:#fbfcf7}
.path-name-field>p{font-size:11px;line-height:1.6;color:#7b8970;margin-top:6px}
.path-target{padding:14px 16px;margin:17px 0;border:1px solid #dbe5cd;border-radius:12px;background:#f0f5e6}
.path-target h3,.path-target>strong{display:block;font-size:15px;font-weight:900;line-height:1.4;color:#547342}
.path-target p{font-size:12px;line-height:1.7;color:#70845e;margin-top:5px}
.path-target p strong{color:#486b38;font-weight:900}
.path-start-actions{display:flex;flex-direction:column;gap:10px;margin:18px 0 5px}
.path-start-actions .primary-button{width:100%;padding:13px 18px;font-size:14px}
.path-start-actions .text-button{justify-content:center;font-size:12px;color:#6e8557}
.path-page .restart-note{margin:14px 0;padding:12px 14px;border:1px solid #e4d7b5;border-radius:11px;background:#fbf5e6;color:#8c7749;font-size:12px;line-height:1.65}
.restart-confirm-panel,#restart-confirm{margin:18px 0 6px;padding:18px;border:1px solid #dfbb82;border-radius:14px;background:#fff3dc;color:#7b6238;scroll-margin:20px}
.restart-confirm-panel h3,#restart-confirm h3{font-size:16px;font-weight:900;line-height:1.4;color:#795d2f}
.restart-confirm-panel p,#restart-confirm p{font-size:12px;line-height:1.7;margin:7px 0 13px;color:#897146}
.restart-confirm-panel .primary-button,#restart-confirm .primary-button{width:100%;font-size:12px;margin:8px 0 10px;background:#866b3b;box-shadow:0 3px 0 #6c5228}
.restart-confirm-panel .primary-button:hover,#restart-confirm .primary-button:hover{background:#977b47}
.restart-confirm-panel .secondary-button,#restart-confirm .secondary-button{width:100%;font-size:12px;background:#fffaf0;color:#7d693f;border-color:#decba6}
.path-record-panel .path-record-hero{margin:0 0 17px;padding:21px 15px 19px;box-shadow:none}
.path-record-panel .path-record-hero .honor-seal{width:64px;height:64px;font-size:29px;margin-bottom:20px}
.path-record-panel .path-record-hero .honor-title{font-size:22px;line-height:1.3;letter-spacing:-.45px}
.path-record-panel .record-eyebrow{font-size:8px;line-height:1.6;letter-spacing:1px}
.path-best-summary{text-align:center;padding:20px 0 19px;border-bottom:1px solid #e0e7d7;margin:0 0 17px}
.path-best-summary>strong,#path-best-points{display:block;font-size:41px;font-weight:900;line-height:1.2;letter-spacing:-1px;color:#42613a;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.path-best-summary>small,.path-best-summary>span{display:block;font-size:11px;line-height:1.6;color:#7b8e6a;margin-top:5px}
.path-record-detail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:10px;min-width:0;margin:9px 0 22px;font-size:10px;line-height:1.55;color:#68795f;text-align:center}
.path-record-detail>span{display:block;min-width:0}
.path-record-detail strong{display:block;font-size:17px;font-weight:900;color:#4e6c42;text-align:center;overflow-wrap:anywhere;margin-top:5px;line-height:1.4;font-variant-numeric:tabular-nums}
.path-record-panel .record-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:15px 0 17px}
.path-record-panel .record-stats>div{padding:12px 8px;background:#fffefa}
.path-record-panel .record-stats strong{font-size:19px;line-height:1.35}
.path-record-panel .record-stats small{font-size:10px;line-height:1.5}
.path-page .record-note{font-size:12px;line-height:1.7;color:#77866a}
.path-page .record-note strong{color:#5a7547}
.path-legendary-goal{display:flex;align-items:center;gap:12px;padding:15px 12px;margin:20px 0 0;border:1px solid #e6d9b4;border-radius:14px;background:linear-gradient(120deg,#fbf4dd,#fff9eb)}
.path-legendary-goal img{display:block;flex-shrink:0;width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 4px 2px #8c72211a)}
.path-legendary-goal>div{min-width:0}
.path-legendary-goal h3,.path-legendary-goal strong{display:block;color:#8b733b;font-size:14px;font-weight:900;line-height:1.45;overflow-wrap:anywhere}
.path-legendary-goal p{color:#8a7b57;font-size:11px;line-height:1.6;margin-top:4px}
.path-legendary-goal .eyebrow{color:#a38c52;font-size:7px;letter-spacing:.8px;margin:0 0 3px}
.path-legendary-goal .text-button{justify-content:flex-start;min-height:44px;font-size:11px;color:#806732;padding:8px 0;margin-top:2px}
.path-history{margin:26px 0 0;min-width:0}
.path-history h2,.path-history h3{font-size:18px;font-weight:900;line-height:1.4;color:#4b6b40;margin:0 0 11px}
.path-history.history-wrap{margin-top:26px;overflow:visible;border-radius:16px}
.path-history>h2{padding:17px 19px;margin:0;border-bottom:1px solid #e3e8d9;background:#fffdf7;border-radius:16px 16px 0 0}
.path-history-scroll{max-width:100%;min-width:0;overflow-x:auto;-webkit-overflow-scrolling:touch;border-radius:0 0 16px 16px}
.path-history-scroll:focus-visible{outline:3px solid #e0a363;outline-offset:3px}
.path-history .history-wrap{margin:10px 0 0}
.path-history .run-history{font-size:12px}
.path-history .run-history th{font-size:10px;padding:12px 14px}
.path-history .run-history td{padding:12px 14px}
.path-page .honor-rules{padding:16px 18px;margin-top:24px;font-size:12px;line-height:1.8}
.path-page .honor-rules summary{font-size:12px;min-height:27px}

@media(max-width:900px){
  .home-hero{grid-template-columns:minmax(0,1.2fr) minmax(200px,.8fr);gap:18px;padding:25px}
  .home-hero h1{font-size:35px}
  .home-hero-copy>p:not(.eyebrow){font-size:13px}
  .home-hero-art{height:157px}
  .home-hero-art img{height:131px}
  .home-hero-art img:nth-child(2){height:148px}
  .home-menu{gap:12px}
  .home-menu-card{grid-template-columns:37px minmax(0,1fr) 12px;gap:9px;padding:17px 14px;min-height:105px}
  .home-menu-icon{width:37px;height:37px;border-radius:11px;font-size:21px}
  .home-menu-icon svg{height:23px;width:23px}
  .home-menu-copy strong{font-size:15px;letter-spacing:-.25px}
  .home-menu-copy small,.home-menu-copy>span{font-size:10px}
  .home-menu-arrow{font-size:17px}
  .home-path-grid,.scores-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}
  .home-path-card{padding:22px 21px 18px}
  .home-path-pokemon{height:121px;margin-top:12px}
  .home-path-pokemon img{height:118px;max-width:116px}
  .home-path-pokemon img:nth-child(2){height:126px;max-width:126px}
  .scores-card{padding:23px 21px 20px}
  .scores-card-art{height:109px}
  .scores-card-art img{height:106px;max-width:110px}
  .scores-card-art img:nth-child(2){height:115px;max-width:117px}
  .path-setup-layout{grid-template-columns:minmax(0,1fr);gap:22px}
  .path-record-panel{display:block}
  .path-page .starter-card img{width:125px;height:125px}
  .path-page .starter-card strong{font-size:15px}
  .path-page .starter-card small{font-size:11px}
  .path-page .mode-reward-button{min-height:130px;padding:15px}
  .path-page .mode-reward-button[aria-pressed='true']{padding:14px}
  .path-page .mode-reward-top{font-size:13px}
  .path-page .mode-reward-status{font-size:16px}
  .path-page .mode-reward-detail,.path-page .mode-reward-earned{font-size:11px}
  .path-record-panel .path-record-hero{max-width:none}
  .path-record-panel .record-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .path-legendary-goal{padding:16px 20px}
  .path-legendary-goal img{width:80px;height:80px}
}
@media(max-width:750px){
  .home-menu{grid-template-columns:minmax(0,1fr);gap:10px;margin:20px 0}
  .home-menu-card{grid-template-columns:43px minmax(0,1fr) 20px;gap:15px;min-height:83px;padding:15px 18px;border-radius:15px}
  .home-menu-icon{width:43px;height:43px;border-radius:13px}
  .home-menu-icon svg{height:25px;width:25px}
  .home-menu-copy strong{font-size:17px;letter-spacing:-.25px}
  .home-menu-copy small,.home-menu-copy>span{font-size:11px;margin-top:3px}
  .home-menu-arrow{font-size:20px}
  .home-resume-card{gap:14px;padding:16px 18px;grid-template-columns:66px minmax(0,1fr) auto;margin-bottom:24px}
  .home-resume-card>img{width:66px;height:66px}
  .home-resume-copy h2,.home-resume-copy strong{font-size:16px}
  .home-resume-card .primary-button{padding:11px 13px;max-width:170px;font-size:11px}
  .scores-summary{gap:18px;padding:19px 21px;flex-wrap:wrap}
  .scores-summary strong{font-size:20px}
}
@media(max-width:650px){
  .home-page,.scores-page,.path-page{padding:24px 0 32px}
  .home-hero{grid-template-columns:minmax(0,1fr) 128px;gap:15px;padding:23px 21px;border-radius:21px}
  .home-hero h1{font-size:32px;letter-spacing:-.85px}
  .home-hero-copy>p:not(.eyebrow){font-size:12px;line-height:1.7;margin-top:9px}
  .home-hero-art{height:146px;margin-right:-6px}
  .home-hero-art img{display:none}
  .home-hero-art img:nth-child(2){display:block;width:128px;height:146px;margin:0;max-width:128px}
  .home-hero-art:before{height:32px;bottom:11px;left:8%;right:8%;box-shadow:0 0 0 8px #e5eecd78}
  .home-trainer-status{padding:8px 11px 8px 9px;margin-top:15px;gap:8px}
  .home-trainer-status strong{font-size:12px}
  .home-trainer-status small{font-size:7px;letter-spacing:.5px}
  .home-trainer-status .trainer-seal{width:29px;height:29px;font-size:16px}
  .home-resume-card{grid-template-columns:64px minmax(0,1fr);gap:12px 14px;margin-bottom:24px}
  .home-resume-card>img{width:64px;height:64px}
  .home-resume-card .primary-button{grid-column:1 / -1;width:100%;max-width:none;font-size:12px;min-height:44px}
  .home-section-heading{gap:15px;margin:25px 0 16px;align-items:flex-start}
  .home-section-heading h2{font-size:23px}
  .home-section-heading p{font-size:11px;line-height:1.7}
  .home-section-heading>span{font-size:9px;padding:7px 9px;max-width:30%;margin-top:3px}
  .home-path-grid,.scores-grid{gap:13px}
  .home-path-card{padding:18px 16px 15px;border-radius:17px}
  .home-path-card h3{font-size:19px;letter-spacing:-.4px}
  .home-path-top{margin-bottom:10px;gap:8px}
  .home-path-rank{font-size:8px;letter-spacing:.3px}
  .home-path-symbol{height:33px;width:33px;font-size:21px;border-radius:10px}
  .home-path-realm{font-size:10px}
  .home-path-pokemon{height:96px;margin:9px -6px 8px}
  .home-path-pokemon img{height:91px;max-width:94px}
  .home-path-pokemon img:nth-child(2){height:98px;max-width:100px}
  .home-path-skill{font-size:11px;line-height:1.6;min-height:53px;margin-top:6px}
  .home-path-footer{gap:9px;padding-top:12px;font-size:10px}
  .home-path-footer strong{font-size:11px}
  .home-path-footer small{font-size:9px}
  .home-path-footer>span:last-child{font-size:10px;max-width:40%}
  .home-save-note{font-size:10px;line-height:1.7;margin-top:17px}
  .scores-heading{gap:18px;margin-bottom:20px}
  .scores-heading h1{font-size:30px;letter-spacing:-.7px}
  .scores-heading p:not(.eyebrow){font-size:12px}
  .scores-heading .secondary-button{font-size:11px;padding:10px 14px}
  .scores-summary{gap:15px 20px;padding:18px;border-radius:17px;margin-bottom:20px}
  .scores-summary>div:first-child{flex:1;min-width:160px}
  .scores-summary>div:nth-child(2){text-align:right}
  .scores-summary>.text-button{width:100%;font-size:11px;margin-top:0}
  .scores-summary strong{font-size:19px}
  .scores-summary-label{font-size:7px;letter-spacing:.7px}
  .scores-summary>div>span:not(.scores-summary-label){font-size:10px}
  .scores-card{padding:18px 15px 16px;border-radius:17px}
  .scores-card-top{gap:9px;align-items:flex-start}
  .scores-card-top h2,.scores-card-top h3,.scores-card-top strong{font-size:17px;line-height:1.35}
  .scores-card-top p,.scores-card-top small{font-size:9px}
  .scores-card-art{height:91px;margin:12px -6px 8px}
  .scores-card-art img{height:86px;max-width:91px}
  .scores-card-art img:nth-child(2){height:94px;max-width:97px}
  .scores-record>strong{font-size:33px}
  .scores-metrics strong{font-size:17px}
  .scores-metrics small,.scores-metrics span{font-size:9px}
  .scores-honor{font-size:10px;padding:8px;margin-bottom:14px;min-height:45px}
  .scores-empty{font-size:11px;padding:13px 10px;margin-bottom:16px}
  .scores-empty strong{font-size:13px}
  .scores-card>.primary-button,.scores-card>.secondary-button{font-size:11px;padding:11px 10px}
  .path-page-heading{gap:16px;margin-bottom:20px}
  .path-page-heading h1{font-size:29px;letter-spacing:-.65px}
  .path-page-heading p:not(.eyebrow){font-size:12px}
  .path-page-heading>.secondary-button{font-size:11px;padding:9px 13px;min-width:74px}
  .path-overview{font-size:11px;gap:8px 17px;margin-bottom:18px}
  .path-resume-banner{grid-template-columns:64px minmax(0,1fr);gap:12px 15px;padding:17px;margin-bottom:20px;border-radius:17px}
  .path-resume-banner>img{width:64px;height:64px}
  .path-resume-banner h2,.path-resume-banner strong{font-size:16px}
  .path-resume-banner p,.path-resume-banner small{font-size:11px}
  .path-resume-banner .primary-button{grid-column:1 / -1;max-width:none;width:100%;min-height:44px}
  .path-setup-panel,.path-record-panel{padding:20px;border-radius:18px}
  .path-page .starter-card img{width:109px;height:109px}
  .path-page .starter-card strong{font-size:14px}
  .path-page .starter-card small{font-size:10px}
  .path-page .mode-reward-button{padding:12px 10px;min-height:146px}
  .path-page .mode-reward-button[aria-pressed='true']{padding:11px 9px}
  .path-page .mode-reward-top{font-size:12px}
  .path-page .mode-reward-status{font-size:14px}
  .path-page .mode-reward-detail,.path-page .mode-reward-earned{font-size:10px}
  .path-page .honor-rules{padding:14px 16px;font-size:11px}
  .path-history .run-history{font-size:11px}
  .path-history .run-history th,.path-history .run-history td{padding:11px 12px}
}
@media(max-width:480px){
  .home-page,.scores-page,.path-page{padding:22px 0 28px}
  .home-page .eyebrow,.scores-page .eyebrow,.path-page .eyebrow{font-size:8px;letter-spacing:1.1px}
  .home-hero{grid-template-columns:minmax(0,1fr) 95px;gap:10px;padding:21px 17px;border-radius:19px}
  .home-hero h1{font-size:29px;letter-spacing:-.7px}
  .home-hero-copy>p:not(.eyebrow){font-size:11px;line-height:1.7;margin-top:8px}
  .home-hero #home-switch{font-size:10px;min-height:44px;margin-top:4px}
  .home-hero-art{height:119px;margin-right:-5px;align-self:center}
  .home-hero-art img:nth-child(2){width:104px;height:119px;max-width:104px;flex-shrink:0}
  .home-hero-art:before{left:2%;right:2%;bottom:8px;height:26px;box-shadow:0 0 0 7px #e5eecd78}
  .home-trainer-status{padding:8px 9px;gap:8px;border-radius:11px;margin-top:14px;min-width:0}
  .home-trainer-status .trainer-seal{width:27px;height:27px;font-size:15px}
  .home-trainer-status strong{font-size:11px;line-height:1.45}
  .home-trainer-status small{font-size:6px;letter-spacing:.45px}
  .home-menu{gap:9px;margin:18px 0}
  .home-menu-card{grid-template-columns:40px minmax(0,1fr) 17px;gap:13px;padding:14px 15px;min-height:78px;border-radius:14px}
  .home-menu-icon{width:40px;height:40px;border-radius:12px}
  .home-menu-icon svg{width:24px;height:24px}
  .home-menu-copy strong{font-size:16px;letter-spacing:-.2px}
  .home-menu-copy small,.home-menu-copy>span{font-size:10px;line-height:1.6;margin-top:3px}
  .home-menu-arrow{font-size:18px}
  .home-resume-card{padding:15px;border-radius:16px;gap:11px 12px;margin-bottom:23px}
  .home-resume-copy h2,.home-resume-copy strong{font-size:16px}
  .home-resume-copy p,.home-resume-copy small{font-size:10px}
  .home-resume-copy .eyebrow{font-size:7px;letter-spacing:.8px}
  .home-section-heading{gap:13px;margin-top:24px}
  .home-section-heading h2{font-size:23px;letter-spacing:-.5px}
  .home-section-heading p{font-size:11px;line-height:1.65}
  .home-section-heading>span{font-size:9px;padding:7px 9px;max-width:none;white-space:nowrap}
  .home-path-grid,.scores-grid{grid-template-columns:minmax(0,1fr);gap:15px}
  .home-path-card{padding:21px 21px 18px;border-radius:19px}
  .home-path-card h3{font-size:23px;letter-spacing:-.5px}
  .home-path-top{margin-bottom:12px}
  .home-path-rank{font-size:10px;letter-spacing:.4px}
  .home-path-symbol{width:38px;height:38px;border-radius:12px;font-size:24px}
  .home-path-realm{font-size:11px}
  .home-path-pokemon{height:118px;margin:10px -6px 8px}
  .home-path-pokemon img{height:113px;max-width:112px}
  .home-path-pokemon img:nth-child(2){height:122px;max-width:120px}
  .home-path-skill{font-size:12px;min-height:0;margin:7px 0 15px;line-height:1.65}
  .home-path-footer{font-size:11px;gap:15px;padding-top:13px}
  .home-path-footer strong{font-size:12px}
  .home-path-footer small{font-size:10px;line-height:1.6}
  .home-path-footer>span:last-child{font-size:11px;max-width:40%}
  .home-path-progress{margin-top:13px}
  .scores-heading{gap:14px;margin-bottom:18px}
  .scores-heading h1{font-size:29px}
  .scores-heading p:not(.eyebrow){font-size:11px;line-height:1.7}
  .scores-heading .secondary-button{font-size:11px;padding:10px 13px;min-width:79px}
  .scores-summary{gap:13px 17px;padding:17px 16px}
  .scores-summary strong{font-size:20px;line-height:1.4;letter-spacing:-.3px}
  .scores-summary>div:first-child{min-width:140px}
  .scores-summary>div:nth-child(2){max-width:34%}
  .scores-summary>div>span:not(.scores-summary-label){font-size:9px;line-height:1.5}
  .scores-card{padding:21px 21px 19px;border-radius:19px}
  .scores-card-top{gap:13px;align-items:center}
  .scores-card-top h2,.scores-card-top h3,.scores-card-top strong{font-size:21px;letter-spacing:-.45px}
  .scores-card-top p,.scores-card-top small{font-size:11px}
  .scores-card-art{height:113px;margin:15px -7px 10px}
  .scores-card-art img{height:108px;max-width:109px}
  .scores-card-art img:nth-child(2){height:116px;max-width:117px}
  .scores-record{padding-bottom:16px;margin-bottom:15px}
  .scores-record>strong{font-size:39px;letter-spacing:-1px}
  .scores-record>small,.scores-record>span,.scores-record>p{font-size:11px}
  .scores-metrics{gap:13px;margin-bottom:15px}
  .scores-metrics strong{font-size:22px}
  .scores-metrics small,.scores-metrics span{font-size:11px}
  .scores-honor{font-size:12px;min-height:40px;padding:9px 12px;margin-bottom:17px}
  .scores-empty{font-size:12px;padding:17px 15px;margin-bottom:18px}
  .scores-empty strong{font-size:16px;margin-bottom:6px}
  .scores-card>.primary-button,.scores-card>.secondary-button{font-size:13px;padding:12px 15px;min-height:46px}
  .path-page-heading{gap:12px;flex-wrap:wrap;margin-bottom:18px}
  .path-page-heading h1{font-size:28px}
  .path-page-heading p:not(.eyebrow){font-size:12px;line-height:1.65;max-width:none;margin-top:7px}
  .path-page-heading>.secondary-button{margin-top:0;min-width:92px;font-size:12px}
  .path-setup-layout{gap:18px}
  .path-setup-panel,.path-record-panel{padding:17px 14px;border-radius:17px}
  .path-setup-panel h2,.path-record-panel h2{font-size:19px}
  .setup-step{margin-bottom:11px}
  .setup-step h2,.setup-step h3{font-size:17px;gap:9px}
  .step-number{width:27px;height:27px;font-size:11px;border-radius:8px}
  .path-page .starter-grid{gap:7px;margin:13px 0 11px}
  .path-page .starter-card{padding:16px 4px 12px;min-height:139px;border-radius:12px}
  .path-page .starter-card img{width:85px;height:85px;margin-bottom:6px}
  .path-page .starter-card strong{font-size:12px;line-height:1.4}
  .path-page .starter-card small{font-size:9px;line-height:1.55;margin-top:3px}
  .path-page .starter-check{width:16px;height:16px;top:7px;right:6px;font-size:10px}
  .path-page .starter-path-description{font-size:11px;line-height:1.65;margin-bottom:17px}
  .path-page .mode-reward-grid{grid-template-columns:minmax(0,1fr);gap:9px;margin:13px 0 15px}
  .path-page .mode-reward-button{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);grid-template-areas:'pace status' 'detail earned';gap:2px 15px;align-items:start;padding:14px 13px;min-height:97px;border-radius:12px}
  .path-page .mode-reward-button[aria-pressed='true']{padding:13px 12px}
  .path-page .mode-reward-top{grid-area:pace;font-size:13px;gap:6px;align-items:center}
  .path-page .mode-reward-multiplier{font-size:11px;padding:3px 5px}
  .path-page .mode-reward-status{grid-area:status;font-size:15px;line-height:1.45;margin-top:1px;letter-spacing:0}
  .path-page .mode-reward-detail{grid-area:detail}
  .path-page .mode-reward-earned{grid-area:earned}
  .path-page .mode-reward-detail,.path-page .mode-reward-earned{font-size:11px;line-height:1.6;margin-top:6px}
  .path-name-field{margin-bottom:20px;padding-bottom:19px}
  .path-name-field .field-label{font-size:12px}
  .path-name-field>p{font-size:10px}
  .path-start-actions .primary-button{font-size:13px;padding:12px 14px;min-height:46px}
  .path-start-actions .text-button{font-size:11px;min-height:44px}
  .path-target{padding:13px 14px;margin:15px 0}
  .path-target h3,.path-target>strong{font-size:14px}
  .path-target p{font-size:11px;line-height:1.65}
  .path-page .restart-note{font-size:11px;padding:11px 13px;line-height:1.65}
  .restart-confirm-panel,#restart-confirm{padding:15px 13px;margin-top:16px}
  .restart-confirm-panel h3,#restart-confirm h3{font-size:15px}
  .restart-confirm-panel p,#restart-confirm p{font-size:11px;line-height:1.65}
  .path-record-panel .path-record-hero{padding:18px 12px 17px}
  .path-record-panel .path-record-hero .honor-title{font-size:23px}
  .path-best-summary>strong,#path-best-points{font-size:38px}
  .path-best-summary>small,.path-best-summary>span{font-size:10px}
  .path-record-panel .record-stats{gap:7px}
  .path-record-panel .record-stats>div{padding:12px 6px}
  .path-record-panel .record-stats strong{font-size:18px}
  .path-record-panel .record-stats small{font-size:9px}
  .path-record-detail{font-size:10px;gap:10px}
  .path-record-detail strong{font-size:18px}
  .path-page .record-note{font-size:11px;line-height:1.7}
  .path-legendary-goal{gap:12px;padding:13px 12px;margin-top:17px}
  .path-legendary-goal img{width:67px;height:67px}
  .path-legendary-goal h3,.path-legendary-goal strong{font-size:14px}
  .path-legendary-goal p{font-size:11px}
  .path-history{margin-top:23px}
  .path-history h2,.path-history h3{font-size:17px}
  .path-history>h2{padding:15px 16px}
  .path-history .run-history{font-size:10px;min-width:390px}
  .path-history .run-history th{font-size:9px}
  .path-history .run-history th,.path-history .run-history td{padding:10px 11px}
  .path-page .honor-rules{margin-top:20px;padding:13px 14px;font-size:11px}
  .path-page .honor-rules summary{font-size:11px;min-height:28px}
}
@media(max-width:360px){
  .home-hero{grid-template-columns:minmax(0,1fr) 81px;gap:9px;padding:20px 15px}
  .home-hero h1{font-size:27px}
  .home-hero-art{height:104px;margin-right:-5px}
  .home-hero-art img:nth-child(2){width:91px;height:105px;max-width:91px}
  .home-trainer-status{padding:7px 8px;gap:7px}
  .home-trainer-status strong{font-size:10px}
  .home-trainer-status .trainer-seal{width:25px;height:25px;font-size:14px}
  .home-menu-card{padding:13px 14px;gap:12px}
  .home-menu-copy strong{font-size:15px}
  .home-section-heading h2{font-size:22px}
  .home-section-heading>span{font-size:8px;padding:7px 8px}
  .home-path-card,.scores-card{padding:20px 18px 17px}
  .home-path-card h3{font-size:22px}
  .scores-heading h1{font-size:27px}
  .scores-heading .secondary-button{font-size:10px;padding:10px 12px;min-width:73px}
  .path-page-heading h1{font-size:26px}
  .path-setup-panel,.path-record-panel{padding:16px 12px}
  .path-page .starter-grid{gap:6px}
  .path-page .starter-card{min-height:134px;padding:17px 3px 11px}
  .path-page .starter-card img{width:77px;height:77px}
  .path-page .starter-card strong{font-size:11px}
  .path-page .starter-card small{font-size:8px}
  .path-page .mode-reward-grid{gap:9px}
  .path-page .mode-reward-button{padding:13px 12px;min-height:100px;column-gap:12px}
  .path-page .mode-reward-button[aria-pressed='true']{padding:12px 11px}
  .path-page .mode-reward-top{font-size:13px}
  .path-page .mode-reward-status{font-size:14px}
  .path-page .mode-reward-detail,.path-page .mode-reward-earned{font-size:11px}
}
