/* Sota Kece — the Talanoa Wall. Inherits the app's tokens (--ink, --shell, --accent) so every
   skin, light or dark, paints it. Mobile first; one column; nothing that is not a post. */
.tw-wrap{display:flex;flex-direction:column;gap:10px;max-width:640px;margin:0 auto;padding-bottom:calc(84px + env(safe-area-inset-bottom))}
.tw-top{display:flex;align-items:center;gap:12px;padding:4px 2px}
.tw-title{font-size:22px;font-weight:600;margin:0;letter-spacing:-.01em}
.tw-back{border:0;background:var(--shell);width:36px;height:36px;border-radius:12px;font-size:18px;cursor:pointer;color:inherit;display:grid;place-items:center}
.tw-tabs{margin-left:auto;display:inline-flex;background:var(--shell);border:1px solid var(--line-hard);border-radius:999px;padding:3px}
.tw-tabs [role=tab]{border:0;background:transparent;color:var(--ink-soft);font:inherit;font-size:13px;font-weight:500;padding:6px 14px;border-radius:999px;cursor:pointer;min-height:32px}
.tw-tabs [aria-selected=true]{background:var(--accent);color:#fff}

.tw-compose{padding:12px 14px;display:flex;flex-direction:column;gap:8px}
.tw-compose-row{display:flex;gap:10px;align-items:flex-start}
.tw-compose textarea{flex:1;min-height:44px;max-height:220px;resize:none;border:0;background:transparent;font:inherit;font-size:16px;line-height:1.45;color:inherit;padding:9px 0;outline:none}
.tw-compose textarea::placeholder{color:var(--ink-soft);opacity:.8}
.tw-compose-bar{display:flex;align-items:center;gap:10px}
.tw-count{font-size:12px;color:var(--ink-soft);font-variant-numeric:tabular-nums}
.tw-count.low{color:var(--coral);font-weight:600}
.tw-compose .btn[disabled]{opacity:.45;cursor:default}
.tw-quoting{position:relative}
.tw-unquote{position:absolute;top:6px;right:6px}

.tw-pill{position:sticky;top:max(8px,env(safe-area-inset-top));z-index:5;align-self:center;border:0;border-radius:999px;background:var(--accent);color:#fff;font:inherit;font-size:13px;font-weight:600;padding:9px 16px;box-shadow:var(--shadow);cursor:pointer;min-height:36px}
.tw-pill[hidden]{display:none}

.tw-list{display:flex;flex-direction:column;gap:8px}
.tw-post{display:flex;gap:10px;padding:12px 12px 8px;background:var(--shell);border:1px solid var(--line);border-radius:var(--r);box-shadow:var(--shadow);content-visibility:auto;contain-intrinsic-size:auto 128px}
.tw-post.tw-reply{border-radius:var(--r-sm);margin-left:14px;box-shadow:none}
.tw-post.tw-expanded{content-visibility:visible}
.tw-post.tw-expanded .tw-body{font-size:18px;line-height:1.5}
.tw-av{border:0;cursor:pointer;color:inherit;font:inherit;font-size:21px}
.tw-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.tw-head{display:flex;align-items:baseline;gap:6px;min-width:0;font-size:13.5px}
.tw-head .name{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tw-handle{color:var(--ink-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tw-head .ago{color:var(--ink-soft);font-size:12px;flex:none}
.tw-body{font-size:15.5px;line-height:1.5;overflow-wrap:anywhere;cursor:pointer}
.tw-mention{border:0;background:transparent;padding:0;font:inherit;color:var(--accent);font-weight:600;cursor:pointer}
.tw-quote{border:1px solid var(--line-hard);border-radius:var(--r-sm);padding:9px 11px;font-size:14px;cursor:pointer;background:rgba(255,255,255,.25)}
.tw-quote:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.tw-quote .tw-head{font-size:12.5px}
.tw-quote-body{margin-top:4px;line-height:1.45;color:var(--ink);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}

.tw-bar{display:flex;align-items:center;gap:2px;margin:2px -6px 0}
.tw-btn{border:0;background:transparent;color:var(--ink-soft);font:inherit;font-size:15px;line-height:1;display:inline-flex;align-items:center;gap:5px;padding:8px 10px;border-radius:999px;cursor:pointer;min-width:44px;min-height:40px;justify-content:center}
.tw-btn b{font-weight:500;font-size:13px;font-variant-numeric:tabular-nums}
.tw-btn b:empty{display:none}
.tw-btn:hover{background:rgba(20,59,82,.06)}
.tw-like.on{color:#E8456B}
.tw-repost.on{color:#1E9E7A}
.tw-del{margin-left:auto;font-size:13px}

.tw-end{text-align:center;color:var(--ink-soft);font-size:13px;padding:22px 10px 6px}
.tw-loading{min-height:40px;text-align:center;color:var(--ink-soft);font-size:13px;padding:10px}
.tw-sentinel{height:1px}
.tw-empty{text-align:center;color:var(--ink-soft);font-size:14px;padding:6px 0 10px}
.tw-empty img{width:100%;max-width:420px;aspect-ratio:880/560;object-fit:cover;border-radius:var(--r);display:block;margin:0 auto 12px}

.tw-skel{display:flex;gap:10px;padding:14px 12px;background:var(--shell);border-radius:var(--r);border:1px solid var(--line)}
.tw-skel i{width:42px;height:42px;border-radius:13px;background:rgba(20,59,82,.08);flex:none}
.tw-skel div{flex:1;display:flex;flex-direction:column;gap:9px;padding-top:6px}
.tw-skel b{display:block;height:12px;border-radius:6px;background:rgba(20,59,82,.08)}
.tw-skel b:first-child{width:42%}
.tw-skel b:last-child{width:88%}
@media (prefers-reduced-motion:no-preference){.tw-skel b,.tw-skel i{animation:tw-pulse 1.3s ease-in-out infinite}}
@keyframes tw-pulse{50%{opacity:.45}}

@media (min-width:720px){.tw-wrap{padding-bottom:40px}.tw-post{padding:14px 16px 10px}}

/* Plain words under every post button, so nobody has to guess what an icon does */
.tw-bar{flex-wrap:wrap;row-gap:6px}
.tw-bar .tw-btn[data-tw]{display:inline-grid!important;grid-auto-flow:column;justify-content:center;align-items:center;column-gap:3px;row-gap:2px;min-width:48px;height:auto!important;padding:5px 6px!important;border-radius:10px}
.tw-bar .tw-btn[data-tw]:hover{background:rgba(135,206,235,.25)}
.tw-bar .tw-btn[data-tw]::after{grid-row:2;grid-column:1/-1;font:600 11px/1.1 Lexend,system-ui,sans-serif;color:#33506b;white-space:nowrap}
.tw-bar .tw-btn[data-tw="reply"]::after{content:"Reply"}
.tw-bar .tw-btn[data-tw="repost"]::after{content:"Repost"}
.tw-bar .tw-btn[data-tw="like"]::after{content:"Uro"}
.tw-bar .tw-btn[data-tw="quote"]::after{content:"Quote"}
.tw-bar .tw-btn[data-tw="share"]::after{content:"Share"}
.tw-bar .tw-btn[data-tw="tip"]::after{content:"Gift"}
.tw-bar .tw-btn[data-tw="remix"]::after{content:"Sing it"}
.tw-bar .tw-btn[data-tw="del"]::after{content:"Delete"}
.tw-count{font-size:12px;color:#5a7690}
@media (max-width:420px){.tw-bar .tw-btn[data-tw]{min-width:40px;padding:4px 3px!important}.tw-bar .tw-btn[data-tw]::after{font-size:10px}}
