@font-face{font-family:'GT Walsheim Pro';src:url('assets/GTWalsheimPro-Regular-CGyz_Tqk.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'GT Walsheim Pro';src:url('assets/GTWalsheimPro-Bold-C85exUkA.ttf') format('truetype');font-weight:600 900;font-display:swap}
@font-face{font-family:'DDC Hardware';src:url('assets/DDCHardware-Regular-9hTkgjMp.ttf') format('truetype');font-weight:400;font-display:swap}
:root{--ink:#172c24;--paper:#f7f6ef;--line:#dadfd4;--green:#c9f280}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'GT Walsheim Pro',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}a{color:inherit}header,main,footer{max-width:1320px;margin:auto}header{height:98px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 40px}.logo{font:800 37px 'GT Walsheim Pro',sans-serif;letter-spacing:-2px;text-decoration:none}.logo span{color:#6e9f41;margin-left:3px}.brand-tagline,.eyebrow,.edition,footer>span,.notes span{font-size:10px;letter-spacing:1.6px;font-weight:700}.text-button{border:0;background:none;font-size:12px;padding:12px}.text-button span{margin-left:14px}main{padding:0 40px}.intro{display:flex;justify-content:space-between;align-items:center;padding:52px 0 42px}.eyebrow{display:flex;align-items:center;gap:8px}.dot{width:6px;height:6px;border-radius:50%;background:#79a64b}h1{position:relative;font-family:'GT Walsheim Pro',sans-serif;font-size:clamp(36px,4.5vw,62px);line-height:1.12;font-weight:600;letter-spacing:-3px;margin:23px 0 18px}h1 em{font-style:normal;color:#769454}.intro p{font-size:14px;color:#718074}.spark{display:inline-block;color:#819d5d;font-size:58px;margin-left:30px;vertical-align:middle}.intro-art{position:relative;width:265px;height:220px;margin-right:60px}.intro-art img{position:absolute;width:120px;border-radius:9px;box-shadow:0 8px 16px #20392318;left:20px;top:22px;transform:rotate(-15deg)}.intro-art img+img{left:115px;top:9px;transform:rotate(13deg)}.seal{position:absolute;left:165px;top:148px;background:var(--green);border:1px solid var(--ink);border-radius:50%;width:86px;height:86px;display:grid;place-content:center;text-align:center;font-size:12px;font-weight:700;transform:rotate(-13deg)}.game{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.toolbar{padding:20px 25px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line)}.levels{display:flex;gap:4px;background:#f2f3ed;padding:4px;border-radius:9px}.levels button{border:0;background:none;padding:10px 17px;border-radius:6px;font-size:12px;font-weight:700}.levels small{font-size:10px;margin-left:6px;font-weight:400;opacity:.6}.levels button.active{background:var(--ink);color:white}.actions{display:flex;gap:10px}.reset{background:white;border:1px solid var(--line);border-radius:7px;padding:9px 13px;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr) 1.1fr;margin:24px 26px 23px}.stats>div{padding-left:24px;border-left:1px solid var(--line)}.stats>div:first-child{padding-left:0;border:0}.stats span{display:block;font-size:9px;letter-spacing:1.3px;color:#839080;margin-bottom:8px}.stats strong{font:600 26px 'GT Walsheim Pro',sans-serif;font-variant-numeric:tabular-nums}.stats i{font-size:16px;font-style:normal;color:#a1ad99}.stats .record{background:#f0f5e9;border:0;border-radius:7px;padding:10px 20px;margin-top:-8px;margin-bottom:-8px}.board-wrap{background:#edf0e6;border-top:1px solid #e6eadd;border-bottom:1px solid #e6eadd;padding:27px}.board{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:13px;max-width:1080px;margin:auto}.card{position:relative;aspect-ratio:2/3;border:0;background:none;padding:0;perspective:800px;border-radius:9px}.card-inner{display:block;width:100%;height:100%;position:relative;transform-style:preserve-3d;transition:transform .45s}.card.flipped .card-inner,.card.matched .card-inner{transform:rotateY(180deg)}.face{position:absolute;inset:0;backface-visibility:hidden;border-radius:8px;overflow:hidden;box-shadow:0 3px 4px #172c2414}.back{background:#128EFF;display:grid;place-items:center}.back img{display:block;width:100%;height:100%;object-fit:contain}.front{transform:rotateY(180deg);background:#d4b5ff}.front img{width:100%;height:100%;object-fit:contain}.card:hover:not(.flipped):not(.matched){transform:translateY(-3px)}.card:focus-visible,button:focus-visible{outline:3px solid #94b764;outline-offset:4px}.card.matched .front{outline:2px solid #86ac56;outline-offset:2px}.card.matched:after{content:'✓';position:absolute;right:-5px;top:-5px;border-radius:50%;background:var(--green);font-size:12px;width:22px;height:22px;display:grid;place-items:center;border:2px solid #fff}.game-bottom{padding:19px 26px;display:flex;justify-content:space-between;gap:15px;font-size:11px;color:#75836e}.edition{font-size:8px}.notes{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding:35px 0 44px}.notes span{font-size:9px;color:#78905f}.notes p{font-size:12px;margin:10px 0;color:#6d7c68}footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:25px 40px 32px}footer .logo{font-size:23px}footer>span{font-size:8px;color:#7c8972}dialog{background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:38px;max-width:480px;width:calc(100% - 32px)}dialog::backdrop{background:#13261bc9;backdrop-filter:blur(6px)}dialog h2{font:600 32px/1.15 'GT Walsheim Pro',sans-serif;letter-spacing:-1px}dialog p,dialog li{font-size:13px;line-height:1.8}dialog ol{padding-left:18px}dialog li{padding-bottom:9px}.close{position:absolute;top:12px;right:15px;border:0;background:none;font-size:25px}.primary{background:var(--ink);color:var(--green);border:0;border-radius:7px;padding:14px 22px;margin-top:15px;width:100%;font-weight:700}.fine{color:#768168;font-size:10px!important}#win{text-align:center}.win-star{font-size:65px;color:#83a757;margin-top:20px}#finalScore{display:block;font-size:48px;font-weight:600}#recordMessage{color:#64813d}#seeBoard{display:block;margin:12px auto 0}@media(min-width:1400px){.board{gap:16px}}@media(max-width:800px){header{height:78px;padding:0 22px}.brand-tagline{display:none}main{padding:0 20px}.intro{padding:35px 0}.intro-art{width:180px;margin-right:0;transform:scale(.75);transform-origin:right center}h1{letter-spacing:-1.7px}.spark{display:none}.board{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.toolbar{padding:14px;flex-wrap:wrap}.levels{flex:1;justify-content:space-between}.levels button{padding:9px 10px}.actions{margin-left:auto}.stats{margin:22px 15px;gap:8px}.stats>div{padding-left:10px}.stats strong{font-size:21px}.stats span{font-size:8px;letter-spacing:.5px}.stats .record{padding:10px}.board-wrap{padding:18px}.edition{display:none}.notes{gap:14px}footer{padding:24px 20px}footer>span:last-child{display:none}}@media(max-width:500px){.intro-art{display:none}.intro h1{font-size:41px}.intro p{font-size:12px}.board{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.levels small{display:block;margin:4px 0 0}.levels button{flex:1}.actions .text-button{font-size:10px}.stats{grid-template-columns:repeat(4,1fr)}.stats .record{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;margin:10px 0 -4px;padding:8px 12px}.record span{margin:0}.record strong{font-size:14px}.notes{grid-template-columns:1fr;padding:25px 0;gap:10px}.notes p{margin:5px 0}.game-bottom{line-height:1.5;padding:15px 18px}dialog{padding:30px 24px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Visual identity drawn from enroutesystems.com */
:root{--ink:#212121;--paper:#128efe;--line:#dedede;--green:#fdee23;--blue:#128efe;--yellow:#fdee23}
body{background:var(--blue)}
header{border-color:#ffffff35;color:#fff;height:100px}
.logo{display:flex;align-items:center;gap:12px;font-size:29px;letter-spacing:-1px;color:#fff;font-weight:700}
.logo img{width:34px;height:34px}
header .text-button{background:var(--yellow);color:#000;border-radius:2px;font-size:14px;font-weight:700;padding:14px 22px}
.brand-tagline{color:#fff;letter-spacing:2px}
.intro{color:white;position:relative;padding:60px 0 50px;overflow:hidden}
.intro:before{content:'';width:420px;height:420px;border:1px solid #fdee2345;border-radius:50%;position:absolute;right:-60px;top:-50px;box-shadow:0 0 0 20px #fdee2310,0 0 0 40px #fdee2310,0 0 0 60px #fdee2310;pointer-events:none}
.eyebrow{color:var(--yellow)}.dot{background:var(--yellow)}
h1{font-family:'DDC Hardware',sans-serif;font-weight:400;text-transform:uppercase;font-size:clamp(36px,4.5vw,60px);letter-spacing:.5px;line-height:1.16;margin-top:22px}h1 em{color:var(--yellow)}.spark{color:var(--yellow)}
.intro p{color:#fff;font-size:15px}.intro-art{z-index:1}.seal{background:var(--yellow);color:var(--ink);border:0;font-family:'DDC Hardware',sans-serif;font-weight:400;font-size:14px}
.game{border:0;border-radius:4px;box-shadow:0 12px 45px #0056b22b}.toolbar{padding:22px 26px}.levels{background:#f2f2f2;border-radius:999px;padding:5px}.levels button{border-radius:999px;font-size:13px}.levels button.active{background:var(--yellow);color:#212121}.levels small{opacity:.75}.reset{border-radius:999px;font-weight:700;padding:10px 18px}.text-button{font-weight:700}
.stats span{color:#606060}.stats strong{font-family:'DDC Hardware',sans-serif;font-weight:400;color:#212121}.stats i{color:#747474}.stats .record{background:var(--yellow);border-radius:2px}.stats .record span{color:#414000}
.board-wrap{background:#eff5fd;border-color:#e0e9f5}.card.matched .front{outline-color:var(--yellow)}.card.matched:after{background:var(--yellow);color:#212121}.game-bottom{color:#585858}.notes span{color:var(--yellow)}.notes p{color:#fff}.notes{padding:36px 0 44px}footer{border-color:#ffffff35;color:#fff}footer>span{color:#fff}footer .logo{font-size:23px}footer .logo img{width:26px;height:26px}
dialog{background:#fff;border:0;border-radius:4px}dialog .eyebrow{color:#0965b4}dialog h2{font-family:'DDC Hardware',sans-serif;font-weight:400;text-transform:uppercase;letter-spacing:0}.primary{background:var(--yellow);color:#212121;border-radius:999px}.fine{color:#666!important}.win-star,#recordMessage{color:#0864b3}button:focus-visible,.card:focus-visible{outline-color:#fdee23}dialog button:focus-visible,.toolbar button:focus-visible{outline-color:#128efe}
@media(max-width:800px){header{height:82px}.intro{padding:42px 0}.intro:before{right:-250px}h1{letter-spacing:0}.logo{font-size:25px}.logo img{width:29px;height:29px}}
@media(max-width:500px){header{padding:0 20px}header .text-button{padding:12px 15px;font-size:12px}.intro h1{font-size:36px}.intro:before{width:280px;height:280px;right:-190px;top:0}.intro p{font-size:12px}.levels button{font-size:12px}.toolbar{padding:14px}.stats .record{border-radius:2px}.notes{padding:28px 0}footer .logo{font-size:20px}}

/* Use the supplied, unmodified Enroute wordmark exclusively. */
.logo,footer .logo{background:#fff;padding:12px 16px;border-radius:3px;display:inline-flex;align-items:center;line-height:0;flex-shrink:0}
.logo img,footer .logo img{display:block;width:170px;height:auto;object-fit:contain}
h1{font-size:clamp(32px,4.1vw,55px)}
@media(max-width:800px){.logo img{width:145px}.logo{padding:10px 13px}.intro-art{margin-left:10px}.intro h1{font-size:36px}}
@media(max-width:500px){.logo img,footer .logo img{width:130px}.logo,footer .logo{padding:9px 11px}.intro h1{font-size:32px}.spark{display:none}}
/* Recolor the supplied transparent wordmark without changing its shape. */
.logo,footer .logo{padding:0;border-radius:0;background:var(--yellow);-webkit-mask:url('assets/enroute.png') center / contain no-repeat;mask:url('assets/enroute.png') center / contain no-repeat}
.logo img,footer .logo img{opacity:0}

[hidden]{display:none!important}
.level-picker{padding:0 0 48px}.picker-heading{margin-bottom:24px}.picker-heading h2{font-family:'DDC Hardware',sans-serif;color:var(--yellow);font-size:27px;font-weight:400;margin:0 0 10px}.picker-heading p{color:white;font-size:14px;margin:0}.level-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.level-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;background:white;border:2px solid transparent;border-radius:5px;padding:26px;transition:transform .2s,border-color .2s;min-height:295px}.level-choice:hover{transform:translateY(-5px);border-color:var(--yellow)}.choice-number{font-size:10px;letter-spacing:1.3px;color:#666}.choice-title{font-family:'DDC Hardware',sans-serif;font-size:32px;margin:18px 0 4px;color:#0965b4}.choice-grid{font-size:46px;color:var(--blue);line-height:1.2}.choice-detail{font-size:16px;font-weight:700;margin:12px 0 8px}.choice-description{font-size:13px;color:#666;margin-bottom:25px}.choice-play{font-weight:700;background:var(--yellow);border-radius:999px;padding:12px 20px;margin-top:auto;font-size:13px}.level-choice:nth-child(2){background:var(--yellow)}.level-choice:nth-child(2) .choice-play{background:#212121;color:white}.level-picker~.notes{display:none}.play-heading{display:flex;align-items:center;justify-content:space-between;padding:15px 0;color:white}.play-heading h2{font-family:'DDC Hardware',sans-serif;font-weight:400;font-size:21px;letter-spacing:.4px;margin:0}.play-heading button{color:white}.playing header{height:66px}.playing header .logo img{width:142px}.playing header #rulesBtn{padding:10px 18px}.playing .notes,.playing footer{display:none}.playing .toolbar{padding:12px 20px}.playing .stats{margin:18px 20px}.playing .stats strong{font-size:23px}.playing .stats .record{padding:8px 16px}.playing .board-wrap{padding:15px 18px}.playing .game-bottom{padding:13px 20px;min-height:42px}.board{--columns:6;--rows:4;--card-height:clamp(52px,calc((100dvh - 298px) / var(--rows)),130px);grid-template-columns:repeat(var(--columns),calc(var(--card-height) * 2 / 3));gap:9px;justify-content:center;max-width:100%}.board[data-level="6"]{--columns:4;--rows:3}.board[data-level="24"]{--columns:12;--rows:4}.card{height:var(--card-height);width:100%;aspect-ratio:2/3}.card.matched:after{width:17px;height:17px;right:-3px;top:-3px;font-size:10px}
@media(min-width:801px) and (max-width:1100px){.board{--card-height:clamp(52px,calc((100dvh - 298px) / var(--rows)),105px)}}
@media(max-width:800px){.level-cards{gap:12px}.level-choice{padding:20px 16px}.choice-title{font-size:25px}.choice-description{line-height:1.5}.playing main{padding:0 16px}.playing .board-wrap{padding:15px 12px}.board{--card-height:clamp(52px,calc((100dvh - 340px) / var(--rows)),95px)}.board[data-level="24"]{--columns:8;--rows:6}.play-heading h2{font-size:17px}.playing .toolbar{padding:10px 12px}.playing .stats{margin:16px 12px}}
@media(max-width:500px){.level-cards{grid-template-columns:1fr}.level-choice{min-height:0;position:relative;padding:24px}.choice-title{font-size:29px;margin:12px 0}.choice-grid{position:absolute;right:25px;top:25px;font-size:50px}.choice-detail{margin:0 0 8px}.choice-description{margin-bottom:18px}.picker-heading h2{font-size:24px}.playing header{height:66px}.playing header .logo img{width:115px}.playing .brand-tagline{display:none}.play-heading{padding:12px 0}.play-heading h2{font-size:15px}.play-heading button{font-size:11px}.board,.board[data-level="24"]{--columns:4;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.board[data-level="6"]{max-width:340px}.card{height:auto;aspect-ratio:2/3}.playing .game-bottom{font-size:10px;padding:12px}.playing .stats .record{padding:7px 10px}.playing .stats strong{font-size:19px}}
@media(min-width:501px){.board{--card-height:clamp(44px,calc((100dvh - 410px) / var(--rows)),130px);grid-template-columns:repeat(var(--columns),min(calc(var(--card-height) * 2 / 3),calc((100vw - 160px - (var(--columns) - 1) * 9px) / var(--columns))));}.card{height:auto;aspect-ratio:2/3}}
/* Classic uses fewer rows and larger cards to fill the available width. */
@media(min-width:801px){.board[data-level="12"]{--columns:8;--rows:3;--card-height:clamp(44px,calc((100dvh - 410px) / 3),180px)}}
