:root{
  --brand:#007bff;--brand-dark:#0056b3;--gold:#e6c36a;--gold-dark:#c99a2e;
  --ink:#101828;--muted:#667085;--line:#e5e9f0;--soft:#f6f8fb;--surface:#fff;
  --max:1180px;--radius:18px;--shadow:0 12px 34px rgba(16,24,40,.09);
  --medical:#1fa2a5;--legal:#222;--physics:#6e49b3;--maths:#3747d1;
  --biology:#1c8c4a;--computing:#007bff;--economics:#9a6700;--psychology:#c23b7a;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button,input,select{font:inherit}
button{cursor:pointer}
.shell{width:min(var(--max),calc(100% - 32px));margin-inline:auto}
.skip-link{position:fixed;left:12px;top:8px;z-index:999;padding:10px 14px;background:#000;color:#fff;border-radius:8px;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.site-header{position:sticky;top:0;z-index:80;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border-bottom:1px solid var(--line)}
.header-inner{min-height:72px;display:flex;align-items:center;gap:20px}
.brand{display:flex;align-items:center;flex:0 0 auto}
.brand img{width:auto;height:40px}
.header-search{position:relative;max-width:560px;flex:1;margin-left:auto}
.header-search input{width:100%;height:46px;padding:0 50px 0 16px;border:1px solid var(--line);border-radius:999px;background:var(--soft);outline:none}
.header-search input:focus{border-color:var(--brand);box-shadow:0 0 0 4px rgba(0,123,255,.12);background:#fff}
.header-search button{position:absolute;right:5px;top:5px;width:36px;height:36px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#111}
.header-search svg{width:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.app-menu-wrap{position:relative}
.app-menu-button{width:46px;height:46px;border:1px solid var(--line);border-radius:13px;background:#fff;display:grid;place-items:center}
.app-menu-button:hover,.app-menu-button[aria-expanded=true]{background:#fff8e5;border-color:#e5cb86}
.dot-grid{display:grid;grid-template-columns:repeat(3,4px);gap:4px}
.dot-grid i{width:4px;height:4px;border-radius:50%;background:#111}
.feature-menu{position:absolute;right:0;top:58px;width:min(480px,calc(100vw - 28px));padding:12px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 22px 60px rgba(16,24,40,.18)}
.feature-menu[hidden]{display:none}
.feature-menu a{min-height:115px;padding:14px 11px;border-radius:14px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.feature-menu a:hover{background:#f6f9ff}
.feature-menu span{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eaf3ff;color:var(--brand-dark);font-weight:900}
.feature-menu strong{font-size:.84rem}
.feature-menu small{color:var(--muted);font-size:.68rem;line-height:1.25}
.suggestions{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:100;background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden}
.suggestions[hidden]{display:none}
.suggestion-item{display:grid;grid-template-columns:1fr auto;gap:10px;padding:13px 15px;border-bottom:1px solid #eef1f5}
.suggestion-item:last-child{border-bottom:0}
.suggestion-item:hover,.suggestion-item.is-active{background:#f4f8ff}
.suggestion-word{font-weight:850}
.suggestion-def{display:block;margin-top:3px;color:var(--muted);font-size:.78rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.suggestion-pos{color:var(--brand);font-size:.7rem;font-weight:800;text-transform:uppercase}
.home-hero{min-height:calc(100svh - 72px);display:grid;place-items:center;padding:54px 0;background:
 radial-gradient(900px 500px at 85% 0,rgba(0,123,255,.11),transparent 62%),
 linear-gradient(180deg,rgba(230,195,106,.16),rgba(255,255,255,0) 55%)}
.hero-search-wrap{width:min(850px,calc(100% - 32px));text-align:center}
.home-hero h1{margin:0 0 24px;font-size:clamp(2.5rem,8vw,5.8rem);letter-spacing:-.065em;line-height:.96}
.home-hero h1 strong{color:var(--brand)}
.home-hero p{margin:0 0 28px;color:var(--muted);font-size:clamp(.98rem,2vw,1.16rem)}
.hero-search{position:relative;max-width:820px;margin:auto}
.hero-search form{position:relative}
.hero-search input{width:100%;height:76px;padding:0 82px 0 28px;border:1px solid #dce2ea;border-radius:24px;background:#fff;font-size:clamp(1.05rem,2.3vw,1.25rem);outline:none;box-shadow:0 20px 60px rgba(16,24,40,.12)}
.hero-search input:focus{border-color:var(--brand);box-shadow:0 20px 60px rgba(0,123,255,.16),0 0 0 5px rgba(0,123,255,.1)}
.hero-search button{position:absolute;right:9px;top:9px;width:58px;height:58px;border:0;border-radius:17px;background:linear-gradient(180deg,var(--gold),#d6b353);display:grid;place-items:center}
.hero-search button svg{width:25px;fill:none;stroke:#111;stroke-width:2;stroke-linecap:round}
.search-modes{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:18px}
.search-modes a{padding:7px 11px;color:#536071;font-size:.8rem;font-weight:750}
.search-modes a:hover{color:var(--brand-dark)}
.scroll-cue{display:inline-flex;margin-top:38px;color:#8a94a3;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase}
.section{padding:76px 0}
.section-soft{background:var(--soft)}
.section-gold{background:#fffaf0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:26px}
.eyebrow{color:var(--brand-dark);font-size:.74rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.section-head h2,.page-hero h1{margin:7px 0 0;font-size:clamp(2rem,5vw,3.6rem);line-height:1.05;letter-spacing:-.045em}
.section-head p,.page-hero p{max-width:700px;color:var(--muted);line-height:1.65}
.text-link{color:var(--brand-dark);font-weight:850;white-space:nowrap}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.feature-card{min-height:230px;padding:27px;border:1px solid var(--line);border-radius:22px;background:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:.18s ease}
.feature-card:before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:var(--accent,var(--brand))}
.feature-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#d7dfea}
.feature-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:color-mix(in srgb,var(--accent,var(--brand)) 12%,white);color:var(--accent,var(--brand));font-weight:950;font-size:1.15rem}
.feature-card h3{margin:30px 0 10px;font-size:1.35rem;letter-spacing:-.02em}
.feature-card p{margin:0;color:var(--muted);line-height:1.58}
.feature-card .go{margin-top:auto;padding-top:22px;font-weight:850;color:var(--accent,var(--brand))}
.article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.article-card{padding:24px;border:1px solid var(--line);border-radius:20px;background:#fff;display:flex;flex-direction:column;min-height:250px}
.article-card .meta{color:var(--brand-dark);font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.article-card h3{margin:16px 0 10px;font-size:1.25rem;line-height:1.2}
.article-card p{margin:0;color:var(--muted);line-height:1.55}
.article-card .read{margin-top:auto;padding-top:24px;font-weight:850;color:var(--brand-dark)}
.word-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.word-card{padding:21px;border:1px solid var(--line);border-radius:18px;background:#fff}
.word-card:hover{border-color:#bcd4f7;box-shadow:0 12px 30px rgba(16,24,40,.07)}
.word-card .word-title{font:800 1.55rem/1.1 Georgia,serif}
.word-card .pos{margin-top:7px;color:var(--brand);font-size:.72rem;font-weight:900;text-transform:uppercase}
.word-card p{margin:13px 0 0;color:var(--muted);line-height:1.5;font-size:.9rem}
.cluster-carousel{position:relative}
.cluster-slide{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.cluster-slide[hidden]{display:none}
.cluster-card{padding:23px;border:1px solid var(--line);border-radius:20px;background:#fff;min-height:215px;display:flex;flex-direction:column}
.cluster-card .cluster-type{color:#6941c6;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.cluster-card h3{margin:14px 0 9px;font-size:1.18rem}
.cluster-card p{margin:0;color:var(--muted);line-height:1.5;font-size:.88rem}
.cluster-words{margin-top:auto;padding-top:20px;font-size:.8rem;font-weight:780;color:#344054;line-height:1.7}
.carousel-controls{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px}
.carousel-controls button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff}
.carousel-dot{width:8px!important;height:8px!important;padding:0;border:0!important;background:#ccd3dc!important}
.carousel-dot.is-active{background:var(--brand)!important}
.subject-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.subject-card{--accent:var(--brand);padding:22px;border:1px solid var(--line);border-top:4px solid var(--accent);border-radius:18px;background:#fff}
.subject-card h3{margin:0 0 9px;font-size:1.04rem}
.subject-card p{margin:0;color:var(--muted);font-size:.83rem;line-height:1.45}
.subject-card .count{display:block;margin-top:18px;color:var(--accent);font-size:.77rem;font-weight:900;text-transform:uppercase}
.page-hero{padding:62px 0 42px;background:linear-gradient(180deg,#f8fbff,#fff)}
.breadcrumbs{margin-bottom:18px;color:#7b8594;font-size:.8rem}
.breadcrumbs a:hover{color:var(--brand)}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:36px;padding:46px 0 76px}
.content-main{min-width:0}
.sidebar-card{position:sticky;top:94px;padding:20px;border:1px solid var(--line);border-radius:18px;background:var(--soft)}
.sidebar-card h3{margin:0 0 12px}.sidebar-card a{display:block;padding:9px 0;border-bottom:1px solid #e5e9ef;color:#344054;font-size:.86rem}
.sidebar-card a:last-child{border-bottom:0}
.prose{font-size:1.03rem;line-height:1.78;color:#344054}
.prose h2{margin:40px 0 12px;color:var(--ink);font-size:1.65rem;letter-spacing:-.025em}
.prose h3{margin:28px 0 9px;color:var(--ink)}
.prose a{color:var(--brand-dark);text-decoration:underline;text-underline-offset:3px}
.word-head{padding-bottom:30px;border-bottom:1px solid var(--line)}
.word-head h1{margin:0;font:800 clamp(3rem,9vw,6.5rem)/.96 Georgia,serif;letter-spacing:-.05em}
.word-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.pill{padding:6px 9px;border-radius:999px;background:#eef5ff;color:#1657a6;font-size:.72rem;font-weight:850}
.sense-list{counter-reset:senses}
.sense{position:relative;padding:28px 0;border-bottom:1px solid var(--line)}
.sense h2{margin:0 0 10px;font-size:1.25rem}
.definition{font-size:1.12rem;line-height:1.65}
.example{margin-top:14px;padding:15px 18px;border-left:4px solid var(--gold);background:#fffaf0;color:#475467;font-style:italic}
.data-section{padding:28px 0;border-bottom:1px solid var(--line)}
.data-section h2{margin:0 0 16px;font-size:1.35rem}
.tag-list{display:flex;flex-wrap:wrap;gap:8px}
.tag{padding:8px 11px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.82rem;font-weight:750}
.result-list{display:grid;gap:10px}
.result-row{display:grid;grid-template-columns:minmax(150px,220px) 1fr auto;gap:18px;align-items:start;padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}
.result-row strong{font:800 1.2rem Georgia,serif}.result-row p{margin:4px 0 0;color:var(--muted);line-height:1.45}
.result-row .label{color:var(--brand);font-size:.7rem;font-weight:900;text-transform:uppercase}
.filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.filters a,.filters button{padding:9px 12px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.8rem;font-weight:780}
.filters .active{color:#fff;background:var(--brand);border-color:var(--brand)}
.pagination{display:flex;gap:7px;justify-content:center;margin-top:30px}.pagination a,.pagination span{min-width:38px;height:38px;padding:0 10px;display:grid;place-items:center;border:1px solid var(--line);border-radius:10px}.pagination .current{color:#fff;background:var(--brand)}
.notice{padding:20px;border:1px solid #c7d8f5;border-radius:17px;background:#eef5ff;color:#344054;line-height:1.6}
.empty{padding:36px;border:1px dashed #cbd3df;border-radius:18px;text-align:center;color:var(--muted)}
.thesaurus-groups{display:grid;gap:34px}
.thesaurus-group h2{display:flex;align-items:center;gap:10px}
.thesaurus-group h2 span{padding:4px 8px;border-radius:999px;background:#edf4ff;color:var(--brand);font-size:.7rem}
.nuance-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.nuance-card{padding:20px;border:1px solid var(--line);border-radius:17px}
.nuance-card h3{margin:0;font:800 1.35rem Georgia,serif}
.nuance-card p{color:var(--muted);line-height:1.5}
.nuance-badges{display:flex;flex-wrap:wrap;gap:6px}.nuance-badges span{padding:5px 8px;border-radius:999px;background:var(--soft);font-size:.7rem;font-weight:750}
.crossword-shell{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}
.crossword-board-wrap{overflow:auto;padding:16px;border:1px solid var(--line);border-radius:20px;background:#f2f4f7}
.crossword-grid{display:grid;gap:2px;width:max-content;margin:auto}
.crossword-cell{position:relative;width:38px;height:38px;background:#fff;border:1px solid #cdd4df}
.crossword-cell.block{background:#101828;border-color:#101828}
.crossword-cell input{width:100%;height:100%;border:0;text-align:center;text-transform:uppercase;font-weight:850;font-size:1.05rem;outline:none;background:transparent}
.crossword-cell input:focus{background:#fff3c7}
.crossword-cell.correct{background:#e8f8f0}.crossword-cell.incorrect{background:#ffe8e6}
.cell-number{position:absolute;left:2px;top:1px;font-size:.52rem;font-weight:800;pointer-events:none}
.crossword-panel{padding:20px;border:1px solid var(--line);border-radius:20px}
.game-stats{display:flex;justify-content:space-between;gap:10px;margin-bottom:16px}.game-stats span{padding:7px 9px;border-radius:10px;background:var(--soft);font-size:.78rem;font-weight:800}
.game-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.game-actions button{padding:9px 12px;border:1px solid var(--line);border-radius:10px;background:#fff;font-weight:800}.game-actions .primary{color:#fff;background:var(--brand);border-color:var(--brand)}
.clue-section h3{margin:20px 0 8px}.clue{display:flex;gap:8px;padding:8px 0;color:#475467;font-size:.84rem;line-height:1.4}.clue b{color:var(--ink)}
.dictionary-types{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.type-card{padding:25px;border:1px solid var(--line);border-radius:20px}.type-card h2{margin:0 0 10px}.type-card p{color:var(--muted);line-height:1.6}
.site-footer{padding:54px 0 20px;border-top:1px solid var(--line);background:#fbfcfe}
.footer-grid{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:34px}.footer-grid img{height:38px;width:auto}.footer-grid p{max-width:330px;color:var(--muted);line-height:1.55}.footer-grid nav{display:flex;flex-direction:column;gap:9px}.footer-grid nav strong{margin-bottom:5px}.footer-grid nav a{color:#566273;font-size:.86rem}.footer-grid nav a:hover{color:var(--brand)}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:40px;padding-top:18px;border-top:1px solid var(--line);color:#7b8491;font-size:.78rem}
@media(max-width:980px){
  .feature-grid,.article-grid,.word-grid,.cluster-slide{grid-template-columns:repeat(2,1fr)}
  .subject-grid{grid-template-columns:repeat(3,1fr)}
  .content-layout{grid-template-columns:1fr}.sidebar-card{position:static}
  .crossword-shell{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  .shell{width:min(100% - 22px,var(--max))}
  .header-inner{gap:9px;min-height:64px}.brand img{height:33px;max-width:185px}
  .header-search{display:none}
  .feature-menu{grid-template-columns:repeat(3,1fr);top:54px}
  .feature-menu a{min-height:100px;padding:10px 5px}.feature-menu small{display:none}
  .home-hero{min-height:calc(100svh - 64px);padding:36px 0}
  .home-hero h1{font-size:clamp(2.45rem,15vw,4.2rem)}
  .hero-search input{height:64px;border-radius:19px;padding-left:20px}.hero-search button{width:48px;height:48px;border-radius:14px;right:8px;top:8px}
  .section{padding:54px 0}.section-head{display:block}.section-head .text-link{display:inline-block;margin-top:10px}
  .feature-grid,.article-grid,.word-grid,.cluster-slide,.subject-grid,.nuance-grid,.dictionary-types{grid-template-columns:1fr}
  .feature-card{min-height:190px}
  .content-layout{padding-top:30px}
  .result-row{grid-template-columns:1fr}.result-row .label{justify-self:start}
  .crossword-cell{width:32px;height:32px}
  .footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}
  .footer-bottom{display:block}.footer-bottom span{display:block;margin-top:5px}
}
@media(max-width:440px){
  .feature-menu{grid-template-columns:repeat(3,1fr);padding:7px;gap:4px}.feature-menu a{min-height:88px}.feature-menu span{width:32px;height:32px}
  .footer-grid{grid-template-columns:1fr}
  .crossword-cell{width:29px;height:29px}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.suggestion-empty{padding:15px;color:var(--muted);font-size:.84rem}
.page-search{max-width:760px;margin-top:25px}.page-search .hero-search input{height:62px;border-radius:18px}.page-search .hero-search button{width:46px;height:46px;right:8px;top:8px;border-radius:13px}
.page-kicker{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.page-kicker a,.page-kicker span{padding:7px 10px;border:1px solid var(--line);border-radius:999px;background:#fff;color:#536071;font-size:.76rem;font-weight:750}
.stat-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:34px}.stat-card{padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.8)}.stat-card strong{display:block;font-size:1.35rem}.stat-card span{color:var(--muted);font-size:.76rem}
.article-body{font-size:1.04rem;line-height:1.78;color:#344054}.article-body h2{margin:38px 0 12px;color:var(--ink);font-size:1.7rem}.article-body h3{margin-top:28px;color:var(--ink)}.article-body ul,.article-body ol{padding-left:24px}.article-body blockquote{margin:25px 0;padding:17px 21px;border-left:4px solid var(--gold);background:#fffaf0}
.alphabet{display:flex;flex-wrap:wrap;gap:6px;margin:20px 0 30px}.alphabet a{width:35px;height:35px;display:grid;place-items:center;border:1px solid var(--line);border-radius:9px;background:#fff;font-weight:800}.alphabet a:hover{border-color:var(--brand);color:var(--brand)}
.hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.hub-card{padding:24px;border:1px solid var(--line);border-radius:20px;background:#fff}.hub-card h2,.hub-card h3{margin:0 0 9px}.hub-card p{color:var(--muted);line-height:1.55}.hub-card .meta{display:block;margin-top:18px;color:var(--brand-dark);font-size:.76rem;font-weight:850}
.inline-search-note{margin:12px 0 0;color:var(--muted);font-size:.8rem}
.word-navigation{display:flex;justify-content:space-between;gap:18px;margin-top:28px}.word-navigation a{padding:12px 16px;border:1px solid var(--line);border-radius:13px;background:#fff;font-weight:800}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:16px}.data-table{width:100%;border-collapse:collapse;background:#fff}.data-table th,.data-table td{padding:13px 15px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.data-table th{background:var(--soft);font-size:.76rem;text-transform:uppercase;letter-spacing:.05em}.data-table tr:last-child td{border-bottom:0}
.origins-route{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.origins-route span{padding:7px 10px;border-radius:999px;background:#fff4d5;font-weight:800}.origins-route i{color:#9a6700}
.cluster-member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.cluster-member{padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff}.cluster-member strong{font:800 1.2rem Georgia,serif}.cluster-member p{margin:8px 0 0;color:var(--muted);font-size:.84rem;line-height:1.45}.cluster-member .role{display:inline-block;margin-top:12px;color:#6941c6;font-size:.68rem;font-weight:900;text-transform:uppercase}
.callout-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.button{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;font-weight:850}.button.primary{background:var(--brand);border-color:var(--brand);color:#fff}.button.gold{background:var(--gold);border-color:#d2ad4f;color:#111}
.related-links{display:grid;gap:8px}.related-links a{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fff}.related-links a strong{display:block}.related-links a span{display:block;margin-top:4px;color:var(--muted);font-size:.78rem}
.search-summary{margin:0 0 22px;color:var(--muted)}
.crossword-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.crossword-picker a{padding:21px;border:1px solid var(--line);border-radius:17px;background:#fff}.crossword-picker strong{display:block;font-size:1.05rem}.crossword-picker span{display:block;margin-top:8px;color:var(--muted);font-size:.82rem;line-height:1.45}
.game-message{min-height:24px;margin:12px 0;font-weight:800}.game-message.success{color:#067647}.game-message.warning{color:#b54708}
@media(max-width:980px){.hub-grid,.cluster-member-grid,.crossword-picker{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){
  .header-inner{flex-wrap:wrap}.brand{order:1}.app-menu-wrap{order:2;margin-left:auto}.header-search{display:block;order:3;flex-basis:100%;max-width:none;margin:0 0 9px}.header-search input{height:42px}.header-search button{width:32px;height:32px}
  .stat-strip{grid-template-columns:repeat(2,1fr)}.hub-grid,.cluster-member-grid,.crossword-picker{grid-template-columns:1fr}
}

/* Standalone index2 additions */
.brand-text{display:flex;align-items:center;gap:10px;font-weight:900;font-size:1.05rem;color:#101828}.brand-monogram{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#007bff;color:#fff;font-weight:950}.setup-warning{background:#fff4d8;border-bottom:1px solid #ecd28e;padding:10px 16px;color:#5e4709;text-align:center;font-size:.84rem}.button{border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 12px;color:#536071;font-size:.8rem;font-weight:750}.suggestion-empty{padding:15px;color:var(--muted);font-size:.85rem}.stat-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:28px}.stat-card{padding:18px;border:1px solid var(--line);border-radius:16px;background:#fff;text-align:center}.stat-card strong{display:block;font-size:1.8rem}.stat-card span{color:var(--muted);font-size:.8rem}@media(max-width:720px){.feature-grid,.article-grid,.word-grid,.cluster-slide,.subject-grid{grid-template-columns:1fr}.stat-strip{grid-template-columns:repeat(2,1fr)}.feature-menu{grid-template-columns:repeat(2,1fr)}.brand-label{display:none}}

/* ===== Standalone scroll-aware header ===== */
.site-header{
  transition:box-shadow .2s ease,background-color .2s ease;
}
.site-header.is-scrolled{
  box-shadow:0 10px 28px rgba(16,24,40,.08);
  background:rgba(255,255,255,.985);
}
.site-header .brand img{
  display:block;
  width:auto;
  height:42px;
  max-width:min(260px,34vw);
  object-fit:contain;
}
.site-header .header-search{
  position:relative;
  flex:1 1 620px;
  max-width:640px;
  margin-left:auto;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(-7px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s ease;
}
.site-header.is-scrolled .header-search{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:none;
}
.site-header .header-search form{position:relative}
.site-header .app-menu-wrap{
  position:relative;
  flex:0 0 auto;
  margin-left:auto;
}
.site-header.is-scrolled .app-menu-wrap{margin-left:0}
.footer-brand img{height:40px;width:auto;max-width:240px}

@media(max-width:720px){
  .site-header .brand img{height:35px;max-width:190px}
  .site-header .header-inner{min-height:64px;flex-wrap:nowrap}
  .site-header .header-search{display:block;flex-basis:auto;max-width:none;margin:0;opacity:0;visibility:hidden;pointer-events:none;position:absolute;left:11px;right:11px;top:64px;transform:translateY(-8px)}
  .site-header.is-scrolled .header-inner{min-height:116px;flex-wrap:wrap;align-content:flex-start;padding-top:10px}
  .site-header.is-scrolled .brand{order:1}
  .site-header.is-scrolled .app-menu-wrap{order:2;margin-left:auto}
  .site-header.is-scrolled .header-search{order:3;position:relative;left:auto;right:auto;top:auto;flex:1 0 100%;margin:7px 0 10px;opacity:1;visibility:visible;pointer-events:auto;transform:none}
  .site-header.is-scrolled .header-search input{height:42px}
  .site-header.is-scrolled .header-search button{width:32px;height:32px;right:5px;top:5px}
  .feature-menu{right:0}
}


/* Internal pages built on the standalone index2 framework */
.dictionary-inner-page .site-header[data-force-search="true"] .header-search{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.dictionary-inner-page .page-hero{padding-top:48px}
.debug-errors{white-space:pre-wrap;background:#2b1720;color:#ffe7ee;padding:18px;margin:0;font-size:12px;overflow:auto}
@media(max-width:720px){
  .dictionary-inner-page .site-header[data-force-search="true"] .header-inner{min-height:116px;flex-wrap:wrap;align-content:flex-start;padding-top:10px}
  .dictionary-inner-page .site-header[data-force-search="true"] .brand{order:1}
  .dictionary-inner-page .site-header[data-force-search="true"] .app-menu-wrap{order:2;margin-left:auto}
  .dictionary-inner-page .site-header[data-force-search="true"] .header-search{order:3;position:relative;left:auto;right:auto;top:auto;flex:1 0 100%;margin:7px 0 10px;opacity:1;visibility:visible;pointer-events:auto;transform:none}
  .dictionary-inner-page .page-hero{padding-top:34px}
}
