.mobile-discover,.dm-chips{display:none}
@media(max-width:700px){
:root[data-theme] .tea-main .mobile-weekly-envelope>summary .tea-envelope-disclosure,:root[data-theme] .tea-main .mobile-weekly-envelope>summary .tea-envelope-disclosure span{color:#e4cd9f}
:root[data-theme]{--m-header:56px;--m-tabs:64px;--m-dock:calc(var(--m-tabs) + env(safe-area-inset-bottom,0px));--m-bg:#101416;--m-surface:#1a2024;--m-line:#30393e;--m-text:#f2f4f3;--m-muted:#a4b1b6;--m-accent:#80d4dc;--m-accent-ink:#102326;--m-tint:#20383e;--m-hit:44px;scroll-padding-top:calc(var(--m-header) + 12px);scroll-padding-bottom:calc(var(--m-dock) + 24px)}
:root[data-theme="light"]{--m-bg:#fff;--m-surface:#f3f5f6;--m-line:#e1e7e9;--m-text:#18262c;--m-muted:#596b75;--m-accent:#176b75;--m-accent-ink:#fff;--m-tint:#e5f2f3}
:root[data-theme] body{background:var(--m-bg);color:var(--m-text);font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif}
:root[data-theme] body::before{display:none}
:root[data-theme] .shell,:root[data-theme] .shell:has(.tea-main){display:block;padding-bottom:calc(var(--m-dock) + 16px);background:var(--m-bg);min-height:calc(100dvh - var(--m-header))}
:root[data-theme] .shell>.sidebar,:root[data-theme] .shell>.rail{display:none}
:root[data-theme] .shell>.main:not(.admin){width:100%;min-width:0;max-width:none;margin:0;padding:24px 16px 24px;background:var(--m-bg);color:var(--m-text)}
:root[data-theme] .main:not(.admin) :is(input:not([type=checkbox]):not([type=radio]),textarea,select),:root[data-theme] .shot-main #shot-why{font-size:16px}
:root[data-theme] :is(button,a,input,textarea,select,summary):focus-visible{outline:2px solid var(--m-accent);outline-offset:3px}
:root[data-theme] .mobile-header{position:sticky;top:0;z-index:81;height:var(--m-header);min-height:var(--m-header);padding:0 12px;gap:8px;background:var(--m-bg);color:var(--m-text);border-bottom:1px solid var(--m-line);box-shadow:none}
:root[data-theme] .mobile-header .mobile-brand{font-size:20px;font-weight:750;letter-spacing:-.7px;white-space:nowrap;color:var(--m-text);margin:0;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}
:root[data-theme] .mobile-brand>span{color:var(--m-accent)}
:root[data-theme] .mobile-header-actions{display:flex;align-items:center;gap:0;margin-left:auto;flex:none}
:root[data-theme] .mobile-header :is(.mobile-rankings,.social-bell,.mobile-profile),:root[data-theme] .mobile-header .site-options>summary{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;margin:0;padding:10px;border:0;background:none;color:var(--m-text);border-radius:50%;flex:none}
:root[data-theme] .mobile-header :is(.mobile-rankings,.social-bell) svg{width:23px;height:23px}
:root[data-theme] .mobile-header .mobile-profile .user-avatar{width:28px;height:28px;font-size:12px;border:1px solid var(--m-line)}
:root[data-theme] .mobile-header .site-options{margin:0}
:root[data-theme] .mobile-header .mobile-auth{display:flex;margin:0}
:root[data-theme] .mobile-header .mobile-auth button{font-size:12px;min-height:40px;padding:6px 10px;background:var(--m-tint);color:var(--m-accent);border:0;border-radius:20px}
:root[data-theme] .mobile-header .mobile-auth button+button{display:none}
:root[data-theme] .mobile-header .social-badge{top:2px;right:2px;font-size:10px;min-width:17px;height:17px;line-height:17px;background:var(--m-accent);color:var(--m-accent-ink)}
:root[data-theme] .mobile-header .site-options-panel{top:calc(100% + 6px);right:0;max-width:calc(100vw - 24px);background:var(--m-bg);border-color:var(--m-line);color:var(--m-text)}
:root[data-theme] nav.mobile-dock{position:fixed;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));left:0;right:0;bottom:0;transform:none;width:100%;max-width:none;height:var(--m-dock);margin:0;padding:0 4px env(safe-area-inset-bottom,0px);gap:0;border:0;border-top:1px solid var(--m-line);border-radius:0;background:var(--m-bg);color:var(--m-text);box-shadow:none;backdrop-filter:none;z-index:75}
:root[data-theme] body:has(.tea-main) nav.mobile-dock a,:root[data-theme] nav.mobile-dock a{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-width:0;min-height:var(--m-tabs);height:var(--m-tabs);margin:0;padding:8px 0 6px;border:0;border-radius:0;background:none;color:var(--m-muted);font:500 11px/13px "Segoe UI",system-ui,sans-serif;overflow:visible}
:root[data-theme] nav.mobile-dock a>span:last-child{max-width:100%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
:root[data-theme] nav.mobile-dock a svg{width:23px;height:23px;stroke-width:1.7;flex:none}
:root[data-theme] body:has(.tea-main) nav.mobile-dock a[aria-current=page],:root[data-theme] nav.mobile-dock a[aria-current=page]{background:none;color:var(--m-accent);font-weight:700}
:root[data-theme] nav.mobile-dock a[aria-current=page] svg{stroke-width:2.2}
:root[data-theme] nav.mobile-dock a[aria-current=page]::before{content:"";position:absolute;top:0;left:calc(50% - 12px);width:24px;height:3px;border-radius:0 0 3px 3px;background:var(--m-accent)}
:root[data-theme] nav.mobile-dock .social-badge{top:5px;right:calc(50% - 24px);background:var(--m-accent);color:var(--m-accent-ink);font-size:10px;line-height:18px}
:root[data-theme] .mobile-discover{display:flex;gap:16px;overflow-x:auto;margin:-4px -16px 28px;padding:0 16px 12px;scrollbar-width:none;overscroll-behavior-inline:contain}
:root[data-theme] .mobile-discover a{display:flex;align-items:center;flex-direction:column;gap:8px;flex:0 0 64px;color:var(--m-text);text-decoration:none}
:root[data-theme] .mobile-discover a>span{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border:1px solid var(--m-line);border-radius:50%;background:var(--m-surface);color:var(--m-accent)}
:root[data-theme] .mobile-discover a:first-child>span{background:#2a1218;border:2px solid #b79559;color:#e4cd9f}
:root[data-theme] .mobile-discover svg{width:26px;height:26px}
:root[data-theme] .mobile-discover strong{font-size:11px;font-weight:550;white-space:nowrap}
:root[data-theme] .home-main>.eyebrow{font-size:11px;color:var(--m-muted);letter-spacing:1.4px}
:root[data-theme] .home-main>h1{font-size:clamp(38px,10.6vw,52px);line-height:1.14;letter-spacing:-1.7px;margin:15px 0 28px;color:var(--m-text)}
:root[data-theme] .home-main .question{padding:22px 20px;background:var(--m-surface);border:1px solid var(--m-line);border-radius:18px;box-shadow:none}
:root[data-theme] .home-main .question h2{font-size:27px;line-height:1.3;color:var(--m-text)}
:root[data-theme] .home-main .question .button{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:14px;border-radius:12px;background:var(--m-accent);color:var(--m-accent-ink);border:0}
:root[data-theme] .tea-main .tea-compact-header{padding-bottom:24px}
:root[data-theme] .tea-main .tea-discovery{margin-bottom:0}
:root[data-theme] .tea-main #tea-feed{margin:0 -16px}
:root[data-theme] .tea-main .tea-post.tea-row,:root[data-theme] .tea-main .tea-post.tea-row:hover{margin:0;padding:20px 16px;border:0;border-bottom:1px solid var(--m-line);border-radius:0;box-shadow:none;background:var(--m-bg)}
:root[data-theme] .tea-main .tea-post.tea-row.tea-weekly-winner,:root[data-theme] .tea-main .tea-post.tea-row.tea-weekly-winner:hover{border:0;border-left:3px solid var(--tea-feature-border);border-bottom:1px solid var(--m-line);padding-left:13px;background:var(--tea-surface)}
:root[data-theme] .tea-main .tea-row .tea-actions{border-top:0;padding-top:0;margin-top:12px;gap:10px}
:root[data-theme] .tea-main .tea-row .tea-body{font-size:15px;line-height:1.7;color:var(--m-text)}
:root[data-theme] .tea-main .tea-row .tea-post-title{font-size:18px;line-height:1.4}
:root[data-theme] .tea-main .tea-create{font-size:12px}
:root[data-theme] .tea-main .tea-composer{border-radius:14px;margin-top:20px}
:root[data-theme] .tea-main .tea-search{margin-bottom:0}
:root[data-theme] .tea-main .tea-search input{font-size:16px;background:var(--m-surface);border:0;border-radius:12px}
:root[data-theme] .tea-main .tea-feed-toolbar{border:0}
:root[data-theme] .tea-main .tea-feed-count{font-size:12px;color:var(--m-muted)}
:root[data-theme] .shot-main .shot-heading{margin-bottom:24px}
:root[data-theme] .shot-main .shot-heading h1{font-size:clamp(35px,10vw,44px);line-height:1.1;letter-spacing:-1.4px;color:var(--m-text)}
:root[data-theme] .shot-main .shot-heading p{font-size:14px;line-height:1.6;color:var(--m-muted)}
:root[data-theme] .shot-main>.shot-form{border:1px solid var(--m-line);border-radius:16px;background:var(--m-surface);padding:18px 16px}
:root[data-theme] .shot-main .shot-form :is(input:not([type=checkbox]),textarea){background:var(--m-bg);color:var(--m-text);border-color:var(--m-line);border-radius:10px;min-height:46px;font-size:16px}
:root[data-theme] .shot-main .shot-form label,:root[data-theme] .shot-main .shot-why-head{font-size:13px;color:var(--m-text)}
:root[data-theme] .shot-main .shot-primary{min-height:48px;border-radius:12px;background:var(--m-accent);color:var(--m-accent-ink);font-size:14px}
:root[data-theme] .shot-main .shot-plans button{min-height:40px;font-size:12px;padding:10px 14px;border-radius:20px}
:root[data-theme] .shot-main .shot-card{margin:0 -16px;padding:20px 16px;border:0;border-bottom:1px solid var(--m-line);border-left:3px solid var(--plan-text,var(--m-line));border-radius:0;background:var(--m-bg);box-shadow:none}
:root[data-theme] .shot-main .shot-body>p{font-size:16px;line-height:1.65;color:var(--m-text)}
:root[data-theme] .shot-main .shot-reason{font-size:14px;line-height:1.7;color:var(--m-muted)}
:root[data-theme] .shot-main .shot-foot{flex-wrap:wrap;gap:8px;align-items:center}
:root[data-theme] .shot-main .shot-foot button{min-height:44px;font-size:12px;padding:8px;border-radius:10px}
:root[data-theme] .shot-main .shot-date{font-size:11px;color:var(--m-muted);margin-right:auto}
:root[data-theme] .shot-main .shot-reactors{bottom:calc(var(--m-dock) + 12px)}
:root[data-theme] .shell:has(.messages-main){min-height:0;padding-bottom:var(--m-dock)}
:root[data-theme] .shell>.messages-main{padding:0;background:var(--m-bg)}
:root[data-theme] .messages-main .dm-layout{display:block;height:calc(100dvh - var(--m-header) - var(--m-dock));min-height:320px;max-height:none;background:var(--m-bg);color:var(--m-text);border:0}
:root[data-theme] .dm-sidebar{height:100%;border:0;background:var(--m-bg)}
:root[data-theme] .dm-sidebar>header{padding:18px 16px 14px;min-height:64px}
:root[data-theme] .messages-main .dm-sidebar h1{margin:0;font-size:28px;letter-spacing:-1px;color:var(--m-text)}
:root[data-theme] .dm-head-actions{gap:4px}
:root[data-theme] .dm-sidebar .dm-round,:root[data-theme] .dm-filter-button{min-height:44px;background:none;color:var(--m-text)}
:root[data-theme] .dm-filter-button{font-size:12px;border:1px solid var(--m-line);border-radius:22px;padding:8px 12px}
:root[data-theme] .dm-search{margin:0 16px 14px;padding:0 14px;height:46px;background:var(--m-surface);border:0;border-radius:12px;gap:10px}
:root[data-theme] .dm-search input{font-size:16px;color:var(--m-text)}
:root[data-theme] .dm-search svg{color:var(--m-muted)}
:root[data-theme] .dm-chips{display:flex;gap:8px;padding:0 16px 12px;overflow-x:auto;scrollbar-width:none;flex-shrink:0}
:root[data-theme] .dm-chips button{min-height:36px;white-space:nowrap;padding:7px 14px;border:0;border-radius:20px;background:var(--m-surface);color:var(--m-muted);font-size:13px;font-weight:600}
:root[data-theme] .dm-chips button[aria-pressed=true]{background:var(--m-tint);color:var(--m-accent)}
:root[data-theme] .dm-thread-list{padding:0}
:root[data-theme] .dm-thread{position:relative;min-height:82px;padding:12px 16px;margin:0;border-radius:0;gap:12px;color:var(--m-text)}
:root[data-theme] .dm-thread+.dm-thread::before{content:"";position:absolute;left:80px;right:16px;top:0;height:1px;background:var(--m-line)}
:root[data-theme] .dm-thread>.user-avatar,:root[data-theme] .dm-thread>.dm-group-face{width:50px;height:50px;flex:0 0 50px}
:root[data-theme] .dm-thread strong{font-size:16px;font-weight:600}
:root[data-theme] .dm-thread small{font-size:14px;color:var(--m-muted);margin-top:5px}
:root[data-theme] .dm-thread-meta time{font-size:11px;color:var(--m-muted)}
:root[data-theme] .dm-thread-meta b{display:inline-flex;min-width:20px;height:20px;align-items:center;justify-content:center;border-radius:12px;padding:0 5px;background:var(--m-accent);color:var(--m-accent-ink);font-size:11px}
:root[data-theme] .dm-thread:has(.dm-thread-meta b) time{color:var(--m-accent)}
:root[data-theme] .dm-thread:hover,:root[data-theme] .dm-thread.selected{background:var(--m-surface)}
:root[data-theme] .dm-sidebar [data-new-chat]{position:fixed;right:18px;bottom:calc(var(--m-dock) + 18px);width:54px;height:54px;border:0;border-radius:18px;background:var(--m-accent);color:var(--m-accent-ink);box-shadow:0 6px 18px #0002;z-index:10}
:root[data-theme] .dm-empty-list{font-size:14px;text-align:center;padding:42px 24px;color:var(--m-muted)}
:root[data-theme] body:has(.dm-layout.has-conversation) :is(.mobile-header,nav.mobile-dock){display:none}
:root[data-theme] .shell:has(.dm-layout.has-conversation){padding:0;min-height:0}
:root[data-theme] .messages-main .dm-layout.has-conversation{height:100dvh;min-height:0}
:root[data-theme] .dm-layout.has-conversation .dm-sidebar{display:none}
:root[data-theme] .dm-layout:not(.has-conversation) .dm-chat{display:none}
:root[data-theme] .dm-layout.has-conversation .dm-chat{display:flex;height:100%;background:var(--m-surface)}
:root[data-theme] .dm-chat-header{flex-shrink:0;min-height:64px;padding:8px 10px;background:var(--m-bg);border-bottom:1px solid var(--m-line);gap:6px;color:var(--m-text)}
:root[data-theme] .dm-back{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:25px;color:var(--m-text)}
:root[data-theme] .dm-chat-header .dm-peer{gap:10px;color:var(--m-text)}
:root[data-theme] .dm-peer strong{font-size:16px}
:root[data-theme] .dm-peer small{font-size:12px;color:var(--m-muted)}
:root[data-theme] .dm-chat-header .user-avatar{width:40px;height:40px}
:root[data-theme] .dm-chat-header .dm-round{width:44px;height:44px;color:var(--m-text);background:none}
:root[data-theme] .dm-log{padding:16px 12px;scroll-padding-bottom:16px;overscroll-behavior:contain}
:root[data-theme] .dm-bubble{max-width:84%;border:0;border-radius:17px 17px 17px 5px;padding:10px 12px;background:var(--m-bg);color:var(--m-text);font-size:15px;line-height:1.5;box-shadow:0 1px 2px #00000008}
:root[data-theme] .dm-row.own .dm-bubble{background:var(--m-tint);color:var(--m-text);border-radius:17px 17px 5px 17px}
:root[data-theme] .dm-bubble p{font-size:15px;line-height:1.5;color:inherit}
:root[data-theme] .dm-bubble :is(time,small),:root[data-theme] .dm-day{font-size:11px;color:var(--m-muted)}
:root[data-theme] .dm-admin-note{font-size:11px;line-height:1.6;padding:10px 14px;margin:12px auto 20px;max-width:310px;background:var(--m-bg);border:1px solid var(--m-line);border-radius:12px;color:var(--m-muted)}
:root[data-theme] .dm-compose{flex-shrink:0;align-items:flex-end;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));gap:3px;border:0;background:var(--m-bg)}
:root[data-theme] .dm-compose .dm-round{width:40px;height:44px;min-width:40px;padding:9px;background:none;color:var(--m-muted);border:0}
:root[data-theme] .dm-field{flex:1;min-width:0;min-height:46px;padding:3px 4px 3px 12px;border:1px solid var(--m-line);border-radius:24px;background:var(--m-surface)}
:root[data-theme] #dm-draft{padding:8px 0;font-size:16px;line-height:1.4;color:var(--m-text);background:none;min-width:0}
:root[data-theme] .dm-field .dm-send{width:36px;height:36px;min-width:36px;background:var(--m-accent);color:var(--m-accent-ink);border-radius:50%}
:root[data-theme] .dm-error:empty,:root[data-theme] .messages-main .typing-status:empty{display:none}
:root[data-theme] .messages-main .typing-status{background:var(--m-bg);color:var(--m-muted);padding:4px 16px;min-height:0;font-size:12px}
:root[data-theme] .messages-main :is(.dm-emoji,.dm-gif){position:fixed;inset:auto 0 calc(70px + env(safe-area-inset-bottom,0px));width:100%;max-width:none;max-height:45dvh;margin:0;padding:14px 12px;border:1px solid var(--m-line);border-radius:18px 18px 0 0;background:var(--m-bg);color:var(--m-text);z-index:100;overflow:auto;box-shadow:0 -8px 30px #0002}
:root[data-theme] .dm-gif input{font-size:16px;background:var(--m-surface);color:var(--m-text)}
:root[data-theme] .dm-menu{background:var(--m-bg);color:var(--m-text);border-color:var(--m-line)}
:root[data-theme] .messages-main .lounge{height:calc(100dvh - var(--m-header) - var(--m-dock));min-height:300px;background:var(--m-surface);color:var(--m-text)}
:root[data-theme] .lounge .dm-chat-header{padding:8px 16px}
:root[data-theme] .lounge h1{color:var(--m-text)}
:root[data-theme] body:has(.lounge #dm-draft:focus) nav.mobile-dock,:root[data-theme] body:has(.main :is(input,textarea,select):focus) nav.mobile-dock{display:none}
:root[data-theme] body:has(.lounge #dm-draft:focus) .lounge{height:calc(100dvh - var(--m-header))}
:root[data-theme] .dm-signin{padding:56px 24px;color:var(--m-text)}
:root[data-theme] .dm-signin h1{font-size:27px;line-height:1.2;color:var(--m-text)}
:root[data-theme] .dm-signin p{font-size:15px;line-height:1.6;color:var(--m-muted)}
:root[data-theme] .dm-signin button{min-height:46px;padding:10px 24px;background:var(--m-accent);color:var(--m-accent-ink);border:0;border-radius:24px}
:root[data-theme] .shell>.profile-main{padding:24px 16px}
:root[data-theme] .profile-card{padding:8px 0 20px;text-align:left;border:0;background:none;color:var(--m-text);border-radius:0}
:root[data-theme] .profile-card>.user-avatar-large{width:88px;height:88px;margin:0 0 16px;border:2px solid var(--m-line);font-size:32px}
:root[data-theme] .profile-card h1,:root[data-theme] .profile-heading h1{font-size:26px;line-height:1.25;color:var(--m-text);overflow-wrap:anywhere}
:root[data-theme] .profile-card h2,:root[data-theme] .profile-section h2{font-size:15px;color:var(--m-text)}
:root[data-theme] .profile-card .profile-bio{font-size:15px;line-height:1.6;color:var(--m-text);text-align:left}
:root[data-theme] .profile-joined{font-size:12px;color:var(--m-muted)}
:root[data-theme] .profile-social{margin:18px 0}
:root[data-theme] .profile-counts{justify-content:flex-start;gap:26px}
:root[data-theme] .profile-counts button{font-size:14px;min-height:44px;padding:8px 0;color:var(--m-muted)}
:root[data-theme] .profile-counts strong{color:var(--m-text);font-size:17px}
:root[data-theme] .profile-social-actions{justify-content:flex-start;gap:8px;margin-top:12px}
:root[data-theme] .profile-social-actions>button,:root[data-theme] .social-message-link{flex:1;min-height:44px;padding:10px 14px;justify-content:center;border-radius:10px;border:1px solid var(--m-line);font-size:14px;background:var(--m-accent);color:var(--m-accent-ink)}
:root[data-theme] .social-message-link,:root[data-theme] .profile-social-actions>button[aria-pressed=true]{background:var(--m-surface);color:var(--m-text)}
:root[data-theme] .profile-section{padding:18px 16px;margin:0 0 14px;border:1px solid var(--m-line);border-radius:14px;background:var(--m-surface)}
:root[data-theme] .profile-section :is(input:not([type=checkbox]),textarea,select){background:var(--m-bg);color:var(--m-text);border-color:var(--m-line);border-radius:10px;min-height:44px}
:root[data-theme] .profile-section label{font-size:14px;color:var(--m-text)}
:root[data-theme] .profile-section :is(.notice,p),:root[data-theme] .theme-setting p{font-size:12px;line-height:1.6;color:var(--m-muted)}
:root[data-theme] .profile-button{min-height:44px;font-size:13px;border-radius:10px;background:var(--m-accent);color:var(--m-accent-ink);border:0}
:root[data-theme] .profile-heading{gap:12px;align-items:center;margin-bottom:20px}
:root[data-theme] .profile-edit-link{min-height:44px;display:inline-flex;align-items:center;font-size:12px;color:var(--m-accent)}
:root[data-theme] .profile-logout{width:100%;min-height:48px;background:none;color:#dc6969;border:1px solid var(--m-line);border-radius:12px;font-size:14px}
:root[data-theme] .shell>.leaderboard-main{margin-bottom:0!important;padding:24px 16px 32px!important;background:var(--m-bg);min-height:calc(100dvh - var(--m-header) - var(--m-dock))}
:root[data-theme] .leaderboard-header .eyebrow{font-size:10px;line-height:1.7;color:var(--m-muted);letter-spacing:1.2px}
:root[data-theme] .leaderboard-toolbar{position:sticky;top:var(--m-header);z-index:5;background:var(--m-bg);padding:12px 0;border-bottom:1px solid var(--m-line)}
:root[data-theme] .leaderboard-tabs button{min-height:44px;font-size:14px;border:0;border-radius:0;background:none;color:var(--m-muted)}
:root[data-theme] .leaderboard-tabs button[aria-pressed=true]{color:var(--m-accent);background:none;box-shadow:inset 0 -3px var(--m-accent)}
:root[data-theme] .leaderboard-count{font-size:11px;color:var(--m-muted)}
:root[data-theme] .leaderboard-list li{min-height:68px;padding:10px 0;border-bottom:1px solid var(--m-line);color:var(--m-text)}
:root[data-theme] .leaderboard-list .leaderboard-avatar{width:40px;height:40px}
:root[data-theme] .leaderboard-list .leaderboard-name{font-size:14px;color:var(--m-text)}
:root[data-theme] .pagination button{min-height:44px;font-size:13px}
:root[data-theme] .shell.facemash-open{height:auto;min-height:calc(100svh - var(--m-header));padding:0 0 var(--m-dock);background:var(--m-bg)}
:root[data-theme] .facemash-open .mash-screen{height:auto;min-height:calc(100svh - var(--m-header) - var(--m-dock));background:var(--m-bg)}
:root[data-theme] .facemash-open .mash-header{display:none}
:root[data-theme] .facemash-open .mash-main{display:flex;flex-direction:column;justify-content:flex-start;padding:0 16px 24px;min-height:0}
:root[data-theme] .facemash-open .mash-categories{order:-1;display:grid;grid-template-columns:1fr 1fr;gap:0;margin:0 -16px 20px;padding:0;border:0;border-bottom:1px solid var(--m-line);border-radius:0;background:none}
:root[data-theme] .mash-categories button{min-height:48px;border:0;border-radius:0;background:none;font-size:14px;color:var(--m-muted)}
:root[data-theme] .mash-categories button[aria-pressed=true]{color:var(--m-accent);background:none;box-shadow:inset 0 -3px var(--m-accent)}
:root[data-theme] .mash-main .mash-quote{font-size:12px;line-height:1.6;color:var(--m-muted)}
:root[data-theme] .mash-main h1{font-size:clamp(23px,6.7vw,30px);line-height:1.25;color:var(--m-text);margin:12px 0 24px}
:root[data-theme] .mash-main .pair{width:100%;gap:12px;align-items:stretch}
:root[data-theme] .mash-main .pair .card{min-width:0;border:1px solid var(--m-line);border-radius:14px;background:var(--m-surface);color:var(--m-text);overflow:hidden}
:root[data-theme] .mash-main .cardfoot{padding:12px 10px;font-size:13px;min-height:44px;background:var(--m-surface);color:var(--m-text)}
:root[data-theme] .mash-main .empty{padding:48px 20px;font-size:15px;line-height:1.6;border:1px dashed var(--m-line);border-radius:16px;color:var(--m-muted)}
:root[data-theme] .social-dialog{width:100%;max-width:none;max-height:88dvh;margin:auto 0 0;border:1px solid var(--m-line);border-radius:20px 20px 0 0;background:var(--m-bg);color:var(--m-text);padding-bottom:env(safe-area-inset-bottom,0px)}
:root[data-theme] .social-dialog header{padding:18px 16px}
:root[data-theme] .social-dialog header button{min-width:44px;min-height:44px;color:var(--m-text)}
:root[data-theme] .social-dialog-body{max-height:72dvh;padding:0 16px 20px}
:root[data-theme] .social-dialog :is(input,textarea,select){font-size:16px;color:var(--m-text)}
:root[data-theme] .social-person{min-height:64px;color:var(--m-text);font-size:14px}
:root[data-theme] .auth-modal .tea-auth{width:calc(100% - 24px);max-height:calc(100dvh - 32px);overflow:auto;border-radius:20px;padding:22px 20px;background:var(--m-bg);color:var(--m-text);border-color:var(--m-line)}
:root[data-theme] .auth-modal :is(input,select){font-size:16px;min-height:46px;background:var(--m-surface);color:var(--m-text);border-color:var(--m-line)}
:root[data-theme] .auth-modal .tea-submit{min-height:46px;background:var(--m-accent);color:var(--m-accent-ink);font-size:14px}
:root[data-theme] .auth-modal .auth-hint,:root[data-theme] .auth-modal .notice{font-size:12px;line-height:1.5;color:var(--m-muted)}
:root[data-theme] .main:not(.admin) textarea{scroll-margin-bottom:calc(var(--m-dock) + 24px)}
}
@media(max-width:360px){
:root[data-theme] .mobile-header{padding-inline:8px;gap:4px}
:root[data-theme] .mobile-header .mobile-brand{font-size:18px}
:root[data-theme] .mobile-header .mobile-auth button{padding-inline:8px}
:root[data-theme] .tea-main .tea-row .tea-actions{gap:4px}
:root[data-theme] .dm-compose .dm-round{width:36px;min-width:36px;padding:7px}
}
@media(max-width:700px) and (prefers-reduced-motion:reduce){
:root[data-theme] .mobile-dock *,:root[data-theme] .mobile-header *,:root[data-theme] .main:not(.admin) *{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}
