/* Porscha.ru consultant */
.porscha-chat{--pc-bg:#202225;--pc-raised:#2b2d30;--pc-ink:#f5f4f1;--pc-muted:#bdbfbe;--pc-line:#4a4b4c;--pc-gold:#c2a164;--pc-red:#d5001c;--pc-bottom:max(20px,env(safe-area-inset-bottom));--pc-launcher-size:90px;--pc-launcher-avatar:85px;--pc-label-size:16.25px;--pc-panel-gap:21px;--pc-panel-room:calc(var(--pc-vh,calc(100dvh / var(--porscha-scale,1))) - var(--pc-launcher-size) - var(--pc-panel-gap) - 28px);position:fixed;right:max(26px,env(safe-area-inset-right));bottom:var(--pc-bottom);z-index:140;color:var(--pc-ink);font:400 14px/1.5 Golos,"Golos Fallback",Arial,sans-serif;color-scheme:dark;isolation:isolate}
html[data-theme="light"] .porscha-chat{--pc-bg:#fff;--pc-raised:#f1f2f3;--pc-ink:#222427;--pc-muted:#575a5b;--pc-line:#dfe1e4;color-scheme:light}
.porscha-chat *{box-sizing:border-box}.porscha-chat [hidden]{display:none!important}.porscha-chat[data-obstructed="true"]{visibility:hidden;pointer-events:none}.porscha-chat button,.porscha-chat textarea,.porscha-chat a{font:inherit}.porscha-chat button{cursor:pointer}.porscha-chat button:focus-visible,.porscha-chat a:focus-visible{outline:2px solid var(--pc-gold);outline-offset:3px}.porscha-chat button:disabled{cursor:default;opacity:.45}.porscha-chat svg{display:block;flex:none}.pc-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@keyframes pc-launcher-in{from{opacity:0}to{opacity:1}}
.pc-launcher{position:relative;top:-10px;margin-left:auto;width:var(--pc-launcher-size);height:var(--pc-launcher-size);padding:0;display:grid;place-items:center;user-select:none;border:0;border-radius:8px;background:transparent;filter:drop-shadow(0 3px 5px #0005);transition:transform .2s;animation:pc-launcher-in .3s ease-out}
@media(hover:hover) and (pointer:fine){.pc-launcher:hover{transform:translateY(-3px)}}
.pc-dismiss{position:absolute;right:-8px;top:-12px;width:28px;height:28px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent;color:var(--pc-muted);z-index:1}
.pc-dismiss::before{content:"";position:absolute;inset:3px;border:1px solid var(--pc-line);border-radius:50%;background:var(--pc-bg)}
.pc-dismiss .pc-icon{position:relative;width:12px;height:12px}
.pc-dismiss:hover{color:var(--pc-ink)}.pc-dismiss:hover::before{background:var(--pc-raised)}
.porscha-chat[data-open="true"] .pc-dismiss,.porscha-chat:not([data-mobile="true"]) .pc-dismiss{display:none}
.porscha-chat .pc-launcher-label{
  position:absolute;right:50%;bottom:-11px;padding:5px 9px;border-radius:3px;
  color:var(--pc-ink);background:color-mix(in srgb,var(--pc-bg) 92%,transparent);
  font-size:var(--pc-label-size);font-weight:600;line-height:1.2;white-space:nowrap;pointer-events:none;
}
.pc-avatar{display:block;width:68px;height:68px;flex:none}
.pc-launcher .pc-avatar{width:var(--pc-launcher-avatar);height:var(--pc-launcher-avatar);transform:scale(1.2)}
.pc-avatar svg,.pc-avatar img{display:block;width:100%;height:100%;object-fit:contain;overflow:visible}
.pc-wave-hand{opacity:0;transform-box:view-box;transform-origin:19% 75%}
.pc-waving .pc-wave-hand{animation:pc-wave 2.8s ease-in-out both}
@keyframes pc-wave{
  0%,100%{opacity:0;transform:translateY(9px) rotate(-8deg)}
  15%,85%{opacity:1;transform:rotate(0deg)}
  28%,53%{opacity:1;transform:rotate(-12deg)}
  40%,66%{opacity:1;transform:rotate(11deg)}
}
.pc-invite{position:absolute;right:calc(var(--pc-launcher-size) + 40px);bottom:clamp(39px, calc(var(--pc-launcher-size) * .6), 54px);width:260px;max-width:calc(calc(100vw / var(--porscha-scale,1)) - var(--pc-launcher-size) - 66px);padding:11px 31px 10px 13px;border:1px solid var(--pc-line);border-radius:10px;background:var(--pc-bg);box-shadow:0 5px 20px #0003;animation:pc-speech-in .25s ease-out}
@keyframes pc-speech-in{from{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:translateX(0)}}
.pc-invite[data-fading="true"]{opacity:0;transform:translateX(-4px);transition:opacity .3s ease,transform .3s ease}
.pc-invite::after{content:"";position:absolute;right:-6px;bottom:23px;width:10px;height:10px;transform:rotate(-45deg);background:inherit;border-right:1px solid var(--pc-line);border-bottom:1px solid var(--pc-line)}
.pc-invite p{margin:0 0 3px;font-size:13px;line-height:1.35;white-space:pre-line;overflow-wrap:break-word}
.pc-invite .pc-text-button{display:block;padding:3px 0;border:0;background:none;color:var(--pc-gold);font-size:11px;font-weight:600;line-height:1.3;text-align:left;text-decoration:none}
html[data-theme="light"] .pc-invite .pc-text-button{color:#80632e}
.pc-invite .pc-icon-button{position:absolute;right:2px;top:2px;width:27px;height:27px;padding:5px}
.pc-panel{position:absolute;right:0;bottom:calc(var(--pc-launcher-size) + var(--pc-panel-gap));width:min(408px,calc(calc(100vw / var(--porscha-scale,1)) - 32px));height:min(480px,var(--pc-panel-room));max-height:var(--pc-panel-room);min-height:0;display:flex;flex-direction:column;border:1px solid var(--pc-line);border-radius:14px;background:var(--pc-bg);box-shadow:0 20px 70px #0005;overflow:hidden;animation:pc-reveal .22s ease-out;overscroll-behavior:contain}
.pc-header{padding:14px 13px 12px 16px;display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--pc-line);flex:none}.pc-header .pc-avatar{width:52px;height:auto}.pc-header .pc-avatar img{height:auto;max-height:58px}.pc-heading{min-width:0;flex:1}.pc-heading h2{font:600 15px/1.35 Golos,"Golos Fallback",Arial,sans-serif;letter-spacing:0;margin:0;color:var(--pc-ink)}.pc-heading p{margin:3px 0 0;font-size:11px;color:var(--pc-muted)}.pc-tools{display:flex;gap:2px}.pc-icon-button{display:grid;place-items:center;width:36px;height:36px;padding:8px;border:0;border-radius:6px;background:none;color:var(--pc-muted)}.pc-icon-button:hover{color:var(--pc-ink);background:var(--pc-raised)}
.pc-thread{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--pc-line) transparent;padding:17px 16px;display:flex;flex-direction:column;gap:14px;scroll-padding-block:15px}.pc-message{width:fit-content;max-width:94%;min-width:0;overflow-wrap:anywhere;word-break:normal;white-space:pre-wrap;margin:0;padding:11px 13px;border-radius:10px;font-size:13px;line-height:1.65}.pc-message--assistant{background:var(--pc-raised);border-bottom-left-radius:3px}.pc-message--user{align-self:flex-end;background:var(--pc-gold);color:#18191c;border-bottom-right-radius:2px}.pc-message p{margin:0}.pc-message-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px}.pc-message-links a,.pc-message-links button{font-size:12px;color:var(--pc-ink);background:transparent;border:1px solid var(--pc-line);border-radius:5px;padding:6px 9px;line-height:1.4;cursor:pointer;text-decoration:none}.pc-message-links a:hover,.pc-message-links button:hover{background:var(--pc-bg)}
.pc-chips{display:flex;flex-wrap:wrap;gap:7px;min-width:0;padding:9px 14px 11px;flex:none}.pc-chip{flex:none;max-width:100%;padding:7px 10px;background:none;border:1px solid var(--pc-line);border-radius:18px;font-size:12px!important;color:var(--pc-ink);white-space:normal;overflow-wrap:anywhere}.pc-chip:hover{border-color:var(--pc-gold);background:var(--pc-raised)}.pc-compose{border-top:1px solid var(--pc-line);padding:11px 13px 10px;flex:none}.pc-input-row{display:flex;align-items:flex-end;gap:7px}.pc-input-wrap{position:relative;flex:1;min-width:0}.pc-input-label{display:block}.pc-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.pc-compose textarea{resize:none;width:100%;display:block;min-height:42px;max-height:100px;border:1px solid var(--pc-line);border-radius:7px;padding:10px 48px 10px 10px;background:var(--pc-bg);color:var(--pc-ink);font-size:14px;line-height:1.5;overflow-y:auto}.porscha-chat .pc-compose textarea:focus{outline:none;box-shadow:none}.porscha-chat .pc-compose textarea:focus:not([aria-invalid="true"]){border-color:var(--pc-gold)}.pc-compose textarea[aria-invalid="true"]{border-color:var(--pc-red)}.pc-compose textarea::placeholder{color:var(--pc-muted);opacity:1}.pc-send{width:40px;height:42px;background:var(--pc-red);border:0;border-radius:7px;color:#fff;display:grid;place-items:center;padding:10px;flex:none}.pc-mic{position:absolute;right:4px;bottom:4px;width:36px;height:34px;padding:7px}.pc-mic:focus-visible{outline-offset:-2px}
@keyframes pc-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.porscha-chat[data-compact="true"][data-open="true"]:not([data-positioned]) .pc-launcher{display:none}
.porscha-chat[data-compact="true"]:not([data-positioned]) .pc-panel{bottom:0;height:calc(var(--pc-vh,calc(100dvh / var(--porscha-scale,1))) - 28px);max-height:calc(var(--pc-vh,calc(100dvh / var(--porscha-scale,1))) - 28px)}
.porscha-chat[data-compact="true"] .pc-heading p{display:none}
.porscha-chat[data-compact="true"] .pc-header{padding-block:7px}
.porscha-chat[data-compact="true"] .pc-header .pc-avatar{width:38px;height:auto}
.porscha-chat[data-compact="true"] .pc-chips{padding-block:5px}
@media(max-width:900px){.porscha-chat{--pc-launcher-size:79px;--pc-launcher-avatar:75px;--pc-label-size:14.5px}.porscha-chat .pc-launcher-label{padding:4px 8px}}
@media(max-width:600px){.porscha-chat{right:max(14px,env(safe-area-inset-right));--pc-bottom:max(14px,env(safe-area-inset-bottom));--pc-launcher-size:68px;--pc-launcher-avatar:62px;--pc-label-size:14px;--pc-panel-gap:17px}.pc-invite{right:calc(var(--pc-launcher-size) + 38px);max-width:calc(calc(100vw / var(--porscha-scale,1)) - var(--pc-launcher-size) - 67px)}.pc-panel{width:min(408px,calc(calc(100vw / var(--porscha-scale,1)) - 28px));height:min(570px,var(--pc-panel-room))}.pc-header{padding:10px 10px 10px 13px}.pc-compose textarea{font-size:16px}.pc-message{font-size:13px}}
@media /*fhd*/ (max-height:500px) and (max-width: 1279px), (max-height:500px) and (min-width: 1920px), (max-height:500px) and (hover: none), (max-height:500px) and (pointer: coarse) {.porscha-chat[data-open="true"]:not([data-positioned]) .pc-launcher{display:none}.porscha-chat:not([data-positioned]) .pc-panel{bottom:0;height:calc(var(--pc-vh,calc(100dvh / var(--porscha-scale,1))) - 28px);max-height:calc(var(--pc-vh,calc(100dvh / var(--porscha-scale,1))) - 28px)}.pc-heading p{display:none}.pc-header{padding-block:7px}.pc-header .pc-avatar{width:38px;height:auto}.pc-chips{padding-block:5px}}
@media(prefers-reduced-motion:reduce){.porscha-chat *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:600px) and (min-height:501px){
  .pc-panel{height:min(434px,var(--pc-panel-room))}
}
@media(max-width:390px) and (max-height:670px){
  .pc-invite{padding-block:5px}
  .pc-invite p{font-size:11.5px;line-height:1.2;margin:0 0 1px}
  .pc-invite .pc-text-button{padding-block:0}
  .pc-invite::after{bottom:11px}
}
.porscha-chat[data-dragging] .pc-launcher{cursor:grabbing;transition:none;transform:none}
.porscha-chat[data-panel-right-side] .pc-panel{right:auto;left:var(--pc-panel-left)}
.porscha-chat[data-positioned][data-panel-below] .pc-panel{top:calc(100% + var(--pc-panel-gap));bottom:auto}
.porscha-chat .pc-resize{position:absolute;left:1px;top:1px;z-index:1;display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:6px;background:none;color:var(--pc-muted);touch-action:none}
html body .porscha-chat .pc-panel .pc-resize{cursor:var(--pc-resize-cursor,nwse-resize)}
.pc-resize .pc-icon{width:14px;height:14px;transform:scale(var(--pc-resize-flip-x,1),var(--pc-resize-flip-y,1))}
.pc-resize:hover{color:var(--pc-ink);background:var(--pc-raised)}
.porscha-chat .pc-resize:focus-visible{outline-offset:-2px}
.porscha-chat[data-panel-below] .pc-resize{top:auto;bottom:1px;--pc-resize-flip-y:-1;--pc-resize-cursor:nesw-resize}
.porscha-chat[data-panel-right-side] .pc-resize{left:auto;right:1px;--pc-resize-flip-x:-1;--pc-resize-cursor:nesw-resize}
.porscha-chat[data-panel-right-side][data-panel-below] .pc-resize{--pc-resize-cursor:nwse-resize}
.porscha-chat[data-panel-below] .pc-panel:has(.pc-resize:not([hidden])) .pc-compose{padding-bottom:20px}
.porscha-chat[data-invite-right] .pc-invite{right:auto;left:calc(100% + 14px)}
.porscha-chat[data-invite-right] .pc-invite::after{right:auto;left:-6px;transform:rotate(135deg)}
.porscha-chat[data-invite-top-edge] .pc-invite{top:0;bottom:auto}
.pc-consent-block{margin-top:9px;font-size:11px;line-height:1.4;color:var(--pc-muted)}
.pc-consent-line{display:grid;grid-template-columns:15px minmax(0,1fr);gap:7px;align-items:start}
.pc-consent-line input{width:14px;height:14px;margin:1px 0 0;accent-color:var(--pc-red);cursor:pointer}
.pc-consent-line label{cursor:pointer}
.pc-consent-line input[aria-invalid="true"]{outline:1px solid var(--pc-red);outline-offset:2px}
.pc-privacy{color:var(--pc-ink);text-decoration:underline;text-underline-offset:2px}
.pc-consent-error{margin:6px 0 0 22px;padding-left:7px;border-left:2px solid var(--pc-red);color:var(--pc-ink)}

/* The same conversation expands into a modal without replacing its contents. */
.pc-expanded-backdrop{position:fixed;inset:0;z-index:0;background:rgba(4,6,8,.68);backdrop-filter:blur(7px);opacity:0;transition:opacity 200ms ease}
.porscha-chat[data-expanded="true"] .pc-expanded-backdrop{opacity:1}
.porscha-chat[data-expanded="true"] :is(.pc-launcher,.pc-dismiss){visibility:hidden;pointer-events:none}
.porscha-chat[data-expansion-ready] .pc-panel{animation:none}
.porscha-chat[data-expanded="true"] .pc-panel{
  position:fixed;inset:0!important;z-index:1;margin:auto!important;
  width:min(920px,calc(92vw / var(--porscha-scale,1)));height:min(760px,calc(86dvh / var(--porscha-scale,1)));
  max-width:none;max-height:none;
}
.porscha-chat[data-expanded="true"] .pc-resize{display:none}
@media(max-width:600px){
  .porscha-chat[data-expanded="true"] .pc-panel{width:calc(94vw / var(--porscha-scale,1));height:min(calc(94dvh / var(--porscha-scale,1)),calc(var(--pc-vh,calc(100dvh / var(--porscha-scale,1))) - 24px))}
}
@media(prefers-reduced-motion:reduce){
  .porscha-chat .pc-expanded-backdrop{transition:opacity 160ms ease!important}
}

/* Phone-only geometry follows the visible viewport above the soft keyboard. */
html.pc-phone-chat-open{overflow:hidden;overscroll-behavior:none}
.porscha-chat[data-phone="true"][data-open="true"] .pc-panel{
  position:fixed;inset:auto!important;z-index:1;margin:0!important;
  top:calc(var(--pc-view-top,0px) + env(safe-area-inset-top,0px))!important;
  left:calc(var(--pc-view-left,0px) + max(10px,env(safe-area-inset-left,0px)))!important;
  width:calc(var(--pc-view-width,calc(100vw / var(--porscha-scale,1))) - max(10px,env(safe-area-inset-left,0px)) - max(10px,env(safe-area-inset-right,0px)));
  height:min(var(--pc-phone-half,calc(50dvh / var(--porscha-scale,1))),max(0px,calc(var(--pc-vh,calc(100dvh / var(--porscha-scale,1))) - env(safe-area-inset-top,0px))));
  max-height:none;
}
.porscha-chat[data-phone="true"][data-open="true"][data-expanded="true"] .pc-panel{
  width:calc(var(--pc-view-width,calc(100vw / var(--porscha-scale,1))) - max(10px,env(safe-area-inset-left,0px)) - max(10px,env(safe-area-inset-right,0px)));
  height:max(0px,calc(var(--pc-vh,calc(100dvh / var(--porscha-scale,1))) - env(safe-area-inset-top,0px)));
}
.porscha-chat[data-phone="true"][data-open="true"] .pc-heading p{display:none}
.porscha-chat[data-phone="true"][data-open="true"] .pc-heading h2{font-size:clamp(13px,calc(3.7vw / var(--porscha-scale,1)),15px);white-space:nowrap}
.porscha-chat[data-phone="true"][data-open="true"] .pc-header{padding-block:7px}
.porscha-chat[data-phone="true"][data-open="true"] .pc-header .pc-avatar{width:38px;height:auto}
.porscha-chat[data-phone="true"][data-open="true"] .pc-thread{padding:4px 10px;gap:8px;touch-action:pan-y}
.porscha-chat[data-phone="true"][data-open="true"] .pc-message{padding:8px 10px;line-height:1.45}
.porscha-chat[data-phone="true"][data-open="true"] .pc-chips{
  flex-wrap:wrap;padding:5px 10px;gap:5px;
}
.porscha-chat[data-phone="true"][data-open="true"] .pc-chip{padding:5px 8px;font-size:11px!important;line-height:1.25}
.porscha-chat[data-phone="true"][data-open="true"] .pc-compose{max-height:50%;padding:6px 10px;overflow-y:auto;overscroll-behavior:contain}
.porscha-chat[data-phone="true"][data-open="true"] .pc-consent-block{margin-top:5px}
.porscha-chat[data-phone="true"][data-open="true"] .pc-compose textarea{font-size:16px;max-height:68px}
.porscha-chat[data-phone="true"][data-open="true"]:is([data-keyboard="true"],[data-draft="true"]) .pc-chips{display:none}
/* Keep the conversation and the complete form visible on short landscape phones. */
@media /*fhd*/ (max-height:500px) and (orientation:landscape) and (max-width: 1279px), (max-height:500px) and (orientation:landscape) and (min-width: 1920px), (max-height:500px) and (orientation:landscape) and (hover: none), (max-height:500px) and (orientation:landscape) and (pointer: coarse) {
  .porscha-chat[data-phone="true"][data-open="true"] .pc-header{padding-block:2px;gap:6px}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-header .pc-avatar{width:28px}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-tools .pc-icon-button{width:32px;height:32px;padding:6px}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-chips{display:none}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-thread{padding-block:2px;gap:4px}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-message{padding:4px 8px;line-height:1.25}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-compose{max-height:65%;padding-block:3px}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-compose textarea{min-height:34px;padding-block:5px;line-height:1.3}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-send{height:34px}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-mic{height:28px;bottom:3px}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-consent-block{margin-top:3px;font-size:10px;line-height:1.15}
}
@media /*fhd*/ (min-width:601px) and (max-height:500px) and (max-width: 1279px), (min-width:601px) and (max-height:500px) and (min-width: 1920px), (min-width:601px) and (max-height:500px) and (hover: none), (min-width:601px) and (max-height:500px) and (pointer: coarse) {
  .porscha-chat[data-phone="true"][data-open="true"] .pc-thread{padding-block:3px}
  .porscha-chat[data-phone="true"][data-open="true"] .pc-message{padding-block:6px}
}
@keyframes pc-phone-close{to{opacity:0;transform:translateY(-8px)}}
.porscha-chat[data-phone="true"][data-closing="true"] .pc-panel{pointer-events:none;animation:pc-phone-close .2s ease-in forwards}
.porscha-chat[data-phone="true"][data-closing="true"] .pc-expanded-backdrop{opacity:0}
/* 11.11.2026: touch/small screens - compact, calm launcher: avatar only in the corner, bubble above it, fade (no movement) over buttons. */
@media (max-width:1279px), (pointer:coarse){
html body .porscha-chat{--pc-launcher-size:52px;--pc-launcher-avatar:46px;--pc-bottom:max(12px,calc(env(safe-area-inset-bottom) + 6px));right:max(8px,env(safe-area-inset-right))}
html body .porscha-chat .pc-launcher{top:0;transition:transform .2s,opacity .35s ease}
html body .porscha-chat .pc-launcher-label{display:none}
html body .porscha-chat .pc-dismiss{transition:opacity .35s ease}
html body .porscha-chat[data-over-cta="true"] :is(.pc-launcher,.pc-dismiss){opacity:.16;pointer-events:none}
html body .porscha-chat .pc-invite{left:auto;right:0;top:auto;bottom:calc(100% + 10px);width:min(240px,calc(70vw / var(--porscha-scale,1)));max-width:calc(70vw / var(--porscha-scale,1))}
html body .porscha-chat .pc-invite::after{left:auto;right:19px;bottom:-6px;transform:rotate(45deg)}
html{scroll-padding-bottom:84px}
html body .footer{border-bottom:calc(var(--pc-launcher-size,52px) + 24px) solid transparent}
}
/* 12.11.2026 владелец: на телефоне реплика консультанта меньше (уже, мельче шрифт) и не закрывает кнопки, поля и цены:
   место выбирает chat.js — над значком (data-place="above") или слева от него (data-place="side"); показ — после 18 с
   на странице и прокрутки посетителем, не чаще раза за сессию. Крестик — 28 px, зона нажатия 44 px. Компьютер без изменений. */
@media (max-width:760px), (pointer:coarse) and (max-height:500px){
html body .porscha-chat .pc-invite{width:min(240px,calc(100vw / var(--porscha-scale,1) - 24px));max-width:none;padding:7px 30px 7px 10px;border-radius:9px}
html body .porscha-chat .pc-invite p{margin:0 0 1px;font-size:12px;line-height:1.3}
html body .porscha-chat .pc-invite .pc-text-button{padding:2px 0;font-size:11px}
html body .porscha-chat .pc-invite .pc-icon-button{top:1px;right:1px;width:28px;height:28px;min-width:0;min-height:0;padding:7px}
html body .porscha-chat .pc-invite .pc-icon-button::before{content:"";position:absolute;inset:-8px}
html body .porscha-chat .pc-invite .pc-icon{width:14px;height:14px}
html body .porscha-chat .pc-invite[data-place="side"]{right:calc(100% + 10px);bottom:0}
html body .porscha-chat .pc-invite[data-place="side"]::after{right:-6px;bottom:21px;transform:rotate(-45deg)}
}
@media (max-width:390px) and (max-height:670px){
html body .porscha-chat .pc-invite{padding-block:5px}
html body .porscha-chat .pc-invite p{font-size:11.5px;line-height:1.2}
}
/* 12.11: страница шире экрана телефона (ошибка вёрстки растянула окно) — значок сдвигается внутрь видимой части;
   сдвиг считает chat.js (--pc-shift-x), в обычном случае он 0 и положение прежнее. */
@media (max-width:1279px), (pointer:coarse){
html body .porscha-chat{right:calc(max(8px,env(safe-area-inset-right)) + var(--pc-shift-x,0px))}
}
