.cg {
  --cg-paper: #f8f7f4;
  --cg-ink: #272724;
  --cg-gold: #b5a17a;
  --cg-accent-ink: #000;
  --cg-radius: 20px;
  --cg-glass-opacity: 78%;
  --cg-muted: color-mix(in srgb, var(--cg-ink) 62%, var(--cg-paper));
  --cg-line: color-mix(in srgb, var(--cg-ink) 12%, transparent);
  --cg-sans: var(--cp-sans);
  --cg-serif: var(--cp-thai-and-digits), Georgia, "Times New Roman", "Thonburi", serif;
  --cg-heading: var(--cg-serif);
  position: relative;
  display: flow-root;
  container: client-gallery / inline-size;
  isolation: isolate;
  min-height: 100svh;
  background: var(--cg-paper);
  color: var(--cg-ink);
  font: 400 15px/1.5 var(--cg-sans);
  -webkit-font-smoothing: antialiased;
}
.cg[data-heading-font="sans"] {--cg-heading: var(--cg-sans)}
.cg *, .cg *::before, .cg *::after {box-sizing: border-box}
.cg [hidden] {display: none !important}
.cg button, .cg a {font: inherit; letter-spacing: inherit; color: inherit; -webkit-tap-highlight-color: transparent}
.cg button {cursor: pointer; appearance: none; border: 0; padding: 0; background: none; touch-action: manipulation}
.cg button:focus-visible, .cg a:focus-visible, .cg-large:focus-visible {outline: 2px solid var(--cg-gold); outline-offset: 4px}
.cg svg {display: inline-block; width: 19px; height: 19px; flex: none; vertical-align: middle}
.cg h1, .cg h2, .cg p {margin: 0}
.cg-glass {
  border: 1px solid color-mix(in srgb, var(--cg-paper) 86%, transparent);
  background: color-mix(in srgb, var(--cg-paper) var(--cg-glass-opacity), transparent);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  backdrop-filter: blur(24px) saturate(1.2);
  box-shadow: 0 8px 30px #14120e0c, inset 0 1px 0 #ffffff65;
}

.cg-toolbar-slot {position: sticky; top: 0; z-index: 20; height: 0}
.cg-topbar {position: absolute; top: max(32px, env(safe-area-inset-top)); left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(calc(100% - 80px), 1280px); min-height: 64px; padding: 9px 11px 9px 19px; border-radius: 999px}
.cg-identity {display: flex; align-items: center; gap: 12px; min-width: 0}
.cg-logo {display: block; width: 44px; height: 35px; object-fit: contain; flex: none}
.cg-brand-copy {display: flex; flex-direction: column; min-width: 0; gap: 2px}
.cg-wordmark {overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 650; letter-spacing: .15em; line-height: 1.4}
.cg-brand-subtitle {overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; color: var(--cg-muted); letter-spacing: .14em; line-height: 1.3; text-transform: uppercase}
.cg-top-actions {display: flex; flex: none; align-items: center; gap: 6px}
.cg .cg-toolbar-button {display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 15px; border-radius: 999px; font-size: 12px; font-weight: 550; line-height: 1.25; transition: background .18s, transform .18s}
.cg .cg-toolbar-button:hover {background: color-mix(in srgb, var(--cg-ink) 8%, transparent)}
.cg .cg-share {background: var(--cg-ink); color: var(--cg-paper); box-shadow: 0 2px 6px #0000000a}
.cg .cg-share:hover {background: color-mix(in srgb, var(--cg-ink) 86%, var(--cg-gold))}
.cg-toolbar-button svg {width: 17px; height: 17px}
.cg-manage-icon {display: flex}

.cg-main {padding: 16px 20px 0}
.cg-hero {position: relative; isolation: isolate; display: grid; align-items: end; overflow: hidden; width: 100%; max-width: 1760px; min-height: clamp(470px, 70svh, 780px); margin-inline: auto; border-radius: calc(var(--cg-radius) + 8px); background: #57534a; color: #fff}
.cg[data-hero-height="compact"] .cg-hero {min-height: clamp(380px, 56svh, 590px)}
.cg[data-hero-height="immersive"] .cg-hero {min-height: clamp(580px, 88svh, 960px)}
.cg[data-hero-position="center"] .cg-hero {align-items: center}
.cg-cover, .cg-hero-shade {position: absolute; inset: 0; width: 100%; height: 100%}
.cg-cover {z-index: -2; display: block; object-fit: cover; object-position: 50% 47%}
.cg-hero-shade {z-index: -1; background: linear-gradient(180deg, #16150f10 4%, #16150f17 24%, #14130e38 42%, #11110d9e 78%, #11110dd6 100%)}
.cg-hero-copy {width: min(100% - 64px, 1180px); margin-inline: auto; padding: 140px 0 clamp(38px, 5cqi, 72px); text-align: center; text-shadow: 0 2px 16px #15140e38}
.cg[data-hero-position="center"] .cg-hero-copy {padding-block: 125px}
.cg-kicker {font-weight: 550; font-size: 10px; letter-spacing: .21em; line-height: 1.6; text-transform: uppercase; overflow-wrap: anywhere}
.cg-hero-kicker {max-width: 70ch; margin: 0 auto 18px; color: #f6eedb}
.cg .cg-title {margin-inline: auto; max-width: 24ch; font: 400 clamp(54px, 7cqi, 108px)/1.08 var(--cg-heading); letter-spacing: -.052em; overflow-wrap: anywhere; text-wrap: balance}
.cg-title em {font-weight: 400; letter-spacing: -.065em; white-space: nowrap}
.cg[data-heading-font="sans"] .cg-title {font-weight: 500; letter-spacing: -.05em}
.cg .cg-subtitle {margin: 18px auto 0; max-width: 65ch; color: #f9f7f2e8; font-size: clamp(14px, 1.5cqi, 19px); line-height: 1.65; overflow-wrap: anywhere; text-wrap: balance}
.cg-meta {display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-top: 24px; padding: 8px 13px; border: 1px solid #ffffff24; border-radius: 999px; background: #ffffff0c; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 12px; line-height: 1.4; color: #fff; text-shadow: none}
.cg-meta svg {width: 14px; height: 14px; margin-right: 2px; opacity: .85}
.cg-count {font-weight: 500}
.cg-size {color: #ffffffe0}
.cg-size::before {content: "·"; margin-right: 7px}
.cg .cg-scroll {display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 44px; margin: 17px auto -8px; padding: 8px 16px; border-radius: 99px; font-size: 11px; color: #ffffffd9; transition: background .18s}
.cg .cg-scroll:hover {background: #ffffff12}
.cg-scroll svg {width: 15px; height: 15px}

.cg-collection, .cg-footer {width: min(calc(100% - 48px), 1280px); margin-inline: auto}
.cg-collection {padding-top: clamp(34px, 4.6cqi, 64px); scroll-margin-top: 120px}
.cg-collection-head {display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; padding-bottom: 25px; border-bottom: 1px solid var(--cg-line)}
.cg-section-title {min-width: 0; max-width: 100%}
.cg-collection-kicker {display: flex; align-items: center; gap: 12px; margin-bottom: 11px; color: var(--cg-muted); font-size: 9px}
.cg-collection-kicker::before {content: ""; width: 26px; height: 1px; flex: none; background: var(--cg-gold)}
.cg .cg-section-title h2 {font: 400 clamp(34px, 4.2cqi, 58px)/1.12 var(--cg-heading); letter-spacing: -.05em; overflow-wrap: anywhere}
.cg-section-title em {font-weight: 400; letter-spacing: -.06em}
.cg[data-heading-font="sans"] .cg-section-title h2 {font-weight: 500; letter-spacing: -.045em}
.cg-view-controls {display: flex; align-items: center; flex: none; gap: 12px; margin-left: auto}
.cg-collection-actions {display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 16px; max-width: 100%; margin-left: auto}
.cg .cg-select-toggle {display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--cg-line); border-radius: 99px; background: color-mix(in srgb, var(--cg-paper) 92%, var(--cg-gold)); font-size: 12px; white-space: nowrap}
.cg-select-toggle svg {width: 17px; height: 17px}
.cg .cg-select-toggle[aria-pressed="true"] {background: var(--cg-ink); color: var(--cg-paper)}
.cg-select-tools {display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; margin: -6px 0 18px; color: var(--cg-muted); font-size: 12px}
.cg-select-tools > div {display: flex; gap: 4px; margin-left: auto}
.cg .cg-select-tools button {min-height: 44px; padding: 10px 12px; border-radius: 99px; color: var(--cg-ink)}
.cg .cg-select-tools button:hover {background: color-mix(in srgb, var(--cg-ink) 6%, transparent)}
.cg .cg-select-tools button:disabled {opacity: .45; cursor: default}
.cg-layout-label {color: var(--cg-muted); font-size: 12px}
.cg-view-options {display: inline-flex; align-items: center; gap: 3px; padding: 4px; border-color: var(--cg-line); border-radius: 999px; background: color-mix(in srgb, var(--cg-ink) 4%, var(--cg-paper)); box-shadow: inset 0 1px 0 #ffffff50, 0 3px 8px #00000003}
.cg-view-options button {display: grid; place-items: center; width: 44px; height: 44px; border-radius: 99px; color: var(--cg-muted); font: 550 13px/1 var(--cg-sans); transition: background .18s, box-shadow .18s, color .18s}
.cg-view-options button[aria-pressed="true"] {background: var(--cg-gold); color: var(--cg-accent-ink); box-shadow: 0 2px 5px #14120b16, inset 0 1px 0 #ffffff35}
.cg-view-options button[aria-pressed="false"]:hover {background: color-mix(in srgb, var(--cg-ink) 7%, transparent)}
.cg-tiles {display: grid; grid-template-columns: repeat(var(--cg-columns, 4), minmax(0, 1fr)); gap: clamp(6px, 1.35cqi, 17px)}
.cg .cg-tile {position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; isolation: isolate; border-radius: max(5px, calc(var(--cg-radius) * .6)); background: color-mix(in srgb, var(--cg-ink) 8%, var(--cg-paper)); scroll-margin-top: 112px}
.cg-tile img {display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease}
.cg-play-badge {position: absolute; top: 9px; left: 9px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #12130dcc; color: #fff; pointer-events: none}
.cg-play-badge svg {width: 16px; height: 16px; fill: currentColor}
.cg-tile-check {position: absolute; z-index: 2; top: 8px; right: 8px; display: none; place-items: center; width: 27px; height: 27px; border: 1.5px solid #ffffffe6; border-radius: 50%; background: #14130d42; box-shadow: 0 2px 6px #0002; pointer-events: none}
.cg-tile-check svg {width: 17px; height: 17px; opacity: 0}
.cg[data-selecting="true"] .cg-tile-check, .cg-tile[data-selected="true"] .cg-tile-check {display: grid}
.cg-tile[data-selected="true"] .cg-tile-check {background: var(--cg-gold); color: var(--cg-accent-ink); border-color: var(--cg-gold)}
.cg-tile[data-selected="true"] .cg-tile-check svg {opacity: 1}
.cg-tile[data-selected="true"]::after {content: ""; position: absolute; z-index: 1; inset: 0; border: 3px solid var(--cg-gold); border-radius: inherit; pointer-events: none}
.cg[data-selecting="true"] .cg-tile:disabled {opacity: .4; cursor: default}
.cg-tile-info {position: absolute; inset: auto 0 0; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 25px 12px 12px; background: linear-gradient(0deg, #0009, transparent); color: #fff; opacity: 0; transition: opacity .18s; font-size: 11px; line-height: 1.4}
.cg-tile-info span {white-space: nowrap; overflow: hidden; text-overflow: ellipsis}
.cg-tile-info svg {width: 15px; height: 15px}
.cg[data-photo-names="true"] .cg-tile-info {opacity: 1}
@media (hover: hover) {
  .cg-tile:hover img {transform: scale(1.025)}
  .cg-tile:hover .cg-tile-info {opacity: 1}
}
.cg-tile:focus-visible .cg-tile-info {opacity: 1}
.cg-missing, .cg-video {display: block; width: 100%; height: 100%; max-width: 1120px; max-height: 100%; object-fit: contain; border: 0}
.cg-viewer[data-video="true"] .cg-canvas {touch-action: auto}
.cg-photo-error {display: flex; gap: 8px; align-items: center; justify-content: center; flex-direction: column; font-size: 12px; line-height: 1.4; text-align: center}
.cg-missing {position: absolute; inset: 0; padding: 6px; color: var(--cg-muted)}
.cg-missing svg, .cg-photo-error svg {width: 25px; height: 25px}
.cg-empty {grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 240px; justify-content: center; padding: 50px 20px; border: 1px dashed var(--cg-line); border-radius: var(--cg-radius); text-align: center; color: var(--cg-muted)}
.cg-empty svg {width: 36px; height: 36px; stroke-width: 1.2}
.cg-more {display: flex; align-items: center; flex-direction: column; gap: 15px; margin-top: 34px}
.cg-progress {color: var(--cg-muted); font-size: 12px; font-variant-numeric: tabular-nums}
.cg .cg-load-more {display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 11px 22px; border: 1px solid var(--cg-line); border-radius: 99px; background: color-mix(in srgb, var(--cg-paper) 95%, var(--cg-gold)); font-size: 13px; transition: background .18s}
.cg .cg-load-more:hover {background: color-mix(in srgb, var(--cg-paper) 88%, var(--cg-gold))}
.cg-load-more svg {width: 15px; height: 15px}
.cg-footer {margin-top: clamp(36px, 4.5cqi, 66px); padding: 36px 12px max(40px, env(safe-area-inset-bottom)); border-top: 1px solid var(--cg-line); text-align: center}
.cg-footer .cg-brand {display: block; font: 600 clamp(16px, 1.9cqi, 23px)/1.5 var(--cg-serif); letter-spacing: .17em; overflow-wrap: anywhere}
.cg-footer-caption {display: block; margin-top: 5px; color: var(--cg-muted); font-size: 9px; line-height: 1.7; letter-spacing: .22em; overflow-wrap: anywhere}
.cg-demo-label {display: block; margin-top: 18px; color: var(--cg-muted); font-size: 10px}

.cg-selection-layer {display: contents; container: none; isolation: auto}
.cg-selection-dock {position: fixed; z-index: 35; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); padding: 14px 17px 15px; border-radius: calc(var(--cg-radius) + 4px); box-shadow: 0 12px 48px #14120e20, inset 0 1px 0 #ffffff70}
.cg-selection-summary {display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px}
.cg-selection-count {font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums}
.cg .cg-selection-dismiss {display: grid; place-items: center; width: 44px; height: 44px; margin: -5px -7px -3px 0; border-radius: 50%; color: var(--cg-muted)}
.cg .cg-selection-dismiss:hover {background: color-mix(in srgb, var(--cg-ink) 7%, transparent)}
.cg-batch-buttons {display: flex; align-items: center; gap: 8px; width: 100%}
.cg .cg-batch-save {display: flex; align-items: center; justify-content: center; gap: 8px; flex: 1; min-height: 48px; padding: 12px 17px; border-radius: 99px; background: var(--cg-gold); color: var(--cg-accent-ink); font-size: 13px; font-weight: 600; line-height: 1.4; box-shadow: inset 0 1px 0 #ffffff40}
.cg-batch-save svg {width: 18px; height: 18px}
.cg .cg-batch-save:disabled {opacity: .5; cursor: default}
.cg .cg-batch-cancel, .cg .cg-batch-repeat {min-height: 44px; padding: 10px 12px; border: 1px solid var(--cg-line); border-radius: 99px; font-size: 11px; line-height: 1.4; color: var(--cg-ink)}
.cg .cg-batch-status {margin: 3px 0 11px; color: var(--cg-muted); font-size: 11px; line-height: 1.65; overflow-wrap: anywhere}
.cg .cg-batch-guidance {margin: 9px 0 0; color: var(--cg-muted); font-size: 10px; line-height: 1.6; text-align: center}
.cg[data-selection-dock="true"] .cg-main {padding-bottom: 215px}

.cg-lock {overflow: hidden}
.cg-viewer {position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; border: 0; margin: 0; padding: 0; background: #12130f; color: #fbfaf7}
.cg-viewer::backdrop {background: #12130f}
.cg-viewer-wrap {height: 100%; display: flex; flex-direction: column}
.cg-lb-bar {display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 78px; padding: max(14px, env(safe-area-inset-top)) clamp(16px, 3vw, 46px) 12px}
.cg-lb-count {padding: 10px 16px; border: 1px solid #ffffff1a; border-radius: 99px; background: #ffffff05; font: 500 12px/1.3 var(--cg-sans); letter-spacing: .1em; font-variant-numeric: tabular-nums; color: #ffffffdb}
.cg-lb-actions {display: flex; align-items: center; gap: 10px}
.cg .cg-viewer-select {display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 16px; border: 1px solid #ffffff38; border-radius: 99px; color: #fff; font-size: 12px}
.cg-viewer-select svg {width: 16px; height: 16px}
.cg .cg-viewer-select[aria-pressed="true"] {background: var(--cg-gold); color: var(--cg-accent-ink); border-color: transparent}
.cg .cg-viewer-select:disabled {opacity: .45; cursor: default}
.cg .cg-round {display: grid; place-items: center; color: #fff; width: 46px; min-width: 46px; height: 46px; border-radius: 50%; border: 1px solid #ffffff30; background: #22231c80; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 1px 0 #ffffff10; transition: background .18s}
.cg .cg-round:hover {background: #ffffff23}
.cg-round svg {width: 18px; height: 18px}
.cg-stage {position: relative; display: flex; flex: 1; min-height: 0; align-items: center; padding: 0 14px}
.cg-canvas {height: 100%; flex: 1; display: flex; justify-content: center; align-items: center; min-width: 0; touch-action: pan-y pinch-zoom}
.cg-large {max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; display: block}
.cg-photo-error {color: #e2dfd5; padding: 15px}
.cg-prev, .cg-next {position: absolute; z-index: 1; top: 50%; transform: translateY(-50%)}
.cg-prev {left: clamp(16px, 3vw, 46px)}
.cg-next {right: clamp(16px, 3vw, 46px)}
.cg-lb-foot {display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(calc(100% - 48px), 1100px); margin: 16px auto max(18px, env(safe-area-inset-bottom)); padding: 14px 18px; border: 1px solid #ffffff1f; border-radius: calc(var(--cg-radius) + 2px); background: #25251e9c; -webkit-backdrop-filter: blur(25px); backdrop-filter: blur(25px); box-shadow: 0 12px 36px #0002, inset 0 1px 0 #ffffff0b; font-size: 12px; color: #d7d5ca}
.cg-lb-details {display: flex; flex: 1; align-items: center; gap: 20px; min-width: 0}
.cg-filename {white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: #f4f2e9}
.cg .cg-drive {display: inline-flex; align-items: center; flex: none; gap: 7px; min-height: 44px; color: #ccc9bd; text-decoration: none; font-size: 11px; line-height: 1.4}
.cg-drive svg {width: 13px; height: 13px}
.cg-save-action {display: flex; flex: none; flex-direction: column; gap: 8px; width: min(100%, 330px)}
.cg .cg-save-photo {display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 22px; border-radius: 99px; background: var(--cg-gold); color: var(--cg-accent-ink); font-size: 14px; font-weight: 600; box-shadow: inset 0 1px 0 #ffffff40; transition: box-shadow .18s; overflow-wrap: anywhere; text-decoration: none}
.cg .cg-save-photo:hover {box-shadow: inset 0 0 0 1px #ffffff80, 0 4px 18px #0002}
.cg .cg-save-video {color: var(--cg-accent-ink)}
.cg .cg-save-photo:disabled {cursor: wait; opacity: .65}
.cg-save-photo svg {width: 19px; height: 19px}
.cg .cg-save-hint {color: #c9c6b9; font-size: 11px; line-height: 1.65; text-align: center; overflow-wrap: anywhere}
.cg-viewer-batch {display: flex; flex: none; flex-direction: column; width: min(100%, 390px); gap: 8px}
.cg-viewer-selected-count {font-size: 12px; font-weight: 500; color: #f6f3e9}
.cg-viewer-batch .cg-batch-status, .cg-viewer-batch .cg-batch-guidance {margin: 0; color: #d5d2c7; text-align: center; font-size: 10px}
.cg-viewer-batch .cg-batch-cancel, .cg-viewer-batch .cg-batch-repeat {border-color: #ffffff38; color: #f6f3e9}

.cg-selection-preview {position: fixed; inset: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #12130f; color: #f7f5ee}
.cg-selection-preview::backdrop {background: #12130fe8}
.cg-selection-preview-wrap {display: flex; flex-direction: column; height: 100%; max-width: 1100px; margin-inline: auto}
.cg-selection-preview-head {display: flex; align-items: center; gap: 20px; justify-content: space-between; padding: max(12px, env(safe-area-inset-top)) 20px 12px}
.cg-selection-preview-name {overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px}
.cg .cg-selection-preview-close {display: grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid #ffffff38; border-radius: 50%; font: 300 28px/1 var(--cg-sans); color: #fff}
.cg-selection-preview-stage {display: flex; align-items: center; justify-content: center; flex: 1; min-height: 0; padding: 0 12px}
.cg-selection-original {display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; -webkit-touch-callout: default; touch-action: pan-y pinch-zoom}
.cg-selection-original:focus-visible {outline: 2px solid var(--cg-gold); outline-offset: -2px}
.cg-selection-preview-error {max-width: 34ch; padding: 20px; text-align: center; font-size: 13px; line-height: 1.65; color: #d5d2c7}
.cg-selection-preview-foot {display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 18px 20px max(20px, env(safe-area-inset-bottom)); text-align: center; font-size: 13px; line-height: 1.6}
.cg-selection-preview-count {font-size: 11px; color: #d5d2c7}
.cg .cg-selection-preview-next {width: min(100%, 380px); min-height: 48px; margin-top: 4px; padding: 12px 20px; border-radius: 99px; background: var(--cg-gold); color: var(--cg-accent-ink); font-size: 14px; font-weight: 600}
.cg .cg-selection-preview-next:disabled {opacity: .5; cursor: default}

@container client-gallery (max-width: 700px) {
  .cg-topbar {top: max(20px, env(safe-area-inset-top)); width: calc(100% - 40px); min-height: 58px; padding: 7px 7px 7px 14px; gap: 8px}
  .cg-identity {gap: 7px}
  .cg-logo {width: 33px; height: 29px}
  .cg-wordmark {font-size: 10px; letter-spacing: .1em}
  .cg-brand-subtitle {font-size: 8px; letter-spacing: .08em}
  .cg .cg-toolbar-button {padding: 10px 12px; font-size: 12px; gap: 6px}
  .cg-manage-label {display: none}
  .cg .cg-manage {width: 44px; padding-inline: 9px}
  .cg-main {padding: 8px 8px 0}
  .cg-hero {min-height: clamp(470px, 145cqi, 690px); border-radius: var(--cg-radius)}
  .cg[data-hero-height="compact"] .cg-hero {min-height: clamp(390px, 115cqi, 550px)}
  .cg[data-hero-height="immersive"] .cg-hero {min-height: clamp(560px, 170cqi, 850px)}
  .cg-hero-copy {width: calc(100% - 36px); padding: 120px 0 38px}
  .cg[data-hero-position="center"] .cg-hero-copy {padding-block: 108px}
  .cg-kicker {font-size: 8px; letter-spacing: .18em}
  .cg-hero-kicker {margin-bottom: 15px}
  .cg .cg-title {font-size: clamp(37px, 11cqi, 68px); line-height: 1.11}
  .cg .cg-subtitle {font-size: clamp(12px, 3.3cqi, 17px); margin-top: 13px}
  .cg-meta {font-size: 11px; margin-top: 20px; padding: 7px 11px}
  .cg .cg-scroll {margin-top: 12px; font-size: 10px}
  .cg-collection, .cg-footer {width: calc(100% - 32px)}
  .cg-collection {padding-top: 33px; scroll-margin-top: 95px}
  .cg-collection-head {gap: 15px; margin-bottom: 18px; padding-bottom: 18px}
  .cg-collection-kicker {gap: 9px; font-size: 8px; margin-bottom: 9px}
  .cg-collection-kicker::before {width: 20px}
  .cg .cg-section-title h2 {font-size: clamp(30px, 8.3cqi, 46px)}
  .cg-view-controls {gap: 9px}
  .cg-collection-actions {gap: 10px; width: 100%; justify-content: space-between}
  .cg .cg-select-toggle {padding-inline: 12px; font-size: 11px}
  .cg-select-tools {font-size: 11px; margin-bottom: 15px}
  .cg .cg-select-tools button {font-size: 11px; padding-inline: 10px}
  .cg-layout-label {font-size: 11px}
  .cg-view-options {gap: 1px; padding: 3px}
  .cg-view-options button {width: 44px; height: 44px; font-size: 12px}
  .cg-tile-info {padding: 18px 7px 8px; font-size: 9px; gap: 4px}
  .cg-tile-info svg {width: 12px; height: 12px}
  .cg-missing {font-size: 9px; gap: 5px}
  .cg-missing svg {width: 18px; height: 18px}
  .cg-footer {margin-top: 35px; padding-top: 30px}
  .cg-footer .cg-brand {font-size: 17px}
}
@container client-gallery (max-width: 390px) {
  .cg-logo {width: 29px; height: 25px}
  .cg-brand-subtitle {font-size: 7px}
  .cg-wordmark {font-size: 9px; letter-spacing: .09em}
  .cg-top-actions {gap: 3px}
  .cg .cg-share {padding-inline: 10px}
  .cg-collection-actions {gap: 8px}
  .cg-layout-label {display: none}
  .cg[data-selecting="true"] .cg-collection {width: calc(100% - 16px)}
  .cg[data-selecting="true"] .cg-tiles {width: calc(100cqi - 4px); margin-inline: calc(50% - 50cqi + 2px); gap: 4px}
  .cg-tile-check {width: 23px; height: 23px; top: 4px; right: 4px}
  .cg-tile-check svg {width: 15px; height: 15px}
}
@media (max-width: 760px) {
  .cg-lb-bar {min-height: 68px; padding-inline: 14px}
  .cg-lb-count {font-size: 11px; padding: 10px 13px}
  .cg-lb-actions {gap: 7px}
  .cg .cg-viewer-select {padding-inline: 12px; font-size: 11px}
  .cg-stage {padding: 0}
  .cg-prev {left: 10px}
  .cg-next {right: 10px}
  .cg .cg-round {width: 44px; min-width: 44px; height: 44px}
  .cg-lb-foot {flex-direction: column-reverse; align-items: stretch; width: calc(100% - 24px); padding: 11px; margin-top: 12px; margin-bottom: max(12px, env(safe-area-inset-bottom)); gap: 4px; border-radius: var(--cg-radius)}
  .cg-lb-details {justify-content: space-between; gap: 10px; padding-inline: 3px}
  .cg-filename {font-size: 11px}
  .cg-save-action {width: 100%}
  .cg .cg-save-photo {min-height: 50px; font-size: 14px}
  .cg .cg-save-hint {font-size: 10px}
  .cg .cg-drive {font-size: 10px}
  .cg-viewer-batch {width: 100%; gap: 7px}
  .cg-selection-dock {bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); padding: 11px 13px 13px; border-radius: var(--cg-radius)}
  .cg .cg-batch-save {font-size: 14px; padding-inline: 12px}
  .cg .cg-batch-status {font-size: 12px}
  .cg .cg-batch-guidance {font-size: 11px}
  .cg-selection-preview-head {padding-inline: 14px}
  .cg-selection-preview-foot {padding-inline: 14px}
}
@media (prefers-reduced-motion: reduce) {
  .cg * {transition: none !important; scroll-behavior: auto !important}
}
@media (prefers-reduced-transparency: reduce) {
  .cg-glass {background: var(--cg-paper); -webkit-backdrop-filter: none; backdrop-filter: none}
  .cg-meta, .cg-lb-foot, .cg .cg-round {background: #25251e; -webkit-backdrop-filter: none; backdrop-filter: none}
}
@media (prefers-contrast: more) {
  .cg-glass, .cg-view-options, .cg .cg-load-more {border-color: var(--cg-muted); background: var(--cg-paper)}
  .cg .cg-round, .cg-lb-foot {border-color: #ffffffa6}
  .cg-save-hint, .cg .cg-drive {color: #fff}
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cg-glass {background: var(--cg-paper)}
  .cg-lb-foot, .cg .cg-round {background: #25251e}
}
