.hks-row{display:flex;justify-content:center;margin:8px 0 12px}.hks-btn{--hks:#168238;display:inline-flex;align-items:center;justify-content:center;gap:8px;position:relative;padding:6px 14px;min-height:36px;border:1px solid color-mix(in srgb,var(--hks) 28%,white);border-radius:8px;background:#fff;color:var(--hks);font:inherit;font-size:14px;cursor:pointer;box-sizing:border-box}.hks-hanga{--hks:#c00}.hks-omrst{--hks:#008581}.hks-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.hks-btn .hks-share,.hks-mobile .hks-copy,.hks-mobile .hks-label{display:none}.hks-mobile .hks-share{display:block}.hks-mobile{width:44px;height:44px;padding:0;border-radius:50%}.hks-btn:hover,.hks-btn:focus-visible{background:color-mix(in srgb,var(--hks) 7%,white)}.hks-btn:focus-visible{outline:2px solid var(--hks);outline-offset:2px}.hks-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.hks-mobile .hks-status:not(:empty){width:max-content;height:auto;clip-path:none;top:100%;left:50%;transform:translateX(-50%);background:#fff;padding:3px 6px;z-index:2;border-radius:4px}.hks-pair{display:flex;align-items:center;justify-content:center;gap:10px}.hks-pair .hks-row,.hks-pair .km-translate-toggle{margin:0!important}.hks-pair .hks-btn{width:42px;height:42px}

/* Изоляция от глобальных правил шаблонов. */
body .hks-row{display:flex!important;justify-content:center!important;align-items:center!important;margin:6px 0 8px!important;visibility:visible!important;opacity:1!important}
body .hks-row button.hks-btn,body .hks-row button.hks-btn:hover,body .hks-row button.hks-btn:focus,body .hks-row button.hks-btn:active{display:inline-flex!important;align-items:center!important;justify-content:center!important;color:var(--hks)!important;background:#fff!important;border:1px solid color-mix(in srgb,var(--hks) 28%,white)!important;opacity:1!important;visibility:visible!important;text-decoration:none!important;box-shadow:none!important;transform:none!important}
body .hks-row button.hks-btn:hover,body .hks-row button.hks-btn:focus-visible{background:color-mix(in srgb,var(--hks) 7%,white)!important}
body .hks-row button.hks-btn svg{flex:none!important;width:20px!important;height:20px!important;stroke:currentColor!important;fill:none!important}
body .hks-row button.hks-btn .hks-copy{display:block!important}
body .hks-row button.hks-btn .hks-share{display:none!important}
body .hks-row button.hks-mobile .hks-copy,body .hks-row button.hks-mobile .hks-label{display:none!important}
body .hks-row button.hks-mobile .hks-share{display:block!important;visibility:visible!important;opacity:1!important}
body .hks-row button.hks-mobile{width:44px!important;height:44px!important;min-width:44px!important;padding:0!important;border-radius:50%!important}
body .hks-pair .hks-row{margin:0!important}

/* Финальное оформление: изоляция от стилей шаблона. */
html body .hks-row { margin: 4px 0 6px !important; }
html body .hks-row button.hks-btn {
    border: 1px solid color-mix(in srgb, var(--hks) 28%, white) !important;
    border-radius: 8px !important;
    padding: 4px 12px !important;
    min-height: 34px !important;
}
html body .hks-row button.hks-btn.hks-mobile {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.06) !important;
}
html body .hks-row button.hks-mobile svg { width: 22px !important; height: 22px !important; }
html body .hks-pair { gap: 10px; }
html body .hks-pair .hks-row { margin: 0 !important; }
html body.kaipai-mobile .hks-pair button.hks-mobile {
    color: #169a39 !important;
    border: 1px solid rgba(43,168,74,.22) !important;
}
html body.kaipai-mobile .hks-pair button.hks-mobile:hover,
html body.kaipai-mobile .hks-pair button.hks-mobile:focus-visible {
    color: #12948d !important;
    border-color: rgba(18,148,141,.42) !important;
}

/* Совместимость с браузерами без color-mix и каскадом шаблона. */
html body .hks-row button.hks-btn { --hks-border:#b9dfc2; --hks-hover:#edf7ef; }
html body .hks-row button.hks-btn.hks-hanga { --hks-border:#eacccc; --hks-hover:#fff2f2; }
html body .hks-row button.hks-btn.hks-omrst { --hks-border:#cce5e3; --hks-hover:#edf7f6; }
html body .hks-row button.hks-btn:not(.hks-mobile),
html body .hks-row button.hks-btn:not(.hks-mobile):hover,
html body .hks-row button.hks-btn:not(.hks-mobile):focus,
html body .hks-row button.hks-btn:not(.hks-mobile):active {
 border:1px solid var(--hks-border) !important;
 border-radius:8px !important;
 padding:4px 12px !important;
 min-height:34px !important;
 color:var(--hks) !important;
 background:#fff !important;
}
html body .hks-row button.hks-btn:not(.hks-mobile):hover,
html body .hks-row button.hks-btn:not(.hks-mobile):focus-visible { background:var(--hks-hover) !important; }
html body .article-header .hks-row { margin:4px 0 0 !important; }
