.gu-news{--text:#0e0e10;--muted:#57534b;--pill:#fbf8f2;--line:#0e0e102e;--btn:#0e0e10;--btn-text:#f3eee3;--accent:#ff5a1f;--ok:#d7ff3a;--error:#c2410c;--focus:#2b35ff;--ease:cubic-bezier(.16, 1, .3, 1);width:min(100%,480px);color:var(--text);gap:10px;font-family:system-ui,sans-serif;display:grid}.gu-news[data-theme=dark]{--text:#f3eee3;--muted:#aea89c;--pill:#18181b;--line:#f3eee32e;--btn:#f3eee3;--btn-text:#0e0e10;--error:#fb923c;--focus:#d7ff3a}.gu-news h3{letter-spacing:-.04em;margin:0;font-size:clamp(1.6rem,6cqi,2.2rem);font-weight:900;line-height:1}.gu-news>p{color:var(--muted);margin:0 0 6px}.gu-news__pill{border:1.5px solid var(--line);background:var(--pill);height:60px;transition:border-color .3s, background-color .4s var(--ease);border-radius:999px;padding:5px;display:flex;position:relative;overflow:hidden}.gu-news__pill:focus-within{border-color:var(--focus);box-shadow:0 0 0 4px color-mix(in srgb, var(--focus) 18%, transparent)}.gu-news__pill[data-state=error]{border-color:var(--error);animation:.4s gu-news-shake}@keyframes gu-news-shake{25%,75%{transform:translate(-5px)}50%{transform:translate(5px)}}.gu-news input{min-width:0;color:inherit;font:inherit;transition:opacity .3s, transform .4s var(--ease);background:0 0;border:0;outline:none;flex:1;padding:0 16px;font-size:1rem}.gu-news button{background:var(--btn);width:140px;color:var(--btn-text);font:inherit;cursor:pointer;transition:width .5s var(--ease), background-color .3s;border:0;border-radius:999px;place-items:center;font-weight:800;display:grid;position:relative}.gu-news button:hover{background:var(--accent);color:#0e0e10}.gu-news button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}.gu-news__label,.gu-news__env{transition:opacity .25s, transform .5s var(--ease);grid-area:1/1}.gu-news__env{fill:none;stroke:currentColor;stroke-width:2px;stroke-linejoin:round;opacity:0;width:22px;transform:translateY(14px)}.gu-news__pill[data-state=sending] input{opacity:.4}.gu-news__pill[data-state=sending] button{background:var(--accent);color:#0e0e10;width:48px}.gu-news__pill[data-state=sending] .gu-news__label{opacity:0;transform:translateY(-14px)}.gu-news__pill[data-state=sending] .gu-news__env{opacity:1;animation:gu-news-fly .7s .4s var(--ease) forwards;transform:none}@keyframes gu-news-fly{to{opacity:0;transform:translate(60px,-40px)rotate(-20deg)scale(.6)}}.gu-news__pill[data-state=done]{background:var(--ok);color:#0e0e10;border-color:#0000}.gu-news__pill[data-state=done] input,.gu-news__pill[data-state=done] button{opacity:0;transition:opacity .2s, transform .4s var(--ease);transform:translateY(-30px)}.gu-news__done{opacity:0;pointer-events:none;transition:opacity .3s .1s, transform .5s .1s var(--ease);align-items:center;gap:10px;padding:0 22px;font-weight:800;display:flex;position:absolute;inset:0;transform:translateY(30px)}.gu-news__pill[data-state=done] .gu-news__done{opacity:1;transform:none}.gu-news__done svg{fill:none;stroke:currentColor;stroke-width:2.6px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:22px}.gu-news__msg{min-height:1.3em;color:var(--muted);margin:0;padding-left:18px;font-size:.85rem;font-weight:600}.gu-news:has([data-state=error]) .gu-news__msg{color:var(--error)}.gu-sr{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@container (max-width:380px){.gu-news button{width:112px}}@media (prefers-reduced-motion:reduce){.gu-news *,.gu-news__pill{transition-duration:10ms!important;animation:none!important}}
