/* v18.10.11.19 · U-DHEN Studio Gallery (six 3D layouts) · v18.10.12.1 on every main page, automated */
.u-gal-replaced{display:none!important}
.u-gallery{margin:26px 0 34px;padding:22px;border:1px solid var(--line,#263061);border-radius:24px;background:radial-gradient(1200px 500px at 50% 0%,#1b2160 0%,#0b0f2e 55%,#070a1a 100%);overflow:hidden}
.u-gal-head{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap}
.u-gal-head h2{margin:4px 0 2px;font-size:30px;letter-spacing:-.02em}
.u-gal-head p{margin:0;color:var(--muted-hi,#aab2cc);font-size:14px}
.u-gal-k{font:700 11px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.18em;text-transform:uppercase;color:var(--c-explore,#ffd23f)}
.u-gal-src,.u-gal-modes{display:flex;gap:6px;flex-wrap:wrap}
.u-gal-src button,.u-gal-modes button{min-height:40px;padding:8px 14px!important;border-radius:999px!important;background:#151b40!important;border:1px solid #34407a!important;color:#d9ddf2!important;font:700 12px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase}
.u-gal-src button[aria-selected=true],.u-gal-modes button[aria-selected=true]{background:#f5f7ff!important;color:#070a1a!important;border-color:#f5f7ff!important}
.u-gal-modes{justify-content:center;margin:18px 0 6px}
.u-gal-body{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px;align-items:center}
.u-gal-stage{position:relative;height:500px;perspective:1600px;perspective-origin:50% 45%;outline:none;cursor:grab;touch-action:pan-y;user-select:none;overflow:hidden;border-radius:18px}
.u-gal-stage:active{cursor:grabbing}
.u-gal-world{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d;transition:transform .9s cubic-bezier(.2,.8,.2,1)}
.u-gal-card{position:absolute;left:0;top:0;width:210px;height:280px;padding:0!important;border-radius:14px!important;overflow:hidden;border:1px solid #ffffff26!important;background:#0e1330!important;
  transform-style:preserve-3d;backface-visibility:hidden;transition:transform .85s cubic-bezier(.2,.85,.25,1.08),opacity .5s ease,visibility .5s,box-shadow .3s;box-shadow:0 18px 40px #0009}
.u-gal-card img{width:100%;height:100%;object-fit:cover;display:block;pointer-events:none}
.u-gal-card span{position:absolute;left:0;right:0;bottom:0;padding:22px 10px 9px;font-size:12px;font-weight:700;color:#fff;text-align:left;background:linear-gradient(transparent,#070a1ae6)}
.u-gal-card.on{border-color:var(--c-explore,#ffd23f)!important;box-shadow:0 0 0 2px #ffd23f55,0 26px 60px #000c}
.u-gal-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:300;width:44px;height:44px;border-radius:50%!important;padding:0!important;background:#070a1acc!important;border:1px solid #34407a!important;color:#fff!important;font-size:22px}
.u-gal-nav.prev{left:10px}.u-gal-nav.next{right:10px}
.u-gal-spot{padding:20px;border-radius:18px;border:1px solid #34407a;background:#0e1330cc;backdrop-filter:blur(8px);min-height:220px;display:grid;align-content:start;gap:8px}
.u-gal-spot h3{margin:0;font-size:24px;line-height:1.15}
.u-gal-spot p{margin:0;color:var(--muted-hi,#aab2cc);font-size:14px}
.u-gal-acts{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:8px}
.u-gal-count{font:700 12px/1 "JetBrains Mono",ui-monospace,monospace;color:#aab2cc;margin-left:auto}
.u-gal-open{font-weight:700;color:#ffd23f;text-decoration:underline;padding:10px 0;display:inline-block}
.u-gal-empty{color:#aab2cc}
@media (max-width:900px){.u-gal-body{grid-template-columns:1fr}.u-gal-stage{height:380px}.u-gal-card{width:150px;height:200px}.u-gallery{padding:14px}}
@media (prefers-reduced-motion: reduce){.u-gal-card,.u-gal-world{transition:none!important}}
.u-gal-card:focus-visible,.u-gal-stage:focus-visible{outline:2px solid #fff!important;outline-offset:3px}
/* v18.10.12.1 · autoplay control and the compact version used on product pages */
.u-gal-tools{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.u-gallery .u-gal-play{min-height:40px;padding:8px 14px!important;border-radius:999px!important;background:#151b40!important;border:1px solid #34407a!important;color:#d9ddf2!important;font:700 12px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.06em}
.u-gallery.u-gal-auto .u-gal-play{border-color:#ffd23f!important;color:#ffd23f!important}
.u-gal-compact{margin:18px 0 22px}
.u-gal-compact .u-gal-head h2{font-size:24px}
.u-gal-compact .u-gal-stage{height:400px}
.u-gal-compact .u-gal-card{width:190px;height:254px}
@media (max-width:900px){.u-gal-compact .u-gal-stage{height:340px}.u-gal-compact .u-gal-card{width:140px;height:186px}.u-gal-play{min-height:44px!important}}
/* the Style page's dark layer styles every button; keep the gallery's own look there */
#page-style .u-gallery .u-gal-k{color:var(--c-explore,#ffd23f)!important}
#page-style .u-gallery :is(.u-gal-src,.u-gal-modes) button[aria-selected=true]{background:#f5f7ff!important;color:#070a1a!important;border-color:#f5f7ff!important}
#page-style .u-gallery.u-gal-auto .u-gal-play{border-color:#ffd23f!important;color:#ffd23f!important;background:#151b40!important}
#page-style .u-gallery .u-gal-card{background:#0e1330!important;border-color:#ffffff26!important}
#page-style .u-gallery .u-gal-card.on{border-color:#ffd23f!important}
#page-style .u-gallery .u-gal-card span{color:#fff!important}
/* v18.10.13.1 · 3D card rows (Style collections/categories/trending, Explore products, Creator libraries) */
.u-gal-row{margin:10px 0 26px;padding:14px 16px}
.u-gal-row .u-gal-head{align-items:center}
.u-gal-row .u-gal-modes{margin:10px 0 2px}
.u-gal-row .u-gal-stage{height:340px}
.u-gal-row .u-gal-card{width:170px;height:226px}
.u-gal-row .u-gal-spot{min-height:180px}
.u-gal-row .u-gal-spot h3{font-size:20px}
.u-gallery .u-gal-list{min-height:40px;padding:8px 14px!important;border-radius:999px!important;background:#151b40!important;border:1px solid #34407a!important;color:#d9ddf2!important;font:700 12px/1 "JetBrains Mono",ui-monospace,monospace;letter-spacing:.06em}
.u-gal-listing .u-gal-modes,.u-gal-listing .u-gal-body{display:none}
.u-gal-listing{padding-bottom:10px}
@media (max-width:900px){.u-gal-row .u-gal-stage{height:300px}.u-gal-row .u-gal-card{width:130px;height:174px}.u-gallery .u-gal-list{min-height:44px!important}}
#page-style .u-gallery .u-gal-list{background:#151b40!important;color:#d9ddf2!important;border-color:#34407a!important}
/* v18.10.14 · no layout buttons; icon-only Pause and List buttons (44 px, named for screen readers) */
.u-gallery .u-gal-play,.u-gallery .u-gal-list{min-width:44px;min-height:44px!important;padding:0 12px!important;font-size:15px!important;letter-spacing:0!important}
.u-gal-row .u-gal-head{justify-content:flex-end;position:relative;z-index:5;margin-bottom:-44px}
.u-gal-row .u-gal-head>div:first-child{display:none}
.u-gallery>.u-gal-body{margin-top:12px}
/* v18.10.16 · card faces for choices (swatch / texture / word) and the compact 3D pickers */
.u-gal-card .u-gal-face{position:absolute;inset:0;display:block}
.u-gal-card .u-gal-word{background:radial-gradient(120% 80% at 50% 30%,#3b1d6e 0%,#151b40 55%,#0b0f26 100%)}
.u-gal-card .u-gal-big{position:absolute;left:8px;right:8px;top:50%;transform:translateY(-60%);text-align:center;font-size:20px;line-height:1.15;font-weight:800;color:#fff;text-shadow:0 2px 12px #000a;word-break:break-word}
.u-gal-card .u-gal-tick{position:absolute;top:8px;right:8px;width:26px;height:26px;border-radius:50%;background:#22c55e;color:#04210f;font-style:normal;font-weight:900;display:grid;place-items:center;z-index:2}
.u-gal-card.chosen{border-color:#22c55e!important}
.u-gal-pick{margin:6px 0 12px;padding:10px 12px;border-radius:18px}
.u-gal-pick .u-gal-body{grid-template-columns:minmax(0,1fr) 230px}
.u-gal-pick .u-gal-stage{height:290px}
.u-gal-pick .u-gal-card{width:136px;height:180px}
.u-gal-pick .u-gal-spot{min-height:150px;padding:14px}
.u-gal-pick .u-gal-spot h3{font-size:18px}
.u-gal-pick .u-gal-nav{width:40px;height:40px}
@media (max-width:900px){.u-gal-pick .u-gal-body{grid-template-columns:1fr}.u-gal-pick .u-gal-stage{height:250px}.u-gal-pick .u-gal-card{width:112px;height:150px}.u-gal-pick .u-gal-nav{width:44px;height:44px}}
#page-style .u-gallery .u-gal-card.chosen{border-color:#22c55e!important}

/* v18.10.16 · pickers sit in narrow Style steps: stack the 3D stage over the spotlight whenever the picker itself is narrow */
.u-gal-pick{container-type:inline-size;flex:1 1 100%;width:100%;min-width:0;box-sizing:border-box}
@container (max-width:560px){
  .u-gal-pick .u-gal-body{grid-template-columns:1fr}
  .u-gal-pick .u-gal-stage{height:240px}
  .u-gal-pick .u-gal-card{width:104px;height:138px}
  .u-gal-pick .u-gal-spot{min-height:0}
}
/* v18.10.17 · approved library video in the spotlight */
.u-gal-spot .u-gal-vid{display:block;width:100%;max-height:220px;object-fit:cover;border-radius:12px;margin:0 0 10px;background:#000}
.u-gal-pick .u-gal-spot .u-gal-vid{max-height:160px}
/* v18.10.22 · word cards: whole words only (no "Internatio-nal"), size by length, no second copy of the name under it,
   and cards behind the front one keep their words faint so overlapping layouts never look scrambled */
.u-gal-card .u-gal-big{word-break:normal!important;overflow-wrap:normal;hyphens:manual;text-wrap:balance}
.u-gal-card .u-gal-big.long{font-size:16px}.u-gal-card .u-gal-big.xlong{font-size:13px;line-height:1.2}
.u-gal-card.u-gal-text>span{display:none}
.u-gal-card .u-gal-big.soft{top:auto;bottom:10px;transform:none;font-size:14px;text-shadow:0 1px 6px #000c}
.u-gal-pick .u-gal-card:not(.on) .u-gal-big{opacity:.28;transition:opacity .4s}
.u-gal-pick .u-gal-card.on .u-gal-big{opacity:1}
.u-gal-card.u-gal-text .u-gal-word{background:radial-gradient(110% 80% at 50% 0%,#5b2a9e 0%,#1d1f57 55%,#0b0f26 100%);box-shadow:inset 0 0 0 1px rgba(217,220,230,.14)}
@media (max-width:900px){.u-gal-card .u-gal-big.long{font-size:14px}.u-gal-card .u-gal-big.xlong{font-size:12px}}

/* v18.10.40 · gallery wall view (default on the page galleries): full-width justified rows, no empty stage */
.u-gal-walling .u-gal-body,.u-gal-walling .u-gal-play{display:none!important}
.u-gallery:not(.u-gal-walling) .u-gal-wallbox{display:none}
.u-gal-view{border-radius:999px;padding:7px 14px;font-weight:750;font-size:12.5px}
.u-gal-wallbox{margin-top:10px}
.u-gw-tile{position:relative;overflow:hidden;border:0;padding:0;border-radius:14px;background:#141726;cursor:pointer;color:#fff;text-align:left;isolation:isolate;transition:transform .2s ease,box-shadow .2s ease}
.u-gw-tile>img,.u-gw-tile>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.u-gw-tile.is-word{background:linear-gradient(150deg,#ff3d8b,#7f00ff)}
.u-gw-tile:nth-child(5n+2).is-word{background:linear-gradient(150deg,#00c6ff,#0072ff)}
.u-gw-tile:nth-child(5n+3).is-word{background:linear-gradient(150deg,#f7971e,#ffd200)}
.u-gw-tile:nth-child(5n+4).is-word{background:linear-gradient(150deg,#11998e,#38ef7d)}
.u-gw-word{position:absolute;inset:auto 12px 56px 12px;font-style:normal;font-weight:900;font-size:clamp(15px,1.4vw,22px);line-height:1.05;text-transform:uppercase}
.u-gw-cap{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:2px;padding:26px 11px 10px;background:linear-gradient(180deg,transparent,rgba(5,6,14,.84))}
.u-gw-cap small{font-size:10px;letter-spacing:.08em;text-transform:uppercase;opacity:.85}
.u-gw-cap b{font-size:13.5px;line-height:1.2}
.u-gw-cap em{font-style:normal;font-size:11.5px;color:#d6ff3d;opacity:0;transform:translateY(4px);transition:.2s}
.u-gw-tile:hover,.u-gw-tile:focus-visible{transform:scale(1.015);box-shadow:0 0 0 2px #d6ff3d,0 14px 30px rgba(0,0,0,.4);z-index:2}
.u-gw-tile:hover em,.u-gw-tile:focus-visible em{opacity:1;transform:none}
@media (hover:none){.u-gw-cap em{opacity:1;transform:none}}
.u-gw-more{display:block;margin:12px auto 0;border-radius:999px;padding:9px 18px;font-weight:750}
@media (max-width:640px){.u-gw-cap{padding:18px 8px 7px}.u-gw-cap b{font-size:12px}.u-gw-cap small{display:none}}
.u-gw-tile.is-on{box-shadow:0 0 0 3px #d6ff3d,0 10px 24px rgba(0,0,0,.35)!important}
.u-gw-tick{position:absolute;top:8px;right:8px;z-index:3;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:13px;background:#d6ff3d;color:#111}
.u-gal-pick.u-gal-walling .u-gal-head{min-height:0}
.u-gw-tile.is-on{box-shadow:0 0 0 3px #d6ff3d,0 10px 24px rgba(0,0,0,.35)!important}
.u-gw-tick{position:absolute;top:8px;right:8px;z-index:3;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:900;font-size:13px;background:#d6ff3d;color:#111}
/* row pickers in wall view: the "3D motion" button sits above the wall, not over it */
.u-gal-row.u-gal-walling .u-gal-head{margin-bottom:6px}
/* tiles without a picture: one title only (big, wrapped), no repeated caption */
.u-gw-tile.is-word .u-gw-cap b,.u-gw-tile.is-word .u-gw-cap small{display:none}
.u-gw-tile.is-word .u-gw-word{inset:12px 10px auto 10px;font-size:clamp(12px,0.95vw,17px);overflow-wrap:break-word;word-break:normal;hyphens:manual}
@media (max-width:640px){.u-gw-tile.is-word .u-gw-word{font-size:12.5px}}

/* v18.10.41 · word cards: whole words only, room for the ✓, compact rows when the wall has no pictures */
.u-gw-tile.is-word .u-gw-word{overflow-wrap:normal!important;word-break:keep-all!important;hyphens:none!important;right:34px!important}
.u-gw-words .u-gw-tile.is-word .u-gw-word{top:auto!important;bottom:10px!important}
.u-gw-words .u-gw-tile.is-word .u-gw-cap{display:none}
.u-gw-words .u-gw-tile.is-word.is-on{outline:3px solid #d6ff3d;outline-offset:-3px}
.u-gw-words .u-gw-tile:not(.is-word) .u-gw-cap small,.u-gw-words .u-gw-tile:not(.is-word) .u-gw-cap em{display:none}
.u-gw-words .u-gw-tile:not(.is-word) .u-gw-cap{padding:18px 10px 8px}.u-gw-words .u-gw-tile:not(.is-word) .u-gw-cap b{font-size:13px;line-height:1.15}
.u-gw-words .u-gw-tile.is-word .u-gw-word{right:10px!important}
/* Product browsing uses compact equal columns; creation galleries keep their media wall. */
.u-gallery .u-gw-products .u-gw-grid{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,140px),1fr));gap:10px!important;align-items:stretch}
.u-gallery .u-gw-tile.is-product{background:#f5f2ec!important;color:#182438!important}
.u-gallery .u-gw-tile.is-product>img{object-fit:contain;padding:8px 8px 68px;box-sizing:border-box;background:#f5f2ec}
.u-gallery .u-gw-tile.is-product .u-gw-cap{color:#182438!important;background:linear-gradient(180deg,transparent,#f5f2ec 20%);padding:14px 10px 10px}
.u-gallery .u-gw-tile.is-product .u-gw-cap small{font-size:12px;letter-spacing:0;color:#52605b!important;opacity:1}
.u-gallery .u-gw-tile.is-product .u-gw-cap b{font-size:14px;line-height:1.35;color:#182438!important;white-space:normal;overflow-wrap:anywhere}
.u-gallery .u-gw-tile.is-product .u-gw-cap em{color:#365e67!important;opacity:1;transform:none;font-size:12px;line-height:1.5}
.u-gallery .u-gw-products .u-gw-tile{display:flex;flex-direction:column;min-width:0;min-height:44px;height:auto!important;width:auto!important;aspect-ratio:auto!important;text-align:left;border-radius:12px}
.u-gallery .u-gw-products .u-gw-tile>img{position:static;inset:auto;width:100%;height:auto;aspect-ratio:1;object-fit:contain;flex:none;padding:6px}
.u-gallery .u-gw-products .u-gw-cap{position:static;inset:auto;flex:1;gap:3px;padding:8px 10px 10px;background:#f5f2ec}
.u-gallery .u-gw-products .u-gw-cap em{margin-top:auto;padding-top:3px}
.u-gallery .u-gal-card.is-product img{object-fit:contain;padding:8px 8px 44px;box-sizing:border-box;background:#f5f2ec}
.style-collection-card img[data-u-kind=sticker],.style-category-card img[data-u-kind=sticker],.style-trending-card img[data-u-kind=sticker]{object-fit:contain!important;background:#f5f2ec!important}
@media(max-width:640px){.u-gallery .u-gw-products .u-gw-grid{gap:8px!important}.u-gallery .u-gw-tile.is-product .u-gw-cap small{display:block}}
@media(prefers-reduced-motion:reduce){.u-gallery .u-gw-tile{transition:none!important}}
