/* Dance of Shiva — collection workspace */
:root { --gradient-from: #c5e478 !important; --gradient-to: #9bbe53 !important; --theme-accent: #c5e478 !important; --workspace-bg: #141614; --workspace-panel: #1b1e1b; --workspace-line: #30352f; --workspace-text: #f1f2eb; --workspace-muted: #959e91; }
html { background: var(--workspace-bg); scroll-padding-top: 100px; }
body { background: var(--workspace-bg); color: var(--workspace-text); font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible { outline: 2px solid #c5e478; outline-offset: 4px; }
button { cursor: pointer; }
::selection { background: #c5e478; color: #182111; }
* { scrollbar-color: #4a5145 transparent; }
::-webkit-scrollbar-thumb { background: #4a5145; box-shadow: none; }
#heartbeatWrap, .bg-dot-pattern, .ambient-glow-left, .ambient-glow-right { display: none; }
#shivaBgVideo { opacity: .12; }
.workspace-sidebar { width: 236px; position: fixed; inset: 0 auto 0 0; z-index: 35; padding: 34px 20px 22px; background: #191c18; border-right: 1px solid var(--workspace-line); display: flex; flex-direction: column; }
.workspace-brand { display: flex; align-items: center; gap: 11px; color: #f1f2eb; font-size: 15px; font-weight: 650; letter-spacing: -.4px; text-decoration: none; }
.brand-mark { width: 37px; height: 37px; background: #c5e478; color: #26371d; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; }
.brand-mark svg { width: 31px; height: 31px; }
.workspace-brand small { display: block; font-size: 10px; color: #959e91; margin-top: 4px; font-weight: 400; letter-spacing: .1px; }
.nav-caption { color: #777f72; font-size: 10px; letter-spacing: 1.8px; font-weight: 600; margin: 48px 12px 14px; }
.workspace-nav { display: grid; gap: 6px; }
.nav-link { display: flex; align-items: center; gap: 13px; padding: 13px 14px; font-size: 13px; font-weight: 500; border-radius: 9px; color: #aeb6a9; text-decoration: none; width: 100%; text-align: left; transition: background .2s; }
.nav-link svg { width: 18px; height: 18px; }
.nav-link span { margin-left: auto; font-size: 11px; font-variant-numeric: tabular-nums; color: #929e85; }
.nav-link:hover { background: #252b21; color: #edf1e8; }
.nav-link.active { background: #c5e478; color: #223215; }
.nav-link.active span { color: #445c28; }
.sidebar-note { margin: auto 0; padding: 22px 15px; border: 1px solid #343c2c; border-radius: 13px; background: linear-gradient(135deg, #252c20, #1d231b); }
.note-symbol { color: #c5e478; font-size: 34px; line-height: 1; }
.sidebar-note h3 { font-size: 13px; font-weight: 550; margin-top: 19px; letter-spacing: -.2px; }
.sidebar-note p { color: #9ca792; font-size: 12px; line-height: 1.8; margin-top: 8px; }
.sidebar-note a { display: flex; align-items: center; justify-content: space-between; margin-top: 23px; color: #c5e478; font-size: 11px; text-decoration: none; }
.sidebar-bottom { margin-top: 24px; }
.ambient-button { font-size: 11px; color: #a0aa97; display: flex; align-items: center; gap: 8px; width: 100%; padding: 12px 4px 19px; }
.ambient-button > span:first-child { font-size: 18px; }
.ambient-state { margin-left: auto; font-size: 10px; color: #c5e478; }
.workspace-account { display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--workspace-line); padding: 19px 0 0; font-size: 11px; }
.account-avatar { display: grid; place-items: center; height: 32px; width: 32px; border-radius: 50%; background: #30362b; color: #c5e478; font-weight: 600; }
.workspace-account small { display: block; color: #7e8b76; font-size: 10px; margin-top: 4px; }
#mainHeader.workspace-header { position: sticky; top: 0; margin: 0 0 0 236px; padding: 0 42px; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--workspace-line); background: rgba(20,22,20,.94); backdrop-filter: blur(18px); border-radius: 0; box-shadow: none; opacity: 1; transform: none; overflow: visible; }
.workspace-breadcrumb { display: flex; align-items: center; gap: 13px; font-size: 12px; color: #8a9582; }
.workspace-breadcrumb strong { font-weight: 500; color: #d8ded1; }
.header-actions { display: flex; align-items: center; gap: 23px; }
.private-label { display: flex; align-items: center; gap: 7px; color: #9ca792; font-size: 11px; }
.private-label svg { width: 13px; height: 13px; }
.icon-button { display: grid; place-items: center; width: 35px; height: 35px; border: 1px solid #373e31; border-radius: 9px; color: #bdc6b5; transition: background .2s; }
.icon-button:hover { background: #30382a; }
.icon-button svg { width: 16px; height: 16px; }
main.gallery-workspace { max-width: 1520px; margin: 0 0 0 236px; padding: 47px 42px 60px; position: relative; z-index: 10; }
#heroSection.gallery-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 30px; opacity: 1; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #a8b897; font-size: 9px; letter-spacing: 2px; font-weight: 550; }
.eyebrow span { width: 5px; height: 5px; background: #c5e478; border-radius: 50%; }
.gallery-hero h1 { font-size: clamp(34px, 3.8vw, 54px); font-weight: 500; letter-spacing: -2.5px; line-height: 1.15; margin: 14px 0 11px; }
.heading-period { color: #c5e478; }
.hero-description { color: #929d88; font-size: 13px; line-height: 1.7; }
.collection-summary { display: flex; flex-direction: column; align-items: flex-end; border-left: 1px solid #363e2f; padding: 4px 0 4px 32px; min-width: 132px; }
#sumCount { font-size: 24px; font-weight: 500; letter-spacing: -.9px; color: #e7edde; white-space: nowrap; }
.summary-caption { color: #8b987f; font-size: 11px; margin-top: 5px; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
#searchContainer.collection-search { display: flex !important; position: relative; align-items: center; gap: 12px; width: min(100%, 470px); height: 45px; padding: 0 14px; border: 1px solid #343a30; border-radius: 9px; background: #1c201a; box-shadow: none; }
.collection-search:focus-within { border-color: #9bbc6e !important; box-shadow: 0 0 0 3px #c5e4780c !important; }
.collection-search > svg { width: 17px; height: 17px; color: #8c9a7e; flex-shrink: 0; }
#searchInput { background: transparent; color: #e7edde; width: 100%; min-width: 0; font-size: 12px; outline: none; border: 0; }
#searchInput::placeholder { color: #86927b; }
#searchInput::-webkit-search-cancel-button { display: none; }
.search-clear { color: #9ea991; font-size: 20px; padding: 2px 5px; }
.collection-search:has(input:placeholder-shown) .search-clear { display: none; }
.collection-search kbd { color: #89977b; background: #272e21; border: 1px solid #3b4432; border-radius: 4px; font-size: 11px; padding: 0 6px; }
.view-switch { display: flex; padding: 4px; gap: 3px; border: 1px solid #343b2e; border-radius: 9px; background: #1c2019; }
.view-switch button { width: 33px; height: 33px; display: grid; place-items: center; color: #81916f; border-radius: 5px; }
.view-switch svg { width: 16px; height: 16px; }
.view-switch .selected { background: #354329; color: #c5e478; }
#folderSection { margin-bottom: 34px; scroll-margin-top: 105px; }
.section-heading, .collection-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-heading { margin-bottom: 15px; }
.section-heading h2, .collection-heading h2 { font-size: 15px; letter-spacing: -.3px; font-weight: 550; color: #e2e8da; }
#folderCountBadge { color: #a1b18e; font-size: 10px; padding: 2px 7px; margin-left: 5px; border-radius: 5px; background: #2a3223; }
#folderCountBadge:empty { display: none; }
#folderClearBtn { font-size: 11px; color: #c5e478; padding: 5px 0; }
#folderClearBtn span { padding-left: 7px; }
#folderGrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; }
#folderGrid .folder-card { display: flex; align-items: center; min-width: 0; border: 1px solid #353e2d; background: #1c2218; border-radius: 11px; height: 94px; overflow: hidden; position: relative; padding: 14px; gap: 12px; }
#folderGrid .folder-card:hover { background: #252d20; border-color: #72825f; }
#folderGrid .folder-card[class*="ring-2"] { border-color: #c5e478; box-shadow: 0 0 0 1px #c5e47833; }
#folderGrid .folder-card > div:first-child { width: 58px; height: 58px; aspect-ratio: 1; border-radius: 8px; flex-shrink: 0; background: #313e23; }
#folderGrid .folder-card > div:nth-child(2) { min-width: 0; padding: 0; flex: 1; }
#folderGrid .folder-card > div:nth-child(2) p:first-child { font-size: 12px; font-weight: 500; padding-right: 14px; }
#folderGrid .folder-card > div:nth-child(2) p:nth-child(2) { font-size: 9px; margin-top: 5px; }
#folderGrid .folder-card > div:first-child > span { display: none; }
#folderGrid .folder-card > div:first-child > button { position: fixed; display: none; }
#folderGrid .folder-options { position: absolute; right: 7px; top: 5px; color: #9baa8b; background: transparent; border: 0; width: 26px; height: 26px; font-size: 19px; }
.folder-meta { color: #8d9d7c; font-size: 10px; display: block; margin-top: 5px; }
#folderGrid.no-folders { display: block; }
.folders-empty { padding: 20px; border: 1px dashed #38432d; border-radius: 11px; color: #8d9e7b; font-size: 12px; }
#folderChips { display: none; }
.collection-heading { padding-top: 25px; border-top: 1px solid #323b2b; }
.collection-heading > div { display: flex; align-items: center; gap: 10px; }
#galleryCountBadge { color: #8ea17a; font-size: 10px; background: #252e1e; border: 1px solid #35452a; border-radius: 5px; padding: 2px 7px; }
.sort-label { display: flex; align-items: center; gap: 7px; color: #8d9e7d; font-size: 11px; }
.sort-label svg { width: 14px; height: 14px; }
.file-type-tabs { display: flex; gap: 23px; border-bottom: 1px solid #303a29; margin: 12px 0 18px; overflow-x: auto; scrollbar-width: none; }
.file-type-tabs button { color: #8f9d81; font-size: 11px; padding: 13px 0 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.file-type-tabs button:hover { color: #dde8cc; }
.file-type-tabs button.active { color: #c5e478; border-color: #c5e478; }
#galleryMain { max-width: none; }
#galleryMain .date-header { position: static; background: transparent; margin: 0 0 13px; padding: 10px 0 0; border: 0; gap: 10px; }
#galleryMain .date-header > span { font-size: 11px; letter-spacing: 0; text-transform: none; color: #b4c2a5; font-weight: 400; }
#galleryMain .date-header .date-count { color: #7e936c; font-size: 10px; }
#galleryMain .date-header button { background: none; border: 1px solid #3a4b2d; color: #a8bc95; border-radius: 6px; font-size: 10px; padding: 4px 8px; }
#galleryMain .cv-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; max-width: none; margin-bottom: 26px; }
#galleryMain .cv-grid > .group { border-radius: 11px; border: 1px solid #37442c; transition: border-color .2s; min-width: 0; background-color: #1c2418; }
#galleryMain .cv-grid > .group:hover { border-color: #91ad74; }
#galleryMain .media-card { aspect-ratio: 1.08; padding-bottom: 44px; }
#galleryMain .media-card > img { height: 100%; object-fit: cover; }
.media-caption { position: absolute; bottom: 0; left: 0; right: 0; height: 44px; padding: 0 12px; display: flex; gap: 8px; justify-content: space-between; align-items: center; background: #1c2418; border-top: 1px solid #334229; z-index: 15; pointer-events: none; }
.media-caption > span { font-size: 11px; color: #d7e2cb; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.media-caption small { font-size: 9px; color: #93a97f; white-space: nowrap; }
#galleryMain .media-card > button { bottom: 55px; }
#galleryMain .group > div.absolute.top-2\.5 { opacity: 0; transition: opacity .2s; }
#galleryMain .group:hover > div.absolute.top-2\.5, #galleryMain .group:focus-within > div.absolute.top-2\.5 { opacity: 1; }
#galleryMain .group button { width: 30px; height: 30px; }
#galleryMain .group button[title="Download"] { width: 30px; height: 30px; }
.gallery-compact #galleryMain .cv-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.gallery-compact .media-caption small { display: none; }
#galleryMainSentinel { margin-top: 5px; }
#galleryMainSentinelText { color: #7f956a; font-size: 11px; }
.gallery-empty { text-align: center; padding: 65px 20px; border: 1px dashed #35462a; border-radius: 13px; background: #1b2316; }
.gallery-empty > span { color: #c5e478; font-size: 46px; }
.gallery-empty h3 { font-size: 19px; font-weight: 500; margin-top: 12px; }
.gallery-empty p { font-size: 12px; color: #99ac86; margin: 10px 0 20px; }
.gallery-empty button { border: 1px solid #66834b; color: #c5e478; padding: 8px 15px; border-radius: 7px; font-size: 12px; }
#loader { max-width: none; background: #1c2418; border-color: #38492c; border-radius: 11px; }
#appFooter { margin-left: 236px; border-color: #303a29; background: transparent; }
#appFooter > div { padding: 18px 42px; }
#appFooter > div > div { flex-direction: row; }
#shivaVideoStatus, #shivaVideoToggle, #appFooter button[title="Next video"] { display: none; }
#appFooter p::after { content: ' / A place for everything'; font-family: -apple-system, BlinkMacSystemFont, sans-serif; }
@media (min-width: 1700px) { main.gallery-workspace { margin-right: auto; margin-left: max(236px, calc((100vw - 1520px)/2 + 118px)); } }
@media (max-height: 720px) { .sidebar-note { padding: 15px; margin-top: 24px; } .sidebar-note p { display: none; } .sidebar-note a { margin-top: 12px; } .sidebar-bottom { margin-top: auto; padding-top: 20px; } }
@media (max-width: 1150px) { .workspace-sidebar { width: 210px; padding: 28px 15px 20px; } #mainHeader.workspace-header, main.gallery-workspace, #appFooter { margin-left: 210px; } #mainHeader.workspace-header { padding: 0 28px; } main.gallery-workspace { padding: 36px 28px 50px; } #folderGrid { grid-template-columns: repeat(2,minmax(0,1fr)); } #galleryMain .cv-grid { gap: 10px; } .media-caption small { display: none; } }
@media (max-width: 850px) { .workspace-sidebar { width: 74px; padding: 23px 14px; align-items: center; } .workspace-brand > span:nth-child(2), .nav-caption, .nav-link span, .sidebar-note, .workspace-account, .ambient-button { display: none; } .workspace-nav { margin-top: 37px; width: 100%; } .nav-link { font-size: 0; padding: 13px; gap: 0; } .nav-link svg { flex-shrink: 0; } #mainHeader.workspace-header, main.gallery-workspace, #appFooter { margin-left: 74px; } .gallery-compact #galleryMain .cv-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 600px) { .workspace-sidebar { width: auto; height: 62px; inset: 0 0 auto 0; padding: max(12px, env(safe-area-inset-top)) 18px 12px; flex-direction: row; justify-content: space-between; border-right: 0; border-bottom: 1px solid #303b27; } .workspace-brand > span:nth-child(2) { display: block; font-size: 13px; } .workspace-brand small { display: none; } .brand-mark { width: 31px; height: 31px; border-radius: 9px; } .brand-mark svg { width: 26px; height: 26px; } .workspace-nav { display: flex; width: auto; margin: 0; gap: 5px; } .nav-link { padding: 9px; } .nav-link svg { width: 16px; height: 16px; } #mainHeader.workspace-header { margin: 62px 0 0; height: 50px; padding: 0 20px; top: 62px; } .workspace-breadcrumb { font-size: 10px; gap: 8px; } .private-label { font-size: 0; gap: 0; } .private-label svg { width: 14px; height: 14px; } .header-actions { gap: 15px; } .icon-button { width: 29px; height: 29px; } main.gallery-workspace { margin: 0; padding: 29px 18px 35px; } #heroSection.gallery-hero { margin-bottom: 23px; gap: 12px; } .eyebrow { font-size: 8px; letter-spacing: 1.3px; } .gallery-hero h1 { font-size: 34px; letter-spacing: -1.8px; margin: 12px 0 8px; } .hero-description { font-size: 11px; max-width: 195px; } .collection-summary { padding: 0 0 0 12px; min-width: 70px; } #sumCount { font-size: 17px; letter-spacing: -.5px; } .summary-caption { font-size: 8px; max-width: 66px; text-align: right; line-height: 1.6; } .gallery-toolbar { gap: 9px; margin-bottom: 27px; } #searchContainer.collection-search { height: 42px; padding: 0 10px; gap: 8px; } #searchInput { font-size: 11px; } .collection-search kbd { display: none; } .view-switch { padding: 3px; gap: 0; } .view-switch button { width: 28px; height: 34px; } #folderSection { margin-bottom: 24px; } #folderGrid { gap: 8px; } #folderGrid .folder-card { height: 82px; padding: 10px; gap: 8px; } #folderGrid .folder-card > div:first-child { width: 38px; height: 45px; border-radius: 6px; } #folderGrid .folder-card > div:nth-child(2) p:first-child { font-size: 10px; padding-right: 5px; } .folder-meta { font-size: 9px; } .section-heading h2, .collection-heading h2 { font-size: 14px; } .collection-heading { padding-top: 21px; } .sort-label { font-size: 10px; } .file-type-tabs { gap: 22px; margin-bottom: 14px; } .file-type-tabs button { font-size: 10px; } #galleryMain .cv-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 20px; } .gallery-compact #galleryMain .cv-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; } #galleryMain .date-header > span { font-size: 10px; } #galleryMain .date-header .date-count { display: none; } #galleryMain .date-header button { font-size: 9px; padding: 4px 6px; } .media-caption { height: 34px; padding: 0 8px; } .media-caption > span { font-size: 9px; } #galleryMain .media-card { padding-bottom: 34px; aspect-ratio: .95; } #galleryMain .media-card > button { bottom: 43px; } #galleryMain .group > div.absolute.top-2\.5 { opacity: 1; top: 7px; right: 7px; gap: 4px; } #galleryMain .group button { width: 25px; height: 25px; } .gallery-compact #galleryMain .group > div.absolute.top-2\.5 { opacity: 0; } .gallery-compact #galleryMain .group:focus-within > div.absolute.top-2\.5 { opacity: 1; } #appFooter { margin-left: 0; } #appFooter > div { padding: 15px 18px; } #appFooter p { font-size: 10px; } .gallery-empty { padding: 40px 18px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
#folderGrid { max-height: 212px; overflow-y: auto; padding: 1px 3px 1px 1px; }
#galleryMain .document-card { padding-bottom: 44px; aspect-ratio: 1.08; background: #20251d; }
.document-preview { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; background: radial-gradient(ellipse at center, #323c28, #1d2419 75%); }
.document-icon { display: grid; place-items: center; color: #bbd39f; width: 62px; height: 74px; background: #37452a; border: 1px solid #53663f; border-radius: 10px; }
.document-icon svg { width: 33px; height: 33px; }
.document-type { color: #9fb78a; font-size: 10px; letter-spacing: 2px; }
#galleryMain .document-card > button { bottom: 55px; }
#galleryMain .group:focus-visible { outline: 2px solid #c5e478; outline-offset: 3px; }
#folderMenu .pointer-events-auto, #renameModal .pointer-events-auto, #fsInfoPanel { background: #1b2118; border-color: #3d4b32; }
#folderMenu button.bg-white, #renameSaveBtn { background: #c5e478; color: #243417; }
#fullscreenViewer .text-theme-muted { color: #a8b897; }
body:has(#fullscreenViewer:not(.hidden)) .workspace-sidebar { visibility: hidden; }
@media (hover: none) { #galleryMain .group > button[title="Download"] { opacity: 1; } }
@media (max-width: 600px) { #folderGrid { max-height: 182px; } #galleryMain .document-card { padding-bottom: 34px; aspect-ratio: .95; } #galleryMain .document-card > button { bottom: 43px; } .document-icon { width: 43px; height: 50px; } .document-icon svg { width: 26px; height: 26px; } .document-preview { gap: 10px; } .document-type { font-size: 8px; } }
body.ambient-enabled { background: transparent; }
/* Mobile slots preserve the scroll height while distant card markup is released. */
#galleryMain .gallery-slot { aspect-ratio: .95; min-width: 0; border-radius: 11px; background: #1c2418; }
#galleryMain .gallery-slot > .group { width: 100%; height: 100%; aspect-ratio: auto; border: 1px solid #37442c; border-radius: 11px; }
@media (min-width: 601px) { #galleryMain .gallery-slot { aspect-ratio: 1.08; } }
@media (max-width: 768px) {
    #galleryMain .cv-grid { content-visibility: visible; contain-intrinsic-size: none; }
    #galleryMain .group, #galleryMain .group *, #folderGrid *, #mainHeader, #fullscreenViewer, #fullscreenViewer button { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
    #galleryMain .group *, #folderGrid * { filter: none !important; transition: none !important; animation: none !important; }
    #galleryMain .img-placeholder .loader { background: #586d3a; width: 8px; height: 8px; border-radius: 50%; }
    #mainHeader.workspace-header { background: #141614; }
    #galleryMain .group > div.absolute.top-2\.5 { opacity: 1; }
    #galleryMain .group button[title="Download"] { opacity: 1; }
}
