.launcher-widget { position: relative; z-index: 2; }
.launcher-platform { position: relative; }
.launcher-platform-toggle { border: 0; background: transparent; padding: 4px 0; cursor: pointer; font-family: inherit; }
.launcher-platform-toggle .fa-chevron-down { font-size: 12px; color: var(--text-muted, #94a3b8); transition: transform .15s; }
.launcher-platform-toggle[aria-expanded="true"] .fa-chevron-down { transform: rotate(180deg); }
.launcher-platform-menu { position: absolute; top: calc(100% + 16px); left: -12px; width: 300px; padding: 10px; border: 1px solid var(--border-glow); border-radius: 18px; background: #111827; box-shadow: 0 18px 50px #0009; text-align: left; z-index: 20; }
.launcher-platform-menu[hidden], .launcher-linux-help[hidden] { display: none; }
.launcher-platform-menu::before { content: ""; position: absolute; top: -18px; left: 0; width: 100%; height: 18px; }
.launcher-platform-option { display: flex; align-items: center; gap: 12px; width: 100%; border: 1px solid transparent; border-radius: 12px; padding: 12px; color: #f8fafc; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.launcher-platform-option:hover, .launcher-platform-option:focus-visible { background: #1e293b; }
.launcher-platform-option[aria-selected="true"] { border-color: var(--border-glow); background: #1b2b27; }
.launcher-platform-option > i { color: var(--accent-cyan); font-size: 24px; width: 27px; text-align: center; }
.launcher-platform-option strong, .launcher-platform-option small { display: block; }
.launcher-platform-option small { margin-top: 3px; color: #94a3b8; font-size: 12px; line-height: 1.4; }
.launcher-linux-help { padding: 12px 10px 4px; color: #cbd5e1; font-size: 12px; line-height: 1.6; border-top: 1px solid #334155; margin-top: 6px; }
.launcher-linux-help code { display: block; margin: 5px 0; padding: 7px; border-radius: 6px; background: #080e19; overflow-wrap: anywhere; color: #adff79; font-size: 11px; }
.launcher-linux-help a { color: #adff79; text-decoration: underline; }
.launcher-widget > .copy-ip-btn { color: #0b0f19; justify-content: center; }
.launcher-platform-toggle:focus-visible, .launcher-widget > a:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 5px; }
@media (max-width: 768px) {
  .launcher-widget { backdrop-filter: none; }
  .launcher-platform { width: 100%; }
  .launcher-platform-toggle { width: 100%; justify-content: center; }
  .launcher-platform-menu { position: fixed; top: auto; bottom: 90px; left: 16px; right: 16px; width: auto; max-height: 60dvh; overflow-y: auto; }
}
