/* Base styles */
html, body {
  background: #fff;
  color: #181818;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

main {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem 1.25rem;
}

section + section {
  margin-top: 2.5rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 400;
  margin-top: 0;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
  color: #181818;
}

h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.subheading {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 2.2rem;
}

p {
  margin: 0 0 1.5rem 0;
  color: #222;
}

ul {
  margin: 0 0 1.5rem 1.5rem;
  padding: 0;
  list-style: disc outside;
}

li {
  margin-bottom: 0.7rem;
  padding-left: 0.2rem;
  color: #222;
}

/* Grayscale links */
a {
  position: relative;
  color: #222;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
a::after {
  display: none;
}
a:hover, a:focus {
  color: #000;
  text-decoration: underline;
}
a:visited {
  color: #444;
}

/* Collapsible toggles (hidden for now, for future use) */
.toggle {
  cursor: pointer;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.toggle-content {
  display: none;
  margin-left: 1.2rem;
}

section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.25s cubic-bezier(.4,0,.2,1), transform 0.25s cubic-bezier(.4,0,.2,1);
  background: #fff;
}
section.visible {
  opacity: 1;
  transform: none;
}

ul li {
  transition: color 0.15s, padding-left 0.15s;
}
ul li:hover {
  color: #000;
  padding-left: 0.5rem;
}
ul li:hover::marker {
  color: #000;
  font-weight: bold;
}

.toggle-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(.4,0,.2,1), opacity 0.2s;
}
.toggle.open + .toggle-content {
  max-height: 500px;
  opacity: 1;
}
.toggle-icon {
  display: inline-block;
  transition: transform 0.2s;
}
.toggle.open .toggle-icon {
  transform: rotate(90deg);
}

a:focus, .toggle:focus {
  outline: 2px solid #222;
  outline-offset: 2px;
  border-radius: 2px;
}

::selection {
  background: #e0e0e0;
  color: #181818;
}

h1.active, h2.active, h3.active {
  background: #f5f5f5;
  border-radius: 4px;
  transition: background 0.2s;
}

.copied-tooltip {
  display: inline-block;
  background: #222;
  color: #fff;
  font-size: 0.85em;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  margin-left: 0.5em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  position: absolute;
  z-index: 10;
}
.copied-tooltip.visible {
  opacity: 1;
}

/* 1b. Visited link color */
a:visited {
  color: #5a5a8a;
}

/* Collapsible section animation */
.toggle-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(.4,0,.2,1), opacity 0.2s;
}
.toggle.open + .toggle-content {
  max-height: 500px; /* large enough for content */
  opacity: 1;
}
.toggle-icon {
  display: inline-block;
  transition: transform 0.2s;
}
.toggle.open .toggle-icon {
  transform: rotate(90deg);
}

/* 5. Focus states */
a:focus, .toggle:focus {
  outline: 2px solid #222;
  outline-offset: 2px;
  border-radius: 2px;
}

/* 6. Custom selection color */
::selection {
  background: #e0e0e0;
  color: #181818;
}

/* 7. Active heading highlight */
h1.active, h2.active, h3.active {
  background: #f5f5f5;
  border-radius: 4px;
  transition: background 0.2s;
}

/* 8. Minimal feedback for actions (e.g., .copied-tooltip) */
.copied-tooltip {
  display: inline-block;
  background: #222;
  color: #fff;
  font-size: 0.85em;
  padding: 0.2em 0.6em;
  border-radius: 3px;
  margin-left: 0.5em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  position: absolute;
  z-index: 10;
}
.copied-tooltip.visible {
  opacity: 1;
}

/* Mobile styles */
@media (max-width: 600px) {
  main {
    padding: 1.2rem 0.5rem 2rem 0.5rem;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  html, body {
    font-size: 16px;
  }
} 

/* Fix bullet spacing */
ul {
  list-style: disc outside;
  margin-left: 1.2rem;
}
li {
  padding-left: 0;
  transition: color 0.15s, padding-left 0.15s;
}
li:hover {
  color: #1976d2;
  padding-left: 0.3rem;
}
li:hover::marker {
  color: #1976d2;
  font-weight: bold;
}

/* 1. Section anchor icon on heading hover */
h1:hover .anchor, h2:hover .anchor, h3:hover .anchor {
  opacity: 1;
  pointer-events: auto;
}
.anchor {
  opacity: 0;
  margin-right: 0.4em;
  font-size: 0.85em;
  text-decoration: none;
  color: #aaa;
  transition: opacity 0.2s;
  cursor: pointer;
  vertical-align: middle;
}

/* 2. Progress bar at top */
#progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: #1976d2;
  opacity: 0.12;
  z-index: 100;
  transition: width 0.2s;
  pointer-events: none;
}
#progress-bar.active {
  opacity: 1;
}

/* 3. Back to top button */
#back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  background: #fff;
  color: #1976d2;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-size: 1.2rem;
  cursor: pointer;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* 4. Dark mode toggle */
#dark-toggle {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  background: #fff;
  color: #1976d2;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 101;
  transition: background 0.2s, color 0.2s;
}
body.dark, body.dark html {
  background: #181818;
  color: #f5f5f5;
}
body.dark main {
  background: #181818;
}
body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark h5, body.dark h6 {
  color: #f5f5f5;
}
body.dark a {
  color: #f5f5f5;
}
body.dark a:visited {
  color: #b0b0b0;
}
body.dark a:hover, body.dark a:focus {
  color: #fff;
}
body.dark .subheading, body.dark .team-name, body.dark .cta-text {
  color: #f5f5f5;
}
body.dark section {
  background: #181818;
}
body.dark .team-member {
  background: #232323;
  color: #f5f5f5;
}
body.dark .team-meta {
  color: #b0b0b0;
}
body.dark .cta-footer {
  background: #232323;
  color: #f5f5f5;
  border-top: 1px solid #444;
}
body.dark .project-block {
  background: #232323;
  border: 1px solid #444;
  color: #f5f5f5;
}
body.dark .project-block:hover {
  border: 1.5px solid #b0b0b0;
  background: #181818;
}
body.dark .project-title {
  color: #f5f5f5;
}
body.dark .project-desc {
  color: #b0b0b0;
}
body.dark .project-icon {
  color: #b0b0b0;
}
body.dark .corner-widget.bottom-left {
  background: #232323;
  color: #b0b0b0;
}
body.dark .help-fab {
  background: #232323;
  color: #f5f5f5;
}
body.dark .help-fab:hover, body.dark .help-fab:focus {
  background: #181818;
  color: #fff;
}
body.dark .help-modal-content {
  background: #181818;
  color: #f5f5f5;
}
body.dark #help-form input, body.dark #help-form textarea {
  background: #232323;
  color: #f5f5f5;
  border: 1px solid #444;
}
body.dark #help-form input:focus, body.dark #help-form textarea:focus {
  border: 1.5px solid #b0b0b0;
}
body.dark #help-form button[type="submit"] {
  background: #b0b0b0;
  color: #181818;
}
body.dark #help-form button[type="submit"]:hover {
  background: #444;
  color: #fff;
}
body.dark main section:focus, body.dark main li:focus, body.dark main p:focus {
  background: #232323;
  border-bottom: 2px solid #b0b0b0;
}

/* 5. Section outline on focus */
section:focus-within {
  box-shadow: 0 0 0 2px #1976d2;
  border-radius: 6px;
  background: #f7faff;
  transition: box-shadow 0.2s, background 0.2s;
}
body.dark section:focus-within {
  background: #23272e;
}

/* 6. Animated list item entry */
ul li {
  opacity: 0;
  transform: translateY(10px);
  animation: list-fade-in 0.5s forwards;
  animation-delay: var(--li-delay, 0s);
}
@keyframes list-fade-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* 7. Footnote tooltip */
.footnote-ref {
  position: relative;
  cursor: pointer;
  color: #1976d2;
  text-decoration: underline dotted;
}
.footnote-tooltip {
  display: none;
  position: absolute;
  left: 50%;
  bottom: 120%;
  transform: translateX(-50%);
  background: #fff;
  color: #181818;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 0.5em 1em;
  font-size: 0.95em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 200;
  min-width: 180px;
}
.footnote-ref:hover .footnote-tooltip, .footnote-ref:focus .footnote-tooltip {
  display: block;
}
body.dark .footnote-tooltip {
  background: #23272e;
  color: #f5f5f5;
  border-color: #333;
}

/* 8. Blinking cursor on headline */
.blink-cursor {
  display: inline-block;
  width: 1ch;
  animation: blink 1s steps(1) infinite;
  color: #1976d2;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
} 

/* 1. Remove blue hover color from non-link list items */
section:has(h2 .ph-gear) ul li,
section:has(h2 .ph-gear) ul li:hover,
section:has(h2 .ph-gear) ul li:focus {
  color: inherit;
  padding-left: 0.3rem;
  cursor: default;
}
section:has(h2 .ph-gear) ul li:hover::marker {
  color: inherit;
  font-weight: normal;
}

/* 2. Reduce icon size in headings */
h1 .ph, h2 .ph {
  font-size: 1.1em;
  vertical-align: -0.1em;
  margin-right: 0.4em;
}

/* 3. Distinct theme for main question at top */
.hero-question {
  font-size: 2.3rem;
  font-weight: 500;
  background: #f7faff;
  border-radius: 8px;
  padding: 1.2rem 1.5rem 1.2rem 1.2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 0 0 #e3f0fc;
  letter-spacing: -0.01em;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 0.5em;
}
body.dark .hero-question {
  background: #23272e;
  box-shadow: 0 1px 0 0 #333;
} 

/* Team section layout */
.team-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.1rem 1.5rem;
  margin: 1rem 0 1.5rem 0;
  justify-content: center;
  overflow-x: auto;
}
@media (max-width: 900px) {
  .team-list {
    flex-wrap: nowrap;
    gap: 1rem 1rem;
    overflow-x: auto;
  }
}
@media (max-width: 600px) {
  .team-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.7rem 0.7rem;
    overflow-x: auto;
  }
}
.team-member {
  background: #f5f5f5;
  border-radius: 7px;
  padding: 0.7rem 1rem 0.7rem 1rem;
  min-width: 140px;
  max-width: 180px;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.98em;
  flex: 0 0 auto;
}
body.dark .team-member {
  background: #232323;
  box-shadow: none;
}
.team-photo {
  width: 38px;
  height: 38px;
  margin-bottom: 0.4em;
  filter: grayscale(1);
}
.team-name {
  font-weight: 500;
  font-size: 1em;
  margin-bottom: 0.1em;
  color: #181818;
}
.team-meta {
  font-size: 0.91em;
  color: #666;
  margin-top: 0.1em;
  text-align: center;
  line-height: 1.4;
  font-style: italic;
  white-space: normal;
}
body.dark .team-meta {
  color: #b0b0b0;
}

/* CTA Footer */
.cta-footer {
  margin-top: 1.5rem;
  padding: 2.2rem 0 2.5rem 0;
  background: #f5f5f5;
  text-align: center;
  border-radius: 10px 10px 0 0;
  box-shadow: none;
  border-top: 1px solid #e0e0e0;
}
body.dark .cta-footer {
  background: #232323;
  box-shadow: none;
  border-top: 1px solid #444;
}
.cta-text {
  font-size: 1.25rem;
  margin-bottom: 1.1rem;
  color: #181818;
}
.cta-emails a {
  color: #222;
  font-weight: 500;
  text-decoration: underline;
  margin: 0 0.5em;
  transition: text-decoration 0.2s, color 0.2s;
}
.cta-emails a:hover {
  text-decoration: underline;
  color: #000;
}

/* Prepare for scroll effect */
body.scrolled main {
  /* placeholder for future scroll effect */
} 

/* Scroll effect: fade and scale in sections */
section {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
}
section.visible {
  opacity: 1;
  transform: none;
} 

/* Team member photo */
.team-photo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.7em;
  box-shadow: 0 1px 4px 0 #e3f0fc;
  background: #fff;
}

/* Projects section */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 2rem 0 2.5rem 0;
}
.project-block {
  display: flex;
  align-items: flex-start;
  background: #f5f5f5;
  border-radius: 8px;
  box-shadow: none;
  border: 1px solid #e0e0e0;
  padding: 1.5rem 1.5rem 1.5rem 1.2rem;
  gap: 1.2rem;
  transition: border 0.2s, background 0.2s, transform 0.2s;
}
.project-block:hover {
  border: 1.5px solid #444;
  background: #e0e0e0;
  transform: translateY(-2px) scale(1.015);
}
body.dark .project-block {
  background: #232323;
  border: 1px solid #444;
  box-shadow: none;
}
body.dark .project-block:hover {
  border: 1.5px solid #b0b0b0;
  background: #181818;
}
.project-icon {
  font-size: 2.2rem;
  color: #444;
  flex-shrink: 0;
  margin-top: 0.1em;
}
.project-title {
  font-weight: 600;
  font-size: 1.18rem;
  margin-bottom: 0.3em;
  letter-spacing: -0.01em;
}
.project-desc {
  font-size: 1.04rem;
  color: #444;
  line-height: 1.6;
}
body.dark .project-desc {
  color: #cfd8dc;
}

@media (max-width: 600px) {
  .projects-list {
    gap: 1.2rem;
  }
  .project-block {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.1rem 1rem 1.1rem 1rem;
    gap: 0.7rem;
  }
  .project-icon {
    font-size: 1.5rem;
  }
} 

/* Simple focus style for keyboard navigation blocks */
main section:focus, main li:focus, main p:focus {
  outline: none;
  border-bottom: 2px solid #444;
  background: #f5f5f5;
}
body.dark main section:focus, body.dark main li:focus, body.dark main p:focus {
  background: #232323;
  border-bottom: 2px solid #b0b0b0;
} 

.corner-widget.bottom-left {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 100;
  font-size: 0.85em;
  opacity: 0.55;
  padding: 0.35em 0.7em;
  color: #444;
  background: rgba(255,255,255,0.7);
  border-radius: 7px;
  box-shadow: none;
  transition: opacity 0.2s, background 0.2s;
  pointer-events: auto;
  font-family: inherit;
}
.corner-widget.bottom-left:hover, .corner-widget.bottom-left:focus-within {
  opacity: 0.92;
}

.help-fab {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 10001;
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 50px;
  box-shadow: 0 2px 12px 0 rgba(30,40,60,0.10);
  font-size: 0.85em;
  font-weight: 500;
  padding: 0.35em 0.7em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5em;
  opacity: 0.55;
  transition: opacity 0.2s, background 0.2s, box-shadow 0.2s;
}
.help-fab:hover, .help-fab:focus {
  opacity: 0.92;
  background: #1256a3;
  box-shadow: 0 4px 18px 0 rgba(30,40,60,0.16);
}
.help-fab-icon {
  font-size: 1em;
  width: 1.2em;
  height: 1.2em;
  line-height: 1.2em;
  margin-right: 0.2em;
}

body.dark .corner-widget.bottom-left {
  background: rgba(35,39,46,0.7);
  color: #cfd8dc;
}

@media (max-width: 600px) {
  .help-fab {
    right: 0.5rem;
    bottom: 0.5rem;
    font-size: 0.82em;
    padding: 0.3em 0.7em 0.3em 0.6em;
  }
  .corner-widget.bottom-left {
    left: 0.5rem;
    bottom: 3.2rem;
    font-size: 0.82em;
    padding: 0.3em 0.7em;
  }
}
#pomodoro-widget button {
  background: none;
  border: none;
  color: #1976d2;
  font-weight: 500;
  font-size: 1em;
  margin-right: 0.5em;
  cursor: pointer;
  padding: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}
#pomodoro-widget button:hover {
  opacity: 1;
} 

.help-modal {
  position: fixed;
  inset: 0;
  background: rgba(30,40,60,0.13);
  z-index: 10002;
  display: none;
  align-items: center;
  justify-content: center;
}
.help-modal[style*="display: flex"] {
  display: flex !important;
}
.help-modal-content {
  background: #fff;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 8px 32px 0 rgba(30,40,60,0.18);
  padding: 2.1em 2.2em 2em 2.2em;
  min-width: 270px;
  max-width: 95vw;
  width: 100%;
  max-width: 370px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: popup-fadein 0.3s;
}
.help-modal-title {
  font-size: 1.13em;
  font-weight: 500;
  margin-bottom: 1em;
  text-align: center;
}
.help-modal-close {
  position: absolute;
  top: 0.7em;
  right: 1em;
  background: none;
  border: none;
  font-size: 1.3em;
  color: #888;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.help-modal-close:hover {
  opacity: 1;
}
#help-form {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  width: 100%;
  align-items: center;
}
#help-form input, #help-form textarea {
  width: 100%;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  padding: 0.5em 0.7em;
  font-size: 1em;
  font-family: inherit;
  background: #f7faff;
  color: #222;
  resize: none;
  transition: border 0.2s;
}
#help-form input:focus, #help-form textarea:focus {
  border: 1.5px solid #1976d2;
  outline: none;
}
#help-form button[type="submit"] {
  background: #444;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 0.5em 1.2em;
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  margin-top: 0.2em;
  transition: background 0.2s;
}
#help-form button[type="submit"]:hover {
  background: #222;
}
.help-success {
  color: #1976d2;
  font-weight: 500;
  margin-top: 0.7em;
  text-align: center;
}
body.dark .help-modal-content {
  background: #23272e;
  color: #cfd8dc;
  box-shadow: 0 8px 32px 0 rgba(10,20,40,0.28);
}
body.dark #help-form input, body.dark #help-form textarea {
  background: #23272e;
  color: #cfd8dc;
  border: 1px solid #333;
}
body.dark #help-form input:focus, body.dark #help-form textarea:focus {
  border: 1.5px solid #90caf9;
}
body.dark #help-form button[type="submit"] {
  background: #b0b0b0;
  color: #232323;
}
body.dark #help-form button[type="submit"]:hover {
  background: #444;
  color: #fff;
}
@media (max-width: 600px) {
  .help-fab {
    right: 0.5rem;
    bottom: 0.5rem;
    font-size: 0.97em;
    padding: 0.6em 1.1em 0.6em 0.9em;
  }
  .help-modal-content {
    padding: 1.1em 0.7em 1.1em 0.7em;
    min-width: 0;
    max-width: 98vw;
  }
} 

body.dark p {
  color: #f5f5f5;
}
body.dark li {
  color: #f5f5f5;
} 

.theme-toggle {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  background: none;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 101;
  transition: background 0.2s;
  outline: none;
  box-shadow: none;
  padding: 0;
}
.theme-toggle:focus-visible {
  outline: 2px solid #444;
  background: #f0f0f0;
}
body.dark .theme-toggle:focus-visible {
  outline: 2px solid #b0b0b0;
  background: #232323;
}
.sun-and-moon {
  width: 24px;
  height: 24px;
  color: #444;
  transition: color 0.3s;
}
body.dark .sun-and-moon {
  color: #f5f5f5;
}
.theme-toggle.is-dark .sun {
  transform: scale(1.75);
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.theme-toggle.is-dark .sun-beams {
  opacity: 0;
  transition: opacity 0.3s;
}
.theme-toggle.is-dark .moon > circle {
  transform: translateX(-7px);
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}
.theme-toggle .sun {
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.theme-toggle .sun-beams {
  transition: opacity 0.3s;
}
.theme-toggle .moon > circle {
  transition: transform 0.25s cubic-bezier(.4,0,.2,1);
}

/* Toast notification (top-center, best practice) */
.dark-hint-toast {
  position: fixed;
  top: 2.2rem;
  left: 50%;
  transform: translateX(-50%) translateY(-16px) scale(0.98);
  background: #f5f5f5;
  color: #222;
  padding: 0.85em 1.7em;
  border-radius: 8px;
  box-shadow: 0 4px 24px 0 rgba(30,30,30,0.10);
  font-size: 1.08em;
  font-family: inherit;
  opacity: 0;
  pointer-events: none;
  z-index: 2000;
  max-width: 350px;
  width: max-content;
  min-width: 120px;
  text-align: center;
  transition: opacity 0.45s cubic-bezier(.4,0,.2,1), transform 0.45s cubic-bezier(.4,0,.2,1);
}
.dark-hint-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}
body.dark .dark-hint-toast {
  background: #232323;
  color: #f5f5f5;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.18);
}