/* Public share dialog: the accepted forum palette, native <dialog> behaviour. */
.vcc-article-share-launch{display:inline-flex;align-items:center;gap:7px;padding:9px 17px;margin:10px 0 17px;border:1px solid #138bc9;background:#053158;color:#eaf6ff;border-radius:5px;font:600 14px/1.4 Manrope,Arial,sans-serif;cursor:pointer}
#vcc-share-center{--share-ink:#eaf1ff;--share-muted:#80acd2;--share-edge:#063752;box-sizing:border-box;color:var(--share-ink);background:linear-gradient(180deg,#001e34,#00192d);border:1px solid #075480;border-radius:10px;box-shadow:0 24px 80px #0008,0 0 0 1px #00aeff0a;width:min(560px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:24px;font:13px/1.5 Manrope,Arial,sans-serif;overflow:auto;scrollbar-width:thin;scrollbar-color:#145579 transparent;overscroll-behavior:contain}
@layer vccCatalogPalette{html:root:not([data-home-theme="light"]) body #vcc-share-center{background:linear-gradient(180deg,#001e34,#00192d)!important;border-color:#075480!important}}
#vcc-share-center::backdrop{background:#000b;backdrop-filter:blur(5px)}
#vcc-share-center *{box-sizing:border-box}#vcc-share-center [hidden]{display:none!important}
#vcc-share-center svg{width:19px;height:19px;display:block;flex:none}
#vcc-share-center .vcc-share-header{display:flex;align-items:center;justify-content:space-between;margin:0 0 17px;gap:16px}
#vcc-share-center h2{font:750 22px/1.3 Manrope,Arial,sans-serif;letter-spacing:-.02em;color:#f2f6ff;margin:0}
#vcc-share-center button,#vcc-share-center a{font-family:inherit;touch-action:manipulation}
#vcc-share-center button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid var(--share-edge);border-radius:5px;padding:9px 12px;background:linear-gradient(#002640,#001e33);color:#dcecff;cursor:pointer;font-size:12px;line-height:1.4;font-weight:600;min-height:38px;transition:background .15s,border-color .15s}
#vcc-share-center button:hover{background:#073550;border-color:#177fb0}
#vcc-share-center button:disabled{cursor:default;opacity:.5}
#vcc-share-center .vcc-share-close{width:36px;height:36px;min-height:36px;border:0;background:transparent;padding:7px;color:#9dc4e4}
#vcc-share-center .vcc-share-close:hover{background:#073550;color:white}
#vcc-share-center :is(input,textarea,button,a,summary):focus-visible{outline:2px solid #28caff;outline-offset:3px}
#vcc-share-center .vcc-share-context{display:flex;align-items:center;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--share-edge);margin-bottom:20px}
#vcc-share-center .vcc-share-context-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;background:#002c49;color:#15c5ff;border:1px solid #06466d;border-radius:6px}
#vcc-share-center .vcc-share-context>div{min-width:0}
#vcc-share-center .vcc-share-kind{color:var(--share-muted);font-size:11px}
#vcc-share-center .vcc-share-context-title{font-size:13px;line-height:1.5;font-weight:600;margin:3px 0 0;color:#dcecff;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#vcc-share-center .vcc-share-primary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 22px}
#vcc-share-center .vcc-share-service{display:flex;align-items:center;gap:10px;text-decoration:none;color:#cce2f7;min-width:0;border-radius:6px}
#vcc-share-center .vcc-share-primary .vcc-share-service{flex-direction:column;text-align:center;gap:8px;padding:4px 0;font-size:11px;font-weight:550;line-height:1.3}
#vcc-share-center .vcc-share-service-icon{width:38px;height:38px;flex:none;display:grid;place-items:center;border-radius:11px;color:#d9edff;background:#073350}
#vcc-share-center .vcc-share-primary .vcc-share-service-icon{width:46px;height:46px;border-radius:13px;color:white;box-shadow:inset 0 1px 0 #ffffff1f;transition:transform .15s}
#vcc-share-center .vcc-share-primary .vcc-share-service-icon svg{width:24px;height:24px}
#vcc-share-center .vcc-share-primary a:hover .vcc-share-service-icon{transform:translateY(-2px)}
#vcc-share-center [data-service=telegram] .vcc-share-service-icon{background:#229ed9}
#vcc-share-center [data-service=vk] .vcc-share-service-icon{background:#0077ff}
#vcc-share-center [data-service=whatsapp] .vcc-share-service-icon{background:#128c55}
#vcc-share-center [data-service=ok] .vcc-share-service-icon{background:#ee8208}
#vcc-share-center [data-service=x] .vcc-share-service-icon{background:#151e29;border:1px solid #385068}
#vcc-share-center [data-service=email] .vcc-share-service-icon{background:#285ac4}
#vcc-share-center .vcc-share-label{display:block;color:#a7c5e1;font-size:11px;margin:0 0 6px}
#vcc-share-center .vcc-share-link-row{display:flex;align-items:stretch;border:1px solid #075075;border-radius:6px;background:#001524;padding:4px;gap:4px}
#vcc-share-center input,#vcc-share-center textarea{font:inherit;color:#dcecff;background:#001524;border:1px solid #075075;border-radius:5px;min-width:0;max-width:100%;padding:10px}
#vcc-share-center #vcc-share-url{flex:1;width:0;border:0;background:transparent;font-size:12px;padding:7px}
#vcc-share-center .vcc-share-copy{background:linear-gradient(115deg,#006cff,#0055fc);border-color:#0781ff;color:white;flex:none;padding-inline:12px}
#vcc-share-center .vcc-share-copy:hover{background:#167eff}
#vcc-share-center .vcc-share-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:10px 0 18px}
#vcc-share-center .vcc-share-actions button{border:0;background:transparent;padding:7px 4px;min-height:36px;font-size:11px;font-weight:500;color:#9fc2df}
#vcc-share-center .vcc-share-actions button:hover{color:#17c8ff}
#vcc-share-center .vcc-share-actions svg{width:16px;height:16px}
#vcc-share-center .vcc-share-more{border-top:1px solid var(--share-edge);border-bottom:1px solid var(--share-edge)}
#vcc-share-center .vcc-share-more>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;padding:12px 0;font-size:12px;font-weight:600;color:#c8e1f7}
#vcc-share-center .vcc-share-more>summary::-webkit-details-marker{display:none}
#vcc-share-center .vcc-share-more[open]>summary svg{transform:rotate(180deg)}
#vcc-share-center .vcc-share-more-body{padding:0 0 15px}
#vcc-share-center .vcc-share-more-body>input{width:100%;margin-bottom:10px;font-size:12px}
#vcc-share-center .vcc-share-services{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-height:230px;overflow:auto;scrollbar-width:thin;scrollbar-color:#145579 transparent;padding:2px}
#vcc-share-center .vcc-share-services a{border:1px solid #07344e;padding:8px;font-size:11px;flex-wrap:wrap;gap:5px 8px}
#vcc-share-center .vcc-share-services a:hover{background:#063552;border-color:#12658d}
#vcc-share-center .vcc-share-services .vcc-share-service-icon{width:26px;height:26px;border-radius:5px}
#vcc-share-center .vcc-share-services .vcc-share-service-icon svg{width:15px;height:15px}
#vcc-share-center .vcc-share-service-name{overflow-wrap:anywhere}
#vcc-share-center .vcc-share-manual{margin-left:34px;margin-top:-6px;flex-basis:100%;font-size:9px;color:#6ea1c5}
#vcc-share-center .vcc-share-note,#vcc-share-center .vcc-share-empty{margin:10px 0 0;color:var(--share-muted);font-size:11px}
#vcc-share-center .vcc-share-open{display:inline-flex;align-items:center;gap:5px;margin:15px 0 0;font-size:11px;color:#76accc;text-decoration:none}
#vcc-share-center .vcc-share-open svg{width:13px;height:13px}
#vcc-share-center .vcc-share-open:hover{color:#17c8ff}
#vcc-share-center .vcc-share-status{color:#29d0b3;font-size:12px;line-height:1.5;margin:12px 0 0;min-height:0}
#vcc-share-center .vcc-share-status:empty{display:none}
#vcc-share-center .vcc-share-status[data-error="1"]{color:#ffacba}
#vcc-share-center .vcc-share-copy-fallback{width:100%;display:block;min-height:80px;margin-top:10px;resize:vertical}
#vcc-share-center .vcc-share-qr{padding:16px;margin-bottom:16px;border:1px solid var(--share-edge);border-radius:6px;text-align:center}
#vcc-share-center .vcc-share-qr canvas{display:block;width:min(220px,100%);height:auto;margin:0 auto 12px;aspect-ratio:1;border:7px solid white;background:white}
@media(max-width:550px){#vcc-share-center{padding:18px;width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}#vcc-share-center .vcc-share-primary{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:15px}#vcc-share-center .vcc-share-primary .vcc-share-service-icon{width:44px;height:44px}#vcc-share-center .vcc-share-primary .vcc-share-service{font-size:12px}#vcc-share-center .vcc-share-actions{flex-wrap:wrap;gap:2px 8px}#vcc-share-center .vcc-share-actions button{min-height:40px}#vcc-share-center .vcc-share-copy{padding-inline:9px;font-size:11px}#vcc-share-center .vcc-share-services{grid-template-columns:1fr 1fr}#vcc-share-center .vcc-share-services a{min-height:52px}#vcc-share-center .vcc-share-context{margin-bottom:16px}#vcc-share-center h2{font-size:20px}}
@media(prefers-reduced-motion:reduce){#vcc-share-center *{transition:none!important}}

/* Match the existing forum light theme on every public page. */
html:root[data-home-theme="light"] body #vcc-share-center{--share-ink:#173351;--share-muted:#506d8e;--share-edge:#c8def3;background:#f7fbff!important;border-color:#b9d4ee!important;color:#173351!important;box-shadow:0 24px 80px #1d45684d}
html[data-home-theme="light"] body #vcc-share-center::backdrop{background:#17335180}
html[data-home-theme="light"] body #vcc-share-center :is(h2,.vcc-share-context-title,.vcc-share-service,.vcc-share-more>summary){color:#173351!important}
html[data-home-theme="light"] body #vcc-share-center :is(.vcc-share-label,.vcc-share-kind,.vcc-share-actions button,.vcc-share-open,.vcc-share-manual){color:#496b8c!important}
html[data-home-theme="light"] body #vcc-share-center :is(.vcc-share-link-row,input,textarea){background:#fff!important;border-color:#b9d4ee!important;color:#173351!important}
html[data-home-theme="light"] body #vcc-share-center :is(.vcc-share-context-icon,.vcc-share-close){background:#e8f3ff!important;color:#086dc5!important;border-color:#c8def3!important}
html[data-home-theme="light"] body #vcc-share-center .vcc-share-services a{border-color:#c8def3!important}
