#main.wrap { max-width: 1200px; }
.sc-top { position: sticky; top: 0; z-index: 5; padding: 10px 0; background: var(--bg, #0e0d12); }
.sc-search { width: 100%; padding: 12px 14px; font-size: 1.05rem; border-radius: 10px; border: 1px solid rgba(127,127,127,.45); background: transparent; color: inherit; }
.sc-jump { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.sc-jump a { min-width: 26px; padding: 3px 6px; text-align: center; border-radius: 6px; font-weight: 600; text-decoration: none; color: inherit; background: rgba(127,127,127,.15); font-size: .9rem; }
.sc-jump a:hover { background: rgba(170,255,0,.25); }
.sc-recent { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sc-rows { margin-top: 10px; }
.sc-row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 10px 0; border-top: 1px solid rgba(127,127,127,.2); scroll-margin-top: 140px; }
.sc-key { position: sticky; top: 150px; align-self: start; font-size: 2.1rem; font-weight: 800; line-height: 1; padding: 6px 0; background: none; border: 0; color: inherit; cursor: pointer; text-align: left; }
.sc-key small { display: block; font-size: .7rem; font-weight: 500; opacity: .6; margin-top: 4px; overflow-wrap: anywhere; }
.sc-row.collapsed .sc-body { display: none; }
.sc-row.collapsed .sc-key { opacity: .55; }
.sc-group { margin-bottom: 8px; }
.sc-group > span { display: block; font-size: .75rem; opacity: .65; margin: 2px 0 4px; text-transform: uppercase; letter-spacing: .04em; }
.sc-chars { display: flex; flex-wrap: wrap; gap: 4px; }
.ch { min-width: 40px; height: 40px; padding: 0 6px; font-size: 1.35rem; line-height: 40px; border-radius: 8px; border: 1px solid rgba(127,127,127,.25); background: rgba(127,127,127,.08); color: inherit; cursor: pointer;
      font-family: system-ui, "Segoe UI", "Segoe UI Symbol", "Segoe UI Historic", "Noto Sans", "Noto Sans Math", "Noto Sans Symbols", "Noto Sans Symbols 2", "Apple Symbols", "Cambria Math", sans-serif; }
.ch:hover, .ch:focus-visible { border-color: #aaff00; background: rgba(170,255,0,.12); }
.ch.inv { font-size: .62rem; line-height: 1.1; white-space: normal; width: 64px; overflow-wrap: anywhere; }
.sc-results { margin-top: 10px; padding: 10px; border-radius: 10px; background: rgba(170,255,0,.06); }
.sc-detail { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); width: min(560px, calc(100% - 24px)); z-index: 20; padding: 12px 14px; border-radius: 12px;
             background: var(--panel, #19171f); border: 1px solid rgba(170,255,0,.45); box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.sc-detail .big { font-size: 2.6rem; line-height: 1; float: left; margin-right: 12px; min-width: 48px; text-align: center; }
.sc-detail .copied { color: #aaff00; font-weight: 700; }
.sc-detail .sc-manual { display: block; width: 6em; margin-top: 6px; padding: 4px 8px; font-size: 1.35rem; border-radius: 8px; border: 1px solid rgba(170,255,0,.6); background: transparent; color: inherit; }
.sc-detail dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; margin: 6px 0 0; font-size: .85rem; clear: both; }
.sc-detail dt { opacity: .65; }
.sc-detail dd { margin: 0; overflow-wrap: anywhere; }
.sc-detail .x { position: absolute; right: 8px; top: 6px; background: none; border: 0; color: inherit; font-size: 1.2rem; cursor: pointer; }
@media (max-width: 600px) { .sc-row { grid-template-columns: 40px minmax(0, 1fr); } .sc-key { font-size: 1.5rem; } .ch { min-width: 36px; height: 36px; line-height: 36px; font-size: 1.2rem; } }
