.gx-screen{padding:clamp(14px,3vw,28px);border-radius:24px;background:#fff;border:1px solid #e7e8de;color:#213c36;overflow-wrap:break-word}
.gx-screen[hidden]{display:none!important}
.gx-head{padding:clamp(15px,3vw,24px);background:linear-gradient(122deg,#e7f7ef,#edf3ff);border:1px solid #d6e9df;border-radius:19px;margin-bottom:15px}
.gx-head h2,.gx-content h2{font-size:clamp(1.62rem,5vw,2.25rem);line-height:1.12;margin:5px 0 4px;letter-spacing:-.035em}
.gx-head p,.gx-content p{margin:.45rem 0 .65rem;line-height:1.45}
.gx-tag{font-size:.88rem;font-weight:850;letter-spacing:.045em;color:#365b50}
.gx-tier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gx-tile{padding:15px;display:flex;min-width:0;flex-direction:column;gap:6px;align-items:flex-start;border:1px solid #d6ead8;border-radius:17px;background:#f3fbf0}
.gx-stage-2{background:#eff2ff;border-color:#dce2f7}.gx-stage-3{background:#fff6da;border-color:#efdfaa}
.gx-tile h3,.gx-pending h3{font-size:1.16rem;margin:2px 0;line-height:1.18}
.gx-tile p{font-size:.93rem;line-height:1.4;margin:2px 0;color:#3e5750}
.gx-tile-icon{font-size:2.35rem;line-height:1.1;margin-bottom:2px}
.gx-button{min-height:47px;padding:8px 13px;border-radius:13px;border:1px solid #0b614f;border-bottom-width:4px;background:#108263;color:#fff;font-weight:820;line-height:1.2;letter-spacing:-.01em;touch-action:manipulation}
.gx-tile .gx-button{margin-top:auto;width:100%}
.gx-secondary{border-color:#d0dfd4;background:#f8fdf9;color:#254d3f}
.gx-button:hover:not(:disabled){filter:brightness(.96)}
.gx-button:disabled{border-color:#d8ddd8;background:#e9eee9;color:#51645a;opacity:1}
.gx-button:focus-visible,.gx-flip:focus-visible,.gx-screen select:focus-visible,.gx-screen summary:focus-visible{outline:3px solid #7449ca;outline-offset:3px}
.gx-content .gx-gate-title:focus,.gx-board:focus,.gx-reward-status:focus,.gx-parent-heading:focus{outline:none}
.gx-foot{margin:12px 0 0;color:#4b665a;font-size:.91rem;line-height:1.44}
.gx-row,.gx-reward-banner{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between}
.gx-top-row{margin-bottom:12px}
.gx-content{text-align:center;padding:5px 0 4px}
.gx-answers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-width:390px;margin:14px auto 7px}
.gx-answers .gx-answer{min-height:64px;font-size:1.4rem;background:#6245b9;border-color:#49348e}
.gx-answers .gx-answer:disabled{background:#ede9f8;border-color:#ddd5ef;color:#534770}
.gx-status{min-height:1.4em;font-weight:700;color:#3f5b50;margin:9px 0 0}
.gx-reward-status:empty{min-height:0;margin:0}
.gx-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-width:498px;margin:12px auto}
.gx-board[data-size="3"]{grid-template-columns:repeat(3,minmax(0,1fr));max-width:390px}
.gx-board[data-size="2"]{grid-template-columns:repeat(2,minmax(0,1fr));max-width:258px}
.gx-flip{display:grid;place-items:center;aspect-ratio:1.15;min-height:51px;border:2px solid #7662bf;border-bottom:5px solid #5b479e;border-radius:15px;background:#8165d4;color:#fff;font-size:clamp(1.35rem,5vw,2.25rem);line-height:1;touch-action:manipulation}
.gx-flip-up{background:#f5edff;border-color:#cfb8e8;color:#362867}
.gx-flip-done{background:#e7f7e1;border-color:#a4c8a0;color:#2b5739}
.gx-flip:disabled{opacity:1}
.gx-win-icon{margin:4px 0;font-size:clamp(2.7rem,9vw,4rem)}
.gx-cost,.gx-wallet{border-radius:9999px;background:#fff4c9;border:1px solid #f0ce78;color:#5a460e;font-weight:850;padding:4px 9px;white-space:nowrap}
.gx-wallet{padding:7px 12px}
.gx-reward-tile{background:#fffbef;border-color:#eedfbc;gap:7px}
.gx-reward-tile label{font-size:.91rem;font-weight:750}
.gx-reward-tile select{display:block;width:100%;min-height:43px;border-radius:10px;border:1px solid #c8dcd0;background:#fff;color:#234239;padding:5px;font-size:.94rem;margin-bottom:4px}
.gx-pending{padding:13px 14px;border:1px solid #eed794;background:#fff9df;border-radius:15px;margin:0 0 14px}
.gx-pending p{line-height:1.4;margin:.4rem 0 .6rem}
.gx-parent{padding:12px;background:white;border:1px solid #e8dfc9;border-radius:12px;margin-top:10px}
.gx-parent h4{margin:0}
.gx-history{margin-top:12px;padding:10px 12px;border:1px solid #dce7df;border-radius:12px}
.gx-history summary{font-weight:750;cursor:pointer}
.gx-history ul{padding-inline-start:1.5rem;margin-bottom:0}
@media(max-width:570px){.gx-tier-grid{grid-template-columns:1fr}.gx-tile{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center}.gx-tile-icon{grid-row:1 / span 3}.gx-tile h3,.gx-tile p,.gx-tile .gx-tag,.gx-tile .gx-cost{grid-column:2}.gx-tile .gx-button,.gx-tile label,.gx-tile select{grid-column:1 / -1}.gx-tile .gx-cost{justify-self:start}}
.gx-reward-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.gx-editor{margin:13px 0 0}
.gx-editor-heading{margin:2px 0}
.gx-editor-heading:focus{outline:none}
.gx-editor p{line-height:1.45}
.gx-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}
.gx-edit-grid fieldset{display:grid;gap:6px;min-width:0;padding:10px;border:1px solid #dae6dc;border-radius:12px}
.gx-edit-grid legend{font-weight:850;padding:0 4px}
.gx-edit-grid label{font-weight:720}
.gx-edit-grid input,.gx-edit-grid textarea{min-height:44px;width:100%;min-width:0;border-radius:9px;border:1px solid #c8dcd0;padding:6px 8px;font:inherit}
.gx-edit-grid input:focus-visible,.gx-edit-grid textarea:focus-visible{outline:3px solid #7449ca;outline-offset:2px}
@media(max-width:570px){.gx-reward-grid,.gx-edit-grid{grid-template-columns:1fr}}
