.gpik-kiosk {
  --gpik-accent: #d7ff3f;
  --gpik-bg: #10110f;
  --gpik-fg: #f4f1e8;
  --gpik-muted: color-mix(in srgb, var(--gpik-fg), transparent 44%);
  --gpik-line: color-mix(in srgb, var(--gpik-fg), transparent 80%);
  --gpik-display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --gpik-body: "Avenir Next", "Century Gothic", "Trebuchet MS", sans-serif;
  position: relative;
  box-sizing: border-box;
  width: 100%;
  height: var(--gpik-height, 100vh);
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  color: var(--gpik-fg);
  background: var(--gpik-bg);
  font-family: var(--gpik-body);
  font-size: calc(16px * var(--gpik-scale, 1));
  line-height: 1.4;
  touch-action: pan-y;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  container-type: size;
}
.gpik-kiosk *, .gpik-kiosk *::before, .gpik-kiosk *::after { box-sizing: border-box; }
.gpik-kiosk button, .gpik-kiosk input { font: inherit; }
.gpik-kiosk button { color: inherit; }
.gpik-kiosk img, .gpik-kiosk video { display: block; max-width: 100%; }
.gpik-kiosk [hidden] { display: none !important; }
.gpik-hide-cursor, .gpik-hide-cursor * { cursor: none !important; }
.gpik-atmosphere { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(circle at 55% 35%, #20231d 0, var(--gpik-bg) 55%); }
.gpik-atmosphere::after { content: ""; position: absolute; inset: 0; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); pointer-events: none; }
.gpik-atmosphere span:first-child { position: absolute; width: 38vw; aspect-ratio: 1; right: -12vw; top: -20vw; border: 1px solid var(--gpik-line); border-radius: 50%; }
.gpik-atmosphere span:last-child { position: absolute; width: 1px; height: 60%; left: 52%; top: 22%; background: linear-gradient(transparent, var(--gpik-line), transparent); transform: rotate(14deg); }
.gpik-header { position: absolute; z-index: 10; top: var(--gpik-safe); left: var(--gpik-safe); right: var(--gpik-safe); display: flex; align-items: center; justify-content: space-between; min-height: 58px; }
.gpik-brand img { width: auto; height: clamp(30px, 4.5vh, 56px); object-fit: contain; }
.gpik-wordmark { letter-spacing: .18em; font-size: .82em; font-weight: 800; }
.gpik-wordmark span { color: var(--gpik-accent); }
.gpik-header-actions { display: flex; gap: 10px; }
.gpik-icon-button, .gpik-nav { width: max(52px, calc(52px * var(--gpik-scale))); height: max(52px, calc(52px * var(--gpik-scale))); border: 1px solid var(--gpik-line); border-radius: 50%; background: color-mix(in srgb, var(--gpik-bg), transparent 25%); display: grid; place-items: center; font-size: 1.45em; backdrop-filter: blur(16px); transition: background .25s, color .25s, transform .25s; }
.gpik-icon-button:active, .gpik-nav:active { transform: scale(.92); background: var(--gpik-accent); color: #10110f; }
.gpik-force-idle { width: auto; padding: 0 17px; grid-auto-flow: column; gap: 8px; border-radius: 99px; }
.gpik-force-idle small { font-size: .43em; font-weight: 800; letter-spacing: .14em; }
.gpik-intro { position: absolute; left: var(--gpik-safe); top: clamp(110px, 14vh, 170px); width: min(38%, 650px); z-index: 3; pointer-events: none; }
.gpik-kicker { margin: 0 0 14px; color: var(--gpik-accent); font-size: .68em; letter-spacing: .22em; font-weight: 700; }
.gpik-intro h1 { margin: 0; max-width: 11ch; font-family: var(--gpik-display); font-weight: 400; font-size: clamp(2.5em, 6.2vw, 7em); line-height: .82; letter-spacing: -.055em; text-wrap: balance; }
.gpik-subtitle { margin: 22px 0 0; max-width: 44ch; color: var(--gpik-muted); font-size: clamp(.82em, 1.1vw, 1.05em); }
.gpik-intro-title-hidden { top: clamp(118px, 15vh, 180px); }
.gpik-intro-title-hidden .gpik-subtitle { margin-top: 10px; font: 400 clamp(1.35em, 2.4vw, 2.8em)/1.05 var(--gpik-display); color: var(--gpik-fg); }
.gpik-experience-title-hidden .gpik-intro h1 { display: none; }
.gpik-tools { position: absolute; z-index: 9; top: clamp(110px, 14vh, 170px); right: var(--gpik-safe); width: min(36%, 560px); display: flex; align-items: center; gap: 22px; }
.gpik-search { height: max(56px, calc(56px * var(--gpik-scale))); flex: 1; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--gpik-line); }
.gpik-search > label { min-width: 36px; display: grid; place-items: center; color: var(--gpik-accent); font-size: 1.4em; }
.gpik-search input { min-width: 0; flex: 1; height: 100%; border: 0 !important; outline: 0; color: var(--gpik-fg); background: transparent !important; box-shadow: none !important; font-size: .9em; }
.gpik-search input::placeholder { color: var(--gpik-muted); }
.gpik-search-clear, .gpik-keyboard-toggle { min-width: 44px; min-height: 44px; border: 0; background: transparent; color: var(--gpik-muted); padding: 8px; }
.gpik-search-clear { font-size: 1.5em; }
.gpik-keyboard-toggle { font-size: 1.25em; }
.gpik-keyboard-toggle[aria-expanded="true"] { color: var(--gpik-accent); }
.gpik-counter { display: flex; gap: 7px; align-items: baseline; font-variant-numeric: tabular-nums; }
.gpik-counter b { color: var(--gpik-accent); font-family: var(--gpik-display); font-size: 2em; font-weight: 400; }
.gpik-counter span, .gpik-counter em { color: var(--gpik-muted); font-size: .75em; font-style: normal; }
.gpik-filters { position: absolute; z-index: 9; top: clamp(176px, 21vh, 245px); right: var(--gpik-safe); width: min(36%, 560px); display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gpik-filters::-webkit-scrollbar { display: none; }
.gpik-filters:empty { display: none; }
.gpik-filters button { min-height: 38px; flex: 0 0 auto; padding: 0 15px; border: 1px solid var(--gpik-line); border-radius: 100px; color: var(--gpik-muted); background: transparent; font-size: .66em; letter-spacing: .08em; }
.gpik-filters button.is-active { border-color: var(--gpik-accent); color: #10110f; background: var(--gpik-accent); }
.gpik-stage { position: absolute; z-index: 2; left: var(--gpik-safe); right: var(--gpik-safe); top: 28%; bottom: clamp(132px, 17vh, 190px); outline: 0; touch-action: pan-y; }
.gpik-track, .gpik-slide { position: absolute; inset: 0; }
.gpik-slide { display: grid; grid-template-columns: minmax(0, 52%) minmax(260px, 1fr); gap: clamp(28px, 4vw, 80px); align-items: end; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .55s ease, visibility .55s; }
.gpik-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
.gpik-slide-media { position: relative; height: 100%; overflow: hidden; background: #090a08; box-shadow: 0 35px 90px rgba(0,0,0,.38); }
.gpik-slide-media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.08); pointer-events: none; }
.gpik-slide.is-panning .gpik-slide-media::before { content: "ARRASTRA PARA EXPLORAR LA IMAGEN"; position: absolute; z-index: 3; left: 50%; top: 18px; transform: translateX(-50%); padding: 10px 15px; border-radius: 99px; color: #10110f; background: var(--gpik-accent); font-size: .58em; font-weight: 800; letter-spacing: .12em; white-space: nowrap; pointer-events: none; animation: gpikReveal .25s ease both; }
.gpik-slide-media img, .gpik-slide-media video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.015); transition: transform 1.1s cubic-bezier(.2,.72,.2,1); }
.gpik-slide.is-panning .gpik-slide-media { touch-action: none; }
.gpik-slide.is-panning .gpik-slide-media img { transform: scale(1.04); transition: transform .25s, object-position .05s linear; }
.gpik-slide.is-active .gpik-slide-media img { transform: scale(1); }
.gpik-slide-copy { padding: 0 0 5vh; max-width: 520px; }
.gpik-slide-copy > span { color: var(--gpik-accent); font: 400 1.3em var(--gpik-display); }
.gpik-slide-copy h2 { margin: 9px 0 10px; font: 400 clamp(1.8em, 3.2vw, 4em)/.95 var(--gpik-display); letter-spacing: -.035em; }
.gpik-slide-copy p { min-height: 2.8em; margin: 0 0 26px; color: var(--gpik-muted); max-width: 42ch; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gpik-image-titles-hidden .gpik-slide-copy { padding-bottom: 7vh; }
.gpik-image-titles-hidden .gpik-slide-copy h2,
.gpik-image-titles-hidden .gpik-detail-copy h2 { display: none; }
.gpik-image-titles-hidden .gpik-slide-copy > p { font: 400 clamp(1.25em, 2vw, 2.1em)/1.18 var(--gpik-display); color: var(--gpik-fg); }
.gpik-expand { min-height: 50px; padding: 0; border: 0; border-bottom: 1px solid var(--gpik-accent); color: var(--gpik-fg); background: transparent; font-size: .72em; font-weight: 700; letter-spacing: .14em; }
.gpik-expand:active { color: var(--gpik-accent); }
.gpik-slide-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.gpik-pan-toggle { min-height: 50px; padding: 0; border: 0; border-bottom: 1px solid var(--gpik-line); color: var(--gpik-muted); background: transparent; font-size: .72em; font-weight: 700; letter-spacing: .12em; }
.gpik-pan-toggle[aria-pressed="true"] { border-color: var(--gpik-accent); color: var(--gpik-accent); }
.gpik-nav { position: absolute; z-index: 3; top: 48%; }
.gpik-prev { left: -26px; }
.gpik-next { right: -26px; }
.gpik-swipe-cue { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; color: var(--gpik-muted); font-size: .58em; letter-spacing: .15em; }
.gpik-swipe-cue i { display: block; width: 70px; height: 1px; background: var(--gpik-line); position: relative; }
.gpik-swipe-cue i::after { content: ""; position: absolute; width: 8px; height: 8px; border-top: 1px solid var(--gpik-accent); border-right: 1px solid var(--gpik-accent); right: 0; top: -4px; transform: rotate(45deg); }
.gpik-filmstrip { position: absolute; z-index: 4; left: var(--gpik-safe); right: var(--gpik-safe); bottom: var(--gpik-safe); height: clamp(82px, 10vh, 120px); overflow: hidden; }
.gpik-thumbnails { height: 100%; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.gpik-thumbnails::-webkit-scrollbar { display: none; }
.gpik-thumb-button { position: relative; flex: 0 0 clamp(92px, 8vw, 148px); height: 100%; padding: 0; border: 0; opacity: .42; overflow: hidden; background: #050505; scroll-snap-align: start; transition: opacity .3s, flex-basis .3s; }
.gpik-thumb-button img { width: 100%; height: 100%; object-fit: cover; }
.gpik-thumb-button > span { width: 100%; height: 100%; display: grid; place-items: center; background: #20221d; }
.gpik-thumb-button i { position: absolute; right: 7px; bottom: 5px; font-size: .58em; font-style: normal; text-shadow: 0 1px 5px #000; }
.gpik-thumb-button.is-active { opacity: 1; flex-basis: clamp(125px, 11vw, 195px); }
.gpik-thumb-button.is-active::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--gpik-accent); }
.gpik-empty { position: absolute; inset: 25% var(--gpik-safe) 15%; display: grid; place-content: center; text-align: center; }
.gpik-empty span { font: 400 7em/.8 var(--gpik-display); color: var(--gpik-line); }
.gpik-empty p { font: 400 2em var(--gpik-display); }
.gpik-empty button { min-height: 54px; border: 1px solid var(--gpik-accent); background: transparent; padding: 0 24px; }
.gpik-detail { position: absolute; z-index: 40; inset: 0; display: grid; grid-template-columns: minmax(0, 70%) minmax(280px, 1fr); background: #090a08; animation: gpikReveal .45s ease both; }
.gpik-detail-media { overflow: hidden; display: grid; place-items: center; background: #050505; touch-action: none; }
.gpik-detail-media img, .gpik-detail-media video { width: 100%; height: 100%; object-fit: contain; }
.gpik-detail-media.gpik-zoom-enabled { overflow: auto; touch-action: pinch-zoom; }
.gpik-detail-media.gpik-zoom-enabled img { max-width: none; }
.gpik-detail-copy { padding: clamp(70px, 10vh, 130px) clamp(30px, 4vw, 70px); border-left: 1px solid var(--gpik-line); }
.gpik-detail-copy span { color: var(--gpik-accent); font-size: .65em; letter-spacing: .2em; }
.gpik-detail-copy h2 { margin: 24px 0; font: 400 clamp(2em, 3.5vw, 4.5em)/.94 var(--gpik-display); }
.gpik-detail-copy p { color: var(--gpik-muted); white-space: pre-line; }
.gpik-detail-close { position: absolute; z-index: 2; top: var(--gpik-safe); right: var(--gpik-safe); width: 58px; height: 58px; border: 1px solid var(--gpik-line); border-radius: 50%; background: rgba(0,0,0,.55); font-size: 2em; }
.gpik-keyboard { position: absolute; z-index: 60; left: 0; right: 0; bottom: 0; min-height: 46%; max-height: 72%; padding: clamp(16px, 2.4vh, 30px) max(var(--gpik-safe), 3vw); border-top: 1px solid color-mix(in srgb, var(--gpik-accent), transparent 45%); background: color-mix(in srgb, var(--gpik-bg), #000 16%); box-shadow: 0 -35px 90px rgba(0,0,0,.55); backdrop-filter: blur(22px); animation: gpikKeyboardIn .35s cubic-bezier(.2,.7,.2,1) both; }
.gpik-keyboard-head { max-width: 1200px; margin: 0 auto clamp(12px, 1.7vh, 22px); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.gpik-keyboard-head > div { min-width: 0; display: grid; gap: 4px; }
.gpik-keyboard-head span { color: var(--gpik-accent); font-size: .58em; font-weight: 800; letter-spacing: .2em; }
.gpik-keyboard-value { max-width: 80vw; overflow: hidden; color: var(--gpik-fg); font: 400 clamp(1.2em, 2.2vw, 2.2em)/1.1 var(--gpik-display); text-overflow: ellipsis; white-space: nowrap; }
.gpik-keyboard-close { flex: 0 0 auto; width: max(52px, calc(52px * var(--gpik-scale))); height: max(52px, calc(52px * var(--gpik-scale))); border: 1px solid var(--gpik-line); border-radius: 50%; color: var(--gpik-fg); background: transparent; font-size: 1.8em; }
.gpik-keyboard-keys { max-width: 1200px; margin: auto; display: grid; gap: clamp(6px, .8vh, 10px); }
.gpik-keyboard-row { display: flex; justify-content: center; gap: clamp(5px, .65vw, 10px); }
.gpik-key { flex: 1 1 0; max-width: 104px; min-width: 44px; min-height: max(54px, calc(54px * var(--gpik-scale))); padding: 4px; border: 1px solid var(--gpik-line); border-radius: 7px; color: var(--gpik-fg); background: #252821; box-shadow: 0 4px 0 #080908; font-size: clamp(.82em, 1.45vw, 1.3em); font-weight: 700; transition: transform .08s, background .08s, color .08s; }
.gpik-key:active { transform: translateY(3px); color: #10110f; background: var(--gpik-accent); box-shadow: 0 1px 0 #080908; }
.gpik-key-clear, .gpik-key-backspace { flex-grow: 1.2; max-width: 150px; }
.gpik-key-space { flex-grow: 4; max-width: 430px; }
.gpik-key-done { flex-grow: 1.5; max-width: 190px; border-color: var(--gpik-accent); color: #10110f; background: var(--gpik-accent); }
.gpik-keyboard-open .gpik-stage, .gpik-keyboard-open .gpik-filmstrip { filter: brightness(.42); }
.gpik-idle { position: absolute; z-index: 100; inset: 0; opacity: 0; background: var(--gpik-bg); transition: opacity .5s ease; }
.gpik-idle.is-visible { opacity: 1; }
.gpik-idle-media, .gpik-idle-media img, .gpik-idle-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.gpik-idle-media img, .gpik-idle-media video { object-fit: cover; }
.gpik-idle-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.72)); pointer-events: none; }
.gpik-idle-prompt { position: absolute; z-index: 2; left: 50%; bottom: max(6vh, var(--gpik-safe)); transform: translateX(-50%); width: min(90%, 620px); text-align: center; text-shadow: 0 2px 18px rgba(0,0,0,.8); }
.gpik-idle-prompt > span { display: block; width: 74px; height: 74px; margin: 0 auto 18px; border: 1px solid var(--gpik-accent); border-radius: 50%; position: relative; animation: gpikPulse 2.2s ease-out infinite; }
.gpik-idle-prompt > span::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: var(--gpik-accent); }
.gpik-idle-prompt p { margin: 0 0 6px; font: 400 clamp(1.5em, 2.8vw, 3em) var(--gpik-display); }
.gpik-idle-prompt small { font-size: .62em; letter-spacing: .24em; color: var(--gpik-accent); }
.gpik-transition-fade { animation: gpikReveal .8s ease both; }
.gpik-transition-slide { animation: gpikSlide 1s cubic-bezier(.2,.7,.2,1) both; }
.gpik-transition-kenburns { animation: gpikKenBurns 9s ease-out both; }
.gpik-transition-pan { animation: gpikPan 9s ease-in-out both; }
.gpik-moving-next .gpik-slide.is-active { animation: gpikSlide .55s ease both; }
.gpik-moving-prev .gpik-slide.is-active { animation: gpikSlideBack .55s ease both; }
.gpik-kiosk:not(.gpik-ready) > *:not(.gpik-config) { opacity: 0; }
.gpik-ready > * { transition: opacity .5s; }
.gpik-block-preview { min-height: 210px; padding: 36px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #f4f1e8; background: #10110f; border: 1px solid #d7ff3f; }
.gpik-block-preview .dashicons { color: #d7ff3f; font-size: 38px; width: 38px; height: 38px; }
.gpik-block-preview small { opacity: .65; }
.gpik-notice { padding: 24px; border-left: 4px solid #d7ff3f; background: #10110f; color: #f4f1e8; }
.gpik-standalone-body { margin: 0 !important; padding: 0 !important; overflow: hidden; background: #10110f; }
.gpik-standalone-body > :not(.gpik-kiosk):not(#wpadminbar) { display: none !important; }
@keyframes gpikReveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes gpikSlide { from { opacity: 0; transform: translateX(5%); } to { opacity: 1; transform: none; } }
@keyframes gpikSlideBack { from { opacity: 0; transform: translateX(-5%); } to { opacity: 1; transform: none; } }
@keyframes gpikPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--gpik-accent), transparent 40%); } 70%, 100% { box-shadow: 0 0 0 28px transparent; } }
@keyframes gpikKenBurns { from { opacity: 0; transform: scale(1); } 12% { opacity: 1; } to { opacity: 1; transform: scale(1.1); } }
@keyframes gpikPan { from { opacity: 0; transform: scale(1.08) translateX(-2%); } 12% { opacity: 1; } to { opacity: 1; transform: scale(1.08) translateX(2%); } }
@keyframes gpikKeyboardIn { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: none; } }

@container (max-aspect-ratio: 4/5) {
  .gpik-intro { top: 11%; width: calc(100% - 2 * var(--gpik-safe)); }
  .gpik-intro h1 { max-width: 10ch; font-size: clamp(3em, 11vw, 7em); }
  .gpik-subtitle { max-width: 80%; }
  .gpik-tools { top: 29%; left: var(--gpik-safe); right: var(--gpik-safe); width: auto; }
  .gpik-filters { top: 35%; left: var(--gpik-safe); right: var(--gpik-safe); width: auto; }
  .gpik-stage { top: 38%; bottom: 16%; }
  .gpik-slide { display: block; }
  .gpik-slide-media { height: 72%; }
  .gpik-slide-copy { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 0 0; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 14px; }
  .gpik-slide-copy > span { grid-row: 1 / 3; }
  .gpik-slide-copy h2 { margin: 0; font-size: clamp(1.7em, 6vw, 3.2em); }
  .gpik-slide-copy p { display: none; }
  .gpik-slide-actions { grid-column: 3; grid-row: 1 / 3; }
  .gpik-swipe-cue { display: none; }
  .gpik-detail { grid-template-columns: 1fr; grid-template-rows: 67% 1fr; overflow-y: auto; }
  .gpik-detail-copy { padding: 30px var(--gpik-safe); border-left: 0; border-top: 1px solid var(--gpik-line); }
  .gpik-filmstrip { height: 10%; }
}
@container (max-width: 740px) {
  .gpik-kiosk { --gpik-safe: 18px !important; min-height: 560px; }
  .gpik-header-actions .gpik-home { display: none; }
  .gpik-force-idle { width: 46px; padding: 0; border-radius: 50%; }
  .gpik-force-idle small { display: none; }
  .gpik-intro h1 { font-size: clamp(2.7em, 12vw, 5em); }
  .gpik-subtitle { display: none; }
  .gpik-tools { top: 27%; }
  .gpik-filters { top: 35%; }
  .gpik-counter { display: none; }
  .gpik-keyboard { min-height: 58%; padding-left: 10px; padding-right: 10px; }
  .gpik-key { min-width: 28px; min-height: 50px; font-size: .78em; }
  .gpik-keyboard-row { gap: 4px; }
  .gpik-stage { top: 37%; }
  .gpik-nav { width: 46px; height: 46px; }
  .gpik-prev { left: -8px; } .gpik-next { right: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .gpik-kiosk *, .gpik-kiosk *::before, .gpik-kiosk *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
