.yp-scope{min-height:100vh}.yp-header-inner{margin:0 auto;max-width:1140px;padding:0 24px}@media (max-width:820px){.yp-header-inner{padding:0 18px}}.yp-scope{--ease-out:cubic-bezier(0.23,1,0.32,1);--ease-in-out:cubic-bezier(0.77,0,0.175,1);--bg:#08080a;--panel:#121215;--panel-2:#17171b;--line:hsla(0,0%,100%,.08);--line-strong:hsla(0,0%,100%,.16);--text:#f4f4f5;--muted:hsla(0,0%,100%,.5);--muted-2:hsla(0,0%,100%,.35);--accent:#fff;--pop:#1b1b1f;--code-bg:#000;--selection:hsla(0,0%,100%,.18);--icon-invert:1}.yp-scope *{box-sizing:border-box}.yp-scope{background:var(--bg);color:var(--text);font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;margin:0;padding:0;-webkit-font-smoothing:antialiased}.yp-scope button{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;transition:transform .14s var(--ease-out),background-color .16s var(--ease-out),color .16s var(--ease-out),border-color .16s var(--ease-out)}.yp-scope button:active{transform:scale(.96)}.yp-scope .btn:focus-visible,.yp-scope .cp-preset:focus-visible,.yp-scope .cp-trigger:focus-visible,.yp-scope .seg-btn:focus-visible,.yp-scope button:focus-visible,.yp-scope summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.yp-scope input,.yp-scope select{font-family:inherit}.yp-scope a{color:inherit}.yp-scope ::-moz-selection{background:var(--selection)}.yp-scope ::selection{background:var(--selection)}.yp-scope input[type=color]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:1px solid var(--line-strong);border-radius:9px;cursor:pointer;height:34px;padding:0;width:34px}.yp-scope input[type=color]::-webkit-color-swatch-wrapper{padding:3px}.yp-scope input[type=color]::-webkit-color-swatch{border:none;border-radius:6px}.yp-scope input[type=range]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;height:16px;outline:none;width:100%}.yp-scope input[type=range]::-webkit-slider-runnable-track{background:var(--line-strong);border-radius:4px;height:4px}.yp-scope input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--text);border-radius:50%;cursor:pointer;height:16px;margin-top:-6px;-webkit-transition:transform .14s var(--ease-out);transition:transform .14s var(--ease-out);width:16px}.yp-scope input[type=range]::-webkit-slider-thumb:active{transform:scale(1.15)}.yp-scope input[type=range]:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 3px var(--selection)}.yp-scope input[type=range]:focus-visible::-moz-range-thumb{box-shadow:0 0 0 3px var(--selection)}.yp-scope input[type=range]::-moz-range-track{background:var(--line-strong);border-radius:4px;height:4px}.yp-scope input[type=range]::-moz-range-thumb{background:var(--text);border:none;border-radius:50%;cursor:pointer;height:16px;width:16px}.yp-scope input[type=date],.yp-scope input[type=text]{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;color:var(--text);font-size:14px;padding:9px 12px;width:100%}.yp-scope input[type=text]::-moz-placeholder{color:var(--muted-2)}.yp-scope input[type=text]::placeholder{color:var(--muted-2)}.yp-scope input[type=text]:focus{border-color:var(--line-strong);outline:none}.yp-scope input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;filter:invert(var(--icon-invert));opacity:.6}@media (prefers-reduced-motion:reduce){.yp-scope *{animation-duration:.01ms!important;transition-duration:.01ms!important}}.yp-scope .wrap{align-items:start;display:grid;gap:56px;grid-template-columns:408px 1fr;margin:0 auto;max-width:1140px;padding:48px 24px 96px}@media (max-width:820px){.yp-scope .wrap{gap:32px;grid-template-columns:1fr;padding:32px 18px 72px}}@media (max-width:480px){.yp-scope .seg[aria-label=mode],.yp-scope .seg[aria-label=style]{overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:none;-webkit-overflow-scrolling:touch}.yp-scope .seg[aria-label=mode]::-webkit-scrollbar,.yp-scope .seg[aria-label=style]::-webkit-scrollbar{display:none}.yp-scope .seg[aria-label=mode] .seg-btn,.yp-scope .seg[aria-label=style] .seg-btn{flex:0 0 auto;padding:10px 18px;scroll-snap-align:center;white-space:nowrap}.yp-scope .steps .actions{flex-direction:column}}.yp-scope .preview-col{align-items:center;display:flex;flex-direction:column;gap:14px;min-width:0;position:sticky;top:40px}@media (max-width:820px){.yp-scope .preview-col{position:static}}.yp-scope .phone{background:#1c1c20;border:1px solid var(--line-strong);border-radius:58px;box-shadow:0 2px 4px rgba(0,0,0,.4),0 12px 28px -12px rgba(0,0,0,.6),0 48px 96px -40px rgba(0,0,0,.9);padding:16px}.yp-scope .screen{border-radius:42px;height:780px;overflow:hidden;position:relative;width:360px}@media (max-width:440px){.yp-scope .phone{--yp-fit:min(1,calc((100vw - 36px) / 394px));margin-bottom:calc(-814px*(1 - var(--yp-fit)));transform:scale(var(--yp-fit));transform-origin:top center}}.yp-scope .island{background:#000;border-radius:17px;height:31px;left:50%;position:absolute;top:16px;transform:translateX(-50%);width:114px;z-index:2}.yp-scope .preview-foot{align-items:center;display:flex;flex-direction:column;gap:12px}.yp-scope .preview-caption{color:var(--muted);font-size:12.5px;font-variant-numeric:tabular-nums;letter-spacing:.3px}.yp-scope .preview-foot .seg{width:auto}.yp-scope .preview-foot .seg-btn{flex:0 0 auto;padding:6px 16px}.yp-scope .freq{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;color:var(--muted);font-size:12.5px;line-height:1.55;padding:10px 12px}.yp-scope .freq.warn{background:rgba(245,158,11,.08);border-color:rgba(245,158,11,.3);color:#fcd9a8}.yp-scope .controls-col{display:flex;flex-direction:column;gap:18px;min-width:0}.yp-scope .head h1{font-size:26px;letter-spacing:-.5px;margin:0 0 6px;text-wrap:balance}.yp-scope .head p{color:var(--muted);font-size:14px;line-height:1.5;margin:0;max-width:46ch;text-wrap:pretty}.yp-scope .card{background:var(--panel);border:1px solid var(--line);border-radius:18px;display:flex;flex-direction:column;gap:16px;padding:18px}.yp-scope .card:has(.cp-pop){z-index:5}.yp-scope .field{display:flex;flex-direction:column;gap:9px}.yp-scope .field-label{color:var(--muted-2);font-size:11px;letter-spacing:1.4px;text-transform:uppercase}.yp-scope .two{display:grid;gap:16px;grid-template-columns:1fr 1fr}@media (max-width:540px){.yp-scope .two{gap:14px;grid-template-columns:1fr}}.yp-scope .seg{background:var(--panel-2);border:1px solid var(--line);border-radius:12px;display:flex;gap:4px;padding:4px;position:relative}.yp-scope .seg-btn{border-radius:8px;color:var(--muted);flex:1;font-size:13px;font-weight:500;min-width:0;padding:10px 6px;position:relative}.yp-scope .seg-btn[data-active=true]{color:var(--text)}.yp-scope .seg-ind{background:var(--ind);border:1px solid var(--line-strong);border-radius:8px;inset:0;position:absolute;z-index:0}.yp-scope .seg-label{position:relative;z-index:1}.yp-scope .color-row{align-items:center;display:flex;gap:10px}.yp-scope .swatches{display:flex;flex-wrap:wrap;gap:8px}.yp-scope .swatch{align-items:center;border:1px solid var(--line);border-radius:8px;display:flex;height:30px;justify-content:center;width:30px}.yp-scope .swatch span{border-radius:50%;display:block;height:12px;width:12px}.yp-scope .url-box{background:var(--panel-2);border:1px solid var(--line);border-radius:10px;max-height:64px;overflow:auto;padding:10px 12px}.yp-scope .url-text{color:var(--muted);font-size:12px;line-height:1.5;word-break:break-all}.yp-scope .mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.yp-scope .actions{display:flex;gap:10px}.yp-scope .btn{align-items:center;border:1px solid var(--line-strong);border-radius:11px;display:inline-flex;flex:1;font-size:14px;font-weight:600;justify-content:center;padding:11px 14px;text-align:center;text-decoration:none;transition:transform .14s var(--ease-out),background-color .16s var(--ease-out),border-color .16s var(--ease-out),opacity .16s var(--ease-out)}.yp-scope .btn:active{transform:scale(.96)}.yp-scope .btn.primary{background:var(--accent);border-color:var(--accent);color:var(--on-accent)}.yp-scope .btn.ghost{background:transparent;color:var(--text)}.yp-scope .hint{color:var(--muted-2);font-size:12.5px;line-height:1.55;margin:0}.yp-scope .hint code,.yp-scope .steps code{background:var(--panel-2);border-radius:5px;font-family:ui-monospace,monospace;font-size:11.5px;padding:1px 5px}.yp-scope .steps h2{font-size:16px;letter-spacing:-.2px;margin:0;text-wrap:balance}.yp-scope .steps-intro{color:var(--muted);font-size:13px;line-height:1.55;margin:0;text-wrap:pretty}.yp-scope .steps li{text-wrap:pretty}.yp-scope .steps ol{display:flex;flex-direction:column;gap:10px;margin:0;padding-left:20px}.yp-scope .steps li{color:var(--text);font-size:13px;line-height:1.55}.yp-scope .steps li b{font-weight:600}.yp-scope .icloud{display:flex;flex-direction:column;gap:10px}.yp-scope .steps li i{color:var(--muted);font-style:normal}.yp-scope .foot{color:var(--muted-2);font-size:12px;padding-top:4px}.yp-scope .head-top{align-items:center;display:flex;gap:12px;justify-content:space-between;margin-bottom:6px}.yp-scope .head-top h1{margin:0}.yp-scope .head-top .seg{flex:0 0 auto}.yp-scope .head-top .seg-btn{flex:0 0 auto;padding:6px 14px}.yp-scope .themes{display:flex;flex-wrap:wrap;gap:8px}.yp-scope .theme{align-items:center;border:1px solid var(--line);border-radius:11px;display:flex;height:40px;justify-content:center;width:40px}.yp-scope .theme span{border-radius:50%;display:block;height:13px;width:13px}.yp-scope .adv summary{color:var(--muted);cursor:pointer;font-size:12.5px;padding:2px 0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.yp-scope .adv summary::marker{color:var(--muted-2)}.yp-scope .adv[open] summary{color:var(--text);margin-bottom:8px}.yp-scope .code-block{background:var(--code-bg);border:1px solid var(--line);border-radius:10px;color:var(--muted);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11.5px;line-height:1.5;margin:8px 0 0;padding:12px;white-space:pre-wrap;word-break:break-all}.yp-scope .cp{position:relative}.yp-scope .cp-trigger{align-items:center;background:var(--panel-2);border:1px solid var(--line);border-radius:10px;display:flex;gap:10px;padding:7px 10px;width:100%}.yp-scope .cp-trigger:hover{border-color:var(--line-strong)}.yp-scope .cp-swatch{border:1px solid var(--line-strong);border-radius:6px;flex:0 0 auto;height:22px;width:22px}.yp-scope .cp-swatch.sm{height:28px;width:28px}.yp-scope .cp-hex{color:var(--text);font-size:12.5px;letter-spacing:.3px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.yp-scope .cp-pop{background:var(--pop);border:1px solid var(--line-strong);border-radius:14px;box-shadow:0 1px 2px rgba(0,0,0,.4),0 8px 18px -8px rgba(0,0,0,.55),0 24px 48px -20px rgba(0,0,0,.7);display:flex;flex-direction:column;gap:12px;left:0;padding:12px;position:absolute;top:calc(100% + 8px);width:min(232px,calc(100vw - 24px));z-index:30}.yp-scope .cp-sv{border-radius:10px;cursor:crosshair;height:140px;overflow:hidden;position:relative;touch-action:none;width:100%}.yp-scope .cp-sv-white{background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0));inset:0;position:absolute}.yp-scope .cp-sv-black{background:linear-gradient(0deg,#000,transparent);inset:0;position:absolute}.yp-scope .cp-sv-knob{border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.4);height:16px;pointer-events:none;position:absolute;transform:translate(-50%,-50%);width:16px}.yp-scope .cp-hue{background:linear-gradient(90deg,red,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);border-radius:8px;cursor:pointer;height:14px;position:relative;touch-action:none;width:100%}.yp-scope .cp-hue-knob{background:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px rgba(0,0,0,.4);height:16px;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);width:16px}.yp-scope .cp-hex-row{align-items:center;display:flex;gap:10px}.yp-scope .cp-input{background:var(--panel-2);border:1px solid var(--line);border-radius:8px;color:var(--text);flex:1;font-size:13px;letter-spacing:.5px;min-width:0;outline:none;padding:8px 10px}.yp-scope .cp-input:focus{border-color:var(--line-strong)}.yp-scope .cp-input:focus-visible{border-color:var(--accent)}.yp-scope .cp-presets{display:grid;gap:6px;grid-template-columns:repeat(8,1fr)}.yp-scope .cp-preset{aspect-ratio:1;border:1px solid var(--line);border-radius:6px}.yp-scope .cp-preset[data-active=true]{outline:2px solid var(--text);outline-offset:1px}