/* The shell's other windows: splash, Logging in, Select Server, the in-app
   browser and its pages, Avatar Gallery, About, Controls, Volume, Change
   Password and the Facility Map window. */

.etched { height: 0; border-top: 1px solid #ACA899; border-bottom: 1px solid #fff; margin: 9px 0; }
.dlg-pad { padding: 10px 12px 2px; }
.dlg-buttons { display: flex; justify-content: center; gap: 6px; padding: 8px 12px 11px; }
.dlg-buttons.right { justify-content: flex-end; }
.dlg-row { display: flex; gap: 10px; align-items: flex-start; }
.dlg-row p { margin: 2px 0 10px; line-height: 14px; }
.form-grid { display: grid; grid-template-columns: auto 1fr; gap: 6px 8px; align-items: center; margin: 0 0 4px 42px; }

/* ---- splash ------------------------------------------------------------------ */
.splash .win-body { padding: 4px; }
.splash-art {
  width: 452px; height: 232px;
  background: #000;
  box-shadow: 0 0 0 1px #7F9DB9;
}
.splash-img { display: block; width: 452px; height: 232px; }
.splash-info { padding: 7px 2px 1px; }
.splash-copy { display: flex; justify-content: space-between; margin-bottom: 7px; color: #222; }
.splash-status { margin-top: 5px; height: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---- Logging in (a wizard page) --------------------------------------------- */
.signon { width: 380px; }
.wiz-head {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: #fff;
  border-bottom: 1px solid #ACA899;
  box-shadow: 0 1px #fff;
}
.wiz-logo { display: block; width: 300px; height: 48px; }
.wiz-body { padding: 11px 16px 4px; }
.signon-lead { margin: 0 0 11px; }
.signon-grid {
  display: grid;
  grid-template-columns: 62px 206px;
  gap: 6px 6px;
  align-items: center;
  margin-left: 30px;
}
.signon-grid .xp-text { width: 206px; }
.signon-grid .xp-check { margin-top: 2px; }
.signon-help { margin: 0; line-height: 14px; }
.signon-status { height: 14px; margin-top: 7px; color: #000; }
.wiz-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px 12px 12px;
  border-top: 1px solid #ACA899;
  box-shadow: inset 0 1px #fff;
}
.wiz-buttons .xp-btn { padding: 0 7px; }

/* ---- Select Server (the owner's concept frame 01) --------------------------------- */
.servers { width: 526px; }
.srv-scene {
  position: relative;
  height: 368px;
  box-sizing: border-box;
  padding: 16px 22px 0;
  background: #05080C url("../assets/ui/fog.png") center / 520px 368px no-repeat;
  color: #fff;
  overflow: hidden;
}
.srv-logo { display: block; margin: 0 auto 14px; width: 480px; height: 76px; }
.srv-text {
  font: 13px Arial, Helvetica, sans-serif;
  line-height: 17px;
  text-shadow: 1px 1px 0 #000, -1px 0 0 rgba(0, 0, 0, 0.6), 0 -1px 0 rgba(0, 0, 0, 0.6);
}
.srv-headline { color: #FF3A26; }
.srv-ping { margin-bottom: 6px; }
.srv-pat { margin-left: 24px; }
.srv-worlds { margin: 2px 0 1px; font: bold 10px Verdana, sans-serif; letter-spacing: 3px; color: #9CC6CA; }
.srv-list { outline: none; margin: 0 0 9px; }
.srv-row { cursor: pointer; white-space: nowrap; }
.srv-row.down { color: #C4C4C4; }
.srv-row.sel { color: #FF3A26; }
.srv-list:focus .srv-row.sel { background: rgba(255, 58, 38, 0.10); }
.srv-actions { margin-bottom: 1px; }
.srv-act { cursor: pointer; margin-right: 16px; outline: none; }
.srv-act:hover, .srv-act:focus { color: #FF3A26; }
.srv-act:active { color: #B82010; }
.srv-foot { position: absolute; left: 22px; right: 22px; bottom: 8px; font: 11px Tahoma, sans-serif; color: #8EAEB2; text-shadow: 1px 1px #000; }

/* ---- the in-app browser -------------------------------------------------------- */
.br-body { display: flex; flex-direction: column; }
.br-menubar {
  display: flex;
  align-items: center;
  height: 22px;
  flex: 0 0 22px;
  padding: 0 0 0 4px;
  background: linear-gradient(180deg, #F8F7F2, #ECE9D8);
  border-bottom: 1px solid #fff;
  box-shadow: 0 1px #CAC6B4;
}
.br-menu { padding: 3px 6px; line-height: 13px; }
.br-menu:hover { background: #316AC5; color: #fff; }
.br-throbber { margin-left: auto; width: 38px; height: 22px; background: #000; border-left: 1px solid #ACA899; display: flex; align-items: center; justify-content: center; }
.br-throbber img { width: 16px; height: 16px; }
.br-toolbar {
  display: flex;
  align-items: center;
  gap: 1px;
  flex: 0 0 auto;
  padding: 2px 4px;
  margin-top: 1px;
  background: linear-gradient(180deg, #FAF9F4 0%, #EDEADB 60%, #E3E0CE 100%);
  border-bottom: 1px solid #CAC6B4;
}
.br-tbtn {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
  padding: 0 5px 0 3px;
  border: 1px solid transparent;
  border-radius: 3px;
  background: none;
  font: 11px Tahoma, sans-serif;
  color: #000;
  cursor: default;
}
.br-tbtn img { width: 24px; height: 24px; }
.br-tbtn:hover:not(:disabled) { border-color: #CECEC3; background: linear-gradient(180deg, #FFFFFF, #EFEDE2); }
.br-tbtn:active:not(:disabled) { background: #E2DFD3; box-shadow: inset 1px 1px #BAB6A6; }
.br-tbtn:disabled { color: #ACA899; }
.br-tbtn, .br-go, .br-view { outline: none; }
.br-tbtn:focus-visible, .br-go:focus-visible { outline: 1px dotted #000; outline-offset: -3px; }
.br-menu.open { background: #316AC5; color: #fff; }
.br-tbtn:disabled img { filter: grayscale(1) opacity(0.45); }
.br-address {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
  padding: 3px 4px;
  background: linear-gradient(180deg, #F8F7F2, #ECE9D8);
  border-bottom: 1px solid #CAC6B4;
}
.br-addr-label { color: #6D6A5A; padding: 0 2px 0 3px; }
.br-addr-box { flex: 1; display: flex; align-items: center; gap: 3px; height: 20px; box-sizing: border-box; padding-left: 3px; border: 1px solid #7F9DB9; background: #fff; }
.br-addr-box img { width: 16px; height: 16px; }
.br-addr-input { flex: 1; min-width: 0; border: 0; outline: 0; font: 11px Tahoma, sans-serif; background: transparent; user-select: text; }
.br-go { display: flex; align-items: center; gap: 3px; border: 0; background: none; font: 11px Tahoma, sans-serif; padding: 0 4px; cursor: default; }
.br-go img { width: 16px; height: 16px; }
.br-view {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  background: #fff;
  border: 1px solid;
  border-color: #7F9DB9 #fff #fff #7F9DB9;
  user-select: text;
}
.br-status {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  flex: 0 0 20px;
  padding: 0 14px 0 3px;
  background: #ECE9D8;
  border-top: 1px solid #fff;
}
.br-status-icon { width: 16px; height: 16px; }
.br-status-text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-status-zone { display: flex; align-items: center; gap: 4px; width: 116px; padding-left: 6px; border-left: 1px solid #ACA899; box-shadow: inset 1px 0 #fff; }
.br-globe { width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #B8E8FF, #2A7AD8 55%, #0A3A8A); box-shadow: inset 0 0 0 1px #0A2A6A; }

/* ---- 2002 web pages ------------------------------------------------------------ */
.page {
  min-height: 100%;
  box-sizing: border-box;
  font: 11px Verdana, Tahoma, sans-serif;
  line-height: 15px;
  color: #000;
  background: #16363A url("../assets/ui/desktop.png");
}
.page p { margin: 0 0 9px; }
.page-plain, .page-error { background: #fff; padding: 16px 20px; }
.page-error h1 { font: bold 16px Verdana, sans-serif; color: #000; }
.page .small, .wp-small { font-size: 10px; color: #666; }
.wp-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 12px;
  background: #061618;
  border-bottom: 3px solid #008080;
}
.wp-logo { display: block; width: 300px; height: 48px; }
.wp-tagline { font: italic 12px Georgia, "Times New Roman", serif; color: #8FD6D6; }
.wp-toplinks { margin-left: auto; }
.wp-main {
  width: 520px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 12px 18px 14px;
  background: #fff;
  border-left: 1px solid #061618;
  border-right: 1px solid #061618;
}
.wp-center { text-align: center; padding: 40px 18px; }
.wp-title { font: bold 16px Verdana, Arial, sans-serif; color: #004A52; margin: 2px 0 6px; }
.wp-h2 { font: bold 12px Verdana, Arial, sans-serif; color: #004A52; margin: 10px 0 5px; }
.wp-step { display: inline-block; margin: 0 0 10px; padding: 2px 7px; font: bold 11px Verdana, sans-serif; color: #fff; background: #008080; }
.wp-hazard { height: 6px; margin: 10px 0; background: url("../assets/ui/hazard.png") repeat-x; }
.wp-error {
  display: flex; align-items: center; gap: 6px;
  margin: 0 0 10px; padding: 4px 6px;
  border: 1px solid #C00000; background: #FFF0E8; color: #C00000; font-weight: bold;
}
.wp-form { border-collapse: collapse; margin: 4px 0 8px; }
.wp-form td { padding: 3px 5px; vertical-align: middle; }
.wp-label { font-weight: bold; text-align: right; white-space: nowrap; }
.wp-hint { font-size: 10px; color: #555; line-height: 12px; }
.wp-note { margin: 4px 0 2px; padding: 5px 7px; font-size: 10px; line-height: 13px; background: #FFFFCC; border: 1px solid #C8B040; }
.reg-avatars { display: grid; grid-template-columns: repeat(4, 112px); gap: 8px 4px; justify-content: center; margin: 4px 0 6px; }
.reg-av { display: flex; flex-direction: column; align-items: center; gap: 3px; cursor: pointer; padding: 3px; border: 1px solid transparent; }
.reg-av.sel { border: 1px solid #008080; background: #E4F4F4; }
.reg-av-frame { padding: 3px; background: #1C2C2E; border: 1px solid; border-color: #6A8A8A #000 #000 #6A8A8A; line-height: 0; }
.reg-av-name { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: bold; line-height: 13px; cursor: pointer; }
.reg-blurb { text-align: center; font-style: italic; color: #333; min-height: 15px; }
.wp-tos {
  height: 96px;
  overflow-y: scroll;
  padding: 4px 6px;
  font-size: 10px;
  line-height: 13px;
  background: #F6F6F0;
  border: 2px inset #D4D0C8;
  outline: none;
}
.wp-tos p { margin: 0 0 6px; }
.wp-agree { margin: 7px 0 4px; }
.wp-buttons { display: flex; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.wp-card { border-collapse: collapse; margin: 6px 0 12px; border: 1px solid #008080; }
.wp-card td { padding: 3px 10px; border-bottom: 1px dotted #9FC8C8; }
.wp-card td:first-child { font-weight: bold; background: #E4F4F4; }
.wp-footer { padding: 2px 12px 12px; text-align: center; font-size: 10px; color: #9FC0C0; }
.wp-footer .wp-hazard { margin: 0 0 8px; }
.wp-footer .wp-small { color: #6F9090; }
.wp-link { color: #0000EE; text-decoration: underline; cursor: pointer; outline: none; }
.wp-link:focus-visible { outline: 1px dotted currentColor; }
.wp-link:visited { color: #551A8B; }

.wp-cols { width: 560px; margin: 0 auto; border-collapse: collapse; background: #fff; }
.wp-cols td { vertical-align: top; }
.wp-nav { width: 150px; background: #E4F0EE; border-right: 1px solid #9FC0C0; padding: 8px 8px 14px; }
.wp-nav .wp-link { display: block; margin: 2px 0 2px 6px; }
.wp-nav-head { margin: 8px 0 3px; padding: 1px 4px; font: bold 10px Verdana, sans-serif; color: #fff; background: #006A6A; letter-spacing: 1px; }
.wp-content { padding: 12px 16px; }
.wp-news { border: 1px solid #9FC0C0; margin: 8px 0 10px; }
.wp-news-head { padding: 2px 6px; font: bold 10px Verdana, sans-serif; color: #fff; background: #8B0000; letter-spacing: 1px; }
.wp-news-item { padding: 3px 6px; border-top: 1px dotted #C8DADA; }
.info-build ul { margin: 0 0 6px 18px; padding: 0; }
.info-build li { margin-bottom: 3px; }

/* Help: a two-pane HTML Help page */
.page-help { display: flex; height: 100%; min-height: 0; background: #fff; }
.help-toc { width: 176px; flex: 0 0 176px; background: #fff; border-right: 1px solid #ACA899; overflow: auto; }
.help-toc-head { padding: 3px 6px; font-weight: bold; background: linear-gradient(180deg, #FFFFFF, #E4E2D6); border-bottom: 1px solid #ACA899; }
.help-toc-list { padding: 3px 0; }
.help-toc-item { display: flex; align-items: center; gap: 3px; padding: 1px 6px; height: 17px; cursor: pointer; white-space: nowrap; }
.help-toc-label { padding: 1px 2px; line-height: 13px; }
.help-toc-item:hover .help-toc-label { text-decoration: underline; color: #0000EE; }
/* hh.exe highlights the caption only, never the icon */
.help-toc-item.sel .help-toc-label { background: #316AC5; color: #fff; text-decoration: none; }
.help-book { width: 16px; height: 16px; flex: 0 0 16px; }
.help-content { flex: 1; overflow: auto; padding: 12px 18px; }
.help-h1 { font: bold 15px Verdana, Arial, sans-serif; color: #003C74; margin: 0 0 4px; }
.help-content .wp-hazard { margin: 4px 0 10px; }
.help-cmd { font: 11px "Courier New", monospace; white-space: pre; margin: 0 0 3px !important; }
.help-table { border-collapse: collapse; margin: 6px 0; }
.help-table th, .help-table td { border: 1px solid #ACA899; padding: 2px 8px; text-align: left; }
.help-table th { background: #ECE9D8; }

.page-ad .wp-main { min-height: 180px; }

/* ---- Avatar Gallery -------------------------------------------------------------- */
.gallery { width: 700px; }
.gal-main { display: flex; gap: 8px; padding: 8px 8px 0; }
.gal-wall {
  position: relative;
  flex: 0 0 476px;
  box-sizing: border-box;
  padding: 16px 10px 10px;
  background: #CFCCC0;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 240, 0.55), rgba(255, 255, 240, 0) 70%);
  border: 1px solid;
  border-color: #7F9DB9 #fff #fff #7F9DB9;
}
.gal-rail { position: absolute; left: 0; right: 0; top: 6px; height: 3px; background: #6A5634; box-shadow: 0 1px #F2EEE0, 0 -1px #3A2C14; }
.gal-grid { display: grid; grid-template-columns: repeat(4, 110px); gap: 12px 4px; justify-content: space-between; }
.gal-frame { display: flex; flex-direction: column; align-items: center; cursor: pointer; outline: none; }
.gal-frame-inner {
  padding: 5px;
  line-height: 0;
  background: linear-gradient(135deg, #8A6A36 0%, #5A3E16 45%, #3A2408 100%);
  box-shadow: inset 1px 1px #C29A5A, inset -1px -1px #1A0E02, inset 3px 3px 0 -1px #6A4A1A, 2px 2px 0 rgba(40, 30, 10, 0.35);
}
.gal-frame-inner canvas { box-shadow: 0 0 0 1px #1A0E02; }
.gal-plate {
  margin-top: 4px;
  padding: 1px 5px;
  font: bold 9px Verdana, Tahoma, sans-serif;
  color: #2A1C00;
  background: linear-gradient(180deg, #F8EAB0 0%, #D8B048 55%, #B08A2A 100%);
  border: 1px solid #5A3E08;
  white-space: nowrap;
}
.gal-frame:hover .gal-plate { color: #000; background: linear-gradient(180deg, #FFF6D0 0%, #EAC460 55%, #C09A36 100%); }
.gal-frame.sel .gal-frame-inner { box-shadow: inset 1px 1px #C29A5A, inset -1px -1px #1A0E02, 0 0 0 2px #316AC5, 0 0 0 3px #fff; }
.gal-frame:focus-visible .gal-plate { outline: 1px dotted #000; outline-offset: 1px; }
.gal-side { flex: 1 1 auto; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.gal-stage { position: relative; width: 176px; height: 236px; align-self: center; background: #0B1416; box-shadow: 0 0 0 1px #7F9DB9; }
.gal-canvas { display: block; width: 176px; height: 236px; }
.gal-hint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; line-height: 15px; color: #9FC0C0; }
.gal-hint[hidden] { display: none; }
.gal-info { padding: 0 2px; }
.gal-name { font: bold 13px "Trebuchet MS", Tahoma, sans-serif; color: #003C74; margin-bottom: 3px; }
.gal-blurb { line-height: 14px; }
.gal-wearing { margin-top: 5px; color: #6D6A5A; font-style: italic; }
.gal-buttons { padding-top: 10px; }

/* ---- About, Controls, Volume, Change Password --------------------------------------- */
.about { width: 488px; }
.about-banner { background: #fff; padding: 6px 4px; border-bottom: 1px solid #ACA899; box-shadow: 0 1px #fff; line-height: 0; text-align: center; }
.about-banner img { width: 480px; height: 76px; }
.about-main { display: flex; gap: 12px; padding: 10px 16px 0; }
.about-icon { width: 32px; height: 32px; flex: 0 0 32px; }
.about-text { flex: 1; line-height: 15px; }
.about-text .etched { margin: 6px 0; }
.about-licensee { padding-left: 16px; }
.about-text .xp-group { margin: 8px 0 0; }
.about-credits { line-height: 14px; }
.about-warn { margin: 8px 16px 0; font-size: 10px; line-height: 13px; color: #444; }

.controls { width: 360px; }
.controls-table { padding: 3px 5px; }
.controls-table table { border-collapse: collapse; width: 100%; }
.controls-table td { padding: 2px 4px; border-bottom: 1px solid #EEEDE5; }
.ctl-key { font-weight: bold; white-space: nowrap; width: 128px; }

.volume { width: 300px; }
.vol-row { display: flex; align-items: flex-start; gap: 6px; margin: 4px 0 6px; }
.vol-row > span { padding-top: 4px; }
.vol-pct { width: 32px; text-align: right; }

.passwd { width: 350px; }

/* ---- Facility Map window --------------------------------------------------------------- */
.facmap-frame { margin: 6px 6px 0; padding: 3px; background: #000; box-shadow: 0 0 0 1px #7F9DB9; line-height: 0; }
.facmap-frame canvas { width: 380px; height: 310px; }
.facmap-caption { padding: 6px 8px 8px; height: 14px; }
