:root {
  --ground: #f2f4f1;
  --surface: #ffffff;
  --ink: #1c2830;
  --muted: #63717a;
  --faint: #9aa5a9;
  --line: #dde2dd;
  --hover: #e8ece7;
  --jade: #0e7a63;
  --jade-strong: #0a634f;
  --on-jade: #ffffff;
  --wash: #dcefe7;
  --danger: #b4432f;
  --toast-act: #8fdcc2;
  --shadow: 0 12px 32px rgba(20, 34, 40, 0.14), 0 1px 3px rgba(20, 34, 40, 0.08);
  --k-image: #2e78b8;
  --k-video: #8250b8;
  --k-audio: #b0447a;
  --k-pdf: #c0392f;
  --k-text: #57656e;
  --k-archive: #9a7414;
  --k-doc: #2d5eae;
  --k-sheet: #22805a;
  --k-slide: #c05f2a;
  --k-app: #4a5a66;
  --k-other: #7a858b;
  --font: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0f1517;
    --surface: #172024;
    --ink: #e2e8e5;
    --muted: #8d999d;
    --faint: #5d6a6f;
    --line: #243035;
    --hover: #1c272a;
    --jade: #45b896;
    --jade-strong: #5fcaa9;
    --on-jade: #04211a;
    --wash: #163830;
    --danger: #e8836c;
    --toast-act: #0e7a63;
    --shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.3);
    --k-image: #6aa8e0;
    --k-video: #b08ae0;
    --k-audio: #e07eae;
    --k-pdf: #ef7b70;
    --k-text: #9aa8b0;
    --k-archive: #d4ab4a;
    --k-doc: #7da3e8;
    --k-sheet: #5cc192;
    --k-slide: #ec9a66;
    --k-app: #94a4b0;
    --k-other: #a0aaaf;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
body.noscroll { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: color-mix(in srgb, var(--jade) 26%, transparent); }
:focus-visible { outline: 2px solid var(--jade); outline-offset: 2px; }

.i {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- buttons and inputs ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s, border-color 0.12s;
}
.btn:hover { background: var(--hover); }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn .i { width: 17px; height: 17px; }
.btn.primary { background: var(--jade); border-color: var(--jade); color: var(--on-jade); }
.btn.primary:hover { background: var(--jade-strong); border-color: var(--jade-strong); }
.btn.danger { color: var(--danger); }
.btn.danger-solid { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn.sm { height: 30px; padding: 0 10px; border-radius: 8px; font-size: 13px; }
.btn.sm .i { width: 15px; height: 15px; }
.btn.icon { width: 36px; padding: 0; justify-content: center; }
.btn.wide { width: 100%; height: 42px; justify-content: center; font-size: 15px; }
.btn.big { height: 44px; padding: 0 22px; border-radius: 11px; font-size: 15px; }
.btn.ghost-d { width: 30px; height: 30px; border-color: transparent; background: transparent; color: var(--muted); }
.btn.ghost-d:hover { background: var(--hover); color: var(--ink); }

.input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--ground);
  color: var(--ink);
  font-size: 15px;
  outline: none;
}
.input:focus {
  border-color: var(--jade);
  background: var(--surface);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--jade) 22%, transparent);
}
.mono { font-family: var(--mono); font-size: 13px; }

/* ---------- the disk: brand mark and storage meter in one ---------- */

.disk-big, .disk svg { overflow: visible; }
.track { fill: none; stroke: var(--line); }
.arc {
  fill: none;
  stroke: var(--jade);
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-box: fill-box;
  transform-origin: center;
}
.hub { fill: var(--ink); }

.disk {
  all: unset;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 8px 4px 4px;
  border-radius: 10px;
  cursor: pointer;
}
.disk:hover { background: var(--hover); }
.disk:focus-visible { outline: 2px solid var(--jade); outline-offset: 2px; }
.disk svg { width: 28px; height: 28px; }
.disk .track, .disk .arc { stroke-width: 3.4; }
.disk .arc { stroke-dasharray: 0 76; transition: stroke-dasharray 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
.disk.full .arc { stroke: var(--danger); }
.brand { font-size: 16px; font-weight: 650; letter-spacing: 0.02em; }

/* ---------- login ---------- */

.login { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 24px; }
.login-form { width: min(320px, 100%); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.disk-big { width: 76px; height: 76px; }
.disk-big .track, .disk-big .arc { stroke-width: 5; }
.disk-big .arc { stroke-dasharray: 0 164; animation: wind 1.2s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
@keyframes wind { to { stroke-dasharray: 112 164; } }
.login h1 { margin: 0 0 8px; font-size: 28px; font-weight: 650; letter-spacing: 0.04em; }
.login-err { min-height: 21px; margin: 0; color: var(--danger); font-size: 13.5px; text-align: center; }

/* ---------- top bar ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 22px;
  height: 58px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.tabs { display: flex; gap: 4px; align-self: stretch; }
.tabs a {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14.5px;
}
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--jade); }
.search { position: relative; margin-left: auto; width: 300px; }
.search-i { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); display: flex; pointer-events: none; }
.search input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 36px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  outline: none;
}
.search input:focus { border-color: var(--jade); box-shadow: 0 0 0 3px color-mix(in srgb, var(--jade) 20%, transparent); }

/* ---------- page head ---------- */

.main { max-width: 1100px; margin: 0 auto; padding: 30px 24px 160px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; min-height: 21px; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; padding: 1px 4px; margin: 0 -4px; border-radius: 6px; }
.crumbs a:hover { color: var(--ink); background: var(--hover); }
.crumbs a.drop-on { background: var(--wash); color: var(--jade); }
.sep { margin: 0 7px; color: var(--faint); }
.titlerow { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 4px; }
.titles { min-width: 0; flex: 1 1 320px; }
.title { margin: 0; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.18; font-weight: 650; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.summary { margin: 6px 0 0; color: var(--muted); font-size: 13px; white-space: pre-wrap; }
.actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.selcount { margin-right: 4px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

/* ---------- list ---------- */

.list { margin-top: 22px; }
.row {
  position: relative;
  display: grid;
  grid-template-columns: 32px 38px minmax(0, 1fr) 96px 136px 36px;
  align-items: center;
  column-gap: 10px;
  min-height: 54px;
  padding: 0 6px 0 2px;
  border-bottom: 1px solid var(--line);
  outline: none;
}
.row[data-path] { cursor: pointer; }
.row[data-path]:hover { background: var(--hover); }
.row:focus-visible { box-shadow: inset 0 0 0 2px var(--jade); }
.row.sel, .row.sel:hover { background: var(--wash); }
.row.drop-on { background: var(--wash); box-shadow: inset 0 0 0 2px var(--jade); }
.row.cols { min-height: 38px; font-size: 12.5px; color: var(--muted); }
.sort { all: unset; display: inline-flex; align-items: center; gap: 3px; cursor: pointer; color: var(--muted); }
.sort:hover, .sort.on { color: var(--ink); }
.sort:focus-visible { outline: 2px solid var(--jade); outline-offset: 2px; border-radius: 4px; }
.arrow { font-size: 11px; }

.c-check, .c-ico { display: grid; place-items: center; }
.c-name { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.c-size, .c-time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-size { text-align: right; }
.n { overflow: hidden; color: var(--ink); font-size: 14.5px; white-space: nowrap; text-overflow: ellipsis; text-decoration: none; }
.where, .meta { overflow: hidden; color: var(--muted); font-size: 12.5px; white-space: pre; text-overflow: ellipsis; }
.meta { display: none; }

.check {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 1.5px solid var(--faint);
  border-radius: 5px;
  background: var(--surface) center / 12px no-repeat;
  cursor: pointer;
  opacity: 0;
}
.check:checked {
  border-color: var(--jade);
  background-color: var(--jade);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.row:hover .check, .row:focus-within .check, .list.selecting .check, .check:focus-visible { opacity: 1; }

.more {
  all: unset;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
}
.row:hover .more, .row:focus-within .more, .more:focus-visible { opacity: 1; }
.more:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.more:focus-visible { outline: 2px solid var(--jade); }

@media (hover: none) {
  .check, .more { opacity: 1; }
}

.row.r-wide { grid-template-columns: 38px minmax(0, 1fr) auto; padding: 9px 6px 9px 4px; }
.r-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.row.dead .n { color: var(--muted); }

/* file type marks */
.ico { width: 32px; height: 32px; display: block; }
.ico.folder path {
  fill: color-mix(in srgb, var(--jade) 24%, var(--surface));
  stroke: var(--jade);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.ico.file .pg { fill: color-mix(in srgb, var(--k) 10%, var(--surface)); stroke: var(--k); stroke-width: 1.4; stroke-linejoin: round; }
.ico.file .fold { fill: none; stroke: var(--k); stroke-width: 1.4; stroke-linejoin: round; }
.ico.file text { fill: var(--k); font: 700 7.2px var(--font); letter-spacing: 0.02em; }
.k-image { --k: var(--k-image); }
.k-video { --k: var(--k-video); }
.k-audio { --k: var(--k-audio); }
.k-pdf { --k: var(--k-pdf); }
.k-text { --k: var(--k-text); }
.k-archive { --k: var(--k-archive); }
.k-doc { --k: var(--k-doc); }
.k-sheet { --k: var(--k-sheet); }
.k-slide { --k: var(--k-slide); }
.k-app { --k: var(--k-app); }
.k-other { --k: var(--k-other); }

/* empty states */
.empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 72px 16px; text-align: center; }
.empty-art svg { width: 76px; height: 76px; fill: none; stroke: var(--line); stroke-width: 2.4; }
.e1 { margin: 14px 0 0; font-size: 16px; font-weight: 600; }
.e2 { margin: 0 0 16px; color: var(--muted); }

/* ---------- menus ---------- */

.pop {
  position: fixed;
  z-index: 40;
  min-width: 180px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: pop-in 0.12s ease-out;
}
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px); } }
.pop-item {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}
.pop-item:hover, .pop-item:focus-visible { background: var(--hover); }
.pop-item .i { color: var(--muted); }
.pop-item.danger, .pop-item.danger .i { color: var(--danger); }
.pop hr { margin: 5px 4px; border: 0; border-top: 1px solid var(--line); }
.pop-disk { min-width: 230px; padding-top: 10px; }
.disk-row { display: flex; justify-content: space-between; gap: 24px; padding: 4px 12px; color: var(--muted); font-size: 13.5px; }
.disk-row b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- dialogs ---------- */

.dlg {
  width: min(460px, calc(100vw - 32px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.dlg::backdrop { background: rgba(12, 20, 23, 0.42); }
.dlg-form { display: flex; flex-direction: column; gap: 16px; padding: 22px 22px 18px; }
.dlg-title { margin: 0; font-size: 17px; font-weight: 650; overflow-wrap: anywhere; }
.dlg-body { display: flex; flex-direction: column; gap: 12px; }
.dlg-text { margin: 0; color: var(--muted); line-height: 1.6; white-space: pre-wrap; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; }
.share { display: flex; flex-direction: column; gap: 12px; }
.linkrow { display: flex; gap: 8px; }
.linkrow .input { flex: 1; min-width: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: 9px; }
.seg input:checked + span { border-color: var(--jade); background: var(--wash); color: var(--jade); font-weight: 600; }
.seg input:focus-visible + span { outline: 2px solid var(--jade); outline-offset: 2px; }
.share-go { display: flex; }

.picker { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.p-crumbs { display: flex; flex-wrap: wrap; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--ground); font-size: 13px; }
.p-crumbs .sep { margin: 0 2px; }
.p-crumb { all: unset; padding: 2px 6px; border-radius: 6px; color: var(--muted); cursor: pointer; }
.p-crumb:last-child { color: var(--ink); font-weight: 600; }
.p-crumb:hover { background: var(--hover); }
.p-list { max-height: 300px; overflow: auto; padding: 4px; }
.p-item { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border-radius: 8px; cursor: pointer; }
.p-item:hover { background: var(--hover); }
.p-item:disabled { opacity: 0.4; cursor: not-allowed; }
.p-item .ico { width: 26px; height: 26px; }
.p-empty { padding: 24px; color: var(--muted); font-size: 13px; text-align: center; }
.p-tools { display: flex; margin-top: 10px; }

/* ---------- viewer ---------- */

.viewer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  background: rgba(9, 13, 15, 0.95);
  color: #e6ecea;
}
.v-bar { display: flex; align-items: center; gap: 8px; padding: max(12px, env(safe-area-inset-top)) 16px 12px; }
.v-title { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.v-name { overflow: hidden; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.v-sub { color: #9aa7a5; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: pre; }
.btn.ghost { border-color: rgba(255, 255, 255, 0.18); background: transparent; color: #e6ecea; }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.v-stage { min-height: 0; display: grid; place-items: center; padding: 0 68px 24px; overflow: hidden; }
.v-stage > img, .v-stage > video { display: block; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; }
.v-stage > iframe { width: 100%; height: 100%; border: 0; border-radius: 6px; background: #fff; }
.v-text {
  width: min(960px, 100%);
  height: 100%;
  margin: 0;
  padding: 20px 22px;
  overflow: auto;
  border: 1px solid #243236;
  border-radius: 10px;
  background: #121a1d;
  color: #d9e2df;
  font: 13px/1.65 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.v-none, .v-audio { display: flex; flex-direction: column; align-items: center; gap: 16px; color: #b9c4c1; text-align: center; }
.v-none p { margin: 0; }
.v-big .ico { width: 96px; height: 96px; }
.v-audio audio { width: min(420px, 80vw); }
.v-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #e6ecea;
  cursor: pointer;
  transform: translateY(-50%);
}
.v-nav:hover { background: rgba(255, 255, 255, 0.14); }
.v-nav .i { width: 22px; height: 22px; }
.v-nav.prev { left: 12px; }
.v-nav.next { right: 12px; }

/* ---------- upload tray ---------- */

.tray {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  width: 370px;
  max-height: min(60vh, 520px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.t-head { display: flex; align-items: center; gap: 2px; padding: 12px 10px 10px 16px; }
.t-titles { flex: 1; min-width: 0; }
.t-title { font-weight: 600; }
.t-sub { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: pre; }
.t-bar, .t-mini { overflow: hidden; background: var(--line); }
.t-bar { height: 3px; margin: 0 16px 12px; border-radius: 2px; }
.t-mini { height: 2px; margin-top: 4px; border-radius: 1px; }
.t-bar i, .t-mini i { display: block; height: 100%; background: var(--jade); transition: width 0.25s linear; }
.t-list { overflow: auto; padding: 4px 0; border-top: 1px solid var(--line); }
.t-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 16px; }
.t-ico .ico { width: 26px; height: 26px; }
.t-main { flex: 1; min-width: 0; }
.t-name { overflow: hidden; font-size: 13.5px; white-space: nowrap; text-overflow: ellipsis; }
.t-line { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.s-fail .t-status { color: var(--danger); }
.s-done .t-status { color: var(--jade); }
.t-more { padding: 8px 16px; color: var(--muted); font-size: 12.5px; }

/* ---------- drop overlay and toast ---------- */

.drop {
  position: fixed;
  inset: 12px;
  z-index: 25;
  display: grid;
  place-items: center;
  border: 2px dashed var(--jade);
  border-radius: 18px;
  background: color-mix(in srgb, var(--wash) 84%, transparent);
  pointer-events: none;
}
.drop-text { padding: 0 24px; color: var(--jade); font-size: 20px; font-weight: 650; text-align: center; overflow-wrap: anywhere; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: calc(100vw - 32px);
  padding: 11px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--ground);
  box-shadow: var(--shadow);
  transform: translateX(-50%);
}
.toast-act { all: unset; color: var(--toast-act); font-weight: 650; cursor: pointer; white-space: nowrap; }
.toast-act:focus-visible { outline: 2px solid var(--toast-act); outline-offset: 2px; }

/* ---------- share page ---------- */

.s-bar { display: flex; align-items: center; gap: 12px; height: 58px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.s-brand { display: flex; align-items: center; gap: 9px; }
.s-brand svg { width: 26px; height: 26px; }
.s-brand .track, .s-brand .arc { stroke-width: 3.4; }
.s-brand .arc { stroke-dasharray: 52 76; }
.s-note { color: var(--muted); font-size: 13px; }
.s-file { display: flex; flex-direction: column; align-items: center; gap: 2px; max-width: 760px; margin: 18px auto 0; text-align: center; }
.s-preview { display: grid; place-items: center; width: 100%; margin-bottom: 20px; }
.s-preview img, .s-preview video { display: block; max-width: 100%; max-height: 62vh; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); }
.s-preview audio { width: min(420px, 100%); }
.s-preview .v-big .ico { width: 112px; height: 112px; }
.s-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.row.s-row { grid-template-columns: 38px minmax(0, 1fr) 96px 136px 36px; padding-left: 4px; }
.row.s-row .more { opacity: 0.75; }

/* ---------- small screens ---------- */

@media (max-width: 720px) {
  .bar { flex-wrap: wrap; height: auto; gap: 4px 12px; padding: 8px 14px 10px; }
  .tabs { min-height: 40px; }
  .search { order: 3; flex-basis: 100%; width: auto; margin: 0; }
  .main { padding: 20px 14px 160px; }
  .titlerow { flex-direction: column; align-items: stretch; }
  .titles { flex: none; }
  .actions { justify-content: flex-start; }
  .row { grid-template-columns: 30px 36px minmax(0, 1fr) 34px; column-gap: 8px; min-height: 58px; }
  .row.s-row { grid-template-columns: 36px minmax(0, 1fr) 34px; }
  .c-size, .c-time { display: none; }
  .meta { display: block; }
  .row.r-wide { grid-template-columns: 36px minmax(0, 1fr); }
  .row.r-wide .r-acts { grid-column: 2; justify-content: flex-start; padding-top: 6px; }
  .tray { left: 10px; right: 10px; bottom: 10px; width: auto; }
  .v-stage { padding: 0 8px 76px; }
  .v-nav { top: auto; bottom: 16px; transform: none; }
  .v-nav.prev { left: calc(50% - 56px); }
  .v-nav.next { right: calc(50% - 56px); }
  .v-bar .btn span { display: none; }
  .v-bar .btn { width: 36px; padding: 0; justify-content: center; }
  .s-bar { padding: 0 14px; }
}
@media (max-width: 400px) {
  .brand { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .disk-big .arc { stroke-dasharray: 112 164; }
}
