/* GGG eSite — Camera Filters, the guests' page (camera.js) and the section's card. The camera itself is a dark screen
   (the photo is what has the design's colors); the gate, the notes and the card follow the site's eSite colors.
   Buttons are written as ".ggg-cam button.x" so a theme's own button and hover styles don't win over them. Phone
   first; 320 px wide works; landscape phones put the shutter on the side. */
.ggg-cam { position: relative; box-sizing: border-box; max-width: 100%; margin: 0 auto; color: var(--e-global-color-ggg_text, inherit); }
.ggg-cam *, .ggg-cam *::before, .ggg-cam *::after { box-sizing: border-box; }
.ggg-cam [hidden] { display: none !important; }
.ggg-cam .ggg-cam-i { display: inline-grid; place-items: center; line-height: 0; flex: none; }
.ggg-cam .ggg-cam-i svg { width: 22px; height: 22px; display: block; }

/* ---------------------------------------------------------------- the app: the whole screen under the site's header */
.ggg-cam.is-app { height: calc(100vh - var(--ggg-cam-off, 0px)); height: calc(100dvh - var(--ggg-cam-off, 0px)); min-height: 440px; overflow: hidden; background: #0e0d0c; color: #f6f3ef; -webkit-tap-highlight-color: transparent; }
.ggg-cam-app { position: relative; display: grid; height: 100%; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto auto auto auto; grid-template-areas: "stage" "chips" "strip" "bar" "foot"; }
.ggg-cam button:focus-visible, .ggg-cam input:focus-visible { outline: 3px solid rgba(255,255,255,.7); outline-offset: 2px; }

/* the preview */
.ggg-cam-stage { grid-area: stage; position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; overflow: hidden; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ggg-cam-view { display: block; max-width: 100%; max-height: 100%; border-radius: 4px; background: #000; box-shadow: 0 8px 40px rgba(0,0,0,.55); }
.ggg-cam-video { position: absolute; left: 0; top: 0; width: 2px; height: 2px; opacity: 0; pointer-events: none; }
.ggg-cam-file { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ggg-cam-top { position: absolute; z-index: 5; top: 10px; left: 10px; right: 10px; display: flex; align-items: center; gap: 8px; pointer-events: none; }
.ggg-cam-top > * { pointer-events: auto; }
.ggg-cam-sp { flex: 1 1 auto; pointer-events: none; }
.ggg-cam button.ggg-cam-chipname { display: inline-flex; align-items: center; gap: 6px; max-width: 62%; min-height: 38px; margin: 0; padding: 0 14px 0 9px; border: 0; border-radius: 999px; background: rgba(0,0,0,.46); color: #fff; font: inherit; font-size: 14px; line-height: 1.2; text-transform: none; letter-spacing: normal; box-shadow: none; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ggg-cam button.ggg-cam-chipname span:last-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ggg-cam .ggg-cam-chipname .ggg-cam-i svg { width: 18px; height: 18px; }
.ggg-cam button.ggg-cam-round { display: inline-flex; align-items: center; justify-content: center; gap: 2px; min-width: 44px; height: 44px; margin: 0; padding: 0 10px; border: 0; border-radius: 999px; background: rgba(0,0,0,.46); color: #fff; font: inherit; font-size: 13px; font-weight: 600; box-shadow: none; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ggg-cam button.ggg-cam-round:hover, .ggg-cam button.ggg-cam-chipname:hover { background: rgba(0,0,0,.62); color: #fff; }
.ggg-cam button.ggg-cam-timer[aria-pressed="true"] { background: #fff; color: #141210; }
.ggg-cam-timer-v:empty { display: none; }
.ggg-cam button.ggg-cam-arrow { position: absolute; z-index: 2; top: 50%; display: none; place-items: center; width: 42px; height: 42px; margin: -21px 0 0; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; box-shadow: none; cursor: pointer; }
.ggg-cam button.ggg-cam-arrow.is-prev { left: 12px; }
.ggg-cam button.ggg-cam-arrow.is-next { right: 12px; }
.ggg-cam button.ggg-cam-arrow:hover { background: rgba(0,0,0,.6); color: #fff; }
@media (hover: hover) and (pointer: fine) { .ggg-cam button.ggg-cam-arrow { display: grid; } }
.ggg-cam-label { position: absolute; z-index: 2; left: 50%; top: 16%; max-width: 80%; transform: translate(-50%, 6px); padding: 6px 16px; border-radius: 999px; background: rgba(0,0,0,.42); color: #fff; font-size: 17px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.ggg-cam-label.is-on { opacity: 1; transform: translate(-50%, 0); }
.ggg-cam-count { position: absolute; z-index: 3; inset: 0; display: grid; place-items: center; color: #fff; font-size: clamp(96px, 30vmin, 200px); font-weight: 200; line-height: 1; text-shadow: 0 4px 30px rgba(0,0,0,.55); pointer-events: none; }
.ggg-cam-count:empty { display: none; }
.ggg-cam-flash { position: absolute; z-index: 4; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.ggg-cam-flash.is-on { animation: ggg-cam-flash .38s ease-out; }
@keyframes ggg-cam-flash { 0% { opacity: .9; } 100% { opacity: 0; } }
.ggg-cam-msg { position: absolute; z-index: 4; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 20px; background: rgba(14,13,12,.86); text-align: center; }
.ggg-cam-msg-t { max-width: 420px; margin: 0; font-size: 16px; line-height: 1.5; color: #f6f3ef; }
.ggg-cam-msg-t:empty { display: none; }
.ggg-cam-msg-b { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ggg-cam-msg-b:empty { display: none; }

/* the filters */
.ggg-cam-chips { grid-area: chips; position: relative; display: flex; gap: 6px; padding: 8px 12px 4px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.ggg-cam-chips::-webkit-scrollbar { display: none; }
.ggg-cam-chips::before, .ggg-cam-chips::after { content: ""; flex: 0 0 calc(50% - 40px); } /* (the first and last can sit in the middle) */
.ggg-cam button.ggg-cam-chip { flex: none; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 68px; min-height: 0; margin: 0; padding: 4px 2px; border: 0; border-radius: 12px; background: transparent; color: rgba(255,255,255,.72); font: inherit; text-transform: none; letter-spacing: normal; box-shadow: none; cursor: pointer; }
.ggg-cam button.ggg-cam-chip:hover { background: rgba(255,255,255,.07); color: #fff; }
.ggg-cam .ggg-cam-chip-c { display: block; width: 40px; height: auto; max-height: 62px; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); transition: transform .15s ease, box-shadow .15s ease; }
.ggg-cam .ggg-cam-chip-n { display: -webkit-box; max-width: 100%; overflow: hidden; font-size: 11px; font-weight: 500; line-height: 1.2; text-align: center; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ggg-cam button.ggg-cam-chip[aria-pressed="true"] { color: #fff; }
.ggg-cam button.ggg-cam-chip[aria-pressed="true"] .ggg-cam-chip-c { transform: scale(1.08); box-shadow: 0 0 0 2px #0e0d0c, 0 0 0 4px #fff; }
.ggg-cam button.ggg-cam-chip[aria-pressed="true"] .ggg-cam-chip-n { font-weight: 700; }

/* the shutter and the review's buttons */
.ggg-cam-bar { grid-area: bar; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
.ggg-cam-row.is-shoot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.ggg-cam-row.is-review { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; min-height: 78px; }
.ggg-cam-app[data-mode="review"] .ggg-cam-row.is-shoot, .ggg-cam-app:not([data-mode="review"]) .ggg-cam-row.is-review { display: none; }
.ggg-cam-app.is-asking .ggg-cam-bar, .ggg-cam-app.is-asking .ggg-cam-chips { visibility: hidden; }
.ggg-cam-app.is-asking .ggg-cam-arrow { display: none !important; }
.ggg-cam-side { justify-self: end; }
.ggg-cam button.ggg-cam-shutter { position: relative; display: grid; place-items: center; width: 76px; height: 76px; min-height: 0; margin: 0; padding: 0; border: 4px solid #fff; border-radius: 50%; background: transparent; box-shadow: 0 2px 14px rgba(0,0,0,.4); cursor: pointer; transition: transform .1s ease; }
.ggg-cam button.ggg-cam-shutter span { display: block; width: 58px; height: 58px; border-radius: 50%; background: #fff; transition: transform .15s ease, background-color .15s ease, border-radius .15s ease; }
.ggg-cam button.ggg-cam-shutter:hover { background: transparent; }
.ggg-cam button.ggg-cam-shutter:active span { transform: scale(.88); }
.ggg-cam button.ggg-cam-shutter:disabled { opacity: .35; cursor: default; }
.ggg-cam-app.is-counting button.ggg-cam-shutter span { transform: scale(.5); border-radius: 8px; background: #ff5a4f; } /* (press again: stop) */
.ggg-cam-app[data-mode="nocam"] button.ggg-cam-shutter span { background: rgba(255,255,255,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141210' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E") center / 28px no-repeat; }
.ggg-cam-last { justify-self: start; position: relative; width: 50px; height: 50px; border-radius: 12px; overflow: hidden; border: 2px solid rgba(255,255,255,.85); }
.ggg-cam-last:empty { border-color: transparent; }
.ggg-cam-last img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ggg-cam-last.is-going::after { content: ""; position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.9); animation: ggg-cam-pulse 1.2s ease-in-out infinite; }
.ggg-cam-last.is-wait { border-color: #ffc27a; }
@keyframes ggg-cam-pulse { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.ggg-cam button.ggg-cam-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; margin: 0; padding: 0 20px; border: 0; border-radius: 999px; background: #fff; color: #141210; font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; text-transform: none; letter-spacing: normal; text-align: center; box-shadow: none; cursor: pointer; }
.ggg-cam button.ggg-cam-btn:hover { background: #f1ede8; color: #141210; }
.ggg-cam button.ggg-cam-btn:disabled { opacity: .5; cursor: default; }
.ggg-cam button.ggg-cam-btn-soft { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.24); }
.ggg-cam button.ggg-cam-btn-soft:hover { background: rgba(255,255,255,.2); color: #fff; }
.ggg-cam .ggg-cam-btn .ggg-cam-i svg { width: 20px; height: 20px; }
@media (max-width: 360px) {
	.ggg-cam button.ggg-cam-btn { min-height: 44px; padding: 0 14px; font-size: 14px; }
	.ggg-cam-row.is-review { gap: 6px; }
}

/* the kept photos (Send to the honorees; or, sending by itself, the ones that could not go) */
.ggg-cam-strip { grid-area: strip; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 12px 2px; border-top: 1px solid rgba(255,255,255,.08); }
.ggg-cam-strip-row { display: flex; gap: 10px; max-width: 100%; overflow-x: auto; padding: 2px; scrollbar-width: thin; }
.ggg-cam-th-w { flex: none; width: 66px; text-align: center; }
.ggg-cam-th { position: relative; width: 66px; height: 66px; border-radius: 10px; overflow: hidden; background: #222; }
.ggg-cam-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ggg-cam-th.is-bad { box-shadow: inset 0 0 0 2px #ff9b8a; }
.ggg-cam-th.is-bad img { opacity: .75; }
.ggg-cam button.ggg-cam-th-x { position: absolute; top: 3px; right: 3px; display: grid; place-items: center; width: 26px; height: 26px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; box-shadow: none; cursor: pointer; }
.ggg-cam .ggg-cam-th-x .ggg-cam-i svg { width: 15px; height: 15px; }
.ggg-cam-th-p { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.ggg-cam-th-p i { display: block; height: 100%; background: #fff; transition: width .2s linear; }
.ggg-cam-th-e { margin: 4px 0 0; font-size: 11px; line-height: 1.25; color: #ffc0b3; overflow-wrap: anywhere; }
.ggg-cam button.ggg-cam-link { margin: 2px 0 0; padding: 2px 0; min-height: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; box-shadow: none; cursor: pointer; }
.ggg-cam button.ggg-cam-send { min-height: 44px; }

/* the line under it all */
.ggg-cam-foot { grid-area: foot; padding: 0 16px calc(6px + env(safe-area-inset-bottom)); text-align: center; }
.ggg-cam-line { margin: 0 0 4px; font-size: 13px; line-height: 1.4; color: #ffd6a6; }
.ggg-cam-line:empty { display: none; }
.ggg-cam-consent { margin: 0 0 2px; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.6); }
.ggg-cam-toast { position: absolute; z-index: 7; left: 50%; bottom: calc(150px + env(safe-area-inset-bottom)); max-width: calc(100% - 32px); padding: 10px 18px; border-radius: 999px; background: rgba(28,26,24,.94); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 6px 24px rgba(0,0,0,.4); opacity: 0; transform: translate(-50%, 8px); transition: opacity .25s ease, transform .25s ease; pointer-events: none; }
.ggg-cam-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* the name: asked once (inline), or changed from the chip (a dialog) */
.ggg-cam-ask { position: absolute; z-index: 6; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; gap: 8px; max-width: 460px; margin: 0 auto; padding: 16px; border-radius: 18px; background: #1d1b19; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.ggg-cam-ask-b { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ggg-cam-label-in { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: rgba(255,255,255,.85); }
.ggg-cam input.ggg-cam-in { display: block; width: 100%; min-height: 48px; margin: 0; padding: 0 14px; border: 1px solid rgba(255,255,255,.26); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font: inherit; font-size: 16px; box-shadow: none; }
.ggg-cam input.ggg-cam-in:focus { border-color: #fff; outline: 0; }
.ggg-cam-dlg { position: absolute; z-index: 8; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); background: rgba(0,0,0,.6); }
@media (min-height: 560px) and (min-width: 600px) { .ggg-cam-dlg { align-items: center; } }
.ggg-cam-dlg-in { width: 100%; max-width: 420px; padding: 18px; border-radius: 18px; background: #1d1b19; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.ggg-cam-dlg-t { margin: 0 0 10px; font-size: 18px; font-weight: 600; line-height: 1.3; color: #fff; }
.ggg-cam-dlg-f { display: grid; gap: 10px; }

/* landscape phones: the shutter on the side, the filters under the preview */
@media (orientation: landscape) and (max-height: 560px) {
	.ggg-cam.is-app { min-height: 300px; }
	.ggg-cam-app { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: minmax(0, 1fr) auto auto auto; grid-template-areas: "stage bar" "chips bar" "strip bar" "foot bar"; }
	.ggg-cam-bar { display: flex; align-items: center; padding: 8px calc(12px + env(safe-area-inset-right)) 8px 4px; }
	.ggg-cam-row.is-shoot { grid-template-columns: auto; grid-template-rows: 1fr auto 1fr; justify-items: center; height: 100%; gap: 10px; }
	.ggg-cam-row.is-shoot .ggg-cam-last { align-self: start; justify-self: center; }
	.ggg-cam-side { justify-self: center; align-self: end; }
	.ggg-cam-row.is-review { flex-direction: column; flex-wrap: nowrap; max-width: 220px; }
	.ggg-cam-row.is-review .ggg-cam-btn { width: 100%; }
	.ggg-cam-chips { padding: 4px 12px 2px; }
	.ggg-cam .ggg-cam-chip-c { width: 30px; }
	.ggg-cam .ggg-cam-chip-n { font-size: 10px; }
	.ggg-cam-foot .ggg-cam-consent { display: none; }
	.ggg-cam-toast { bottom: 80px; }
}

/* the review shows the photo, not the kept ones; short screens keep the preview big */
.ggg-cam-app[data-mode="review"] .ggg-cam-strip { display: none !important; }
@media (max-height: 700px) and (orientation: portrait) {
	.ggg-cam-foot .ggg-cam-consent + .ggg-cam-consent { display: none; }
	.ggg-cam-th-w, .ggg-cam-th { width: 52px; }
	.ggg-cam-th { height: 52px; }
	.ggg-cam-strip { gap: 6px; padding-top: 6px; }
	.ggg-cam button.ggg-cam-send { min-height: 40px; }
	.ggg-cam-row.is-review { gap: 6px; min-height: 0; }
	.ggg-cam-row.is-review .ggg-cam-btn { min-height: 42px; padding: 0 14px; font-size: 14px; }
	.ggg-cam button.ggg-cam-shutter { width: 66px; height: 66px; }
	.ggg-cam button.ggg-cam-shutter span { width: 50px; height: 50px; }
	.ggg-cam .ggg-cam-chip-c { width: 34px; }
}

/* ---------------------------------------------------------------- short videos (0.3.0): only on .has-video (the owner
   turned videos on and this browser can record); none of these parts exist on a page without them */
.ggg-cam-modes { display: flex; justify-content: center; gap: 2px; width: max-content; max-width: 100%; margin: 0 auto 8px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); }
.ggg-cam button.ggg-cam-mode { min-width: 72px; min-height: 34px; margin: 0; padding: 0 14px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.78); font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: .02em; text-transform: none; box-shadow: none; cursor: pointer; }
.ggg-cam button.ggg-cam-mode:hover { background: rgba(255,255,255,.14); color: #fff; }
.ggg-cam button.ggg-cam-mode[aria-pressed="true"] { background: #fff; color: #141210; }
.ggg-cam-app:not([data-mode="cam"]) .ggg-cam-modes, .ggg-cam-app.is-counting .ggg-cam-modes, .ggg-cam-app.is-rec .ggg-cam-modes { visibility: hidden; } /* (its room kept: the preview doesn't jump) */
.ggg-cam-app[data-mode="nocam"] .ggg-cam-modes { display: none; } /* (the phone's own camera: photos only) */
.ggg-cam-app.is-video[data-mode="cam"] button.ggg-cam-shutter span { background: #ff3b30; }
.ggg-cam-app.is-rec button.ggg-cam-shutter span { transform: scale(.46); border-radius: 9px; background: #ff3b30; }
.ggg-cam-app.is-rec button.ggg-cam-shutter:disabled { opacity: .75; }
.ggg-cam .ggg-cam-ring { position: absolute; inset: -9px; display: none; pointer-events: none; }
.ggg-cam-app.is-rec .ggg-cam-ring { display: block; }
.ggg-cam .ggg-cam-ring svg { display: block; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); }
.ggg-cam .ggg-cam-ring circle { fill: none; stroke-width: 4; }
.ggg-cam .ggg-cam-ring-t { stroke: rgba(255,255,255,.22); }
.ggg-cam .ggg-cam-ring-a { stroke: #ff3b30; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1s linear; }
.ggg-cam-rectime { position: absolute; z-index: 5; top: 62px; left: 50%; display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; background: rgba(0,0,0,.52); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; transform: translateX(-50%); pointer-events: none; }
.ggg-cam-rectime::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ff3b30; animation: ggg-cam-pulse 1.2s ease-in-out infinite; }
.ggg-cam-app.is-rec .ggg-cam-top button:disabled, .ggg-cam-app.is-rec button.ggg-cam-arrow:disabled { opacity: .35; cursor: default; }
.ggg-cam-app.is-rec button.ggg-cam-chip:disabled { opacity: .4; cursor: default; }
.ggg-cam-app.is-rec .ggg-cam-label { display: none; }
.ggg-cam-play { display: block; max-width: 100%; max-height: 100%; border-radius: 4px; background: #000; box-shadow: 0 8px 40px rgba(0,0,0,.55); object-fit: contain; }
.ggg-cam-app.is-vreview .ggg-cam-chips, .ggg-cam-app.is-vreview .ggg-cam-arrow { visibility: hidden; } /* (the filter is in the video) */
.ggg-cam-badge { position: absolute; left: 4px; bottom: 4px; padding: 1px 5px; border-radius: 6px; background: rgba(0,0,0,.62); color: #fff; font-size: 10px; font-weight: 700; line-height: 1.4; font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; }
.ggg-cam-th.is-going .ggg-cam-badge { display: none; }
.ggg-cam-last.is-vid { background: #222; }
.ggg-cam-last .ggg-cam-badge { left: 2px; bottom: 2px; padding: 0 3px; font-size: 9px; }
.ggg-cam-micline { margin: 0 0 4px; font-size: 12px; line-height: 1.4; color: rgba(255,255,255,.72); }
.ggg-cam-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.ggg-cam-app.has-video .ggg-cam-toast { bottom: calc(190px + env(safe-area-inset-bottom)); }
@media (max-height: 700px) and (orientation: portrait) {
	.ggg-cam-modes { margin-bottom: 4px; }
	.ggg-cam button.ggg-cam-mode { min-height: 30px; }
	.ggg-cam-rectime { top: 58px; font-size: 14px; }
}
@media (orientation: landscape) and (max-height: 560px) {
	.ggg-cam-app.has-video .ggg-cam-bar { flex-direction: column; justify-content: center; }
	.ggg-cam-app.has-video .ggg-cam-row.is-shoot { flex: 1 1 auto; height: auto; min-height: 0; }
	.ggg-cam-modes { margin-bottom: 6px; }
	.ggg-cam button.ggg-cam-mode { min-width: 0; min-height: 30px; padding: 0 10px; font-size: 12px; }
	.ggg-cam-rectime { top: 10px; }
	.ggg-cam-app.has-video .ggg-cam-toast { bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
	.ggg-cam *, .ggg-cam *::before, .ggg-cam *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- outside the app: notes, the password, the card */
.ggg-cam-msgbox { max-width: 480px; margin: 24px auto; padding: 24px 20px; border-radius: 18px; border: 1px solid var(--e-global-color-ggg_line, #e2dbd3); background: var(--e-global-color-ggg_surface, transparent); text-align: center; }
.ggg-cam-msgbox p { margin: 0 0 10px; line-height: 1.5; }
.ggg-cam .ggg-cam-hello { margin: 0 0 8px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--e-global-color-ggg_primary_strong, #8a5a44); }
.ggg-cam-gate { display: grid; gap: 10px; text-align: left; }
.ggg-cam-gate .ggg-cam-hello, .ggg-cam-gate > p { text-align: center; }
.ggg-cam-gate .ggg-cam-label-in { color: inherit; }
.ggg-cam .ggg-cam-gate input.ggg-cam-in { border-color: var(--e-global-color-ggg_line, #d5cdc5); background: var(--e-global-color-ggg_bg, #fff); color: var(--e-global-color-ggg_text, #2b2b2b); letter-spacing: .08em; }
.ggg-cam .ggg-cam-gate input.ggg-cam-in:focus { border-color: var(--e-global-color-ggg_primary_strong, #8a5a44); }
.ggg-cam .ggg-cam-msgbox button.ggg-cam-btn, .ggg-cam .ggg-cam-gate button.ggg-cam-btn { justify-self: center; background: var(--e-global-color-ggg_primary_strong, #8a5a44); color: var(--e-global-color-ggg_on_primary, #fff); }
.ggg-cam .ggg-cam-msgbox button.ggg-cam-btn:hover { filter: brightness(1.06); }
.ggg-cam-err { margin: 0; color: #b3261e; text-align: center; font-size: 14px; line-height: 1.4; }
.ggg-cam-err:empty { display: none; }
.ggg-cam-closed .ggg-cam-note { max-width: 480px; margin: 24px auto; text-align: center; font-size: 15px; line-height: 1.5; color: var(--e-global-color-ggg_text_soft, inherit); }

/* the section's card (anywhere but the camera's page): a button to the page (camera-go.js adds the pass) */
.ggg-cam-card { max-width: 520px; margin: 0 auto; padding: 26px 20px; border-radius: 18px; border: 1px solid var(--e-global-color-ggg_line, #e2dbd3); background: var(--e-global-color-ggg_surface, transparent); color: var(--e-global-color-ggg_text, inherit); text-align: center; box-sizing: border-box; }
.ggg-cam-card .ggg-cam-card-title { margin: 0; font-size: 28px; font-weight: 400; line-height: 1.2; color: inherit; font-family: var(--e-global-typography-ggg_title-font-family, inherit); }
.ggg-cam-card .ggg-cam-card-sub { margin: 6px 0 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--e-global-color-ggg_primary_strong, #8a5a44); }
.ggg-cam-card .ggg-cam-card-line { margin: 12px auto 0; max-width: 380px; font-size: 15px; line-height: 1.5; color: var(--e-global-color-ggg_text_soft, inherit); }
.ggg-cam-card a.ggg-cam-card-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; max-width: 100%; min-height: 48px; margin-top: 18px; padding: 0 26px; border-radius: 999px; background: var(--e-global-color-ggg_primary_strong, #8a5a44); color: var(--e-global-color-ggg_on_primary, #fff); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; }
.ggg-cam-card a.ggg-cam-card-btn:hover, .ggg-cam-card a.ggg-cam-card-btn:focus { color: var(--e-global-color-ggg_on_primary, #fff); text-decoration: none; filter: brightness(1.06); }
.ggg-cam-card a.ggg-cam-card-btn:focus-visible { outline: 3px solid rgba(138,90,68,.4); outline-offset: 3px; }
/* the designs' section: [gggesite_camera part="button" class="…"] (0.2.0) — only the button; a design's own classes
   give its look (these rules carry no weight: :where()); with no class, a quiet button in the site's colors */
:where(.ggg-cam-go-wrap) { text-align: center; }
:where(.ggg-cam-go-wrap) :where(a.ggg-cam-go) { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; max-width: 100%; text-align: center; text-decoration: none; }
.ggg-cam-go-wrap a.ggg-cam-go-plain { min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--e-global-color-ggg_primary_strong, #8a5a44); color: var(--e-global-color-ggg_on_primary, #fff); font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; }
.ggg-cam-go-wrap a.ggg-cam-go-plain:hover, .ggg-cam-go-wrap a.ggg-cam-go-plain:focus { color: var(--e-global-color-ggg_on_primary, #fff); text-decoration: none; filter: brightness(1.06); }
.ggg-cam-go-wrap a.ggg-cam-go:focus-visible { outline: 3px solid rgba(138,90,68,.4); outline-offset: 3px; }
/* a sample in the owner's own preview: "Only you see this…" */
.ggg-cam-sample-note { margin: 10px auto 0; max-width: 420px; font-size: 13px; line-height: 1.4; text-align: center; opacity: .75; }
