.card-search{--card-search-item-radius:calc(var(--form-field-radius,14px) - 4px);color:#eee;flex:440px;min-width:0;font-size:13px}.card-search-input{box-sizing:border-box;background:var(--surface,#171717);border:1px solid #ffffff30;border-radius:8px;align-items:center;gap:9px;min-height:38px;padding:4px 6px 4px 10px;display:flex}.card-search-entry{flex-wrap:wrap;flex:1;align-content:center;align-self:center;align-items:center;gap:5px;min-width:0;display:flex}.card-search-popup{--accent:#fff;--muted:#a4a4a0;z-index:200;box-sizing:border-box;overscroll-behavior:contain;background:var(--surface,#171717);color:#eee;border:1px solid #ffffff30;border-radius:10px;margin:0;font-family:inherit;animation:.16s ease-out both card-search-popup-in;position:fixed;overflow-y:auto;box-shadow:0 12px 30px #0008}.card-search-popup.is-closing{pointer-events:none;animation:.14s ease-in both card-search-popup-out}@keyframes card-search-popup-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes card-search-popup-out{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-6px)}}@media (prefers-reduced-motion:reduce){.card-search-popup,.card-search-popup.is-closing{animation:none}}:is(.builder,.public-game-tools) .card-search-input>.card-search-add{border-radius:var(--card-search-item-radius);white-space:nowrap;background:0 0;border:1px dashed #ffffff40;flex:none;align-self:center;min-height:28px;margin:0 0 0 auto;padding:4px 7px}:is(.builder,.public-game-tools) .card-search-input>button.card-search-clear{border:0;align-self:center}.card-search-popup :is(input,select):focus-visible{outline:2px solid var(--accent,#eee);outline-offset:-2px}.card-search-input>svg{width:16px;height:16px;color:var(--muted);flex:none}.card-search .card-search-entry>input{width:auto;min-width:min(100%,80px);height:28px;color:inherit;font:inherit;background:0 0;border:0;border-radius:0;flex:120px;padding:0}:is(.builder,.public-game-tools) .card-search .card-search-entry>input:focus-visible{outline:none}:is(.builder .card-search,.public-game-tools .card-search,.card-search-popup) button{min-height:32px;color:inherit;font:inherit;cursor:pointer;--button-hover-background:#ffffff12;background:#ffffff06;border:1px solid #ffffff25;border-radius:7px;justify-content:center;align-items:center;gap:6px;padding:5px 9px;display:inline-flex}:is(.builder .card-search,.public-game-tools .card-search,.card-search-popup) button:focus-visible,.card-search [role=option]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}:is(.builder .card-search,.public-game-tools .card-search,.card-search-popup) button:hover{background:#ffffff12}.card-search button svg{flex:none;width:15px;height:15px}.card-search-deck-icon{scale:.85}:is(.builder .card-search,.public-game-tools .card-search,.card-search-popup) .card-search-remove{background:0 0;border:0;flex:none;min-width:28px;min-height:28px;padding:4px}.card-search-suggestions{padding:5px}.card-search-suggestions [role=option]{overflow-wrap:anywhere;cursor:pointer;border-radius:5px;align-items:center;gap:8px;padding:9px;display:flex}.card-search-symbol{object-fit:contain;flex:none;width:19px;height:19px}.card-search-suggestions [role=option].is-active{background:#ffffff12}.card-search-chip{border-radius:var(--card-search-item-radius);background:#ffffff07;border:1px solid #fff2;align-self:center;align-items:center;min-width:0;max-width:100%;display:inline-flex;overflow:hidden}:is(.builder,.public-game-tools) .card-search-chip>button:first-child{border-radius:var(--card-search-item-radius) 0 0 var(--card-search-item-radius);text-align:left;background:0 0;border:0;justify-content:flex-start;min-width:0;min-height:26px;padding:3px 10px;font-size:12px}.card-search-chip-label{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}:is(.builder,.public-game-tools) .card-search-chip>button.card-search-remove{border-radius:0 var(--card-search-item-radius) var(--card-search-item-radius) 0;align-self:stretch;min-width:24px;min-height:26px;padding:3px 6px}.card-search-chip .card-search-remove svg{width:12px;height:12px}:is(.builder,.public-game-tools) .card-search-chip>button:focus-visible{outline-offset:-2px}.card-search-chip.is-invalid{border-color:#efa69c}.card-search-help{color:var(--muted);font-size:11px;line-height:1.5}.card-search-editor{margin:0;padding:14px}.card-search-editor-fields{flex-wrap:wrap;gap:10px;display:flex}.card-search-editor-fields>:is(label,.card-search-field){color:#c4c4c8;flex-direction:column;flex:150px;gap:6px;min-width:0;font-size:12px;display:flex}.card-search-editor input:not([type=checkbox]):not([type=radio]){box-sizing:border-box;background:var(--surface,#171717);width:100%;min-width:0;min-height:36px;font:inherit;color:#eee;border:1px solid #ffffff30;border-radius:8px;padding:7px 9px}.card-search-editor .builder-select>.card-font-picker-trigger{box-sizing:border-box;background:var(--surface,#171717);color:#eee;text-align:left;border:1px solid #ffffff30;border-radius:8px;justify-content:space-between;width:100%;min-width:0;min-height:36px;padding:7px 9px;display:flex}.card-search-values{border:1px solid #ffffff20;border-radius:7px;min-width:0;margin:12px 0 0;padding:10px}.card-search-values legend{color:#c4c4c8;padding:0 5px;font-size:12px}.card-search-value-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:3px 10px;max-height:160px;margin-top:8px;display:grid;overflow:auto}.card-search-value-list>label{cursor:pointer;align-items:center;gap:8px;min-width:0;padding:6px 0;display:flex}.card-search-value-list>label>span{overflow-wrap:anywhere}.card-search-value-list input:is([type=checkbox],[type=radio]){width:16px;height:16px;accent-color:var(--accent);flex:none}.card-search-value-list p{color:var(--muted);margin:4px 0}.card-search-error{color:#f1aba0;margin:10px 0;font-size:12px}.workspace-collection-toolbar:has(>.card-search){align-items:flex-start}.workspace-collection-toolbar:has(>.card-search)>.workspace-collection-actions{padding-top:0}@media (max-width:700px){.workspace-collection-toolbar:has(>.card-search){padding:14px 20px}.card-search{flex-basis:100%}}@media (pointer:coarse){:is(.builder .card-search,.public-game-tools .card-search,.card-search-popup) button,.card-search-suggestions [role=option],.card-search-value-list>label{min-height:44px}:is(.builder,.public-game-tools) .card-search .card-search-input>button:is(.card-search-add,.card-search-clear){align-self:center;min-height:44px}:is(.builder .card-search,.public-game-tools .card-search,.card-search-popup) .card-search-remove{min-width:36px;min-height:44px}.card-search :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px;font-size:16px}}.card-search-symbol.is-mechanic{box-sizing:border-box;border:1px solid rgb(from var(--mechanic-symbol-border,#ffffff2e) calc(255 - r) calc(255 - g) calc(255 - b) / alpha);background:rgb(from var(--mechanic-symbol-background,#26252a) calc(255 - r) calc(255 - g) calc(255 - b));filter:invert();border-radius:4px;padding:2px}.card-search-chip.is-locked{cursor:default;background:#ffffff0d;border-style:solid}.card-search-chip-static{color:#eee;align-items:center;gap:6px;min-width:0;min-height:26px;padding:3px 10px;font-size:12px;display:inline-flex}.card-search-chip-static>svg:not(.card-search-lock){flex:none;width:14px;height:14px}.card-search-chip-static>.card-search-lock{color:#8a8a87;flex:none;width:11px;height:11px}.card-search-chip-static>.card-search-symbol{object-fit:contain;width:16px;height:16px}.card-search-chip-field{color:#8a8a87;font-weight:400}.card-search-chip-value{color:#f1f1ed;font-weight:600}
