/* Product window and glass toolbar. Every selector is component-scoped. */
.lp-stage {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 1060px;
  min-width: 0;
  height: 500px;
  margin: 0 auto;
  overflow: clip;
  color: #33445c;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}
.lp-stage,
.lp-stage * { box-sizing: border-box; }
.lp-stage svg { display: block; flex-shrink: 0; }
.lp-stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 36px 6% 15px;
  border-radius: 48%;
  background: radial-gradient(ellipse at 30% 65%, #cde9ffb3, transparent 58%), radial-gradient(ellipse at 76% 52%, #dcd9f2b3, transparent 58%);
  filter: blur(27px);
}
.lp-rear-glass {
  position: absolute;
  z-index: -1;
  top: 17px;
  left: 8.5%;
  right: 7%;
  height: 418px;
  border: 1px solid #ffffffdb;
  border-radius: 26px;
  background: linear-gradient(120deg, #eef8ff4d, #ffffff70 49%, #dbe5f657);
  box-shadow: inset 0 0 0 1px #aabdd721, 0 8px 22px #8498b00d;
  transform: rotate(-2deg);
}
.lp-window {
  position: absolute;
  top: 29px;
  left: 28px;
  right: 28px;
  height: 416px;
  overflow: hidden;
  border: 1px solid #ffffffed;
  border-radius: 20px;
  background: linear-gradient(130deg, #fcfdfff5, #eaf1f8f2);
  box-shadow: inset 0 0 0 1px #ffffffd9, 0 1px 0 1px #a0b0c52e, 0 17px 28px -19px #627d9b8a, 0 30px 65px -27px #4c66893d;
  transform: perspective(1800px) rotateX(3deg) rotateY(-2deg);
  transform-origin: 50% 55%;
}
.lp-window::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  border: 1px solid #ffffffc9;
  border-radius: inherit;
  box-shadow: inset 0 2px 2px #fff, inset 0 -2px 3px #a9b9cf21;
  pointer-events: none;
}
.lp-titlebar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 51px;
  padding: 0 22px;
  border-bottom: 1px solid #d5dfea9c;
  background: linear-gradient(#ffffffeb, #eef3f9b8);
}
.lp-title-brand { display: flex; align-items: center; gap: 10px; color: #3f5067; font-size: 14px; font-weight: 600; }
.lp-app-mark { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; width: 19px; height: 19px; padding: 2px; border: 1px solid #497ddbe0; border-radius: 5px; background: #427be2; box-shadow: inset 0 1px 1px #ffffff80; }
.lp-app-mark i { border-radius: 1px; background: #f3f8ff; }
.lp-title-meta { display: flex; align-items: center; gap: 31px; }
.lp-preview { padding: 3px 9px; border: 1px solid #d4dfeae0; border-radius: 5px; color: #8491a3; background: #ffffff8c; font-size: 11px; }
.lp-window-controls { display: flex; align-items: center; gap: 19px; color: #8b98a9; }
.lp-window-controls svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.lp-workspace { display: grid; grid-template-columns: 150px minmax(0, 1fr); height: calc(100% - 51px); }
.lp-sidebar { display: flex; flex-direction: column; min-width: 0; padding: 24px 15px 22px; border-right: 1px solid #dce4eeb5; background: linear-gradient(110deg, #f8fbffdc, #f4f8fc87); }
.lp-sidebar-title { margin: 0 0 19px; padding-left: 11px; color: #8d99aa; font-size: 12px; font-weight: 400; }
.lp-side-item { display: flex; align-items: center; gap: 10px; min-height: 41px; padding: 8px 10px; border: 1px solid transparent; border-radius: 7px; color: #7f8da2; font-size: 13px; }
.lp-side-item + .lp-side-item { margin-top: 6px; }
.lp-side-item.lp-current { color: #4674bb; border-color: #cbdcf26b; background: #deebfc9e; box-shadow: inset 0 1px 0 #ffffff85; }
.lp-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lp-sidebar-rule { height: 1px; margin: 21px 10px 18px; background: #dce4ee; }
.lp-connection { display: flex; align-items: center; gap: 8px; padding-left: 12px; color: #8594a9; font-size: 12px; }
.lp-status-dot { flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: #66aa9f; box-shadow: 0 0 0 3px #66aa9f10; }
.lp-sidebar-bottom { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-left: 11px; color: #95a1b1; font-size: 12px; }
.lp-sidebar-bottom .lp-icon { width: 16px; height: 16px; }
.lp-main { display: flex; flex-direction: column; min-width: 0; padding: 21px 22px 17px; background: linear-gradient(115deg, #f7fafe80, #eef4fb80); }
.lp-main-heading { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 20px; }
.lp-main-heading strong { color: #46586e; font-size: 15px; font-weight: 600; }
.lp-view-mode { display: flex; align-items: center; gap: 7px; color: #9aa7b8; font-size: 11px; }
.lp-view-mode .lp-icon { width: 14px; height: 14px; }
.lp-device-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; align-items: start; }
.lp-device { min-width: 0; padding: 5px 5px 0; overflow: hidden; border: 1px solid #cfdae7c9; border-radius: 11px; background: #ffffffc7; box-shadow: inset 0 1px 0 #fff, 0 3px 9px #45617e0b; }
.lp-screen { position: relative; isolation: isolate; width: 100%; aspect-ratio: .525; overflow: hidden; border: 1px solid #a4bad145; border-radius: 7px; background: #ccdeec; }
.lp-tone-blue { --lp-wall-light: #d2edf4; --lp-wall-mid: #9dc5da; --lp-wall-base: #82a4d0; --lp-wave: #e4f5ffe8; --lp-wave-shadow: #5d89b640; }
.lp-tone-lilac { --lp-wall-light: #e5e4f5; --lp-wall-mid: #c1bddf; --lp-wall-base: #96a8d7; --lp-wave: #f3f2ffe8; --lp-wave-shadow: #8478b842; }
.lp-tone-ice { --lp-wall-light: #d9edf1; --lp-wall-mid: #aed6dc; --lp-wall-base: #7da8c7; --lp-wave: #e9ffffe0; --lp-wave-shadow: #588c9b40; }
.lp-wallpaper { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 85% 5%, #ffffff91, transparent 54%), linear-gradient(148deg, var(--lp-wall-light) 3%, var(--lp-wall-mid) 49%, var(--lp-wall-base)); }
.lp-wallpaper::before { content: ""; position: absolute; left: -86%; top: 30%; width: 210%; height: 66%; border: 1px solid #ffffff78; border-radius: 48% 49% 42% 51%; background: linear-gradient(124deg, #ffffff0d 12%, var(--lp-wave) 46%, #ffffff10 64%); box-shadow: inset -8px 6px 17px #ffffff8a, 12px 21px 22px var(--lp-wave-shadow); transform: rotate(-36deg); }
.lp-wallpaper::after { content: ""; position: absolute; left: -40%; top: 58%; width: 185%; height: 60%; border-top: 1px solid #ffffffb3; border-radius: 50%; background: linear-gradient(158deg, #ffffff87, #ffffff08 40%, #6d90c238); box-shadow: inset 0 8px 18px #ffffff48; transform: rotate(-30deg); }
.lp-device:nth-child(2n) .lp-wallpaper::before { left: -95%; top: 22%; transform: rotate(-29deg); }
.lp-device:nth-child(3n) .lp-wallpaper::after { top: 64%; transform: rotate(-40deg); }
.lp-phone-status { position: absolute; top: 8px; right: 8px; display: flex; align-items: center; gap: 4px; color: #5d719272; }
.lp-signal { display: flex; align-items: flex-end; gap: 1.5px; height: 7px; }
.lp-signal i { width: 2px; border-radius: .5px; background: currentColor; }
.lp-signal i:nth-child(1) { height: 3px; }
.lp-signal i:nth-child(2) { height: 5px; }
.lp-signal i:nth-child(3) { height: 7px; }
.lp-battery { position: relative; width: 10px; height: 5px; border: 1px solid currentColor; border-radius: 1.5px; }
.lp-battery::before { content: ""; position: absolute; inset: 1px; background: currentColor; }
.lp-battery::after { content: ""; position: absolute; width: 1px; height: 2px; right: -2px; top: .5px; background: currentColor; }
.lp-clock { position: absolute; top: 24px; left: 0; right: 0; color: #ffffffed; font-family: "Segoe UI", sans-serif; font-size: clamp(24px, 2.9vw, 32px); font-weight: 300; line-height: 1.2; text-align: center; letter-spacing: -1.5px; text-shadow: 0 1px 5px #5b76901a; }
.lp-apps { position: absolute; left: 14%; right: 14%; bottom: 21%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
.lp-apps i { position: relative; width: 100%; aspect-ratio: 1; max-width: 19px; justify-self: center; border: 1px solid #ffffff8c; border-radius: 5px; background: #f9fcff86; box-shadow: inset 0 1px 1px #ffffffe0, 0 2px 5px #5b7da014; }
.lp-apps i:nth-child(2) { background: #e8f1fb91; }
.lp-apps i:nth-child(3) { background: #eeeaf69e; }
.lp-apps i::after { content: ""; position: absolute; inset: 4px; border: 1px solid #7495b347; border-radius: 50%; }
.lp-apps i:nth-child(2n)::after { inset: 4px 5px; border-radius: 1px; }
.lp-dock { position: absolute; bottom: 14px; left: 12%; right: 12%; display: flex; justify-content: space-evenly; align-items: center; height: 29px; border: 1px solid #ffffff73; border-radius: 9px; background: #eef5ff47; box-shadow: inset 0 1px 1px #ffffffa8; -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px); }
.lp-dock i { width: 13px; height: 13px; border: 1px solid #ffffff96; border-radius: 4px; background: #f9fcff94; }
.lp-home-line { position: absolute; left: 35%; right: 35%; bottom: 5px; height: 2px; border-radius: 2px; background: #ffffffc2; }
.lp-device-name { display: flex; align-items: center; justify-content: space-between; gap: 4px; height: 29px; padding: 0 3px; color: #8593a8; font-size: 11px; white-space: nowrap; }
.lp-device-name i { width: 4px; height: 4px; border-radius: 50%; background: #72aa9f; }
.lp-workspace-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 13px; color: #95a3b5; font-size: 11px; }
.lp-workspace-footer > span { display: flex; align-items: center; gap: 7px; }
.lp-workspace-footer .lp-status-dot { width: 4px; height: 4px; }
.lp-toolbar {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 17px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(650px, calc(100% - 128px));
  min-height: 69px;
  padding: 12px 13px;
  border: 1px solid #ffffffed;
  border-radius: 20px;
  background: linear-gradient(112deg, #ffffffd9 1%, #f4f9ff8c 43%, #ffffffad 100%);
  box-shadow: inset 0 2px 2px #fff, inset 0 -2px 2px #9cacbf24, inset 1px 0 1px #ffffffdb, inset -1px 0 1px #fff, 0 1px 0 1px #acbdd333, 0 17px 33px -18px #536d987d, 0 6px 15px #6d86a614;
  -webkit-backdrop-filter: blur(21px) saturate(1.3);
  backdrop-filter: blur(21px) saturate(1.3);
  transform: translateX(-50%);
}
.lp-toolbar::before { content: ""; position: absolute; pointer-events: none; inset: 4px; border: 1px solid #ffffff82; border-radius: 15px; }
.lp-toolbar::after { content: ""; position: absolute; pointer-events: none; top: 1px; left: 17%; right: 17%; height: 1px; background: linear-gradient(90deg, transparent, #fff 27%, #fff 73%, transparent); }
.lp-tool { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; padding: 5px 9px; border-right: 1px solid #becbd938; color: #637c9d; font-size: 13px; white-space: nowrap; }
.lp-tool:last-child { border-right: 0; }
.lp-tool .lp-icon { width: 21px; height: 21px; color: #7596bb; stroke-width: 1.35; }
.lp-tool:first-child .lp-icon { color: #5c86c4; }

@media (max-width: 1000px) {
  .lp-stage { height: 470px; }
  .lp-window { left: 20px; right: 20px; top: 23px; height: 389px; }
  .lp-rear-glass { height: 387px; }
  .lp-workspace { grid-template-columns: 126px minmax(0, 1fr); }
  .lp-sidebar { padding-inline: 9px; }
  .lp-sidebar-title { font-size: 11px; }
  .lp-side-item { gap: 8px; padding-inline: 9px; font-size: 12px; }
  .lp-main { padding-inline: 17px; }
  .lp-device-grid { gap: 9px; }
  .lp-device { padding: 4px 4px 0; border-radius: 9px; }
  .lp-screen { aspect-ratio: .54; }
  .lp-device-name { font-size: 10px; height: 27px; }
  .lp-apps { gap: 8px 6px; }
  .lp-clock { font-size: 27px; }
  .lp-toolbar { bottom: 20px; width: min(620px, calc(100% - 98px)); min-height: 67px; }
}
@media (max-width: 800px) {
  .lp-stage { height: 453px; }
  .lp-window { left: 17px; right: 17px; height: 365px; top: 24px; transform: perspective(1600px) rotateX(2deg); }
  .lp-rear-glass { top: 19px; height: 358px; }
  .lp-titlebar { height: 47px; padding-inline: 18px; }
  .lp-workspace { grid-template-columns: 110px minmax(0, 1fr); height: calc(100% - 47px); }
  .lp-sidebar { padding-top: 23px; padding-inline: 5px; }
  .lp-sidebar-title { padding-left: 9px; }
  .lp-side-item { font-size: 11px; gap: 7px; padding-left: 8px; }
  .lp-side-item .lp-icon { width: 15px; height: 15px; }
  .lp-sidebar-bottom { padding-left: 8px; font-size: 11px; }
  .lp-connection { padding-left: 9px; font-size: 11px; }
  .lp-main { padding: 20px 18px 15px; }
  .lp-main-heading { margin-bottom: 17px; }
  .lp-device-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
  .lp-device:nth-child(n+4) { display: none; }
  .lp-screen { height: 181px; aspect-ratio: auto; }
  .lp-device-name { font-size: 11px; }
  .lp-clock { top: 24px; font-size: 30px; }
  .lp-apps { bottom: 23%; left: 17%; right: 17%; gap: 9px; }
  .lp-apps i { max-width: 19px; }
  .lp-toolbar { bottom: 24px; width: calc(100% - 82px); max-width: 580px; }
  .lp-tool { gap: 8px; padding-inline: 6px; font-size: 12px; }
  .lp-tool .lp-icon { width: 20px; height: 20px; }
}
@media (max-width: 600px) {
  .lp-stage { height: 410px; }
  .lp-stage::before { inset: 30px 4% 18px; filter: blur(20px); }
  .lp-rear-glass { top: 24px; height: 309px; left: 9%; right: 8%; border-radius: 20px; }
  .lp-window { top: 32px; left: 9px; right: 9px; height: 313px; border-radius: 15px; transform: none; }
  .lp-titlebar { height: 43px; padding-inline: 14px; }
  .lp-title-brand { gap: 8px; font-size: 12px; }
  .lp-app-mark { width: 17px; height: 17px; }
  .lp-title-meta { gap: 13px; }
  .lp-preview { padding: 2px 6px; font-size: 10px; }
  .lp-window-controls { display: none; }
  .lp-workspace { display: block; height: calc(100% - 43px); }
  .lp-sidebar { display: none; }
  .lp-main { height: 100%; padding: 15px 13px 12px; }
  .lp-main-heading { margin-bottom: 13px; }
  .lp-main-heading strong { font-size: 13px; }
  .lp-view-mode { font-size: 10px; gap: 5px; }
  .lp-device-grid { gap: 10px; }
  .lp-device { padding: 4px 4px 0; border-radius: 9px; }
  .lp-screen { height: 180px; border-radius: 6px; }
  .lp-device-name { height: 25px; font-size: 10px; padding-inline: 2px; }
  .lp-clock { top: 23px; font-size: 28px; }
  .lp-apps { bottom: 24%; left: 13%; right: 13%; gap: 8px 6px; }
  .lp-apps i { max-width: 18px; border-radius: 4px; }
  .lp-dock { bottom: 12px; height: 26px; left: 10%; right: 10%; border-radius: 7px; }
  .lp-dock i { width: 11px; height: 11px; border-radius: 3px; }
  .lp-workspace-footer { display: none; }
  .lp-toolbar { width: calc(100% - 38px); min-height: 65px; bottom: 28px; padding: 10px 6px; border-radius: 18px; }
  .lp-toolbar::before { border-radius: 13px; }
  .lp-tool { flex-direction: column; gap: 5px; padding: 1px 4px; font-size: 10px; line-height: 1.35; }
  .lp-tool .lp-icon { width: 19px; height: 19px; }
}
@media (max-width: 380px) {
  .lp-stage { height: 386px; }
  .lp-window { left: 5px; right: 5px; height: 294px; top: 29px; }
  .lp-rear-glass { height: 287px; }
  .lp-titlebar { padding-inline: 11px; }
  .lp-main { padding-inline: 10px; }
  .lp-device-grid { gap: 7px; }
  .lp-screen { height: 160px; }
  .lp-clock { font-size: 25px; top: 23px; }
  .lp-apps { left: 12%; right: 12%; gap: 7px 5px; }
  .lp-apps i { max-width: 15px; }
  .lp-apps i::after { inset: 3px; }
  .lp-apps i:nth-child(2n)::after { inset: 3px 4px; }
  .lp-device-name { font-size: 9px; }
  .lp-toolbar { width: calc(100% - 26px); bottom: 29px; }
}
@media (prefers-reduced-transparency: reduce) {
  .lp-toolbar { background: #f4f8fd; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
