/* ======================================================
   lookup.css  –  zmtlabs SC Lookup & Ban Checker
   Self-contained: all base styles included so this page
   does NOT need rockstar.css loaded separately.
====================================================== */

/* ======================================================
   BASE
====================================================== */
body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
html, body { height: auto !important; min-height: 100vh; overflow-y: auto !important; }
.shell { height: auto !important; min-height: 100vh; }

/* FIX: panel must stretch with content, not clip the background */
.panel {
  height: auto !important;
  min-height: calc(100vh - 32px);
  overflow: visible !important;
  padding-bottom: 48px;
}
button, input, textarea { font-family: inherit; }

/* ======================================================
   SECTION TITLE
====================================================== */
.section-title {
  margin-top: 10px;
  margin-bottom: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}

/* ======================================================
   BUTTONS
====================================================== */
.btn-darkpill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 10px 22px rgba(0,0,0,0.25);
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}
.btn-darkpill:hover  { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.16); }
.btn-darkpill:active { transform: translateY(1px); }
.btn-darkpill i      { opacity: .9; }
.btn-darkpill:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ======================================================
   TOOLBOX
====================================================== */
.toolbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.toolbox input,
.toolbox textarea {
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  width: 100%;
  min-width: 0;
}
.toolbox input::placeholder,
.toolbox textarea::placeholder { color: rgba(255,255,255,0.45); }
.muted { opacity: .7; }

/* ======================================================
   RTAB BAR  -  full standalone implementation
====================================================== */
.rtabs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 12px;
  flex-wrap: wrap;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(10,14,22,0.68);
}

.rtab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(230,240,255,0.55);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.02em;
  cursor: pointer;
  user-select: none;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.rtab:hover {
  background: rgba(255,255,255,0.07);
  color: rgba(230,240,255,0.94);
}
/* Lookup portal active tab - green */
.rtab.active {
  background: rgba(0,200,83,0.15);
  border-color: rgba(0,200,83,0.30);
  color: #a0ffbe;
}
.rtab i { font-size: 11px; opacity: .85; }
.rtab-spacer { flex: 1; }

/* rtab-panel show/hide */
.rtab-panel { display: none; overflow: visible !important; }
.rtab-panel.active { display: block; }

/* Checker portal active tab - red */
.lk-tabs--checker .rtab.active {
  background: rgba(220,40,40,0.15);
  border-color: rgba(220,40,40,0.30);
  color: rgba(255,180,180,0.95);
}

/* ======================================================
   PORTAL SWITCHER
====================================================== */
.lk-switcher {
  display: flex;
  gap: 0;
  margin: 8px 0 14px;
}
.lk-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .03em;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  color: rgba(230,240,255,0.45);
  transition: all .14s ease;
  user-select: none;
}
.lk-switch-btn:first-child { border-radius: 14px 0 0 14px; border-right: none; }
.lk-switch-btn:last-child  { border-radius: 0 14px 14px 0; }
.lk-switch-btn--lookup.lk-switch-btn--active {
  background: rgba(0,170,37,0.14);
  border-color: rgba(0,170,37,0.32);
  color: rgba(180,255,200,0.95);
  box-shadow: 0 0 18px rgba(0,170,37,0.12);
}
.lk-switch-btn--checker.lk-switch-btn--active {
  background: rgba(220,40,40,0.14);
  border-color: rgba(220,40,40,0.32);
  color: rgba(255,180,180,0.95);
  box-shadow: 0 0 18px rgba(220,40,40,0.12);
}
.lk-switch-btn:hover:not(.lk-switch-btn--active) {
  background: rgba(255,255,255,0.07);
  color: rgba(230,240,255,0.75);
}

/* ======================================================
   PORTAL CONTAINERS
====================================================== */
.lk-portal { display: none; }
.lk-portal--active { display: block; animation: lkFadeIn .18s ease; }
@keyframes lkFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ======================================================
   USER CHIP + BADGES
====================================================== */
.lk-user-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  font-weight: 900;
  color: rgba(230,240,255,0.85);
}
.lk-user-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}
.lk-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.lk-badge--green { background: rgba(0,170,37,0.16); border: 1px solid rgba(0,170,37,0.30); color: rgba(180,255,200,0.95); }
.lk-badge--red   { background: rgba(220,40,40,0.16); border: 1px solid rgba(220,40,40,0.30); color: rgba(255,180,180,0.95); }

/* ======================================================
   LOOKUP SEARCH ROW
====================================================== */
.lk-search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  align-items: stretch;
}
/* input box stretches, button is fixed */
.lk-input-box { flex: 1; min-width: 0; }
.lk-input-box input { width: 100%; min-width: 0; }

.lk-btn-lookup {
  background: rgba(0,170,37,0.14);
  border-color: rgba(0,170,37,0.30);
  color: rgba(180,255,200,0.95);
}
.lk-btn-lookup:hover {
  background: rgba(0,170,37,0.22);
  border-color: rgba(0,170,37,0.45);
}

/* ======================================================
   CHECKER SEARCH BOX
====================================================== */
.lk-checker-box { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.lk-textarea-box { align-items: flex-start; }
.lk-textarea-box textarea {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1.7;
  resize: vertical;
  min-height: 130px;
  font-size: 13px;
}
.lk-checker-hint {
  font-size: 11.5px;
  font-weight: 800;
  color: rgba(230,240,255,0.50);
  display: flex;
  align-items: center;
  gap: 7px;
}
.lk-btn-checker {
  background: rgba(220,40,40,0.14);
  border-color: rgba(220,40,40,0.30);
  color: rgba(255,180,180,0.95);
  align-self: flex-start;
}
.lk-btn-checker:hover { background: rgba(220,40,40,0.22); border-color: rgba(220,40,40,0.45); }

/* ======================================================
   COOLDOWN BAR
====================================================== */
.lk-cooldown-wrap { margin: 8px 0 12px; }
.lk-cooldown-track { height: 4px; background: rgba(255,255,255,0.06); border-radius: 2px; overflow: hidden; margin-bottom: 5px; }
.lk-cooldown-fill  { height: 100%; width: 100%; border-radius: 2px; transition: width 1s linear; }
.lk-fill--green { background: rgba(0,200,70,0.80); }
.lk-fill--red   { background: rgba(220,60,60,0.80); }
.lk-cooldown-text {
  font-size: 11px; font-weight: 900;
  color: rgba(230,240,255,0.50);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* ======================================================
   PANEL STATES
====================================================== */
.lk-loading {
  padding: 32px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  color: rgba(230,240,255,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.lk-empty {
  padding: 28px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  color: rgba(230,240,255,0.40);
}
.lk-error {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(220,40,40,0.08);
  border: 1px solid rgba(220,40,40,0.20);
  color: rgba(255,180,180,0.90);
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
}
.lk-login-prompt { padding: 32px 0; text-align: center; }
.lk-login-prompt p { font-size: 13px; font-weight: 800; color: rgba(230,240,255,0.50); margin-bottom: 14px; }

/* ======================================================
   RESULT CARD
====================================================== */
.lk-result-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,170,37,0.18);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  margin-top: 10px;
}
.lk-result-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.lk-result-avatar {
  width: 58px; height: 58px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.10);
  object-fit: cover;
  flex-shrink: 0;
}
.lk-result-info   { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.lk-result-username {
  font-size: 18px; font-weight: 950;
  color: rgba(180,255,200,0.95);
  text-decoration: none;
}
.lk-result-username:hover { text-decoration: underline; }
.lk-result-sub {
  font-size: 11.5px; font-weight: 800;
  color: rgba(230,240,255,0.45);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.lk-result-sub i { font-size: 10px; opacity: .6; }
.lk-result-meta {
  display: flex; flex-direction: column; gap: 5px;
  align-items: flex-end;
  font-size: 12px; font-weight: 800;
  color: rgba(230,240,255,0.55);
  flex-shrink: 0;
}
.lk-result-friends-hidden {
  display: inline-flex; align-items: center; gap: 5px;
  opacity: .45; font-size: 12px;
}
.lk-crew-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: rgba(180,255,200,0.80); font-size: 12px; font-weight: 900;
  text-decoration: none;
}
.lk-crew-link:hover { color: rgba(180,255,200,1); }
.lk-private-notice {
  padding: 24px 16px; text-align: center;
  color: rgba(230,240,255,0.40); font-size: 13px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ======================================================
   RESULT TAB BAR  (Overview | Stats | Friends)
====================================================== */
.lk-result-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
  padding: 5px;
  border-radius: 13px;
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
}

.lk-result-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 9px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(230,240,255,0.45);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
  white-space: nowrap;
}
.lk-result-tab i { font-size: 11px; opacity: .8; }
.lk-result-tab:hover {
  background: rgba(255,255,255,0.06);
  color: rgba(230,240,255,0.85);
}
.lk-result-tab--active {
  background: rgba(0,200,83,0.14);
  border-color: rgba(0,200,83,0.28);
  color: rgba(160,255,190,0.95);
}
.lk-rtab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(0,200,83,0.18);
  color: rgba(160,255,190,0.90);
  font-size: 10px;
  font-weight: 900;
}

/* rtab panels */
.lk-rtab-panels { }
.lk-rtab-panel  { display: none; animation: lkFadeIn .15s ease; }
.lk-rtab-panel--active { display: block; }

/* ======================================================
   OVERVIEW GRID
====================================================== */
.lk-ov-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 4px;
}
.lk-ov-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 14px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  transition: background .1s ease;
}
.lk-ov-block:hover { background: rgba(0,0,0,0.28); }
.lk-ov-block--highlight {
  background: rgba(0,200,83,0.07);
  border-color: rgba(0,200,83,0.18);
}
.lk-ov-icon  { font-size: 18px; line-height: 1; }
.lk-ov-val   {
  font-size: 17px; font-weight: 950; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: rgba(230,255,240,0.95); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.lk-ov-val--sm { font-size: 13px; }
.lk-ov-label  { font-size: 9.5px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: rgba(230,240,255,0.38); }

/* ======================================================
   SECTION LABEL
====================================================== */
.lk-section-label {
  font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em;
  color: rgba(230,240,255,0.35); margin: 14px 0 8px;
  padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ======================================================
   STATS GRID
====================================================== */
.lk-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px,1fr));
  gap: 8px;
  margin-bottom: 4px;
}
.lk-stat-box {
  background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 10px 12px;
  display: flex; flex-direction: column; gap: 3px;
}
.lk-stat-label { font-size: 10px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; color: rgba(230,240,255,0.40); }
.lk-stat-value {
  font-size: 14px; font-weight: 950; color: rgba(230,255,240,0.92);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ======================================================
   ATTRIBUTES
====================================================== */
.lk-attrs { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.lk-attr-row { display: flex; align-items: center; gap: 8px; }
.lk-attr-label { width: 76px; flex-shrink: 0; font-size: 11px; font-weight: 800; color: rgba(230,240,255,0.55); }
.lk-attr-track { flex: 1; height: 5px; background: rgba(255,255,255,0.06); border-radius: 3px; overflow: hidden; }
.lk-attr-fill  { height: 100%; background: rgba(0,200,70,0.70); border-radius: 3px; transition: width .3s ease; }
.lk-attr-val   {
  width: 30px; text-align: right; font-size: 11px; font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: rgba(230,240,255,0.45);
}

/* ======================================================
   AWARDS
====================================================== */
.lk-awards { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lk-award-item {
  width: 36px; height: 36px; border-radius: 8px;
  overflow: hidden; background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.07);
}
.lk-award-item img { width: 100%; height: 100%; object-fit: cover; }

/* ======================================================
   FRIENDS LIST
====================================================== */
.lk-friends-search-wrap { }

.lk-friends-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
  max-height: 420px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,200,83,0.25) transparent;
}
.lk-friends-list::-webkit-scrollbar { width: 4px; }
.lk-friends-list::-webkit-scrollbar-track { background: transparent; }
.lk-friends-list::-webkit-scrollbar-thumb { background: rgba(0,200,83,0.25); border-radius: 2px; }

.lk-friend-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: background .08s ease, border-color .08s ease;
}
.lk-friend-row:hover {
  background: rgba(0,200,83,0.07);
  border-color: rgba(0,200,83,0.18);
}
.lk-friend-avatar {
  width: 28px; height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  object-fit: cover;
  background: rgba(0,0,0,0.3);
}
.lk-friend-name {
  font-weight: 900;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: rgba(230,240,255,0.90);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lk-friend-rid {
  font-size: 10.5px;
  font-weight: 700;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: rgba(230,240,255,0.28);
}
.lk-friend-lookup-icon {
  font-size: 10px;
  color: rgba(0,200,83,0.50);
  opacity: 0;
  transition: opacity .1s ease;
  flex-shrink: 0;
}
.lk-friend-row:hover .lk-friend-lookup-icon { opacity: 1; }

/* ======================================================
   CHECKER RESULTS
====================================================== */
.lk-checker-summary { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; }
.lk-sum-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 900; border: 1px solid rgba(255,255,255,0.08); }
.lk-sum-pill--banned  { background:rgba(220,40,40,0.10); border-color:rgba(220,40,40,0.28); color:rgba(255,160,160,0.95); }
.lk-sum-pill--ok      { background:rgba(0,170,37,0.10); border-color:rgba(0,170,37,0.28); color:rgba(180,255,200,0.95); }
.lk-sum-pill--private { background:rgba(255,183,0,0.10); border-color:rgba(255,183,0,0.28); color:rgba(255,225,140,0.95); }
.lk-sum-pill--invalid { background:rgba(120,120,120,0.10); border-color:rgba(120,120,120,0.22); color:rgba(190,190,190,0.85); }
.lk-sum-pill--error   { background:rgba(240,112,48,0.10); border-color:rgba(240,112,48,0.28); color:rgba(255,200,160,0.90); }

.lk-checker-list { display: flex; flex-direction: column; gap: 4px; }
.lk-checker-row { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); font-size: 13px; font-weight: 800; flex-wrap: wrap; transition: background .08s; }
.lk-checker-row:hover { background: rgba(255,255,255,0.055); }
.lk-checker-row--banned  { border-left: 3px solid rgba(220,40,40,0.70); }
.lk-checker-row--ok      { border-left: 3px solid rgba(0,170,37,0.70); }
.lk-checker-row--private { border-left: 3px solid rgba(255,183,0,0.70); }
.lk-checker-row--invalid { border-left: 3px solid rgba(120,120,120,0.50); }
.lk-checker-row--error   { border-left: 3px solid rgba(240,112,48,0.60); }
.lk-ck-icon   { flex-shrink: 0; }
.lk-ck-name   { font-weight: 950; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; min-width: 140px; }
.lk-ck-detail { font-size: 11.5px; color: rgba(230,240,255,0.55); flex: 1; }
.lk-ck-status { font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.lk-st-banned  { color:rgba(255,160,160,0.95); background:rgba(220,40,40,0.12); }
.lk-st-ok      { color:rgba(180,255,200,0.95); background:rgba(0,170,37,0.12); }
.lk-st-private { color:rgba(255,225,140,0.95); background:rgba(255,183,0,0.12); }
.lk-st-invalid { color:rgba(190,190,190,0.85); background:rgba(120,120,120,0.12); }
.lk-st-error   { color:rgba(255,200,160,0.90); background:rgba(240,112,48,0.12); }

/* ======================================================
   HISTORY
====================================================== */
.lk-history-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.lk-history-header h3 { font-size: 14px; font-weight: 950; }
.lk-history-list { display: flex; flex-direction: column; gap: 3px; }
.lk-history-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); font-size: 12.5px; font-weight: 800; flex-wrap: wrap; transition: background .08s; }
.lk-history-row:hover { background: rgba(255,255,255,0.055); }
.lk-history-row--ok      { border-left: 3px solid rgba(0,170,37,0.65); }
.lk-history-row--fail    { border-left: 3px solid rgba(220,40,40,0.55); }
.lk-history-row--ok-c    { border-left: 3px solid rgba(0,170,37,0.70); }
.lk-history-row--banned  { border-left: 3px solid rgba(220,40,40,0.70); }
.lk-history-row--private { border-left: 3px solid rgba(255,183,0,0.70); }
.lk-history-row--invalid { border-left: 3px solid rgba(120,120,120,0.50); }
.lk-history-row--error   { border-left: 3px solid rgba(240,112,48,0.60); }
.lk-hist-name { font-weight: 950; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; min-width: 140px; }
.lk-hist-date { font-size: 11px; font-weight: 800; color: rgba(230,240,255,0.40); margin-left: auto; white-space: nowrap; }

/* ======================================================
   ACCOUNT PANEL
====================================================== */
.lk-account-grid { display: flex; flex-direction: column; gap: 12px; }

.lk-account-profile { display: flex; align-items: center; gap: 14px; padding: 14px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; flex-wrap: wrap; }
.lk-acc-avatar { width: 48px; height: 48px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.12); flex-shrink: 0; }
.lk-acc-name   { font-weight: 950; font-size: 15px; }
.lk-acc-id     { font-size: 11px; font-weight: 800; color: rgba(230,240,255,0.40); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.lk-acc-badges { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }

.lk-rl-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px; }
.lk-rl-title { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: rgba(230,240,255,0.50); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.lk-rl-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 13px; font-weight: 800; }
.lk-rl-row:last-child { border-bottom: none; }
.lk-rl-row span   { color: rgba(230,240,255,0.55); }
.lk-rl-row strong { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; color: rgba(230,255,240,0.92); }

.lk-wl-section { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px; }
.lk-wl-section--locked { opacity: .50; }
.lk-wl-title { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; color: rgba(230,240,255,0.50); margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.lk-wl-sub   { font-size: 12px; font-weight: 800; color: rgba(230,240,255,0.40); margin-bottom: 12px; }

.lk-wl-add-row { display: flex; gap: 8px; margin-bottom: 10px; align-items: stretch; }
.lk-wl-add-row .toolbox { flex: 1; min-width: 0; }
.lk-wl-add-row .toolbox input { width: 100%; min-width: 0; }
.lk-wl-add-btn { flex-shrink: 0; background: rgba(0,170,37,0.14); border-color: rgba(0,170,37,0.30); color: rgba(180,255,200,0.95); }
.lk-wl-add-btn:hover { background: rgba(0,170,37,0.22); border-color: rgba(0,170,37,0.45); }

.lk-wl-list { display: flex; flex-direction: column; gap: 4px; }
.lk-wl-entry { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; background: rgba(0,0,0,0.14); border: 1px solid rgba(255,255,255,0.05); font-size: 12.5px; font-weight: 800; }
.lk-wl-name { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight: 900; flex: 1; }
.lk-wl-date { font-size: 11px; color: rgba(230,240,255,0.35); }
.lk-acc-footer { margin-top: 4px; }

/* ======================================================
   STATS PANEL
====================================================== */
.lk-kpi-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px,1fr)); gap: 10px; margin-bottom: 14px; }
.lk-kpi-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 14px; text-align: center; box-shadow: 0 6px 16px rgba(0,0,0,0.20); }
.lk-kpi-value { font-size: 26px; font-weight: 950; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; line-height: 1; margin-bottom: 5px; color: rgba(180,255,200,0.95); }
#portal-checker .lk-kpi-value { color: rgba(255,160,160,0.95); }
.lk-kpi-label { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: rgba(230,240,255,0.40); }

.lk-daily-chart { margin-bottom: 20px; }
.lk-daily-chart h3 { font-size: 12px; font-weight: 900; color: rgba(230,240,255,0.50); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }
.lk-daily-bars { display: flex; align-items: flex-end; gap: 3px; background: rgba(0,0,0,0.10); border: 1px solid rgba(255,255,255,0.05); border-radius: 12px; padding: 10px 10px 24px; min-height: 80px; }
.lk-daily-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 60px; }
.lk-daily-bar { width: 100%; min-height: 2px; border-radius: 2px 2px 0 0; }
.lk-daily-bar--lookup  { background: rgba(0,200,70,0.65); }
.lk-daily-bar--checker { background: rgba(220,60,60,0.65); }
.lk-daily-bar-label { font-size: .60rem; color: rgba(230,240,255,0.35); white-space: nowrap; transform: rotate(-35deg); transform-origin: top center; font-weight: 800; }

.lk-stats-recent { margin-top: 14px; }
.lk-stats-recent h3 { font-size: 12px; font-weight: 900; color: rgba(230,240,255,0.50); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.lk-stats-list { display: flex; flex-direction: column; gap: 3px; }
.lk-stats-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px; background: rgba(0,0,0,0.14); font-size: 12.5px; font-weight: 800; }

/* ======================================================
   PREMIUM PANEL
====================================================== */
.lk-premium-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 22px; max-width: 540px; box-shadow: 0 8px 24px rgba(0,0,0,0.24); }
.lk-premium-card--lookup  { border-color: rgba(0,170,37,0.22); }
.lk-premium-card--checker { border-color: rgba(220,40,40,0.22); }
.lk-premium-card h2 { font-size: 18px; font-weight: 950; margin-bottom: 8px; }
.lk-premium-card--lookup  h2 { color: rgba(180,255,200,0.95); }
.lk-premium-card--checker h2 { color: rgba(255,160,160,0.95); }
.lk-premium-card p { font-size: 13px; font-weight: 800; color: rgba(230,240,255,0.55); margin-bottom: 18px; line-height: 1.55; }
.lk-pf-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.lk-pf-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(0,0,0,0.18); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; font-size: 13px; font-weight: 850; }
.lk-premium-card--lookup  .lk-pf-item { border-left: 3px solid rgba(0,170,37,0.50); }
.lk-premium-card--checker .lk-pf-item { border-left: 3px solid rgba(220,40,40,0.50); }
.lk-premium-active { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 900; }
.lk-premium-card--lookup  .lk-premium-active { background:rgba(0,170,37,0.14); border:1px solid rgba(0,170,37,0.30); color:rgba(180,255,200,0.95); }
.lk-premium-card--checker .lk-premium-active { background:rgba(220,40,40,0.14); border:1px solid rgba(220,40,40,0.30); color:rgba(255,160,160,0.95); }

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 700px) {
  .lk-switch-btn { padding: 8px 16px; font-size: 11px; }
  .lk-search-row { flex-wrap: wrap; }
  .lk-input-box  { flex: 1 1 100%; }
  .lk-btn-lookup { width: 100%; }
  .lk-ck-name    { min-width: unset; }
  .lk-hist-name  { min-width: unset; }
  .lk-ov-grid    { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); }
  .lk-result-tab span { display: none; }
  .lk-result-tab i    { font-size: 13px; opacity: 1; }
  .lk-result-tab { padding: 8px 12px; }
}

/* ======================================================
   CHECKER LIVE PROGRESS
====================================================== */
.lk-progress-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 4px;
}
.lk-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px;
  flex-wrap: wrap;
}
.lk-progress-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 900;
  color: rgba(230,240,255,0.80);
}
.lk-progress-username {
  font-size: 12px;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: rgba(230,240,255,0.40);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}
.lk-progress-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.lk-progress-fill {
  height: 100%;
  background: rgba(220,60,60,0.80);
  border-radius: 3px;
  transition: width .35s ease;
}
.lk-progress-fill--done {
  background: rgba(0,200,83,0.80);
  transition: background .3s ease, width .35s ease;
}

/* Row slide-in animation */
@keyframes lkRowIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.lk-checker-row--new {
  animation: lkRowIn .18s ease forwards;
}