@import url("/lib/tools/textkit/kit.css?v=1");
/* Emoji copy and paste */
#main.wrap { max-width: 1200px; }
.em-top { position: sticky; top: 0; z-index: 6; padding: 10px 0 6px; background: var(--bg, #0c0c10); }
.em-searchrow { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.em-search { flex: 1 1 260px; min-width: 0; padding: 12px 14px; font: inherit; font-size: 16px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); }
.em-search:focus { outline: none; border-color: var(--accent-dim); }
.em-tones { display: flex; gap: 2px; padding: 3px; border-radius: 10px; border: 1px solid var(--border); background: var(--panel-2); }
.em-tone { width: 38px; height: 38px; border: 1px solid transparent; border-radius: 8px; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; padding: 0; }
.em-tone[aria-checked="true"] { border-color: var(--accent); background: rgba(149, 214, 0, .1); }
.em-tone:focus-visible { outline: 2px solid var(--accent); }
.em-tray { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.em-tray .in { flex: 1 1 auto; min-width: 0; font-size: 20px; padding: 6px 10px; min-height: 42px; font-family: system-ui, "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif; }
.em-len { color: var(--muted); font-size: 12px; white-space: nowrap; }
.em-copyall { min-height: 42px; padding: 8px 14px; white-space: nowrap; }
.em-groups { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.em-tab { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; min-height: 40px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--muted); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.em-tab[aria-selected="true"] { color: var(--accent); border-color: var(--accent); background: rgba(149, 214, 0, .07); }
.em-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.em-ti { font-size: 18px; line-height: 1; }
.em-note { margin: 8px 0 0; font-size: 13px; color: var(--warn); }
.em-body { margin-top: 8px; min-height: 50vh; }
.em-sub { font-size: 12px; color: var(--muted); font-weight: 600; margin: 14px 0 6px; letter-spacing: .02em; }
.em-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 4px; }
.em-b { position: relative; height: 48px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--text); font-size: 30px; line-height: 1; cursor: pointer; padding: 0;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", "Segoe UI Symbol", system-ui, sans-serif; }
.em-b:hover, .em-b:focus-visible { background: rgba(149, 214, 0, .1); border-color: var(--accent-dim); outline: none; }
.em-b.kao { grid-column: span 3; font-size: 15px; font-family: system-ui, "Segoe UI", "Noto Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 6px; border-color: var(--border); background: var(--panel-2); }
.em-ver { position: absolute; right: 2px; bottom: 2px; font: 700 9px/1 system-ui, sans-serif; color: #10130a; background: var(--accent); border-radius: 4px; padding: 2px 3px; }
.em-b.box { border-style: dashed; border-color: var(--warn); }
.em-detail { position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(620px, calc(100% - 20px)); z-index: 20; display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 40px 12px 14px; border-radius: 14px; background: var(--panel, #19171f); border: 1px solid rgba(149, 214, 0, .45); box-shadow: 0 10px 34px rgba(0, 0, 0, .5); max-height: 60vh; overflow: auto; }
.em-big { font-size: 52px; line-height: 1; min-width: 56px; text-align: center; overflow-wrap: anywhere; font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", system-ui, sans-serif; }
.em-dmain { min-width: 0; flex: 1 1 auto; }
.em-name { font-weight: 700; font-size: 15px; overflow-wrap: anywhere; }
.em-name span { font-size: 12px; margin-left: 6px; }
.em-dl { font-size: 13px; color: var(--muted); margin-top: 3px; }
.em-dl.tk-warn { color: var(--warn); }
.em-vars { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 8px; }
.em-v { min-width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--border); background: var(--panel-2); font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.em-v[aria-pressed="true"] { border-color: var(--accent); }
.em-codes { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; color: var(--muted); }
.em-codes .tk-copy { min-height: 30px; padding: 3px 8px; font-size: 12px; font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.em-x { position: absolute; right: 8px; top: 6px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; width: 32px; height: 32px; }
.em-x:hover { color: var(--text); }
#about { margin-top: 24px; }
@media (max-width: 560px) {
  .em-tl { display: none; }
  .em-groups { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(to left, transparent, #000 36px); mask-image: linear-gradient(to left, transparent, #000 36px); }
  .em-groups::-webkit-scrollbar { display: none; }
  .em-tab { padding: 4px 9px; }
  .em-tones { width: 100%; justify-content: space-between; }
  .em-tone { flex: 1 1 0; }
  .em-grid { grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); }
  .em-b { height: 44px; font-size: 27px; }
  .em-len { display: none; }
  .em-detail { gap: 10px; }
  .em-big { font-size: 40px; min-width: 44px; }
}
