.connections{max-width:850px}.connections .game-title{flex-wrap:wrap;gap:12px}.connections h1{font-size:clamp(36px,7vw,62px)}.connection-modes{display:flex;gap:8px;margin-bottom:18px}.connections button{font:inherit;cursor:pointer;border:1px solid #cec9d4;border-radius:9px;padding:12px 16px;background:#fffdf8;color:#332943}.connection-modes button[aria-pressed=true]{background:#564170;color:white;border-color:#564170}.connections .connection-info{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:14px;margin:16px 0}#words{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.connections .word{min-height:84px;padding:12px 4px;font-size:clamp(11px,2vw,17px);font-weight:bold;overflow-wrap:anywhere;background:#eeeae2;border:2px solid transparent;box-shadow:0 3px 0 #d7d0c4}.connections .word[aria-pressed=true]{background:#564170;color:#fff;border-color:#342548;box-shadow:0 3px 0 #342548}.connection{padding:17px 12px;margin:0 0 9px;text-align:center;border-radius:10px}.connection h2{font-size:17px;margin:0 0 7px}.connection p{font-size:14px;margin:0;line-height:1.5}.group-0{background:#f1d978}.group-1{background:#bfd995}.group-2{background:#accbea}.group-3{background:#d0b5e2}.connection-actions{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin:18px 0}.connections #submit{background:#564170;color:white;font-weight:bold}.connections button:disabled{opacity:.55;cursor:default}#feedback{min-height:26px;line-height:1.5;color:#624278;font-weight:bold;text-align:center}#result{line-height:1.5}#share-text{width:100%;min-height:150px}.connections .rules p{line-height:1.7}.connections #share{background:#564170;color:white}#notice{font-size:12px;color:#657080}@media(max-width:450px){#words{gap:6px}.connections .word{min-height:68px;font-size:11px;padding:8px 2px}.connection h2{font-size:15px}.connection p{font-size:12px}.connection-actions button{padding:11px;font-size:14px}}
