/* Complete gallery-only skins. The absence of data-gallery-skin leaves the original UI untouched. */
:root[data-gallery-skin]{--bg:var(--gallery-bg)!important;--panel:var(--gallery-panel)!important;--surface:var(--gallery-surface)!important;--fg:var(--gallery-fg)!important;--muted:var(--gallery-muted)!important;--border:var(--gallery-border)!important;--accent:var(--gallery-accent)!important;--accent-fg:#fff!important;color-scheme:light}
html[data-gallery-skin] body{background:var(--gallery-bg)!important;color:var(--gallery-fg)!important;font-family:var(--gallery-font)!important}
html[data-gallery-skin] body::before{background:linear-gradient(var(--gallery-veil),var(--gallery-veil)),var(--gallery-art) center top/cover fixed!important;opacity:1!important}
html[data-gallery-skin] .brandbar{background:var(--gallery-panel)!important;border-bottom:1px solid var(--gallery-border)!important;color:var(--gallery-fg)!important}
html[data-gallery-skin] .brandbar strong,html[data-gallery-skin] .brandbar small{color:var(--gallery-fg)!important}
html[data-gallery-skin] .brandbar button{color:var(--gallery-accent)!important}
html[data-gallery-skin] #guest-profile{background:var(--gallery-surface)!important;border:1px solid var(--gallery-border)!important;border-radius:50%!important}
html[data-gallery-skin] .hero::after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 30%,#1218278a);pointer-events:none}
html[data-gallery-skin] .hero-inner{z-index:2}
html[data-gallery-skin] .hero h1,html[data-gallery-skin] .hero p,html[data-gallery-skin] .hero .brand{color:#fff!important;text-shadow:0 1px 4px #17202b80;font-family:var(--gallery-font)!important}
html[data-gallery-skin] .gallery-sheet{background:var(--gallery-bg)!important;border:1px solid var(--gallery-border)!important;box-shadow:0 5px 24px #1823320a}
html[data-gallery-skin] .album-stats,html[data-gallery-skin] .booth-album-stats,html[data-gallery-skin] .album-summary{background:var(--gallery-panel)!important;border:1px solid var(--gallery-border)!important;border-radius:18px!important;box-shadow:0 2px 9px #20203604;position:relative}
html[data-gallery-skin] .album-stats::after,html[data-gallery-skin] .booth-album-stats::after{content:'';position:absolute;right:5px;bottom:5px;width:22px;height:22px;background:var(--gallery-corner) center/contain no-repeat;opacity:.65;pointer-events:none}
html[data-gallery-skin] .album-stats strong,html[data-gallery-skin] .booth-album-stats strong{color:var(--gallery-fg)!important;font-family:var(--gallery-font)!important}
html[data-gallery-skin] .album-stats small,html[data-gallery-skin] .booth-album-stats small,html[data-gallery-skin] .album-summary small,html[data-gallery-skin] #gallery-credit{color:var(--gallery-muted)!important}
html[data-gallery-skin] .album-stats svg,html[data-gallery-skin] .booth-album-stats svg{color:var(--gallery-accent)!important}
html[data-gallery-skin] button,html[data-gallery-skin] input,html[data-gallery-skin] select{font-family:var(--gallery-font)!important}
html[data-gallery-skin] .gallery-tabs{background:var(--gallery-surface)!important;border:1px solid var(--gallery-border)!important;border-radius:14px!important;padding:3px!important}
html[data-gallery-skin] .gallery-tabs button{background:transparent!important;color:var(--gallery-fg)!important;border:1px solid transparent!important;border-radius:11px!important;transition:background .15s,color .15s}
html[data-gallery-skin] .gallery-tabs button.active{background:var(--gallery-accent)!important;color:#fff!important;border-color:var(--gallery-accent)!important;box-shadow:0 2px 6px #20203015}
html[data-gallery-skin] .gallery-controls button,html[data-gallery-skin] .view-controls button,html[data-gallery-skin] .booth-view-controls button,html[data-gallery-skin] #grid-view,html[data-gallery-skin] #list-view,html[data-gallery-skin] select,html[data-gallery-skin] input[type=search]{background:var(--gallery-panel)!important;color:var(--gallery-fg)!important;border:1px solid var(--gallery-border)!important;border-radius:10px!important}
html[data-gallery-skin] #grid-view[aria-pressed=true],html[data-gallery-skin] #list-view[aria-pressed=true],html[data-gallery-skin] .view-controls .active{background:var(--gallery-accent)!important;color:#fff!important}
html[data-gallery-skin] #gallery{background:var(--gallery-bg)!important;gap:8px!important}
html[data-gallery-skin] #gallery .photo{background:var(--gallery-panel)!important;border:2px solid var(--gallery-border)!important;border-radius:13px!important;box-sizing:border-box;box-shadow:0 1px 4px #17213a08;padding:3px!important;position:relative}
html[data-gallery-skin] #gallery .photo::after{content:'';position:absolute;bottom:0;left:0;width:17px;height:17px;background:var(--gallery-corner) center/contain no-repeat;pointer-events:none;z-index:2}
html[data-gallery-skin] #gallery .photo img{border-radius:9px!important}
html[data-gallery-skin] .favorite-button,html[data-gallery-skin] .booth-heart{background:var(--gallery-panel)!important;color:var(--gallery-accent)!important;border:1px solid var(--gallery-border)!important;box-shadow:0 1px 4px #17213a12}
html[data-gallery-skin] .favorite-button.active,html[data-gallery-skin] .favorite-button[aria-pressed=true],html[data-gallery-skin] .booth-heart[aria-pressed=true]{background:var(--gallery-accent)!important;color:white!important}
html[data-gallery-skin] .guest-nav{background:var(--gallery-panel)!important;border-top:1px solid var(--gallery-border)!important;box-shadow:0 -3px 12px #20203606}
html[data-gallery-skin] .guest-nav button{color:var(--gallery-muted)!important;border-radius:12px!important}
html[data-gallery-skin] .guest-nav button.current,html[data-gallery-skin] .guest-nav button[aria-current=page]{color:var(--gallery-accent)!important;background:var(--gallery-surface)!important}
html[data-gallery-skin] #floating-more{border-color:var(--gallery-accent)!important;background:var(--gallery-panel)!important;color:var(--gallery-accent)!important}
html[data-gallery-skin] #guest-more,html[data-gallery-skin] #booth-more,html[data-gallery-skin] #language-menu,html[data-gallery-skin] .language-menu,html[data-gallery-skin] dialog:not(#viewer){background:var(--gallery-panel)!important;color:var(--gallery-fg)!important;border-color:var(--gallery-border)!important}
html[data-gallery-skin] #guest-more button,html[data-gallery-skin] #booth-more button{color:var(--gallery-fg)!important;border-color:var(--gallery-border)!important}
html[data-gallery-skin] #guest-more button svg,html[data-gallery-skin] #booth-more button svg{color:var(--gallery-accent)!important}
html[data-gallery-skin] #guest-more button:hover,html[data-gallery-skin] #booth-more button:hover{background:var(--gallery-surface)!important}
html[data-gallery-skin] #viewer .viewer-actions button,html[data-gallery-skin] #viewer .viewer-actions a{color:var(--gallery-accent)!important}
html[data-gallery-skin] .face-upload-card,html[data-gallery-skin] .face-upload-border{background:var(--gallery-panel)!important;border-color:var(--gallery-border)!important}
html[data-gallery-skin] .selfie-file-label,html[data-gallery-skin] #start-face-search,html[data-gallery-skin] #wish-submit{background:var(--gallery-accent)!important;color:white!important}
html[data-gallery-skin] #loadMore{border-color:var(--gallery-border)!important;background:var(--gallery-panel)!important;color:var(--gallery-accent)!important}
html[data-gallery-skin] :focus-visible{outline:3px solid var(--gallery-accent)!important;outline-offset:3px}
html[data-gallery-skin=sunflower-picnic] .gallery-sheet{background-color:var(--gallery-bg)!important;background-image:linear-gradient(90deg,#b57b2006 50%,transparent 50%),linear-gradient(#b57b2006 50%,transparent 50%)!important;background-size:16px 16px!important}
html[data-gallery-skin=sunflower-picnic] #gallery .photo{outline:1px dashed var(--gallery-border);outline-offset:-4px}
html[data-gallery-skin=daisy-matcha] .gallery-tabs button.active{border-radius:15px 6px 15px 6px!important}
html[data-gallery-skin=sakura-atelier] .gallery-tabs button.active{border-radius:15px 8px 15px 8px!important}
html[data-gallery-skin=moonflower-prism] body{background:#252a4b!important}
html[data-gallery-skin=moonflower-prism] .gallery-sheet{box-shadow:0 4px 25px #15162b30}
@media(prefers-reduced-motion:reduce){html[data-gallery-skin] .gallery-tabs button{transition:none}}

html[data-gallery-skin] #gallery-language-options{background:var(--gallery-panel)!important;border-color:var(--gallery-border)!important;color:var(--gallery-fg)!important}html[data-gallery-skin] #gallery-language-options button{color:var(--gallery-fg)!important;background:var(--gallery-panel)!important}html[data-gallery-skin] #gallery-language-options button[aria-selected=true]{background:var(--gallery-surface)!important;color:var(--gallery-accent)!important}html[data-gallery-skin] #booth-web-features a{background:var(--gallery-panel)!important;border-color:var(--gallery-border)!important;color:var(--gallery-accent)!important}

html[data-gallery-skin] .favorite-button,html[data-gallery-skin] .booth-heart{border-radius:50%!important;display:grid;place-items:center}

/* Reference-detail pass: vector glyphs, independent outer/inner frames and themed states. */
.gallery-theme-icon,.gallery-theme-tab-icon,.gallery-theme-stat-slot:not([data-stat-icon]){display:none!important}
.gallery-legacy-icon{display:contents}
html[data-gallery-skin] .gallery-legacy-icon{display:none!important}
html[data-gallery-skin] .gallery-theme-icon{display:inline-grid!important;place-items:center;flex:0 0 auto;line-height:1!important;margin:0!important;pointer-events:none;color:inherit}
html[data-gallery-skin] .gallery-theme-icon svg{display:block;width:22px!important;height:22px!important;flex-shrink:0;overflow:visible}
html[data-gallery-skin] .guest-nav .gallery-theme-icon svg{width:23px!important;height:23px!important}
html[data-gallery-skin] .guest-nav button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;min-height:50px;padding:5px 4px!important;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important}
html[data-gallery-skin] .guest-nav button.current{background:var(--gallery-surface)!important;border-color:transparent!important;box-shadow:inset 0 0 0 1px var(--gallery-accent-soft)}
html[data-gallery-skin] .guest-nav button>span:not(.gallery-theme-icon):not(.gallery-legacy-icon){line-height:1.35!important;margin-top:0!important;font-size:10px!important}
html[data-gallery-skin] .album-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;column-gap:0!important;min-height:102px!important;padding:12px 7px!important;background:linear-gradient(120deg,var(--gallery-panel),var(--gallery-bg))!important;border:1px solid var(--gallery-border)!important;border-radius:17px!important}
html[data-gallery-skin] .album-stats>img{display:none!important}
html[data-gallery-skin] .album-stats>div:has(#stat-total){grid-column:1!important;grid-row:1!important}
html[data-gallery-skin] .album-stats>div:has(#stat-hearts){grid-column:2!important;grid-row:1!important}
html[data-gallery-skin] .album-stats>div:has(#stat-views){grid-column:3!important;grid-row:1!important}
html[data-gallery-skin] .album-stats>div{display:flex;flex-direction:column;align-items:center;gap:5px;background:transparent!important;border:0!important;border-radius:0!important;padding:4px 2px!important}
html[data-gallery-skin] .album-stats>div:has(#stat-hearts),html[data-gallery-skin] .album-stats>div:has(#stat-views){border-left:1px solid var(--gallery-border)!important}
html[data-gallery-skin] .gallery-theme-stat-slot{display:grid!important;place-items:center;min-height:20px;line-height:1;color:var(--gallery-accent);margin:0 0 1px!important}
html[data-gallery-skin] .gallery-theme-stat-slot .gallery-theme-icon svg{width:20px!important;height:20px!important}
html[data-gallery-skin] .album-stats strong{font-size:19px!important;line-height:1.1!important}
html[data-gallery-skin] .album-stats small{font-size:9px!important;line-height:1.3!important}
html[data-gallery-skin] .booth-album-stats{gap:5px!important;padding:10px 8px!important;min-height:102px!important;background:linear-gradient(120deg,var(--gallery-panel),var(--gallery-bg))!important;border:1px solid var(--gallery-border)!important;border-radius:17px!important}
html[data-gallery-skin] .booth-album-stats>img{width:58px!important;height:64px!important;border-radius:10px!important;border:1px solid var(--gallery-border)!important;box-shadow:0 0 0 2px var(--gallery-frame-inner)}
html[data-gallery-skin] .booth-album-stats>div{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}
html[data-gallery-skin] .booth-album-stats strong{font-size:18px!important;line-height:1.1!important}
html[data-gallery-skin] .booth-album-stats small{font-size:9px!important;line-height:1.3!important}
html[data-gallery-skin] .album-stats::after,html[data-gallery-skin] .booth-album-stats::after{width:20px;height:20px;right:3px;bottom:3px}
html[data-gallery-skin] .gallery-tabs{border-radius:var(--gallery-button-radius)!important;border:1px solid var(--gallery-border)!important;background:var(--gallery-surface)!important;box-shadow:inset 0 1px 1px #fff8;padding:3px!important}
html[data-gallery-skin] .gallery-tabs button{position:relative;border-radius:var(--gallery-button-radius)!important;min-height:42px!important;font-size:11px!important}
html[data-gallery-skin] .gallery-tabs button.active{background:linear-gradient(155deg,var(--gallery-accent),var(--gallery-accent-deep))!important;border:1px solid var(--gallery-accent)!important;box-shadow:inset 0 0 0 1px #ffffff26,0 2px 5px var(--gallery-accent-soft)!important}
html[data-gallery-skin] .browse-controls #grid-view,html[data-gallery-skin] .browse-controls #list-view,html[data-gallery-skin] .booth-view-controls button{width:42px!important;height:42px!important;min-height:42px!important;padding:8px!important;border-radius:var(--gallery-button-radius)!important;background:var(--gallery-frame-inner)!important;border:1px solid var(--gallery-border)!important;color:var(--gallery-accent)!important;box-shadow:inset 0 1px 0 #fff8!important}
html[data-gallery-skin] #grid-view[aria-pressed=true],html[data-gallery-skin] #list-view[aria-pressed=true]{background:linear-gradient(145deg,var(--gallery-accent),var(--gallery-accent-deep))!important;color:#fff!important;border-color:var(--gallery-accent)!important;box-shadow:inset 0 0 0 1px #ffffff30,0 2px 4px var(--gallery-accent-soft)!important}
html[data-gallery-skin] select{background-color:var(--gallery-surface)!important;border-radius:var(--gallery-button-radius)!important;border:1px solid var(--gallery-border)!important;color:var(--gallery-fg)!important;box-shadow:inset 0 1px 0 #fff6!important}
html[data-gallery-skin] #gallery .photo{border-radius:var(--gallery-card-radius)!important;border:var(--gallery-frame-border) solid var(--gallery-border)!important;padding:var(--gallery-frame-padding)!important;background:var(--gallery-frame-inner)!important;box-shadow:0 1px 3px #2535460a!important;isolation:isolate}
html[data-gallery-skin] #gallery .photo::before{content:'';position:absolute;inset:2px;border:1px solid var(--gallery-frame-inner);border-radius:calc(var(--gallery-card-radius) - 2px);pointer-events:none;z-index:2}
html[data-gallery-skin] #gallery .photo img{border-radius:var(--gallery-image-radius)!important}
html[data-gallery-skin] #gallery .photo::after{width:19px;height:19px;left:1px;bottom:1px;opacity:.92;filter:drop-shadow(0 1px 1px #fff8)}
html[data-gallery-skin] .favorite-button,html[data-gallery-skin] .booth-heart{display:grid!important;place-items:center!important;width:29px!important;height:29px!important;min-height:29px!important;padding:5px!important;line-height:1!important;border-radius:50%!important;box-sizing:border-box!important;background:var(--gallery-frame-inner)!important;border:1px solid var(--gallery-border)!important;color:var(--gallery-accent)!important;box-shadow:0 0 0 2px #ffffffad,0 1px 5px #20203618!important;z-index:4!important}
html[data-gallery-skin] .favorite-button .gallery-theme-icon svg,html[data-gallery-skin] .booth-heart .gallery-theme-icon svg{width:19px!important;height:19px!important}
html[data-gallery-skin] .favorite-button[aria-pressed=true] .gallery-theme-icon path,html[data-gallery-skin] .booth-heart[aria-pressed=true] .gallery-theme-icon path{fill:currentColor}
html[data-gallery-skin] .favorite-button[aria-pressed=true],html[data-gallery-skin] .booth-heart[aria-pressed=true]{background:var(--gallery-frame-inner)!important;color:var(--gallery-accent)!important;border-color:var(--gallery-accent)!important;box-shadow:0 0 0 2px var(--gallery-frame-inner),0 0 0 3px var(--gallery-accent-soft)!important}
html[data-gallery-skin] .brandbar button .gallery-theme-icon svg{width:19px!important;height:19px!important}
html[data-gallery-skin] #floating-more .gallery-theme-icon svg{width:28px!important;height:28px!important}
html[data-gallery-skin] #viewer-top-favorite .gallery-theme-icon svg,html[data-gallery-skin] #viewer-favorite .gallery-theme-icon svg{width:22px!important;height:22px!important}
html[data-gallery-skin] #viewer-top-favorite[aria-pressed=true] .gallery-theme-icon path,html[data-gallery-skin] #viewer-favorite[aria-pressed=true] .gallery-theme-icon path{fill:currentColor}
html[data-gallery-skin] .viewer-actions{background:var(--gallery-panel)!important;border:1px solid var(--gallery-border)!important;box-shadow:inset 0 0 0 1px #ffffff99!important}
html[data-gallery-skin=sakura-atelier] .album-stats,html[data-gallery-skin=sakura-atelier] .booth-album-stats{background-image:var(--gallery-corner),var(--gallery-corner),var(--gallery-corner),var(--gallery-corner)!important;background-repeat:no-repeat!important;background-position:3px 3px,calc(100% - 3px) 3px,3px calc(100% - 3px),calc(100% - 3px) calc(100% - 3px)!important;background-size:16px 16px!important;background-color:var(--gallery-panel)!important}
html[data-gallery-skin=sakura-atelier] .album-stats::after,html[data-gallery-skin=sakura-atelier] .booth-album-stats::after{display:none}
html[data-gallery-skin=sakura-atelier] .gallery-tabs button.active{border-radius:11px!important}
html[data-gallery-skin=sakura-atelier] .favorite-button:not([aria-pressed=true]){background:#331f2c20!important;border-color:transparent!important;color:#fff!important;box-shadow:none!important;padding:4px!important}
html[data-gallery-skin=hydrangea-rain] #gallery .photo::after{width:23px;height:23px}
html[data-gallery-skin=hydrangea-rain] .album-stats::after,html[data-gallery-skin=hydrangea-rain] .booth-album-stats::after{display:none}
html[data-gallery-skin=sunflower-picnic] #gallery .photo{outline:1px dashed #d6b46b;outline-offset:-3px}
html[data-gallery-skin=sunflower-picnic] #gallery .photo::after{width:20px;height:20px;top:1px;bottom:auto}
html[data-gallery-skin=daisy-matcha] #gallery .photo::after{top:1px;bottom:auto;width:18px;height:18px}
html[data-gallery-skin=daisy-matcha] .favorite-button,html[data-gallery-skin=daisy-matcha] .booth-heart{top:auto!important;bottom:8px!important;right:8px!important;border-width:2px!important;box-shadow:0 0 0 2px var(--gallery-border)!important}
html[data-gallery-skin=daisy-matcha] .gallery-tabs button.active{border-radius:14px 7px 14px 7px!important}
html[data-gallery-skin=daisy-matcha] .gallery-tabs button.active .gallery-theme-tab-icon{display:inline-grid!important;vertical-align:middle;margin-right:4px;line-height:1}
html[data-gallery-skin=daisy-matcha] .gallery-theme-tab-icon svg{display:block;width:13px;height:13px}
html[data-gallery-skin=daisy-matcha] .album-stats::after,html[data-gallery-skin=daisy-matcha] .booth-album-stats::after{display:none}
html[data-gallery-skin=moonflower-prism] #gallery .photo::after{width:17px;height:17px}
html[data-gallery-skin=moonflower-prism] .album-stats,html[data-gallery-skin=moonflower-prism] .booth-album-stats{background:linear-gradient(135deg,#fefcff,var(--gallery-panel))!important;box-shadow:inset 0 0 0 1px #ffffffcc!important}
@media(max-width:350px){html[data-gallery-skin] .booth-album-stats>img{width:45px!important;height:55px!important}html[data-gallery-skin] .booth-album-stats small{font-size:8px!important}html[data-gallery-skin] .gallery-tabs button{font-size:10px!important}}

html[data-gallery-skin] .gallery-theme-icon[data-kind=grid] svg rect{fill:currentColor;stroke:none}
html[data-gallery-skin] .gallery-theme-stat-icon[data-kind=heart] path{fill:currentColor}
html[data-gallery-skin] .gallery-theme-stat-icon[data-kind=image] rect,html[data-gallery-skin] .guest-nav button.current .gallery-theme-icon[data-kind=image] rect{fill:currentColor;stroke:currentColor}
html[data-gallery-skin] .gallery-theme-stat-icon[data-kind=image] svg>path,html[data-gallery-skin] .gallery-theme-stat-icon[data-kind=image] svg>circle,html[data-gallery-skin] .guest-nav button.current .gallery-theme-icon[data-kind=image] svg>path,html[data-gallery-skin] .guest-nav button.current .gallery-theme-icon[data-kind=image] svg>circle{stroke:var(--gallery-panel)}

html[data-gallery-skin] #gallery .photo::after{display:block!important}

/* Botanical navigation: every menu keeps its recognisable icon, with its own themed frame. */
html[data-gallery-skin] .guest-nav{height:calc(78px + env(safe-area-inset-bottom))!important;padding:7px 7px calc(8px + env(safe-area-inset-bottom))!important;border-top:1px solid var(--gallery-border)!important;box-shadow:0 -4px 18px var(--gallery-accent-soft),inset 0 1px 0 #fff9!important;overflow:visible!important}
html[data-gallery-skin] .guest-nav::before,html[data-gallery-skin] .guest-nav::after{content:'';position:absolute;top:2px;width:19px;height:19px;background:var(--gallery-corner) center/contain no-repeat;pointer-events:none;opacity:.78}
html[data-gallery-skin] .guest-nav::before{left:3px;transform:rotate(-20deg)}
html[data-gallery-skin] .guest-nav::after{right:3px;transform:rotate(65deg)}
html[data-gallery-skin] .guest-nav button{position:relative;min-height:59px!important;gap:5px!important;padding:3px 2px!important;border-radius:13px!important;isolation:isolate;overflow:visible!important}
html[data-gallery-skin] .guest-nav button.current{background:linear-gradient(150deg,var(--gallery-panel),var(--gallery-surface))!important;border:1px solid var(--gallery-border)!important;box-shadow:inset 0 0 0 1px #ffffffaa!important}
html[data-gallery-skin] .guest-nav button>.gallery-theme-icon{position:relative;width:35px;height:31px;box-sizing:border-box;padding:5px;border:1px solid var(--gallery-border);border-radius:11px;background:var(--gallery-frame-inner);box-shadow:inset 0 0 0 1px #ffffff80,0 1px 3px #28384606;overflow:visible}
html[data-gallery-skin] .guest-nav button>.gallery-theme-icon::after{content:'';position:absolute;width:14px;height:14px;right:-5px;bottom:-3px;background:var(--gallery-corner) center/contain no-repeat;filter:drop-shadow(0 1px 1px #fff9);pointer-events:none;z-index:1}
html[data-gallery-skin] .guest-nav button>.gallery-theme-icon svg{width:21px!important;height:21px!important;position:relative;z-index:1}
html[data-gallery-skin] .guest-nav button.current>.gallery-theme-icon{color:#fff!important;background:linear-gradient(140deg,var(--gallery-accent),var(--gallery-accent-deep));border-color:var(--gallery-accent);box-shadow:0 0 0 2px var(--gallery-frame-inner),0 0 0 3px var(--gallery-accent-soft),inset 0 1px 0 #ffffff50}
html[data-gallery-skin] .guest-nav button.current>.gallery-theme-icon[data-kind=image] svg>path,html[data-gallery-skin] .guest-nav button.current>.gallery-theme-icon[data-kind=image] svg>circle{stroke:var(--gallery-accent-deep)}
html[data-gallery-skin] .guest-nav button>span:not(.gallery-theme-icon):not(.gallery-legacy-icon){font-size:10px!important;color:var(--gallery-muted)}
html[data-gallery-skin] .guest-nav button.current>span:not(.gallery-theme-icon):not(.gallery-legacy-icon){font-weight:600;color:var(--gallery-accent)!important}
html[data-gallery-skin] .gallery-tabs{position:relative;padding:4px!important;overflow:visible;box-shadow:inset 0 0 0 1px #ffffff75,0 2px 6px #26334504!important}
html[data-gallery-skin] .gallery-tabs::before,html[data-gallery-skin] .gallery-tabs::after{content:'';position:absolute;width:17px;height:17px;background:var(--gallery-corner) center/contain no-repeat;pointer-events:none;z-index:3;opacity:.8}
html[data-gallery-skin] .gallery-tabs::before{left:-3px;top:-5px;transform:rotate(-18deg)}
html[data-gallery-skin] .gallery-tabs::after{right:-3px;bottom:-5px;transform:rotate(25deg)}
html[data-gallery-skin] .gallery-tabs button{min-height:46px!important;padding:8px 5px!important;box-sizing:border-box;border:1px solid transparent!important;overflow:visible!important}
html[data-gallery-skin] .gallery-tabs button.active{border:1px solid var(--gallery-accent)!important;box-shadow:inset 0 0 0 1px #ffffff40,0 1px 5px var(--gallery-accent-soft)!important}
html[data-gallery-skin] .gallery-tabs button.active::after{content:'';position:absolute;right:1px;bottom:1px;width:12px;height:12px;background:var(--gallery-corner) center/contain no-repeat;pointer-events:none;opacity:.9}
html[data-gallery-skin] .gallery-tabs button .gallery-theme-tab-icon{display:inline-block!important;vertical-align:middle;position:relative;min-width:14px;width:14px;height:14px;background:var(--gallery-corner) center/contain no-repeat;margin:0 3px 1px 0!important;pointer-events:none}
html[data-gallery-skin] .gallery-tabs button .gallery-theme-tab-icon svg{display:none!important}
html[data-gallery-skin] #guest-more,html[data-gallery-skin] #booth-more{border:1px solid var(--gallery-border)!important;box-shadow:inset 0 0 0 2px var(--gallery-frame-inner),0 12px 28px #26334520!important;background:var(--gallery-panel)!important}
html[data-gallery-skin] #guest-more>button,html[data-gallery-skin] #booth-more>button{position:relative;margin:5px 0!important;padding:10px 11px!important;border:1px solid var(--gallery-border)!important;border-radius:12px!important;background:linear-gradient(120deg,var(--gallery-frame-inner),var(--gallery-panel))!important;min-height:55px!important;box-sizing:border-box}
html[data-gallery-skin] #guest-more>button::after,html[data-gallery-skin] #booth-more>button::after{content:'';position:absolute;right:3px;bottom:2px;width:15px;height:15px;background:var(--gallery-corner) center/contain no-repeat;opacity:.7;pointer-events:none}
html[data-gallery-skin] #guest-more [data-menu-icon]>.gallery-theme-icon{position:relative;width:34px;height:34px;border:1px solid var(--gallery-border);border-radius:10px;background:var(--gallery-surface);box-sizing:border-box;padding:6px}
html[data-gallery-skin] #guest-more [data-menu-icon]>.gallery-theme-icon::after{content:'';position:absolute;right:-5px;bottom:-4px;width:13px;height:13px;background:var(--gallery-corner) center/contain no-repeat;pointer-events:none}
html[data-gallery-skin] #guest-more [data-menu-icon]>.gallery-theme-icon svg{width:21px!important;height:21px!important}
html[data-gallery-skin=sakura-atelier] .guest-nav button>.gallery-theme-icon{border-radius:13px 9px 13px 9px}
html[data-gallery-skin=sakura-atelier] .gallery-tabs button.active{border-radius:13px 8px 13px 8px!important}
html[data-gallery-skin=hydrangea-rain] .guest-nav button>.gallery-theme-icon{border-radius:50% 50% 12px 12px;background:linear-gradient(150deg,#fff,var(--gallery-surface))}
html[data-gallery-skin=sunflower-picnic] .guest-nav{background-image:linear-gradient(90deg,#b57b2006 50%,transparent 50%),linear-gradient(#b57b2006 50%,transparent 50%)!important;background-size:12px 12px!important}
html[data-gallery-skin=sunflower-picnic] .guest-nav button:not(.current)>.gallery-theme-icon{outline:1px dashed var(--gallery-border);outline-offset:2px}
html[data-gallery-skin=sunflower-picnic] .gallery-tabs{outline:1px dashed var(--gallery-border);outline-offset:2px}
html[data-gallery-skin=daisy-matcha] .guest-nav button>.gallery-theme-icon{border-radius:13px 7px 13px 7px}
html[data-gallery-skin=daisy-matcha] .guest-nav button>.gallery-theme-icon::after{right:-5px;bottom:-3px;width:15px;height:15px}
html[data-gallery-skin=moonflower-prism] .guest-nav button>.gallery-theme-icon{border-radius:50%;box-shadow:0 0 0 2px var(--gallery-frame-inner),0 0 0 3px var(--gallery-border)}
html[data-gallery-skin=moonflower-prism] .guest-nav button.current>.gallery-theme-icon{box-shadow:0 0 0 2px var(--gallery-frame-inner),0 0 0 3px var(--gallery-accent-soft),0 0 9px var(--gallery-accent-soft)}
@media(max-width:350px){html[data-gallery-skin] .gallery-tabs button{font-size:10px!important;padding:7px 3px!important}html[data-gallery-skin] .gallery-tabs button .gallery-theme-tab-icon{width:11px;min-width:11px;height:11px;margin-right:2px!important}html[data-gallery-skin] .guest-nav button>span:not(.gallery-theme-icon):not(.gallery-legacy-icon){font-size:9px!important}}

/* Keep the two view options visually separate on both gallery surfaces. */
.browse-controls,.booth-view-controls{column-gap:12px!important}

