* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  background-color: #080808;
  color: #888;
  font-family: 'Courier New', monospace;
  height: 100vh;
  overflow: hidden;
}

.zone {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.zone-left {
  width: 25%;
  background-color: #0e0e0e;
  border-right: 1px solid #1a1a1a;
}

.zone-center {
  width: 50%;
  background-color: #141414;
  overflow-y: auto;
}

.zone-right {
  width: 25%;
  background-color: #0e0e0e;
  border-left: 1px solid #1a1a1a;
}

.center-content {
  padding: 40px 30px;
  color: #555;
  font-size: 13px;
  line-height: 2;
}

.center-content h1 {
  color: #aaa;
  font-size: 20px;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid #222;
  padding-bottom: 10px;
}

.draggable-window {
  position: absolute;
  left: 5%;
  background-color: #131313;
  border: 1px solid #282828;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
  user-select: none;
  z-index: 1000;
}

.zone-left .draggable-window,
.zone-right .draggable-window {
  width: 90%;
}

.draggable-window.w-sm { width: 65%; }
.draggable-window.w-md { width: 80%; }
.draggable-window.w-lg { width: 95%; }

.draggable-window.moving {
  border-color: #444;
  box-shadow: 0 0 10px rgba(200,200,200,0.04);
}

.draggable-header {
  padding: 3px 8px;
  background-color: #1a1a1a;
  color: #999;
  font-weight: bold;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
  border-bottom: 1px solid #1e1e1e;
  cursor: grab;
  text-align: center;
}

.draggable-header:active {
  cursor: grabbing;
}

.draggable-content {
  padding: 10px;
  color: #4a4a4a;
  font-size: 11px;
  line-height: 1.5;
}

.draggable-content p {
  margin: 0;
}

/* player */
.player-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

#btn-load {
  align-self: flex-end;
  background: none;
  border: 1px solid #282828;
  color: #777;
  font-size: 10px;
  cursor: pointer;
  padding: 2px 6px;
  font-family: inherit;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#btn-load:hover {
  border-color: #666;
  color: #aaa;
}

.track-name {
  font-size: 9px;
  color: #3a3a3a;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  letter-spacing: 1px;
}

.player-btns {
  display: flex;
  gap: 8px;
}

.player-btns button {
  background: none;
  border: 1px solid #282828;
  color: #555;
  font-family: inherit;
  font-size: 11px;
  padding: 2px 8px;
  cursor: pointer;
}

.player-btns button:hover {
  color: #bbb;
  border-color: #555;
}

.progress-bar {
  width: 100%;
  height: 2px;
  background-color: #1e1e1e;
  cursor: pointer;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background-color: #888;
}

.time-display {
  font-size: 8px;
  color: #2a2a2a;
  letter-spacing: 1px;
}

/* terminal */
.terminal {
  padding: 6px 8px;
}

.term-out {
  font-size: 11px;
  color: #7a7a7a;
  max-height: 120px;
  overflow-y: auto;
  line-height: 1.6;
  margin-bottom: 4px;
}

.term-out p {
  margin: 0;
}

.term-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.term-prompt {
  color: #aaa;
  font-size: 11px;
  white-space: nowrap;
}

#term-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #aaa;
  font-family: inherit;
  font-size: 11px;
}

/* log */
.log-window {
  padding: 4px 6px;
}

.log-out {
  font-size: 10px;
  line-height: 1.7;
  max-height: 140px;
  overflow-y: auto;
  color: #5a5a5a;
}

.log-ln {
  margin: 0;
  white-space: nowrap;
}

.log-ln.ok {
  color: #aaa;
}

.log-ln.warn {
  color: #999;
}

/* net */
.net-window {
  padding: 4px 6px;
}

.net-actions {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}

.net-actions button {
  flex: 1;
  background: none;
  border: 1px solid #282828;
  color: #666;
  font-family: inherit;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 2px 6px;
  cursor: pointer;
}

.net-actions button:hover {
  color: #bbb;
  border-color: #555;
}

.net-list {
  font-size: 10px;
  line-height: 1.9;
}

.node {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #4a4a4a;
}

.node-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1e1e1e;
}

.node.online .node-dot {
  background: #bbb;
  box-shadow: 0 0 4px rgba(200,200,200,0.5);
}

.node-name {
  color: #666;
}

.node-ms {
  margin-left: auto;
  color: #3a3a3a;
}

/* wall / guestbook */
.wall-window {
  padding: 4px 6px;
}

.wall-list {
  max-height: 180px;
  overflow-y: auto;
  font-size: 10px;
  line-height: 1.6;
  margin-bottom: 8px;
  padding-right: 2px;
}

.wall-msg {
  border-bottom: 1px solid #1c1c1c;
  padding: 3px 0;
}

.wall-user {
  color: #8a8a8a;
}

.wall-time {
  color: #333;
  font-size: 8px;
}

.wall-text {
  color: #555;
}

.wall-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wall-form input {
  background: #0e0e0e;
  border: 1px solid #222;
  color: #999;
  font-family: inherit;
  font-size: 10px;
  padding: 3px 6px;
  outline: none;
}

.wall-form input:focus {
  border-color: #555;
}

#wall-post {
  background: none;
  border: 1px solid #282828;
  color: #777;
  font-family: inherit;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 3px 6px;
  cursor: pointer;
}

#wall-post:hover {
  color: #bbb;
  border-color: #555;
}

/* standalone pages */
.page {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background-color: #080808;
}

.page-title {
  color: #777;
  font-size: 30px;
  font-weight: bold;
  letter-spacing: 14px;
  text-transform: uppercase;
  text-align: center;
}

.page-sub {
  color: #333;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.page-back {
  color: #3a3a3a;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid #1e1e1e;
}

.page-back:hover {
  color: #aaa;
  border-color: #444;
}
