.cb-home .pd-overlay{padding:24px;background:#14141a6b;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);z-index:420;font-family:Outfit,system-ui,sans-serif;color:#1d1d1f}.cb-home .pd-overlay .cb-dialog{width:min(1120px,100%);max-width:none;height:min(600px,calc(100dvh - 48px));max-height:none;padding:0;border-radius:20px;gap:0;background:none;overflow:hidden;box-shadow:0 40px 100px -30px #0008}.pd-overlay *{box-sizing:border-box}.cb-home .pd-overlay :where(button,select){font:inherit;cursor:pointer;border:0;color:inherit}.pd-overlay :focus-visible{outline:2px solid #1d1d1f;outline-offset:3px}.pd-frame{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);height:100%;min-height:0;gap:14px;padding:18px;border-radius:inherit;overflow:hidden}.pd-color-stage{position:relative;border-radius:16px;overflow:hidden}.pd-color-stage,.pd-swatches{display:flex;min-width:0;min-height:0}.pd-swatches{flex:1;flex-direction:column}.cb-home .pd-swatches button{flex:1;min-height:0;min-width:0;display:flex;align-items:center;text-align:left;padding:20px;transition:flex .4s cubic-bezier(.2,1,.3,1)}.pd-swatches button:focus-visible,.pd-swatches button:hover{flex:1.4}.pd-swatches span{font-family:JetBrains Mono,monospace;font-size:12px;font-weight:400;white-space:nowrap}.pd-details{grid-template-rows:minmax(0,1fr) auto;padding:20px;background:#ffffffde;border:1px solid #ffffffad;border-radius:16px}.pd-detail-body,.pd-details{display:grid;gap:12px;min-width:0;min-height:0}.pd-detail-body{grid-template-rows:40px max-content 50px minmax(104px,1fr);overflow:auto;scrollbar-width:thin}.pd-detail-body :focus-visible{outline-offset:-2px}.pd-top{justify-content:space-between;gap:8px}.pd-count,.pd-top{display:flex;align-items:center}.pd-count{gap:10px;font-size:14px;font-weight:600;color:#6e6e73;white-space:nowrap}.pd-count>span{display:flex;width:48px;height:13px;overflow:hidden;border-radius:3px}.pd-count i{flex:1}.pd-window-actions{display:flex;gap:6px}.cb-home .pd-icon{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;padding:0;background:#1d1d1f0d;color:#515154}.cb-home .pd-dark{background:#1d1d1f;color:#fff}.cb-home .pd-dark:hover{background:#000;color:#fff}.cb-home .pd-details h2{min-width:0;min-height:0;align-self:center;margin:0;font-size:48px;line-height:1.08;letter-spacing:-.045em;font-weight:800;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:2.2em}.cb-home .pd-details h2.pd-title-long{font-size:28px;line-height:1.25;letter-spacing:-.02em;-webkit-line-clamp:2;max-height:2.5em}.pd-details h2 em{font-family:Newsreader,Georgia,serif;font-weight:400;font-size:1.04em;letter-spacing:-.04em}.pd-primary-actions{display:flex;gap:10px}.cb-home .pd-button{height:50px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 18px;font-size:16px;font-weight:600;white-space:nowrap}.pd-primary-actions>.pd-button:first-child{flex:1;background:#1d1d1f;color:#fff}.pd-primary-actions>.pd-button:first-child:hover{background:#000}.pd-code-section{display:flex;flex-direction:column;gap:10px;height:100%;min-height:0;min-width:0}.pd-code-toolbar{display:flex;align-items:center;gap:8px;min-width:0;flex:none}.pd-formats{display:flex;flex:1;min-width:0;padding:4px;gap:2px;border-radius:12px;background:#e9e7eb}.cb-home .pd-formats button{flex:1;min-width:0;padding:9px 5px;border-radius:8px;font-size:12px;line-height:1.3;font-weight:600;color:#77717e;background:transparent;transition:background .18s,color .18s,box-shadow .18s}.cb-home .pd-formats button:hover{color:#29242f;background:#ffffff70}.cb-home .pd-formats button[aria-selected=true]{color:#29242f;background:#fff;box-shadow:0 2px 6px #30283a12}.cb-home .pd-copy-all{display:grid;place-items:center;flex:none;width:40px;height:40px;padding:0;border-radius:11px;background:#e3efff;color:#376ab1}.cb-home .pd-copy-all:hover{background:#d2e4ff}.pd-output{flex:1 1 0;min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#686371 #14141a;background:#14141a;color:#e9e9ee;border:1px solid #24242e;border-radius:13px;padding:16px}.cb-home .pd-output pre{margin:0;white-space:pre;font-family:JetBrains Mono,monospace;font-size:12px;line-height:1.7}.pd-code-color{display:inline;white-space:nowrap}.pd-code-color i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;box-shadow:0 0 0 1px #ffffff26;vertical-align:baseline}.pd-footer{display:flex;justify-content:flex-end;align-items:flex-start;gap:12px}.cb-home .pd-footer-action{min-width:72px;height:72px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;padding:0 4px;border-radius:12px;background:none;color:#62596c}.pd-action-icon{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#eae4f2;transition:background .2s,transform .2s}.pd-action-icon svg{width:26px;height:26px}.pd-footer-action:hover .pd-action-icon{transform:translateY(-2px)}.pd-footer>.pd-footer-action .pd-action-icon{background:#e3efff;color:#376ab1}.pd-footer>.pd-footer-action:hover .pd-action-icon{background:#d2e4ff}.pd-footer .cp-download .pd-action-icon{background:#e0f3e9;color:#2e8460}.pd-footer .cp-download .pd-footer-action:hover .pd-action-icon{background:#ccebdc}.pd-footer-action small{font-size:11px;font-weight:500;line-height:1.3;white-space:nowrap}.pd-overlay .cp-download{position:relative;min-width:0}.pd-overlay .cp-download-options{position:absolute;top:auto;bottom:calc(100% + 10px);right:0;z-index:5;width:208px;max-width:calc(100vw - 64px);height:auto;padding:6px;border:1px solid #e4dfea;border-radius:14px;background:#fff;box-shadow:0 12px 36px #30203e26;display:flex;flex-direction:column;gap:3px}.cb-home .pd-overlay .cp-download-options>button{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;width:100%;min-height:58px;gap:3px;border-radius:9px;padding:10px 12px;background:none;text-align:left}.cb-home .pd-overlay .cp-download-options>button:focus-visible,.cb-home .pd-overlay .cp-download-options>button:hover{background:#f0eaf7}.pd-overlay .cp-download-options span{font-size:12px;color:#77717e}.pd-overlay .cp-download-options strong{font-size:14px;color:#29242f}.pd-color-toolbar{position:absolute;top:12px;right:12px;z-index:1;display:flex;gap:6px;align-items:center}.pd-color-format{position:relative;display:flex;align-items:center}.cb-home .pd-color-format select{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0 30px 0 13px;height:34px;border-radius:99px;background:#14141acc;color:#fff;font-size:12px;font-weight:600;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.pd-color-format svg{position:absolute;right:12px;pointer-events:none;color:#fff}.cb-home .pd-color-copy{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#14141acc;color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.pd-color-toolbar :focus-visible{outline-color:#fff}.cb-home .pd-heart{display:grid;place-items:center;flex:none;width:50px;height:50px;border-radius:50%;background:#eee8f4;color:#74647f;transition:background .2s,color .2s}.cb-home .pd-heart[aria-pressed=true]{background:#ffe5ec;color:#df3468}.cb-home .pd-heart:hover{background:#ffd9e4;color:#df3468}.cb-home .pd-heart:disabled{opacity:1;cursor:default}.pd-heart-wiggle{animation:pd-heart-wiggle .42s cubic-bezier(.2,.9,.3,1);transform-origin:50% 65%}@keyframes pd-heart-wiggle{0%,to{transform:rotate(0) scale(1)}20%{transform:rotate(-18deg) scale(1.18)}40%{transform:rotate(16deg) scale(1.12)}60%{transform:rotate(-10deg) scale(1.08)}80%{transform:rotate(7deg) scale(1.04)}}@media (max-width:979px){.cb-home .pd-overlay{padding:12px}.cb-home .pd-overlay .cb-dialog{height:min(620px,calc(100dvh - 24px))}.pd-frame{grid-template-columns:minmax(0,1fr);grid-template-rows:140px minmax(0,1fr);padding:10px;gap:10px}.pd-swatches{flex-direction:row}.cb-home .pd-swatches button{justify-content:center;align-items:flex-end;padding:10px 0}.pd-swatches span{writing-mode:vertical-rl;transform:rotate(180deg);font-size:10px;height:calc(100% - 34px);white-space:normal;overflow-wrap:anywhere;text-align:left}.cb-home .pd-large-palette:not(.pd-fullscreen) .cb-dialog{height:min(680px,calc(100dvh - 24px))}.cb-home .pd-large-palette:not(.pd-fullscreen) .cb-dialog:has(.pd-title-long){height:min(740px,calc(100dvh - 24px))}.pd-frame.pd-many-colors{grid-template-rows:min(calc(38px + var(--swatch-rows) * 24px),42dvh) minmax(0,1fr)}.pd-many-colors .pd-color-stage{flex-direction:column;overflow:visible}.pd-many-colors .pd-color-toolbar{position:static;order:1;align-self:flex-end;flex:none;margin-block-start:var(--cb-space-2)}.pd-swatches-dense{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--swatch-rows),minmax(0,1fr));border-radius:inherit;overflow:hidden}.cb-home .pd-swatches-dense button{align-items:center;justify-content:flex-start;padding:3px 8px}.pd-swatches-dense button:last-child:nth-child(odd){grid-column:1/-1}.pd-swatches-dense button:focus-visible{outline-offset:-3px}.pd-swatches-dense span{writing-mode:horizontal-tb;transform:none;height:auto;font-size:9px;line-height:1.2}.pd-details{gap:var(--cb-space-2);padding:14px 16px}.pd-detail-body{grid-template-rows:32px max-content 44px minmax(80px,1fr);gap:var(--cb-space-2)}.cb-home .pd-details h2{font-size:34px;-webkit-line-clamp:1;max-height:1.2em}.pd-count{font-size:12px;gap:8px}.pd-count>span{width:40px;height:11px}.cb-home .pd-icon{width:32px;height:32px}.cb-home .pd-button{height:44px;font-size:14px;padding:0 12px}.cb-home .pd-heart{width:44px;height:44px}.pd-primary-actions{gap:8px}.pd-output{padding:12px}.cb-home .pd-output pre{font-size:11px}.pd-code-color i{width:8px;height:8px}.cb-home .pd-footer-action{min-width:68px;height:auto;gap:4px}.pd-action-icon{width:var(--cb-size-target);height:var(--cb-size-target)}.pd-color-toolbar{top:8px;right:8px}.cb-home .pd-color-format select{height:30px;font-size:11px}.cb-home .pd-color-copy{width:30px;height:30px}}@media (max-width:639px){.cb-home .pd-overlay .cb-dialog{height:min(610px,calc(100dvh - 24px))}.pd-frame{grid-template-rows:130px minmax(0,1fr);padding:8px;gap:8px}.cb-home .pd-details h2{font-size:30px;-webkit-line-clamp:2;max-height:2.2em}.cb-home .pd-overlay .cb-dialog,.pd-frame{border-radius:18px}.pd-color-stage,.pd-details{border-radius:12px}.pd-code-toolbar{gap:6px}.cb-home .pd-formats button{font-size:11px;padding:9px 2px}.cb-home .pd-copy-all{width:34px;height:38px}}@media (max-width:359px){.pd-details{padding-inline:12px}.cb-home .pd-details h2{font-size:30px}.cb-home .pd-formats button{font-size:10px}}@media (max-width:979px){.cb-home .pd-details h2.pd-title-long{font-size:22px;max-height:2.5em}}@media (prefers-reduced-motion:reduce){.pd-overlay *{transition:none!important;animation:none!important}.pd-swatches button:hover{flex:1!important}}.cb-home .pd-fullscreen{padding:0}.cb-home .pd-fullscreen .cb-dialog{width:100%;height:100dvh;border-radius:0}.pd-fullscreen .pd-frame{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);padding:0;border-radius:0}.pd-fullscreen .pd-color-stage{border-radius:0}.pd-fullscreen .pd-swatches{flex-direction:row}.pd-fullscreen .pd-swatches span{white-space:normal;overflow-wrap:anywhere}@media (max-width:979px){.pd-fullscreen .pd-color-stage{padding-top:48px;background:#f4f1f7}.pd-fullscreen .pd-many-colors .pd-color-stage{padding:0 0 env(safe-area-inset-bottom,0);background:none}.pd-fullscreen .pd-many-colors .pd-color-toolbar{margin:var(--cb-space-2)}.pd-fullscreen .pd-swatches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(var(--swatch-rows),minmax(0,1fr))}.cb-home .pd-fullscreen .pd-swatches button{align-items:center;justify-content:center;padding:10px}.pd-fullscreen .pd-swatches span{writing-mode:horizontal-tb;transform:none;height:auto;font-size:11px;line-height:1.4}}