/* hk-social: concept A ("Nagu Facebookis"). Ported from concepts/social-20261103/social_a.html. Every rule is scoped under .sb. */
.hkq-ask.hks-on>.hkq-card,.hkq-ask.hks-on>.hkq-chips{display:none!important}
.hkq-ask.hks-on{margin:0 0 24px}
.hkd-askslot .hkq-ask.hks-on{margin:0}
.sb a,.sb a:hover,.sb a:focus,.sb button,.sb button:hover,.sb button:focus{text-decoration:none}
.sb .sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.sb .sr>span{display:block;width:200px;white-space:normal}
.sb ul,.sb li{list-style:none}
.sb ul{margin:0;padding:0}
.sb button{-webkit-appearance:none;appearance:none;text-transform:none;letter-spacing:normal;box-shadow:none;margin:0}
.sb{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.4}
.sb input{-webkit-appearance:none;appearance:none;box-shadow:none;margin:0}
.sb-compact{margin:14px 0 24px}
.sb-full{margin:6px 0 24px}
.sb{margin:16px 0 8px;color:#111827;position:relative}
.sb *{box-sizing:border-box}
.sb button,.sb input{font-family:inherit}
.sb button,.sb .sb-pal button{-webkit-tap-highlight-color:transparent}
.sb button:focus-visible{outline:2px solid #0f766e;outline-offset:1px}
.sb .ic{display:inline-block;flex:none;line-height:0;vertical-align:middle}
.sb .ic svg{display:block;width:100%;height:100%}
.sb .sb-top{position:relative;display:flex;align-items:center;gap:6px;min-height:44px;flex-wrap:nowrap}
.sb .sb-top[hidden]{display:none}
.sb .sb-cm{display:inline-flex;align-items:center;gap:4px;min-height:44px;min-width:44px;padding:0 6px;background:transparent;border:0;border-radius:10px;font-weight:700;font-size:15px;line-height:1;font-family:inherit;color:#374151;cursor:pointer;white-space:nowrap;flex:none;margin-left:4px;font-variant-numeric:tabular-nums}
.sb .sb-cm .ic{width:22px;height:22px}
.sb .sb-cm:hover{background:#f3f1ec}
.sb .sb-cmw{font-weight:600;color:#4b5563}
.sb.sb-w0 .sb-cmw{display:none}
.sb .sb-rx{display:flex;flex:1 1 auto;min-width:min-content;gap:2px}
.sb.sb-w0 .sb-rx{gap:0}
.sb.sb-w0 .sb-cm{margin-left:0;padding:0 4px}
.sb .sb-rb{flex:1 1 0;min-width:44px;min-height:52px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:2px 0;border:0;border-radius:12px;background:transparent;cursor:pointer;font-family:inherit;text-decoration:none;transition:transform .12s}
.sb .sb-rb:hover{background:#f3f1ec}
.sb .sb-rb[aria-pressed=true]{background:#e3f1ee}
.sb .sb-rb:focus-visible{outline:2px solid #0f766e;outline-offset:2px}
.sb .sb-rb:active{transform:scale(.94)}
.sb .sb-rt{display:flex;align-items:center;justify-content:center;gap:3px;line-height:1}
.sb .sb-rb .ic{width:26px;height:26px}
.sb .sb-rb .n{font-size:14px;font-weight:700;color:#374151;font-variant-numeric:tabular-nums}
.sb .sb-rl{font-size:12px;font-weight:600;color:#4b5563;line-height:1.1;white-space:nowrap}
.sb.sb-l0 .sb-rl{display:none}
.sb.sb-e0 [data-act=emo]{display:none}
.sb .bump{animation:sbbump .4s ease-out}
.sb .sb-tray{position:absolute;z-index:50;display:flex;background:#fff;box-shadow:0 6px 20px rgba(17,24,39,.22),0 0 0 1px rgba(17,24,39,.06);animation:sbpop .16s ease-out}
.sb .sb-tray[hidden]{display:none}
.sb .sb-tray-c{right:0;top:auto;bottom:calc(100% + 2px);padding:4px;border-radius:999px;transform-origin:100% 100%}
.sb .sb-tray-c .sb-tb{width:44px;height:44px;border-radius:50%}
.sb .sb-tray-c .sb-tb .ic{width:30px;height:30px}
.sb .sb-tb{padding:0;border:0;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .12s}
.sb .sb-tb:hover{transform:scale(1.14)}
.sb .sb-tb[aria-pressed=true]{background:#e3f1ee}
@keyframes sbpop{0%{opacity:0;transform:translateY(6px) scale(.92)}100%{opacity:1;transform:none}}
@keyframes sbbump{0%{transform:scale(.4)}60%{transform:scale(1.35)}100%{transform:scale(1)}}
.sb .sb-list{list-style:none;margin:2px 0 0;padding:0}
.sb .sb-c{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:8px;align-items:start;padding:2px 0 2px}
.sb .sb-av,.sb .sb-me{width:32px;height:32px;border-radius:50%;margin-top:2px;color:#fff;font-size:14px;font-weight:700;line-height:32px;text-align:center;display:block;flex:none}
.sb .sb-me{background:#dfe2e7;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;line-height:0}
.sb .sb-me svg{width:26px;height:26px;fill:#8b919c;display:block;margin-bottom:-2px}
.sb .sb-av.st{background:#0e7490;display:flex;align-items:center;justify-content:center}
.sb .sb-av.st .ic{width:19px;height:19px}
.sb .sb-av.st svg path:first-child{fill:#fff}
.sb .sb-cb{min-width:0}
.sb .sb-bub{position:relative;display:inline-block;max-width:100%;background:#f3f1ec;border-radius:18px;padding:7px 13px 8px;vertical-align:top}
.sb .sb-c.st>.sb-cb>.sb-bub{background:#e6f3f1}
.sb .sb-hd{display:flex;flex-wrap:wrap;align-items:center;gap:1px 6px;font-size:13.5px;line-height:1.35}
.sb .sb-hd b{font-weight:700;color:#111827}
.sb .sb-tag{font-size:12px;font-weight:700;color:#0f5f58;background:#cfe9e5;border-radius:999px;padding:0 7px;line-height:1.5}
.sb .sb-tx{font-size:15px;font-weight:400;line-height:1.4;color:#1f2937;overflow-wrap:anywhere;white-space:pre-line;margin-top:1px}
.sb .sb-ck .sb-tx{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sb .sb-chip{position:absolute;right:-6px;bottom:-11px;display:inline-flex;align-items:center;background:#fff;border-radius:999px;padding:1px 7px 1px 3px;box-shadow:0 1px 4px rgba(17,24,39,.25);font-size:12.5px;font-weight:700;color:#4b5563;line-height:18px;font-variant-numeric:tabular-nums}
.sb .sb-chip .ic{width:18px;height:18px;margin-right:-4px;position:relative}
.sb .sb-chip span.n{margin-left:7px}
.sb .sb-act{position:relative;display:flex;align-items:center;gap:8px;min-height:44px;margin:0 0 0 4px}
.sb .sb-lk,.sb .sb-vs{min-height:44px;min-width:44px;margin:0;padding:0 4px;background:transparent;border:0;font-weight:700;font-size:13.5px;line-height:1;font-family:inherit;color:#4b5563;cursor:pointer;text-align:center;white-space:nowrap;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.sb .sb-lk.on{color:#be123c}
.sb .sb-lk:hover,.sb .sb-vs:hover{color:#111827}
.sb .sb-w{font-size:12.5px;font-weight:400;color:#5b6270;white-space:nowrap}
.sb .sb-rs{display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;margin:0 0 0 4px;padding:0 6px 0 0;background:transparent;border:0;font-weight:700;font-size:13.5px;line-height:1;font-family:inherit;color:#0f5f58;cursor:pointer}
.sb .sb-minis{display:inline-flex;margin-right:6px}
.sb .sb-mini{width:20px;height:20px;border-radius:50%;margin-right:-6px;background:#7c8794;color:#fff;font-size:11px;font-weight:700;line-height:20px;text-align:center;box-shadow:0 0 0 2px #fff;display:block;overflow:hidden}
.sb .sb-mini .ic{width:12px;height:12px;margin:4px}
.sb .sb-mini .ic svg path:first-child{fill:#fff}
.sb .sb-minis .sb-mini:first-child{background:#0e7490}
.sb .sb-minis .sb-mini:nth-child(2){background:#be185d}
.sb .sb-chev{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.sb .sb-rs[aria-expanded=true] .sb-chev{transform:rotate(180deg)}
.sb .sb-rep{list-style:none;margin:6px 0 0;padding:0}
.sb .sb-rp{grid-template-columns:26px minmax(0,1fr);padding:2px 0 2px}
.sb .sb-rp .sb-av,.sb .sb-rp .sb-me{width:26px;height:26px;font-size:12px;line-height:26px}
.sb .sb-rp .sb-me svg{width:21px;height:21px}
.sb .sb-rp .sb-av.st .ic{width:16px;height:16px}
/* nested replies (level 2): smaller avatar, bold mention, names/text wrap */
.sb .sb-rep2{list-style:none;margin:2px 0 0;padding:0 0 0 0}
.sb .sb-rp2{grid-template-columns:22px minmax(0,1fr);column-gap:6px}
.sb .sb-rp2>.sb-av{width:22px;height:22px;font-size:11px;line-height:22px}
.sb .sb-rp2>.sb-av.st .ic{width:14px;height:14px}
.sb .sb-to{font-weight:700;color:#0f5f58}
.sb .sb-rp2 .sb-hd b{overflow-wrap:anywhere}
.sb .sb-more-b{display:block;min-height:44px;margin:-6px 0 -2px;padding:0 4px;background:transparent;border:0;font-weight:700;font-size:15px;line-height:1.2;font-family:inherit;color:#111827;cursor:pointer;text-align:left}
.sb .sb-more-b:hover{color:#0f766e}
.sb .sb-rf{display:flex;align-items:center;gap:8px;margin:4px 0 4px}
.sb .sb-rf .sb-me{width:26px;height:26px;margin:0}
.sb .sb-rf .sb-me svg{width:21px;height:21px}
.sb .sb-rf .sb-pill{flex:1 1 0;min-width:0}
.sb .sb-comp{margin:2px 0 0}
.sb .sb-crow{display:flex;align-items:flex-end;gap:8px}
.sb .sb-crow>.sb-me{margin:0}
.sb .sb-crow .sb-pill{flex:1 1 0;min-width:0}
.sb .sb-pill{display:flex;align-items:flex-end;background:#f3f1ec;border-radius:22px;min-height:44px;padding-left:14px}
.sb .sb-pill:focus-within{box-shadow:0 0 0 2px #0f766e}
.sb .sb-in{flex:1 1 0;min-width:0;display:block;height:44px;min-height:44px;max-height:124px;border:0;border-radius:0;background:transparent;font-weight:400;font-size:16px;line-height:20px;font-family:inherit;color:#111827;padding:12px 0;margin:0;resize:none;overflow-y:auto;overflow-x:hidden}
.sb .sb-in:focus,.sb .sb-in:focus-visible{outline:none}
.sb .sb-in::placeholder{color:#5b6270;opacity:1}
.sb .sb-ib,.sb .sb-send{width:44px;height:44px;flex:none;border:0;background:transparent;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.sb .sb-ib:hover{background:#ebe8e1}
.sb .sb-ib .ic{width:26px;height:26px}
.sb .sb-send[hidden]{display:none}
.sb .sb-ib[aria-expanded=true]{background:#e3f1ee}
.sb .sb-send svg{width:26px;height:26px;fill:#0f766e;display:block}
.sb .sb-pal{display:flex;gap:2px;overflow-x:auto;scrollbar-width:none;padding:4px 0 0 40px}
.sb .sb-pal[hidden]{display:none}
.sb .sb-pal button{flex:none;width:44px;height:44px;border:0;background:transparent;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.sb .sb-pal button:hover{background:#f3f1ec}
.sb .sb-pal .ic{width:28px;height:28px}
@media(prefers-reduced-motion:reduce){.sb *,.sb-pal *{transition:none!important;animation:none!important}}
/* name step + server message + honeypot */
.sb .sb-comp,.sb .sb-rf{position:relative}
.sb .sb-rf{display:block;margin:4px 0 4px}
.sb .sb-rfrow{display:flex;align-items:flex-end;gap:8px}
.sb .sb-nm{margin:6px 0 0 40px}
.sb .sb-rf .sb-nm{margin-left:34px}
.sb .sb-nl{display:block;margin:0 0 4px;font-size:14px;font-weight:700;color:#374151}
.sb .sb-nr{display:flex;gap:8px;align-items:center}
.sb .sb-nin{flex:1 1 0;min-width:0;height:44px;padding:0 14px;border:1px solid #6b7280;border-radius:22px;background:#fff;font-weight:400;font-size:16px;line-height:1.2;font-family:inherit;color:#111827;box-shadow:none;margin:0}
.sb .sb-nin:focus{outline:none;border-color:#0f766e;box-shadow:0 0 0 2px #0f766e}
.sb .sb-nin[aria-invalid=true]{border-color:#b42318}
.sb .sb-nsend{flex:none;min-height:44px;padding:0 20px;border:0;border-radius:22px;background:#0f766e;color:#fff;font-weight:700;font-size:15px;line-height:1;font-family:inherit;cursor:pointer}
.sb .sb-nsend:hover{background:#115e59}
.sb .sb-nsend:disabled,.sb .sb-send:disabled{opacity:.6;cursor:default}
.sb .sb-err{margin:6px 0 0 40px;font-size:14px;line-height:1.35;color:#b42318}
.sb .sb-rf .sb-err{margin-left:34px}
.sb .sb-err[hidden],.sb .sb-nm[hidden]{display:none}
.sb .sb-hp{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.sb .sb-in,.sb .sb-nin{font-size:16px}
.sb .sb-ck .sb-list{margin-top:2px}
.sb .sb-live{margin:0}
@media(max-width:360px){.sb .sb-nm,.sb .sb-err{margin-left:0}.sb .sb-pal{padding-left:0}}

/* compact block: name on one line, comment clamped to 2 lines (rule above) */
.sb.sb-compact .sb-hd{flex-wrap:nowrap}
.sb.sb-compact .sb-hd b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb.sb-compact .sb-tag{flex:none}
.sb.sb-compact .sb-bub{max-width:100%}
/* "N kommentaari" as plain text in the Arutelu tab */
.sb .sb-cmt{cursor:default}
.sb .sb-cmt:hover{background:transparent}
/* forum-origin images on replies */
.sb .sb-imgs{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.sb .sb-img{display:block;width:72px;height:72px;border-radius:10px;overflow:hidden;background:#e5e7eb}
.sb .sb-img img{display:block;width:72px;height:72px;object-fit:cover}

.sb-hp input{font-size:16px}
.sb.sb-hero{margin:6px 0 2px}
.sb.sb-hero .sb-top{min-height:52px}
.sb .sb-rb{max-width:76px}
.sb .sb-hl{font-size:12.5px;font-weight:800;letter-spacing:.5px;text-transform:uppercase;color:#111827;line-height:22px;margin:0 0 6px}
@media (min-width:600px){
.sb .sb-rx{gap:8px}
.sb.sb-w0 .sb-rx{gap:4px}
.sb .sb-rb{max-width:none;flex-direction:row;gap:7px;min-height:44px;padding:0 8px;background:#f6f5f2;border-radius:999px}
.sb .sb-rb:hover{background:#ecebe6}
.sb .sb-rb .ic{width:24px;height:24px}
.sb .sb-rl{font-size:14px}
.sb .sb-cm{margin-left:8px}
.sb .sb-rt{display:contents}
.sb .sb-rb .ic{order:0}
.sb .sb-rl{order:1}
.sb .sb-rb .n{order:2}
}
