.public-site-frame { height: auto; overflow-x: clip; }

/* Source tooltip appearance, with native hover/focus instead of Vue state. */
.tooltip-wrapper[data-tooltip]:is(:hover, :focus-visible)::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: min(25rem, 70vw);
  padding: 1rem;
  border-radius: .4rem;
  color: var(--body-text-color);
  background: var(--menu-bg-color);
  font-size: 1.2rem;
  line-height: 1.4;
  text-align: center;
  z-index: 999999;
  pointer-events: none;
}
[role="button"]:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

/* screenshare brand */
[data-theme=dark][data-surface=public] {
  --primary-color: #0750ed;
  --primary-color-light: #80b0ff;
  --primary-hover-color: #0643ca;
  --primary-bg: #102449;
  --primary-color-50a: #0750ed50;
}
.button.primary-home, .button.main-cta { background: #0750ed; color: #fff; }
.button.primary-home:hover, .button.main-cta:hover { background: #0643ca; color: #fff; }
.canvas-container, .bento-scene-container, .ai-showcase__scene-canvas, .footer-light { filter: hue-rotate(-38deg); }
.auth-page { min-height: 100svh; padding: 36px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 0, #102755 0, #08080a 60%); }
.auth-brand { display: block; margin-bottom: 48px; }
.auth-brand img { width: 218px; height: 38px; }
.auth-card { width: 100%; max-width: 460px; padding: 40px 32px; border: 1px solid #293249; border-radius: 20px; background: #101319; text-align: center; }
.auth-symbol { width: 64px; height: 64px; margin-bottom: 24px; }
.auth-card h1, .earn-placeholder h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.03em; color: #fff; margin: 0 0 16px; }
.auth-card p, .earn-placeholder p { font-size: 17px; color: #b6bece; line-height: 1.5; }
.auth-connect { margin: 28px 0 18px; width: 100%; min-height: 52px; font-size: 16px; white-space: normal; }
.auth-connect:disabled { cursor: wait; opacity: .75; }
.auth-card .auth-note { font-size: 14px; }
.auth-card .auth-error { color: #ffb4b4; font-size: 14px; margin-top: 20px; }
.auth-back { margin-top: 28px; font-size: 15px; color: #b6bece; }
.earn-placeholder { text-align: center; }
button:focus-visible { outline: 2px solid #80b0ff; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 480px) { .auth-card { padding: 28px 20px; } .auth-card h1 { font-size: 27px; } }
.button.main-cta { filter: none; }

.ui-image, .ui-video, .feature-content > img, .timeline-svg, video[alt="Video exports"] { filter: hue-rotate(-38deg); }
.embed-preview { width: 80%; display: grid; gap: 12px; margin: 0 auto; text-align: center; }
.embed-preview span, .embed-preview code { padding: 12px; border-radius: 6px; background: #191c22; color: #cbd5e7; font-size: 15px; }
.embed-preview code { color: #80b0ff; background: #101b30; }

/* Adapted content inside the restored landing components. */
.ai-showcase__demo[data-v-3b2154ae] { grid-template-columns:minmax(0,1fr); }
.ai-showcase__scene[data-v-3b2154ae] { min-height:50rem; }
.popular-app-cloud { display:grid; grid-template-columns:repeat(4,1fr); gap:1.4rem; padding:3rem 1rem 1rem; width:100%; max-width:48rem; }
.popular-app-tile { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1rem; background:#17171c; border:1px solid #27272e; border-radius:1.2rem; padding:1.5rem .6rem; }
.popular-app-tile:nth-child(3n+1) { transform:rotate(-6deg); }
.popular-app-tile:nth-child(3n+2) { transform:translateY(1rem) rotate(5deg); }
.popular-app-tile img { width:3.6rem; height:3.6rem; }
.popular-app-tile span { font-size:1.1rem; color:var(--font-secondary-color); }
.logging-steps { position:absolute; bottom:1rem; left:0; right:0; display:flex; flex-direction:column; gap:1rem; padding:1rem 3rem; z-index:3; pointer-events:none; }
.logging-steps span { background:#17171cd9; border:1px solid #2a2a33; padding:1rem; border-radius:.6rem; font-size:1.3rem; }
.time-token-visual { width:100%; min-height:28rem; display:flex; align-items:center; justify-content:center; gap:2rem; position:relative; background:radial-gradient(ellipse,#0750ed20,transparent 65%); }
.time-token-hours { font-size:2.3rem; letter-spacing:-.04em; color:#b6bece; }
.time-token-arrow { font-size:6rem; color:#80b0ff; }
.time-token-coin img { width:9rem; height:9rem; filter:drop-shadow(0 0 3rem #0750ed60); }
.time-token-visual small { position:absolute; bottom:1rem; font-size:1.2rem; color:var(--font-secondary-color); }
.share-apps { width:85%; display:grid; gap:1.2rem; padding-top:3rem; }
.share-apps .button { display:flex; align-items:center; gap:1.2rem; width:100%; font-size:1.5rem; }
.share-apps img { width:2.2rem; height:2.2rem; }
.share-apps button span { margin-left:auto; }
.share-status { min-height:3rem; font-size:1.2rem; color:#80b0ff; }
.time-preview { padding:4rem 6rem; width:100%; background:#101014; text-align:left; }
.time-preview-heading,.time-preview-row,.time-preview-total { display:flex; align-items:center; justify-content:space-between; gap:2rem; }
.time-preview-heading { font-size:2rem; margin-bottom:2rem; }
.time-preview-heading span:last-child { font-size:1.3rem; color:var(--font-secondary-color); }
.time-preview-row { padding:1.6rem 0; border-bottom:1px solid #292930; font-size:1.7rem; }
.time-preview-row img { width:3rem; height:3rem; }
.time-preview-row span { flex:1; }
.time-preview-row strong { font-weight:500; }
.time-preview-total { margin-top:2.4rem; font-size:1.5rem; }
.time-preview-total span:last-child { color:#80b0ff; }
.time-preview-note { color:var(--font-secondary-color); font-size:1.2rem; margin:1.5rem 0 0; }
.screenshare-footer-links { display:flex; gap:2.4rem; flex-wrap:wrap; align-items:center; font-size:1.4rem; }
.screenshare-footer-links a { color:var(--font-secondary-color); text-decoration:none; }
.screenshare-footer-links a:hover { color:#fff; }
@media(max-width:700px) {
 .ai-showcase__scene[data-v-3b2154ae] { min-height:30rem; }
 .popular-app-cloud { gap:.8rem; padding-bottom:2rem; }
 .popular-app-tile { padding:1.2rem .4rem; }
 .popular-app-tile img { width:2.8rem; height:2.8rem; }
 .time-preview { padding:2.4rem 1.8rem; }
 .time-preview-heading span:last-child { display:none; }
 .time-preview-total { flex-direction:column; align-items:flex-start; gap:.8rem; }
 .screenshare-footer-links { gap:1.6rem; }
}
@media(max-width:700px) { .ui-wrapper[data-v-3b2154ae] { width:100%; margin-left:0; } }

.header-x { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; margin-right:16px; opacity:.7; transition:opacity .15s; }
.header-x:hover, .header-x:focus-visible { opacity:1; }
.header-x img { display:block; width:16px; height:16px; }

/* Sign up sets the box. Login carries the same label invisibly so its width matches. */
.header-auth {
  display: inline-flex;
  align-items: stretch;
  gap: 1rem;
  flex: 0 0 auto;
}
.header-auth .button {
  box-sizing: border-box;
  position: relative;
  margin: 0;
}
.header-auth .secondary > span:not(.button-sizer) {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-auth .button-sizer {
  visibility: hidden;
}
.public-site-header .button.primary-home,
.public-site-header .button.secondary,
.public-site-header__mobile-menu .button.primary-home,
.public-site-header__mobile-menu .button.secondary {
  box-sizing: border-box;
}
.public-site-header .button.secondary,
.public-site-header__mobile-menu .button.secondary {
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.usp-container:has(.contract-chip) {
  min-width: 0;
  max-width: 100%;
}
.contract-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  min-width: 0;
  margin: 1.6rem auto 0;
  padding: .4rem .4rem .4rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .19);
  border-radius: 999px;
  background: #101319;
}
.contract-chip__label {
  flex: 0 0 auto;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: #80b0ff;
}
.contract-chip__address {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.3rem;
  color: #fff;
}
.contract-chip__copy {
  flex: 0 0 auto;
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #0750ed;
  color: #fff;
  font: 600 1.4rem/1 inherit;
  padding: .8rem 1.4rem;
  cursor: pointer;
}
.contract-chip__copy:hover { background: #0643ca; }
