/* ===== Новости (Spotlight) ===== */
.nw-wrap{ --n-acc:#29a3ab; --n-acc2:#5fe3ff; --n-blue:#2b7fff; --n-card:rgba(255,255,255,.035); --n-bd:rgba(255,255,255,.06); --n-hi:rgba(41,163,171,.45); --n-head:#eafcff; --n-muted:#9fb2c0; display:block; }
.nw-wrap *{ box-sizing:border-box; }

/* hero */
.nw-hero{ display:flex; align-items:center; gap:18px; background:var(--n-card); border:1px solid var(--n-bd); border-radius:20px; padding:26px 30px; margin-top:14px; box-shadow:0 18px 50px rgba(0,0,0,.3); }
.nw-hero-ic{ width:64px; height:64px; flex-shrink:0; border-radius:18px; display:flex; align-items:center; justify-content:center; background:linear-gradient(120deg,var(--n-acc),var(--n-blue)); box-shadow:0 10px 30px rgba(43,127,255,.35); }
.nw-hero-ic svg{ width:32px; height:32px; fill:#fff; }
.nw-hero-tx{ flex:1; min-width:0; }
.nw-eyebrow{ display:inline-block; font-size:13px; font-weight:800; letter-spacing:.18em; text-transform:uppercase; background:linear-gradient(120deg,var(--n-acc2),var(--n-blue)); -webkit-background-clip:text; background-clip:text; color:transparent; margin-bottom:6px; }
.nw-title{ margin:0; font-family:var(--font-family-1,"Unbounded"),sans-serif; font-size:clamp(26px,3.4vw,40px); font-weight:800; color:var(--n-head); letter-spacing:-.01em; }
.nw-title span{ background:linear-gradient(120deg,var(--n-acc2),var(--n-blue)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.nw-sub{ margin:6px 0 0; color:var(--n-muted); font-size:15px; }
.nw-edit-open{ margin-left:auto; display:inline-flex; align-items:center; gap:8px; padding:11px 18px; border-radius:12px; cursor:pointer; background:rgba(41,163,171,.12); border:1px solid rgba(41,163,171,.3); color:#5fe3ff; font-weight:600; font-size:14px; transition:.2s; }
.nw-edit-open:hover{ background:rgba(41,163,171,.22); } .nw-edit-open svg{ width:15px; height:15px; fill:currentColor; }

/* filters */
.nw-filters{ display:flex; gap:8px; flex-wrap:wrap; margin:22px 0 18px; }
.nw-tab{ padding:10px 18px; border-radius:12px; background:var(--n-card); border:1px solid var(--n-bd); color:var(--n-muted); font-size:14px; font-weight:600; cursor:pointer; transition:.2s; }
.nw-tab:hover{ color:var(--n-head); border-color:var(--n-hi); }
.nw-tab.active{ background:linear-gradient(120deg,var(--n-acc),var(--n-blue)); color:#fff; border-color:transparent; box-shadow:0 6px 18px rgba(43,127,255,.3); }

/* grid */
.nw-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:18px; }
.nw-card{ display:flex; flex-direction:column; background:var(--n-card); border:1px solid var(--n-bd); border-radius:20px; overflow:hidden; cursor:pointer; transition:transform .25s, border-color .25s, box-shadow .25s; animation:nwIn .4s ease; }
.nw-card:hover{ transform:translateY(-5px); border-color:var(--n-hi); box-shadow:0 22px 55px rgba(0,0,0,.4); }
.nw-pinned{ border-color:rgba(244,202,128,.4); }
.nw-cover{ position:relative; height:150px; background-size:cover; background-position:center; }
.nw-cover.nw-cat-news{ background-color:rgba(41,163,171,.18); background-image:linear-gradient(135deg,rgba(41,163,171,.3),rgba(43,127,255,.2)); }
.nw-cover.nw-cat-update{ background-color:rgba(43,127,255,.18); background-image:linear-gradient(135deg,rgba(43,127,255,.3),rgba(41,163,171,.2)); }
.nw-cover.nw-cat-tournament{ background-image:linear-gradient(135deg,rgba(244,202,128,.3),rgba(224,168,58,.18)); }
.nw-cover.nw-cat-sale{ background-image:linear-gradient(135deg,rgba(61,220,132,.28),rgba(41,163,171,.18)); }
.nw-cover::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(17,22,31,0) 40%,rgba(17,22,31,.7)); }
.nw-pin{ position:absolute; top:12px; left:12px; z-index:2; display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:999px; font-size:11px; font-weight:800; background:rgba(244,202,128,.92); color:#1a1206; }
.nw-pin svg{ width:12px; height:12px; fill:#1a1206; }
.nw-badge{ position:absolute; bottom:12px; left:14px; z-index:2; display:inline-flex; align-items:center; gap:6px; padding:5px 11px; border-radius:999px; font-size:12px; font-weight:700; background:rgba(10,14,22,.65); backdrop-filter:blur(6px); }
.nw-badge svg{ width:13px; height:13px; fill:currentColor; }
.nw-badge-news{ color:#5fe3ff; } .nw-badge-update{ color:#6aa6ff; } .nw-badge-tournament{ color:#f4ca80; } .nw-badge-sale{ color:#3ddc84; }
.nw-body{ display:flex; flex-direction:column; flex:1; padding:18px 20px 20px; }
.nw-date{ display:flex; align-items:center; gap:7px; font-size:12px; color:#5e7585; margin-bottom:10px; }
.nw-date svg{ width:13px; height:13px; fill:#5e7585; }
.nw-ct{ font-family:var(--font-family-1,"Unbounded"),sans-serif; font-size:17px; font-weight:700; color:var(--n-head); margin:0 0 8px; line-height:1.25; }
.nw-ex{ margin:0 0 16px; font-size:13.5px; color:var(--n-muted); line-height:1.55; flex:1; }
.nw-read{ align-self:flex-start; display:inline-flex; align-items:center; gap:6px; padding:9px 16px; border-radius:11px; border:1px solid rgba(41,163,171,.3); background:rgba(41,163,171,.1); color:#5fe3ff; font-weight:700; font-size:13px; cursor:pointer; transition:.2s; }
.nw-read:hover{ background:rgba(41,163,171,.2); gap:9px; } .nw-read svg{ width:14px; height:14px; fill:currentColor; }
.nw-empty{ display:flex; flex-direction:column; align-items:center; gap:12px; padding:50px 20px; color:#5e7585; } .nw-empty svg{ width:40px; height:40px; fill:#3a4a58; }
@keyframes nwIn{ from{ opacity:0; transform:translateY(16px); } to{ opacity:1; transform:none; } }

/* модалка статьи */
.nw-modal{ position:fixed; inset:0; z-index:9998; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(5,8,14,.62); backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px); opacity:0; visibility:hidden; transition:.25s; }
.nw-modal.open{ opacity:1; visibility:visible; }
.nw-modal-box{ position:relative; width:100%; max-width:600px; background:#11161f; border:1px solid rgba(255,255,255,.08); border-radius:22px; overflow:hidden auto; box-shadow:0 40px 100px rgba(0,0,0,.6); transform:translateY(14px) scale(.97); transition:transform .3s cubic-bezier(.2,.9,.3,1); max-height:90vh; }
.nw-modal.open .nw-modal-box{ transform:none; }
.nw-modal-x{ position:absolute; top:14px; right:14px; z-index:4; width:34px; height:34px; border-radius:50%; border:none; cursor:pointer; background:rgba(0,0,0,.4); color:#fff; font-size:20px; transition:.2s; }
.nw-modal-x:hover{ background:rgba(0,0,0,.65); transform:rotate(90deg); }
.nw-modal-cover{ height:0; background-size:cover; background-position:center; transition:height .25s; }
.nw-modal-cover.nw-has{ height:200px; }
.nw-modal-content{ padding:24px; }
.nw-modal-meta{ display:flex; align-items:center; gap:12px; margin-bottom:12px; }
.nw-modal-meta .nw-badge{ position:static; }
.nw-modal-title{ font-family:var(--font-family-1,"Unbounded"),sans-serif; font-size:24px; font-weight:800; color:#fff; margin:0 0 14px; line-height:1.2; }
.nw-modal-text{ font-size:15px; color:#cdd8e0; line-height:1.7; }

/* редактор */
.nw-se-head{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin:18px 0 14px; }
.nw-se-title{ font-family:var(--font-family-1,"Unbounded"),sans-serif; font-size:22px; font-weight:800; color:#eafcff; }
.nw-se-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.nw-se-btn{ display:inline-flex; align-items:center; gap:7px; padding:10px 18px; border-radius:11px; cursor:pointer; font-weight:600; font-size:14px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); color:#e7edf2; transition:.2s; }
.nw-se-btn:hover{ background:rgba(255,255,255,.08); } .nw-se-btn svg{ width:15px; height:15px; fill:currentColor; }
.nw-se-primary{ background:linear-gradient(120deg,#29a3ab,#2b7fff); border:none; color:#fff; box-shadow:0 6px 20px rgba(43,127,255,.3); }
.nw-se-list{ display:flex; flex-direction:column; gap:12px; }
.nw-se-row{ background:rgba(255,255,255,.035); border:1px solid rgba(255,255,255,.06); border-radius:16px; padding:16px 18px; }
.nw-se-rh{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.nw-se-title2{ font-family:var(--font-family-1,"Unbounded"),sans-serif; font-weight:700; color:#eafcff; }
.nw-se-del{ width:34px; height:34px; border-radius:10px; cursor:pointer; display:flex; align-items:center; justify-content:center; background:rgba(255,80,80,.1); border:1px solid rgba(255,80,80,.3); color:#ff8585; }
.nw-se-del svg{ width:15px; height:15px; fill:currentColor; }
.nw-se-imgs{ margin-bottom:14px; }
.nw-se-up span{ display:block; font-size:12px; font-weight:600; color:#9fb2c0; margin-bottom:6px; }
.nw-se-prev{ width:100%; max-width:280px; height:90px; border-radius:12px; background-color:rgba(0,0,0,.25); background-size:cover; background-position:center; background-repeat:no-repeat; border:1px dashed rgba(255,255,255,.14); margin-bottom:8px; }
.nw-se-prev.nw-has{ border-style:solid; border-color:rgba(41,163,171,.45); }
.nw-se-upbtn{ display:inline-flex; align-items:center; gap:6px; padding:8px 14px; border-radius:10px; cursor:pointer; font-size:12px; font-weight:600; background:rgba(41,163,171,.12); border:1px solid rgba(41,163,171,.3); color:#5fe3ff; transition:.2s; }
.nw-se-upbtn:hover{ background:rgba(41,163,171,.22); } .nw-se-upbtn svg{ width:14px; height:14px; fill:currentColor; }
.nw-se-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(170px,1fr)); gap:12px; }
.nw-se-row label{ display:flex; flex-direction:column; gap:6px; font-size:12px; color:#9fb2c0; }
.nw-se-row label > span{ font-weight:600; }
.nw-se-row input, .nw-se-row select, .nw-se-row textarea{ background:rgba(0,0,0,.22); border:1px solid rgba(255,255,255,.07); border-radius:10px; padding:9px 12px; color:#e7edf2; font-size:14px; outline:none; font-family:Inter,sans-serif; }
.nw-se-row input:focus, .nw-se-row select:focus, .nw-se-row textarea:focus{ border-color:rgba(41,163,171,.5); }
.nw-se-row textarea{ resize:vertical; line-height:1.5; }
.nw-se-chk{ flex-direction:row !important; align-items:center; gap:9px; }
.nw-se-chk input{ width:18px; height:18px; accent-color:#29a3ab; }
.nw-se-full{ margin-top:12px; }
@media (max-width:560px){ .nw-hero{ flex-direction:column; text-align:center; } .nw-grid{ grid-template-columns:1fr; } }
