.social-app {
  --sc-color-0:#000;
  --sc-color-1:#e7e9ea;
  --sc-color-2:#71767b;
  --sc-color-3:#2f3336;
  --sc-color-4:#ffffff09;
  --sc-color-5:#1d9bf0;
  --sc-color-6:#eff3f4;
  --sc-color-7:#0f1419;
  --sc-color-8:#ffffff10;
  --sc-color-9:#ffffff14;
  --sc-color-10:#f96c79;
  --sc-color-11:#f91880;
  --sc-color-12:#00ba7c;
  --sc-color-13:#111;
  --sc-color-14:#ffffff20;
  --sc-color-15:#ffffff2a;
  --sc-color-16:#a8b8ff;
  --sc-color-17:#535fcf;
  --sc-color-18:#243a70;
  --sc-color-19:#fff;
  --sc-color-20:#f1ebdf;
  --sc-color-21:#483f31;
  --sc-color-22:#333639;
  --sc-color-23:#536471;
  --sc-color-24:#16181c;
  --sc-color-25:#ffffffaa;
  --sc-color-26:#0003;
  --sc-color-27:#5b708366;
  --sc-color-28:#0005;
  --sc-color-29:#fafafa;
  --sc-color-30:#101010;
  --sc-color-31:#999;
  --sc-color-32:#e7e7e7;
  --sc-color-33:#00000003;
  --sc-color-34:#b6b6b6;
  --sc-color-35:#f0f0f0;
  --sc-color-36:#aaa;
  --sc-color-37:#0001;
  --sc-color-38:#777;
  --sc-color-39:#a1a1a1;
  --sc-color-40:#333;
  --sc-color-41:#ff2c63;
  --sc-color-42:#ddd;
  --sc-color-43:#0002;
  --sc-person-0:#ce9467; --sc-person-1:#7f8d72; --sc-person-2:#7683c1; --sc-person-3:#a67d95; --sc-person-4:#737e8b; --sc-person-5:#315b77;
  --sc-tile-0:#7856b7; --sc-tile-1:#2399c3; --sc-tile-2:#4f8a6b;
  --sc-white:#fff; --sc-transparent:transparent;
}
/* Social websites are scoped to the content area of the virtual Safari. */
.social-app { --sc-bg:var(--sc-color-0); --sc-text:var(--sc-color-1); --sc-muted:var(--sc-color-2); --sc-line:var(--sc-color-3); --sc-hover:var(--sc-color-4); --sc-panel:var(--sc-color-0); --sc-accent:var(--sc-color-5); height:100%; min-height:0; width:100%; overflow:auto; background:var(--sc-bg); color:var(--sc-text); font:14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; container-type:size; container-name:social-page; position:relative; overscroll-behavior:contain; color-scheme:dark; }
.social-app * { box-sizing:border-box; }
.social-app a { color:inherit; text-decoration:none; }
.social-app button,.social-app input,.social-app textarea { font:inherit; }
.social-app svg { display:block; width:24px; height:24px; flex:none; }
.social-app button { cursor:pointer; }
.social-app button:disabled { cursor:default; opacity:.45; }
.sc-grid { width:100%; max-width:1240px; min-height:100%; margin:0 auto; display:grid; grid-template-columns:225px minmax(0,600px) minmax(220px,320px); }
.sc-nav { position:sticky; top:0; align-self:start; display:flex; flex-direction:column; height:100cqh; min-height:530px; max-height:100%; gap:1px; padding:8px 15px 12px 9px; border-right:1px solid var(--sc-line); overflow-y:auto; scrollbar-width:none; }
.sc-nav-link { display:flex; align-items:center; gap:17px; width:fit-content; max-width:100%; padding:10px 12px; min-height:46px; border-radius:28px; font-size:19px; line-height:1.2; white-space:nowrap; border:0; background:none; color:var(--sc-text); }
.sc-nav-link svg { width:25px; height:25px; }
.sc-nav-link:hover,.sc-button:hover { background:var(--sc-hover); }
.sc-nav-link.is-active { font-weight:700; }
.sc-nav-link.is-active svg { fill:currentColor; }
.sc-nav-link.is-active svg path { stroke:var(--sc-text); }
.sc-logo { min-height:45px; margin-bottom:3px; padding:9px 12px; }
.sc-logo > span { display:none; }
.sc-logo svg { width:28px; height:28px; }
.sc-button { padding:7px; border:0; background:none; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; gap:4px; color:inherit; }
.sc-nav .sc-nav-compose { width:100%; min-height:47px; background:var(--sc-color-6); color:var(--sc-color-7); font-size:16px; font-weight:750; border-radius:26px; margin:9px 0 12px; }
.sc-nav-compose > svg { display:none; }
.sc-account { margin-top:auto; display:flex; align-items:center; gap:10px; border-radius:40px; padding:10px 4px; }
.sc-account:hover { background:var(--sc-hover); }
.sc-account-text { display:flex; flex-direction:column; font-size:12px; min-width:0; }
.sc-account-text strong { overflow:hidden; text-overflow:ellipsis; }
.sc-account-text > span { color:var(--sc-muted); font-size:11px; }
.sc-avatar { width:39px; height:39px; flex:none; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; color:var(--sc-white)!important; font-size:13px; font-weight:650; letter-spacing:-.3px; border:1px solid var(--sc-color-8); box-shadow:inset 0 0 20px var(--sc-color-9); }
.sc-avatar.is-small { width:33px; height:33px; font-size:11px; }
.sc-local-label { font-size:9px; color:var(--sc-muted); margin:0 0 1px 12px; }
.sc-main { min-width:0; border-right:1px solid var(--sc-line); background:var(--sc-panel); }
.sc-page-heading { position:sticky; top:0; z-index:2; height:56px; background:color-mix(in srgb,var(--sc-bg) 88%,var(--sc-transparent)); backdrop-filter:blur(15px); display:flex; align-items:center; gap:20px; padding:0 15px; }
.sc-page-heading h1 { font-size:19px; line-height:1.2; margin:0; font-weight:750; }
.sc-page-heading small { font-size:11px; color:var(--sc-muted); }
.sc-page-heading .sc-button { margin-left:-5px; }
.sc-feed-tabs { display:flex; width:100%; border-bottom:1px solid var(--sc-line); min-height:50px; position:sticky; top:0; z-index:2; background:color-mix(in srgb,var(--sc-bg) 92%,var(--sc-transparent)); backdrop-filter:blur(15px); }
.sc-feed-tabs > a,.sc-feed-tabs > button,.sc-profile-post-group { display:flex; align-items:center; justify-content:center; flex:1; min-width:0; padding:15px 10px; font-size:13px; color:var(--sc-muted); font-weight:700; position:relative; text-align:center; border:0; background:none; }
.sc-feed-tabs > a:hover,.sc-feed-tabs > button:hover { background:var(--sc-hover); }
.sc-feed-tabs .is-active { color:var(--sc-text); }
.sc-feed-tabs > .is-active::after { content:''; position:absolute; bottom:0; left:25%; right:25%; height:4px; background:var(--sc-accent); border-radius:5px; }
.sc-social-tabs { position:static; }
.sc-composer { padding:16px 15px 12px; border-bottom:1px solid var(--sc-line); }
.sc-composer-head { display:flex; align-items:flex-start; gap:11px; }
.sc-composer-head > strong { display:none; }
.sc-compose-input { width:100%; min-height:54px; resize:vertical; padding:7px 0 0; border:0; outline:none; background:none; color:var(--sc-text); font-size:18px!important; line-height:1.4; }
.sc-compose-input::placeholder { color:var(--sc-muted); opacity:1; }
.sc-composer-footer { display:flex; align-items:center; gap:9px; margin:9px 0 0 48px; }
.sc-composer-extras { display:flex; color:var(--sc-accent); gap:0; }
.sc-composer-extras .sc-button { padding:4px; }
.sc-composer-extras svg { width:19px; height:19px; }
.sc-character-count { margin-left:auto; color:var(--sc-muted); font-size:10px; white-space:nowrap; }
.sc-compose-error { font-size:10px; color:var(--sc-color-10); }
.sc-submit { border:0; border-radius:24px; padding:8px 17px; color:var(--sc-color-7); background:var(--sc-color-6); font-weight:750!important; cursor:pointer; flex:none; }
.sc-submit:disabled { opacity:.4; }
.sc-post { display:flex; align-items:flex-start; gap:10px; padding:13px 15px 9px; border-bottom:1px solid var(--sc-line); position:relative; }
.sc-post:hover { background:var(--sc-hover); }
.sc-post-content { flex:1; min-width:0; }
.sc-post-header { position:relative; display:flex; align-items:center; gap:5px; font-size:13px; min-height:22px; }
.sc-author { font-weight:750; display:inline-flex; align-items:center; gap:4px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sc-author:hover { text-decoration:underline; }
.sc-verified { display:inline-grid; place-items:center; width:13px; height:13px; background:var(--sc-color-5); color:var(--sc-white); font-size:10px; border-radius:50%; flex:none; }
.sc-handle,.sc-post-time { color:var(--sc-muted); white-space:nowrap; font-size:12px; }
.sc-post-header > .sc-handle { overflow:hidden; text-overflow:ellipsis; }
.sc-post-time { flex:none; }
.sc-post-header > .sc-button { margin-left:auto; color:var(--sc-muted); padding:2px; }
.sc-post-header > .sc-button svg { width:18px; height:18px; }
.sc-post-text { font-size:14px; line-height:1.45; white-space:pre-wrap; overflow-wrap:anywhere; }
.sc-post-actions { display:flex; align-items:center; justify-content:space-between; gap:6px; padding-top:9px; color:var(--sc-muted); }
.sc-post-action { padding:3px; font-size:10px; min-width:24px; white-space:nowrap; }
.sc-post-action svg { width:17px; height:17px; }
.sc-post-action[aria-label^=Sukai][aria-pressed=true] { color:var(--sc-color-11); }
.sc-post-action[aria-label^=Sukai][aria-pressed=true] svg { fill:var(--sc-color-11); }
.sc-post-action[aria-label^=Repost][aria-pressed=true] { color:var(--sc-color-12); }
.sc-post-action[aria-label^="Simpan markah"][aria-pressed=true] { color:var(--sc-accent); }
.sc-post-action[aria-label^="Simpan markah"][aria-pressed=true] svg { fill:currentColor; }
.sc-post-menu,.sc-more-menu { position:absolute; z-index:6; top:25px; right:0; min-width:200px; border:1px solid var(--sc-line); border-radius:14px; background:var(--sc-color-13); box-shadow:0 0 12px var(--sc-color-14); overflow:hidden; }
.sc-post-menu button { display:block; width:100%; text-align:left; border:0; padding:13px; background:none; color:var(--sc-text); font-size:12px; font-weight:650; }
.sc-post-menu button:hover { background:var(--sc-hover); }
.sc-more-wrap { position:relative; }
.sc-more-menu { left:0; right:auto; top:auto; bottom:0; width:260px; }
.sc-more-menu .sc-nav-link { font-size:16px; padding:15px; border-radius:0; width:100%; }
.sc-post-art { border-radius:13px; border:1px solid var(--sc-color-15); min-height:250px; margin-top:12px; padding:22px; display:flex; flex-direction:column; justify-content:space-between; white-space:pre-line; overflow:hidden; }
.sc-post-art.poster { background:radial-gradient(ellipse at 85% 20%,var(--sc-color-16),var(--sc-color-17) 45%,var(--sc-color-18)); color:var(--sc-color-19); }
.sc-art-overline { font-size:9px; letter-spacing:1.4px; opacity:.8; }
.sc-post-art strong { font-size:40px; font-weight:550; letter-spacing:-1.5px; line-height:1.05; margin:25px 0; }
.sc-art-footer { font-size:9px; opacity:.75; }
.sc-post-art.quote { min-height:220px; background:var(--sc-color-20); color:var(--sc-color-21); }
.sc-post-art.quote strong { font-family:Georgia,serif; font-size:36px; letter-spacing:-.5px; font-style:italic; }
.sc-aside { padding:9px 20px 30px; min-width:0; position:sticky; top:0; max-height:100cqh; overflow:auto; scrollbar-width:none; align-self:start; }
.sc-search { display:flex; align-items:center; gap:8px; margin:0 0 14px; border:1px solid var(--sc-line); border-radius:30px; padding:10px 13px; }
.sc-search svg { width:15px; height:15px; color:var(--sc-muted); }
.sc-search input { width:100%; min-width:0; background:none; outline:none; border:0; color:var(--sc-text); font-size:13px; }
.sc-search input::placeholder { color:var(--sc-muted); }
.sc-main > .sc-search { margin:10px 15px 12px; }
.sc-aside-box { border:1px solid var(--sc-line); border-radius:15px; padding:14px 13px; margin-bottom:15px; }
.sc-aside-box h2 { font-size:19px; line-height:1.25; font-weight:800; margin:0 0 10px; letter-spacing:-.4px; }
.sc-aside-box p { font-size:13px; margin:0 0 10px; }
.sc-premium-button { display:inline-block; border-radius:20px; background:var(--sc-color-5); color:var(--sc-white)!important; padding:7px 15px; font-weight:750; font-size:13px; }
.sc-news { display:flex; flex-direction:column; gap:6px; margin:22px 0 27px; font-size:13px; line-height:1.3; }
.sc-news:last-child { margin-bottom:8px; }
.sc-news small,.sc-trend small { color:var(--sc-muted); font-size:11px; }
.sc-trend { display:flex; flex-direction:column; gap:1px; padding:12px 0; }
.sc-trend strong { font-size:13px; }
.sc-suggestion { display:flex; align-items:center; gap:7px; padding:9px 0; }
.sc-suggestion > div { min-width:0; flex:1; display:flex; flex-direction:column; }
.sc-suggestion .sc-author { font-size:12px; }
.sc-suggestion small { color:var(--sc-muted); font-size:11px; overflow:hidden; text-overflow:ellipsis; }
.sc-follow { border:0; color:var(--sc-bg); background:var(--sc-text); border-radius:20px; padding:6px 13px; font-weight:750!important; font-size:12px!important; white-space:nowrap; }
.sc-follow[aria-label^="Berhenti"] { color:var(--sc-text); border:1px solid var(--sc-line); background:none; }
.sc-fine-print { font-size:10px; line-height:1.7; color:var(--sc-muted); margin:10px 13px; }
.sc-profile-cover { height:170px; background:var(--sc-color-22); }
.sc-profile-info { padding:0 15px 15px; }
.sc-profile-top { display:flex; align-items:flex-start; justify-content:space-between; height:78px; }
.sc-profile-top > .sc-avatar { width:108px; height:108px; font-size:32px; margin-top:-52px; border:4px solid var(--sc-bg); }
.sc-profile-top .sc-follow,.sc-profile-local { margin-top:12px; }
.sc-profile-local { color:var(--sc-text); background:none; border:1px solid var(--sc-color-23); border-radius:25px; font-size:13px; padding:8px 14px; font-weight:750; }
.sc-profile-info h2 { font-size:19px; margin:0 0 1px; }
.sc-profile-info p { margin:3px 0; }
.sc-bio { font-size:13px; padding:9px 0; }
.sc-profile-stats { color:var(--sc-muted); font-size:12px; word-spacing:3px; }
.sc-profile-post-group { padding:0; }
.sc-profile-post-group > a { padding:15px 4px; }
.sc-profile-post-group > button { border:0; background:none; color:inherit; }
.sc-section-title { padding:15px 15px 8px; margin:0; font-size:18px; font-weight:800; }
.sc-discover-person { display:flex; gap:10px; padding:16px; border-bottom:1px solid var(--sc-line); align-items:flex-start; }
.sc-discover-person > div { flex:1; min-width:0; }
.sc-discover-person small { display:block; color:var(--sc-muted); font-size:12px; }
.sc-discover-person p { margin:4px 0 0; font-size:13px; }
.sc-discover-person .sc-follow { margin-top:5px; }
.sc-main > .sc-news,.sc-main > .sc-trend { margin-inline:16px; }
.sc-sports { display:flex; gap:8px; padding:9px; overflow:auto; border-bottom:1px solid var(--sc-line); }
.sc-sports > div { background:var(--sc-color-24); border-radius:15px; padding:14px; display:flex; flex-direction:column; min-width:140px; flex:1; gap:10px; }
.sc-sports small { font-size:10px; color:var(--sc-muted); }
.sc-tool-row { display:flex; gap:15px; padding:19px 20px; align-items:center; }
.sc-tool-row > div { display:flex; flex-direction:column; gap:3px; flex:1; }
.sc-tool-row strong { font-size:14px; font-weight:550; }
.sc-tool-row small { color:var(--sc-muted); font-size:13px; }
.sc-tool-status { color:var(--sc-muted); font-size:11px; background:var(--sc-color-24); padding:2px 6px; border-radius:20px; }
.sc-community { display:flex; align-items:center; gap:12px; padding:20px 15px; }
.sc-community > div { display:flex; flex-direction:column; flex:1; min-width:0; }
.sc-community small { color:var(--sc-muted); font-size:12px; margin-top:4px; }
.sc-community-tile { width:50px; height:50px; border-radius:12px; display:grid; place-items:center; color:var(--sc-color-25); }
.sc-settings-layout { display:grid; grid-template-columns:minmax(120px,1fr) minmax(0,1.3fr); }
.sc-settings-nav { border-right:1px solid var(--sc-line); }
.sc-settings-nav button { display:block; width:100%; padding:18px 13px; background:none; color:var(--sc-text); border:0; text-align:left; font-size:12px; }
.sc-settings-nav .is-selected { background:var(--sc-color-24); border-right:2px solid var(--sc-accent); }
.sc-settings-panel { padding:15px; font-size:12px; }
.sc-settings-panel h2 { font-size:18px; margin:0 0 12px; }
.sc-settings-panel h3 { font-size:14px; margin-top:25px; }
.sc-settings-panel p { color:var(--sc-muted); }
.sc-empty { max-width:350px; margin:40px auto; padding:15px 20px 60px; }
.sc-empty h2 { font-size:27px; line-height:1.15; letter-spacing:-.6px; margin:0 0 12px; }
.sc-empty p { font-size:13px; color:var(--sc-muted); line-height:1.5; margin:0; }
.sc-toast { position:sticky; z-index:12; width:fit-content; max-width:calc(100% - 30px); margin:0 auto; bottom:15px; background:var(--sc-color-5); color:var(--sc-color-19); padding:10px 18px; border-radius:7px; box-shadow:0 4px 20px var(--sc-color-26); font-size:12px; }
.sc-toast[hidden] { display:none; }
.sc-modal-backdrop { position:fixed; inset:0; z-index:1200; display:grid; align-items:start; justify-content:center; padding:70px 15px 20px; background:var(--sc-color-27); overflow:auto; }
.sc-compose-dialog { width:540px; max-width:calc(100vw - 30px); border-radius:17px; background:var(--sc-bg); border:1px solid var(--sc-line); box-shadow:0 20px 60px var(--sc-color-28); }
.sc-dialog-header { display:flex; align-items:center; justify-content:space-between; padding:14px 17px; gap:20px; font-size:14px; }
.sc-dialog-header button { background:none; color:var(--sc-text); border:0; font-size:12px; }
.sc-dialog-local { color:var(--sc-muted); font-size:10px; }
.sc-compose-dialog .sc-composer { border:0; padding-top:20px; }
.sc-compose-dialog textarea { min-height:100px; }
.sc-edit-profile { width:400px; max-width:calc(100vw - 30px); padding:25px; border-radius:15px; background:var(--sc-bg); border:1px solid var(--sc-line); display:flex; flex-direction:column; gap:10px; }
.sc-edit-profile h2 { margin:0 0 10px; }
.sc-edit-profile input,.sc-edit-profile textarea { padding:10px; border:1px solid var(--sc-line); background:none; color:var(--sc-text); border-radius:5px; }
.sc-edit-profile > label { color:var(--sc-muted); font-size:12px; }
.sc-edit-profile > button { padding:8px; border:0; border-radius:20px; }
.social-app :focus-visible { outline:2px solid var(--sc-accent); outline-offset:2px; }
/* Threads: a quiet, off-white surface with its narrow icon rail. */
.social-threads { --sc-bg:var(--sc-color-29); --sc-panel:var(--sc-color-19); --sc-text:var(--sc-color-30); --sc-muted:var(--sc-color-31); --sc-line:var(--sc-color-32); --sc-hover:var(--sc-color-33); --sc-accent:var(--sc-color-30); color-scheme:light; }
.social-threads .sc-grid { max-width:1200px; grid-template-columns:76px minmax(0,620px) minmax(180px,300px); gap:24px; justify-content:center; }
.social-threads .sc-nav { padding:14px 12px; border:0; gap:10px; align-items:center; }
.social-threads .sc-nav-link { width:50px; min-height:46px; padding:12px; border-radius:12px; color:var(--sc-color-34); }
.social-threads .sc-nav-link.is-active { color:var(--sc-color-30); }
.social-threads .sc-nav-link span { display:none; }
.social-threads .sc-nav .sc-logo { margin-bottom:12px; color:var(--sc-color-30); }
.social-threads .sc-logo svg { width:30px; height:30px; }
.social-threads .sc-nav-create { width:50px; height:44px; border-radius:10px; background:var(--sc-color-35); color:var(--sc-color-36); }
.social-threads .sc-account { padding:5px; }
.social-threads .sc-account-text,.social-threads .sc-local-label { display:none; }
.social-threads .sc-main { border:1px solid var(--sc-line); border-radius:22px; margin:12px 0 35px; overflow:clip; box-shadow:0 0 1px var(--sc-color-37); }
.social-threads .sc-page-heading { height:58px; border-bottom:1px solid var(--sc-line); justify-content:center; background:var(--sc-color-19); }
.social-threads .sc-page-heading h1 { font-size:15px; font-weight:650; }
.social-threads .sc-page-heading > button { position:absolute; left:15px; }
.sc-heading-down { font-size:14px; color:var(--sc-color-38); }
.social-threads .sc-feed-tabs { position:static; background:var(--sc-color-19); }
.social-threads .sc-feed-tabs > a { font-size:13px; }
.social-threads .sc-feed-tabs > .is-active::after { background:var(--sc-color-13); height:1px; left:0; right:0; }
.social-threads .sc-post { padding:20px 22px 15px; gap:12px; }
.social-threads .sc-post-header { margin-bottom:4px; }
.social-threads .sc-handle { display:none; }
.social-threads .sc-post-text { font-size:14px; line-height:1.5; }
.social-threads .sc-post-time { color:var(--sc-color-39); margin-left:2px; }
.social-threads .sc-post-actions { justify-content:flex-start; gap:16px; padding-top:13px; color:var(--sc-color-40); }
.social-threads .sc-post-action svg { width:20px; height:20px; }
.social-threads .sc-post-action { font-size:11px; gap:5px; }
.social-threads .sc-post-action[aria-label^=Sukai][aria-pressed=true] { color:var(--sc-color-41); }
.social-threads .sc-post-action[aria-label^=Sukai][aria-pressed=true] svg { fill:var(--sc-color-41); }
.social-threads .sc-post-art { border:0; }
.sc-threads-start { display:flex; align-items:center; gap:11px; padding:18px 22px; border-bottom:1px solid var(--sc-line); }
.sc-threads-start > span { color:var(--sc-color-36); font-size:13px; flex:1; }
.sc-threads-start > button { border:1px solid var(--sc-color-42); background:var(--sc-color-19); border-radius:10px; padding:6px 13px; font-size:12px; font-weight:600; }
.social-threads .sc-aside { padding:25px 0; position:sticky; }
.social-threads .sc-aside-box { border-radius:15px; background:var(--sc-color-19); }
.social-threads .sc-aside-box h2 { font-size:16px; }
.social-threads .sc-composer-head { position:relative; padding-left:50px; flex-wrap:wrap; }
.social-threads .sc-composer-head > .sc-avatar { position:absolute; left:0; }
.social-threads .sc-composer-head > strong { display:block; font-size:13px; }
.social-threads .sc-compose-input { font-size:14px!important; min-height:70px; }
.social-threads .sc-composer-footer { margin-left:50px; }
.social-threads .sc-composer-extras { color:var(--sc-color-36); }
.social-threads .sc-submit { border:1px solid var(--sc-color-42); color:var(--sc-color-13); background:var(--sc-color-19); border-radius:10px; }
.social-threads .sc-compose-dialog { border-radius:19px; background:var(--sc-color-19); }
.social-threads .sc-post-menu { background:var(--sc-color-19); box-shadow:0 8px 25px var(--sc-color-43); }
.social-threads .sc-toast { background:var(--sc-color-13); }
@container social-page (max-width:1090px) {
  .social-x .sc-grid { grid-template-columns:70px minmax(0,1fr) 265px; }
  .social-x .sc-nav { padding-inline:8px; align-items:center; }
  .social-x .sc-nav-link > span,.social-x .sc-account-text,.social-x .sc-local-label { display:none; }
  .social-x .sc-nav-link { padding:10px; }
  .social-x .sc-nav .sc-nav-compose { width:45px; min-height:45px; }
  .social-x .sc-nav-compose > svg { display:block; }
  .social-x .sc-account { padding:8px 0; }
  .social-x .sc-aside { padding-inline:12px; }
  .social-x .sc-more-menu { left:0; }
  .social-x .sc-more-menu .sc-nav-link > span { display:inline; }
  .social-threads .sc-grid { grid-template-columns:65px minmax(0,620px); gap:12px; padding-right:20px; }
  .social-threads .sc-aside { display:none; }
}
@container social-page (max-width:790px) {
  .social-x .sc-grid { grid-template-columns:65px minmax(0,1fr); }
  .social-x .sc-aside { display:none; }
  .sc-grid { max-width:100%; }
  .social-threads .sc-grid { grid-template-columns:55px minmax(0,1fr); gap:5px; padding-right:10px; }
  .social-threads .sc-nav { padding-inline:2px; }
}
@container social-page (max-width:500px) {
  .sc-feed-tabs > a:nth-child(3) { display:none; }
  .sc-post { padding-inline:10px; gap:7px; }
  .sc-post > .sc-avatar { width:32px; height:32px; font-size:11px; }
  .sc-handle { display:none; }
  .sc-post-text { font-size:13px; }
  .sc-post-art { min-height:200px; padding:17px; }
  .sc-post-art strong { font-size:30px; }
  .sc-post-actions { gap:2px; }
  .sc-composer { padding-inline:10px; }
  .sc-composer-footer { margin-left:0; }
  .sc-compose-input { font-size:16px!important; }
  .social-threads .sc-post { padding:15px 12px; }
  .sc-post-actions .sc-post-action:last-child { display:none; }
  .sc-settings-layout { grid-template-columns:1fr; }
  .sc-settings-nav { border-right:0; }
}

.sc-more-menu { position:absolute; top:0; bottom:auto; z-index:20; }
.sc-modal-backdrop { display:flex; justify-content:center; align-items:flex-start; }
.sc-compose-dialog { width:540px; max-width:100%; }
.sc-edit-profile { width:400px; max-width:100%; }
.sc-profile-post-group .sc-post-menu { top:100%; right:auto; left:0; }
.sc-profile-post-group:has(> a.is-active)::after { content:''; position:absolute; bottom:0; left:25%; right:25%; height:4px; border-radius:5px; background:var(--sc-accent); }

/* Threads follows the browser/OS appearance. No independent forced dark theme. */
.social-threads {
  --sc-bg:#fafafa; --sc-panel:#fff; --sc-text:#101010; --sc-muted:#757575;
  --sc-line:#e5e5e5; --sc-hover:#00000007; --sc-accent:#101010;
  --sc-surface:#f0f0f0; --sc-menu:#fff; --sc-shadow:#00000018;
  --sc-bubble:#efefef; --sc-bubble-own:#202020; --sc-bubble-text:#fff;
  --sc-heart:#e72b65; color-scheme:light;
}
@media (prefers-color-scheme:dark) {
  .social-threads:not([data-appearance="light"]) {
    color-scheme:dark;
    --sc-bg:#101010; --sc-panel:#101010; --sc-text:#f3f5f7; --sc-muted:#909090;
    --sc-line:#292929; --sc-hover:#ffffff0a; --sc-accent:#f3f5f7;
    --sc-surface:#1e1e1e; --sc-menu:#181818; --sc-shadow:#00000060;
    --sc-bubble:#242424; --sc-bubble-own:#e7e7e7; --sc-bubble-text:#111;
  }
}
.social-threads .sc-grid { max-width:1250px; grid-template-columns:230px minmax(0,660px); gap:55px; justify-content:start; padding-right:30px; }
.social-threads .sc-nav { align-items:stretch; padding:16px 12px; gap:1px; min-height:0; }
.social-threads .sc-nav-link { color:var(--sc-text); width:100%; min-height:38px; padding:9px 12px; font-size:14px; gap:12px; border-radius:9px; }
.social-threads .sc-nav-link svg { width:21px; height:21px; }
.social-threads .sc-nav-link span { display:inline; }
.social-threads .sc-nav-link.is-active { color:var(--sc-text); background:var(--sc-line); }
.social-threads .sc-logo { color:var(--sc-text); margin-bottom:20px; }
.social-threads .sc-logo span { font-size:25px; font-style:italic; font-weight:750; letter-spacing:-1px; }
.social-threads .sc-nav .sc-logo { color:var(--sc-text); }
.social-threads .sc-nav-create { background:var(--sc-transparent); color:var(--sc-text); width:100%; height:38px; justify-content:flex-start; padding:9px 12px; gap:12px; font-size:14px; }
.social-threads .sc-nav-create::after { content:'Thread baru'; }
.sc-nav-section { color:var(--sc-muted); margin:25px 12px 8px; }
.social-threads .sc-aside { display:none; }
.social-threads .sc-main { background:var(--sc-panel); box-shadow:0 0 1px var(--sc-shadow); }
.social-threads .sc-page-heading,.social-threads .sc-feed-tabs { background:var(--sc-panel); }
.social-threads .sc-feed-tabs > .is-active::after { background:var(--sc-accent); }
.social-threads .sc-post-time,.social-threads .sc-composer-extras,.social-threads .sc-threads-start > span { color:var(--sc-muted); }
.social-threads .sc-post-actions { color:var(--sc-text); }
.social-threads .sc-submit,.social-threads .sc-threads-start > button { color:var(--sc-text); background:var(--sc-panel); border:1px solid var(--sc-line); }
.social-threads .sc-compose-dialog,.social-threads .sc-edit-profile,.social-threads .sc-post-menu { background:var(--sc-menu); box-shadow:0 8px 25px var(--sc-shadow); }
.social-threads .sc-toast { background:var(--sc-text); color:var(--sc-bg); }
.social-threads .sc-post-action[aria-label^=Sukai][aria-pressed=true] { color:var(--sc-heart); }
.social-threads .sc-post-action[aria-label^=Sukai][aria-pressed=true] svg { fill:var(--sc-heart); }
.social-threads .sc-profile-cover { background:var(--sc-surface); }
.sc-section-note { color:var(--sc-muted); font-size:12px; line-height:1.5; margin:15px 20px; }
.sc-metrics { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding:15px 20px; }
.sc-metric { border:1px solid var(--sc-line); border-radius:18px; padding:18px; display:flex; flex-direction:column; gap:12px; }
.sc-metric span { font-size:12px; color:var(--sc-muted); }
.sc-metric strong { font-size:28px; }
.sc-activity-row { display:flex; gap:12px; padding:20px; border-bottom:1px solid var(--sc-line); }
.sc-activity-row > div { min-width:0; flex:1; }
.sc-activity-row small { display:block; color:var(--sc-muted); font-size:11px; margin-top:4px; }
.sc-activity-preview { display:block; margin-top:10px; overflow-wrap:anywhere; }
.sc-activity-filters { overflow-x:auto; }
.sc-activity-filters > a { flex:none; font-size:12px; }
.sc-dm-search { width:calc(100% - 40px); border:1px solid var(--sc-line); background:var(--sc-surface); color:var(--sc-text); padding:12px 16px; border-radius:25px; margin:5px 20px 10px; }
.sc-conversation { display:flex; gap:12px; align-items:center; padding:16px 20px; border-bottom:1px solid var(--sc-line); }
.sc-conversation:hover { background:var(--sc-hover); }
.sc-conversation > div { min-width:0; }
.sc-conversation p { color:var(--sc-muted); margin:5px 0 0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:320px; }
.sc-dm-back { display:block; padding:8px 20px; color:var(--sc-muted)!important; }
.sc-dm-header { display:flex; gap:12px; align-items:center; padding:15px 20px; border-block:1px solid var(--sc-line); }
.sc-dm-log { display:flex; flex-direction:column; gap:12px; padding:24px 20px; min-height:210px; }
.sc-dm-bubble { align-self:flex-start; max-width:85%; padding:12px 16px; border-radius:18px; background:var(--sc-bubble); overflow-wrap:anywhere; }
.sc-dm-bubble.is-self { align-self:flex-end; background:var(--sc-bubble-own); color:var(--sc-bubble-text); }
.sc-dm-bubble p { margin:0; white-space:pre-wrap; }
.sc-dm-bubble small { display:block; text-align:right; font-size:10px; opacity:.7; margin-top:5px; }
.sc-dm-empty { color:var(--sc-muted); text-align:center; }
.sc-dm-form { display:flex; gap:12px; align-items:flex-end; padding:15px 20px; border-top:1px solid var(--sc-line); }
.sc-dm-form textarea { min-width:0; flex:1; resize:vertical; border:1px solid var(--sc-line); border-radius:15px; background:var(--sc-surface); color:var(--sc-text); padding:12px; }
@container social-page (max-width:1000px) {
  .social-threads .sc-grid { grid-template-columns:65px minmax(0,660px); gap:12px; padding-right:18px; justify-content:center; }
  .social-threads .sc-nav { align-items:center; padding-inline:4px; }
  .social-threads .sc-nav-link { width:48px; justify-content:center; }
  .social-threads .sc-nav-link span,.social-threads .sc-nav-create::after,.social-threads .sc-nav-section { display:none; }
  .social-threads .sc-nav-create { width:48px; justify-content:center; }
}
@container social-page (max-width:500px) {
  .social-threads .sc-grid { grid-template-columns:48px minmax(0,1fr); gap:4px; padding-right:5px; }
  .sc-metrics { gap:8px; padding:12px; }
  .sc-metric { padding:12px; }
  .sc-dm-form { padding:12px; gap:8px; }
}

.social-threads[data-appearance="dark"] {
  --sc-bg:#101010; --sc-panel:#101010; --sc-text:#f3f5f7; --sc-muted:#909090;
  --sc-line:#292929; --sc-hover:#ffffff0a; --sc-accent:#f3f5f7;
  --sc-surface:#1e1e1e; --sc-menu:#181818; --sc-shadow:#00000060;
  --sc-bubble:#242424; --sc-bubble-own:#e7e7e7; --sc-bubble-text:#111;
  color-scheme:dark;
}
.sc-theme-select { max-width:100%; margin:15px 8px; padding:8px 3px; border:1px solid var(--sc-line); border-radius:8px; background:var(--sc-panel); color:var(--sc-text); font-size:11px!important; }
.social-threads .sc-profile-top { height:auto; min-height:100px; padding-top:20px; flex-direction:row-reverse; }
.social-threads .sc-profile-top > .sc-avatar { width:80px; height:80px; margin:0; font-size:24px; }
.social-threads .sc-profile-cover { display:none; }
.social-threads .sc-profile-local { border-color:var(--sc-line); }

.sc-activity-filters > a:nth-child(3) { display:flex; }

/* Opaque Threads panels do not need backdrop filtering (WebKit text compositing). */
.social-threads .sc-page-heading,.social-threads .sc-feed-tabs { backdrop-filter:none; }
/* Gambar postingan dunia (ilustrasi SVG) */
.sc-post-photo { margin-top:12px; border-radius:13px; overflow:hidden; border:1px solid var(--sc-color-15); aspect-ratio:16/9; }
.sc-post-photo svg { display:block; width:100%; height:100%; }
.social-threads .sc-post-photo { border:0; }
