@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");

.nsruv {width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -8px;
--ink: #f7f3ea; --muted: #b8ae9c; --dim: #8c8272;
  --panel: rgba(28, 22, 16, 0.9); --soft: rgba(255, 244, 230, 0.05);
  --line: rgba(255, 168, 56, 0.28); --accent: #ff9a2e; --accent-soft: rgba(255, 154, 46, 0.16);
  --cool: #3ecfbf; --cool-deep: #259e91; --danger: #ff6b7a; --ok: #3dd68c;
  --radius: 18px; --shadow: 0 18px 42px rgba(12, 6, 2, 0.4);
  --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(255, 154, 46, 0.26), transparent 58%),
    radial-gradient(ellipse 55% 40% at 94% 6%, rgba(62, 207, 191, 0.12), transparent 52%),
    linear-gradient(158deg, #15110c 0%, #231a12 45%, #2d2116 100%);
  position: relative; isolation: isolate; overflow-x: hidden !important; overflow-wrap: anywhere;
}
.nsruv *, .nsruv *::before, .nsruv *::after { box-sizing: border-box; }
.nsruv h3 { color: var(--ink) !important; }
.nsruv h2 { color: var(--ink) !important; }
.nsruv :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; }
.nsruv :where(ul,ol) { list-style: none; }
.nsruv img, .nsruv video { max-width: 100%; height: auto; display: block; border: 0; }
.nsruv a { color: var(--cool); text-decoration: none; }
.nsruv a:hover { text-decoration: underline; }
.nsruv-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: nsruv; }
.nsruv-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: nsruv-rise .45s ease both;
}
.nsruv-brand {
  width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 16px; display: inline-flex;
  align-items: center; justify-content: center; color: #1a1208; font-size: 1.4rem;
  background: linear-gradient(145deg, #ffb14a, #ff8a1a);
  box-shadow: 0 10px 24px rgba(255, 154, 46, .35);
}
.nsruv .nsruv-hero__title {color:var(--ink)!important; font-size: clamp(1.35rem, 5vw, 2rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: 8px; }
.nsruv-hero__mark { color: var(--accent); background-image: linear-gradient(90deg, var(--accent), #ffc26a); background-position: 0 100%; background-repeat: no-repeat; background-size: 100% 3px; padding-bottom: 2px; }
.nsruv .nsruv-hero__lead { max-width: 36rem; margin: 0 auto 20px; color: var(--muted); font-size: clamp(.9rem, 2.4vw, 1rem); }
.nsruv-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); }
.nsruv .nsruv-tool__label { font-size: .86rem; font-weight: 600; color: var(--muted); }
.nsruv-field { position: relative; display: flex; align-items: center; }
.nsruv .nsruv-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(10,8,5,.55) !important;
  color: var(--ink) !important; font: 500 16px var(--font); outline: none;
}
.nsruv .nsruv-field__input:focus { border-color: rgba(255,154,46,.55) !important; box-shadow: 0 0 0 3px var(--accent-soft); }
.nsruv .nsruv-field__input::placeholder { color: var(--dim); }
.nsruv .nsruv-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;
}
.nsruv .nsruv-field__paste:hover { color: var(--accent) !important; background: var(--accent-soft) !important; }
.nsruv .nsruv-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;
}
.nsruv .nsruv-btn--primary { background: linear-gradient(135deg, #ff9a2e, #ff7a14) !important; color: #1a1208 !important; box-shadow: 0 10px 22px rgba(255,154,46,.32); }
.nsruv .nsruv-btn--primary:hover { transform: translateY(-1px); }
.nsruv .nsruv-btn:disabled { opacity: .55; cursor: wait; transform: none !important; }
.nsruv .nsruv-btn--ghost { background: rgba(255,255,255,.06) !important; color: var(--ink) !important; border: 1px solid rgba(255,255,255,.12) !important; }
.nsruv .nsruv-btn--sm { height: 38px; font-size: .82rem !important; width: auto; padding: 0 12px !important; flex: 1 1 auto; }
.nsruv-alert { display: none; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 10px; font-size: .88rem; font-weight: 500; }
.nsruv-alert.is-visible { display: flex; }
.nsruv-alert--error { background: rgba(255,107,122,.12); border: 1px solid rgba(255,107,122,.35); color: #ffb4bc; }
.nsruv-alert--ok { background: rgba(61,214,140,.12); border: 1px solid rgba(61,214,140,.35); color: #9aecc0; }
.nsruv-hint { font-size: .8rem; color: var(--dim); text-align: center; }
.nsruv-skeleton { display: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); }
.nsruv-skeleton.is-active { display: block; animation: nsruv-rise .35s ease both; }
.nsruv-sk { background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,168,56,.14), rgba(255,255,255,.06)); background-size: 200% 100%; animation: nsruv-shimmer 1.2s ease infinite; border-radius: 10px; }
.nsruv-skeleton__block { height: 90px; margin-bottom: 12px; }
.nsruv-skeleton__line { height: 14px; margin-bottom: 10px; }
.nsruv-skeleton__line--lg { width: 60%; } .nsruv-skeleton__line--md { width: 40%; }
.nsruv-result { display: none; animation: nsruv-rise .45s ease both; }
.nsruv-result.is-visible { display: block; }
.nsruv-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(14px, 3vw, 20px); }
.nsruv .nsruv-profile__name {color:var(--ink)!important; font-size: clamp(1.2rem, 3.4vw, 1.55rem); font-weight: 800; letter-spacing: -.02em; }
.nsruv-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.nsruv-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; }
.nsruv-chip i { color: var(--accent); }
.nsruv-chip--accent { background: var(--accent-soft); border-color: rgba(255,154,46,.35); color: #ffe0b0; }
.nsruv-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.nsruv-tabs__btn {
  flex: 1; height: 42px; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 10px;
  background: rgba(255,255,255,.04) !important; color: var(--muted) !important; font: 700 .88rem var(--font); cursor: pointer;
}
.nsruv-tabs__btn.is-active { background: var(--accent-soft) !important; border-color: rgba(255,154,46,.4) !important; color: var(--ink) !important; }
.nsruv-pane { display: none; }
.nsruv-pane.is-active { display: block; }
.nsruv-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
@container nsruv (min-width: 680px) { .nsruv-list { grid-template-columns: 1fr 1fr; } }
.nsruv-card { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.nsruv-card:hover { border-color: rgba(255,154,46,.35); }
.nsruv .nsruv-card__title {color: var(--ink) !important; font-size: .98rem; font-weight: 700; line-height: 1.35; }
.nsruv-card__text { color: var(--muted); font-size: .86rem; line-height: 1.5; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nsruv-card__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .75rem; color: var(--dim); font-weight: 600; }
.nsruv-card__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.nsruv-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 10px; background: #0a0805; }
.nsruv-empty { display: none; text-align: center; padding: 28px 12px; color: var(--muted); }
.nsruv-empty.is-visible { display: block; }
.nsruv-empty i { display: block; font-size: 1.8rem; margin-bottom: 8px; opacity: .45; color: var(--accent); }
@keyframes nsruv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes nsruv-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* --- Codex CSS updates --- */
.nsruv {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -8px;
  --ink: #fff8f3;
  --muted: #d4c7bd;
  --dim: #9d8f84;
  --panel: rgba(24, 18, 26, 0.78);
  --panel-strong: rgba(31, 23, 35, 0.9);
  --soft: rgba(255, 255, 255, 0.075);
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 148, 96, 0.36);
  --accent: #ff7a59;
  --accent-2: #ffb65c;
  --accent-soft: rgba(255, 122, 89, 0.18);
  --cool: #6ee7d8;
  --cool-deep: #28b9a9;
  --danger: #ff6478;
  --ok: #43d18f;
  --radius: 18px;
  --shadow: 0 24px 70px rgba(8, 4, 15, 0.42);
  --shadow-soft: 0 14px 32px rgba(8, 4, 15, 0.24);
  --focus: 0 0 0 4px rgba(255, 122, 89, 0.18);
  --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 80% 56% at 8% -8%, rgba(255, 122, 89, 0.34), transparent 58%),
    radial-gradient(ellipse 58% 42% at 94% 2%, rgba(110, 231, 216, 0.2), transparent 56%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(255, 182, 92, 0.14), transparent 60%),
    linear-gradient(145deg, #120d18 0%, #221728 44%, #2a1d21 100%);
  position: relative;
  isolation: isolate;
  overflow-x: hidden !important;
  overflow-wrap: anywhere;
}

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

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

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

.nsruv :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;
}

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

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

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

.nsruv a:hover {
  color: #9ff5eb;
  text-decoration: underline;
}

.nsruv .fa-solid,
.nsruv .fa-regular,
.nsruv .fa-clipboard,
.nsruv .fa-comments,
.nsruv .fa-file-lines,
.nsruv .fa-magnifying-glass,
.nsruv .fa-user {
  display: inline-block;
  width: 1em;
  min-width: 1em;
  height: 1em;
  line-height: 1;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  text-align: center;
  flex: 0 0 auto;
}

.nsruv .fa-solid,
.nsruv .fa-clipboard,
.nsruv .fa-comments,
.nsruv .fa-file-lines,
.nsruv .fa-magnifying-glass,
.nsruv .fa-user {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif;
  font-weight: 900;
}

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

.nsruv-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: nsruv;
}

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

.nsruv-brand {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #21100d;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--accent-2), var(--accent), #ef5fa4);
  box-shadow: 0 14px 28px rgba(255, 122, 89, 0.34);
}

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

.nsruv-hero__mark {
  color: #ffd0ad;
  background-image: linear-gradient(90deg, var(--accent), var(--accent-2));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 3px;
  padding-bottom: 2px;
}

.nsruv .nsruv-hero__lead {
  max-width: 42rem;
  margin: 0 auto 20px;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.6vw, 1.05rem);
  line-height: 1.6;
  text-transform: capitalize !important;
}

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

.nsruv .nsruv-tool__label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0;
}

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

.nsruv .nsruv-field__input {
  width: 100%;
  max-width: 100%;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  padding: 0 54px 0 16px !important;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  background: rgba(10, 8, 14, 0.62) !important;
  color: var(--ink) !important;
  font: 600 16px var(--font);
  line-height: 54px;
  outline: none;
  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;
  resize: none;
  overflow: hidden;
}

.nsruv .nsruv-field__input:focus {
  border-color: rgba(255, 122, 89, 0.75) !important;
  box-shadow: var(--focus), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  background: rgba(10, 8, 14, 0.78) !important;
}

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

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

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

.nsruv .nsruv-field__paste:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nsruv .nsruv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  height: 50px;
  min-height: 50px;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 14px;
  font: 800 0.96rem var(--font);
  letter-spacing: 0;
  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;
}

.nsruv .nsruv-btn--primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent), #ef5fa4) !important;
  color: #21100d !important;
  box-shadow: 0 14px 28px rgba(255, 122, 89, 0.32);
}

.nsruv .nsruv-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(255, 122, 89, 0.4);
}

.nsruv .nsruv-btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(255, 122, 89, 0.28);
}

.nsruv .nsruv-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus), 0 14px 28px rgba(255, 122, 89, 0.24);
}

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

.nsruv .nsruv-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;
}

.nsruv .nsruv-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.11) !important;
  border-color: rgba(255, 122, 89, 0.34) !important;
  transform: translateY(-1px);
}

.nsruv .nsruv-btn--sm {
  height: 40px;
  min-height: 40px;
  font-size: 0.84rem !important;
  width: auto;
  padding: 0 13px !important;
  flex: 1 1 auto;
  border-radius: 12px;
}

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

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

.nsruv-alert--error {
  background: rgba(255, 100, 120, 0.14);
  border: 1px solid rgba(255, 100, 120, 0.38);
  color: #ffc2ca;
}

.nsruv-alert--ok {
  background: rgba(67, 209, 143, 0.14);
  border: 1px solid rgba(67, 209, 143, 0.38);
  color: #a7f1cc;
}

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

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

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

.nsruv-sk {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 122, 89, 0.18), rgba(255, 255, 255, 0.07));
  background-size: 200% 100%;
  animation: nsruv-shimmer 1.2s ease infinite;
  border-radius: 12px;
}

.nsruv-skeleton__block {
  height: 92px;
  margin-bottom: 12px;
}

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

.nsruv-skeleton__line--lg {
  width: 60%;
}

.nsruv-skeleton__line--md {
  width: 40%;
}

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

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

.nsruv-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(16px, 3vw, 22px);
  backdrop-filter: blur(16px);
}

.nsruv .nsruv-profile__name {
  color: var(--ink) !important;
  font-size: clamp(1.14rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: capitalize !important;
}

.nsruv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.nsruv-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

.nsruv-chip i {
  color: var(--accent-2);
}

.nsruv-chip--accent {
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.22), rgba(255, 182, 92, 0.13));
  border-color: rgba(255, 122, 89, 0.38);
  color: #ffe0c2;
}

.nsruv-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  min-width: 0;
}

.nsruv-tabs__btn {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.13) !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06) !important;
  color: var(--muted) !important;
  font: 800 0.88rem var(--font);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nsruv-tabs__btn:hover {
  color: var(--ink) !important;
  border-color: rgba(255, 122, 89, 0.3) !important;
}

.nsruv-tabs__btn.is-active {
  background: linear-gradient(135deg, rgba(255, 122, 89, 0.24), rgba(255, 182, 92, 0.13)) !important;
  border-color: rgba(255, 122, 89, 0.48) !important;
  color: var(--ink) !important;
}

.nsruv-tabs__btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.nsruv-pane {
  display: none;
}

.nsruv-pane.is-active {
  display: block;
}

.nsruv-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@container nsruv (min-width: 680px) {
  .nsruv-list {
    grid-template-columns: 1fr 1fr;
  }
}

.nsruv-card {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.11);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  box-shadow: 0 10px 26px rgba(8, 4, 15, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nsruv-card:hover {
  border-color: rgba(255, 122, 89, 0.4);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(8, 4, 15, 0.24);
}

.nsruv .nsruv-card__title {
  color: var(--ink) !important;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

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

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

.nsruv-card__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.nsruv-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  background: #0a0810;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nsruv-empty {
  display: none;
  text-align: center;
  padding: 30px 14px;
  color: var(--muted);
}

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

.nsruv-empty i {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 8px;
  opacity: 0.62;
  color: var(--accent-2);
}

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

  .nsruv-field {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .nsruv .nsruv-btn {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }
}

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

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

  .nsruv-hero {
    padding: 18px 14px;
    border-radius: 16px;
  }

  .nsruv-brand {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.12rem;
  }

  .nsruv .nsruv-hero__title {
    font-size: clamp(1.42rem, 6vw, 1.85rem);
    line-height: 1.22;
  }

  .nsruv .nsruv-hero__lead {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .nsruv-tool {
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    padding: 14px;
  }

  .nsruv-field {
    width: 100%;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    flex: 0 0 auto;
  }

  .nsruv .nsruv-field__input {
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    line-height: 52px;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .nsruv .nsruv-btn {
    width: 100%;
    max-width: 520px;
    height: 50px;
    min-height: 50px;
    margin-left: auto;
    margin-right: auto;
  }

  .nsruv-tabs {
    flex-direction: column;
  }

  .nsruv-tabs__btn {
    width: 100%;
  }

  .nsruv-card__actions {
    flex-direction: column;
  }

  .nsruv .nsruv-btn--sm {
    width: 100%;
    flex: 0 0 auto;
  }
}

@media (max-width: 420px) {
  .nsruv-shell {
    padding: 20px 12px;
  }

  .nsruv-hero,
  .nsruv-panel,
  .nsruv-skeleton {
    border-radius: 15px;
  }

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

  .nsruv .nsruv-hero__lead {
    font-size: 0.92rem;
  }

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

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

  .nsruv .nsruv-btn {
    height: 48px;
    min-height: 48px;
    font-size: 0.92rem;
  }

  .nsruv-panel {
    padding: 14px;
  }
}

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

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

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

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