/* motomotos.com — 2026-10 redesign, after the motomotos 2.0 island. One black shape on a dark stage, soft
   coloured light, big type. Fonts are the system's (PingFang / SF) plus the bundled JetBrains Mono. */

:root {
  --bg: #0B0B0D;
  --bg2: #111114;
  --ink: #F4F2EE;
  --ink2: rgba(244, 242, 238, .62);
  --ink3: rgba(244, 242, 238, .38);
  --line: rgba(255, 255, 255, .08);
  --blue: #4DA3FF; --violet: #8B5CFF; --pink: #FF6AD5; --amber: #FFB020; --green: #34C759; --red: #FF453A; --coral: #FF6A55;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.mono { font-family: var(--mono); }
.dim { color: var(--ink3); }
em { font-style: normal; background: linear-gradient(92deg, #7DB8FF, #B48CFF 45%, #FF8FD8 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- menu bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 50; height: 56px; display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  background: rgba(11, 11, 13, .55); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); }
.bar .brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.bar .brand img { width: 24px; height: 24px; border-radius: 6px; }
.bar nav { display: flex; gap: 24px; margin-left: 12px; font-size: 14px; color: var(--ink2); }
.bar nav a:hover { color: var(--ink); }
.bar .right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { height: 32px; padding: 0 4px; border-radius: 16px; border: 1px solid var(--line); background: transparent; color: var(--ink3); font: 12px var(--mono); cursor: pointer; display: flex; align-items: center; gap: 2px; }
.lang span { padding: 3px 8px; border-radius: 12px; }
.lang span.on { background: rgba(255, 255, 255, .1); color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 24px; font-size: 15px; font-weight: 600; cursor: pointer; border: 0; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: #fff; color: #0B0B0D; box-shadow: 0 0 0 0 rgba(125, 184, 255, 0); }
.btn-primary:hover { box-shadow: 0 10px 40px rgba(125, 184, 255, .35); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.btn-sm { height: 34px; padding: 0 16px; font-size: 13px; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- ambient light ---------- */
.blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.blobs i { position: absolute; border-radius: 50%; filter: blur(90px); animation: drift 16s ease-in-out infinite; }
.blobs i:nth-child(1) { left: 6%; top: 18%; width: 520px; height: 520px; background: rgba(77, 90, 255, .22); }
.blobs i:nth-child(2) { right: 4%; top: 26%; width: 560px; height: 560px; background: rgba(255, 106, 85, .14); animation-delay: -6s; }
.blobs i:nth-child(3) { left: 38%; top: 58%; width: 420px; height: 420px; background: rgba(52, 199, 160, .10); animation-delay: -11s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(30px, -24px); } }

/* ---------- hero ---------- */
.hero { position: relative; padding: 56px 0 0; min-height: 100vh; overflow: hidden; }
.screen { position: relative; z-index: 1; margin: 0 auto; width: min(1240px, calc(100% - 2 * var(--pad))); }
.screen .menu { height: 34px; border-radius: 14px 14px 0 0; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); border-bottom: 0; display: flex; align-items: center; padding: 0 18px; gap: 16px; font: 12px var(--mono); color: var(--ink3); }
.screen .menu .apple { width: 12px; height: 12px; border-radius: 3px; background: rgba(255, 255, 255, .2); }
.screen .menu .tick { margin-left: auto; }
.stagebox { position: relative; height: calc(640px * var(--k, 1)); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 22px 22px; background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0) 60%); overflow: hidden; }
.stage { position: absolute; left: 50%; top: 0; width: 1240px; height: 640px; margin-left: -620px; transform-origin: 50% 0; transform: scale(var(--k, 1)); }
.chips { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px auto 0; max-width: 980px; padding: 0 var(--pad); }
.chip { height: 34px; padding: 0 14px; border-radius: 17px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--ink2); font: 13px var(--sans); cursor: pointer; transition: all .25s var(--ease); }
.chip:hover { color: var(--ink); border-color: rgba(255, 255, 255, .2); }
.chip.on { background: var(--ink); color: #0B0B0D; border-color: var(--ink); }
.chip .p { display: inline-block; width: 0; height: 2px; background: currentColor; vertical-align: middle; margin-left: 0; transition: none; }
.hero-copy { position: relative; z-index: 2; text-align: center; padding: 64px var(--pad) 96px; }
.eyebrow { font: 12px/1 var(--mono); letter-spacing: .08em; color: var(--ink3); text-transform: uppercase; margin: 0 0 18px; }
.display { margin: 0; font-size: clamp(44px, 7.4vw, 104px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; }
.lede { max-width: 720px; margin: 26px auto 0; font-size: clamp(16px, 1.5vw, 19px); color: var(--ink2); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.meta { margin-top: 18px; font: 12px var(--mono); color: var(--ink3); }

/* ---------- sections ---------- */
section { position: relative; padding: clamp(80px, 12vw, 160px) var(--pad); }
.head { max-width: 1100px; margin: 0 auto 56px; }
.head.center { text-align: center; }
.h2 { margin: 0; font-size: clamp(34px, 4.8vw, 64px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
.sub { max-width: 640px; margin-top: 20px; color: var(--ink2); font-size: 17px; }
.head.center .sub { margin-left: auto; margin-right: auto; }
.wrap { max-width: 1100px; margin: 0 auto; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* agents */
.agents { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.alist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.alist li { list-style: none; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 600; }
.alist li i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); flex: none; }
.alist { padding: 0; margin-bottom: 0; }
.points { margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.points li { list-style: none; position: relative; padding-left: 26px; color: var(--ink2); }
.points li b { color: var(--ink); font-weight: 600; }
.points li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #7DB8FF, #FF8FD8); }
.cardshot { position: relative; border-radius: 34px; padding: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px var(--line), 0 40px 120px rgba(0, 0, 0, .5); }
.cardshot img { border-radius: 22px; width: 100%; }
.cardshot .halo { position: absolute; inset: 10% 8%; z-index: -1; filter: blur(60px); background: radial-gradient(closest-side, rgba(255, 176, 32, .35), rgba(255, 176, 32, 0)); }

/* moments: small stages, one state each */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.moment { position: relative; border-radius: 26px; overflow: hidden; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.moment .mstage { position: relative; height: 190px; overflow: hidden; background: radial-gradient(90% 120% at 50% 0%, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0) 70%); }
.moment .mstage .stage { --k: .46; height: 640px; }
.moment .mtext { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.moment h3 { margin: 0; font-size: 17px; letter-spacing: -.01em; }
.moment p { margin: 6px 0 0; color: var(--ink2); font-size: 14px; line-height: 1.55; }
.moment .replay { position: absolute; right: 16px; bottom: 18px; z-index: 5; font: 11px var(--mono); color: var(--ink3); background: rgba(255, 255, 255, .06); border: 0; border-radius: 10px; padding: 4px 9px; cursor: pointer; }

/* widgets: the default panel, card by card */
.panel { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: minmax(0, auto); gap: 18px; }
.wcard { border-radius: 28px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; display: flex; flex-direction: column; }
.wcard .img { padding: 18px 18px 0; }
.wcard .img img { width: 100%; border-radius: 20px; }
.wcard .txt { padding: 16px 22px 22px; }
.wcard h3 { margin: 0; font-size: 17px; }
.wcard p { margin: 6px 0 0; font-size: 14px; color: var(--ink2); }
.wcard.text { justify-content: flex-end; padding: 26px; background: linear-gradient(160deg, rgba(139, 92, 255, .14), rgba(77, 163, 255, .05) 60%, var(--bg2)); }
.wcard.text .big { font-size: 56px; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tags span { font-size: 12px; color: var(--ink2); padding: 5px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); }

/* cat */
.cat { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; }
.moods { padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.moods li { list-style: none; display: flex; align-items: baseline; gap: 10px; padding: 10px 12px; border-radius: 12px; cursor: pointer; color: var(--ink2); transition: background .2s, color .2s; }
.moods li .n { font: 11px var(--mono); color: var(--ink3); }
.moods li.on, .moods li:hover { background: rgba(255, 255, 255, .06); color: var(--ink); }
.catstage { position: relative; aspect-ratio: 1.4; border-radius: 34px; background: radial-gradient(60% 60% at 50% 55%, rgba(255, 176, 120, .16), rgba(255, 255, 255, 0)), var(--bg2); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; }
.catstage img { width: 62%; transition: opacity .25s, transform .5s var(--ease); }
.catstage p { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; margin: 0; font: 13px var(--mono); color: var(--ink2); }

/* pricing */
.price { max-width: 520px; margin: 0 auto; border-radius: 36px; padding: 40px; text-align: center; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 120px rgba(77, 90, 255, .18); }
.price .trial { color: var(--ink2); margin: 0; }
.price .amount { margin: 14px 0 8px; display: flex; align-items: baseline; justify-content: center; gap: 10px; }
.price .num { font-size: 72px; font-weight: 700; letter-spacing: -.04em; }
.price .unit { color: var(--ink2); }
.checks { padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; text-align: left; }
.checks li { list-style: none; padding-left: 28px; position: relative; color: var(--ink2); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 7px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.price .wide { width: 100%; }
.fine { font-size: 13px; color: var(--ink3); margin: 14px 0 0; }

/* install */
.install { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.steps { padding: 0; margin: 28px 0 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { list-style: none; counter-increment: s; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: baseline; color: var(--ink2); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 12px var(--mono); color: var(--ink3); }
.term { border-radius: 20px; background: #050506; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.term .tb { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.term .tb i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.term .tb span { margin-left: 8px; font: 11px var(--mono); color: var(--ink3); }
.term pre { margin: 0; padding: 18px; font: 13px/1.7 var(--mono); color: var(--ink); white-space: pre-wrap; word-break: break-all; }
.term .copy { margin: 0 18px 18px; }
.dl { display: flex; align-items: center; gap: 18px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); margin-top: 28px; }
.dl img { width: 56px; height: 56px; border-radius: 14px; }
.dl .t { flex: 1; }
.dl .t b { display: block; }
.dl .t span { font-size: 13px; color: var(--ink3); }

/* faq */
.qa { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
.qa summary { cursor: pointer; list-style: none; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; color: var(--ink3); font-weight: 400; transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 12px 0 0; color: var(--ink2); }

/* footer */
footer { padding: 80px var(--pad) 48px; border-top: 1px solid var(--line); }
footer .wm { font-size: clamp(56px, 14vw, 200px); font-weight: 700; letter-spacing: -.06em; line-height: .9; background: linear-gradient(180deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 28px; color: var(--ink2); font-size: 14px; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer .legal { margin-top: 18px; font-size: 12px; color: var(--ink3); }
footer .legal a { color: var(--ink3); }

/* ---------- the island (js/island.js) ---------- */
.isl { position: absolute; inset: 0; font-family: var(--sans); color: #fff; }
.isl-goo { position: absolute; inset: 0 0 auto; height: 700px; z-index: 2; pointer-events: none; }
.isl-shape, .isl-bshape { position: absolute; left: 50%; top: -40px; background: #000; }
.isl-bshape { width: 64px; height: 104px; border-radius: 0 0 32px 32px; }
.isl-glow { position: absolute; left: 50%; top: -10px; z-index: 1; }
.isl-bglow { position: absolute; left: 50%; top: -6px; width: 80px; height: 80px; border-radius: 40px; z-index: 1; filter: blur(16px); background: #E8735A; }
.isl-bubble { position: absolute; left: 50%; top: 0; width: 64px; height: 64px; z-index: 3; }
.isl-bubble svg { position: absolute; left: 0; top: 0; }
.isl-bubble .cover { position: absolute; left: 17px; top: 15px; }
.isl-body { position: absolute; left: 50%; top: 0; overflow: hidden; z-index: 3; }
.isl-sweep { position: absolute; left: 0; top: 0; width: 30%; height: 100%; pointer-events: none; opacity: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .09), rgba(255, 255, 255, 0)); }
.isl-sweep.go { animation: isl-sweep 1.1s ease-out .3s 1; }
.isl-cat { position: absolute; z-index: 2; }
.isl-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .22s ease, filter .22s ease; }
.isl .ear { position: absolute; right: 24px; top: 0; height: 64px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.isl .ear .dim { color: rgba(255, 255, 255, .46); }
.isl .ear .mid { color: rgba(255, 255, 255, .62); }
.isl .strong { color: #fff; font-weight: 600; }
.isl .spin { animation: isl-spin 1s linear infinite; }
.isl .cover { width: 30px; height: 30px; border-radius: 8px; background: #D9674E; position: relative; overflow: hidden; }
.isl .cover i { position: absolute; left: 9px; top: 9px; width: 12px; height: 12px; border-radius: 6px; background: #F2C9B8; }
.isl .cover.sm { border-radius: 15px; }
.isl .cover.glow { box-shadow: 0 0 18px rgba(217, 103, 78, .55); overflow: visible; }
.isl .cover.lg { width: 58px; height: 58px; border-radius: 14px; flex: none; box-shadow: 0 8px 26px rgba(217, 103, 78, .45); }
.isl .cover.lg i { left: 18px; top: 18px; width: 22px; height: 22px; border-radius: 11px; }
.isl .wave { display: flex; align-items: center; gap: 3px; height: 20px; }
.isl .wave i { width: 3px; height: 20px; border-radius: 2px; background: #fff; animation: isl-wave .8s ease-in-out infinite; }
.isl .wave.sm { height: 16px; margin-top: 6px; }
.isl .wave.sm i { height: 14px; background: rgba(255, 255, 255, .7); }
.isl .fill { position: absolute; inset: 0; }
.isl .mark { position: absolute; left: 128px; top: 40px; }
.isl .mark.ok { filter: drop-shadow(0 0 8px rgba(52, 199, 89, .7)); }
.isl .mark.bad { filter: drop-shadow(0 0 8px rgba(255, 69, 58, .7)); }
.isl .ln { position: absolute; left: 190px; overflow: hidden; white-space: nowrap; }
.isl .ln.l1 { top: 34px; height: 26px; font-size: 18px; font-weight: 600; line-height: 26px; }
.isl .ln.l2 { top: 64px; height: 22px; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .52); }
.isl .ln.w1 { left: 124px; top: 28px; height: 28px; font-size: 20px; font-weight: 600; line-height: 28px; }
.isl .ln.w2 { left: 124px; top: 60px; height: 22px; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .5); }
.isl .pill { position: absolute; right: 30px; top: 42px; height: 40px; padding: 0 20px; border-radius: 20px; background: rgba(255, 255, 255, .13); font-size: 14px; font-weight: 500; display: flex; align-items: center; }
.isl .wtag { position: absolute; right: 34px; top: 36px; display: flex; align-items: center; gap: 8px; color: var(--amber); font-size: 13px; font-weight: 500; }
.isl .wtag i { width: 8px; height: 8px; border-radius: 4px; background: var(--amber); box-shadow: 0 0 10px var(--amber); animation: isl-blink 1.6s ease-in-out infinite; }
.isl .code { position: absolute; left: 30px; right: 30px; top: 108px; height: 112px; border-radius: 20px; background: rgba(255, 255, 255, .07); padding: 18px 22px; font-size: 15px; line-height: 26px; }
.isl .code .c2 { color: rgba(255, 255, 255, .72); }
.isl .code .c3 { color: rgba(255, 255, 255, .38); }
.isl .acts { position: absolute; left: 34px; right: 30px; bottom: 30px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.isl .acts > div { display: flex; gap: 12px; }
.isl .acts .b { display: inline-flex; align-items: center; justify-content: center; width: 112px; height: 46px; border-radius: 23px; background: rgba(255, 255, 255, .12); font-size: 15px; font-weight: 500; }
.isl .acts .b.ok { background: #fff; color: #000; font-weight: 600; box-shadow: 0 0 24px rgba(255, 176, 32, .45); }
.isl .band { position: absolute; left: 50%; top: 0; width: 960px; height: 148px; margin-left: -480px; }
.isl .band .m { position: absolute; }
.isl .band .row { display: flex; align-items: center; gap: 12px; }
.isl .band .sep { position: absolute; top: 38px; width: 1px; height: 72px; background: rgba(255, 255, 255, .1); }
.isl .t1 { font-size: 17px; font-weight: 600; line-height: 24px; }
.isl .t2 { font-size: 13px; font-weight: 500; line-height: 20px; }
.isl .amber { color: var(--amber); }
.isl .t3 { font-size: 12px; color: rgba(255, 255, 255, .5); line-height: 18px; white-space: nowrap; }
.isl .t4 { font-size: 12px; color: rgba(255, 255, 255, .34); line-height: 18px; white-space: nowrap; }
.isl .big { font-size: 20px; font-weight: 600; line-height: 26px; white-space: nowrap; }
.isl .song { font-size: 15px; font-weight: 600; line-height: 22px; white-space: nowrap; }
.isl .clock { font-size: 36px; font-weight: 600; line-height: 40px; letter-spacing: -.5px; font-variant-numeric: tabular-nums; }
.isl .m5 { text-align: center; }
.isl .coins { display: flex; margin-top: 10px; }
.isl .coins span { width: 24px; height: 24px; border-radius: 12px; background: #2A2A2C; border: 2px solid #000; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-left: -6px; box-shadow: 0 0 0 1.5px rgba(77, 163, 255, .7); }
.isl .coins span:first-child { margin-left: 0; }
.isl .lower { position: absolute; left: 50%; top: 162px; width: 1040px; height: 420px; margin-left: -520px; }
.isl .hair { position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)); }
.isl .cap { position: absolute; left: 0; top: 22px; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .4); letter-spacing: .5px; }
.isl .srow { position: absolute; left: 0; width: 580px; height: 56px; display: flex; align-items: center; gap: 14px; }
.isl .srow .mark { position: static; width: 36px; height: 36px; border-radius: 18px; background: #232325; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.isl .srow .sx { flex: 1; min-width: 0; }
.isl .srow .p { font-size: 15px; font-weight: 600; line-height: 22px; }
.isl .srow .st { font-size: 13px; color: rgba(255, 255, 255, .5); line-height: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.isl .srow .state { flex: none; height: 26px; padding: 0 12px; border-radius: 13px; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; }
.isl .srow .tm { width: 44px; text-align: right; font-size: 12px; color: rgba(255, 255, 255, .38); }
.isl .tile { position: absolute; width: 200px; height: 180px; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07); padding: 20px; }
.isl .tile.center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.isl .tbig { font-size: 32px; font-weight: 600; line-height: 40px; margin-top: 4px; letter-spacing: -.5px; }
.isl .hist { display: flex; align-items: flex-end; gap: 3px; height: 56px; margin-top: 14px; }
.isl .hist i { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, .5); transform-origin: bottom; transition: transform .7s cubic-bezier(.2, .9, .3, 1.05); }
.isl .hist i.hot { background: linear-gradient(180deg, #FFD08A, #FF8A3D); box-shadow: 0 0 12px rgba(255, 138, 61, .6); }
.isl .red { font-size: 13px; font-weight: 600; color: var(--red); }
.isl .day { font-size: 52px; font-weight: 600; line-height: 58px; letter-spacing: -1px; }
.isl .tile.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; justify-items: center; }
.isl .tile.apps span { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(180deg, #2C2C2F, #1E1E20); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; }
.isl-sparks { position: absolute; left: 50%; top: 62px; width: 0; height: 0; z-index: 4; pointer-events: none; }
.isl-sparks span { position: absolute; left: 0; top: 0; border-radius: 50%; opacity: 0; }
.isl-sparks b { position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 30px; border: 2px solid rgba(91, 229, 132, .9); opacity: 0; }
.isl-sparks.go span { animation: isl-spark var(--dur) cubic-bezier(.15, .75, .3, 1) var(--del) 1 both; }
.isl-sparks.go b { animation: isl-ring .9s cubic-bezier(.2, .8, .3, 1) .74s 1 both; }
.isl[data-s="focus"] .isl-sparks b { border-color: rgba(255, 138, 117, .9); }
@keyframes isl-spin { to { transform: rotate(360deg); } }
@keyframes isl-wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@keyframes isl-blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes isl-breathe { 0%, 100% { opacity: .55; transform: scale(.97); } 50% { opacity: 1; transform: scale(1.03); } }
@keyframes isl-flow { 0% { background-position: 0% 50%; } 100% { background-position: 300% 50%; } }
@keyframes isl-flash { 0% { opacity: 0; transform: scale(.8); } 22% { opacity: 1; transform: scale(1.08); } 100% { opacity: .28; transform: scale(1); } }
@keyframes isl-pulse { 0%, 100% { opacity: .3; } 25% { opacity: 1; } 50% { opacity: .4; } 75% { opacity: .9; } }
@keyframes isl-shake { 0%, 100% { transform: translateX(0); } 16% { transform: translateX(-10px); } 34% { transform: translateX(8px); } 52% { transform: translateX(-5px); } 70% { transform: translateX(2px); } }
@keyframes isl-sweep { 0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(420%) skewX(-18deg); opacity: 0; } }
@keyframes isl-spark { 0% { transform: translate(0, 0) scale(1); opacity: 0; } 8% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
@keyframes isl-ring { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .bar nav { display: none; }
  .agents, .install, .cat { grid-template-columns: 1fr; }
  .moments, .panel { grid-template-columns: 1fr 1fr; }
  .alist { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .moments, .panel { grid-template-columns: 1fr; }
  .bar .right .btn { display: none; }
  .screen .menu .tick { display: none; }
  .moods { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- HTML widget cards (js/widgets.js) ---------- */
.wcard.live .wbox { padding: 18px 18px 0; }
.wd { position: relative; aspect-ratio: 1; border-radius: 22px; background: #151517; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); padding: 20px; color: #fff; overflow: hidden; font-size: 14px; }
.wd-h { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.wd-h svg { width: 16px; height: 16px; fill: none; stroke: #FF9F43; stroke-width: 1.6; stroke-linecap: round; }
.wd-h .r { margin-left: auto; font-weight: 500; color: var(--ink2); font-size: 12px; }
.wq-row { margin-bottom: 14px; }
.wq-top { display: flex; align-items: center; gap: 8px; }
.wq-top b { font-size: 15px; }
.wq-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.wq-pct { margin-left: auto; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.wq-bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .12); margin: 7px 0 5px; overflow: hidden; }
.wq-bar i { display: block; height: 100%; border-radius: 3px; transition: width 1.1s var(--ease); }
.wq-meta { font-size: 12px; color: var(--ink2); }
.wd-pomo { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.wp-ring { position: absolute; left: 50%; top: 46%; width: 74%; transform: translate(-50%, -50%) rotate(-90deg); }
.wp-ring circle, .wb-ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.wp-ring .trk, .wb-ring .trk { stroke: rgba(255, 255, 255, .12); }
.wp-ring .arc { stroke: var(--coral); transition: stroke-dashoffset .9s linear; }
.wp-time { position: relative; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; margin-top: -18%; font-variant-numeric: tabular-nums; }
.wp-sub { position: relative; font-size: 12px; color: var(--ink2); }
.wp-ctl { position: absolute; bottom: 7%; display: flex; gap: 22px; align-items: center; }
.wp-ctl button, .wm-ctl button { width: 34px; height: 34px; border-radius: 17px; border: 0; background: transparent; color: var(--ink2); font-size: 18px; cursor: pointer; }
.wp-ctl button:hover, .wm-ctl button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.wp-ctl button:disabled { opacity: .25; cursor: default; background: transparent; }
.wp-ctl .play, .wm-ctl .play { width: 44px; height: 44px; border-radius: 22px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 14px; }
.wd-cal .wc-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.wd-cal .wc-head b { color: #FF5A4E; font-size: 15px; }
.wd-cal .wc-head span { color: var(--ink2); font-size: 13px; }
.wc-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; text-align: center; font-size: 13px; font-weight: 600; }
.wc-grid.wk { color: var(--ink3); font-size: 11px; margin-bottom: 4px; }
.wc-grid span { height: 26px; line-height: 26px; }
.wc-grid .today { background: #FF453A; border-radius: 13px; width: 26px; margin: 0 auto; }
.wd-music { display: flex; flex-direction: column; }
.wm-cover { width: 46%; aspect-ratio: 1; border-radius: 16px; background: linear-gradient(135deg, #E8735A, #B5413A); position: relative; box-shadow: 0 10px 30px rgba(217, 103, 78, .4); }
.wm-cover i { position: absolute; left: 34%; top: 34%; width: 32%; height: 32%; border-radius: 50%; background: #F2C9B8; }
.wd-music.on .wm-cover { animation: isl-breathe 2.6s ease-in-out infinite; }
.wm-title { margin-top: 14px; font-weight: 600; font-size: 15px; }
.wm-artist { color: var(--ink2); font-size: 12px; }
.wm-bar { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .12); margin-top: 12px; overflow: hidden; }
.wm-bar i { display: block; height: 100%; background: #fff; border-radius: 2px; }
.wm-ctl { margin-top: auto; display: flex; justify-content: space-around; align-items: center; }
.wd-batt { display: flex; flex-direction: column; align-items: center; }
.wd-batt .wd-h { align-self: flex-start; }
.wd-batt .wd-h svg { stroke: var(--green); }
.wb-ring { width: 62%; transform: rotate(-90deg); }
.wb-ring .arc { stroke: var(--green); transition: stroke-dashoffset 1s var(--ease); }
.wd-batt.low .wb-ring .arc { stroke: var(--red); }
.wb-pct { position: absolute; left: 0; right: 0; top: 47%; text-align: center; transform: translateY(-50%); }
.wb-pct b { font-size: clamp(30px, 3.2vw, 42px); }
.wb-pct span { color: var(--ink2); font-weight: 600; }
.wb-left { margin-top: auto; color: var(--ink2); font-size: 13px; }
.wt-big { font-size: clamp(30px, 3.2vw, 40px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.wt-hist { display: flex; align-items: flex-end; gap: 3px; height: 46px; margin: 12px 0 12px; }
.wt-hist i { flex: 1; border-radius: 2px; background: rgba(255, 255, 255, .45); }
.wt-hist i.hot { background: linear-gradient(180deg, #FFD08A, #FF8A3D); }
.wt-row { display: flex; justify-content: space-between; font-size: 13px; margin-top: 4px; }
.wt-bar { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .12); margin-top: 4px; overflow: hidden; }
.wt-bar i { display: block; height: 100%; background: #FF9F43; }
.wd-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; }
.wa { border: 0; background: transparent; color: var(--ink2); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 5px; font: 11px var(--sans); }
.wa span { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; font-weight: 700; color: #fff; background: linear-gradient(150deg, hsl(var(--h) 70% 58%), hsl(calc(var(--h) + 30) 70% 38%)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .35s var(--ease); }
.wa:hover span { transform: translateY(-3px) scale(1.06); }
.wa.pop span { animation: wa-pop .45s var(--ease); }
.wa em { font-style: normal; }
@keyframes wa-pop { 0% { transform: scale(1); } 40% { transform: scale(.86); } 100% { transform: scale(1); } }
.panel { grid-template-columns: repeat(4, 1fr); }
.hint { text-align: center; margin: 14px 0 0; font: 12px var(--mono); color: var(--ink3); }
.isl-body { cursor: pointer; }
.quota-demo { max-width: 400px; margin-left: auto; }
.quota-demo .wd { aspect-ratio: auto; padding: 26px; }
@media (max-width: 1100px) { .panel { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 980px) { .panel { grid-template-columns: 1fr 1fr; } .quota-demo { margin: 0 auto; } }
@media (max-width: 640px) { .panel { grid-template-columns: 1fr; } }
.panel .wcard:first-child { grid-column: span 2; }
.panel .wcard:first-child .wd { aspect-ratio: auto; height: calc(100% - 0px); min-height: 240px; }
.panel .wcard:first-child .wbox { flex: 1; display: flex; flex-direction: column; }
.panel .wcard:first-child .wbox .wd { flex: 1; }
@media (max-width: 640px) { .panel .wcard:first-child { grid-column: auto; } }
