.hgs{isolation:isolate;--hgs-head:30px;--hgs-lh:22.5px;--hgs-lines:3;--hgs-box-min:140px;padding:14px 0 4px;position:relative}.hgs.is-picker-open{z-index:30}.hgs:before{content:"";z-index:-1;pointer-events:none;background:radial-gradient(48% 62% at 50% 56%, color-mix(in oklab, var(--primary) 16%, transparent), transparent 74%);position:absolute;inset:-28px 0 0}.hgs-inner{flex-direction:column;align-items:stretch;max-width:880px;margin:0 auto;display:flex;position:relative}.hgs-head{text-align:center;font-size:var(--hgs-head);letter-spacing:-.02em;text-wrap:pretty;margin:0;font-weight:500;line-height:1.15}.hgs-sub{text-align:center;color:var(--muted-foreground);margin:8px 0 0;font-size:14px;line-height:1.4}.hgs-tabs{z-index:2;background:color-mix(in oklab, var(--card) 94%, var(--background));border-bottom-color:#0000;border-radius:9px 9px 0 0;align-self:flex-start;margin:18px 0 -1px 18px;position:relative}.hgs-tab{height:30px;padding:0 12px 0 10px}.hgs-tab .gx-seg-text{font-weight:500}.hgs-tab.is-active{background:color-mix(in oklab, var(--primary) 14%, transparent);box-shadow:inset 1px 0 0 color-mix(in oklab, var(--primary) 45%, transparent), inset -1px 0 0 color-mix(in oklab, var(--primary) 45%, transparent), inset 0 1px 0 color-mix(in oklab, var(--primary) 45%, transparent)}.hgs-tab:not(.is-active){background:color-mix(in oklab, var(--card) 60%, var(--background));color:var(--muted-foreground);box-shadow:inset 0 -1px 0 var(--border)}.hgs-tab:not(.is-active) .gx-seg-text{color:var(--muted-foreground)}.hgs-tab:not(.is-active):hover,.hgs-tab:not(.is-active):hover .gx-seg-text{color:var(--foreground)}.hgs-tab:disabled{opacity:.45;cursor:default}.hgs-box{min-height:var(--hgs-box-min);background:color-mix(in oklab, var(--card) 94%, var(--background));border:1px solid var(--border);border-radius:18px;flex-direction:column;transition:box-shadow .16s,border-color .16s;display:flex;position:relative;box-shadow:inset 0 1px #ffffff0a,0 20px 50px -22px #000000d9,0 4px 14px -8px #0009}.hgs-box:focus-within{border-color:color-mix(in oklab, var(--primary) 55%, var(--border));box-shadow:0 0 0 2px var(--primary), 0 1px 0 #ffffff0a inset, 0 20px 50px -22px #000000d9}.hgs-fade{cursor:text;flex:1;padding:14px 16px 6px;transition:opacity .15s}.hgs.is-swapping .hgs-fade{opacity:0}.hgs-field{position:relative;overflow:clip}.hgs-ta,.hgs-mirror{font-family:var(--font-sans);font-size:15px;line-height:var(--hgs-lh);white-space:pre-wrap;overflow-wrap:anywhere}.hgs-ta{resize:none;width:100%;color:var(--foreground);min-height:calc(var(--hgs-lines) * var(--hgs-lh));background:0 0;border:0;outline:0;padding:0;transition:height .3s cubic-bezier(.33,0,.2,1);display:block;overflow:hidden}.hgs-mirror{min-height:calc(var(--hgs-lines) * var(--hgs-lh));visibility:hidden;pointer-events:none;position:absolute;top:0;left:0;right:0}.hgs-ta::placeholder{color:color-mix(in oklab, var(--muted-foreground) 78%, transparent)}.hgs-shimmer{min-height:calc(var(--hgs-lines) * var(--hgs-lh));flex-direction:column;gap:12px;padding-top:5px;display:flex}.hgs-skel{border-radius:6px;height:12px}.hgs-toolbar{align-items:center;gap:10px;padding:0 12px 12px;display:flex}.hgs-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.hgs-iconbtn{width:36px;height:36px;color:var(--muted-foreground);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;place-items:center;padding:0;transition:background .12s,color .12s;display:grid}.hgs-iconbtn:hover:not(:disabled){background:color-mix(in oklab, var(--card) 55%, var(--background));color:var(--foreground)}.hgs-iconbtn:disabled{opacity:.4;cursor:default}.hgs-generate{white-space:nowrap;border-radius:11px;gap:8px;padding:0 16px 0 14px}.hgs-frame{--vbs:32px;background:color-mix(in oklab, var(--secondary) 60%, transparent);border-radius:8px;flex:none}.hgs-frame:disabled{opacity:.45;cursor:default}.hgs-capsule{background:color-mix(in oklab, var(--card) 55%, var(--background));border-color:color-mix(in oklab, var(--border) 70%, transparent);min-width:0;overflow:visible}.hgs-model{border-radius:8px 0 0 8px;gap:7px;height:32px;padding:0 10px 0 6px;font-weight:500}.hgs.is-image .hgs-model{border-radius:8px}.hgs-model .gx-seg-text{max-width:180px}.hgs-model-cover{border-radius:6px;flex:none;width:22px;height:22px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff14}.hgs-chev{color:var(--muted-foreground);transition:transform .16s}.hgs-model[aria-expanded=true] .hgs-chev,.hgs-dur[aria-expanded=true] .hgs-chev{transform:rotate(180deg)}.hgs-dur{gap:5px;height:32px;padding:0 10px}.hgs-dur:disabled{cursor:default}.hgs-dur .gx-seg-text{font-size:12px}.hgs .mono{font-family:var(--font-mono)}.hgs-durlist{flex-direction:column;margin:-8px;display:flex}.hgs-duritem{height:30px;color:var(--foreground);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:7px;justify-content:space-between;align-items:center;gap:14px;padding:0 10px;font-size:12px;display:flex}.hgs-duritem:hover{background:color-mix(in oklab, var(--card) 55%, var(--background))}.hgs-duritem.is-on{background:color-mix(in oklab, var(--primary) 14%, transparent)}.hgs-dot{background:oklch(.72 .17 var(--fh,280));border-radius:999px;flex:none;width:6px;height:6px;display:inline-block}.hgs-picker{padding:2px 0 0}.hgs-picker-grid{grid-template-columns:repeat(4,minmax(0,1fr));justify-items:center;gap:14px 8px;display:grid}.hgs-picker-grid.is-video{grid-template-columns:repeat(3,minmax(0,1fr))}.hgs-mcard{width:100%;max-width:112px;color:var(--foreground);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:12px;flex-direction:column;align-items:center;gap:7px;padding:8px 4px 6px;text-decoration:none;transition:background .12s;display:flex}.hgs-mcard:hover{background:color-mix(in oklab, var(--card) 55%, var(--background))}.hgs-mcover{border-radius:12px;flex:none;width:56px;height:56px;transition:box-shadow .14s,transform .14s;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff0f}.hgs-mcover>*{width:100%;height:100%}.hgs-mcard:hover .hgs-mcover{transform:translateY(-2px)}.hgs-mcard.is-on .hgs-mcover{box-shadow:0 0 0 2px var(--primary), 0 0 0 5px color-mix(in oklab, var(--primary) 22%, transparent)}.hgs-mcover.is-more{border:1px dashed var(--border);color:var(--muted-foreground);box-shadow:none;place-items:center;display:grid}.hgs-mcard:hover .hgs-mcover.is-more{border-color:var(--primary);color:var(--primary)}.hgs-mname{align-items:center;gap:5px;max-width:100%;font-size:11px;font-weight:500;line-height:1.25;display:flex}.hgs-mname>span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.hgs-mcard.is-more .hgs-mname{color:var(--muted-foreground)}.hgs-mmeta{color:var(--muted-foreground);text-transform:lowercase;margin-top:-3px;font-size:10.5px}.hgs-mcard:focus-visible{outline:none}.hgs-mcard:focus-visible .hgs-mcover{outline:2px solid var(--primary);outline-offset:2px}.hgs-sep{opacity:.5}.hgs-chips{flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px;display:flex}.hgs-chip{border:1px solid var(--border);background:color-mix(in oklab, var(--card) 72%, transparent);height:30px;color:var(--foreground);font:inherit;white-space:nowrap;cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:0 12px 0 10px;font-size:12px;font-weight:500;transition:border-color .12s,background .12s;display:inline-flex}.hgs-chip:hover{border-color:color-mix(in oklab, var(--primary) 55%, var(--border));background:color-mix(in oklab, var(--primary) 10%, var(--card))}.hgs-chip:focus-visible,.hgs-iconbtn:focus-visible,.hgs-seelink:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.hgs-chip.is-skel{pointer-events:none;background:0 0;border-color:#0000;padding:0}.hgs-skel-chip{border-radius:999px;height:30px}.hgs-proof{color:var(--muted-foreground);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 28px;margin-top:16px;font-size:12px;display:flex}.hgs-proof-vals{white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.hgs-proof .mono{font-size:11.5px}.hgs-seelink{color:var(--muted-foreground);align-items:center;gap:5px;font-size:12px;text-decoration:none;display:inline-flex}.hgs-seelink:hover{color:var(--primary)}.hgs.is-phone{--hgs-lines:2;--hgs-box-min:120px;padding:12px 0 4px}.hgs.is-phone .hgs-head{font-size:22px}.hgs.is-phone .hgs-sub{margin-top:6px;font-size:13px}.hgs.is-phone .hgs-tabs{margin:14px 0 -1px 14px}.hgs.is-phone .hgs-tab{height:44px;padding:0 14px 0 12px}.hgs.is-phone .hgs-fade{padding:12px 14px 4px}.hgs.is-phone .hgs-toolbar{gap:6px;padding:0 10px 10px}.hgs.is-phone .hgs-model{height:40px;padding:0 8px 0 6px}.hgs.is-phone .hgs-model .gx-seg-text{max-width:132px}.hgs.is-phone .hgs-model .hgs-chev{display:none}.hgs.is-phone .hgs-model{padding-right:8px}.hgs.is-phone .hgs-model-cover{width:20px;height:20px}.hgs.is-phone .hgs-dur{flex:none;height:40px;padding:0 8px}.hgs.is-phone .hgs-dur .gx-seg-text{overflow:visible}.hgs.is-phone .hgs-dur .hgs-chev{display:none}.hgs.is-phone .hgs-frame{--vbs:36px}.hgs.is-phone.is-video .hgs-model .gx-seg-text{min-width:58px}.hgs.is-phone .hgs-iconbtn{width:40px;height:40px}.hgs.is-phone .hgs-generate{padding:0 14px 0 12px}.hgs.is-phone.is-video .hgs-toolbar,.hgs.is-phone.is-video .hgs-actions{gap:4px}.hgs.is-phone.is-video .hgs-model{padding:0 9px}.hgs.is-phone.is-video .hgs-model-cover{display:none}.hgs.is-phone.is-video .hgs-dur{padding:0 6px}.hgs.is-phone.is-video .hgs-iconbtn{width:36px}.hgs.is-phone.is-video .hgs-generate{gap:5px;padding:0 10px 0 8px}.hgs.is-phone .hgs-chips{scrollbar-width:none;flex-wrap:nowrap;margin:12px -16px 0;padding:0 16px;overflow-x:auto}.hgs.is-phone .hgs-chips::-webkit-scrollbar{display:none}.hgs.is-phone .hgs-chip{flex:none;height:40px}.hgs.is-phone .hgs-proof{flex-direction:column;gap:6px;margin-top:14px}.hgs-sheet-title{color:var(--muted-foreground);padding:4px 16px 8px;font-size:13px;font-weight:500}.hgs-sheet .hgs-picker-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 4px;padding:4px 12px 10px}.hgs-sheet .hgs-mname{text-align:center;flex-direction:column;gap:3px}.hgs-sheet .hgs-mname>span:last-child{white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.2;display:-webkit-box;overflow:visible}.hgs-sheet .hgs-mcard{padding:10px 2px 8px}.hgs-sheet .hgs-mcard.is-video{max-width:none}@media (prefers-reduced-motion:reduce){.hgs-fade,.hgs-box,.hgs-chev,.hgs-mcover,.hgs-ta{transition:none}}