/* ===================================================================
   The interactive mini-Findin. Measured from a snapshot of the real app
   (Midnight look: #141416 window, #1D1D20 floating sidebar, #2A2A2D pills,
   #0A84FF accent, Mac blue folders).
   =================================================================== */

.stage {
  --w-bg: #141416; --w-side: #1D1D20; --w-pill: #2A2A2D; --w-pill-on: #47474A; --w-sel: #3A3A3D;
  --w-hover: rgba(255, 255, 255, .06); --w-line: rgba(255, 255, 255, .075);
  --w-fg: #F2F2F4; --w-fg2: #A1A1A6; --w-fg3: #6E6E73;
  --w-accent: #0A84FF; --w-on: #FFFFFF;
  --fold-back: #3D93DE; --fold-front: linear-gradient(#A6D2F7, #74B7EE);
  --w-op: 86%;
  --ts: 104px;               /* thumbnail size, changed by the slider */
}
.win {
  position: relative; z-index: 1;
  width: 90%; height: 86%;
  display: flex; gap: 0;
  color: var(--w-fg);
  font: 500 13px/1.3 "Inter", system-ui, sans-serif;
  background: color-mix(in srgb, var(--w-bg) var(--w-op), transparent);
  -webkit-backdrop-filter: blur(50px) saturate(1.6);
  backdrop-filter: blur(50px) saturate(1.6);
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 70px -20px rgba(0, 0, 0, .65);
  overflow: hidden; outline: none;
  user-select: none; -webkit-user-select: none;
  transition: background-color .5s var(--ease);
}
@supports (corner-shape: squircle) { .win.squircle { corner-shape: squircle; border-radius: 30px; } }
.win svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.win button { color: inherit; }

/* ---------- floating sidebar ---------- */
.m-side {
  width: 206px; flex: none; margin: 8px 0 8px 8px;
  display: flex; flex-direction: column;
  background: color-mix(in srgb, var(--w-side) calc(var(--w-op) + 6%), transparent);
  border-radius: 11px;
  box-shadow: 0 0 0 1px var(--w-line);
  overflow: hidden;
  transition: background-color .5s var(--ease);
}
.m-lights { display: flex; gap: 8px; padding: 16px 16px 12px; }
.m-lights i { width: 13px; height: 13px; border-radius: 50%; }
.m-lights i:nth-child(1) { background: #FF5F57; } .m-lights i:nth-child(2) { background: #FEBC2E; } .m-lights i:nth-child(3) { background: #28C840; }
.m-side__scroll { flex: 1; overflow: auto; padding: 0 8px 10px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.m-h { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 600; color: var(--w-fg3); margin: 12px 8px 4px; }
.m-hint { font-size: 11px; color: var(--w-fg3); opacity: .7; margin: 0 8px 4px; font-style: italic; }
.m-si {
  display: flex; align-items: center; gap: 9px; width: 100%;
  height: 29px; padding: 0 8px; border-radius: 7px;
  font-size: 13.5px; text-align: left; white-space: nowrap; overflow: hidden;
  transition: background-color .15s var(--ease);
}
.m-si:hover { background: var(--w-hover); }
.m-si.on { background: var(--w-sel); }
.m-si .gl { color: var(--w-accent); }
.m-si .gl.red { color: #FF6961; }
.m-si .tdot2 { width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin: 0 3px; }
.m-drive { padding: 4px 8px 6px; display: grid; gap: 4px; font-size: 12.5px; }
.m-drive small { font-size: 10.5px; color: var(--w-fg3); }
.m-bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: 2px; background: var(--w-accent); }
.m-bar i.full { background: #FF5A5F; }

/* small sidebar folder icon */
.sfold { width: 17px; height: 13px; position: relative; flex: none; margin-top: 1px; }
.sfold::before { content: ""; position: absolute; left: 0; top: -2px; width: 7px; height: 4px; border-radius: 1.5px 2px 0 0; background: var(--fc, #4A9BE3); filter: brightness(.82); }
.sfold::after { content: ""; position: absolute; inset: 0; border-radius: 2.5px; background: var(--fc, #4A9BE3); }
.sfold b { position: absolute; z-index: 1; inset: 2px 0 0; display: grid; place-items: center; font-size: 7px; color: rgba(255, 255, 255, .9); }

/* ---------- main column ---------- */
.m-main { flex: 1; min-width: 0; display: flex; flex-direction: column; position: relative; }
.m-tb { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 10px 0 12px; flex: none; }
.m-pill {
  display: flex; align-items: center; height: 31px; padding: 0 3px;
  background: var(--w-pill); border-radius: 9px;
  transition: background-color .5s var(--ease);
}
.m-b { height: 25px; min-width: 29px; padding: 0 6px; display: grid; grid-auto-flow: column; align-items: center; justify-content: center; gap: 2px; border-radius: 6px; color: var(--w-fg2); transition: background-color .15s, color .15s; }
.m-b:hover { color: var(--w-fg); background: rgba(255, 255, 255, .06); }
.m-b.on { background: var(--w-pill-on); color: var(--w-fg); }
.m-b:disabled { opacity: .35; pointer-events: none; }
.m-b svg { width: 15px; height: 15px; }
.m-b .chev { width: 9px; height: 9px; }
.m-title { flex: 1; min-width: 0; font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; margin-left: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-search { display: flex; align-items: center; gap: 6px; padding: 0 8px; width: 31px; overflow: hidden; transition: width .35s var(--spring); color: var(--w-fg2); cursor: text; }
.m-search.open { width: 190px; }
.m-search input { all: unset; flex: 1; min-width: 0; color: var(--w-fg); font-size: 12.5px; }
.m-search input::placeholder { color: var(--w-fg3); }

.m-tabs { display: flex; align-items: center; gap: 6px; height: 34px; padding: 4px 8px 6px 10px; border-top: 1px solid var(--w-line); flex: none; }
.m-tab {
  flex: 1; min-width: 0; height: 24px; position: relative;
  display: grid; place-items: center; padding: 0 22px;
  border-radius: 7px; font-size: 12.5px; color: var(--w-fg2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: background-color .2s var(--ease), color .2s;
  animation: tab-in .35s var(--spring) both;
}
@keyframes tab-in { from { opacity: 0; transform: scale(.9); } }
.m-tab:hover { background: rgba(255, 255, 255, .04); }
.m-tab.on { background: var(--w-pill); color: var(--w-fg); }
.m-tab .x { position: absolute; left: 6px; top: 4px; width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; opacity: 0; color: var(--w-fg2); font-size: 13px; line-height: 1; }
.m-tab:hover .x { opacity: 1; }
.m-tab .x:hover { background: rgba(255, 255, 255, .1); }
.m-tabplus { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; color: var(--w-fg2); font-size: 17px; }
.m-tabplus:hover { background: var(--w-hover); }

.m-body { flex: 1; min-height: 0; display: flex; border-top: 1px solid var(--w-line); position: relative; }
.m-content { flex: 1; min-width: 0; position: relative; overflow: hidden; }
.m-scroll { position: absolute; inset: 0; overflow: auto; padding: 6px 14px 22px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .18) transparent; }
.m-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: .5; filter: blur(30px) saturate(1.7); }
.m-glow > div { position: absolute; left: 14px; right: 14px; top: 6px; }
.m-empty { padding: 60px 0; text-align: center; color: var(--w-fg3); }

/* group headers */
.m-group { display: flex; align-items: center; gap: 8px; padding: 14px 4px 6px; cursor: pointer; }
.m-group svg { width: 10px; height: 10px; color: var(--w-fg3); transition: transform .3s var(--ease); }
.m-group.shut svg { transform: rotate(-90deg); }
.m-group b { font-size: 14px; font-weight: 700; }
.m-group span { color: var(--w-fg3); font-size: 12.5px; }
.m-group i { flex: 1; height: 1px; background: var(--w-line); margin-left: 6px; }

/* icons grid */
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(calc(var(--ts) + 22px), 1fr)); gap: 2px 4px; }
.m-tile {
  position: relative; display: flex; flex-direction: column; align-items: center;
  padding: 8px 4px 8px; border-radius: 10px;
  animation: m-in .45s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 18ms);
}
@keyframes m-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.m-tile .th { width: var(--ts); height: var(--ts); display: grid; place-items: center; position: relative; transition: transform .25s var(--ease), width .25s var(--ease), height .25s var(--ease); }
.m-tile:hover .th { transform: scale(1.045); }
.m-tile.sel .th::after { content: ""; position: absolute; inset: -5px; border-radius: 12px; background: var(--w-sel); z-index: -1; }
.m-name {
  margin-top: 7px; max-width: 100%; padding: 1px 6px; border-radius: 5px;
  font-size: 12.5px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.m-tile.sel .m-name { background: var(--w-accent); color: var(--w-on); }
.m-tile.sel .m-name .ext { color: inherit; opacity: .7; }
.ext { color: var(--w-fg3); }
.m-tags { position: absolute; top: 6px; right: calc(50% - var(--ts) / 2 - 6px); display: flex; gap: 2px; z-index: 2; }
.m-tags i, .m-ltags i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px var(--w-bg); }

/* thumbnails */
.th img.pic { width: 100%; height: 100%; object-fit: cover; border-radius: 9%; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .55); }
.th .vid { width: 100%; height: 62%; border-radius: 6px; background: var(--g); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .55); position: relative; display: grid; place-items: center; }
.th .vid::before { content: ""; border-left: 12px solid rgba(255, 255, 255, .92); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .4)); }
.th .vid::after { content: attr(data-len); position: absolute; right: 4px; bottom: 4px; font-size: 9.5px; font-weight: 700; padding: 0 4px; border-radius: 3px; background: rgba(0, 0, 0, .6); color: #fff; }
.th .aud { width: 74%; height: 74%; border-radius: 22%; background: linear-gradient(150deg, #FF8FB1, #9B5CF6); display: grid; place-items: center; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .5); }
.th .aud svg { width: 55%; height: 55%; stroke: #fff; stroke-width: 2.4; }
.th .doc { width: 66%; height: 84%; border-radius: 5px; background: #F4F4F6; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .5); position: relative; overflow: hidden; display: grid; place-items: end center; padding-bottom: 14%; }
.th .doc::before { content: ""; position: absolute; left: 14%; right: 14%; top: 14%; height: 34%; background: repeating-linear-gradient(#CFCFD4 0 2px, transparent 2px 7px); }
.th .doc span { position: relative; font-size: 10px; font-weight: 800; color: #fff; background: var(--c, #555); padding: 1px 6px; border-radius: 3px; }
.th .app { width: 72%; height: 72%; border-radius: 23%; background: var(--g); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: calc(var(--ts) * .3); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .5); }
.th .model { width: 86%; height: 86%; }
.th .model svg { width: 100%; height: 100%; stroke: none; }

/* Mac-style folder (back, optional peeking picture, front, first letter) */
.fold { position: relative; width: 96%; height: 74%; margin-top: 8%; }
.fold .fb { position: absolute; inset: 0; border-radius: 7% / 9%; background: var(--fold-back); }
.fold .fb::before { content: ""; position: absolute; left: 0; top: -9%; width: 40%; height: 20%; border-radius: 6px 8px 0 0; background: inherit; }
.fold .peek { position: absolute; left: 14%; right: 14%; top: -14%; height: 62%; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 2px #fff; }
.fold .ff { position: absolute; left: 0; right: 0; bottom: 0; top: 16%; border-radius: 7% / 10%; background: var(--fold-front); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45); display: grid; place-items: center; }
.fold .ff b { font-size: calc(var(--ts) * .3); font-weight: 700; color: rgba(255, 255, 255, .5); }
.fold.c { --fold-back: color-mix(in srgb, var(--fc) 78%, #000); --fold-front: linear-gradient(color-mix(in srgb, var(--fc) 70%, #fff), var(--fc)); }

/* list view */
.m-list { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.m-list th { position: sticky; top: -6px; z-index: 1; text-align: left; font-weight: 600; color: var(--w-fg3); font-size: 11.5px; padding: 8px 8px 6px; background: color-mix(in srgb, var(--w-bg) 96%, transparent); border-bottom: 1px solid var(--w-line); }
.m-list td { padding: 0 8px; height: 30px; white-space: nowrap; color: var(--w-fg2); }
.m-list td:first-child { color: var(--w-fg); display: flex; align-items: center; gap: 9px; height: 30px; }
.m-list tr.row:nth-child(even) td { background: rgba(255, 255, 255, .022); }
.m-list tr.row td:first-child { border-radius: 6px 0 0 6px; } .m-list tr.row td:last-child { border-radius: 0 6px 6px 0; }
.m-list tr.sel td { background: var(--w-accent) !important; color: var(--w-on); }
.m-list tr.sel .ext { color: inherit; opacity: .7; }
.m-list .mini { --ts: 20px; width: 20px; height: 20px; display: grid; place-items: center; }
.m-list .mini .vid::after, .m-list .mini .vid::before, .m-list .mini .ff b, .m-list .mini .doc span, .m-list .mini .doc::before { display: none; }
.m-list .mini .fold .fb::before { border-radius: 1px 2px 0 0; }
.m-list .mini .th { width: 20px; height: 20px; }
.m-list .mini .peek { display: none; }
.m-ltags { display: inline-flex; gap: 2px; margin-left: 4px; }

/* canvas view */
/* infinite canvas (pan / zoom / minimap / group areas), like the app's CanvasScroll */
.m-canvas { position: absolute; inset: 0; overflow: hidden; cursor: default; touch-action: none; }
.m-canvas.panning { cursor: grabbing; }
.m-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.m-world .m-tile { position: absolute; width: calc(var(--ts) + 26px); animation: none; cursor: default; }
.m-world .m-tile.drag { z-index: 5; pointer-events: none; }
.m-world .m-tile.drag .th { filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .5)); }
.m-zone { --zc: #FF9F0A; position: absolute; border-radius: 12px; background: color-mix(in srgb, var(--zc) 11%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--zc) 55%, transparent); }
.m-zone__bar { height: 31px; display: flex; align-items: center; gap: 4px; padding: 0 12px 0 8px; cursor: move; color: var(--zc); font-size: 13px; }
.m-zone__bar svg { width: 16px; height: 16px; }
.m-zone__bar b { flex: 1; font-weight: 600; }
.m-zone__bar span { opacity: .75; font-size: 12px; }
.m-minimap { position: absolute; z-index: 6; right: 14px; top: 12px; width: 220px; height: 158px; border-radius: 10px; background: color-mix(in srgb, var(--w-side) 92%, transparent); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 6px 18px -6px rgba(0, 0, 0, .5); }
.m-mm { position: absolute; left: 8px; right: 8px; top: 8px; bottom: 30px; overflow: hidden; cursor: pointer; }
.m-mm i { position: absolute; border-radius: 2px; background: var(--w-fg2); opacity: .5; }
.m-mm i.z { background: color-mix(in srgb, #FF9F0A 22%, transparent); box-shadow: inset 0 0 0 1px #FF9F0A; opacity: 1; }
.m-mm b { position: absolute; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--w-accent); background: color-mix(in srgb, var(--w-accent) 8%, transparent); }
.m-mmbar { position: absolute; left: 0; right: 0; bottom: 3px; display: flex; justify-content: center; align-items: center; color: var(--w-fg2); }
.m-mmbar button { width: 26px; height: 24px; display: grid; place-items: center; border-radius: 6px; font-size: 14px; }
.m-mmbar button:hover { background: var(--w-hover); color: var(--w-fg); }
.m-mmbar button svg { width: 13px; height: 13px; }
.m-zt { width: 46px; text-align: center; font-size: 11.5px; }
/* drag targets and the swinging card */
.m-tile.drop .th { transform: scale(1.12); }
.m-tile.drop .th::after { content: ""; position: absolute; inset: -5px; border-radius: 12px; z-index: -1; background: color-mix(in srgb, var(--w-accent) 35%, transparent); }
.m-list tr.drop td { background: color-mix(in srgb, var(--w-accent) 35%, transparent) !important; }
.m-si.drop { background: var(--w-accent); color: var(--w-on); }
.m-ghost { position: absolute; z-index: 50; pointer-events: none; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .55)); }
.m-ghost .th { width: calc(var(--ts) * .85); height: calc(var(--ts) * .85); display: grid; place-items: center; position: relative; --ts: inherit; }
.m-ghost.back { opacity: 0; transition: opacity .25s var(--ease); }

/* gallery view */
.m-gal { position: absolute; inset: 0; display: flex; flex-direction: column; }
.m-gal__big { flex: 1; min-height: 0; display: grid; place-items: center; padding: 16px; }
.m-gal__big > div { width: 100%; height: 100%; max-width: 560px; }
.m-strip { flex: none; display: flex; gap: 6px; overflow-x: auto; padding: 8px 14px 12px; scrollbar-width: none; }
.m-strip .m-tile { --ts: 54px; padding: 4px; flex: none; animation: none; }
.m-strip .m-name { display: none; }

/* bottom path bar */
.m-path { flex: none; display: flex; align-items: center; gap: 10px; height: 32px; padding: 0 12px; border-top: 1px solid var(--w-line); background: rgba(0, 0, 0, .14); font-size: 12px; color: var(--w-fg2); }
.m-crumbs { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.m-crumbs button { padding: 2px 4px; border-radius: 4px; }
.m-crumbs button:hover { background: var(--w-hover); color: var(--w-fg); }
.m-crumbs .sep { color: var(--w-fg3); font-size: 10px; }
.m-count { white-space: nowrap; color: var(--w-fg3); }
.m-size { display: flex; align-items: center; gap: 6px; color: var(--w-fg3); }
.m-size svg { width: 12px; height: 12px; }
.m-size input { -webkit-appearance: none; appearance: none; width: 84px; height: 4px; border-radius: 2px; background: linear-gradient(var(--w-accent), var(--w-accent)) 0 / var(--p, 50%) 100% no-repeat, rgba(255, 255, 255, .18); cursor: pointer; }
.m-size input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.m-size input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; }

/* ---------- Quick Look ---------- */
.m-ql { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; pointer-events: none; }
.m-ql__card {
  width: min(600px, 76%); padding: 0 0 10px;
  background: color-mix(in srgb, var(--w-bg) 82%, transparent);
  -webkit-backdrop-filter: blur(40px) saturate(1.5); backdrop-filter: blur(40px) saturate(1.5);
  border-radius: 14px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .13), 0 40px 80px -20px rgba(0, 0, 0, .75);
  opacity: 0; transform: scale(.85) translateY(14px);
  transition: opacity .18s var(--ease), transform .3s var(--ease);
}
.m-ql.open { pointer-events: auto; }
.m-ql.open .m-ql__card { opacity: 1; transform: none; transition: opacity .2s var(--ease), transform .5s var(--spring); }
.m-ql__top { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; }
.m-ql__top .x { width: 13px; height: 13px; border-radius: 50%; background: #FF5F57; cursor: pointer; flex: none; }
.m-ql__top b { flex: 1; text-align: center; font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-ql__view { margin: 0 10px; border-radius: 9px; overflow: hidden; aspect-ratio: 16 / 9; position: relative; background: #0B0B0D; display: grid; place-items: center; }
.m-ql__view .bigvid { position: absolute; inset: 0; background: var(--g); }
.m-ql__view .doc-big { width: 38%; height: 86%; background: #F4F4F6; border-radius: 4px; padding: 8% 6%; display: grid; gap: 6px; align-content: start; }
.m-ql__view .doc-big i { height: 5px; border-radius: 3px; background: #D2D2D7; }
.m-ql__view .doc-big i:nth-child(3n) { width: 70%; }
.m-ql__meta { display: flex; justify-content: space-between; padding: 8px 14px 0; font-size: 11.5px; color: var(--w-fg3); }
.m-player { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: #fff; padding: 6px 8px; border-radius: 8px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.m-player .pl { width: 0; height: 0; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.m-wave { flex: 1; height: 22px; display: flex; align-items: center; gap: 1.5px; position: relative; }
.m-wave i { flex: 1; border-radius: 1px; background: rgba(255, 255, 255, .35); }
.m-wave i.p { background: var(--w-accent); }
.m-wave i.q { opacity: .35; }
.m-audio { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 8%; }
.m-audio .card { display: flex; align-items: center; gap: 14px; }
.m-audio .card .art { width: 64px; height: 64px; border-radius: 14px; background: linear-gradient(150deg, #FF8FB1, #9B5CF6); display: grid; place-items: center; }
.m-audio .card .art svg { width: 34px; height: 34px; stroke: #fff; stroke-width: 2.4; }
.m-audio .card b { font-size: 16px; display: block; } .m-audio .card span { font-size: 12px; color: var(--w-fg3); }
.m-audio .m-wave { height: 70px; flex: none; }
.m-spin { width: 46%; aspect-ratio: 1; animation: spin3 9s linear infinite; }
@keyframes spin3 { to { transform: rotateY(360deg); } }
.m-openin { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; font-size: 11px; }
.m-openin span { padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); }

/* toast inside the window */
.m-toast { position: absolute; z-index: 40; left: 50%; bottom: 46px; transform: translate(-50%, 16px); opacity: 0; padding: 8px 14px; border-radius: 10px; background: color-mix(in srgb, var(--w-side) 92%, transparent); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 12px 30px -8px rgba(0, 0, 0, .6); font-size: 12.5px; white-space: nowrap; pointer-events: none; transition: opacity .25s, transform .45s var(--spring); }
.m-toast.show { opacity: 1; transform: translate(-50%, 0); }

.tip {
  position: absolute; z-index: 2; left: 50%; bottom: 1.6%; transform: translateX(-50%);
  font-size: 13px; color: rgba(255, 255, 255, .8); white-space: nowrap;
  transition: opacity .4s var(--ease);
}
.tip kbd { font: 650 11.5px "Inter", sans-serif; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, .16); color: #fff; }
.tip.gone { opacity: 0; }

@media (max-width: 900px) {
  .win { width: 94%; height: 90%; }
  .m-side { display: none; }
  .m-hide-sm { display: none !important; }
  .m-title { margin-left: 6px; }
  .m-size { display: none; }
}

.m-ql__view img { width: 100%; height: 100%; object-fit: contain; }
