/* Floating glass top bar + flat PLAY button (design: /mnt/project-files/topbar-design). Loaded after styles.css. */
.main-col { position: relative; }
.topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 60; height: 66px; padding: 12px 16px 0 18px; align-items: flex-start;
  background: transparent; border-bottom: 0; }  /* stays a window drag region where no pill is */
.stage { padding-top: 70px; }
.glassy, .topbar .search-wrap, .topbar .mono-stat, .topbar .top-quick-group, .topbar .win-controls {
  background: rgba(17, 17, 22, 0.62); backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.10); border-radius: 13px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 2px 6px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.07); }
.topbar .search-wrap { height: 42px; display: flex; align-items: center; transition: border-color .15s, box-shadow .15s; }
.topbar .search-wrap:focus-within { border-color: rgba(232, 93, 153, 0.55); box-shadow: 0 12px 30px rgba(0,0,0,.45), 0 0 0 3px rgba(232,93,153,.18), inset 0 1px 0 rgba(255,255,255,.07); }
.topbar .rect-search { background: transparent !important; border: 0 !important; box-shadow: none !important; height: 40px; }
.topbar-right { gap: 10px; }
.topbar .mono-stat { height: 42px; display: inline-flex; align-items: center; padding: 0 14px; font-size: 12px; }
.topbar .top-quick-group { height: 42px; display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; }
.topbar .top-quick-group .raised-btn { height: 30px; border-radius: 9px; }
.topbar .win-controls { height: 42px; display: inline-flex; align-items: center; padding: 0 4px; }
.topbar .win-ctl { border-radius: 9px; }
.topbar .search-wrap { flex: 1 1 300px; min-width: 180px; max-width: 560px; }
.topbar-right { flex-shrink: 0; }
.topbar .pages-badge, .topbar .dev-badge { white-space: nowrap; }
#tab-home > .home-top { margin-top: 64px; }

@font-face { font-family: "Anton"; src: url("assets/fonts/anton-latin-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@keyframes playHaloFlat {
  0%, 100% { box-shadow: 0 0 18px rgba(200, 85, 214, 0.30), 0 8px 20px rgba(0, 0, 0, 0.40); }
  50% { box-shadow: 0 0 30px rgba(240, 90, 140, 0.50), 0 10px 24px rgba(0, 0, 0, 0.45); }
}
.raised-play, .footer-launch .raised-play {
  border-radius: 4px; border: 0; text-shadow: none;
  font-family: "Anton", Impact, "Arial Narrow", sans-serif; font-weight: 400; font-style: normal;
  font-size: 27px; letter-spacing: 2px; text-transform: uppercase; gap: 14px; line-height: 1;
  background: linear-gradient(95deg, #8b5cf6 0%, #c855d6 48%, #f05a8c 100%);
  animation: playHaloFlat 3.2s ease-in-out infinite;
}
.raised-play span { display: inline-block; transform: translateY(1px) scaleX(1.3); transform-origin: left center; margin-right: 0.6em; }
.raised-play .play-ico { width: 22px; height: 22px; }
.raised-play:hover { border: 0; filter: brightness(1.08); }
.raised-play:active { transform: translateY(1px) scale(0.985); box-shadow: 0 0 12px rgba(200, 85, 214, 0.35); filter: brightness(0.95); }
/* softly rounded letter corners: blur then re-sharpen the alpha (filter lives in index.html as #vdRoundText) */
.raised-play span { filter: url(#vdRoundText); }
/* "Finish setup · N left" state: same typeface, no stretch, smaller so the longer label fits */
.raised-play.play-setup { font-size: 18px; letter-spacing: 1.5px; gap: 10px; }
.raised-play.play-setup span { transform: translateY(1px); margin-right: 0; }
.raised-play.play-setup .play-ico { width: 16px; height: 16px; }

/* Top bar only on Home. Other tabs keep just the window controls in the corner; Ctrl+K still opens search. */
.main-col.topbar-min .topbar { left: auto; width: auto; height: auto; padding: 10px 12px 0 0; }
.main-col.topbar-min .topbar .search-wrap, .main-col.topbar-min .topbar .mono-stat, .main-col.topbar-min .topbar .top-quick-group { display: none; }
.main-col.topbar-min.search-open .topbar { left: 18px; }
.main-col.topbar-min.search-open .topbar .search-wrap { display: flex; }
.main-col.topbar-min .stage:not(.flush-stage) { padding-top: 16px; }
.main-col.topbar-min .tab-pane.active > .pane-head, .main-col.topbar-min .tab-pane.active > .pt-head, .main-col.topbar-min .msg-hub-bar { padding-right: 140px; }
