:root {
  /* MD3 Light Theme - 蓝色系统一色板 */
  --md-sys-color-primary: #005ac1;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #d8e2ff;
  --md-sys-color-on-primary-container: #001a41;
  --md-sys-color-secondary: #565f71;
  --md-sys-color-on-secondary: #ffffff;
  --md-sys-color-secondary-container: #dbe4e6;
  --md-sys-color-on-secondary-container: #111e2b;
  --md-sys-color-tertiary: #715573;
  --md-sys-color-surface: #fefbff;
  --md-sys-color-surface-container-low: #f7f2fa;
  --md-sys-color-surface-container: #f3edf7;
  --md-sys-color-surface-container-high: #ece6f0;
  --md-sys-color-surface-container-highest: #e6e0e9;
  --md-sys-color-surface-variant: #e1e2ec;
  --md-sys-color-on-surface: #1b1b1f;
  --md-sys-color-on-surface-variant: #44474f;
  --md-sys-color-background: var(--md-sys-color-surface);
  --md-sys-color-on-background: var(--md-sys-color-on-surface);
  --md-sys-color-outline: #74777f;
  --md-sys-color-outline-variant: #c4c6d0;
  --md-sys-color-error: #ba1a1a;
  --md-sys-color-on-error: #ffffff;
  --md-sys-color-error-container: #ffdad6;
  --md-sys-color-on-error-container: #410002;

  --md-sys-state-hover: rgba(27, 27, 31, 0.08);
  --md-sys-state-ripple: rgba(0, 90, 193, 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --md-sys-color-primary: #adc6ff;
    --md-sys-color-on-primary: #002e69;
    --md-sys-color-primary-container: #004494;
    --md-sys-color-on-primary-container: #d8e2ff;
    --md-sys-color-secondary: #bec6dc;
    --md-sys-color-on-secondary: #283141;
    --md-sys-color-secondary-container: #3b4858;
    --md-sys-color-on-secondary-container: #d7e3f7;
    --md-sys-color-tertiary: #dfbbdf;
    --md-sys-color-surface: #1b1b1f;
    --md-sys-color-surface-container-low: #1f1f23;
    --md-sys-color-surface-container: #211f26;
    --md-sys-color-surface-container-high: #2b2930;
    --md-sys-color-surface-container-highest: #36343b;
    --md-sys-color-surface-variant: #44474f;
    --md-sys-color-on-surface: #e3e2e6;
    --md-sys-color-on-surface-variant: #c4c6d0;
    --md-sys-color-outline: #8e9099;
    --md-sys-color-outline-variant: #44474f;
    --md-sys-color-error: #ffb4ab;
    --md-sys-color-on-error: #690005;
    --md-sys-color-error-container: #93000a;
    --md-sys-color-on-error-container: #ffdad6;

    --md-sys-state-hover: rgba(227, 226, 230, 0.08);
    --md-sys-state-ripple: rgba(173, 198, 255, 0.12);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'Roboto', system-ui, -apple-system, sans-serif;
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  margin: 0;
}

/* ─── Ripple ─── */
.ripple { position: relative; overflow: hidden; }
.ripple::after {
  content: ""; display: block; position: absolute;
  background: var(--md-sys-state-ripple);
  border-radius: 50%; transform: scale(0); opacity: 0;
  pointer-events: none; transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}
.ripple:active::after { transform: scale(2.5); opacity: 1; transition: 0s; }

/* ─── Material Symbols ─── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ─── Buttons ─── */
.md-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 24px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  gap: 8px;
  font-family: inherit;
  transition: box-shadow 0.2s, background-color 0.2s;
}

.md-btn-filled {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}

.md-btn-filled:hover {
  box-shadow: 0 1px 2px rgba(0,0,0,0.3), 0 1px 3px 1px rgba(0,0,0,0.15);
}

.md-btn-filled:disabled {
  background-color: var(--md-sys-color-surface-container-highest);
  color: var(--md-sys-color-outline);
  box-shadow: none;
  cursor: not-allowed;
}

.md-btn-outlined {
  background-color: transparent;
  color: var(--md-sys-color-primary);
  border: 1px solid var(--md-sys-color-outline);
}

.md-btn-outlined:hover {
  background-color: var(--md-sys-state-hover);
}

.md-btn-text {
  background: transparent;
  color: var(--md-sys-color-primary);
  border: none;
  padding: 0 16px;
  height: 40px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.2s;
}

.md-btn-text:hover {
  background-color: var(--md-sys-state-hover);
}

/* ─── Icon Button ─── */
.md-icon-button {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--md-sys-color-on-surface);
  transition: background-color 0.2s;
}

.md-icon-button:hover {
  background-color: var(--md-sys-state-hover);
}

/* ─── Dialog ─── */
.dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.dialog-backdrop.show {
  display: flex;
}

.md-dialog {
  background-color: var(--md-sys-color-surface-container-high);
  border-radius: 28px;
  width: 90%;
  max-width: 480px;
  padding: 24px;
  box-shadow: 0 24px 38px 3px rgba(0,0,0,0.14);
  animation: dialog-enter 0.2s cubic-bezier(0.2, 0, 0, 1);
  margin: auto;
  max-height: 90vh;
  overflow-y: auto;
  color: var(--md-sys-color-on-surface);
}

@keyframes dialog-enter {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.md-dialog-title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 16px;
}

.md-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}

/* ─── Text Input ─── */
.md-textfield {
  position: relative;
  margin-bottom: 16px;
  width: 100%;
}

.md-input {
  width: 100%;
  height: 56px;
  background-color: var(--md-sys-color-surface-container-highest);
  border: none;
  border-bottom: 1px solid var(--md-sys-color-on-surface);
  border-radius: 4px 4px 0 0;
  padding: 24px 16px 8px;
  font-size: 16px;
  color: var(--md-sys-color-on-surface);
  outline: none;
  transition: border-bottom-width 0.2s, border-bottom-color 0.2s;
  font-family: inherit;
}

.md-input:focus {
  border-bottom: 2px solid var(--md-sys-color-primary);
  padding-bottom: 7px;
}

.md-input-label {
  position: absolute;
  left: 16px;
  top: 18px;
  font-size: 16px;
  color: var(--md-sys-color-on-surface);
  opacity: 0.7;
  transition: all 0.2s;
  pointer-events: none;
}

.md-input:focus ~ .md-input-label,
.md-input:not(:placeholder-shown) ~ .md-input-label {
  top: 4px;
  font-size: 12px;
  color: var(--md-sys-color-primary);
}

/* ─── Loading Spinner ─── */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.loading-spinner::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 3px solid var(--md-sys-color-surface-container-highest);
  border-top-color: var(--md-sys-color-primary);
  border-radius: 50%;
  animation: spin 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ─── MD3 Tabs ─── */
.md-tabs {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.md-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--md-sys-color-on-surface);
  transition: background-color 0.2s;
  text-align: left;
  border-radius: 0;
  font-family: inherit;
}

.md-tab:hover {
  background: var(--md-sys-state-hover);
}

.md-tab.active {
  background: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  font-weight: 500;
}

.md-tab.active .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
}

/* 对话框内的 tab（水平布局） */
.dialog-tabs {
  flex-direction: row;
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}

.dialog-tabs .md-tab {
  flex: 1;
  justify-content: center;
  padding: 12px 16px;
  position: relative;
}

.dialog-tabs .md-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--md-sys-color-primary);
}

/* ─── FAB ─── */
.fab {
  height: 56px;
  border-radius: 16px;
  background-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  box-shadow: 0 4px 8px 3px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.3);
  border: none;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  font-family: inherit;
  transition: box-shadow 0.2s;
}

.fab:hover {
  box-shadow: 0 6px 10px 4px rgba(0,0,0,0.15), 0 2px 3px rgba(0,0,0,0.3);
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.05); border-radius: 4px; }
::-webkit-scrollbar-thumb { background: var(--md-sys-color-outline-variant); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--md-sys-color-outline); }

/* ─── MD3 Snackbar (Toast) ─── */
.snackbar-container {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9999;
  pointer-events: none;
}

.md-snackbar {
  background-color: var(--md-sys-color-on-surface);
  color: var(--md-sys-color-surface);
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 14px;
  box-shadow: 0 3px 5px -1px rgba(0,0,0,0.2), 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 288px;
  max-width: 568px;
  pointer-events: auto;
  animation: snackbarSlideUp 0.3s cubic-bezier(0, 0, 0.2, 1);
  transition: opacity 0.2s;
}

.md-snackbar .material-symbols-outlined {
  font-size: 20px;
  margin-right: 12px;
  color: var(--md-sys-color-surface);
}

.md-snackbar-message {
  flex: 1;
}

@keyframes snackbarSlideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.primary-text { color: var(--md-sys-color-primary) !important; }
.error-text { color: var(--md-sys-color-error) !important; }

/* Captcha Overlay */
.captcha-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.captcha-container {
  background: var(--md-sys-color-surface);
  border-radius: 16px;
  width: 400px;
  max-width: 90vw;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}
.captcha-header {
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--md-sys-color-surface-container);
  font-weight: 500;
}

/* ─── Profile Avatar Button ─── */
.profile-avatar-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  background: var(--md-sys-color-primary);
  overflow: hidden;
  padding: 0;
  transition: box-shadow 0.2s;
  flex-shrink: 0;
}
.profile-avatar-btn:hover {
  box-shadow: 0 0 0 2px var(--md-sys-color-primary-container);
}
.profile-avatar-btn img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ─── Google-style Profile Popup ─── */
.profile-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  /* 无背景暗化，点击关闭即可 */
}
.profile-popup {
  position: fixed;
  top: 60px;
  right: 16px;
  width: 320px;
  background: var(--md-sys-color-surface-container-high);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  z-index: 501;
  animation: popup-enter 0.15s cubic-bezier(0.2, 0, 0, 1);
  overflow: hidden;
}
@keyframes popup-enter {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.profile-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px 4px;
  font-size: 13px;
  color: var(--md-sys-color-on-surface);
  opacity: 0.7;
}

.profile-popup-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px 24px 16px;
  gap: 8px;
}
.profile-popup-body .avatar-large {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 500;
  color: #fff;
  background: var(--md-sys-color-primary);
  overflow: hidden;
}
.profile-popup-body .avatar-large img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.profile-popup-body .popup-nickname {
  font-size: 18px;
  font-weight: 500;
}
.profile-popup-body .popup-tier {
  font-size: 12px;
  color: var(--md-sys-color-primary);
  background: var(--md-sys-color-primary-container);
  padding: 2px 10px;
  border-radius: 12px;
}

.profile-popup-divider {
  height: 1px;
  background: var(--md-sys-color-outline-variant);
  margin: 0 16px;
}

.profile-popup-menu {
  padding: 8px 0;
}
.profile-popup-menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  font-size: 14px;
  color: var(--md-sys-color-on-surface);
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
}
.profile-popup-menu-item:hover {
  background: var(--md-sys-state-hover);
}
.profile-popup-menu-item .material-symbols-outlined {
  font-size: 20px;
  color: var(--md-sys-color-on-surface);
  opacity: 0.7;
}

/* ─── Hub Card Grid ─── */
.hub-view {
  padding: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  box-sizing: border-box;
  background: var(--md-sys-color-surface);
}
.hub-heading {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 24px;
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}
.hub-heading-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}
.hub-heading-icon .material-symbols-outlined { font-size: 30px; }
.hub-heading-kicker { color: var(--md-sys-color-primary); font-size: 11px; font-weight: 700; line-height: 16px; letter-spacing: .1em; }
.hub-heading h2 { margin: 2px 0; font-size: 22px; font-weight: 500; line-height: 28px; }
.hub-heading p { color: var(--md-sys-color-on-primary-container); font-size: 13px; line-height: 18px; opacity: .78; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 12px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  box-sizing: border-box;
}
.hub-card {
  width: 100%;
  min-height: 88px;
  margin: 0;
  background: var(--md-sys-color-surface-container-low);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
  color: var(--md-sys-color-on-surface);
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  font-family: inherit;
}
.hub-card:hover {
  background: var(--md-sys-color-surface-container);
  box-shadow: 0 1px 2px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.1);
  transform: translateY(-1px);
}
.hub-card:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--md-sys-color-primary) 72%, transparent);
  outline-offset: 2px;
}
.hub-card-icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hub-card-icon .material-symbols-outlined { font-size: 26px; }
.hub-card-body { min-width: 0; flex: 1; }
.hub-card-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
}
.hub-card-desc {
  margin-top: 1px;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 12px;
  line-height: 16px;
}
.hub-card-trailing {
  flex: 0 0 auto;
  color: var(--md-sys-color-on-surface-variant);
  font-size: 20px;
}

/* ─── Leaderboard View (Embedded) ─── */
.leaderboard-view {
  padding: 24px;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
}
.leaderboard-list {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}
/* 排行榜 tab 切换 */
.lb-tabs {
  display: flex;
  gap: 8px;
  max-width: 680px;
  margin: 0 auto 16px;
}
.lb-tab {
  flex: 1;
  padding: 10px 0;
  border: none;
  background: var(--md-sys-color-surface-container);
  color: var(--md-sys-color-on-surface);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.lb-tab.active {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}
.lb-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 16px;
  transition: background 0.15s;
}
.lb-row:hover { background: var(--md-sys-state-hover); }
.lb-rank {
  width: 36px; text-align: center;
  font-weight: 700; font-size: 18px;
  color: var(--md-sys-color-primary);
}
.lb-rank.gold   { color: #f9a825; }
.lb-rank.silver { color: #90a4ae; }
.lb-rank.bronze { color: #8d6e63; }
.lb-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.lb-avatar img { width: 100%; height: 100%; object-fit: cover; }
.lb-info { flex: 1; }
.lb-name { font-weight: 500; font-size: 16px; }
.lb-stats { font-size: 13px; opacity: 0.6; margin-top: 2px; }
.lb-value {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--md-sys-color-primary);
  font-weight: 500;
  font-size: 16px;
}

/* ─── Profile View (Embedded) ─── */
.profile-view { padding: 24px; overflow-y: auto; }
.profile-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--md-sys-color-surface-container);
  border-radius: 24px;
  padding: 32px;
  text-align: center;
}
.profile-card .avatar-xl {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 500;
  color: #fff;
  background: var(--md-sys-color-primary);
  overflow: hidden;
}
.profile-card .avatar-xl img { width: 100%; height: 100%; object-fit: cover; }

/* ─── View Visibility ─── */
.view-container { display: none; height: 100%; }
.view-container.active { display: flex; flex-direction: column; }

@media (max-width: 599px) {
  .hub-view { padding: 16px; }
  .hub-heading { padding: 20px; align-items: flex-start; gap: 12px; border-radius: 20px; }
  .hub-heading-icon { width: 48px; height: 48px; border-radius: 16px; }
  .hub-heading-icon .material-symbols-outlined { font-size: 26px; }
  .hub-heading h2 { font-size: 20px; line-height: 28px; }
  .hub-heading p { font-size: 12px; line-height: 17px; }
  .hub-grid { grid-template-columns: 1fr; gap: 8px; }
  .hub-card { min-height: 80px; padding: 12px; }
  .hub-card:hover { transform: none; box-shadow: none; }
}

/* 微信 / QQ 内置浏览器：引导用系统浏览器打开（intent 会被拦截） */
.open-browser-guide {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12px;
  animation: open-browser-fade-in 0.18s ease-out;
}
.open-browser-guide.closing {
  opacity: 0;
  transition: opacity 0.18s ease-out;
  pointer-events: none;
}
.open-browser-guide-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}
.open-browser-guide-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 380px);
  margin-top: 56px;
  padding: 20px 20px 16px;
  border-radius: 20px;
  background: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
.open-browser-guide-arrow {
  position: absolute;
  top: -44px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  animation: open-browser-bounce 1.2s ease-in-out infinite;
}
.open-browser-guide-arrow .material-symbols-outlined {
  font-size: 28px;
}
.open-browser-guide-panel h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}
.open-browser-guide-panel > p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--md-sys-color-on-surface-variant);
}
.open-browser-guide-panel ol {
  margin: 0 0 16px;
  padding-left: 1.25em;
  font-size: 13px;
  line-height: 1.65;
  color: var(--md-sys-color-on-surface-variant);
}
.open-browser-guide-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
@keyframes open-browser-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes open-browser-bounce {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(4px, -6px); }
}
