.character-tag-browser{--tag-bg:#fff;--tag-text:#2a2928;--tag-muted:#757270;--tag-border:#e2dfdf;--tag-hover:#f5f5f4;--tag-active:#eeeceb;--tag-accent:#ff6200;color:var(--tag-text);width:100%;min-width:0;font-family:Pretendard,CharacterChat,sans-serif}.character-tag-browser.tag-dark{--tag-bg:#131416;--tag-text:#e0e6eb;--tag-muted:#8794a1;--tag-border:#282e33;--tag-hover:#1b1f22;--tag-active:#282e33}.character-tag-browser,.character-tag-browser *{box-sizing:border-box}.character-tag-browser button,.character-tag-browser input{font:inherit;color:inherit}.character-tag-browser button{cursor:pointer;background:0 0;border:0;flex-shrink:0;justify-content:center;align-items:center;margin:0;font-weight:400;display:inline-flex}.character-tag-browser button:focus-visible{outline:2px solid var(--tag-accent);outline-offset:2px}.character-tag-browser input:focus{border-color:var(--tag-accent);outline:none}.character-tag-browser button:hover{background:var(--tag-hover)}.character-tag-browser svg{flex-shrink:0}.tag-browser-row{align-items:center;gap:8px;width:100%;min-width:0;display:flex}.tag-browser-strip{scrollbar-width:none;overscroll-behavior-x:contain;flex:1;gap:8px;min-width:0;display:flex;overflow-x:auto}.tag-browser-strip::-webkit-scrollbar{display:none}.character-tag-browser .tag-browser-chip{border:1px solid var(--tag-border);white-space:nowrap;border-radius:999px;height:39px;padding:8px 16px;font-size:14px;line-height:21px}.character-tag-browser .tag-browser-chip[aria-pressed=true]{color:#fff;background:#ff6200;border-color:#0000}.character-tag-browser .tag-browser-choice[aria-pressed=true]{color:#fff;background:#151414;border-color:#0000}.character-tag-browser.tag-dark .tag-browser-choice[aria-pressed=true]{color:#151414;background:#e0e6eb}.character-tag-browser .tag-browser-arrow{border:1px solid var(--tag-border);background:var(--tag-bg);border-radius:50%;width:28px;height:28px}.character-tag-browser .tag-browser-arrow svg{width:16px;height:16px}.character-tag-browser .tag-browser-search-button{border:1px solid var(--tag-border);background:var(--tag-bg);border-radius:50%;width:39px;height:39px}.character-tag-browser .tag-browser-search-button svg{width:18px;height:18px}.tag-browser-backdrop{z-index:1000;overscroll-behavior:contain;background:#0008;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.tag-browser-dialog{background:var(--tag-bg);color:var(--tag-text);border-radius:16px;flex-direction:column;gap:16px;width:340px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);padding:20px 16px 16px;display:flex;overflow-y:auto;box-shadow:0 8px 32px #0003}.tag-browser-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.tag-browser-header{flex-direction:column;gap:4px;display:flex}.tag-browser-heading h2{margin:0;padding:0;font-size:16px;font-weight:400;line-height:24px}.character-tag-browser .tag-browser-close{width:24px;height:24px;color:var(--tag-muted);border-radius:4px;padding:0}.tag-browser-hint{color:var(--tag-muted);margin:0;padding:0;font-size:14px;font-weight:400;line-height:21px}.tag-browser-input-wrap{flex-shrink:0;align-items:center;height:40px;display:flex;position:relative}.tag-browser-input-wrap>svg{color:var(--tag-muted);pointer-events:none;position:absolute;left:12px}.tag-browser-input-wrap input{background:0 0;border:1px solid #b9b7b6;border-radius:8px;width:100%;min-width:0;height:40px;padding:0 40px;font-size:16px;line-height:20.48px}.tag-browser-input-wrap input::placeholder{color:var(--tag-muted)}.character-tag-browser .tag-browser-clear{width:24px;height:24px;color:var(--tag-muted);border-radius:4px;padding:0;position:absolute;right:8px}.tag-browser-choices{overscroll-behavior:contain;flex-wrap:wrap;align-content:flex-start;gap:8px;height:280px;min-height:80px;display:flex;overflow-y:auto}.character-tag-browser .tag-browser-choice{border:1px solid var(--tag-border);white-space:nowrap;background:#eceaea66;border-radius:8px;height:32px;padding:0 12px;font-size:14px;line-height:21px}.character-tag-browser.tag-dark .tag-browser-choice{background:#282e3366}.tag-browser-empty{text-align:center;width:100%;color:var(--tag-muted);font-size:14px}.tag-browser-footer{flex-shrink:0;align-items:center;gap:8px;display:flex}.character-tag-browser .tag-browser-reset{color:#413f3e;background:#e2dfdf;border:0;border-radius:8px;width:40px;height:40px}.character-tag-browser.tag-dark .tag-browser-reset{color:#e0e6eb;background:#282e33}.character-tag-browser .tag-browser-reset:disabled{opacity:.4;cursor:default}.character-tag-browser .tag-browser-apply{background:var(--tag-accent);color:#fff;border-radius:8px;flex:1;height:40px;padding:0 16px;font-size:14px;font-weight:500;line-height:20px}.character-tag-browser .tag-browser-apply:hover{background:#e95700}@media (width>=640px){.tag-browser-dialog{width:480px}}