@import url("night-shift-fonts.css?v=20261117");

/* Night Shift: presentation only. No layout overrides for JS Masonry, collapse,
   map/player geometry, hidden controls, or administration pages. */
html body:is(.night-shift,.ig-section):not(.night-shift-off) {
  --ns-bg:#0c0e12; --ns-panel:#15191f; --ns-raised:#1c222a;
  --ns-text:#f1f4f1; --ns-muted:#a8b0b7; --ns-line:#303741;
  --ns-accent:#d1ff75; --ns-on:#18200d; --ns-violet:#b8adf2;
  --ig-accent:var(--ns-accent); --ig-line:var(--ns-line);
  --bg:var(--ns-bg); --surface:var(--ns-panel); --surface-soft:var(--ns-raised);
  --text:var(--ns-text); --text-soft:#c0c7ce; --text-faint:var(--ns-muted);
  --line:var(--ns-line); --line-strong:#46515d; --accent:var(--ns-accent); --accent-hover:#e0ffa5;
  --font-display:Manrope,Arial,sans-serif; --font-body:Onest,Arial,sans-serif;
  background:radial-gradient(ellipse 75% 450px at 12% 0, #222b2038, transparent),var(--ns-bg);
  color:var(--ns-text); font:400 15px/1.65 Onest,Arial,sans-serif;
  min-width:320px; color-scheme:dark; padding-bottom:0;
}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(h1,h2,h3,h4,h5,h6,.lead,.media-heading,.iron-card-title,.cloud-card-title,.card-title,.video-title-custom,.mini-title) {
  font-family:Manrope,Onest,Arial,sans-serif; font-weight:650; color:var(--ns-text); letter-spacing:-.025em;
}
html body:is(.night-shift,.ig-section):not(.night-shift-off) h1 {font-size:clamp(28px,3.1vw,44px);line-height:1.18;margin:22px 0 28px;overflow-wrap:anywhere}
html body:is(.night-shift,.ig-section):not(.night-shift-off) h2 {font-size:clamp(23px,2.2vw,30px);line-height:1.3;margin:32px 0 22px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) h3 {font-size:20px;line-height:1.4}
html body:is(.night-shift,.ig-section):not(.night-shift-off) a {color:var(--ns-accent);font-family:inherit;text-decoration:none;transition:color .2s,border-color .2s,background-color .2s}
html body:is(.night-shift,.ig-section):not(.night-shift-off) a:hover {color:#e3ffaf}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(a,button,input,select,textarea):focus-visible {outline:2px solid var(--ns-accent);outline-offset:4px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) ::selection {background:#d1ff7540;color:#fff}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.text-muted,small,.small,.hero-text,.video-meta,.card-meta,.mini-meta) {color:var(--ns-muted)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.text-success,.text-primary) {color:var(--ns-accent)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .text-danger {color:#ff969d}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .text-warning {color:#f6d68c}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(hr,.page-header,.seller-responses,#full-reviews) {border-color:var(--ns-line)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .page-header {margin:26px 0;padding-bottom:18px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.container,.ig-header .container) {width:100%;max-width:1320px;padding-left:28px;padding-right:28px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.container-fluid,.ig-fluid .container) {max-width:none;padding-left:28px;padding-right:28px}

/* Shop and independent modules share their existing navigation controls. */
html body:is(.night-shift,.ig-section):not(.night-shift-off) > :is(.navbar,.ig-header) {
  background:#101318f5;border:0;border-bottom:1px solid var(--ns-line);border-radius:0;
  box-shadow:0 10px 30px #00000018;margin-bottom:32px;font-family:Onest,Arial,sans-serif;
}
html body.night-shift.fixed-navbar {margin-top:calc(var(--ns-header-height,142px) + 30px)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.navbar-brand,.ig-brand) {height:auto;padding:14px 0;margin-right:24px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .navbar-brand {margin-left:0}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .navbar-brand img {margin-top:0!important;object-fit:contain}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.navbar-nav > li > a,.ig-links a) {
  color:#b8c0c6;font:500 12px/1.5 Onest,Arial,sans-serif;padding:25px 10px;
}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.navbar-nav > .active > a,.navbar-nav > li > a:hover,.ig-links a:hover,.ig-links .is-active) {background:transparent;color:var(--ns-accent)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.navbar-btn,.ig-header .ig-actions .btn) {margin-top:18px;margin-bottom:12px;padding:9px 12px;font:500 12px/1.5 Onest,Arial,sans-serif}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .navbar-toggle {margin-top:18px;border-color:var(--ns-line);border-radius:10px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.navbar-toggle .icon-bar,.ig-menu-toggle span) {background:var(--ns-text)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .navbar-collapse {border-color:var(--ns-line);box-shadow:none}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .ig-header-row {min-height:72px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .ig-menu-toggle {border-color:var(--ns-line);border-radius:10px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(#query,.ig-search) {padding-bottom:18px;margin-bottom:0}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(#query,.ig-search) .form-control {height:49px;background:#1b2027;border:1px solid #363e48;border-right:0;color:var(--ns-text);border-radius:13px 0 0 13px;padding:12px 18px;font:400 15px Onest,Arial,sans-serif;box-shadow:none}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(#query,.ig-search) .input-group-btn .btn {height:49px;min-width:62px;border-radius:0 13px 13px 0;font-size:16px;padding:10px 20px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(#query,.ig-search) input::placeholder {color:#9aa4ae;opacity:1}

/* Forms, dropdowns and state classes keep their original handlers and markup. */
html body:is(.night-shift,.ig-section):not(.night-shift-off) .btn {border-radius:10px;font:550 14px/1.5 Onest,Arial,sans-serif;padding:10px 16px;box-shadow:none;text-shadow:none;transition:background-color .2s,border-color .2s,color .2s}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.btn-primary,.btn-success,.iron-card-price,.mobile-buy-bar-btn) {background:var(--ns-accent);border-color:var(--ns-accent);color:var(--ns-on)!important}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.btn-primary,.btn-success,.iron-card-price,.mobile-buy-bar-btn):hover {background:#e0ffa5;border-color:#e0ffa5;color:var(--ns-on)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.btn-default,.btn-info,.btn-warning,#bookmarks-btn) {background:#1c222a;border:1px solid #3b444f;color:var(--ns-text)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.btn-default,.btn-info,.btn-warning,#bookmarks-btn):hover {background:#2a333e;color:var(--ns-text);border-color:#697782}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.btn-default.active,.btn-warning.bookmark,.iron-bookmark.active) {background:#d1ff7524;color:var(--ns-accent);border-color:#8dab52}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .btn-group > .btn {border-radius:0}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .btn-group > .btn:first-child {border-radius:10px 0 0 10px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .btn-group > .btn:last-child {border-radius:0 10px 10px 0}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.form-control,select,input[type=text],textarea) {background:#11151a;color:var(--ns-text);border-color:#3d4652;border-radius:9px;box-shadow:none}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .form-control:focus {border-color:var(--ns-accent);box-shadow:0 0 0 3px #d1ff7518}
html body:is(.night-shift,.ig-section):not(.night-shift-off) input[type=checkbox] {accent-color:var(--ns-accent)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .dropdown-menu {background:#1c222a;border:1px solid #424c58;border-radius:13px;padding:7px;box-shadow:0 16px 40px #0008;color:var(--ns-text)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .dropdown-menu > li > a {padding:10px 12px;color:var(--ns-text);border-radius:7px;white-space:normal}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .dropdown-menu > li:is(.active,.focus,.selected) > a,
html body:is(.night-shift,.ig-section):not(.night-shift-off) .dropdown-menu > li > a:is(:hover,:focus) {background:#303d2a;color:var(--ns-accent)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .dropdown-menu .divider {background:var(--ns-line)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.panel,.well,.list-group-item,.media,#news .item,.item-specs,.item-description,.item-add-info,.video-desc-box,.desc-box,.sidebar) {background:var(--ns-panel);border:1px solid var(--ns-line);border-radius:18px;color:var(--ns-text);box-shadow:none}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.panel-heading,.panel-footer,.list-group-item-heading,.well .content) {background:transparent;color:var(--ns-text);border-color:var(--ns-line)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .panel-body {padding:22px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .panel-footer {padding:16px 22px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.table > thead > tr > th,.table > tbody > tr > td,.table > tbody > tr > th,.table > tfoot > tr > td) {border-color:var(--ns-line)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.table-striped > tbody > tr:nth-of-type(odd),.table-hover > tbody > tr:hover) {background:#1c222a}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .alert {background:#252419;border-color:#585035;color:#f6d68c;border-radius:12px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .alert-danger {background:#301b23;color:#ffabb2;border-color:#61303d}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .alert-success {background:#1e2c21;color:var(--ns-accent);border-color:#40513a}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .alert-info {background:#222438;color:#cec6ff;border-color:#494562}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.breadcrumb,.hero-box,.cloud-box,.single-hero) {background:transparent;border:0;box-shadow:none}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .breadcrumb {padding:0;margin:12px 0 28px;color:var(--ns-muted);line-height:1.8}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .breadcrumb > .active {color:var(--ns-muted)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .breadcrumb a {color:#bec8b9}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.pagination > li > a,.pagination > li > span,.pagination-custom a,.page-link) {background:#181d24;color:var(--ns-text);border:1px solid var(--ns-line);border-radius:9px;padding:9px 14px;margin:3px;box-shadow:none}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.pagination > .active > a,.pagination > .active > span,.pagination-custom a.active,.page-link.active) {background:var(--ns-accent);border-color:var(--ns-accent);color:var(--ns-on)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .pagination > .disabled > :is(a,span) {background:#12161c;color:#89929c;border-color:var(--ns-line)}

/* Homepage: real Plati blocks, no invented category flags or promotional data. */
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-section,.categories-section) {margin:30px 0 48px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-section-title,.categories-section h2) {margin:0 0 24px;font-size:30px;text-align:left}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-grid,.categories-grid) {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;width:100%;margin:0;padding:0}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-item,.category-item) {width:auto;margin:0;min-width:0}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-block,.category-block) {position:relative;height:100%;padding:16px;background:linear-gradient(145deg,#1c2128,#13181e);border:1px solid var(--ns-line);border-radius:20px;text-align:left;overflow:hidden;transition:transform .24s,border-color .24s,box-shadow .24s}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-block,.category-block):hover {transform:translateY(-4px);border-color:#798b61;box-shadow:0 12px 32px #0004}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-item,.category-item) .icon {width:100%;height:138px;min-height:0;margin:0 0 18px;padding:10px;display:flex;align-items:center;justify-content:center;background:#090c10;border-radius:12px;overflow:hidden}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-item,.category-item) .icon img {display:block;width:100%;height:100%;max-width:100%;max-height:100%;border:0;padding:0;border-radius:0;object-fit:contain;background:transparent;opacity:1;image-rendering:auto}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-item,.category-item) h3 {font:600 15px/1.5 Manrope,Arial,sans-serif;margin:0 0 4px;letter-spacing:-.015em;overflow-wrap:anywhere}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-item,.category-item) h3 a {color:var(--ns-text)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .popular-price {color:var(--ns-accent);font:650 22px Manrope,Arial,sans-serif}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .search-cloud {background:#151a20;border:1px solid var(--ns-line);border-radius:18px;padding:22px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.search-tag,.hero-meta span) {display:inline-block;background:#20262f;color:#c8c2ed;border:1px solid #3b3c51;border-radius:9px;box-shadow:none;padding:5px 11px;margin:3px;font:500 13px/1.5 Onest,Arial,sans-serif}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .banner-link {background:var(--ns-panel);border-color:var(--ns-line);border-radius:18px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .cloud-tile {background:var(--ns-panel);border-color:var(--ns-line);border-radius:14px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.cat-tree-toggle,.cat-tree-link,.cloud-tile-link) {color:var(--ns-text);font-family:Onest,Arial,sans-serif}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.cat-tree-toggle,.cat-tree-link,.cloud-tile-link):hover {background:var(--ns-raised);color:var(--ns-accent)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .cat-tree-item.open > .cat-tree-toggle .cat-tree-arrow {color:var(--ns-accent)}

/* Both existing list and grid views. JS Masonry's sizing and positioning stay intact. */
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(#content.iron-masonry,#goods-content.iron-masonry) {grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px;margin-top:24px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.iron-card,.cloud-card,.video-card,.card,.mini-card) {background:linear-gradient(145deg,#1c2128,#13181e);border:1px solid var(--ns-line);border-radius:20px;color:var(--ns-text);box-shadow:none;transition:border-color .24s,transform .24s,box-shadow .24s}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.iron-card,.cloud-card,.video-card,.card,.mini-card):hover {border-color:#71815e;transform:translateY(-3px);box-shadow:0 14px 28px #0004}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-media {background:#090c10;aspect-ratio:4/3}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-media > a {display:block;position:absolute;inset:0;width:100%;height:100%}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-media img {width:100%;height:100%;object-fit:contain;padding:10px;image-rendering:auto}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-body {padding:18px;gap:8px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-title {color:var(--ns-text);font-size:15px;line-height:1.5;-webkit-line-clamp:3;min-height:3em}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.iron-card-meta,.iron-card-seller) {color:var(--ns-muted);font-size:12px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-price {border-radius:10px;padding:11px 15px;font:700 16px/1.4 Manrope,Arial,sans-serif}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-bookmark-form .iron-bookmark {width:36px;height:36px;background:#171d25e8;border:1px solid #5b6570;color:#e5e9e2;backdrop-filter:none}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-desc-toggle {background:#252d36;border:1px solid #46515d;border-radius:8px;color:#d1d8df}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-desc {color:var(--ns-muted)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .media {padding:20px;margin-top:16px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .media-heading {font-size:18px;line-height:1.45;margin-bottom:12px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .media-heading a {color:var(--ns-text)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .media .description {color:var(--ns-muted)!important}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .media-left {padding-right:22px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .media .price {margin-top:16px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .img-thumbnail {background:#090c10;border-color:var(--ns-line);border-radius:12px;padding:4px;object-fit:contain}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .label-primary {background:var(--ns-accent);color:var(--ns-on);border-radius:7px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(#recommended,#similar,#bookmarks) .item {color:var(--ns-text)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(#recommended,#similar,#bookmarks) .name a {color:var(--ns-text)}
/* Legacy Masonry still owns item positions and container height. Give its cards
   enough room for the original title, price, bookmark button and sales count. */
html body:is(.night-shift,.ig-section):not(.night-shift-off) .masonry .item {width:240px;height:auto;min-height:330px;padding:18px;background:var(--ns-panel);border:1px solid var(--ns-line);border-radius:18px;overflow:visible}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .masonry .item .icon-big {width:100%;height:180px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .masonry .item .name {max-height:none;margin:14px 0;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .masonry .item > .btn,
html body:is(.night-shift,.ig-section):not(.night-shift-off) .masonry .item .bookmark {padding:8px 12px;font-size:13px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .masonry .item > .el {display:inline-block;margin-top:8px}

/* Product: original title, previews, seller, specs, payment and reviews remain. */
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-header-flex {padding:24px;background:var(--ns-panel);border:1px solid var(--ns-line);border-radius:22px;gap:24px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-header-text h1 {font-size:clamp(24px,2.2vw,32px);line-height:1.3;margin:0 0 20px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-main-photo img {object-fit:contain;border-color:var(--ns-line);border-radius:14px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-thumb-strip img {object-fit:contain;background:#090c10;border-color:var(--ns-line);border-radius:7px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-specs {padding:18px;margin-top:20px;background:#1c222a;border-radius:14px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-rating-badge a {color:var(--ns-text);border-color:#4f5c49}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-rating-badge .rating-count {color:var(--ns-muted)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item :is(.item-description,.item-add-info) {padding:26px;margin:24px 0;overflow-wrap:anywhere}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item :is(.item-description,.item-add-info) :is(p,li,span,div) {color:inherit}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item #pay {border:1px solid #78994c;border-radius:22px;background:linear-gradient(155deg,#242d20,#171c19);overflow:hidden;scroll-margin-top:calc(var(--ns-header-height,142px) + 24px)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item #price {font:750 36px/1.2 Manrope,Arial,sans-serif;letter-spacing:-.04em;padding:28px 22px 20px;color:var(--ns-accent);border-bottom:1px solid #3c4936}
/* The legacy product template marks these three price colors !important. */
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item #pay #price {background:transparent!important;color:var(--ns-accent)!important;border-bottom:1px solid #3c4936!important;font-size:36px!important}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-specs a {color:var(--ns-accent)!important}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.item-description,.item-add-info) a {color:var(--ns-accent);text-decoration-color:#d1ff7566}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item #buy-now {padding:17px 14px;border-radius:12px;font:750 22px/1.4 Manrope,Arial,sans-serif;background:var(--ns-accent);color:var(--ns-on);margin-bottom:16px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .pay-sticky {top:calc(var(--ns-header-height,142px) + 22px)!important}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-bookmark-form .btn {width:100%;border-radius:10px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .internet-support-outline {background:#20262f!important;color:var(--ns-text)!important;border-color:#46515d!important}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .mobile-buy-bar {background:#151b20f5;border-top:1px solid #50633d;color:var(--ns-text);box-shadow:0 -8px 24px #0005;padding-bottom:max(10px,env(safe-area-inset-bottom))}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .mobile-buy-bar-price {color:var(--ns-accent);font-family:Manrope,Arial,sans-serif}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .mobile-buy-bar-btn {border-radius:10px;font-family:Manrope,Arial,sans-serif}
html body:is(.night-shift,.ig-section):not(.night-shift-off) #item #full-reviews {scroll-margin-top:calc(var(--ns-header-height,142px) + 24px)}

/* Maps, videos, collections: outer shell only; embedded content keeps its UI. */
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.hero-box h1,h1.page-title,.single-hero h1) {font-size:clamp(28px,3.1vw,44px);letter-spacing:-.035em;line-height:1.2}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.cloud-card-title,.video-title-custom,.card-title,.mini-title) {color:var(--ns-text);font-family:Manrope,Arial,sans-serif;font-size:18px}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.cloud-card:hover .cloud-card-title,.video-card:hover .video-title-custom,.sidebar-item:hover .sidebar-item-title) {color:var(--ns-accent)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.card-desc,.cloud-card-desc,.sidebar-item-title,.video-desc-box,.desc-box) {color:#c0c7ce}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.section-title,.sidebar-title) {color:var(--ns-text);border-color:var(--ns-line);font-family:Manrope,Arial,sans-serif}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.player-wrapper,.map-frame) {border-radius:18px;border-color:var(--ns-line);background:#090c10}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.sidebar-item,.desc-box summary) {border-color:var(--ns-line)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .hero-meta span {color:var(--ns-violet)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.search-intro,.search-subtitle small,.video-description,.video-duration,.video-views) {color:var(--ns-muted)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.card-image,.card-img,.card-img-top,.cloud-card-img,.cloud-card-thumb,.mini-img,.rss-img,.video-thumb,.thumb) {background:#090c10}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.rss-title,.other-maps-title) {color:var(--ns-text)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.rss-item,.nav-tabs) {border-color:var(--ns-line)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .nav-tabs > li.active > a {color:var(--ns-text);background:var(--ns-panel);border-color:var(--ns-line)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .nav-tabs > li > a:hover {background:var(--ns-raised);border-color:var(--ns-line)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) .skip-link:focus {background:var(--ns-accent);color:var(--ns-on)}

/* Original social SVGs on light badges: black Dzen/Rutube stay legible. */
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.footer,.ig-footer) {position:static;height:auto;min-height:0;margin-top:64px;padding:30px 0;background:#0c0f13;color:var(--ns-muted);border-top:1px solid var(--ns-line)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.footer,.ig-footer) a {color:#bdc6cf}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.footer,.ig-footer) a:hover {color:var(--ns-accent)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.footer,.ig-footer) a:has(img[src$=".svg"]) {display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px;margin:4px;background:#e7eced;border:1px solid #818b96;border-radius:12px;vertical-align:middle;transition:background-color .2s,transform .2s}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.footer,.ig-footer) a:has(img[src$=".svg"]):hover {background:#fff;transform:translateY(-2px)}
html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.footer,.ig-footer) a img[src$=".svg"] {width:auto;max-width:80px;height:26px;object-fit:contain;filter:none}

/* Collapse breakpoints match the available navigation width, without hiding links. */
@media(min-width:768px) and (max-width:1199px) {
  html body.night-shift .navbar-header {float:none}
  html body.night-shift .navbar-toggle {display:block}
  html body.night-shift .navbar-collapse.collapse:not(.in) {display:none!important}
  html body.night-shift .navbar-collapse.collapse.in {display:block!important}
  html body.night-shift .navbar-nav {float:none}
  html body.night-shift .navbar-nav > li {float:none}
  html body.night-shift .navbar-nav > li > a {padding:10px 0}
  html body.night-shift .navbar-fixed-top .navbar-collapse {max-height:60vh;overflow-y:auto!important}
}
/* Adaptive bento: the first four real categories form the feature group.
   Remaining tiles fill complete rows, including a partial final row. */
@media(min-width:992px) {
  html body.night-shift #index .popular-grid {grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
  html body.night-shift #index .popular-section:has(.popular-item:nth-child(4)) .popular-grid {grid-template-columns:repeat(12,minmax(0,1fr));grid-auto-rows:minmax(210px,auto);gap:18px}
  html body.night-shift #index .popular-section:has(.popular-item:nth-child(4)) .popular-item {grid-column:span 3}
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+1):last-child {grid-column:span 12}
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+1):nth-last-child(2),
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+2):last-child {grid-column:span 6}
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+1):nth-last-child(3),
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+2):nth-last-child(2),
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+3):last-child {grid-column:span 4}
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+1):last-child .popular-block,
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+1):nth-last-child(2) .popular-block,
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+2):last-child .popular-block {display:grid;grid-template-columns:140px minmax(0,1fr);gap:22px;align-items:center;padding:22px}
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+1):last-child h3,
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+1):nth-last-child(2) h3,
  html body.night-shift #index .popular-item:nth-child(n+5):nth-child(4n+2):last-child h3 {font-size:22px}
}
@media(min-width:1200px) {
  html body.night-shift #plati-popular:has(.popular-item:nth-child(4)) .popular-item:nth-child(1) {grid-column:span 4;grid-row:span 2}
  html body.night-shift #plati-popular:has(.popular-item:nth-child(4)) .popular-item:nth-child(2) {grid-column:span 5;grid-row:span 2}
  html body.night-shift #plati-popular:has(.popular-item:nth-child(4)) .popular-item:nth-child(-n+2) .popular-block {padding:24px;background:radial-gradient(ellipse at 100% 0,#b8adf21a,transparent 65%),linear-gradient(145deg,#252e25,#151b22);gap:20px}
  html body.night-shift #plati-popular:has(.popular-item:nth-child(4)) .popular-item:nth-child(-n+2) .popular-block > a {flex:1;display:flex;min-height:260px}
  html body.night-shift #plati-popular:has(.popular-item:nth-child(4)) .popular-item:nth-child(-n+2) .icon {height:auto;min-height:260px;flex:1;margin:0;background:#090c1080}
  html body.night-shift #plati-popular:has(.popular-item:nth-child(4)) .popular-item:nth-child(-n+2) .icon img {position:absolute;inset:0;padding:18px;width:100%;height:100%}
  html body.night-shift #plati-popular:has(.popular-item:nth-child(4)) .popular-item:nth-child(-n+2) h3 {font-size:26px;line-height:1.35}
}
@media(max-width:1199px) {
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-grid,.categories-grid) {grid-template-columns:repeat(4,minmax(0,1fr))}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .ig-links a {padding:10px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .navbar-btn {margin:8px 0 14px}
}
@media(max-width:991px) {
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-grid,.categories-grid) {grid-template-columns:repeat(3,minmax(0,1fr))}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-header-flex {flex-direction:column}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .item-header-image {flex-basis:auto;max-width:240px;width:100%}
}
@media(max-width:767px) {
  html body:is(.night-shift,.ig-section):not(.night-shift-off) {font-size:14px}
  html body.night-shift .navbar-header {margin-left:0;margin-right:0}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .masonry .item {width:calc((100vw - 62px)/2);padding:12px;min-height:0}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .masonry .item .icon-big {height:140px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.container,.container-fluid,.ig-header .container) {padding-left:18px;padding-right:18px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-grid,.categories-grid) {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-block,.category-block) {padding:12px;border-radius:16px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-item,.category-item) .icon {height:110px;margin-bottom:14px;padding:5px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-item,.category-item) h3 {font-size:13px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .navbar-nav > li > a {padding:10px 16px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(#content.iron-masonry,#goods-content.iron-masonry) {grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card {border-radius:16px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-body {padding:12px;gap:6px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-title {font-size:13px;-webkit-line-clamp:4}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-price {font-size:14px;padding:10px 7px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .iron-card-meta {gap:6px;font-size:11px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .media {padding:14px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .media-left {padding-right:12px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .media .icon-middle {width:85px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .media .icon-middle img {max-width:85px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) .media-heading {font-size:15px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) #item :is(.item-header-flex,.item-description,.item-add-info) {padding:20px;border-radius:18px}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) #item .pay-sticky {top:auto!important}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.footer,.ig-footer) {margin-top:40px;padding-bottom:30px}
  html body.night-shift:has(.mobile-buy-bar) .footer {padding-bottom:100px}
}
@media(prefers-reduced-motion:reduce) {
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(a,button,.popular-block,.category-block,.iron-card,.cloud-card,.video-card,.card,.mini-card) {transition:none;animation:none;scroll-behavior:auto}
  html body:is(.night-shift,.ig-section):not(.night-shift-off) :is(.popular-block,.category-block,.iron-card,.cloud-card,.video-card,.card,.mini-card):hover {transform:none}
}

@media(min-width:768px) and (max-width:991px) {
  html body.night-shift #index .popular-grid {grid-template-columns:repeat(6,minmax(0,1fr))}
  html body.night-shift #index .popular-item {grid-column:span 2}
  html body.night-shift #index .popular-item:nth-child(3n+1):last-child {grid-column:span 6}
  html body.night-shift #index .popular-item:nth-child(3n+1):nth-last-child(2),
  html body.night-shift #index .popular-item:nth-child(3n+2):last-child {grid-column:span 3}
}
@media(max-width:767px) {
  html body.night-shift #index .popular-item:nth-child(2n+1):last-child {grid-column:span 2}
  html body.night-shift #result .search-results-toolbar > .col-xs-8,
  html body.night-shift #result .search-results-toolbar > .col-xs-4 {width:100%;float:none}
  html body.night-shift #result .search-results-toolbar h2 {margin-bottom:12px}
  html body.night-shift #result .search-results-toolbar > .col-xs-4 {text-align:right}
  html body.night-shift #result .search-results-toolbar .btn-group {float:none!important;display:inline-flex;flex-wrap:nowrap;margin-bottom:4px}
  html body.night-shift #result .search-results-toolbar .btn-group > .btn {flex:0 0 44px;min-height:44px}
}
