/* OFFSCRPT Spot: where to go. A clean, light travel-app look: a greeting, an area picker, search, category chips,
   a deck of big rounded cards, and a page per spot with a photo on top and a sheet below. */
body.ap-spot{--sp-bg:#f3f4f6;--sp-card:#fff;--sp-ink:#0f1012;background:var(--sp-bg)}
@media (prefers-color-scheme:dark){:root:not([data-theme=light]) body.ap-spot{--sp-bg:#0c0d0f;--sp-card:#17181b;--sp-ink:#f3f3f1}}
:root[data-theme=dark] body.ap-spot{--sp-bg:#0c0d0f;--sp-card:#17181b;--sp-ink:#f3f3f1}
.ap-spot .ap-main{padding-bottom:40px}

/* top: the area picker and you */
.sp-top{display:flex;justify-content:space-between;background:color-mix(in srgb,var(--sp-bg) 88%,transparent)}
.sp-loc{position:relative;display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 14px 0 6px;border-radius:999px;background:var(--sp-card);color:var(--ap-ink);box-shadow:0 8px 24px -16px rgba(0,0,0,.35);cursor:pointer}
.sp-pin{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--sp-ink);color:var(--sp-bg)}
.sp-pin svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.sp-lt{display:grid;line-height:1.1}
.sp-lt small{font:600 10px/1 var(--ui);letter-spacing:.08em;text-transform:uppercase;color:var(--ap-mute)}
.sp-lt select{appearance:none;-webkit-appearance:none;border:0;background:none;color:var(--ap-ink);font:700 15px/1.3 var(--display);padding:2px 0 0;cursor:pointer;max-width:46vw}
.sp-lt select:focus{outline:0}
.sp-loc:focus-within{outline:2px solid var(--ap-ink);outline-offset:2px}
.sp-loc>svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.4;margin-left:-2px}
.sp-me{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--sp-card);color:var(--ap-ink);box-shadow:0 8px 24px -16px rgba(0,0,0,.35);font:700 15px/1 var(--display)}
.sp-me svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8}

/* greeting, search, title, chips */
.sp-hi{padding:14px 2px 16px}
.sp-hi h1{font:600 28px/1.15 var(--display);letter-spacing:-.02em}
.sp-hi p{margin-top:4px;color:var(--ap-mute);font-size:14.5px}
.sp-q{display:flex;align-items:center;gap:10px;height:60px;padding:0 6px 0 18px;margin-bottom:24px;border-radius:999px;background:var(--sp-card);box-shadow:0 10px 30px -20px rgba(0,0,0,.35)}
.sp-q>svg{flex:none;width:22px;height:22px;stroke:var(--ap-ink);fill:none;stroke-width:1.9}
.sp-q input{flex:1;min-width:0;height:100%;border:0;background:none;outline:0;color:var(--ap-ink);font:400 16px/1 var(--ui)}
.sp-q input::placeholder{color:var(--ap-mute)}
.sp-q input::-webkit-search-cancel-button{display:none}
.sp-flt{flex:none;width:48px;height:48px;border-radius:50%;border:0;display:grid;place-items:center;background:var(--sp-ink);color:var(--sp-bg);cursor:pointer}
.sp-flt svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:2}
.sp-h{font:600 23px/1.2 var(--display);letter-spacing:-.015em;margin:0 2px 14px}
.sp-h i{font-style:normal;font-weight:800}
.sp-cats{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:0 -14px 18px;padding:2px 14px}
.sp-cats::-webkit-scrollbar{display:none}
.sp-cats a{flex:none;height:42px;display:inline-flex;align-items:center;padding:0 18px;border-radius:999px;background:var(--sp-card);color:var(--ap-ink2);font:500 14px/1 var(--ui)}
.sp-cats a[aria-current=page]{background:var(--sp-ink);color:var(--sp-bg);font-weight:600}
.sp-on{font-size:13px;color:var(--ap-mute);margin:-6px 4px 14px}
.sp-on a{color:var(--ap-ink);font-weight:600;text-decoration:underline}

/* the deck: big cards that snap to the middle; the ones beside it sit smaller behind */
.sp-deck{display:flex;gap:0;overflow-x:auto;scrollbar-width:none;margin:0 -14px 30px;padding:6px 11% 14px;scroll-snap-type:x mandatory;scroll-padding:0 11%}
.sp-deck::-webkit-scrollbar{display:none}
.sp-card{position:relative;flex:0 0 78%;aspect-ratio:3/4;max-height:520px;border-radius:38px;overflow:hidden;background:#222;color:#fff;scroll-snap-align:center;transform:scale(.88);opacity:.75;transition:transform .35s var(--ease),opacity .35s;isolation:isolate;box-shadow:0 26px 50px -30px rgba(0,0,0,.6)}
.sp-card.on{transform:none;opacity:1;z-index:2}
.sp-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sp-card::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.2) 0,rgba(0,0,0,0) 30%,rgba(0,0,0,.05) 52%,rgba(0,0,0,.72) 100%)}
.sp-a{position:absolute;inset:0;z-index:2}
.sp-heart{position:absolute;z-index:3;top:16px;right:16px;width:46px;height:46px;border-radius:50%;border:1px solid rgba(255,255,255,.45);display:grid;place-items:center;background:rgba(255,255,255,.16);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#fff;cursor:pointer}
.sp-heart svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.8}
.sp-heart[aria-pressed=true]{background:#fff;color:#ff2d55}
.sp-heart[aria-pressed=true] svg{fill:currentColor}
.sp-heart.sm{top:10px;right:10px;width:38px;height:38px;background:#fff;color:#111;border:0}
.sp-heart.sm svg{width:18px;height:18px}
.sp-b{position:absolute;z-index:1;left:18px;right:18px;bottom:18px;display:grid;gap:8px;pointer-events:none}
.sp-b small{font:500 14px/1.2 var(--ui);color:rgba(255,255,255,.85)}
.sp-b b{font:600 clamp(24px,7vw,30px)/1.1 var(--display);letter-spacing:-.015em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 2px 16px rgba(0,0,0,.35)}
.sp-pills{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:6px}
.sp-pill{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:999px;border:1px solid rgba(255,255,255,.5);font:600 12px/1 var(--ui)}
.sp-when{display:inline-flex;align-items:center;gap:5px;font:500 12px/1.2 var(--ui);color:rgba(255,255,255,.88)}
.sp-when svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}
.sp-more{display:flex;align-items:center;justify-content:center;position:relative;height:60px;border-radius:999px;background:rgba(255,255,255,.2);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);font:500 15px/1 var(--ui)}
.sp-more i{position:absolute;right:6px;top:6px;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#111}
.sp-more svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.2}

/* rows and the grid: smaller cards with a photo, a title, what and where, and a round arrow */
.sp-sec{margin-bottom:26px}
.sp-sec .hd a{color:var(--ap-ink);text-decoration:underline;font-size:13.5px}
.sp-row{display:flex;gap:14px;overflow-x:auto;scrollbar-width:none;margin:0 -14px;padding:2px 14px 12px;scroll-snap-type:x proximity}
.sp-row::-webkit-scrollbar{display:none}
.sp-row .sp-tour{flex:0 0 min(72vw,280px);scroll-snap-align:start}
.sp-grid{display:grid;grid-template-columns:1fr;gap:14px}
.sp-tour{position:relative;display:grid;gap:10px;padding:8px 8px 14px;border-radius:28px;background:var(--sp-card);color:var(--ap-ink);box-shadow:0 12px 30px -24px rgba(0,0,0,.45)}
.sp-ti{position:relative;display:block;aspect-ratio:16/10;border-radius:22px;overflow:hidden;background:var(--ap-chip)}
.sp-ti img{width:100%;height:100%;object-fit:cover;transition:transform .6s var(--ease)}
.sp-tour:hover .sp-ti img{transform:scale(1.05)}
.sp-noimg{position:absolute;inset:0;display:grid;place-items:center;color:var(--ap-mute)}
.sp-noimg svg{width:40px;height:40px;stroke:currentColor;fill:none;stroke-width:1.4}
.sp-tb{display:grid;gap:5px;padding:0 64px 0 8px;min-width:0}
.sp-tb b{font:600 17px/1.25 var(--display);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sp-tb small{font-size:13px;color:var(--ap-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-tm{display:flex;align-items:center;gap:5px;font:500 12.5px/1.25 var(--ui);color:var(--ap-ink2)}
.sp-tm svg{flex:none;width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}
.sp-go{position:absolute;right:14px;bottom:16px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--sp-ink);color:var(--sp-bg)}
.sp-go svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2.2}
.sp-opts{display:flex;flex-wrap:wrap;gap:8px}
.sp-opts a{height:38px;display:inline-flex;align-items:center;padding:0 15px;border-radius:999px;background:var(--ap-chip);color:var(--ap-ink);font:500 13.5px/1 var(--ui)}
.sp-opts a[aria-current=page]{background:var(--ap-ink);color:var(--ap-bg)}

/* a spot's own page: photos on top, a sheet that rises over them */
.ap-spd .ap-main{width:100%;max-width:none;padding:0}
.spd-hero{position:relative;height:min(52vh,460px);background:#111}
.spd-gal{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.spd-gal::-webkit-scrollbar{display:none}
.spd-gal img{flex:0 0 100%;width:100%;height:100%;object-fit:cover;scroll-snap-align:start}
.spd-ib{position:absolute;z-index:3;top:calc(16px + env(safe-area-inset-top));width:50px;height:50px;border-radius:50%;border:0;display:grid;place-items:center;background:#fff;color:#111;box-shadow:0 8px 20px -10px rgba(0,0,0,.45);cursor:pointer}
.spd-ib svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2.2}
.spd-back{left:16px}
.spd-heart{right:16px}
.spd-heart[aria-pressed=true]{color:#ff2d55}.spd-heart[aria-pressed=true] svg{fill:currentColor}
.spd-n{position:absolute;z-index:3;right:16px;bottom:52px;padding:6px 11px;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font:600 12px/1 var(--ui);backdrop-filter:blur(8px)}
.spd-sheet{position:relative;z-index:4;margin-top:-34px;padding:12px 20px 30px;border-radius:34px 34px 0 0;background:var(--sp-bg);display:grid;gap:14px}
.spd-grab{justify-self:center;width:44px;height:5px;border-radius:5px;background:var(--ap-line)}
.spd-h{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-top:6px}
.spd-h h1{font:600 26px/1.15 var(--display);letter-spacing:-.02em}
.spd-h .sp-pill{flex:none;border-color:var(--ap-line);color:var(--ap-ink);margin-top:4px}
.spd-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.spd-loc{display:inline-flex;align-items:center;gap:7px;font:500 14.5px/1.3 var(--ui);color:var(--ap-ink)}
.spd-loc svg{width:18px;height:18px;stroke:#e5484d;fill:none;stroke-width:2}
.sx-spd{margin-right:-8px}
.sx-spd .sx-b span:empty{display:none}
.spd-when{display:inline-flex;align-items:center;gap:8px;justify-self:start;padding:9px 14px;border-radius:14px;background:var(--sp-card);font:500 13.5px/1.3 var(--ui)}
.spd-when svg{width:17px;height:17px;stroke:currentColor;fill:none;stroke-width:2}
.spd-d{font-size:15px;line-height:1.6;color:var(--ap-ink2);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.spd-d.open{-webkit-line-clamp:unset;display:block}
.spd-rm{justify-self:start;border:0;background:none;padding:0;margin-top:-6px;color:var(--ap-ink);font:600 14px/1 var(--ui);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.spd-btns{display:flex;gap:10px;flex-wrap:wrap;margin:4px 0 10px}
.spd-btns .btn,.spd-btns .pill-a{height:50px;display:inline-flex;align-items:center;gap:8px;padding:0 22px;border-radius:999px}
.spd-btns .btn{background:var(--sp-ink);color:var(--sp-bg);border-color:var(--sp-ink)}
.spd-btns .pill-a{background:var(--sp-card)}
.spd-btns svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.spd .sp-row{margin:0 -20px;padding-inline:20px}

@media (min-width:701px){
  .sp-top{display:none}
  .ap-spot:not(.ap-spd) .ap-main{width:min(100%,1120px);padding:28px 32px 60px}
  .sp-hi{display:flex;align-items:flex-end;justify-content:space-between;gap:20px}
  .sp-hi::after{content:"";flex:none}
  .ap-spot .sp-loc-d{display:inline-flex}
  .sp-cats,.sp-row{margin-inline:0;padding-inline:0}
  .sp-deck{margin:0 0 34px;padding:6px 0 14px;gap:18px;scroll-padding:0;scroll-snap-type:x proximity;-webkit-mask:linear-gradient(90deg,#000 calc(100% - 60px),transparent);mask:linear-gradient(90deg,#000 calc(100% - 60px),transparent)}
  .sp-card{flex:0 0 330px;transform:none;opacity:1;scroll-snap-align:start}
  .sp-card:hover img{transform:scale(1.04)}
  .sp-card img{transition:transform .8s var(--ease)}
  .sp-b b{font-size:26px}
  .sp-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
  .sp-row .sp-tour{flex-basis:300px}
  /* a spot's page: the photos on the left, the details on the right */
  .ap-spd .ap-main{display:block}
  .spd{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:36px;width:min(100%,1240px);margin:0 auto;padding:28px 32px 60px}
  .spd-hero{position:sticky;top:28px;height:calc(100dvh - 56px);max-height:760px;border-radius:32px;overflow:hidden}
  .spd-ib{top:18px}
  .spd-sheet{margin:0;padding:8px 0 0;border-radius:0;background:none}
  .spd-grab{display:none}
  .spd-h h1{font-size:34px}
  .spd .sp-row{margin:0;padding-inline:0}
}
/* the area picker also sits in the greeting on computers (the top bar is hidden there) */
.sp-hi .sp-loc{display:none}
@media (min-width:701px){.sp-hi .sp-loc{display:inline-flex}}

/* ===================== phones: more room to breathe ===================== */
@media (max-width:700px){
  .ap-main{padding-inline:16px}
  .sqs,.lvs,.sp-cats,.sp-row,.tph-o,.tea-sort{margin-inline:-16px;padding-inline:16px}
  .sp-deck{margin-inline:-16px}
  /* Home */
  .hm-now{margin:6px 0 10px}
  .hd{margin:10px 2px 14px}
  .hd-feed{margin-top:28px}
  .fcs{gap:24px}
  .fc-who .fol-s,.fc-time{display:none}
  .fc-who{right:70px}
  .fc-foot{padding:0 18px 18px}
  .fc-t{margin-bottom:14px}
  .lv-m>span:nth-of-type(n+2),.lv-who .fol-s{display:none}
  .lv{width:min(62vw,228px)}
  .adc{min-height:220px}
  /* Glance, Incidents */
  .rl-tick{display:none}
  .rl-cap{gap:9px;padding-bottom:calc(24px + env(safe-area-inset-bottom))}
  .sx-reel{gap:8px}
  .sx-reel .sx-b svg{width:30px;height:30px}
  .sx-reel [data-reel-more] svg{width:26px;height:26px}
  .rr-av{margin-bottom:12px}
  .rr-av>span{width:42px!important;height:42px!important}
  .rl-id .fol{height:28px;padding:0 11px;font-size:11.5px}
  .rl-id .fol svg{display:none}
  .rl-chat li.sys+li.sys{display:none}
  /* Tea */
  .tea-hero{padding-top:8px}
  .tea-cup{width:54px;height:54px;border-radius:18px}
  .tzs{gap:18px}
  /* Spot */
  .sp-hi{padding-top:10px}
  .sp-b{gap:10px}
}
.spd-sheet{grid-template-columns:minmax(0,1fr)}
.spd-sheet>*{min-width:0}
.spd-h h1{min-width:0;overflow-wrap:break-word}
.spd-btns .btn{text-transform:none;letter-spacing:0;font:600 14.5px/1 var(--ui)}

/* ===================== the bell and its panel ===================== */
.ap-bell{border:0;font:inherit}
.ap-bell i{display:none}
.ap-bell.has-new i{display:block}
.sp-acts{display:flex;gap:8px}
.sp-acts .ap-bell{width:48px;height:48px;background:var(--sp-card);box-shadow:0 8px 24px -16px rgba(0,0,0,.35)}
.tea-acts .ap-bell{background:var(--tz-card);box-shadow:0 6px 18px -10px rgba(30,80,160,.45)}
.nt .ap-sheet-in{gap:10px;max-height:86vh}
.nt-h{display:flex;align-items:center;justify-content:space-between}
.nt-h h2{font:700 22px/1.2 var(--display)}
.nt-x{width:38px;height:38px;border-radius:50%;border:0;background:var(--ap-chip);color:var(--ap-ink);font:400 22px/1 var(--ui);cursor:pointer}
.nt-body{display:grid;gap:18px;padding-bottom:6px}
.nt-load{padding:30px 0;text-align:center;color:var(--ap-mute)}
.nt-tip{padding:12px 14px;border-radius:16px;background:var(--ap-chip);font-size:13px;color:var(--ap-ink2)}
.nt-tip a{color:var(--ap-ink);font-weight:700;text-decoration:underline}
.nt-s header{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:6px}
.nt-s h3{font:700 13px/1 var(--ui);letter-spacing:.06em;text-transform:uppercase;color:var(--ap-mute)}
.nt-s header a{font:600 12.5px/1 var(--ui);color:var(--ap-ink);text-decoration:underline}
.nt-s ul{list-style:none;display:grid}
.nt-r a{position:relative;display:flex;align-items:center;gap:12px;padding:9px 8px;margin:0 -8px;border-radius:14px;color:var(--ap-ink)}
.nt-r a:hover{background:var(--ap-chip)}
.nt-r.new a::after{content:"";position:absolute;right:10px;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:#2f8bff}
.nt-i{flex:none;width:46px;height:46px;border-radius:14px;overflow:hidden;display:grid;place-items:center;background:var(--ap-chip);color:var(--ap-ink)}
.nt-i img{width:100%;height:100%;object-fit:cover}
.nt-i svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.nt-i.live{background:#ff3b30;color:#fff}.nt-i.tea{background:#2f8bff;color:#fff}.nt-i.ok{background:#1f9e6a;color:#fff}.nt-i.love{background:#ff2d55;color:#fff}.nt-i.bad{background:#e5484d;color:#fff}
.nt-b{display:grid;gap:3px;min-width:0;padding-right:16px}
.nt-b b{font:600 14px/1.3 var(--display);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nt-b small{font-size:12px;color:var(--ap-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* the sidebar's bell on computers */
.tabbar .tb-bell{position:relative;display:none;align-items:center;gap:16px;height:50px;padding:0 13px;border:0;border-radius:12px;background:none;color:var(--sb-ink);font:400 15.5px/1 var(--ui);cursor:pointer;text-align:left}
.tabbar .tb-bell svg{flex:none;width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tabbar .tb-bell:hover{background:var(--sb-hover)}
.tabbar .tb-bell i{display:none;position:absolute;left:31px;top:12px;width:9px;height:9px;border-radius:50%;background:#ff3b30;border:2px solid var(--sb-bg)}
.tabbar .tb-bell.has-new i{display:block}
.tabbar .tb-bell span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (min-width:701px){body.ap .tabbar .tb-bell,body.rl-page .tabbar .tb-bell{display:flex}}
@media (min-width:1264px){.tabbar .tb-bell span{position:static;width:auto;height:auto;overflow:visible;clip:auto}}

/* ===================== phones: solid top bars, round tabs, smaller type on narrow screens ===================== */
@media (max-width:700px){
  .ap-top{background:color-mix(in srgb,var(--ap-bg) 94%,transparent);backdrop-filter:blur(16px) saturate(1.3);-webkit-backdrop-filter:blur(16px) saturate(1.3)}
  .sp-top{background:color-mix(in srgb,var(--sp-bg) 94%,transparent)}
  .tea-top{background:color-mix(in srgb,var(--tz-top) 92%,transparent)}
  /* tabs stay round however narrow the phone */
  .tabbar a{height:auto;aspect-ratio:1;max-height:48px}
  .tabbar svg{width:min(22px,60%);height:auto;aspect-ratio:1}
}
@media (max-width:400px){
  .ap-main{padding-inline:14px}
  .sqs,.lvs,.sp-cats,.sp-row,.tph-o,.tea-sort{margin-inline:-14px;padding-inline:14px}
  .sp-deck{margin-inline:-14px}
  .sq{width:66px}.sq-r{width:66px;height:84px;border-radius:21px}.sq-r img{border-radius:18.5px}.sq-me,.sq-h{border-radius:18.5px}
  .lv{width:68vw}
  .lv-t{font-size:19px;bottom:48px}
  .fc{border-radius:26px}
  .fc-t{font-size:21px}
  .fc-who b{font-size:13px}
  .ap-h h1,.sp-hi h1{font-size:24px}
  .sp-h{font-size:20px}
  .sp-q{height:54px;margin-bottom:20px}
  .sp-flt{width:42px;height:42px}
  .sp-cats a{height:38px;padding:0 15px;font-size:13px}
  .sp-loc{height:44px}.sp-pin{width:32px;height:32px}.sp-me,.sp-acts .ap-bell{width:44px;height:44px}
  .sp-lt select{max-width:34vw;font-size:14px}
  .sp-card{flex-basis:80%;border-radius:30px}
  .sp-b{left:14px;right:14px;bottom:14px;gap:8px}
  .sp-b b{font-size:21px}
  .sp-heart{top:12px;right:12px;width:40px;height:40px}
  .sp-more{height:50px;font-size:14px;justify-content:flex-start;padding-left:20px}
  .sp-more i{width:40px;height:40px;right:5px;top:5px}
  .sp-row .sp-tour{flex-basis:76vw}
  .sp-tb b{font-size:15.5px}
  .sp-tb{padding-right:56px}
  .sp-go{width:40px;height:40px;right:12px;bottom:14px}
  .tea-hero h1{font-size:32px}
  .tea-ask{height:54px}
  .tz-q p{font-size:19px}
  .spd-h h1{font-size:23px}
}
.sp-top{gap:8px}
.sp-top .sp-loc{flex:1 1 auto;min-width:0;max-width:240px}
.sp-top .sp-lt{flex:1;min-width:0}
.sp-top .sp-lt select{width:100%;max-width:none;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}
.sp-acts{flex:none}
.tea-top{gap:8px}
.tea-ttl{min-width:0;flex:0 1 auto;margin-left:0}
.tea-acts{flex:none}
@media (max-width:400px){.tea-hot{display:none}.tea-top .ap-ib{width:42px;height:42px}.tea-ttl{height:42px;padding:0 14px 0 12px;font-size:15px}}
.tzs{grid-template-columns:minmax(0,1fr)}
.tz,.tz-h,.tz-who{min-width:0}
.tz-q p,.tz-t{overflow-wrap:anywhere}
.tz-f{min-width:0}.tz-c{min-width:0}

/* ===================== Tea, in Home's look: the same background, story tiles, headers, chips and cards ===================== */
/* a trending tag with no photo yet: its name on a plain tile */
.sq-tx{position:absolute;inset:2.5px;border-radius:21.5px;display:grid;place-items:center;padding:8px;background:var(--ap-card);border:2.5px solid var(--ap-bg);color:var(--ap-ink);font:700 12.5px/1.2 var(--display);text-align:center;overflow-wrap:anywhere}
.sq-on .sq-r{background:var(--ap-ink)}
/* "What's the tea?" */
.te-ask{display:flex;align-items:center;gap:12px;width:100%;height:58px;margin:0 0 18px;padding:0 8px;border:0;border-radius:999px;background:var(--ap-card);color:var(--ap-mute);font:500 15px/1 var(--ui);text-align:left;cursor:pointer}
.te-ask .ap-av{width:42px;height:42px;background:var(--ap-chip);color:var(--ap-ink)}
.te-ask .ap-av svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2}
.te-ask span:nth-child(2){flex:1}
.te-ask b{height:42px;display:grid;place-items:center;padding:0 20px;border-radius:999px;background:var(--ap-ink);color:var(--ap-bg);font:600 13.5px/1 var(--ui)}
/* Hot / New and the topics, as Home's chips */
.apc a{flex:none;height:38px;display:inline-flex;align-items:center;padding:0 16px;border-radius:999px;background:var(--ap-chip);color:var(--ap-ink);font:500 13.5px/1 var(--ui);white-space:nowrap}
.apc a[aria-current=page]{background:var(--ap-ink);color:var(--ap-bg);font-weight:600}
.te-sort i{flex:none;width:1px;margin:8px 2px;background:var(--ap-line)}
.te-on{font-size:13px;color:var(--ap-ink2);margin:-4px 4px 14px}
.te-on a{color:var(--ap-ink);font-weight:600;text-decoration:underline}
/* a post */
.tes{display:grid;gap:16px}
.te{position:relative;display:grid;gap:12px;padding:16px;border-radius:28px;background:var(--ap-card);min-width:0}
.te-h{display:flex;align-items:center;gap:10px;min-width:0}
.te-who{flex:1;min-width:0;display:grid;gap:2px;line-height:1.2}
.te-who b{display:flex;align-items:center;gap:4px;font:600 14.5px/1.2 var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.te-who small{font-size:12.5px;color:var(--ap-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.te-who small a{color:var(--ap-ink2);font-weight:600}
.te-more{flex:none;width:38px;height:38px;border-radius:50%;border:0;display:grid;place-items:center;background:var(--ap-chip);color:var(--ap-ink);cursor:pointer}
.te-more svg{width:18px;height:18px;fill:currentColor;stroke:none}
.te-t{font:400 15.5px/1.55 var(--ui);color:var(--ap-ink);overflow-wrap:anywhere}
.te-t.big{font:600 20px/1.35 var(--display);letter-spacing:-.01em}
.te-t a{color:var(--ap-ink);font-weight:700;text-decoration:underline;text-decoration-color:var(--ap-line);text-underline-offset:3px}
.te-ph{position:relative;border-radius:22px;overflow:hidden;background:var(--ap-chip);cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}
.te-ph img{display:block;width:100%;aspect-ratio:4/5;max-height:560px;object-fit:cover}
.te-car{display:flex;gap:6px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;background:none;border-radius:22px}
.te-car::-webkit-scrollbar{display:none}
.te-car img{flex:0 0 86%;border-radius:22px;scroll-snap-align:start}
.te-n{position:absolute;top:12px;left:12px;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.5);color:#fff;font:600 11.5px/1 var(--ui);pointer-events:none}
.te .ig-burst{z-index:2}
.te-f{display:flex;align-items:center;gap:8px;min-width:0}
.sx-te{margin-left:-8px}
.sx-te .sx-b{color:var(--ap-ink)}
.sx-te .sx-b span:empty{display:none}
.te-c{margin-left:auto;height:38px;padding:0 16px;border:0;border-radius:999px;background:var(--ap-chip);color:var(--ap-ink);font:500 13px/1 var(--ui);cursor:pointer;white-space:nowrap}
.te-s{margin-left:auto;padding:6px 10px;border-radius:8px;background:var(--ap-chip);color:var(--ap-mute);font:700 10.5px/1 var(--ui);letter-spacing:.06em;text-transform:uppercase}
.te .tz-pop{top:62px;bottom:auto;right:12px}
/* the side column's ranked list */
.te-tr{list-style:none;display:grid;gap:2px}
.te-tr a{display:flex;align-items:center;gap:12px;padding:6px 0;color:var(--ap-ink)}
.te-tr .n{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:var(--ap-chip);font:700 12px/1 var(--ui);color:var(--ap-mute)}
.te-tr li:nth-child(-n+3) .n{background:var(--ap-ink);color:var(--ap-bg)}
.te-tr a>span:last-child{display:grid;gap:2px;min-width:0}
.te-tr b{font:600 13.5px/1.2 var(--display)}
.te-tr small{font-size:12px;color:var(--ap-mute)}
.te-none{font-size:13px;color:var(--ap-mute)}
.te-page .fs-join .btn{background:var(--ap-ink);color:var(--ap-bg);border-color:var(--ap-ink)}
/* computers: posts in columns of different heights, like a board */
@media (min-width:900px){
  .tes{display:block;columns:2;column-gap:16px}
  .tes>*{break-inside:avoid;margin-bottom:16px}
  .tes>.adc{min-height:240px}
}
@media (min-width:1560px){.tes{columns:3}}
.sq-tx{font:800 30px/1 var(--display);color:var(--ap-mute)}
.te-t.mid{font:600 17px/1.45 var(--display)}

/* ===================== Tea posts as Home's photo cards ===================== */
.te-fc .fc-m{position:relative}
.te-cap{font:600 16px/1.42 var(--display);color:#fff;margin-bottom:12px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 12px rgba(0,0,0,.45);overflow-wrap:anywhere}
.te-cap a{color:#fff;font-weight:800}
.te-car{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.te-car::-webkit-scrollbar{display:none}
.te-car img{flex:0 0 100%;width:100%;height:100%;object-fit:cover;scroll-snap-align:start}
.te-n{position:absolute;z-index:3;top:70px;right:14px;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font:600 11.5px/1 var(--ui);pointer-events:none}
/* a post without a photo (older ones): the words fill the card */
.te-blank{display:grid;align-items:center;padding:84px 24px 96px;background:radial-gradient(circle at 30% 20%,#3a3d45,#16171a 70%)}
.te-blank span{font:700 clamp(20px,5.6vw,26px)/1.3 var(--display);color:#fff;letter-spacing:-.01em;overflow-wrap:anywhere}
.te-blank a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4)}
.te-nopic .fc-m::after{background:linear-gradient(180deg,rgba(0,0,0,.25) 0,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 70%,rgba(0,0,0,.5) 100%)}
.te-fc .te-s{padding:6px 9px;border-radius:8px;background:rgba(255,255,255,.18);color:#fff;font:700 10px/1 var(--ui);letter-spacing:.06em;text-transform:uppercase}
.te-fc .tz-pop{top:70px;bottom:auto;right:12px}
.te-fc .sx-fc .sx-b span:empty{display:none}
.tes{display:grid;gap:16px}
@media (max-width:700px){.tes{gap:24px}}
@media (min-width:900px){.tes{display:grid;columns:auto;grid-template-columns:repeat(2,minmax(0,1fr))}.tes>*{margin-bottom:0}}
@media (min-width:1560px){.tes{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ===================== the side column on computers: fewer things, each in its own card, room between ===================== */
@media (min-width:1160px){
  .fd-side{gap:16px;padding-top:2px}
  .fd-side .fs-me{padding:14px 16px;border-radius:22px;background:var(--ap-card)}
  .fd-side .fs-sec{gap:14px;padding:18px;border-radius:22px;background:var(--ap-card)}
  .fd-side .fs-sec header b{font:700 14px/1.2 var(--display);color:var(--ap-ink)}
  .fd-side .fs-sec header a{color:var(--ap-mute);font-weight:600}
  .fd-side .fs-row{gap:12px}
  .fd-side .fs-row b{font-size:13.5px;line-height:1.3}
  .fd-side .fs-row small{margin-top:2px}
  .fd-side .fs-row img,.fd-side .fs-live{width:46px;height:46px;border-radius:14px}
  .fd-side .fs-tags{gap:8px}
  .fd-side .fs-tags a{height:32px;padding:0 12px;background:var(--ap-chip)}
  .fd-side .fs-join{padding:18px;border-radius:22px}
  .fd-side .fs-foot{padding:4px 6px 0}
}

/* ===================== one look: top bars, detail pages, the story page, Home without a side column, fewer colours ===================== */
/* the default top bar: menu, wordmark, search and the bell */
.ap-top{grid-template-columns:96px 1fr 96px}
.ap-top>.ap-ib:first-child{justify-self:start}
.ap-tr{justify-self:end;display:flex;gap:8px}
/* a detail page's bar: back, title, one action; on computers too */
.dt-top{display:grid!important;grid-template-columns:44px 1fr 44px;gap:10px;width:min(100%,900px)}
.dt-t{text-align:center;font:600 15px/1.2 var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dt-top .ap-ib svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:701px){body.dt .dt-top{position:sticky;top:0;margin:0 auto;padding:16px 20px 8px;background:color-mix(in srgb,var(--ap-bg) 92%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}}
body.dt .ap-main{padding-bottom:40px}

/* the story page */
.ap-story .ap-main{width:min(100%,760px);padding-top:4px}
.sd{display:grid;gap:0}
.sd-hero{margin:0 -16px;position:relative}
.sd-hero .ph{border-radius:0;margin:0;aspect-ratio:4/3;box-shadow:none}
.sd-hero img{width:100%;height:100%;object-fit:cover}
.sd-hero figcaption{position:absolute;right:12px;bottom:44px;padding:4px 8px;border-radius:6px;background:rgba(0,0,0,.45);color:#fff;font:500 10.5px/1.3 var(--ui)}
.sd-sheet{position:relative;z-index:2;margin:-30px -16px 0;padding:22px 20px 10px;border-radius:30px 30px 0 0;background:var(--ap-bg);display:grid;gap:14px;min-width:0}
.sd-sheet>*{min-width:0}
.sd-plain{margin-top:8px;border-radius:0;padding-top:12px}
.sd-k{justify-self:start;display:inline-flex;align-items:center;height:30px;padding:0 13px;border-radius:999px;background:var(--ap-chip);color:var(--ap-ink);font:600 12px/1 var(--ui)}
.sd h1{font:700 clamp(26px,7vw,40px)/1.12 var(--display);letter-spacing:-.02em;overflow-wrap:break-word}
.sd h1 em,.sd h1 i{font-style:italic;font-weight:600}
.sd-dek{font:400 17px/1.5 var(--ui);color:var(--ap-ink2)}
.sd-by{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--ap-line);border-bottom:1px solid var(--ap-line)}
.sd-by>span:not(.ap-av){flex:1;min-width:0;display:grid;gap:2px}
.sd-by b{display:flex;align-items:center;gap:4px;font:600 14.5px/1.2 var(--display)}
.sd-by small{font-size:12.5px;color:var(--ap-mute)}
.fol-ink{background:var(--ap-ink);color:var(--ap-bg)}
.fol-ink[aria-pressed=true]{background:var(--ap-chip);color:var(--ap-ink)}
.sx-sd{margin:-4px 0 0 -8px}
.sx-sd .sx-b{color:var(--ap-ink)}
.sd-body{font:400 17.5px/1.75 var(--ui);color:var(--ap-ink);overflow-wrap:break-word}
.sd-body>*+*{margin-top:1.1em}
.sd-body h2,.sd-body h3{font:700 22px/1.3 var(--display);letter-spacing:-.01em;margin-top:1.6em}
.sd-body a{color:var(--ap-ink);text-decoration:underline;text-underline-offset:3px}
.sd-body blockquote{padding:4px 0 4px 18px;border-left:3px solid var(--ap-ink);font:500 19px/1.5 var(--display);color:var(--ap-ink)}
.sd-body img{max-width:100%;height:auto;border-radius:18px}
.sd-body figure{margin-inline:0}
.sd-body figcaption{font-size:13px;color:var(--ap-mute);margin-top:6px}
.sd-body ul,.sd-body ol{padding-left:1.3em}
.sd-body table{display:block;max-width:100%;overflow-x:auto}
.sd-body pre{max-width:100%;overflow-x:auto}
.sd-cm{margin-top:10px;padding-top:18px;border-top:1px solid var(--ap-line);--paper:var(--ap-card);--ink:var(--ap-ink);--ink2:var(--ap-ink2);--rule:var(--ap-line);--mute:var(--ap-mute)}
.sd-cm h2{font:700 20px/1.2 var(--display);margin-bottom:12px}
.sd .sp-sec{margin-top:18px}
@media (min-width:701px){
  .ap-story .ap-main{padding-top:0}
  .sd-hero{margin:8px 0 0}
  .sd-hero .ph{border-radius:28px;aspect-ratio:16/9}
  .sd-hero figcaption{bottom:12px}
  .sd-sheet{margin:0;padding:26px 0 10px;border-radius:0}
  .ap-topic .ap-main,.ap-story .ap-main{padding-top:0}
}

/* Home on computers: no side column; the feed takes the whole middle */
@media (min-width:1160px){
  .ap-home:not(.ap-tea) .fd{display:block}
  .ap-home:not(.ap-tea) .ap-main{width:min(100%,1320px)}
  .ap-home:not(.ap-tea) .fcs{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (min-width:1700px){.ap-home:not(.ap-tea) .fcs{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* fewer colours: one ink, the card colours, and red only for LIVE */
.sq-r,.sq-tea .sq-r,.sq-tag .sq-r{background:var(--ap-line)}
.sq-live .sq-r{background:#ff3b30}
.sq-add i{background:var(--ap-ink);color:var(--ap-bg)}
.fol-s{background:#fff;color:#111}
.fc-k{background:rgba(255,255,255,.18);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.lv-k{background:rgba(255,255,255,.18)}
.lv-live{background:#ff3b30}
.tc-k{color:var(--ap-mute)}
.tags b{background:var(--ap-ink);color:var(--ap-bg)}
.hm-tea{background:var(--ap-card)}
.hd-f svg{stroke:var(--ap-mute)}
.adc,.adc.tone-sky,.adc.tone-ink,.adc.tone-red,.adc.tone-green{background:var(--ap-card);color:var(--ap-ink)}
.adc-art{background:var(--ap-chip)}
.adc-art svg{stroke:var(--ap-ink2)}
.adc-l{background:var(--ap-chip);color:var(--ap-mute)}
.adc-b{background:var(--ap-ink);color:var(--ap-bg)}
.rl-ad .rl-adbg,.rl-ad.tone-sky .rl-adbg,.rl-ad.tone-ink .rl-adbg,.rl-ad.tone-red .rl-adbg,.rl-ad.tone-green .rl-adbg{background:radial-gradient(circle at 70% 25%,#3a3d45,#16171a 55%,#060607 100%)}
.rr-fol{background:#fff;color:#111}
.rr-fol[aria-pressed=true]{background:#fff;color:#111}
.spd-loc svg{stroke:var(--ap-ink)}
.nt-i.tea,.nt-i.ok,.nt-i.love,.nt-i.bad{background:var(--ap-ink);color:var(--ap-bg)}
.cp-tops button[aria-pressed=true]{background:var(--ap-ink);border-color:var(--ap-ink);color:var(--ap-bg)}
.cp-rules{background:var(--ap-chip)}
.te-blank{background:radial-gradient(circle at 30% 20%,#34363c,#151619 70%)}
.cr-menu button{display:flex!important;align-items:center;gap:14px}
.cr-i{flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--ap-chip);color:var(--ap-ink)}
.cr-i svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cr-menu button>span:last-child{display:grid;gap:3px}
.cr-off{opacity:.6}

/* iPhones zoom the page into any text box smaller than 16px, which pushes everything off the screen: phones get 16px boxes */
@media (max-width:700px){input,textarea,select{font-size:16px!important}}
.sd-by>.ap-av{flex:0 0 40px;width:40px;height:40px}
.sd-by>span.ap-av+span{flex:1}
.sx-reel .rr-fol,.sx-reel .rr-fol[aria-pressed=true]{background:#fff;color:#111}
.rl-page .rl-ad .rl-adbg{background:radial-gradient(circle at 70% 25%,#3a3d45,#16171a 55%,#060607 100%)}

/* the menu's profile row */
.mn-me{display:flex;align-items:center;gap:14px;padding:14px;border-radius:20px;background:var(--ap-chip);color:var(--ap-ink)}
.mn-me .ap-av{width:48px;height:48px;background:var(--ap-ink);color:var(--ap-bg);font-size:16px}
.mn-me .ap-av svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8}
.mn-me>span:nth-child(2){flex:1;min-width:0;display:grid;gap:3px}
.mn-me b{font:600 16px/1.2 var(--display)}
.mn-me>span:nth-child(2)>span{font-size:13px;color:var(--ap-mute)}
.mn-me>svg{flex:none;width:18px;height:18px;stroke:var(--ap-mute);fill:none;stroke-width:2.2}
.ap-sheet :focus{outline:none}
.ap-sheet :focus-visible{outline:2px solid var(--ap-ink);outline-offset:2px}

/* ===================== rows that scroll sideways start inside the page, not under its left edge ===================== */
/* a snapping row lines its first item up with the scroll box's edge unless it is told about the padding; phones then
   showed the first story tile and card cut off on the left */
.sqs,.lvs,.sp-cats,.sp-row,.tph-o,.tea-sort,.apc,.ex-secs,.rl-chips{scroll-padding-inline:16px}
@media (max-width:400px){.sqs,.lvs,.sp-cats,.sp-row,.tph-o,.tea-sort,.apc{scroll-padding-inline:14px}}
.sp-deck{scroll-padding-inline:11%}

/* ===================== a profile, the way the reference shows one ===================== */
.ap-pf .ap-main{width:min(100%,760px);padding:0}
.pf-hero{position:relative;height:min(72vh,620px);min-height:420px;overflow:hidden;background:#111}
.pf-cv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pf-blank{display:grid;place-items:center;background:radial-gradient(circle at 50% 30%,#3a3d45,#121315 70%)}
.pf-blank span{font:700 96px/1 var(--display);color:rgba(255,255,255,.85);letter-spacing:-.02em}
.pf-hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.35) 0,rgba(0,0,0,0) 22%,rgba(0,0,0,0) 45%,color-mix(in srgb,var(--ap-bg) 70%,transparent) 82%,var(--ap-bg) 100%)}
.pf-ib{position:absolute;z-index:3;top:calc(14px + env(safe-area-inset-top));width:42px;height:42px;border-radius:50%;border:0;display:grid;place-items:center;background:rgba(0,0,0,.32);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#fff;cursor:pointer}
.pf-ib svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.pf-more svg{fill:currentColor;stroke:none}
.pf-x{left:14px}.pf-more{right:14px}
.pf-id{position:absolute;z-index:2;left:20px;right:20px;bottom:18px;text-align:center;display:grid;justify-items:center;gap:4px}
.pf-av{width:66px;height:66px;border-radius:50%;overflow:hidden;border:3px solid var(--ap-bg);margin-bottom:6px}
.pf-av img{width:100%;height:100%;object-fit:cover}
.pf-id h1{display:flex;align-items:center;gap:8px;font:600 clamp(30px,8.5vw,42px)/1.05 var(--display);letter-spacing:-.02em;color:var(--ap-ink);text-shadow:0 2px 20px rgba(0,0,0,.25)}
.pf-id h1 .vf{width:22px;height:22px}
.pf-id p{font:500 15px/1.3 var(--ui);color:var(--ap-mute)}
.pf-sheet{position:relative;z-index:2;padding:6px 20px 30px;display:grid;gap:18px}
.pf-acts{display:flex;gap:10px}
.pf-follow{flex:1;height:56px;border-radius:999px;border:0;display:grid;place-items:center;background:var(--ap-ink);color:var(--ap-bg);font:600 16px/1 var(--ui);cursor:pointer}
.pf-follow[aria-pressed=true]{background:var(--ap-chip);color:var(--ap-ink)}
.pf-ic{flex:none;width:56px;height:56px;border-radius:50%;border:1px solid var(--ap-line);display:grid;place-items:center;background:var(--ap-card);color:var(--ap-ink);cursor:pointer}
.pf-ic svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.pf-stats{display:grid;grid-template-columns:repeat(3,1fr);text-align:center}
.pf-stats b{display:block;font:600 26px/1.1 var(--display);letter-spacing:-.01em}
.pf-stats span{font-size:13.5px;color:var(--ap-mute)}
.pf-bio{display:grid;gap:6px;padding:14px 16px;border-radius:18px;border:1px solid var(--ap-line);background:color-mix(in srgb,var(--ap-card) 70%,transparent);font-size:14.5px;line-height:1.5;color:var(--ap-ink)}
.pf-bio p{white-space:pre-line}
.pf-bio a{color:var(--ap-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.pf-empty{color:var(--ap-mute)}
.pf-tabs{margin:0 -20px;padding:0 20px}
.pf-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.pg-c{position:relative;display:block;aspect-ratio:4/5;border-radius:22px;overflow:hidden;background:var(--ap-card);color:#fff}
.pg-c img,.pg-c video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s var(--ease)}
.pg-c:hover img{transform:scale(1.04)}
.pg-c::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(0,0,0,.7));pointer-events:none}
.pg-t{background:radial-gradient(circle at 30% 20%,#34363c,#151619 70%)}
.pg-tx{position:absolute;inset:16px 14px 44px;font:600 15px/1.4 var(--display);overflow:hidden;display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical}
.pg-ic{position:absolute;z-index:2;top:10px;right:10px}
.pg-ic svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2;filter:drop-shadow(0 1px 3px rgba(0,0,0,.5))}
.pg-b{position:absolute;z-index:2;left:12px;right:12px;bottom:10px;display:flex;justify-content:space-between;align-items:center;gap:6px;font:600 11.5px/1 var(--ui)}
.pg-b small{opacity:.85;font-weight:500}
.pg-b span{display:inline-flex;align-items:center;gap:4px}
.pg-b svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2}
.pg-c[hidden]{display:none}
@media (min-width:701px){
  .ap-pf .ap-main{padding:24px 0 60px}
  .pf-hero{border-radius:32px;height:min(64vh,560px)}
  .pf-sheet{padding-inline:4px}
  .pf-tabs{margin:0;padding:0}
  .pf-grid{grid-template-columns:repeat(3,1fr);gap:12px}
}

/* ===================== one post, Instagram-style ===================== */
.ap-pv .ap-main{width:min(100%,620px)}
.pv{display:grid;gap:12px;padding-bottom:20px}
.pv-h{display:flex;align-items:center;gap:10px}
.pv-who{flex:1;min-width:0;display:flex;align-items:center;gap:10px;color:var(--ap-ink)}
.pv-who>span:last-child{display:grid;gap:2px;min-width:0}
.pv-who b{display:flex;align-items:center;gap:4px;font:600 15px/1.2 var(--display)}
.pv-who small{font-size:12.5px;color:var(--ap-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pv .ap-av{width:42px;height:42px}
.pv-fol{height:36px;padding:0 16px;border-radius:999px;border:0;background:var(--ap-ink);color:var(--ap-bg);font:600 13px/1 var(--ui);cursor:pointer}
.pv-fol[aria-pressed=true]{background:var(--ap-chip);color:var(--ap-ink)}
.pv-own{width:40px;height:40px;border-radius:50%;border:0;display:grid;place-items:center;background:var(--ap-chip);color:var(--ap-ink);cursor:pointer}
.pv-own svg{width:18px;height:18px}
.pv-m{position:relative;margin:0 -16px;overflow:hidden;background:#111;aspect-ratio:4/5;user-select:none;-webkit-user-select:none}
.pv-square{aspect-ratio:1}.pv-landscape{aspect-ratio:16/10}
.pv-m>img,.pv-m>video,.pv-car img{width:100%;height:100%;object-fit:cover;display:block}
.pv-car{display:flex;height:100%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none}
.pv-car::-webkit-scrollbar{display:none}
.pv-car img{flex:0 0 100%;scroll-snap-align:start}
.pv-n{position:absolute;top:12px;right:12px;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.5);color:#fff;font:600 12px/1 var(--ui)}
.pv-blank{height:100%;display:grid;align-items:center;padding:30px 26px;background:radial-gradient(circle at 30% 20%,#34363c,#151619 70%)}
.pv-blank p{font:700 clamp(21px,6vw,28px)/1.3 var(--display);color:#fff}
.pv-blank a{color:#fff;text-decoration:underline}
.pv .ig-burst{z-index:2}
.pv-bar{display:flex;align-items:center}
.sx-pv{flex:1;margin-left:-8px}
.sx-pv .sx-b,.pv-save{color:var(--ap-ink)}
.sx-pv .sx-b svg,.pv-save svg{width:26px;height:26px}
.pv-save{border:0;background:none;padding:6px;cursor:pointer}
.pv-save svg{stroke:currentColor;fill:none;stroke-width:1.8}
.pv-save[aria-pressed=true] svg{fill:currentColor}
.pv-t{font-size:15.5px;line-height:1.55;color:var(--ap-ink);overflow-wrap:anywhere}
.pv-t a{color:var(--ap-ink);font-weight:700}
.pv-meta{font-size:12.5px;color:var(--ap-mute)}
.pv-meta a{color:var(--ap-ink2);font-weight:600}
.pv-off{padding:14px;border-radius:16px;background:var(--ap-chip);color:var(--ap-mute);font-size:13.5px}
@media (min-width:701px){.pv-m{margin:0;border-radius:24px}}

/* ===================== the creator panel ===================== */
.ap-cr .ap-main,.ap-st .ap-main{width:min(100%,980px)}
.cr{display:grid;gap:18px}
.cr-h{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;flex-wrap:wrap}
.cr-h h1{font:700 30px/1.1 var(--display);letter-spacing:-.02em;margin-top:8px}
.cr-days{margin:0;padding:0}
.cr-load{padding:40px 0;text-align:center;color:var(--ap-mute)}
[data-cr-body]{display:grid;gap:18px}
[data-cr-body][hidden]{display:none}
.cr-kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.cr-kpi div{padding:16px;border-radius:20px;background:var(--ap-card);display:grid;gap:4px}
.cr-kpi b{font:700 26px/1 var(--display)}
.cr-kpi span{font-size:12.5px;color:var(--ap-mute)}
.cr-grid{display:grid;grid-template-columns:1fr;gap:12px}
.cr-box{padding:18px;border-radius:22px;background:var(--ap-card);display:grid;gap:12px;min-width:0}
.cr-box h2{font:700 15px/1.2 var(--display)}
.cr-bars{list-style:none;display:grid;gap:9px}
.cr-bars li{display:grid;grid-template-columns:minmax(0,1fr) 2fr auto;align-items:center;gap:10px;font-size:13px}
.cr-bars li span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:capitalize}
.cr-bars i{height:8px;border-radius:8px;background:var(--ap-chip);position:relative;overflow:hidden}
.cr-bars i::after{content:"";position:absolute;inset:0;width:var(--w);border-radius:8px;background:var(--ap-ink)}
.cr-bars b{font-weight:700;min-width:28px;text-align:right}
.cr-none{font-size:13px;color:var(--ap-mute)}
.cr-t{width:100%;border-collapse:collapse;font-size:13.5px}
.cr-t th{text-align:left;font:600 11.5px/1 var(--ui);letter-spacing:.06em;text-transform:uppercase;color:var(--ap-mute);padding:0 6px 10px}
.cr-t th:not(:first-child),.cr-t td:not(:first-child){text-align:right;width:70px}
.cr-t td{padding:10px 6px;border-top:1px solid var(--ap-line);font-weight:600}
.cr-t td a{display:flex;align-items:center;gap:10px;color:var(--ap-ink);font-weight:400;min-width:0}
.cr-t td img{flex:none;width:42px;height:52px;border-radius:10px;object-fit:cover}
.cr-t td span{display:grid;gap:2px;min-width:0}
.cr-t td b{font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cr-t td small{font-size:12px;color:var(--ap-mute);text-transform:capitalize}
.cr-note{font-size:12.5px;color:var(--ap-mute)}
@media (min-width:701px){.cr-kpi{grid-template-columns:repeat(6,1fr)}.cr-grid{grid-template-columns:1fr 1fr}}

/* ===================== settings ===================== */
.st{display:grid;gap:16px}
[data-st-body]{display:grid;gap:16px}
[data-st-body][hidden]{display:none}
.st-f{display:grid;gap:14px}
.st-f label{display:grid;gap:6px;font:500 13px/1.2 var(--ui);color:var(--ap-ink2)}
.st-f small{font-weight:400;color:var(--ap-mute)}
.st-f input,.st-f textarea{border-radius:14px;border:1px solid var(--ap-line);background:var(--ap-card);color:var(--ap-ink);padding:12px 14px;font:400 15px/1.4 var(--ui);resize:vertical;min-width:0}
.st-h{display:flex;align-items:center;border-radius:14px;border:1px solid var(--ap-line);background:var(--ap-card);padding-left:14px}
.st-h i{font-style:normal;color:var(--ap-mute)}
.st-h input{flex:1;border:0;background:none;padding-left:4px}
.st-cover{height:150px;border-radius:24px;background:var(--ap-chip) center/cover no-repeat;display:grid;place-items:end start;padding:12px;cursor:pointer}
.st-cover span{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;background:rgba(0,0,0,.5);color:#fff;font:600 12.5px/1 var(--ui)}
.st-cover svg,.st-av i svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.9}
.st-avrow{display:flex;align-items:center;gap:14px;margin-top:-44px;padding:0 10px}
.st-avrow>div{flex:1;display:grid;gap:2px;padding-top:30px}
.st-avrow b{font:600 16px/1.2 var(--display)}
.st-avrow small{color:var(--ap-mute)}
.st-avrow .pill-a{margin-top:30px}
.st-av{position:relative;width:88px;height:88px;border-radius:50%;border:4px solid var(--ap-bg);background:var(--ap-ink);color:var(--ap-bg);display:grid;place-items:center;font:700 28px/1 var(--display);cursor:pointer;padding:0;overflow:visible}
.st-av img{width:100%;height:100%;border-radius:50%;object-fit:cover}
.st-av i{position:absolute;right:-2px;bottom:-2px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--ap-card);color:var(--ap-ink);border:2px solid var(--ap-bg)}
.st-box{padding:18px;border-radius:22px;background:var(--ap-card);display:grid;gap:10px}
.st-box h2{font:700 17px/1.2 var(--display)}
.st-box p{font-size:14px;line-height:1.5;color:var(--ap-ink2)}
.st-box .ap-menu a,.st-box .ap-menu button{padding:12px 4px}
.st-box.st-f input{background:var(--ap-bg)}

/* the account page's links, a card's way into its post */
.me-links{display:grid;gap:10px;margin-bottom:10px}
.me-links .me-a>svg,.me-acts .me-a>svg{flex:none}
.te-open{flex:none;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);color:#fff;margin-left:4px}
.te-open svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:2.4}
.fc-who b a{color:#fff}

/* ads: a sponsor's photo ad, and the AdSense slot */
.adc-pic{min-height:360px;color:#fff;background:#111}
.adc-pic .adc-img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover}
.adc-pic::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.25) 0,rgba(0,0,0,0) 35%,rgba(0,0,0,.82) 100%)}
.adc-pic .adc-l{background:rgba(0,0,0,.45);color:#fff}
.adc-pic .adc-b{background:#fff;color:#111}
.adc-gs{min-height:0;display:block;padding:40px 12px 12px}
.adc-gs ins{min-height:250px}

/* replies, comment actions, blocking */
.cm-a{display:flex;gap:14px;margin-top:4px}
.cm-a:empty{display:none}
.cm-a button{border:0;background:none;padding:0;color:var(--mute,#8e8e88);font:600 12.5px/1 var(--ui);cursor:pointer}
.cm-a button:hover{color:var(--ink,#f3f3f1);text-decoration:underline}
.cm-rl{list-style:none;display:grid;gap:12px;margin:10px 0 0;padding-left:4px;border-left:2px solid var(--rule,rgba(127,127,127,.25))}
.cm-rl:empty{display:none}
.cm-rl>li{padding-left:10px}
.cm-h b a{color:inherit;text-decoration:none}.cm-h b a:hover{text-decoration:underline}
.cm-re{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border-radius:12px;background:var(--ap-chip,rgba(127,127,127,.15));font:500 12.5px/1.2 var(--ui)}
.cm-re[hidden]{display:none}
.cm-re button{border:0;background:none;color:inherit;font:600 12.5px/1 var(--ui);text-decoration:underline;cursor:pointer}
.pf-blk{flex:1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border-radius:18px;background:var(--ap-chip);font-size:14px}
.pf-blk button{border:0;background:var(--ap-ink);color:var(--ap-bg);border-radius:999px;height:36px;padding:0 14px;font:600 13px/1 var(--ui);cursor:pointer}
.st-bl{list-style:none;display:grid;gap:8px}
.st-bl li{display:flex;align-items:center;gap:10px}
.st-bl a{flex:1;min-width:0;display:flex;align-items:center;gap:10px;color:var(--ap-ink)}
.st-bl a>span:last-child{display:grid;min-width:0}
.st-bl small{color:var(--ap-mute)}
[data-uid][hidden]{display:none!important}
.cm-like{display:inline-flex;align-items:center;gap:3px}
.cm-like[aria-pressed=true]{color:#ff2d55!important}

/* ===================== messages ===================== */
.ap-dm .ap-main,.ap-ch .ap-main{width:min(100%,680px)}
.dm-l{list-style:none;display:grid;gap:2px}
.dm-l a{display:flex;align-items:center;gap:12px;padding:12px 8px;margin:0 -8px;border-radius:16px;color:var(--ap-ink)}
.dm-l a:hover{background:var(--ap-card)}
.dm-l .ap-av{width:52px;height:52px;font-size:17px}
.dm-b{flex:1;min-width:0;display:grid;gap:3px}
.dm-b b{font:600 15px/1.2 var(--display)}
.dm-b small{font-size:13px;color:var(--ap-mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dm-l time{font-size:12px;color:var(--ap-mute)}
.dm-l li.new b,.dm-l li.new small{color:var(--ap-ink);font-weight:700}
.dm-l li.new time::after{content:"";display:inline-block;width:8px;height:8px;margin-left:6px;border-radius:50%;background:var(--ap-ink)}
.dm-empty{padding:40px 10px;text-align:center;color:var(--ap-mute);display:grid;gap:8px;justify-items:center}
.ch{display:flex;flex-direction:column;min-height:calc(100dvh - 80px)}
.ch-msgs{flex:1;display:flex;flex-direction:column;gap:6px;padding:8px 0 90px}
.ch-who{align-self:center;display:grid;justify-items:center;gap:4px;margin:10px 0 18px;color:var(--ap-ink);text-align:center}
.ch-who .ap-av{width:76px;height:76px;font-size:24px;margin-bottom:6px}
.ch-who b{font:600 17px/1.2 var(--display)}
.ch-who small{color:var(--ap-mute)}
.ch-hint{align-self:center;font-size:13px;color:var(--ap-mute);margin:6px 0}
.ch-m{max-width:78%;align-self:flex-start;display:grid;gap:3px}
.ch-m p{padding:10px 14px;border-radius:20px 20px 20px 6px;background:var(--ap-card);font-size:15px;line-height:1.45;overflow-wrap:anywhere}
.ch-m time{font-size:10.5px;color:var(--ap-mute);padding:0 6px}
.ch-m.mine{align-self:flex-end;justify-items:end}
.ch-m.mine p{border-radius:20px 20px 6px 20px;background:var(--ap-ink);color:var(--ap-bg)}
.ch-f{position:fixed;z-index:40;left:0;right:0;bottom:0;display:flex;align-items:flex-end;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--ap-bg) 94%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-top:1px solid var(--ap-line)}
.ch-f[hidden]{display:none}
.ch-f textarea{flex:1;min-height:46px;max-height:140px;border-radius:24px;border:1px solid var(--ap-line);background:var(--ap-card);color:var(--ap-ink);padding:12px 16px;font:400 16px/1.35 var(--ui);resize:none}
.ch-f button{flex:none;width:46px;height:46px;border-radius:50%;border:0;display:grid;place-items:center;background:var(--ap-ink);color:var(--ap-bg);cursor:pointer}
.ch-f button svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2}
@media (min-width:701px){.ch-f{left:var(--side);width:auto;justify-content:center}.ch-f textarea{max-width:620px}}
.me-forgot{justify-self:center;border:0;background:none;color:var(--ap-mute);font:500 13.5px/1 var(--ui);text-decoration:underline;cursor:pointer;padding:8px}
.me-verify button{border:0;background:none;padding:0;color:inherit;font:600 13.5px/1 var(--ui);text-decoration:underline;cursor:pointer}

/* ---------- the banner over the feed, the ad close button, and the post header the live page uses ---------- */
.fbp-h{display:flex;align-items:center;gap:10px;padding:14px 14px 8px}
.fbp-h>span:nth-child(2){flex:1;min-width:0;display:grid;gap:3px}
.fbp-h b{font:650 14.5px/1.2 var(--ui);color:var(--ap-ink);display:flex;align-items:center;gap:4px}
.fbp-h small{font:500 12px/1.3 var(--ui);color:var(--ap-mute)}
.fbp-tx{margin:0;padding:0 14px 12px;font:450 15.5px/1.45 var(--ui);color:var(--ap-ink);overflow-wrap:anywhere}
.sx-fb{display:flex;justify-content:space-around;margin:0 10px;padding:4px 0;border-top:1px solid var(--ap-line);color:var(--ap-ink)}
.sx-fb .sx-b{flex:1;justify-content:center;height:42px;border-radius:10px;color:var(--ap-ink)}
.sx-fb .sx-b span:empty{display:none}
.spp-x{width:32px;height:32px;border:0;border-radius:50%;background:none;color:var(--ap-mute);font:400 22px/1 var(--ui);cursor:pointer}
/* the banner over the feed */
.adtop{position:relative;margin:0 0 16px;border-radius:20px;background:var(--ap-card);overflow:hidden}
.adtop a{display:flex;align-items:center;gap:12px;padding:10px 46px 10px 10px;color:var(--ap-ink)}
.adtop img{flex:none;width:64px;height:64px;border-radius:14px;object-fit:cover}
.adtop a>span{flex:1;min-width:0;display:grid;gap:4px}
.adtop small{font:600 11px/1 var(--ui);color:var(--ap-mute);text-transform:uppercase;letter-spacing:.05em}
.adtop b{font:650 14.5px/1.25 var(--ui);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.adtop i{flex:none;font-style:normal;height:34px;display:grid;place-items:center;padding:0 14px;border-radius:999px;background:var(--ap-ink);color:var(--ap-bg);font:600 12.5px/1 var(--ui)}
.adtop .spp-x{position:absolute;right:6px;top:6px}
.sd-sheet>.adtop{margin:18px 0}
@media (max-width:420px){.adtop i{display:none}}
.sq-lv{position:absolute;left:50%;bottom:-6px;transform:translateX(-50%);font:700 10px/1 var(--ui);font-style:normal;padding:3px 6px;border-radius:5px;background:#f02849;color:#fff;letter-spacing:.04em}

/* ---------- Live: going live and watching ---------- */
.lvx{max-width:720px;margin:0 auto;display:grid;gap:12px;padding-bottom:24px}
.lvx-stage{position:relative;aspect-ratio:9/14;max-height:72vh;width:100%;border-radius:24px;overflow:hidden;background:#000}
.lvx-w .lvx-stage{aspect-ratio:16/10}
@media (max-width:560px){.lvx-w .lvx-stage{aspect-ratio:3/4}}
.lvx-stage video{width:100%;height:100%;object-fit:cover;background:#000}
.lvx-mirror{transform:scaleX(-1)}
.lvx-over{position:absolute;inset:0;display:grid;place-items:center;padding:24px;text-align:center;color:#fff;font:600 15px/1.4 var(--ui);background:rgba(0,0,0,.45)}
.lvx-over[hidden]{display:none}
.lvx-badge{position:absolute;left:12px;top:12px;display:inline-flex;align-items:center;gap:6px;padding:5px 10px 5px 5px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font:600 12.5px/1 var(--ui);backdrop-filter:blur(8px)}
.lvx-badge i{font-style:normal;padding:4px 7px;border-radius:999px;background:#f02849;font-weight:700;letter-spacing:.04em}
.lvx-badge svg{width:15px;height:15px;stroke:#fff;fill:none;stroke-width:2}
.lvx-time{position:absolute;right:12px;top:12px;padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.55);color:#fff;font:600 12.5px/1 var(--ui);font-variant-numeric:tabular-nums}
.lvx-snd{position:absolute;right:12px;bottom:12px;height:34px;padding:0 14px;border:0;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font:600 12.5px/1 var(--ui);cursor:pointer}
.lvx-f{display:grid;gap:12px;padding:16px;border-radius:24px;background:var(--ap-card)}
.lvx-f label{display:grid;gap:6px;font:600 13px/1.2 var(--ui);color:var(--ap-ink)}
.lvx-f input[type=text],.lvx-f input:not([type]),.lvx-f input[name=text],.lvx-f input[name=area]{height:46px;padding:0 14px;border:1px solid var(--ap-line);border-radius:14px;background:var(--ap-bg);color:var(--ap-ink);font:500 16px/1 var(--ui)}
.lvx-row{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.lvx-go,.lvx-end{display:inline-flex;align-items:center;gap:8px;background:#f02849!important;color:#fff!important;border-color:#f02849!important}
.lvx-go svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2}
.lvx-go:disabled{opacity:.5}
.lvx-on{display:grid;gap:12px}
.lvx-on[hidden],.lvx-f[hidden]{display:none}
.lvx-box{display:grid;gap:8px;padding:12px;border-radius:22px;background:var(--ap-card)}
.lvx-chat{list-style:none;margin:0;padding:4px 2px;max-height:260px;overflow-y:auto;display:grid;gap:7px;align-content:start;font:450 14px/1.4 var(--ui);color:var(--ap-ink)}
.lvx-on .lvx-chat{padding:12px;border-radius:20px;background:var(--ap-card);min-height:120px}
.lvx-chat b{font-weight:650}
.lvx-chat .sys{color:var(--ap-mute);font-size:13px}
.lvx-say{display:flex;gap:8px}
.lvx-say input{flex:1;min-width:0;height:44px;padding:0 16px;border:0;border-radius:999px;background:var(--ap-chip);color:var(--ap-ink);font:500 16px/1 var(--ui)}
.lvx-say button{width:44px;height:44px;border:0;border-radius:50%;background:var(--ap-ink);color:var(--ap-bg);display:grid;place-items:center;cursor:pointer}
.lvx-say button svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2}
.lvx-who{padding:4px 2px 0}
.lvx .fbp-tx{padding:0 2px}
.lvx .sx-fb{margin:0}
.rl-lvph{display:grid;place-items:center;color:#fff;text-decoration:none;background:radial-gradient(circle at 50% 40%,#3a0d16,#050506)}
.rl-lvph>*{grid-area:1/1}
.rl-lvph .rl-img{opacity:.5}
.rl-watch{margin-top:120px;padding:10px 18px;border-radius:999px;background:#f02849;font:700 14px/1 var(--ui);position:relative;z-index:2}
.cr-live svg{stroke:#f02849}
/* incidents in the Home feed, and the sponsored card's close button */
.inc-fc .fc-m{display:block}
.inc-lvbg{background:radial-gradient(circle at 50% 40%,#5a1020,#0b0b0d)!important;color:#fff}
.inc-live{position:absolute;left:14px;top:64px;z-index:3;display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:#f02849;color:#fff;font:700 12px/1 var(--ui)}
.inc-live svg{width:15px;height:15px;stroke:#fff;fill:none;stroke-width:2}
.adc-x{position:absolute;right:12px;top:12px;z-index:2;color:#fff!important;background:rgba(0,0,0,.35)!important}
.adc-in{margin:26px 0;min-height:200px}

/* ---------- group chats ---------- */
.dm-new{display:flex;align-items:center;gap:12px;width:100%;margin:0 0 10px;padding:12px;border:0;border-radius:18px;background:var(--ap-card);color:var(--ap-ink);text-align:left;cursor:pointer}
.dm-new svg{width:24px;height:24px;flex:none;padding:12px;box-sizing:content-box;border-radius:50%;background:var(--ap-chip);stroke:currentColor;fill:none;stroke-width:2}
.dm-new span{display:grid;gap:3px}.dm-new b{font:600 15px/1.2 var(--display)}.dm-new small{font-size:13px;color:var(--ap-mute)}
.dm-gf{position:relative;flex:none;width:52px;height:52px}
.dm-gf .ap-av{position:absolute;width:36px!important;height:36px!important;font-size:13px!important;border:2px solid var(--ap-bg)}
.dm-gf .ap-av:first-child{left:0;top:0}.dm-gf .ap-av:nth-child(2){right:0;bottom:0}.dm-gf .ap-av:nth-child(3){right:0;top:0;width:24px!important;height:24px!important}
.dm-gf .ap-av:only-child{width:52px!important;height:52px!important;position:static}
.dm-gf.big{width:76px;height:76px}.dm-gf.big .ap-av{width:52px!important;height:52px!important}
.ch-sys{text-align:center;font-size:12.5px;color:var(--ap-mute);margin:8px 0}
.ch-m.ch-g{display:flex;align-items:flex-end;gap:8px}
.ch-from .ap-av{width:28px;height:28px;font-size:11px}
.ch-m.ch-g p b{display:block;font-size:12px;font-weight:650;color:var(--ap-mute);margin-bottom:2px}
.gp-l{list-style:none;margin:0;padding:0;display:grid;gap:2px;max-height:46vh;overflow:auto}
.gp-l li{display:flex;align-items:center;gap:8px}
.gp-l a,.gp-l button[data-pick]{flex:1;display:flex;align-items:center;gap:12px;padding:8px;border:0;border-radius:14px;background:none;color:var(--ap-ink);text-align:left;cursor:pointer;min-width:0}
.gp-l a:hover,.gp-l button[data-pick]:hover{background:var(--ap-chip)}
.gp-l .ap-av{width:42px;height:42px}
.gp-l span{flex:1;min-width:0;display:grid;gap:2px}.gp-l b{font-weight:600;font-size:14.5px}.gp-l small{font-size:12.5px;color:var(--ap-mute)}
.gp-l button[data-pick] i{width:22px;height:22px;border-radius:50%;border:2px solid var(--ap-line);flex:none}
.gp-l button[data-pick][aria-pressed=true] i{background:var(--ap-ink);border-color:var(--ap-ink);box-shadow:inset 0 0 0 3px var(--ap-bg)}
.gp-on{display:flex;flex-wrap:wrap;gap:6px}
.gp-on:empty{display:none}
.gp-on button{height:30px;padding:0 12px;border:0;border-radius:999px;background:var(--ap-ink);color:var(--ap-bg);font:600 12.5px/1 var(--ui);cursor:pointer}
.ap-menu .danger{color:#f02849}

/* event state on Spot: coming up, on now, finished */
.sp-st{display:inline-flex;align-items:center;height:22px;padding:0 9px;border-radius:999px;font:700 10.5px/1 var(--ui);letter-spacing:.03em;color:#fff;background:#ff6a2b;white-space:nowrap}
.sp-st-on{background:#22b573}
.sp-st-finished{background:var(--ap-chip);color:var(--ap-mute)}
.sp-card>.sp-st{position:absolute;z-index:3;top:14px;left:14px}
.sp-tb .sp-st{align-self:flex-start;margin-bottom:4px}
.spd-when .sp-st{margin-left:10px}
.sp-done img{filter:saturate(.35) brightness(.8)}
.spd-fin{margin:6px 0 0;padding:10px 14px;border-radius:14px;background:var(--ap-chip);color:var(--ap-mute);font:500 13.5px/1.4 var(--ui)}
