/* WordJumble shared theme — homepage baseline, 2026-09-23 */
:root{
  --cream:#fffaf0;--paper:#ffffff;--navy:#12306b;--text:#18325d;--muted:#394150;
  --line:#dfe7f3;--blue:#2f80ed;--blue2:#1f6fe0;--purple:#8155e8;--coral:#ff6863;
  --yellow:#f7c948;--green:#59c96f;--mint:#e9f9ee;--shadow:0 14px 40px rgba(30,72,130,.10)
}
html{scroll-behavior:smooth}

body{background:linear-gradient(180deg,#fffaf0 0,#fffdf8 420px,#f7fbff 100%);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.app{width:min(1080px,calc(100% - 36px));padding:28px 0 20px}
.card{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
.brand-header{display:flex;justify-content:center;align-items:center;gap:24px;margin:2px 0 24px;padding:0 6px}
.brand-block{min-width:0}.brand-name{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}.tile{width:47px;height:47px;border-radius:10px;display:inline-grid;place-items:center;color:#0e2f68;font-weight:900;font-size:27px;box-shadow:0 4px 0 rgba(20,48,107,.08);transform:rotate(-2deg)}
.tile:nth-child(2){transform:rotate(1deg)}.tile:nth-child(3){transform:rotate(-1deg)}.tile:nth-child(4){transform:rotate(2deg)}
.tile-blue{background:#72b8ff}.tile-yellow{background:#ffd44f}.tile-coral{background:#ff7773}.tile-green{background:#78d966}.brand-word{font-size:43px;font-weight:850;color:#1652a4;letter-spacing:-1.8px;margin-left:3px}
.brand-tagline{margin:7px 0 0 72px;font-size:11px;font-weight:800;letter-spacing:.24em;color:#365585}.brand-note{font-size:18px;font-weight:800;color:#2b5caf;transform:rotate(-3deg);max-width:145px;text-align:center;line-height:1.15}
.solver-intro{text-align:center;margin:0 0 16px}.solver-intro h1{font-size:38px;line-height:1.05;color:var(--navy);margin:0 0 8px;letter-spacing:-.6px}.solver-intro p{font-size:17px;color:var(--muted);margin:0}
#form{background:var(--paper);border:1px solid #dbe4f0;border-radius:18px;padding:24px;box-shadow:var(--shadow)}
#form>label{font-size:14px;color:#334b76;margin-bottom:9px}.input-row{gap:12px}input,select{border:1px solid #cfd9e8;border-radius:11px;background:#fff;height:54px;color:#18325d}input:focus,select:focus{border-color:#5aa2ff;box-shadow:0 0 0 4px rgba(47,128,237,.12)}
#letters{
  font-size:18px;
  padding:0 16px;
  text-transform:uppercase;
}.button-row{gap:12px}.button-row button{flex:1;height:52px;border-radius:11px;font-size:16px;box-shadow:0 6px 14px rgba(31,70,130,.10)}
#go{background:linear-gradient(135deg,#388cf7,#2774e8)}#go:hover{background:linear-gradient(135deg,#2d7fe9,#1f67d4)}
.options-btn{background:linear-gradient(135deg,#9167ee,#7a4ee0)!important;color:#0b1f3a!important;order:0!important}.options-btn:hover{filter:brightness(.96)}
.reset-btn{background:linear-gradient(135deg,#ff7670,#ff5f59)!important;color:#0b1f3a!important;border:0!important}.reset-btn:hover{filter:brightness(.96)}
.hint{font-size:12px;text-align:center;margin-top:10px;color:#0b1f3a}.options{background:#fbfdff;border:1px solid #dfe7f2;border-radius:12px}.options-title{color:var(--navy)}
#status{color:#4b638a}.group-title{color:#0b1f3a}.word{border:1px solid #dce6f2;background:#f7fbff;border-radius:9px;color:#18325d}
.more-tools-band{margin:26px 0 10px;padding:0;background:transparent;border:0}.more-tools-head{display:flex;justify-content:space-between;align-items:end;margin:0 4px 12px}.more-tools-head h2{font-size:30px;color:var(--navy);margin:0;letter-spacing:-.4px}.more-tools-head span{font-size:13px;color:#0b1f3a;font-weight:700}
.tool-row{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.tool-btn{display:flex!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-start!important;text-align:left!important;gap:8px;min-height:164px;padding:18px!important;border-radius:15px!important;border:1px solid rgba(30,60,100,.08)!important;color:var(--navy)!important;box-shadow:0 8px 22px rgba(30,72,130,.07);transition:transform .18s ease,box-shadow .18s ease!important}
.tool-btn:hover{transform:translateY(-4px);box-shadow:0 14px 26px rgba(30,72,130,.12)}.tool-btn strong{font-size:17px;line-height:1.15}.tool-btn small{font-size:15px;line-height:1.4;color:#0b1f3a;font-weight:500}.more-tools-band .tool-btn small{font-size:15px !important}.tool-icon{font-size:24px;font-weight:900;line-height:1;color:inherit}.tool-blue{background:#eaf4ff!important}.tool-yellow{background:#fff6cf!important}.tool-coral{background:#ffe6e5!important}.tool-green{background:#e9f8e9!important}
.info{background:#fff;border:1px solid #e1e8f1;border-radius:16px;padding:24px 26px;margin-top:18px;box-shadow:0 7px 22px rgba(30,72,130,.045)}.info-section{margin-bottom:22px}.info-section:last-child{margin-bottom:0}.info-section h2{color:var(--navy);font-size:21px}.info-section p,.info-section ul{color:#0b1f3a}.info-section a{color:#0b1f3a;font-weight:700;text-decoration:none}.info-section a:hover{text-decoration:underline}
.about-wj{margin-top:18px;padding:24px 26px;border:1px solid #d7e8fb;border-radius:16px;background:linear-gradient(135deg,#f4f9ff,#fffdf5);box-shadow:0 7px 22px rgba(30,72,130,.045)}.about-wj h2{font-size:25px;color:var(--navy);margin:0 0 8px}.about-wj p{margin:0;line-height:1.7;color:#0b1f3a}
.seo-tool-links{border-top:0!important;margin:18px 0 0!important;padding:13px 0!important;justify-content:center}.seo-tool-links a{color:#0b1f3a;font-weight:700;text-decoration:none}.seo-tool-links a:hover{text-decoration:underline}
footer{display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:left!important;margin-top:4px;padding:18px 4px 8px!important;border-top:1px solid #dfe7f1;color:#0b1f3a!important;font-size:12px!important}footer a{color:#0b1f3a;text-decoration:none;font-weight:700}footer a:hover{text-decoration:underline}
@media(max-width:820px){.tool-row{grid-template-columns:1fr 1fr}.brand-note{display:none}.brand-name{justify-content:center}.brand-header{justify-content:center;text-align:center}.brand-tagline{margin-left:0}.solver-intro h1{font-size:34px}}
@media(max-width:600px){.app{width:100%;padding:12px 12px 18px}.brand-header{margin-bottom:18px}.tile{width:36px;height:36px;border-radius:8px;font-size:21px}.brand-word{font-size:32px}.brand-tagline{font-size:10px;letter-spacing:.14em;margin-top:6px}.solver-intro h1{font-size:29px}.solver-intro p{font-size:14px}#form{padding:17px 14px;border-radius:15px}.button-row{grid-template-columns:1fr 1fr 1fr!important;gap:8px}.button-row button{font-size:13px;height:47px;padding:0 4px}.tool-row{grid-template-columns:1fr 1fr!important;gap:9px!important}.tool-btn{min-height:145px!important;padding:14px!important}.tool-btn strong{font-size:15px}.tool-btn small{font-size:12px}.more-tools-head{align-items:center}.more-tools-head h2{font-size:24px}.more-tools-head span{display:none}.info,.about-wj{padding:18px 16px;border-radius:14px}footer{flex-direction:column;align-items:flex-start;gap:7px}.seo-tool-links{justify-content:flex-start}}

/* Site-wide dark-text rule */
:root{--text:#111;--muted:#0b2f63}
body{color:#111!important}
p,li,label,small,.hint,#status,.group-title,.empty,.info-section p,.info-section ul,.about-wj p,.contact-box,footer,footer a,.more-tools-head span,.tool-btn small,.solver-intro p,.home-tools .home-tool-card small,.faq-item p,.accordion-body{color:#111!important}
h1,h2,h3,h4,.brand-word,.more-tools-head h2,.tool-btn,.home-tools .home-tool-card,.home-tools .home-tool-card strong,.info-accordion summary,.faq-accordion summary,.mobile-more-tools-cue{color:#0b2f63!important}
.brand-tagline{color:#0b2f63!important}
a{color:#0b2f63}
button,input,select,textarea{color:#071a35!important}

/* Core layout rules retained from the locked homepage. */
*{box-sizing:border-box}
body{margin:0}
.app{margin-left:auto;margin-right:auto}
label{display:block;font-size:14px;font-weight:700;margin-bottom:8px}
.input-row{display:flex;flex-direction:column;gap:12px;width:100%}
.button-row{display:flex;gap:12px;width:100%}
.button-row button{flex:1}
.options{display:none;margin-top:18px;padding:16px}
.options.open{display:block}
.option-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.option label{font-size:12px}
.dictionary-row{display:flex;gap:8px;align-items:center}
.dictionary-row select{flex:1;min-width:0}
.dictionary-go{flex:0 0 74px;height:54px}
#status{margin-top:25px;font-weight:700;min-height:20px}
.words{display:flex;flex-wrap:wrap;gap:8px}

/* Reserved future AdSense positions. No internal promotion is displayed. */
.ad-reserve{width:50%;height:80px;margin:18px auto 22px;border:3px solid #d7deea;border-radius:10px;background:#fff;position:relative;display:flex;align-items:center;justify-content:center;color:#111;font-size:11px}
.ad-reserve::before{content:'Advt';position:absolute;top:4px;left:7px;font-size:10px;font-weight:700;color:#111}

@media(max-width:600px){
  .option-grid{grid-template-columns:1fr}
  .ad-reserve{width:90%;height:90px;margin:14px auto 18px}
}
