/* =====================================================================
   /embeds: the embed builder. Plain and quiet on purpose: flat dark cards,
   borderless inputs, one big faded icon per tab, a Discord-accurate preview.
   ===================================================================== */
.eb{padding:calc(env(safe-area-inset-top,0px) + 128px) 20px 110px}
.eb__wrap{max-width:1110px;margin:0 auto}
.eb__head{text-align:center;max-width:640px;margin:0 auto}
.eb__title{font-family:var(--hero);font-weight:700;font-size:clamp(36px,5vw,54px);letter-spacing:-.05em;line-height:1.05;color:#f4f4f6}
.eb__sub{margin-top:14px;font-size:15.5px;color:rgba(237,237,237,.62)}
.eb__sub b{color:#f2f2f2;font-weight:600}
.eb__sub code{font-size:13px;padding:2px 6px;border-radius:6px;background:rgba(255,255,255,.07);color:#e8f6fb}
.eb__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;margin-top:48px;align-items:start}
.eb__col{display:grid;gap:14px;min-width:0}
.eb__side{position:sticky;top:96px}

/* cards and inputs */
.eb-card{position:relative;padding:20px;border-radius:16px;background:#111212;overflow:hidden}
.eb-l{display:block;font-size:13px;font-weight:500;color:rgba(237,237,237,.66);margin:18px 0 8px}
.eb-card>.eb-l:first-child,.eb-panel>.eb-l:first-child{margin-top:0}
.eb-in{position:relative;z-index:1;display:block;width:100%;min-height:44px;padding:12px 16px;border:0;border-radius:12px;background:#0d0d0d;color:#ededed;font:400 14px/1.5 var(--sans);transition:box-shadow .25s ease,background-color .25s ease;-webkit-appearance:none;appearance:none}
.eb-in::placeholder{color:rgba(237,237,237,.3)}
@media (hover:hover){.eb-in:hover{background:#0b0b0b}}
.eb-in:focus{outline:none;box-shadow:inset 0 0 0 1px rgba(166,228,245,.35)}   /* inset: the field body clips anything outside it */
.eb-ta{resize:vertical;min-height:92px}
.eb-mono{font-family:var(--mono);font-size:12.5px}

/* tabs: a soft pill slides under the chosen one */
.eb-card--tabs{padding-top:14px}
.eb-tabs{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:4px;border-radius:12px;background:#0d0d0d;margin-bottom:20px}
.eb-tabs__pill{position:absolute;left:4px;top:4px;bottom:4px;width:calc((100% - 8px) / 5);border-radius:8px;background:#1b1c1d;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);transform:translateX(calc(var(--t,0) * 100%));transition:transform .45s cubic-bezier(.2,.8,.2,1)}
.eb-tab{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:7px;height:34px;border-radius:8px;font:500 14px/1 var(--sans);color:rgba(237,237,237,.55);transition:color .25s ease,background-color .2s ease}
.eb-tab svg{width:16px;height:16px;flex:none}
/* hovering a tab tints it, the same as the categories on /commands; the chosen one already has the pill */
@media (hover:hover){.eb-tab:hover{color:rgba(237,237,237,.85);background:rgba(255,255,255,.03)}}
.eb-tab.is-on{color:#fff;background:transparent}@media (hover:hover){.eb-tab.is-on:hover{color:#fff;background:transparent}}
.eb-tab:focus{outline:none}
.eb-tab:focus-visible{box-shadow:0 0 0 2px rgba(166,228,245,.5)}
.eb-panels{position:relative}
.eb-panels.is-sizing{overflow:hidden;transition:height .34s cubic-bezier(.2,.8,.2,1)}
.eb-panel{position:relative;z-index:1}
.eb-panel.is-on{animation:eb-panel-in .32s cubic-bezier(.2,.8,.2,1) both}
.eb-panel.is-leaving{position:absolute;left:0;right:0;top:0;z-index:2;animation:eb-panel-out .16s ease both;pointer-events:none}
@keyframes eb-panel-in{from{opacity:0;transform:translateY(5px)}}
@keyframes eb-panel-out{to{opacity:0}}


/* colour picker */
.cp{position:relative;z-index:1;display:grid;gap:10px}
.cp__sv{position:relative;height:132px;border-radius:12px 12px 0 0;cursor:crosshair;touch-action:none;
  background:linear-gradient(to top,#000,transparent),linear-gradient(to right,#fff,hsl(var(--h,195),100%,50%))}
.cp__hue{position:relative;height:24px;margin-top:-10px;border-radius:0 0 12px 12px;cursor:pointer;touch-action:none;
  background:linear-gradient(90deg,#f00 0%,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00 100%)}
.cp__knob{position:absolute;width:24px;height:24px;margin:-12px 0 0 -12px;border-radius:50%;box-shadow:0 0 0 2px #fff,0 2px 8px rgba(0,0,0,.45);background:var(--k,#a6e4f5);pointer-events:none;transition:left .3s cubic-bezier(.2,.8,.2,1),top .3s cubic-bezier(.2,.8,.2,1)}
.cp__hue .cp__knob{top:50%}
.cp.is-drag .cp__knob{transition:none}
.cp__hex{font-family:var(--mono);font-size:13.5px;letter-spacing:.02em}

/* fields */
.eb-list{position:relative;display:flow-root}
.eb-list>*+*{margin-top:10px}
.eb-item{position:relative;z-index:1;display:grid;gap:0;padding:10px 12px 14px;border-radius:14px;background:#161717;transition:padding-bottom .3s cubic-bezier(.2,.8,.2,1)}

@keyframes eb-item{from{opacity:0;transform:translateY(6px)}}

.eb-item.is-drag{opacity:.4}
.eb-item.is-over{box-shadow:0 -2px 0 rgba(166,228,245,.7)}
.eb-item__hd{display:flex;align-items:center;justify-content:space-between;height:28px}
.eb-grip{width:24px;height:20px;display:grid;place-items:center;color:rgba(237,237,237,.35);cursor:grab;border-radius:6px}
.eb-grip:active{cursor:grabbing}
.eb-grip svg{width:14px;height:14px}
.eb-add{position:relative;z-index:1;display:inline-flex;align-items:center;gap:8px;height:38px;margin-top:12px;padding:0 14px;border-radius:10px;font:500 14px/1 var(--sans);color:#ededed;background:#0d0d0d;transition:background-color .2s ease}
.eb-add svg{width:15px;height:15px}
@media (hover:hover){.eb-add:hover{background:#1a1b1c}}
.eb-add:disabled{opacity:.4;pointer-events:none}

/* checkbox */
.eb-check{position:relative;z-index:1;display:inline-flex;align-items:flex-start;gap:9px;margin-top:4px;font-size:13.5px;color:rgba(237,237,237,.72);cursor:pointer}
.eb-panel>.eb-check{margin-top:18px}
.eb-check input{position:absolute;opacity:0;pointer-events:none}
.eb-check__box{width:18px;height:18px;border-radius:5px;background:#0d0d0d;box-shadow:inset 0 0 0 1px rgba(255,255,255,.2);display:grid;place-items:center;transition:background-color .2s ease,box-shadow .2s ease}
.eb-check__box::after{content:"";width:9px;height:5px;border-left:2px solid #0a0a0a;border-bottom:2px solid #0a0a0a;transform:translateY(-1px) rotate(-45deg) scale(0);transition:transform .25s cubic-bezier(.2,.8,.2,1)}
.eb-check input:checked+.eb-check__box{background:var(--acc);box-shadow:none}
.eb-check input:checked+.eb-check__box::after{transform:translateY(-1px) rotate(-45deg) scale(1)}
.eb-check input:focus-visible+.eb-check__box{box-shadow:0 0 0 2px rgba(166,228,245,.55)}

/* preview: Discord's own colours */
.eb-msg{display:grid;grid-template-columns:40px minmax(0,1fr);gap:14px;padding:16px 18px 18px;border-radius:16px;background:#323339;font-family:"Inter",var(--sans)}
.eb-msg__av{width:40px;height:40px;border-radius:50%;object-fit:contain;-webkit-user-drag:none;user-select:none}
.eb-msg__body{min-width:0}
.eb-msg__hd{display:flex;align-items:center;gap:6px;line-height:1.3}
.eb-msg__hd b{font-size:15px;font-weight:600;color:#fff}
.eb-app{display:inline-flex;align-items:center;gap:2px;height:15px;padding:0 4px;border-radius:3px;background:#5865f2;font-size:10px;font-weight:600;color:#fff}
.eb-app svg{width:10px;height:10px}
.eb-time{font-size:12px;line-height:22px;color:#949ba4;margin-left:4px;font-weight:400}
.eb-out{display:grid;gap:6px;margin-top:3px;min-width:0}
.eb-placeholder{font-size:14px;color:#b5bac1}
.eb-content{font-size:14.5px;line-height:1.4;color:#dbdee1;word-wrap:break-word}
.eb-embed{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;max-width:520px;padding:10px 16px 14px 14px;border-radius:4px;background:#2b2d31;border-left:4px solid var(--bar,#1e1f22);transition:border-color .25s ease}
.eb-embed__main{display:grid;gap:7px;min-width:0;font-size:14px;line-height:1.375;color:#dbdee1;overflow-wrap:anywhere}
.eb-e-author{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#f2f3f5;margin-top:4px}
.eb-e-author img{width:24px;height:24px;border-radius:50%;object-fit:cover}
.eb-e-author a{color:inherit}
.eb-e-title{font-size:16px;font-weight:600;color:#f2f3f5;margin-top:4px}
.eb-e-title a{color:#00a8fc}
.eb-e-fields{display:grid;gap:8px;margin-top:2px}
.eb-e-frow{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:8px 14px}
.eb-e-fname{font-size:14px;font-weight:600;color:#f2f3f5;margin-bottom:2px}
.eb-e-image{width:100%;max-height:300px;object-fit:cover;border-radius:4px;margin-top:8px}
.eb-e-thumb{width:80px;height:80px;border-radius:4px;object-fit:cover;margin-top:8px}
.eb-e-footer{display:flex;align-items:center;gap:8px;font-size:12px;color:#b5bac1;margin-top:4px}
.eb-e-footer img{width:20px;height:20px;border-radius:50%;object-fit:cover}
.eb-btns{display:flex;flex-wrap:wrap;gap:6px}
.eb-btn{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;border-radius:8px;font-size:14px;font-weight:500;color:#fff;background:#4e5058}
.eb-btn--primary{background:#5865f2}.eb-btn--success{background:#248046}.eb-btn--danger{background:#da373c}
.eb-btn.is-off{opacity:.5}
.eb-btn svg{width:13px;height:13px}

/* code */
.eb-code{padding:0}
.eb-code__hd{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px 12px 20px;border-bottom:1px solid rgba(255,255,255,.05)}
.eb-code__hd .eb-l{margin:0}
.eb-code__act{display:flex;align-items:center;gap:4px}
.eb-ghost{height:32px;padding:0 10px;border-radius:8px;font:500 13px/1 var(--sans);color:rgba(237,237,237,.6);transition:color .2s ease,background-color .2s ease}
@media (hover:hover){.eb-ghost:hover{color:#fff;background:rgba(255,255,255,.05)}}
.eb-ghost.is-on{color:#fff;background:rgba(255,255,255,.06)}
.eb-copy{display:inline-flex;align-items:center;gap:7px;height:32px;margin-left:4px;padding:0 14px;border-radius:8px;font:500 13.5px/1 var(--sans);color:#0a0a0a;background:#bfe6f2;transition:background-color .25s ease,transform .2s ease}
.eb-copy svg{width:15px;height:15px}
@media (hover:hover){.eb-copy:hover{background:#d4f0f8}}
.eb-copy:active{transform:scale(.97)}
.eb-copy.is-done{background:#a8f0c6}
.eb-copy--sm{margin:0}
.eb-code__out{margin:0;padding:18px 20px 20px;font:12.5px/1.7 var(--mono);color:#e5e7e8;white-space:pre-wrap;word-break:break-all;max-height:300px;overflow:auto;-webkit-user-select:text;user-select:text}
.eb-import{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s cubic-bezier(.2,.8,.2,1)}
.eb-import.is-open{grid-template-rows:1fr}
.eb-import__in{overflow:hidden;min-height:0;opacity:0;transition:opacity .2s ease}
.eb-import.is-open .eb-import__in{opacity:1;transition:opacity .3s ease .08s}
.eb-import__pad{padding:14px 14px 0}
.eb-import__row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.eb-err{font-size:13px;color:#ff9b9b}
.eb-err code{font-size:12px;padding:1px 5px;border-radius:4px;background:rgba(255,255,255,.07)}
.eb button{-webkit-user-select:none;user-select:none}

@media (max-width:960px){
  .eb__grid{grid-template-columns:1fr}
  .eb__side{display:contents}                 /* its two cards join the main column so they can be ordered */
  .eb__col:first-child{order:1}.eb-msg{order:2}.eb-code{order:3}   /* Editor, Preview, Code */
}
@media (max-width:560px){
  .eb{padding:calc(env(safe-area-inset-top,0px) + 104px) 12px 90px}
  .eb-card{padding:16px}
  .eb-tab{font-size:0;gap:0}
  .eb-tab svg{width:18px;height:18px}
  .eb-code__hd{padding:10px 10px 10px 16px}
  .eb-embed{grid-template-columns:minmax(0,1fr)}
  .eb-e-thumb{position:absolute;right:12px;top:10px;width:56px;height:56px}
}
@media (prefers-reduced-motion:reduce){.eb-panel.is-on,.eb-item.is-new{animation:none}}
.eb-check__box{flex:none;margin-top:1px}
.eb-check small{display:block;margin-top:2px;font-size:12.5px;color:rgba(237,237,237,.45)}
.eb-e-title--ph,.eb-e-desc--ph{opacity:.92}
.eb-cmd{color:#c9cdfb;background:rgba(88,101,242,.3);border-radius:3px;padding:0 2px;font-weight:500}

/* dragging a field: it lifts out like a window and follows the pointer */
.eb-item.is-lifted{position:fixed;z-index:200;margin:0;pointer-events:none;transform:scale(1.03) rotate(-.6deg);box-shadow:0 30px 60px -18px rgba(0,0,0,.85),0 0 0 1px rgba(166,228,245,.35);background:#1b1c1d;transition:transform .2s cubic-bezier(.2,.8,.2,1),box-shadow .2s ease}
.eb-item.is-lifted.is-landing{transform:none;box-shadow:0 0 0 1px rgba(166,228,245,0)}
.eb-gap{position:relative;z-index:0;border-radius:14px;background:rgba(166,228,245,.04);box-shadow:inset 0 0 0 1px rgba(166,228,245,.22);border:0}
.eb-gap.is-in{animation:eb-gap-in .22s ease}
@keyframes eb-gap-in{from{opacity:0}}
.eb-list>.eb-item{position:relative;z-index:1}
body.eb-dragging,body.eb-dragging *{cursor:grabbing!important;-webkit-user-select:none;user-select:none}

/* Discord markdown, Discord's colours */
.dm{overflow-wrap:anywhere}
.dm b{font-weight:700;color:inherit}
.dm-p{margin:0}
.dm-p+.dm-p,.dm-h+.dm-p,.dm-quote+.dm-p,.dm-list+.dm-p,.dm-pre+.dm-p,.dm-sub+.dm-p{margin-top:0}
.dm-h{margin:8px 0 4px;font-weight:700;color:#f2f3f5;line-height:1.375}
.dm-h:first-child{margin-top:0}
.dm-h1{font-size:24px}.dm-h2{font-size:20px}.dm-h3{font-size:16px}
.dm-sub{font-size:12px;line-height:1.33;color:#949ba4}
.dm-sub .dm-p{margin:0}
.dm-sub .dm-list{margin-top:0}
.dm-sub li{margin:0}
.dm-sub ul.dm-list li::marker,.dm-sub ol.dm-list li::marker{color:#949ba4}
.dm-sub .dm-a{color:#949ba4;text-decoration:underline}
.dm-quote{margin:0;padding:0 0 0 12px;border-left:4px solid #4e5058;border-radius:4px 0 0 4px}
.dm-list{margin:4px 0 0 16px;padding:0}
.dm-list li{margin:2px 0;padding-left:2px}
.dm-list ul,.dm-list ol{margin:2px 0 0 16px}
ul.dm-list{list-style:disc}
ul.dm-list ul{list-style:circle}
ol.dm-list{list-style:decimal}
.dm-code{font-family:"JetBrains Mono",ui-monospace,Consolas,monospace;font-size:.85em;padding:.1em .3em;border-radius:4px;background:#1e1f22;white-space:pre-wrap}
.dm-pre{margin:6px 0 0;padding:7px 9px;border-radius:4px;border:1px solid #1e1f22;background:#1e1f22;font:13px/1.45 "JetBrains Mono",ui-monospace,Consolas,monospace;color:#dbdee1;white-space:pre-wrap;word-break:break-word}
.dm-a{color:#00a8fc;text-decoration:none}
@media (hover:hover){.dm-a:hover{text-decoration:underline}}
.dm-men{color:#c9cdfb;background:rgba(88,101,242,.3);border-radius:3px;padding:0 2px;font-weight:500}
.dm-time{background:rgba(255,255,255,.06);border-radius:3px;padding:0 2px}
.dm-spoil{background:#1e1f22;border-radius:4px;cursor:pointer;transition:background-color .2s ease}
.dm-spoil>span{opacity:0;transition:opacity .2s ease}
@media (hover:hover){.dm-spoil:hover{background:#1a1b1e}}
.dm-spoil.is-shown{background:rgba(255,255,255,.1);cursor:auto}
.dm-spoil.is-shown>span{opacity:1}
.dm-emoji{width:1.375em;height:1.375em;vertical-align:bottom;object-fit:contain;margin:0 .05em}
.dm-emoji--big{width:48px;height:48px;margin:2px .1em 0 0}
.eb-e-title .dm-emoji,.eb-e-fname .dm-emoji{width:1.25em;height:1.25em}
.eb-e-footer .dm-emoji,.eb-e-author .dm-emoji{width:1.1em;height:1.1em;vertical-align:-.2em}

/* fields collapse to a single row */
.eb-item__hd{gap:6px}
.eb-item__tg{flex:1;min-width:0;display:flex;align-items:center;gap:8px;height:28px;padding:0 4px;border-radius:8px;text-align:left;font:600 13.5px/1 var(--sans);color:#ededed}
@media (hover:hover){.eb-item__tg:hover{background:rgba(255,255,255,.03)}}
.eb-item__name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.eb-item__name.is-empty{color:rgba(237,237,237,.45);font-weight:500}
.eb-item__hint{flex:none;font-size:11.5px;font-weight:500;color:#f0c674;background:rgba(240,198,116,.08);padding:3px 7px;border-radius:6px}
.eb-item__tag{flex:none;font-size:11px;font-weight:500;color:rgba(237,237,237,.55);background:rgba(255,255,255,.05);padding:3px 7px;border-radius:6px}
.eb-item__chev{margin-left:auto;display:grid;place-items:center;width:22px;height:22px;color:rgba(237,237,237,.45);transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.eb-item__chev svg{width:15px;height:15px}
.eb-item.is-closed .eb-item__chev{transform:rotate(-90deg)}
.eb-item__body{display:grid;grid-template-rows:1fr}
.eb-item.is-closed .eb-item__body{grid-template-rows:0fr}
.eb-item__in{overflow:hidden;display:grid;gap:8px;min-height:0}
.eb-item__in>.eb-l:first-child{margin-top:6px}
.eb-item__in .eb-check{margin-bottom:2px}
.eb-item.is-closed{padding-bottom:12px}
.eb-item__in .eb-l{margin:6px 0 0}

/* delete: a clear, roomy button that turns red when you point at it */
.eb-del{flex:none;width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:rgba(237,237,237,.72);background:rgba(255,255,255,.05);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);transition:color .2s ease,background-color .2s ease,box-shadow .2s ease}
.eb-del svg{width:15px;height:15px}
@media (hover:hover){.eb-del:hover{color:#ff6b6e;background:rgba(237,66,69,.14);box-shadow:inset 0 0 0 1px rgba(237,66,69,.35)}}
.eb-del:focus{outline:none}
.eb-del:focus-visible{box-shadow:0 0 0 2px rgba(255,107,110,.6)}
/* carried field: only its header bar shows */
.eb-item.is-carry .eb-item__body{display:none}
.eb-item.is-carry{padding-bottom:10px}

.eb-req{font-style:normal;color:#f23f43;margin-left:3px;font-weight:600;display:inline-block;transition:opacity .2s ease,transform .2s cubic-bezier(.2,.8,.2,1)}
/* the * shows only while its box is empty: label, then the box right after it */
.eb-l:has(+ .eb-in:not(:placeholder-shown)) .eb-req{opacity:0;transform:scale(.6)}
.eb__credit{color:#f2f2f2;text-decoration:underline;text-decoration-color:rgba(166,228,245,.45);text-underline-offset:3px;transition:text-decoration-color .2s ease}
@media (hover:hover){.eb__credit:hover{text-decoration-color:var(--acc)}}
.eb-grip{touch-action:none}                                   /* on phones the dots drag the field instead of scrolling the page */

/* ---- the preview, measured against Discord's own (dark theme) ----
   chat #313338, 40px avatar with 16px gap, name 16px/500, APP tag 15px tall, time 12px #949ba4,
   message text 16px/22px; embed max 516px, padding 8 16 16 12, 8px between parts, 16px above an image,
   title 16px/600, text 14px/18px, footer 12px/500 with a 20px icon, image fits inside 400x300 and
   a thumbnail inside 80x80, both scaled (never cropped). */
.eb-msg{gap:16px;background:#313338;font-family:"gg sans","Noto Sans","Helvetica Neue",Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased}
.eb-msg__hd{gap:0;line-height:22px}
.eb-msg__hd b{font-size:16px;font-weight:500;color:#f2f3f5}
.eb-app{height:15px;padding:0 4.4px;margin-left:4px;border-radius:3px;font-size:10px;font-weight:600;line-height:15px;text-transform:uppercase}
.eb-out{gap:4px;margin-top:0}
.eb-content{font-size:16px;line-height:22px;color:#dbdee1}
.eb-embed{max-width:516px;padding:8px 16px 16px 12px;gap:0 16px;grid-template-columns:minmax(0,1fr) auto;align-items:start}
.eb-embed__main{display:block;font-size:14px;line-height:18px;color:#dbdee1}
.eb-e-author,.eb-e-title,.eb-e-desc,.eb-e-fields,.eb-e-footer{margin-top:8px}
.eb-e-author{font-size:14px;font-weight:600;line-height:22px;color:#f2f3f5}
.eb-e-title{font-size:16px;font-weight:600;line-height:22px;color:#f2f3f5}
.eb-e-fields{gap:8px}
.eb-e-frow{gap:8px}
.eb-e-fname{font-size:14px;font-weight:600;line-height:18px;margin-bottom:2px}
.eb-e-image{display:block;width:auto;height:auto;max-width:min(100%,400px);max-height:300px;object-fit:contain;border-radius:4px;margin-top:16px}
.eb-e-thumb{width:auto;height:auto;max-width:80px;max-height:80px;object-fit:contain;border-radius:4px;margin-top:8px;justify-self:end}
.eb-e-footer{font-size:12px;font-weight:500;line-height:16px;color:#dbdee1}
.eb-e-footer img{width:20px;height:20px}
.eb-e-footer .eb-e-sep{margin:0 4px}
.eb-e-image,.eb-e-footer{grid-column:1/-1}
.eb-e-image{justify-self:start}

/* Phones and tablets: the parts that move when a field opens, closes, is added or removed sit on their own
   graphics layers, so they slide without being repainted every frame (measured on a 6x slowed phone:
   about 4x less raster work, slow frames 23 -> 7). Desktop doesn't need it. */
@media (hover:none) and (pointer:coarse){
  .eb-item,.eb-add,.eb-msg,.eb-code,.eb-card--tabs{will-change:transform}
}
