@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700;800&display=swap");
html,body,button,input,textarea,select{font-family:"Quicksand",sans-serif!important;}
body{background:linear-gradient(145deg,#e6f7fc,#fff5e5);color:#193b51;min-height:100vh}.tool-header{display:flex;justify-content:space-between;align-items:center;padding:15px 5%;background:#fff}.back-link{text-decoration:none;color:#137c91;font-weight:800}.hb-wrap{max-width:1100px;margin:35px auto;padding:0 20px 60px}.hb-wrap h1{font-size:clamp(2rem,4vw,3rem);margin:0}.hb-wrap h1 span{color:#f09d4e}.hb-wrap>p{color:#587181}.hb-card{background:white;border-radius:24px;padding:26px;box-shadow:0 10px 30px #183e5312;border:1px solid #dceaf0}.hb-card h2{margin-top:0}.hb-card label:not(.hb-show){display:block;font-weight:800;margin-bottom:9px}.hb-card input[type=password],.hb-card input[type=text]{font:inherit;padding:14px;border:2px solid #b6d2df;border-radius:12px;width:100%;box-sizing:border-box}.hb-show{display:flex;align-items:center;gap:8px;margin:14px 0}.hb-wrap button,.hb-dialog button{border:0;border-radius:12px;background:#1687a2;color:white;padding:12px 18px;font-weight:800;cursor:pointer}.hb-note{color:#657e8a;font-size:14px}.hb-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:22px}.hb-house-card svg{width:100%;max-height:380px}.hb-house-card p{text-align:center;font-weight:800}.hb-blanks{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;min-height:85px;align-content:center}.hb-letter{font-size:clamp(21px,3vw,32px);font-weight:900;display:inline-flex;align-items:center;justify-content:center;width:32px;height:45px;border-bottom:4px solid #2d7c96}.hb-gap{border:0;width:18px}.hb-fixed{border:0}.hb-keyboard{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:28px}.hb-keyboard button{padding:12px 0;font-size:18px}.hb-keyboard button:disabled{cursor:default;opacity:.38}.hb-keyboard button.hb-right{background:#39a87c}.hb-secondary{background:#e2eff4!important;color:#195770!important}.hb-modal[hidden],#hb-setup[hidden],#hb-play[hidden]{display:none}.hb-modal{position:fixed;inset:0;background:#18344db5;display:grid;place-items:center;padding:20px;z-index:30}.hb-dialog{background:white;border-radius:26px;text-align:center;padding:36px;width:min(100%,450px);box-sizing:border-box}.hb-symbol{font-size:70px;color:#ffbc3e}.hb-dialog h2{font-size:28px}@media(max-width:720px){.hb-layout{grid-template-columns:1fr}.hb-card{padding:17px}.hb-keyboard{gap:5px}}

.hb-word{display:inline-flex;flex-wrap:nowrap;white-space:nowrap;gap:3px;margin:5px 9px}.hb-blanks{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px}

#hb-modal:not([hidden]) .hb-dialog{animation:hbCelebration .75s cubic-bezier(.2,1.5,.4,1);box-shadow:0 20px 75px #163b6870}#hb-modal:not([hidden]) #hb-symbol{display:block;font-size:5rem;animation:hbCelebration .9s ease-in-out}@keyframes hbCelebration{0%{transform:scale(.4) rotate(-10deg);opacity:.2}70%{transform:scale(1.1) rotate(5deg);opacity:1}100%{transform:scale(1) rotate(0)}}
