body .uk-codes-page{width:min(100%,900px);margin-inline:auto}
body .uk-codes-page .ukcp-article-head{background:#f6f2ec;border:1px solid #e5dfd6;border-radius:24px;padding:clamp(20px,4vw,40px);margin-block-end:18px}
body .uk-codes-page h1{font:750 clamp(27px,4vw,46px)/1.15 var(--fd,Arial);margin:10px 0}
.uk-codes-tools,.uk-code-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.uk-codes-tools{margin-block-start:16px}
.uk-codes-tools :is(button,a),.uk-code-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 14px;border:1px solid #dcd7ce;border-radius:999px;background:#fff;color:#17191d;font:650 13px/1.35 var(--f,Arial);text-decoration:none;cursor:pointer}
.uk-codes-tools button[hidden]{display:none}
.uk-codes-tools .uk-code-primary,.uk-code-actions .uk-code-primary{background:#c71e2a;border-color:#c71e2a;color:#fff}
.uk-codes-tools :is(button,a):focus-visible,.uk-code-actions button:focus-visible{outline:2px solid #be1823;outline-offset:3px}
.uk-codes-page #uk-code-content,.uk-code-card{scroll-margin-top:170px}
.uk-codes-page .uk-code-feedback{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body .uk-codes-page .uk-code-card{display:block;background:#fff;border:1px solid #e5dfd6;border-radius:16px;padding:clamp(12px,3vw,20px);margin:12px 0;min-width:0}
body .uk-codes-page .uk-code-card h3{margin:0 0 8px;font-size:17px;line-height:1.35}
body .uk-codes-page .uk-code-card code{display:block;direction:ltr;text-align:left;background:#f4f2ee;color:#17191d;border-radius:10px;padding:10px 12px;white-space:normal;overflow-wrap:anywhere;font:600 14px/1.75 ui-monospace,monospace;user-select:text}
.uk-code-actions{margin-block-start:10px}
.uk-code-card:target{outline:2px solid #c71e2a;outline-offset:3px}

body .uk-codes-page :is(.uk-codes-tools,.uk-code-actions) :is(button,a){
 gap:8px;min-height:44px;padding:9px 16px;border-radius:12px;
 border:1px solid #ded9d0;background:#fff;color:#17191d;
 font:700 14px/1.35 var(--f,Arial);text-decoration:none;
 transition:background-color .15s,border-color .15s,color .15s;
}
body .uk-codes-page .uk-codes-tools button[hidden]{display:none}
body .uk-codes-page :is(.uk-codes-tools,.uk-code-actions) :is(button,a):hover{background:#f3efe9;border-color:#c9c1b6}
body .uk-codes-page :is(.uk-codes-tools,.uk-code-actions) .uk-code-primary{background:#c71e2a;border-color:#c71e2a;color:#fff}
body .uk-codes-page :is(.uk-codes-tools,.uk-code-actions) .uk-code-primary:hover{background:#a81520;border-color:#a81520;color:#fff}
body .uk-codes-page .uk-code-actions [data-copied=true]{background:#17664d;border-color:#17664d;color:#fff}
.uk-codes-tools svg,.uk-code-actions svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.uk-code-actions{padding-block-start:10px;margin-block-start:10px;border-block-start:1px solid #ede9e3}
@media(max-width:480px){.uk-code-actions>button{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){body .uk-codes-page :is(.uk-codes-tools,.uk-code-actions) :is(button,a){transition:none}}
