
:root {
  --bg: #000;
  --fg: #eee;
  --accent: #ff0;
  --warning: #f33;
  --ok: #3f3;
  --muted: #888;
  --border: #444;
  --font: Arial, sans-serif;
}
.bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  padding: 20px;
}
.box {
  border: 1px solid #00ffff;
  border-radius: 6px;
  overflow: hidden;
  max-width: 600px;
  margin: auto;
  background-color: #111;
}
.box-header {
  background: #111;
  padding: 10px 15px;
}
.box-header h1 {
  font-size: 1.2rem;
  color: var(--accent);
}
.box-header h2 {
  font-size: 1rem;
  color: var(--fg);
  margin-top: 4px;
}
.box-image {
  position: relative;
  background: #222;
}
.box-image img {
  display: block;
  width: 100%;
  height: auto;
}
.box-image .title {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
  border-radius: 0 6px 6px 0;
  font-weight: bold;
}
.box-image .level {
  position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: bold;
}
.box-image .info-icon {
  position: absolute;
  bottom: 10px; left: 10px;
  width: 24px; height: 24px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.box-select {
  padding: 10px 15px;
  background: #111;
  display: flex;
  align-items: center;
  gap: 8px;
}
.box-select select {
  flex: 1;
  padding: 4px 6px;
  background: #222;
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: 4px;
}
.box-section, .box-warning, .box-next, .box-info {
  padding: 10px 15px;
  border-top: 1px solid var(--border);
}
.box-section h3, .box-next h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}
.stats-list {
  list-style: none;
  line-height: 1.4;
}
.stats-list li span.label {
  display: inline-block;
  width: 160px;
  color: var(--muted);
}
.box-warning {
  color: var(--warning);
  font-weight: bold;
}
.conditions {
  list-style: none;
  padding-left: 0;
  margin-top: 6px;
  line-height: 1.4;
}
.conditions li {
  display: flex;
  gap: 8px;
}
.conditions .cond-name {
  flex: 1;
  color: var(--fg);
}
.cond-value.ok { color: var(--ok); }
.cond-value.fail { color: var(--warning); }
.box-next {
  opacity: 0.5;
}
.box-info .info-icon {
  display: inline-block;
  width: 24px; height: 24px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 50%;
  text-align: center;
  margin-right: 8px;
  line-height: 24px;
  font-weight: bold;
}
.box-info h3 {
  display: inline-block;
  font-size: 1rem;
  vertical-align: middle;
}
.box-info p {
  margin-top: 6px;
  line-height: 1.4;
}
