:root{--paper:#f5f2e9;--surface:#fffef9;--ink:#173e35;--muted:#6d7971;--line:#dce0d5;--green:#235b48;--soft:#e7eee3;--gold:#a7783e;--amber:#93642c;--shadow:0 14px 40px #263c2c0a;color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,a,input{ -webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.45}button,a{touch-action:manipulation}a{color:var(--green);text-underline-offset:4px}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button{border:0}svg{width:22px;height:22px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400}h1{letter-spacing:-.04em}button:not(.primary):not(.sound-choice):not(.photo-card):not(.discovery-image){transition:background .15s,color .15s}main{max-width:1120px;margin:auto;padding:28px 28px 48px}.site-header{height:88px;max-width:1120px;margin:auto;padding:0 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;background:none;padding:0}.brand-mark{width:38px;height:38px;background:var(--ink);color:var(--paper);display:grid;place-items:center;border-radius:11px}.brand-name{font:22px Georgia,serif;letter-spacing:-.04em}.header-note{font-size:11px;text-transform:uppercase;letter-spacing:.17em;color:var(--muted)}.eyebrow{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.18em;color:var(--gold)}.primary{background:var(--green);color:#fffef9;border-radius:11px;padding:15px 22px;display:inline-flex;align-items:center;justify-content:center;gap:18px;font-size:14px;font-weight:600;min-height:51px;transition:background .15s,transform .15s}.primary:not(:disabled):hover{background:#174b39;transform:translateY(-1px)}.secondary,.text-button,.icon-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:transparent;border-radius:9px;min-height:42px;padding:9px 13px;font-size:13px}.secondary{border:1px solid var(--line);background:var(--surface)}.secondary:hover,.icon-button:hover,.text-button:hover{background:var(--soft)}.icon-button{width:42px;padding:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-60px;left:20px;z-index:100;background:var(--surface);padding:12px}.skip-link:focus{top:12px}.initial-loading{padding-top:100px}.initial-loading h1{font-size:36px;margin-top:14px}
/* Opening */
.home{padding-top:54px}.hero{display:grid;grid-template-columns:1.06fr 1fr;gap:64px;align-items:center}.hero h1{font-size:clamp(48px,5.8vw,72px);line-height:1.06;margin:20px 0 23px;max-width:570px}.hero h1 em{font-weight:400;color:var(--gold)}.hero-copy{font-size:16px;color:var(--muted);line-height:1.8;max-width:400px}.hero-actions{margin-top:28px;display:flex;flex-direction:column;align-items:flex-start;gap:13px}.headphone-note{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:12px}.headphone-note svg{width:15px;height:15px}.load-note{font-size:12px;color:var(--muted);min-height:18px}.error-note{color:#8f3d29;line-height:1.6;font-size:14px}.journey-art{position:relative;background:#e9e9dc;border:1px solid #d6d9c8;padding:20px;border-radius:130px 130px 18px 18px;box-shadow:var(--shadow)}.art-heading{font:italic 15px Georgia,serif;text-align:center;margin:15px 0 22px;color:var(--muted)}.art-photos{display:grid;grid-template-columns:1fr 1fr;gap:9px}.art-photos img{width:100%;height:137px;object-fit:cover;border-radius:5px}.art-photos img:first-child{grid-column:1/-1;height:230px;border-radius:85px 85px 5px 5px}.art-empty{height:378px;display:grid;place-items:center;color:var(--gold)}.art-empty svg{width:90px;height:90px}.art-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:16px;font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}.sound-wave{display:flex;align-items:center;gap:3px;height:25px}.sound-wave i{display:block;width:2px;border-radius:2px;background:var(--gold);height:8px}.sound-wave i:nth-child(3n){height:21px}.sound-wave i:nth-child(3n+1){height:14px}.intro-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;border-top:1px solid var(--line);padding:29px 0;margin-top:48px}.intro-step{display:flex;gap:15px}.step-index{color:var(--gold);font:italic 20px Georgia,serif}.intro-step h2{font:16px Georgia,serif;margin-bottom:6px}.intro-step p{font-size:12px;line-height:1.7;color:var(--muted)}.site-footer{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:18px;margin-top:22px;color:var(--muted);font-size:11px;line-height:1.6}
/* Matching */
.game-title-row{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:3px 0 27px}.game-title-row h1{font-size:36px;letter-spacing:-.025em;margin-top:8px}.game-subtitle{font-size:13px;color:var(--muted);margin-top:9px;line-height:1.6}.timer{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 17px;text-align:center;min-width:100px}.timer span{display:block;font-size:9px;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}.timer strong{font-weight:500;font-size:22px;font-variant-numeric:tabular-nums;letter-spacing:.04em}.matching-board{display:grid;grid-template-columns:290px 1fr;gap:30px;align-items:start}.panel-title{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:600;margin-bottom:14px}.panel-title span{font-size:10px;color:var(--gold)}.listening-panel{position:sticky;top:18px}.sounds{display:grid;gap:8px}.sound-choice{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;background:var(--surface);border:1px solid var(--line);border-radius:11px;text-align:left;min-height:57px}.sound-choice:hover{border-color:#9fb39f}.sound-choice.selected{background:var(--ink);border-color:var(--ink);color:var(--surface)}.sound-choice .sound-number{font-size:13px;flex:1}.sound-choice .sound-number b{font-weight:500}.sound-choice svg{width:17px;height:17px}.assignment{font-size:10px;border:1px solid currentColor;opacity:.8;border-radius:5px;padding:3px 6px;min-width:24px;text-align:center}.sound-choice:not(.selected) .assignment.assigned{background:var(--soft);border-color:var(--soft);color:var(--green);opacity:1}.active-player{background:#e8ebdf;border-radius:12px;padding:15px;margin-top:13px}.player-top{display:flex;gap:12px;align-items:center}.player-button{width:39px;height:39px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:var(--green);color:white}.player-button svg{width:18px;height:18px}.player-info{flex:1;min-width:0}.player-info p{font-size:12px;font-weight:500;margin-bottom:5px}.player-timing{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums;display:flex;justify-content:space-between;margin-top:4px}progress{display:block;width:100%;height:3px;border:0;border-radius:8px;background:#cdd8c8;overflow:hidden;accent-color:var(--green)}progress::-webkit-progress-bar{background:#cdd8c8}progress::-webkit-progress-value{background:var(--green)}.clear-match{width:100%;font-size:11px;min-height:32px;margin-top:7px;padding:5px}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.photo-card{background:var(--surface);border:1px solid var(--line);padding:7px;border-radius:13px;position:relative;text-align:left;box-shadow:0 3px 8px #233c2803}.photo-card:hover{border-color:#8fa991;box-shadow:var(--shadow)}.photo-card.linked{border:2px solid var(--green);padding:6px;background:#edf2e6}.photo-card img{display:block;width:100%;height:153px;object-fit:contain;background:#e7e9df;border-radius:7px}.photo-card-label{display:flex;align-items:center;justify-content:space-between;padding:9px 3px 2px;gap:4px;min-height:29px}.image-letter{font-size:11px;font-weight:600}.image-status{font-size:10px;color:var(--muted)}.photo-card.linked .image-status{color:var(--green);font-weight:600}.pairing-hint{min-height:38px;margin-top:14px;font-size:12px;color:var(--muted);line-height:1.6}.game-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--paper);padding:22px 0 8px;border-top:1px solid var(--line);margin-top:24px}.match-progress p{font-size:13px;font-weight:500}.match-progress span{font-size:11px;color:var(--muted);display:block;margin-top:5px}.progress-dots{display:flex;gap:5px;margin-bottom:7px}.progress-dots i{display:block;width:21px;height:3px;border-radius:5px;background:#d6ded0}.progress-dots i.filled{background:var(--green)}.practice-label{font-size:10px;text-transform:uppercase;letter-spacing:.13em;color:var(--gold);margin-bottom:10px}
/* Discovery */
.results-intro{padding:17px 0 25px;text-align:center}.results-intro h1{font-size:clamp(36px,5vw,54px);margin:12px 0}.results-intro>p:last-child{font-size:14px;line-height:1.7;color:var(--muted)}.score-strip{max-width:770px;margin:0 auto 30px;display:grid;grid-template-columns:1.35fr 1fr 1fr;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.score-item{padding:23px 20px;text-align:center}.score-item+.score-item{border-left:1px solid var(--line)}.score-value{display:block;font:38px Georgia,serif;margin-bottom:5px}.score-item:first-child .score-value{color:var(--green)}.score-label{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:.12em}.score-breakdown{font-size:11px;color:var(--muted);margin-top:7px;line-height:1.5}.discovery-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:34px 0 17px}.discovery-heading h2{font-size:25px}.discovery-heading p{font-size:12px;color:var(--muted)}.discovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.discovery-card{background:var(--surface);border:1px solid var(--line);border-radius:15px;padding:16px}.discovery-country{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px}.discovery-country h3{font-size:22px}.outcome{font-size:10px;color:var(--green);background:var(--soft);border-radius:5px;padding:4px 7px;white-space:nowrap}.outcome.missed{color:var(--amber);background:#f2ead8}.discovery-image{display:block;width:100%;position:relative;padding:0;background:#e7e9df;border-radius:8px;overflow:hidden}.discovery-image img{display:block;width:100%;height:170px;object-fit:contain}.image-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;background:#f0f1e6;font-size:12px;text-align:left}.image-caption svg{width:15px;height:15px}.discovery-audio{display:flex;align-items:center;gap:12px;margin-top:13px;padding:5px 0}.audio-info-button{padding:0;background:none;flex:1;text-align:left;font-size:12px;line-height:1.5;display:flex;align-items:center;gap:10px;justify-content:space-between}.audio-info-button svg{width:16px;height:16px;flex-shrink:0}.wrong-choice{font-size:11px;line-height:1.6;margin-top:10px;padding-top:10px;border-top:1px solid var(--line);color:var(--amber)}.results-actions{display:flex;justify-content:center;align-items:center;gap:12px;margin:32px 0 10px}.discovery-help{font-size:11px;color:var(--muted);text-align:center;line-height:1.7}
/* Information cards */
dialog{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:18px;padding:0;max-width:560px;width:calc(100% - 32px);max-height:85dvh;box-shadow:0 30px 120px #10271d38}dialog::backdrop{background:#142b24a3;backdrop-filter:blur(4px)}.dialog-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:25px 26px 0}.dialog-top h2{font-size:30px;line-height:1.2;margin-top:9px}.dialog-body{padding:20px 26px 26px;line-height:1.8;font-size:14px}.dialog-region{color:var(--muted);font-size:12px;margin-bottom:13px}.dialog-image{width:100%;max-height:280px;object-fit:contain;background:#e7e9df;border-radius:9px;margin-bottom:18px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px;flex-wrap:wrap}.dialog-link{display:inline-flex;gap:8px;align-items:center;font-size:12px;margin-top:17px}.dialog-link svg{width:14px;height:14px}.credits{border-top:1px solid var(--line);margin-top:22px;padding-top:13px;font-size:11px;color:var(--muted)}.credits summary{cursor:pointer;font-size:12px;color:var(--ink)}.credits p{margin-top:11px}.credits a{word-break:break-word}.dialog-player{display:flex;align-items:center;gap:12px;padding:12px;background:var(--soft);border-radius:9px;margin-bottom:18px;font-size:12px}.dialog-player .player-info p{font-weight:400}.dialog-close{flex-shrink:0;margin:-8px -10px 0 0}.fatal{max-width:500px;padding:70px 0}.fatal h1{font-size:36px;margin:12px 0 20px}.fatal p{line-height:1.8;color:var(--muted);margin-bottom:20px}
@media(min-width:1000px){.photo-card:nth-child(4){grid-column:1/2;margin-left:50%;width:100%}.photo-card:nth-child(5){grid-column:2/3;margin-left:50%;width:100%}}
@media(max-width:999px){.hero{gap:30px}.hero h1{font-size:54px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.matching-board{grid-template-columns:250px 1fr;gap:24px}.photo-card img{height:140px}.photo-card:last-child{grid-column:1/-1;max-width:calc(50% - 6px);width:100%;justify-self:center}.journey-art{padding:15px}.art-photos img:first-child{height:190px}.art-photos img{height:105px}}
@media(max-width:700px){.site-header{height:65px;padding:0 19px}.brand-mark{width:31px;height:31px;border-radius:9px}.brand-name{font-size:19px}.header-note{font-size:8px;letter-spacing:.12em}main{padding:22px 18px 32px}.home{padding-top:28px}.hero{grid-template-columns:1fr;gap:26px}.hero h1{font-size:49px;max-width:370px;margin:15px 0}.hero-copy{font-size:14px;max-width:380px}.hero-actions{margin-top:21px}.hero-actions .primary{width:100%}.headphone-note{font-size:11px}.journey-art{border-radius:70px 70px 13px 13px;padding:13px;max-width:420px;width:100%;justify-self:center}.art-heading{margin:6px 0 13px;font-size:13px}.art-photos{grid-template-columns:1.3fr 1fr;grid-template-rows:90px 90px;gap:7px}.art-photos img:first-child{grid-column:auto;grid-row:1/3;height:187px;border-radius:45px 5px 5px 5px}.art-photos img{height:90px}.art-bottom{font-size:8px;margin-top:10px}.intro-steps{gap:15px;margin-top:27px;padding-top:23px}.intro-step{display:block}.step-index{display:block;margin-bottom:8px;font-size:17px}.intro-step h2{font-size:14px}.intro-step p{font-size:11px;line-height:1.65}.site-footer{font-size:10px;margin-top:13px}.game-title-row{margin:0 0 18px;gap:10px;align-items:flex-start}.game-title-row h1{font-size:29px}.game-subtitle{font-size:11px;max-width:245px;margin-top:7px}.timer{min-width:77px;padding:9px 10px;border-radius:9px}.timer strong{font-size:19px}.timer span{font-size:8px}.matching-board{display:flex;flex-direction:column;gap:19px}.listening-panel{position:sticky;top:0;width:100%;z-index:5;background:var(--paper);padding:9px 0 12px;border-bottom:1px solid var(--line)}.panel-title{font-size:11px;margin-bottom:9px}.sounds{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.sound-choice{min-height:53px;padding:8px 3px;display:flex;flex-direction:column;gap:5px;text-align:center;border-radius:9px}.sound-choice>svg{display:none}.sound-choice .sound-number{font-size:10px;flex:0}.sound-number b{font-size:12px}.assignment{font-size:8px;min-width:19px;padding:2px 4px}.active-player{margin-top:8px;padding:10px 12px;display:flex;align-items:center;gap:10px}.player-top{flex:1;min-width:0;gap:9px}.player-info p{font-size:11px}.player-button{width:33px;height:33px}.clear-match{width:auto;font-size:9px;max-width:80px;line-height:1.4;margin:0;padding:5px;min-height:33px}.image-panel{width:100%}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.photo-card{padding:5px;border-radius:10px}.photo-card.linked{padding:4px}.photo-card img{height:113px}.photo-card-label{padding:7px 3px 2px;min-height:25px}.image-status{font-size:9px}.pairing-hint{font-size:11px;min-height:32px;margin-top:10px}.game-bottom{position:sticky;bottom:0;z-index:6;padding:12px 0 max(12px,env(safe-area-inset-bottom));margin-top:18px;gap:12px;box-shadow:0 -12px 18px var(--paper)}.game-bottom .primary{padding:12px 15px;font-size:12px;min-height:46px;gap:9px}.game-bottom .primary svg{width:17px}.match-progress p{font-size:11px}.match-progress span{font-size:9px;max-width:145px}.progress-dots{margin-bottom:5px}.practice-label{font-size:8px;margin-bottom:8px}.results-intro{padding:10px 0 21px}.results-intro h1{font-size:35px}.results-intro>p:last-child{font-size:12px}.score-strip{margin-bottom:22px;border-radius:12px}.score-item{padding:18px 9px}.score-value{font-size:29px}.score-label{font-size:8px;letter-spacing:.07em}.score-breakdown{font-size:9px;line-height:1.6}.discovery-grid{grid-template-columns:1fr;gap:13px}.discovery-heading{display:block;margin-top:25px}.discovery-heading h2{font-size:23px}.discovery-heading p{font-size:11px;margin-top:7px}.discovery-image img{height:185px}.discovery-card{padding:14px}.results-actions{gap:6px}.results-actions .primary{padding:13px 16px;font-size:12px}.results-actions .secondary{font-size:12px}.dialog-top{padding:22px 20px 0}.dialog-top h2{font-size:26px}.dialog-body{padding:16px 20px 22px;font-size:13px}.dialog-region{font-size:11px}.dialog-actions .primary{font-size:12px;padding:12px 15px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
