.office-launcher-window {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: #c0c0c0;
  box-sizing: border-box;
  font-family: 'MS Sans Serif', Tahoma, sans-serif;
  font-size: 11px;
  user-select: none;
  overflow: hidden;
}

.ol-header-banner {
  background: linear-gradient(90deg, #000080, #0a4f78, #008080);
  color: #ffffff;
  padding: 8px 12px;
  border-bottom: 2px solid #808080;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: inset 0 1px 0 #4040a0;
}

.ol-header-title {
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 0 #000000;
}

.ol-header-sub {
  font-size: 10px;
  color: #e0f0ff;
  margin-top: 2px;
}

.ol-header-badge {
  background: #ffff00;
  color: #000000;
  font-weight: bold;
  font-size: 10px;
  padding: 2px 6px;
  border: 1px solid #000000;
  box-shadow: 1px 1px 0 #404040;
}

.ol-main-container {
  display: flex;
  flex: 1;
  padding: 8px;
  gap: 8px;
  min-height: 0;
  box-sizing: border-box;
}

.ol-sidebar {
  width: 220px;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 2px inset #dfdfdf;
  overflow-y: auto;
  box-sizing: border-box;
}

.ol-sidebar-title {
  background: #c0c0c0;
  color: #000000;
  font-weight: bold;
  padding: 4px 6px;
  border-bottom: 1px solid #808080;
}

.ol-game-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  cursor: pointer;
  border-bottom: 1px dotted #e0e0e0;
}

.ol-game-item:hover {
  background: #e8f0ff;
}

.ol-game-item.active {
  background: #000080;
  color: #ffffff;
}

.ol-game-item-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ol-game-item-icon svg {
  width: 20px;
  height: 20px;
}

.ol-game-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.ol-game-item-name {
  font-weight: bold;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ol-game-item-meta {
  font-size: 10px;
  opacity: 0.85;
  margin-top: 1px;
}

.ol-details-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  box-sizing: border-box;
}

.ol-preview-frame {
  background: #000000;
  border: 2px inset #ffffff;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ol-preview-canvas {
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.ol-preview-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 128, 0.85);
  color: #ffffff;
  border: 1px solid #ffffff;
  font-size: 9px;
  padding: 1px 5px;
}

.ol-info-card {
  flex: 1;
  background: #ffffff;
  border: 2px inset #dfdfdf;
  padding: 8px;
  overflow-y: auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ol-game-title-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 4px;
}

.ol-title-text {
  font-size: 13px;
  font-weight: bold;
  color: #000080;
}

.ol-category-tag {
  font-size: 10px;
  color: #808080;
  font-style: italic;
}

.ol-desc-text {
  line-height: 1.4;
  color: #222222;
  font-size: 11px;
}

.ol-controls-box {
  background: #f4f4f4;
  border: 1px solid #c0c0c0;
  padding: 4px 6px;
  font-size: 10px;
}

.ol-controls-label {
  font-weight: bold;
  color: #333333;
  margin-bottom: 2px;
}

.ol-controls-value {
  color: #000080;
}

.ol-actions-row {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
}

.ol-btn {
  font-family: inherit;
  font-size: 11px;
  padding: 4px 10px;
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  cursor: pointer;
  outline: none;
}

.ol-btn:active {
  border-top: 2px solid #404040;
  border-left: 2px solid #404040;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  padding: 5px 9px 3px 11px;
}

.ol-btn-primary {
  font-weight: bold;
  background: #d4d0c8;
  border-color: #ffffff #404040 #404040 #ffffff;
  box-shadow: 1px 1px 0 #000000;
}

.ol-btn-primary:active {
  box-shadow: none;
}

.ol-statusbar {
  display: flex;
  gap: 4px;
  padding: 2px 4px;
  border-top: 1px solid #808080;
  background: #c0c0c0;
}

.ol-status-pane {
  border: 1px inset #ffffff;
  padding: 2px 6px;
  font-size: 10px;
  color: #333333;
}

.ol-status-main {
  flex: 1;
}

.ol-status-boss {
  width: 140px;
  text-align: center;
  font-weight: bold;
  color: #800000;
}

.ol-status-drive {
  width: 90px;
  text-align: center;
}
