/* WestWire: the early-2000s file-sharing view of thewestends.com.
   Same content and forms as the main site (see westwire.js); only the look is different. */
:root {
  --chrome: #d4d0c8;
  --hi: #ffffff;
  --mid: #808080;
  --dark: #404040;
  --ink: #0d0c0b;
  --hot: #ff5b1f;
  --hot-ink: #160700;
  --lime: #8cc63f;
  --zebra: #f1f1f1;
  --muted: #4a4a4a;
  --ui: Tahoma, Verdana, Geneva, "Segoe UI", sans-serif;
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--ink); color: #0b0b0b; font: 12px/1.4 var(--ui); }
img { max-width: 100%; height: auto; display: block; }
a { color: #0b0b0b; }
a:hover { color: #b33100; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 11px; }
.center { display: flex; justify-content: center; padding-top: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* bevels */
.raised { border: 2px solid; border-color: var(--hi) var(--mid) var(--mid) var(--hi); background: var(--chrome); }
.sunk { border: 2px solid; border-color: var(--mid) var(--hi) var(--hi) var(--mid); }

/* desktop + window */
.desk { min-height: 100vh; padding: 24px 16px 48px; }
.win { max-width: 1240px; margin: 0 auto; background: var(--chrome); border: 2px solid; border-color: var(--hi) var(--dark) var(--dark) var(--hi); box-shadow: 4px 4px 0 #000; }
.win.max { max-width: none; }
.win.min .body { display: none; }

.titlebar { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 8px; background: #0b0b0b; color: #fff; }
.ticon { width: 18px; height: 18px; object-fit: contain; }
.ttl { flex: 1 1 auto; margin: 0; font: 700 13px/1.2 var(--ui); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tb { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 24px; padding: 0; font: 700 13px/1 var(--ui); color: #0b0b0b; text-decoration: none; background: var(--chrome); border: 2px solid; border-color: var(--hi) var(--dark) var(--dark) var(--hi); cursor: pointer; }
.tb:active { border-color: var(--dark) var(--hi) var(--hi) var(--dark); }

.menubar { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 2px 4px; border-bottom: 1px solid var(--mid); }
.menubar a { padding: 5px 8px; text-decoration: none; }
.menubar a:hover { background: #0b0b0b; color: #fff; }
.menubar .spacer { flex: 1 1 auto; }
.menubar .exit-btn { font-weight: 700; }

/* buttons + fields */
.btn { font: 12px var(--ui); color: #0b0b0b; background: var(--chrome); border: 2px solid; border-color: var(--hi) var(--dark) var(--dark) var(--hi); padding: 4px 14px; min-height: 30px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.btn:active { border-color: var(--dark) var(--hi) var(--hi) var(--dark); }
.btn:focus-visible, .tb:focus-visible, .tabs button:focus-visible { outline: 1px dotted #000; outline-offset: -5px; }
.btn.strong { font-weight: 700; }
.btn.sm { min-height: 24px; padding: 2px 10px; }
.btn[disabled] { color: var(--mid); cursor: wait; }
.fld { font: 13px var(--ui); width: 100%; padding: 6px; min-height: 30px; background: #fff; color: #0b0b0b; border: 2px solid; border-color: var(--mid) var(--hi) var(--hi) var(--mid); border-radius: 0; }
textarea.fld { resize: vertical; }
.lbl { display: flex; flex-direction: column; gap: 4px; font-size: 12px; }
.check { display: flex; align-items: center; gap: 6px; min-height: 30px; align-self: end; }
.row2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.stack { display: flex; flex-direction: column; gap: 12px; }

/* tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 2px; padding: 8px 8px 0; }
.tabs button { font: 12px var(--ui); color: #0b0b0b; background: var(--chrome); padding: 6px 14px; min-height: 30px; cursor: pointer; border: 2px solid; border-bottom: 0; border-color: var(--hi) var(--dark) var(--dark) var(--hi); }
.tabs button[aria-selected="true"] { background: #fff; font-weight: 700; box-shadow: inset 0 3px 0 var(--hot); position: relative; top: 2px; z-index: 1; }
.pane { margin: 0 8px; background: #fff; border: 2px solid; border-color: var(--hi) var(--mid) var(--mid) var(--hi); min-height: 360px; }
.panel.pad { padding: 16px; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.sec-head h2 { margin: 0; font: 400 36px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.sec-head p { margin: 0; }

/* search */
.search-layout { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; background: var(--chrome); }
.side { flex: 1 1 220px; max-width: 100%; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.types { margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 4px; }
.types legend { padding: 0 4px; }
.types label { display: flex; align-items: center; gap: 6px; min-height: 26px; }
.conn { background: #fff; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.bars-big { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.bars-big span { width: 8px; background: var(--lime); border: 1px solid var(--dark); }
.bars-big span:nth-child(1) { height: 8px; } .bars-big span:nth-child(2) { height: 12px; }
.bars-big span:nth-child(3) { height: 17px; } .bars-big span:nth-child(4) { height: 22px; }
.pro { background: #0b0b0b; color: #fff; padding: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pro-h { font: 400 22px/1.05 var(--display); text-transform: uppercase; }
.pro p { margin: 0; color: #d9d9d9; }
.main-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

.banner { display: flex; flex-wrap: wrap; background: #0b0b0b; color: #fff; overflow: hidden; min-height: 210px; }
.banner-copy { flex: 999 1 340px; padding: 24px 28px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.banner-mark { width: min(420px, 100%); }
.banner-h { margin: 0; font: 400 32px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.banner-sub { margin: 0; font-size: 13px; color: #d9d9d9; max-width: 46ch; }
.banner-squatch { flex: 1 1 180px; background: var(--hot); display: flex; align-items: flex-end; justify-content: center; min-height: 210px; padding-top: 16px; }
.banner-squatch img { height: 230px; width: auto; margin-bottom: -24px; }

.results { display: flex; flex-direction: column; background: #fff; }
.bar-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 8px; background: var(--chrome); border-bottom: 1px solid var(--mid); }
.scroll { overflow-x: auto; }

/* tables */
.grid-t { border-collapse: collapse; width: 100%; font-size: 12px; background: #fff; }
.grid-t th { position: relative; text-align: left; font-weight: 400; padding: 4px 8px; background: var(--chrome); white-space: nowrap; border: 1px solid; border-color: var(--hi) var(--mid) var(--mid) var(--hi); }
.grid-t td { padding: 5px 8px; border-bottom: 1px solid #e4e4e4; vertical-align: middle; }
.grid-t td.nw { white-space: nowrap; }
.grid-t tbody tr:nth-child(even) { background: var(--zebra); }
.grid-t tbody tr:hover { background: #fff2ea; }
.grid-t.big { font-size: 13px; }
.grid-t .fname { font-weight: 700; word-break: break-all; min-width: 180px; }
.grid-t .w40 { width: 40%; }
.grid-t tr.past { color: #555; }
.srcbars { display: flex; gap: 2px; }
.srcbars i { width: 6px; height: 12px; border: 1px solid var(--dark); background: #fff; }
.srcbars i.on { background: var(--lime); }
.tag { display: inline-block; padding: 1px 6px; font-weight: 700; white-space: nowrap; }
.tag.up { background: var(--lime); }
.tag.done { border: 1px solid var(--mid); font-weight: 400; }
.past-ctl { display: flex; justify-content: center; padding-top: 12px; }

/* downloads */
.dl { margin: 8px; background: #fff; }
.prog { position: relative; height: 16px; background: #fff; border: 2px solid; border-color: var(--mid) var(--hi) var(--hi) var(--mid); min-width: 120px; }
.prog i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--lime); transition: width .4s linear; }
.prog b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; }

.statusbar { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 8px 8px; font-size: 11px; }
.statusbar > div { flex: 1 1 180px; padding: 3px 8px; }
.statusbar > div:first-child { flex: 2 1 280px; }

/* library */
.lib { display: flex; flex-wrap: wrap; min-height: 420px; }
.lib-side { flex: 1 1 200px; padding: 12px; background: var(--zebra); border-right: 1px solid var(--mid); }
.lib-h { font-weight: 700; margin-bottom: 8px; }
.lib-f { padding: 4px 6px; }
.lib-f.on { background: #0b0b0b; color: #fff; }
.lib-main { flex: 999 1 520px; min-width: 0; padding: 16px; }
.lib-main > p { margin: 0 0 12px; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.thumbs button { display: flex; flex-direction: column; gap: 4px; padding: 4px; background: none; border: 1px solid transparent; cursor: pointer; font: 11px var(--ui); text-align: left; color: #0b0b0b; }
.thumbs button:hover, .thumbs button:focus-visible { border: 1px dotted #000; background: #fff2ea; outline: none; }
.thumbs .th-img { aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: var(--chrome); border: 2px solid; border-color: var(--mid) var(--hi) var(--hi) var(--mid); }
.thumbs .th-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs span { word-break: break-all; }

/* merch */
.merch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin-bottom: 16px; }
.merch-card { padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.merch-card .m-img { background: #fff; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 8px; }
.merch-card .m-img img { max-height: 100%; object-fit: contain; }
.merch-card .m-name { font-weight: 700; }
.merch-card .m-note { color: var(--muted); font-size: 11px; }
.merch-card .m-price { font: 400 20px/1.1 var(--display); }

/* form windows */
.form-win { max-width: 760px; }
.win-h { background: #0b0b0b; color: #fff; padding: 4px 8px; font-weight: 700; }
.form-in { padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.form-in p { margin: 0; line-height: 1.5; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
#mo-total { font-weight: 700; }
.status:empty { display: none; }
.status { padding: 8px; background: #fff; border: 2px solid; border-color: var(--mid) var(--hi) var(--hi) var(--mid); }
.status.ok::after { content: ""; display: block; height: 12px; margin-top: 6px; background: var(--lime); }
.status.err { color: #a00000; font-weight: 700; }
.date-note { font-size: 11px; color: #a00000; }
.date-note.soft { color: #6b4a00; }
.two-col { display: flex; flex-wrap: wrap; gap: 16px; }
.two-col > form { flex: 999 1 380px; }
.art-block { flex: 1 1 240px; background: #0b0b0b; display: flex; align-items: center; justify-content: center; padding: 24px; min-height: 240px; }
.art-block img { width: min(280px, 80%); }

/* booking IM */
.book-layout { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.im { flex: 999 1 440px; min-width: 0; }
.im-log { margin: 8px 8px 0; background: #fff; padding: 10px; font-size: 13px; }
.im-log p { margin: 0 0 6px; line-height: 1.5; }
.im-who { color: #b33100; }
.buddy { flex: 1 1 240px; }
.buddy-in { margin: 8px; background: #fff; padding: 8px; }
.buddy-in ul { list-style: none; margin: 4px 0 0; padding: 0 0 0 8px; }
.buddy-in li { display: flex; align-items: center; gap: 6px; padding: 2px 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); border: 1px solid var(--dark); }
.buddy-links { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 8px; }

/* image viewer */
.viewer { padding: 0; width: min(1000px, calc(100vw - 32px)); max-height: calc(100vh - 32px); }
.viewer::backdrop { background: rgba(0, 0, 0, .7); }
.viewer-img { background: #0b0b0b; display: flex; align-items: center; justify-content: center; margin: 8px; border: 2px solid; border-color: var(--mid) var(--hi) var(--hi) var(--mid); }
.viewer-img img { max-height: calc(100vh - 170px); width: auto; }
.viewer-ctl { display: flex; justify-content: center; gap: 8px; padding: 0 8px 8px; }

/* phones */
@media (max-width: 640px) {
  .desk { padding: 0; }
  .win { border: 0; box-shadow: none; }
  .tabs button { padding: 6px 10px; }
  .pane, .dl { margin-left: 4px; margin-right: 4px; }
  .search-layout { padding: 4px; }
  .banner-copy { padding: 18px; }
  .banner-squatch { min-height: 160px; }
  .banner-squatch img { height: 170px; }
  .panel.pad { padding: 10px; }
}
