/* JS Games 1.2 — apresentação editorial, totalmente isolada do tema WordPress. */
.jsgames, .jsgames * { box-sizing:border-box; }
.jsgames {
 --jg-text:#211f20; --jg-muted:#736c6d; --jg-faint:#968b8f;
 --jg-rose:#bc829a; --jg-border:#e3dfe0; --jg-white:#fff;
 --jg-green:#366b4c; --jg-red:#a74f5c;
 width:100%; max-width:1000px; margin:12px auto 48px; padding:0 30px;
 background:#fff; color:var(--jg-text); line-height:1.55;
 font-family:'Poppins',sans-serif; font-size:14px;
 -webkit-font-smoothing:antialiased;
}
.jsgames button,.jsgames input{font:inherit;}
.jsgames button{cursor:pointer;}
.jsgames button:focus-visible,.jsgames input:focus-visible{outline:2px solid #ad597b;outline-offset:3px;}
.jsgames :where(h2,h3,p){margin:0;}
.jsgames .jsgames-loading{padding:44px 12px;text-align:center;color:var(--jg-muted);}
.jsgames .jg-header{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:15px 0 28px;border-bottom:1px solid var(--jg-border);}
.jsgames .jg-logo{display:block;width:164px;max-width:60%;height:auto;object-fit:contain;}
.jsgames .jg-section-label{font-size:11px;letter-spacing:2.2px;font-weight:500;color:var(--jg-muted);}
.jsgames .jg-tabs{display:flex;align-items:stretch;gap:34px;border-bottom:1px solid var(--jg-border);padding:0;background:#fff;}
.jsgames .jg-tab{display:block;position:relative;padding:17px 1px 16px;border:0;border-radius:0;background:transparent;color:var(--jg-muted);font-size:14px;line-height:1.2;font-weight:500;white-space:nowrap;}
.jsgames .jg-tab:hover{color:var(--jg-text);}
.jsgames .jg-tab[aria-selected='true']{color:var(--jg-text);font-weight:700;}
.jsgames .jg-tab[aria-selected='true']:after{position:absolute;bottom:-1px;left:0;right:0;height:2px;background:var(--jg-rose);content:'';}
.jsgames .jg-main{padding:50px 0 76px;min-height:370px;}
.jsgames .jg-panel{max-width:780px;margin:0 auto;}
.jsgames .jg-title{font-family:'Minion Pro',Georgia,serif;font-size:clamp(38px,4.5vw,52px);font-weight:700;letter-spacing:-.65px;line-height:1.12;margin:0 0 34px;color:var(--jg-text);}
.jsgames .jg-mini{display:flex;justify-content:space-between;gap:15px;align-items:center;border-bottom:1px solid var(--jg-border);padding:0 0 13px;color:var(--jg-muted);font-size:11px;letter-spacing:.25px;}
.jsgames .jg-mini span:first-child{text-transform:uppercase;letter-spacing:1px;}
.jsgames .jg-progress{display:flex;gap:5px;margin:13px 0 34px;}
.jsgames .jg-progress i{display:block;flex:1;height:2px;background:#eeeaeb;}
.jsgames .jg-progress i.is-active{background:var(--jg-rose);}
.jsgames .jg-question-tag{display:block;font-size:11px;line-height:1.5;color:#9c617c;margin:0 0 12px;font-weight:500;}
.jsgames .jg-question{font-family:'Minion Pro',Georgia,serif;font-size:clamp(26px,3.8vw,35px);font-weight:700;line-height:1.24;letter-spacing:-.2px;margin:0 0 26px;color:var(--jg-text);}
.jsgames .jg-answers{display:grid;gap:9px;}
.jsgames .jg-answer{width:100%;text-align:left;min-height:57px;padding:15px 20px;border:1px solid var(--jg-border);border-radius:1px;background:#fff;color:var(--jg-text);display:flex;align-items:center;gap:18px;line-height:1.5;font-size:14px;}
.jsgames .jg-answer:hover:not(:disabled){border-color:#b88ca0;background:#fcfafb;}
.jsgames .jg-answer:disabled{opacity:1;cursor:default;}
.jsgames .jg-letter{width:19px;flex:0 0 19px;color:#b07b93;font-size:12px;font-weight:600;}
.jsgames .jg-answer.is-right{border-color:#88ac95;background:#f6faf7;}
.jsgames .jg-answer.is-wrong{border-color:#c99da3;background:#fff8f8;}
.jsgames .jg-feedback{margin:22px 0 4px;padding:4px 0 4px 18px;border-left:2px solid var(--jg-rose);color:#625b5c;font-size:13px;}
.jsgames .jg-feedback strong{display:block;color:var(--jg-text);font-size:14px;font-weight:650;margin-bottom:4px;}
.jsgames .jg-feedback span{display:block;line-height:1.6;}
.jsgames .jg-feedback.is-success{border-left-color:#6e9c7f;}
.jsgames .jg-feedback.is-error{border-left-color:#ad6872;}
.jsgames .jg-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px;}
.jsgames .jg-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 24px;background:#262123;color:#fff;border:1px solid #262123;border-radius:1px;text-decoration:none;font-weight:600;font-size:13px;line-height:1.25;}
.jsgames .jg-btn:hover{background:#474044;border-color:#474044;color:#fff;}
.jsgames .jg-btn.ghost{background:#fff;border-color:#d9d1d4;color:#2f292c;}
.jsgames .jg-btn.ghost:hover{background:#f9f5f7;}
.jsgames .jg-btn.rose{background:#9d617b;border-color:#9d617b;}
.jsgames .jg-result{max-width:780px;margin:0 auto;text-align:left;}
.jsgames .jg-result-context{color:#9b6f83;font-size:12px;margin-bottom:8px;}
.jsgames .jg-result .jg-title{margin-bottom:18px;}
.jsgames .jg-result-card{padding:18px 0 26px;border-bottom:1px solid var(--jg-border);}
.jsgames .jg-score{font-family:'Minion Pro',Georgia,serif;font-size:clamp(88px,14vw,146px);font-weight:700;letter-spacing:-2px;line-height:1.06;color:#242123;}
.jsgames .jg-result-desc{font-size:13px;color:var(--jg-muted);margin-top:8px;}
.jsgames .jg-share-title{font-size:13px;font-weight:600;margin-top:33px;color:var(--jg-text);}
.jsgames .jg-share-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px;}
.jsgames .jg-share-actions button{background:#fff;border:1px solid var(--jg-border);border-radius:1px;color:#3c3539;font-size:12px;min-height:42px;padding:9px 13px;font-weight:500;}
.jsgames .jg-share-actions button:hover{background:#fbf6f8;border-color:#d4b9c5;}
.jsgames .jg-share-actions button:disabled{opacity:.55;cursor:default;}
.jsgames .jg-share-hint{margin-top:15px;font-size:12px;color:var(--jg-muted);}
.jsgames .jg-toast{min-height:17px;margin-top:13px;color:var(--jg-green);font-size:12px;}
.jsgames .jg-word-wrap{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(160px,.8fr);gap:34px;align-items:start;}
.jsgames .jg-word-help{font-size:12px;color:var(--jg-muted);margin:15px 0 25px;}
.jsgames .jg-board{display:grid;grid-template-columns:repeat(14,minmax(0,1fr));gap:0;width:100%;max-width:570px;padding:5px;border:1px solid var(--jg-border);background:#fff;touch-action:none;user-select:none;-webkit-user-select:none;}
.jsgames .jg-cell{aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:0;color:#2c272a;font-size:clamp(9px,1.5vw,15px);line-height:1;font-family:'Poppins',sans-serif;font-weight:600;cursor:crosshair;}
.jsgames .jg-cell.is-preview{background:#f0e1e7;}
.jsgames .jg-cell.is-found{background:#c18fa5;color:#fff;}
.jsgames .jg-word-aside{padding:0;background:#fff;border:0;}
.jsgames .jg-word-title{font-weight:600;color:#4f454a;font-size:12px;margin:0 0 15px;padding-bottom:10px;border-bottom:1px solid var(--jg-border);}
.jsgames .jg-word-list{list-style:none;margin:0;padding:0;display:grid;gap:11px;}
.jsgames .jg-word-list li{font-size:12px;font-weight:500;color:#574e51;overflow-wrap:anywhere;}
.jsgames .jg-word-list li.is-found{color:#a49a9d;text-decoration:line-through;}
.jsgames .jg-clue-panel{padding:2px 0;margin:24px 0 17px;border-top:1px solid var(--jg-border);border-bottom:1px solid var(--jg-border);background:#fff;}
.jsgames .jg-clue-row{display:flex;align-items:flex-start;gap:17px;padding:14px 2px;border-bottom:1px solid #eee9eb;font-size:14px;line-height:1.6;}
.jsgames .jg-clue-row:last-child{border-bottom:0;}
.jsgames .jg-clue-number{min-width:28px;color:#b07d94;font-size:11px;letter-spacing:1px;}
.jsgames .jg-clue-note{font-size:12px;color:var(--jg-muted);margin:0 0 14px;}
.jsgames .jg-error{color:#a5434f;padding:28px 10px;text-align:center;}
@media(max-width:700px){
 .jsgames{margin:0 auto 28px;padding:0 17px;}
 .jsgames .jg-header{padding:14px 0 17px;gap:12px;}
 .jsgames .jg-logo{width:136px;}
 .jsgames .jg-section-label{font-size:10px;letter-spacing:1.6px;}
 .jsgames .jg-tabs{gap:0;justify-content:space-between;}
 .jsgames .jg-tab{padding:15px 4px;font-size:12px;}
 .jsgames .jg-main{padding:34px 0 54px;min-height:400px;}
 .jsgames .jg-title{font-size:40px;margin-bottom:29px;}
 .jsgames .jg-mini{font-size:10px;}
 .jsgames .jg-progress{margin:13px 0 30px;}
 .jsgames .jg-question{font-size:28px;margin-bottom:22px;}
 .jsgames .jg-answer{font-size:13px;min-height:55px;padding:13px 11px;gap:11px;}
 .jsgames .jg-word-wrap{grid-template-columns:1fr;gap:23px;}
 .jsgames .jg-board{padding:2px;max-width:none;}
 .jsgames .jg-cell{font-size:clamp(9px,2.7vw,15px);}
 .jsgames .jg-word-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .jsgames .jg-result .jg-title{margin-bottom:15px;}
 .jsgames .jg-result-actions{flex-direction:column;}
 .jsgames .jg-result-actions .jg-btn{width:100%;}
}
@media(prefers-reduced-motion:reduce){.jsgames *{transition:none!important;}}

/* 1.3 — ranking editorial, sem perfis nem cadastro. */
.jsgames .jg-join-ranking{border-top:1px solid var(--jg-border);padding:27px 0 4px;margin-top:33px;}
.jsgames .jg-join-title{font-weight:600;font-size:16px;line-height:1.4;color:var(--jg-text);margin-bottom:6px;}
.jsgames .jg-join-info{font-size:12px;color:var(--jg-muted);margin-bottom:16px;}
.jsgames .jg-join-form{display:flex;flex-wrap:wrap;gap:9px;align-items:stretch;}
.jsgames .jg-nickname{flex:1 1 180px;max-width:330px;min-width:140px;min-height:46px;background:#fff;border:1px solid var(--jg-border);border-radius:1px;padding:11px 14px;font-size:13px;color:var(--jg-text);}
.jsgames .jg-join-form .jg-btn{flex:0 0 auto;}
.jsgames .jg-join-feedback{font-size:12px;color:var(--jg-muted);margin-top:12px;line-height:1.5;}
.jsgames .jg-join-feedback.is-done{color:var(--jg-green);}
.jsgames .jg-ranking{border-top:1px solid var(--jg-border);max-width:780px;margin:0 auto 40px;padding:31px 0 9px;}
.jsgames .jg-ranking-heading{font-family:'Minion Pro',Georgia,serif;font-size:29px;line-height:1.2;letter-spacing:-.3px;color:var(--jg-text);margin-bottom:4px;}
.jsgames .jg-ranking-meta{font-size:11px;color:var(--jg-muted);margin:0 0 21px;}
.jsgames .jg-ranking-empty{font-size:12px;color:var(--jg-muted);padding:17px 0;}
.jsgames .jg-ranking-table{width:100%;border-collapse:collapse;table-layout:fixed;border:0;font-size:12px;background:#fff;}
.jsgames .jg-ranking-table th{font-size:10px;letter-spacing:.3px;color:var(--jg-muted);font-weight:500;text-transform:uppercase;text-align:left;padding:11px 8px 11px 0;border-bottom:1px solid var(--jg-border);}
.jsgames .jg-ranking-table td{font-size:12px;color:var(--jg-text);padding:13px 8px 13px 0;border-bottom:1px solid #efeaec;overflow-wrap:anywhere;}
.jsgames .jg-ranking-table th:first-child,.jsgames .jg-ranking-table td:first-child{width:36px;color:var(--jg-faint);}
.jsgames .jg-ranking-table th:nth-child(3),.jsgames .jg-ranking-table td:nth-child(3){width:86px;text-align:right;}
.jsgames .jg-ranking-table th:nth-child(4),.jsgames .jg-ranking-table td:nth-child(4){width:75px;text-align:right;}
@media (max-width:700px){
 .jsgames .jg-ranking{padding-top:25px;margin-bottom:34px;}
 .jsgames .jg-ranking-heading{font-size:26px;}
 .jsgames .jg-join-form{flex-direction:column;}
 .jsgames .jg-nickname{flex:none;max-width:none;width:100%;}
 .jsgames .jg-join-form .jg-btn{width:100%;}
}


/* 1.5 - Escolha dos jogos em destaque sem elementos publicitarios. */
.jsgames .jg-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:0;margin-top:26px;padding:0;align-items:stretch}
.jsgames .jg-tab{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;
  min-height:116px;text-align:left;white-space:normal;padding:16px 20px;
  border:1px solid #e1dbde;border-radius:2px;background:#fff;color:#2b2528;
  transition:background-color .12s,border-color .12s;}
.jsgames .jg-tab-number{display:block;color:#a7758c;font:600 10px/1.35 'Poppins',Arial,sans-serif;letter-spacing:1.4px;margin-bottom:9px}
.jsgames .jg-tab-name{display:block;color:#2b2528;font:700 clamp(18px,2.25vw,27px)/1.1 'Minion Pro',Georgia,serif;letter-spacing:-.3px}
.jsgames .jg-tab-count{display:block;color:#776e72;font:400 11px/1.4 'Poppins',Arial,sans-serif;margin-top:8px}
.jsgames .jg-tab:hover{background:#fbf7f9;border-color:#c3a5b3;color:#2b2528}
.jsgames .jg-tab[aria-selected='true']{background:#fbf7f9;border-color:#b7839c;color:#2b2528;font-weight:500;
  box-shadow:inset 0 3px 0 #b7839c;}
.jsgames .jg-tab[aria-selected='true']:after{content:none}
.jsgames .jg-main{padding-top:40px}
@media(max-width:700px){
  .jsgames .jg-tabs{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:17px}
  .jsgames .jg-tab{min-height:100px;padding:12px 9px 11px}
  .jsgames .jg-tab-number{font-size:9px;margin-bottom:9px}
  .jsgames .jg-tab-name{font-size:clamp(14px,3.65vw,18px);line-height:1.08;overflow-wrap:anywhere}
  .jsgames .jg-tab-count{font-size:10px;line-height:1.3;margin-top:8px}
  .jsgames .jg-main{padding-top:34px}
}
@media(max-width:370px){.jsgames .jg-tab{padding-left:7px;padding-right:7px}.jsgames .jg-tab-name{font-size:14px}.jsgames .jg-tab-count{font-size:9px}}
