.playground { color:#f2f2f4; background:#080808; padding:clamp(48px,7vw,100px) 0; }
.pg-wrap { width:min(1220px,calc(100% - 64px)); margin:auto; }
.pg-heading,.pg-chrome,.pg-title-group,.pg-project-actions,.pg-work-actions,.pg-transport,.pg-dialog-head { display:flex; align-items:center; }
.pg-heading { align-items:end; justify-content:space-between; gap:24px; margin-bottom:28px; }
.pg-heading h2 { font-size:clamp(2.45rem,4.9vw,4.6rem); font-weight:620; }
.pg-heading p { margin:10px 0 0; font-size:clamp(1rem,1.3vw,1.15rem); color:#afafb5; }
.pg-transform { border-radius:999px; white-space:nowrap; color:#101012; background:#f4f4f6; min-height:43px; padding:8px 18px; font-size:.92rem; font-weight:620; }
.pg-transform:hover { background:#fff; }.pg-transform span { margin-left:3px; }
.pg-symbols { width:0; height:0; position:absolute; pointer-events:none; overflow:hidden; }
.pg-window { position:relative; --surface:#19191a; --border:#ffffff14; --secondary:#afafb3; color-scheme:dark; overflow:clip; isolation:isolate; border-radius:18px; border:1px solid #4b4b4e; background:var(--surface); color:#f0f0f2; box-shadow:0 2px 5px #0005,0 28px 78px #0009; font:500 13px/1.32 -apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif; text-align:left; }
.pg-window button,.pg-dialog button { line-height:1.24; font-family:inherit; color:inherit; cursor:pointer; }
.pg-window button:disabled,.pg-dialog button:disabled { opacity:.36; cursor:default; }
.pg-window :focus-visible,.pg-dialog :focus-visible { outline:2px solid #88bbff; outline-offset:2px; }
.pg-window button,.pg-dialog button { transition:background-color .14s ease,color .14s ease,box-shadow .14s ease; }
.pg-window button svg,.pg-dialog button svg,.pg-more-tools svg { height:16px; width:16px; flex:none; }
.pg-chrome { gap:8px; min-height:46px; justify-content:space-between; padding:5px 11px 5px 14px; background:linear-gradient(172deg,#29292b 0%,#232325 48%,#212122 100%); border-bottom:1px solid var(--border); box-shadow:inset 0 1px #ffffff09; }
.pg-title-group,.pg-project-actions { gap:8px; min-width:0; }
.pg-project-actions { flex:none; }
.pg-lights { display:flex; align-items:center; gap:5px; margin-right:5px; }
.pg-lights i { width:10px; height:10px; border-radius:50%; background:#6b6b6e; box-shadow:inset 0 .5px 1px #fff3; }
.pg-glass,.pg-dialog-head button { background:linear-gradient(150deg,#ffffff0d,#ffffff04 65%),#29292b; border:1px solid #ffffff17; border-radius:999px; box-shadow:inset 0 .6px #ffffff10,0 1px 2px #0003; }
.pg-glass:hover:not(:disabled),.pg-glass[aria-expanded="false"]:hover { background-color:#3a3a3d; }
.pg-icon,.pg-control { display:inline-flex; justify-content:center; align-items:center; }
.pg-icon { width:32px; height:30px; padding:0; flex:none; }

.pg-project { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; background:transparent; color:#e2e2e5; border:0; border-radius:5px; padding:4px 5px; font:600 13px/1.3 -apple-system,BlinkMacSystemFont,sans-serif; text-align:left; }
.pg-static video { width:100%; display:block; height:auto; max-height:790px; background:#19191a; object-fit:contain; }
.pg-workbench { display:grid; grid-template-columns:minmax(0,1fr) clamp(204px,22%,288px); grid-template-rows:auto minmax(0,1fr); transition:grid-template-columns .22s ease; }
.pg-window.pg-hide-sidebar .pg-workbench { grid-template-columns:minmax(0,1fr) 0; }
.pg-work { grid-area:1/1; display:flex; min-width:0; flex-direction:column; background:var(--surface); }
.pg-work-actions { position:relative; z-index:3; min-height:40px; padding:5px 8px; gap:6px; }
.pg-control { gap:5px; min-height:25px; padding:3px 8px; border-radius:6px; background:#303032; box-shadow:inset 0 1px #ffffff09,0 1px 2px #0003; font-size:12px; font-weight:540; }
.pg-control svg { width:15px; height:15px; }
.pg-control:hover,.pg-control[aria-expanded=true] { background:#414144; }
.pg-cleanup { margin-left:auto; }
.pg-settings { position:absolute; top:calc(100% - 3px); left:8px; width:min(288px,calc(100% - 16px)); z-index:5; border:1px solid #ffffff30; padding:14px; border-radius:13px; background:#303034f5; box-shadow:0 8px 30px #0009,inset 0 1px #ffffff0d; backdrop-filter:blur(22px) saturate(1.12); }
.pg-settings h3,.pg-inspector h3 { font-size:13px; font-weight:620; letter-spacing:normal; line-height:1.35; margin:0 0 8px; }
.pg-preview { position:relative; display:grid; place-items:center; min-width:0; padding:0 8px; }
.pg-stage { width:100%; position:relative; background:#0c0c0d; border-radius:5px; overflow:hidden; aspect-ratio:16/9; isolation:isolate; }
.pg-transport { min-height:40px; gap:5px; padding:3px 8px; color:#d5d5d9; }
.pg-transport .pg-icon { background:transparent; border-radius:6px; width:30px; }
.pg-transport .pg-icon:hover:not(:disabled) { background:#ffffff12; }
.pg-transport .pg-icon svg { width:15px; height:15px; }
.pg-transport output,.pg-resolution,.pg-item-row small { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-variant-numeric:tabular-nums; }
.pg-transport output { color:#c3c3c8; white-space:nowrap; font-size:11px; }
.pg-transport input { flex:1 1 70px; min-width:24px; max-width:155px; accent-color:#bdbdc1; height:14px; opacity:.55; }
.pg-transport input:focus-visible,.pg-transport input:hover { opacity:1; }
.pg-resolution { margin-left:auto; color:#a7a7ad; font-size:10px; padding:0 3px; }
.pg-reader { position:absolute; top:8%; left:12%; max-width:65%; max-height:50%; overflow:auto; border-radius:9px; color:white; background:#202022ed; box-shadow:0 6px 20px #0006; padding:8px 11px; font-size:clamp(.68rem,1.05vw,.94rem); cursor:move; touch-action:none; z-index:2; }
.pg-reader strong { display:block; font-size:.7em; color:#bdbdc2; }.pg-reader span { white-space:pre-line; }
.pg-tools { position:relative; grid-area:1/2/3/3; min-width:0; overflow:hidden; display:flex; flex-direction:column; background:linear-gradient(148deg,#29292c,#252526 48%,#262627); border-left:1px solid #ffffff13; }
.pg-hide-sidebar .pg-tools { visibility:hidden; border:0; }
.pg-tabs { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:2px; padding:6px 5px; border-bottom:1px solid #ffffff12; background:linear-gradient(125deg,#232324,#202022); }
.pg-tabs button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:47px; padding:3px 0; font-size:10px; font-weight:590; color:#c4c4c8; background:transparent; border-radius:6px; }
.pg-tabs button:hover { background:#ffffff12; color:white; }
.pg-tabs button svg,.pg-tabs button span { width:17px; height:17px; line-height:17px; }
.pg-tabs button span,.pg-aa { font-size:15px; font-weight:425; }
.pg-inspector { flex:1 1 0; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#505053 transparent; padding:12px; }
.pg-item-group { margin:0 0 19px; }
.pg-item-group h3 { font-size:11px; color:#adadb3; margin:0 0 2px; padding:1px 1px 7px; border-bottom:1px solid var(--border); }
.pg-item-row { min-width:0; width:100%; padding:6px 3px; display:grid; align-items:center; gap:7px; grid-template-columns:17px minmax(0,1fr) auto; min-height:34px; border-bottom:1px solid var(--border); color:#eeeeef; background:transparent; text-align:left; font-size:12px; }
.pg-item-row:hover { background:#ffffff09; }
.pg-item-row>span:not(.pg-aa) { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pg-item-row small { font-size:9px; color:#c5c5cb; }
.pg-item-row svg:last-child { height:11px; width:11px; color:#9d9da5; }
.pg-item-row svg:first-child,.pg-aa { color:#c1d7ee; }
.pg-more-tools { margin:15px 0 0; color:#adadb4; }
.pg-more-tools summary { display:flex; align-items:center; gap:8px; cursor:pointer; min-height:30px; padding:2px 4px; font-size:11px; list-style:none; }
.pg-more-tools summary::-webkit-details-marker { display:none; }.pg-more-tools summary:hover { color:white; }
.pg-toolshelf { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; margin:6px 0; }
.pg-toolshelf button,.pg-dialog-body button,.pg-action { border:1px solid #ffffff10; border-radius:6px; background:#ffffff0d; min-height:29px; padding:5px 6px; font-size:11px; line-height:1.25; }
.pg-toolshelf button:hover,.pg-dialog-body button:hover,.pg-action:hover { background:#ffffff1c; }
.pg-all-items { display:flex; align-items:center; gap:1px; padding:2px 2px 8px 0; color:#78b6ff!important; background:none; font-size:12px; }
.pg-all-items svg { width:12px!important; }
.pg-inspector .pg-fields h3 { margin:3px 0 10px; }
.pg-field { display:flex; align-items:center; justify-content:space-between; gap:7px; min-height:32px; font-size:12px; color:#cacacf; }
.pg-field>span { flex:0 1 auto; }
.pg-field input,.pg-field select,.pg-field textarea,.pg-dialog-body input,.pg-dialog-body select,.pg-dialog-body textarea { min-width:0; border:1px solid #ffffff17; border-radius:5px; background:#1c1c1e; color:#f0f0f2; font:inherit; padding:4px 6px; }
.pg-field input:not([type=checkbox]):not([type=color]),.pg-field select { width:54%; }
.pg-field input[type=range],.pg-field input[type=checkbox] { accent-color:#71a9eb; }
.pg-field input[type=color] { width:46px; height:22px; padding:0; border:0; }
.pg-field textarea { width:100%; resize:vertical; }
.pg-field.is-stack { align-items:stretch; flex-direction:column; gap:4px; margin:6px 0; }
.pg-fields details { margin:8px 0; font-size:12px; color:#cbcbce; }.pg-fields summary { cursor:pointer; min-height:27px; padding:4px 0; }
.pg-layer-heading { display:flex; min-height:30px; align-items:center; }
.pg-layer-heading button { display:inline-flex; align-items:center; gap:6px; min-width:0; background:transparent; text-align:left; font-size:13px; font-weight:630; }
.pg-layer-heading button span { overflow:hidden; text-overflow:ellipsis; }.pg-layer-heading button svg { width:12px; height:12px; color:#a9a9ad; }
.pg-layer-heading input { min-width:0; width:100%; font:inherit; color:inherit; background:#ffffff0a; border:0; border-radius:4px; padding:5px 6px; }
.pg-timing { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; margin:12px 0 7px; padding-top:9px; border-top:1px solid var(--border); }
.pg-timing h4 { grid-column:1/-1; padding:0; margin:0 0 2px; font-weight:600; font-size:12px; }
.pg-timing .pg-field { display:flex; flex-direction:column; align-items:stretch; gap:4px; color:#b4b4ba; font-size:10px; }
.pg-timing .pg-field input[type=number] { width:100%; font-size:12px; }
.pg-volume .pg-field { display:grid; grid-template-columns:1fr auto; gap:3px 7px; }
.pg-volume .pg-field output { color:#efeff2; }.pg-volume .pg-field input[type=range] { grid-column:1/-1; width:100%; margin:0; accent-color:#d8d8dc; }
.pg-hint { margin:8px 0; color:#aeafb4; font-size:11px; line-height:1.45; }
.pg-timeline { grid-area:2/1; min-width:0; display:grid; grid-template-rows:1fr; transition:grid-template-rows .22s ease,opacity .16s ease; }
.pg-timeline > .pgt { min-height:0; overflow:hidden; }
.pg-hide-timeline .pg-timeline { grid-template-rows:0fr; opacity:0; pointer-events:none; }
.pg-status { min-height:20px; margin-top:8px; color:#b9bac1; font-size:.82rem; }
.pg-dialog { width:min(420px,calc(100% - 28px)); max-height:85dvh; overflow:auto; overscroll-behavior:contain; color-scheme:dark; color:#f4f4f6; background:#29292bf7; border:1px solid #ffffff29; border-radius:17px; box-shadow:0 30px 90px #0009; padding:17px; }
.pg-dialog::backdrop { background:#070709a8; }.pg-dialog-head { justify-content:space-between; padding-bottom:9px; }.pg-dialog-head h3 { font-size:1.23rem; }
.pg-dialog-head button { width:30px; height:30px; font-size:18px; }
.pg-dialog-body { display:grid; gap:10px; font-size:.88rem; }.pg-dialog-body p { color:#c5c5cb; }.pg-dialog-body button { padding:8px; font-size:.85rem; }.pg-dialog-body progress { width:100%; }
.pg-cut-list { max-height:47vh; overflow:auto; }.pg-dialog-status:empty { display:none; }
@media(min-width:681px) {
 .pg-workbench { height:clamp(386px,min(61vw,calc(100svh - 136px)),780px); grid-template-rows:minmax(0,1fr) auto; }
 .pg-work { min-height:0; }
 .pg-work-actions,.pg-transport { flex:none; }
 .pg-preview { flex:1 1 0; min-height:0; padding:0; margin:0 8px; background:#0d0d0e; border-radius:5px; container-type:size; }
 .pg-preview .pg-stage { width:min(100cqw,calc(100cqh * 16 / 9)); }
 .pg-timeline { max-height:min(33svh,320px); }
 .pg-timeline > .pgt { overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; }
}
@media(max-width:800px) {
 .pg-wrap { width:calc(100% - 32px); }
 .pg-transport { gap:3px; }.pg-transport input { max-width:80px; }
}
@media(max-width:680px) {
 .pg-wrap { width:calc(100% - 24px); }
 .pg-heading { align-items:start; flex-direction:column; gap:12px; margin-bottom:17px; }.pg-heading p { line-height:1.45; }
 .pg-window { border-radius:14px; }.pg-workbench,.pg-window.pg-hide-sidebar .pg-workbench { grid-template-columns:minmax(0,1fr); grid-template-rows:auto auto auto; transition:none; }
 .pg-chrome { padding:4px 6px; min-height:44px; }.pg-title-group,.pg-project-actions { gap:3px; }
 .pg-lights { display:none; }.pg-icon { width:32px; height:33px; }
 .pg-project { font-size:12px; }.pg-control { min-height:32px; font-size:11px; }.pg-work-actions { gap:4px; padding-inline:5px; }
 .pg-preview { padding:0 5px; }.pg-transport { padding:3px 5px; min-height:40px; }.pg-transport .pg-icon { width:27px; height:35px; }
 .pg-transport input { min-width:12px; flex:1; }.pg-resolution { display:none; }
 .pg-tools { grid-area:3/1; border-left:0; border-top:1px solid var(--border); }.pg-hide-sidebar .pg-tools { display:none; }
 .pg-tabs { padding:3px; }.pg-tabs button { min-height:41px; flex-direction:row; gap:5px; font-size:12px; }
 .pg-inspector { flex:0 1 auto; max-height:330px; padding:10px 12px; }
 .pg-item-group { margin-bottom:10px; }.pg-item-row { min-height:38px; font-size:13px; }
 .pg-more-tools { margin:6px 0 0; }.pg-field { min-height:38px; }.pg-toolshelf button,.pg-action { min-height:35px; }
 .pg-field input[type=text],.pg-field input[type=number],.pg-field textarea,.pg-dialog-body input,.pg-dialog-body textarea { font-size:16px; }
 .pg-field input[type=range] { min-height:35px; }
}
@media(max-width:360px) {
 .pg-work-actions button,.pgt-header button { white-space:nowrap; }
 .pg-work-actions button svg,.pgt .pgt-header button:not(.pgt-more) svg { display:none; }
}
@media(prefers-reduced-transparency:reduce) { .pg-settings,.pg-chrome,.pg-dialog { background:#29292b; backdrop-filter:none; } }
@media(prefers-reduced-motion:reduce) { .pg-workbench,.pg-timeline,.pg-window button { transition:none; } }

.pg-window:has(.pg-mac-notice[open])::after {
  content:""; position:absolute; inset:0; z-index:8; background:rgb(0 0 0 / .58);
}
.pg-mac-notice {
  position:fixed; inset:auto; transform:translate(-50%, -50%); margin:0;
  width:min(334px, calc(100vw - 42px)); padding:28px 26px 26px;
  border:1px solid #ffffff29; border-radius:20px; background:#252528; color:#f6f6f7;
  text-align:center; box-shadow:0 15px 45px #0006;
}
.pg-mac-notice::backdrop { background:transparent; }
.pg-mac-notice img { display:block; margin:0 auto 14px; }
.pg-mac-notice h3 { font-size:1.28rem; font-weight:600; }
.pg-mac-notice p { margin:9px auto 0; color:#c3c3cb; font-size:.92rem; line-height:1.4; text-wrap:balance; }
.pg-mac-notice form { position:absolute; top:8px; right:8px; }
.pg-mac-notice form button { width:34px; height:34px; border-radius:50%; background:#ffffff0c; color:#d7d7dc; font-size:21px; }
.pg-mac-notice form button:hover { background:#ffffff1a; }
