/* Rules specific to the server-rendered site: form controls styled as stickers, picks and stamps. */
.pick, .stamp, .stk { position: relative; }
.pick input, .stamp input, .stk input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.pick:has(input:checked) { background: var(--ink); color: var(--paper); }
.pick:has(input:focus-visible), .stamp:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.stamp:has(input:checked) { background: var(--warn-bg); border-style: solid; transform: rotate(-7deg) scale(1.12); box-shadow: 0 0 0 4px #fff, 0 6px 8px rgba(0, 0, 0, .25); }
form.stk-form { display: contents; }
.stk[aria-pressed=true] .avatar { filter: none; }
.demo-note { background: var(--warn-bg); border-block-end: var(--bw) solid var(--ink); font-size: .85rem; padding: 6px 0; text-align: center; }
.hl-side .q { font: 800 2.2rem/1 var(--font-d); }
dl.brief { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 8px 18px; margin: 0; }
dl.brief dt { font-weight: 700; } dl.brief dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { dl.brief { grid-template-columns: 1fr; } dl.brief dd { margin-block-end: 8px; } }
input[type=password], input[type=url], input[type=number] { font: inherit; color: inherit; background: var(--card); border: var(--bw) solid var(--ink); border-radius: 12px; padding: 10px 14px; min-height: 44px; width: 100%; }
/* Hero collage on phones: smaller cards, single-line names, so nothing is clipped mid-word */
@media (max-width: 899px) { .fc { width: 31%; } .fc-b span { display: none; } .fc-b b { font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fc-b { padding: 6px 8px 8px; } }
.thread { display: grid; gap: 8px; margin-block: 12px; }
.bubble { max-width: 80%; padding: 8px 12px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--card); font-size: .93rem; }
.bubble.me { justify-self: end; background: var(--info-bg); }
.bubble small { display: block; color: var(--muted); font-size: .72rem; }
.prose { max-width: 70ch; } .prose h2 { margin-block: 34px 10px; } .prose li { margin-block-end: 6px; }

.ad-placement{margin-block:20px;min-height:110px;border:1px dashed #777;border-radius:16px;display:grid;align-content:center;justify-items:center;gap:8px;background:#f5f4ff;color:#53515e}.ad-placement span{font-size:.875rem;letter-spacing:.08em}.ad-placement div{font-size:1rem}video,img{max-width:100%}.card textarea{min-height:120px}

.avatar.portrait{background:none!important;overflow:visible;isolation:isolate}.avatar.portrait:before,.avatar.portrait:after{display:none}.avatar.portrait img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(2px 0 white) drop-shadow(-2px 0 white) drop-shadow(0 2px white) drop-shadow(0 -2px white) drop-shadow(3px 6px 0 #17130f);transition:transform .2s}.avatar.portrait:hover img{transform:perspective(650px) rotateY(-9deg) translateY(-4px)}@media(prefers-reduced-motion:reduce){.avatar.portrait img{transition:none}.avatar.portrait:hover img{transform:none}}
