/* whrss.com: Pop's plugins — the plugin art, the gallery, the plugin pages and the animated how-to
   (assets/pop-plugins.js). The stage recreates Pop on a pretend Mac with the sizes of pop-demo.css:
   a 248-point ring, 380-point glass cards with 16-point padding and 20-point corners. */

/* ================================================================ tokens */
.pl-scope, .pla, .plg, .pa, .plm, .plp {
  --pl-accent: #007aff;
  --pl-accent-12: rgba(0, 122, 255, 0.12);
  --pl-accent-22: rgba(0, 122, 255, 0.22);
  --pl-accent-40: rgba(0, 122, 255, 0.4);
  --pl-accent-70: rgba(0, 122, 255, 0.7);
  --pl-red: #ff3b30;
  --pl-orange: #ff9500;
  --pl-green: #28a745;
  --pl-l1: rgba(0, 0, 0, 0.85);
  --pl-l2: rgba(0, 0, 0, 0.5);
  --pl-l3: rgba(0, 0, 0, 0.26);
  --pl-fill: rgba(0, 0, 0, 0.06);
  --pl-fill-2: rgba(0, 0, 0, 0.1);
  --pl-sep: rgba(0, 0, 0, 0.1);
  --pl-xmark: #f2f2f4;
  --pl-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.06)), rgba(236, 236, 240, 0.78);
  --pl-glass-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.28), 0 8px 22px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
  --pl-menu: rgba(246, 246, 248, 0.96);
  --pl-btn: rgba(0, 0, 0, 0.075);
  --pl-field: rgba(255, 255, 255, 0.78);
  --pl-field-edge: rgba(0, 0, 0, 0.14);
  --pl-hub: rgba(0, 0, 0, 0.06);
  --pl-hub-edge: rgba(0, 0, 0, 0.12);
  --pl-win: #fcfcfd;
  --pl-bar: #efeff2;
  --pl-side: #f1f1f4;
  --pl-selbg: #b3d7ff;
  --pl-desk: radial-gradient(120% 90% at 8% 0%, #c6dbf8 0%, transparent 60%),
    radial-gradient(90% 80% at 100% 25%, #f4d3e4 0%, transparent 60%),
    radial-gradient(100% 90% at 40% 100%, #f6e0c4 0%, transparent 65%), #dde3ee;
  --pl-mb: rgba(255, 255, 255, 0.55);
  --pl-mb-ink: rgba(0, 0, 0, 0.85);
  --pl-mark: rgba(255, 204, 0, 0.45);
  --pl-ins: rgba(52, 199, 89, 0.22);
  --pl-del: rgba(255, 59, 48, 0.18);
  --pl-code: #1e2230;
  --pl-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, Arial, sans-serif;
  --pl-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "PingFang SC", monospace;
}
@media (prefers-color-scheme: dark) {
  .pl-scope, .pla, .plg, .pa, .plm, .plp {
    --pl-accent: #0a84ff;
    --pl-accent-12: rgba(10, 132, 255, 0.16);
    --pl-accent-22: rgba(10, 132, 255, 0.3);
    --pl-accent-40: rgba(10, 132, 255, 0.45);
    --pl-accent-70: rgba(10, 132, 255, 0.75);
    --pl-red: #ff453a;
    --pl-orange: #ff9f0a;
    --pl-green: #32d74b;
    --pl-l1: rgba(255, 255, 255, 0.9);
    --pl-l2: rgba(255, 255, 255, 0.55);
    --pl-l3: rgba(255, 255, 255, 0.28);
    --pl-fill: rgba(255, 255, 255, 0.07);
    --pl-fill-2: rgba(255, 255, 255, 0.12);
    --pl-sep: rgba(255, 255, 255, 0.12);
    --pl-xmark: #2c2c30;
    --pl-glass: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.01)), rgba(30, 30, 34, 0.8);
    --pl-glass-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 10px 26px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
    --pl-menu: rgba(44, 44, 48, 0.96);
    --pl-btn: rgba(255, 255, 255, 0.12);
    --pl-field: rgba(0, 0, 0, 0.25);
    --pl-field-edge: rgba(255, 255, 255, 0.14);
    --pl-hub: rgba(255, 255, 255, 0.06);
    --pl-hub-edge: rgba(255, 255, 255, 0.12);
    --pl-win: #1f1f22;
    --pl-bar: #2a2a2d;
    --pl-side: #252528;
    --pl-selbg: #3f638b;
    --pl-desk: radial-gradient(120% 90% at 8% 0%, #1d3358 0%, transparent 60%),
      radial-gradient(90% 80% at 100% 25%, #3b2143 0%, transparent 60%),
      radial-gradient(100% 90% at 40% 100%, #3a2a1a 0%, transparent 65%), #15181f;
    --pl-mb: rgba(30, 30, 34, 0.5);
    --pl-mb-ink: rgba(255, 255, 255, 0.9);
    --pl-mark: rgba(255, 214, 10, 0.38);
    --pl-ins: rgba(48, 209, 88, 0.26);
    --pl-del: rgba(255, 69, 58, 0.26);
    --pl-code: #15171f;
  }
}

/* Category colours: a gradient per category, used by the art and small accents. */
.cat-text      { --c1: #2d7ff9; --c2: #5856d6; --ci: #2d6be0; }
.cat-convert   { --c1: #34c759; --c2: #0f9d8a; --ci: #13866f; }
.cat-developer { --c1: #b45ae6; --c2: #6e4bd8; --ci: #8a4fd6; }
.cat-screen    { --c1: #ff9f0a; --c2: #ff5f2c; --ci: #d4531c; }
.cat-recording { --c1: #ff375f; --c2: #d6246e; --ci: #d3214f; }
.cat-files     { --c1: #32ade6; --c2: #1b7fc4; --ci: #1a78b6; }
@media (prefers-color-scheme: dark) {
  .cat-text { --ci: #8fb2ff; } .cat-convert { --ci: #5fdcab; } .cat-developer { --ci: #d1a3ff; }
  .cat-screen { --ci: #ffb380; } .cat-recording { --ci: #ff8fa6; } .cat-files { --ci: #7dcdf5; }
}

/* ================================================================ plugin tile and art */
.ptile {
  --s: 56px;
  position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 23%;
  display: grid; place-items: center; color: #fff; overflow: hidden; isolation: isolate;
  background: linear-gradient(145deg, var(--c1), var(--c2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 6px 14px -6px color-mix(in srgb, var(--c2) 70%, transparent);
}
.ptile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, 0.42), transparent 55%);
}
.ptile svg { width: 60%; height: 60%; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18)); }
.ptile.is-sm { --s: 36px; }
.ptile.is-xs { --s: 26px; border-radius: 26%; }
.ptile.is-xs svg { width: 66%; height: 66%; }

/* The art on a plugin page: the tile, large and floating, with three chips of what it handles. */
.pa {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 0.86; margin: 0 auto;
  display: grid; place-items: center; isolation: isolate;
}
.pa-glow {
  position: absolute; inset: 6% 10%; z-index: -2; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c1) 46%, transparent), color-mix(in srgb, var(--c2) 18%, transparent) 60%, transparent);
  filter: blur(18px);
}
.pa-rings { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; }
.pa-rings i {
  position: absolute; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--c1) 26%, transparent);
  width: 62%; aspect-ratio: 1;
}
.pa-rings i:nth-child(2) { width: 84%; border-style: dashed; border-color: color-mix(in srgb, var(--c2) 22%, transparent); }
.pa-rings i:nth-child(3) { width: 104%; border-color: color-mix(in srgb, var(--c1) 12%, transparent); }
.pa-rings b {
  position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--c1); left: 50%; top: 50%;
  transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); box-shadow: 0 0 12px var(--c1);
}
.pa .ptile {
  --s: min(46%, 196px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), inset 0 -2px 0 rgba(0, 0, 0, 0.12),
    0 40px 70px -26px color-mix(in srgb, var(--c2) 80%, transparent), 0 10px 22px -10px rgba(0, 0, 0, 0.3);
}
.pa .ptile svg { stroke-width: 1.5; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.2)); }
.pa-chip {
  position: absolute; z-index: 1; max-width: 46%;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 550; line-height: 1.2; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: var(--glass-strong); border: 1px solid var(--stroke);
  box-shadow: var(--shadow), inset 0 1px 0 var(--rim);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.pa-chip i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: linear-gradient(145deg, var(--c1), var(--c2)); }
.pa-chip.c1 { left: 0; top: 14%; }
.pa-chip.c2 { right: 0; top: 40%; }
.pa-chip.c3 { left: 6%; bottom: 8%; }
.pa-chip.is-mono { font-family: var(--mono); font-size: 12px; font-weight: 500; }
@media (max-width: 520px) { .pa-chip { font-size: 12px; padding: 6px 10px; } }

@media (prefers-reduced-motion: no-preference) {
  @keyframes pa-float { 0%, 100% { transform: translate3d(0, -6px, 0) rotate(-1.2deg); } 50% { transform: translate3d(0, 8px, 0) rotate(1.2deg); } }
  @keyframes pa-bob { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -10px, 0); } }
  @keyframes pa-spin { to { transform: rotate(360deg); } }
  @keyframes pa-orbit { from { transform: rotate(var(--a)) translateY(calc(var(--r) * -1)); } to { transform: rotate(calc(var(--a) + 360deg)) translateY(calc(var(--r) * -1)); } }
  .pa .ptile { animation: pa-float 7s ease-in-out infinite; }
  .pa-chip { animation: pa-bob 5.5s ease-in-out infinite; }
  .pa-chip.c2 { animation-duration: 6.5s; animation-delay: -2s; }
  .pa-chip.c3 { animation-duration: 7.5s; animation-delay: -4s; }
  .pa-rings i:nth-child(2) { animation: pa-spin 60s linear infinite; }
  .pa-rings b { animation: pa-orbit 24s linear infinite; }
  .pa-rings b + b { animation-duration: 36s; animation-direction: reverse; }
  .js .pa { animation: pop-in 1.1s var(--ease-out) backwards; }
}

/* ================================================================ plugin page */
.plp-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(32px, 5vw, 64px); }
.plp-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .plp-hero .wrap { grid-template-columns: 1fr; } .plp-hero .pa { max-width: 340px; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; color: var(--text-3); margin-bottom: 22px; }
.crumbs a { color: var(--text-2); }
.crumbs svg { width: 12px; height: 12px; opacity: 0.6; }
.plp-cat { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ci); margin-bottom: 14px; }
.plp-cat::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(145deg, var(--c1), var(--c2)); }
:lang(zh) .plp-cat { letter-spacing: 0.08em; }
.plp-hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
.plp-hero .lede { margin-top: 20px; font-size: clamp(1.1rem, 1.7vw, 1.32rem); }
.plp-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.plp-meta span {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: 13.5px; color: var(--text-2); background: var(--code-bg); border: 1px solid var(--stroke);
}
.plp-meta b { font-weight: 600; color: var(--text); }
.plp-hero .actions { margin-top: 28px; }

.howto { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .howto { grid-template-columns: 1fr; } .howto .pla { order: -1; } }
.howto-h { margin-bottom: clamp(24px, 4vw, 44px); }
.howto-h h2 { font-size: clamp(2rem, 4vw, 3rem); }
.howto-h p { margin-top: 14px; color: var(--text-2); font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 40em; }

.pla-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; counter-reset: st; position: sticky; top: 72px; }
.pla-steps li { counter-increment: st; border-radius: 16px; }
.pla-steps li > *, .pla-step {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; width: 100%;
  padding: 12px 14px; border-radius: 16px; text-align: left; font: inherit; color: inherit; background: none; border: 0;
}
.pla-step { cursor: pointer; transition: background-color 0.3s var(--ease); }
.pla-step:hover { background: var(--code-bg); }
.pla-steps li > *::before {
  content: counter(st); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--text-2);
  background: var(--code-bg); border: 1px solid var(--stroke);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.4s var(--ease-out);
}
.pla-steps strong { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.35; padding-top: 3px; }
.pla-steps small { display: block; margin-top: 3px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.pla-steps kbd { font-size: 0.82em; }
.pla-steps.is-live li { opacity: 0.55; transition: opacity 0.4s var(--ease); }
.pla-steps.is-live li.is-on, .pla-steps.is-live li:hover { opacity: 1; }
.pla-steps li.is-on .pla-step { background: var(--glass-strong); box-shadow: var(--shadow), inset 0 1px 0 var(--rim); }
.pla-steps li.is-on > *::before { background: linear-gradient(145deg, var(--c1), var(--c2)); color: #fff; border-color: transparent; transform: scale(1.06); }
.pla-steps li.is-done > *::before { color: var(--ci); }
@media (max-width: 960px) { .pla-steps { position: static; } }

.plp-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 720px) { .plp-details { grid-template-columns: 1fr; } }
.plp-point { padding: 22px 24px; border-radius: var(--radius); display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.plp-point .n { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--c1), var(--c2)); }
.plp-point .n svg { width: 16px; height: 16px; }
.plp-point p { color: var(--text-2); font-size: 16px; line-height: 1.5; }
.plp-point p b { color: var(--text); font-weight: 600; }

.plp-install { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .plp-install { grid-template-columns: 1fr; } }
.plp-way { padding: 24px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; }
.plp-way h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.plp-way h3 span { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; color: var(--ci); background: color-mix(in srgb, var(--c1) 14%, transparent); }
.plp-way p { color: var(--text-2); font-size: 15px; }
.plp-way .cmd code { font-size: 13px; }

.plp-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plp-nav a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); color: var(--text);
  transition: transform 0.5s var(--ease-out), background-color 0.3s var(--ease);
}
.plp-nav a:hover { text-decoration: none; transform: translateY(-3px); background: var(--glass-strong); }
.plp-nav a.next { flex-direction: row-reverse; text-align: right; }
.plp-nav small { display: block; font-size: 13px; color: var(--text-3); }
.plp-nav strong { display: block; font-size: 16px; }
.plp-nav .arr svg { width: 18px; height: 18px; color: var(--text-3); }
@media (max-width: 600px) { .plp-nav { grid-template-columns: 1fr; } }

/* ================================================================ gallery */
.plg-hero { text-align: center; padding: clamp(40px, 7vw, 96px) 0 clamp(24px, 4vw, 48px); overflow: clip; }
.plg-hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 12em; margin: 0 auto; }
:lang(zh) .plg-hero h1 { line-height: 1.15; }
.plg-hero .lede { margin: 22px auto 0; max-width: 34em; }
.plg-hero .actions { justify-content: center; margin-top: 30px; }
.plg-count-big { font-variant-numeric: tabular-nums; background: linear-gradient(120deg, #2d7ff9, #b45ae6 40%, #ff5f2c 70%, #32ade6); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* A wall of tiles that drifts sideways, row by row (also on the Pop page). */
.plm { position: relative; display: grid; gap: 14px; padding: 8px 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.plm-row { display: flex; gap: 12px; width: max-content; }
.plm-row a {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 16px; color: var(--text);
  background: var(--glass); border: 1px solid var(--stroke); box-shadow: var(--shadow), inset 0 1px 0 var(--rim);
  font-size: 14.5px; font-weight: 550; white-space: nowrap;
  transition: transform 0.4s var(--ease-out), background-color 0.3s var(--ease);
}
.plm-row a:hover { text-decoration: none; transform: translateY(-3px); background: var(--glass-strong); }
@media (prefers-reduced-motion: no-preference) {
  @keyframes plm-l { to { transform: translate3d(-50%, 0, 0); } }
  @keyframes plm-r { from { transform: translate3d(-50%, 0, 0); } to { transform: none; } }
  .plm-row { animation: plm-l var(--dur, 90s) linear infinite; }
  .plm-row:nth-child(even) { animation-name: plm-r; }
  .plm:hover .plm-row, .plm:focus-within .plm-row { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) {
  .plm { mask-image: none; -webkit-mask-image: none; }
  .plm-row { width: auto; flex-wrap: wrap; justify-content: center; }
  .plm-row [aria-hidden="true"] { display: none; }
}

.plg-how { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .plg-how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plg-how { grid-template-columns: 1fr; } }
.plg-how .tile { min-height: 0; justify-content: flex-start; gap: 6px; }
.plg-how .tile svg { width: 26px; height: 26px; color: var(--app-ink); margin-bottom: 14px; }

.plg-ctl { position: sticky; top: 52px; z-index: 30; padding: 12px 0; margin-bottom: 8px;
  background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); }
.plg-ctl[hidden] { display: none; }
.plg-ctl .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.plg-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.plg-chip {
  appearance: none; font: inherit; font-size: 14px; font-weight: 550; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px;
  color: var(--text); background: var(--glass); border: 1px solid var(--stroke-strong);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.plg-chip i { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(145deg, var(--c1), var(--c2)); }
.plg-chip:hover { background: var(--glass-strong); }
.plg-chip[aria-pressed="true"] { background: var(--btn-bg); color: var(--btn-text); border-color: transparent; }
.plg-chip span { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.plg-chip[aria-pressed="true"] span { color: inherit; opacity: 0.7; }
.plg-search { position: relative; margin-left: auto; flex: 1 1 220px; max-width: 320px; }
.plg-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--text-3); pointer-events: none; }
.plg-q {
  width: 100%; height: 38px; padding: 0 14px 0 36px; border-radius: 999px; font: inherit; font-size: 15px; color: var(--text);
  background: var(--glass-strong); border: 1px solid var(--stroke-strong); outline: none;
}
.plg-q:focus { border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
.plg-count { font-size: 13.5px; color: var(--text-3); }
@media (max-width: 700px) { .plg-search { max-width: none; margin-left: 0; } .plg-ctl { top: 52px; } }

.plg-group { padding: clamp(28px, 4vw, 48px) 0 8px; scroll-margin-top: 130px; }
.plg-group[hidden] { display: none; }
.plg-gh { display: flex; align-items: flex-end; gap: 18px; margin-bottom: 22px; }
.plg-gh .ptile { --s: 52px; }
.plg-gh h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.plg-gh p { color: var(--text-2); font-size: 15.5px; margin-top: 6px; max-width: 46em; }
.plg-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .plg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plg-grid { grid-template-columns: 1fr; } }
.plg-card {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start;
  padding: 18px 18px 18px 16px; border-radius: var(--radius); color: var(--text); overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease), background-color 0.3s var(--ease);
}
.plg-card[hidden] { display: none; }
.plg-card::after {
  content: ""; position: absolute; z-index: -1; width: 180px; height: 180px; left: -60px; top: -80px; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c1) 20%, transparent), transparent); opacity: 0.7; transition: opacity 0.4s var(--ease);
}
.plg-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-lg), inset 0 1px 0 var(--rim); background: var(--glass-strong); }
.plg-card:hover::after { opacity: 1; }
.plg-card h3 { font-size: 1.08rem; letter-spacing: -0.01em; line-height: 1.3; }
.plg-card p { margin-top: 5px; font-size: 14px; line-height: 1.45; color: var(--text-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.plg-card .go { position: absolute; right: 16px; top: 18px; width: 16px; height: 16px; color: var(--text-3); opacity: 0; transform: translateX(-4px); transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out); }
.plg-card:hover .go { opacity: 1; transform: none; }
.plg-card:hover .ptile { transform: scale(1.06) rotate(-3deg); }
.plg-card .ptile { transition: transform 0.5s var(--ease-out); }
.plg-empty { text-align: center; color: var(--text-3); padding: 40px 0; }
.plg-empty[hidden] { display: none; }
:lang(zh) .plg-card h3 { letter-spacing: 0; }

/* On the Pop page: the plugins section */
.pop-plugins .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.pop-plugins .actions { justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.pop-plugins-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.pop-plugins-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--stroke); color: var(--text); font-size: 14px; font-weight: 550; }
.pop-plugins-cats a:hover { text-decoration: none; background: var(--glass-strong); }
.pop-plugins-cats i { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(145deg, var(--c1), var(--c2)); }
.pop-plugins-cats span { color: var(--text-3); font-size: 12.5px; font-variant-numeric: tabular-nums; }

/* ================================================================ the animated how-to */
.pla { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; width: 100%; }
.pla-bar { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; }
.pla-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px; font-size: 12.5px; line-height: 1.4;
  color: var(--text-3); border: 1px solid var(--stroke); border-radius: 999px;
}
.pla-dot { width: 6px; height: 6px; border-radius: 50%; background: #30c05a; flex: none; }
.pla-play {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--stroke-strong); background: var(--glass-strong); color: var(--text);
}
.pla-play[hidden] { display: none; }
.pla-play svg { width: 12px; height: 12px; }
.pla-play:hover { background: var(--bg); }
.pla-nojs { width: 100%; }

.pl-stage {
  position: relative; width: 100%; height: 460px; border-radius: 18px; overflow: hidden; isolation: isolate;
  background: var(--pl-desk); box-shadow: inset 0 0 0 1px var(--stroke), var(--shadow-lg);
  font: 13px/1.35 var(--pl-font); color: var(--pl-l1); text-align: left; letter-spacing: 0;
  -webkit-user-select: none; user-select: none; pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.pl-stage.is-tall { height: 520px; }
.pl-stage.is-out { opacity: 0; }
.pl-stage.is-ff, .pl-stage.is-ff * { transition: none !important; }
.pl-stage.is-paused * { animation-play-state: paused !important; }
@media (max-width: 520px) { .pl-stage { height: 480px; } .pl-stage.is-tall { height: 540px; } }

/* menu bar */
.pl-mb {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3; height: 24px;
  display: flex; align-items: center; gap: 1px; padding: 0 8px;
  background: var(--pl-mb); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  color: var(--pl-mb-ink); font: 500 12.5px/1 var(--pl-font); white-space: nowrap;
}
.pl-mb-i { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 4px; }
.pl-mb-app { font-weight: 700; }
.pl-mb-fill { flex: 1; }
.pl-mb-x { display: flex; align-items: center; }
.pl-mb-icon img { width: 16px; height: 16px; border-radius: 4px; display: block; }
.pl-mb-extra svg { width: 15px; height: 15px; }
.pl-mb-extra { animation: pl-pop 0.5s cubic-bezier(0.3, 1.4, 0.5, 1); }
.pl-mb-extra.is-rec { background: var(--pl-red); color: #fff; font-variant-numeric: tabular-nums; }
.pl-mb-extra.is-rec em { font-style: normal; }
.pl-recdot { width: 8px; height: 8px; border-radius: 2px; background: currentColor; display: inline-block; }
@media (max-width: 520px) { .pl-mb > .pl-mb-i:nth-child(n+3):nth-child(-n+5) { display: none; } .pl-mb-clock { display: none !important; } }
@keyframes pl-pop { from { transform: scale(0.4); opacity: 0; } }

/* windows */
.pl-win {
  position: absolute; left: 22px; right: 22px; top: 40px; bottom: 22px; z-index: 1;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--pl-win); border-radius: 12px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.22), 0 14px 34px -10px rgba(20, 25, 40, 0.35), 0 3px 10px -3px rgba(20, 25, 40, 0.18);
  transition: left 0.6s cubic-bezier(0.3, 1.1, 0.4, 1), right 0.6s cubic-bezier(0.3, 1.1, 0.4, 1), top 0.6s cubic-bezier(0.3, 1.1, 0.4, 1), bottom 0.6s cubic-bezier(0.3, 1.1, 0.4, 1);
}
@media (min-width: 760px) { .pl-win { left: 40px; right: 40px; } }
.pl-win[data-at="left"] { left: 4px; right: 50.4%; top: 28px; bottom: 4px; }
.pl-win[data-at="right"] { left: 50.4%; right: 4px; top: 28px; bottom: 4px; }
.pl-win[data-at="max"] { left: 4px; right: 4px; top: 28px; bottom: 4px; }
.pl-win[data-at="center"] { left: 18%; right: 18%; top: 70px; bottom: 50px; }
.pl-win[data-at="third"] { left: 4px; right: 66.8%; top: 28px; bottom: 4px; }
.pl-tb {
  flex: none; height: 28px; display: flex; align-items: center; gap: 8px; padding: 0 12px;
  background: var(--pl-bar); border-bottom: 1px solid var(--pl-sep);
  font-size: 12px; font-weight: 600; color: var(--pl-l2);
}
.pl-tb > i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; flex: none; }
.pl-tb > i:nth-child(2) { background: #febc2e; }
.pl-tb > i:nth-child(3) { background: #28c840; }
.pl-tb > span:last-child { flex: 1; text-align: center; margin-right: 52px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-nav { display: inline-flex; gap: 2px; margin-left: 6px; color: var(--pl-l3); }
.pl-nav svg { width: 14px; height: 14px; }
.pl-url { flex: 1; max-width: 60%; margin: 0 auto; padding: 3px 10px; border-radius: 6px; background: var(--pl-fill); font-weight: 500; color: var(--pl-l1); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-web .pl-tb > span:last-child { display: none; }

.pl-doc { flex: 1; min-height: 0; overflow: hidden; padding: 14px 20px; font-size: 13.5px; line-height: 1.6; }
.pl-doc h4, .pl-page h4 { margin: 0 0 8px; font-size: 16px; font-weight: 700; letter-spacing: 0; }
.pl-doc p, .pl-page p { margin: 0 0 7px; overflow-wrap: anywhere; }
.pl-doc .pl-gap { height: 6px; }
.pl-doc.is-mono { font: 12.5px/1.6 var(--pl-mono); white-space: pre-wrap; }
.pl-doc.is-mono p { margin: 0; white-space: pre-wrap; }
.pl-doc code, .pl-page code { font: 12px var(--pl-mono); background: var(--pl-fill); border-radius: 4px; padding: 0 3px; }
.pl-ph { display: block; height: 10px; border-radius: 5px; background: var(--pl-fill); margin: 8px 0 12px; }
.pl-quiet { opacity: 0.94; }
.pl-sel {
  border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--pl-selbg), var(--pl-selbg)) no-repeat 0 0 / var(--p, 0%) 100%;
}
.pl-tgt { border-radius: 3px; }
.pl-page { flex: 1; min-height: 0; overflow: hidden; padding: 18px 26px; font-size: 13.5px; line-height: 1.6; }
.pl-page h4 { font-size: 19px; }
.pl-pic { height: 120px; margin: 10px 0 12px; border-radius: 10px; overflow: hidden; }
.pl-pic .pl-art { width: 100%; height: 100%; }

/* Finder */
.pl-fbody { flex: 1; min-height: 0; display: flex; }
.pl-side { flex: none; width: 128px; padding: 10px 8px; background: var(--pl-side); border-right: 1px solid var(--pl-sep); display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.pl-side em { font-style: normal; font-size: 10.5px; font-weight: 600; color: var(--pl-l3); padding: 2px 8px 4px; }
.pl-side span { padding: 3px 8px; border-radius: 6px; }
.pl-side span.is-on { background: var(--pl-fill-2); }
@media (max-width: 600px) { .pl-side { display: none; } }
.pl-grid { flex: 1; min-width: 0; padding: 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); grid-auto-rows: max-content; gap: 10px 6px; align-content: start; }
.pl-grid.is-dense { grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); }
.pl-file { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; }
.pl-file .pl-fi { width: 56px; height: 56px; }
.pl-file > .pl-fi { padding: 3px; box-sizing: content-box; border-radius: 8px; }
.pl-fn { max-width: 100%; padding: 1px 5px; border-radius: 4px; font-size: 11px; line-height: 1.3; text-align: center; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-file.is-sel > .pl-fi { background: var(--pl-fill-2); }
.pl-file.is-sel .pl-fn { background: var(--pl-accent); color: #fff; }
.pl-file.is-new { animation: pl-new 0.7s cubic-bezier(0.3, 1.4, 0.5, 1); }
@keyframes pl-new { from { transform: scale(0.3); opacity: 0; } }

/* file icons */
.pl-fi { position: relative; display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; }
.pl-fi-folder i { width: 92%; height: 70%; margin-top: 12%; border-radius: 4px 4px 5px 5px; position: relative;
  background: linear-gradient(180deg, #8fd0ff, #3fa2ec); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.pl-fi-folder i::before { content: ""; position: absolute; left: 0; top: -12%; width: 42%; height: 20%; border-radius: 3px 3px 0 0; background: #5db4f0; }
.pl-fi-doc { width: 76%; height: 96%; margin: 0 auto; border-radius: 3px; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25), 0 1px 3px rgba(0, 0, 0, 0.12); align-content: end; }
.pl-fi-doc::before { content: ""; position: absolute; right: 0; top: 0; width: 26%; height: 20%; background: linear-gradient(225deg, var(--pl-win) 50%, #e3e3e8 50%); }
.pl-fi-doc em { font-style: normal; font: 700 8px/1 var(--pl-font); color: #fff; background: var(--t); border-radius: 2px; padding: 2px 3px; margin-bottom: 18%; letter-spacing: 0.02em; }
.pl-fi-doc .ln { position: absolute; left: 18%; right: 18%; top: 28%; height: 32%;
  background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0 1.5px, transparent 1.5px 4px); }
.pl-fi-doc .wv { position: absolute; left: 18%; right: 18%; top: 26%; height: 30%;
  background: radial-gradient(circle at 30% 60%, var(--t) 0 22%, transparent 23%), linear-gradient(var(--t), var(--t)) 46% 10% / 2px 54% no-repeat; }
.pl-fi-font i { font: 600 14px/1 Georgia, serif; font-style: normal; color: #333; position: absolute; top: 24%; }
.pl-fi-zip .zp { position: absolute; left: 44%; top: 4%; width: 12%; height: 52%; background: repeating-linear-gradient(180deg, #8e8e93 0 2px, #d1d1d6 2px 4px); }
.pl-fi-app { border-radius: 23%; width: 90%; height: 90%; background: linear-gradient(145deg, var(--a1), var(--a2)); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 5px rgba(0, 0, 0, 0.2); }
.pl-fi-app svg { width: 58%; height: 58%; }
.pl-fi-photo, .pl-fi-video { width: 100%; height: 74%; border: 2px solid #fff; border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3); overflow: hidden; }
.pl-fi-photo .pl-art, .pl-fi-video .pl-art { width: 100%; height: 100%; }
.pl-fi-video b { position: absolute; width: 0; height: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)); }
.pl-fi-video::before, .pl-fi-video::after { content: ""; position: absolute; left: 0; right: 0; height: 5px; background: repeating-linear-gradient(90deg, #111 0 3px, #eee 3px 6px); opacity: 0.85; }
.pl-fi-video::before { top: 0; } .pl-fi-video::after { bottom: 0; }

/* image viewer */
.pl-vbody { flex: 1; display: grid; place-items: center; padding: 16px; background: var(--pl-bar); }
.pl-shot { position: relative; width: min(84%, 440px); aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
.pl-shot .pl-art { width: 100%; height: 100%; }
.pl-shot.is-sel { outline: 3px solid var(--pl-accent); outline-offset: 2px; }
.pl-shot-o { position: absolute; inset: 0; }

/* layer, pointer */
.pl-layer { position: absolute; inset: 0; z-index: 4; }
.pl-cur { position: absolute; left: 0; top: 0; z-index: 9; width: 0; height: 0; will-change: transform; }
.pl-cur svg { position: absolute; }
.pl-arrow { left: -6px; top: -3px; width: 24px; height: 24px; fill: #111; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, 0.35)); transform-origin: 6px 3px; transition: transform 0.12s ease-out; }
.pl-ibeam, .pl-cross { left: -12px; top: -12px; width: 24px; height: 24px; fill: none; stroke: #111; stroke-width: 1.6; stroke-linecap: round; display: none; filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }
.pl-cur[data-shape="ibeam"] .pl-arrow, .pl-cur[data-shape="cross"] .pl-arrow { display: none; }
.pl-cur[data-shape="ibeam"] .pl-ibeam, .pl-cur[data-shape="cross"] .pl-cross { display: block; }
.pl-cur.is-down .pl-arrow, .pl-cur.is-rdown .pl-arrow { transform: scale(0.86); }
.pl-press { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; opacity: 0; transition: opacity 0.2s ease-out; }
.pl-press svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pl-press circle { fill: color-mix(in srgb, var(--pl-accent) 14%, transparent); stroke: var(--pl-accent); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pl-press circle { stroke-dasharray: 100.6; }
.pl-cur.is-hold .pl-press { opacity: 1; }
.pl-kbd { position: absolute; left: 16px; top: 18px; padding: 2px 7px; border-radius: 6px; font: 600 12px/1.3 var(--pl-font); color: var(--pl-l1);
  background: var(--pl-menu); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.18); opacity: 0; transform: scale(0.8); transition: opacity 0.15s, transform 0.2s; white-space: nowrap; }
.pl-cur.has-key .pl-kbd { opacity: 1; transform: none; }
.pl-cur.has-halo::before { content: ""; position: absolute; left: -30px; top: -30px; width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 214, 10, 0.45), rgba(255, 214, 10, 0.28) 70%, transparent); box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.7); }
.pl-ripple { position: absolute; z-index: 8; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--pl-accent); animation: pl-ripple 0.6s ease-out forwards; pointer-events: none; }
@keyframes pl-ripple { from { transform: scale(0.2); opacity: 0.9; } to { transform: scale(1.3); opacity: 0; } }

/* glass */
.pl-disc, .pl-card, .pl-toast, .pl-notice, .pl-tele, .pl-recbar, .pl-lock, .pl-banner { background: var(--pl-glass); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: var(--pl-glass-shadow); }

/* the ring */
.pl-ring { position: absolute; width: 248px; height: 248px; margin: -124px 0 0 -124px; z-index: 2; }
.pl-disc { position: absolute; inset: 0; border-radius: 50%; transform: scale(0.3); opacity: 0; transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.2s ease-out; }
.pl-ring.is-shown .pl-disc { transform: none; opacity: 1; }
.pl-hl { position: absolute; inset: 0; opacity: 0; transition: transform 0.24s cubic-bezier(0.3, 1.25, 0.55, 1), opacity 0.12s ease-out; }
.pl-ring.has-hover .pl-hl { opacity: 1; }
.pl-hl-dot { position: absolute; left: 50%; transform: translateX(-50%); border-radius: 50%; background: var(--pl-accent-22); box-shadow: inset 0 0 0 1px var(--pl-accent-40); }
.pl-ring.is-committed .pl-hl-dot { background: var(--pl-accent-40); }
.pl-slot { position: absolute; left: 50%; top: 50%; width: 66px; height: 48px; margin: -24px 0 0 -33px; display: flex; align-items: center; justify-content: center;
  transform: translate(calc(var(--x) * 0.12), calc(var(--y) * 0.12)) scale(0.55); opacity: 0;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1) calc(var(--i) * 20ms), opacity 0.2s ease-out calc(var(--i) * 20ms); }
.pl-ring.is-shown .pl-slot { transform: translate(var(--x), var(--y)); opacity: 1; }
.pl-slot-in { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--pl-l1); max-width: 66px; transition: transform 0.24s cubic-bezier(0.3, 1.35, 0.55, 1), color 0.12s ease-out, opacity 0.22s; }
.pl-slot-in svg { width: 22px; height: 22px; flex: none; }
.pl-slot-in span { font-size: 10.5px; line-height: 1.25; white-space: nowrap; max-width: 66px; overflow: hidden; text-overflow: ellipsis; }
.pl-slot.is-active .pl-slot-in { color: var(--pl-accent); transform: scale(1.12); }
.pl-slot.is-active .pl-slot-in span { font-weight: 600; }
.pl-slot.is-commit .pl-slot-in { transform: scale(1.22); }
.pl-ring.is-committed .pl-slot:not(.is-commit) .pl-slot-in { opacity: 0.35; }
.pl-hub { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  background: var(--pl-hub); box-shadow: inset 0 0 0 1px var(--pl-hub-edge); display: flex; align-items: center; justify-content: center;
  transform: scale(0.5); opacity: 0; transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.25, 1) 0.04s, opacity 0.2s ease-out 0.04s; }
.pl-ring.is-shown .pl-hub { transform: none; opacity: 1; }
.pl-center { width: 62px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.pl-center span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.pl-c-content { font-size: 10px; font-weight: 500; line-height: 1.25; color: var(--pl-l2); }
.pl-c-fn { font-size: 11px; font-weight: 600; line-height: 1.2; color: var(--pl-accent); }
.pl-c-fn:empty { display: none !important; }
.pl-ring.is-leaving .pl-disc { transform: scale(1.05); opacity: 0; transition: transform 0.17s ease-in, opacity 0.17s ease-in; }
.pl-ring.is-leaving .pl-slot { transform: translate(calc(var(--x) * 1.1), calc(var(--y) * 1.1)); opacity: 0; transition: transform 0.17s ease-in, opacity 0.17s ease-in; }
.pl-ring.is-leaving .pl-hub, .pl-ring.is-leaving .pl-hl { opacity: 0; transition: opacity 0.17s ease-in; }

/* cards */
.pl-card {
  position: absolute; z-index: 3; box-sizing: border-box;
  width: min(var(--w, 380px), calc(100% - 16px)); max-height: calc(100% - 40px); overflow: hidden;
  padding: 16px; border-radius: 20px; display: flex; flex-direction: column; gap: 10px;
  font-size: 13px; line-height: 1.35;
  transition: transform 0.34s cubic-bezier(0.3, 1.2, 0.5, 1), opacity 0.2s ease-out;
}
.pl-card.is-entering { transform: scale(0.92); opacity: 0; transition: none; }
.pl-card.is-leaving { transform: scale(0.97); opacity: 0; transition: transform 0.17s ease-in, opacity 0.17s ease-in; }
.pl-card > * { flex: none; min-width: 0; }
.pl-head { display: flex; align-items: center; gap: 6px; min-width: 0; }
.pl-hi { width: 16px; height: 16px; flex: none; color: var(--pl-accent); display: inline-flex; }
.pl-hi svg { width: 16px; height: 16px; }
.pl-head h5 { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.3; letter-spacing: 0; white-space: nowrap; color: var(--pl-l1); }
.pl-sub { min-width: 0; font-size: 10px; color: var(--pl-l2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-x { margin-left: auto; flex: none; width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; color: var(--pl-l2); }
.pl-x svg { width: 15px; height: 15px; }
.pl-b { min-width: 0; transition: opacity 0.3s ease-out, transform 0.35s cubic-bezier(0.3, 1.2, 0.5, 1); }
.pl-b.is-hidden { display: none; }
.pl-b > p { margin: 0; overflow-wrap: anywhere; }
.pl-b-text p { font-size: 13px; line-height: 1.45; white-space: pre-wrap; }
.pl-sz-s { font-size: 12px !important; }
.pl-sz-l { font-size: 16px !important; font-weight: 600; }
.pl-sz-xl { font-size: 22px !important; font-weight: 700; letter-spacing: -0.01em; }
.pl-mono { font-family: var(--pl-mono) !important; font-size: 12px; }
.pl-muted { color: var(--pl-l2); }
.pl-note { margin: 0; font-size: 11.5px; color: var(--pl-l2); line-height: 1.4; }
.pl-card mark { color: inherit; background: var(--pl-mark); border-radius: 2px; padding: 0 1px; }
.pl-card ins { text-decoration: none; background: var(--pl-ins); border-radius: 2px; }
.pl-card del { text-decoration: line-through; text-decoration-color: var(--pl-red); background: var(--pl-del); border-radius: 2px; }
.pl-card code { font: 11.5px var(--pl-mono); background: var(--pl-fill); border-radius: 3px; padding: 0 3px; }
.pl-card hr { border: 0; border-top: 1px solid var(--pl-sep); margin: 0; }
.pl-lab { font-size: 11px; color: var(--pl-l2); white-space: nowrap; }

.pl-flow { display: flex; flex-wrap: wrap; gap: 7px; }
.pl-btn { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 6px; background: var(--pl-btn); color: var(--pl-l1); font-size: 11.5px; font-weight: 500; white-space: nowrap; transition: background-color 0.12s, transform 0.15s; }
.pl-btn.is-tint { background: var(--pl-accent-22); color: var(--pl-accent); }
.pl-btn.is-press, .pl-opt.is-press { transform: scale(0.94); filter: brightness(0.92); }
.pl-btn.is-hover { background: var(--pl-fill-2); }

.pl-seg-row { display: flex; align-items: center; gap: 8px; }
.pl-seg { display: inline-flex; padding: 1px; border-radius: 7px; background: var(--pl-fill); flex: none; max-width: 100%; overflow: hidden; }
.pl-seg .pl-opt { height: 20px; min-width: 40px; padding: 0 9px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 500; white-space: nowrap; transition: background-color 0.18s, color 0.18s; }
.pl-seg .pl-opt.is-on { background: var(--pl-accent); color: #fff; }
.pl-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.pl-chips .pl-opt { height: 22px; padding: 0 9px; border-radius: 11px; display: inline-flex; align-items: center; font-size: 11px; background: var(--pl-fill); transition: background-color 0.18s, color 0.18s; }
.pl-chips .pl-opt.is-on { background: var(--pl-accent-22); color: var(--pl-accent); font-weight: 600; }

.pl-panes { display: grid; }
.pl-pane { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; opacity: 0; visibility: hidden; transition: opacity 0.25s ease-out, visibility 0s 0.25s; }
.pl-pane.is-on { opacity: 1; visibility: visible; transition: opacity 0.3s ease-out 0.05s; }

.pl-rows { display: flex; flex-direction: column; gap: 5px; }
.pl-row { display: flex; align-items: baseline; gap: 8px; border-radius: 5px; transition: background-color 0.2s; }
.pl-row-l { flex: 0 0 84px; font-size: 10.5px; color: var(--pl-l2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-row-v { flex: 1; min-width: 0; font-size: 12.5px; overflow-wrap: anywhere; }
.pl-row-v.pl-mono { font-size: 12px; }
.pl-row.is-warn .pl-row-v { color: var(--pl-orange); }
.pl-row.is-ok .pl-row-v { color: var(--pl-green); }
.pl-row.is-hl { background: var(--pl-accent-12); }
.pl-ib { align-self: center; flex: none; width: 20px; height: 18px; display: inline-flex; align-items: center; justify-content: center; opacity: 0.6; }
.pl-ib svg { width: 14px; height: 14px; }

.pl-code { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--pl-code); color: #e6e8ef; font: 11.5px/1.5 var(--pl-mono); white-space: pre; overflow: hidden; tab-size: 2; }
.pl-code .k { color: #ff7ab2; } .pl-code .s { color: #ff8170; } .pl-code .n { color: #d9c97c; } .pl-code .c { color: #7f8c98; font-style: italic; }

.pl-list { display: flex; flex-direction: column; gap: 2px; }
.pl-li { display: flex; align-items: center; gap: 9px; padding: 5px 7px; border-radius: 8px; min-width: 0; transition: background-color 0.18s, opacity 0.3s; }
.pl-li.is-on { background: var(--pl-accent-22); }
.pl-li.is-hidden { display: none; }
.pl-li.is-gone { opacity: 0; }
.pl-li-ic { width: 22px; flex: none; display: grid; place-items: center; font-size: 16px; color: var(--pl-l2); }
.pl-li-ic svg { width: 17px; height: 17px; }
.pl-li .pl-fi { width: 26px; height: 26px; }
.pl-li-sw { width: 18px; height: 18px; border-radius: 5px; flex: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.pl-li-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pl-li-t > span { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-li-t small { font-size: 10.5px; color: var(--pl-l2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-li-r { flex: none; font-size: 11px; color: var(--pl-l2); font-variant-numeric: tabular-nums; }
.pl-li.is-warn .pl-li-r { color: var(--pl-orange); }
.pl-list.is-dense .pl-li { padding: 3px 6px; }
.pl-chk { width: 15px; height: 15px; flex: none; border-radius: 4px; box-shadow: inset 0 0 0 1.2px var(--pl-l3); display: grid; place-items: center; color: transparent; background: var(--pl-field); transition: background-color 0.15s, color 0.15s; }
.pl-chk svg { width: 11px; height: 11px; }
.pl-chk.is-on { background: var(--pl-accent); box-shadow: none; color: #fff; }

.pl-diff { display: flex; flex-direction: column; border-radius: 8px; overflow: hidden; font: 11.5px/1.55 var(--pl-mono); background: var(--pl-fill); }
.pl-dl { display: flex; gap: 6px; padding: 0 8px; }
.pl-dl i { flex: none; width: 10px; font-style: normal; color: var(--pl-l2); }
.pl-dl span { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.pl-dl.is-add { background: var(--pl-ins); }
.pl-dl.is-del { background: var(--pl-del); }
.pl-dl.is-add i { color: var(--pl-green); } .pl-dl.is-del i { color: var(--pl-red); }

.pl-tablewrap { border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 0.5px var(--pl-sep); }
.pl-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 11.5px; }
.pl-table th, .pl-table td { padding: 4px 8px; border-bottom: 1px solid var(--pl-sep); text-align: left; white-space: nowrap; background: none; width: auto; color: var(--pl-l1); }
.pl-table th { font-size: 10.5px; font-weight: 600; background: var(--pl-fill); }
.pl-table tr:last-child td { border-bottom: 0; }

.pl-ch-t { margin: 0 0 2px; font-size: 12px; font-weight: 650; text-align: center; }
.pl-bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding: 0 2px; }
.pl-bc { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column-reverse; align-items: center; gap: 4px; }
.pl-bl { font-size: 10px; color: var(--pl-l2); white-space: nowrap; }
.pl-bt { flex: 1; width: 100%; max-width: 34px; display: flex; align-items: flex-end; }
.pl-bt i { display: block; width: 100%; height: calc(var(--v) * 100%); border-radius: 4px 4px 1px 1px; transform-origin: bottom; }
.pl-bv { font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; order: -1; }
.pl-bars .pl-bv { order: 0; }
.pl-bc { flex-direction: column; justify-content: flex-end; }
.pl-bc .pl-bl { order: 3; }
.pl-bars.is-h { flex-direction: column; align-items: stretch; height: auto; gap: 6px; }
.pl-bars.is-h .pl-bc { flex-direction: row; height: 18px; gap: 8px; }
.pl-bars.is-h .pl-bl { order: 0; width: 64px; text-align: right; flex: none; overflow: hidden; text-overflow: ellipsis; }
.pl-bars.is-h .pl-bt { max-width: none; height: 100%; align-items: stretch; }
.pl-bars.is-h .pl-bt i { height: 100%; width: calc(var(--v) * 100%); border-radius: 1px 4px 4px 1px; transform-origin: left; }
.pl-bars.is-h .pl-bv { order: 2; width: 40px; }
.pl-line { width: 100%; height: 120px; display: block; overflow: visible; }
.pl-line .l { fill: none; stroke: var(--pl-accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; }
.pl-line .a { fill: var(--pl-accent-12); }
.pl-line circle { fill: var(--pl-win); stroke: var(--pl-accent); stroke-width: 2; }
.pl-axis { display: flex; justify-content: space-between; font-size: 10px; color: var(--pl-l2); padding: 0 4px; }
.pl-pie { display: flex; align-items: center; gap: 16px; }
.pl-pie > i { width: 110px; height: 110px; border-radius: 50%; flex: none; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12); }
.pl-pie ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 11.5px; }
.pl-pie li { display: flex; align-items: center; gap: 6px; }
.pl-pie li b { width: 9px; height: 9px; border-radius: 3px; }
.pl-pie li span { margin-left: auto; padding-left: 10px; color: var(--pl-l2); font-variant-numeric: tabular-nums; }

.pl-sws { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.pl-sw { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pl-sw i { height: 38px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); }
.pl-sw b { font: 600 10.5px var(--pl-mono); }
.pl-sw small { font-size: 9.5px; color: var(--pl-l2); }

.pl-cells { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 2px; }
.pl-cell { aspect-ratio: 1; display: grid; place-items: center; font-size: 20px; border-radius: 6px; transition: background-color 0.15s, transform 0.2s; }
.pl-cell.is-on { background: var(--pl-accent-22); transform: scale(1.08); }

.pl-qrwrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pl-qr { width: 150px; height: 150px; border-radius: 8px; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2); }
.pl-qrwrap.is-small .pl-qr { width: 96px; height: 96px; }
.pl-qrwrap span { font-size: 11px; color: var(--pl-l2); }
.pl-barcode { width: 220px; height: 64px; border-radius: 6px; }

.pl-prog { display: flex; flex-direction: column; gap: 5px; }
.pl-prog-h { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; }
.pl-prog-r { color: var(--pl-l2); font-variant-numeric: tabular-nums; }
.pl-track { height: 6px; border-radius: 3px; background: var(--pl-fill-2); overflow: hidden; }
.pl-track i { display: block; height: 100%; width: calc(var(--v) * 100%); border-radius: 3px; background: var(--pl-accent); }

.pl-stats { display: flex; gap: 8px; }
.pl-stat { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 12px; background: var(--pl-fill); display: flex; flex-direction: column; gap: 1px; }
.pl-stat strong { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; white-space: nowrap; }
.pl-stat em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--pl-l2); }
.pl-stat span { font-size: 10.5px; color: var(--pl-l2); }

.pl-big { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; text-align: center; }
.pl-big strong { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.15; }
.pl-big span { font-size: 11.5px; color: var(--pl-l2); }

.pl-dial { position: relative; width: 132px; height: 132px; margin: 0 auto; display: grid; place-items: center; }
.pl-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.pl-dial circle { fill: none; stroke-width: 8; }
.pl-dial .tr { stroke: var(--pl-fill-2); }
.pl-dial .v { stroke: var(--pl-accent); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pl-dial > div { display: flex; flex-direction: column; align-items: center; }
.pl-dial strong { font-size: 26px; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pl-dial span { font-size: 11px; color: var(--pl-l2); }
.pl-dial.is-sm { width: 84px; height: 84px; }
.pl-dial.is-sm strong { font-size: 20px; }

.pl-thumbs { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px; }
.pl-th { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1); transition: opacity 0.25s, transform 0.3s; }
.pl-th .pl-art { width: 100%; height: 100%; }
.pl-th .pl-chk { position: absolute; right: 4px; top: 4px; }
.pl-th em { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px; font-style: normal; font-size: 9.5px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-th.is-chk { opacity: 0.55; }
.pl-th.is-best { box-shadow: 0 0 0 2px var(--pl-green); }
.pl-th.is-gone { opacity: 0; transform: scale(0.8); }

.pl-field { position: relative; display: flex; align-items: center; min-height: 24px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--pl-field-edge); background: var(--pl-field); font-size: 12.5px; overflow: hidden; }
.pl-fv { white-space: pre-wrap; overflow-wrap: anywhere; }
.pl-caret { display: none; width: 1.5px; height: 14px; background: var(--pl-accent); margin-left: 1px; flex: none; }
.pl-b.is-focus .pl-field { border-color: var(--pl-accent); box-shadow: 0 0 0 3px var(--pl-accent-40); }
.pl-b.is-focus .pl-caret { display: block; animation: pl-blink 1s steps(2) infinite; }
.pl-ph2 { color: var(--pl-l3); position: absolute; left: 8px; }
.pl-fv:not(:empty) ~ .pl-ph2 { display: none; }
@keyframes pl-blink { 50% { opacity: 0; } }
.pl-b-field { display: flex; flex-direction: column; gap: 4px; }

.pl-slider { display: flex; align-items: center; gap: 8px; }
.pl-sl { flex: 1; height: 4px; border-radius: 2px; background: var(--pl-fill-2); position: relative; }
.pl-sl i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v) * 100%); border-radius: 2px; background: var(--pl-accent); transition: width 0.5s; }
.pl-sl i::after { content: ""; position: absolute; right: -8px; top: -6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.3); }
.pl-sl-v { font-size: 11px; color: var(--pl-l2); font-variant-numeric: tabular-nums; min-width: 30px; text-align: right; }

.pl-wave { display: flex; align-items: center; gap: 2px; height: 46px; }
.pl-wave i { flex: 1; height: calc(var(--h) * 100%); border-radius: 2px; background: var(--pl-accent); opacity: 0.85; }
.pl-wave.is-live i { animation: pl-wave 0.9s ease-in-out infinite alternate; }
.pl-wave.is-live i:nth-child(3n) { animation-delay: -0.3s; } .pl-wave.is-live i:nth-child(3n+1) { animation-delay: -0.6s; }
@keyframes pl-wave { from { transform: scaleY(0.35); } }

.pl-hours { position: relative; display: flex; flex-direction: column; gap: 6px; }
.pl-hr { display: grid; grid-template-columns: 96px 54px 1fr; align-items: center; gap: 8px; }
.pl-hr-c { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-hr-c small { display: block; font-size: 9.5px; font-weight: 400; color: var(--pl-l2); }
.pl-hr-t { font: 600 13px var(--pl-mono); font-variant-numeric: tabular-nums; }
.pl-hr-s { display: flex; height: 14px; border-radius: 4px; overflow: hidden; background: var(--pl-fill); }
.pl-hr-s i { flex: 1; }
.pl-hr-s i.w { background: color-mix(in srgb, var(--pl-green) 45%, transparent); }
.pl-hr-s i.n { background: color-mix(in srgb, #5e5ce6 30%, transparent); }
.pl-hr-m { position: absolute; top: -4px; bottom: -4px; left: calc(158px + (100% - 158px) * var(--at)); width: 2px; border-radius: 1px; background: var(--pl-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--pl-accent) 25%, transparent); transition: left 1.2s cubic-bezier(0.4, 0, 0.2, 1); }

/* blocks appear */
.pl-b.is-in { animation: pl-in 0.45s cubic-bezier(0.3, 1.2, 0.5, 1) backwards; }
.pl-b-chart.is-in .pl-bt i { animation: pl-grow 0.9s cubic-bezier(0.3, 1.1, 0.4, 1) backwards; }
.pl-b-chart.is-in .pl-bc:nth-child(2) i { animation-delay: 0.06s; } .pl-b-chart.is-in .pl-bc:nth-child(3) i { animation-delay: 0.12s; }
.pl-b-chart.is-in .pl-bc:nth-child(4) i { animation-delay: 0.18s; } .pl-b-chart.is-in .pl-bc:nth-child(5) i { animation-delay: 0.24s; }
.pl-b-chart.is-in .pl-bc:nth-child(n+6) i { animation-delay: 0.3s; }
.pl-bars:not(.is-h) .pl-bt i { animation-name: pl-growy; }
.pl-b-chart.is-in .pl-line .l { animation: pl-draw 1.2s ease-out backwards; }
.pl-b-chart.is-in .pl-pie > i { animation: pl-spin 0.9s cubic-bezier(0.3, 1.1, 0.4, 1) backwards; }
.pl-b-list.is-in .pl-li, .pl-b-rows.is-in .pl-row, .pl-b-diff.is-in .pl-dl, .pl-b-table.is-in tr, .pl-b-swatches.is-in .pl-sw, .pl-b-thumbs.is-in .pl-th, .pl-b-grid.is-in .pl-cell { animation: pl-in 0.4s cubic-bezier(0.3, 1.2, 0.5, 1) backwards; }
.pl-b.is-in :is(.pl-li, .pl-row, .pl-dl, tr, .pl-sw, .pl-th, .pl-cell):nth-child(2) { animation-delay: 0.05s; }
.pl-b.is-in :is(.pl-li, .pl-row, .pl-dl, tr, .pl-sw, .pl-th, .pl-cell):nth-child(3) { animation-delay: 0.1s; }
.pl-b.is-in :is(.pl-li, .pl-row, .pl-dl, tr, .pl-sw, .pl-th, .pl-cell):nth-child(4) { animation-delay: 0.15s; }
.pl-b.is-in :is(.pl-li, .pl-row, .pl-dl, tr, .pl-sw, .pl-th, .pl-cell):nth-child(5) { animation-delay: 0.2s; }
.pl-b.is-in :is(.pl-li, .pl-row, .pl-dl, tr, .pl-sw, .pl-th, .pl-cell):nth-child(6) { animation-delay: 0.25s; }
.pl-b.is-in :is(.pl-li, .pl-row, .pl-dl, tr, .pl-sw, .pl-th, .pl-cell):nth-child(n+7) { animation-delay: 0.3s; }
.pl-b-qr.is-in .pl-qr, .pl-b-barcode.is-in svg { animation: pl-qr 0.7s cubic-bezier(0.3, 1.3, 0.5, 1) backwards; }
.pl-b-img.is-in .pl-img { animation: pl-in 0.5s cubic-bezier(0.3, 1.2, 0.5, 1) backwards; }
@keyframes pl-in { from { opacity: 0; transform: translate3d(0, 8px, 0); } }
@keyframes pl-grow { from { transform: scaleX(0); } }
@keyframes pl-growy { from { transform: scaleY(0); } }
@keyframes pl-draw { from { stroke-dashoffset: 1; } }
@keyframes pl-spin { from { transform: rotate(-120deg) scale(0.6); opacity: 0; } }
@keyframes pl-qr { from { transform: scale(0.6) rotate(-6deg); opacity: 0; filter: blur(4px); } }

/* images in cards */
.pl-img { position: relative; width: 100%; aspect-ratio: var(--ar); height: var(--h, auto); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.15); isolation: isolate; }
.pl-img > .pl-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-img-o { position: absolute; inset: 0; z-index: 2; }
.pl-img.is-frame { padding: 9%; background: linear-gradient(135deg, #7a5af8, #ff6fb5 55%, #ffb36b); }
.pl-img.is-frame > .pl-art { position: relative; border-radius: 8px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); }
.pl-img.is-frame2 { padding: 9%; background: linear-gradient(135deg, #2bd2ff, #2b7bff 50%, #8f5bff); }
.pl-img.is-frame2 > .pl-art { position: relative; border-radius: 8px; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35); }
.pl-img.is-cutout { background: conic-gradient(#e9e9ee 25%, #fff 0 50%, #e9e9ee 0 75%, #fff 0) 0 0 / 14px 14px; }
.pl-img.is-cutout .pl-art { background: none !important; }
.pl-img.is-cutout .pl-art > i:not(.body):not(.head):not(.hair):not(.cup):not(.handle):not(.stem):not(.p1):not(.p2):not(.p3):not(.p4):not(.core) { display: none; }
.pl-img.is-blue .pl-art { background: #3a8ee6 !important; }
.pl-img.is-white .pl-art { background: #f6f6f6 !important; }
.pl-img.is-red .pl-art { background: #d93a3a !important; }
.pl-img.is-blue .pl-art > i:not(.body):not(.head):not(.hair), .pl-img.is-white .pl-art > i:not(.body):not(.head):not(.hair), .pl-img.is-red .pl-art > i:not(.body):not(.head):not(.hair) { display: none; }
.pl-img.is-grid3::after, .pl-img.is-grid2::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(90deg, transparent calc(33.33% - 1px), #fff calc(33.33% - 1px) calc(33.33% + 1px), transparent calc(33.33% + 1px) calc(66.66% - 1px), #fff calc(66.66% - 1px) calc(66.66% + 1px), transparent calc(66.66% + 1px)),
    linear-gradient(180deg, transparent calc(33.33% - 1px), #fff calc(33.33% - 1px) calc(33.33% + 1px), transparent calc(33.33% + 1px) calc(66.66% - 1px), #fff calc(66.66% - 1px) calc(66.66% + 1px), transparent calc(66.66% + 1px)); }
.pl-img.is-grid2::after { background: linear-gradient(90deg, transparent calc(50% - 1px), #fff calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)), linear-gradient(180deg, transparent calc(50% - 1px), #fff calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.pl-img.is-mosaic .pl-img-o > i { position: absolute; border-radius: 3px; background: repeating-conic-gradient(rgba(120, 120, 130, 0.95) 0 25%, rgba(170, 170, 180, 0.95) 0 50%) 0 0 / 8px 8px; }
.pl-img.is-round { border-radius: 23%; }
.pl-img.is-gray .pl-art { filter: grayscale(1); }
.pl-img.is-warm .pl-art { filter: saturate(1.3) sepia(0.25); }
.pl-wm { position: absolute; inset: -40%; z-index: 2; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 22px 30px; transform: rotate(-28deg); pointer-events: none; }
.pl-wm span { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.55); text-shadow: 0 0 2px rgba(0, 0, 0, 0.25); white-space: nowrap; }

/* toast, notifications */
.pl-toast { position: absolute; z-index: 6; padding: 9px 18px; border-radius: 999px; background: var(--pl-menu); font-size: 13px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(-50%, -50%) scale(0.9); transition: transform 0.3s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.2s ease-out; }
.pl-toast.is-on { opacity: 1; transform: translate(-50%, -50%); }
.pl-notice { position: absolute; z-index: 7; right: 10px; top: 32px; width: min(300px, calc(100% - 20px)); display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px;
  opacity: 0; transform: translateX(40px); transition: transform 0.5s cubic-bezier(0.3, 1.2, 0.4, 1), opacity 0.3s ease-out; }
.pl-notice.is-on { opacity: 1; transform: none; }
.pl-notice img { width: 28px; height: 28px; flex: none; }
.pl-notice strong { display: block; font-size: 12.5px; font-weight: 650; }
.pl-notice span { display: block; font-size: 11.5px; color: var(--pl-l2); line-height: 1.35; }

/* ================================================================ screen effects */
.pl-fx { position: absolute; inset: 0; z-index: 1; transition: opacity 0.3s ease-out; }
.pl-fx.is-gone { opacity: 0; }
/* drag out an area */
.pl-fx-region .pl-dim { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.32); transition: opacity 0.3s; }
.pl-fx-region .pl-rgn { position: absolute; display: none; box-shadow: 0 0 0 1px #fff, 0 0 0 9999px rgba(0, 0, 0, 0.32); border: 1px dashed rgba(0, 0, 0, 0.6); }
.pl-fx-region.is-drag .pl-rgn { display: block; }
.pl-fx-region.is-drag .pl-dim { opacity: 0; }
.pl-rgn-s { position: absolute; left: 0; bottom: -24px; padding: 2px 6px; border-radius: 5px; background: rgba(0, 0, 0, 0.72); color: #fff; font: 600 10.5px var(--pl-mono); white-space: nowrap; }
.pl-fx-region .pl-hint { position: absolute; left: 50%; top: 44px; transform: translateX(-50%); padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.66); color: #fff; font-size: 12px; white-space: nowrap; transition: opacity 0.3s; }
.pl-fx-region.is-drag .pl-hint { opacity: 0; }
.pl-fx-region.is-rec .pl-rgn { border: 2px solid var(--pl-red); box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.18); }
.pl-fx-region.is-rec .pl-rgn-s { display: none; }
.pl-strip { position: absolute; right: 14px; top: 40px; bottom: 20px; width: 64px; border-radius: 8px; background: rgba(0, 0, 0, 0.35); padding: 4px; }
.pl-strip i { display: block; width: 100%; border-radius: 5px; background: repeating-linear-gradient(180deg, var(--pl-win) 0 10px, var(--pl-fill-2) 10px 13px); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); }
/* draw on screen */
.pl-pentools { position: absolute; left: 50%; top: 32px; display: flex; align-items: center; gap: 3px; padding: 4px; border-radius: 12px;
  background: var(--pl-menu); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 8px 22px rgba(0, 0, 0, 0.25); transform: translate(-50%, -12px); opacity: 0; transition: transform 0.4s cubic-bezier(0.3, 1.3, 0.5, 1), opacity 0.25s; }
.pl-fx-pen.is-on .pl-pentools { transform: translate(-50%, 0); opacity: 1; }
.pl-tool { width: 28px; height: 26px; border-radius: 7px; display: grid; place-items: center; color: var(--pl-l1); }
.pl-tool svg { width: 16px; height: 16px; }
.pl-tool.is-on { background: var(--pl-accent); color: #fff; }
.pl-col { width: 16px; height: 16px; border-radius: 50%; background: var(--c); margin: 0 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); }
.pl-tsep { width: 1px; height: 18px; background: var(--pl-sep); margin: 0 3px; }
.pl-ink { position: absolute; inset: 0; overflow: visible; transition: opacity 0.8s ease-in; }
.pl-ink.is-fading { opacity: 0; }
.pl-ink .st { fill: none; stroke: var(--ink, #ff3b30); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pl-ink .st.hl { stroke: rgba(255, 214, 10, 0.55); stroke-width: 16; stroke-linecap: butt; }
.pl-ink .st.head { stroke-dasharray: none; stroke-dashoffset: 0; transition: opacity 0.15s; }
.pl-stage.is-ff .pl-ink .st:not(.head) { stroke-dashoffset: 0 !important; }
/* spotlight */
.pl-spot { position: absolute; inset: 0; background: radial-gradient(circle 70px at var(--x, 50%) var(--y, 50%), transparent 0 62px, rgba(0, 0, 0, 0.72) 74px); opacity: 0; transition: opacity 0.4s; }
.pl-fx-spotlight.is-on .pl-spot { opacity: 1; }
/* zoom */
.pl-fx-zoom { overflow: hidden; border-radius: 18px; }
.pl-zclone { position: absolute; inset: 0; transition: transform 0.45s cubic-bezier(0.3, 1.1, 0.4, 1); transform-origin: 50% 50%; }
.pl-fx-zoom::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--pl-accent); border-radius: 18px; opacity: 0; transition: opacity 0.3s; }
.pl-fx-zoom.is-on::after { opacity: 0.6; }
/* camera bubble */
.pl-bubble { position: absolute; width: 124px; height: 124px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), 0 14px 30px rgba(0, 0, 0, 0.35);
  transform: scale(0.4); opacity: 0; transition: transform 0.5s cubic-bezier(0.3, 1.3, 0.5, 1), opacity 0.3s, border-radius 0.4s, width 0.45s, height 0.45s; }
.pl-fx-camera.is-on .pl-bubble { transform: none; opacity: 1; }
.pl-bubble.is-big { width: 160px; height: 160px; }
.pl-bubble.is-square { border-radius: 26px; }
.pl-person { position: absolute; inset: 0; background: linear-gradient(180deg, #d9c7b4, #a99079); }
.pl-person .room { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; background: #8a705c; }
.pl-person .lamp { position: absolute; right: 12%; top: 12%; width: 16%; height: 16%; border-radius: 50%; background: radial-gradient(#fff7d6, #ffd36b 60%, transparent 70%); }
.pl-person .body { position: absolute; left: 22%; right: 22%; bottom: -8%; height: 38%; border-radius: 45% 45% 0 0; background: #3a5f9e; }
.pl-person .head { position: absolute; left: 36%; top: 26%; width: 28%; height: 34%; border-radius: 46%; background: #f0c9a6; animation: pl-nod 3.2s ease-in-out infinite; }
.pl-person .hair { position: absolute; left: 34%; top: 22%; width: 32%; height: 16%; border-radius: 50% 50% 30% 30%; background: #3b2a20; animation: pl-nod 3.2s ease-in-out infinite; }
@keyframes pl-nod { 50% { transform: translateY(2px) rotate(-3deg); } }
/* keystrokes */
.pl-keys { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; justify-content: center; gap: 8px; }
.pl-keycap { padding: 10px 18px; border-radius: 14px; background: rgba(20, 20, 24, 0.82); color: #fff; font: 600 26px/1 var(--pl-font); letter-spacing: 0.04em;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); transform: translateY(16px) scale(0.9); opacity: 0; transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1), opacity 0.25s; }
.pl-keycap.is-on { transform: none; opacity: 1; }
.pl-keycap.is-gone { opacity: 0; transform: translateY(-8px); }
/* large type */
.pl-large { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.82); opacity: 0; transition: opacity 0.35s; }
.pl-large span { color: #fff; font-weight: 700; line-height: 1.1; text-align: center; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; transform: scale(0.85); transition: transform 0.5s cubic-bezier(0.3, 1.2, 0.4, 1); overflow-wrap: anywhere; }
.pl-fx-large.is-on .pl-large { opacity: 1; }
.pl-fx-large.is-on .pl-large span { transform: none; }
/* teleprompter */
.pl-tele { position: absolute; left: 50%; top: 30px; width: min(440px, calc(100% - 24px)); height: 168px; border-radius: 0 0 22px 22px; overflow: hidden; background: rgba(12, 12, 14, 0.86);
  transform: translate(-50%, -110%); transition: transform 0.55s cubic-bezier(0.3, 1.15, 0.4, 1); color: #fff; }
.pl-fx-tele.is-on .pl-tele { transform: translate(-50%, 0); }
.pl-tele-in { padding: 54px 26px 20px; }
.pl-tele p { margin: 0 0 10px; font-size: 21px; font-weight: 600; line-height: 1.35; text-align: center; }
.pl-tele::before, .pl-tele::after { content: ""; position: absolute; left: 0; right: 0; height: 46px; z-index: 1; pointer-events: none; }
.pl-tele::before { top: 0; background: linear-gradient(rgba(12, 12, 14, 1), transparent); }
.pl-tele::after { bottom: 24px; background: linear-gradient(transparent, rgba(12, 12, 14, 1)); }
.pl-tele-h { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 3px 0 8px; text-align: center; font-size: 10.5px; color: rgba(255, 255, 255, 0.5); background: rgba(12, 12, 14, 1); }
.pl-tele-sp { position: absolute; right: 12px; top: 10px; z-index: 2; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font: 600 11px var(--pl-mono); }
.pl-fx-tele.is-paused .pl-tele-sp::after { content: " ❚❚"; }
/* ruler */
.pl-freeze { position: absolute; inset: 0; box-shadow: inset 0 0 0 3px rgba(10, 132, 255, 0.5); }
.pl-rl { position: absolute; inset: 0; }
.pl-rl line { stroke: #ff2d55; stroke-width: 1.2; stroke-dasharray: 4 3; transition: opacity 0.2s; }
.pl-rl-l { position: absolute; padding: 2px 6px; border-radius: 5px; background: #ff2d55; color: #fff; font: 600 10.5px var(--pl-mono); white-space: nowrap; transition: opacity 0.2s; }
.pl-rbox { position: absolute; opacity: 0; border: 1.5px solid #ff2d55; background: rgba(255, 45, 85, 0.1); }
.pl-rbox span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 2px 7px; border-radius: 5px; background: #ff2d55; color: #fff; font: 600 11px var(--pl-mono); white-space: nowrap; }
/* voice recorder bar */
.pl-recbar { position: absolute; left: 50%; top: 32px; display: flex; align-items: center; gap: 10px; padding: 6px 8px 6px 14px; border-radius: 999px; transform: translate(-50%, -150%); transition: transform 0.5s cubic-bezier(0.3, 1.2, 0.4, 1); }
.pl-fx-recorder.is-on .pl-recbar { transform: translate(-50%, 0); }
.pl-recbar .pl-recdot { width: 10px; height: 10px; border-radius: 50%; background: var(--pl-red); animation: pl-blink 1.2s steps(2) infinite; }
.pl-recbar em { font: 600 13px var(--pl-mono); font-style: normal; font-variant-numeric: tabular-nums; }
.pl-lvl { display: flex; align-items: center; gap: 2px; height: 18px; }
.pl-lvl i { width: 3px; height: 100%; border-radius: 2px; background: var(--pl-green); animation: pl-wave 0.5s ease-in-out infinite alternate; }
.pl-lvl i:nth-child(2n) { animation-delay: -0.2s; animation-duration: 0.4s; } .pl-lvl i:nth-child(3n) { animation-delay: -0.35s; animation-duration: 0.6s; }
.pl-rb { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pl-btn); }
.pl-rb svg { width: 11px; height: 11px; }
.pl-rb.is-stop { color: var(--pl-red); }
/* keyboard lock */
.pl-fx-lock { background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.3s; }
.pl-fx-lock.is-on { opacity: 1; }
.pl-lock { position: absolute; left: 50%; top: 50%; width: 250px; padding: 22px 18px; border-radius: 24px; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.pl-lock-ic svg { width: 44px; height: 44px; color: var(--pl-accent); }
.pl-lock strong { font-size: 15px; }
.pl-lock > span:not(.pl-btn):not(.pl-lock-ic) { font-size: 11.5px; color: var(--pl-l2); }
.pl-lock .pl-dial .v { stroke-dashoffset: 0; }
/* picture in picture: a floating live view of a window, its buttons on hover, a right-click menu */
.pl-pip { position: absolute; border-radius: 10px; overflow: hidden; background: #1c1c1f; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.4), 0 14px 32px rgba(0, 0, 0, 0.38);
  transform: scale(0.5); transform-origin: 100% 100%; opacity: 0;
  transition: transform 0.5s cubic-bezier(0.3, 1.25, 0.5, 1), opacity 0.3s, width 0.45s, height 0.45s, left 0.45s, top 0.45s; }
.pl-fx-pip.is-on .pl-pip { transform: none; opacity: 1; }
.pl-pip.is-press { transform: scale(0.97); }
.pl-pip-v { position: absolute; inset: 0; }
.pl-pip-v > * { width: 100%; height: 100%; }
.pl-pip-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 9px 6px; font-size: 10px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity 0.2s; }
.pl-pip-b { position: absolute; top: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.5); color: #fff; opacity: 0; transition: opacity 0.2s; }
.pl-pip-b svg { width: 10px; height: 10px; }
.pl-pip-b.is-back { left: 6px; }
.pl-pip-b.is-x { right: 6px; }
.pl-pip.is-hover .pl-pip-t, .pl-pip.is-hover .pl-pip-b { opacity: 1; }
.pl-pmenu { position: absolute; z-index: 3; min-width: 150px; padding: 4px; border-radius: 9px; background: var(--pl-menu); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.22), 0 10px 26px rgba(0, 0, 0, 0.28);
  font-size: 12px; opacity: 0; transform: scale(0.94); transform-origin: 0 0; transition: opacity 0.15s, transform 0.2s; }
.pl-pmenu.is-on { opacity: 1; transform: none; }
.pl-pmenu span { position: relative; display: block; padding: 3px 12px 3px 22px; border-radius: 5px; white-space: nowrap; }
.pl-pmenu span.is-on::before { content: "✓"; position: absolute; left: 7px; }
.pl-pmenu span.is-press { background: var(--pl-accent); color: #fff; }
.pl-pmenu hr { height: 1px; margin: 4px 8px; border: 0; background: var(--pl-sep); }
/* choosing a window: thumbnails of the windows on screen, and the pictures in them */
.pl-pips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pl-pipt { display: flex; flex-direction: column; gap: 5px; min-width: 0; padding: 5px; border-radius: 9px; box-shadow: inset 0 0 0 1.5px transparent; transition: background-color 0.2s, box-shadow 0.2s; }
.pl-pipt.is-on { background: var(--pl-accent-22); box-shadow: inset 0 0 0 1.5px var(--pl-accent); }
.pl-pipt > div { position: relative; height: 72px; display: grid; place-items: center; border-radius: 6px; background: var(--pl-fill-2); }
.pl-pipt > div > * { height: 60px; aspect-ratio: 16 / 10; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.pl-pipt > span { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 10.5px; white-space: nowrap; }
.pl-pipt > span em { overflow: hidden; text-overflow: ellipsis; font-style: normal; }
.pl-pipt > span i { width: 13px; height: 13px; flex: none; border-radius: 3.5px; background: linear-gradient(160deg, var(--c1), var(--c2)); }
.pl-pic-meet { position: relative; display: block; background: #1c1c1f; }
.pl-pic-meet .pl-person { left: 28%; right: 28%; top: 6%; bottom: 6%; border-radius: 9%; overflow: hidden; }
.pl-pic-meet b { position: absolute; left: 31%; bottom: 10%; font-size: 7px; font-weight: 600; color: #fff; }
.pl-pip .pl-pic-meet b { font-size: 10px; bottom: 11%; }
.pl-pic-live { position: relative; display: grid; place-items: center; background: linear-gradient(225deg, #2e3373, #8c3d80); }
.pl-pic-live::before { content: ""; width: 22%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.85); }
.pl-pic-live::after { content: ""; position: absolute; left: 47%; top: 50%; border: 7px solid transparent; border-left: 10px solid #5a3a7a; border-right: 0; transform: translate(-25%, -50%); }
.pl-pic-term { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 0 7px; background: #17191e; font: 5.5px/1.2 var(--pl-mono); color: #c0c4cc; text-align: left; }
.pl-pic-term .ok { color: #6bd97f; }
.pl-pic-term > * { white-space: nowrap; overflow: hidden; }
/* a banner at the top of the screen (Break Reminder) */
.pl-banner { position: absolute; left: 50%; top: 30px; width: min(380px, calc(100% - 24px)); padding: 12px 14px; border-radius: 18px; transform: translate(-50%, -170%);
  transition: transform 0.55s cubic-bezier(0.3, 1.2, 0.4, 1); }
.pl-fx-banner.is-on .pl-banner { transform: translate(-50%, 0); }
.pl-banner > * { animation: pl-in 0.35s cubic-bezier(0.3, 1.2, 0.5, 1) backwards; }
.pl-bn { display: flex; align-items: flex-start; gap: 11px; }
.pl-bn.is-row { align-items: center; }
.pl-bn-ic { flex: none; width: 26px; display: grid; place-items: center; color: var(--pl-accent); }
.pl-bn-ic svg { width: 24px; height: 24px; }
.pl-bn-ic.is-ok { color: var(--pl-green); }
.pl-bn-t { flex: 1; min-width: 0; }
.pl-bn-t strong { display: block; font-size: 13.5px; font-weight: 650; font-variant-numeric: tabular-nums; }
.pl-bn-t > span { display: block; font-size: 12px; line-height: 1.35; color: var(--pl-l2); }
.pl-bn-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-top: 10px; }
.pl-ring { width: 26px; height: 26px; flex: none; transform: rotate(-90deg); }
.pl-ring circle { fill: none; stroke-width: 3; }
.pl-ring .tr { stroke: var(--pl-fill-2); }
.pl-ring .v { stroke: var(--pl-accent); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
/* a spinner (connecting…) and a switch */
.pl-spin { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid var(--pl-fill-2); border-top-color: var(--pl-l2); animation: pl-turn 0.8s linear infinite; }
@keyframes pl-turn { to { transform: rotate(360deg); } }
.pl-sw2 { position: relative; width: 30px; height: 18px; flex: none; border-radius: 999px; background: var(--pl-fill-2); transition: background-color 0.2s; }
.pl-sw2::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform 0.2s; }
.pl-sw2.is-on { background: var(--pl-accent); }
.pl-sw2.is-on::after { transform: translateX(12px); }
/* a month calendar */
.pl-cal-h { display: flex; align-items: center; gap: 5px; }
.pl-cal-h > div { flex: 1; min-width: 0; }
.pl-cal-h strong { display: block; font-size: 15px; font-weight: 650; }
.pl-cal-h small { display: block; font-size: 10.5px; color: var(--pl-l2); }
.pl-cal-h .pl-btn { padding: 0 7px; }
.pl-cal-h .pl-btn svg { width: 11px; height: 11px; }
.pl-cal-h .pl-btn.is-off { opacity: 0.45; }
.pl-cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.pl-cal-w { padding-bottom: 2px; text-align: center; font-size: 9.5px; font-weight: 600; color: var(--pl-l2); }
.pl-cal .pl-cell { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; min-height: 33px; border-radius: 7px; font-size: inherit;
  box-shadow: inset 0 0 0 1px transparent; transition: background-color 0.2s, box-shadow 0.2s; }
.pl-cal .pl-cell.is-on { transform: none; background: var(--pl-accent-22); box-shadow: inset 0 0 0 1px var(--pl-accent); }
.pl-cal .pl-cell b { min-width: 22px; padding: 0 3px; border-radius: 999px; text-align: center; font-size: 12.5px; font-weight: 450; line-height: 17px; font-variant-numeric: tabular-nums; }
.pl-cal .pl-cell i { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; font-size: 8.5px; line-height: 12px; color: var(--pl-l2); }
.pl-cal .pl-cell.we b { color: var(--pl-l2); }
.pl-cal .pl-cell.out { opacity: 0.35; }
.pl-cal .pl-cell.today b { background: var(--pl-accent); color: #fff; font-weight: 700; }
.pl-cal .pl-cell i.fe { color: var(--pl-red); }
.pl-cal .pl-cell i.st { color: var(--pl-green); }
.pl-cal .pl-cell i.lm { color: var(--pl-accent); }
.pl-cal-dt { display: flex; flex-direction: column; gap: 2px; font-size: 11px; }
.pl-cal-dt > div { display: flex; align-items: baseline; gap: 8px; }
.pl-cal-dt strong { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 650; }
.pl-cal-dt em { font-style: normal; color: var(--pl-l2); }
.pl-cal-dt em.is-today { color: var(--pl-accent); }
.pl-cal-dt .fe { color: var(--pl-red); font-weight: 600; }
.pl-cal-dt .mu { color: var(--pl-l2); }
.pl-cal-f { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 11.5px; }
.pl-cal-f label { display: flex; flex: none; align-items: center; gap: 6px; white-space: nowrap; }
.pl-cal-f small { min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 9.5px; color: var(--pl-l3); white-space: nowrap; }
.pl-cal-f.is-one { flex-wrap: nowrap; }
.pl-cal-f .sp { flex: 1; }
.pl-cal-f .br { flex-basis: 100%; height: 0; }

/* ================================================================ sample pictures */
.pl-art { position: relative; display: block; overflow: hidden; background: #9cc8f0; }
.pl-art > i { position: absolute; display: block; }
.pl-art-landscape { background: linear-gradient(180deg, #7fb6f2 0%, #b8dcf7 55%, #f6e3c0 100%); }
.pl-art-landscape .sun { width: 18%; aspect-ratio: 1; right: 16%; top: 14%; border-radius: 50%; background: radial-gradient(#fff6c9, #ffd45c 70%); box-shadow: 0 0 24px #ffe38a; }
.pl-art-landscape .h1 { left: -10%; right: 30%; bottom: 0; height: 52%; border-radius: 50% 60% 0 0; background: #6fb36b; }
.pl-art-landscape .h2 { left: 30%; right: -20%; bottom: 0; height: 42%; border-radius: 60% 50% 0 0; background: #4f9a5a; }
.pl-art-landscape .h3 { left: -5%; right: -5%; bottom: -6%; height: 22%; border-radius: 50% 50% 0 0; background: #3f7f4a; }
.pl-art-beach { background: linear-gradient(180deg, #ffb07a 0%, #ffd1a1 40%, #fbe7c5 55%); }
.pl-art-beach .sun { width: 22%; aspect-ratio: 1; left: 39%; top: 26%; border-radius: 50%; background: #fff2c2; box-shadow: 0 0 30px #ffd38a; }
.pl-art-beach .sea { left: 0; right: 0; top: 50%; height: 30%; background: linear-gradient(180deg, #3d8fd0, #5fb1e0); }
.pl-art-beach .sand { left: -10%; right: -10%; bottom: -10%; height: 32%; border-radius: 50% 50% 0 0; background: #f2d39c; }
.pl-art-sunset { background: linear-gradient(180deg, #5b4bb7 0%, #e0679b 50%, #ffb36b 80%); }
.pl-art-sunset .sun { width: 26%; aspect-ratio: 1; left: 37%; bottom: 18%; border-radius: 50%; background: #ffe2a3; box-shadow: 0 0 40px #ffcf7a; }
.pl-art-sunset .h1 { left: -10%; right: 40%; bottom: 0; height: 30%; border-radius: 0 80% 0 0; background: #2d2346; }
.pl-art-sunset .h2 { left: 30%; right: -10%; bottom: 0; height: 24%; border-radius: 80% 0 0 0; background: #3c2d5a; }
.pl-art-city { background: linear-gradient(180deg, #141b3a, #3a3474 70%, #6b4a88); }
.pl-art-city .moon { width: 12%; aspect-ratio: 1; right: 14%; top: 12%; border-radius: 50%; background: #fff6d8; box-shadow: 0 0 18px #fff1b8; }
.pl-art-city .b1, .pl-art-city .b2, .pl-art-city .b3, .pl-art-city .b4, .pl-art-city .b5 { bottom: 0; background: #0f1328 repeating-linear-gradient(180deg, transparent 0 8%, rgba(255, 214, 120, 0.6) 8% 11%) 30% 0 / 40% 100% no-repeat; }
.pl-art-city .b1 { left: 4%; width: 16%; height: 46%; } .pl-art-city .b2 { left: 22%; width: 12%; height: 66%; } .pl-art-city .b3 { left: 36%; width: 20%; height: 38%; }
.pl-art-city .b4 { left: 58%; width: 14%; height: 58%; } .pl-art-city .b5 { left: 74%; width: 22%; height: 44%; }
.pl-art-portrait { background: linear-gradient(160deg, #d8e6f5, #b9cde4); }
.pl-art-portrait .body { left: 18%; right: 18%; bottom: -6%; height: 36%; border-radius: 48% 48% 0 0; background: #2f4a7a; }
.pl-art-portrait .head { left: 35%; top: 22%; width: 30%; height: 44%; border-radius: 46% 46% 44% 44%; background: #f0c9a6; }
.pl-art-portrait .hair { left: 33%; top: 18%; width: 34%; height: 20%; border-radius: 50% 50% 30% 30%; background: #3b2a20; }
.pl-art-flower { background: linear-gradient(180deg, #e8f4e2, #cfe6c4); }
.pl-art-flower .stem { left: 49%; top: 46%; width: 3%; height: 60%; background: #4c9a4a; border-radius: 2px; }
.pl-art-flower .p1, .pl-art-flower .p2, .pl-art-flower .p3, .pl-art-flower .p4 { width: 22%; aspect-ratio: 1; border-radius: 50%; background: #ff7aa2; left: 39.5%; top: 22%; }
.pl-art-flower .p1 { transform: translate(-45%, 0); } .pl-art-flower .p2 { transform: translate(45%, 0); } .pl-art-flower .p3 { transform: translate(0, -45%); } .pl-art-flower .p4 { transform: translate(0, 45%); }
.pl-art-flower .core { width: 14%; aspect-ratio: 1; border-radius: 50%; background: #ffd23f; left: 43.5%; top: 29%; }
.pl-art-mug { background: linear-gradient(180deg, #f3e9dc, #e5d6c2); }
.pl-art-mug .cup { left: 32%; top: 32%; width: 32%; height: 42%; border-radius: 6% 6% 22% 22%; background: linear-gradient(90deg, #e2574c, #ff7b6b 50%, #c9433a); }
.pl-art-mug .handle { left: 60%; top: 40%; width: 14%; height: 22%; border-radius: 50%; border: 5px solid #c9433a; }
.pl-art-mug .steam { left: 44%; top: 12%; width: 8%; height: 16%; border-radius: 50%; border-left: 3px solid rgba(255, 255, 255, 0.9); }
.pl-art-mug .shadow { left: 28%; top: 72%; width: 44%; height: 8%; border-radius: 50%; background: rgba(0, 0, 0, 0.12); }
.pl-art-screen { background: #f4f5f8; }
.pl-art-screen .bar { left: 0; right: 0; top: 0; height: 12%; background: #e3e5ea; }
.pl-art-screen .side { left: 0; top: 12%; bottom: 0; width: 22%; background: #eceef2; }
.pl-art-screen .l1, .pl-art-screen .l2, .pl-art-screen .l3 { left: 28%; height: 5%; border-radius: 3px; background: #c9ced8; }
.pl-art-screen .l1 { top: 20%; width: 46%; background: #3d4250; } .pl-art-screen .l2 { top: 30%; width: 60%; } .pl-art-screen .l3 { top: 38%; width: 52%; }
.pl-art-screen .card1, .pl-art-screen .card2 { top: 52%; height: 38%; width: 30%; border-radius: 6px; background: linear-gradient(135deg, #6a8fd8, #b07ad0); }
.pl-art-screen .card1 { left: 28%; } .pl-art-screen .card2 { left: 62%; background: linear-gradient(135deg, #ffb36b, #ff6f91); }
.pl-art-doc { background: #fff; }
.pl-art-doc > i { left: 12%; height: 4.5%; border-radius: 2px; background: #c9cdd6; }
.pl-art-doc .t { top: 10%; width: 50%; height: 7%; background: #3d4250; }
.pl-art-doc .l1 { top: 26%; width: 76%; } .pl-art-doc .l2 { top: 36%; width: 70%; } .pl-art-doc .l3 { top: 46%; width: 74%; }
.pl-art-doc .l4 { top: 56%; width: 60%; } .pl-art-doc .l5 { top: 70%; width: 72%; } .pl-art-doc .l6 { top: 80%; width: 40%; }
.pl-art-logo { background: linear-gradient(145deg, #f7f8fb, #e8ebf2); }
.pl-art-logo .mark { left: 26%; top: 26%; width: 48%; height: 48%; border-radius: 30%; background: conic-gradient(from 200deg, #ff6f91, #ffb36b, #6fdc8c, #4fb3ff, #a57bff, #ff6f91); transform: rotate(12deg); box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.35); }
.pl-art-forest { background: linear-gradient(180deg, #cfe9f1, #e9f4ea); }
.pl-art-forest .h1 { left: -10%; right: -10%; bottom: -10%; height: 34%; border-radius: 50% 50% 0 0; background: #6aa86a; }
.pl-art-forest .t1, .pl-art-forest .t2, .pl-art-forest .t3, .pl-art-forest .t4 { bottom: 18%; width: 16%; height: 50%; background: #2f6f45; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.pl-art-forest .t1 { left: 8%; } .pl-art-forest .t2 { left: 26%; height: 62%; background: #3b8150; } .pl-art-forest .t3 { left: 56%; height: 44%; } .pl-art-forest .t4 { left: 74%; height: 58%; background: #3b8150; }
.pl-art-waves { background: linear-gradient(180deg, #0d3b66, #1f6fa8); }
.pl-art-waves .w1, .pl-art-waves .w2, .pl-art-waves .w3 { left: -20%; right: -20%; height: 40%; border-radius: 50%; border-top: 4px solid rgba(255, 255, 255, 0.55); }
.pl-art-waves .w1 { top: 30%; } .pl-art-waves .w2 { top: 50%; opacity: 0.7; } .pl-art-waves .w3 { top: 70%; opacity: 0.45; }

/* Reduced motion: the stage shows a chapter's end state, and nothing moves. */
@media (prefers-reduced-motion: reduce) {
  .pl-stage *, .pl-stage { animation: none !important; transition: none !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .pl-disc, .pl-card, .pl-toast, .pl-notice, .pl-recbar, .pl-lock, .pl-banner { background: var(--pl-menu); backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* The local bar on plugin pages: Pop › Plugins */
.ln-sub { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 15px; font-weight: 550; padding: 4px 10px; border-radius: 8px; margin-left: -8px; }
.ln-sub::before { content: ""; width: 6px; height: 6px; border-right: 1.6px solid var(--text-3); border-bottom: 1.6px solid var(--text-3); transform: rotate(-45deg); margin-right: 4px; }
.ln-sub:hover { text-decoration: none; color: var(--text); background: var(--code-bg); }
.ln-sub[aria-current] { color: var(--text); }
.pl-file.is-gone { opacity: 0; transform: scale(0.85); transition: opacity 0.25s, transform 0.25s; }
.pl-fn.is-flash { animation: pl-flash 1.2s ease-out; }
@keyframes pl-flash { 0% { background: var(--pl-accent); color: #fff; } 100% { background: transparent; } }
.plp-page .section-head { margin-bottom: clamp(24px, 3.4vw, 40px); }
.plp-way .cmd code { white-space: normal; overflow-wrap: anywhere; font-size: 12.5px; }
@media (min-width: 760px) { .pl-win { left: 8%; right: 8%; top: 46px; bottom: 30px; } }
.pl-recbar.is-saved { padding: 6px 8px; gap: 8px; animation: pl-in 0.4s cubic-bezier(0.3, 1.2, 0.5, 1); }
.pl-rb.is-ok { color: #fff; background: var(--pl-green); }
.pl-saved { display: flex; flex-direction: column; min-width: 0; margin-right: 4px; }
.pl-saved b { font-size: 12px; white-space: nowrap; }
.pl-saved small { font-size: 10.5px; color: var(--pl-l2); }
.pl-cur.has-halo ~ .pl-ripple, .pl-stage:has(.has-halo) .pl-ripple { border-color: #ffcc00; border-width: 3px; }
@media (max-width: 700px) {
  .plg-ctl { padding: 8px 0; }
  .plg-ctl .wrap { gap: 8px; }
  .plg-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); width: calc(100% + var(--gutter) * 2); }
  .plg-chips::-webkit-scrollbar { display: none; }
  .plg-chip { flex: none; padding: 6px 12px; }
  .plg-search { flex: 1 1 0; }
  .plg-q { height: 34px; }
}

/* Rows: the label column is as wide as the longest label (up to 45%), and values may run over several lines. */
@supports (grid-template-columns: subgrid) {
  .pl-rows { display: grid; grid-template-columns: minmax(56px, max-content) minmax(0, 1fr) auto; row-gap: 5px; column-gap: 8px; }
  .pl-row { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: baseline; }
  .pl-row-l { max-width: 150px; }
}
.pl-row-v { white-space: pre-wrap; }
/* Replace: the result lands in the document. */
.pl-sel.pl-repl { animation: pl-repl 1.4s ease-out forwards; background: none; }
@keyframes pl-repl { 0% { background: var(--pl-selbg); } 100% { background: transparent; } }
.pl-stage.is-ff .pl-sel.pl-repl { animation: none; background: none; }
.pl-b .is-flash, .pl-card .is-flash { animation: pl-flash2 1.1s ease-out; border-radius: 4px; }
@keyframes pl-flash2 { 0% { background: var(--pl-accent-40); } 100% { background: transparent; } }
.pl-track i { transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.pl-hr-t.is-flash, .pl-sl-v.is-flash { animation: pl-flash2 1.1s ease-out; border-radius: 4px; }
/* Horizontal bars: rows of a fixed height. */
.pl-bars.is-h .pl-bc { flex: none; height: 18px; }
/* Long toasts wrap. */
.pl-toast { white-space: normal; width: max-content; max-width: min(86%, 420px); text-align: center; line-height: 1.35; }
.pl-b-text p.pl-mono { font-size: 12px; }
/* A selected app keeps its colours; the selection shows around it. */
.pl-file.is-sel > .pl-fi-app { background: linear-gradient(145deg, var(--a1), var(--a2)); box-shadow: 0 0 0 3px var(--pl-fill-2), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
