/* Threads mobile screens. Phones only. Desktop layout is untouched. */
#threads-main,#dim.th-dim,section.sheet.th-sheet{display:none}
@media (max-width:768px){
html:root:root:root:root:root:root:root:root:root:root:root:root body.th-app{
    --bg:#ffffff;--text:#000000;--sub:#999999;--line:#e3e3e3;--field:#f3f3f3;
    --av-bg:#f2f3f5;--av-fg:#9a9da4;--sheet:#fff;--sheet-bg:#f4f4f4;--pill:#ececec;
  }
html.dark:root:root:root:root:root:root:root:root:root:root:root body.th-app,html[data-theme=dark]:root:root:root:root:root:root:root:root:root:root:root body.th-app{
    --bg:#101010;--text:#f3f5f7;--sub:#7a7a7a;--line:#303030;--field:#1e1e1e;
    --av-bg:#fcfdff;--av-fg:#8c8f97;--sheet:#181818;--sheet-bg:#0c0c0c;--pill:#303030;
  }
html.th-sheet,html.th-sheet body{overflow:hidden}
html.th-sheet body>header{visibility:hidden!important}
#threads-main{position:fixed;inset:0;z-index:12;background:var(--bg);display:none}
body.th-screen #threads-main{display:block}
#threads-main>.panel{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;visibility:hidden;background:var(--bg);color:var(--text);padding-bottom:96px}
#threads-main>.panel.cur{visibility:visible}
#threads-main>.panel::-webkit-scrollbar{display:none}
body.th-screen>header,body.th-screen #appScroll,body.th-screen #detail,body.th-screen #xpage,body.th-screen #dp-fab{visibility:hidden!important}
#dim.th-dim{position:fixed;inset:0;background:#000;opacity:0;pointer-events:none;z-index:39;display:block}
#dim.th-dim.act{pointer-events:auto}
section.sheet.th-sheet{position:fixed;left:0;right:0;bottom:0!important;top:calc(var(--safe-top, env(safe-area-inset-top, 0px)) - 3.5px)!important;max-height:none!important;height:auto!important;z-index:40;display:block;background:var(--sheet);color:var(--text);border-radius:33px 33px 0 0;transform:translateY(110%);visibility:hidden;will-change:transform;overflow:hidden}
section.sheet.th-sheet.vis{visibility:visible}
section.sheet.th-sheet .sheet-body{height:100%;overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(var(--kb, 0px) + 52px)}
html:root:root:root:root:root:root:root:root body.th-app nav.th-nav{z-index:30!important;touch-action:none;transform-origin:50% 50%}
html:root:root:root:root:root:root:root:root body.th-app nav.th-nav .sel{background:transparent!important;will-change:transform;transform-origin:50% 50%;pointer-events:none}
html:root:root:root:root:root:root:root:root body.th-app nav.th-nav .sel i{position:absolute;inset:0;border-radius:inherit;pointer-events:none}
html:root:root:root:root:root:root:root:root body.th-app nav.th-nav .sel .dk{background:var(--nav-sel)}
html:root:root:root:root:root:root:root:root body.th-app nav.th-nav .sel .gl{opacity:0;background:radial-gradient(120% 100% at 50% 0%,rgba(255,255,255,.10),rgba(255,255,255,.02) 60%,rgba(255,255,255,.06));
    box-shadow:inset 0 0 0 .8px rgba(255,255,255,.55),inset 0 1.5px 1px rgba(255,255,255,.45),inset 0 -1.5px 1px rgba(255,255,255,.18),
    inset 2px 0 2px rgba(255,90,90,.18),inset -2px 0 2px rgba(80,160,255,.20),0 4px 14px rgba(0,0,0,.25);
    -webkit-backdrop-filter:blur(1px) saturate(180%) brightness(1.15);backdrop-filter:blur(1px) saturate(180%) brightness(1.15)}
html:root:root:root:root:root:root:root:root body.th-app nav.th-nav .tab{z-index:1;position:relative}
html:root:root:root:root:root:root:root:root body.th-app nav.th-nav .tab svg{display:block;width:24px;height:24px;transition:none;will-change:transform}
#threads-main .th-pg{font-family:'Pretendard Variable',-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo',sans-serif;color:var(--text);background:var(--bg);min-height:100%}
#threads-main .ib{border:0;background:none;color:inherit;padding:0;display:inline-flex;align-items:center;justify-content:center}
#threads-main .av{border-radius:50%;overflow:hidden;display:block;background:var(--av-bg);flex:none}
#threads-main .av svg{display:block;width:100%;height:100%}
#threads-main .t-big{margin:0;font-weight:700;color:var(--text)}
#threads-main .mh,#threads-main .ah{display:flex;justify-content:space-between}
#threads-main .mh .r,#threads-main .dh .r{display:flex;align-items:center;gap:8px}
#threads-main .srch{display:flex;align-items:center;background:var(--field);color:var(--sub)}
#threads-main .srch input,section.sheet.th-sheet textarea,#threads-main .rb input{font-size:16px;border:0;background:transparent;color:var(--text);outline:none;width:100%;font-family:inherit}
#threads-main .srch input{transform:scale(.84375);transform-origin:left center;width:118.5%}
#threads-main .srch input::placeholder,section.sheet.th-sheet textarea::placeholder,#threads-main .rb input::placeholder{color:var(--sub)}
#threads-main .chips{display:flex;overflow-x:auto;scrollbar-width:none}
#threads-main .chips::-webkit-scrollbar{display:none}
#threads-main .chip{border:0;background:#ececec;color:#111;font-weight:600;white-space:nowrap}
html.dark #threads-main .chip,html[data-theme=dark] #threads-main .chip{background:#2a2a2a;color:#f3f5f7}
#threads-main .chip.on{background:#111;color:#fff}
html.dark #threads-main .chip.on,html[data-theme=dark] #threads-main .chip.on{background:#f3f5f7;color:#111}
#threads-main .chip.ico{display:inline-flex;align-items:center;justify-content:center;padding:0}
#threads-main .empty{display:flex;flex-direction:column;align-items:center;text-align:center;color:var(--text)}
#threads-main .empty .circ{border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ececec}
#threads-main .empty h2,#threads-main .empty p{margin:0;font-weight:400}
#threads-main .empty p{color:var(--sub)}
#threads-main .btn{border:0;font-weight:600;color:#111;background:#111;color:#fff}
html.dark #threads-main .btn.pri,html[data-theme=dark] #threads-main .btn.pri{background:#f3f5f7;color:#111}
html:not(.dark) #threads-main .btn.pri{background:#111;color:#fff}
#threads-main .rec-l{position:relative;display:flex;align-items:flex-end;color:var(--text)}
#threads-main .rr{display:flex;align-items:center}
#threads-main .rr .tx2{display:flex;flex-direction:column;min-width:0;flex:1}
#threads-main .rr .n2{color:var(--sub)}
#threads-main .rr .xx{border:0;background:none;color:var(--sub)}
#threads-main .ph-top .ib{width:32px;height:32px}
#threads-main .pf .name,#threads-main .pf .id{margin:0}
#threads-main .pf .id{color:var(--sub)}
#threads-main .pbtns .btn{border:0;color:var(--text)}
#threads-main .cards{scrollbar-width:none}
#threads-main .card .t,#threads-main .card .d{display:block}
#threads-main .card .d{color:var(--sub)}
#threads-main .ptab{background:none;border:0;color:#7a7a7a}
#threads-main .none{color:#777}
#threads-main .ar{display:flex;gap:10px;padding:14px 14px 8px}
#threads-main .ar .avw{position:relative;width:40px;height:40px;flex:none}
#threads-main .ar .bdg{position:absolute;right:-3px;bottom:-3px;width:18px;height:18px;border-radius:50%;display:flex}
#threads-main .ar .c{flex:1;min-width:0}
#threads-main .l3{overflow-wrap:anywhere}
#threads-main .ar .l1,#threads-main .ar .l2,#threads-main .ar .l3{margin:0}
#threads-main .ar .l2{color:var(--sub)}
#threads-main .ar .tm2{color:var(--sub);font-weight:400}
#threads-main .ar .nmx{font-weight:600}
#threads-main .ar .top{display:flex;gap:8px;align-items:center}
#threads-main .ar .dth{display:flex;gap:2px;flex:none}
#threads-main .ar .dth img{width:44px;height:44px;object-fit:cover;border-radius:6px;background:#333}
#threads-main .ar .acts,#threads-main .dp .acts,#threads-main .cmt .acts{display:flex;align-items:center;gap:16px;margin-top:8px;color:var(--sub)}
#threads-main .act{display:inline-flex;align-items:center;gap:4px;border:0;background:none;color:inherit;padding:0;font-size:12px}
#threads-main .act .ico{width:18px;height:18px;stroke-width:1.78}
#threads-main .sec{font-size:14px;margin:16px 14px 4px;font-weight:600}
#threads-main .dh{display:flex;align-items:center;height:48px;padding:0 8px;position:sticky;top:0;background:var(--bg);z-index:2}
#threads-main .dh .ib svg{width:24px;height:24px}
#threads-main .sort svg{width:12px;height:12px;margin-left:4px}
#threads-main .mr2 svg{width:18px;height:18px}
#threads-main .ar .bdg svg{width:14px;height:14px}
#threads-main .rb .ic{display:flex;align-items:center;gap:12px;flex:none;color:var(--text)}
#threads-main .rb .ic svg{width:22px;height:22px}
#threads-main .dh .ct{flex:1;text-align:center}
#threads-main .dh .ct b{display:block}
#threads-main .dh .ct span{display:block;color:var(--sub);font-size:12px}
#threads-main .dp{padding:8px 14px 12px}
#threads-main .dp .ar0{display:flex;align-items:center;gap:8px}
#threads-main .dp .meta{display:flex;align-items:center;gap:6px;min-width:0}
#threads-main .dp .tx{margin:8px 0 0;line-height:1.45;white-space:pre-line}
#threads-main .dp .media{margin-top:10px;border-radius:12px;overflow:hidden;background:#222}
#threads-main .dp .media img{width:100%;display:block}
#threads-main .sort{display:flex;justify-content:space-between;padding:8px 14px;color:var(--sub);font-size:13px}
#threads-main .cmt{display:flex;gap:8px;padding:10px 14px}
#threads-main .cmt .rl{width:36px;flex:none}
#threads-main .cmt.has-reply .rl{position:relative}
#threads-main .cmt.has-reply .rl:after{content:'';position:absolute;left:17px;top:40px;bottom:-12px;width:1.5px;background:#333}
#threads-main .cmt .badge{font-size:11px;border:1px solid var(--line);border-radius:8px;padding:0 4px}
#threads-main .vr{display:flex;align-items:center;gap:8px;margin:0 14px 8px 58px;color:var(--sub);background:none;border:0;font-size:13px}
#threads-main .vr .st{display:flex}
#threads-main .vr .st .av+.av{margin-left:-4px}
#threads-main .sep{height:.5px;background:#2a2a2a;margin-left:58px}
#threads-main .rb{position:sticky;bottom:72px;padding:8px 12px 0}
#threads-main .rb .f{display:flex;align-items:center;gap:8px;height:44px;padding:0 12px;background:var(--field)}
#threads-main .rb input{transform:scale(.9);transform-origin:left center;width:111%}
section.sheet.th-sheet .sh-h{position:relative;display:block}
section.sheet.th-sheet .sh-h .cancel{position:absolute;border:0;background:none;color:var(--text);padding:0}
section.sheet.th-sheet .sh-h .cap{position:absolute;display:flex;align-items:center;background:#2c2c2c;color:var(--text)}
html:not(.dark) .sh-h .cap{background:#ececec}
section.sheet.th-sheet .ed{display:grid}
section.sheet.th-sheet .ed .who{display:flex;align-items:center;font-weight:600}
section.sheet.th-sheet .ed .topic,section.sheet.th-sheet .ed .ph{color:var(--sub)}
section.sheet.th-sheet .ed .who .chev{width:8px;height:12px;flex:none}
section.sheet.th-sheet .ed textarea,section.sheet.th-sheet .ed textarea:focus{min-height:48px;height:64px;resize:none;line-height:1.35;transform:scale(.83125);transform-origin:left top;width:120.3%;background:transparent!important;border:0!important;box-shadow:none!important;outline:none!important;padding:0;appearance:none}
section.sheet.th-sheet .tools{display:flex;color:var(--text)}
section.sheet.th-sheet .tools button,section.sheet.th-sheet .add button{border:0;background:none;color:inherit;padding:0}
section.sheet.th-sheet .add{display:grid;align-items:center;color:#404040}
section.sheet.th-sheet .sh-f{display:flex;align-items:center;background:var(--sheet);z-index:2}
section.sheet.th-sheet .sh-f .opt{display:inline-flex;align-items:center;border:0;background:none;color:var(--sub);padding:0}
section.sheet.th-sheet .sh-f .tg{position:relative;border:0;padding:0}
section.sheet.th-sheet .sh-f .pbtn{border:0}
section.sheet.th-sheet .sh-f .pbtn:disabled{opacity:.45}
section.sheet.th-sheet .drafts{padding:8px 16px 20px}
section.sheet.th-sheet .drafts button{display:block;width:100%;text-align:left;border:0;border-bottom:1px solid var(--line);background:none;color:var(--text);padding:12px 0;font-size:15px}
#threads-main .th-sub{padding:12px 14px 40px}
#threads-main .th-sub h2{font-size:16px;margin:0 0 12px}
#threads-main .bubble{max-width:80%;padding:8px 12px;border-radius:16px;margin:6px 0;background:#2a2a2a}
#threads-main .bubble.mine{margin-left:auto;background:#3a3a3a}
#threads-main .live-row,#threads-main .opt-row{display:flex;justify-content:space-between;gap:8px;padding:12px 0;border-bottom:1px solid var(--line)}
#threads-main .mh{height:41px;align-items:flex-start;padding:0 13.5px 0 15px}
#threads-main .mh .t-big{font-size:28.5px;line-height:30px;letter-spacing:-.7px;margin-top:0}
#threads-main .mh .r .ib svg{width:25px;height:25px}
#threads-main .srch{margin:0 14px;height:39.5px;border-radius:12px;padding:0 12px}
#threads-main .chips.mchips{margin-top:12px;gap:5px;padding:0 12.5px}
#threads-main .mchips .chip{height:32.5px;line-height:32.5px;min-width:0;padding:0 14.8px;border-radius:17px;font-size:13.5px;letter-spacing:-.1px}
#threads-main .mchips .chip.ico{width:46.5px}
#threads-main .mchips .chip.ico svg{width:22px;height:22px}
#threads-main .empty{padding:28px 13.5px 0}
#threads-main .empty .circ{width:49.5px;height:49.5px}
#threads-main .empty .circ svg{width:24px;height:24px}
#threads-main .empty h2{margin-top:24px;font-size:18px;line-height:22px;letter-spacing:-.1px}
#threads-main .empty p{margin-top:5px;font-size:13px;line-height:16px;letter-spacing:.4px;padding:0 26px}
#threads-main .empty .btn{margin-top:19px;height:32.5px;border-radius:10px;font-size:13.5px;letter-spacing:-.4px}
#threads-main .rec-l{margin-top:20px;padding:17px 12.5px 0;height:49px;font-size:13px;font-weight:600}
#threads-main .rr{height:60px;padding:0 16.5px 0 10.5px}
#threads-main .rr .av{width:40px!important;height:40px!important;flex:0 0 40px!important}
#threads-main .rr .tx2{margin-left:13px;padding-top:1px}
#threads-main .rr .n1{font-size:15px;line-height:18px;letter-spacing:-.3px}
#threads-main .rr .n2{font-size:12px;line-height:15px;letter-spacing:-.4px;margin-top:.5px}
#threads-main .rr .btn{height:32px;width:96px;padding:0;border-radius:10px;font-size:13.5px;letter-spacing:-.4px}
#threads-main .rr .xx{width:10px;height:10px;margin-left:12px}
#threads-main .rr .xx{display:flex;align-items:center;justify-content:center}
#threads-main .rr .xx svg{width:17px;height:17px;flex:0 0 17px}
#threads-main .rec-l::before{height:.5px;background:#333;transform:none;top:1px}
#threads-main .rr{position:relative}
#threads-main .rr+.rr::before{content:'';position:absolute;left:63px;right:0;top:-14px;height:.5px;background:#2a2a2a}
html.dark #threads-main .empty .circ{background:#1c1c1c}
#threads-main .empty .circ svg.mailf{width:20px;height:18px}
#threads-main .srch{padding:0 11.2px}
#threads-main .srch svg{width:12.8px;height:12.8px;margin-right:6.6px}
#threads-main .srch{font-size:13.5px;letter-spacing:0}
#threads-main .mh .r{position:relative;top:3.25px}
html.dark{--sheet-bg:#0c0c0c;--sheet:#181818;--pill:#303030}
section.sheet.th-sheet .sheet{top:calc(var(--safe-top, env(safe-area-inset-top, 0px)) - 3.5px);border-radius:33px 33px 0 0}
section.sheet.th-sheet .sh-h{height:66px;align-items:flex-start}
section.sheet.th-sheet .sh-h::after{content:'';position:absolute;left:0;right:0;bottom:0;height:.5px;background:#2c2c2c}
section.sheet.th-sheet .sh-h .cancel{top:29px;left:17.5px;font-size:15px;line-height:17px;letter-spacing:-.2px}
section.sheet.th-sheet .sh-h .ttl{position:absolute;top:29px;left:0;right:0;text-align:center;font-size:16px;line-height:17px;pointer-events:none}
section.sheet.th-sheet .sh-h .cap{top:17.5px;right:22.5px;width:80px;height:39.5px;border-radius:20px;justify-content:space-between;padding:0 3.5px 0 1.5px}
section.sheet.th-sheet .sh-h .cap .ib{width:30px;height:30px}
section.sheet.th-sheet .sh-h .cap svg{width:25px;height:25px}
section.sheet.th-sheet .sh-h .cap .ib:last-child svg{width:23px;height:23px}
section.sheet.th-sheet .ed{padding:13.5px 16px 0 7.5px;grid-template-columns:39px 1fr;column-gap:7.5px}
section.sheet.th-sheet .ed .rail .av{width:39px!important;height:39px!important}
section.sheet.th-sheet .ed .who{font-size:14.3px;line-height:16px;margin-top:-.5px}
section.sheet.th-sheet .ed .who .chev{margin:0 5.5px 0 6px}
section.sheet.th-sheet .ed .topic{font-size:13px;letter-spacing:.4px}
section.sheet.th-sheet .ed .ph{font-size:13.3px;line-height:16px;margin-top:4.5px;letter-spacing:.1px}
section.sheet.th-sheet .tools{gap:15.6px;margin:18.5px 0 0 -1.5px}
section.sheet.th-sheet .tools svg{width:23.7px;height:23.7px}
section.sheet.th-sheet .add{grid-template-columns:32px 1fr;column-gap:6px;padding:0 0 0 7.5px;height:22px;margin-top:17.5px}
section.sheet.th-sheet .add .av{width:18px!important;height:18px!important;margin-left:10.5px;opacity:.35!important}
section.sheet.th-sheet .add span.l{font-size:13px}
section.sheet.th-sheet .sh-f{position:absolute;left:0;right:0;bottom:0;top:auto;height:36px;margin:0;padding:0 10px 0 11px}
section.sheet.th-sheet .sh-f .opt{font-size:13.5px;letter-spacing:-.1px;color:var(--sub)}
section.sheet.th-sheet .sh-f .opt svg{width:23px;height:23px;margin-right:6.5px;margin-left:-1px}
section.sheet.th-sheet .sh-f .tg{width:80.5px;height:36px;border-radius:18px;background:#4c4c4f;margin-left:auto}
section.sheet.th-sheet .sh-f .tg .k{left:0;right:auto;top:0;width:50px;height:36px;border-radius:18px;background:var(--sheet);box-shadow:inset 0 0 0 2.5px #4c4c4f;position:absolute;display:flex;align-items:center;justify-content:center}
section.sheet.th-sheet .sh-f .tg.off .k{left:auto;right:0}
section.sheet.th-sheet .sh-f .tg .k svg{width:19px;height:19px}
section.sheet.th-sheet .sh-f .pbtn{margin-left:10px;width:52.5px;height:33px;border-radius:16.5px;background:#4f4f4f;color:#161616;font-size:14px}
section.sheet.th-sheet .sh-h .cap svg.drf{width:24px;height:24px}
section.sheet.th-sheet .sh-h .cap svg.dts{width:23px;height:23px}
section.sheet.th-sheet .sh-h .cap{box-shadow:inset 0 1.4px .8px rgba(255,255,255,.17),inset 0 -1px 0 rgba(255,255,255,.26)}
section.sheet.th-sheet .sh-h .cap{padding:0 1px 0 1px}
section.sheet.th-sheet .add{margin-top:13px;column-gap:4.5px}
section.sheet.th-sheet .add .av{width:12.5px!important;height:12.5px!important;margin-left:12.75px;opacity:.42!important}
section.sheet.th-sheet .add span.l{color:#404040;opacity:1;font-size:13.3px}
#threads-main .ph-top{position:relative;height:47px}
#threads-main .ph-top .ib{position:absolute;top:3px}
#threads-main .ph-top .ib svg{width:25px;height:25px}
#threads-main .ph-top .i-st{left:13.2px}
#threads-main .ph-top .i-se{left:320.5px}
#threads-main .ph-top .i-ge{left:356.5px}
#threads-main .pf{position:relative;height:99px}
#threads-main .pf .name{position:absolute;left:15px;top:14px;font-size:21px;line-height:24px;font-weight:700;letter-spacing:-1.1px}
#threads-main .pf .id{position:absolute;left:15px;top:40.25px;font-size:13.8px;line-height:16px;letter-spacing:0}
#threads-main .pf .avw{position:absolute;left:322px;top:-2px;width:57px;height:57px}
#threads-main .pf .avw .av{width:57px!important;height:57px!important}
#threads-main .pf .plus{position:absolute;left:-24.5px;top:27.5px;width:26px;height:26px;border-radius:50%;background:#1c1c1c;box-shadow:0 0 0 3px var(--bg);display:block;border:0;padding:0}
#threads-main .pf .plus svg{width:26px;height:26px;display:block}
#threads-main .pf .fl{position:absolute;left:14.5px;top:73px;display:flex;align-items:center;color:var(--sub);font-size:13px;line-height:17px;letter-spacing:0;background:none;border:0;padding:0}
#threads-main .pf .fl .stack{display:flex;margin-right:8px}
#threads-main .pf .fl .stack .av{width:17px!important;height:17px!important;box-shadow:0 0 0 1.5px var(--bg)}
#threads-main .pf .fl .stack .av+.av{margin-left:-5px}
#threads-main .pbtns{display:grid;grid-template-columns:177.5px 178px;gap:9px;padding:0 0 0 14.5px;margin-top:9.5px}
#threads-main .pbtns .btn{height:31px;border-radius:9px;background:#1e1e1e;box-shadow:none;font-size:13.2px;letter-spacing:0}
#threads-main .rcl{padding:0 14px;margin-top:27px;height:28px;font-size:13.8px;line-height:16px;font-weight:400;color:#cfcfcf;letter-spacing:-.5px}
#threads-main .cards{display:flex;gap:3.5px;padding:0 0 0 11px;overflow-x:auto;scrollbar-width:none;margin-top:0}
#threads-main .card{position:relative;text-align:center;flex:0 0 134px;height:186px;border-radius:12px;padding:0}
html.dark .card{background:#1e1e1e}
html:not(.dark) .card{background:#f3f3f3}
#threads-main .card .x{position:absolute;right:9px;top:8px;width:16px;height:16px;color:#9a9a9a;display:flex;align-items:center;justify-content:center}
#threads-main .card .x svg{width:13.5px;height:13.5px}
#threads-main .card .av{position:absolute;left:27.75px;top:10.5px;width:78.5px!important;height:78.5px!important}
#threads-main .card .t{position:absolute;left:0;right:0;top:100px;margin:0;font-size:13px;line-height:16px;font-weight:600;letter-spacing:-.2px}
#threads-main .card .d{position:absolute;left:0;right:0;top:120.5px;margin:0;font-size:11.5px;line-height:15px;letter-spacing:0}
#threads-main .card .btn{position:absolute;left:10px;right:10px;top:142.5px;width:auto;height:33px;margin:0;border-radius:10px;font-size:13px;letter-spacing:0}
#threads-main .ptabs{display:grid;grid-template-columns:repeat(4,93px);padding:0 0 0 9.5px;margin-top:0;height:50px;position:relative}
#threads-main .ptabs::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:#262626;transform:none}
#threads-main .ptab{position:relative;display:flex;justify-content:center;align-items:flex-start;padding-top:22.75px;font-size:13.2px;line-height:16px;font-weight:600;color:#7a7a7a;letter-spacing:0;text-decoration:none}
#threads-main .ptab.on{color:var(--text)}
#threads-main .ptab.on::after{content:'';position:absolute;left:4.5px;right:4.5px;bottom:-1px;height:1.5px;background:var(--text);z-index:1}
#threads-main .none{text-align:center;padding:112px 0 0;font-size:15px;line-height:18px;letter-spacing:-.2px;color:#777}
#threads-main .pbtns .btn{padding-top:3px}
#threads-main .rcl{color:#8a8a8a}
#threads-main .chips.achips{margin-top:12px;gap:5px;padding:0 12.5px}
#threads-main .achips .chip{height:32.5px;line-height:32.5px;min-width:0;padding:0 14.8px;border-radius:17px;font-size:13.5px;letter-spacing:-.1px}
#threads-main .ah{height:41px;align-items:flex-start;padding:0 15px}
#threads-main .ah .t-big{font-size:28.5px;line-height:30px;letter-spacing:-.7px}
#threads-main .ar .c .btn{width:113px;flex:0 0 113px;height:33px;border-radius:10px;font-size:13px;letter-spacing:0}
#threads-main .ar .c .l1{font-size:14.3px}
#threads-main .ar .c .l1 .nmx{letter-spacing:-.3px}
#threads-main .ar .c .l2{font-size:13px}
#threads-main .ar .c .l3{font-size:14px;line-height:19.5px}
#threads-main .dh .ct b{font-size:16px}
#threads-main .cmt .meta,#threads-main .dp .ar0 .meta{font-size:14.3px}
#threads-main .rb .f{border-radius:24px}
section.sheet.th-sheet .pollbox{margin-top:12px;display:flex;flex-direction:column;gap:6px}
section.sheet.th-sheet .pollbox input{font-size:16px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);padding:6px 0}
html:root:root:root:root:root:root:root:root body.th-app nav.th-nav{
  position:fixed!important;left:50%!important;bottom:19px!important;width:353px!important;max-width:calc(100% - 24px)!important;
  margin:0 0 0 -176.5px!important;height:55px!important;border:0!important;border-radius:27.5px!important;
  background:var(--nav-bg)!important;box-shadow:var(--nav-edge),var(--nav-shadow)!important;
  display:grid!important;grid-template-columns:repeat(5,67.7px);justify-content:center;align-items:center;
  padding:0!important;z-index:30!important;
}
html:root:root:root:root:root:root body.th-app:not(.th-home) nav.th-nav{transform:none!important}
html:root:root:root:root:root:root:root:root body.th-app nav.th-nav .sel{position:absolute;left:4px;top:4px;bottom:4px;width:75px;border-radius:23.5px}
html:root:root:root:root:root:root:root:root body.th-app nav.th-nav .tab{height:55px;display:flex;align-items:center;justify-content:center}
body.th-screen :is(#dp-postbar,#dp-back,#dp-actbar,#detail){display:none!important}
#threads-main .mh{border:0;box-shadow:none}
#threads-main .empty .btn.pri{width:362px;max-width:calc(100vw - 28px);height:32px;margin-left:auto;margin-right:auto;display:flex;align-items:center;justify-content:center;white-space:nowrap;padding:0;box-sizing:border-box}
#threads-main .rr .btn.pri{width:auto;min-width:0;height:32px;padding:0 12px;white-space:nowrap;flex:0 0 auto}
#threads-main .rec-l::before{content:'';position:absolute;left:12px;right:0;top:0;height:.5px;background:#333}
#threads-main .ar .top{padding:0!important}
#threads-main .ar .c.hair > .top{display:flex;align-items:flex-start;gap:8px}
#threads-main .ar .c.hair > .top > div{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:2px!important;flex:1 1 0!important;flex-shrink:1!important;min-width:0}
#threads-main .ar .l1,#threads-main .ar .l2{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:auto!important;flex:none}
#threads-main .ar .l3{overflow-wrap:break-word;width:auto!important;flex:none}
#threads-main .ar .dth{flex:0 0 auto}
#threads-main .ar .dth img{background:transparent}
#threads-main .dp .media img,#threads-main .dp .media video{width:100%;display:block;background:transparent}
#threads-main .rb{position:fixed;left:0;right:0;bottom:74px;z-index:28;background:var(--bg);margin:0}
section.sheet.th-sheet{top:45px!important;left:0!important;right:0!important;width:100%!important;margin:0!important}
section.sheet.th-sheet .sheet{top:0}
section.sheet.th-sheet .sh-h{width:100%;margin:0;padding:0}
section.sheet.th-sheet .ed .rail{position:relative}
section.sheet.th-sheet .ed .rail::after{content:'';position:absolute;left:18.5px;top:43px;bottom:-20px;width:1.5px;background:#3a3a3a}
section.sheet.th-sheet .anon-name{font-size:16px;transform:scale(.9);transform-origin:left center;border:0;background:transparent;color:inherit;font-weight:600;width:7em;padding:0;font-family:inherit}
#threads-main>.panel.swipe{transition:transform .22s ease}
}

/* Message, activity, profile and post screens: same bottom bar as the home feed */
@media (max-width:768px){
html:root:root:root:root:root:root:root:root body.th-app.th-screen{--nav-bg:rgba(250,250,250,.88);--nav-line:rgba(0,0,0,.07);--nav-sel:rgba(0,0,0,.06);--nav-ico:#000000;--nav-shadow:0 6px 24px rgba(0,0,0,.10);--nav-edge:inset 0 0 0 1px var(--nav-line)}
html.dark:root:root:root:root:root:root:root:root body.th-app.th-screen,html[data-theme=dark]:root:root:root:root:root:root:root:root body.th-app.th-screen{--nav-bg:rgba(46,46,46,.84);--nav-line:rgba(255,255,255,.08);--nav-sel:rgba(0,0,0,.45);--nav-ico:#ffffff;--nav-shadow:0 6px 24px rgba(0,0,0,.35);--nav-edge:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -1px 0 rgba(255,255,255,.2),inset 0 0 0 1px rgba(255,255,255,.04)}
  html:root:root:root:root:root:root body.th-app.th-screen nav.th-nav{
    position:fixed!important;left:50%!important;bottom:calc(20px + env(safe-area-inset-bottom,0px) * 0)!important;
    width:352px!important;max-width:calc(100% - 24px)!important;margin:0 0 0 -176px!important;height:53px!important;
    border:0!important;border-radius:27px!important;transform:none!important;
    background:var(--nav-bg)!important;box-shadow:inset 0 0 0 1px var(--nav-line),var(--nav-shadow)!important;
    -webkit-backdrop-filter:blur(18px) saturate(160%);backdrop-filter:blur(18px) saturate(160%);
    display:grid!important;grid-template-columns:repeat(5,67.6px);justify-content:center;align-items:center;
    padding:0!important;z-index:10!important;
  }
  html:root:root:root:root:root:root body.th-app.th-screen nav.th-nav.no-msg{grid-template-columns:repeat(4,67.6px);width:284px!important;margin-left:-142px!important}
  html:root:root:root:root:root:root body.th-app.th-screen nav.th-nav .sel{
    position:absolute;left:3px;top:3px;bottom:3px;width:74px;border-radius:24px;background:var(--nav-sel);pointer-events:none;
  }
  html:root:root:root:root:root:root body.th-app.th-screen nav.th-nav .tab{
    position:relative;height:53px;display:flex;align-items:center;justify-content:center;color:var(--nav-ico);
    text-decoration:none;background:none;border:0;min-height:0;padding:0;flex:none;
  }
  html:root:root:root:root:root:root body.th-app.th-screen nav.th-nav .tab svg{width:24px;height:24px;display:block}
  html:root:root:root:root:root:root body.th-app.th-screen nav.th-nav .tab[hidden]{display:none!important}
  html:root:root:root:root:root:root:root body.th-app.th-screen nav.th-nav{
    bottom:19px!important;width:353px!important;margin-left:-176.5px!important;height:55px!important;border-radius:27.5px!important;
    grid-template-columns:repeat(5,67.7px);box-shadow:var(--nav-edge),var(--nav-shadow)!important;
    transition:transform .28s cubic-bezier(.16,1,.3,1),opacity .08s linear!important;
  }
  html:root:root:root:root:root:root:root body.th-app.th-screen nav.th-nav.no-msg{grid-template-columns:repeat(4,67.7px);width:285px!important;margin-left:-142.5px!important}
  html:root:root:root:root:root:root:root body.th-app.th-screen nav.th-nav .sel{left:4px;top:4px;bottom:4px;width:75px;border-radius:23.5px}
  html:root:root:root:root:root:root:root body.th-app.th-screen nav.th-nav .tab{height:55px}
/* Phone status bar clearance for the screen headers (about 44px, more when the phone reports a notch) */
#threads-main{--th-top:max(44px,calc(env(safe-area-inset-top,0px) + 8px))}
#threads-main .mh,#threads-main .ah,#threads-main .ph-top,#threads-main .dh{box-sizing:content-box;padding-top:var(--th-top)}
#threads-main .ph-top .ib{top:calc(var(--th-top) + 3px)}
/* The old site header and bar must not show through on the new screens */
body.th-screen>header,body.th-screen>header *{visibility:hidden!important}
html:root:root:root:root:root:root:root:root:root:root body.th-app.th-screen.in-detail nav.th-nav,html:root:root:root:root:root:root:root:root:root:root body.th-app.th-screen.in-detail .th-navfab,html:root:root:root:root:root:root:root:root:root:root body.th-screen.in-detail #dp-postbar{display:none!important}
html:root:root:root section.sheet.th-sheet .sh-h{background:var(--sheet)!important}
}
