/* UI tune v1: account-owned appearance, scoped exclusively to public channel.
   Does not affect the existing tabs, stories, video tiles, or watch player. */
#channel.tlv-profile-active{padding-top:72px;box-sizing:border-box;min-width:0}
#channel.tlv-profile-active .ch-header{margin-top:0!important}
#channel.tlv-profile-active .ch-header>.tlv-public-profile{margin-bottom:15px}
#channel.tlv-profile-active .ch-header>.ch-tabs{margin-top:0}
#channel.tlv-profile-active .tiliv-section{margin-block:22px;padding-bottom:19px;box-sizing:border-box}
#channel.tlv-profile-active .tlv-public-profile{
 --tlv-p-bg:#fff;--tlv-p-fg:#11183f;--tlv-p-muted:#5c6180;--tlv-p-surface:#f9fbff;
 --tlv-p-accent:#397cf7;--tlv-p-onaccent:#fff;
 width:100%;min-width:0;max-width:1050px;margin-inline:auto;
 padding:14px;background:var(--tlv-p-bg);color:var(--tlv-p-fg);
 border-radius:18px;box-shadow:0 4px 18px rgba(25,36,70,.045);
 font-size:14px;line-height:1.5;box-sizing:border-box;
}
#channel.tlv-profile-active .tlv-public-profile *,
#channel.tlv-profile-active .tlv-public-profile *::before,
#channel.tlv-profile-active .tlv-public-profile *::after{box-sizing:border-box}
#channel .tlv-public-profile .tlv-p-flow{min-width:0;display:flex;flex-direction:column;gap:13px}
#channel .tlv-public-profile .tlv-p-flow>*{min-width:0}
#channel .tlv-public-profile .tlv-p-cover,
#channel .tlv-public-profile .tlv-p-hero-image{position:relative;width:100%;height:215px;overflow:hidden;border-radius:19px;background:var(--tlv-p-surface);padding:0!important;flex:none}
#channel .tlv-public-profile .tlv-p-cover-img{display:block;width:100%;height:100%;object-fit:cover;min-width:0;max-width:100%}
#channel .tlv-public-profile .tlv-p-identity{display:flex;align-items:center;gap:13px;min-width:0}
#channel .tlv-public-profile .tlv-identity-copy{min-width:0;flex:1}
#channel .tlv-public-profile .tlv-identity-title{display:flex;gap:6px;align-items:center;min-width:0;flex-wrap:nowrap}
#channel .tlv-public-profile .tlv-identity-title h1{margin:0!important;padding:0;color:var(--tlv-p-fg);font-size:22px;font-weight:900;line-height:1.25;overflow-wrap:anywhere;min-width:0;max-width:100%}
#channel .tlv-public-profile .tlv-handle{display:block;width:max-content;max-width:100%;margin-top:4px;font-size:12.5px;color:var(--tlv-p-muted);direction:ltr;text-align:right;overflow:hidden;text-overflow:ellipsis}
#channel .tlv-public-profile .tlv-profile-avatar{width:104px;height:104px;flex:none;position:relative!important;margin:0;border:3px solid var(--tlv-p-bg);border-radius:999px;background:var(--tlv-p-surface);filter:drop-shadow(0 2px 10px #00000016)}
#channel .tlv-public-profile .tlv-profile-avatar .channel-avatar-button-fix103{position:relative;display:block;width:100%;height:100%;margin:0;padding:0;border-radius:inherit;overflow:hidden}
#channel .tlv-public-profile .tlv-profile-avatar img{width:100%!important;height:100%!important;max-width:none!important;border:0!important;border-radius:inherit!important;object-fit:cover}
#channel .tlv-public-profile .tlv-profile-avatar .story-ring{pointer-events:none}
#channel .tlv-public-profile .tlv-p-bio{color:var(--tlv-p-muted);margin:0;font-size:13px;line-height:1.65;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
#channel .tlv-public-profile .tlv-p-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:var(--tlv-p-surface);border-radius:14px;min-width:0;padding:5px 2px;gap:0}
#channel .tlv-public-profile .tlv-p-stats a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-width:0;min-height:51px;padding:6px 2px;color:var(--tlv-p-fg)!important;text-decoration:none;text-align:center}
#channel .tlv-public-profile .tlv-p-stats strong{font-size:19px;font-weight:850;line-height:1.15;color:var(--tlv-p-fg)}
#channel .tlv-public-profile .tlv-p-stats span{font-size:11px;color:var(--tlv-p-muted);white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis}
#channel .tlv-public-profile .tlv-p-actions{display:flex;align-items:center;gap:8px;min-width:0}
#channel .tlv-public-profile .tlv-p-actions>a,
#channel .tlv-public-profile .tlv-p-actions>button{
 display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;
 font-size:12.5px;font-weight:700;line-height:1.3;font-family:inherit;border:1px solid transparent;border-radius:13px;
 padding:9px 12px;text-decoration:none;cursor:pointer;white-space:normal;text-align:center;
}
#channel .tlv-public-profile .tlv-p-main-action{flex:1.4;background:var(--tlv-p-accent);color:var(--tlv-p-onaccent)!important}
#channel .tlv-public-profile .tlv-p-secondary-action{flex:1;background:var(--tlv-p-surface);color:var(--tlv-p-fg)!important;border-color:color-mix(in srgb,var(--tlv-p-fg) 13%,transparent)!important}
#channel .tlv-public-profile .tlv-p-main-action:hover{filter:brightness(.95)}
#channel .tlv-public-profile .tlv-p-actions>a:focus-visible,
#channel .tlv-public-profile .tlv-p-actions>button:focus-visible,
#channel .tlv-public-profile .tlv-profile-avatar button:focus-visible{outline:3px solid var(--tlv-p-accent);outline-offset:3px}
#channel .tlv-public-profile .tlv-p-decor{overflow-wrap:anywhere;color:var(--tlv-p-fg)}
#channel .tlv-public-profile .tlv-p-headline{font-weight:900;font-size:22px;line-height:1.35}
#channel .tlv-public-profile .tlv-p-headline.v-huge{font-size:30px}
#channel .tlv-public-profile .tlv-p-headline.v-caption{font-size:12px;font-weight:500}
#channel .tlv-public-profile .tlv-p-ribbon{padding:11px 14px;border-right:5px solid var(--tlv-p-accent);background:var(--tlv-p-surface);border-radius:8px}
#channel .tlv-public-profile .tlv-p-ribbon.v-bold{background:var(--tlv-p-accent);color:var(--tlv-p-onaccent)}
#channel .tlv-public-profile .tlv-p-ribbon.v-outline{background:transparent;border:1px solid var(--tlv-p-accent)}
#channel .tlv-public-profile .tlv-p-quote{padding:13px 15px;border-right:3px solid var(--tlv-p-accent);background:var(--tlv-p-surface);border-radius:8px}
#channel .tlv-public-profile .tlv-p-divider{height:1px;background:var(--tlv-p-muted);opacity:.45}
#channel .tlv-public-profile .tlv-p-divider.v-bold{height:4px;background:var(--tlv-p-accent);opacity:1}
#channel .tlv-public-profile .tlv-p-divider.v-dots{height:3px;background:radial-gradient(circle,var(--tlv-p-accent) 1px,transparent 2px) repeat-x;background-size:9px 3px;opacity:1}
#channel .tlv-public-profile .tlv-p-spacer{height:12px}
#channel .tlv-public-profile .tlv-p-spacer.v-tiny{height:5px}
#channel .tlv-public-profile .tlv-p-spacer.v-medium{height:27px}
#channel .tlv-public-profile .tlv-p-spacer.v-large{height:48px}
/* The 8 native Flutter styles differ in cover size, avatar position, radius and order. */
#channel .tlv-public-profile[data-palette=native] .tlv-p-flow{display:grid;grid-template-areas:'cover' 'identity' 'bio' 'stats' 'actions';gap:12px}
#channel .tlv-public-profile[data-palette=native] .tlv-p-cover{grid-area:cover}
#channel .tlv-public-profile[data-palette=native] .tlv-p-identity{grid-area:identity}
#channel .tlv-public-profile[data-palette=native] .tlv-p-bio{grid-area:bio}
#channel .tlv-public-profile[data-palette=native] .tlv-p-stats{grid-area:stats}
#channel .tlv-public-profile[data-palette=native] .tlv-p-actions{grid-area:actions}
#channel .tlv-public-profile[data-style=classic] .tlv-p-cover{height:180px;border-radius:23px}
#channel .tlv-public-profile[data-style=cinema] .tlv-p-cover{height:275px;border-radius:16px}
#channel .tlv-public-profile[data-style=editorial] .tlv-p-cover{height:173px;border-radius:18px}
#channel .tlv-public-profile[data-style=aurora] .tlv-p-cover{height:195px;border-radius:25px}
#channel .tlv-public-profile[data-style=orbit] .tlv-p-cover{height:245px;border-radius:24px}
#channel .tlv-public-profile[data-style=brutalist] .tlv-p-cover{height:138px;border-radius:0}
#channel .tlv-public-profile[data-style=folio] .tlv-p-cover{height:135px;border-radius:0}
#channel .tlv-public-profile[data-style=signal] .tlv-p-cover{height:256px;border-radius:28px}
#channel .tlv-public-profile[data-style=classic] .tlv-profile-avatar,
#channel .tlv-public-profile[data-style=cinema] .tlv-profile-avatar,
#channel .tlv-public-profile[data-style=orbit] .tlv-profile-avatar,
#channel .tlv-public-profile[data-style=signal] .tlv-profile-avatar{margin-top:-48px}
#channel .tlv-public-profile[data-style=classic] .tlv-p-identity,
#channel .tlv-public-profile[data-style=cinema] .tlv-p-identity,
#channel .tlv-public-profile[data-style=orbit] .tlv-p-identity,
#channel .tlv-public-profile[data-style=signal] .tlv-p-identity{align-items:flex-end}
#channel .tlv-public-profile[data-style=editorial] .tlv-profile-avatar{order:2}
#channel .tlv-public-profile[data-style=editorial] .tlv-identity-title h1{font-size:25px}
#channel .tlv-public-profile[data-style=aurora] .tlv-p-flow{gap:13px}
#channel .tlv-public-profile[data-style=aurora] .tlv-p-identity{padding:11px;background:var(--tlv-p-surface);margin-top:-24px;border-radius:24px;position:relative;box-shadow:0 7px 23px #0001}
#channel .tlv-public-profile[data-style=orbit] .tlv-p-flow,
#channel .tlv-public-profile[data-style=aurora] .tlv-p-flow,
#channel .tlv-public-profile[data-style=signal] .tlv-p-flow{grid-template-areas:'cover' 'identity' 'bio' 'actions' 'stats'}
#channel .tlv-public-profile[data-style=orbit] .tlv-p-stats{border:1px solid color-mix(in srgb,var(--tlv-p-accent) 30%,transparent);border-radius:22px}
#channel .tlv-public-profile[data-style=brutalist] .tlv-profile-avatar{order:2;border-radius:0;border:4px solid var(--tlv-p-fg)}
#channel .tlv-public-profile[data-style=brutalist] .tlv-identity-title h1{font-size:33px}
#channel .tlv-public-profile[data-style=brutalist] .tlv-p-stats{border:3px solid var(--tlv-p-fg);background:#FFE84B;border-radius:0}
#channel .tlv-public-profile[data-style=brutalist][data-mode=dark] .tlv-p-stats{background:var(--tlv-p-surface)}
#channel .tlv-public-profile[data-style=brutalist] .tlv-p-stats strong,
#channel .tlv-public-profile[data-style=brutalist] .tlv-p-stats span{color:#181818}
#channel .tlv-public-profile[data-style=brutalist][data-mode=dark] .tlv-p-stats strong,
#channel .tlv-public-profile[data-style=brutalist][data-mode=dark] .tlv-p-stats span{color:var(--tlv-p-fg)}
#channel .tlv-public-profile[data-style=brutalist] .tlv-p-actions>*{border-radius:0}
#channel .tlv-public-profile[data-style=folio] .tlv-profile-avatar{order:2;border-radius:7px;width:92px;height:92px}
#channel .tlv-public-profile[data-style=folio] .tlv-identity-title h1{font-size:28px}
#channel .tlv-public-profile[data-style=folio] .tlv-p-stats{border-radius:0;background:transparent;border-block:1px solid color-mix(in srgb,var(--tlv-p-fg) 20%,transparent)}
#channel .tlv-public-profile[data-style=folio] .tlv-p-actions>*{border-radius:4px}
#channel .tlv-public-profile[data-style=signal] .tlv-p-identity,
#channel .tlv-public-profile[data-style=signal] .tlv-p-bio,
#channel .tlv-public-profile[data-style=signal] .tlv-p-actions,
#channel .tlv-public-profile[data-style=signal] .tlv-p-stats{background:#0C1732;color:#fff;border-radius:13px;padding:10px}
#channel .tlv-public-profile[data-style=signal] .tlv-identity-title h1{font-size:24px;color:#fff}
#channel .tlv-public-profile[data-style=signal] .tlv-handle{color:#d8ddea}
#channel .tlv-public-profile[data-style=signal] .tlv-p-actions>a,
#channel .tlv-public-profile[data-style=signal] .tlv-p-actions>button{border-radius:27px}
/* Validated declarative section variants (no code, external CSS or remote images). */
#channel .tlv-public-profile[data-palette=declarative] .tlv-p-cover.v-stripe{height:105px;border-radius:2px}
#channel .tlv-public-profile[data-palette=declarative] .tlv-p-cover.v-letterbox{height:138px}
#channel .tlv-public-profile[data-palette=declarative] .tlv-p-cover.v-poster{height:320px;border-radius:7px}
#channel .tlv-public-profile[data-palette=declarative] .tlv-p-cover.v-cinema{height:270px}
#channel .tlv-public-profile[data-palette=declarative] .tlv-p-cover.v-mask{height:212px;border-radius:72px}
#channel .tlv-public-profile[data-palette=declarative] .tlv-p-cover.v-fullbleed{height:300px;border-radius:2px}
#channel .tlv-public-profile .tlv-p-cover.v-cinema::before,#channel .tlv-public-profile .tlv-p-cover.v-cinema::after{content:'';position:absolute;inset:0 0 auto;height:13px;background:#111;z-index:2}
#channel .tlv-public-profile .tlv-p-cover.v-cinema::after{inset:auto 0 0}
#channel .tlv-public-profile .tlv-p-identity.v-center,#channel .tlv-public-profile .tlv-p-identity.v-stack,#channel .tlv-public-profile .tlv-p-identity.v-overlap{flex-direction:column;text-align:center}
#channel .tlv-public-profile .tlv-p-identity.v-center .tlv-identity-title,#channel .tlv-public-profile .tlv-p-identity.v-stack .tlv-identity-title{justify-content:center}
#channel .tlv-public-profile .tlv-p-identity.v-center .tlv-profile-avatar{height:102px;width:102px}
#channel .tlv-public-profile .tlv-p-identity.v-stack{padding:18px 10px;background:var(--tlv-p-surface);border-radius:20px}
#channel .tlv-public-profile .tlv-p-identity.v-badge{padding:15px;background:var(--tlv-p-surface);border:1px solid var(--tlv-p-accent);border-radius:19px}
#channel .tlv-public-profile .tlv-p-identity.v-badge .tlv-profile-avatar{height:74px;width:74px;border-radius:20px}
#channel .tlv-public-profile .tlv-p-identity.v-overlap{margin-top:-35px;position:relative}
#channel .tlv-public-profile .tlv-p-identity.v-side,#channel .tlv-public-profile .tlv-p-identity.v-editorial{flex-direction:row-reverse}
#channel .tlv-public-profile .tlv-p-identity.v-editorial{border-top:3px solid var(--tlv-p-accent);padding-top:15px}
#channel .tlv-public-profile .tlv-p-identity.v-horizontal{border-left:4px solid var(--tlv-p-accent);padding:9px}
#channel .tlv-public-profile .tlv-p-stats.v-inline{background:transparent}
#channel .tlv-public-profile .tlv-p-stats.v-stack{display:flex;flex-direction:column;gap:6px;background:transparent}
#channel .tlv-public-profile .tlv-p-stats.v-stack a{background:var(--tlv-p-surface);border-radius:10px}
#channel .tlv-public-profile .tlv-p-stats.v-ledger{border-block:2px solid var(--tlv-p-fg);background:transparent;border-radius:0}
#channel .tlv-public-profile .tlv-p-stats.v-tiles{gap:4px;background:transparent}
#channel .tlv-public-profile .tlv-p-stats.v-tiles a{background:var(--tlv-p-surface);border-bottom:3px solid var(--tlv-p-accent)}
#channel .tlv-public-profile .tlv-p-stats.v-ribbon{border-right:5px solid var(--tlv-p-accent);border-radius:0;background:color-mix(in srgb,var(--tlv-p-accent) 25%,var(--tlv-p-bg))}
#channel .tlv-public-profile .tlv-p-stats.v-outlined{border:2px solid var(--tlv-p-accent)}
#channel .tlv-public-profile .tlv-p-stats.v-chips{border-radius:31px}
#channel .tlv-public-profile .tlv-p-stats.v-cards{border-radius:19px}
#channel .tlv-public-profile .tlv-p-actions.v-pill>*{border-radius:28px}
#channel .tlv-public-profile .tlv-p-actions.v-square>*{border-radius:2px}
#channel .tlv-public-profile .tlv-p-actions.v-underline{border-block:1px solid var(--tlv-p-muted);padding-block:10px}
#channel .tlv-public-profile .tlv-p-actions.v-outline>*{background:transparent;color:var(--tlv-p-fg)!important;border:1px solid var(--tlv-p-accent)}
#channel .tlv-public-profile .tlv-p-actions.v-glass>*{background:color-mix(in srgb,var(--tlv-p-accent) 15%,var(--tlv-p-surface));border:1px solid var(--tlv-p-accent);color:var(--tlv-p-fg)!important}
#channel .tlv-public-profile .tlv-p-actions.v-floating>*{min-height:51px;border-radius:28px;box-shadow:0 6px 16px #0001}
#channel .tlv-public-profile .tlv-p-actions.v-split{gap:2px}
#channel .tlv-public-profile .tlv-p-bio.v-plain{color:var(--tlv-p-fg)}
#channel .tlv-public-profile .tlv-p-bio.v-caption{font-size:12px}
#channel .tlv-public-profile .tlv-p-bio.v-card{padding:17px;background:var(--tlv-p-surface);border-radius:20px}
#channel .tlv-public-profile .tlv-p-bio.v-callout{padding:17px;background:color-mix(in srgb,var(--tlv-p-accent) 12%,var(--tlv-p-bg));border-right:5px solid var(--tlv-p-accent);border-radius:8px}
#channel .tlv-public-profile .tlv-p-bio.v-quote{padding:17px 15px;background:var(--tlv-p-surface);border-block:2px solid var(--tlv-p-accent);font-style:italic}
/* Ten unique hero geometries; namespaced so unrelated site cards never move. */
#channel .tlv-public-profile .tlv-p-hero{width:100%;min-width:0;height:245px;position:relative;overflow:hidden;border-radius:17px;background:var(--tlv-p-surface)}
#channel .tlv-public-profile .tlv-p-hero-image{width:100%;height:100%;border-radius:inherit}
#channel .tlv-public-profile .tlv-p-hero-identity{position:absolute;inset:auto 12px 13px;z-index:3}
#channel .tlv-public-profile .tlv-p-hero-identity .tlv-p-identity{gap:12px}
#channel .tlv-public-profile .tlv-p-hero-identity .tlv-profile-avatar{height:78px;width:78px}
#channel .tlv-public-profile .tlv-p-hero.v-cinema{height:275px;border-radius:14px}
#channel .tlv-public-profile .tlv-p-hero.v-cinema::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent,#000e);pointer-events:none}
#channel .tlv-public-profile .tlv-p-hero.v-cinema .tlv-identity-title h1,#channel .tlv-public-profile .tlv-p-hero.v-cinema .tlv-handle{color:white}
#channel .tlv-public-profile .tlv-p-hero.v-split,#channel .tlv-public-profile .tlv-p-hero.v-sidebar{height:230px;display:flex}
#channel .tlv-public-profile .tlv-p-hero.v-split>.tlv-p-hero-image{width:57%;height:100%;border-radius:0}
#channel .tlv-public-profile .tlv-p-hero.v-split>.tlv-p-hero-identity{position:relative;inset:auto;flex:1;padding:10px;display:grid;place-items:center}
#channel .tlv-public-profile .tlv-p-hero.v-split .tlv-p-identity{flex-direction:column;text-align:center}
#channel .tlv-public-profile .tlv-p-hero.v-diagonal{height:265px}
#channel .tlv-public-profile .tlv-p-hero.v-diagonal::after{content:'';position:absolute;inset:0 36% 0 0;background:var(--tlv-p-surface);clip-path:polygon(0 0,100% 0,65% 100%,0 100%)}
#channel .tlv-public-profile .tlv-p-hero.v-portal{height:auto;overflow:visible;background:transparent;display:flex;flex-direction:column;align-items:center}
#channel .tlv-public-profile .tlv-p-hero.v-portal .tlv-p-hero-image{width:min(234px,85%);height:275px;border-radius:125px 125px 14px 14px}
#channel .tlv-public-profile .tlv-p-hero.v-portal .tlv-p-hero-identity{position:relative;inset:auto;margin-top:-35px;max-width:320px}
#channel .tlv-public-profile .tlv-p-hero.v-portal .tlv-p-identity{flex-direction:column;text-align:center}
#channel .tlv-public-profile .tlv-p-hero.v-corner{height:auto;overflow:visible;background:transparent}
#channel .tlv-public-profile .tlv-p-hero.v-corner .tlv-p-hero-image{height:208px;border-radius:22px}
#channel .tlv-public-profile .tlv-p-hero.v-corner .tlv-p-hero-identity{position:relative;inset:auto;margin-top:-35px}
#channel .tlv-public-profile .tlv-p-hero.v-arch{height:auto;border:1px solid var(--tlv-p-accent);padding:11px;border-radius:20px}
#channel .tlv-public-profile .tlv-p-hero.v-arch .tlv-p-hero-image{height:235px;border-radius:120px 120px 12px 12px}
#channel .tlv-public-profile .tlv-p-hero.v-arch .tlv-p-hero-identity{position:relative;inset:auto;margin-top:-42px}
#channel .tlv-public-profile .tlv-p-hero.v-sticker{height:240px}
#channel .tlv-public-profile .tlv-p-hero.v-sticker .tlv-p-hero-identity{bottom:14px}
#channel .tlv-public-profile .tlv-p-hero.v-sticker .tlv-profile-avatar{height:103px;width:103px;transform:rotate(-5deg);border-radius:7px}
#channel .tlv-public-profile .tlv-p-hero.v-sidebar{overflow:hidden}
#channel .tlv-public-profile .tlv-p-hero.v-sidebar>.tlv-p-hero-image{width:60%;height:100%}
#channel .tlv-public-profile .tlv-p-hero.v-sidebar>.tlv-p-hero-identity{position:relative;inset:auto;flex:1;display:grid;place-items:center}
#channel .tlv-public-profile .tlv-p-hero.v-sidebar .tlv-p-identity{flex-direction:column;text-align:center}
#channel .tlv-public-profile .tlv-p-hero.v-spotlight{height:262px;border-radius:28px}
#channel .tlv-public-profile .tlv-p-hero.v-spotlight::before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.7);z-index:1}
#channel .tlv-public-profile .tlv-p-hero.v-spotlight .tlv-p-hero-identity{inset:0;display:flex;align-items:center;justify-content:center}
#channel .tlv-public-profile .tlv-p-hero.v-spotlight .tlv-p-identity{flex-direction:column;text-align:center}
#channel .tlv-public-profile .tlv-p-hero.v-spotlight .tlv-identity-title h1,#channel .tlv-public-profile .tlv-p-hero.v-spotlight .tlv-handle{color:#fff}
#channel .tlv-public-profile .tlv-p-hero.v-canvas{height:auto;min-height:222px;overflow:visible;background:transparent}
#channel .tlv-public-profile .tlv-p-hero.v-canvas .tlv-p-hero-image{width:68%;height:222px;margin-right:auto;border-radius:90px 6px 20px 6px}
#channel .tlv-public-profile .tlv-p-hero.v-canvas .tlv-p-hero-identity{position:relative;inset:auto;margin-top:-100px;width:35%}
@media (max-width:767.98px){
 #channel.tlv-profile-active{padding:63px 7px 0!important}
 #channel.tlv-profile-active .tiliv-container{padding-inline:0}
 #channel.tlv-profile-active .ch-header>.tlv-public-profile{margin-bottom:8px}
 #channel .tlv-public-profile{padding:10px!important;border-radius:12px;box-shadow:none}
 #channel .tlv-public-profile .tlv-p-flow{gap:11px}
 #channel .tlv-public-profile .tlv-profile-avatar{height:90px;width:90px}
 #channel .tlv-public-profile .tlv-p-identity{gap:9px}
 #channel .tlv-public-profile .tlv-identity-title h1{font-size:20px}
 #channel.tlv-profile-active .ch-header .ch-tabs .ch-search{margin-top:8px}
 #channel.tlv-profile-active .ch-header .ch-tabs{padding:9px 7px}
 #channel.tlv-profile-active .ch-header .ch-tabs .ch-nav{margin-bottom:0}
 #channel.tlv-profile-active .tiliv-section{margin-block:17px;padding-bottom:12px}
 #channel.tlv-profile-active .tiliv-post{margin-bottom:16px}
}
@media (max-width:359.98px){
 #channel .tlv-public-profile{padding-inline:6px!important}
 #channel .tlv-public-profile .tlv-profile-avatar{height:80px;width:80px}
 #channel .tlv-public-profile .tlv-identity-title h1{font-size:18px}
 #channel .tlv-public-profile[data-style=brutalist] .tlv-identity-title h1{font-size:25px}
 #channel .tlv-public-profile[data-style=folio] .tlv-identity-title h1{font-size:22px}
 #channel .tlv-public-profile .tlv-p-actions>a,#channel .tlv-public-profile .tlv-p-actions>button{padding-inline:5px;font-size:12px}
}
/* Native app uses a small verification mark near the name. The legacy web
   channel's 34px FIX140 badge otherwise overwhelms mobile profile headlines. */
#channel.tlv-profile-active .tlv-public-profile .tlv-identity-title .tiliv-channel-verified-badge-fix137{
 width:18px!important;height:18px!important;min-width:18px!important;
 flex:0 0 18px;vertical-align:middle!important;box-shadow:none!important;
}
#channel.tlv-profile-active .tlv-public-profile .tlv-identity-title .tiliv-channel-verified-badge-fix137 svg{
 width:18px!important;height:18px!important;
}
#channel.tlv-profile-active .tlv-public-profile .tlv-identity-title h1{flex:0 1 auto;min-width:0}
/* Opt-in video tab grids. Only a selected account's public profile changes;
   desktop lists and other pages keep their existing responsive cards. */
@media(max-width:767.98px){
 #channel.tlv-profile-active[data-tlv-grid="grid"] #videos_tab .section-body>.tiliv-row,
 #channel.tlv-profile-active[data-tlv-grid="portrait"] #videos_tab .section-body>.tiliv-row,
 #channel.tlv-profile-active[data-tlv-grid="featured"] #videos_tab .section-body>.tiliv-row{
  display:grid;gap:7px;align-items:start;min-width:0;
 }
 #channel.tlv-profile-active[data-tlv-grid="grid"] #videos_tab .section-body>.tiliv-row{grid-template-columns:repeat(3,minmax(0,1fr))}
 #channel.tlv-profile-active[data-tlv-grid="portrait"] #videos_tab .section-body>.tiliv-row,
 #channel.tlv-profile-active[data-tlv-grid="featured"] #videos_tab .section-body>.tiliv-row{grid-template-columns:repeat(2,minmax(0,1fr))}
 /* Flutter's featured mode treats the first video as a full-width hero;
    the remaining videos keep the two-column .86 thumbnails. */
 #channel.tlv-profile-active[data-tlv-grid="featured"] #videos_tab .section-body>.tiliv-row>[class*="col-"]:first-child{
  grid-column:1 / -1;
 }
 #channel.tlv-profile-active[data-tlv-grid="featured"] #videos_tab .section-body>.tiliv-row>[class*="col-"]:first-child .tiliv-post>.tiliv-figure{
  height:194px;aspect-ratio:auto;border-radius:13px;
 }
 #channel.tlv-profile-active[data-tlv-grid="grid"] #videos_tab .section-body>.tiliv-row>[class*="col-"],
 #channel.tlv-profile-active[data-tlv-grid="portrait"] #videos_tab .section-body>.tiliv-row>[class*="col-"],
 #channel.tlv-profile-active[data-tlv-grid="featured"] #videos_tab .section-body>.tiliv-row>[class*="col-"]{
  width:auto;min-width:0;max-width:100%;margin:0;padding:0;
 }
 #channel.tlv-profile-active:not([data-tlv-grid="list"]) #videos_tab .tiliv-post{margin:0;min-width:0}
 #channel.tlv-profile-active:not([data-tlv-grid="list"]) #videos_tab .tiliv-post>.tiliv-figure{margin:0;aspect-ratio:0.88;overflow:hidden;border-radius:7px;position:relative}
 #channel.tlv-profile-active[data-tlv-grid="portrait"] #videos_tab .tiliv-post>.tiliv-figure{aspect-ratio:0.76}
 #channel.tlv-profile-active[data-tlv-grid="featured"] #videos_tab .tiliv-post>.tiliv-figure{aspect-ratio:0.86}
 #channel.tlv-profile-active:not([data-tlv-grid="list"]) #videos_tab .tiliv-post>.tiliv-figure>a,
 #channel.tlv-profile-active:not([data-tlv-grid="list"]) #videos_tab .tiliv-post>.tiliv-figure>a>img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover}
 #channel.tlv-profile-active:not([data-tlv-grid="list"]) #videos_tab .tiliv-post>header,
 #channel.tlv-profile-active:not([data-tlv-grid="list"]) #videos_tab .tiliv-post>footer{display:none}
 #channel.tlv-profile-active:not([data-tlv-grid="list"]) #videos_tab .tiliv-post .duration{font-size:10px;max-width:95%;white-space:nowrap}
}
/* Flutter _builtIn places these four avatars over the bottom-left of the cover,
   then the name on its own line below, not alongside the avatar. */
#channel .tlv-public-profile[data-palette=native][data-style=classic]{--tlv-native-cover-height:180px}
#channel .tlv-public-profile[data-palette=native][data-style=cinema]{--tlv-native-cover-height:275px}
#channel .tlv-public-profile[data-palette=native][data-style=orbit]{--tlv-native-cover-height:245px}
#channel .tlv-public-profile[data-palette=native][data-style=signal]{--tlv-native-cover-height:256px}
#channel .tlv-public-profile[data-palette=native]:is([data-style=classic],[data-style=cinema],[data-style=orbit],[data-style=signal]) .tlv-p-flow{position:relative}
#channel .tlv-public-profile[data-palette=native]:is([data-style=classic],[data-style=cinema],[data-style=orbit],[data-style=signal]) .tlv-p-identity{display:block;margin-top:49px;position:static}
#channel .tlv-public-profile[data-palette=native]:is([data-style=classic],[data-style=cinema],[data-style=orbit],[data-style=signal]) .tlv-profile-avatar{
 position:absolute!important;top:calc(var(--tlv-native-cover-height) - 42px);
 left:16px;right:auto;margin-top:0!important;z-index:4
}
#channel .tlv-public-profile[data-palette=native][data-style=signal] .tlv-p-identity{background:#0C1732;border-radius:13px;padding:10px 12px}

/* FIX DESKTOP 2026-11-28: preserve the site's gutter, but align the
   public-profile cover/header and single story/live highlight to the tabs.
   992px+ only; native mobile and non-profile pages are untouched. */
@media (min-width: 992px){
  #channel.tlv-profile-active .ch-header > .tlv-public-profile{
    width:100%;
    max-width:100%;
    margin-inline:0;
  }
  #channel.tlv-profile-active .ch-header > .channel-social-highlights-fix103 > :only-child{
    grid-column:1 / -1;
  }
}
