.hrw{--green:#53fc18;--panel:#111814;--line:#26372c;--present:#d7a632;max-width:1000px;margin:auto;padding:clamp(14px,3vw,32px);background:#080b0a;color:#f3f7f4;border:1px solid var(--line);border-radius:20px;box-sizing:border-box;font-family:inherit}.hrw *{box-sizing:border-box}.hrw header{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:18px;margin-bottom:22px}.hrw h2{margin:4px 0;font-size:clamp(32px,5vw,54px);line-height:1.1;color:white;font-weight:800}.hrw h2 span,.hrw-wallet strong{color:var(--green)}.hrw small,.hrw p,.hrw-meta,.hrw-bottom{color:#b4bdb8;font-size:13px}.hrw p{margin:8px 0}.hrw-wallet{display:grid;gap:6px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:14px 18px;min-width:210px}.hrw-wallet strong{font-size:25px;line-height:1.2}.hrw-track{height:5px;background:#293b30;border-radius:6px;overflow:hidden}.hrw-track div{height:100%;width:0;background:var(--green);transition:width .3s linear}.hrw-meta,.hrw-bottom{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:14px auto;max-width:570px}.hrw-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;max-width:350px;margin:0 auto 20px}.hrw-cell{display:grid;place-items:center;aspect-ratio:1;min-width:0;border:2px solid #314238;border-radius:8px;font-weight:800;font-size:clamp(20px,6vw,38px);background:#111814;color:#fff}.hrw-cell.filled{border-color:#8aa091}.hrw .correct{background:#53fc18!important;border-color:#53fc18!important;color:#080b0a!important}.hrw .present{background:#d7a632!important;border-color:#d7a632!important;color:#151005!important}.hrw .absent{background:#333e37!important;border-color:#333e37!important;color:#cdd5cf!important}.hrw-cell.reveal{animation:hrwFlip .3s ease both}.hrw form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;max-width:440px;margin:0 auto 16px}.hrw input{min-width:0;width:100%;color:white;background:#111814;border:1px solid #314238;padding:11px;border-radius:8px;text-transform:uppercase;font:inherit;letter-spacing:2px}.hrw button{min-width:0;cursor:pointer;border:1px solid #384a3e;border-radius:6px;background:#25352a;color:white;font:inherit;font-weight:700;padding:8px;line-height:1.15}.hrw button:disabled{opacity:.55;cursor:not-allowed}.hrw #hrw-send{background:var(--green);color:#081105;border:0;font-size:12px;white-space:normal}.hrw-keyboard{max-width:570px;margin:auto;display:grid;gap:5px}.hrw-keyrow{display:flex;justify-content:center;gap:4px}.hrw-keyrow button{flex:1 1 0;max-width:50px;min-height:42px;padding:4px 0;font-size:clamp(12px,2vw,16px)}.hrw-keyrow button.wide{flex:1.5 1 0;max-width:80px;font-size:12px}.hrw #hrw-message{text-align:center;min-height:22px;margin:16px 0}.hrw-result{max-width:570px;margin:12px auto;background:#132b1a;border:1px solid #426c43;padding:18px;text-align:center;border-radius:12px;font-weight:700;font-size:19px}.hrw details{max-width:570px;margin:18px auto 0;border:1px solid var(--line);background:var(--panel);padding:12px;border-radius:8px}.hrw summary{cursor:pointer;font-weight:700}.hrw-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hrw button:focus-visible,.hrw input:focus-visible{outline:2px solid #fff;outline-offset:2px}.hrw [hidden]{display:none!important}@keyframes hrwFlip{from{transform:rotateX(80deg);opacity:.4}to{transform:rotateX(0);opacity:1}}@media(max-width:480px){.hrw-wallet{width:100%}.hrw-keyrow{gap:3px}.hrw-keyrow button{min-height:38px}.hrw-board{gap:5px;max-width:290px}.hrw form{grid-template-columns:minmax(0,1fr) minmax(90px,auto)}}@media(prefers-reduced-motion:reduce){.hrw-cell.reveal{animation:none}.hrw-track div{transition:none}}

.hrw #hrw-retry{display:block;margin:0 auto 14px;min-height:44px}.hrw-keyrow button,.hrw #hrw-send,.hrw #hrw-retry{touch-action:manipulation;-webkit-tap-highlight-color:transparent}.hrw input{font-size:16px}.hrw-keyrow{min-width:0}.hrw-keyrow button{min-height:44px}@media(max-width:480px){.hrw{padding:12px}.hrw-keyrow{gap:3px}.hrw-keyrow button{min-height:44px;padding:4px 0}.hrw #hrw-send{min-height:44px}}
