/* Sólo selector. Ninguna regla modifica presupuesto, cuadro ni mockup. */
/* Dos familias web para toda la interfaz; no cambia la geometría de las piezas. */
.gallery-v2 body,.gallery-v2 body * { font-family:'Manrope',sans-serif!important; }
.gallery-v2 h1,.gallery-v2 h2,.gallery-v2 h3,.gallery-v2 h4 { font-family:'Space Grotesk',sans-serif!important; }
.gallery-v2,.gallery-v2 body { max-width:100%; overflow-x:clip; }
.gallery-v2 .result-journey { overflow-x:hidden; }
.gallery-v2 .quote-view { grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); }
.gallery-v2 .room-section { grid-template-columns:minmax(0,.55fr) minmax(0,1fr); }
.gallery-v2 .quote-view > *, .gallery-v2 .room-section > * { min-width:0; }
.gallery-v2 .result-frame { min-width:0; max-width:100%; }
.gallery-v2 .room-photo { max-width:100%; }
.gallery-v2 .quote-selected strong,.gallery-v2 .quote-card,.gallery-v2 .room-copy { overflow-wrap:anywhere; }
.gallery-v2 .result-topbar { gap:12px; }
.gallery-v2 .result-topbar > * { min-width:0; }
.gallery-v2 .sleeve-scene,.gallery-v2 .sleeve-scene *,
.gallery-v2 .result-frame,.gallery-v2 .result-frame *,
.gallery-v2 .room-photo,.gallery-v2 .room-photo *, .gallery-v2 .vinyl-canvas {
  -webkit-touch-callout:none; -webkit-user-select:none; user-select:none; -webkit-user-drag:none;
}
@media(max-width:1000px) {
  .gallery-v2 .quote-view,.gallery-v2 .room-section { grid-template-columns:minmax(0,1fr); }
}
.gallery-v2:not(.gallery-result) .selector-page { background:#efeeea; }
.gallery-v2:not(.gallery-result) .genre-backdrop,
.gallery-v2:not(.gallery-result) .disc-stage,
.gallery-v2 .album-live-cover,
.gallery-v2:not(.gallery-result) .choice-panel > .eyebrow,
.gallery-v2:not(.gallery-result) #history,
.gallery-v2:not(.gallery-result) .selection-axis { display:none!important; }
.gallery-v2:not(.gallery-result) .site-header { background:transparent; border-bottom:0; backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none; z-index:80; pointer-events:none; }
.gallery-v2:not(.gallery-result) .site-header button,
.gallery-v2:not(.gallery-result) .site-header a { pointer-events:auto; }
.gallery-v2:not(.gallery-result) .phase { display:none; }
.gallery-v2:not(.gallery-result) .choice-panel { position:absolute; inset:110px auto auto 32px; width:292px; height:auto; padding:0; z-index:60; animation:none; pointer-events:auto; }
.gallery-v2:not(.gallery-result) .search-box,
.gallery-v2:not(.gallery-result) .search-box.is-open { position:relative; inset:auto; width:100%; min-height:0; display:flex; flex-wrap:wrap; border:0; border-top:1px solid #aaa69e; border-bottom:1px solid #aaa69e; border-radius:0; background:transparent; box-shadow:none; overflow:visible; padding:14px 0; }
.gallery-v2:not(.gallery-result) .search-toggle { display:none; }
.gallery-v2:not(.gallery-result) .search-content { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; width:100%; opacity:1; pointer-events:auto; }
.gallery-v2:not(.gallery-result) .search-segment { grid-column:1/-1; display:flex; width:100%; margin:0 0 18px; background:transparent; border:0; gap:16px; }
.gallery-v2:not(.gallery-result) .search-segment button { border-radius:0; background:transparent; color:#77736b; padding:0 0 5px; font-size:10px; letter-spacing:.08em; border-bottom:2px solid transparent; }
.gallery-v2:not(.gallery-result) .search-segment button.is-selected { color:#161614; border-color:#161614; }
.gallery-v2:not(.gallery-result) .search-box label { padding:0; flex:1; }
.gallery-v2:not(.gallery-result) .search-box label span { font-size:8px; color:#77736b; margin-bottom:7px; }
.gallery-v2:not(.gallery-result) .search-box input { font-size:16px; padding:0; min-height:28px; }
.gallery-v2:not(.gallery-result) .search-submit { margin:0 0 0 8px; padding:12px 9px; border-radius:0; background:#191917; font-size:9px; }
.gallery-v2:not(.gallery-result) #discogsHint { position:relative; inset:auto; font-size:9px; margin:0 0 12px; }
.gallery-v2:not(.gallery-result) .search-results { position:absolute; top:100%; left:0; right:0; width:100%; max-height:45vh; overflow:auto; background:#f8f7f3; z-index:90; }
.gallery-v2:not(.gallery-result) .active-choice { position:absolute!important; top:300px!important; left:32px!important; bottom:auto!important; width:270px!important; padding:0!important; transform:none!important; background:none!important; z-index:50; animation:none; }
.gallery-v2:not(.gallery-result) .active-choice small { font-size:9px; color:#78756b; letter-spacing:.08em; }
.gallery-v2:not(.gallery-result) .active-choice h2 { font-family:Georgia,'Times New Roman',serif; font-size:clamp(26px,2.6vw,40px)!important; line-height:1.03!important; letter-spacing:-.045em!important; margin:12px 0 16px; max-width:100%; overflow-wrap:anywhere; }
.gallery-v2:not(.gallery-result) .active-choice p { font-size:9px; font-weight:500; line-height:1.5; border-top:1px solid #aaa69e; padding-top:12px; }
.gallery-v2:not(.gallery-result) .active-choice button { width:100%; padding:16px; margin-top:22px; border:0; border-radius:0; font-size:10px; background:#191917; color:#f5f3ed; }
.gallery-v2:not(.gallery-result) .help { background:transparent; border:0; z-index:30; }
.gallery-v2:not(.gallery-result) #helpStep { display:none; }
.sleeve-gallery { position:absolute; inset:76px 0 44px; overflow:visible; z-index:20; }
.sleeve-gallery[hidden] { display:none; }
.sleeve-scene { --card-size: min(32vw,46vh,440px); position:absolute; inset:0; perspective:1300px; perspective-origin:62% 47%; touch-action:none; }
.sleeve-card { --hover-x:0deg; --hover-y:0deg; position:absolute; left:61%; top:45%; width:var(--card-size); height:var(--card-size); border:0; padding:0; background:none; cursor:grab; transform-style:preserve-3d;
  transform:translate(-50%,-50%) translate3d(calc(var(--offset) * var(--card-size) * 1.07),calc(var(--offset) * var(--card-size) * -.44),calc(var(--offset) * 80px)) rotateX(10deg) rotateY(-24deg) rotateZ(-14deg);
  transition:transform .85s cubic-bezier(.22,.75,.15,1),opacity .55s; opacity:1; }
.sleeve-card[hidden] { display:none; }
.sleeve-card:active { cursor:grabbing; }
.sleeve-card:focus-visible { outline:2px solid #b83a24; outline-offset:18px; }
.sleeve-hover { position:absolute; inset:0; transform-style:preserve-3d; transform:rotateX(var(--hover-x)) rotateY(var(--hover-y)); transition:transform .35s ease-out; }
.sleeve-object { position:absolute; inset:0; transform-style:preserve-3d; transform:rotateY(0deg); }
.sleeve-front { position:absolute; inset:0; display:block; overflow:hidden; background:#292824; transform:translateZ(3px); box-shadow:none; }
.sleeve-front img { width:100%; height:100%; object-fit:cover; display:block; opacity:0; transition:opacity .45s; user-select:none; }
.art-ready .sleeve-front img { opacity:1; }
.sleeve-front img[hidden] { display:none; }
.cart-icon-only { display:inline-flex; width:36px; min-height:44px; align-items:center; justify-content:center; flex-shrink:0; }
.cart-icon-only svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.loading-icon { width:32px; height:32px; display:block; margin:0 auto 16px; animation:kiva-loading 1s linear infinite; }
.loading-icon[hidden], .gallery-empty[hidden], .gallery-cover-notice[hidden], .gallery-navigation[hidden] { display:none; }
.gallery-empty { font-family:inherit; font-size:16px; text-align:center; }
.gallery-cover-notice { position:absolute; bottom:20px; right:24px; max-width:75%; padding:12px; background:rgba(245,242,235,.94); font:12px/1.5 inherit; display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.gallery-cover-notice button { background:none; border:0; text-decoration:underline; color:inherit; cursor:pointer; min-height:44px; }
@keyframes kiva-loading { to { transform:rotate(360deg); } }
@media (prefers-reduced-motion:reduce) { .loading-icon { animation:none; } }
.sleeve-light { position:absolute; inset:0; background:linear-gradient(120deg,#fff2,transparent 40%,#0001); box-shadow:none; pointer-events:none; }
.is-current .sleeve-light { background:radial-gradient(ellipse at var(--shine-x,30%) 0%,#fff3,transparent 68%); }
.sleeve-fallback { display:grid; height:100%; place-items:center; padding:20px; box-sizing:border-box; font:32px/1 Georgia,serif; color:#f0ece0; }
.sleeve-card:not(.is-current) .sleeve-fallback { font-size:clamp(15px,2vw,26px); text-align:center; }
.is-current .sleeve-fallback { font-size:clamp(20px,3vw,38px); text-align:center; }
.gallery-record { position:absolute; inset:2%; border-radius:50%; background:repeating-radial-gradient(circle,#171717 0px,#171717 1px,#292929 1.5px,#090909 2.5px); box-shadow:1px 3px 4px #0008; transform:translateX(0) rotate(-45deg); transition:transform .55s cubic-bezier(.22,.7,.2,1); }
.gallery-record::after { content:''; position:absolute; inset:0; border-radius:50%; background:conic-gradient(from 20deg,transparent,#fff2 16deg,transparent 46deg,transparent 180deg,#fff2 206deg,transparent 230deg); }
.record-label { position:absolute; inset:35%; border-radius:50%; background:var(--record-label,#b98654); }
.record-label::after { content:''; position:absolute; width:6%; height:6%; left:47%; top:47%; border-radius:50%; background:#171715; }
.is-current.is-album.is-revealed .gallery-record { transform:translateX(51%) rotate(0deg); }
.gallery-navigation { position:absolute; bottom:38px; left:61%; transform:translateX(-50%); display:flex; gap:24px; align-items:center; }
.gallery-navigation button { width:44px; height:44px; border:1px solid #b8b4aa; border-radius:50%; background:transparent; font-size:20px; cursor:pointer; }
.gallery-navigation button:hover { background:#191917; color:#fff; }
.gallery-navigation button:disabled { opacity:.3; cursor:default; }
.gallery-count { font:11px/1 Arial,sans-serif; letter-spacing:.16em; min-width:70px; text-align:center; }
.gallery-instruction { position:absolute; bottom:0; left:61%; transform:translateX(-50%); white-space:nowrap; font:8px/1 Arial,sans-serif; letter-spacing:.12em; color:#6f6c64; }
.gallery-empty { position:absolute; left:60%; top:45%; transform:translate(-50%,-50%); font-size:16px; font-family:inherit; }
@media(max-width:760px) {
  .gallery-v2:not(.gallery-result) .site-header { padding:10px 16px; }
  .gallery-v2:not(.gallery-result) .choice-panel { inset:80px 20px auto; width:auto; }
  .gallery-v2:not(.gallery-result) #discogsHint { display:none; }
  .gallery-v2:not(.gallery-result) .search-box { padding:10px 0; }
  .gallery-v2:not(.gallery-result) .search-content { grid-template-columns:auto minmax(0,1fr) auto; }
  .gallery-v2:not(.gallery-result) .search-segment { grid-column:1; width:auto; gap:10px; margin:0 14px 0 0; }
  .gallery-v2:not(.gallery-result) .search-segment button { font-size:8px; }
  .gallery-v2:not(.gallery-result) .search-box label span { display:none; }
  .gallery-v2:not(.gallery-result) .search-box input { font-size:16px; }
  .gallery-v2:not(.gallery-result) .active-choice { top:auto!important; bottom:95px!important; left:20px!important; right:20px; width:auto!important; display:grid; grid-template-columns:1fr auto; column-gap:20px; }
  .gallery-v2:not(.gallery-result) .active-choice[hidden] { display:none; }
  .gallery-v2:not(.gallery-result) .active-choice small { grid-column:1; font-size:8px; }
  .gallery-v2:not(.gallery-result) .active-choice h2 { grid-column:1; font-size:25px!important; margin:6px 0; }
  .gallery-v2:not(.gallery-result) .active-choice p { grid-column:1; font-size:8px; padding-top:6px; }
  .gallery-v2:not(.gallery-result) .active-choice button { grid-column:2; grid-row:1/4; align-self:center; width:108px; padding:14px 10px; margin:0; font-size:8px; gap:8px; }
  .sleeve-gallery { inset:145px 0 32px; }
  .sleeve-scene { --card-size:min(55vw,30vh,255px); perspective:1000px; perspective-origin:48% 39%; }
  .sleeve-card { left:46%; top:38%; transform:translate(-50%,-50%) translate3d(calc(var(--offset) * var(--card-size) * 1.28),calc(min(var(--distance),1) * var(--card-size) * .28),calc(var(--distance) * -220px)) rotateX(8deg) rotateY(-20deg) rotateZ(-12deg); }
  .gallery-navigation { bottom:0; left:50%; gap:18px; }
  .gallery-navigation button { width:34px; height:34px; }
  .gallery-instruction { display:none; }
  .gallery-empty { left:50%; top:35%; width:70%; text-align:center; }
  .gallery-v2:not(.gallery-result) .help { font-size:7px; padding:0 20px; height:25px; }
}
@media(max-height:650px) and (min-width:761px) {
  .gallery-v2:not(.gallery-result) .choice-panel { top:85px; }
  .gallery-v2:not(.gallery-result) .active-choice { top:250px!important; }
  .gallery-v2:not(.gallery-result) .active-choice h2 { font-size:26px!important; }
}
@media(prefers-reduced-motion:reduce) {
  .sleeve-card,.sleeve-object,.gallery-record,.sleeve-front img { transition:none; }
}
.artist-atmosphere { position:fixed; inset:0; z-index:0; overflow:hidden; pointer-events:none; opacity:0; transition:opacity 1.5s ease; background:#efeeea; }
.artist-atmosphere img { width:100%; height:100%; object-fit:cover; filter:blur(9px) saturate(.9); transform:scale(1.05); }
.artist-atmosphere::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg,#f3f0e8b8,#f3f0e825 65%,#f3f0e835); }
.artist-atmosphere.is-visible { opacity:1; }
.gallery-v2.has-artist-atmosphere .selector-page { background:transparent; }
.gallery-v2.has-artist-atmosphere .genre-backdrop { display:none; }
.gallery-v2.has-artist-atmosphere .result-journey { background:#181816; isolation:isolate; }
.gallery-v2.has-artist-atmosphere .result-journey::before { content:''; position:fixed; inset:0; z-index:-1; pointer-events:none; background:var(--artist-background) center/cover; filter:blur(45px); opacity:.25; }
.gallery-v2.has-artist-atmosphere .room-section { background:rgba(243,240,232,.86); }
.sleeve-card { translate:0 0; transition:transform .85s cubic-bezier(.22,.75,.15,1),opacity .8s,translate .85s cubic-bezier(.5,0,.2,1); }
.sleeve-card.is-retiring,.is-leaving .sleeve-card { translate:0 -110vh; opacity:0; pointer-events:none; }
.is-leaving .gallery-navigation,.is-leaving .gallery-instruction { opacity:0; transition:opacity .25s; }
.is-leaving { pointer-events:none; }
.gallery-v2 .entry-splash { display:none; }
.kiva-intro { position:fixed; inset:0; overflow-y:auto; overflow-x:hidden; z-index:200; overscroll-behavior:contain; touch-action:pan-y; background:#ecd0bb; }
.intro-track { height:360svh; }
.intro-stage { position:sticky; top:0; height:100svh; overflow:hidden; }
.intro-logo { position:absolute; left:28px; top:20px; width:55px; z-index:20; }
.intro-skip { position:absolute; right:24px; top:26px; z-index:20; border:1px solid #18181666; padding:12px 16px; border-radius:30px; background:transparent; font-size:10px; letter-spacing:.07em; }
.intro-copy { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; flex-direction:column; text-align:center; z-index:8; pointer-events:none; }
.intro-copy small { font-size:10px; letter-spacing:.2em; margin-bottom:20px; }
.intro-copy h2 { font:500 clamp(55px,9vw,140px)/.92 Georgia,serif; letter-spacing:-.065em; max-width:900px; margin:0; }
.intro-copy p { max-width:380px; font-size:15px; line-height:1.5; margin:25px 24px; }
.intro-poster { position:absolute; top:0; left:var(--x); width:var(--w); aspect-ratio:16/10; margin:0; z-index:var(--z); will-change:transform; }
.intro-poster img { width:100%; height:100%; object-fit:cover; display:block; }
.intro-scroll { position:absolute; left:50%; bottom:28px; transform:translateX(-50%); font-size:9px; letter-spacing:.18em; white-space:nowrap; }
.intro-progress { position:absolute; left:0; bottom:0; height:2px; background:#171715; width:100%; transform-origin:left; }
.kiva-intro.is-finished { pointer-events:none; opacity:0; transition:opacity .7s ease; }
.sleeve-front { box-shadow:3px 8px 18px rgba(0,0,0,.16); }
.intro-active .site-header { visibility:hidden; pointer-events:none; }
.instagram-link { display:inline-flex; align-items:center; min-height:44px; color:inherit; text-decoration:none; font-size:10px; font-weight:800; letter-spacing:.06em; }
.instagram-contact { grid-column:1/-1; display:block; padding:16px; text-align:center; color:inherit; border:1px solid currentColor; text-decoration:none; font-size:11px; }
.gallery-current-name { position:absolute; bottom:80px; left:61%; transform:translateX(-50%); width:min(440px,70vw); text-align:center; font-size:clamp(18px,2.2vw,32px); font-weight:700; line-height:1.1; pointer-events:none; }
.gallery-current-name:empty { display:none; }
.sleeve-card { transition:transform .85s cubic-bezier(.22,.75,.15,1),opacity .7s ease,translate .85s cubic-bezier(.5,0,.2,1); }
.sleeve-card:not(.is-retiring) { opacity:1; }
.instagram-icon { width:22px; height:22px; flex:none; fill:none; stroke:currentColor; stroke-width:1.7; }
.instagram-link { justify-content:center; min-width:44px; }
.instagram-contact { display:flex; align-items:center; justify-content:center; gap:10px; }
@media(max-width:760px) {
  .gallery-current-name { left:50%; bottom:44px; font-size:20px; }
  .header-actions { gap:8px; }
  .instagram-link { font-size:8px; }
}
@media(prefers-reduced-motion:reduce) { .sleeve-card { transition:none; } }
.gallery-v2:not(.gallery-result) #searchBox,
.gallery-v2:not(.gallery-result) #activeChoice,
.gallery-v2:not(.gallery-result) .gallery-instruction { display:none!important; }
.gallery-v2:not(.gallery-result) #discogsHint:empty { display:none; }
.gallery-finder { background:rgba(243,240,232,.78); padding:22px; backdrop-filter:blur(12px); border-radius:3px; }
.gallery-finder label { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.gallery-finder input { display:block; width:100%; min-width:0; min-height:48px; border:0; border-bottom:1px solid #27272155; border-radius:0; background:transparent; padding:8px 0; font-size:18px; color:#171715; }
.gallery-finder input[readonly] { font-weight:700; }
.gallery-finder #galleryAlbum { font-size:26px; line-height:1.2; font-weight:600; min-height:62px; margin-top:14px; }
.finder-actions { display:flex; gap:8px; margin-top:24px; }
.finder-actions button { flex:1; min-height:48px; padding:12px 8px; border:1px solid #191917; background:#191917; color:white; font-size:10px; font-weight:800; cursor:pointer; }
.finder-actions .finder-reset { background:transparent; color:#191917; }
.finder-actions button[hidden] { display:none; }
.finder-actions button:disabled { opacity:.5; cursor:wait; }
.gallery-finder :focus-visible { outline:2px solid #b83a24; outline-offset:3px; }
.gallery-v2:not(.gallery-result) .choice-panel { width:340px; }
.gallery-v2:not(.gallery-result) .search-results { top:100%; margin-top:8px; }
@media(max-width:760px) {
  .gallery-v2:not(.gallery-result) .choice-panel { width:auto; inset:76px 16px auto; }
  .gallery-finder { padding:14px 16px; }
  .gallery-finder label[for=galleryAlbum] { margin-top:10px; }
  .gallery-finder #galleryAlbum { font-size:25px; min-height:52px; }
  .finder-actions { margin-top:14px; }
  .sleeve-gallery { top:330px; }
  .sleeve-card { top:42%; }
  .gallery-v2:not(.gallery-result) .search-results { max-height:40svh; }
}
@media(max-width:760px) {
  .intro-copy h2 { font-size:clamp(48px,12vw,85px); max-width:90%; }
  .intro-copy p { font-size:13px; max-width:260px; }
  .intro-copy small { font-size:8px; }
  .intro-poster { width:calc(var(--w) * 1.65); left:var(--mx); }
  .intro-logo { width:42px; left:20px; }
  .intro-skip { right:16px; font-size:8px; }
}
/* V5: staggered portrait poster field, not rotating floating tiles. */
.gallery-v2 .help { display:none!important; }
.intro-copy { inset:auto auto 9vh 2vw; width:13vw; align-items:flex-start; text-align:left; z-index:12; }
.intro-copy h2 { font-size:clamp(22px,2.2vw,42px); line-height:1.05; letter-spacing:-.045em; }
.intro-copy small { font-size:8px; letter-spacing:.08em; }
.intro-copy p { font-size:12px; margin:16px 0 0; }
.intro-scroll { left:2vw; bottom:22px; transform:none; }
.gallery-finder { overflow:hidden; }
/* V6: one animation owner for the 3D path; CSS must not chase RAF transforms. */
.sleeve-scene .sleeve-card { transition:opacity .55s ease,translate .85s cubic-bezier(.5,0,.2,1); will-change:transform; }
.intro-skip { background:#efeeeadb; backdrop-filter:blur(8px); }
@media(max-width:760px) {
  .intro-poster { width:calc(var(--w) * 1.92); }
  .intro-copy { inset:auto 5vw 6vh; width:auto; padding:18px; background:#efeeeaed; }
  .intro-copy h2 { font-size:30px; max-width:none; }
  .intro-copy small { margin-bottom:10px; }
  .intro-copy p { font-size:12px; max-width:none; margin-top:12px; }
  .intro-scroll { display:none; }
}
