/* [bnpgift-constructor-2026-10-11] собрано из tools/gift-constructor-20261011/proto/gc.html — правьте там, пересборка build-plugin.js */
.gc{font-family:'Montserrat',sans-serif;color:#222;line-height:1.45;--gc-red:#cf0c23;--gc-red-d:#a90a1c;--gc-line:#e6e6e6;--gc-mute:#666;container-type:inline-size;container-name:gc}
.gc *{box-sizing:border-box}
.gc [hidden]{display:none!important}
/* [gc-theme-reset] тема задаёт всем кнопкам сайта высоту 50px, line-height 50px, 11px, uppercase, letter-spacing, pill-радиус —
   внутри конструктора это сбрасываем; дальше каждый элемент задаёт оформление сам (селекторы .gc .gc-… сильнее правил темы) */
.gc button{display:inline-block;height:auto;min-height:0;min-width:0;line-height:1.2;font-size:inherit;font-weight:inherit;text-transform:none;letter-spacing:normal;border-radius:0;padding:0;margin:0;border:0;box-shadow:none;color:inherit;background:none;text-align:inherit;vertical-align:middle;cursor:pointer}
.gc button:hover,.gc button:active,.gc button:focus{box-shadow:none}
.gc input,.gc select,.gc textarea{letter-spacing:normal;text-transform:none;box-shadow:none;margin:0;min-height:0}
.gc p{margin:0}
.gc button{font-family:inherit;cursor:pointer}
.gc input,.gc textarea,.gc select{font-family:inherit}
.gc .gc-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px;margin:0 0 20px}
.gc .gc-promises{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.gc .gc-promises li{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--gc-line);border-radius:999px;padding:7px 14px 7px 10px;font-size:13px;font-weight:600}
.gc .gc-promises li:before{content:"";width:16px;height:16px;border-radius:50%;background:var(--gc-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;flex:0 0 16px}
.gc .gc-type{display:inline-flex;background:#ececec;border-radius:14px;padding:4px}
.gc .gc-type button{border:0;background:transparent;border-radius:11px;padding:10px 18px;font-size:14px;font-weight:600;color:#666}
.gc .gc-type button[aria-selected=true]{background:#fff;color:#222;box-shadow:0 1px 4px rgba(0,0,0,.12)}
.gc .gc-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.gc .gc-form{counter-reset:gcs;min-width:0}
.gc .gc-sec{background:#fff;border:1px solid var(--gc-line);border-radius:18px;padding:22px 24px 24px;margin:0 0 16px}
.gc .gc-sec h2{counter-increment:gcs;display:flex;align-items:center;gap:10px;font-family:inherit;font-size:19px;font-weight:700;line-height:1.25;margin:0 0 16px;text-align:left}
.gc .gc-sec h2:before{content:counter(gcs);flex:0 0 28px;height:28px;border-radius:50%;background:#222;color:#fff;font-size:13px;display:flex;align-items:center;justify-content:center}
.gc .gc-sub{font-size:13px;color:var(--gc-mute);margin:-8px 0 14px}
.gc .gc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
.gc .gc-chip{flex:0 0 auto;border:1px solid #d9d9d9;background:#fff;border-radius:999px;padding:8px 15px;font-size:14px;font-weight:600;color:#222;line-height:1.2;white-space:nowrap}
.gc .gc-chip:hover{border-color:#999}
.gc .gc-chip[aria-pressed=true]{background:#222;border-color:#222;color:#fff}
.gc .gc-designs{display:grid;grid-template-columns:repeat(auto-fill,minmax(124px,1fr));gap:10px}
.gc .gc-dz{position:relative;padding:0;border:0;border-radius:12px;overflow:hidden;aspect-ratio:1.6;background:#eee;outline:2px solid transparent;outline-offset:2px;transition:transform .15s}
@media (hover:hover) and (pointer:fine){.gc .gc-dz:hover{transform:translateY(-2px)}}   /* на телефоне касание оставляло «наведение»: карточка приподнималась и рамку срезало */
.gc .gc-dz img{width:100%;height:100%;object-fit:cover;display:block}
.gc .gc-dz[aria-pressed=true]{outline:3px solid var(--gc-red)}
.gc .gc-dz[aria-pressed=true]:after{content:"";position:absolute;right:6px;top:6px;width:22px;height:22px;border-radius:50%;background:var(--gc-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat}
.gc .gc-more{display:block;margin:14px auto 0;border:1px solid #d9d9d9;background:#fff;border-radius:999px;padding:9px 18px;font-size:14px;font-weight:600;color:#222}
.gc .gc-more:hover{border-color:#222}
/* «Создать свой дизайн» */
.gc .gc-dz-new{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:#fff5f6;border:1.5px dashed var(--gc-red);color:var(--gc-red);font-size:13px;font-weight:600;line-height:1.2;text-align:center}
.gc .gc-dz-new i{flex:0 0 22px;width:22px;height:22px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cf0c23' d='M12 2l2.2 6.3L20 10.5l-5.8 2.2L12 19l-2.2-6.3L4 10.5l5.8-2.2zM19 15l1 2.6 2.5 1-2.5 1L19 22l-1-2.4-2.5-1 2.5-1z'/%3E%3C/svg%3E") center/22px no-repeat}
.gc .gc-dz-new[aria-expanded=true]{background:#ffecee}
.gc .gc-gen{margin:14px 0 0;border:1px solid var(--gc-line);background:#fbfbfb;border-radius:14px;padding:16px 16px 6px}
.gc textarea.gc-gen-wish{min-height:84px}
.gc .gc-amounts{display:flex;flex-wrap:wrap;gap:8px}
.gc .gc-amounts .gc-chip{font-size:15px;padding:10px 16px;text-align:center}
.gc .gc-custom{display:flex;align-items:flex-start;gap:12px;margin-top:12px}
.gc .gc-custom .gc-field{margin:0;max-width:220px}
.gc .gc-custom .gc-hint{padding-top:14px}
.gc .gc-hint{font-size:13px;color:var(--gc-mute)}
.gc .gc-row{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.gc .gc-row3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:0 14px}
.gc .gc-field{display:block;margin:0 0 14px;min-width:0}
.gc .gc-field>span:not(.gc-err){display:block;font-size:13px;font-weight:600;color:#555;margin:0 0 6px}
.gc .gc-field>span.gc-fhint{font-size:12.5px;font-weight:500;color:#888;margin:5px 0 0}
.gc .gc-req:after{content:" *";color:var(--gc-red)}
.gc .gc-lbl{display:block;font-size:13px;font-weight:600;color:#555;margin:0 0 6px}
.gc .gc-input{width:100%;height:48px;border:1px solid #d6d6d6;border-radius:12px;padding:0 14px;font-size:15px;color:#222;background:#fff;outline:none;transition:border-color .15s}
.gc textarea.gc-input{height:auto;min-height:150px;padding:12px 14px;resize:vertical;line-height:1.45}
.gc .gc-input:focus{border-color:#222}
.gc .gc-input.is-err{border-color:var(--gc-red);background:#fff8f8}
.gc .gc-err{display:none;color:var(--gc-red);font-size:12.5px;font-weight:600;margin-top:5px}
.gc .gc-field.has-err .gc-err,.gc .gc-agree.has-err .gc-err{display:block}
.gc .gc-count{float:right;font-weight:500;color:#999;font-style:normal}
.gc .gc-count.is-full{color:var(--gc-red)}
.gc .gc-tpls-h{font-size:13px;font-weight:600;color:#555;margin:2px 0 8px}
.gc .gc-tpls{display:flex;flex-direction:column;gap:8px}
.gc .gc-tpl{display:block;width:100%;text-align:left;border:1px dashed #cfcfcf;background:#fafafa;border-radius:12px;padding:10px 14px;font-size:13.5px;color:#333;line-height:1.4}
.gc .gc-tpl:hover{border-color:#222;background:#fff}
.gc .gc-tpl.is-picked{border:1px solid #222;background:#fff}
/* телефон: «Придумать текст» и «Создать свой дизайн» — окно на весь экран (замечания владельца 12.10) */
.gc .gc-sheet{position:fixed;inset:0;z-index:1002;background:#fff;display:flex;flex-direction:column;height:100%;height:100dvh}
.gc .gc-sheet[hidden]{display:none}
.gc .gc-sheet-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 16px;border-bottom:1px solid var(--gc-line);font-size:17px;font-weight:700}
.gc .gc-sheet-x{flex:0 0 44px;width:44px;height:44px;border-radius:50%;background:#f2f2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 6l12 12M18 6L6 18' stroke='%23222' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat}
.gc .gc-sheet-body{flex:1 1 auto;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:16px 16px 24px}
.gc .gc-sheet-body .gc-ai-box,.gc .gc-sheet-body .gc-gen{margin:0;border:0;background:none;padding:0}
.gc .gc-gen-result{display:block;width:100%;aspect-ratio:1.6;object-fit:cover;border-radius:14px;margin:0 0 12px;box-shadow:0 8px 22px rgba(0,0,0,.14)}
.gc .gc-gen-result[hidden]{display:none}
.gc .gc-sheet-foot{flex:0 0 auto;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--gc-line);background:#fff}
.gc .gc-sheet-foot[hidden]{display:none}
.gc .gc-sheet-done{width:100%;height:50px;border-radius:12px;background:#222;color:#fff;font-size:16px;font-weight:600;text-align:center}
body.gc-sheet-open jdiv,body.gc-sheet-open #move-to-top{display:none!important}
.gc .gc-tpl-tones{margin:0 0 10px}
.gc .gc-tpl-tones .gc-chip{padding:7px 12px;font-size:13px}
/* эмодзи к поздравлению: ряд под повод и «Ещё эмодзи» */
.gc .gc-emo{display:flex;flex-wrap:wrap;align-items:center;gap:2px;margin:-6px 0 14px}
.gc .gc-emo button{width:36px;height:36px;border-radius:10px;font-size:21px;line-height:36px;text-align:center;font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif}
.gc .gc-emo button:hover{background:#efefef}
.gc .gc-emo .gc-emo-more{width:auto;height:30px;line-height:28px;margin-left:6px;padding:0 12px;border:1px solid #d9d9d9;border-radius:999px;font-family:inherit;font-size:13px;font-weight:600;color:#555;background:#fff}
.gc .gc-emo .gc-emo-more:hover{border-color:#999;background:#fff}
.gc .gc-emo-all{border:1px solid var(--gc-line);background:#fbfbfb;border-radius:14px;padding:8px 8px 2px;margin:-6px 0 14px}
.gc .gc-emo-all .gc-emo{margin:0 0 6px}
.gc .gc-emo-h{font-size:12px;font-weight:600;color:#888;margin:4px 6px 2px}
/* помощник «Придумать текст» */
.gc .gc-ai{margin:0 0 16px}
.gc .gc-ai-open{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--gc-red);color:var(--gc-red);background:#fff;border-radius:999px;padding:9px 16px;font-size:14px;font-weight:600}
.gc .gc-ai-open:hover{background:#fff5f6}
.gc .gc-ai-open i{flex:0 0 16px;width:16px;height:16px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23cf0c23' d='M12 2l2.2 6.3L20 10.5l-5.8 2.2L12 19l-2.2-6.3L4 10.5l5.8-2.2zM19 15l1 2.6 2.5 1-2.5 1L19 22l-1-2.4-2.5-1 2.5-1z'/%3E%3C/svg%3E") center/16px no-repeat}
.gc .gc-ai-box{margin-top:12px;border:1px solid var(--gc-line);background:#fbfbfb;border-radius:14px;padding:16px 16px 6px}
.gc .gc-ai-tones{margin:0}
.gc .gc-ai-tones .gc-chip{padding:8px 12px;font-size:13.5px}
.gc textarea.gc-ai-facts{min-height:72px}
.gc .gc-ai-go{display:inline-flex;align-items:center;justify-content:center;height:44px;padding:0 20px;border-radius:12px;background:#222;color:#fff;font-size:14px;font-weight:600;margin:0 0 10px}
.gc .gc-ai-go[disabled]{opacity:.6;cursor:wait}
.gc .gc-ai-note{font-size:12.5px;color:#888;margin:0 0 8px}
.gc .gc-ai-err{color:var(--gc-red);font-size:13px;font-weight:600;margin:0 0 10px}
.gc .gc-ai-out{margin:0 0 10px}
.gc .gc-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}
.gc .gc-opt{color:#222;font-size:14px;position:relative;display:flex;flex-direction:column;justify-content:flex-start;text-align:left;border:1px solid #dcdcdc;background:#fff;border-radius:14px;padding:14px 14px 14px 46px}
.gc .gc-opt:before{content:"";position:absolute;left:14px;top:15px;width:20px;height:20px;border-radius:50%;border:2px solid #bbb;background:#fff}
.gc .gc-opt[aria-checked=true]{border-color:#222;box-shadow:inset 0 0 0 1px #222}
.gc .gc-opt[aria-checked=true]:before{border-color:var(--gc-red);box-shadow:inset 0 0 0 4px #fff;background:var(--gc-red)}
.gc .gc-opt b{display:block;font-size:14.5px;margin:0 0 3px}
.gc .gc-opt small{display:block;font-size:12.5px;color:var(--gc-mute);line-height:1.35}
.gc .gc-when{display:inline-flex;background:#f1f1f1;border-radius:12px;padding:4px;margin:0 0 14px}
.gc .gc-when button{border:0;background:transparent;border-radius:9px;padding:9px 14px;font-size:13.5px;font-weight:600;color:#666}
.gc .gc-when button[aria-selected=true]{background:#fff;color:#222;box-shadow:0 1px 3px rgba(0,0,0,.12)}
.gc .gc-agree{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:flex-start;font-size:13.5px;margin:4px 0 4px;cursor:pointer}
.gc .gc-agree input{width:20px;height:20px;margin:0;accent-color:var(--gc-red);flex:0 0 20px}
.gc .gc-agree>span:not(.gc-err){flex:1;min-width:0}
.gc .gc-agree a,.gc .gc-faq .gc-a a{color:#0000cc}
.gc .gc-agree .gc-err{flex-basis:100%;margin:0 0 0 30px}
.gc .gc-pay{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:56px;border:0;border-radius:14px;background:var(--gc-red);color:#fff;font-size:17px;font-weight:700;transition:background .15s}
.gc .gc-pay:hover{background:var(--gc-red-d)}
.gc .gc-pay[disabled]{opacity:.6;cursor:wait}
.gc .gc-pay.is-off,.gc .gc-pay.is-off:hover{background:#bdbdbd}   /* не всё заполнено: серая, нажатие ведёт к полю */
.gc .gc-secure{font-size:12.5px;color:#888;text-align:center;margin:10px 0 0}
.gc .gc-side{position:sticky;top:96px}
/* карточка: логотип, имя и сумма; у пластика — только картинка самой карты */
.gc .gc-card{container-type:inline-size;text-align:left;position:relative;width:100%;aspect-ratio:1.6;border-radius:18px;overflow:hidden;background:#ddd;box-shadow:0 14px 34px rgba(0,0,0,.16)}
.gc .gc-card>img{width:100%;height:100%;object-fit:cover;display:block}
/* знак и плашка — в cqw от ширины карточки, те же пропорции, что у картинки заказа (renderCard, база 400 px = 4 cqw на px);
   уменьшены 12.10.2026: плашка «Кому + сумма» закрывала фон */
.gc .gc-logo{position:absolute;top:10px;left:10px;background:#fff;border-radius:9px;padding:4px 6px;line-height:0;top:2.5cqw;left:2.5cqw;border-radius:2.25cqw;padding:1cqw 1.5cqw}
.gc .gc-logo img{height:26px;width:auto;height:6.5cqw}
.gc .gc-tag{position:absolute;left:10px;bottom:10px;background:rgba(255,255,255,.92);border-radius:10px;padding:5.5px 10px 4.5px;max-width:58%;left:2.5cqw;bottom:2.5cqw;border-radius:2.5cqw;padding:1.375cqw 2.5cqw 1.125cqw}
.gc .gc-tag small{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;font-size:10px;font-size:max(9.5px,2.5cqw);font-weight:600;color:#555;line-height:1.2;word-break:break-word}
.gc .gc-tag b{display:block;font-size:20px;font-size:max(16px,5cqw);font-weight:800;line-height:1.15;white-space:nowrap}
.gc .gc-card[data-layout=plastic] .gc-logo,.gc .gc-card[data-layout=plastic] .gc-tag{display:none}
.gc .gc-msg{background:#fff;border:1px solid var(--gc-line);border-radius:16px;padding:16px 18px;margin:14px 0 0;font-size:14px}
.gc .gc-msg-text{white-space:pre-line;color:#333;word-wrap:break-word}
.gc .gc-msg-from{text-align:right;font-weight:600;color:#555;margin:8px 0 0}
.gc .gc-sum{list-style:none;margin:16px 0 14px;padding:0;font-size:13.5px}
.gc .gc-sum li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-bottom:1px solid #ececec}
.gc .gc-sum li span{color:var(--gc-mute)}
.gc .gc-sum li b{text-align:right;font-weight:600}
.gc .gc-look{display:block;width:100%;height:44px;border:1px solid #222;background:#fff;color:#222;text-align:center;border-radius:12px;font-size:14px;font-weight:600;margin:14px 0 0}
.gc .gc-look:hover{background:#222;color:#fff}
.gc .gc-bar{display:none}
.gc .gc-how{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 8px;padding:0;list-style:none;counter-reset:gch}
.gc .gc-how li{background:#fff;border:1px solid var(--gc-line);border-radius:16px;padding:20px 20px 18px;font-size:14px;color:#555}
.gc .gc-how li:before{counter-increment:gch;content:counter(gch);display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:var(--gc-red);color:#fff;font-weight:700;font-size:14px;margin:0 0 10px}
.gc .gc-how b{display:block;color:#222;font-size:16px;margin:0 0 4px}
.gc .gc-h2{font-family:inherit;font-size:22px;font-weight:700;margin:32px 0 14px;text-align:left}
/* для компаний: заявка менеджеру (владелец 13.10) */
.gc .gc-corp{background:#fff;border:1px solid var(--gc-line);border-radius:20px;padding:22px 24px;margin:32px 0 0}
.gc .gc-corp-head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.gc .gc-corp .gc-h2{margin:0 0 6px}
.gc .gc-corp-head p{margin:0;font-size:14px;color:#555;max-width:640px}
.gc .gc-corp-open,.gc .gc-corp-send{flex:0 0 auto;height:44px;padding:0 22px;border:0;border-radius:12px;background:#222;color:#fff;font-size:14px;font-weight:600;white-space:nowrap}
.gc .gc-corp-open:hover,.gc .gc-corp-send:hover{background:#000}
.gc .gc-corp-send[disabled]{opacity:.6}
.gc .gc-corp-form{margin:18px 0 0}
.gc .gc-corp-comment{height:auto;min-height:76px;padding-top:10px;resize:vertical}
.gc .gc-corp-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:6px 0 0}
.gc .gc-corp-msg{font-size:13px;color:var(--gc-mute)}
.gc .gc-corp-msg.is-err{color:var(--gc-red);font-size:14px}
.gc .gc-corp-policy{margin:10px 0 0;font-size:12px;color:var(--gc-mute)}
.gc .gc-corp-policy a{color:#0000cc}
.gc .gc-corp-done{margin:14px 0 0;padding:14px 16px;border-radius:12px;background:#e6f5e8;color:#1a6b25;font-size:14px;font-weight:600}
.gc .gc-faq details{border-bottom:1px solid var(--gc-line)}
.gc .gc-faq summary{cursor:pointer;list-style:none;padding:16px 36px 16px 0;font-weight:700;font-size:15px;position:relative}
.gc .gc-faq summary::-webkit-details-marker{display:none}
.gc .gc-faq summary:focus{outline:none}
.gc .gc-faq summary:focus-visible{outline:2px solid var(--gc-red);outline-offset:2px;border-radius:6px}
.gc .gc-faq summary:after{content:"+";position:absolute;right:4px;top:12px;font-size:24px;font-weight:400;color:var(--gc-red);line-height:1}
.gc .gc-faq details[open] summary:after{content:"–"}
.gc .gc-faq .gc-a{padding:0 0 16px;font-size:14px;color:#555;max-width:780px}
/* предпросмотр письма */
.gc .gc-modal{position:fixed;inset:0;z-index:1000;background:rgba(20,20,20,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.gc .gc-mbox{position:relative;width:100%;max-width:820px;max-height:calc(100vh - 32px);overflow:auto;background:#f6f6f6;border-radius:20px;padding:22px 18px 18px}
.gc .gc-mclose{position:absolute;right:10px;top:8px;width:36px;height:36px;border:0;background:transparent;font-size:26px;line-height:1;color:#666}
.gc .gc-mhead{font-size:13px;font-weight:600;color:#888;text-align:center;margin:0 0 12px;padding:0 34px}
.gc .gc-mail{background:#fff;border-radius:14px;padding:26px 28px 22px;text-align:center}
.gc .gc-mail .gc-card{box-shadow:none;border-radius:12px;margin:0 0 16px}
.gc .gc-mail h3{font-size:24px;font-weight:800;margin:0 0 4px}
.gc .gc-mail-for{font-size:14px;color:#555;margin:0 0 14px}
.gc .gc-mail .gc-msg{text-align:left;margin:0 0 14px;background:#fafafa}
.gc .gc-codes{display:grid;grid-template-columns:1fr;gap:8px;border:1px dashed #cfcfcf;border-radius:12px;padding:12px 14px;text-align:left;font-size:14px;margin:0 0 14px}
.gc .gc-codes span{color:#888;font-size:12px;display:block}
.gc .gc-codes b{font-size:16px;letter-spacing:.04em}
.gc .gc-mail-how{text-align:left;font-size:13px;color:#555;margin:0;padding-left:18px}
.gc .gc-mail-how li{margin:0 0 4px}
.gc .gc-mnote{font-size:12.5px;color:#888;text-align:center;margin:12px 0 0}
.gc .gc-toast{position:fixed;left:50%;bottom:90px;transform:translateX(-50%);background:#222;color:#fff;border-radius:12px;padding:12px 18px;font-size:13px;z-index:1001;max-width:min(680px,calc(100% - 32px));white-space:pre-wrap}
/* рядом с меню темы контент ~1000 px: подтягиваем раскладку по ширине блока, а не окна */
@container gc (max-width:1060px){.gc .gc-grid{grid-template-columns:minmax(0,1fr) 330px;gap:20px}.gc .gc-row3{grid-template-columns:1fr}}
@container gc (max-width:860px){.gc .gc-opts{grid-template-columns:1fr}}
@media (max-width:860px){
  .gc .gc-grid{grid-template-columns:minmax(0,1fr);gap:0}
  .gc .gc-side{position:static;order:-1;margin:0 0 16px}
  .gc .gc-side .gc-msg,.gc .gc-side .gc-sum,.gc .gc-side .gc-pay,.gc .gc-side .gc-secure{display:none}
  .gc .gc-top{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:12px}
  .gc .gc-promises{flex-wrap:nowrap;overflow-x:auto;margin:0 -10px;padding:0 10px;scrollbar-width:none}   /* поля темы — 10 px: -16 выводило полосу за экран, страница ездила вбок */
  .gc .gc-promises::-webkit-scrollbar{display:none}
  .gc .gc-promises li{white-space:nowrap;font-size:12.5px}
  .gc .gc-type{align-self:flex-start}
  .gc .gc-sec{padding:18px 16px 20px;border-radius:16px}
  .gc .gc-sec h2{font-size:17px}
  .gc .gc-designs{grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:42%;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 8px 10px;margin:-4px -8px 0;scroll-padding:0 8px;scrollbar-width:none}   /* запас 8 px: красная рамка выбранной (3 + 2 px) не срезается лентой */
  .gc .gc-designs::-webkit-scrollbar{display:none}
  .gc .gc-dz{scroll-snap-align:start}
  .gc .gc-chips.gc-occ{flex-wrap:nowrap;overflow-x:auto;margin-right:-16px;padding-right:16px;scrollbar-width:none}
  .gc .gc-chips.gc-occ::-webkit-scrollbar{display:none}
  .gc .gc-more{display:none}
  .gc .gc-amounts{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}
  .gc .gc-amounts .gc-chip{padding:10px 2px;font-size:clamp(13px,3.6vw,15px)}
  .gc .gc-amounts .gc-chip:last-child{grid-column:span 2}
  .gc .gc-row,.gc .gc-row3,.gc .gc-opts{grid-template-columns:1fr}
  .gc .gc-how{grid-template-columns:1fr}
  .gc .gc-bar{display:flex;align-items:center;gap:12px;position:fixed;left:0;right:0;bottom:0;z-index:900;background:#fff;box-shadow:0 -6px 20px rgba(0,0,0,.1);padding:10px 16px calc(10px + env(safe-area-inset-bottom))}
  .gc .gc-bar img{width:56px;height:35px;border-radius:6px;object-fit:cover;flex:0 0 56px;background:#ddd}
  .gc .gc-bar-sum{font-size:18px;font-weight:800;white-space:nowrap}
  .gc .gc-bar .gc-pay{height:48px;font-size:16px;flex:1}
  .gc{padding-bottom:76px}
  /* ввод на телефоне: шрифт 16 px — iPhone не увеличивает страницу; пока открыта клавиатура, плашка «Купить» и кнопка
     «наверх» темы не закрывают поле; поля помощника и «своего дизайна» выше, кнопки — на всю ширину */
  .gc .gc-input{font-size:16px}
  .gc .gc-corp{padding:18px 16px}
  .gc .gc-corp-head{flex-direction:column;align-items:stretch}
  .gc .gc-corp-open,.gc .gc-corp-send{width:100%}
  .gc .gc-emo,.gc .gc-emo-all{display:none}   /* телефон: эмодзи есть в клавиатуре — строка и «Ещё эмодзи» только на компьютере (владелец 12.10) */
  .gc textarea.gc-ai-facts,.gc textarea.gc-gen-wish{min-height:120px}
  .gc .gc-ai-go{width:100%;height:50px;font-size:16px}
  .gc.gc-typing .gc-bar{display:none}
  body.gc-typing #move-to-top{display:none!important}
  .gc .gc-mbox{padding:16px 10px 12px}
  .gc .gc-mail{padding:20px 14px 18px}
  .gc .gc-mail h3{font-size:21px}
}
@media (max-width:359px){
  .gc .gc-amounts{grid-template-columns:repeat(3,1fr)}
  .gc .gc-amounts .gc-chip:last-child{grid-column:1/-1}
}
