/* A focused music library, with native scrolling and state-driven motion. */
#sideCustomizerDrawer { --vip-soft:color-mix(in srgb,var(--bs-primary) 7%,var(--locket-ui-card)); transition:transform .38s cubic-bezier(.2,.85,.22,1),opacity .24s,visibility .38s; }
#sideCustomizerDrawer.open { transition:transform .38s cubic-bezier(.2,.85,.22,1),opacity .24s,visibility 0s; }
#sideCustomizerDrawer.is-dragging { transition:none!important; will-change:transform; }
#sideCustomizerDrawer .drawer-grab-handle { display:flex; justify-content:center; align-items:center; width:72px; height:22px; flex:0 0 22px; margin:-5px 0 -8px; padding:0; border:0; background:transparent; cursor:grab; touch-action:none; }
#sideCustomizerDrawer .drawer-grab-handle span { width:34px; height:4px; border-radius:9px; background:var(--locket-ui-muted); opacity:.35; transition:width .2s,opacity .2s; }
#sideCustomizerDrawer.is-dragging .drawer-grab-handle { cursor:grabbing; }
#sideCustomizerDrawer.is-dragging .drawer-grab-handle span { width:44px; opacity:.65; }
#sideCustomizerDrawer .drawer-sheet-header { touch-action:none; user-select:none; }
#sideCustomizerDrawer .drawer-pane { animation:none; overscroll-behavior-y:contain; touch-action:pan-y; -webkit-overflow-scrolling:touch; scroll-padding-block:18px 160px; }
#sideCustomizerDrawer .drawer-tabs::before { transition:transform .32s cubic-bezier(.22,.85,.3,1); }
#sideCustomizerDrawer :is(.drawer-tabs,.vip-section-tabs) { touch-action:pan-y; user-select:none; }
#sideCustomizerDrawer #paneVip { padding:0 2px max(20px,env(safe-area-inset-bottom,0px)); gap:0; }
#sideCustomizerDrawer .vip-section-tabs { position:sticky; top:0; z-index:4; display:flex; gap:5px; align-items:center; padding:9px 0 13px; background:var(--locket-ui-card); }
.vip-section-tabs button { flex:1; min-width:0; min-height:40px; padding:8px 10px; border:0; border-radius:99px; background:transparent; color:var(--locket-ui-muted); font:600 14px var(--locket-font-family); cursor:pointer; transition:background .22s,color .22s,transform .18s; }
.vip-section-tabs button[aria-selected="true"] { background:var(--locket-ui-raised); color:var(--locket-ui-text); }
.vip-section-tabs button:active { transform:scale(.96); }
.vip-section { display:flex; flex-direction:column; gap:18px; min-width:0; }
.vip-section[hidden],#vipMiniPlayer[hidden],#vipSelectedTrack[hidden] { display:none!important; }
.vip-music-intro { display:flex; align-items:center; gap:22px; padding:20px 12px 22px; }
.vip-eyebrow { font-size:10px; font-weight:700; letter-spacing:1.6px; color:var(--locket-accent-text); }
.vip-music-intro h3 { font-size:26px; line-height:1.15; letter-spacing:-.5px; font-weight:700; margin:7px 0 8px; }
.vip-music-intro p,.vip-section-intro p { font-size:13px; color:var(--locket-ui-muted); margin:0; line-height:1.5; }
.vip-record { position:relative; display:grid; place-items:center; flex:0 0 84px; width:84px; height:84px; border-radius:50%; background:repeating-radial-gradient(circle at center,transparent 0 5px,#ffffff10 6px 7px),conic-gradient(from 35deg,#4c4852,#24212b,#66616c,#24212b,#4c4852); box-shadow:0 9px 20px #0002; transform:rotate(-15deg); }
.vip-record span { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--bs-primary); }
.vip-record span::after { content:''; width:8px; height:8px; border-radius:50%; background:var(--locket-ui-card); }
#sideCustomizerDrawer #vipMusicBox { display:flex; flex-direction:column; padding:0; border:0; border-radius:0; background:transparent; gap:12px; }
#vipMusicBox > .sec-label { display:none; }
#sideCustomizerDrawer #vipMusicBox .detail-div-13 { display:flex; align-items:center; gap:0; padding:5px; border:1px solid transparent; border-radius:22px; background:var(--locket-ui-raised); transition:border-color .2s,box-shadow .2s; }
#sideCustomizerDrawer #vipMusicBox .detail-div-13:focus-within { border-color:color-mix(in srgb,var(--bs-primary) 55%,transparent); box-shadow:0 0 0 3px color-mix(in srgb,var(--bs-primary) 10%,transparent); }
#sideCustomizerDrawer #musicQueryInput { flex:1; min-width:0; height:44px; padding:0 12px; background:transparent; border:0; box-shadow:none; outline:none; font-size:16px; }
#sideCustomizerDrawer #musicSearchBtn { width:44px; min-width:44px; height:44px; padding:0; border:0; border-radius:17px; box-shadow:none; background:var(--locket-ui-card); color:var(--locket-ui-text); transition:transform .18s,background .18s; }
#musicSearchBtn > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
#sideCustomizerDrawer #musicSearchBtn .ui-icon { width:21px; height:21px; }
.vip-music-prompts { display:flex; gap:7px; overflow-x:auto; scrollbar-width:none; padding:2px 0 8px; flex-shrink:0; }
.vip-music-prompts button { border:1px solid var(--locket-ui-border); border-radius:99px; background:transparent; color:var(--locket-ui-muted); font:500 12px var(--locket-font-family); white-space:nowrap; padding:8px 13px; cursor:pointer; transition:background .2s,transform .18s; }
.vip-music-prompts button:hover { background:var(--vip-soft); }
#sideCustomizerDrawer .music-search-empty { justify-content:center; text-align:center; flex-direction:column; gap:12px; min-height:100px; padding:16px 24px; }
#sideCustomizerDrawer .music-search-empty > .ui-icon { width:44px; height:44px; padding:10px; border-radius:50%; background:var(--vip-soft); }
#sideCustomizerDrawer .music-search-empty strong { font-size:15px; font-weight:600; }
#sideCustomizerDrawer .music-search-empty small { font-size:12px; line-height:1.6; }
#sideCustomizerDrawer #musicResultsBox { display:flex; flex-direction:column; gap:3px; overflow:visible; max-height:none; }
#sideCustomizerDrawer .music-track-row { isolation:isolate; min-height:78px; padding:10px 7px; border:1px solid transparent; border-radius:20px; background:transparent; gap:12px; animation:vip-track-arrive .28s cubic-bezier(.2,.8,.2,1) both; animation-delay:var(--track-delay,0s); }
#sideCustomizerDrawer .music-track-row:hover { background:var(--vip-soft); }
#sideCustomizerDrawer .music-track-row.selected { border-color:var(--locket-ui-border); background:var(--vip-soft); }
#sideCustomizerDrawer .music-track-row.is-previewing { border-color:color-mix(in srgb,var(--bs-primary) 28%,transparent); background:var(--vip-soft); }
#sideCustomizerDrawer .music-track-art { width:54px; height:54px; flex-basis:54px; border-radius:15px; box-shadow:0 3px 8px #0000000c; }
#sideCustomizerDrawer .music-track-title { font-size:15px; font-weight:600; line-height:1.3; }
#sideCustomizerDrawer .music-track-artist { font-size:12px; margin-top:4px; color:var(--locket-ui-muted); }
#sideCustomizerDrawer .music-track-copy { min-height:48px; display:flex; flex-direction:column; justify-content:center; }
#sideCustomizerDrawer .music-preview-button { flex:0 0 44px; width:44px; height:44px; padding:0; border:0; border-radius:50%; background:var(--locket-ui-raised); color:var(--locket-ui-text); transition:transform .18s,background .18s; }
#sideCustomizerDrawer .music-preview-button .ui-icon { width:24px; height:24px; }
#sideCustomizerDrawer .music-preview-button .music-preview-label { display:none; }
#sideCustomizerDrawer .music-preview-button[aria-pressed="true"] { background:var(--bs-primary); color:var(--locket-accent-ink); }
#sideCustomizerDrawer .music-preview-button:disabled { opacity:.3; }
#sideCustomizerDrawer .music-track-row::after { inset: auto 12px 0; width:auto; transform:scaleX(var(--music-progress-ratio,0)); transform-origin:left; border-radius:99px; transition:transform .22s linear; }
#sideCustomizerDrawer .music-preview-status { font-size:12px; line-height:1.5; margin:2px 4px; }
.vip-selected-track { display:flex; align-items:center; gap:10px; padding:12px; border:1px solid var(--locket-ui-border); border-radius:22px; background:var(--vip-soft); }
.vip-selected-track > img { width:44px; height:44px; object-fit:cover; border-radius:12px; }
.vip-selected-track > div { flex:1; min-width:0; display:flex; flex-direction:column; }
.vip-selected-track small { font-size:10px; color:var(--locket-accent-text); }
.vip-selected-track strong { font-size:14px; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.vip-selected-track span { font-size:11px; color:var(--locket-ui-muted); }
.vip-selected-track button { display:grid; place-items:center; width:36px; height:40px; flex:none; border:0; border-radius:50%; background:transparent; color:var(--locket-ui-muted); cursor:pointer; }
.vip-selected-track .native-icon { width:20px; height:20px; }
.vip-mini-player { position:sticky; bottom:0; z-index:5; display:flex; flex-direction:column; gap:10px; margin-top:8px; padding:14px 14px 10px; border:1px solid var(--locket-ui-border); border-radius:26px; background:var(--locket-ui-card); box-shadow:0 -4px 24px #00000012,0 6px 20px #00000008; animation:vip-player-arrive .32s cubic-bezier(.2,.8,.2,1); }
.vip-player-main { display:flex; align-items:center; gap:11px; }
.vip-player-art { position:relative; display:block; flex:0 0 46px; width:46px; height:46px; overflow:hidden; border-radius:14px; background:var(--locket-ui-raised); }
.vip-player-art img { width:100%; height:100%; object-fit:cover; }
.vip-player-copy { flex:1; min-width:0; display:flex; flex-direction:column; gap:4px; }
.vip-player-copy strong { font-size:14px; line-height:1.35; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.vip-player-copy > span { font-size:13px; color:var(--locket-ui-muted); line-height:1.3; }
#vipPlayerToggle { display:grid; place-items:center; width:44px; height:44px; flex:none; border:0; border-radius:50%; background:var(--bs-primary); color:var(--locket-accent-ink); cursor:pointer; }
#vipPlayerToggle .native-icon { width:26px; height:26px; }
.vip-player-timeline { display:flex; align-items:center; gap:10px; font-size:12px; font-variant-numeric:tabular-nums; color:var(--locket-ui-muted); }
#vipPlayerSeek { flex:1; min-width:0; height:22px; margin:0; padding:0; cursor:pointer; accent-color:var(--bs-primary); background:transparent; }
.vip-use-track { display:flex; align-items:center; justify-content:center; gap:6px; min-height:48px; border:0; border-radius:18px; background:var(--locket-ui-raised); color:var(--locket-ui-text); font:600 14px var(--locket-font-family); cursor:pointer; }
.vip-use-track .native-icon { width:15px; height:15px; }
.studio-action-icon { display:block; width:20px; height:20px; flex:0 0 20px; fill:none; stroke:currentColor; }
.vip-use-track { gap:10px; }
.vip-use-track .studio-action-icon { width:22px; height:22px; flex-basis:22px; transition:transform .2s ease; }
.vip-use-track:active .studio-action-icon { transform:translateX(3px); }
.vip-mini-player.is-loading .vip-player-art { animation:vip-loading-breathe .8s ease-in-out 15 alternate; }
.vip-section-intro { padding:20px 4px 6px; }
.vip-section-intro h3 { margin:0 0 6px; font-size:23px; font-weight:600; line-height:1.3; }
#sideCustomizerDrawer #vipSectionDetails > div > .sec-label { padding:10px 4px; font-size:18px; font-weight:600; }
#sideCustomizerDrawer #vipSectionDetails > div > .vip-mode-pills { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
#sideCustomizerDrawer #vipSectionDetails [data-ov] { grid-column:auto; min-height:76px; border:1px solid transparent; border-radius:22px; font-size:13px; font-weight:500; background:var(--locket-ui-raised); color:var(--locket-ui-text); }
#sideCustomizerDrawer #vipSectionDetails [data-ov].active { border-color:color-mix(in srgb,var(--bs-primary) 45%,transparent); background:var(--vip-soft); color:var(--locket-accent-text); }
#sideCustomizerDrawer #vipOverlayQuickBox,#sideCustomizerDrawer #vipSectionStreak .custom-seg-box { padding:18px; border:0; border-radius:26px; background:var(--locket-ui-raised); gap:16px; }
#sideCustomizerDrawer #vipOverlayQuickTitle { font-size:15px; line-height:1.4; font-weight:600; }
#sideCustomizerDrawer #vipCustomOverlayInput { min-height:50px; border-radius:17px; padding-inline:14px; font-size:16px; background:var(--locket-ui-card); border:1px solid transparent; }
.vip-suggestions > summary { min-height:44px; display:flex; align-items:center; justify-content:space-between; font-size:13px; color:var(--locket-ui-muted); cursor:pointer; list-style:none; }
.vip-suggestions > summary::-webkit-details-marker { display:none; }
.vip-suggestions > summary::after { content:'+'; font-size:20px; }
.vip-suggestions[open] > summary::after { content:'−'; }
#sideCustomizerDrawer #vipOverlayQuickPills { display:flex; flex-wrap:wrap; gap:8px; padding-top:8px; }
#sideCustomizerDrawer #vipOverlayQuickPills .vip-pill-btn { width:auto; max-width:100%; min-height:38px; padding:9px 13px; border:0; border-radius:99px; font-size:12px; line-height:1.4; background:var(--locket-ui-card); text-align:left; }
#sideCustomizerDrawer #vipSectionStreak .streak-seg-group { background:var(--locket-ui-card); border:0; padding:5px; }
#sideCustomizerDrawer #vipSectionStreak .streak-seg-btn { min-height:72px; font-size:12px; border-radius:17px; }
#sideCustomizerDrawer #vipSectionStreak .detail-streak-mode-badge { font-size:11px; padding:4px 9px; border-radius:99px; }
#sideCustomizerDrawer :is(.vip-section button,.music-preview-button,#musicSearchBtn):active { transform:scale(.95); }
#sideCustomizerDrawer :is(.vip-section button,.vip-section-tabs button,.drawer-grab-handle):focus-visible { outline:2px solid var(--bs-primary); outline-offset:3px; }
#sideCustomizerDrawer .vip-section input:focus-visible { outline:2px solid color-mix(in srgb,var(--bs-primary) 55%,transparent); outline-offset:2px; }
.music-loading-skeleton { display:flex; flex-direction:column; gap:16px; padding:10px 6px; }
.music-loading-skeleton > span { display:flex; gap:12px; align-items:center; animation:vip-loading-breathe .8s ease-in-out 15 alternate; }
.music-loading-skeleton > span:nth-child(2) { animation-delay:.12s; }
.music-loading-skeleton > span:nth-child(3) { animation-delay:.24s; }
.music-loading-skeleton i { display:block; width:54px; height:54px; border-radius:15px; background:var(--locket-ui-raised); }
.music-loading-skeleton b { width:55%; height:27px; border-radius:8px; background:var(--locket-ui-raised); }
@keyframes vip-loading-breathe { from { opacity:.4; } to { opacity:1; } }
@keyframes vip-track-arrive { from { opacity:0; transform:translateY(7px); } to { opacity:1; transform:none; } }
@keyframes vip-player-arrive { from { opacity:0; transform:translateY(15px) scale(.98); } to { opacity:1; transform:none; } }
@media (max-width:1024px),(pointer:coarse) {
  #sideCustomizerDrawer { height:min(780px,88%); max-height:calc(100% - env(safe-area-inset-top,0px) - 20px); padding:8px 18px 0; gap:12px; border-radius:34px 34px 0 0; }
  #sideCustomizerDrawer .drawer-tab-btn { font-size:12px; min-height:44px; }
  #sideCustomizerDrawer .drawer-sheet-title strong { font-size:20px; }
  #sideCustomizerDrawer .drawer-pane { scrollbar-width:none; }
}
@media (max-width:360px) { .vip-record { width:68px; height:68px; flex-basis:68px; } .vip-music-intro { gap:15px; padding:14px 5px; } .vip-music-intro h3 { font-size:23px; } .vip-section-tabs button { font-size:13px; } }
@media (prefers-reduced-motion:reduce) {
  #sideCustomizerDrawer,#sideCustomizerDrawer.open,#sideCustomizerDrawer * { animation:none!important; transition:none!important; scroll-behavior:auto; }
}

/* Results get the space once searching is complete. */
.has-results .vip-music-intro { padding:10px 4px 4px; gap:14px; }
.has-results .vip-record { width:48px; height:48px; flex-basis:48px; box-shadow:0 4px 10px #0002; }
.has-results .vip-record span { width:22px; height:22px; }
.has-results .vip-record span::after { width:5px; height:5px; }
.has-results .vip-music-intro h3 { font-size:19px; line-height:1.4; margin:0; }
.has-results .vip-music-intro br { display:none; }
.has-results .vip-music-intro br::after { content:' '; }
.has-results .vip-music-intro p,.has-results .vip-eyebrow { display:none; }

/* Shared form surfaces: quiet outlines, readable labels and still inputs. */
#sideCustomizerDrawer {
  --studio-field:color-mix(in srgb,var(--locket-ui-raised) 56%,var(--locket-ui-card));
  --studio-hairline:color-mix(in srgb,var(--locket-ui-border) 55%,transparent);
  border-color:var(--studio-hairline);
}
#sideCustomizerDrawer .drawer-tabs { border:0; background:var(--studio-field); }
#sideCustomizerDrawer .drawer-tabs::before { box-shadow:0 1px 3px #0000000a; }
#sideCustomizerDrawer .drawer-sheet-header button { border:0; background:var(--studio-field); }
#sideCustomizerDrawer #paneCaptions { padding-inline:2px; }
#nativeCaptionAdvanced { border-color:var(--studio-hairline); padding-top:14px; }
#nativeCaptionAdvanced > summary { position:relative; display:block; padding:6px 32px 10px 0; font-size:16px; font-weight:600; line-height:1.5; }
#nativeCaptionAdvanced > summary span { display:block; margin-top:3px; font-size:12px; font-weight:400; }
#nativeCaptionAdvanced > summary::after { position:absolute; right:3px; top:7px; font-weight:400; color:var(--locket-ui-muted); }
#nativeCaptionAdvanced[open] > summary { margin-bottom:8px; }
#sideCustomizerDrawer #nativeCaptionAdvanced .customizer-section-heading { margin:24px 0 10px; gap:6px 16px; flex-wrap:wrap; font-size:15px; line-height:1.5; font-weight:600; }
#sideCustomizerDrawer #nativeCaptionAdvanced .customizer-section-heading small { font-size:13px; font-weight:400; line-height:1.5; }
#nativeCaptionAdvanced .custom-caption-editor { gap:10px; }
#sideCustomizerDrawer #nativeCaptionAdvanced .custom-caption-editor .customizer-section-heading { margin-top:8px; }
#sideCustomizerDrawer #nativeCaptionAdvanced .caption-top-actions { display:flex; flex-wrap:wrap; gap:8px; }
#sideCustomizerDrawer #nativeCaptionAdvanced :is(.random-caption-btn,.save-preset-btn) { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:44px; padding:10px 14px; border-radius:16px; border:0!important; background:var(--studio-field)!important; color:var(--locket-accent-text)!important; box-shadow:none; font-size:13px; line-height:1.4; font-weight:500; transform:none; }
#sideCustomizerDrawer #nativeCaptionAdvanced :is(.custom-caption-input,.caption-search-input) { width:100%; height:48px!important; min-height:48px; padding:12px 14px; border:1px solid transparent; border-radius:16px; background:var(--studio-field); color:var(--locket-ui-text); font-size:16px!important; font-weight:400; line-height:1.5; text-align:left; box-shadow:none; animation:none; transition:border-color .18s,background .18s; }
#sideCustomizerDrawer #nativeCaptionAdvanced input::placeholder { color:var(--locket-ui-muted); font-size:13px; font-weight:400; opacity:1; }
#sideCustomizerDrawer #nativeCaptionAdvanced input:focus-visible { outline:2px solid color-mix(in srgb,var(--bs-primary) 50%,transparent); outline-offset:1px; }
.caption-preview-stage { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; min-height:108px; padding:14px 18px 20px; border-radius:20px; background:var(--studio-field); overflow:hidden; }
.caption-preview-label { color:var(--locket-ui-muted); font-size:13px; line-height:1.5; font-weight:500; letter-spacing:0; }
.caption-preview-badge { display:inline-flex; align-items:center; justify-content:center; gap:5px; position:relative; isolation:isolate; max-width:100%; min-height:38px; padding:9px 17px; border-radius:99px; font-size:14px; font-weight:600; line-height:1.4; overflow:hidden; }
#drawerCaptionText { min-width:0; overflow-wrap:anywhere; text-align:center; }
#drawerCaptionPrefix:empty,#drawerCaptionSuffix:empty { display:none; }
#drawerCaptionPrefix,#drawerCaptionSuffix { display:inline-flex; align-items:center; flex-shrink:0; }
#drawerCaptionPreview :is(img,svg) { width:20px; height:20px; object-fit:contain; }
#sideCustomizerDrawer #nativeCaptionAdvanced :is(.caption-icon-pills,#captionFontPills,#captionFxPills,#captionCategoryPills) { gap:8px; margin-bottom:12px; }
#sideCustomizerDrawer #nativeCaptionAdvanced :is(.cap-icon-chip,.vip-pill-btn) { min-height:40px; height:auto; padding:9px 13px; border:1px solid transparent; border-radius:14px; background:var(--studio-field); color:var(--locket-ui-muted); font-size:12px; line-height:1.4; font-weight:500; box-shadow:none; transform:none; transition:background .18s,color .18s,transform .18s; }
#sideCustomizerDrawer #nativeCaptionAdvanced :is(.cap-icon-chip,.vip-pill-btn).active { background:var(--customizer-selected); color:var(--locket-accent-text); border-color:color-mix(in srgb,var(--bs-primary) 32%,transparent); box-shadow:none; }
#sideCustomizerDrawer #nativeCaptionAdvanced :is(.cap-icon-chip,.vip-pill-btn,.random-caption-btn):active { transform:scale(.97); }
#sideCustomizerDrawer #nativeCaptionAdvanced .caption-swatches-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:3px; }
#sideCustomizerDrawer #nativeCaptionAdvanced #photoPaletteGrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
#sideCustomizerDrawer #nativeCaptionAdvanced .caption-swatch-pill { position:relative; display:flex; flex-direction:column; align-items:stretch; gap:8px; min-width:0; min-height:76px; padding:8px; border:1px solid transparent; border-radius:16px; background:var(--studio-field); color:var(--locket-ui-text); box-shadow:none; font-size:12px; line-height:1.5; font-weight:500; white-space:normal; overflow:visible; transition:transform .18s,border-color .18s,background .18s; }
#sideCustomizerDrawer .caption-swatch-pill::before { content:''; display:block; height:30px; flex-shrink:0; border-radius:9px; background:var(--swatch-fill); box-shadow:inset 0 0 0 1px #80808018; }
#sideCustomizerDrawer #nativeCaptionAdvanced .caption-swatch-pill.active { border-color:var(--bs-primary); background:var(--customizer-selected); box-shadow:none; }
#sideCustomizerDrawer .caption-swatch-pill.active::after { content:'✓'; position:absolute; top:13px; right:13px; width:20px; height:20px; display:grid; place-items:center; border-radius:50%; color:var(--locket-ui-text); background:var(--locket-ui-card); font-size:12px; font-weight:700; }
#sideCustomizerDrawer #nativeCaptionAdvanced .caption-swatch-pill:active { transform:scale(.96); }
#sideCustomizerDrawer .theme-swatches-bar { display:flex; flex-wrap:wrap; gap:14px; align-items:center; justify-content:space-between; margin:14px 0; padding:16px; border:0; border-radius:20px; background:var(--studio-field); }
#sideCustomizerDrawer .theme-swatches-bar .detail-span-4 { font-size:13px; font-weight:500; }
#sideCustomizerDrawer .theme-swatches-bar .detail-span-4 small { font-size:13px; line-height:1.5; }
#sideCustomizerDrawer .swatch-group { gap:14px; }
#sideCustomizerDrawer .color-circle-wrap { width:36px; gap:6px; }
#sideCustomizerDrawer .color-circle-wrap input { width:36px; height:36px; border:3px solid var(--locket-ui-card); outline:1px solid var(--studio-hairline); cursor:pointer; }
#sideCustomizerDrawer .color-circle-wrap > span { font-size:12px; }
#sideCustomizerDrawer #captionSwatchesGrid { margin-bottom:8px; }
#sideCustomizerDrawer #captionSearchInput { margin-bottom:12px; }
#sideCustomizerDrawer #presetsContainer { gap:10px; }
#sideCustomizerDrawer .kanade-caption-card { min-height:94px; padding:14px 10px 10px; gap:12px; background:var(--studio-field); border:1px solid transparent; box-shadow:none; border-radius:20px; transition:background .18s,border-color .18s,transform .18s; }
#sideCustomizerDrawer .kanade-caption-card[aria-pressed="true"] { border-color:color-mix(in srgb,var(--bs-primary) 40%,transparent); background:var(--customizer-selected); }
#sideCustomizerDrawer .kanade-caption-card :is(.kanade-badge-pill,.locket-caption-badge) { font-size:12px; font-weight:600; padding:8px 11px; box-shadow:none; }
#sideCustomizerDrawer .kanade-caption-meta { border:0; padding:0; font-size:12px; }
#sideCustomizerDrawer .kanade-cat-tag,#sideCustomizerDrawer .kanade-use-tag { font-weight:500; }

/* Streak settings use one surface instead of nested outlined cards. */
#sideCustomizerDrawer #vipSectionStreak { gap:22px; padding-bottom:20px; }
#vipSectionStreak .vip-section-intro { display:flex; flex-direction:column; align-items:center; text-align:center; padding:20px 8px 0; }
.streak-intro-icon { display:grid; place-items:center; width:58px; height:58px; margin-bottom:16px; border-radius:21px; background:var(--customizer-selected); color:var(--locket-accent-text); }
.streak-intro-icon .ui-icon { width:30px; height:30px; }
#vipSectionStreak .vip-section-intro h3 { font-size:22px; font-weight:600; letter-spacing:-.4px; }
#sideCustomizerDrawer #vipSectionStreak .custom-seg-box { padding:0; border:0; border-radius:0; background:transparent; gap:16px; box-shadow:none; }
#sideCustomizerDrawer #vipSectionStreak .detail-lp-sec-heading { padding-inline:4px; }
#sideCustomizerDrawer #vipSectionStreak .detail-span-5 { font-size:13px; font-weight:600; }
#sideCustomizerDrawer #vipSectionStreak .detail-streak-mode-badge { padding:0; background:transparent; font-size:11px; font-weight:400; color:var(--locket-ui-muted); }
#sideCustomizerDrawer #vipSectionStreak .streak-seg-group { gap:4px; padding:5px; border:0; border-radius:22px; background:var(--studio-field); }
#sideCustomizerDrawer #vipSectionStreak .streak-seg-btn { flex:1; min-width:0; min-height:82px; padding:12px 4px; gap:9px; border:0; border-radius:17px; background:transparent; color:var(--locket-ui-muted); font-size:12px; font-weight:500; box-shadow:none; transition:background .22s,color .22s,transform .18s; }
#sideCustomizerDrawer #vipSectionStreak .streak-seg-btn.active { background:var(--locket-ui-card); color:var(--locket-accent-text); box-shadow:0 1px 4px #00000008; }
#sideCustomizerDrawer #streakDateWrap { padding:18px; border:0; border-radius:22px; background:var(--studio-field); }
#sideCustomizerDrawer .streak-date-label { margin:0 0 10px; font-size:13px; font-weight:500; }
#sideCustomizerDrawer #streakDateInput { width:100%; height:48px; border:0; border-radius:14px; background:var(--locket-ui-card); color:var(--locket-ui-text); padding:12px 14px; font-size:16px; letter-spacing:1px; box-shadow:none; }
.streak-date-hint { margin:10px 0 0; color:var(--locket-ui-muted); font-size:11px; line-height:1.6; }
@media (max-width:360px) {
  #sideCustomizerDrawer #nativeCaptionAdvanced .custom-caption-editor .customizer-section-heading { align-items:flex-start; flex-direction:column; }
  #sideCustomizerDrawer #vipSectionStreak .streak-seg-btn { font-size:11px; }
  #vipSectionStreak .vip-section-intro h3 { font-size:20px; }
  #sideCustomizerDrawer #nativeCaptionAdvanced #captionSwatchesGrid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:480px) {
  #sideCustomizerDrawer #nativeCaptionAdvanced .customizer-section-heading { align-items:flex-start; flex-direction:column; gap:4px; }
  #sideCustomizerDrawer #nativeCaptionAdvanced .custom-caption-editor .customizer-section-heading { gap:12px; }
  #sideCustomizerDrawer #nativeCaptionAdvanced .caption-top-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; }
  #sideCustomizerDrawer #nativeCaptionAdvanced :is(.cap-icon-chip,.vip-pill-btn) { font-size:13px; min-height:44px; }
}
@media (min-width:600px) {
  #sideCustomizerDrawer :is(.vip-section,.vip-section-tabs) { width:100%; max-width:560px; margin-inline:auto; }
  #sideCustomizerDrawer #paneCaptions { width:100%; max-width:600px; margin-inline:auto; }
}
@media (max-height:650px) {
  #sideCustomizerDrawer #vipSectionStreak { gap:16px; }
  #vipSectionStreak .vip-section-intro { display:grid; grid-template-columns:42px 1fr; column-gap:12px; text-align:left; padding:6px 4px 0; }
  .streak-intro-icon { grid-row:span 2; width:42px; height:42px; margin:0; border-radius:15px; }
  .streak-intro-icon .ui-icon { width:24px; height:24px; }
  #vipSectionStreak .vip-section-intro h3 { margin:0; font-size:16px; }
  #vipSectionStreak .vip-section-intro p { margin-top:4px; font-size:11px; }
  #sideCustomizerDrawer #vipSectionStreak .streak-seg-btn { min-height:64px; gap:6px; padding-block:8px; }
}
