/* ═══════════════════════════════════════════════════════════════════
   HIKARI · ЕДИНЫЙ ДИЗАЙН РАЗДЕЛОВ
   Реестр — точь-в-точь оригинальный сайт (стили ниже scoped под #page-registry).
   Подключён в index.html <head>.
   ═══════════════════════════════════════════════════════════════════ */
:root{
  --hk-mono:'JetBrains Mono',ui-monospace,monospace;
}
@keyframes hkIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes hkSheen{0%,60%{transform:translateX(-130%)}100%{transform:translateX(130%)}}

/* ═══════════ HIKARI · РЕЕСТР КЛЮЧЕЙ ═══════════ */
#page-registry{position:relative;font-family:'Manrope',system-ui,sans-serif;}
#page-registry .rg-head{display:flex;align-items:center;gap:12px;margin-bottom:14px;animation:hkIn .6s cubic-bezier(.16,1,.3,1) both;}
#page-registry .rg-head h1{font-size:19px;font-weight:800;letter-spacing:-.02em;display:flex;align-items:center;gap:8px;color:#EDF1F8;}
#page-registry .rg-head h1 svg{width:20px;height:20px;color:#EDF1F8;}
#page-registry .rg-head p{font-size:12px;color:#565F72;margin-top:1px;}
#page-registry .rg-gen{margin-left:auto;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;cursor:pointer;flex-shrink:0;
  color:#0b0e14;background:linear-gradient(145deg,#EDF1F8,#C0CBDC);border:none;position:relative;overflow:hidden;
  box-shadow:0 5px 18px rgba(160,180,220,.35),inset 0 1px 0 rgba(255,255,255,.85);transition:transform .25s cubic-bezier(.34,1.4,.5,1);}
#page-registry .rg-gen::after{content:'';position:absolute;inset:0;background:linear-gradient(115deg,transparent 40%,rgba(255,255,255,.6) 50%,transparent 60%);
  transform:translateX(-130%);animation:hkSheen 4.5s ease-in-out infinite;}
#page-registry .rg-gen:active{transform:scale(.93);}
#page-registry .rg-gen svg{width:21px;height:21px;position:relative;z-index:1;}

#page-registry .rg-acts{display:flex;gap:8px;margin-bottom:13px;overflow-x:auto;padding-bottom:2px;}
#page-registry .rg-acts::-webkit-scrollbar{display:none;}
#page-registry .ta{height:40px;padding:0 14px;border-radius:12px;cursor:pointer;font-family:inherit;font-size:12.5px;font-weight:600;flex-shrink:0;
  background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.012));border:1px solid rgba(190,205,235,.09);color:#98A2B5;
  display:flex;align-items:center;gap:7px;white-space:nowrap;transition:all .25s cubic-bezier(.16,1,.3,1);box-shadow:inset 0 1px 0 rgba(255,255,255,.5);}
#page-registry .ta svg{width:16px;height:16px;}
#page-registry .ta:hover{border-color:rgba(205,220,250,.22);color:#EDF1F8;transform:translateY(-2px);}
#page-registry .ta.on{border-color:rgba(205,220,250,.22);color:#EDF1F8;background:rgba(205,220,250,.12);}
#page-registry .ta-badge{font-family:'JetBrains Mono',monospace;font-size:10px;font-weight:700;padding:2px 6px;border-radius:5px;
  background:rgba(242,109,99,.18);color:#F26D63;border:1px solid rgba(242,109,99,.3);}

#page-registry .rg-search{position:relative;margin-bottom:12px;}
#page-registry .rg-search input{width:100%;height:50px;padding:0 92px 0 44px;font-family:'JetBrains Mono',monospace;font-size:14px;color:#EDF1F8;
  background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.012));border:1px solid rgba(190,205,235,.09);border-radius:15px;outline:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5);transition:border-color .25s,box-shadow .25s;}
#page-registry .rg-search input:focus{border-color:rgba(205,220,250,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 0 3px rgba(124,147,184,.15);}
#page-registry .rg-search input::placeholder{font-family:'Manrope',sans-serif;color:#565F72;}
#page-registry .rg-search>svg{position:absolute;left:15px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#565F72;pointer-events:none;}
#page-registry .rg-cnt{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-family:'JetBrains Mono',monospace;font-size:11px;color:#565F72;pointer-events:none;}

#page-registry .rg-sum{display:flex;gap:2px;height:8px;border-radius:5px;overflow:hidden;margin-bottom:9px;border:1px solid rgba(190,205,235,.09);}
#page-registry .rg-sum span{transition:flex .7s cubic-bezier(.16,1,.3,1);}
#page-registry .rg-leg{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:13px;font-size:11px;color:#565F72;}
#page-registry .rg-leg i{display:inline-block;width:8px;height:8px;border-radius:3px;margin-right:5px;vertical-align:middle;}
#page-registry .rg-leg b{font-family:'JetBrains Mono',monospace;color:#98A2B5;font-weight:600;}

#page-registry .rg-src{display:flex;gap:5px;padding:4px;border-radius:13px;margin-bottom:11px;background:rgba(0,0,0,.22);border:1px solid rgba(190,205,235,.09);}
#page-registry .src{flex:1;height:38px;border:none;border-radius:9px;cursor:pointer;font-family:inherit;font-size:12.5px;font-weight:600;
  background:transparent;color:#565F72;transition:all .3s cubic-bezier(.16,1,.3,1);display:flex;align-items:center;justify-content:center;gap:6px;}
#page-registry .src svg{width:15px;height:15px;}
#page-registry .src b{font-family:'JetBrains Mono',monospace;font-size:11px;opacity:.8;}
#page-registry .src.on{color:#EDF1F8;background:linear-gradient(150deg,rgba(255,255,255,.1),rgba(255,255,255,.02));
  border:1px solid rgba(205,220,250,.22);box-shadow:inset 0 1px 0 rgba(255,255,255,.5);}
#page-registry .src.on.site{color:#4FD6A0;border-color:rgba(79,214,160,.35);}
#page-registry .src.on.bot{color:#E4B579;border-color:rgba(228,181,121,.35);}

#page-registry .rg-tl{position:relative;border-radius:22px;padding:16px;margin-bottom:12px;overflow:hidden;
  background:linear-gradient(160deg,rgba(255,255,255,.042),rgba(255,255,255,.008) 60%,transparent);
  border:1px solid rgba(190,205,235,.09);box-shadow:inset 0 1px 0 rgba(255,255,255,.5);}
#page-registry .rg-tl-h{display:flex;align-items:center;gap:9px;cursor:pointer;}
#page-registry .rg-tl-h svg.ic{width:17px;height:17px;color:#7C93B8;flex-shrink:0;}
#page-registry .rg-tl-t{font-size:13px;font-weight:700;color:#EDF1F8;}
#page-registry .rg-tl-s{font-size:11px;color:#565F72;margin-top:1px;font-weight:400;}
#page-registry .rg-tl-c{width:18px;height:18px;color:#565F72;transition:transform .35s cubic-bezier(.16,1,.3,1);flex-shrink:0;}
#page-registry .rg-tl.open .rg-tl-c{transform:rotate(180deg);}
#page-registry .rg-tl-b{max-height:0;overflow:hidden;transition:max-height .45s cubic-bezier(.16,1,.3,1),margin .3s;}
#page-registry .rg-tl.open .rg-tl-b{max-height:640px;margin-top:13px;overflow-y:auto;}
#page-registry .rg-tl-row{display:flex;align-items:center;gap:11px;padding:8px 0;border-top:1px solid rgba(190,205,235,.05);}
#page-registry .rg-tl-row:first-child{border-top:none;}
#page-registry .rg-tl-day{width:60px;flex-shrink:0;}
#page-registry .rg-tl-date{font-family:'JetBrains Mono',monospace;font-size:12px;font-weight:700;}
#page-registry .rg-tl-when{font-size:9.5px;color:#565F72;margin-top:1px;}
#page-registry .rg-tl-bar{flex:1;height:22px;border-radius:6px;background:rgba(0,0,0,.25);overflow:hidden;border:1px solid rgba(190,205,235,.09);position:relative;}
#page-registry .rg-tl-fill{height:100%;border-radius:5px;width:0;transition:width .9s cubic-bezier(.16,1,.3,1);}
#page-registry .rg-tl-n{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-family:'JetBrains Mono',monospace;font-size:11px;font-weight:700;}

#page-registry .rg-fl{display:flex;gap:7px;overflow-x:auto;padding-bottom:4px;margin-bottom:8px;}
#page-registry .rg-fl::-webkit-scrollbar{display:none;}
#page-registry .fl{height:36px;padding:0 14px;border-radius:11px;cursor:pointer;font-family:inherit;font-size:12.5px;font-weight:600;flex-shrink:0;
  background:rgba(255,255,255,.03);border:1px solid rgba(190,205,235,.09);color:#98A2B5;transition:all .25s cubic-bezier(.16,1,.3,1);
  display:flex;align-items:center;gap:7px;white-space:nowrap;}
#page-registry .fl:hover{border-color:rgba(205,220,250,.22);color:#EDF1F8;transform:translateY(-1px);}
#page-registry .fl b{font-family:'JetBrains Mono',monospace;font-size:11px;opacity:.75;font-weight:600;}
#page-registry .fl.on{background:rgba(205,220,250,.13);border-color:rgba(205,220,250,.22);color:#EDF1F8;}
#page-registry .fl.on.crit{background:rgba(242,109,99,.14);border-color:rgba(242,109,99,.4);color:#F26D63;}
#page-registry .fl.on.warn{background:rgba(228,181,121,.14);border-color:rgba(228,181,121,.4);color:#E4B579;}
#page-registry .fl.on.ok{background:rgba(79,214,160,.13);border-color:rgba(79,214,160,.4);color:#4FD6A0;}
#page-registry .rg-sort{display:flex;align-items:center;gap:8px;margin-bottom:14px;font-size:11.5px;color:#565F72;}
#page-registry .rg-sort select{margin-left:auto;height:32px;padding:0 10px;border-radius:9px;font-family:inherit;font-size:12px;font-weight:600;
  background:rgba(255,255,255,.04);border:1px solid rgba(190,205,235,.09);color:#98A2B5;outline:none;cursor:pointer;}

#page-registry .rg-grp{margin-bottom:18px;}
#page-registry .rg-grp-h{display:flex;align-items:center;gap:9px;margin:0 2px 10px;}
#page-registry .rg-grp-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;box-shadow:0 0 10px currentColor;}
#page-registry .rg-grp-t{font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;}
#page-registry .rg-grp-c{font-family:'JetBrains Mono',monospace;font-size:11px;color:#565F72;background:rgba(0,0,0,.25);
  padding:3px 8px;border-radius:6px;border:1px solid rgba(190,205,235,.09);margin-left:auto;}

#page-registry .kc{position:relative;border-radius:17px;padding:14px;margin-bottom:9px;overflow:hidden;cursor:pointer;
  background:linear-gradient(160deg,rgba(255,255,255,.042),rgba(255,255,255,.008) 60%,transparent);
  border:1px solid rgba(190,205,235,.09);box-shadow:inset 0 1px 0 rgba(255,255,255,.5);
  transition:all .32s cubic-bezier(.16,1,.3,1);animation:hkIn .55s cubic-bezier(.16,1,.3,1) both;}
#page-registry .kc::before{content:'';position:absolute;left:0;top:12px;bottom:12px;width:3px;border-radius:0 3px 3px 0;
  background:var(--stripe,#7C93B8);box-shadow:0 0 12px var(--stripe);}
#page-registry .kc:hover{border-color:rgba(205,220,250,.22);transform:translateY(-3px);box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 14px 34px rgba(0,0,0,.38);}
#page-registry .kc.exp{opacity:.55;}
#page-registry .kc.blk{background:linear-gradient(160deg,rgba(242,109,99,.06),transparent);}
#page-registry .kc.risk-high{border-color:rgba(242,109,99,.3);animation:hkIn .55s cubic-bezier(.16,1,.3,1) both,rgRisk 3s ease-in-out infinite 1s;}
@keyframes rgRisk{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 0 0 rgba(242,109,99,0);}
  50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 22px 0 rgba(242,109,99,.18);}}
#page-registry .kc-top{display:flex;align-items:center;gap:12px;}
#page-registry .ring{position:relative;width:46px;height:46px;flex-shrink:0;}
#page-registry .ring svg{width:46px;height:46px;transform:rotate(-90deg);}
#page-registry .ring-bg{fill:none;stroke:rgba(255,255,255,.07);stroke-width:3.5;}
#page-registry .ring-fg{fill:none;stroke-width:3.5;stroke-linecap:round;transition:stroke-dashoffset 1.1s cubic-bezier(.16,1,.3,1);}
#page-registry .ring-txt{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;}
#page-registry .ring-n{font-family:'JetBrains Mono',monospace;font-size:14px;font-weight:700;line-height:1;}
#page-registry .ring-u{font-size:7.5px;color:#565F72;text-transform:uppercase;letter-spacing:.04em;margin-top:1px;}
#page-registry .kc-body{flex:1;min-width:0;}
#page-registry .kc-idrow{display:flex;align-items:center;gap:7px;margin-bottom:5px;}
#page-registry .kc-av{width:22px;height:22px;border-radius:7px;display:grid;place-items:center;font-size:11px;font-weight:800;color:#0b0e14;flex-shrink:0;}
#page-registry .kc-av.ghost{background:rgba(255,255,255,.06);color:#565F72;border:1px dashed rgba(205,220,250,.22);}
#page-registry .kc-nick{font-size:13.5px;font-weight:700;color:#EDF1F8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#page-registry .kc-nick.dim{color:#565F72;font-weight:600;font-size:12.5px;}
#page-registry .kc-uname{font-size:11px;color:#7C93B8;font-family:'JetBrains Mono',monospace;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#page-registry .kc-key{font-family:'JetBrains Mono',monospace;font-size:12.5px;font-weight:600;color:#98A2B5;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
#page-registry .kc-meta{display:flex;align-items:center;gap:8px;margin-top:5px;flex-wrap:wrap;}
#page-registry .kc-tag{display:inline-flex;align-items:center;gap:4px;font-size:11px;color:#565F72;}
#page-registry .kc-tag svg{width:12px;height:12px;opacity:.7;}
#page-registry .kc-tag.tg{color:#7C93B8;}
#page-registry .kc-tag.unbound{color:#E4B579;}
#page-registry .kc-risk{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:700;padding:2px 7px;border-radius:6px;
  color:var(--rc);background:color-mix(in srgb,var(--rc) 14%,transparent);border:1px solid color-mix(in srgb,var(--rc) 32%,transparent);}
#page-registry .kc-risk svg{width:11px;height:11px;}
#page-registry .kc-chev{width:18px;height:18px;color:#565F72;flex-shrink:0;transition:transform .32s cubic-bezier(.16,1,.3,1);}
#page-registry .kc.open .kc-chev{transform:rotate(180deg);}
#page-registry .kc-spark{margin-top:9px;height:26px;position:relative;}
#page-registry .kc-spark svg{width:100%;height:100%;display:block;overflow:visible;}
#page-registry .kc-spark-l{position:absolute;right:0;top:-13px;font-size:9px;color:#565F72;font-family:'JetBrains Mono',monospace;}
#page-registry .kc-more{max-height:0;overflow:hidden;transition:max-height .4s cubic-bezier(.16,1,.3,1),margin .3s;}
#page-registry .kc.open .kc-more{max-height:1200px;margin-top:13px;}
#page-registry .kc-rows{border-top:1px dashed rgba(190,205,235,.09);padding-top:12px;}
#page-registry .kc-row{display:flex;align-items:center;justify-content:space-between;padding:5px 0;font-size:12px;}
#page-registry .kc-row .k{color:#565F72;}
#page-registry .kc-row .v{font-family:'JetBrains Mono',monospace;font-weight:600;color:#EDF1F8;text-align:right;max-width:62%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
#page-registry .kc-alert{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border-radius:12px;margin-bottom:11px;
  background:color-mix(in srgb,var(--rc) 9%,transparent);border:1px solid color-mix(in srgb,var(--rc) 26%,transparent);}
#page-registry .kc-alert svg{width:17px;height:17px;color:var(--rc);flex-shrink:0;margin-top:1px;}
#page-registry .kc-alert b{display:block;font-size:12.5px;color:var(--rc);font-weight:700;}
#page-registry .kc-alert span{display:block;font-size:11px;color:#98A2B5;margin-top:2px;}
#page-registry .kc-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-top:12px;}
#page-registry .kc-stat{padding:9px 6px;border-radius:10px;background:rgba(0,0,0,.22);border:1px solid rgba(190,205,235,.09);text-align:center;}
#page-registry .kc-stat-v{font-family:'JetBrains Mono',monospace;font-size:15px;font-weight:700;line-height:1;}
#page-registry .kc-stat-l{font-size:8.5px;color:#565F72;text-transform:uppercase;letter-spacing:.03em;margin-top:5px;line-height:1.25;}
#page-registry .kc-logs{margin-top:11px;border-top:1px dashed rgba(190,205,235,.09);padding-top:9px;}
#page-registry .kc-logs-h{font-size:10px;color:#565F72;text-transform:uppercase;letter-spacing:.06em;
  display:flex;align-items:center;gap:7px;cursor:pointer;padding:4px 0;user-select:none;}
#page-registry .kc-logs-h svg.ic{width:13px;height:13px;flex-shrink:0;}
#page-registry .kc-logs-n{font-family:'JetBrains Mono',monospace;font-size:10px;color:#7C93B8;background:rgba(124,147,184,.12);
  padding:2px 6px;border-radius:5px;border:1px solid rgba(124,147,184,.2);}
#page-registry .kc-logs-n.err{color:#F26D63;background:rgba(242,109,99,.12);border-color:rgba(242,109,99,.25);}
#page-registry .kc-logs-h .chev{width:14px;height:14px;margin-left:auto;transition:transform .3s cubic-bezier(.16,1,.3,1);}
#page-registry .kc-logs.open .kc-logs-h .chev{transform:rotate(180deg);}
#page-registry .kc-logs-b{max-height:0;overflow:hidden;transition:max-height .4s cubic-bezier(.16,1,.3,1),margin .3s;}
#page-registry .kc-logs.open .kc-logs-b{max-height:420px;margin-top:6px;overflow-y:auto;}
#page-registry .kc-log{display:flex;align-items:center;gap:8px;padding:6px 0;font-size:11px;border-top:1px solid rgba(190,205,235,.04);}
#page-registry .kc-log:first-child{border-top:none;}
#page-registry .kc-log-dot{width:6px;height:6px;border-radius:50%;flex-shrink:0;}
#page-registry .kc-log-t{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#98A2B5;}
#page-registry .kc-log.denied .kc-log-t{color:#F26D63;}
#page-registry .kc-log-ip{font-family:'JetBrains Mono',monospace;font-size:9.5px;color:#565F72;}
#page-registry .kc-log-ts{font-family:'JetBrains Mono',monospace;font-size:10px;color:#565F72;flex-shrink:0;}
#page-registry .kc-quick{display:flex;gap:7px;margin-top:12px;flex-wrap:wrap;}
#page-registry .qa{flex:1;min-width:calc(50% - 4px);height:40px;padding:0 11px;border-radius:11px;cursor:pointer;
  font-family:inherit;font-size:11.5px;font-weight:600;color:#98A2B5;
  background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.012));border:1px solid rgba(190,205,235,.09);
  display:flex;align-items:center;justify-content:center;gap:6px;transition:all .22s cubic-bezier(.16,1,.3,1);}
#page-registry .qa svg{width:15px;height:15px;flex-shrink:0;}
#page-registry .qa:hover{border-color:rgba(205,220,250,.22);color:#EDF1F8;transform:translateY(-2px);}
#page-registry .qa:disabled{opacity:.3;cursor:not-allowed;}
#page-registry .kc-acts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:9px;}
#page-registry .act{height:52px;border-radius:11px;border:1px solid rgba(190,205,235,.09);background:rgba(255,255,255,.03);cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#98A2B5;
  font-family:inherit;font-size:10px;font-weight:600;transition:all .22s cubic-bezier(.16,1,.3,1);}
#page-registry .act svg{width:17px;height:17px;}
#page-registry .act:hover{border-color:rgba(205,220,250,.22);color:#EDF1F8;background:rgba(255,255,255,.06);transform:translateY(-2px);}
#page-registry .act.ok:hover{color:#4FD6A0;border-color:rgba(79,214,160,.35);background:rgba(79,214,160,.08);}
#page-registry .act.warn:hover{color:#E4B579;border-color:rgba(228,181,121,.35);background:rgba(228,181,121,.08);}
#page-registry .act.danger:hover{color:#F26D63;border-color:rgba(242,109,99,.35);background:rgba(242,109,99,.08);}
#page-registry .act:disabled{opacity:.3;cursor:not-allowed;}
#page-registry .act:disabled:hover{transform:none;border-color:rgba(190,205,235,.09);background:rgba(255,255,255,.03);color:#98A2B5;}
#page-registry .rg-empty{text-align:center;padding:50px 20px;color:#565F72;}
#page-registry .rg-empty svg{width:44px;height:44px;opacity:.3;margin-bottom:12px;}

