@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Alfa+Slab+One&family=DM+Serif+Display&family=Rye&family=Bebas+Neue&family=Anton&family=Archivo+Black&family=Shrikhand&family=Pacifico&family=Modak&family=Righteous&family=Fredoka:wght@600&family=Lobster&display=swap");
:root{color-scheme:dark;--bg:#101210;--surface:#1c201d;--text:#f5f6ef;--muted:#aeb7ac;--accent:#d0ff71;--line:#323a31;font-family:"DM Sans",system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font-size:16px;line-height:1.5}a{color:inherit}button{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.shell{max-width:1120px;margin:auto;padding:0 36px}.top{display:flex;justify-content:space-between;align-items:center;padding:28px 0;border-bottom:1px solid var(--line);gap:20px}.wordmark{text-decoration:none;font-weight:800;font-size:20px;letter-spacing:-.5px}.wordmark span{font-weight:400;color:var(--muted)}.social{font-size:14px;text-decoration:none;border:1px solid var(--line);border-radius:99px;padding:9px 16px}.social:hover{border-color:var(--accent)}.profile{display:flex;align-items:center;gap:24px;padding:52px 0}.avatar{flex-shrink:0;width:88px;height:88px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:var(--bg);font-size:30px;font-weight:800;transform:rotate(-7deg)}.eyebrow{font-size:12px;letter-spacing:2px;font-weight:700;color:var(--accent);margin:0 0 8px}h1{font-size:clamp(30px,5vw,46px);letter-spacing:-1.6px;line-height:1.1;margin:0 0 10px}.profile p:last-child{color:var(--muted);margin:0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.section-head h2{font-size:26px;letter-spacing:-.8px;margin:0}.section-head p{margin:6px 0 0;color:var(--muted)}.count{color:var(--muted);font-size:14px;white-space:nowrap}.disclosure{font-size:12px;color:var(--muted);margin:16px 0 24px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.tile{display:block;width:100%;padding:0;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--text);text-align:left;overflow:hidden;cursor:pointer;transition:transform .2s,border-color .2s}.tile:hover{transform:translateY(-4px);border-color:var(--accent)}.cover{aspect-ratio:4/4.3;padding:24px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden;background:#27302a}.tile:nth-child(2) .cover{background:#263339}.tile:nth-child(3) .cover{background:#353126}.tile:nth-child(4) .cover{background:#302c3b}.tile:nth-child(5) .cover{background:#253631}.cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.cover-top{display:flex;justify-content:space-between;font-size:12px;letter-spacing:1.5px;color:#d5decf;z-index:1}.cover-title{font-weight:800;font-size:clamp(30px,4vw,46px);letter-spacing:-1.8px;line-height:1.05;max-width:95%;z-index:1}.cover-note{font-size:12px;letter-spacing:0;color:#c6cec5;font-weight:400;margin-top:14px;line-height:1.5}.tile-meta{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;gap:8px}.tile-meta span:first-child{font-size:14px;color:var(--muted)}.arrow{background:var(--accent);color:#142008;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;flex-shrink:0}footer{border-top:1px solid var(--line);margin-top:60px;padding:26px 0 36px;color:var(--muted);font-size:14px;display:flex;justify-content:space-between;gap:20px}dialog{background:var(--surface);color:var(--text);border:1px solid #54624e;border-radius:22px;padding:36px;max-width:480px;width:calc(100% - 32px)}dialog::backdrop{background:#000b;backdrop-filter:blur(6px)}dialog h2{font-size:34px;line-height:1.1;margin:12px 0 24px;letter-spacing:-1px}.close{position:absolute;right:12px;top:8px;background:transparent;border:0;color:var(--muted);font-size:32px;cursor:pointer;padding:4px 10px}.action{display:block;text-align:center;background:var(--accent);color:#15200b;border-radius:10px;text-decoration:none;font-weight:700;padding:14px;margin-top:12px}.secondary{background:transparent;color:var(--text);border:1px solid #596653}.pending{background:#2a3229;padding:18px;border-radius:10px;color:#d5dece}.small{font-size:12px;color:var(--muted)}@media(max-width:650px){.shell{padding:0 20px}.top{padding:20px 0}.wordmark{font-size:18px}.wordmark span{display:none}.social{padding:7px 12px}.profile{padding:36px 0;gap:16px}.avatar{width:64px;height:64px;font-size:24px}.profile p:last-child{font-size:14px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.section-head h2{font-size:23px}.count{display:none}.cover{padding:16px;aspect-ratio:3/4}.cover-title{font-size:30px;letter-spacing:-1px}.cover-top{font-size:12px;letter-spacing:.5px}.tile-meta{padding:12px;gap:4px}.tile-meta span:first-child{font-size:12px}.arrow{width:26px;height:26px}.cover-note{font-size:12px}footer{margin-top:36px;flex-direction:column;gap:6px}dialog{padding:30px 24px}}@media(prefers-reduced-motion:reduce){.tile{transition:none}.tile:hover{transform:none}}@media(max-width:340px){.grid{grid-template-columns:1fr}}

/* Mirror Instagram: three columns at every normal phone width. */
.grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.tile{border-radius:3px;border:0}.cover{aspect-ratio:3/4}.has-image .cover-title,.has-image .cover-top{display:none}.tile-meta{padding:12px 10px}.tile-meta .arrow{display:none}.has-image img{object-fit:cover}.tile:hover{transform:none;outline:2px solid var(--accent);outline-offset:0} @media(max-width:650px){.shell{padding:0 12px}.grid{gap:3px}.cover{padding:8px;aspect-ratio:3/4}.cover-title{font-size:20px;letter-spacing:-.5px;overflow-wrap:anywhere}.cover-top{display:none}.tile-meta{padding:8px 5px;min-height:48px}.tile-meta span:first-child{font-size:12px}.section-head h2{font-size:22px}.profile{padding:28px 0}.disclosure{margin-bottom:18px}}
[hidden]{display:none!important}.tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:20px}.tabs button{background:none;border:0;border-bottom:3px solid transparent;color:var(--muted);padding:14px 26px;cursor:pointer;font-weight:700;font-size:16px}.tabs [aria-selected=true]{color:var(--accent);border-color:var(--accent)}.video-card{position:relative;min-width:0}.edit-video{position:absolute;top:12px;right:12px;background:#101210e8;color:var(--accent);border:1px solid var(--accent);padding:9px 16px;border-radius:8px;cursor:pointer;opacity:0;pointer-events:none;min-height:44px;font-weight:700}.video-card:hover .edit-video,.video-card:focus-within .edit-video,.edit-video:focus-visible{opacity:1;pointer-events:auto}.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.product-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:24px;display:flex;flex-direction:column;align-items:stretch}.product-card h3{margin:0;font-size:22px;line-height:1.25}.merchant{font-size:14px;color:var(--muted);overflow-wrap:anywhere}.product-card .action{margin-top:auto}.account-bar{display:flex;gap:16px;justify-content:space-between;align-items:center;color:var(--muted);font-size:14px;padding-top:18px}.owner-signin{margin-left:auto}.primary-button,.secondary-button{font:inherit;padding:12px 18px;border-radius:9px;cursor:pointer;border:1px solid var(--line);min-height:44px}.primary-button{background:var(--accent);color:var(--bg);font-weight:700}.secondary-button{background:transparent;color:var(--text)}button:disabled{opacity:.5;cursor:wait}#editor{max-width:600px;max-height:90dvh;overflow:auto}.link-row{border:1px solid #53614e;border-radius:10px;padding:16px;margin:20px 0}.link-row legend{color:var(--accent);padding:0 6px}.link-row label{display:block;margin-bottom:12px;font-size:14px}.link-row input{display:block;width:100%;background:#111710;color:var(--text);font:inherit;font-size:16px;border:1px solid #63755b;border-radius:6px;padding:11px;margin-top:6px}.link-row input:focus{outline:2px solid var(--accent)}.remove-link{border:0;background:none;color:#ffb7b7;text-decoration:underline;font:inherit;cursor:pointer;padding:8px 0}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}#edit-error{color:#ffc2bb}#edit-help{color:var(--muted)}.destination{display:block;font-size:12px;font-weight:400;overflow-wrap:anywhere}.notice{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);max-width:calc(100% - 24px);background:#d0ff71;color:#13210b;padding:12px 20px;border-radius:10px;z-index:10;font-size:14px}.action{overflow-wrap:anywhere}@media(hover:none){.edit-video{opacity:1;pointer-events:auto}}@media(max-width:650px){.products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.product-card{padding:16px}.product-card h3{font-size:18px}.edit-video{top:5px;right:5px;padding:8px 10px;font-size:14px}.account-bar{flex-wrap:wrap}.tabs button{flex:1}.product-card .action{padding:12px 8px;font-size:14px}}@media(max-width:360px){.products-grid{grid-template-columns:1fr}}

.organizing .video-card{touch-action:none;cursor:grab;user-select:none}.organizing .arrange-controls{pointer-events:none}.organizing .arrange-controls button{pointer-events:auto;touch-action:manipulation}.organizing .video-card.dragging{cursor:grabbing}.danger-button{border:0;border-radius:8px;background:#b73535;color:white;padding:12px 18px;font:inherit;cursor:pointer}.danger-button:disabled{opacity:.6}#remove-post-error{color:#ffc2bb}

/* Profile and compact Instagram-style collection */
:root{--bg:#101010;--surface:#1c1c1c;--line:#343434;--muted:#aaa}
.shell{max-width:980px}.profile{gap:52px;padding:38px 24px 34px}.avatar-wrap{position:relative;flex:none;width:138px;height:138px}.avatar{width:100%;height:100%;transform:none;overflow:hidden;background:#303030;color:#eee;border:1px solid #555}.avatar img{width:100%;height:100%;object-fit:cover}.photo-edit{position:absolute;inset:0;width:100%;border:0;border-radius:50%;background:#0009;color:white;cursor:pointer;opacity:0;font-size:14px}.editable:hover .photo-edit,.photo-edit:focus-visible{opacity:1}.profile-info{flex:1;min-width:0}.profile-heading{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.profile h1{font-size:28px;font-weight:500;letter-spacing:-.5px;margin:0}.profile-handle{margin:8px 0;color:var(--muted)}.profile-stats{margin:16px 0;font-size:16px}.profile-stats strong{font-weight:700;margin-right:5px}#bio{white-space:pre-wrap;overflow-wrap:anywhere;max-width:440px;color:var(--text);font-size:14px}.section-head{display:none}.disclosure{margin:8px 0 16px}.grid{gap:3px}.tile{border:0;border-radius:0}.tile:hover{transform:none;filter:brightness(.88)}.cover{aspect-ratio:3/4}.tile-meta{padding:8px 10px}.tile-meta span:first-child{font-size:12px}.tabs{justify-content:center;border-top:1px solid var(--line);border-bottom:0;gap:28px}.tabs button{border-radius:0;background:transparent}.profile-label{display:block;font-size:14px;margin-top:14px}.profile-label input:not([type=range]),.profile-label textarea{display:block;width:100%;padding:10px;margin-top:6px;border:1px solid #555;border-radius:8px;background:#111;color:white;font:inherit}.profile-label input[readonly]{color:#aaa}.profile-label textarea{resize:vertical}.profile-label input[type=range]{display:block;width:100%;accent-color:var(--accent)}#profile-editor{max-height:90vh;overflow:auto}#crop-canvas{display:block;width:100%;max-width:280px;aspect-ratio:1;margin:18px auto 0;border-radius:50%;touch-action:none;cursor:grab}#crop-canvas:active{cursor:grabbing}#profile-error{color:#ffc2bb}#bio-counter{margin:4px 0}#use-instagram-photo{margin-top:14px}@media(hover:none){.editable .photo-edit{opacity:1;background:linear-gradient(transparent 55%,#000b 55%);padding-top:65%}}@media(max-width:600px){.shell{padding:0 12px}.profile{padding:24px 0;gap:18px}.avatar-wrap{width:86px;height:86px}.profile h1{font-size:22px}.profile-heading{gap:10px}.profile-heading button{padding:6px 10px;font-size:12px}.profile-stats{margin:10px 0}.grid{gap:2px}.tile-meta{padding:6px}.tile-meta span:first-child{font-size:10px}.tabs{gap:12px}.cover{aspect-ratio:3/4}.photo-edit{font-size:11px}}

.platform-switch{display:flex;gap:8px;padding:24px 0 8px}.platform-switch button{flex:1;border:1px solid var(--line);border-radius:12px;padding:16px;background:var(--surface);color:var(--muted);font-size:19px;font-weight:700;cursor:pointer}.platform-switch button[aria-pressed=true]{background:var(--text);color:var(--bg);border-color:var(--text)}.platform-switch button:disabled{opacity:.6}.holding{outline:3px solid var(--accent);outline-offset:-3px}.video-card img{-webkit-user-drag:none}.post-url-label textarea{display:block;width:100%;font:inherit;padding:12px;background:#111;color:white;border:1px solid #666;border-radius:8px;resize:vertical;margin-top:8px}#add-post-dialog{max-width:620px;max-height:90vh;overflow:auto}#import-results{list-style:none;padding:0;display:grid;gap:8px}.import-result{display:grid;gap:8px;padding:12px;border:1px solid var(--line);border-radius:8px;font-size:13px}.import-url{overflow-wrap:anywhere;color:var(--muted)}.import-failed{border-color:#b5665c}

.product-overlay{position:absolute;top:12px;left:8px;right:8px;width:fit-content;max-width:calc(100% - 16px);margin:auto;padding:4px 7px;border-radius:4px;font-weight:900;line-height:1.12;text-align:center;z-index:2;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-shadow:0 1px 1px #0007}.product-overlay.label-small{font-size:clamp(12px,1.5vw,18px)}.product-overlay.label-medium{font-size:clamp(14px,2vw,24px)}.product-overlay.label-large{font-size:clamp(17px,2.7vw,32px)}.arrange-controls{z-index:4}.label-settings{border:1px solid var(--line);border-radius:10px;margin:16px 0;padding:12px}.profile-label select{display:block;width:100%;background:#111;color:white;padding:10px;border:1px solid #666;border-radius:8px}.profile-label input[type=color]{height:42px;padding:4px}#editor{max-height:90vh;overflow:auto}#cover-style-error{color:#ffc2bb}

.style-sample{position:relative;min-height:95px;margin-top:12px;border-radius:10px;background:linear-gradient(135deg,#555,#222);display:grid;place-items:center}.style-sample .product-overlay{position:absolute;margin:0;max-width:calc(100% - 16px)}.product-overlay[hidden]{display:none}#cover-style-dialog{max-height:90vh;overflow:auto}.shell{background:transparent;padding-bottom:1px;border-radius:0 0 16px 16px}

body{background-size:cover;background-position:center;background-attachment:fixed;background-repeat:no-repeat;min-height:100vh}#background-preview{width:100%;max-height:140px;object-fit:cover;border-radius:8px;margin:12px 0}.profile .profile-handle,.profile #bio{color:var(--text)}.primary-button{background:var(--accent)}

#cover-style-dialog{max-width:780px}#editor{max-width:780px}.style-workspace{display:grid;grid-template-columns:minmax(180px,270px) minmax(0,1fr);gap:24px;align-items:start;margin:18px 0}.style-preview-column{position:sticky;top:0}.style-preview-column .style-sample{width:100%;height:auto;aspect-ratio:3/4;margin:0;border-radius:8px;isolation:isolate}.style-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.style-caption{font-size:11px;letter-spacing:1.5px;font-weight:700;color:#aaa;margin:0 0 10px}.preset-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;margin-bottom:16px}.preset-tile{min-width:0;height:46px;padding:3px;border:1px solid #555;border-radius:8px;background:#303030;cursor:pointer}.preset-tile span{display:block;font-size:22px;font-weight:900;line-height:34px;border-radius:4px}.preset-tile:hover,.preset-tile[aria-pressed=true]{border-color:var(--accent);outline:1px solid var(--accent)}.preset-tile:disabled{opacity:.4}.style-group{border-bottom:1px solid #444;padding:12px 0}.style-group summary{cursor:pointer;font-size:14px;font-weight:600}.style-controls .profile-label{display:grid;grid-template-columns:110px minmax(0,1fr);align-items:center;gap:8px;margin-top:12px;font-size:12px}.style-controls .profile-label input,.style-controls .profile-label select{margin:0}.style-controls .profile-label input[type=color]{height:30px}.style-controls .profile-label input[type=range]{grid-column:1/-1}.style-controls select{padding:6px}.style-controls output{float:none;text-align:right}.style-controls label[hidden]{display:none}.style-sample .product-overlay{z-index:2}@media(max-width:620px){.style-workspace{grid-template-columns:1fr;gap:16px}.style-preview-column{position:static;max-width:210px;margin:auto;width:100%}.preset-tiles{grid-template-columns:repeat(6,1fr)}}

button,input,select,textarea{font-family:inherit}.profile-theme-panel{margin:16px 0;padding:16px;border:1px solid #7775;border-radius:18px}.profile-theme-panel label{display:grid;gap:7px;margin:12px 0}.profile-theme-panel select{padding:10px;border-radius:9px}.profile-presets{display:flex;flex-wrap:wrap;gap:8px}.profile-preset{border:1px solid #8885;border-radius:14px;padding:16px 12px;font-weight:700}.profile-preset:focus-visible{outline:3px solid #a78bfa}#theme-sample{margin:16px 0;padding:26px;border-radius:16px;display:grid;gap:18px;text-align:center}#theme-sample strong{font-size:25px}#theme-sample>span{border-radius:12px;padding:10px;color:#171717;font:600 13px Arial}.profile-theme-panel .muted{font-size:12px;line-height:1.5}

/* Readable controls on bright gradients as well as dark profiles. */
.platform-switch button{background:#202024;color:#fff;border-color:#777;font-weight:800}
.platform-switch button[aria-pressed=true]{background:var(--accent);color:var(--button-ink,#111);border-color:var(--accent)}
.tabs{gap:12px;padding-top:10px}.tabs button{background:#202024;color:#fff;border-radius:10px;padding:12px 22px}.tabs button[aria-selected=true]{background:var(--accent);color:var(--button-ink,#111);border-color:var(--accent)}
.primary-button,.action,.arrow{color:var(--button-ink,#111)}
.account-bar>span,.disclosure,.wordmark span,footer{color:var(--text);font-weight:600}
.account-bar>span,.disclosure{font-size:13px}
.tile-meta,.product-card,dialog{--text:#f5f5f5;--muted:#d0d0d0;color:var(--text)}
.tile-meta span:first-child{color:#eee}.product-card{background:#202024}dialog{background:#202024;color:#f5f5f5;font-family:Arial,sans-serif}
dialog input,dialog select,dialog textarea{color:#f5f5f5;background:#303035}
body[data-profile-font=bold] #profile-name,body[data-profile-font=boldrounded] #profile-name{font-weight:900;font-size:32px;letter-spacing:-.8px}
body[data-profile-font=chunky] #profile-name{font-weight:900;font-size:36px;letter-spacing:.3px}
body[data-profile-font=boldrounded] .wordmark,body[data-profile-font=boldrounded] #profile-handle{font-weight:800}

.pattern-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.pattern-choice{background:#303035;color:white;border:2px solid transparent;border-radius:13px;padding:7px;font-size:12px}.pattern-choice[aria-pressed=true]{border-color:#c5a3ff}.pattern-swatch{display:block;height:75px;background-color:#6744b9;background-size:150px 150px;border-radius:8px;margin-bottom:7px}.pattern-choice:focus-visible{outline:3px solid white;outline-offset:2px}

/* Expressive display faces stay on identity text; supporting copy stays readable. */
body[data-profile-font=groovy],body[data-profile-font=bubble],body[data-profile-font=sunshine],body[data-profile-font=disco],body[data-profile-font=softpop],body[data-profile-font=soda]{font-family:"DM Sans",system-ui,sans-serif!important}
body[data-profile-font=groovy] :is(#profile-name,.wordmark){font-family:Shrikhand,Georgia,serif}
body[data-profile-font=bubble] :is(#profile-name,.wordmark){font-family:Modak,"Arial Black",sans-serif}
body[data-profile-font=sunshine] :is(#profile-name,.wordmark){font-family:Pacifico,cursive}
body[data-profile-font=disco] :is(#profile-name,.wordmark){font-family:Righteous,sans-serif}
body[data-profile-font=softpop] :is(#profile-name,.wordmark){font-family:Fredoka,sans-serif}
body[data-profile-font=soda] :is(#profile-name,.wordmark){font-family:Lobster,cursive}
body:is([data-profile-font=groovy],[data-profile-font=bubble],[data-profile-font=sunshine],[data-profile-font=soda]) #profile-name{font-weight:400;font-size:36px;line-height:1.4;letter-spacing:0}
.profile-preset{font-size:16px;line-height:1.6}#theme-sample strong{font-weight:400;line-height:1.6}

/* Display effects are limited to the name and preset previews. */
body[data-profile-effect=dimension] #profile-name,#theme-sample[data-profile-effect=dimension] strong{color:#28292d!important;-webkit-text-fill-color:#28292d!important;-webkit-text-stroke:1px #fff;paint-order:stroke fill;text-shadow:1px 1px #fff,2px 2px #fff,3px 3px #fff,4px 4px #fff,5px 5px #fff;font-style:italic;padding-bottom:7px}
body[data-profile-effect=sticker] #profile-name,#theme-sample[data-profile-effect=sticker] strong{-webkit-text-stroke:2px #171717;paint-order:stroke fill;text-shadow:1px 1px #171717,2px 2px #171717,3px 3px #171717,4px 4px #171717,5px 5px #171717,6px 6px #171717;padding-bottom:8px}
body[data-profile-effect=retro] #profile-name,#theme-sample[data-profile-effect=retro] strong{text-shadow:1px 1px #e79c78,2px 2px #e79c78,3px 3px #e79c78,4px 4px #603946;padding-bottom:5px}
.profile-preset[data-profile-effect=sticker]{text-shadow:2px 2px #171717}.profile-preset[data-profile-effect=retro]{text-shadow:1px 1px #e79c78}

.named-presets{border-top:1px solid #7775;margin-top:20px;padding-top:12px;display:grid;gap:10px}.named-presets input,.named-presets select{padding:12px;border-radius:8px;width:100%}

.font-picker{width:100%;border:1px solid #737373;border-radius:9px;background:#161619;color:#fff}.font-picker summary{padding:10px 12px;cursor:pointer;font-size:18px;line-height:1.5}.font-choices{max-height:290px;overflow-y:auto;padding:6px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.font-choice{padding:10px 8px;font-size:19px;line-height:1.6;text-align:left;background:#29292f;color:#fff;border:1px solid transparent;border-radius:7px;overflow-wrap:anywhere}.font-choice[aria-pressed=true]{border-color:#d4b8ff;background:#48345c}.font-choice:hover{background:#45404d}.font-choice:focus-visible{outline:2px solid white}.preset-tile .product-overlay{max-width:100%;white-space:nowrap;line-height:1.5}

body[data-profile-font=poster],body[data-profile-font=wide]{font-family:"DM Sans",system-ui,sans-serif!important}
body[data-profile-font=poster] :is(#profile-name,.wordmark){font-family:Anton,Impact,sans-serif;letter-spacing:.3px;font-weight:400}
body[data-profile-font=wide] :is(#profile-name,.wordmark){font-family:"Archivo Black","Arial Black",sans-serif;letter-spacing:-.6px}
body[data-profile-effect=comic] #profile-name,#theme-sample[data-profile-effect=comic] strong,.profile-preset[data-profile-effect=comic]{-webkit-text-stroke:1px #171717;paint-order:stroke fill;text-shadow:1px 1px #00e4dd,2px 2px #00e4dd,3px 3px #00e4dd,4px 4px #171717}
body[data-profile-effect=riso] #profile-name,#theme-sample[data-profile-effect=riso] strong,.profile-preset[data-profile-effect=riso]{text-shadow:3px 2px #ffe52d,-1px 0 #cf174b}

body[data-profile-font=poster] :is(#profile-name,.wordmark){font-family:"Bebas Neue",Impact,sans-serif;font-weight:400;letter-spacing:1px}
body[data-profile-font=poster] #profile-name{font-size:52px;line-height:1.1}
#theme-sample[data-font=poster] strong{font-size:42px;line-height:1.1;letter-spacing:1px}
body:not([data-text-depth=none]) :is(#profile-name,#profile-handle,#bio,.wordmark),#theme-sample:not([data-text-depth=none]) strong{text-shadow:var(--text-depth)}
body :is(.platform-switch button,.account-bar button,.tabs button,#edit-profile,.social){box-shadow:var(--button-depth,none)}
.video-card{box-shadow:var(--post-depth,none)}
body:not([data-post-depth=none]) .grid{gap:14px}
#theme-sample>span{box-shadow:var(--button-depth,none)}
.depth-card-preview{border-radius:10px;background:#30303b;color:white;min-height:75px;padding:20px;font:600 13px Arial;box-shadow:var(--post-depth,none)}

body[data-text-depth=perspective] #profile-name,#theme-sample[data-text-depth=perspective] strong{position:relative;isolation:isolate;display:inline-block;margin-bottom:45px}
body[data-text-depth=perspective] #profile-name::after,#theme-sample[data-text-depth=perspective] strong::after{content:attr(data-shadow-text);position:absolute;inset:0;color:var(--projection-color);-webkit-text-fill-color:var(--projection-color);opacity:var(--projection-opacity);transform-origin:center bottom;transform:perspective(85px) rotateX(55deg) scaleY(-2);pointer-events:none;z-index:-1;mask-image:linear-gradient(to top,black,transparent)}

body[data-profile-font=western]{font-family:"DM Sans",system-ui,sans-serif!important}
body[data-profile-font=western] :is(#profile-name,.wordmark){font-family:Rye,Rockwell,Georgia,serif;font-weight:400;letter-spacing:.3px}
body[data-profile-font=western] #profile-name{font-size:36px;line-height:1.35}

body[data-profile-font=cinema],body[data-profile-font=marquee]{font-family:"DM Sans",system-ui,sans-serif!important}
body[data-profile-font=cinema] :is(#profile-name,.wordmark){font-family:"Alfa Slab One",Rockwell,serif;font-weight:400;letter-spacing:.3px}
body[data-profile-font=marquee] :is(#profile-name,.wordmark){font-family:"DM Serif Display",Georgia,serif;font-weight:400}
body[data-profile-font=cinema] #profile-name,body[data-profile-font=marquee] #profile-name{font-size:36px;line-height:1.4}
.custom-section{border:1px solid #555;border-radius:12px;margin:10px 0;padding:0 14px}.custom-section>summary{cursor:pointer;padding:15px 0;font-weight:700;font-size:14px}.custom-section[open]{padding-bottom:14px}.custom-section .profile-theme-panel{border:0;padding:0;margin:0}.custom-section .named-presets{border:0;margin-top:0}.custom-section .pattern-grid{margin-top:8px}.custom-section h3{font-size:14px}.profile-theme-panel>#theme-sample{margin-top:0}

body[data-text-depth=perspective]{isolation:isolate}body[data-text-depth=perspective] .profile{position:relative;z-index:auto}body[data-text-depth=perspective] #profile-name{isolation:auto;z-index:auto}body[data-text-depth=perspective] #profile-name::after{z-index:-1}body[data-text-depth=perspective] .avatar-wrap{isolation:isolate;z-index:1}body[data-text-depth=perspective] :is(.tabs,.grid,.products-grid,.disclosure){position:relative;z-index:1}

/* Keep the page background continuous and label panels independent of text clipping. */
.shell{background:transparent}
.product-overlay{isolation:isolate;overflow:visible}
.product-overlay::after{content:"";position:absolute;inset:0;background:var(--label-panel,transparent);border-radius:inherit;z-index:-1;pointer-events:none}

/* Separate the textured face from the shadow paint layer. */
#profile-name:has(.textured-face),#theme-sample strong:has(.textured-face){position:relative}
.textured-face{position:relative;z-index:1;text-shadow:none!important;font:inherit;letter-spacing:inherit;line-height:inherit}
#profile-name:has(.textured-face)::before,#theme-sample strong:has(.textured-face)::before{content:attr(data-texture-text);position:absolute;inset:0;color:transparent;-webkit-text-fill-color:transparent;text-shadow:var(--text-depth,none);pointer-events:none;font:inherit;letter-spacing:inherit;line-height:inherit;z-index:0}
body[data-text-depth=long] :is(#profile-handle,#bio,.wordmark){text-shadow:none}
/* Clip the textured foreground explicitly; keep its shadow on the sibling layer. */
#profile-name .textured-face,#theme-sample strong .textured-face{display:inline-block;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important}
/* Wide editor: the controls scroll while the live preview stays beside them. */
#profile-editor{width:min(1100px,calc(100vw - 32px));max-width:1100px;max-height:calc(100dvh - 32px);padding:24px;overflow:hidden}
#profile-form{display:flex;flex-direction:column;max-height:calc(100dvh - 84px);min-height:0}
#profile-form>h2{margin:0 0 8px}#profile-form>.small{margin:0 0 14px}
.profile-workspace{display:grid;grid-template-columns:minmax(280px,.85fr) minmax(0,1.15fr);gap:24px;min-height:0;flex:1;overflow:hidden}
.profile-settings-scroll{overflow-y:auto;min-height:0;padding:0 10px 16px 0;overscroll-behavior:contain}
.profile-live-preview{min-width:0;align-self:start;overflow:hidden}
.profile-live-preview #theme-sample{margin:0;min-height:330px;align-content:center;padding:30px 22px;overflow:hidden;isolation:isolate}
.profile-settings-scroll>.profile-theme-panel{margin-top:0}
#profile-form>.form-actions{flex:none;margin-top:12px;padding-top:12px;border-top:1px solid #555}
#profile-form>#profile-error{flex:none;margin:4px 0}
@media(max-width:650px){#profile-editor{padding:14px;width:calc(100vw - 16px)}#profile-form{max-height:calc(100dvh - 60px)}.profile-workspace{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:10px}.profile-live-preview .style-caption{margin:0 0 5px}.profile-live-preview #theme-sample{min-height:0;padding:12px;gap:8px;grid-template-columns:1fr 1fr}.profile-live-preview #theme-sample strong{grid-column:1/-1;font-size:24px!important;line-height:1.3!important;margin-bottom:4px!important}.profile-live-preview .depth-card-preview{min-height:0;padding:12px}.profile-settings-scroll{padding-right:2px}}

.profile-preset,.preset-tile{position:relative}
.profile-preset[aria-pressed=true],.preset-tile[aria-pressed=true]{outline:3px solid #fff!important;outline-offset:3px;border-color:#fff!important}
.profile-preset[aria-pressed=true]::after,.preset-tile[aria-pressed=true]::after{content:"✓";position:absolute;top:-7px;right:-7px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#fff;color:#111;font:800 12px Arial;text-shadow:none;box-shadow:0 1px 4px #0008;z-index:5}
.profile-presets{gap:14px;padding:5px}.preset-tiles{gap:10px;padding:5px}

#theme-sample strong .textured-face{font:inherit;line-height:inherit;letter-spacing:inherit;padding:0;border-radius:0;color:inherit;box-shadow:none}
/* Subtle interaction feedback without continuous motion. */
:where(button,.social,.action){transition:transform 180ms ease,filter 180ms ease}
.video-card{transition:transform 220ms ease;transform-origin:center}
@media(hover:hover) and (pointer:fine){
button:not(:disabled):not(.tile):not(.font-choice):hover,.social:hover,.action:hover{transform:translateY(-1px) scale(1.025)}
body:not(.organizing) .video-card:hover{transform:translateY(-3px) scale(1.012);z-index:5}
body:not(.organizing) .video-card .tile:hover{filter:none;transform:none}
}
button:not(:disabled):not(.tile):active,.social:active,.action:active{transform:scale(.98)}
body:not(.organizing) .video-card:active{transform:scale(.995)}
@media(prefers-reduced-motion:reduce){button,.social,.action,.video-card{transition:none!important}button:hover,button:active,.social:hover,.social:active,.action:hover,.action:active,body:not(.organizing) .video-card:hover,body:not(.organizing) .video-card:active{transform:none!important}}

/* Textured cover labels have their own foreground and shadow layers. */
.product-overlay .textured-face{display:block;position:relative;z-index:1;font:inherit!important;letter-spacing:inherit;line-height:inherit;padding:0!important;margin:0!important;background-color:transparent!important;background-clip:text!important;-webkit-background-clip:text!important;-webkit-text-fill-color:transparent!important;text-shadow:none!important;-webkit-text-stroke:inherit;paint-order:stroke fill}
.product-overlay:has(.textured-face)::before{content:attr(data-texture-text);position:absolute;inset:0;padding:inherit;font:inherit;letter-spacing:inherit;line-height:inherit;text-align:inherit;color:transparent;-webkit-text-fill-color:transparent;-webkit-text-stroke:0;text-shadow:var(--label-shadow,none);pointer-events:none;z-index:0}
/* Outline belongs to the rear glyph layer, never the textured foreground. */
.product-overlay .textured-face{-webkit-text-stroke:0!important}
.product-overlay:has(.textured-face)::before{-webkit-text-stroke:inherit;paint-order:stroke fill}

.profile-name-space{position:relative;flex:0 0 auto;max-width:100%}.profile-name-space #profile-name{width:max-content;overflow-wrap:anywhere}.profile-heading{align-items:center;row-gap:16px}.profile-heading #edit-profile{flex:none;position:relative;z-index:2}

.saved-preset-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.saved-preset-card{display:grid;gap:7px}.saved-preset-preview{display:grid;gap:14px;align-content:center;min-height:130px;border:1px solid #777;border-radius:12px;padding:14px;overflow:hidden}.saved-preset-preview strong{font-size:22px;line-height:1.3;overflow-wrap:anywhere}.saved-label-example{padding:5px;border-radius:6px;font-size:14px}.product-preview-link{display:block;position:relative;border-radius:10px;overflow:hidden}.product-preview{display:block;width:100%;aspect-ratio:1;object-fit:cover}.product-preview-caption{position:absolute;bottom:8px;left:8px;color:white;background:#000b;padding:4px 7px;border-radius:5px;font:12px Arial}

.product-preview{object-fit:contain;background:white;padding:12px}.collection-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:15px 0 22px}.collection-item{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.collection-small{padding:6px;background:transparent;color:var(--text);border:1px solid #777;border-radius:6px}.collection-bar [aria-pressed=true]{outline:2px solid white;outline-offset:2px}.collection-help{flex-basis:100%;font-size:13px}.drop-target{outline:3px dashed var(--accent)!important}.collection-select{padding:10px;border-radius:8px;background:#292929;color:white}

.launch-backup-button{position:fixed!important;right:20px!important;bottom:20px!important;z-index:99999!important;background:#fff!important;color:#111!important;border:2px solid #111!important;border-radius:12px!important;padding:16px 22px!important;font:700 16px Arial!important;text-shadow:none!important;box-shadow:0 5px 24px #0008!important;transform:none!important}

/* Storefront navigation and responsive playlist pages. */
.site-navigation{position:relative;z-index:5;display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:16px max(20px,calc((100vw - 1480px)/2));background:#19191d;color:#fff;border-bottom:1px solid #ffffff26;font:500 14px/1.4 Arial,sans-serif}
.site-navigation a{text-decoration:none}.site-navigation button{background:transparent;color:inherit;border:0;box-shadow:none!important;text-shadow:none!important;padding:6px;cursor:pointer}.site-navigation .site-brand{font-size:23px;font-weight:800;margin-right:auto}.site-navigation a:hover{text-decoration:underline}
.shell{max-width:1480px;width:100%;min-width:0}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.video-card{min-width:0}
@media(min-width:1200px){.grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
.playlist-strip{position:relative;z-index:1;margin:24px 0}.playlist-strip-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.playlist-strip h2{font-size:18px}.playlist-list{display:flex;gap:14px;overflow-x:auto;padding:10px 4px 18px}.playlist-item{flex:0 0 210px;display:grid;gap:8px}.playlist-preview{display:flex;align-items:center;gap:12px;width:100%;padding:10px;background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:12px;text-align:left;cursor:pointer}.playlist-preview[aria-pressed=true]{outline:2px solid var(--text);outline-offset:2px}.playlist-preview img,.playlist-placeholder{width:52px;height:68px;object-fit:cover;border-radius:6px;flex-shrink:0}.playlist-placeholder{display:grid;place-items:center;background:var(--bg);font-size:28px}.playlist-preview strong,.playlist-preview small{display:block;overflow-wrap:anywhere}.playlist-preview small{font-size:11px;opacity:.75;margin-top:5px}.playlist-heading{position:relative;z-index:1;padding:20px 0}.playlist-heading h2{font-size:30px;margin:16px 0 4px}.playlist-editor{width:min(780px,calc(100vw - 24px));max-height:90dvh;overflow:auto}.playlist-picker{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:46vh;overflow:auto;margin-top:20px}.playlist-pick{display:flex;align-items:center;gap:10px;border:1px solid #666;padding:10px;border-radius:9px;cursor:pointer;font-size:13px}.playlist-pick:has(input:checked){border-color:var(--accent);background:#ffffff12}.playlist-pick img{width:42px;height:56px;object-fit:cover}.playlist-pick input{flex-shrink:0}.playlist-picker span{overflow-wrap:anywhere}.collection-small{cursor:pointer;background:transparent;color:var(--text);border:0;text-decoration:underline}.drop-target{outline:3px dashed var(--accent)}
@media(max-width:600px){.site-navigation{gap:12px;padding:12px;font-size:12px}.site-navigation .site-brand{font-size:20px}.shell{padding:0 10px}.grid,body:not([data-post-depth=none]) .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.playlist-picker{grid-template-columns:1fr}.playlist-strip-heading{flex-wrap:wrap}.playlist-item{flex-basis:190px}.playlist-editor .form-actions{flex-wrap:wrap}}

.pro-preview-choice{filter:grayscale(.85);position:relative;opacity:.62}.pro-preview-choice:hover,.pro-preview-choice[aria-pressed="true"]{filter:none;opacity:1}.pro-preview-badge{display:inline-block!important;margin-left:6px;padding:2px 5px;border:1px solid currentColor;border-radius:4px;font:700 9px/1.3 sans-serif!important;vertical-align:middle}.plan-preview-note{font:400 13px/1.5 sans-serif;color:#bbb}.plan-preview-note a{color:#fff;text-decoration:underline}

.demo-controls{position:sticky;top:0;z-index:200;display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:14px 24px;background:#202124;color:#fff;font:14px Arial,sans-serif;border-bottom:1px solid #777}.demo-controls span{flex:1;min-width:210px}.demo-controls button,.demo-controls select,.demo-controls a{font:inherit;padding:9px 12px;border:1px solid #888;border-radius:8px;background:#303134;color:white;text-decoration:none}.demo-controls a{background:#d6f578;color:#161616;font-weight:bold}.demo-controls button:focus-visible,.demo-controls select:focus-visible,.demo-controls a:focus-visible{outline:3px solid #d6f578;outline-offset:2px}

.preset-progress{display:flex;gap:8px;width:100%}.demo-controls .preset-progress-item{flex:1;min-width:0;border:0;padding:4px 0;background:transparent;text-align:left}.preset-rail{display:block!important;min-width:0!important;height:5px;background:#555;border-radius:6px;overflow:hidden}.preset-fill{display:block!important;min-width:0!important;height:100%;width:0;background:#d6f578}.preset-caption{display:block!important;min-width:0!important;font-size:11px;margin-top:5px;color:#bbb}.preset-progress-item[aria-pressed=true] .preset-caption{color:#fff;font-weight:bold}#style-hub{width:min(480px,90vw);padding:28px;background:#202124;color:#fff;border:1px solid #777;border-radius:18px}.style-hub-choice{display:flex;flex-direction:column;gap:6px;width:100%;padding:18px;margin:12px 0;border:1px solid #666;border-radius:12px;background:#303134;color:#fff;text-align:left}.style-hub-choice span{font-size:13px}.border-settings{border:1px solid #666;border-radius:12px;padding:16px;margin-top:16px}.border-settings label{display:flex;justify-content:space-between;gap:16px;margin:14px 0}@media(max-width:600px){.preset-caption{font-size:9px}.demo-controls{padding:10px;gap:8px}.preset-progress{gap:5px}}

/* A separate page-level backdrop cannot paint over foreground cards. */
body{position:relative;isolation:isolate}body[data-text-depth=perspective] #profile-name::after{content:none!important}
#page-projection{position:absolute;z-index:-1;pointer-events:none;text-align:center;white-space:nowrap;transform-origin:center bottom;transform:perspective(85px) rotateX(55deg) scaleY(-2);mask-image:linear-gradient(to top,black,transparent)}
.profile{display:flex;flex-direction:column;align-items:center;text-align:center;gap:22px}.profile-info{width:100%}.profile-heading{justify-content:center}.profile-name-space{flex-basis:100%;display:flex;justify-content:center;max-width:100%;width:auto}#bio{margin-left:auto;margin-right:auto}.profile-heading #edit-profile-details{position:relative;z-index:2}.profile-workspace:has(.profile-live-preview[hidden]){display:block}.profile-live-preview[hidden],.profile-theme-panel[hidden],.custom-section[hidden]{display:none!important}
.profile-name-space{align-items:flex-start}#page-projection{z-index:0}body>.shell{position:relative;z-index:1}.profile-heading{column-gap:20px;row-gap:12px}.profile-heading #edit-profile-details{margin-bottom:20px}
#profile-editor[data-editor-mode=presets] .profile-theme-panel>h3,#profile-editor[data-editor-mode=presets] .profile-theme-panel>p{display:none}#profile-editor #profile-form>p:not(#profile-error){display:none}#profile-editor[data-editor-mode=profile] .profile-workspace{grid-template-columns:1fr}
/* Signal that cards can be moved without competing with the drag transform. */
@keyframes arrange-wiggle{0%,100%{transform:rotate(-.55deg)}50%{transform:rotate(.55deg)}}
@media(prefers-reduced-motion:no-preference){
 body.organizing:not(.saving-layout) .video-card:not(.dragging){animation:arrange-wiggle .28s ease-in-out infinite;transform-origin:50% 55%}
 body.organizing:not(.saving-layout) .video-card:nth-child(even):not(.dragging){animation-delay:-.14s}
 body.organizing:not(.saving-layout) .video-card:nth-child(3n):not(.dragging){animation-duration:.32s}
}

/* Keep the familiar left-aligned header, with a gentle inset on wide screens. */
.profile{flex-direction:row;align-items:center;text-align:left;gap:clamp(18px,4vw,52px);padding-left:clamp(0px,calc(22vw - 176px),220px);padding-right:24px}
.profile-info{width:auto}.profile-heading{justify-content:flex-start}.profile-name-space{flex-basis:auto;justify-content:flex-start}#bio{margin-left:0;margin-right:0}
.profile-heading #edit-profile-details{margin-bottom:0;box-shadow:var(--button-depth,0 3px 8px #0004)}
.grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(min-width:900px){.grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1150px){.grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:1450px){.grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:600px){.profile{padding-right:0;align-items:flex-start}.profile-heading{gap:12px}.profile-heading button{margin-bottom:10px}}

.profile{padding-top:26px;padding-bottom:18px;min-height:0;height:auto}.profile-name-space #profile-name{white-space:nowrap;overflow-wrap:normal;word-break:normal;flex:none}.profile-heading{align-items:center;row-gap:12px}.profile-name-space{flex-shrink:0}.profile-handle{margin:10px 0 0}.profile-stats{margin:10px 0}#bio{margin-top:8px;margin-bottom:0;min-height:0}.disclosure{margin:6px 0 12px}.playlist-strip{margin:12px 0}.playlist-strip h2{margin:0}.playlist-list:empty{display:none}.playlist-strip>.small{margin:8px 0 0}.playlist-heading:empty{display:none}.tabs{margin-top:12px;margin-bottom:12px}

/* Supporting copy keeps the preset depth, scaled down for readable small text. */
body :is(#profile-handle,#bio,.profile-stats,.disclosure,.playlist-strip h2,.playlist-strip>.small,.playlist-heading h2,.playlist-heading>p,.section-head h2,.section-head p){text-shadow:var(--supporting-text-shadow,none)}
body[data-text-depth=long] :is(#profile-handle,#bio){text-shadow:var(--supporting-text-shadow,none)}

.profile,.has-profile-frame{position:relative;isolation:isolate}
.profile-frame-decoration{position:absolute;inset:0;z-index:-1;pointer-events:none;box-sizing:border-box}
.profile-frame-decoration.frame-cutout{mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor}
.profile.has-profile-frame{margin-top:18px;margin-bottom:18px;padding-top:48px;padding-bottom:48px;padding-right:48px;padding-left:max(48px,clamp(0px,calc(22vw - 176px),220px))}
#theme-sample.has-profile-frame{padding:48px 30px}
#profile-frame-settings .profile-label{display:grid;gap:8px;margin:16px 0}
#profile-frame-settings select{width:100%;padding:10px;background:#202124;color:#fff;border:1px solid #777;border-radius:8px}
@media(max-width:600px){.profile.has-profile-frame{padding:36px 24px;gap:16px}.profile.has-profile-frame .avatar{width:76px;height:76px}}
#profile-editor[data-editor-mode=profile] .profile-workspace{grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr)}
#profile-editor[data-editor-mode=profile] .profile-theme-panel>h3,#profile-editor[data-editor-mode=profile] .profile-theme-panel>p{display:none}
@media(max-width:760px){#profile-editor[data-editor-mode=profile] .profile-workspace{grid-template-columns:1fr}#profile-editor[data-editor-mode=profile] .profile-live-preview{position:relative;top:auto}}
#profile-frame-settings label[hidden]{display:none!important}
#profile-advanced-toggle{float:right;margin:-48px 0 12px;font-size:13px}
#profile-editor:not(.advanced-settings) .advanced-only,#profile-editor.advanced-settings .simple-only{display:none!important}
#profile-frame-settings label[hidden]{display:none!important}
.visual-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.visual-choice{display:flex;flex-direction:column;gap:8px;align-items:stretch;padding:8px;background:#292a2e;color:#eee;border:1px solid #595b61;border-radius:12px;cursor:pointer;font-size:12px;min-width:0;text-shadow:none!important;box-shadow:none!important}
.visual-choice:hover{background:#35363b}.visual-choice[aria-pressed=true]{outline:2px solid white;outline-offset:2px}
.effect-choice-preview,.frame-choice-preview{display:grid;place-items:center;height:66px;font-size:25px;font-weight:800;border-radius:8px;position:relative;isolation:isolate}
.frame-choice-preview{background:#18191b;color:#fff;overflow:hidden}.frame-choice-preview>span{font-size:20px}
#shared-effect-note{line-height:1.5;color:#bbb}
@media(max-width:600px){#profile-advanced-toggle{float:none;margin:0 0 12px}.visual-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
#profile-editor #profile-advanced-toggle{width:auto;max-width:50%;position:relative;z-index:1}
body.profile-panel-on .creator-content-card{background:var(--profile-panel-color);border-radius:24px;margin-top:20px;margin-bottom:18px;padding:12px 24px 24px;position:relative;isolation:isolate}
/* Vintage labels keep their readable type with a more closely fitted cream panel. */
body[data-profile-preset="Vintage cream"] .product-overlay{padding:2px 4px}

body.profile-panel-on :is(.disclosure,.playlist-strip-heading h2,.playlist-strip>.small,.playlist-heading h2,.playlist-heading>p){text-shadow:none}
#profile-panel-settings input[type=checkbox]{width:auto;display:inline-block;margin-left:12px}
#profile-panel-settings output{margin-left:8px}
.profile-live-preview #theme-sample{display:none!important}
.creator-page-preview{width:100%;height:580px;overflow:auto;border:1px solid #555;border-radius:14px;background:#171717;position:relative}
.creator-page-preview iframe{display:block;width:1000px;height:1450px;border:0;transform-origin:top left;pointer-events:none}

#profile-panel-settings label[hidden]{display:none!important}
@media(max-width:600px){body.profile-panel-on .creator-content-card{padding:8px 10px 16px;border-radius:18px}}
.frame-edge{position:absolute;pointer-events:none;background-position:center;background-repeat:round}
.frame-edge-top,.frame-edge-bottom{left:0;right:0;height:var(--motif-size);background-size:var(--motif-size) 100%}
.frame-edge-top{top:0}.frame-edge-bottom{bottom:0}
.frame-edge-left,.frame-edge-right{top:var(--motif-size);bottom:var(--motif-size);width:var(--motif-size);background-size:100% var(--motif-size)}
.frame-edge-left{left:0}.frame-edge-right{right:0}
.creator-content-card.has-profile-frame{position:relative;isolation:isolate;margin-top:20px;margin-bottom:18px;padding:48px 38px}
body.profile-panel-on .creator-content-card.has-profile-frame{padding:48px 38px}
@media(max-width:600px){.creator-content-card.has-profile-frame,body.profile-panel-on .creator-content-card.has-profile-frame{padding:40px 28px}}

/* Carry the outer frame through the profile-to-post divider. */
.tabs.frame-matched-divider{position:relative;border-top:0;padding-top:calc(var(--divider-size) + 10px)}
.tabs.frame-matched-divider::before{content:"";position:absolute;top:0;left:0;right:0;height:var(--divider-size);background-image:var(--divider-art);background-size:var(--divider-size) 100%;background-repeat:round;pointer-events:none}
.tabs.frame-matched-divider:is([data-frame-design="outline"],[data-frame-design="double"]){padding-top:calc(var(--divider-width) + 10px)}
.tabs.frame-matched-divider:is([data-frame-design="outline"],[data-frame-design="double"])::before{height:var(--divider-width);background:none;border-top:var(--divider-width) solid var(--divider-color)}
.tabs.frame-matched-divider[data-frame-design="double"]::before{border-top-style:double}
.tabs.frame-matched-divider:is([data-frame-design="outline"],[data-frame-design="double"]):not([data-frame-pattern="plain"])::before{border:0;background-image:var(--divider-pattern);background-size:12px 12px}

/* Consistent, readable supporting typography across creator presets. */
body :is(#profile-handle,#bio,.profile-stats,.disclosure,.playlist-strip,.playlist-heading,.tabs,.platform-switch,.account-bar,.tile-meta,.site-navigation,.demo-controls,#edit-profile,#edit-profile-details){font-family:"DM Sans",system-ui,sans-serif}
#profile-handle,.profile-stats{font-weight:600;letter-spacing:-.015em}
#bio{font-weight:500;line-height:1.55}
.playlist-strip h2,.playlist-heading h2{font-weight:700;letter-spacing:-.025em}
.disclosure,.playlist-strip>.small{font-weight:500;line-height:1.55}
body :is(.tabs,.platform-switch,.account-bar,.playlist-strip) button{font-family:inherit;font-weight:600}
@media(max-width:600px){.disclosure,.playlist-strip>.small{font-size:12px}.playlist-strip h2{font-size:19px}}

/* Stronger supporting text, including compact mobile layouts. */
body #profile-handle,body .profile-stats{font-size:18px;font-weight:800}
body #bio{font-size:17px;font-weight:700;line-height:1.5}
body .disclosure,body .playlist-strip>.small{font-size:14px;font-weight:700;line-height:1.5}
body .playlist-strip h2,body .playlist-heading h2{font-size:23px;font-weight:800}
body :is(.tabs,.platform-switch,.account-bar,.playlist-strip) button,body #edit-profile,body #edit-profile-details{font-weight:700}
@media(max-width:600px){
 body #profile-handle,body .profile-stats{font-size:18px}
 body #bio{font-size:17px}
 body .disclosure,body .playlist-strip>.small{font-size:14px}
 body .profile-heading button{font-size:14px}
}

/* Opaque edit controls cover adjacent offset shadows. */
body[data-profile-preset="Scarlet poster"] .profile-heading :is(#edit-profile,#edit-profile-details),
body[data-profile-preset="Golden projection"] .profile-heading :is(#edit-profile,#edit-profile-details){position:relative;z-index:2;background-color:var(--page-base-color,#101010)}

/* Supporting creator copy follows the chosen page font in live pages and previews. */
body :is(#profile-handle,#bio,.profile-stats,.disclosure,.playlist-strip h2,.playlist-strip>.small,.playlist-heading h2,.playlist-heading>p,.section-head h2,.section-head p){font-family:var(--page-copy-font,"DM Sans",system-ui,sans-serif);text-shadow:var(--supporting-text-shadow,none)}
body #bio{font-family:var(--page-copy-font,"DM Sans",system-ui,sans-serif)}
