/* emoji／顏文字／特殊符號共用：點一下就複製 */
.cp-tool { padding-bottom: 12px; }
.cp-search { display: block; margin: 10px 0 6px; font-weight: 600; }
.cp-q { display: block; width: 100%; min-height: 48px; margin-top: 4px; padding: 8px 12px; font-size: 1.05rem; border: 2px solid var(--line); border-radius: 10px; font-family: inherit; }
.cp-q:focus { border-color: var(--brand); outline: none; }
.cp-opts { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin: 6px 0; font-size: 1rem; }
.cp-opts label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.cp-opts select { min-height: 40px; font-size: 1rem; padding: 4px 8px; border: 2px solid var(--line); border-radius: 8px; background: #fff; max-width: 100%; }
.cp-opts input[type=checkbox] { width: 20px; height: 20px; flex: none; }
.cp-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.cp-tab { min-height: 40px; padding: 0 12px; border: 2px solid var(--line); background: #fff; color: var(--fg); border-radius: 999px; font-size: .95rem; font-family: inherit; cursor: pointer; }
.cp-tab[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.cp-head { font-weight: 700; color: var(--brand-dark); margin: 10px 0 6px; font-size: 1.05rem; overflow-wrap: anywhere; }
.cp-grid { display: grid; gap: 6px; }
.cp-grid-emoji { grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); }
.cp-grid-kaomoji { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.cp-grid-symbols { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.cp-grid > * { min-width: 0; }
.cp-empty { grid-column: 1 / -1; color: var(--muted); }
.cp-item { font-family: inherit; color: var(--fg); background: #fff; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; padding: 4px; -webkit-tap-highlight-color: transparent; }
.cp-item:hover, .cp-item:focus-visible { border-color: var(--brand); background: #eff4ff; outline: none; }
.cp-item.cp-done { background: #ecfdf5; border-color: var(--ok); }
.cp-emoji { min-height: 52px; display: flex; align-items: center; justify-content: center; }
.cp-emoji .cp-glyph { font-size: 1.9rem; line-height: 1.2; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.cp-kaomoji { min-height: 48px; font-size: 1rem; line-height: 1.35; overflow-wrap: anywhere; word-break: break-all; white-space: normal; padding: 6px 8px; }
.cp-symbols { display: flex; flex-direction: column; align-items: center; min-height: 92px; padding: 6px 4px; text-align: center; }
.cp-symbols .cp-glyph { font-size: 1.8rem; line-height: 1.3; }
.cp-symbols .cp-name { font-size: .72rem; line-height: 1.25; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; max-width: 100%; }
.cp-symbols .cp-code { font-size: .72rem; color: var(--brand-dark); font-family: ui-monospace, Consolas, monospace; margin-top: auto; }
.cp-more { width: 100%; margin-top: 10px; }
.cp-last { position: sticky; bottom: 8px; z-index: 5; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; background: #ecfdf5; border: 2px solid var(--ok); border-radius: 12px; padding: 8px 12px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.cp-last.bad { background: #fef2f2; border-color: var(--bad); }
.cp-last-label { font-weight: 700; }
.cp-last-text { font-size: 1.3rem; overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; min-width: 0; }
.cp-status { min-height: 1.4em; margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.cp-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.cp-note { background: #fffbeb; border-left: 4px solid var(--warn); padding: 10px 14px; border-radius: 6px; font-size: 1rem; margin: 10px 0; }
@media (max-width: 480px) { .cp-grid-kaomoji { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); } }
