.gift-project-library{display:flex;flex-direction:column;gap:16px;min-width:0;max-height:calc(100svh - 100px)}.gift-project-library.is-embedded{flex:1 1;min-height:0;max-height:none;gap:12px}.gift-dialog:has(.gift-project-library){display:flex;flex-direction:column;height:min(640px,calc(100dvh - 48px));overflow:hidden}.gift-dialog:has(.gift-project-library) .gift-dialog-heading{flex:none;margin-bottom:14px}.gift-dialog:has(.gift-project-library) .gift-library-search{background:var(--songno-raised)}.gift-dialog:has(.gift-project-library) .gift-library-search:focus-within{background:var(--songno-hover);outline:0}.gift-dialog:has(.gift-project-library) .gift-project-rows{flex:1 1;min-height:0;scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--songno-muted) 35%,transparent) transparent}.gift-dialog:has(.gift-project-library) .gift-project-rows::-webkit-scrollbar{width:5px}.gift-dialog:has(.gift-project-library) .gift-project-rows::-webkit-scrollbar-track{background:transparent}.gift-dialog:has(.gift-project-library) .gift-project-rows::-webkit-scrollbar-thumb{background:color-mix(in srgb,var(--songno-muted) 35%,transparent);border-radius:999px}.gift-dialog:has(.gift-project-library) .gift-project-row.studio-button{min-height:68px;padding:8px}@media(max-width:759px){.gift-dialog:has(.gift-project-library){height:min(84dvh,calc(100dvh - 24px));max-height:none;padding-top:20px}}.gift-art-slot,.gift-mobile-icon-slot{position:relative;display:inline-grid;place-items:center;flex:none}.gift-result-unseen{position:absolute;left:-2px;bottom:-2px;width:7px;height:7px;border-radius:50%;background:var(--ui-blue,#315bff);border:0;box-shadow:none;pointer-events:none;z-index:2}.gift-mobile-result-unseen{left:auto;right:-3px;bottom:auto;top:-2px}.gift-project-row .gift-art-slot{width:52px;height:52px}.gift-project-row .gift-art-slot>.cab-greeting-art{flex:none;width:44px;height:44px}.gift-project-row .gift-art-slot>.gift-library-shader{position:relative;display:block;flex:none;width:44px;height:44px;overflow:hidden;border-radius:50%}.gift-project-library>header{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px}.gift-project-library h2{margin:0;font-size:20px;line-height:1.4;letter-spacing:-.02em}.gift-project-library .cab-tabs{gap:4px;padding:4px;background:var(--songno-surface);border-radius:12px}.gift-project-library .cab-tabs button{flex:1 1;min-width:0;padding:8px 4px;min-height:36px;border:0;border-radius:8px;font-size:12px;color:var(--songno-muted);background:transparent;cursor:pointer;transition:background-color .18s ease,color .18s ease}.gift-project-library .cab-tabs button[aria-pressed=true]{background:var(--songno-raised);color:var(--songno-ink)}.gift-project-library .gift-library-search{display:flex;align-items:center;gap:10px;min-width:0;padding:0 12px;min-height:44px;border-radius:12px;background:var(--songno-surface);transition:background-color .18s ease}.gift-project-library .gift-library-search>svg{width:18px;height:18px;color:var(--songno-muted);flex:none}.gift-project-library input{width:100%;min-width:0;min-height:44px;padding:10px 0;background:transparent;border:0;outline:0;color:var(--songno-ink);font:inherit;font-size:13px}.gift-project-rows{list-style:none;display:grid;gap:6px;align-content:start;min-height:0;overflow:auto;scrollbar-width:thin;margin:0;padding:0 2px 2px}.gift-project-rows>li{display:flex;align-items:center;gap:4px;min-width:0;border-radius:12px;transition:background-color .18s ease}.gift-project-rows>li[data-selected]{background:var(--songno-surface)}.gift-project-row.studio-button{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex:1 1;min-width:0;min-height:84px;padding:10px 8px;text-align:left;white-space:normal}.gift-project-row>.cab-greeting-art{flex:none;width:44px;height:44px}.gift-project-row>span:not(.gift-art-slot){display:grid;gap:3px;min-width:0}.gift-project-row strong{font-size:13px}.gift-project-row small,.gift-project-row strong{line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gift-project-row small{font-size:11px;color:var(--songno-muted)}.gift-project-rows>li>.cab-icon-button{flex:none;width:36px;height:36px;min-width:36px;min-height:36px;padding:0}.gift-project-rows>li>.cab-icon-button svg{width:16px;height:16px}.gift-library-empty{display:grid;justify-items:start;gap:8px;padding:24px 8px;color:var(--songno-muted)}.gift-library-empty>svg{width:28px;height:28px;margin-bottom:4px}.gift-library-empty strong{font-size:14px;color:var(--songno-ink)}.gift-library-empty p{margin:0;font-size:13px;line-height:1.55}.gift-library-from-song{align-self:flex-start;font-size:12px}.gift-legacy-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);gap:32px;align-items:start}.gift-legacy-workspace>.cab-greetings-flow{min-width:0}.gift-legacy-workspace .cab-greeting-panel{width:100%;max-width:none;margin:0;padding:0;background:transparent;border:0}.gift-legacy-workspace .cab-greeting-steps{margin-bottom:24px}.gift-legacy-preview{position:sticky;top:28px;min-width:0;display:grid;gap:16px}.gift-legacy-preview h2{margin:0;font-size:13px;font-weight:500;color:var(--songno-muted)}.gift-preview-trigger.studio-button{display:none}.gift-studio-main>.cab-greetings-header{margin-bottom:24px}.gift-studio-main .cab-greetings-header h1{font-size:24px;line-height:1.25}@media(hover:hover){.gift-occasion-rail>button:hover:not(:disabled),.gift-project-rows>li:hover{background:var(--songno-raised)}}@media(min-width:1500px){.gift-studio-frame .gift-workbench{grid-template-columns:minmax(0,1fr) minmax(240px,280px);gap:24px}}@media(max-width:1050px) and (min-width:760px){.gift-legacy-workspace{grid-template-columns:minmax(0,1fr) 240px;gap:24px}}@media(max-width:759px){.gift-legacy-workspace{display:block}.gift-legacy-preview{display:none}.gift-preview-trigger.studio-button{display:flex;margin-left:auto;margin-bottom:20px;min-height:40px}.gift-studio-main>.cab-greetings-header h1{font-size:20px}.gift-project-library{max-height:none}.gift-project-rows>li>.cab-icon-button{width:44px;height:44px;min-width:44px;min-height:44px}.gift-project-row.studio-button{min-height:88px}.gift-project-row strong{font-size:14px}.gift-project-row small{font-size:12px}}@media(prefers-reduced-motion:reduce){.gift-occasion-rail>button,.gift-project-library .cab-tabs button,.gift-project-rows>li{transition:none}}.gift-legacy-workspace[data-ready]{grid-template-columns:minmax(0,1fr)}.gift-project-library .gift-project-rows .gift-project-row.studio-button:is(:hover,:focus-visible,:active){background:transparent;box-shadow:none;transform:none;outline:0}.gift-project-library .gift-project-rows>li:has(:focus-visible){background:var(--songno-raised)}.gift-project-library .gift-library-search:focus-within{outline:0;box-shadow:none;border:0;background:var(--songno-raised)}.gift-project-library .gift-library-search input:is(:hover,:focus,:focus-visible){outline:0;box-shadow:none;border:0;background:transparent}@media(hover:hover) and (pointer:fine){.gift-project-library .gift-library-search:hover{background:var(--songno-raised)}}