.eg-heading,.eg-heading nav,.eg-toolbar,.eg-movement,.eg-links,.eg-board>header,.eg-card footer{display:flex;align-items:center;gap:.65rem;flex-wrap:wrap}
.eg-heading{justify-content:space-between;align-items:end;margin:0 0 1.1rem}.eg-heading h1{font-size:clamp(2.3rem,5.6vw,4.7rem);line-height:1;letter-spacing:-.065em;margin:.1rem 0 .4rem;font-weight:850}.eg-heading p{margin:0;max-width:46ch;color:#475a4e}.eg-heading nav a,.eg-links a,.eg-card footer a,.eg-phrases>a{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:.2em;font-weight:700}
.eg-heading nav a{font-size:.92rem}.eg-heading nav a+a{padding:0 .85rem;text-decoration:none;border-radius:.55rem;background:#215b48;color:#fffbeb}
.eg-player{display:grid;grid-template-columns:minmax(0,1.95fr) minmax(15rem,1fr);align-items:stretch;background:#fffdf4;border:1px solid #bcc7b9;border-radius:1rem;overflow:hidden;scroll-margin-top:.5rem}.eg-player:focus{outline:none}
.eg-view{min-width:0;background:#183e35;color:#fff9e8;display:flex;flex-direction:column}.eg-canvas-wrap{position:relative;width:100%;min-width:0;flex:1;min-height:clamp(310px,31vw,435px);overflow:hidden;background:#345f54}.eg-canvas-wrap img,.eg-canvas-wrap canvas{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover}.eg-canvas-wrap canvas:not([data-rendered=true]){opacity:0}.eg-canvas-wrap canvas{touch-action:none;cursor:grab}.eg-canvas-wrap canvas:focus-visible{outline:3px solid #ffd88a;outline-offset:-4px}.eg-hover{pointer-events:none;position:absolute;bottom:.65rem;left:.65rem;max-width:94%;border-radius:.5rem;padding:.25rem .65rem;color:#fff9df;background:#15382ff2;font-size:.88rem}
.eg-toolbar{padding:.55rem .7rem;gap:.4rem}.xc .eg-toolbar button{background:#2b5146;color:#fffbe8;border-color:#839e87;font-size:.88rem}.eg-toolbar button:disabled{opacity:.5}.eg-toolbar details{margin-left:auto;font-size:.89rem}.eg-toolbar details[open]{width:100%}.eg-toolbar summary{cursor:pointer;min-height:40px;align-content:center}.eg-toolbar p{margin:.55rem 0}.eg-movement{gap:.4rem}
.eg-desk{min-width:0;padding:clamp(.9rem,2vw,1.5rem);display:flex;flex-direction:column;align-items:start}.eg-desk>label{font-size:.86rem;font-weight:750}.xc .eg-desk select{width:100%;margin:.2rem 0 .8rem;font-size:.98rem;min-height:44px}.eg-desk h2,.eg-board h2,.eg-places h2,.eg-card h3{line-height:1.07;letter-spacing:-.048em}.eg-desk h2{font-size:clamp(1.7rem,3.2vw,2.55rem);margin:0}.eg-desk>p{margin:.5rem 0 .7rem;line-height:1.4}
.eg-actions,.eg-phrases>div{display:flex;flex-wrap:wrap;gap:.38rem}.xc .eg-actions button,.xc .eg-phrases button{background:#e9efdf;border-color:#b1c4ad;text-align:left;font-size:.94rem}.xc .eg-actions button:first-child{background:#235b46;color:#fffbed;border-color:#235b46}.eg-actions button:disabled{opacity:.55}
#eg-status{border-left:3px solid #ae8749;padding-left:.58rem;font-size:.93rem}#eg-status:empty{display:none}.eg-links{margin-top:auto;padding-top:.6rem;font-size:.92rem}
.eg-board{grid-column:1/-1;border-top:1px solid #c4cdbb;padding:1rem clamp(.8rem,2.5vw,1.65rem)}.eg-board>header{justify-content:space-between}.eg-board h2{margin:.2rem 0 .45rem;font-size:1.6rem}.eg-board-inner{display:grid;grid-template-columns:minmax(0,2fr) minmax(12rem,1fr);gap:1.2rem}.eg-board .core-board>h2{display:none}.eg-board .core-keys{grid-template-columns:repeat(auto-fit,minmax(4.5rem,1fr))}.eg-phrases h3{font-size:1rem;margin:.5rem 0}.eg-phrases>a{font-size:.85rem;margin-top:.55rem}
.eg-places>h2{font-size:clamp(1.8rem,4vw,3rem);margin:2.25rem 0 1rem;scroll-margin-top:.7rem}.eg-card{display:flex;flex-direction:column}.eg-card .eg-entry{display:block;flex:1;text-decoration:none}.eg-entry>div{padding:.9rem 1.05rem .3rem}.eg-card h3{font-size:clamp(1.35rem,2.6vw,2.03rem);margin:0 0 .45rem}.eg-card footer{justify-content:space-between;gap:.3rem;padding:.15rem 1.05rem .5rem}.eg-card footer a{font-size:.85rem}.eg-card footer a:first-child{gap:.35rem}.eg-card:has([aria-current=location]) img{outline:3px solid #59816a;outline-offset:-3px}.eg-card>div.eg-entry{padding:0}.eg-card footer a:first-child::after{content:"";position:absolute;inset:0}.eg-card footer a:last-child{position:relative;z-index:1}.eg-card:focus-within{outline:3px solid #a96026;outline-offset:2px}
@media(max-width:760px){.eg-player,.eg-board-inner{grid-template-columns:1fr}.eg-canvas-wrap{flex:none;min-height:0;aspect-ratio:1.55}.eg-desk{padding:.85rem 1rem}.eg-desk select{max-width:26rem}.eg-places>h2{margin-top:1.6rem}.eg-toolbar{gap:.3rem}.eg-heading{align-items:start;gap:.25rem}.eg-heading nav{gap:.75rem}.eg-heading nav a{font-size:.85rem}.eg-card footer a{min-height:44px}}
@media(max-width:420px){.eg-toolbar details{margin-left:0}.eg-toolbar{padding:.4rem}.eg-canvas-wrap{aspect-ratio:1.32}.eg-player{border-radius:.7rem}}
.eg-phone-page{max-width:60rem;margin:auto}.eg-phone-page>label{display:block;font-size:.9rem;font-weight:700}.eg-phone-page select{max-width:100%;margin:.3rem 0 .9rem}.eg-phone-page>.eg-board{background:#fffdf4;border:1px solid #bcc7b9;border-radius:.8rem}.eg-phone-page #eg-spoken:not(:empty){padding:.6rem .8rem;background:#e5efdc;border-radius:.45rem;font-weight:650}.eg-phone-page>a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}

#eg-local-tip{display:block;max-width:28rem;font-size:.81rem;color:#4a5d50;line-height:1.35}
