.ag-picker-overlay{position:fixed;top:var(--visual-viewport-offsetTop,0);left:0;right:0;z-index:50;align-items:stretch;justify-content:flex-end;background-color:var(--ag-backdrop);backdrop-filter:blur(4px);padding:0}.ag-picker-container,.ag-picker-overlay{display:flex;height:var(--visual-viewport-height,100dvh);flex-direction:column}.ag-picker-container{box-sizing:border-box;width:100%;max-width:none;max-height:none;overflow:hidden;border:3px solid var(--ag-border-strong);background-color:var(--ag-surface);box-shadow:var(--ag-shadow-panel);animation:ag-zoom-in .25s cubic-bezier(.16,1,.3,1) forwards}.ag-picker-header{display:flex;min-height:3rem;flex-shrink:0;align-items:center;justify-content:space-between;gap:.5rem;border-bottom:2px solid var(--ag-border-subtle);background-color:var(--ag-surface-raised);padding:.25rem .45rem .25rem .65rem}.ag-picker-title-block{min-width:0;flex:1}.ag-picker-criteria{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-picker-current-anime{display:none}.ag-picker-close-button{display:grid;width:2.75rem;height:2.75rem;flex-shrink:0;place-items:center;border:2px solid var(--ag-border-strong);background-color:var(--ag-field);box-shadow:var(--ag-shadow-button);transition:transform .1s ease;cursor:pointer}.ag-picker-close-button:hover{transform:translateY(-1px)}.ag-picker-close-button:active{transform:translateY(0)}.ag-picker-body{position:sticky;top:0;z-index:1;display:flex;flex-shrink:0;flex-direction:column;gap:.25rem;background-color:var(--ag-surface);padding:.35rem .65rem .3rem}.ag-picker-search-input{min-width:0;min-height:2.75rem;flex:1;border:2px solid var(--ag-border-strong);background-color:var(--ag-field);color:var(--color-ink);padding:.45rem .75rem .45rem 2rem;font-size:1rem;font-weight:600}.ag-picker-search-input:focus{outline:none;box-shadow:var(--ag-shadow-focus)}.ag-picker-scroll-area{display:flex;min-height:0;flex:1;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;padding:.25rem .65rem max(.75rem,env(safe-area-inset-bottom))}.ag-suggestion-list{display:flex;flex-direction:column;gap:.28rem}.ag-suggestion-item{display:flex;align-items:center;gap:.45rem;width:100%;min-height:3rem;border:2px solid var(--ag-border-strong);background-color:var(--ag-field);padding:.25rem .45rem;text-align:left;transition:all .1s ease;cursor:pointer}.ag-suggestion-item-active{background-color:var(--ag-surface-raised);border-color:var(--ag-accent);box-shadow:var(--ag-shadow-button);transform:translate(-1px,-1px)}.ag-suggestion-item:disabled{cursor:default;opacity:.65}.ag-poster-thumbnail{position:relative;width:28px;height:42px;flex-shrink:0;overflow:hidden;border:2px solid var(--ag-border-strong);background-color:var(--ag-surface-raised)}.ag-suggestion-content{display:flex;min-width:0;flex:1;align-items:center;gap:.45rem}.ag-suggestion-text{display:flex;min-width:0;flex:1;flex-direction:column;justify-content:center;gap:.05rem}.ag-suggestion-title{display:flex;min-width:0;max-width:100%;align-items:baseline;color:var(--color-ink);font-size:.75rem;font-weight:800;line-height:1.12;white-space:nowrap}.ag-suggestion-title-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ag-suggestion-year-separator{flex:0 0 auto;margin:0 .25rem;color:var(--ag-muted-soft);font-weight:800}.ag-suggestion-year{flex:0 0 auto;color:var(--color-matcha);font-weight:700}.ag-suggestion-alt-title{overflow:hidden;margin-top:.05rem;color:color-mix(in oklch,var(--color-ink) 50%,transparent);font-size:.5625rem;line-height:1.1;text-overflow:ellipsis;white-space:nowrap}.ag-history-meta{display:flex;align-items:center;gap:.35rem;margin-top:.2rem}.ag-history-meta-label{color:var(--ag-muted);font-size:.5625rem;font-weight:800;line-height:1}.ag-history-meta-value{border:1px solid var(--ag-border-strong);box-shadow:var(--ag-shadow-raised);padding:.125rem .25rem;font-size:.5625rem;font-weight:900;line-height:1}.ag-modal-message{border:2px solid var(--ag-border-strong);background-color:rgba(201,102,91,.1);color:var(--color-sakura);padding:.3rem .45rem;text-align:center;font-size:.6875rem;font-weight:800;line-height:1.15}.ag-picker-results-frame{display:flex;height:100%;min-height:5.75rem;flex:1;flex-direction:column}.ag-empty-state{display:grid;min-height:5.75rem;flex:1;place-items:center;border:2px dashed var(--ag-empty-border);padding:.75rem;color:var(--ag-muted);text-align:center;font-size:.75rem;font-weight:700}.ag-skeleton-item{pointer-events:none;cursor:default}.ag-skeleton-text,.ag-skeleton-text-sub,.ag-skeleton-thumbnail{background:linear-gradient(90deg,var(--color-rice) 25%,var(--ag-shine) 50%,var(--color-rice) 75%);background-size:200% 100%;animation:ag-shimmer 1.5s linear infinite}.ag-skeleton-text{height:.75rem;max-width:80%;border-radius:4px}.ag-skeleton-text-sub{height:.55rem;max-width:60%;border-radius:3px}@media (min-width:40rem){.ag-picker-overlay{top:0;height:100%;align-items:center;justify-content:center;padding:1rem}.ag-picker-container{height:min(75vh,38rem);max-width:32rem;box-shadow:var(--ag-shadow-dialog)}.ag-picker-header{align-items:flex-start;gap:.75rem;min-height:0;padding:.85rem 1rem}.ag-picker-current-anime{display:block}.ag-picker-body{gap:.5rem;padding:.85rem 1rem .5rem}.ag-picker-search-input{min-height:0;padding:.375rem .75rem .375rem 2.25rem;font-size:.875rem}.ag-picker-scroll-area{padding:.5rem 1rem 1.5rem}.ag-suggestion-list{gap:.5rem}.ag-suggestion-item{gap:.75rem;min-height:0;padding:.5rem}.ag-poster-thumbnail{width:44px;height:66px}.ag-suggestion-content{gap:.75rem}.ag-suggestion-text{gap:0}.ag-suggestion-title{font-size:.875rem;line-height:1.375}.ag-suggestion-year-separator{margin:0 .375rem}.ag-suggestion-alt-title{margin-top:.125rem;font-size:.625rem}.ag-history-meta{gap:.375rem;margin-top:.25rem}.ag-history-meta-label,.ag-history-meta-value{font-size:.625rem}.ag-history-meta-value{padding:.125rem .25rem}.ag-modal-message{padding:.375rem;font-size:.75rem}.ag-empty-state,.ag-picker-results-frame{min-height:9rem}.ag-skeleton-text{height:1rem}.ag-skeleton-text-sub{height:.75rem}}@keyframes ag-zoom-in{0%{transform:scale(.97);opacity:0}to{transform:scale(1);opacity:1}}@keyframes ag-shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}