/* Biblical Greek Wordoku v0.2.0 — scoped, light, high-contrast and theme independent. */
.bgw {--bgw-ink:#16263a;--bgw-navy:#15334a;--bgw-muted:#4f6070;--bgw-gold:#9c6d24;--bgw-cream:#f5f4ef;--bgw-border:#d8dfdf;--bgw-card:#fff;--bgw-teal:#176a62;--bgw-focus:#a87c36;width:min(1320px,calc(100vw - 28px));max-width:none!important;position:relative;left:50%;transform:translateX(-50%);margin:32px 0 48px;color:var(--bgw-ink)!important;font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;line-height:1.5;text-align:left;isolation:isolate}
.bgw,.bgw *,.bgw *::before,.bgw *::after{box-sizing:border-box}
.bgw [hidden]{display:none!important}
.bgw button,.bgw select,.bgw input{font:inherit}
.bgw button{cursor:pointer;user-select:none;touch-action:manipulation;transition:background-color .12s ease,border-color .12s ease,box-shadow .12s ease;color:var(--bgw-navy)}
.bgw button:disabled{cursor:not-allowed;opacity:.52}
.bgw button:focus-visible,.bgw select:focus-visible,.bgw input:focus-visible{outline:3px solid #b07e22;outline-offset:3px;position:relative;z-index:2}
.bgw-shell{border:1px solid #d4dcdb;border-radius:18px;background:#f9faf8;box-shadow:0 16px 48px rgba(15,42,55,.10);overflow:hidden}
.bgw-head{padding:30px 36px 27px;background:linear-gradient(117deg,#f7f6f0 0%,#edf4f1 100%);border-bottom:1px solid #dbe4df}
.bgw-eyebrow,.bgw-kicker{font-size:11px;line-height:1.35;font-weight:750;letter-spacing:.14em;color:#5a655f;text-transform:uppercase}
.bgw-head-row{display:flex;justify-content:space-between;align-items:center;gap:20px}
.bgw .bgw-head h2{color:#1d3445!important;font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(27px,3.4vw,43px)!important;font-weight:700!important;line-height:1.17!important;margin:10px 0 8px!important;letter-spacing:-.025em}
.bgw .bgw-head h2 span{color:#906329}
.bgw .bgw-head p{color:#455b64!important;margin:0!important;font-size:15px!important}
.bgw-head-mark{min-width:74px;min-height:74px;border:1px solid #c7d5d0;display:grid;place-items:center;color:#305c5c;font:700 29px Georgia,serif;letter-spacing:-.10em;background:#fff;border-radius:17px}
.bgw-tabs{display:flex;gap:4px;overflow-x:auto;padding:10px 30px 0;border-bottom:1px solid var(--bgw-border);background:#fff;white-space:nowrap}
.bgw .bgw-tab{border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;padding:13px 19px 14px;color:#4c5d67;font-size:14px;font-weight:700;min-width:max-content}
.bgw .bgw-tab:hover{color:#153b44;background:#f5f8f5}
.bgw .bgw-tab[aria-pressed="true"]{color:#164b4f;border-bottom-color:#236860;background:#f5faf8}
.bgw-body{padding:29px 31px 34px}
.bgw-controlbar{display:flex;flex-wrap:wrap;align-items:end;gap:12px 13px;padding:0 0 22px}
.bgw-field{min-width:140px;flex:1 1 160px;max-width:260px}
.bgw .bgw-field label{color:#344755;font-size:12px;font-weight:750;display:block;line-height:1.4}
.bgw .bgw-field select{height:42px;width:100%;display:block;margin-top:7px;padding:0 31px 0 12px;background:#fff;color:#163244;border:1px solid #bbc9c9;border-radius:8px;box-shadow:none;line-height:1.2;font-size:13px;font-weight:600}
.bgw .bgw-btn,.bgw .bgw-actions button,.bgw .bgw-sidebuttons button,.bgw .bgw-lex-actions button{border:1px solid #b8c8c6;padding:10px 14px;background:#fff;color:#244354;border-radius:8px;font-weight:700;font-size:13px;line-height:1.3;min-height:42px;text-decoration:none}
.bgw .bgw-btn-primary,.bgw .bgw-lex-actions .bgw-btn-primary{background:var(--bgw-navy);border-color:var(--bgw-navy);color:#fff!important}
.bgw .bgw-btn-primary:hover,.bgw .bgw-lex-actions .bgw-btn-primary:hover{background:#255b68;border-color:#255b68}
.bgw .bgw-actions button:hover,.bgw .bgw-sidebuttons button:hover,.bgw .bgw-lex-actions button:hover{background:#eaf1ef}
.bgw-play-layout,.bgw-lex-layout{display:grid;grid-template-columns:minmax(0,1fr) 306px;gap:26px;align-items:start}
.bgw-main{min-width:0;width:100%;max-width:642px;margin:0 auto}
.bgw-board-top{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:0 2px 12px;color:#435566;font-size:13px;font-weight:750}
.bgw-timer{border-radius:7px;background:#eaf0ed;padding:6px 12px;font-variant-numeric:tabular-nums;color:#183949;min-width:76px;text-align:center}
.bgw-board{position:relative;display:grid;grid-template-columns:repeat(var(--bgw-n),minmax(0,1fr));grid-template-rows:repeat(var(--bgw-n),minmax(0,1fr));aspect-ratio:1/1;width:100%;background:#fefefe;border:3px solid #254250;border-radius:5px;overflow:hidden;box-shadow:0 2px 9px rgba(17,51,63,.07)}
.bgw .bgw-cell{display:flex;align-items:center;justify-content:center;margin:0;padding:0!important;background:#fff;color:#2c4c58;border:0;border-right:1px solid #c7d1d1;border-bottom:1px solid #c7d1d1;border-radius:0;box-shadow:none;font:500 clamp(17px,2.85vw,31px)/1 Georgia,"Times New Roman",serif!important;min-width:0;min-height:0;overflow:hidden}
.bgw .bgw-cell.bgw-box-right{border-right:3px solid #284452}
.bgw .bgw-cell.bgw-box-bottom{border-bottom:3px solid #284452}
.bgw .bgw-cell.bgw-given{background:#eef3f1;color:#1a3041;font-weight:750!important}
.bgw .bgw-cell.bgw-peer:not(.bgw-selected){background:#f0f6f2}
.bgw .bgw-cell.bgw-same:not(.bgw-selected){background:#d9ebe5}
.bgw .bgw-cell.bgw-selected{background:#f8df9f!important;color:#1c3540!important;box-shadow:inset 0 0 0 2px #a16c1f;z-index:1}
.bgw .bgw-cell.bgw-conflict,.bgw .bgw-cell.bgw-wrong{background:#ffdedb!important;color:#782b25!important}
.bgw .bgw-cell.bgw-conflict.bgw-selected,.bgw .bgw-cell.bgw-wrong.bgw-selected{box-shadow:inset 0 0 0 3px #9d2929}
.bgw .bgw-cell.bgw-cellnotes{font-family:system-ui,sans-serif!important;font-size:clamp(7px,1.02vw,10px)!important;line-height:1.25!important;letter-spacing:.04em;word-break:break-word;padding:3px!important;text-align:center;color:#435c64}
.bgw .bgw-board-4 .bgw-cell{font-size:clamp(27px,4vw,50px)!important}
.bgw .bgw-board-6 .bgw-cell{font-size:clamp(22px,3.6vw,39px)!important}
.bgw-paused .bgw-board{filter:blur(4px);opacity:.50}
.bgw-symbols{display:grid;grid-template-columns:repeat(var(--bgw-n),minmax(0,1fr));gap:7px;max-width:100%;margin-top:13px}
.bgw .bgw-symbol{background:#fff;color:#234c51;font-family:Georgia,serif;font-weight:700;font-size:clamp(18px,2.8vw,28px);border:1px solid #bdcbc8;border-radius:9px;min-height:52px;padding:4px 1px;box-shadow:0 2px 1px #e2e8e4}
.bgw .bgw-symbol:hover{background:#edf6f0;border-color:#4c8a79}
.bgw .bgw-symbol-used{color:#9aa7a4;background:#f3f5f3}
.bgw-actions{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:13px}
.bgw .bgw-actions button{padding:9px 3px;min-height:40px;font-size:12px;line-height:1.2}
.bgw .bgw-actions [aria-pressed="true"]{background:#d8eae3;border-color:#5e9181;color:#124b45}
.bgw-status{background:#eef4f0;border:1px solid #d4e5dc;border-radius:8px;padding:12px 14px;min-height:47px;margin-top:15px;color:#254b4a;font-size:13px;font-weight:600;line-height:1.5}
.bgw-sidebar{display:grid;gap:15px;min-width:0}
.bgw-sidebox{padding:22px;border:1px solid #d9e1df;border-radius:11px;background:#fff;box-shadow:0 2px 8px rgba(10,44,52,.025)}
.bgw-number{display:flex;align-items:baseline;gap:8px;margin:7px 0;color:#19364a;font-size:36px;font-weight:750;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.bgw-number small{font-size:12px;font-weight:600;color:#65737a;letter-spacing:0}
.bgw-meter{height:7px;background:#e8efeb;overflow:hidden;border-radius:99px;margin:9px 0 17px}
.bgw-meter>div{height:100%;width:0;background:#226c60;transition:width .14s ease}
.bgw-facts{display:flex;justify-content:space-between;align-items:center;gap:13px;border-top:1px solid #e8eeeb;padding:12px 0 0;margin-top:11px;font-size:13px;color:#526674}
.bgw-facts strong{font-variant-numeric:tabular-nums;color:#1c3544;font-size:15px}
.bgw-check{display:flex;align-items:flex-start;gap:9px;color:#334f59;font-size:13px;line-height:1.35;margin:15px 0}
.bgw-check input{accent-color:#1c6b60;flex:none;margin:2px 0 0;width:17px;height:17px}
.bgw-sidebuttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.bgw .bgw-sidebuttons button{font-size:12px;flex:1 1 80px;padding:8px}
.bgw-vocab{background:#f9fbf7;border-color:#d4e0d5}
.bgw-vocab-lock{font:italic 16px/1.7 Georgia,serif;color:#52675c;margin-top:14px}
.bgw-rewardgreek{font:700 clamp(29px,3vw,42px)/1.25 Georgia,serif;overflow-wrap:anywhere;color:#173e49;margin:9px 0}
.bgw-rewardgloss{font-weight:700;color:#354b59;font-size:13px;margin:5px 0 10px}
.bgw-rewardmeta{font-size:12px;line-height:1.6;color:#5a696e;margin:8px 0 14px}
.bgw-quiz{display:grid;gap:7px}
.bgw .bgw-quiz-choice{min-height:38px;padding:8px 10px;background:#fff;border:1px solid #c6d3cd;border-radius:6px;text-align:left;font-size:12px;color:#264a4c}
.bgw .bgw-quiz-choice:hover{background:#e5f0e9}
.bgw-quiz-result{font-size:13px;color:#2c6757;font-weight:750;margin:7px 0 0}
.bgw-lex-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin:0 0 25px}
.bgw .bgw-lex-head h3,.bgw .bgw-guide h3{font-family:Georgia,serif!important;font-size:clamp(26px,3vw,34px)!important;line-height:1.25!important;color:#1e3747!important;margin:6px 0 8px!important}
.bgw .bgw-lex-head p,.bgw .bgw-guide p{color:#4e626c!important;font-size:14px!important;line-height:1.75!important;margin:0!important;max-width:690px}
.bgw-lex-main{min-width:0;max-width:690px;width:100%;margin:0 auto}
.bgw-lex-clue{padding:19px 21px;border:1px solid #d7e1dd;background:#f0f6f3;border-radius:10px;margin-bottom:18px}
.bgw-lex-clue>span{display:block;color:#586b65;font-size:10px;letter-spacing:.13em;font-weight:800;margin-bottom:4px}
.bgw-lex-clue>strong{display:block;color:#1b3d4d;font-size:clamp(20px,2.5vw,26px);font-weight:750}
.bgw-lex-clue>div{color:#5a696e;font-size:12px;margin-top:5px}
.bgw-lex-grid{display:grid;gap:6px;margin:7px auto 19px;overflow-x:auto;padding:3px 3px 8px}
.bgw-guessrow{display:grid;grid-template-columns:repeat(var(--bgw-wordlength),minmax(0,1fr));gap:5px;min-width:290px}
.bgw-lettertile{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;min-height:29px;border:1px solid #c3d0cf;border-radius:5px;background:#fff;font:700 clamp(13px,2.3vw,25px)/1 Georgia,serif;color:#1b3442}
.bgw-tile-active{border-color:#8cae9f}
.bgw-tile-exact{background:#1e5e54;color:#fff;border-color:#1e5e54}
.bgw-tile-present{background:#f0d99a;color:#392d1c;border-color:#c99e46}
.bgw-tile-absent{background:#e0e6e6;color:#4e5e63;border-color:#c9d3d3}
.bgw-lex-keys{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:5px}
.bgw .bgw-key{min-width:0;min-height:42px;padding:5px 0;background:#fff;border:1px solid #bfceca;border-radius:6px;color:#234950;font:700 clamp(14px,1.8vw,23px)/1 Georgia,serif}
.bgw .bgw-key:hover{background:#ecf3ef}
.bgw .bgw-key-exact{background:#d2e9e2;border-color:#8abbac}
.bgw .bgw-key-present{background:#faedc4;border-color:#d5bc76}
.bgw .bgw-key-absent{color:#687578;background:#eff2f0}
.bgw-lex-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}
.bgw .bgw-lex-actions button{flex:1 1 125px}
.bgw-side-note{font-size:12px;color:#586976;line-height:1.7;margin:17px 0 0}
.bgw-lex-answer{background:#f2f7f2}
.bgw-lex-answer p{font-size:12px;color:#526570;margin:10px 0 0}
.bgw-guide-top{padding:10px 0 25px}
.bgw-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bgw-guide-grid article{border:1px solid #d9e3df;background:#fff;border-radius:10px;padding:24px}
.bgw .bgw-guide h4{font-size:17px!important;line-height:1.3!important;color:#204251!important;margin:0 0 12px!important;font-weight:750!important}
.bgw .bgw-guide-grid p{margin:0 0 12px!important}
.bgw-foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:16px 32px;border-top:1px solid #dce4e0;background:#fff;color:#64747c;font-size:10px;font-weight:750;letter-spacing:.1em}
@media(max-width:970px){.bgw-play-layout,.bgw-lex-layout{grid-template-columns:minmax(0,1fr)}.bgw-main,.bgw-lex-main{max-width:620px}.bgw-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}.bgw-vocab,.bgw-lex-answer{grid-column:1/-1}.bgw-lex-head{align-items:start}}
@media(max-width:620px){.bgw{width:calc(100vw - 18px);margin:15px 0 28px;font-size:14px}.bgw-shell{border-radius:10px}.bgw-head{padding:23px 18px}.bgw-head-mark{min-width:54px;min-height:54px;font-size:23px}.bgw-tabs{padding:7px 11px 0}.bgw .bgw-tab{padding:10px 12px 13px;font-size:12px}.bgw-body{padding:18px 12px 23px}.bgw-controlbar{gap:9px;padding-bottom:18px}.bgw-field{flex:1 1 calc(50% - 9px);max-width:none;min-width:125px}.bgw .bgw-controlbar>.bgw-btn{flex:1 1 100%;}.bgw .bgw-cell{font-size:clamp(16px,5.3vw,26px)!important}.bgw .bgw-board-4 .bgw-cell{font-size:clamp(28px,8.2vw,42px)!important}.bgw .bgw-board-6 .bgw-cell{font-size:clamp(23px,6.4vw,32px)!important}.bgw .bgw-cell.bgw-cellnotes{font-size:7px!important}.bgw-symbols{gap:3px}.bgw .bgw-symbol{min-height:42px;font-size:clamp(15px,5vw,25px);border-radius:5px}.bgw-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.bgw .bgw-actions button{font-size:12px}.bgw-sidebar{grid-template-columns:minmax(0,1fr)}.bgw-sidebox{padding:19px}.bgw-vocab,.bgw-lex-answer{grid-column:auto}.bgw-lex-head{display:block}.bgw-lex-head .bgw-btn{margin-top:15px}.bgw-lex-keys{gap:3px}.bgw .bgw-key{min-height:37px}.bgw-guide-grid{grid-template-columns:minmax(0,1fr)}.bgw-guide-grid article{padding:19px}.bgw-foot{padding:15px 18px;font-size:9px}}
@media(prefers-reduced-motion:reduce){.bgw button,.bgw-meter>div{transition:none}}
/* Optional companion page copy. Keeps Classic Editor SEO content wide and legible. */
body .wordoku-page-content{width:min(1220px,calc(100vw - 28px));max-width:none!important;position:relative;left:50%;transform:translateX(-50%);margin:20px 0 45px;color:#233949;font:400 16px/1.72 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;text-align:left}
.wordoku-page-content,.wordoku-page-content *{box-sizing:border-box}
.wordoku-page-content>header{background:#f3f7f3;border:1px solid #dbe5dc;border-radius:12px;padding:28px 34px 23px}
.wordoku-page-content>section{padding:24px 31px;border-bottom:1px solid #e0e7e3;background:#fff}
.wordoku-page-content>section:nth-of-type(even){background:#f7f9f7}
body .wordoku-page-content h1{font:700 clamp(29px,3.2vw,41px)/1.2 Georgia,"Times New Roman",serif!important;margin:0 0 15px!important;color:#1b3648!important}
body .wordoku-page-content h2{font:700 clamp(23px,2.5vw,29px)/1.3 Georgia,"Times New Roman",serif!important;margin:0 0 13px!important;color:#194153!important}
body .wordoku-page-content h3{font:700 18px/1.35 system-ui,"Segoe UI",sans-serif!important;margin:17px 0 9px!important;color:#294e50!important}
body .wordoku-page-content p,body .wordoku-page-content li{color:#3c5361!important;font-size:15px!important;line-height:1.77!important}
body .wordoku-page-content p{margin:0 0 13px!important}
body .wordoku-page-content p:last-child{margin-bottom:0!important}
.wordoku-page-content ol{padding-left:25px;margin:10px 0 13px}
.wordoku-page-content li{margin-bottom:8px}
.wordoku-page-content [lang="grc"]{font-family:Georgia,"Times New Roman",serif;color:#124d50;font-size:1.13em}
@media(max-width:620px){body .wordoku-page-content{width:calc(100vw - 18px);margin:12px 0 27px}.wordoku-page-content>header{padding:22px 19px}.wordoku-page-content>section{padding:20px 18px}body .wordoku-page-content p,body .wordoku-page-content li{font-size:14px!important}}

/* v0.2.0: Greek vocabulary becomes part of each Wordoku solution. */
.bgw-word-strip{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 18px;padding:15px 17px 14px;margin-bottom:17px;background:#fff9e9;border:1px solid #dfc789;border-radius:10px;color:#243e4d}
.bgw-word-heading{flex:1 1 240px;min-width:0}
.bgw-word-heading .bgw-kicker{display:block;color:#7b571d;font-size:10px;margin-bottom:5px}
.bgw-word-heading strong{display:block;color:#1f3b47;font-size:19px;line-height:1.3;overflow-wrap:anywhere}
.bgw-word-heading small{display:block;font-size:12px;line-height:1.45;color:#54626a;margin-top:5px}
.bgw-word-tiles{display:flex;gap:4px;flex-wrap:wrap;max-width:100%;align-items:center}
.bgw-trail-tile{width:31px;min-height:43px;background:#fff;border:1px solid #ceb47e;border-radius:5px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#254452}
.bgw-trail-tile small{font-size:9px!important;line-height:1.1;font-weight:800;color:#78501c}
.bgw-trail-tile strong{font:700 20px/1.2 Georgia,'Times New Roman',serif!important;color:#1c4145!important}
.bgw-trail-tile.bgw-trail-complete{background:#edf8ef;border-color:#68987c}
.bgw .bgw-cell{position:relative}
.bgw .bgw-cell.bgw-trail:not(.bgw-selected):not(.bgw-wrong):not(.bgw-conflict){background:#fff4d9}
.bgw .bgw-cell.bgw-trail::after{content:attr(data-trail);position:absolute;top:2px;left:3px;display:block;color:#74501d;font:800 10px/1.2 system-ui,Arial,sans-serif;z-index:1;pointer-events:none}
.bgw .bgw-cell.bgw-trail.bgw-selected::after{color:#5b390e}
.bgw .bgw-cell.bgw-trail.bgw-cellnotes::after{font-size:9px}
.bgw-bonus-separator{border:0;border-top:1px solid #d8e2da;margin:18px 0 13px}
@media(max-width:620px){.bgw-word-strip{padding:12px 12px}.bgw-word-heading strong{font-size:17px}.bgw-word-tiles{gap:3px}.bgw-trail-tile{width:27px;min-height:39px}.bgw-trail-tile strong{font-size:18px!important}.bgw .bgw-cell.bgw-trail::after{font-size:8px;top:1px;left:2px}}
