/* Brand artwork comes from Figma 10373:31365. Round badge treatments are local. */
@font-face {
  font-family: "Alimama ShuHeiTi Footer";
  src: url("./fonts/AlimamaShuHeiTi-Footer.woff2") format("woff2");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}
.entry-footer-region {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100vh;
  height: 100dvh;
  background: #1d293d;
}
.entry-marketing .footer-playground {
  --footer-token-size: max(150px, 13vw);
  --footer-token-scale: 1;
  --footer-title-size: clamp(32px, 22svh, 12.3vw);
  position: relative;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  overflow: clip;
  contain: layout paint;
  background: #1d293d;
  color: #fff;
  scroll-margin-top: 0;
}
.footer-copy { position: absolute; z-index: 1; inset: 8px 8px auto; pointer-events: none; }
.entry-marketing .footer-copy h2 {
  margin: 0;
  color: #fff;
  font-family: "Alimama ShuHeiTi Footer", "PingFang SC", sans-serif;
  font-size: var(--footer-title-size);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -.06em;
}
.footer-copy h2 > span { display: block; white-space: nowrap; }
.footer-invitation { position: absolute; top: calc(var(--footer-title-size) * 1.38); left: 68vw; pointer-events: auto; }
.entry-marketing .footer-invitation > p { margin: 0 0 18px; color: #fff; font-size: clamp(12px, 2.6svh, 24px); line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.footer-start { width:152px; min-width:152px; height:clamp(40px, 6.5svh, 48px); gap:12px; font-size:clamp(12px, 2.1svh, 16px); }
.footer-start .footer-start-icon { display:block; flex:0 0 18px; width:18px; height:18px; }
.footer-playground:is([data-motion-state="offscreen"],[data-motion-state="static"],[data-motion-state="paused"]) .md-ui-button--brand,
.footer-playground:is([data-motion-state="offscreen"],[data-motion-state="static"],[data-motion-state="paused"]) .md-ui-button--brand::before { animation-play-state:paused; }
.footer-keyboard-hint { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer-tokens { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-evenly; padding-bottom: 18px; }
.footer-token { position: relative; flex: 0 0 var(--footer-token-size); width: var(--footer-token-size); height: var(--footer-token-size); margin: 0; padding: 0; border: 0; border-radius:50%; corner-shape:round; background: transparent; color: inherit; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.footer-playground.is-ready .footer-token { position: absolute; top: 0; left: 0; }
.footer-playground.is-moving .footer-token { will-change: transform; }
.footer-token-face { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; border-radius:50%; corner-shape:round; transform: translate(-50%, -50%) scale(var(--footer-token-scale)); pointer-events: none; overflow: hidden; }
.footer-token-face::before, .footer-token-face::after { content: ""; position: absolute; border-radius:50%; corner-shape:round; }
.footer-token-mark { position: absolute; inset: 0; display: block; width: 60px; height: 60px; max-width: none; transform: scale(var(--mark-scale, 1)); -webkit-user-drag: none; }
.footer-token--rose .footer-token-face { background: #dd3c78; }
.footer-token--rose .footer-token-face::before { inset: 8px; border: 1px solid #fff9; }
.footer-token--rose .footer-token-face::after { inset: 3px 15px; border: 1px solid #fff9; transform: rotate(-36deg); }
.footer-token--rose .footer-token-mark { --mark-scale: .88; z-index: 1; }
.footer-token--orbit .footer-token-face { background: #4d3df3; }
.footer-token--orbit .footer-token-face::before { inset: 5px; background: #f1cd45; }
.footer-token--orbit .footer-token-mark { inset: 10px; width: 40px; height: 40px; border: 3px solid #fff; border-radius:50%; corner-shape:round; }
.footer-token--start .footer-token-face { background: #fff; }
.footer-token--start .footer-token-face::before { inset: 6px; border: 1px solid #cbd2de; background: #fff; }
.footer-token-lettering { position: absolute; inset: 0; display: grid; align-content: center; color: #202a3d; font-family: "Alimama ShuHeiTi Footer", "PingFang SC", sans-serif; font-size: 12px; font-weight: 900; line-height: 1.1; letter-spacing: -.03em; transform: rotate(-15deg); }
.footer-token--violet .footer-token-face { background: #7e30d5; }
.footer-token--violet .footer-token-face::before { inset: 9px 8px; border-radius: 12px; corner-shape:var(--md-corner-shape); background: #f6a23d; transform: rotate(-18deg); }
.footer-token--violet .footer-token-mark { --mark-scale: .84; filter: brightness(0); }
.footer-token--ink .footer-token-face { border: 1px solid #3c3c3c; background: #000; }
.footer-token--ink .footer-token-mark { --mark-scale: .96; }
.footer-token--gold .footer-token-face { background: #d7a62c; box-shadow: inset 2px 2px #f8d064, inset -2px -2px #ba851b; }
.footer-token--gold .footer-token-face::before { inset: 7px; background: #f4ce4c; box-shadow: inset 1px 1px #ffe48b; }
.footer-token--gold .footer-token-mark { --mark-scale: .86; filter: brightness(0); opacity: .78; }
.footer-token.is-grabbed { z-index: 2; cursor: grabbing; }
.footer-token:focus-visible { outline: 3px solid #c0ed39; outline-offset: 5px; z-index: 3; }
.footer-token:disabled { opacity: 1; cursor: default; }
.footer-playground[data-motion-state="static"] [data-footer-action] { cursor: pointer; }
.entry-footer.marketing-footer { min-height: 88px; padding: 24px clamp(24px, 5vw, 72px); background: #1d293d; color: #999; }
.marketing-footer .marketing-footer-brand { color: #f5f5f5; }
.marketing-footer nav a { color: #a6a6a6; }
.marketing-footer nav a:hover { color: #fff; }
.entry-header.is-footer-active { visibility: hidden; opacity: 0; pointer-events: none; }
@media (min-width: 1000px) { .entry-marketing .footer-playground { --footer-token-scale: 2; } }
@media (max-width: 600px) {
  .entry-marketing .footer-playground { --footer-title-size: clamp(28px, 6svh, 11.6vw); --footer-token-scale: .9; }
  .footer-copy { inset: 30px 16px auto; }
  .entry-marketing .footer-copy h2 { font-size: var(--footer-title-size); line-height: 1.18; letter-spacing: -.06em; }
  .footer-invitation { top: calc(var(--footer-title-size) * 2.7); right: auto; left: 0; }
  .entry-marketing .footer-invitation > p { margin-bottom: 18px; font-size: clamp(12px, 1.6svh, 15px); line-height: 1.6; }
  .footer-start { width:144px; min-width:144px; }
  .entry-footer.marketing-footer { min-height: 126px; padding: 22px 20px; gap: 17px; }
  .marketing-footer nav { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) { .footer-start { transition: none; } }
