

:root {

  --taskbar-h: calc(34px + env(safe-area-inset-bottom, 0px));
  --face:    #c0c0c0;
  --light:   #ffffff;
  --shadow:  #808080;
  --dark:    #000000;
  --desk:    #008080;
  --title:   #000080;
  --title2:  #1084d0;
  --title-off: #7b7b7b;
  --sel:     #000080;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

html, body {
  margin: 0; padding: 0; height: 100%; overflow: hidden;
  background: var(--desk);
  font: 12px "MS Sans Serif", Tahoma, Geneva, Verdana, sans-serif;
  -webkit-font-smoothing: none;
  user-select: none;
}

.raised {
  border: 2px solid;
  border-color: var(--light) var(--shadow) var(--shadow) var(--light);
  box-shadow: inset 1px 1px 0 var(--face), inset -1px -1px 0 var(--dark);
  background: var(--face);
}
.sunken {
  border: 2px solid;
  border-color: var(--shadow) var(--light) var(--light) var(--shadow);
  box-shadow: inset 1px 1px 0 var(--dark), inset -1px -1px 0 var(--face);
  background: var(--face);
}

#desktop {
  position: absolute; inset: 0 0 var(--taskbar-h) 0;
  padding: 6px;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(auto-fill, 84px);
  grid-auto-columns: 86px;
  gap: 2px;
  align-content: start;
  justify-content: start;
}

.icon {
  width: 86px; height: 84px;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 4px; padding: 5px 2px 0 2px;
  cursor: default; text-align: center; color: #fff;
  background: none; border: 1px dotted transparent;
}
.icon svg { width: 36px; height: 36px; flex: none; }
.icon span {
  font-size: 11px; line-height: 1.15; padding: 1px 3px;
  text-shadow: 1px 1px 0 rgba(0,0,0,.6);
}
.icon.on span { background: var(--sel); text-shadow: none; }
.icon.on { border-color: #fff; }
.icon:focus { outline: none; }

.win {
  position: absolute; min-width: 220px; min-height: 120px;
  display: flex; flex-direction: column;
  padding: 3px;
}
.win.min { display: none; }
.win.max { inset: 0 0 var(--taskbar-h) 0 !important; width: auto !important; height: auto !important; }

.titlebar {
  height: 20px; flex: none;
  display: flex; align-items: center; gap: 4px;
  padding: 0 2px 0 3px;
  background: linear-gradient(90deg, var(--title), var(--title2));
  color: #fff; font-weight: bold; font-size: 11px;
  cursor: default;
}
.win.blur .titlebar { background: var(--title-off); }
.titlebar .t { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.titlebar svg { width: 14px; height: 14px; flex: none; }

.tbtn {
  width: 17px; height: 15px; flex: none; padding: 0;
  font: bold 10px "MS Sans Serif", Tahoma, sans-serif; line-height: 1;
  display: grid; place-items: center; cursor: default;
}
.tbtn:active { border-color: var(--shadow) var(--light) var(--light) var(--shadow); }

.menubar {
  flex: none; display: flex; gap: 2px; padding: 2px 1px;
  border-bottom: 1px solid var(--shadow);
}
.menubar span { padding: 1px 6px; }
.menubar span:hover { background: var(--sel); color: #fff; }

.body {
  flex: 1; overflow: auto; margin: 2px;
  background: #fff; color: #000; padding: 8px;
  line-height: 1.45; user-select: text;
}
.body.grey { background: var(--face); padding: 10px; }
.body.flat { padding: 0; background: var(--face); overflow: hidden; }
.body p { margin: 0 0 9px; }
.body h3 { margin: 0 0 8px; font-size: 13px; }
.body ul { margin: 0 0 9px; padding-left: 20px; }
.body li { margin-bottom: 3px; }
.body a { color: #0000ee; }

.statusbar {
  flex: none; height: 20px; margin: 0 2px 2px;
  display: flex; gap: 2px; font-size: 11px;
}
.statusbar div { padding: 2px 5px; overflow: hidden; white-space: nowrap; }
.statusbar div:first-child { flex: 1; }

#taskbar {
  position: absolute; left: 0; right: 0; bottom: 0; height: var(--taskbar-h);
  display: flex; align-items: center; gap: 4px; padding: 3px;

  padding-bottom: calc(3px + env(safe-area-inset-bottom, 0px));
  background: var(--face);
  border-top: 2px solid var(--light);
}
#start {
  flex: none; height: 24px; padding: 0 7px 0 4px;
  display: flex; align-items: center; gap: 4px;
  font-weight: bold; font-size: 12px; cursor: default;
}
#start svg { width: 17px; height: 17px; }
#start.on { border-color: var(--shadow) var(--light) var(--light) var(--shadow); }

#tasks { flex: 1; display: flex; gap: 3px; overflow: hidden; }
.task {
  flex: 0 1 150px; height: 24px; min-width: 40px;
  display: flex; align-items: center; gap: 4px; padding: 0 6px;
  font-size: 11px; overflow: hidden; white-space: nowrap; cursor: default;
}
.task svg { width: 14px; height: 14px; flex: none; }
.task span { overflow: hidden; text-overflow: ellipsis; }
.task.on { border-color: var(--shadow) var(--light) var(--light) var(--shadow); font-weight: bold; }

#tray { flex: none; height: 24px; display: flex; align-items: center; padding: 0 8px; font-size: 11px; }

#startmenu {
  position: absolute; left: 3px; bottom: 37px; width: 212px; padding: 3px;
  display: none;
}
#startmenu.open { display: flex; }
#startmenu .spine {
  width: 23px; flex: none; margin-right: 3px;
  background: linear-gradient(0deg, var(--title2), var(--title));
  color: #fff; font-weight: bold; font-size: 15px; letter-spacing: 1px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 6px;
}
#startmenu ul { flex: 1; list-style: none; margin: 0; padding: 0; }
#startmenu li {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 6px; font-size: 12px; cursor: default;
}
#startmenu li svg { width: 20px; height: 20px; flex: none; }
#startmenu li:hover { background: var(--sel); color: #fff; }
#startmenu hr { border: none; border-top: 1px solid var(--shadow); border-bottom: 1px solid var(--light); margin: 3px 2px; }

.btn {
  min-width: 70px; height: 23px; padding: 0 10px;
  font: 11px "MS Sans Serif", Tahoma, sans-serif; cursor: default;
}
.btn:active { border-color: var(--shadow) var(--light) var(--light) var(--shadow); }
.row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

.marquee95 { overflow: hidden; white-space: nowrap; }
.marquee95 > span { display: inline-block; padding-left: 100%; animation: m95 14s linear infinite; }
@keyframes m95 { to { transform: translateX(-100%); } }

#dd-canvas { background: #fff; cursor: crosshair; touch-action: none; display: block; }
.dd-tools { display: flex; gap: 3px; padding: 4px; align-items: center; flex-wrap: wrap; }
.dd-swatch { width: 18px; height: 18px; padding: 0; cursor: default; }
.dd-swatch.on { outline: 2px solid #000; outline-offset: -4px; }

#bs-grid { display: grid; gap: 0; margin: 6px auto; width: max-content; }
.bs-cell {
  width: 20px; height: 20px; padding: 0; font: bold 12px "MS Sans Serif", Tahoma, sans-serif;
  display: grid; place-items: center; cursor: default; line-height: 1;
}
.bs-cell.open { border: 1px solid var(--shadow); box-shadow: none; background: var(--face); }
.bs-cell.boom { background: #f00; }
.n1 { color: #0000ff } .n2 { color: #008000 } .n3 { color: #ff0000 } .n4 { color: #000080 }
.n5 { color: #800000 } .n6 { color: #008080 } .n7 { color: #000000 } .n8 { color: #808080 }
.bs-head { display: flex; justify-content: space-between; align-items: center; padding: 5px; }
.bs-lcd { background: #000; color: #f00; font: bold 15px "Courier New", monospace; padding: 2px 5px; letter-spacing: 1px; }

#msg-log { height: 100%; overflow: auto; }
.msg-line { margin-bottom: 7px; }
.msg-who { font-weight: bold; color: #0046d5; }
.msg-who.me { color: #c00; }
.msg-nudge { animation: nudge .4s 2; }
@keyframes nudge { 25% { transform: translate(5px, 3px) } 75% { transform: translate(-5px, -3px) } }

.ie-bar { display: flex; gap: 4px; padding: 4px; align-items: center; }
.ie-bar input { flex: 1; height: 20px; border: none; background: #fff; padding: 0 4px; font: 11px Tahoma, sans-serif; }
.ie-page { background: #fff; padding: 12px; height: 100%; overflow: auto; }
.ie-page h2 { font-family: "Comic Sans MS", cursive; color: #c0f; margin: 0 0 10px; }
.webring { border: 3px ridge #f0f; padding: 8px; margin: 12px 0; text-align: center; background: #ffffe0; }

#shutdown {
  position: absolute; inset: 0; z-index: 9999; display: none;
  background: #000; color: #ffa500;
  align-items: center; justify-content: center; text-align: center;
  font: bold 20px "Courier New", monospace; line-height: 1.8;
}
#shutdown.on { display: flex; }

@media (max-width: 700px) {
  #desktop { grid-template-rows: repeat(auto-fill, 80px); grid-auto-columns: 78px; }
  .icon { width: 78px; height: 80px; }
  .win { inset: 0 0 var(--taskbar-h) 0 !important; width: auto !important; height: auto !important; }
  .task { flex-basis: 110px; }
  #tray { display: none; }
}

.menubar span { position: relative; cursor: default; }
.menubar span.open { background: var(--sel); color: #fff; }
.menubar u { text-decoration: underline; }

.dropdown {
  position: fixed; z-index: 9000; min-width: 150px; padding: 2px;
  display: none; font-size: 12px;
}
.dropdown.open { display: block; }
.dropdown div {
  display: flex; align-items: center; gap: 10px;
  padding: 3px 18px 3px 20px; white-space: nowrap; cursor: default;
}
.dropdown div:hover:not(.sep):not(.off) { background: var(--sel); color: #fff; }
.dropdown div.off { color: var(--shadow); text-shadow: 1px 1px 0 var(--light); }
.dropdown div.off:hover { background: none; }
.dropdown .key { margin-left: auto; opacity: .75; font-size: 11px; }
.dropdown .sep {
  padding: 0; margin: 3px 2px; height: 2px;
  border-top: 1px solid var(--shadow); border-bottom: 1px solid var(--light);
}
.dropdown .tick { width: 10px; margin-left: -14px; }

.dlg { position: absolute; z-index: 9500; width: 330px; padding: 3px; }
.dlg .dbody { display: flex; gap: 14px; padding: 16px 14px 10px; align-items: flex-start; }
.dlg .dbody svg { width: 32px; height: 32px; flex: none; }
.dlg .dtext { font-size: 12px; line-height: 1.5; user-select: text; }
.dlg .dbtns { display: flex; gap: 7px; justify-content: center; padding: 4px 10px 12px; }
.dlg .btn.def { border-width: 2px; outline: 1px solid #000; outline-offset: 1px; }

#ctx { position: fixed; z-index: 9800; min-width: 160px; padding: 2px; display: none; }
#ctx.open { display: block; }

.grip {
  position: absolute; right: 2px; bottom: 2px; width: 16px; height: 16px;
  cursor: nwse-resize; z-index: 5;
  background:
    linear-gradient(135deg, transparent 46%, var(--shadow) 46%, var(--shadow) 54%, transparent 54%),
    linear-gradient(135deg, transparent 66%, var(--shadow) 66%, var(--shadow) 74%, transparent 74%);
}
.win.max .grip, .dlg .grip { display: none; }
@media (max-width: 700px) { .grip { display: none; } }

.filelist { width: 100%; border-collapse: collapse; font-size: 11px; user-select: none; }
.filelist th {
  text-align: left; font-weight: normal; padding: 2px 6px; position: sticky; top: 0;
  background: var(--face); border: 1px solid;
  border-color: var(--light) var(--shadow) var(--shadow) var(--light);
}
.filelist td { padding: 2px 6px; white-space: nowrap; }
.filelist tr.on td { background: var(--sel); color: #fff; }
.filelist td:first-child { display: flex; align-items: center; gap: 5px; }
.filelist svg { width: 15px; height: 15px; flex: none; }

#tray { gap: 6px; }
#tray svg { width: 15px; height: 15px; }

body.busy, body.busy * { cursor: progress !important; }

.tbtn.mini { position: relative; }
.tbtn.mini::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 7px; height: 2px; background: #000;
}
.tbtn.mini:active::before { transform: translate(-50%, -50%) translate(1px, 1px); }

.tbtn.maxi { position: relative; }
.tbtn.maxi::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 9px; height: 8px;
  border: 1px solid #000; border-top-width: 2px;
}
.tbtn.maxi:active::before { transform: translate(-50%, -50%) translate(1px, 1px); }

.gv { display: flex; flex-direction: column; }

.gv-tabs { display: flex; gap: 2px; padding: 4px 4px 0; flex: none; }
.gv-tab {
  padding: 3px 12px; font: 11px "MS Sans Serif", Tahoma, sans-serif; cursor: default;
  background: var(--face); border: 2px solid;
  border-color: var(--light) var(--shadow) var(--face) var(--light);
  border-radius: 3px 3px 0 0; margin-bottom: -2px; position: relative;
}
.gv-tab.on { font-weight: bold; background: #cfe8c0; padding-bottom: 5px; z-index: 2; }

.gv-pane { display: none; flex: 1; min-height: 0; margin: 0 3px 3px; }
.gv-pane.on { display: flex; }

.gv-side {
  width: 156px; flex: none; padding: 7px; margin-right: 3px;
  display: flex; flex-direction: column; gap: 5px;
}
.gv-label { font-size: 11px; font-weight: bold; }
.gv-field { display: flex; background: #fff; }
.gv-field input { flex: 1; border: none; background: none; padding: 3px; font: 11px Tahoma, sans-serif; width: 100%; }
.gv-side select { font: 11px Tahoma, sans-serif; padding: 2px; background: #fff; border: none; }
.gv-nag {
  margin-top: auto; padding: 7px; text-align: center; font-size: 10px; line-height: 1.5;
  background: #cfe8c0; cursor: default;
}
.gv-nag b { color: #1d6b1d; font-size: 12px; }

.gv-results, .gv-full { flex: 1; overflow: auto; background: #fff; min-height: 60px; }

.gv-bar { width: 118px; height: 11px; background: #fff; border: 1px solid var(--shadow); padding: 1px; }
.gv-bar i {
  display: block; height: 100%;
  background: repeating-linear-gradient(90deg, var(--title) 0 6px, transparent 6px 8px);
}
.gv-dead { color: #a00; }
.gv-done { color: #080; }

.tp { display: flex; flex-direction: column; }

.tp-head {
  display: flex; align-items: center; gap: 10px;
  margin: 4px; padding: 5px 8px;
  background: #0a140a; color: #3bd44a;
  border: 2px solid; border-color: var(--shadow) var(--light) var(--light) var(--shadow);
  font-family: "Courier New", monospace;
}
.tp-time { font-size: 21px; font-weight: bold; letter-spacing: 1px; cursor: default; }
.tp-meta { flex: 1; min-width: 0; font-size: 11px; }
.tp-title { overflow: hidden; white-space: nowrap; }
.tp-title > span { display: inline-block; padding-left: 100%; animation: tpm 11s linear infinite; }
@keyframes tpm { to { transform: translateX(-100%); } }
.tp-rate { opacity: .75; margin-top: 2px; font-size: 10px; }

#tp-vis { display: block; margin: 0 4px; background: #000; width: calc(100% - 8px); height: 70px; cursor: pointer; }

.tp-seek {
  height: 13px; margin: 4px; padding: 1px; background: #0a140a;
  border: 2px solid; border-color: var(--shadow) var(--light) var(--light) var(--shadow);
  cursor: pointer;
}
.tp-seek i { display: block; height: 100%; width: 0;
  background: repeating-linear-gradient(90deg, #3bd44a 0 3px, #0a140a 3px 5px); }

.tp-ctl { display: flex; align-items: center; gap: 3px; padding: 0 4px 4px; }
.tp-b { min-width: 30px; width: 30px; height: 22px; padding: 0; font-size: 10px; line-height: 1; }
.tp-b.pausebtn { position: relative; }
.tp-b.pausebtn::before, .tp-b.pausebtn::after {
  content: ""; position: absolute; top: 50%; width: 3px; height: 9px; background: #000;
  transform: translateY(-50%);
}
.tp-b.pausebtn::before { left: 11px; }
.tp-b.pausebtn::after  { right: 11px; }
.tp-vlab { font-size: 10px; margin-left: 6px; }
.tp-vol {
  flex: 1; height: 13px; padding: 1px; background: #0a140a; cursor: pointer;
  border: 2px solid; border-color: var(--shadow) var(--light) var(--light) var(--shadow);
}
.tp-vol i { display: block; height: 100%;
  background: repeating-linear-gradient(90deg, #3bd44a 0 3px, #0a140a 3px 5px); }

.tp-plhead { font-size: 11px; font-weight: bold; padding: 3px 6px; margin: 0 4px; }
.tp-pl {
  flex: 1; min-height: 46px; overflow: auto; margin: 0 4px 4px; background: #0a140a;
  border: 2px solid; border-color: var(--shadow) var(--light) var(--light) var(--shadow);
}
.tp-pl table { width: 100%; border-collapse: collapse; font: 11px "Courier New", monospace; color: #3bd44a; }
.tp-pl td { padding: 2px 6px; white-space: nowrap; cursor: default; }
.tp-pl td:last-child { text-align: right; opacity: .8; }
.tp-pl tr.on td { background: #15361a; color: #9cff9c; }
.tp-pl tr.playing td { color: #ffffff; font-weight: bold; }

.df { display: flex; flex-direction: column; }
#df-grid { display: block; width: 100%; height: auto; background: #fff;
  border: 2px solid; border-color: var(--shadow) var(--light) var(--light) var(--shadow); }
.df-bar { height: 15px; margin-top: 8px; padding: 1px; background: #fff; }
.df-bar i { display: block; height: 100%; width: 0;
  background: repeating-linear-gradient(90deg, var(--title) 0 7px, transparent 7px 9px); }
.df-pct { text-align: center; font-size: 11px; margin-top: 4px; }
.df-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 7px; font-size: 10px; }
.df-legend span { display: flex; align-items: center; gap: 4px; }
.df-legend b { width: 11px; height: 11px; border: 1px solid #000; display: block; }

.mb { display: flex; }
.mb-cols { display: flex; flex: 1; gap: 3px; margin: 3px; min-height: 0; }
.mb-folders { width: 128px; flex: none; background: #fff; overflow: auto; }
.mb-folders ul { list-style: none; margin: 0; padding: 4px 0; }
.mb-folders li {
  display: flex; align-items: center; gap: 5px; padding: 3px 7px; font-size: 11px; cursor: default;
}
.mb-folders li svg { width: 14px; height: 14px; flex: none; }
.mb-folders li.on { background: var(--sel); color: #fff; }
.mb-folders li b { margin-left: auto; font-size: 10px; }
.mb-right { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mb-list { height: 44%; overflow: auto; background: #fff; }
.mb-list tr.unread td { font-weight: bold; }
.mb-read { flex: 1; overflow: auto; background: #fff; padding: 9px; font-size: 11px; line-height: 1.55; user-select: text; }
.mb-empty { color: #666; }
.mb-hdr { border-bottom: 1px solid #ccc; padding-bottom: 6px; margin-bottom: 8px; }
.mb-hdr div { margin-bottom: 2px; }
.mb-body { white-space: pre-wrap; font-family: "Courier New", monospace; }
.mb-att {
  margin-top: 10px; padding: 6px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--face); cursor: default;
  border: 2px solid; border-color: var(--light) var(--shadow) var(--shadow) var(--light);
}
.mb-att svg { width: 16px; height: 16px; }

.vs { display: flex; flex-direction: column; }
.vs-head { display: flex; gap: 10px; align-items: center; margin-bottom: 9px; }
.vs-icon { width: 34px; height: 34px; flex: none; }
.vs-now {
  background: #fff; padding: 4px 6px; font: 10px "Courier New", monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vs-found { flex: 1; min-height: 50px; margin-top: 8px; overflow: auto; background: #fff; }

.calc { display: flex; flex-direction: column; }
.calc-disp {
  background: #fff; text-align: right; padding: 4px 7px;
  font: 17px "Courier New", monospace; overflow: hidden; white-space: nowrap;
}
.calc-mem { height: 15px; font-size: 10px; padding: 2px 3px; }
.calc-pad { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.calc-pad button { font: bold 12px "MS Sans Serif", Tahoma, sans-serif; cursor: default; padding: 0; }
.calc-pad .num { color: #000080; }
.calc-pad .op { color: #c00000; }
.calc-pad .fn { color: #800080; }

.cm { display: flex; flex-direction: column; }
.cm-grid { flex: 1; background: #fff; overflow: auto; display: grid;
  grid-template-columns: repeat(20, 1fr); }
.cm-cell {
  aspect-ratio: 1; display: grid; place-items: center; font-size: 13px;
  border-right: 1px solid #e0e0e0; border-bottom: 1px solid #e0e0e0; cursor: default;
}
.cm-cell:hover { background: var(--sel); color: #fff; }
.cm-out { flex: 1; background: #fff; display: flex; }
.cm-out input { flex: 1; border: none; background: none; padding: 3px; font-size: 14px; width: 100%; }

.disp { display: flex; flex-direction: column; align-items: stretch; }
.disp-mon {
  width: 186px; margin: 0 auto; padding: 10px 10px 16px; border-radius: 7px;
  background: var(--face);
  border: 2px solid; border-color: var(--light) var(--shadow) var(--shadow) var(--light);
  position: relative;
}
.disp-mon::after {
  content: ""; position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%);
  width: 56px; height: 9px; background: var(--face); border: 2px solid;
  border-color: var(--light) var(--shadow) var(--shadow) var(--light);
}
.disp-screen { background: #000; padding: 2px; }
#sv-preview { display: block; width: 100%; height: auto; background: #000; }
.disp select { font: 11px Tahoma, sans-serif; padding: 2px; background: #fff; border: none; }

#saver { position: fixed; inset: 0; z-index: 99999; display: none; background: #000; cursor: none; }
#saver.on { display: block; }
#sv-canvas { display: block; width: 100%; height: 100%; }

.sv-track { flex: 1; height: 15px; padding: 1px; background: #fff; position: relative; cursor: pointer; }
.sv-track i { display: block; height: 100%; width: 50%;
  background: repeating-linear-gradient(90deg, var(--title) 0 5px, transparent 5px 7px); }
.sv-track b {
  position: absolute; top: -2px; width: 11px; height: 17px; margin-left: -5px;
  left: 50%; cursor: pointer; display: block;
}

@media (max-width: 700px) {

  #dd-canvas { max-width: 100%; height: auto; }
  .dd-tools { gap: 2px; }

  .mb-cols { flex-direction: column; }
  .mb-folders { width: auto; flex: none; max-height: 66px; }
  .mb-folders ul { display: flex; flex-wrap: wrap; padding: 2px; }
  .mb-folders li { padding: 2px 5px; }
  .mb-folders li b { margin-left: 3px; }
  .mb-list { height: 36%; }

  #bin-list th:nth-child(2), #bin-list td:nth-child(2),
  #bin-list th:nth-child(3), #bin-list td:nth-child(3),
  #gv-list th:nth-child(4), #gv-list td:nth-child(4),
  #gv-list th:nth-child(5), #gv-list td:nth-child(5) { display: none; }

  .calc-pad { gap: 3px; }
  .calc-pad button { min-height: 30px; }
}

@media (max-width: 400px) {
  #mb-list th:nth-child(3), #mb-list td:nth-child(3) { display: none; }
  #mb-list th:first-child, #mb-list td:first-child { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 340px) {
  .filelist td, .filelist th { padding: 2px 4px; }
  #mb-list th:first-child, #mb-list td:first-child { max-width: 74px; }
}
