.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  background: #1a1a2e;
  border-bottom: 3px solid #000;
  box-shadow: 0 3px 0 #000;
  z-index: 20;
}

/* ── Brand ── */
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.topbar__logo { font-size: 20px; }

.topbar__title {
  font-family: 'Fredoka One', cursive;
  font-size: 17px;
  font-weight: 400;
  color: #f1f5f9;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* ── Islands nav ── */
.topbar__islands {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
  min-width: 0;
}
.topbar__islands::-webkit-scrollbar { display: none; }

.topbar__island-btn {
  padding: 5px 13px;
  border: 2px solid #000;
  border-radius: 20px;
  background: #2563eb;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 3px 3px 0px #000;
  transition: transform .1s, box-shadow .1s;
}
.topbar__island-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000;
}
.topbar__island-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #000;
}

/* ── Timeline slot ── */
.topbar__timeline { flex-shrink: 0; }

/* ── Mobile ── */
@media (max-width: 640px) {
  .topbar__title { display: none; }
  .topbar { padding: 0 10px; gap: 8px; }
  .topbar__island-btn { padding: 4px 9px; font-size: 11px; }
}
@media (max-width: 420px) {
  .topbar__islands { display: none; }
}
