@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css");

@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap");

.nsrpg {width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -8px;
--ink: #f3f2ff; --muted: #b0acc8; --dim: #7c7894;
  --panel: rgba(16, 14, 32, 0.93); --soft: rgba(255, 255, 255, 0.05);
  --line: rgba(129, 140, 248, 0.32); --accent: #818cf8; --accent-soft: rgba(129, 140, 248, 0.16);
  --cool: #a5b4fc; --cool-deep: #6366f1; --danger: #ff6b7a; --ok: #3dd68c;
  --radius: 18px; --shadow: 0 18px 42px rgba(6, 4, 18, 0.45);
  --font: "Outfit", "Segoe UI", sans-serif; --gap: 14px;
  box-sizing: border-box !important; font-family: var(--font); color: var(--ink); line-height: 1.5;
  display: block; min-width: 0 !important;
  background:
    radial-gradient(ellipse 70% 48% at 12% 0%, rgba(129, 140, 248, 0.28), transparent 58%),
    radial-gradient(ellipse 50% 40% at 92% 8%, rgba(99, 102, 241, 0.14), transparent 52%),
    linear-gradient(158deg, #0c0a18 0%, #16142a 48%, #1e1a38 100%);
  position: relative; isolation: isolate; overflow-x: hidden !important; overflow-wrap: anywhere;
}
.nsrpg *, .nsrpg *::before, .nsrpg *::after { box-sizing: border-box; }
.nsrpg h3 { color: var(--ink) !important; }
.nsrpg h2 { color: var(--ink) !important; }
.nsrpg :where(h1,h2,h3,p,ul,ol,li,label,span) { margin: 0; padding: 0; border: 0; font-weight: inherit; max-width: 100%; overflow-wrap: anywhere; }
.nsrpg :where(ul,ol) { list-style: none; }
.nsrpg img { max-width: 100%; height: auto; display: block; border: 0; }
.nsrpg a { color: var(--cool); text-decoration: none; }
.nsrpg a:hover { text-decoration: underline; }
.nsrpg-shell {width:100%;max-width:min(1200px,100%);margin-left: auto; margin-right: auto;padding: 65px clamp(8px, 2vw, 16px);min-width:0; display: flex; flex-direction: column; gap: var(--gap); container-type: inline-size; container-name: nsrpg; }
.nsrpg-hero {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: clamp(18px, 3.5vw, 28px) clamp(14px, 3vw, 22px);
  text-align: center; backdrop-filter: blur(14px); animation: nsrpg-rise .45s ease both;
}
.nsrpg-brand {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; display: inline-flex;
  align-items: center; justify-content: center; color: #fff; font-size: 1.35rem;
  background: linear-gradient(145deg, #818cf8, #6366f1);
  box-shadow: 0 10px 24px rgba(129, 140, 248, .35);
}
.nsrpg .nsrpg-hero__title {color:var(--ink)!important; font-size: clamp(1.35rem, 5vw, 2rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 8px; }
.nsrpg-hero__mark { color: var(--accent); background-image: linear-gradient(90deg, var(--accent), #c7d2fe); background-position: 0 100%; background-repeat: no-repeat; background-size: 100% 3px; padding-bottom: 2px; }
.nsrpg .nsrpg-hero__lead { max-width: 36rem; margin: 0 auto 20px; color: var(--muted); font-size: clamp(.9rem, 2.4vw, 1rem); }
.nsrpg-tool { display: flex; flex-direction: column; gap: 12px; text-align: left; background: var(--soft); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: clamp(12px, 2.4vw, 16px); }
.nsrpg .nsrpg-tool__label { font-size: .86rem; font-weight: 600; color: var(--muted); }
.nsrpg-field { position: relative; display: flex; align-items: center; }
.nsrpg .nsrpg-field__input {
  width: 100%; height: 52px; padding: 0 52px 0 16px !important; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12) !important; background: rgba(8, 6, 18, .55) !important;
  color: var(--ink) !important; font: 500 16px var(--font); outline: none;
}
.nsrpg .nsrpg-field__input:focus { border-color: rgba(129,140,248,.55) !important; box-shadow: 0 0 0 3px var(--accent-soft); }
.nsrpg .nsrpg-field__input::placeholder { color: var(--dim); }
.nsrpg .nsrpg-field__paste {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  border: 0 !important; border-radius: 10px; background: transparent !important; color: var(--muted) !important; cursor: pointer;
}
.nsrpg .nsrpg-field__paste:hover { color: var(--accent) !important; background: var(--accent-soft) !important; }
.nsrpg .nsrpg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px;
  border: 0 !important; border-radius: 12px; font: 700 .98rem var(--font); cursor: pointer;
  transition: transform .2s, box-shadow .2s, opacity .2s; text-decoration: none; appearance: none;
}
.nsrpg .nsrpg-btn--primary { background: linear-gradient(135deg, #818cf8, #6366f1) !important; color: #fff !important; box-shadow: 0 10px 22px rgba(129,140,248,.32); }
.nsrpg .nsrpg-btn--primary:hover { transform: translateY(-1px); }
.nsrpg .nsrpg-btn:disabled { opacity: .55; cursor: wait; transform: none !important; }
.nsrpg .nsrpg-btn--ghost { background: rgba(255,255,255,.06) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.12) !important; }
.nsrpg .nsrpg-btn--sm { height: 36px; font-size: .8rem !important; width: auto; padding: 0 12px !important; }
.nsrpg-alert { display: none; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; font-size: .88rem; font-weight: 500; }
.nsrpg-alert.is-visible { display: flex; }
.nsrpg-alert--error { background: rgba(255,107,122,.12); border: 1px solid rgba(255,107,122,.35); color: #ffb4bc; }
.nsrpg-alert--ok { background: rgba(61,214,140,.12); border: 1px solid rgba(61,214,140,.35); color: #9aecc0; }
.nsrpg-hint { font-size: .8rem; color: var(--dim); text-align: center; }
.nsrpg-skeleton { display: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.nsrpg-skeleton.is-active { display: block; animation: nsrpg-rise .35s ease both; }
.nsrpg-sk { background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(129,140,248,.16), rgba(255,255,255,.06)); background-size: 200% 100%; animation: nsrpg-shimmer 1.2s ease infinite; border-radius: 10px; }
.nsrpg-skeleton__block { height: 110px; margin-bottom: 12px; }
.nsrpg-skeleton__line { height: 14px; margin-bottom: 10px; }
.nsrpg-skeleton__line--lg { width: 55%; } .nsrpg-skeleton__line--md { width: 35%; }
.nsrpg-result { display: none; animation: nsrpg-rise .45s ease both; }
.nsrpg-result.is-visible { display: block; }
.nsrpg-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.nsrpg-cover { height: 92px; background: linear-gradient(135deg, rgba(129,140,248,.45), rgba(99,102,241,.2)); }
.nsrpg-page { padding: clamp(14px, 3vw, 20px); }
.nsrpg-head { display: flex; gap: 12px; align-items: center; margin-top: -36px; margin-bottom: 12px; flex-wrap: wrap; }
.nsrpg-avatar {
  width: 72px; height: 72px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #818cf8, #6366f1); color: #fff; font-size: 1.5rem;
  border: 4px solid #16142a; box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.nsrpg .nsrpg-profile__name {color:var(--ink)!important; font-size: clamp(1.15rem, 3.2vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; }
.nsrpg .nsrpg-profile__url { font-size: .84rem; color: var(--muted); font-weight: 600; }
.nsrpg-stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; margin-bottom: 14px; }
@container nsrpg (min-width: 560px) { .nsrpg-stats { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.nsrpg-stat { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); text-align: center; }
.nsrpg .nsrpg-stat__val { display: block; font-size: 1.15rem; font-weight: 800; }
.nsrpg .nsrpg-stat__lbl { display: block; font-size: .75rem; color: var(--dim); font-weight: 600; margin-top: 2px; }
.nsrpg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.nsrpg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--muted); font-size: .78rem; font-weight: 600; }
.nsrpg-chip i { color: var(--accent); }
.nsrpg .nsrpg-section { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin: 4px 0 10px; }
.nsrpg-timeline { display: flex; flex-direction: column; gap: 10px; }
.nsrpg-item { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 6px; }
.nsrpg-item--comment { border-left: 3px solid var(--accent); }
.nsrpg .nsrpg-item__kind { font-size: .72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .04em; }
.nsrpg .nsrpg-item__title {color: var(--ink) !important; font-size: .96rem; font-weight: 700; }
.nsrpg-item__text { color: var(--muted); font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-wrap; }
.nsrpg-item__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .75rem; color: var(--dim); font-weight: 600; }
.nsrpg-empty { display: none; text-align: center; padding: 28px 12px; color: var(--muted); }
.nsrpg-empty.is-visible { display: block; }
@keyframes nsrpg-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes nsrpg-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* --- Codex CSS updates --- */
.nsrpg {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -8px;
  --ink: #f8fafc;
  --muted: #c7c9d9;
  --dim: #8f93ad;
  --panel: rgba(15, 18, 32, 0.88);
  --soft: rgba(255, 255, 255, 0.07);
  --line: rgba(166, 176, 255, 0.28);
  --accent: #8b5cf6;
  --accent-soft: rgba(139, 92, 246, 0.18);
  --cool: #38bdf8;
  --cool-deep: #4f46e5;
  --danger: #fb7185;
  --ok: #34d399;
  --radius: 20px;
  --shadow: 0 22px 60px rgba(2, 6, 23, 0.42);
  --font: "Outfit", "Segoe UI", Arial, sans-serif;
  --gap: 16px;
  box-sizing: border-box !important;
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.5;
  display: block;
  min-width: 0 !important;
  background:
    radial-gradient(ellipse 72% 50% at 12% 0%, rgba(139, 92, 246, 0.3), transparent 58%),
    radial-gradient(ellipse 54% 42% at 92% 10%, rgba(56, 189, 248, 0.18), transparent 54%),
    linear-gradient(155deg, #070b18 0%, #111827 45%, #201335 100%);
  position: relative;
  isolation: isolate;
  overflow-x: hidden !important;
  overflow-wrap: anywhere;
}

.nsrpg *,
.nsrpg *::before,
.nsrpg *::after {
  box-sizing: border-box;
}

.nsrpg h3 {
  color: var(--ink) !important;
}

.nsrpg h2 {
  color: var(--ink) !important;
}

.nsrpg :where(h1, h2, h3, p, ul, ol, li, label, span) {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.nsrpg :where(h1, h2, h3) {
  text-transform: capitalize !important;
}

.nsrpg :where(ul, ol) {
  list-style: none;
}

.nsrpg img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

.nsrpg a {
  color: var(--cool);
  text-decoration: none;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.nsrpg a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.nsrpg .fa-brands,
.nsrpg .fa-regular,
.nsrpg .fa-solid,
.nsrpg .fa-clipboard,
.nsrpg .fa-file-lines,
.nsrpg .fa-magnifying-glass,
.nsrpg .fa-reddit-alien {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  min-width: 1em;
  height: 1em;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

.nsrpg .fa-brands {
  font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands", "FontAwesome", sans-serif !important;
  font-weight: 400;
}

.nsrpg .fa-regular {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif !important;
  font-weight: 400;
}

.nsrpg .fa-clipboard::before {
  content: "\f328";
}

.nsrpg .fa-file-lines::before {
  content: "\f15c";
}

.nsrpg .fa-magnifying-glass::before {
  content: "\f002";
}

.nsrpg .fa-reddit-alien::before {
  content: "\f281";
}

.nsrpg-shell {
  width: 100%;
  max-width: min(1180px, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(28px, 6vw, 64px) clamp(14px, 3vw, 22px);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  container-type: inline-size;
  container-name: nsrpg;
}

.nsrpg-hero {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 34px) clamp(14px, 3vw, 26px);
  text-align: center;
  backdrop-filter: blur(18px);
  animation: nsrpg-rise 0.45s ease both;
}

.nsrpg-brand {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.28rem;
  background: linear-gradient(145deg, #38bdf8 0%, #8b5cf6 48%, #ec4899 100%);
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.36);
}

.nsrpg .nsrpg-hero__title {
  color: var(--ink) !important;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
  margin-bottom: 10px;
  text-transform: capitalize !important;
}

.nsrpg-hero__mark {
  color: #dbeafe;
  background-image: linear-gradient(90deg, #38bdf8, #a78bfa, #f472b6);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 3px;
  padding-bottom: 3px;
}

.nsrpg .nsrpg-hero__lead {
  max-width: 42rem;
  margin: 0 auto 22px;
  color: var(--muted);
  font-size: clamp(0.94rem, 2vw, 1.03rem);
  line-height: 1.65;
}

.nsrpg-tool {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: clamp(14px, 2.4vw, 18px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.nsrpg .nsrpg-tool__label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  line-height: 1.35;
}

.nsrpg-field {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
}

.nsrpg .nsrpg-field__input {
  width: 100%;
  max-width: 100%;
  height: 54px;
  min-height: 54px;
  max-height: 58px;
  padding: 0 54px 0 16px !important;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(7, 11, 24, 0.72) !important;
  color: var(--ink) !important;
  font: 500 16px var(--font);
  line-height: 54px;
  outline: none;
  resize: none;
  overflow-y: auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nsrpg .nsrpg-field__input:focus {
  border-color: rgba(56, 189, 248, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: rgba(7, 11, 24, 0.9) !important;
}

.nsrpg .nsrpg-field__input::placeholder {
  color: var(--dim);
}

.nsrpg .nsrpg-field__paste {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0 !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04) !important;
  color: var(--muted) !important;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nsrpg .nsrpg-field__paste:hover {
  color: #fff !important;
  background: var(--accent-soft) !important;
}

.nsrpg .nsrpg-field__paste:active {
  transform: translateY(-50%) scale(0.96);
}

.nsrpg .nsrpg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  height: 52px;
  min-height: 52px;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 14px;
  font: 800 0.98rem var(--font);
  letter-spacing: 0;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  appearance: none;
  white-space: nowrap;
}

.nsrpg .nsrpg-btn--primary {
  background: linear-gradient(135deg, #38bdf8 0%, #8b5cf6 50%, #ec4899 100%) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(139, 92, 246, 0.34);
}

.nsrpg .nsrpg-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(139, 92, 246, 0.42);
}

.nsrpg .nsrpg-btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 9px 20px rgba(139, 92, 246, 0.3);
}

.nsrpg .nsrpg-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.2), 0 14px 30px rgba(139, 92, 246, 0.32);
}

.nsrpg .nsrpg-btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none !important;
  box-shadow: none;
}

.nsrpg .nsrpg-btn--ghost {
  background: rgba(255, 255, 255, 0.07) !important;
  color: var(--ink) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: none;
}

.nsrpg .nsrpg-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-1px);
}

.nsrpg .nsrpg-btn--sm {
  height: 38px;
  min-height: 38px;
  font-size: 0.82rem !important;
  width: auto;
  padding: 0 13px !important;
  border-radius: 11px;
}

.nsrpg-alert {
  display: none;
  gap: 9px;
  align-items: flex-start;
  padding: 11px 13px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.45;
}

.nsrpg-alert.is-visible {
  display: flex;
}

.nsrpg-alert--error {
  background: rgba(251, 113, 133, 0.14);
  border: 1px solid rgba(251, 113, 133, 0.38);
  color: #fecdd3;
}

.nsrpg-alert--ok {
  background: rgba(52, 211, 153, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.38);
  color: #bbf7d0;
}

.nsrpg-hint {
  font-size: 0.82rem;
  color: var(--dim);
  text-align: center;
  line-height: 1.45;
}

.nsrpg-skeleton {
  display: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.nsrpg-skeleton.is-active {
  display: block;
  animation: nsrpg-rise 0.35s ease both;
}

.nsrpg-sk {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(56, 189, 248, 0.14), rgba(139, 92, 246, 0.16), rgba(255, 255, 255, 0.06));
  background-size: 220% 100%;
  animation: nsrpg-shimmer 1.25s ease infinite;
  border-radius: 12px;
}

.nsrpg-skeleton__block {
  height: 112px;
  margin-bottom: 12px;
}

.nsrpg-skeleton__line {
  height: 14px;
  margin-bottom: 10px;
}

.nsrpg-skeleton__line--lg {
  width: 55%;
}

.nsrpg-skeleton__line--md {
  width: 35%;
}

.nsrpg-result {
  display: none;
  animation: nsrpg-rise 0.45s ease both;
}

.nsrpg-result.is-visible {
  display: block;
}

.nsrpg-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.nsrpg-cover {
  height: 96px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(56, 189, 248, 0.62), rgba(139, 92, 246, 0.46), rgba(236, 72, 153, 0.34));
}

.nsrpg-page {
  padding: clamp(16px, 3vw, 22px);
}

.nsrpg-head {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: -38px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.nsrpg-avatar {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #38bdf8 0%, #8b5cf6 58%, #ec4899 100%);
  color: #fff;
  font-size: 1.45rem;
  border: 4px solid #111827;
  box-shadow: 0 12px 24px rgba(2, 6, 23, 0.42);
}

.nsrpg .nsrpg-profile__name {
  color: var(--ink) !important;
  font-size: clamp(1.14rem, 2.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.nsrpg .nsrpg-profile__url {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.45;
}

.nsrpg-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 15px;
}

@container nsrpg (min-width: 560px) {
  .nsrpg-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.nsrpg-stat {
  padding: 13px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nsrpg-stat:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.24);
}

.nsrpg .nsrpg-stat__val {
  display: block;
  font-size: 1.13rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.nsrpg .nsrpg-stat__lbl {
  display: block;
  font-size: 0.75rem;
  color: var(--dim);
  font-weight: 700;
  margin-top: 3px;
  line-height: 1.3;
}

.nsrpg-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.nsrpg-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.25;
}

.nsrpg-chip i {
  color: #7dd3fc;
}

.nsrpg .nsrpg-section {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 5px 0 10px;
}

.nsrpg-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nsrpg-item {
  padding: 13px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 7px;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nsrpg-item:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 92, 246, 0.32);
}

.nsrpg-item--comment {
  border-left: 3px solid var(--accent);
}

.nsrpg .nsrpg-item__kind {
  font-size: 0.72rem;
  font-weight: 800;
  color: #a78bfa;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nsrpg .nsrpg-item__title {
  color: var(--ink) !important;
  font-size: 0.97rem;
  font-weight: 800;
  line-height: 1.35;
}

.nsrpg-item__text {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-wrap;
}

.nsrpg-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--dim);
  font-weight: 700;
  line-height: 1.35;
}

.nsrpg-empty {
  display: none;
  text-align: center;
  padding: 30px 12px;
  color: var(--muted);
  line-height: 1.55;
}

.nsrpg-empty.is-visible {
  display: block;
}

@media (min-width: 769px) {
  .nsrpg-tool {
    align-items: stretch;
  }

  .nsrpg .nsrpg-btn {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nsrpg {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .nsrpg-shell {
    padding: 24px 12px;
    gap: 14px;
  }

  .nsrpg-hero {
    padding: 20px 14px;
    border-radius: 18px;
  }

  .nsrpg .nsrpg-hero__title {
    font-size: clamp(1.38rem, 6vw, 1.75rem);
    line-height: 1.22;
  }

  .nsrpg .nsrpg-hero__lead {
    font-size: 0.94rem;
    margin-bottom: 18px;
  }

  .nsrpg-tool {
    flex-direction: column;
    gap: 11px;
    padding: 14px;
  }

  .nsrpg-field {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nsrpg .nsrpg-field__input {
    width: 100%;
    max-width: 100%;
    height: 52px;
    min-height: 52px;
    max-height: 56px;
    line-height: 52px;
    padding-right: 54px !important;
  }

  .nsrpg .nsrpg-btn {
    width: 100%;
    height: 50px;
    min-height: 50px;
    font-size: 0.96rem;
  }

  .nsrpg .nsrpg-btn--sm {
    width: auto;
    height: 38px;
    min-height: 38px;
    font-size: 0.8rem !important;
  }

  .nsrpg-head {
    align-items: flex-end;
  }
}

@media (max-width: 480px) {
  .nsrpg-shell {
    padding: 18px 10px;
  }

  .nsrpg-brand {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 1.18rem;
  }

  .nsrpg .nsrpg-hero__title {
    font-size: 1.38rem;
  }

  .nsrpg-tool {
    border-radius: 15px;
  }

  .nsrpg .nsrpg-field__input {
    height: 50px;
    min-height: 50px;
    max-height: 54px;
    line-height: 50px;
    font-size: 16px;
  }

  .nsrpg .nsrpg-field__paste {
    width: 38px;
    height: 38px;
  }

  .nsrpg-cover {
    height: 86px;
  }

  .nsrpg-page {
    padding: 15px;
  }

  .nsrpg-head {
    gap: 10px;
    margin-top: -34px;
  }

  .nsrpg-avatar {
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }

  .nsrpg-stats {
    grid-template-columns: 1fr;
  }

  .nsrpg-chip {
    max-width: 100%;
  }
}

@keyframes nsrpg-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes nsrpg-shimmer {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}