/* 配色全部來自 logo：黃 #FFCF00、炭黑 #262421、深紅 #960E25，其餘都是這三色的淡色。 */
:root {
  /* iOS App 圖示的裁切：連續曲率圓角，半徑是邊長的 22.37% */
  --ios-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M34.196 0L65.804 0C75.650 0 80.574 0 85.873 1.676C91.660 3.782 96.218 8.340 98.324 14.127C100 19.426 100 24.350 100 34.196L100 65.804C100 75.650 100 80.574 98.324 85.873C96.218 91.660 91.660 96.218 85.873 98.324C80.574 100 75.650 100 65.804 100L34.196 100C24.350 100 19.426 100 14.127 98.324C8.340 96.218 3.782 91.660 1.676 85.873C0 80.574 0 75.650 0 65.804L0 34.196C0 24.350 0 19.426 1.676 14.127C3.782 8.340 8.340 3.782 14.127 1.676C19.426 0 24.350 0 34.196 0Z'/%3E%3C/svg%3E");
  --y: #ffcf00; --k: #262421; --r: #960e25;
  --canvas: #fffdf6; --tint: #f6f0e0; --butter: #ffeb99; --blush: #f6dedc; --stone: #e9e2cf;
  --ink: var(--k); --ink-80: #45413a; --gray: #7a7468; --muted: #5f5a50; --hairline: #e3dbc6; --pill: #ebe4d1;
  --link: var(--r); --ease: cubic-bezier(.22, .9, .24, 1);
  --product-shadow: rgba(38, 36, 33, .26) 3px 8px 30px 0;
  --gut: max(6.25vw, calc((100vw - 1260px) / 2));
  --sq-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M74 0L88.84 0.22L95.71 0.88L100.98 1.98L105.3 3.53L108.91 5.55L111.94 8.06L114.45 11.09L116.47 14.7L118.02 19.02L119.12 24.29L119.78 31.16L120 46L120 74L119.78 88.84L119.12 95.71L118.02 100.98L116.47 105.3L114.45 108.91L111.94 111.94L108.91 114.45L105.3 116.47L100.98 118.02L95.71 119.12L88.84 119.78L74 120L46 120L31.16 119.78L24.29 119.12L19.02 118.02L14.7 116.47L11.09 114.45L8.06 111.94L5.55 108.91L3.53 105.3L1.98 100.98L0.88 95.71L0.22 88.84L0 74L0 46L0.22 31.16L0.88 24.29L1.98 19.02L3.53 14.7L5.55 11.09L8.06 8.06L11.09 5.55L14.7 3.53L19.02 1.98L24.29 0.88L31.16 0.22L46 0Z'/%3E%3C/svg%3E");
  --font-display: "SF Pro TC", "SF Pro Display", -apple-system, BlinkMacSystemFont, system-ui, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-text: "SF Pro TC", "SF Pro Text", -apple-system, BlinkMacSystemFont, system-ui, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.menu-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.353 var(--font-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--r); outline-offset: 2px; }
[id] { scroll-margin-top: 64px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 30; padding: 8px 15px; border-radius: 8px; background: var(--canvas); color: var(--ink); }
.skip:focus { top: 6px; }
.wrap { width: min(87.5%, 1260px); margin-inline: auto; }

/* ------------------------------------------------ 超圓角：支援 corner-shape 的瀏覽器用原生，其他用遮罩 */
.gcard, .acard, .router, .panel { --sq: 46px; }
.news a, .step { --sq: 36px; }
.close__icon { --sq: 44px; }
.hero__icon, .gcard__icon { --sq: 24px; }
.gcard, .acard, .router, .panel, .news a, .step, .soon__card, .close__icon, .hero__icon, .gcard__icon {
  border-radius: calc(var(--sq) * .565);
  -webkit-mask-box-image: var(--sq-img) 46 fill / var(--sq) stretch;
  mask-border: var(--sq-img) 46 fill / var(--sq) stretch;
}
.glyph { corner-shape: squircle; }
@supports (corner-shape: squircle) {
  .gcard, .acard, .router, .panel, .news a, .step, .soon__card, .close__icon, .hero__icon, .gcard__icon {
    border-radius: calc(var(--sq) * 1.09); corner-shape: squircle; -webkit-mask-box-image: none; mask-border: none;
  }
  .glyph { border-radius: 38%; }
}

/* ------------------------------------------------ navigation */
.gnav { position: relative; z-index: 20; height: 44px; background: var(--k); color: #fff9e5; font-size: 12px; line-height: 1; transition: background .3s ease, color .3s ease; }
.gnav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1024px; height: 100%; margin: auto; padding: 0 22px; }
.gnav a { color: inherit; opacity: .82; display: inline-flex; align-items: center; min-height: 44px; }
.gnav a:hover, .gnav a[aria-current] { opacity: 1; text-decoration: none; }
.gnav a[aria-current] { color: var(--y); }
.gnav__logo { position: relative; z-index: 2; opacity: 1 !important; }
.gnav__logo img { width: 26px; height: 26px; border-radius: 7px; corner-shape: squircle; }
.gnav__links { display: flex; align-items: center; gap: 36px; }
.gnav__menu { display: none; }
.gnav__menu summary { position: relative; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -12px; cursor: pointer; list-style: none; }
.gnav__menu summary::-webkit-details-marker { display: none; }
.burger { position: relative; display: block; width: 18px; height: 12px; }
.burger i { position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor; transition: transform .42s var(--ease); }
.burger i:first-child { top: 1.5px; } .burger i:last-child { top: 9px; }
.is-open .burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
.is-open .burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.gnav:has(.is-open) { background: var(--y); color: var(--k); }
.gnav__sheet { position: absolute; left: 0; right: 0; top: 0; z-index: 1; display: flex; flex-direction: column; height: var(--menu-h, 100vh); padding: 72px var(--gut) 40px; overflow-y: auto; background: var(--y); color: var(--k); }
.gnav .gnav__sheet a { width: 100%; min-height: 62px; border-bottom: 1px solid rgba(38, 36, 33, .16); color: var(--k); font: 600 30px/1.15 var(--font-display); opacity: 1; }
.js .gnav__sheet { visibility: hidden; clip-path: circle(0 at calc(100% - 33px) 22px); transition: clip-path .46s cubic-bezier(.6, 0, .4, 1), visibility 0s .46s; }
.js .is-open .gnav__sheet { visibility: visible; clip-path: circle(150vmax at calc(100% - 33px) 22px); transition: clip-path .62s cubic-bezier(.3, .7, .2, 1), visibility 0s; }
.js .gnav .gnav__sheet a { opacity: 0; translate: 0 22px; transition: opacity .2s ease, translate .2s ease; }
.js .gnav .is-open .gnav__sheet a { opacity: 1; translate: 0 0; transition: opacity .4s ease, translate .6s var(--ease); transition-delay: calc(.12s + var(--i, 0) * .055s); }
.gnav__sheet a:nth-child(2) { --i: 1; } .gnav__sheet a:nth-child(3) { --i: 2; } .gnav__sheet a:nth-child(4) { --i: 3; } .gnav__sheet a:nth-child(5) { --i: 4; }
.subnav { position: sticky; top: 0; z-index: 15; height: 52px; background: rgba(255, 253, 246, .86); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(38, 36, 33, .12); }
.subnav__in { display: flex; align-items: center; gap: 24px; width: min(87.5%, 1260px); height: 100%; margin: auto; }
.subnav__name { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; color: var(--ink); font: 600 21px/1.14 var(--font-display); }
.subnav__name:hover { text-decoration: none; }
.subnav__link { color: var(--ink); font-size: 12px; display: inline-flex; align-items: center; min-height: 44px; }

/* ------------------------------------------------ buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 22px; border-radius: 980px; background: var(--r); color: #fff; font-size: 17px; line-height: 1.18; transition: background .15s ease, transform .12s ease; }
.btn:hover { background: #7b0a1e; text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn--lg { min-height: 56px; padding: 16px 31px; }
.subnav .btn { min-height: 28px; padding: 4px 12px; font-size: 12px; }
.tlink { display: inline-flex; align-items: center; gap: 4px; color: inherit; font-size: 17px; font-weight: 500; }
.tlink--sm { font-size: 14px; }
.links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 24px; margin-top: 20px; }

/* ------------------------------------------------ type and page sections */
h1 { font: 600 80px/1.0875 var(--font-display); }
h1::after { content: ""; display: inline-block; width: .15em; height: .15em; margin-left: .12em; background: var(--r); animation: caret 1.2s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
h3 { font: 600 28px/1.25 var(--font-display); }
.heroband { background: var(--y); color: var(--k); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 326px); align-items: start; gap: 40px; padding: 84px 0 96px; }
.hero__copy { padding-top: 6px; font: 600 21px/1.333 var(--font-display); }
.hero__icon { width: 80px; height: 80px; margin-bottom: 20px; }
.shead { font: 600 48px/1.083 var(--font-display); color: var(--gray); }
.shead b { color: var(--ink); font-weight: 600; }
.sec { padding: 96px 0; }
.sec--top0 { padding-top: 124px; }
.sec--tint { background: var(--tint); }
.apprail { margin-top: 96px; }
.apprail:first-of-type { margin-top: 48px; }
.apprail .rail { margin-top: 40px; }
.note { margin-top: 24px; color: var(--muted); font-size: 14px; line-height: 1.43; }

/* ------------------------------------------------ rails */
.rail { margin-top: 48px; }
.rail__track { display: flex; gap: 20px; padding: 6px var(--gut) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { flex: none; scroll-snap-align: start; }
.rail__track.refilter > * { animation: cardin .5s var(--ease) both; }
@keyframes cardin { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.rail__ctl { display: none; align-items: center; justify-content: flex-end; gap: 18px; width: min(87.5%, 1260px); margin: 20px auto 0; }
.js .rail__ctl { display: flex; }
.rail__ctl [data-pause] { margin-right: auto; }
.round { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--k); color: var(--y); cursor: pointer; transition: transform .15s ease, opacity .15s ease; }
.round:hover { transform: scale(1.06); }
.round:disabled { opacity: .24; cursor: default; transform: none; }
.round svg { width: 16px; height: 16px; fill: currentColor; }
.round .i-play { display: none; }
[aria-pressed="true"] > .i-play { display: block; }
[aria-pressed="true"] > .i-pause { display: none; }

/* ------------------------------------------------ colour grounds */
.t-yellow, .t-ink, .t-red, .t-butter, .t-blush, .t-stone, .t-paper { background: var(--g); color: var(--fgc); }
.t-yellow { --g: var(--y); --fgc: var(--k); --tile: var(--k); --tile-ink: var(--y); --hi: var(--r); --on-hi: #fff; --sf: #fffdf6; --sf-ink: var(--k); --hi2: var(--r); --on-hi2: #fff; --sf2: #ffe680; }
.t-ink { --g: var(--k); --fgc: #fff9e5; --tile: var(--y); --tile-ink: var(--k); --hi: var(--y); --on-hi: var(--k); --sf: #38352f; --sf-ink: #fff9e5; --hi2: var(--y); --on-hi2: var(--k); --sf2: #4a463e; }
.t-red { --g: var(--r); --fgc: #fff9e5; --tile: var(--y); --tile-ink: var(--k); --hi: var(--y); --on-hi: var(--k); --sf: #fffdf6; --sf-ink: var(--k); --hi2: var(--r); --on-hi2: #fff; --sf2: #b8374b; }
.t-butter { --g: var(--butter); --fgc: var(--k); --tile: var(--k); --tile-ink: var(--y); --hi: var(--r); --on-hi: #fff; --sf: #fffdf6; --sf-ink: var(--k); --hi2: var(--r); --on-hi2: #fff; --sf2: #ffdf5c; }
.t-blush { --g: var(--blush); --fgc: var(--k); --tile: var(--r); --tile-ink: #fff; --hi: var(--r); --on-hi: #fff; --sf: #fffdf6; --sf-ink: var(--k); --hi2: var(--r); --on-hi2: #fff; --sf2: #edc4c1; }
.t-stone { --g: var(--stone); --fgc: var(--k); --tile: var(--k); --tile-ink: var(--y); --hi: var(--r); --on-hi: #fff; --sf: #fffdf6; --sf-ink: var(--k); --hi2: var(--r); --on-hi2: #fff; --sf2: #d9d0b8; }
.t-paper { --g: #fffdf6; --fgc: var(--k); --tile: var(--y); --tile-ink: var(--k); --hi: var(--r); --on-hi: #fff; --sf: #f6f0e0; --sf-ink: var(--k); --hi2: var(--r); --on-hi2: #fff; --sf2: #ebe4d1; }

/* ------------------------------------------------ spotlight cards */
.gcard { position: relative; display: flex; flex-direction: column; width: min(87.5vw, 935px); height: 607px; overflow: hidden; text-align: center; }
.gcard__txt { flex: none; padding: 48px 40px 0; }
.gcard__icon { width: 56px; height: 56px; margin: 0 auto 12px; }
.gcard h2 { font: 600 60px/1.094 var(--font-display); }
.gcard p { max-width: 640px; margin: 12px auto 0; }
.gcard__vis { position: relative; flex: 1; min-height: 0; margin-top: 18px; }
.gcard--side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); text-align: left; }
.gcard--side .gcard__txt { align-self: center; padding: 40px 12px 40px 56px; }
.gcard--side .gcard__icon { margin-left: 0; }
.gcard--side h2 { font-size: 52px; }
.gcard--side .links { justify-content: flex-start; }
.gcard--side .gcard__vis { margin: 0; }

/* 「新近推出」：主打大卡＋兩張次要卡＋重點數字 */
.newgrid { display: grid; gap: 20px; margin-top: 48px; }
.newpair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.newgrid .kcard { width: auto; height: 600px; }
.newgrid .kcard .gcard__txt { padding: 40px 36px 0; }
.newgrid .kcard .kicker { display: inline-block; margin: 0; padding: 5px 12px; border-radius: 999px; background: var(--hi); color: var(--on-hi); font-size: 13px; font-weight: 600; line-height: 1.2; }
.newgrid .kcard h3 { margin-top: 14px; font-size: 17px; font-weight: 600; opacity: .72; }
.newgrid .kcard h2 { margin-top: 4px; font-size: 38px; line-height: 1.16; }
.newgrid .kcard .kcopy { max-width: 440px; margin-top: 12px; font-size: 15px; opacity: .78; }
.newgrid .kcard .links { margin-top: 14px; }
.newgrid .kcard .gcard__vis { margin-top: 0; }
.newgrid .kcard--lead { height: 640px; }
.newgrid .kcard--lead .gcard__txt { padding: 56px 24px 56px 64px; }
.newgrid .kcard--lead h3 { font-size: 21px; }
.newgrid .kcard--lead h2 { font-size: 60px; line-height: 1.1; }
.newgrid .kcard--lead .kcopy { max-width: 420px; margin-left: 0; font-size: 17px; }
.kstats { display: flex; gap: 32px; margin: 28px 0 4px; }
.kstats div { display: grid; }
.kstats dt { font: 700 56px/1 var(--font-display); color: var(--hi); }
.kstats dd { margin: 6px 0 0; font-size: 14px; opacity: .78; }
.also { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.also a { display: grid; gap: 4px; height: 100%; padding: 26px 28px; border-radius: var(--r-card, 28px); background: var(--pill); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease); }
.also a:hover { transform: translateY(-2px); }
.also b { font: 700 44px/1.05 var(--font-display); color: var(--r); }
.also span { margin-top: 6px; font-size: 19px; font-weight: 600; }
.also small { font-size: 14px; opacity: .72; }
@media (max-width: 1068px) {
  .newgrid .kcard--lead .gcard__txt { padding-left: 40px; }
  .newgrid .kcard--lead h2 { font-size: 46px; }
  .newgrid .kcard h2 { font-size: 30px; }
  .kstats dt { font-size: 44px; }
}
@media (max-width: 833px) {
  .newpair, .also { grid-template-columns: 1fr; }
  .newgrid .kcard--lead { display: flex; height: 760px; text-align: center; }
  .newgrid .kcard--lead .gcard__txt { padding: 36px 24px 0; }
  .newgrid .kcard--lead .kcopy { margin-inline: auto; }
  .newgrid .kcard--lead .links { justify-content: center; }
  .kstats { justify-content: center; }
}
@media (max-width: 734px) {
  .newgrid { margin-top: 32px; gap: 12px; }
  .newpair, .also { gap: 12px; }
  .also { margin-top: 12px; }
  .newgrid .kcard { height: 580px; }
  .newgrid .kcard--lead { height: 720px; }
  .newgrid .kcard--lead h2 { font-size: 34px; }
  .newgrid .kcard h2 { font-size: 28px; }
  .kstats { gap: 22px; margin-top: 20px; }
  .kstats dt { font-size: 40px; }
  .also a { padding: 20px 22px; }
  .also b { font-size: 36px; }
}

/* ------------------------------------------------ app cards */
.filters { display: none; flex-wrap: wrap; gap: 10px 12px; }
.js .filters { display: flex; }
.filters button { min-height: 41px; padding: 8px 19px; border: 0; border-radius: 980px; background: var(--pill); color: var(--ink); cursor: pointer; transition: background .2s ease, color .2s ease, transform .12s ease; }
.filters button:hover { background: #e0d8c2; }
.filters button:active { transform: scale(.96); }
.filters button[aria-pressed="true"] { background: var(--k); color: var(--y); }
.filters + .apprail { margin-top: 48px; }
.acard { position: relative; display: flex; flex-direction: column; width: 372px; height: 680px; padding: 25px; overflow: hidden; transition: transform .4s var(--ease); }
.acard__head { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; }
.acard__copy { position: relative; z-index: 2; margin-top: 14px; }
.acard .links { position: relative; z-index: 2; justify-content: flex-start; gap: 8px 15px; margin-top: 12px; }
.glyph { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 22.5%; background: var(--tile); color: var(--tile-ink); }
.glyph svg { width: 28px; height: 28px; fill: currentColor; }
.acard__os { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px 25px 18px; background: linear-gradient(to top, var(--g) 66%, transparent); font-size: 13px; line-height: 1.3; }
.acard__os b { font-weight: 600; margin-right: 6px; }
.acard--s { height: 340px; }
@media (hover: hover) { .acard:hover, .gcard:hover { transform: translateY(-3px); } .gcard { transition: transform .4s var(--ease); } }

/* ------------------------------------------------ more, panels and news */
.more { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 36px 20px; margin-top: 48px; }
.more li { display: grid; justify-items: center; gap: 10px; font-size: 14px; line-height: 1.3; text-align: center; }
.more .glyph { width: 56px; height: 56px; --tile: var(--c); --tile-ink: var(--ci); }
.routers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.router { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 420px; padding: 40px; text-align: center; }
.router h2 { font: 600 40px/1.1 var(--font-display); }
.router p { max-width: 400px; margin-top: 14px; }
.router a { color: inherit; }
.close { padding: 96px 0; background: var(--k); color: #fff9e5; text-align: center; }
.close__icon { width: 128px; height: 128px; margin: 0 auto 24px; }
.close h2 { font: 600 48px/1.083 var(--font-display); }
.close p { max-width: 460px; margin: 16px auto 28px; }
.close .btn { background: var(--y); color: var(--k); }
.close .btn:hover { background: #ffdb3d; }
.sec--tint .close { background: none; color: inherit; }
.sec--tint .close .btn { background: var(--r); color: #fff; }
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.news a { display: flex; flex-direction: column; min-height: 196px; padding: 24px; background: var(--canvas); color: var(--ink); outline-offset: -4px; transition: transform .3s var(--ease), background .2s ease; }
.news a:hover { text-decoration: none; transform: translateY(-3px); background: var(--butter); }
.news small { color: var(--r); font-size: 12px; font-weight: 700; }
.news b { margin-top: 8px; font: 600 21px/1.24 var(--font-display); }
.news time { margin-top: auto; padding-top: 16px; color: var(--muted); font-size: 12px; }
.panel { padding: 56px; background: var(--k); color: #fff9e5; }
.panel .split { margin: 0 auto; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.step { padding: 28px; background: var(--canvas); }
.step h3 { font-size: 24px; }
.step p { margin-top: 10px; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 40px; }
.faq > div { padding: 24px 0; border-top: 1px solid var(--hairline); }
.faq h3 { font-size: 19px; line-height: 1.26; }
.faq p { margin-top: 8px; color: var(--ink-80); }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ------------------------------------------------ the phone */
.device { position: relative; flex: none; width: var(--w, 280px); height: auto; }
.device--android { box-shadow: var(--product-shadow); }
.device::before { content: ""; position: absolute; background: #050505; }
.device > img { position: absolute; z-index: 1; object-fit: cover; overflow: hidden; }
.dv-cam, .dv-b, .dv-z, .dv-rim { position: absolute; display: block; }
/* 金屬：光從左上來，圓角最亮、長邊有一段柔和反光、背光處轉暗。--dv-m1 到 --dv-m4 由暗到亮 */
.device {
  --dv-metal: conic-gradient(from 0deg at 50% 50%,
    var(--dv-m2) 0deg, var(--dv-m3) 16deg, var(--dv-m4) 26deg, var(--dv-m3) 34deg, var(--dv-m1) 58deg,
    var(--dv-m2) 84deg, var(--dv-m3) 104deg, var(--dv-m2) 128deg, var(--dv-m3) 146deg, var(--dv-m4) 154deg, var(--dv-m2) 166deg,
    var(--dv-m1) 188deg, var(--dv-m3) 206deg, var(--dv-m2) 222deg, var(--dv-m3) 256deg, var(--dv-m4) 284deg, var(--dv-m3) 306deg,
    var(--dv-m4) 334deg, var(--dv-m3) 346deg, var(--dv-m2) 360deg);
  --dv-key: linear-gradient(180deg, var(--dv-m4), var(--dv-m3) 14%, var(--dv-m2) 55%, var(--dv-m1));
}
/* 機身厚度：把機身輪廓往後疊，越後面越暗，iPhone 8.75mm、S26 Ultra 7.9mm */
.dv-z { inset: 0; background: linear-gradient(rgba(0, 0, 0, calc(.3 + var(--z) * .018)) 0 0), var(--dv-metal); transform: translateZ(calc(var(--w, 280px) * var(--t) * var(--z) / -14)); }
.device--iphone .dv-z { --t: .1218; -webkit-mask: var(--dv-body) center / 100% 100% no-repeat; mask: var(--dv-body) center / 100% 100% no-repeat; }
.device--android .dv-z { --t: .101; border-radius: 9.59% / 4.58%; }
.dv-cam { z-index: 2; background: #000; }
/* iPhone 18 Pro，依 Apple 公開的尺寸圖換算（mm）：機身 71.85 x 150.01、圓角 12、玻璃 69.45 x 147.61、
   顯示區 66.57 x 144.73、動態島 15.68 x 6.07（中心距頂 7.99）。按鍵中心距頂：動作 34.28、音量 48.43 / 62.63、
   側邊 55.53、相機控制 98.40。螢幕圓角 62pt 約 10.27mm。 */
.device--iphone { --dv-body: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 71.85 150.01' preserveAspectRatio='none'%3E%3Cpath d='M53.506 0.000L54.466 0.000L55.369 0.002L56.217 0.006L57.017 0.014L57.771 0.027L58.484 0.047L59.160 0.075L59.804 0.112L60.419 0.160L61.009 0.219L61.579 0.292L62.133 0.379L62.675 0.482L63.210 0.602L63.741 0.741L64.272 0.899L64.272 0.899L64.846 1.126L65.404 1.383L65.944 1.669L66.466 1.983L66.969 2.323L67.452 2.690L67.913 3.082L68.352 3.498L68.768 3.937L69.160 4.398L69.527 4.881L69.867 5.384L70.181 5.906L70.467 6.446L70.724 7.004L70.951 7.578L70.951 7.578L71.109 8.109L71.248 8.640L71.368 9.175L71.471 9.717L71.558 10.271L71.631 10.841L71.690 11.431L71.738 12.046L71.775 12.690L71.803 13.366L71.823 14.079L71.836 14.833L71.844 15.633L71.848 16.481L71.850 17.384L71.850 18.344L71.850 131.666L71.850 132.626L71.848 133.529L71.844 134.377L71.836 135.177L71.823 135.931L71.803 136.644L71.775 137.320L71.738 137.964L71.690 138.579L71.631 139.169L71.558 139.739L71.471 140.293L71.368 140.835L71.248 141.370L71.109 141.901L70.951 142.432L70.951 142.432L70.724 143.006L70.467 143.564L70.181 144.104L69.867 144.626L69.527 145.129L69.160 145.612L68.768 146.073L68.352 146.512L67.913 146.928L67.452 147.320L66.969 147.687L66.466 148.027L65.944 148.341L65.404 148.627L64.846 148.884L64.272 149.111L64.272 149.111L63.741 149.269L63.210 149.408L62.675 149.528L62.133 149.631L61.579 149.718L61.009 149.791L60.419 149.850L59.804 149.898L59.160 149.935L58.484 149.963L57.771 149.983L57.017 149.996L56.217 150.004L55.369 150.008L54.466 150.010L53.506 150.010L18.344 150.010L17.384 150.010L16.481 150.008L15.633 150.004L14.833 149.996L14.079 149.983L13.366 149.963L12.690 149.935L12.046 149.898L11.431 149.850L10.841 149.791L10.271 149.718L9.717 149.631L9.175 149.528L8.640 149.408L8.109 149.269L7.578 149.111L7.578 149.111L7.004 148.884L6.446 148.627L5.906 148.341L5.384 148.027L4.881 147.687L4.398 147.320L3.937 146.928L3.498 146.512L3.082 146.073L2.690 145.612L2.323 145.129L1.983 144.626L1.669 144.104L1.383 143.564L1.126 143.006L0.899 142.432L0.899 142.432L0.741 141.901L0.602 141.370L0.482 140.835L0.379 140.293L0.292 139.739L0.219 139.169L0.160 138.579L0.112 137.964L0.075 137.320L0.047 136.644L0.027 135.931L0.014 135.177L0.006 134.377L0.002 133.529L0.000 132.626L0.000 131.666L0.000 18.344L0.000 17.384L0.002 16.481L0.006 15.633L0.014 14.833L0.027 14.079L0.047 13.366L0.075 12.690L0.112 12.046L0.160 11.431L0.219 10.841L0.292 10.271L0.379 9.717L0.482 9.175L0.602 8.640L0.741 8.109L0.899 7.578L0.899 7.578L1.126 7.004L1.383 6.446L1.669 5.906L1.983 5.384L2.323 4.881L2.690 4.398L3.082 3.937L3.498 3.498L3.937 3.082L4.398 2.690L4.881 2.323L5.384 1.983L5.906 1.669L6.446 1.383L7.004 1.126L7.578 0.899L7.578 0.899L8.109 0.741L8.640 0.602L9.175 0.482L9.717 0.379L10.271 0.292L10.841 0.219L11.431 0.160L12.046 0.112L12.690 0.075L13.366 0.047L14.079 0.027L14.833 0.014L15.633 0.006L16.481 0.002L17.384 0.000L18.344 0.000Z'/%3E%3C/svg%3E"); --dv-glass: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 69.45 147.61' preserveAspectRatio='none'%3E%3Cpath d='M52.306 0.000L53.265 0.000L54.165 0.002L55.009 0.006L55.801 0.014L56.544 0.027L57.243 0.047L57.902 0.074L58.523 0.110L59.113 0.155L59.674 0.212L60.211 0.280L60.729 0.362L61.232 0.457L61.727 0.568L62.218 0.696L62.710 0.843L62.662 0.827L63.174 1.029L63.672 1.259L64.154 1.514L64.620 1.794L65.069 2.098L65.500 2.425L65.911 2.775L66.303 3.147L66.675 3.539L67.025 3.950L67.352 4.381L67.656 4.830L67.936 5.296L68.191 5.778L68.421 6.276L68.623 6.788L68.607 6.740L68.754 7.232L68.882 7.723L68.993 8.218L69.088 8.721L69.170 9.239L69.238 9.776L69.295 10.337L69.340 10.927L69.376 11.548L69.403 12.207L69.423 12.906L69.436 13.649L69.444 14.441L69.448 15.285L69.450 16.185L69.450 17.144L69.450 130.466L69.450 131.425L69.448 132.325L69.444 133.169L69.436 133.961L69.423 134.704L69.403 135.403L69.376 136.062L69.340 136.683L69.295 137.273L69.238 137.834L69.170 138.371L69.088 138.889L68.993 139.392L68.882 139.887L68.754 140.378L68.607 140.870L68.623 140.822L68.421 141.334L68.191 141.832L67.936 142.314L67.656 142.780L67.352 143.229L67.025 143.660L66.675 144.071L66.303 144.463L65.911 144.835L65.500 145.185L65.069 145.512L64.620 145.816L64.154 146.096L63.672 146.351L63.174 146.581L62.662 146.783L62.710 146.767L62.218 146.914L61.727 147.042L61.232 147.153L60.729 147.248L60.211 147.330L59.674 147.398L59.113 147.455L58.523 147.500L57.902 147.536L57.243 147.563L56.544 147.583L55.801 147.596L55.009 147.604L54.165 147.608L53.265 147.610L52.306 147.610L17.144 147.610L16.185 147.610L15.285 147.608L14.441 147.604L13.649 147.596L12.906 147.583L12.207 147.563L11.548 147.536L10.927 147.500L10.337 147.455L9.776 147.398L9.239 147.330L8.721 147.248L8.218 147.153L7.723 147.042L7.232 146.914L6.740 146.767L6.788 146.783L6.276 146.581L5.778 146.351L5.296 146.096L4.830 145.816L4.381 145.512L3.950 145.185L3.539 144.835L3.147 144.463L2.775 144.071L2.425 143.660L2.098 143.229L1.794 142.780L1.514 142.314L1.259 141.832L1.029 141.334L0.827 140.822L0.843 140.870L0.696 140.378L0.568 139.887L0.457 139.392L0.362 138.889L0.280 138.371L0.212 137.834L0.155 137.273L0.110 136.683L0.074 136.062L0.047 135.403L0.027 134.704L0.014 133.961L0.006 133.169L0.002 132.325L0.000 131.425L0.000 130.466L0.000 17.144L0.000 16.185L0.002 15.285L0.006 14.441L0.014 13.649L0.027 12.906L0.047 12.207L0.074 11.548L0.110 10.927L0.155 10.337L0.212 9.776L0.280 9.239L0.362 8.721L0.457 8.218L0.568 7.723L0.696 7.232L0.843 6.740L0.827 6.788L1.029 6.276L1.259 5.778L1.514 5.296L1.794 4.830L2.098 4.381L2.425 3.950L2.775 3.539L3.147 3.147L3.539 2.775L3.950 2.425L4.381 2.098L4.830 1.794L5.296 1.514L5.778 1.259L6.276 1.029L6.788 0.827L6.740 0.843L7.232 0.696L7.723 0.568L8.218 0.457L8.721 0.362L9.239 0.280L9.776 0.212L10.337 0.155L10.927 0.110L11.548 0.074L12.207 0.047L12.906 0.027L13.649 0.014L14.441 0.006L15.285 0.002L16.185 0.000L17.144 0.000Z'/%3E%3C/svg%3E"); --dv-display: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66.57 144.73' preserveAspectRatio='none'%3E%3Cpath d='M50.866 0.000L51.824 0.000L52.721 0.002L53.558 0.006L54.341 0.014L55.072 0.027L55.754 0.046L56.391 0.072L56.987 0.106L57.546 0.150L58.071 0.203L58.568 0.266L59.043 0.341L59.500 0.427L59.947 0.528L60.391 0.643L60.836 0.776L60.729 0.740L61.168 0.913L61.594 1.109L62.006 1.328L62.405 1.567L62.789 1.828L63.157 2.108L63.510 2.407L63.845 2.725L64.163 3.060L64.462 3.413L64.742 3.781L65.003 4.165L65.242 4.564L65.461 4.976L65.657 5.402L65.830 5.841L65.794 5.734L65.927 6.179L66.042 6.623L66.143 7.070L66.229 7.527L66.304 8.002L66.367 8.499L66.420 9.024L66.464 9.583L66.498 10.179L66.524 10.816L66.543 11.498L66.556 12.229L66.564 13.012L66.568 13.849L66.570 14.746L66.570 15.704L66.570 129.026L66.570 129.984L66.568 130.881L66.564 131.718L66.556 132.501L66.543 133.232L66.524 133.914L66.498 134.551L66.464 135.147L66.420 135.706L66.367 136.231L66.304 136.728L66.229 137.203L66.143 137.660L66.042 138.107L65.927 138.551L65.794 138.996L65.830 138.889L65.657 139.328L65.461 139.754L65.242 140.166L65.003 140.565L64.742 140.949L64.462 141.317L64.163 141.670L63.845 142.005L63.510 142.323L63.157 142.622L62.789 142.902L62.405 143.163L62.006 143.402L61.594 143.621L61.168 143.817L60.729 143.990L60.836 143.954L60.391 144.087L59.947 144.202L59.500 144.303L59.043 144.389L58.568 144.464L58.071 144.527L57.546 144.580L56.987 144.624L56.391 144.658L55.754 144.684L55.072 144.703L54.341 144.716L53.558 144.724L52.721 144.728L51.824 144.730L50.866 144.730L15.704 144.730L14.746 144.730L13.849 144.728L13.012 144.724L12.229 144.716L11.498 144.703L10.816 144.684L10.179 144.658L9.583 144.624L9.024 144.580L8.499 144.527L8.002 144.464L7.527 144.389L7.070 144.303L6.623 144.202L6.179 144.087L5.734 143.954L5.841 143.990L5.402 143.817L4.976 143.621L4.564 143.402L4.165 143.163L3.781 142.902L3.413 142.622L3.060 142.323L2.725 142.005L2.407 141.670L2.108 141.317L1.828 140.949L1.567 140.565L1.328 140.166L1.109 139.754L0.913 139.328L0.740 138.889L0.776 138.996L0.643 138.551L0.528 138.107L0.427 137.660L0.341 137.203L0.266 136.728L0.203 136.231L0.150 135.706L0.106 135.147L0.072 134.551L0.046 133.914L0.027 133.232L0.014 132.501L0.006 131.718L0.002 130.881L0.000 129.984L0.000 129.026L0.000 15.704L0.000 14.746L0.002 13.849L0.006 13.012L0.014 12.229L0.027 11.498L0.046 10.816L0.072 10.179L0.106 9.583L0.150 9.024L0.203 8.499L0.266 8.002L0.341 7.527L0.427 7.070L0.528 6.623L0.643 6.179L0.776 5.734L0.740 5.841L0.913 5.402L1.109 4.976L1.328 4.564L1.567 4.165L1.828 3.781L2.108 3.413L2.407 3.060L2.725 2.725L3.060 2.407L3.413 2.108L3.781 1.828L4.165 1.567L4.564 1.328L4.976 1.109L5.402 0.913L5.841 0.740L5.734 0.776L6.179 0.643L6.623 0.528L7.070 0.427L7.527 0.341L8.002 0.266L8.499 0.203L9.024 0.150L9.583 0.106L10.179 0.072L10.816 0.046L11.498 0.027L12.229 0.014L13.012 0.006L13.849 0.002L14.746 0.000L15.704 0.000Z'/%3E%3C/svg%3E"); aspect-ratio: 71.85 / 150.01; box-shadow: none; filter: drop-shadow(3px 8px 14px rgba(38, 36, 33, .26)); }
/* 機身是連續曲率圓角（超圓角）；玻璃和螢幕是機身往內平行縮 1.2 和 2.64mm，所以金屬框和黑邊在轉角也一樣寬 */
/* 陽極處理鋁合金是霧面：色階收得很窄，只有柔和的明暗，沒有鏡面亮點 */
.device--iphone { --dv-m1: #6f2637; --dv-m2: #7c2b3e; --dv-m3: #863145; --dv-m4: #943c52; }
.device--iphone::before { inset: 0; background: var(--dv-metal); -webkit-mask: var(--dv-body) center / 100% 100% no-repeat; mask: var(--dv-body) center / 100% 100% no-repeat; }
/* 鋁框內緣的倒角，只比機身亮一點 */
.device--iphone .dv-rim { inset: .6% 1.25%; background: linear-gradient(rgba(255, 255, 255, .13) 0 0), var(--dv-metal); -webkit-mask: var(--dv-glass) center / 100% 100% no-repeat; mask: var(--dv-glass) center / 100% 100% no-repeat; }
.device--iphone::after { content: ""; position: absolute; inset: .8% 1.67%; background: #000; -webkit-mask: var(--dv-glass) center / 100% 100% no-repeat; mask: var(--dv-glass) center / 100% 100% no-repeat; }
.device--iphone > img { top: 1.76%; left: 3.674%; width: 92.651%; height: 96.48%; -webkit-mask: var(--dv-display) center / 100% 100% no-repeat; mask: var(--dv-display) center / 100% 100% no-repeat; }
.device--iphone .dv-cam { top: 3.303%; left: 39.09%; width: 21.82%; height: 4.046%; border-radius: 999px; }
.device--iphone .dv-b { width: .626%; background: var(--dv-key); }
.device--iphone .dv-action, .device--iphone .dv-up, .device--iphone .dv-down { left: -.626%; border-radius: 2px 0 0 2px; }
.dv-action { top: 20.55%; height: 4.6%; }
.dv-up { top: 28.55%; height: 7.47%; }
.dv-down { top: 38.02%; height: 7.47%; }
.device--iphone .dv-side { right: -.626%; top: 31.12%; height: 11.8%; border-radius: 0 2px 2px 0; }
.device--iphone .dv-control { right: 0; top: 59.9%; height: 11.4%; border-radius: 2px 0 0 2px; background: #541a28; }
/* Galaxy S26 Ultra：機身 78.1 x 163.6、6.9 吋 1440 x 3120（顯示區約 73.44 x 159.13）、前鏡頭直徑約 4。
   Samsung 沒有公開圓角和按鍵位置，圓角用第三方量測的 27dp，按鍵位置依比例估算。 */
.device--android { --dv-m1: #1b1b1d; --dv-m2: #3a3a3d; --dv-m3: #77777c; --dv-m4: #b4b4ba; aspect-ratio: 78.1 / 163.6; border-radius: 9.59% / 4.58%; background: var(--dv-metal); }
.device--android::before { inset: .6% 1.3%; border-radius: 8.3% / 3.9%; }
.device--android .dv-rim { top: .43%; right: .9%; bottom: .43%; left: .9%; padding: .4%; border-radius: 8.7% / 4.08%; background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, .28)), var(--dv-metal); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.device--android > img { top: 1.366%; left: 2.983%; width: 94.03%; height: 97.27%; border-radius: 7.03% / 3.24%; }
.device--android .dv-cam { top: 1.95%; left: 47.44%; width: 5.12%; height: 2.445%; border-radius: 50%; }
.device--android .dv-b { right: -.512%; width: .512%; border-radius: 0 2px 2px 0; background: var(--dv-key); }
.dv-rocker { top: 24.45%; height: 14.67%; }
.device--android .dv-side { top: 44%; height: 7.95%; }
/* App 卡片的手機跟著裝置篩選，預設是 iPhone */
[data-device="android"], [data-show="android"] [data-device="iphone"] { display: none; }
[data-show="android"] [data-device="android"] { display: block; }

/* ------------------------------------------------ the theme preview */
.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 64px; max-width: 880px; margin: 48px auto 0; text-align: left; }
.split .device { --w: clamp(270px, 27vw, 330px); }
#live > img { transition: opacity .4s ease; }
@media (prefers-reduced-motion: reduce) { #live > img { transition: none; } }
.label { font-size: 14px; font-weight: 600; line-height: 1.29; }
.tweak { display: grid; gap: 28px; }
.tweak .note { margin: 0; color: #d9d2bf; }
.swatches { display: flex; flex-wrap: wrap; gap: 2px; margin: 6px 0 0 -8px; }
.sw { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.sw i { width: 28px; height: 28px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); transition: box-shadow .15s ease; }
.sw[aria-pressed="true"] i { box-shadow: 0 0 0 2px var(--k), 0 0 0 4px var(--y); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.seg button { min-height: 44px; padding: 0 18px; border: 1px solid rgba(255, 249, 229, .28); border-radius: 9999px; background: transparent; color: #fff9e5; font: 400 14px/1.2 var(--font-text); cursor: pointer; transition: transform .12s ease; }
.seg button:active { transform: scale(.95); }
.seg button[aria-pressed="true"] { border-color: var(--y); background: var(--y); color: var(--k); font-weight: 600; }

/* ------------------------------------------------ footer */
.foot { padding: 40px 0 24px; background: var(--k); color: #c9c2b0; font-size: 12px; line-height: 1.33; }
.foot__in { width: min(87.5%, 1260px); margin: auto; }
.foot__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 24px; }
.foot h2 { margin-bottom: 8px; color: var(--y); font: 600 12px/1.33 var(--font-text); }
.foot a { color: #e9e3d3; display: inline-flex; align-items: center; min-height: 26px; font-size: 12px; }
.foot__legal { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255, 249, 229, .16); }


/* ------------------------------------------------ the JuanGo word card, drawn in HTML */

/* ------------------------------------------------ narrower screens */
@media (max-width: 1068px) {
  h1 { font-size: 64px; line-height: 1.0625; }
  .hero { grid-template-columns: minmax(0, 1fr) 280px; padding: 64px 0 72px; }
  .hero__copy { font-size: 19px; }
  .shead, .close h2 { font-size: 40px; line-height: 1.1; }
  .sec, .close { padding: 80px 0; }
  .sec--top0 { padding-top: 104px; }
  .gcard { height: 560px; }
  .gcard h2 { font-size: 46px; line-height: 1.083; }
  .gcard--side h2 { font-size: 42px; }
  .gcard--side .gcard__txt { padding-left: 40px; }
  .gcard--side p { max-width: 290px; margin-left: 0; }
  .more { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .router h2 { font-size: 32px; }
  .news, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 833px) {
  .gnav__links { display: none; }
  .gnav__menu { display: block; }
  .subnav__link { display: none; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { gap: 40px; }
  .panel { padding: 40px 28px; }
  .gcard--side { display: flex; text-align: center; }
  .gcard--side .gcard__txt { align-self: auto; padding: 36px 28px 0; }
  .gcard--side p { max-width: 640px; margin-left: auto; }
  .gcard--side .gcard__icon { margin-left: auto; }
  .gcard--side .links { justify-content: center; }
  .gcard--side .gcard__vis { margin-top: 16px; }
}
@media (max-width: 734px) {
  h1 { font-size: 40px; line-height: 1.094; }
  h3 { font-size: 24px; }
  .hero { grid-template-columns: 1fr; gap: 16px; padding: 44px 0 56px; }
  .hero__copy { padding: 0; font-size: 19px; line-height: 1.32; }
  .hero__icon { width: 64px; height: 64px; }
  .shead, .close h2 { font-size: 28px; line-height: 1.25; }
  .sec, .close { padding: 64px 0; }
  .sec--top0 { padding-top: 80px; }
  .sec--top0 .rail { margin-top: 36px; }
  .apprail { margin-top: 64px; }
  .rail, .apprail .rail { margin-top: 24px; }
  .rail__track { gap: 12px; }
  .gcard { height: 590px; }
  .gcard__txt, .gcard--side .gcard__txt { padding: 32px 22px 0; }
  .gcard__icon { width: 48px; height: 48px; }
  .gcard h2, .gcard--side h2 { font-size: 32px; line-height: 1.125; }
  .acard { width: min(82vw, 330px); height: 620px; padding: 22px; }
  .acard__os { padding-inline: 22px; }
  .acard--s { height: 362px; }
  .filters { flex-wrap: nowrap; gap: 8px; overflow-x: auto; margin-inline: calc((100% - 100vw) / 2); padding-inline: var(--gut); scrollbar-width: none; }
  .filters button { flex: none; }
  .more { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 12px; }
  .routers, .news, .steps, .faq { grid-template-columns: 1fr; }
  .router { min-height: 340px; padding: 32px 24px; }
  .close__icon { width: 104px; height: 104px; }
  .gnav .gnav__sheet a { min-height: 58px; font-size: 27px; }
  .news { gap: 12px; }
  .news a { min-height: 150px; }
  .split { grid-template-columns: 1fr; justify-items: center; }
  .split .device { order: -1; --w: min(72vw, 290px); }
  .tweak { justify-self: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  h1::after { animation: none; }
  .gnav__sheet, .gnav__sheet a, .burger i, .acard, .gcard { transition: none !important; }
  .rail__track.refilter > * { animation: none; }
}

/* ------------------------------------------------ 即將推出 */
.soon { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.soon__card { --sq: 36px; display: flex; flex-direction: column; padding: 28px; background: var(--tint); }
.soon__card .glyph { width: 48px; height: 48px; --tile: var(--k); --tile-ink: var(--y); }
.soon__card small { margin-top: 20px; color: var(--r); font-size: 12px; font-weight: 700; }
.soon__card h3 { margin-top: 6px; font-size: 24px; }
.soon__card p { margin-top: 10px; }
.soon__card em { margin-top: auto; padding-top: 20px; color: var(--muted); font-size: 13px; font-style: normal; }
@media (max-width: 1068px) { .soon { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .soon { grid-template-columns: 1fr; gap: 12px; } .soon__card { padding: 24px; } }

/* ------------------------------------------------ 商店徽章（上架後才用，圖檔照 Apple 和 Google 的徽章規範，不改顏色和比例） */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.badges img { width: auto; height: 48px; }
.badges--sm img { height: 40px; }

/* 「新近推出」三種手機擺法（DC-3197CDA3）：對戰兩支完整手機斜疊、課文書架 3D 斜放、自己更新放大看提醒視窗 */
.newgrid .newpair .kcard { height: 750px; }
.newgrid .newpair .kcard .gcard__vis { margin-top: 32px; }
.newgrid .ph-fan2 .device { position: relative; left: auto; top: auto; --w: 250px; }
.newgrid .fan2__b, .newgrid .fan2__f { position: absolute; animation: ph 1s var(--ease) both; }
.newgrid .fan2__b { left: calc(50% - 235px); top: 52px; rotate: -8deg; opacity: .92; }
.newgrid .fan2__f { left: calc(50% - 15px); top: 30px; rotate: 5deg; animation-delay: .12s; }
.newgrid .ph-fan2 .fc--b { right: 6%; top: 28px; }
.newgrid .ph-tilt .device { --w: 196px; left: calc(50% - 98px); top: 8px; }
.newgrid .ph-tilt .fc--c { left: 9%; bottom: 96px; }
.newgrid .ph-zoom { overflow: hidden; }
.newgrid .ph-zoom .device { --w: 440px; left: calc(50% - 220px); top: -250px; rotate: -3deg; }
/* DC-D6661BA6：卡片不撐寬頁面（手機上文字和第二支手機被切掉）、兩張次要卡的手機一致 */
.newgrid { grid-template-columns: minmax(0, 1fr); }
.newgrid .kcard, .newpair > * { min-width: 0; max-width: 100%; }
.newgrid .kcard .gcard__vis { overflow: hidden; }
/* 自己更新：iPhone 和 Android 直立並排（一高一低），和對戰的斜疊、課文書架的 3D 斜放都不一樣 */
.newgrid .ph-pair2 { display: flex; justify-content: center; align-items: flex-start; gap: 28px; padding-top: 12px; }
.newgrid .ph-pair2 .device { position: relative; left: auto; top: auto; --w: 160px; }
.newgrid .pair2__a, .newgrid .pair2__b { animation: ph 1s var(--ease) both; }
.newgrid .pair2__b { margin-top: 44px; animation-delay: .12s; }
.newgrid .ph-pair2 .fc--c { left: 7%; bottom: 72px; }
/* 說明膠囊改放在小標旁邊，不再浮在手機上擋畫面 */
.newgrid .kcard .ktag { display: inline-block; margin: 0 0 0 8px; padding: 4px 11px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 13px; font-weight: 600; line-height: 1.2; opacity: .8; vertical-align: middle; }
.newgrid .kcard .kicker { vertical-align: middle; }
/* 課文書架：手機像平放在桌上被拍（往後躺），和校板「公告內頁」的側轉不一樣 */
.newgrid .ph-tilt { perspective: 1100px; }
.newgrid .ph-tilt .device { --w: 180px; left: calc(50% - 90px); top: 20px; transform: rotateX(20deg) rotateZ(-8deg); transform-origin: 50% 40%; }
/* 對戰兩支：卡片變窄時手機跟著縮，不被切掉 */
@media (max-width: 1068px) {
  .newgrid .ph-fan2 .device { --w: 190px; }
  .newgrid .fan2__b { left: calc(50% - 185px); top: 80px; }
  .newgrid .fan2__f { left: calc(50% - 15px); top: 56px; }
}
@media (max-width: 833px) {
  .newgrid .kcard--lead { height: 860px; }
  .newgrid .ph-fan2 .device { --w: 190px; }
  .newgrid .fan2__b { left: calc(50% - 180px); top: 40px; }
  .newgrid .fan2__f { left: calc(50% - 10px); top: 20px; }
}
@media (max-width: 734px) {
  .newgrid .newpair .kcard { height: 770px; }
  .newgrid .kcard--lead { height: 760px; }
  .newgrid .ph-pair2 .device { --w: 140px; }
  .newgrid .ph-pair2 { gap: 20px; }
  .newgrid .ph-fan2 .device { --w: 160px; }
  .newgrid .fan2__b { left: calc(50% - 150px); }
  .newgrid .ph-zoom .device { --w: 380px; left: calc(50% - 190px); top: -215px; }
  .newgrid .ph-tilt .device { --w: 200px; left: calc(50% - 100px); }
}
/* 窄螢幕上對戰卡是上下排，也讓文字和手機之間多留一點 */
@media (max-width: 833px) { .newgrid .kcard--lead .gcard__vis { margin-top: 32px; } }
/* 自己更新的 Android：金屬邊框的亮面在紅底上像一圈奇怪的高光 → 這裡改成暗一點、不反光的邊框 */
.newgrid .device--android { --dv-m3: #48484c; --dv-m4: #5a5a5f; }
.newgrid .device--android .dv-rim { background: linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02) 45%, rgba(255, 255, 255, .05)), var(--dv-metal); }
/* 比較：像 Apple「比較所有機型」，兩欄並排、每列一個功能，沒有的功能淡掉 */
.cmp { margin-top: 48px; border-top: 1px solid rgba(38, 36, 33, .16); }
.cmp__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.cmp__row--head { padding: 28px 0 20px; }
.cmp__col h3 { font: 600 28px/1.14 var(--font-display); margin: 0; }
.cmp__col p { margin: 6px 0 0; font-size: 14px; opacity: .7; }
.cmp__cell { display: flex; gap: 12px; align-items: baseline; padding: 16px 0; border-top: 1px solid rgba(38, 36, 33, .1); font-size: 17px; line-height: 1.45; }
.cmp__mark { flex: none; width: 18px; font-weight: 700; text-align: center; }
.cmp__cell--off { opacity: .4; }
.cmp__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 734px) { .cmp__row { gap: 0 20px; } .cmp__col h3 { font-size: 22px; } .cmp__cell { font-size: 15px; gap: 8px; } }
/* 首頁「新近推出」（DC-D6661BA6）：三支手機、校板、同步兩支都完整放進卡片，不切邊 */
.newgrid .sc-fan .device { --w: 180px; right: auto; }
.newgrid .sc-fan .device:nth-child(1) { left: calc(50% - 250px); top: 96px; rotate: -6deg; }
.newgrid .sc-fan .device:nth-child(2) { left: calc(50% - 90px); top: 40px; }
.newgrid .sc-fan .device:nth-child(3) { left: calc(50% + 70px); top: 96px; rotate: 6deg; }
.newgrid .sc-stream .device { --w: 170px; left: 6%; top: 20px; }
.newgrid .sc-stage > .device { --w: 150px; top: 24px; }
.newgrid .sc-stage > .device:nth-child(1) { left: 8%; right: auto; }
.newgrid .sc-stage > .device:nth-child(2) { right: 8%; left: auto; }
@media (max-width: 1068px) {
  .newgrid .sc-fan .device { --w: 150px; }
  .newgrid .sc-fan .device:nth-child(1) { left: calc(50% - 210px); top: 90px; }
  .newgrid .sc-fan .device:nth-child(2) { left: calc(50% - 75px); }
  .newgrid .sc-fan .device:nth-child(3) { left: calc(50% + 60px); top: 90px; }
  .newgrid .sc-stream .device { --w: 150px; }
  .newgrid .sc-stage > .device { --w: 130px; }
}
@media (max-width: 734px) {
  .newgrid .sc-fan .device { --w: 130px; }
  .newgrid .sc-fan .device:nth-child(1) { left: calc(50% - 185px); top: 70px; }
  .newgrid .sc-fan .device:nth-child(2) { left: calc(50% - 65px); top: 30px; }
  .newgrid .sc-fan .device:nth-child(3) { left: calc(50% + 55px); top: 70px; }
  .newgrid .sc-stream .device { --w: 140px; }
}
.newgrid .sr-w { right: 7%; }
@media (max-width: 734px) { .newgrid .sr-w { left: 48%; right: 7%; } .newgrid .sr { font-size: 12px; } }
/* DC-CCD1CF62：主打卡三支手機依卡片右半邊的寬度縮放，左右兩支不再被切掉 */
.newgrid .kcard--lead .gcard__vis { container-type: inline-size; }
.newgrid .kcard--lead .sc-fan .device { --w: min(29cqw, 190px); right: auto; }
.newgrid .kcard--lead .sc-fan .device:nth-child(1) { left: calc(50% - var(--w) * 1.55); top: calc(var(--w) * .5); }
.newgrid .kcard--lead .sc-fan .device:nth-child(2) { left: calc(50% - var(--w) * .5); top: calc(var(--w) * .2); }
.newgrid .kcard--lead .sc-fan .device:nth-child(3) { left: calc(50% + var(--w) * .55); top: calc(var(--w) * .5); }
