#airHomeFeed[hidden],.air-home-back[hidden]{display:none!important}
body[data-air-page=demo]{
 --feed-surface:#fffdf9;
 --feed-ink:var(--ink);
 --feed-muted:#53645b;
 --feed-line:var(--line);
 --feed-accent:#087854;
 --feed-on-accent:#fff;
 --feed-active:#e7efe3;
}
html[data-air-theme=dark] body[data-air-page=demo]{
 --feed-surface:#1d3027;
 --feed-muted:#b9cbbb;
 --feed-accent:#a5d7bb;
 --feed-on-accent:#102c20;
 --feed-active:#263d32;
}
body:is(.air-feed-home,.air-feed-detail) .layout{
 grid-template-columns:minmax(155px,205px) minmax(0,1fr) minmax(220px,290px);
 max-width:1640px;margin-inline:auto;gap:24px;align-items:start;
}
body:is(.air-feed-home,.air-feed-detail) .layout>:is(main,.sidebar,.rail){min-width:0;box-shadow:none!important}
body:is(.air-feed-home,.air-feed-detail) .layout :is(.sidebar,.rail){
 background:transparent!important;border:0;border-radius:0;
}
body:is(.air-feed-home,.air-feed-detail) .layout .sidebar{border-right:1px solid var(--feed-line)!important;padding-right:14px}
body:is(.air-feed-home,.air-feed-detail) .layout .rail{border-left:1px solid var(--feed-line)!important;padding-left:18px}
body:is(.air-feed-home,.air-feed-detail) .rail>section:nth-child(2),
body:is(.air-feed-home,.air-feed-detail) :is(#topics,#topicPaging,#pending,.mobile-fresh,#mobileListBack),
body.air-feed-home #content{display:none!important}
body:not(.air-feed-home) #airHomeFeed,
body:not(:is(.air-feed-home,.air-feed-detail)) .air-home-categories{display:none!important}
body.air-feed-detail .layout #content{
 background:var(--feed-surface)!important;border:1px solid var(--feed-line)!important;
 border-radius:16px;box-shadow:none!important;padding:clamp(16px,2.5vw,34px);
}
body.air-feed-detail #content h1{font-size:clamp(25px,3vw,42px);letter-spacing:-.038em;overflow-wrap:anywhere}
body.air-feed-home .layout #airHomeFeed{background:transparent!important;padding:0;border:0;margin:0}
.air-home-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:16px 0 12px}
.air-home-heading h1{margin:0;color:var(--feed-ink)!important;font-size:clamp(25px,3vw,42px);letter-spacing:-.038em}
.air-home-heading #openNew{background:var(--green);color:var(--feed-on-accent);border:0;border-radius:30px;padding:10px 16px;font-weight:800;cursor:pointer}
.air-home-categories{display:grid;gap:4px;margin-top:16px}
.air-home-categories button{padding:8px 10px;text-align:left;background:none;color:var(--feed-ink);border:0;border-radius:8px;cursor:pointer}
.air-home-categories button[aria-pressed=true]{background:var(--feed-surface);color:var(--feed-accent)}
.air-feed-group{display:grid}
.air-feed-item{display:flex;align-items:center;gap:14px;padding:13px 0;border-bottom:1px solid var(--feed-line);min-width:0}
.air-feed-open{display:flex;flex:1;min-width:0;align-items:center;gap:16px;text-align:left;border:0;padding:0;background:none;color:var(--feed-ink);cursor:pointer}
.air-feed-photo{width:clamp(85px,10vw,150px);aspect-ratio:1.4;object-fit:cover;border-radius:11px;flex:none}
.air-feed-copy{display:grid;flex:1;min-width:0;gap:4px;padding:3px 0}
.air-feed-copy strong{font-size:clamp(17px,1.65vw,23px);line-height:1.2;overflow-wrap:anywhere}
.air-feed-category{color:var(--feed-accent);font-size:11px;letter-spacing:.06em;font-weight:750;text-transform:uppercase}
.air-feed-copy small,.air-feed-excerpt,.air-feed-empty{color:var(--feed-muted)!important}
.air-feed-excerpt{font-size:13px;line-height:1.45;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.layout :is(.air-feed-open,#airPopular button,.air-home-categories button,.air-home-back),
body[data-air-page=demo] .air-bottom-nav button{
 background:transparent!important;color:var(--feed-ink)!important;border:0!important;
}
.layout :is(#airPopular li,#airPopularPanel){background:transparent!important}
.layout :is(.air-feed-open,#airPopular button,.air-home-categories button,.air-home-back):hover,
.layout .air-home-categories button[aria-pressed=true]{
 background:var(--feed-active)!important;color:var(--feed-ink)!important;
}
.air-feed-open{border-radius:10px}
.air-feed-open:focus-visible,.air-bottom-nav :is(button,a):focus-visible{outline:2px solid var(--feed-accent);outline-offset:3px}
.air-feed-ad{margin:12px 0!important;min-height:77px!important;min-width:0;width:100%;text-align:center;display:grid!important;align-content:center;color:var(--feed-muted)!important}
#airHomePaging{margin:12px 0}
#airPopularPanel h2{font-size:20px;margin:6px 0 12px;color:var(--feed-ink)!important}
#airPopular ol{margin:0;padding-inline-start:24px;color:var(--feed-accent)}
#airPopular button{border:0;background:none;display:grid;gap:5px;width:100%;text-align:left;padding:9px 0;color:var(--feed-ink);cursor:pointer}
#airPopular li+li{border-top:1px solid var(--feed-line)}
#airPopular small,#airPopular .hint{color:var(--feed-muted)!important}
.air-home-back{margin:8px 0;padding:10px 12px;border-radius:8px;font-weight:700;cursor:pointer}
.air-bottom-nav{display:none}
body.quick #swipeCard{touch-action:none}
@media(max-width:1100px){body:is(.air-feed-home,.air-feed-detail) .layout{grid-template-columns:minmax(135px,175px) minmax(0,1fr)}body:is(.air-feed-home,.air-feed-detail) .rail{display:none}}
@media(max-width:740px){
 body[data-air-page=demo]{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
 body:is(.air-feed-home,.air-feed-detail) .layout{display:block!important;padding:8px 13px 16px!important}
 body.air-feed-home.air-mobile-ready .sidebar{display:block!important;border:0!important;padding:0}
 body.air-feed-home.air-mobile-ready .sidebar :is(footer,.mobile-list-title,.today-refresh){display:none}
 body.air-feed-home.air-mobile-ready.air-mobile-list main,body.air-feed-home main{display:block!important}
 body.air-feed-home .sidebar .today-tabs{margin:0!important}
 body.air-feed-home .air-home-categories,body.air-feed-home main>.mode{display:none!important}
 body[data-air-page=demo].air-feed-home .air-feed-ad{display:grid!important;min-height:72px!important}
 .air-home-heading{margin-top:11px}
 .air-feed-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .air-feed-column{display:flex;flex-direction:column;gap:10px;min-width:0}
 .air-feed-column>.air-feed-item{flex:1 0 auto}
 .air-feed-group>.air-feed-item{grid-column:1/-1}
 .air-feed-item{display:flex;width:100%;padding:0;align-items:stretch;border:1px solid var(--feed-line);border-radius:13px;background:var(--feed-surface);overflow:hidden}
 .air-feed-open{display:flex;flex-direction:column;align-items:stretch;justify-content:center;width:100%}
 .air-feed-item.has-photo .air-feed-open{justify-content:flex-start}
 body[data-air-page=demo] .air-feed-open>img.air-feed-photo{
  display:block;flex:0 0 auto;width:100%;height:auto;min-height:0;max-height:none;
  aspect-ratio:auto;object-fit:contain;border-radius:0;
 }
 .air-feed-copy{padding:10px;gap:5px}
 .air-feed-copy strong{font-size:clamp(14px,4.2vw,19px);line-height:1.22}
 .air-feed-category{font-size:10px}
 .air-feed-item.has-photo .air-feed-excerpt{display:none}
 body.air-feed-detail .layout .sidebar{display:none!important}
 body.air-feed-detail .layout main{display:block!important}
 body[data-air-page=demo] .air-bottom-nav{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;inset:auto 0 0;z-index:25;background:var(--feed-surface);border-top:1px solid var(--feed-line);padding:6px 4px calc(6px + env(safe-area-inset-bottom));box-shadow:0 -8px 24px #0003}
 .air-bottom-nav :is(button,a){display:grid;place-items:center;align-content:center;gap:3px;text-align:center;font-size:10px;min-height:46px;background:none;border:0;color:var(--feed-ink)!important;text-decoration:none;padding:2px;cursor:pointer}
 body[data-air-page=demo] .air-bottom-nav [aria-current]{color:#a8ebcd!important}
 .air-bottom-nav [data-air-create] svg{background:#a8ebcd;color:#123027;width:28px;height:28px;padding:3px;border-radius:50%}
}

@media(max-width:740px){body.quick .quick-vote-dock{bottom:calc(68px + env(safe-area-inset-bottom,0px))}}


body[data-air-page=demo] header .top{
 display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
 justify-items:center;align-items:center;gap:12px;
}
body[data-air-page=demo] header .top .brand{grid-column:2;grid-row:1;margin:0}
body[data-air-page=demo] header .top .brand img{width:56px;height:56px}
body[data-air-page=demo] header .top .brand span{font-size:clamp(28px,3vw,39px)}
body[data-air-page=demo] header .top #discussionControls{grid-column:1/-1;width:100%}
body[data-air-page=demo] header .top #mobileAccount{grid-column:3;grid-row:1;justify-self:end}
body:not(.air-feed-home) #airHomeTitle{display:none}
.air-feed-actions{margin-inline-start:auto;display:flex;align-items:center;gap:10px}
.air-feed-actions .search,.air-feed-actions .search.is-open{flex:none;width:auto;max-width:none;margin:0;position:relative}
.air-feed-actions .search-panel:not(.hidden){
 position:absolute;top:calc(100% + 10px);left:auto;right:0;
 width:min(26rem,calc(100vw - 32px));z-index:30;
}
@media(max-width:740px){
 body[data-air-page=demo] header .top .brand img{width:49px;height:49px}
 body[data-air-page=demo] header .top .brand span{font-size:30px}
 .air-home-heading{gap:6px}
 .air-home-heading #openNew{padding:8px 10px;font-size:12px;white-space:nowrap}
 .air-feed-actions{gap:5px}
 .air-feed-actions .search-panel:not(.hidden){position:fixed;top:76px;left:16px;right:16px;width:auto}
 body[data-air-page=demo].air-mobile-ready main>.air-home-heading{display:flex}
}

body.quick #categories{display:none}
#quickVideoNotice:not(.hidden){margin:10px 0;text-align:center;color:var(--feed-muted);font-size:13px}
#quickFilter:not(.hidden){margin-top:16px}
.quick-swipe-guide{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px;border-top:1px solid var(--feed-line);padding-top:10px;touch-action:inherit}
.quick-swipe-guide button{padding:6px 3px;background:transparent!important;border:0;color:var(--feed-ink)!important;cursor:pointer;font-size:clamp(11px,2.6vw,14px)}
.quick-swipe-guide button:hover,.quick-swipe-guide button:focus-visible{text-decoration:underline}

#notificationsDialog .notification-shortcuts{margin-block:16px 0}

.air-desktop-tabs[hidden],.sidebar .air-tabs-relocated{display:none!important}
@media(min-width:741px){
 .air-feed-actions{flex-wrap:wrap;justify-content:flex-end}
 .air-feed-actions .air-desktop-tabs:not([hidden]){
  display:flex;gap:6px;align-items:center;margin:0;
 }
 .air-feed-actions .air-desktop-tabs button{white-space:nowrap}
 .air-feed-actions .today-refresh{
  width:auto;margin:0;padding-inline:12px;white-space:nowrap;
 }
}

/* Keep the layers behind and inside the swipe card on the same palette. */
html[data-air-theme=dark] body.quick{
 --quick-stack-back:#2b4036;
}
html[data-air-theme=dark] body.quick #content,
html[data-air-theme=dark] body.quick #swipeCard .air-quick-story{
 background:transparent!important;
}
html[data-air-theme=dark] body.quick #content :is(.quick-swipe-guide button,.report-link){
 background:transparent!important;
}
html[data-air-theme=dark] body.quick #content .round-dots i:not(.filled){
 background:var(--feed-line);
}
html[data-air-theme=dark] body.quick #content .round-track strong{
 color:var(--feed-accent);
}
html[data-air-theme=dark] body.quick #swipeCard .quick-verdict{
 border-radius:inherit;
 background:#233e32;
 color:var(--feed-ink);
}
html[data-air-theme=dark] body.quick #swipeCard.voted-wrong .quick-verdict{
 background:#49332e;
}
html[data-air-theme=dark] body.quick #swipeCard .quick-verdict>span{
 color:var(--feed-accent);
}
html[data-air-theme=dark] body.quick #swipeCard.voted-wrong .quick-verdict>span{
 color:#ffb2a1;
}

.air-feed-copy{
 grid-template-columns:minmax(0,1fr) minmax(0,max-content);
 column-gap:10px;
}
.air-feed-copy>.air-feed-category,.air-feed-copy>.air-feed-excerpt,.air-feed-copy>small{grid-column:1/-1}
.air-feed-title{grid-area:2/1}
.air-feed-author{
 grid-area:2/2;justify-self:end;align-self:center;max-width:100%;
 text-align:right;overflow-wrap:anywhere;font-size:12px;font-weight:650;
 color:var(--feed-muted);text-transform:none;
}
@media(max-width:740px){
 .air-feed-copy{grid-template-columns:minmax(0,1fr) minmax(0,45%);column-gap:6px}
 .air-feed-copy>.air-feed-category{grid-area:1/1;overflow-wrap:anywhere}
 .air-feed-title{grid-area:2/1/3/-1}
 .air-feed-author{grid-area:1/2;align-self:start;font-size:10px}
}

.air-feed-item:has(>.air-feed-vote-stripe){position:relative}
.air-feed-vote-stripe{
 position:absolute;inset:auto 0 0;height:3px;pointer-events:none;
 background:linear-gradient(to right,#087854 var(--air-vote-right),#c54142 var(--air-vote-right));
}
html[data-air-theme=dark] .air-feed-vote-stripe{
 background:linear-gradient(to right,#55c992 var(--air-vote-right),#ef746d var(--air-vote-right));
}

#questionVoteTotal{margin-inline:auto 8px;padding-inline-start:10px;font-size:12px;color:var(--feed-muted)}

.vote-matchup{--vote-green:#087854;--vote-red:#c54142}
html[data-air-theme=dark] .vote-matchup{--vote-green:#55c992;--vote-red:#ef746d}
.vote-matchup-labels{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin:4px 0 10px}
.vote-matchup-labels>div{display:grid;gap:2px}
.vote-matchup-labels>div:last-child{text-align:right}
.vote-matchup-labels strong{font-size:19px;color:var(--vote-green)}
.vote-matchup-labels>div:last-child strong{color:var(--vote-red)}
.vote-matchup-labels small{text-transform:uppercase;font-weight:650}
.vote-matchup-labels>span{font-size:12px;font-weight:650;color:var(--feed-muted)}
.vote-matchup-track{height:10px;border-radius:999px;overflow:hidden;background:var(--feed-line)}
.vote-matchup-track i{display:block;height:100%;background:linear-gradient(to right,var(--vote-green) var(--vote-right),var(--vote-red) var(--vote-right))}
#questionResults #withdrawnVoteCount{display:block;padding:0 16px 12px;text-align:right;color:var(--feed-muted)}

.air-feed-pull-status{margin:0 0 8px;text-align:center;color:var(--feed-muted);font-size:12px;pointer-events:none}

/* AiR: comment controls — consistent dark theme surfaces. */
html[data-air-theme="dark"] body[data-air-page="demo"] :is(
  .entry-bottom-actions,
  .entry-bottom-actions button,
  .entry-share-button,
  .entry-edit-button,
  .entry-section .linkbtn,
  .entry-section button[data-delete-demo-root],
  .entry-section button[data-delete-demo-reply]
){background:#1d3027!important;color:#e4eee7!important;border-color:#526c5c!important;box-shadow:none!important}
html[data-air-theme="dark"] body[data-air-page="demo"] :is(
  .entry-bottom-actions button,
  .entry-share-button,
  .entry-edit-button,
  .entry-section .linkbtn
):hover{background:#294738!important;color:#f0fff5!important}
html[data-air-theme="dark"] body[data-air-page="demo"] :is(
  .entry-bottom-actions button,
  .entry-share-button,
  .entry-edit-button,
  .entry-section .linkbtn
):focus-visible{outline:2px solid #8fe5b9!important;outline-offset:2px}
html[data-air-theme="dark"] body[data-air-page="demo"] .entry-section :is(.comment-thread,.thread-replies,.thread-reply,.reply-composer){background:#1d3027!important;color:#e4eee7!important;border-color:#40584a!important}
