@charset "UTF-8";
:root {
  --accent: #e80011;
  --ink: #312324;
  --muted: #806a6c;
  --line: #efdedb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--accent);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { overflow-y: auto; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }
body { display: flex; flex-direction: column; margin: 0; min-height: 100vh; min-height: 100svh; padding-top: env(safe-area-inset-top); }
[hidden] { display: none !important; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
button:focus-visible, a:focus-visible { outline: 3px solid #d2a641; outline-offset: 4px; }
.brand-background { display: block; flex-shrink: 0; width: min(100%, 480px); height: auto; margin: 0 auto; object-fit: contain; }
.portal-content { flex-shrink: 0; width: min(340px, calc(100% - 40px)); margin: -8px auto 0; }
.connect-panel { padding: 0 16px; }
.connection-options { max-width: 164px; margin: auto; }
.connection-control { position: relative; }
.connection-button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; aspect-ratio: 1; border: 2px solid #fff; border-radius: 50%; background: #fffaf5; color: var(--accent); box-shadow: 0 0 0 6px rgb(255 255 255 / .16), 0 14px 32px rgb(94 0 7 / .28); }
.connection-button::after { content: ""; position: absolute; inset: -11px; border: 4px solid transparent; border-radius: inherit; pointer-events: none; }
.connection-icon { display: block; width: 28px; height: 28px; }
.connection-icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-check { display: none; }
.connection-button[data-state=connected] .icon-power { display: none; }
.connection-button[data-state=connected] .icon-check { display: inline; }
.connection-title { font-size: 14px; }
.connection-button strong { font-size: 21px; }
.connection-button[data-state=connected] .connection-duration { display: none; }
.connection-countdown { font-size: 26px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
.with-more .connection-button { padding-bottom: 34px; }
.circle-more-button { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); width: 132px; min-height: 36px; padding: 8px 0; border: 0; border-radius: 18px; background: transparent; color: #b6000d; font-size: 12px; line-height: 1.4; }
.connection-hint { margin: 8px -40px 0; height: 18px; font-size: 12px; line-height: 1.5; color: #fff; text-align: center; }
.connection-button[data-state=connected] { background: #fff; border-color: #ffe2b8; color: #b6000d; }
.connection-button[data-state=busy] { opacity: 1; }
.connection-button[data-state=busy]::after { border-color: rgb(255 255 255 / .25); border-top-color: #ffe2b8; border-right-color: #fff; animation: spin 1s linear infinite; }
.primary-button, .secondary-button { display: block; width: 100%; padding: 15px 12px; border: 1px solid transparent; border-radius: 10px; font-size: 16px; font-weight: 600; line-height: 1.5; text-align: center; text-decoration: none; }
.primary-button { background: var(--accent); color: #fff; }
.secondary-button { margin-top: 12px; background: #fff; border-color: var(--line); color: var(--accent); }
button:not(:disabled):hover, .store-button:hover { filter: brightness(.94); }
.download-section { padding: 24px; }
.download-section h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.5; }
dialog { width: min(400px, calc(100% - 32px)); padding: 0; color: var(--ink); border: 1px solid var(--line); border-radius: 20px; }
dialog::backdrop { background: rgb(49 12 16 / .48); }
.text-button { display: block; width: 100%; min-height: 44px; margin-top: 8px; border: 0; background: transparent; color: var(--muted); font-size: 14px; }
.download-section > p { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.store-buttons { display: flex; gap: 10px; }
.store-button { flex: 1; min-width: 0; min-height: 44px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 8px; background: #fffaf5; color: var(--ink); font-size: 13px; text-align: center; text-decoration: none; }
.status { margin-top: 16px; padding: 14px; border-radius: 10px; background: #f9ece7; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.status strong { font-weight: 600; }
.status p { margin: 4px 0 0; font-size: 13px; }
.status p:empty { display: none; }
.status[data-state=error] { background: #fff2ed; color: #93452d; }
.fine-print { font-size: 12px; line-height: 1.6; color: #fff; }
.product-carousel { flex-shrink: 0; width: min(380px, calc(100% - 32px)); margin: 0 auto 6px; color: #fff; }
.product-viewport { overflow: hidden; touch-action: pan-y; }
.product-track { display: flex; transition: transform .45s ease; }
.product-item { flex: 0 0 calc(100% / 3); min-width: 0; margin: 0; padding: 12px 0 4px; text-align: center; }
.product-item img { display: block; width: 100%; height: 146px; margin: 0 auto 6px; object-fit: contain; transform: scale(.72); transition: transform .45s ease; filter: drop-shadow(0 6px 6px rgb(80 0 5 / .2)); }
.product-item.is-current img { transform: scale(1.08); }
.product-item figcaption { font-size: 11px; line-height: 1.5; white-space: nowrap; opacity: .8; }
.product-item.is-current figcaption { font-weight: 600; opacity: 1; }
.product-controls { position: relative; display: flex; justify-content: center; align-items: center; min-height: 32px; }
.product-dot { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; }
.product-dot::before { content: ""; width: 6px; height: 6px; border-radius: 4px; background: rgb(255 255 255 / .4); }
.product-dot[aria-pressed=true]::before { width: 18px; background: #fff; }
.brand-footer { width: min(380px, 100%); margin: auto auto 0; padding: 4px 16px max(16px, env(safe-area-inset-bottom)); color: #fff; text-align: center; }
.brand-slogan { margin: 0 0 8px; font-size: 16px; font-weight: 600; line-height: 1.5; }
.franchise-hotline { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; line-height: 1.5; }
.franchise-hotline span { font-size: 11px; opacity: .8; }
.franchise-hotline strong { font-size: 20px; letter-spacing: .6px; }
noscript { display: block; margin: 20px auto; color: #fff; text-align: center; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-height: 600px) {
  .brand-background { width: min(100%, 300px); }
}
@media (prefers-reduced-motion: reduce) { *, *::after { animation: none !important; transition: none !important; } }
