/* Identical component dimensions and colors on all three surfaces. */
label.sa-switch-row{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:16px!important;row-gap:0!important;justify-content:start!important;align-items:center!important;text-align:left!important;flex-direction:row!important;width:100%!important;box-sizing:border-box;margin:12px 0!important;padding:0!important;background:none!important;min-height:46px!important}
.sa-switch-control{position:relative!important;display:block!important;width:76px!important;height:34px!important;grid-column:1!important;grid-row:1!important;align-self:center!important}
.sa-switch-control>input[type=checkbox]{appearance:none!important;-webkit-appearance:none!important;position:absolute!important;inset:0!important;width:76px!important;min-width:76px!important;max-width:76px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;border:0!important;border-radius:18px!important;opacity:0!important;z-index:2;cursor:pointer;aspect-ratio:auto!important;transform:none!important}
.sa-switch-control>input:before,.sa-switch-control>input:after{display:none!important}
.sa-switch-track{display:block!important;position:absolute;inset:0;border:2px solid #cf8393;border-radius:18px;background:#853d49;pointer-events:none;box-sizing:border-box}
.sa-switch-thumb{position:absolute;width:24px;height:24px;top:3px;left:3px;border-radius:50%;background:#fff;transition:transform .16s ease}
.sa-switch-check,.sa-switch-cross{position:absolute;top:2px;font:22px/26px 'Segoe UI',sans-serif;color:#f3c6ce}.sa-switch-check{left:9px;opacity:0}.sa-switch-cross{right:10px}
.sa-switch-control>input:checked+.sa-switch-track{background:#23865f;border-color:#77d7b2}.sa-switch-control>input:checked+.sa-switch-track .sa-switch-thumb{transform:translateX(42px)}.sa-switch-control>input:checked+.sa-switch-track .sa-switch-check{opacity:1;color:white}.sa-switch-control>input:checked+.sa-switch-track .sa-switch-cross{opacity:0}
.sa-switch-control>input:focus-visible+.sa-switch-track{outline:3px solid #43d5ec;outline-offset:3px}.sa-switch-control>input:disabled+.sa-switch-track{opacity:.55}.sa-switch-copy{grid-column:2!important;grid-row:1!important;min-width:0;display:block!important;text-align:left!important;font-size:16px;line-height:1.3}.sa-switch-state{grid-column:2!important;grid-row:2!important;color:#e394a1;font-size:12px;font-weight:700;text-align:left!important;line-height:1.4}.sa-switch-row[data-checked=true]>.sa-switch-state{color:#68cfa4}
.viewer-profile-check.sa-switch-row{gap:0 12px!important}.viewer-profile-check .sa-switch-copy{font-size:15px}.action-page .sa-switch-control input{min-height:34px!important}.viewer-credits p{white-space:nowrap!important;display:block!important;width:100%;margin:5px 0!important;line-height:1.5}.viewer-credits a{white-space:nowrap}.viewer-credits{padding:10px 0!important}.viewer-credits>strong{font-size:19px!important}
.hype-settings-columns label:not(.sa-switch-row){display:flex;flex-direction:column;align-items:stretch;text-align:left}.hype-settings-columns input:not([type=checkbox]),.hype-settings-columns textarea,.hype-settings-columns select{box-sizing:border-box;width:100%;min-width:0}.hype-settings-columns textarea.menu-description{height:110px;min-height:100px;resize:vertical}.channel-info-preview-card{box-sizing:border-box!important;width:180px!important;max-width:100%;padding:12px;display:flex!important;flex-direction:column;align-items:center;gap:8px}.channel-info-preview-card small{font-size:12px;line-height:1.4;text-align:center}.hype-settings-columns .hype-preview-column{min-width:0}
.smart-grid{grid-template-columns:repeat(auto-fit,minmax(135px,1fr))!important;gap:10px!important}.smart-grid button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;min-width:0!important;padding:14px 8px!important;min-height:96px;white-space:normal;overflow-wrap:anywhere;text-align:center;font-size:15px}.smart-grid button img{width:28px!important;height:28px!important;flex-shrink:0}.smart-grid button span{display:block;max-width:100%;line-height:1.3}
.mod-suite{position:relative}.mod-suite button.smart-floating{position:sticky!important;bottom:12px!important;right:12px!important;float:none!important;margin:12px 0 12px auto!important;align-self:flex-end!important;width:52px!important;height:52px!important;min-width:52px!important;min-height:52px!important;border-radius:50%!important;background:#43d5ec!important;border:0!important;box-shadow:0 3px 10px #0005;z-index:12;display:grid!important;place-items:center!important;padding:13px!important;flex:none}.smart-floating img{width:26px;height:26px;filter:brightness(0) saturate(100%);opacity:.85}.smart-floating span{display:none!important}.action-page{display:flex;flex-direction:column;gap:8px}.action-page>h2{margin:8px 0 16px!important}.action-page-return{order:100;align-self:flex-end;margin-top:16px}.mod-main-tabs{position:relative;z-index:3}.mod-hot-buttons{justify-items:center}.mod-hot-buttons button{width:100%;max-width:64px}.mod-approve{position:relative;z-index:2}
.viewer-unlock-corner{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;padding:0 0 4px 4px;width:32px;height:32px}.viewer-unlock-corner img{display:block;width:19px!important;height:19px!important;object-fit:contain}.channel-emote-detail{position:relative}.hype-train-lane>img:first-child{transform:scaleX(-1)}.hype-train-lane{flex-direction:row!important;right:8px!important;left:auto!important}.hype-train-lane>img{flex-shrink:0}
.media-preview-controls{display:flex;justify-content:center;gap:14px;margin:10px 0}.media-preview-controls button{width:44px;height:44px;min-width:44px;border-radius:50%;display:grid;place-items:center;padding:9px}.media-preview-controls img{width:26px;height:26px}.media-preview-controls .is-muted{opacity:.65}.viewer-preview-media{max-width:100%;max-height:220px;object-fit:contain}.subscription-duration-detail{display:block;line-height:1.5;color:#b8ccda}.permission-gate{position:fixed;inset:0;background:#09121de8;z-index:19000;display:grid;place-items:center;padding:20px}.permission-gate>div{background:#172b39;border:1px solid #43d5ec;border-radius:12px;padding:24px;max-width:500px}
@media(max-width:650px){.smart-grid{grid-template-columns:repeat(auto-fit,minmax(48px,1fr))!important}.smart-grid button{min-height:54px;padding:10px!important}.smart-grid button span{display:none!important}.smart-grid img{width:26px!important;height:26px!important}.sa-switch-copy{font-size:15px}.hype-settings-columns{display:flex;flex-direction:column}.hype-settings-columns>div{width:100%}.hype-preview-column{order:2}.sa-switch-row{column-gap:12px!important}}
@media(prefers-reduced-motion:reduce){.sa-switch-thumb{transition:none}}

.hype-train-lane{display:flex!important;flex-direction:row!important;justify-content:flex-start;max-width:calc(100% - 16px);overflow:hidden;animation:sa-train-bob 2.4s ease-in-out infinite}.hype-train-lane img{width:28px;height:28px}.hype-train-lane img:first-child{transform:scaleX(-1)!important}@keyframes sa-train-bob{0%,100%{translate:0 0}50%{translate:-4px -1px}}@media(prefers-reduced-motion:reduce){.hype-train-lane{animation:none}}
.viewer-hype-banner[data-shared=true][data-type=regular]{background:#633a92!important}.viewer-hype-banner[data-type=mythic]{background:linear-gradient(110deg,#ce3c0c,#6c1e10)!important}.viewer-hype-banner[data-shared=true]{border:1px solid #b177ff}.action-page-error{color:#ff8291;white-space:pre-wrap}.viewer-preview-media{width:100%;display:block}.media-preview-controls button{color:#43d5ec}.channel-info-preview-card>img{max-width:100%;object-fit:contain}

.hype-train-lane{position:absolute!important;bottom:8px;right:8px!important;width:max-content!important;height:32px;padding:0!important;gap:3px;background:transparent!important;border:0!important;z-index:5}
.viewer-hype-banner{position:relative;isolation:isolate;overflow:hidden;min-height:34px;border:1px solid #ab6b32;border-radius:8px;background:linear-gradient(110deg,#9a2533,#ac6530,#aa8c20);color:white;font-weight:700}.viewer-hype-banner:before{content:"";position:absolute;inset:0 auto 0 0;width:var(--hype-progress,0%);background:#0004;z-index:-1}.hype-slot{position:relative;z-index:1}.viewer-hype-banner[data-type=golden_kappa]{background:radial-gradient(circle at 20% 30%,#fff9 1px,transparent 3px),linear-gradient(110deg,#8a6413,#bd9a35,#65430c)!important;background-size:23px 23px,100% 100%}.viewer-hype-banner[data-type=treasure]{background:radial-gradient(circle at 20% 30%,#fff9 1px,transparent 3px),linear-gradient(110deg,#185a91,#3394bc,#133054)!important;background-size:23px 23px,100% 100%}.channel-info-preview-card{background:#213140!important;border:1px solid #365064!important;border-radius:8px!important}

html body [hidden],html body .mod-suite [hidden],html body .action-page [hidden]{display:none!important}

/* 0.1.21: compact moderation and shared switches. */
html body .mod-suite{padding:0;gap:6px}html body .mod-suite-top{margin:0;gap:4px}html body .mod-suite-top h2{margin:2px 0}html body .mod-hot-buttons{margin:4px 0 8px;gap:6px}html body .mod-hot-buttons button{display:flex;align-items:center;justify-content:center;min-width:0;padding:8px;aspect-ratio:1}html body .mod-hot-buttons[data-shape="Circle"] button{border-radius:50%!important}html body .mod-hot-buttons[data-shape="Square"] button{border-radius:8px!important}html body .mod-top-connection{margin:0;padding:0;min-height:30px;justify-content:flex-end}html body .mod-feed-toolbar{gap:6px;margin:6px 0;display:flex}html body .mod-feed-toolbar input[type=search]{flex:1;min-width:65px}html body .mod-feed-toolbar select{width:auto;max-width:38%}html body .mod-main-tabs{margin:4px 0}html body .mod-feed-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 8px;padding:9px 10px;margin:5px 0}html body .mod-feed-row>strong{align-self:start;overflow-wrap:anywhere}html body .mod-row-time{font-size:11px;text-align:right;align-self:start;color:var(--muted,#a4b7c8);max-width:145px}html body .mod-feed-row>p{grid-column:1/-1;margin:0;overflow-wrap:anywhere}html body .mod-row-status{justify-self:end;grid-column:2;font-size:11px}html body .mod-feed-actions{grid-column:2;display:flex;justify-content:flex-end;align-items:center;gap:4px;margin:0}html body .mod-feed-actions button{width:32px;height:32px;min-height:32px;padding:5px}html body .mod-feed-actions button img{width:20px;height:20px;flex-shrink:0}html body .mod-feed-actions button span{display:none}html body .tap-actions:not(.actions-open) .mod-feed-actions{display:none}html body .mod-row-expand{grid-column:2;justify-self:end;width:30px;height:30px;min-height:30px;padding:0;font-size:23px}html body .actions-open .mod-row-expand{grid-row:3;grid-column:1;justify-self:end}html body .has-swipes:not(.swipe-open) .mod-feed-actions{display:none}html body .has-swipes.swipe-open .mod-feed-actions{display:flex!important}html body .mod-compose-floating{position:fixed;bottom:82px;right:82px;border-radius:50%;background:#efd300;color:#10202b;width:42px;height:42px;padding:10px;z-index:55;box-shadow:0 3px 8px #0005}html body .mod-compose-floating span{display:none}html body .mod-composer{position:fixed;right:12px;bottom:136px;width:min(440px,calc(100% - 24px));padding:8px;gap:6px;background:var(--panel,#192b39);border:1px solid #426079;border-radius:10px;z-index:54;margin:0}html body .mod-composer textarea{margin:0;min-height:60px}html body .smart-floating{right:16px!important;left:auto!important;border-radius:50%!important}html body .smart-view-modes{display:flex;gap:6px;margin:4px 0 10px}html body .smart-view-modes button[aria-pressed=true]{background:#286889}html body .smart-grid[data-view=simple]{grid-template-columns:repeat(auto-fit,minmax(48px,1fr))}html body .smart-grid[data-view=simple] button span{display:none}html body .smart-grid[data-view=simple] button{aspect-ratio:1;padding:10px;justify-content:center}html body .smart-grid[data-view=expanded]{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}html body .smart-grid[data-view=expanded] button{display:flex;gap:8px;justify-content:flex-start;min-width:0;padding:10px;white-space:normal}html body .smart-grid button img{flex-shrink:0}html body .smart-grid[data-view=expanded] button span{display:block;overflow-wrap:anywhere}html body .mod-timeout-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%}html body .viewer-unlock-corner{display:flex;align-items:center;justify-content:center}html body .viewer-channel-emote>.viewer-unlock-corner{display:none}html body .sa-switch-row{justify-content:start!important;text-align:left!important}html body .sa-switch-copy{text-align:left!important}html body .companion-save-top{display:flex;justify-content:flex-end;margin:4px 0 10px}html body .companion-save-bottom{display:flex;justify-content:flex-start;margin:14px 0 4px}@media(max-width:600px){html body .smart-grid[data-view=expanded]{grid-template-columns:repeat(2,minmax(0,1fr))}html body .mod-feed-row{padding:7px 8px}html body .mod-row-time{max-width:116px;font-size:10px}}

@keyframes sa-linear-pan{from{background-position:100% 50%}to{background-position:0% 50%}}html body .viewer-hype-banner,html body .viewer-chaos-banner,html body .viewer-chaos-bar,html body #chaosBannerPreview{background-size:300% 100%!important;animation:sa-linear-pan 24s linear infinite!important}html body .viewer-hype-banner[data-type=golden_kappa]{background-image:linear-gradient(90deg,#4e3005,#aa7418,#e6bb57,#77500c,#382303,#4e3005)!important;border-color:#ffdf8a;box-shadow:0 0 15px #dba63265}html body .viewer-hype-banner[data-type=treasure]{background-image:linear-gradient(90deg,#052d4e,#1874aa,#57bbe6,#0c5077,#032338,#052d4e)!important;border-color:#8adfff;box-shadow:0 0 15px #32a6db65}.viewer-hype-banner .glitter{position:absolute;inset:0;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:3}.viewer-hype-banner .glitter span{position:absolute;color:#fff;animation:twinkle 1.6s ease-in-out infinite;filter:drop-shadow(0 0 3px #fff)}@keyframes twinkle{0%,100%{opacity:.1;transform:scale(.4) rotate(0deg)}50%{opacity:1;transform:scale(1.3) rotate(60deg)}}@media(prefers-reduced-motion:reduce){html body .viewer-hype-banner,html body .viewer-chaos-banner,html body .viewer-chaos-bar,html body #chaosBannerPreview{animation:none!important}.viewer-hype-banner .glitter span{animation:none;opacity:.5}}

html body .smart-grid[data-view=simple]{grid-template-columns:repeat(7,minmax(0,1fr));max-width:650px} @media(max-width:600px){html body .smart-grid[data-view=simple]{grid-template-columns:repeat(5,minmax(0,1fr))}}

.viewer-command-list small,.viewer-command small{display:block;margin-top:4px}

/* 0.1.23 audited responsive action layout */
html body .mod-suite .action-page .smart-grid[data-view="simple"]{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(52px,1fr))!important;max-width:none!important;width:100%!important;gap:8px!important}html body .mod-suite .action-page .smart-grid[data-view="simple"] button{width:100%!important;max-width:none!important;min-height:52px!important;aspect-ratio:1;padding:10px!important}html body .mod-suite .action-page .smart-grid[data-view="simple"] button span{display:none!important}html body .mod-suite .action-page .smart-grid[data-view="expanded"]{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;width:100%!important;max-width:none!important;gap:8px!important}html body .mod-suite .action-page .smart-grid[data-view="expanded"] button{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:9px!important;aspect-ratio:auto!important;width:100%!important;min-height:58px!important;padding:10px!important;white-space:normal!important}html body .mod-suite .action-page .smart-grid[data-view="expanded"] button span{display:block!important;font-size:16px!important;line-height:1.3!important}html body .mod-suite .mod-hot-buttons{width:100%;gap:8px!important}html body .mod-suite .mod-hot-buttons button{width:100%!important;max-width:none!important;height:auto!important;max-height:none!important;aspect-ratio:1!important}html body .mod-suite .mod-hot-buttons button img{width:clamp(24px,3.5vw,46px)!important;height:clamp(24px,3.5vw,46px)!important}html body .mod-suite .mod-row-expand,html body .mod-suite .actions-open .mod-row-expand{grid-column:1/-1!important;grid-row:1!important;width:100%!important;max-width:none!important;height:25px!important;min-height:25px!important;border-radius:5px!important;font-size:20px!important;line-height:1!important}html body .mod-suite .mod-feed-actions{grid-column:1/-1!important;display:grid;grid-template-columns:repeat(auto-fit,minmax(46px,1fr));width:100%;margin-top:4px}html body .mod-suite .mod-feed-actions button{width:100%!important;height:auto!important;min-height:44px!important;aspect-ratio:1;max-width:100px;padding:10px}html body .mod-suite .mod-feed-actions[data-shape=Circle] button{border-radius:50%!important}html body .mod-suite .mod-feed-actions button img{width:26px!important;height:26px!important}html body .mod-suite .mod-compose-floating{background:#c7a800!important;color:#101d29!important;border-radius:50%!important;display:flex;align-items:center;justify-content:center;right:82px!important;bottom:70px!important;width:44px!important;height:44px!important;padding:0!important}html body .mod-compose-floating img{width:24px!important;height:24px!important;margin:0!important}html body .mod-composer-close{grid-column:1/-1!important;justify-self:end;width:24px!important;height:24px!important;min-height:24px!important;padding:0!important;background:transparent!important;border:0!important;font-size:23px!important}html body .mod-composer textarea{grid-column:1;grid-row:2}html body .mod-composer button[type=submit]{grid-column:2;grid-row:2}html body .settings-full-field{display:block;width:100%;margin:12px 0}html body .settings-full-field textarea{display:block;box-sizing:border-box;width:100%;min-height:120px;margin-top:6px}html body .settings-full-field [contenteditable]{min-height:130px;padding:12px;border:1px solid #466176;border-radius:7px;background:#172937;text-align:left}html body .import-code{width:100%;height:130px;box-sizing:border-box;font:12px monospace;overflow-wrap:anywhere}.listener-log-text{width:100%;height:300px;box-sizing:border-box;font:12px monospace}.mod-compact-runtime{display:flex;gap:6px;flex:1;min-width:0}.mod-compact-runtime button{flex:1;min-width:0;padding:4px 7px;font-size:12px;min-height:25px}.viewer-chaos-banner,.viewer-chaos-bar{background-image:linear-gradient(90deg,#a72780,#245fba,#0a9aa7,#a72780)!important;background-size:300% 100%!important;animation:sa-linear-pan 24s linear infinite!important}.viewer-hype-banner[data-type=mythic]{background-image:linear-gradient(90deg,#541b0b,#ce3c0c,#ee7c42,#541b0b)!important}@media(max-width:600px){html body .mod-suite .action-page .smart-grid[data-view="expanded"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}html body .mod-suite .action-page .smart-grid[data-view="simple"]{grid-template-columns:repeat(auto-fit,minmax(46px,1fr))!important}html body .mod-suite .mod-hot-buttons{gap:4px!important}html body .mod-suite .mod-hot-buttons button{padding:5px!important}html body .mod-suite .mod-hot-buttons button img{width:24px!important;height:24px!important}.mod-compact-runtime button{font-size:10px}}

/* Final shared overrides; state and shape rules take priority over legacy layouts. */
.hype-train-lane{right:var(--train-right,2%)!important;bottom:calc(var(--train-footer,0px) + var(--train-bottom,2%))!important;height:var(--train-height,28px)!important}
.hype-train-lane>img{height:var(--train-height,28px)!important;width:var(--train-height,28px)!important;object-position:-9999px;background:var(--train-color,#efd300);mask:var(--train-asset) center/contain no-repeat;-webkit-mask:var(--train-asset) center/contain no-repeat}
.hype-train-lane[data-visual="Sparkle Gold"]>img{background:linear-gradient(90deg,#ad7920,#fff3ad,#bd8a22);background-size:250% 100%;animation:sa-gradient-pan 14s linear infinite}
.hype-train-lane[data-visual="Bi Rainbow Glitter"]>img{background:linear-gradient(90deg,#d93f9c,#8062ca,#4e96e9,#d93f9c);background-size:250% 100%;animation:sa-gradient-pan 14s linear infinite}
.hype-train-lane[data-visual="Midnight / Silver"]>img{background:linear-gradient(90deg,#61718b,#eff4ff,#61718b);background-size:250% 100%;animation:sa-gradient-pan 14s linear infinite}
.mod-runtime-bars{display:flex;gap:6px;min-width:0;align-items:center}.mod-runtime-bars:empty{display:none}.mod-runtime-bars>button{flex:1;min-width:0;padding:5px;font-size:12px;min-height:27px}.mod-runtime-bars .hype-slot{white-space:normal}
.mod-feed-row.tap-actions:not(.actions-open) .mod-feed-actions,.mod-row.tap-actions:not(.actions-open) .mod-feed-actions{display:none!important}
.hype-simulation-controls{display:flex;gap:5px;flex-wrap:wrap;padding:4px}.hype-simulation-controls button{min-height:30px;padding:4px}
.settings-full-field{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;width:100%;text-align:left;margin:14px 0}.settings-full-field textarea{width:100%;min-height:100px;box-sizing:border-box}
.rich-email-editor{min-height:130px;padding:12px;background:#14232e;border:1px solid #334b5c;border-radius:6px;overflow-wrap:anywhere}.rich-email-toolbar{display:flex;gap:5px;flex-wrap:wrap}.rich-email-toolbar button{padding:7px}.rich-email-preview{background:white;color:#17232c;padding:14px;border-radius:6px;overflow-wrap:anywhere}

html body .viewer-hype-banner[data-visual="Solid Color"]{background-image:none!important;background-color:var(--hype-color)!important}
html body .viewer-hype-banner[data-visual="Sparkle Gold"]{background-image:linear-gradient(90deg,#6a4715,#ddb66d,#fff6ba,#6a4715)!important}
html body .viewer-hype-banner[data-visual="Bi Rainbow Glitter"]{background-image:linear-gradient(90deg,#db329a,#6650bc,#337fe8,#db329a)!important}
html body .viewer-hype-banner[data-visual="Midnight / Silver"]{background-image:linear-gradient(90deg,#17233d,#93a3bd,#e1e5ef,#17233d)!important}
.editor-section summary>img{vertical-align:middle;margin-right:7px;object-fit:contain}

/* Use the text-effect sparkle layer, not the old dotted background. */
.viewer-hype-banner::after{display:none!important}
.hype-train-lane[data-type=mythic]>img{background:linear-gradient(90deg,#631c08,#ce3c0c,#ffb58b,#ce3c0c);background-size:250% 100%;animation:sa-linear-pan 15s linear infinite}
.hype-train-lane[data-type=treasure]>img{background:linear-gradient(90deg,#113d71,#3394bc,#bcefff,#3394bc);background-size:250% 100%;animation:sa-linear-pan 15s linear infinite}
.hype-train-lane[data-type=golden_kappa]>img{background:linear-gradient(90deg,#77500c,#e6bb57,#fff8d3,#e6bb57);background-size:250% 100%;animation:sa-linear-pan 15s linear infinite}

/* Both launchers share one anchor so Send stays just below and left of Smart Actions. */
html body .mod-floating-actions{position:fixed;right:16px;bottom:16px;width:116px;height:76px;z-index:14;pointer-events:none}
html body .mod-floating-actions>.smart-floating{position:absolute!important;float:none!important;right:0!important;top:0!important;bottom:auto!important;width:54px!important;height:54px!important;margin:0!important;pointer-events:auto}
html body .mod-floating-actions>.mod-compose-floating{position:absolute!important;right:64px!important;top:26px!important;bottom:auto!important;left:auto!important;margin:0!important;pointer-events:auto}
html body #viewerExtension .mod-floating-actions{position:sticky;bottom:8px;right:0;margin-left:auto;margin-top:8px}
@keyframes sa-gradient-pan{from{background-position:100% 50%}to{background-position:0% 50%}}

/* Backend repair 1: compact action overlay, anchored to the right of the existing row. */
html body .mod-suite .mod-feed-row.tap-actions{position:relative;padding-right:40px!important}
html body .mod-suite .mod-feed-row.tap-actions>.mod-row-expand,html body .mod-suite .mod-feed-row.actions-open>.mod-row-expand{position:absolute!important;right:5px!important;top:50%!important;transform:translateY(-50%);width:28px!important;min-width:28px!important;max-width:28px!important;height:32px!important;min-height:32px!important;padding:0!important;grid-column:auto!important;grid-row:auto!important;z-index:5;border-radius:5px!important;font-size:21px!important}
html body .mod-suite .mod-feed-row:is(.tap-actions,.has-swipes)>.mod-feed-actions{position:absolute!important;right:38px!important;top:0!important;bottom:0!important;width:calc(66.666% - 38px)!important;height:auto!important;display:flex!important;align-items:center!important;justify-content:space-evenly!important;gap:3px!important;margin:0!important;padding:0 3px!important;box-sizing:border-box;background:var(--v-bg,#101b26);border-radius:6px;z-index:4;grid-column:auto!important;box-shadow:-8px 0 9px -7px #101b26}
html body .mod-suite .mod-feed-row.tap-actions:not(.actions-open)>.mod-feed-actions{display:none!important}
html body .mod-suite .mod-feed-row:is(.tap-actions,.has-swipes)>.mod-feed-actions button{flex:0 1 34px!important;width:34px!important;min-width:0!important;max-width:34px!important;height:34px!important;min-height:28px!important;max-height:34px!important;aspect-ratio:1!important;padding:5px!important;display:grid!important;place-items:center!important}
html body .mod-suite .mod-feed-row:is(.tap-actions,.has-swipes)>.mod-feed-actions button img{width:21px!important;height:21px!important;max-width:100%!important;object-fit:contain}
html body .mod-suite .mod-feed-row:is(.tap-actions,.has-swipes)>.mod-feed-actions button span{display:none!important}

html body .mod-suite .mod-feed-row.has-swipes{position:relative}
html body .mod-suite .mod-feed-row.has-swipes:not(.swipe-open)>.mod-feed-actions{display:none!important}
html body .mod-suite .mod-feed-row.has-swipes.swipe-open>.mod-feed-actions{right:5px!important;width:calc(66.666% - 10px)!important}
