/* PCone Arena fixes 2026-10-24 (logo theme, sticky removal, overflow guards) */
/* 1 logo: white logo on dark theme, dark logoL on light theme (etalon logoSrc) */
html.dk .logo-lt,html:not(.dk) .logo-dk{display:none!important}
html.lt:not(.dk) .logo-lt{display:block}
/* 2 bottom sticky Call/WhatsApp/Route bar removed (Roman 2026-10-23) */
#sticky,.px-sticky,.mm-contact,.sb-v3d{display:none!important}
body{padding-bottom:0!important}
/* 3 overflow guards */
html,body{overflow-x:clip;max-width:100%}
main img{max-width:100%;height:auto}
.v3hero.ain-hero{max-width:100%;box-sizing:border-box}
/* 4 FAQ: theme-aware cards (proto .faq details fell back to white bg + light text in dark mode) */
.ain .faq details{background:var(--surface)!important;border-color:var(--o2)!important;color:var(--text)}
.ain .faq details[open]{border-color:var(--orange)!important}
.ain .faq summary{color:var(--text)}
.ain .faq details p{color:var(--soft)!important}
/* 5 inner pages: single hero slide spans the content width; crumbs/CTA aligned to the same column */
html.d .ain .v3car>.v3sl:only-child{flex-basis:100%!important}
.ain>.crumbs,.ain>.ain-cta,.ain>.wrap,.ain>.sec{max-width:1240px;margin-inline:auto;padding-inline:14px;box-sizing:border-box}
@media(min-width:900px){.ain>.crumbs,.ain>.ain-cta,.ain>.wrap,.ain>.sec{padding-inline:32px}}
html.d .ain .v3car{padding-inline:max(32px,calc((100% - 1176px)/2))!important}

/* PATCH-2 (2026-10-24) — TO-FINISH v1.0 P1-3/P1-4/P1-5/P1-6 */
/* P1-4: info chips are plain labels (not button-like): no pill/box, check mark, default cursor */
.ap .ap-proof li,.ain .ain-inc li{background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:2px 0!important;padding-inline-start:22px!important;position:relative;cursor:default;color:var(--text);font-weight:600;list-style:none}
.ap .ap-proof li::before,.ain .ain-inc li::before{content:"✓";position:absolute;inset-inline-start:0;top:2px;color:var(--ok,#22c55e);font-weight:700}
.ap .ap-proof{gap:6px 18px}
.ain .ain-inc{list-style:none;padding:0}
.ap .ap-why li{background:none!important;border:0!important;border-inline-start:3px solid var(--orange)!important;border-radius:0!important;padding:4px 0!important;padding-inline-start:14px!important;cursor:default}
/* P1-3: every card is a real link */
.ap a.ap-card{color:var(--text);text-decoration:none;cursor:pointer;transition:border-color .15s,transform .15s,box-shadow .15s}
.ap a.ap-card:hover,.ap a.ap-card:focus-visible{border-color:var(--orange);transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.18)}
.ap a.ap-card:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
.ap a.ap-card .ap-more{margin-top:auto;padding-top:4px}
.ap a.ap-card .ap-more::after{content:" ›"}
html[dir=rtl] .ap a.ap-card .ap-more::after{content:" ‹"}
.ap .ap-more-wa{color:var(--ok,#22c55e)}
/* P1-6: model pages — device photo shown whole (no crop / no upscaling) on a dark stage */
.v3sl img.ph-dev{object-fit:scale-down!important;object-position:85% 50%;background:radial-gradient(60% 80% at 80% 50%,#26324d 0,#0d1424 70%)}
html[dir=rtl] .v3sl img.ph-dev{object-position:15% 50%;background:radial-gradient(60% 80% at 20% 50%,#26324d 0,#0d1424 70%)}
/* P1-5: one sticky on mobile — header + back-to-top only */
@media(max-width:600px){#pskw{display:none!important}}
/* PATCH-2: mobile menu (#mm) was stretched to the width of the nowrap chip rows (1721px on a 390px screen):
   cards and the CTA were cut off. Keep the panel at screen width; chip rows scroll sideways inside it. */
@media(max-width:900px){
#mm{left:0!important;right:0!important;width:auto!important;max-width:100vw!important;overflow-x:hidden}
#mm .v3k-e{min-width:0;max-width:100%}
#mm .chips,#mm .v3k-row{min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
#mm .chips::-webkit-scrollbar{display:none}
}
/* PATCH-3: full live content restored inside Arena (section.ap-live) */
.ap-live{max-width:1200px;margin:28px auto;padding:0 16px;color:var(--tx,inherit)}
.ap-live-in>section,.ap-live-in>div{margin:0 0 26px}
.ap-live h2{font-size:clamp(22px,3vw,30px);font-weight:800;margin:26px 0 12px;line-height:1.25}
.ap-live h3{font-size:19px;font-weight:700;margin:16px 0 8px}
.ap-live p,.ap-live li{line-height:1.65;font-size:16px}
.ap-live ul,.ap-live ol{padding-inline-start:22px;margin:8px 0}
.ap-live img{max-width:100%;height:auto;border-radius:12px}
.ap-live a:not([class*=btn]):not([class*=buy]){color:var(--ac,#ff7a1a);text-decoration:underline;text-underline-offset:3px}
.ap-live table{width:100%;border-collapse:collapse;margin:12px 0 18px;font-size:15px;display:block;overflow-x:auto}
.ap-live th,.ap-live td{padding:10px 12px;border-bottom:1px solid rgba(127,127,127,.25);text-align:start;vertical-align:top}
.ap-live th{font-weight:800;background:rgba(127,127,127,.10)}
.ap-live [class*=grid]{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:14px;margin:12px 0}
.ap-live [class*=card],.ap-live details{background:rgba(127,127,127,.08);border:1px solid rgba(127,127,127,.22);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:6px}
.ap-live [class*=card] img{max-height:210px;object-fit:contain;background:#fff;padding:8px}
.ap-live details summary{cursor:pointer;font-weight:700}
.ap-live [class*=price]{font-weight:800;font-size:18px;color:var(--ac,#ff7a1a)}
.ap-live a[class*=buy],.ap-live a[class*=btn],.ap-live .btn-wa-lead{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:12px;background:var(--ac,#ff7a1a);color:#fff!important;font-weight:800;text-decoration:none;margin-top:auto}
.ap-live .btn-wa-lead{background:#25d366}
.ap-live [class*=chips],.ap-live [class*=tags]{display:flex;flex-wrap:wrap;gap:6px}
.ap-live [class*=chip],.ap-live [class*=tag]{padding:4px 10px;border-radius:999px;font-size:13px;background:rgba(127,127,127,.14);text-decoration:none!important}
.ap-live svg{max-width:28px;max-height:28px}
/* PATCH-3: restored live photo galleries */
.ap-live .ap-gal{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px;margin:18px 0}
.ap-live .ap-gal figure{margin:0;border-radius:14px;overflow:hidden;background:var(--card,rgba(127,127,127,.08));border:1px solid rgba(127,127,127,.2)}
.ap-live .ap-gal img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.ap-live .ap-gal figcaption{padding:8px 10px;font-weight:700;font-size:.92rem;text-align:center}

/* 24.10 — карточки услуг: жёлтые плашки цен в одну линию */
.v3rail{align-items:stretch}
.v3c b{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-block-size:2.4em}
.v3c .v3p{margin-top:0}

/* 24.10 — выбор языка в шапке на телефоне */
.lgs{position:relative;display:none}
@media(max-width:900px){.lgs{display:flex;align-items:center}}
#hdr .lgs-b{gap:3px;padding-inline:11px;width:auto;min-width:58px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center}
.lgs-t{font-weight:800;font-size:12px;letter-spacing:.04em}
.lgs-c{width:14px;height:14px;transition:transform .2s}
.lgs.open .lgs-c{transform:rotate(180deg)}
.lgs-p{position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:1200;min-width:168px;background:var(--card,#fff);border:1px solid var(--line,#e3e7ee);border-radius:14px;box-shadow:0 14px 34px -12px rgba(0,0,0,.45);padding:6px;display:flex;flex-direction:column}
.lgs-p[hidden]{display:none}
.lgs-p a{display:block;padding:10px 12px;border-radius:9px;color:var(--tx,#131a26);text-decoration:none;font-size:15px}
.lgs-p a:hover{background:var(--bg2,#f2f5fa)}
.lgs-p a.on{font-weight:800}

/* 24.10: страницы моделей — логотип бренда не режем, показываем целиком */
html[data-page-type="model"] .v3sl{height:auto;aspect-ratio:12/5;max-height:420px}
html[data-page-type="model"] .v3sl img.ph{object-fit:contain;object-position:center;padding:16px}

/* 24.10: строку поиска в шапке убрал по просьбе Романа */
#sHdr,.dsearch,#sV3,.v3s{display:none!important}

/* 24.10: удобные зоны нажатия на телефоне (не меньше 32 px по высоте) */
@media (max-width:900px){
  .p7c-xb{min-height:36px;display:inline-flex;align-items:center}
  footer .fcol a,footer nav a,.fcol a{min-height:30px;display:inline-flex;align-items:center}
  .flags a,.chips a,.v3rail a.v3c{min-height:36px}
  .bn-ar{min-height:36px;min-width:36px}
  .lgs-p a{min-height:44px;display:flex;align-items:center}
}

/* 24.10: точки карусели — палец попадает, вид не меняется */
.bn-dots button{position:relative}
.bn-dots button::before{content:"";position:absolute;inset:-11px -5px;border-radius:inherit}

/* PATCH-7e: styles for legacy blocks (facts / steps / step svg / services hub) on Arena pages. Uses Arena theme vars only. */
:is(.svc-facts,.ipr-facts,.wtr-facts,.lpr-facts,.sp-facts,.gur-facts,.cnr-facts,.gmr-facts,.smr-facts,.clr-facts,.lsr-facts,.tdr-facts,.cpc-facts,.drc-facts,.glr-facts,.dpc-facts,.upr-facts,.phr-facts,.apr-facts){display:flex;flex-wrap:wrap;gap:8px 22px;margin:12px 0 0;padding:0}
:is(.svc-facts,.ipr-facts,.wtr-facts,.lpr-facts,.sp-facts,.gur-facts,.cnr-facts,.gmr-facts,.smr-facts,.clr-facts,.lsr-facts,.tdr-facts,.cpc-facts,.drc-facts,.glr-facts,.dpc-facts,.upr-facts,.phr-facts,.apr-facts)>div{display:flex;flex-wrap:wrap;gap:6px;font-size:14px;min-width:0;max-width:100%}
:is(.svc-facts,.ipr-facts,.wtr-facts,.lpr-facts,.sp-facts,.gur-facts,.cnr-facts,.gmr-facts,.smr-facts,.clr-facts,.lsr-facts,.tdr-facts,.cpc-facts,.drc-facts,.glr-facts,.dpc-facts,.upr-facts,.phr-facts,.apr-facts) dt{font-weight:700;color:var(--text)}
:is(.svc-facts,.ipr-facts,.wtr-facts,.lpr-facts,.sp-facts,.gur-facts,.cnr-facts,.gmr-facts,.smr-facts,.clr-facts,.lsr-facts,.tdr-facts,.cpc-facts,.drc-facts,.glr-facts,.dpc-facts,.upr-facts,.phr-facts,.apr-facts) dd{margin:0;color:var(--text);overflow-wrap:anywhere}
ol[class*="-steps"]:not(.ap-steps){list-style:none;padding:0;margin:20px 0 0;display:grid;gap:12px}
ol[class*="-steps"]:not(.ap-steps)>li{position:relative;display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:16px;background:var(--surface);border:1px solid var(--o2);color:var(--text);list-style:none}
ol[class*="-steps"]:not(.ap-steps)>li::marker{content:none}
ol[class*="-steps"]:not(.ap-steps)>li p{margin:0;color:var(--text)}
@media(min-width:900px){ol[class*="-steps"]:not(.ap-steps){grid-template-columns:repeat(4,1fr)}}
svg[class$="-step-svg"]{display:none}
ol[class*="-steps"]:not(.ap-steps) .lp-step-n{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--blue);color:#fff;font-weight:700;font-size:14px;line-height:1}
ol[class*="-steps"]:not(.ap-steps) .lp-ico{display:inline-grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--chip);color:var(--link)}
ol[class*="-steps"]:not(.ap-steps) .lp-ico svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
.gx-blob-b,.gx-blob-o{fill:transparent}.gx-wave,.gx-trace,.gx-via,.gx-lines{fill:none;stroke:none}
.svc-filt{display:flex;gap:8px;flex-wrap:nowrap;overflow-x:auto;max-width:100%;margin-top:10px;padding-bottom:4px}
.svc-fb{flex:none;font:inherit;font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;border:1.5px solid var(--chipb);background:var(--surface);color:var(--text);cursor:pointer}
.svc-fb.on,.svc-fb[aria-pressed="true"]{background:#0a58ca;border-color:#0a58ca;color:#fff}
.svc-group{margin-top:34px}.svc-group[hidden]{display:none}
.svc-gh{display:flex;align-items:center;gap:10px;font-size:22px;margin:0 0 4px}
.svc-gic{width:26px;height:26px;flex:none}
.svc-gintro{margin:0 0 14px;color:var(--muted)}
.svc-count{margin:6px 0 0;font-size:13px;color:var(--muted);min-height:1em}
.svc-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(270px,100%),1fr));gap:16px}
.svc-item{display:flex;flex-direction:column;min-width:0;padding:16px 18px;border:1px solid var(--o2);border-radius:16px;background:var(--surface);color:var(--text)}
.svc-item[hidden]{display:none}
.svc-item-h{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none;font-weight:700;font-size:17px;line-height:1.3}
.svc-item-h:hover .svc-cname{color:var(--link);text-decoration:underline}
.svc-item-h .ti{margin-inline-start:auto;color:var(--link)}
.svc-cic{flex:none;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--chip);color:var(--link)}
.svc-cic .svc-ic{width:20px;height:20px}
.svc-cdesc{margin:8px 0 10px;font-size:14.5px;color:var(--muted);line-height:1.5}
.svc-cprice{list-style:none;margin:0 0 6px;padding:0}
.svc-cprice li{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-top:1px dashed var(--o2);font-size:14px;color:var(--text)}
.svc-cprice b{white-space:nowrap;color:var(--text)}
.svc-csubs-t{margin:8px 0 4px;font-size:12.5px;font-weight:700;letter-spacing:.04em;color:var(--muted)}
.svc-csubs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:6px}
.svc-csubs a{display:inline-block;font-size:13px;padding:4px 10px;border-radius:999px;background:var(--chip);color:var(--link);text-decoration:none;line-height:1.4}
.svc-csubs a:hover{text-decoration:underline}
.svc-none{margin-top:20px;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.svc-none[hidden]{display:none}
/* 7e: grid cards may shrink at 390 (fr/apple) */
.lp-cards>li{min-width:0}
.apr-mac-pl li{flex-wrap:wrap}
/* 7e: light-shot captions readable in dark theme */
html.dk.dk body .apr-shot.apr-shot-light figcaption{color:#e8eef7}

/* 24.10: на десктопе текст всех слайдов баннера выровнен по низу — карточки стоят ровно */
@media (min-width:901px){
  .bnr-v1 .bn.tt .bn-t{top:auto!important;bottom:28px!important}
}

/* 24.10: на десктопе текст слайдов выровнен по одной сетке — бейдж сверху, кнопка снизу */
@media (min-width:901px){
  .bnr-v1 .bn-t{min-height:152px;display:flex;flex-direction:column;justify-content:flex-start}
  .bnr-v1 .bn-t .bn-c{margin-top:auto}
}

/* 24.10: бейджи на баннере стоят на одной линии независимо от размера логотипа */
@media (min-width:901px){ .bnr-v1 .bn-top{min-height:30px;align-items:center} }

/* 24.10: прайс на телефоне — две карточки в ряд, компактнее в 3 раза */
@media (max-width:520px){
  .ap .ap-cards,.ap-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .ap .ap-card,.ap-card{padding:10px!important;gap:4px!important}
  .ap-card img{max-height:96px;width:100%;object-fit:cover;border-radius:10px}
  .ap-card b{font-size:14px!important;line-height:1.25!important}
  .ap-card small{font-size:12.5px!important;line-height:1.35!important}
}

/* 24.10: баннер страницы прайса — компактный, без «полотна» на весь экран */
.ain-hero .v3sl{height:300px!important}
.ain-hero .v3sl img.ph{object-fit:cover;object-position:center 45%}
@media(max-width:520px){ .ain-hero .v3sl{height:186px!important} }
.ain-hero-desc{display:none!important}

/* 24.10: баннер прайса — фиксируем высоту поверх правок proto_match */
html:not(:has(link[href*="games/games.css"])):not([data-arena-slug^="game"]) .ain-hero .v3sl{
  block-size:300px!important;height:300px!important;aspect-ratio:auto!important;overflow:hidden!important;
}
html:not(:has(link[href*="games/games.css"])):not([data-arena-slug^="game"]) .ain-hero .v3sl > img.ph{
  block-size:100%!important;height:100%!important;inline-size:100%!important;object-fit:cover!important;object-position:center 45%!important;
}
@media(max-width:520px){
  html:not(:has(link[href*="games/games.css"])):not([data-arena-slug^="game"]) .ain-hero .v3sl{block-size:190px!important;height:190px!important}
}

/* PCONE FIX 25.10.2026: блок промо «НОВОЕ» — акцент бренда вместо ржаво-коричневого */
.pbn{--cta:var(--blue);--orange:var(--blue)}
.pbn .nb{color:#fff}

/* PCONE FIX 25.10.2026: плитка «Ремонт консолей» — иконка на акценте бренда вместо обрезанного стокового фото */
.v3c-i .ph.ico-cons{position:absolute;inset:0;display:grid;place-items:center;background:var(--blue);color:var(--tk-white-ffffff)}
.v3c-i .ph.ico-cons .ti{font-size:46px;line-height:1}


/* PCONE FIX 25.10.2026: прайс — убираем картинки из карточек.
   Фото подбирались по ключевым словам и часто не соответствуют услуге (у «iPhone после воды» стояла консоль).
   Прайс — это список услуг и цен; картинки здесь только путают. */
/* PCONE 25.10.2026: в карточках услуг — иконка категории на светлой подложке (фото были тёмные и не по смыслу) */
.ap-card .ph-ico{display:grid;place-items:center;aspect-ratio:16/10;border-radius:12px;
  background:var(--surface2);color:var(--blue);font-size:36px;line-height:1}
.ap-card .ph-ico::before{font-family:'tabler-icons'!important}
.ap .ap-card{padding:14px 16px}


/* PCONE 25.10.2026: фото в карточках услуг из нашей галереи тёмные — осветляем, чтобы читались */
.ap-card{padding:10px}


/* PCONE 25.10.2026: карточки услуг — компактной строкой: иконка слева, название, цена справа.
   Раньше иконка шла блоком 16:10, и в секциях с одной карточкой оставалась огромная пустота. */
.ap .ap-cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.ap-card{flex-direction:row;align-items:center;gap:12px;min-height:0}
.ap-card .ph-ico{flex:0 0 52px;width:52px;height:52px;aspect-ratio:auto;border-radius:14px;font-size:24px}
.ap-card .ph-ico + b, .ap-card .ph-ico ~ b{flex:1 1 auto}
.ap-card .ap-price{margin-inline-start:auto;white-space:nowrap}


/* PCONE 25.10.2026: на широких экранах контент использовал только 1240 px из 1905 — по краям пустота.
   Расширяем контейнеры до 1600 px (текст статей остаётся читаемым), сетки карточек получают больше колонок. */
@media (min-width:1300px){
  html.d .wrap, html.d .ain>.sec, html.d .ain>.crumbs,
  html.d .ap .ap-sec, html.d .ap .faq, html.d .ap .ap-seo{max-width:1600px}
  html.d .ain-hero-desc{padding-inline:max(32px,calc((100% - 1600px)/2))}
}


/* PCONE 25.10.2026: широкие сетки — да, широкие строки текста — нет (читать невозможно) */
@media (min-width:1300px){
  html.d .ain :is(article,.prose,.ap-seo) p,
  html.d .ain :is(article,.prose,.ap-seo) li{max-width:900px}
}
