@font-face{font-family:"Geist";src:url("./geist-sans-variable-2ffebe993e969069.woff2") format("woff2");font-weight:100 900;font-display:swap}
@font-face{font-family:"Space Grotesk";src:url("./space-grotesk-variable-8e085aa438094f11.woff2") format("woff2");font-weight:100 900;font-display:swap}
/* MakeTap current design tokens — authority for implementation.
   Sources: docs/design-system/README.md and RESOURCES.md.
   Inspired by platform accessibility guidance, not Apple proprietary tokens. */
:root {
  /* Brand */
  --mt-primary:#7650EC; --mt-orchid:#AF68F4; --mt-electric:#7950ED;
  --mt-deep:#6929DC; --mt-lilac:#E2A1F9; --mt-coral:#FF7055;
  --mt-lime:#D7FF6B; --mt-cyan:#9CE4F5;
  --mt-page:#F8F7FB; --mt-surface:#FFFFFF; --mt-soft:#F3EDFF;
  --mt-graphite:#1C1622; --mt-ink:#21192E; --mt-muted:#766F80; --mt-line:#E9E5EF;
  --mt-error:#9B2C37; --mt-danger-hover:#80212B; --mt-error-bg:#FFE9E6;
  --mt-success:#0E654E; --mt-success-bg:#D7F9ED;
  --mt-warning:#7A4B00; --mt-warning-bg:#FFF2CA;
  --mt-info:#334C89; --mt-info-bg:#EAF1FF;
  --mt-focus:#5E30D1; --mt-focus-offset:3px;
  --mt-orchid-bloom:linear-gradient(135deg,#E2A1F9 0%,#AF68F4 35%,#7950ED 72%,#6929DC 100%);

  /* Keep Latin brand faces and prefer installed Chinese platform fonts.
     The first-party MiSans UI subset prevents missing glyphs without system CJK. */
  --mt-font-cn:"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC","MiSans",sans-serif;
  --mt-font-display:"Space Grotesk",var(--mt-font-cn);
  --mt-font-ui:"Geist",var(--mt-font-cn);
  --mt-font-numeric-large:var(--mt-font-display);
  --mt-font-numeric-small:var(--mt-font-ui);
  --mt-number-threshold:32px;

  /* Responsive type scale (desktop first). */
  --mt-type-display:64px; --mt-type-h1:48px; --mt-type-h2:32px;
  --mt-type-h3:24px; --mt-type-body:16px; --mt-type-ui:15px; --mt-type-caption:13px;
  --mt-leading-display:1.10; --mt-leading-h1:1.14; --mt-leading-h2:1.22;
  --mt-leading-h3:1.28; --mt-leading-body:1.60; --mt-leading-ui:1.45; --mt-leading-caption:1.50;
  --mt-track-display:-.012em; --mt-track-h1:-.008em; --mt-track-h2:-.004em;
  --mt-track-h3:0em; --mt-track-body:0em; --mt-track-ui:0em; --mt-track-caption:.005em;
  --mt-word-unit-gap:.16em;

  /* Space and radii. Brand icon has its own unique SVG silhouette. */
  --mt-space-1:4px; --mt-space-2:8px; --mt-space-3:12px; --mt-space-4:16px;
  --mt-space-5:24px; --mt-space-6:32px; --mt-space-7:48px; --mt-space-8:64px;
  --mt-radius-xs:6px; --mt-radius-sm:10px; --mt-radius-md:14px;
  --mt-radius-inset:16px; --mt-radius-card:24px; --mt-radius-display:32px;
  /* Action buttons only. Inputs, icon-only controls and App icon silhouettes use their own radii. */
  --mt-radius-pill:999px; --mt-radius-sheet:24px;
  --mt-content-max:1160px; --mt-content-reading:66ch;
  --mt-gutter-mobile:20px; --mt-gutter-tablet:32px; --mt-gutter-desktop:40px;
  --mt-grid-gap-mobile:12px; --mt-grid-gap-tablet:16px; --mt-grid-gap-desktop:24px;
  /* Compact plan-sheet type roles. These are UI, not display headings. */
  --mt-paywall-title:22px; --mt-paywall-name:16px; --mt-paywall-price:22px;
  --mt-paywall-body:14px; --mt-paywall-meta:13px; --mt-paywall-action:16px;
  --mt-paywall-secondary:#665F70;
  --mt-preview-label-bg:rgba(0,0,0,.30); --mt-preview-label-size:11px;
  --mt-creation-back-size:44px; /* narrow preview icon-only Back target; 52px tall */
  --mt-guide-highlight:#C45118; --mt-guide-highlight-bg:#FFF3EC;
  --mt-guide-target-size:40px; --mt-guide-glyph-size:24px; --mt-guide-secondary:#62586c;
  --mt-target-min:44px; --mt-button-height:48px; --mt-field-height:48px;

  /* Homepage App tiles reuse shape/stagger tokens for one in-place entrance;
     text and controls remain usable, with a static reduced-motion fallback.
     Motion: brand replay is one finite pass. --mt-motion-gradient is one
     14s segment (iterations:1), never an infinite cycle. Shapes enter once at
     180ms stagger on load/refresh, viewport re-entry or hover, then stay still.
     Reduced motion and static favicon/PWA artwork never animate. */
  --mt-press:120ms; --mt-hover:160ms; --mt-reveal:280ms; --mt-layout:360ms;
  --mt-state:220ms; --mt-number:320ms; --mt-sheet:320ms; --mt-menu:180ms;
  --mt-motion-shape:420ms; --mt-motion-stagger:180ms; --mt-motion-gradient:14s;
  /* Approved homepage Orb exception; fixed blur, bounded render and finite tap. */
  --mt-orb-size:min(100.8vw,558px); --mt-orb-opacity:.78; --mt-orb-blur:3px;
  --mt-orb-tap:800ms;
  --mt-ease:cubic-bezier(.2,.8,.2,1); --mt-ease-out:cubic-bezier(.22,1,.36,1);
  --mt-shadow-card:0 10px 30px rgba(33,25,46,.06);
}
@media (max-width:650px) {
  :root {
    --mt-type-display:40px; --mt-type-h1:34px; --mt-type-h2:27px;
    --mt-type-h3:21px; --mt-type-body:17px;
  }
}
@media (max-width:599px) { :root { --mt-page-gutter:var(--mt-gutter-mobile); --mt-grid-gap:var(--mt-grid-gap-mobile); } }
@media (min-width:600px) and (max-width:1023px) { :root { --mt-page-gutter:var(--mt-gutter-tablet); --mt-grid-gap:var(--mt-grid-gap-tablet); } }
@media (min-width:1024px) { :root { --mt-page-gutter:var(--mt-gutter-desktop); --mt-grid-gap:var(--mt-grid-gap-desktop); } }
/* Font role classes — CSS cannot branch automatically on computed font size. */
.mt-display,.mt-h1,.mt-h2,.mt-h3,.mt-number-display{font-family:var(--mt-font-display)}
.mt-display{font-size:var(--mt-type-display);line-height:var(--mt-leading-display);letter-spacing:var(--mt-track-display)}
.mt-h1{font-size:var(--mt-type-h1);line-height:var(--mt-leading-h1);letter-spacing:var(--mt-track-h1)}
.mt-h2{font-size:var(--mt-type-h2);line-height:var(--mt-leading-h2);letter-spacing:var(--mt-track-h2)}
.mt-h3{font-size:var(--mt-type-h3);line-height:var(--mt-leading-h3);letter-spacing:0}
.mt-body,.mt-caption,.mt-btn,.mt-number-ui{font-family:var(--mt-font-ui)}
.mt-body{font-size:var(--mt-type-body);line-height:var(--mt-leading-body);letter-spacing:0}
.mt-caption{font-size:var(--mt-type-caption);line-height:var(--mt-leading-caption);letter-spacing:var(--mt-track-caption)}
.mt-number-display{font-variant-numeric:proportional-nums;letter-spacing:0}
.mt-number-ui{font-variant-numeric:tabular-nums;letter-spacing:0}
.mt-focusable:focus-visible{outline:3px solid var(--mt-focus);outline-offset:var(--mt-focus-offset)}
.mt-status-error{color:var(--mt-error);background:var(--mt-error-bg)}
.mt-status-success{color:var(--mt-success);background:var(--mt-success-bg)}
.mt-status-warning{color:var(--mt-warning);background:var(--mt-warning-bg)}
.mt-status-info{color:var(--mt-info);background:var(--mt-info-bg)}
/* One product button family. Brand and semantic Danger states do not share hover. */
.mt-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:var(--mt-button-height);padding:10px 19px;border:1px solid transparent;border-radius:var(--mt-radius-pill);font:600 var(--mt-type-ui)/var(--mt-leading-ui) var(--mt-font-ui);letter-spacing:0;cursor:pointer;text-decoration:none;transition:background var(--mt-hover) ease,transform var(--mt-press) var(--mt-ease),border-color var(--mt-hover) ease}
.mt-btn:active:not(:disabled){transform:scale(.98)}
.mt-btn:focus-visible{outline:3px solid var(--mt-focus);outline-offset:3px}
.mt-btn:disabled,.mt-btn[aria-disabled="true"]{opacity:.55;cursor:not-allowed;transform:none}
.mt-btn--primary{background:var(--mt-primary);color:white}
.mt-btn--primary:hover:not(:disabled){background:var(--mt-deep)}
.mt-btn--secondary{background:var(--mt-surface);border-color:var(--mt-line);color:var(--mt-ink)}
.mt-btn--secondary:hover:not(:disabled){background:var(--mt-soft)}
.mt-btn--soft{background:var(--mt-soft);color:var(--mt-deep)}
.mt-btn--soft:hover:not(:disabled){background:#E7DDFD}
.mt-btn--ghost{background:transparent;color:var(--mt-ink)}
.mt-btn--ghost:hover:not(:disabled){background:var(--mt-soft)}
.mt-btn--accent{background:var(--mt-lime);color:var(--mt-graphite)}
.mt-btn--accent:hover:not(:disabled){background:#CEFA54}
.mt-btn--danger{background:var(--mt-error-bg);color:var(--mt-error);border-color:transparent}
.mt-btn--danger:hover:not(:disabled){background:#FBD2CF;color:var(--mt-danger-hover)}
@media (prefers-reduced-motion:reduce){.mt-btn{transition:none!important}.mt-motion-safe{animation:none!important;transition:none!important}}
@media (forced-colors:active){.mt-focusable:focus-visible,.mt-btn:focus-visible{outline:3px solid Highlight}}

#privateInstallGuide .guide-safari-phone{display:grid;gap:4px;padding:6px;border:1px solid #e9e5ef;border-radius:12px}#privateInstallGuide .guide-safari-phone .guide-address{text-align:center}#privateInstallGuide .guide-safari-tools{display:grid;grid-template-columns:repeat(5,1fr);place-items:center;color:#62586c}

#privateInstallGuide{box-sizing:border-box;overflow:auto;overscroll-behavior:contain;width:min(520px,100%);max-width:100%;max-height:calc(100dvh - 48px);margin:auto auto 0;padding:20px 24px max(20px,env(safe-area-inset-bottom));border:1px solid #E9E5EF;border-bottom:0;border-radius:24px 24px 0 0;background:#fff;color:#21192E;font-family:"Geist","MiSans","PingFang SC",system-ui,sans-serif}
#privateInstallGuide::backdrop{background:#21192e66}
#privateInstallGuide[open]{display:flex;flex-direction:column;gap:12px}
#privateInstallGuide [hidden]{display:none!important}
#privateInstallGuide h2{font-family:"Space Grotesk","MiSans",system-ui,sans-serif;font-size:24px;line-height:1.25;margin:0;flex:none}
#privateInstallGuide h2:focus{outline:none}
#privateInstallGuide .guide-content{overflow:visible;min-height:auto;flex:none}
#privateInstallGuide ol{display:grid;gap:12px;list-style:none;padding:0;margin:0}
#privateInstallGuide li{min-width:0;overflow-wrap:anywhere}
#privateInstallGuide .guide-instruction{display:flex;align-items:flex-start;gap:8px;margin:0 0 6px;font-size:15px;line-height:1.4}
#privateInstallGuide .guide-instruction strong{font-weight:600}
#privateInstallGuide .guide-number{display:inline-flex;align-items:center;justify-content:center;flex:none;width:21px;height:21px;border-radius:50%;background:#F3EDFF;color:#6929DC;font-size:12px;font-weight:600}
#privateInstallGuide figure{margin:0 0 0 29px}
#privateInstallGuide .guide-toolbar,#privateInstallGuide .guide-menu,#privateInstallGuide .guide-chrome{display:flex;align-items:center;gap:6px;min-height:44px;padding:4px 8px;border:1px solid #E9E5EF;border-radius:12px;background:#F8F7FB;font-size:13px}
#privateInstallGuide .guide-toolbar>span:first-child,#privateInstallGuide .guide-menu>span:first-child{flex:1;min-width:0}
#privateInstallGuide .guide-address{background:#EEEAF2;color:#62586c;border-radius:8px;padding:6px 8px;font-size:12px;min-width:0}
#privateInstallGuide .guide-chrome{justify-content:space-between;background:#EEEAF2}
#privateInstallGuide .guide-target{display:inline-flex;flex:0 0 36px;align-items:center;justify-content:center;width:36px;height:36px;box-sizing:border-box;border:2px solid #C45118;border-radius:50%;background:#FFF3EC;color:#21192E}
#privateInstallGuide .guide-target svg{display:block;width:24px;height:24px;flex:none}
#privateInstallGuide .guide-confirm{border:1px solid #E9E5EF;border-radius:12px;overflow:hidden;background:#F8F7FB}
#privateInstallGuide .guide-sheet-bar{display:flex;align-items:center;gap:6px;justify-content:space-between;border-bottom:1px solid #E9E5EF;padding:8px;font-size:11px;color:#334C89}
#privateInstallGuide .guide-sheet-bar>span:nth-child(2){text-align:center;color:#21192E;font-weight:600}
#privateInstallGuide .guide-sheet-action{font-weight:650;flex:none}
#privateInstallGuide .guide-app-row{display:flex;align-items:center;gap:10px;padding:10px}
#privateInstallGuide .guide-app-icon{display:block;width:40px;height:40px;flex:none}
#privateInstallGuide .guide-app-name{display:block;font-size:14px;color:#21192E}
#privateInstallGuide .guide-app-address{display:block;font-size:11px;color:#766F80;margin-top:3px}
#privateInstallGuide .guide-caption{margin:8px 0 0;font-size:11px;line-height:1.4;color:#766F80}
#privateInstallGuide .guide-help{margin-top:4px}
#privateInstallGuide summary{min-height:44px;box-sizing:border-box;padding:12px 0;font-size:13px;color:#62586c;cursor:pointer}
#privateInstallGuide .guide-selectors{display:flex;gap:8px;margin:0 0 10px}
#privateInstallGuide label{font-size:12px;color:#62586c;min-width:0;flex:1}
#privateInstallGuide label:first-child{flex:1.6}
#privateInstallGuide select{display:block;width:100%;min-height:44px;padding:4px;border:1px solid #E9E5EF;border-radius:10px;background:#fff;color:#21192e;font:14px system-ui}
#privateInstallGuide .guide-variants,#privateInstallGuide .guide-offline,#privateInstallGuide .guide-unsupported{font-size:14px;line-height:1.5;color:#62586c;margin:8px 0}
#privateInstallGuide footer{display:flex;flex:none;margin-top:0;padding-top:0}
#privateInstallGuide button{min-height:44px;border:0;border-radius:14px;background:#7650EC;color:#fff;font:600 15px/1.45 system-ui;cursor:pointer}
#privateInstallGuide footer button{height:auto;min-height:48px;width:100%;padding:8px 16px}
#privateInstallGuide button:hover{background:#6929DC}
#privateInstallGuide [data-layout]{padding:8px 12px;border:1px solid #E9E5EF;background:#fff;color:#21192E;font-weight:500;text-align:start}
#privateInstallGuide [data-layout]:hover{background:#F3EDFF;color:#21192E}
#privateInstallGuide [data-layout]:active{background:#E7DDFD}
#privateInstallGuide :is(button,select,summary):focus-visible{outline:2px solid #5E30D1;outline-offset:3px}
#privateInstallGuide .guide-content:focus-visible{outline:2px solid #5E30D1;outline-offset:2px}
@media(max-width:599px){#privateInstallGuide{padding:16px max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}#privateInstallGuide[open]{gap:10px}}
@media(prefers-reduced-motion:reduce){#privateInstallGuide *{scroll-behavior:auto!important}}

#privateInstallGuide .guide-android-actions{display:flex;justify-content:flex-end;gap:20px;border-top:1px solid #E9E5EF;padding:6px 12px;font-size:13px;line-height:1.4;color:#334C89}

#privateInstallGuide .guide-target,#privateInstallGuide .guide-final-target{border:2px solid #7650EC;background:#F3EDFF}#privateInstallGuide .guide-final-target{border-radius:999px;padding:2px 6px}

#privateInstallGuide .guide-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}
#privateInstallGuide .guide-heading h2{margin:0}
#privateInstallGuide .guide-dismiss{flex:none;min-width:44px;min-height:44px;border:0;background:transparent;color:#21192E;font-size:24px;line-height:1}
#privateInstallGuide .guide-final-target{width:36px;height:36px;padding:0;display:inline-grid;place-items:center;border-radius:50%;box-sizing:border-box}
#privateInstallGuide img.guide-app-icon{border-radius:24%;object-fit:cover}

#privateInstallGuide{padding:0;overflow:hidden}
#privateInstallGuide[open]{gap:0}
#privateInstallGuide .guide-heading{display:flex;align-items:center;gap:16px;padding:20px 24px;border-bottom:1px solid #e9e5ef;flex:none}
#privateInstallGuide h2{min-width:0;flex:1;font-size:22px}
#privateInstallGuide .guide-dismiss{display:grid;place-items:center;min-width:44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:12px;background:transparent;color:#21192e;flex:none}
#privateInstallGuide .guide-dismiss svg{width:20px;height:20px}
#privateInstallGuide .guide-content{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1 1 auto;padding:20px 24px}
#privateInstallGuide .guide-selectors{display:flex;gap:12px;margin:0 0 20px}
#privateInstallGuide .guide-selectors label{flex:1;min-width:0}
#privateInstallGuide .guide-selectors select{width:100%;min-height:44px}
#privateInstallGuide footer{padding:16px 24px max(16px,env(safe-area-inset-bottom));background:#fff;flex:none;border-top:1px solid #e9e5ef}

#privateInstallGuide .guide-dismiss:hover{background:#f3eff9;color:#21192e}
#privateInstallGuide .guide-dismiss:active{background:#e9e5ef;color:#21192e}
#privateInstallGuide[data-guide-input="pointer"] :focus{outline:none}

#privateInstallGuide .guide-selectors select, #ownedGuide .guide-selectors select, select#entryCorner{
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  min-width:0;
  padding-inline:12px 36px;
  background-image:linear-gradient(45deg,transparent 40%,currentColor 42%,currentColor 58%,transparent 60%),linear-gradient(-45deg,transparent 40%,currentColor 42%,currentColor 58%,transparent 60%);
  background-size:6px 6px;
  background-repeat:no-repeat;
  background-position:right 18px center,right 12px center;
}
@media(forced-colors:active){#privateInstallGuide .guide-selectors select, #ownedGuide .guide-selectors select, select#entryCorner{appearance:auto;background-image:none;padding-inline-end:12px}}

html,body{height:100%;margin:0;overflow:hidden}body{height:100dvh}
#sampleApp{display:block;width:100%;height:100%;border:0}
#sampleStatus{position:fixed;z-index:11;left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));padding:12px 16px;border:1px solid #e9e5ef;border-radius:14px;background:#fff;color:#62586c;font:14px/1.5 var(--mt-font-ui)}
[hidden]{display:none!important}#sampleApp:focus{outline:none}
#privateInstallGuide .guide-app-address{overflow-wrap:anywhere}#privateInstallGuide .guide-app-row>div{min-width:0}

.install-scan-dialog{box-sizing:border-box;width:min(28rem,calc(100vw - 32px));max-height:90dvh;overflow:auto;margin:auto;padding:20px 24px 24px;border:1px solid #e3dfea;border-radius:20px;background:white;color:#241c30;font-family:var(--mt-font-ui,system-ui)}
.install-scan-dialog::backdrop{background:#231c3060}
.install-scan-dialog>header{padding:0;margin:0;display:flex;align-items:center;justify-content:space-between;gap:12px}
.install-scan-dialog h2{margin:0;font-size:20px}
.install-scan-dialog header button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.publication-qr{text-align:center}
.publication-qr>img{display:block;object-fit:cover;width:48px;height:48px;border-radius:12px;margin:8px auto}
.publication-qr>h3{margin:0 0 8px;overflow-wrap:anywhere}
.publication-qr>p{margin:6px 0;line-height:1.45}
.publication-qr svg{display:block;width:min(224px,100%);height:auto;margin:8px auto;background:white}
.publication-qr small,.publication-qr time{display:block;overflow-wrap:anywhere;font-size:13px;line-height:1.5}
