/* 143: scoped repairs; keyboard focus and existing data/state are retained. */
html[data-mc-pointer] :is(a,button,[role="button"]){-webkit-tap-highlight-color:transparent}
html:root[data-mc-pointer][data-mc-pointer][data-mc-pointer] body :is(a,button,[role="button"]):focus{outline:none!important;box-shadow:none!important}
.c138-stories{overflow:hidden}
.c138-story-track{scrollbar-width:none}
.c138-story-track::-webkit-scrollbar{display:none}
html:root body #c138-viewer :is(.c138-view-caption,.c138-view-note,.c138-photo-message){background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;text-shadow:0 1px 5px #000,0 1px 12px #0009}
html:root body #c138-viewer .c138-view-caption{padding:0;border-radius:0}
html:root[data-b27-skin] body .c138-page :is(h1,h2,h3,p,label,small,.c138-muted,.c138-status){background:transparent!important;box-shadow:none!important}
html:root[data-b27-skin] body .c138-page :is(h1,h2,h3){font-family:var(--b27-ui-font,Montserrat),system-ui,sans-serif!important;color:var(--c138-ink)!important}
html:root[data-b27-skin] body .c138-page :is(input:not([type=checkbox]):not([type=range]),textarea,select){background:color-mix(in srgb,var(--c138-ink) 5%,var(--c138-bg))!important;border-radius:12px!important;color:var(--c138-ink)!important}
html:root[data-theme][data-b27-skin][data-b27-skin][data-b27-skin][data-b27-skin] body[data-dashboard] .dash-primary-pair{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch!important;gap:10px!important}
html:root[data-theme][data-b27-skin][data-b27-skin][data-b27-skin][data-b27-skin] body[data-dashboard] .dash-primary-pair>.dash-tile{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:60px!important;min-height:60px!important;margin:0!important;padding:8px!important;display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;grid-template-rows:1fr!important;gap:6px!important;align-items:center!important;align-content:center!important;transform:none!important}
html:root[data-theme][data-b27-skin][data-b27-skin][data-b27-skin][data-b27-skin] body[data-dashboard] .dash-primary-pair .dash-tile-copy>strong{font:700 12px/1.2 Montserrat,system-ui,sans-serif!important;letter-spacing:-.3px!important;white-space:nowrap!important;text-transform:none!important;background:transparent!important;padding:0!important;margin:0!important}
html:root[data-theme][data-b27-skin][data-b27-skin][data-b27-skin][data-b27-skin] body[data-dashboard] .dash-primary-pair .dash-tile-copy>small{font:500 11px/1.2 Montserrat,system-ui,sans-serif!important;background:transparent!important;padding:0!important;margin:0!important}
html:root body .r1-login[open]{inset:var(--mc-vtop,0px) 0 auto!important;width:100%!important;height:var(--mc-vh,100dvh)!important;max-height:none!important;margin:0!important;padding:8px 16px!important;display:flex!important;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden!important}
html:root body .r1-login .r1-login-surface{width:min(460px,100%);max-height:100%!important;min-height:0;box-sizing:border-box}
html:root body .r1-login .r1-login-body{min-height:0;overflow-y:auto;scroll-padding-block:12px;overscroll-behavior:contain}
html:root body .r1-login header{flex-shrink:0}
html:root body .r1-login input{font-size:16px!important;scroll-margin-block:12px}
@media(max-width:640px){html:root body .r1-login[open]{padding:8px 0 0!important;align-items:flex-end}html:root body .r1-login .r1-login-surface{width:100%}html:root body .r1-login[data-mc-keyboard] .r1-login-body{padding-bottom:16px}html:root body .r1-login[data-mc-keyboard] .r1-login-body>p:first-child{margin-bottom:12px;line-height:1.4}}
html:root body .mc143-build{display:block;margin:12px auto 0;padding:0;background:transparent!important;font:400 11px/1.5 system-ui,sans-serif!important;color:inherit;opacity:.75;text-align:center;letter-spacing:0;text-transform:none}
html:root body .mc143-footer{margin:32px 16px calc(110px + env(safe-area-inset-bottom));color:var(--c138-muted);text-align:center}
html.mc143-pull{overscroll-behavior-y:contain}
html:root body .mc143-refresh{position:fixed;z-index:2147483000;left:50%;top:calc(10px + env(safe-area-inset-top));transform:translate(-50%,-140%);max-width:calc(100% - 32px);display:flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid var(--c138-line);border-radius:24px;background:var(--c138-surface);color:var(--c138-ink);box-shadow:0 4px 24px #0002;font:500 13px/1.3 system-ui,sans-serif;pointer-events:none;transition:transform .18s ease,opacity .18s;opacity:0}
html:root body .mc143-refresh.is-visible{transform:translate(-50%,0);opacity:1}
.mc143-refresh img{width:30px;height:30px;object-fit:contain;border-radius:8px}
.mc143-refresh[aria-busy=true] img{animation:mc143-pulse .8s ease-in-out infinite alternate}
@keyframes mc143-pulse{to{opacity:.45;transform:scale(.88)}}
@media(prefers-reduced-motion:reduce){.mc143-refresh,.mc143-refresh img{animation:none!important;transition:none!important}}
html:root body .mc143-refresh{border:0;background:transparent;box-shadow:none;border-radius:0;padding:4px 8px;min-height:38px;top:calc(6px + env(safe-area-inset-top));font-size:13px}
.mc143-refresh span:empty{display:none}
html:root body .mc143-refresh[aria-busy=true] img{animation:mc143-pulse .8s ease-in-out infinite alternate}
html:root body[data-dashboard] .dash-feature--compact{grid-template-columns:104px minmax(0,1fr);align-items:center;padding:10px;gap:12px}
html:root body[data-dashboard] .dash-feature--compact .dash-feature-photo{width:104px;height:104px;min-height:0;aspect-ratio:1;border-radius:13px}
html:root body[data-dashboard] .dash-feature--compact .dash-feature-copy{padding:0;gap:5px;justify-content:center;align-self:center}
html:root body[data-dashboard] .dash-feature--compact .dash-feature-action,html:root body[data-dashboard] .dash-feature--compact .dash-feature-footer{margin-top:0}
html:root body[data-dashboard] .dash-feature--compact .dash-feature-footer{min-height:0;gap:5px}
html:root body[data-dashboard] .dash-feature--compact .dash-feature-status{padding:6px 8px}
html:root body[data-dashboard] .dash-breakfast-mark{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;width:32px;height:38px;left:7px;bottom:7px;border-radius:0}
html:root body[data-dashboard] .dash-breakfast-mark::after{inset:0}
@media(max-width:359px){html:root body[data-dashboard] .dash-feature--compact{grid-template-columns:84px minmax(0,1fr);gap:9px;padding:9px}html:root body[data-dashboard] .dash-feature--compact .dash-feature-photo{width:84px;height:84px}}
@media(prefers-reduced-motion:reduce){html[data-mc-pulling] main{transition:none!important}.mc143-refresh[aria-busy=true] img{animation:none!important}}
