:root{--bg:#f8f5ee;--ink:#30293e;--muted:#786d80;--purple:#76628f;--border:#e5dedb;--gold:#b79256;--card:#fffcf7}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select{font:inherit}button,select{cursor:pointer}button:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #b7a6d4;outline-offset:4px}.app{max-width:780px;margin:auto;padding:28px 28px 0}header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:25px;border-bottom:1px solid var(--border)}.brand{display:flex;align-items:center;gap:12px}.brand img{object-fit:contain}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted);margin:0 0 7px}h1{font:30px Georgia,serif;margin:0;letter-spacing:.3px}.language select{max-width:155px;border:1px solid var(--border);background:var(--card);color:var(--ink);padding:11px 12px;border-radius:12px}.intro{padding:36px 0 28px}.kicker{font-size:10px;letter-spacing:1.7px;color:var(--gold);font-weight:650;margin:0 0 12px}h2{font:34px/1.2 Georgia,serif;margin:0 0 12px}.intro #introText{font-size:14px;line-height:1.65;color:var(--muted);max-width:470px;margin:0}.search{display:flex;align-items:center;gap:13px;background:var(--card);border:1px solid var(--border);border-radius:15px;padding:0 17px;min-height:56px;box-shadow:0 3px 15px #43305104}.search:focus-within{border-color:var(--purple);box-shadow:0 0 0 3px #76628f14}.search svg{width:21px;height:21px;fill:none;stroke:var(--purple);stroke-width:1.7;flex-shrink:0}.search input{flex:1;width:100%;min-width:0;border:0;background:transparent;color:var(--ink);outline:none!important;padding:17px 0;font-size:15px}.search input::-webkit-search-cancel-button{display:none}.search input::placeholder{color:#93889b}.search button{border:0;background:transparent;font-size:26px;color:var(--muted);padding:4px 0}.hint{font-size:12px;color:var(--muted);margin:9px 3px 19px;min-height:18px}.hint.inactive{visibility:hidden}.switch{display:flex;background:#eee8e9;padding:5px;border-radius:13px;gap:5px}.switch button{width:50%;display:flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:9px;padding:12px;background:transparent;color:var(--muted);font-size:14px}.switch button[aria-pressed=true]{background:var(--card);color:var(--purple);box-shadow:0 2px 6px #38284009;font-weight:650}.switch svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.4}.letters{display:flex;flex-wrap:wrap;gap:5px;padding:23px 0 6px}.letters button{border:0;background:transparent;min-width:31px;min-height:34px;border-radius:8px;font-size:12px;color:var(--muted)}.letters button[aria-pressed=true]{background:var(--purple);color:#fff}.letters button:disabled{opacity:.35;cursor:default}#categoryNav{padding-top:21px}#categoryNav label{display:block;font-size:12px;color:var(--muted);margin:0 0 8px}#categorySelect{width:100%;padding:13px;border:1px solid var(--border);border-radius:12px;background:var(--card);color:var(--ink)}.list-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:23px 0 13px}.list-heading p{font-size:13px;color:var(--muted);margin:0}.list-heading button{border:0;background:none;font-size:12px;color:var(--purple);text-decoration:underline;padding:7px 0}.word-list{display:grid;gap:11px}.entry{display:flex;align-items:center;gap:20px;padding:14px;background:var(--card);border:1px solid var(--border);border-radius:15px}.illustration{flex:0 0 92px;width:92px;aspect-ratio:1;background:linear-gradient(135deg,#f0eaf1,#f5eee1);border:1px dashed #d6cbd9;border-radius:10px;display:flex;align-items:center;justify-content:center;color:#b6a7bd}.illustration svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:1.2}.entry-text{min-width:0}.entry h3{font:25px/1.25 Georgia,serif;margin:0 0 6px;overflow-wrap:anywhere}.definition{font-size:14px;line-height:1.55;margin:0;color:#625b68;overflow-wrap:anywhere}.entry-tag{display:inline-block;font-size:10px;letter-spacing:.3px;color:#93819e;margin-top:10px}.group{margin-bottom:30px}.group-title{font:23px Georgia,serif;margin:24px 0 14px}.group-title:after{content:"";display:block;width:30px;height:2px;background:#c6aa79;margin-top:10px}.explanation{background:#efebf3;border:1px solid #ddd3e6;border-radius:14px;padding:21px;margin-bottom:16px;color:#64596f;font-size:14px;line-height:1.65}.explanation p{margin:0 0 12px}.explanation p:last-child{margin-bottom:0}.empty{padding:45px 20px;text-align:center;background:var(--card);border-radius:15px;border:1px solid var(--border)}.empty h3{font:24px Georgia,serif}.empty p{font-size:14px;color:var(--muted);line-height:1.6}.notice{font-size:12px;line-height:1.6;border-left:2px solid var(--gold);padding:9px 13px;margin-top:20px;color:var(--muted)}footer{text-align:center;border-top:1px solid var(--border);margin-top:38px;padding:26px 0 30px;color:var(--muted)}footer span{font:19px Georgia,serif}footer p{font-size:11px;line-height:1.6}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}[hidden]{display:none!important}@media(min-width:700px){.word-list{grid-template-columns:1fr 1fr}.entry{gap:13px}.illustration{flex-basis:72px;width:72px}.entry h3{font-size:23px}.definition{font-size:13px}}@media(max-width:480px){.app{padding:20px 18px 0}header{gap:8px;padding-bottom:19px}.brand{gap:8px}.brand img{width:52px;height:52px}h1{font-size:23px}.eyebrow{font-size:8px;letter-spacing:1.3px}.language select{font-size:12px;padding:10px 7px;max-width:120px}.intro{padding:29px 0 24px}h2{font-size:29px}.entry{gap:16px;padding:12px}.illustration{flex-basis:84px;width:84px}.entry h3{font-size:24px}}@media(prefers-reduced-motion:no-preference){.entry{animation:appear .2s ease}@keyframes appear{from{opacity:.5;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}}

.language{position:relative;flex-shrink:0}.language #languageButton{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 12px;border:1px solid var(--border);background:var(--card);color:var(--ink);border-radius:12px;font-size:13px;font-weight:600}.language img{object-fit:cover;border-radius:3px;box-shadow:0 0 0 1px #30293e12;width:26px;height:18px}.language svg{width:12px;height:12px;fill:none;stroke:var(--muted);stroke-width:1.5}.language #languageMenu{position:absolute;right:0;top:calc(100% + 8px);z-index:20;padding:6px;background:var(--card);border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 25px #30293e18;min-width:115px}.language #languageMenu button{display:flex;align-items:center;gap:12px;width:100%;padding:10px;border:0;border-radius:7px;background:transparent;color:var(--ink);text-align:left;font-size:13px}.language #languageMenu button:hover,.language #languageMenu button[aria-selected=true]{background:#eee8f2;color:var(--purple)}@media(max-width:480px){.language #languageButton{gap:7px;padding:9px 10px}}

.brand{min-width:0}header h1{font-size:28px;letter-spacing:.4px}@media(max-width:480px){header h1{font-size:clamp(17px,4.6vw,22px);letter-spacing:.2px}.brand img{width:44px;height:44px}}@media(max-width:360px){.brand img{width:36px;height:36px}.brand{gap:6px}header h1{font-size:16px}.eyebrow{font-size:7px;letter-spacing:1px}.language #languageButton{gap:6px;padding:9px 8px}}
header h1{color:#fbcf8d;letter-spacing:0;white-space:nowrap}

.saga-link{display:inline-flex;align-items:center;gap:8px;margin-top:16px;padding:9px 12px;border:1px solid #c5cdeb;border-radius:9px;background:#edf0fb;color:#617bb4;text-decoration:none;font-size:12px;line-height:1.4}.saga-link svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.5;flex-shrink:0}.saga-link .external-arrow{width:12px;height:12px;margin-left:4px}.saga-link:hover{background:#e1e7fa;border-color:#9baed7}.saga-link:focus-visible{outline:3px solid #b7a6d4;outline-offset:4px}

.intro-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:16px}.intro-links .saga-link{margin-top:0}@media(max-width:380px){.intro-links{align-items:flex-start;flex-direction:column}}

.newsletter-link{background:#fcf9f7;border-color:#c5cdeb;color:#617bb4}.newsletter-link:hover{background:#f7f8fc;border-color:#9baed7}
.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}.share-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:transparent;color:var(--purple);border:1px solid var(--border);border-radius:12px}.share-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5}.share-button:hover{background:#eee8f2}.share-button:disabled{opacity:.5;cursor:wait}
.share-status{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:30;background:var(--ink);color:var(--card);padding:12px 20px;border-radius:12px;font-size:13px;max-width:90vw;box-shadow:0 5px 20px #30293e22}
#shareDialog{position:fixed;width:min(90vw,440px);border:1px solid var(--border);border-radius:18px;background:var(--card);color:var(--ink);padding:28px}#shareDialog::backdrop{background:#30293e55}#shareDialog h2{font-size:25px;padding-right:15px}#shareDialog p{color:var(--muted);font-size:14px}#shareDialog input{width:100%;padding:12px;border:1px solid var(--border);border-radius:9px;font-size:13px;background:var(--bg);color:var(--ink)}#shareCopy{margin-top:14px;padding:10px 16px;border:0;background:var(--purple);color:white;border-radius:9px}.dialog-close{position:absolute;right:12px;top:10px;width:36px;height:36px;border:0;background:none;color:var(--muted);font-size:25px}
@media(max-width:480px){.header-actions{gap:5px}.language #languageButton{gap:5px;padding:9px 7px}.brand{gap:6px}.brand img{width:36px;height:36px}.share-button{width:38px}}
@media(max-width:360px){.header-actions{gap:4px}.language #languageButton{gap:4px;padding:9px 6px}.share-button{width:36px}.app{padding-left:14px;padding-right:14px}}

header{display:block}.header-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.header-links{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:18px}.header-links .saga-link{margin-top:0;min-height:44px}.header-links .share-button{flex-shrink:0}
@media(max-width:480px){.header-top{gap:8px}.header-links{justify-content:flex-start;gap:7px;margin-top:16px}.header-links .saga-link{padding:9px 10px}.header-links .saga-link .external-arrow{display:none}}

footer .publisher-logo{display:block;width:125px;max-width:45vw;height:auto;margin:0 auto}

.header-links{justify-content:flex-start;margin-left:0}.header-links .saga-link{width:168px;height:44px;min-height:44px;justify-content:center;padding:8px 10px}.header-links .saga-link .external-arrow{display:none}
@media(max-width:480px){.header-links{margin-left:0;display:grid;grid-template-columns:168px 44px;gap:8px;justify-content:start;align-items:start}.header-links #sagaLink{grid-column:1;grid-row:1}.header-links #newsletterLink{grid-column:1;grid-row:2}.header-links #shareButton{grid-column:2;grid-row:1;width:44px}}

.header-links .saga-link .external-arrow{display:block;flex-shrink:0}
@media(max-width:480px){.header-links{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px;gap:6px;width:100%}.header-links #sagaLink{grid-column:1;grid-row:1}.header-links #newsletterLink{grid-column:2;grid-row:1}.header-links #shareButton{grid-column:3;grid-row:1;width:38px}.header-links .saga-link{width:100%;min-width:0;height:44px;padding:7px 5px;gap:5px;font-size:11px;line-height:1.25}.header-links .saga-link>span:not(.sr-only){min-width:0}.header-links .saga-link svg{width:16px;height:16px}.header-links .saga-link .external-arrow{display:block;width:10px;height:10px;margin-left:0}}
@media(max-width:360px){.header-links .saga-link{font-size:10.5px}}

.illustration.has-image{border:1px solid var(--border);background:#fcf8ec;overflow:hidden}.illustration.has-image img{display:block;width:100%;height:100%;object-fit:cover}

/* Align both title lines to the same left and right edges. */
.brand>div{text-align:left}header .eyebrow,header h1{margin-left:0;margin-right:0;white-space:nowrap}

.intro .kicker{color:#8c6839}
#introTitle{color:var(--ink);text-transform:uppercase;font-size:24px;line-height:1.3;width:100%;max-width:470px;white-space:normal;letter-spacing:0;text-wrap:balance}
.intro #introText{width:100%;max-width:470px;text-wrap:pretty;text-align:left;text-align-last:auto}
@media(max-width:480px){#introTitle{font-size:21px}}

#introTitle{white-space:nowrap;text-wrap:nowrap} .intro .kicker{white-space:nowrap}

.intro{padding-top:22px}#introTitle{font-size:20px;white-space:normal;text-wrap:balance}
@media(max-width:480px){.intro{padding-top:18px}#introTitle{font-size:19px}}

#introTitle{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;font-weight:650;letter-spacing:1.7px;line-height:1.6;text-transform:uppercase}
@media(max-width:480px){#introTitle{font-size:13px;letter-spacing:1.4px}}

.intro #introText{max-width:none;width:100%;text-wrap:wrap;white-space:normal}

@media(min-width:700px){.intro #introText{white-space:nowrap}}

#introTitle{color:var(--muted)}

#introTitle{margin-bottom:3px}

footer .copyright{margin:12px 0 0;color:#000000;font-size:11px;line-height:1.7}footer .copyright a{color:inherit;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}footer .copyright a:focus-visible{outline:2px solid var(--purple);outline-offset:4px}

footer .copyright a,footer .copyright a:visited{color:#000000}

/* Keep the dictionary logo at its desktop size on phones. */
@media(max-width:480px){.brand>img{width:72px;height:72px;flex:0 0 72px}}

.question-examples{margin-top:16px;background:#fffcf780;border:1px solid #ddd3e6;border-radius:10px;padding:0 14px;overflow:hidden}
.question-pair{padding:12px 0}
.question-pair+.question-pair{border-top:1px solid #ddd3e6}
.explanation .question-pair p{margin:0;line-height:1.5}
.explanation .question-pair p+p{margin-top:3px}
.question-pair strong{font-weight:600}

.entry h3 .initial-exponent{font-size:.6em;line-height:0;vertical-align:super;margin-right:1px}

/* Pronunciation controls and image viewer. */
.word-heading{display:flex;align-items:center;gap:7px;margin-bottom:6px;flex-wrap:wrap}.word-heading h3{margin:0;flex:0 1 auto}.pronunciation-button{display:inline-flex;align-items:center;justify-content:center;width:36px;min-width:36px;height:36px;padding:7px;border:0;border-radius:50%;background:transparent;color:var(--purple);flex-shrink:0}.pronunciation-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.pronunciation-button:hover,.pronunciation-button.is-playing{background:#eee8f2}.entry-text{flex:1}button.illustration{padding:0;cursor:zoom-in}button.illustration:hover{border-color:var(--purple)}
#illustrationDialog{position:fixed;width:min(92vw,480px);max-height:92dvh;overflow:auto;border:1px solid var(--border);border-radius:18px;padding:24px;background:var(--card);color:var(--ink);box-shadow:0 18px 60px #30293e30}#illustrationDialog::backdrop{background:#30293e99}#illustrationTitle{font-size:27px;padding-right:32px;margin:0 0 18px}#illustrationTitle sup{font-size:.6em;line-height:0}#illustrationLarge{display:block;width:auto;max-width:min(100%,384px);height:auto;max-height:65dvh;object-fit:contain;border-radius:10px;margin:auto}#illustrationDefinition{margin:17px 0 0;font-size:14px;line-height:1.5;color:var(--muted)}#illustrationClose{background:var(--card);border-radius:50%;z-index:1}
@media(max-width:480px){.pronunciation-button{width:40px;min-width:40px;height:40px}.word-heading{gap:5px}#illustrationDialog{padding:22px 16px}}

/* Use compressed original artwork only when opening the image viewer. */
#illustrationDialog{width:min(92vw,720px)}#illustrationLarge{max-width:min(100%,640px)}

/* Centre the text above and below the enlarged artwork. */
#illustrationTitle{text-align:center;padding-inline:36px;overflow-wrap:anywhere}#illustrationDefinition{text-align:center}

/* Reserve the final image area before either source is displayed. */
#illustrationLarge{width:100%;aspect-ratio:1 / 1}

.intro{display:grid;grid-template-columns:minmax(0,1fr) 168px;column-gap:28px;align-items:start}.intro #introTitle{grid-column:1;grid-row:1;max-width:none}.intro #introText{grid-column:1;grid-row:2;width:100%;max-width:430px;white-space:normal;text-wrap:pretty}.play-games{grid-column:2;grid-row:1 / span 2;align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:9px;width:168px;min-height:44px;padding:8px 12px;border:1px solid #7b9b56;border-radius:9px;background:#f5f4b9;color:#48672e;font:600 12px/1.4 system-ui,sans-serif;cursor:pointer}.play-games svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.play-games:hover{background:#edeea3}.play-games:focus-visible{outline:3px solid #b2c68d;outline-offset:4px}#gamesTrial{position:fixed;inset:0;width:100%;height:100%;border:0;background:#f8f5ee;z-index:2000}#gamesTrial[hidden]{display:none}@media(max-width:600px){.intro{grid-template-columns:minmax(0,1fr) 104px;column-gap:14px}.play-games{width:104px;padding:8px;gap:7px}.intro #introText{max-width:none;white-space:normal;text-wrap:pretty}.intro #introTitle{white-space:normal;text-wrap:pretty}}
.intro{display:block}.intro #introText{max-width:430px;white-space:normal;text-wrap:pretty}.header-links{display:grid;grid-template-columns:168px 168px 44px;gap:8px;width:max-content;max-width:100%;align-items:center;justify-content:start}.header-links #sagaLink{grid-column:1;grid-row:1}.header-links #newsletterLink{grid-column:2;grid-row:1}.header-links #shareButton{grid-column:3;grid-row:1}.header-links .play-games{grid-column:1 / 3;grid-row:2;width:100%;align-self:stretch;justify-content:center;background:#faf7d9;color:#48672e;border-color:#7b9b56}.header-links .play-games:hover{background:#f4efc5}@media(max-width:480px){.header-links{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 38px;gap:6px;width:100%}.header-links .saga-link{width:100%}.intro #introText{max-width:none}}.intro #introText{max-width:none;width:100%;text-wrap:wrap}@media(min-width:700px){.intro #introText{white-space:nowrap;text-wrap:nowrap}}.header-links .play-games{background:#f9e3ad}.header-links .play-games:hover{background:#f3d493}.header-links .play-games{background:#feff99}.header-links .play-games:hover{background:#feff99;filter:brightness(.98)}.header-links .play-games{background:#fffde9}.header-links .play-games:hover{background:#fff9d9;filter:none}.header-links .play-games{background:#fefee4;color:#7c9d78;border-color:#c6d8bd}.header-links .play-games:hover{background:#f8f9df;color:#73946f;border-color:#b8ceae;filter:none}.header-links .play-games{background:#fcf9f7;color:#fbcf8d;border-color:#fbcf8d}.header-links .play-games:hover{background:#f7f8fc;color:#fbcf8d;border-color:#fbcf8d;filter:none}
.list-heading #listTitle.selected-letter{font-weight:700}
