/* Kambana OS - styles for system/features.js: desktops, clipboard history, screenshots,
   accessibility, notification groups, sharing and the extra Settings pages. */

/* ---------------------------------------------------------------- desktops */
.win.ws-off { display: none !important; }
.win.ws-leaving { pointer-events: none; }
.cb-tab.ws-hidden-tab { display: none !important; }
.cb-tab.ws-other { opacity: .62; }
.cb-tab.ws-other::before {
  content: attr(data-ws); position: absolute; top: 4px; left: 26px; min-width: 13px; height: 13px; padding: 0 3px; border-radius: 7px;
  font: 700 9px/13px var(--font); text-align: center; color: var(--accent-fg); background: var(--accent); box-sizing: border-box;
}
.cb-ws { height: 38px; padding: 0 10px; gap: 6px; font-weight: 700; font-size: 12.5px; color: var(--text-2); background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); border-radius: 19px; }
.cb-ws:hover { color: var(--text); background: var(--tile-hover); }
.cb-ws[hidden] { display: none; }

#ws-hud {
  position: absolute; z-index: 6700; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.94);
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 26px 14px; border-radius: 20px;
  pointer-events: none; opacity: 0; transition: opacity .18s, transform .25s var(--ease);
}
#ws-hud.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
#ws-hud.bump { animation: ws-bump .32s; }
#ws-hud b { font-size: 15px; font-weight: 700; }
.ws-hud-dots { display: flex; gap: 7px; }
.ws-hud-dots i { width: 26px; height: 17px; border-radius: 5px; background: var(--tile-hover); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s; }
.ws-hud-dots i.on { background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .7); }
@keyframes ws-bump { 0%, 100% { margin-left: 0; } 25% { margin-left: -10px; } 75% { margin-left: 10px; } }

#ws-strip {
  position: absolute; z-index: 4200; left: 50%; transform: translate(-50%, -14px); display: flex; gap: 16px; align-items: flex-start;
  max-width: calc(100vw - 32px); overflow-x: auto; padding: 4px 6px 6px; scrollbar-width: none; opacity: 0; transition: opacity .25s, transform .35s var(--ease);
}
#ws-strip::-webkit-scrollbar { display: none; }
#ws-strip.show { opacity: 1; transform: translate(-50%, 0); }
.ws-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 0 0 auto; }
.ws-thumb { padding: 0; border: 0; border-radius: 10px; background: none; cursor: pointer; box-shadow: 0 0 0 2px rgba(255, 255, 255, .18), 0 10px 26px -10px rgba(0, 0, 0, .7); transition: box-shadow .16s, transform .16s var(--ease); }
.ws-thumb:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px rgba(255, 255, 255, .5), 0 14px 30px -10px rgba(0, 0, 0, .7); }
.ws-card.on .ws-thumb { box-shadow: 0 0 0 3px var(--accent), 0 14px 30px -10px rgba(0, 0, 0, .7); }
.ws-mini { position: relative; display: block; overflow: hidden; border-radius: 10px; background: var(--wallpaper, #0d2a36); }
.ws-mwin { position: absolute; display: grid; place-items: center; border-radius: 3px; background: var(--glass-solid); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .4), 0 3px 8px -2px rgba(0, 0, 0, .5); overflow: hidden; }
.ws-mwin .appicon { box-shadow: none !important; }
.ws-mwin .rt-badge { display: none; }
.ws-name { max-width: 150px; font-size: 12.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: text; }
.ws-rename { width: 130px; font: 600 12.5px var(--font); padding: 3px 6px; border-radius: 6px; border: 1px solid var(--accent); background: var(--surface); color: var(--text); outline: none; text-align: center; }
.ws-x { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--glass-solid); color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .5), inset 0 0 0 1px var(--line-2); opacity: 0; transition: opacity .15s; cursor: pointer; }
.ws-card:hover .ws-x, .ws-x:focus-visible { opacity: 1; }
@media (hover: none) { .ws-x { opacity: 1; } }
.ws-x:hover { background: #e5484d; color: #fff; }
.ws-add { display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28); }
.ws-add:hover { background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); }
.ws-add-card .ws-name { opacity: .75; cursor: default; }

/* ------------------------------------------------------- clipboard history */
#clip-panel { position: absolute; z-index: 7600; display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: 18px; background: var(--glass-strong); animation: clip-in .18s var(--ease); }
#clip-panel.closing { opacity: 0; transform: translateY(6px); transition: opacity .14s, transform .14s; }
@keyframes clip-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.clip-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 0; }
.clip-head b { display: flex; align-items: center; gap: 7px; font-size: 14px; }
.clip-head-sp { flex: 1; }
.clip-head .icon-btn { width: 28px; height: 28px; }
.clip-search { width: 100%; box-sizing: border-box; }
.clip-list { flex: 1; min-height: 120px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 2px; }
.clip-item { position: relative; border-radius: 12px; padding: 9px 11px 6px; background: var(--tile); cursor: pointer; box-shadow: inset 0 0 0 1px transparent; transition: background .12s, box-shadow .12s; }
.clip-item.sel { background: var(--tile-hover); box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .8); }
.clip-item.pinned::before { content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.clip-text { font-size: 13px; line-height: 1.4; white-space: pre-wrap; word-break: break-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.clip-img { display: block; max-width: 100%; max-height: 110px; border-radius: 8px; object-fit: contain; background: repeating-conic-gradient(var(--line) 0 25%, transparent 0 50%) 0 0 / 14px 14px; }
.clip-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 3px; min-height: 26px; }
.clip-meta small { color: var(--text-3); font-size: 11px; }
.clip-acts { display: flex; gap: 2px; opacity: 0; transition: opacity .12s; }
.clip-item:hover .clip-acts, .clip-item.sel .clip-acts { opacity: 1; }
.clip-acts .icon-btn { width: 26px; height: 26px; }
.clip-pin.on { color: var(--accent); }
.clip-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 16px; color: var(--text-2); }
.clip-empty span { color: var(--text-3); }
.clip-empty small { color: var(--text-3); max-width: 240px; }
.clip-empty .btn { margin-top: 6px; }
.clip-foot { display: flex; gap: 14px; justify-content: center; font-size: 11px; color: var(--text-3); padding-top: 2px; }
.clip-foot span { display: inline-flex; align-items: center; gap: 4px; }

/* --------------------------------------------------------------- screenshot */
#shot-ui { position: absolute; inset: 0; z-index: 9850; cursor: crosshair; }
#shot-ui[data-mode="window"] { cursor: pointer; }
#shot-ui[data-mode="full"] { cursor: default; }
.shot-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, .22); transition: opacity .15s; }
#shot-ui[data-mode="area"] .shot-sel.on ~ .shot-dim, #shot-ui:has(.shot-sel.on) .shot-dim, #shot-ui:has(.shot-hl.on) .shot-dim { opacity: 0; }
.shot-sel, .shot-hl { position: absolute; display: none; pointer-events: none; }
.shot-sel.on, .shot-hl.on { display: block; }
.shot-sel { border: 1.5px solid #fff; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .38), 0 0 0 1px rgba(0, 0, 0, .4); }
.shot-hl { border-radius: var(--r-win); box-shadow: 0 0 0 9999px rgba(0, 0, 0, .38), 0 0 0 3px var(--accent); transition: left .08s, top .08s, width .08s, height .08s; }
.shot-size { position: absolute; right: 0; bottom: -26px; font: 600 11px/1 var(--mono); color: #fff; background: rgba(0, 0, 0, .7); padding: 5px 7px; border-radius: 6px; white-space: nowrap; }
.shot-hint { position: absolute; left: 50%; bottom: 156px; transform: translateX(-50%); padding: 8px 14px; border-radius: 99px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 13px; font-weight: 500; pointer-events: none; white-space: nowrap; }
.shot-bar { position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 16px; background: var(--glass-strong); cursor: default; max-width: calc(100vw - 24px); }
.shot-mode { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 0; border-radius: 11px; background: none; color: var(--text-2); font: 600 12.5px var(--font); cursor: pointer; white-space: nowrap; }
.shot-mode:hover { background: var(--hover); color: var(--text); }
.shot-mode[aria-pressed="true"] { background: rgba(var(--accent-rgb), .18); color: var(--text); box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .7); }
.shot-rec .ic { color: #e5484d; }
.shot-sep { width: 1px; height: 22px; background: var(--line-2); margin: 0 3px; }
.shot-go { height: 34px; }
.shot-go:disabled { opacity: .45; }
.shot-close { width: 34px; height: 34px; }

#shot-preview {
  position: absolute; z-index: 8700; right: 16px; bottom: 96px; width: 320px; box-sizing: border-box; padding: 10px; border-radius: 18px; background: var(--glass-strong);
  display: grid; grid-template-columns: 96px 1fr; gap: 6px 12px; align-items: center; animation: preview-in .35s var(--ease);
}
#shot-preview.out { opacity: 0; transform: translateX(30px); transition: all .25s; }
@keyframes preview-in { from { opacity: 0; transform: translateX(40px) scale(.96); } }
.sp-thumb { grid-row: span 2; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; height: 64px; box-shadow: 0 0 0 1px var(--line-2); }
.sp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-info { display: flex; flex-direction: column; min-width: 0; }
.sp-info b { font-size: 13px; }
.sp-info small { color: var(--text-3); font-size: 11.5px; }
.sp-acts { display: flex; gap: 4px; align-items: center; }
.sp-close { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; }
.sp-acts .btn { height: 28px; padding: 0 9px; font-size: 12px; gap: 5px; }
.sp-acts .icon-btn { width: 28px; height: 28px; }

#rec-pill, #tts-pill {
  position: absolute; z-index: 9860; left: 50%; top: 10px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--glass-strong); animation: clip-in .25s var(--ease);
}
#tts-pill { z-index: 8700; top: auto; bottom: 96px; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); animation: rec-pulse 1.4s infinite; }
.rec-time { font-family: var(--mono); min-width: 38px; }
@keyframes rec-pulse { 70% { box-shadow: 0 0 0 8px rgba(229, 72, 77, 0); } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); } }
.tts-wave { display: inline-flex; gap: 2px; align-items: center; height: 16px; }
.tts-wave i { width: 3px; height: 6px; border-radius: 2px; background: var(--accent); animation: tts-wave 1s infinite ease-in-out; }
.tts-wave i:nth-child(2) { animation-delay: .15s; } .tts-wave i:nth-child(3) { animation-delay: .3s; } .tts-wave i:nth-child(4) { animation-delay: .45s; }
@keyframes tts-wave { 50% { height: 16px; } }

/* ----------------------------------------------------------- accessibility */
/* Text size: scales app content, menus, dialogs, search, desktop icons and banners - not the window frames or bars,
   so window positions and snapping stay exact. */
[data-textsize] .win-body, [data-textsize] .menu > *, [data-textsize] .dialog, [data-textsize] .sp-box,
[data-textsize] .toast-pill, [data-textsize] .desk-icon, [data-textsize] #banners .notif, [data-textsize] .notif,
[data-textsize] .win-title-text, [data-textsize] .win-menus, [data-textsize] #clip-panel > *, [data-textsize] .lk-login { zoom: var(--ui-zoom, 1); }
[data-textsize] .menu { max-width: calc(320px * var(--ui-zoom, 1)); }

/* High contrast */
:root.a11y-contrast, :root.a11y-contrast[data-theme="dark"] {
  --text: #ffffff; --text-2: #ffffff; --text-3: #e6e6e6;
  --surface: #000000; --surface-2: #0b0b0b; --surface-3: #1a1a1a; --sidebar: #000000;
  --hover: rgba(255, 255, 255, .2); --press: rgba(255, 255, 255, .3);
  --line: rgba(255, 255, 255, .55); --line-2: rgba(255, 255, 255, .85);
  --glass: #000000; --glass-strong: #000000; --glass-solid: #000000; --glass-border: #ffffff; --glass-hi: none; --bar: #000000;
  --tile: rgba(255, 255, 255, .14); --tile-hover: rgba(255, 255, 255, .26);
  --topbar-bg: #000; --topbar-fg: #fff;
}
:root.a11y-contrast[data-theme="light"] {
  --text: #000000; --text-2: #000000; --text-3: #1f1f1f;
  --surface: #ffffff; --surface-2: #f5f5f5; --surface-3: #e8e8e8; --sidebar: #ffffff;
  --hover: rgba(0, 0, 0, .12); --press: rgba(0, 0, 0, .2);
  --line: rgba(0, 0, 0, .6); --line-2: rgba(0, 0, 0, .9);
  --glass: #ffffff; --glass-strong: #ffffff; --glass-solid: #ffffff; --glass-border: #000000; --glass-hi: none; --bar: #ffffff;
  --tile: rgba(0, 0, 0, .08); --tile-hover: rgba(0, 0, 0, .16);
  --topbar-bg: #fff; --topbar-fg: #000;
}
.a11y-contrast .glass, .a11y-contrast .glass-bar, .a11y-contrast .win-bar { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.a11y-contrast .win { outline: 2px solid var(--line-2); }
.a11y-contrast .win.focused { outline: 3px solid var(--accent); }
.a11y-contrast .btn, .a11y-contrast .input, .a11y-contrast .select, .a11y-contrast .chip, .a11y-contrast .menu, .a11y-contrast .cb-tab.active { box-shadow: inset 0 0 0 1.5px var(--line-2) !important; }
.a11y-contrast .muted, .a11y-contrast small { color: var(--text-2) !important; }
.a11y-contrast .desk-icon .di-name, .a11y-contrast .ws-name { background: #000; color: #fff; text-shadow: none; border-radius: 4px; padding: 0 4px; }
.a11y-contrast a, .a11y-contrast .link { text-decoration: underline; }

/* Keyboard focus highlight */
.a11y-focus :focus-visible { outline: 3px solid var(--accent) !important; outline-offset: 2px !important; box-shadow: 0 0 0 6px rgba(var(--accent-rgb), .35) !important; border-radius: 6px; }

/* Larger pointer */
.a11y-cursor, .a11y-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M5 3 L5 33 L13 25.5 L18.5 37 L23.5 34.8 L18 23.5 L29 23.5 Z' fill='%23000' stroke='%23fff' stroke-width='2.4' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto !important;
}
.a11y-cursor input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=button]), .a11y-cursor textarea, .a11y-cursor [contenteditable="true"], .a11y-cursor [contenteditable="true"] * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='40' viewBox='0 0 32 40'%3E%3Cpath d='M10 4h12M10 36h12M16 4v32' fill='none' stroke='%23fff' stroke-width='6' stroke-linecap='round'/%3E%3Cpath d='M10 4h12M10 36h12M16 4v32' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") 16 20, text !important;
}

/* Colour filters */
.a11y-f-grayscale #os { filter: grayscale(1); }
.a11y-f-invert #os { filter: invert(1) hue-rotate(180deg); }
.a11y-f-invert #os img, .a11y-f-invert #os video, .a11y-f-invert #wallpaper { filter: invert(1) hue-rotate(180deg); }
.a11y-f-protanopia #os { filter: url(#kf-protanopia); }
.a11y-f-deuteranopia #os { filter: url(#kf-deuteranopia); }
.a11y-f-tritanopia #os { filter: url(#kf-tritanopia); }

/* Magnifier */
.magnifying #os { will-change: transform; }
.magnifying body, html.magnifying { background: #000; }

/* On-screen keyboard */
#osk {
  position: absolute; z-index: 7700; left: 50%; bottom: 8px; transform: translateX(-50%); width: min(880px, calc(100vw - 16px)); box-sizing: border-box;
  padding: 8px; border-radius: 18px; background: var(--glass-strong); display: flex; flex-direction: column; gap: 6px; touch-action: none; animation: osk-in .25s var(--ease);
}
@keyframes osk-in { from { transform: translate(-50%, 30px); opacity: 0; } }
.osk-row { display: flex; gap: 6px; justify-content: center; }
.osk-key {
  flex: 1 1 0; min-width: 0; height: 46px; border: 0; border-radius: 10px; background: var(--surface-3); color: var(--text); font: 500 17px var(--font);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .35), inset 0 0 0 1px var(--line); cursor: pointer; transition: background .08s, transform .08s;
}
[data-theme="light"] .osk-key { background: #fff; }
.osk-key.fn { flex: 1.35 1 0; font-size: 15px; background: var(--tile-hover); }
.osk-key.wide { flex: 5 1 0; font-size: 12px; color: var(--text-3); }
.osk-key.on { background: var(--accent); color: var(--accent-fg); }
.osk-key.down { transform: scale(.94); background: var(--accent); color: var(--accent-fg); }
[data-layout="mobile"] #osk { bottom: 22px; width: 100vw; border-radius: 16px 16px 0 0; }
[data-layout="mobile"] .osk-key { height: 42px; font-size: 15px; }

/* ------------------------------------------------------------ power, safe */
#sleep-screen { position: absolute; inset: 0; z-index: 9950; background: #000; opacity: 0; transition: opacity .9s ease; cursor: none; }
#sleep-screen.show { opacity: 1; }
#sleep-screen.waking { opacity: 0; transition: opacity .35s; }
#safe-banner { position: absolute; z-index: 6400; left: 50%; top: 10px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px; border-radius: 99px; font-size: 12.5px; font-weight: 600; background: var(--glass-strong); max-width: calc(100vw - 24px); }
#safe-banner > span:first-child { color: #3fae6b; display: grid; }
[data-layout="dock"] #safe-banner { top: 40px; }

/* --------------------------------------------------- notification groups */
.ncg { display: flex; flex-direction: column; gap: 6px; }
.ncg-head { display: flex; align-items: center; gap: 8px; padding: 0 6px 0 8px; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.ncg-app { flex: 1; display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 12.5px; }
.ncg-app .appicon { box-shadow: none !important; }
.ncg-app .rt-badge { display: none; }
.ncg-count { font-size: 10.5px; font-weight: 700; padding: 1px 7px; border-radius: 99px; background: rgba(255, 255, 255, .22); text-shadow: none; }
.ncg-toggle { color: #fff; font-size: 12px; }
.ncg-clear { width: 22px; height: 22px; color: #fff; background: rgba(255, 255, 255, .16); border-radius: 50%; }
.ncg-clear:hover { background: rgba(255, 255, 255, .3); }
.ncg-items { display: flex; flex-direction: column; gap: 8px; position: relative; }
.ncg.stacked .ncg-items { padding-bottom: 10px; }
.ncg.stacked .ncg-items::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 14px; border-radius: 0 0 14px 14px; background: var(--glass); border: 1px solid var(--glass-border); border-top: 0; z-index: -1; }
.ncg-more { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); border: 0; padding: 2px 10px; border-radius: 99px; font: 600 11px var(--font); color: var(--text-2); background: var(--glass-strong); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; white-space: nowrap; }
.ncg-more:hover { color: var(--text); }

/* ------------------------------------------------------------------ share */
.share-sheet { width: min(420px, calc(100vw - 32px)); text-align: left; }
.share-what { margin: 0 0 6px; font-size: 12.5px; color: var(--text-2); word-break: break-all; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.share-acts { display: flex; flex-direction: column; gap: 4px; margin: 6px 0 2px; align-self: stretch; }
.share-act { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border: 0; border-radius: 12px; background: none; color: var(--text); text-align: left; cursor: pointer; font: inherit; }
.share-act:hover, .share-act:focus-visible { background: var(--hover); }
.share-act b { display: block; font-size: 13.5px; }
.share-act small { color: var(--text-3); font-size: 12px; }
.share-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(var(--accent-rgb), .16); color: var(--accent); flex: 0 0 auto; }

/* --------------------------------------------------------- settings bits */
.set-intro { margin: 0 4px 14px; font-size: 13px; line-height: 1.5; }
.a11y-size { display: flex; align-items: center; gap: 10px; }
.a11y-size small { font-size: 12px; color: var(--text-2); }
.a11y-size .a11y-big { font-size: 19px; font-weight: 600; color: var(--text-2); }
.a11y-size .range { width: 160px; }
.a11y-size-val { min-width: 42px; text-align: right; font-variant-numeric: tabular-nums; }
.a11y-inline { display: flex; gap: 8px; align-items: center; }
.sc-row .set-ctl { display: flex; align-items: center; gap: 12px; }
.sc-keys { display: inline-flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; }
.sc-keys .kbd { font-size: 11.5px; padding: 3px 8px; white-space: nowrap; }
.sc-acts { display: inline-flex; gap: 4px; align-items: center; }
.sc-foot { display: flex; justify-content: center; margin: 4px 0 18px; }
.sc-capture { margin: 6px auto 2px; min-width: 200px; padding: 14px 18px; border-radius: 12px; font: 600 18px var(--mono); text-align: center; background: var(--tile); box-shadow: inset 0 0 0 1.5px rgba(var(--accent-rgb), .7); }
.sc-msg { min-height: 36px; }
.fs-time { width: 120px; }
.upd-note { margin: 8px 0 0; font-size: 12.5px; text-align: center; }
.feat-sel { max-width: 260px; }
@media (max-width: 760px) {
  .a11y-size .range { width: 96px; }
  .a11y-size small, .a11y-size .a11y-big { display: none; }
  .feat-sel { max-width: 44vw; }
  .clip-foot { display: none; }
  .sc-row { flex-wrap: wrap; }
  .shot-mode span { display: none; }
  .shot-bar { bottom: 40px; }
  .shot-hint { bottom: 100px; }
  #shot-preview { left: 12px; right: 12px; width: auto; bottom: 40px; }
  #ws-strip { gap: 10px; }
}
