
/* ATS / Edition 2026 — editorial architecture, midnight blue & archival ivory. */
/* Palette */
:root{--ed-ink:#172635;--ed-navy:#1b3247;--ed-navy2:#263f54;--ed-ivory:#f8f5ee;--ed-paper:#fffefa;--ed-cream:#eee8dc;--ed-mustard:#f6c543;--ed-mustard-light:var(--ed-mustard);--ed-bronze:var(--ed-mustard);--ed-bronze2:var(--ed-mustard-light);--ed-muted:#65717a;--ed-line:#dedbd3}

/* Global canvas and masthead */
html{scroll-behavior:smooth}
body{background:#f3f1eb!important;background-image:linear-gradient(180deg,#faf8f3 0%,#f2efe8 48%,#efede8 100%)!important;color:var(--ed-ink)!important}
.wrap{max-width:1240px!important;padding:16px 28px 64px!important}
.preview-topbar{
 display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,2.5fr) minmax(0,1fr)!important;
 align-items:center!important;min-height:62px!important;row-gap:10px!important;
 margin:0!important;padding:0 3px 6px!important;
 border-bottom:0!important;column-gap:20px!important
}
.preview-brand{grid-column:1!important;grid-row:1!important;align-self:center!important;display:inline-flex!important;align-items:center!important;gap:11px!important}
.preview-brand img,.preview-brand__logo{width:50px!important;height:50px!important;border-radius:9px!important;filter:none!important}
/* Show the supplied circular seal without its surrounding canvas. */
.ats-emblem{position:relative;display:block;flex:0 0 58px;width:58px;height:58px;overflow:hidden;border-radius:50%;isolation:isolate}
.preview-brand .ats-emblem__image,.site .brand .ats-emblem__image{position:absolute!important;left:-25%!important;top:-6.5%!important;display:block!important;width:150%!important;height:auto!important;max-width:none!important;border:0!important;border-radius:0!important;object-fit:contain!important;filter:none!important;transform:none!important}
.preview-brand__name{display:inline-block!important;max-width:260px!important;color:#24364a!important;font:700 15px/1.12 Cambria,Georgia,serif!important;letter-spacing:.01em!important}
.preview-topbar__actions{grid-column:3!important;grid-row:1!important;align-self:center!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;min-width:0!important;max-width:100%!important;align-items:center!important;gap:9px!important}
.preview-topbar__actions > span{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
.preview-topbar__actions > span .preview-editor-link{margin:0!important}
.preview-lang-switch{display:inline-flex!important;flex:0 0 auto!important;position:static!important;margin:0!important;padding:3px!important;border:1px solid #dad5c9!important;border-radius:11px!important;background:#fffefa!important;box-shadow:none!important}
.preview-lang-switch a{min-width:40px!important;padding:7px 10px!important;color:#5a6570!important;font:700 11px/1.1 system-ui,sans-serif!important;border-radius:8px!important}
.preview-lang-switch a.active{background:var(--ed-ink)!important;color:#fff!important}
.preview-editor-link{min-height:40px!important;max-width:100%!important;padding:8px 12px!important;text-align:center!important;overflow-wrap:anywhere!important;background:#fffefa!important;border:1px solid #d8d2c6!important;border-radius:10px!important;box-shadow:none!important;color:#3b4753!important;font:600 11px/1.2 system-ui,sans-serif!important;transform:none!important}
.preview-editor-link:hover,.preview-editor-link:focus-visible{border-color:var(--ed-bronze)!important;background:#f5efe3!important;box-shadow:none!important}

/* Distinct editorial cover: this replaces the pale, centered, old-style title */
.preview-hero{
 position:relative!important;isolation:isolate;
 margin:4px 0 0!important;padding:22px 30px!important;
 background:radial-gradient(ellipse at 83% 12%,rgba(164,134,36,.16),transparent 38%),linear-gradient(120deg,#152638 5%,#233f55 59%,#172c3e 100%)!important;
 border:1px solid #294357!important;border-radius:22px!important;
 box-shadow:0 1px 1px rgba(17,29,40,.12),0 28px 45px -34px rgba(18,33,47,.65)!important;
 text-align:center!important;overflow:visible!important
}
.preview-hero::after{content:"";position:absolute;pointer-events:none;inset:9px;border:1px solid rgba(200,175,72,.15);border-radius:15px;z-index:-1}
.preview-eyebrow{
 position:static!important;left:auto!important;top:auto!important;transform:none!important;
 width:auto!important;max-width:100%!important;display:flex!important;justify-content:center!important;
 gap:14px!important;margin:0 0 15px!important;color:var(--ed-mustard-light)!important;
 font:800 11.5px/1.5 system-ui,sans-serif!important;letter-spacing:.13em!important;text-transform:uppercase!important;white-space:normal!important
}
.preview-eyebrow::before,.preview-eyebrow::after{width:35px!important;height:2px!important;background:var(--ed-mustard-light)!important;border:0!important;opacity:1!important}
.preview-title{position:static!important;transform:none!important;width:100%!important;min-width:0!important;margin:0!important;display:grid!important;gap:2px!important;justify-items:center!important;text-align:center!important}
.preview-title__top{margin:0 0 3px!important;color:var(--ed-mustard-light)!important;font:600 12px/1.4 system-ui,sans-serif!important;letter-spacing:.3em!important;text-indent:.3em!important}
.preview-title__main{
 display:block!important;max-width:100%!important;min-width:0!important;margin:0!important;white-space:normal!important;overflow-wrap:normal!important;text-wrap:balance!important;
 color:#faf8f2!important;text-shadow:none!important;
 font:600 clamp(38px,4.8vw,60px)/1.08 Cambria,Georgia,serif!important;letter-spacing:-.024em!important
}
.preview-title__date{margin-top:11px!important;color:var(--ed-mustard-light)!important;font:600 13px/1.5 system-ui,sans-serif!important;letter-spacing:.22em!important;text-indent:.22em!important}
.preview-title__date::before,.preview-title__date::after{width:35px!important;height:1px!important;border:0!important;background:rgba(200,175,72,.6)!important}
.preview-beta{display:inline-flex!important;margin:12px 0 0!important;padding:4px 12px!important;border:1px solid rgba(200,175,72,.55)!important;border-radius:99px!important;background:rgba(255,255,255,.06)!important;color:#d8c577!important;font:600 10px/1.3 system-ui,sans-serif!important;letter-spacing:.055em!important;text-transform:none!important}

/* Search is an integral part of the cover instead of a floating unrelated widget */
.preview-search-tools,.preview-search-tools.is-stuck{
 position:relative!important;top:auto!important;z-index:2!important;
 display:grid!important;grid-template-columns:82px minmax(0,1fr) 126px!important;
 align-items:center!important;justify-content:center!important;gap:12px!important;
 width:min(880px,100%)!important;max-width:880px!important;
 margin:0 auto!important;padding:0!important;background:transparent!important;
 box-shadow:none!important;backdrop-filter:none!important
}
.preview-letter-action,.preview-search-tools.is-stuck .preview-letter-action{display:flex!important;grid-column:1!important;grid-row:1!important;width:100%!important;align-self:stretch!important;justify-self:stretch!important}
.letter-jump,.preview-search-tools.is-stuck .letter-jump{
 width:100%!important;height:54px!important;margin:0!important;padding:0 10px!important;
 border:1.5px solid var(--ed-mustard-light)!important;border-radius:11px!important;
 background:rgba(255,255,255,.09)!important;color:var(--ed-mustard-light)!important;
 font:800 13px system-ui,sans-serif!important;outline-offset:3px!important;box-shadow:none!important
}
.letter-jump option{background:#fff;color:#1f2f40}
.preview-search-shell,.preview-search-tools.is-stuck .preview-search-shell{display:block!important;grid-column:2!important;grid-row:1!important;width:100%!important}
.preview-search-row,.preview-search-tools.is-stuck .preview-search-row{
 display:flex!important;align-items:center!important;min-height:54px!important;
 background:#fffefa!important;border:1px solid #fffefa!important;border-radius:11px!important;
 box-shadow:0 9px 30px -22px rgba(0,0,0,.48)!important;transform:none!important;
 transition:box-shadow .18s ease,border-color .18s ease!important
}
.preview-search-row:hover{border-color:#d7c785!important}
.preview-search-row:focus-within{border-color:var(--ed-mustard)!important;box-shadow:0 0 0 3px rgba(200,175,72,.24)!important;transform:none!important}
.preview-search-row #query,.preview-search-tools.is-stuck .preview-search-row #query{
 padding:11px 3px!important;color:#223346!important;font:500 17px/1.3 Cambria,Georgia,serif!important
}
.preview-search-row #query::placeholder{color:#8b8c88!important}
.preview-search-submit,.preview-search-tools.is-stuck .preview-search-submit{width:50px!important;color:#455a6b!important}
.preview-search-icon{width:21px!important;height:21px!important}
.preview-clear,.preview-search-tools.is-stuck .preview-clear{width:40px!important;color:#6b7a86!important}
.preview-visible-count{flex:0 0 auto!important;min-width:0!important;min-height:0!important;padding:0 8px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#69757d!important;font:600 11px/1.3 system-ui,sans-serif!important;white-space:nowrap!important}
.preview-search-actions,.preview-search-tools.is-stuck .preview-search-actions{
 display:flex!important;grid-column:3!important;grid-row:1!important;
 align-items:center!important;justify-content:center!important;
 justify-self:stretch!important;width:100%!important;min-width:0!important
}
.preview-search-actions .pager-top{display:flex!important;gap:5px!important;margin:0!important;align-items:center!important}
.preview-search-actions .pager-arrow,.preview-search-tools.is-stuck .preview-search-actions .pager-arrow{
 display:inline-grid!important;place-items:center!important;
 width:34px!important;min-width:34px!important;height:46px!important;min-height:46px!important;
 padding:0!important;border:1.5px solid var(--ed-mustard-light)!important;border-radius:9px!important;
 background:rgba(255,255,255,.07)!important;color:var(--ed-mustard-light)!important;box-shadow:none!important;font-size:22px!important;font-weight:900!important
}
.preview-search-actions .pager-arrow:hover,.preview-search-actions .pager-arrow:focus-visible{background:rgba(255,255,255,.17)!important}
.preview-search-actions .pager-top strong,.preview-search-tools.is-stuck .preview-search-actions .pager-top strong{min-width:40px!important;font:800 13px/1.3 system-ui,sans-serif!important;color:var(--ed-mustard-light)!important}

/* The title stays centered in the header; controls never share its grid cell. */
.preview-topbar .preview-title{grid-column:2!important;grid-row:1!important;padding:6px 0!important}
.preview-topbar .preview-title__main{color:var(--ed-navy)!important;font-weight:700!important;letter-spacing:.008em!important;font-size:clamp(27px,2.65vw,38px)!important;line-height:1.12!important}
.preview-topbar .preview-title__top{color:#8c701b!important;font-weight:800!important;font-size:11px!important}
.preview-topbar .preview-title__date{color:#8c701b!important;font-weight:800!important;margin-top:6px!important;font-size:12px!important}
/* Preserve the dynamic heading for assistive technology without a visible label. */
#resultTitle.preview-result-title{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.list-shell{margin-top:12px!important}

/* Catalogue list */
.list-shell{
 overflow:hidden!important;border:1px solid #d9d6cf!important;border-radius:16px!important;
 background:#fffefa!important;box-shadow:0 22px 42px -39px rgba(21,39,55,.34)!important
}
.list-head{
 min-height:50px!important;background:#f0ede5!important;border:0!important;
 border-bottom:1px solid #d9d3c6!important;box-shadow:none!important
}
.list-head span:first-child{padding-left:0!important}
.list-head .head-actions{padding:0!important}
.list-head span{padding-left:10px!important;padding-right:10px!important;color:#576575!important;text-shadow:none!important;font:700 10px/1.3 system-ui,sans-serif!important;letter-spacing:.065em!important}
.row{
 min-height:78px!important;background:#fffefa!important;
 border-bottom:1px solid #eae8e2!important;box-shadow:none!important;
 transition:background .16s ease,box-shadow .16s ease!important
}
.row:nth-child(even){background:#f9f8f4!important}
.row:hover,.row:focus-visible,.row:focus-within,.row:active{
 background:#eef2f3!important;border-bottom-color:#c9d3d7!important;
 box-shadow:inset 3px 0 0 var(--ed-mustard)!important
}
.row:hover::before,.row:focus-visible::before,.row:active::before{background:var(--ed-mustard)!important;border-color:var(--ed-mustard)!important}
.row:focus-visible{outline:2px solid var(--ed-mustard)!important;outline-offset:-2px!important}
.cell{padding-left:10px!important;padding-right:10px!important;border-right-color:#e6e2d9!important}
.cell:first-child{padding-left:0!important}
.cell h2{font:600 17px/1.3 Cambria,Georgia,serif!important;color:#223449!important}
.row:hover .cell h2,.row:focus-visible .cell h2{color:#1b4964!important}
.cell-ottoman .value{font-style:normal!important;color:#4c5153!important}
.cell-modern .value{color:#34414a!important}
.cell-explanation .value{color:#647079!important;line-height:1.5!important}
.row:hover .cell-ottoman .value,.row:hover .cell-modern .value,.row:hover .cell-explanation .value,
.row:focus-visible .cell-ottoman .value,.row:focus-visible .cell-modern .value,.row:focus-visible .cell-explanation .value,
.row:active .cell-ottoman .value,.row:active .cell-modern .value,.row:active .cell-explanation .value{
 font-weight:inherit!important
}
.term-category{padding:3px 8px!important;border-radius:50px!important;background:#edf0f1!important;color:#5b6d78!important;font-size:9px!important}
.row .open-entry{opacity:.9!important;border:1px solid #e3dfd5!important;background:#f6f4ef!important;color:#445867!important;font-size:0!important}
.row .open-entry::after{content:"↗";font:600 17px/1 system-ui,sans-serif}
.row:hover .open-entry{background:#dfe8e9!important;border-color:#c5d4d9!important}
.pager:not(.pager-top){margin:21px 0 4px!important;gap:12px!important}
.pager:not(.pager-top) .btn{background:#fffefa!important;color:#223849!important;border:1px solid #d9d6ce!important;border-radius:10px!important;box-shadow:none!important}
.pager:not(.pager-top) .btn:hover{background:#ebe8e0!important}
.pager:not(.pager-top) strong{color:#354657!important}

/* Supporting editorial sections */
.footnote{
 margin-top:26px!important;padding:19px 22px!important;
 background:#fffefa!important;border:1px solid #dedbd3!important;border-left:3px solid var(--ed-mustard)!important;
 border-radius:12px!important;box-shadow:none!important
}
.footnote p{color:#5a6267!important;font:400 13px/1.65 Cambria,Georgia,serif!important;text-align:left!important}
.editor-works{margin:38px 0 0!important;padding:27px 0 0!important;border-top:1px solid #d9d6ce!important}
.editor-works__title{margin-bottom:23px!important;color:#2c3f51!important;font:600 21px/1.3 Cambria,Georgia,serif!important;letter-spacing:0!important}
.editor-work,.editor-work img{opacity:1!important;filter:none!important}
.editor-work img{filter:drop-shadow(0 9px 12px rgba(26,37,42,.12))!important}
.site-footer{margin-top:27px!important;padding-top:20px!important;border-top:1px solid #d9d6ce!important}
.site-footer a:focus-visible,.editor-work:focus-visible,.preview-site-nav a:focus-visible,.preview-lang-switch a:focus-visible,.preview-editor-link:focus-visible{
 outline:2px solid var(--ed-mustard)!important;outline-offset:3px!important
}

/* Detail dialog aligned with new palette; preserve the compact layout. */
#drawer .dialog{background:#f7f5ef!important;border:1px solid #d7d4cb!important}
#drawer .dialog-head{background:#fffefa!important;border-bottom-color:#c7b362!important}
#drawer .dialog-kicker{color:#80671f!important}
#drawer .dialog h2{color:#1d3143!important}
#drawer .detail-card.ottoman,#drawer .detail-card.modern{background:#fffefa!important;border-color:#dbd6ca!important;border-left-color:var(--ed-mustard)!important}
#drawer .detail-card .label{color:#80671f!important}
#drawer .detail-card.description,#drawer .detail-card.sources-panel{border-top-color:#d9d4c9!important}
#drawer .detail-card .detail-value{color:#35424b!important}
#drawer .source-link{color:#294d65!important}
#drawer .detail-edit-link{background:#1b3247!important;border-color:#1b3247!important;color:#f8f1e6!important}

/* Other public pages use the same visual language without changing their content. */
.site{width:min(1120px,calc(100% - 36px))!important}
.site .topbar{padding-bottom:14px;border-bottom:1px solid #d9d6ce}
.site .brand{color:#22364a}
.site .brand img{filter:none}
.site .langs a{background:#fffefa;border-color:#d8d4cb;color:#24384b;border-radius:9px}
.site .langs a[aria-current]{background:#1b3247;color:#fffefa;border-color:#1b3247}
.site .nav{gap:10px 22px;border-bottom:1px solid #dfddd6}
.site .nav a{color:#45596c;font:600 12px/1.35 system-ui,sans-serif;letter-spacing:0;text-transform:none;text-decoration:none}
.site .nav a:hover{color:#1c394e;text-decoration:underline;text-underline-offset:4px}
.site .page-title,.site .term-head h1{color:#1b3247}
.site .lead{color:#68727a}
.site .paper{background:#fffefa;border:1px solid #dfddd6;border-radius:16px;box-shadow:0 16px 36px -34px rgba(21,39,55,.32)}
.site .field{background:#f8f7f3;border-color:#e0ddd5;border-radius:10px}
.site .label{color:#80671f}
.site .term-head .badge{background:#e9edf0;border-color:#d5dce0;color:#375365}
.site .letter-group h2{color:#80671f}
.site .term-list a,.site .back{color:#28506b}
.site .term-list a:hover{color:#1b3247}
.site a:focus-visible{outline:2px solid var(--ed-mustard);outline-offset:3px}

/* Responsive */
@media(max-width:900px){
 .wrap{padding:14px 19px 52px!important}
 .preview-hero{padding:20px 22px!important}
 .preview-title__main{font-size:clamp(35px,5.3vw,55px)!important}
 .preview-search-tools,.preview-search-tools.is-stuck{grid-template-columns:73px minmax(0,1fr) 126px!important;gap:9px!important}
}
@media(max-width:980px){
 .preview-topbar{grid-template-columns:58px minmax(0,1fr)!important}
 .preview-topbar__actions{grid-column:2!important;justify-self:end!important}
 .preview-topbar .preview-title{grid-column:1/-1!important;grid-row:2!important;padding:3px 0 8px!important}
 .preview-topbar .preview-title__main{font-size:clamp(28px,4.6vw,38px)!important}
}
@media(max-width:760px){
 body{background-attachment:scroll!important}
 .wrap{padding:10px 12px 46px!important}
 .ats-emblem{flex-basis:48px;width:48px;height:48px}
 .preview-topbar{grid-template-columns:48px minmax(0,1fr)!important;min-height:53px!important;padding-bottom:8px!important;column-gap:8px!important}
 .preview-brand img,.preview-brand__logo{width:42px!important;height:42px!important}
 .preview-brand__name{display:none!important}
 .preview-topbar__actions{gap:5px!important}
 .preview-editor-link{padding:0 9px!important;font-size:10.5px!important}
 .preview-hero{margin-top:0!important;padding:18px 15px!important;border-radius:17px!important}
 .preview-hero::after{inset:6px;border-radius:12px}
 .preview-eyebrow{font-size:9px!important;letter-spacing:.08em!important;gap:8px!important;margin-bottom:12px!important}
 .preview-eyebrow::before,.preview-eyebrow::after{width:13px!important}
 .preview-title__top{font-size:10px!important}
 .preview-title__main{max-width:17ch!important;font-size:clamp(32px,8vw,48px)!important;line-height:1.05!important}
 .preview-title__date{margin-top:8px!important;font-size:11px!important}
 .preview-beta{margin-top:9px!important}
 .preview-search-tools,.preview-search-tools.is-stuck{
   grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   grid-template-rows:auto auto!important;gap:9px!important;
   margin:0 auto!important
 }
 .preview-search-shell,.preview-search-tools.is-stuck .preview-search-shell{grid-column:1/-1!important;grid-row:1!important}
 .preview-letter-action,.preview-search-tools.is-stuck .preview-letter-action{grid-column:1!important;grid-row:2!important}
 .preview-search-actions,.preview-search-tools.is-stuck .preview-search-actions{grid-column:2!important;grid-row:2!important;justify-content:flex-end!important}
 .preview-search-row,.preview-search-tools.is-stuck .preview-search-row{min-height:53px!important}
 .letter-jump,.preview-search-tools.is-stuck .letter-jump{height:39px!important}
 .preview-search-actions .pager-arrow,.preview-search-tools.is-stuck .preview-search-actions .pager-arrow{height:39px!important}
 .preview-search-row #query{font-size:16px!important}
 .preview-search-submit,.preview-search-tools.is-stuck .preview-search-submit{width:40px!important;flex:0 0 40px!important}
 .preview-clear,.preview-search-tools.is-stuck .preview-clear{width:34px!important;flex:0 0 34px!important}
 .preview-visible-count{font-size:10px!important;padding:0 5px!important}
 .ats-results-intro{margin:23px 1px 12px;align-items:start!important}
 .ats-results-intro #resultTitle.preview-result-title{font-size:24px!important}
 .ats-results-hint{display:none}
 .list-shell{border-radius:12px!important}
 .row{min-height:0!important;padding:12px 13px!important}
 .row .open-entry{opacity:1!important}
 .cell h2{font-size:16px!important}
 .footnote{padding:15px!important}
 .footnote p{font-size:12.5px!important}
 .editor-works{margin-top:28px!important}
 .site{width:min(100% - 24px,1120px)!important}
}
@media(max-width:480px){
 .preview-topbar{column-gap:10px!important}
 .preview-topbar__actions{gap:6px!important}
 .preview-topbar__actions .community-auth-nav{flex-wrap:wrap;justify-content:flex-end;white-space:normal}
 .preview-search-row,.preview-search-tools.is-stuck .preview-search-row{flex-wrap:wrap!important}
 .preview-search-row #query{flex-basis:80px!important}
}
@media(max-width:390px){
 .preview-title__main{font-size:31px!important}
 .preview-search-row #query{min-width:0;font-size:15px!important}
 .preview-lang-switch a{padding:6px 8px!important;min-width:34px!important}
 .preview-editor-link{font-size:10px!important}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 .row,.preview-search-row,.editor-work,.speak{transition:none!important}
}

/* Dictionary practice: a finite round, learning feedback and a review screen. */
.term-game{margin:14px 0 0;border:1px solid #d9d6ce;border-radius:16px;background:var(--ed-paper);overflow:hidden;box-shadow:0 4px 20px -16px #17263555}
.term-game>summary{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px;padding:16px 22px;cursor:pointer;list-style:none}
.term-game>summary::-webkit-details-marker{display:none}
.term-game summary:focus-visible{outline:2px solid var(--ed-mustard);outline-offset:-3px}
.term-game__intro{grid-column:2;display:grid;justify-items:center;gap:4px}
.term-game__kicker{display:inline-flex;align-items:center;gap:10px;color:var(--ed-navy);font:800 14px/1.4 system-ui,sans-serif;letter-spacing:.09em}
.term-game__icon{width:24px;height:24px;flex:0 0 24px;color:#b18516}
.term-game__subtitle{color:#69757d;font:12px/1.4 Cambria,Georgia,serif}
.term-game__cta{grid-column:3;justify-self:end;display:inline-flex;gap:12px;align-items:center;color:#25445b;font:650 12px/1.4 system-ui,sans-serif;white-space:nowrap}
.term-game__cta>span{font-size:19px;transition:transform .2s}
.term-game[open]{border-color:#cfd6da;box-shadow:0 14px 30px -24px #17263566}
.term-game[open]>summary{background:var(--ed-navy);border-bottom:1px solid #294357}
.term-game[open] .term-game__kicker,.term-game[open] .term-game__icon{color:var(--ed-mustard)}
.term-game[open] .term-game__subtitle{color:#c2cdd5}
.term-game[open] .term-game__cta{color:#f8f5ee}
.term-game[open] .term-game__cta>span{transform:rotate(180deg)}
.term-game__body{max-width:980px;margin:0 auto;padding:28px 36px 24px}
.term-game__body h3:focus{outline:none}
.term-game__eyebrow{margin:0;color:#79611c;font:800 10px/1.5 system-ui,sans-serif;letter-spacing:.13em}
.term-game__welcome{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:40px;align-items:center}
.term-game__welcome-title{margin:10px 0 12px;color:var(--ed-navy);font:700 clamp(26px,3vw,34px)/1.16 Cambria,Georgia,serif;text-wrap:balance}
.term-game__description{max-width:55ch;margin:0;color:#5b6b77;font:15px/1.65 Cambria,Georgia,serif}
.term-game__facts{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0;padding:0;list-style:none}
.term-game__facts li{padding:6px 10px;border:1px solid #e1ded3;border-radius:6px;background:#f5f2e9;color:#455969;font:650 11px/1.3 system-ui,sans-serif}
.term-game__welcome-aside{display:grid;justify-items:center;align-content:center;padding:26px 22px;border:1px solid #294357;border-radius:14px;background:linear-gradient(140deg,#1b3247,#263f54);text-align:center;color:#f8f5ee}
.term-game__round-number{color:var(--ed-mustard);font:600 62px/1 Cambria,Georgia,serif}
.term-game__round-label{margin:7px 0 18px;color:#cbd5dc;font:650 10px/1.4 system-ui,sans-serif;text-transform:uppercase;letter-spacing:.12em}
.term-game__guide{margin:0 0 7px;font:650 12px/1.5 system-ui,sans-serif}
.term-game__guide-detail{margin:0;color:#c0ccd6;font:13px/1.5 Cambria,Georgia,serif}
.term-game__next,.term-game__secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:42px;padding:10px 18px;border:1.5px solid var(--ed-mustard);border-radius:8px;font:700 12px/1.4 system-ui,sans-serif;cursor:pointer;transition:background .15s,box-shadow .15s}
.term-game__next{background:var(--ed-navy);color:#fffefa}
.term-game__welcome .term-game__next{background:var(--ed-mustard);color:var(--ed-navy);min-width:152px}
.term-game__next:hover{background:#2c4c65;box-shadow:0 3px 10px -7px #172635}
.term-game__welcome .term-game__next:hover{background:#ffda75}
.term-game__secondary{background:transparent;color:#304b5d}
.term-game__secondary:hover{background:#f4eedb}
.term-game button:focus-visible,.term-game a:focus-visible{outline:2px solid #9b740c;outline-offset:3px}
.term-game__session-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.term-game__step{color:#405767;font:750 12px/1.5 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.term-game__progress{display:block;appearance:none;width:100%;height:5px;border:0;border-radius:9px;overflow:hidden;background:#e8e8df;color:var(--ed-mustard)}
.term-game__progress::-webkit-progress-bar{background:#e8e8df;border-radius:9px}
.term-game__progress::-webkit-progress-value{background:var(--ed-mustard);border-radius:9px;transition:width .2s}
.term-game__progress::-moz-progress-bar{background:var(--ed-mustard);border-radius:9px}
.term-game__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0;border:1px solid #e2e4df;border-radius:10px;background:#f6f5ef;overflow:hidden}
.term-game__stat{display:flex;align-items:baseline;justify-content:center;flex-wrap:wrap;gap:9px;padding:13px 10px;min-width:0}
.term-game__stat+.term-game__stat{border-left:1px solid #e2e4df}
.term-game__stat strong{color:var(--ed-navy);font:750 20px/1.2 system-ui,sans-serif;font-variant-numeric:tabular-nums}
.term-game__stat>span{color:#65737c;font:600 11px/1.4 system-ui,sans-serif}
.term-game__question-card{padding:24px;border:1px solid #dfe3e0;border-radius:12px;background:#fff}
.term-game__prompt{margin:0;color:#64727b;font:12px/1.5 system-ui,sans-serif}
.term-game__term{margin:10px 0 24px;color:var(--ed-navy);font:700 clamp(26px,3vw,34px)/1.18 Cambria,Georgia,serif;overflow-wrap:anywhere}
.term-game__choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.term-game__choice{display:flex;align-items:center;gap:13px;min-width:0;min-height:62px;padding:12px 15px;text-align:left;border:1.5px solid var(--ed-mustard);border-radius:9px;background:#fffefa;color:#2d414f;font:500 18px/1.35 Cambria,Georgia,serif;cursor:pointer;overflow-wrap:anywhere;transition:background .15s,box-shadow .15s}
.term-game__letter{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border:1px solid #dcdccf;border-radius:6px;background:#f2f2ea;color:#526674;font:750 12px/1 system-ui,sans-serif}
.term-game__answer{min-width:0}
.term-game__choice:hover:not(:disabled){background:#fcf5df;box-shadow:0 2px 9px -6px #8c701b}
.term-game__choice:disabled{cursor:default;opacity:.5;border-color:#d9dfdb}
.term-game__choice.is-correct{opacity:1;background:#edf5ef;border-color:#77a188;color:#246044}
.term-game__choice.is-incorrect{opacity:1;background:#fcf0ef;border-color:#c77b7d;color:#9e383e}
.term-game__choice.is-correct::after,.term-game__choice.is-incorrect::after{margin-left:auto;flex:0 0 auto;font:800 18px/1 system-ui,sans-serif}
.term-game__choice.is-correct::after{content:'✓'}
.term-game__choice.is-incorrect::after{content:'✕'}
.term-game__choice.is-selected.is-correct{background:#276547;border-color:#276547;color:#fff}
.term-game__choice.is-selected.is-incorrect{background:#a63d44;border-color:#a63d44;color:#fff}
.term-game__choice.is-selected .term-game__letter{background:#ffffff18;border-color:#ffffff55;color:inherit}
.term-game__feedback{margin:18px 0 0;padding:14px 17px;border-left:3px solid #4e8969;border-radius:0 8px 8px 0;background:#eff6f1;color:#2f5e45}
.term-game__feedback:empty{display:none}
.term-game__feedback.is-incorrect{background:#f5f2e8;border-left-color:#bd9525;color:#445763}
.term-game__feedback-title{display:block;font:750 12px/1.5 system-ui,sans-serif}
.term-game__equivalent{margin:5px 0 0;font:650 20px/1.35 Cambria,Georgia,serif;overflow-wrap:anywhere}
.term-game__modern{margin:5px 0 0;color:#5c6e65;font:13px/1.5 Cambria,Georgia,serif}
.term-game__footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px}
.term-game__footer[hidden]{display:none}
.term-game__source{color:#37566b;text-decoration:underline;text-underline-offset:3px;font:600 11px/1.5 system-ui,sans-serif}
.term-game__note,.term-game__best{margin:13px 0 0;color:#6a777e;font:11px/1.6 system-ui,sans-serif}
.term-game__note{text-align:center}
.term-game__best{padding-top:14px;border-top:1px solid #e6e3d9}
.term-game__result{display:flex;align-items:center;gap:28px;padding:8px 0 12px}
.term-game__result-score{display:grid;align-content:center;justify-items:center;flex:0 0 126px;width:126px;height:126px;border:4px solid var(--ed-mustard);border-radius:50%;background:var(--ed-navy);color:#fff}
.term-game__result-score strong{color:var(--ed-mustard);font:650 48px/1 Cambria,Georgia,serif}
.term-game__result-score>span{margin-top:5px;color:#ced8de;font:650 12px/1.3 system-ui,sans-serif}
.term-game__stats--result{grid-template-columns:repeat(4,minmax(0,1fr))}
.term-game__result-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:20px 0}
.term-game__review{border:1px solid #e0e2db;border-radius:9px;overflow:hidden}
.term-game__review>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:#f5f4ec;cursor:pointer;list-style:none;color:#324d5f;font:700 12px/1.5 system-ui,sans-serif}
.term-game__review>summary::-webkit-details-marker{display:none}
.term-game__review>summary::after{content:'+';font-size:18px}
.term-game__review[open]>summary::after{content:'−'}
.term-game__review-list{margin:0;padding:0;list-style:none}
.term-game__review-list>li{display:flex;gap:12px;align-items:center;padding:14px 16px;border-top:1px solid #e3e5df}
.term-game__review-mark{flex:0 0 20px;font:750 16px/1 system-ui,sans-serif;color:#367654}
.term-game__review-list>.is-incorrect .term-game__review-mark{color:#ab4247}
.term-game__review-copy{display:grid;gap:4px;flex:1;min-width:0;color:#4c626e;font:14px/1.4 Cambria,Georgia,serif;overflow-wrap:anywhere}
.term-game__review-copy>strong{color:var(--ed-navy);font-size:16px}
.term-game__review-selected{color:#9e5252}
.term-game__review-list .term-game__source{flex:0 0 auto}
.term-game__loading{margin:8px 0 18px;color:#617480;font:14px/1.6 system-ui,sans-serif}
@media(max-width:700px){
 .term-game>summary{grid-template-columns:minmax(0,1fr) auto;padding:15px 18px;gap:10px}
 .term-game__intro{grid-column:1;justify-items:start;gap:3px}
 .term-game__cta{grid-column:2;font-size:11px}
 .term-game__body{padding:22px 18px}
 .term-game__welcome{grid-template-columns:minmax(0,1fr);gap:22px}
 .term-game__welcome-aside{display:none}
 .term-game__welcome-title{font-size:29px}
 .term-game__question-card{padding:20px 16px}
 .term-game__choices{grid-template-columns:minmax(0,1fr)}
 .term-game__choice{min-height:55px;font-size:17px}
 .term-game__stat{display:grid;justify-items:center;gap:5px;padding:12px 7px}
 .term-game__stat strong{font-size:18px}
 .term-game__stat>span{font-size:10px}
 .term-game__term{font-size:28px;margin-bottom:20px}
 .term-game__result{gap:18px;align-items:flex-start}
 .term-game__result-score{flex-basis:92px;width:92px;height:92px;border-width:3px}
 .term-game__result-score strong{font-size:36px}
 .term-game__result-copy .term-game__welcome-title{font-size:25px}
 .term-game__result-copy .term-game__description{font-size:14px}
 .term-game__review-list>li{flex-wrap:wrap;gap:10px}
 .term-game__review-list .term-game__source{margin-left:30px}
 .term-game__review-copy{flex-basis:calc(100% - 30px)}
}
@media(max-width:390px){.term-game__cta{font-size:0}.term-game__cta>span{font-size:20px}.term-game__body{padding:20px 12px}.term-game__result{flex-direction:column}.term-game__result-score{flex-basis:92px}}
@media(prefers-reduced-motion:reduce){.term-game *{transition:none!important;scroll-behavior:auto!important}}

/* Yellow sampled from the reference arrow; keep quiz answer-state colours intact. */
.preview-lang-switch,.preview-editor-link,.community-auth-nav a,
.row .open-entry,.pager:not(.pager-top) .btn,
#drawer .close,#drawer .speak,#drawer .detail-edit-link,
.term-game__next,.site .langs a{
 border:1.5px solid var(--ed-mustard)!important
}
.preview-lang-switch a{border:1px solid transparent!important}
.preview-lang-switch a.active{border-color:var(--ed-mustard)!important}
.preview-search-submit,.preview-search-tools.is-stuck .preview-search-submit,
.preview-clear,.preview-search-tools.is-stuck .preview-clear,
.preview-search-submit:hover,.preview-clear:hover{
 align-self:center!important;min-height:34px!important;height:34px!important;
 margin:4px!important;border:1.5px solid transparent!important;
 border-radius:8px!important;background:transparent!important;box-shadow:none!important;box-sizing:border-box!important
}
.pager:not(.pager-top) .btn:hover,.preview-editor-link:hover,
#drawer .close:hover,#drawer .speak:hover{
 border-color:#80671f!important;background:#f1e9c8!important
}
.letter-jump,.preview-search-tools.is-stuck .letter-jump,
.preview-search-actions .pager-arrow,.preview-search-tools.is-stuck .preview-search-actions .pager-arrow{
 border:1.5px solid var(--ed-mustard-light)!important
}
.row .open-entry{color:#80671f!important}
.row:hover .open-entry{border-color:#80671f!important;background:#f1e9c8!important}
#drawer .detail-card::before{background:var(--ed-mustard)!important}
.term-game__choice:not(.is-correct):not(.is-incorrect){border:1.5px solid var(--ed-mustard)!important}
:where(.letter-jump,.pager-arrow,.preview-search-submit,.preview-clear,.preview-editor-link,
 .open-entry,.btn,.close,.speak,.term-game__next):focus-visible{
 outline:2px solid var(--ed-mustard)!important;outline-offset:3px!important
}

/* Updated circular seal: no canvas crop; modest desktop enlargement. */
.preview-brand .ats-emblem__image,.site .brand .ats-emblem__image{
 position:static!important;left:auto!important;top:auto!important;
 width:100%!important;height:100%!important;max-width:100%!important;
 object-fit:cover!important;border-radius:50%!important
}
@media(min-width:761px){.ats-emblem{flex:0 0 72px!important;width:72px!important;height:72px!important}}
