:root{font-family:Arial,Helvetica,sans-serif;color:#f1f1f1;background:#0f0f0f;color-scheme:dark}
*{box-sizing:border-box}
body{margin:0;min-width:280px}
main{min-height:100vh;min-height:100svh;display:grid;place-items:center;padding:24px}
.search-home{width:min(100%,600px);transform:translateY(-6vh)}
form{width:100%}
.shortcuts{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:24px}
.shortcuts a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:0 16px;border:1px solid #303030;border-radius:20px;background:#222;color:#f1f1f1;font-size:14px;text-decoration:none}
.shortcuts a:hover{background:#353535}
.shortcuts a:active{background:#444}
.shortcuts a:focus-visible{outline:2px solid #3ea6ff;outline-offset:3px}
.search{display:flex;align-items:stretch;height:40px}
.input-wrap{display:flex;align-items:center;flex:1;min-width:0;background:#121212;border:1px solid #303030;border-radius:40px 0 0 40px;padding-left:16px}
.input-wrap:focus-within{border-color:#1c62b9}
input{font:inherit;font-size:16px;color:inherit;background:transparent;width:100%;min-width:0;height:100%;border:0;outline:0;padding:0 4px 0 0;caret-color:#f1f1f1}
input::placeholder{color:#888;opacity:1}
input::-webkit-search-cancel-button,input::-webkit-search-decoration{-webkit-appearance:none}
button{font:inherit;display:grid;place-items:center;cursor:pointer;color:inherit;padding:0;flex-shrink:0}
.clear{width:36px;height:36px;margin-right:3px;border:0;border-radius:50%;background:transparent}
.clear:hover{background:#303030}
.clear[hidden]{display:none}
.submit{width:64px;border:1px solid #303030;border-left:0;border-radius:0 40px 40px 0;background:#222}
.submit:hover{background:#303030}
button:active{background:#3f3f3f}
button:focus-visible{outline:2px solid #3ea6ff;outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:480px){main{padding:20px}.search{height:44px}.submit{width:56px}}
