/* لیست سرویس‌ها — بلوک novaboost/services (رنگ‌ها از متغیرهای پوسته NovaBoost) */
.nbsv { --sv-accent: #00e0ff; max-width: 1180px; margin-inline: auto; }
.nbsv > * + * { margin-top: 26px; }
.nbsv [hidden] { display: none !important; }

/* نوار جستجو + دسته‌ها: زیر هدر می‌چسبد */
.nbsv-bar { position: sticky; top: 72px; z-index: 20; padding: 14px 0 12px; background: linear-gradient(rgba(6, 7, 13, .97) 75%, rgba(6, 7, 13, 0)); }
body.admin-bar .nbsv-bar { top: 104px; }
.nbsv-search { position: relative; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px; border-radius: 18px;
  background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--nb-stroke, rgba(255, 255, 255, .08)); transition: box-shadow .2s, background .2s; }
.nbsv-search:focus-within { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(0, 224, 255, .55), 0 0 0 4px rgba(0, 224, 255, .12); }
.nbsv-search svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--nb-muted, #8a90b6); stroke-width: 2; stroke-linecap: round; }
.nbsv-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--nb-text, #eef0ff); font: inherit; font-size: 17px; }
.nbsv-search input::placeholder { color: var(--nb-muted, #8a90b6); }
.nbsv-search input::-webkit-search-cancel-button { filter: invert(1) opacity(.6); cursor: pointer; }
.nbsv-found { flex: none; font-size: 13px; color: var(--nb-muted, #8a90b6); white-space: nowrap; }

.nbsv-chips { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.nbsv-chips::-webkit-scrollbar { display: none; }
.nbsv-chip { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 0; border-radius: 99px; cursor: pointer; font: inherit; font-size: 14px;
  color: var(--nb-soft, #c3c8ea); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--nb-stroke, rgba(255, 255, 255, .08)); transition: background .2s, color .2s, box-shadow .2s; }
.nbsv-chip span { font-size: 12px; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, .08); color: var(--nb-muted, #8a90b6); }
.nbsv-chip:hover { color: var(--nb-text, #eef0ff); background: rgba(255, 255, 255, .08); }
.nbsv-chip.on { color: #fff; background: linear-gradient(120deg, #00c6ff, #7b5cff); box-shadow: 0 8px 24px rgba(123, 92, 255, .35); }
.nbsv-chip.on span { background: rgba(255, 255, 255, .22); color: #fff; }

.nbsv-legend { margin: 6px 0 0; font-size: 13.5px; color: var(--nb-muted, #8a90b6); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.nbsv-legend > span { display: inline-flex; align-items: center; gap: 6px; }

/* هر دسته رنگ خودش را دارد */
.nbsv-c-game { --sv-accent: #00e0ff; }
.nbsv-c-launcher { --sv-accent: #7b5cff; }
.nbsv-c-console { --sv-accent: #3d8bff; }
.nbsv-c-ai { --sv-accent: #ff3dcb; }
.nbsv-c-aidev { --sv-accent: #2af5a5; }
.nbsv-c-aimedia { --sv-accent: #ffb547; }
.nbsv-c-tools { --sv-accent: #5ee7ff; }

.nbsv-sec { scroll-margin-top: 190px; }
.nbsv-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 22px; }
.nbsv-h::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sv-accent); box-shadow: 0 0 14px var(--sv-accent); }
.nbsv-n { font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 99px; color: var(--nb-muted, #8a90b6); background: rgba(255, 255, 255, .06); }

.nbsv-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.nbsv-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px var(--nb-stroke, rgba(255, 255, 255, .08)); transition: transform .2s, box-shadow .2s, background .2s; }
.nbsv-item:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--sv-accent) 55%, transparent), 0 12px 30px rgba(0, 0, 0, .3); }
.nbsv-av { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 17px; color: #fff; direction: ltr;
  background: linear-gradient(135deg, var(--sv-accent), color-mix(in srgb, var(--sv-accent) 35%, #1a1440)); box-shadow: 0 6px 16px color-mix(in srgb, var(--sv-accent) 30%, transparent); }
.nbsv-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.45; }
.nbsv-txt b { font-size: 14.5px; font-weight: 700; color: var(--nb-text, #eef0ff); direction: ltr; text-align: right; unicode-bidi: plaintext; overflow-wrap: anywhere; }
.nbsv-txt small { font-size: 12.5px; color: var(--nb-muted, #8a90b6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nbsv-tags { flex: none; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }
.nbsv-tag { display: inline-block; padding: 1px 8px; border-radius: 7px; font-size: 11px; font-weight: 700; line-height: 1.7; }
.nbsv-tag.app { color: #2af5a5; background: rgba(42, 245, 165, .12); }
.nbsv-tag.dns { color: #00e0ff; background: rgba(0, 224, 255, .12); }

.nbsv-item mark { background: none; color: var(--sv-accent); }
.nbsv-empty { text-align: center; padding: 40px 20px; border-radius: 20px; background: rgba(255, 255, 255, .035); box-shadow: inset 0 0 0 1px var(--nb-stroke, rgba(255, 255, 255, .08)); }
.nbsv-empty b { font-size: 18px; }
.nbsv-empty p { margin: 8px auto 0; max-width: 520px; color: var(--nb-muted, #8a90b6); }
.nbsv-more { font-size: 14px; color: var(--nb-muted, #8a90b6); text-align: center; }

/* فرم پیشنهاد بازی */
.nbgr { scroll-margin-top: 100px; margin-top: 48px !important; padding: 28px; border-radius: 24px;
  background: radial-gradient(500px 260px at 100% 0, rgba(123, 92, 255, .16), transparent 70%), radial-gradient(420px 240px at 0 100%, rgba(0, 224, 255, .10), transparent 70%), rgba(255, 255, 255, .035);
  box-shadow: inset 0 0 0 1px rgba(0, 224, 255, .22); }
.nbgr.flash { animation: nbgr-flash 1.2s ease; }
@keyframes nbgr-flash { 30% { box-shadow: inset 0 0 0 2px rgba(0, 224, 255, .9), 0 0 40px rgba(0, 224, 255, .25); } }
.nbgr-head { display: flex; gap: 16px; align-items: flex-start; }
.nbgr-ic { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, #00c6ff, #7b5cff); box-shadow: 0 10px 26px rgba(123, 92, 255, .35); }
.nbgr-ic svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nbgr-head h2 { margin: 0; font-size: 22px; }
.nbgr-head p { margin: 6px 0 0; color: var(--nb-muted, #8a90b6); font-size: 14.5px; line-height: 1.9; }
.nbgr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 22px; }
.nbgr-wide, .nbgr-form fieldset { grid-column: 1 / -1; }
.nbgr-f { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.nbgr-f > span, .nbgr-f legend { font-size: 14px; font-weight: 600; color: var(--nb-soft, #c3c8ea); padding: 0; margin-bottom: 8px; }
.nbgr-f legend { margin-bottom: 10px; }
.nbgr-f i { font-style: normal; color: #ff3dcb; }
.nbgr-f small { font-weight: 400; color: var(--nb-muted, #8a90b6); }
.nbgr-f input, .nbgr-f textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 0; border-radius: 14px; outline: 0; font: inherit; font-size: 16px; color: var(--nb-text, #eef0ff);
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--nb-stroke, rgba(255, 255, 255, .1)); transition: box-shadow .2s, background .2s; resize: vertical; }
.nbgr-f input::placeholder, .nbgr-f textarea::placeholder { color: var(--nb-muted, #8a90b6); opacity: .8; }
.nbgr-f input[dir="ltr"]::placeholder { text-align: right; }
.nbgr-f input:focus, .nbgr-f textarea:focus { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(0, 224, 255, .55), 0 0 0 4px rgba(0, 224, 255, .12); }
.nbgr-f .bad { box-shadow: inset 0 0 0 1px rgba(255, 90, 120, .8) !important; }
.nbgr-plats { display: flex; flex-wrap: wrap; gap: 8px; }
.nbgr-plats.bad { border-radius: 14px; outline: 1px solid rgba(255, 90, 120, .8); outline-offset: 4px; }
.nbgr-plat { cursor: pointer; }
.nbgr-plat input { position: absolute; opacity: 0; pointer-events: none; }
.nbgr-plat span { display: inline-block; padding: 9px 16px; border-radius: 99px; font-size: 14px; color: var(--nb-soft, #c3c8ea); background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px var(--nb-stroke, rgba(255, 255, 255, .1)); transition: background .2s, color .2s, box-shadow .2s; }
.nbgr-plat:hover span { color: #fff; background: rgba(255, 255, 255, .08); }
.nbgr-plat input:checked + span { color: #fff; background: linear-gradient(120deg, #00c6ff, #7b5cff); box-shadow: 0 6px 18px rgba(123, 92, 255, .35); }
.nbgr-plat input:focus-visible + span { outline: 2px solid #00e0ff; outline-offset: 2px; }
.nbgr-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nbgr-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.nbgr-btn { padding: 13px 30px; border: 0; border-radius: 14px; cursor: pointer; font: inherit; font-size: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(90deg, #00c6ff, #7b5cff, #ff3dcb); box-shadow: 0 10px 26px rgba(123, 92, 255, .35); transition: transform .15s, opacity .2s; }
.nbgr-btn:hover { transform: translateY(-1px); }
.nbgr-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.nbsv-empty .nbsv-suggest { margin-top: 16px; padding: 10px 22px; font-size: 15px; }
.nbgr-msg { margin: 0; font-size: 14.5px; line-height: 1.8; }
.nbgr-msg.ok { color: #2af5a5; }
.nbgr-msg.err { color: #ff8095; }

@media (max-width: 600px) {
  .nbgr { padding: 20px 16px; border-radius: 20px; }
  .nbgr-head h2 { font-size: 19px; }
  .nbgr-ic { width: 44px; height: 44px; border-radius: 14px; }
  .nbgr-form { grid-template-columns: 1fr; }
  .nbgr-btn { width: 100%; }
  .nbsv-bar { top: 64px; padding-top: 10px; }
  .nbsv-search { height: 52px; padding: 0 14px; border-radius: 15px; }
  .nbsv-search input { font-size: 16px; }
  .nbsv-found { display: none; }
  .nbsv-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .nbsv-item { flex-wrap: wrap; gap: 8px; padding: 10px; }
  .nbsv-av { width: 34px; height: 34px; border-radius: 10px; font-size: 15px; }
  .nbsv-tags { flex-direction: row; width: 100%; }
  .nbsv-txt b { font-size: 13.5px; }
}
@media (max-width: 360px) { .nbsv-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .nbsv-item { transition: none; } }
