/* Gallery Wall (2026-12-02): full-screen composer on /gallery-wall/. Manrope only. */

html:has(body.fa-gw-page), body.fa-gw-page { height: 100%; overflow: hidden; background: #1a1917; }
body.fa-gw-page { margin: 0; }
/* Site header on top, no footer: the composer fills the rest of the screen. */
body.fa-gw-page .fa-footer { display: none !important; }

#fa-gw {
	--ink: #151515;
	--muted: #6b665f;
	--line: #e4e0da;
	--cream: #f3f1ee;
	--grad: linear-gradient(-45deg, #d53668 40%, #daae52 100%);
	position: fixed;
	inset: var(--gw-top, 0px) 0 0 0;
	z-index: 1;
	overflow: hidden;
	color: var(--ink);
	font: 400 14px/1.45 Manrope, system-ui, -apple-system, sans-serif;
	letter-spacing: 0;
	-webkit-font-smoothing: antialiased;
	user-select: none;
	-webkit-user-select: none;
}
#fa-gw *, #fa-gw *::before, #fa-gw *::after { box-sizing: border-box; }
#fa-gw button { font: inherit; color: inherit; cursor: pointer; }
#fa-gw [hidden] { display: none !important; }

/* ---------- Room and wall ---------- */
#fa-gw .gw-stage { position: absolute; inset: 0; overflow: hidden; background: #d9d3ca; transition: background-color .4s ease; }
#fa-gw .gw-stage::before { content: ""; position: absolute; inset: -60px; background: var(--room) center / cover no-repeat; filter: blur(28px) saturate(.9); opacity: 0; transition: opacity .3s ease; }
#fa-gw .gw-stage.is-short::before { opacity: .95; }
#fa-gw .gw-stage.is-short .gw-room { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); mask-composite: intersect; }
#fa-gw .gw-room { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; pointer-events: none; transition: opacity .3s ease; }
#fa-gw[aria-busy="true"] .gw-room { opacity: 0; }
#fa-gw .gw-wall { position: absolute; transition: left .35s cubic-bezier(.2,.8,.2,1), top .35s cubic-bezier(.2,.8,.2,1); }

/* Frames: drawn like the product page mockup (fineart-product-mockup.css), shared rules in fineart-gallery-wall-cards.css. */
#fa-gw .gw-frame { cursor: grab; touch-action: none; transition: left .35s cubic-bezier(.2,.8,.2,1), top .35s cubic-bezier(.2,.8,.2,1); }
#fa-gw .gw-frame.is-empty { position: absolute; left: calc(var(--x) * var(--cm)); top: calc(var(--y) * var(--cm)); width: calc(var(--fw) * var(--cm)); height: calc(var(--fh) * var(--cm)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1.5px dashed rgba(40,35,30,.45); background: rgba(255,255,255,.28); color: rgba(30,26,22,.75); text-align: center; cursor: pointer; }
#fa-gw .gw-plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 20px; line-height: 1; }
#fa-gw .gw-empty-txt { font-size: 11px; font-weight: 600; letter-spacing: .04em; line-height: 1.3; }
#fa-gw .gw-frame.is-empty:hover, #fa-gw .gw-frame.is-empty.is-target { background: rgba(255,255,255,.55); border-color: var(--ink); }
#fa-gw .gw-frame.is-empty.is-target { border-style: solid; border-width: 2px; animation: gw-pulse 1.4s ease-in-out infinite; }
#fa-gw .gw-f.is-selected, #fa-gw .gw-f.is-over { outline: 2px solid #fff; outline-offset: calc(2.2 * var(--cm) + 3px); }
#fa-gw .gw-frame.is-empty.is-over { outline: 3px solid #fff; outline-offset: 3px; }
#fa-gw .gw-frame.is-lifted { opacity: .35; }
#fa-gw.is-dragging, #fa-gw.is-dragging * { cursor: grabbing !important; }
@keyframes gw-pulse { 50% { box-shadow: 0 0 0 6px rgba(255,255,255,.45); } }

/* Measurements */
#fa-gw .gw-dim { position: absolute; z-index: 8; left: 50%; bottom: -22px; line-height: 1.4; transform: translateX(-50%); padding: 1px 6px; border-radius: 4px; background: rgba(255,255,255,.86); color: var(--ink); font-size: 10px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .2s ease; pointer-events: none; }
#fa-gw .gw-wall.is-measure .gw-dim { opacity: 1; }
/* Size of each frame: inside its bottom edge, so stacked frames never overlap their labels. */
#fa-gw .gw-dim--f { bottom: 8px; }
#fa-gw .gw-frame.is-empty .gw-dim { bottom: 8px; }
#fa-gw .gw-rule { position: absolute; display: none; color: rgba(30,26,22,.85); pointer-events: none; }
#fa-gw .gw-wall.is-measure .gw-rule { display: block; }
#fa-gw .gw-rule span { position: absolute; padding: 2px 7px; border-radius: 4px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; }
#fa-gw .gw-rule--w { left: 0; right: 0; bottom: -46px; height: 1px; background: currentColor; }
#fa-gw .gw-rule--w::before, #fa-gw .gw-rule--w::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: currentColor; }
#fa-gw .gw-rule--w::before { left: 0; }
#fa-gw .gw-rule--w::after { right: 0; }
#fa-gw .gw-rule--w span { left: 50%; top: -10px; transform: translateX(-50%); }
#fa-gw .gw-rule--h { top: 0; bottom: 0; right: -30px; width: 1px; background: currentColor; }
#fa-gw .gw-rule--h::before, #fa-gw .gw-rule--h::after { content: ""; position: absolute; left: -5px; width: 11px; height: 1px; background: currentColor; }
#fa-gw .gw-rule--h::before { top: 0; }
#fa-gw .gw-rule--h::after { bottom: 0; }
#fa-gw .gw-rule--h span { top: 50%; left: 8px; transform: translateY(-50%); }

/* Small menu above a selected frame */
#fa-gw .gw-pop { position: absolute; z-index: 5; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: var(--ink); transform: translate(-50%, calc(-100% - 10px)); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
#fa-gw .gw-pop a, #fa-gw .gw-pop button { padding: 7px 12px; border: 0; border-radius: 999px; background: none; color: #fff; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
#fa-gw .gw-pop a:hover, #fa-gw .gw-pop button:hover { background: rgba(255,255,255,.14); }

.gw-ghost { position: fixed; left: 0; top: 0; z-index: 100001; border: 4px solid #fff; border-radius: 2px; background: #ddd center / cover; box-shadow: 0 18px 40px rgba(0,0,0,.35); pointer-events: none; opacity: .92; }

/* ---------- Top bar ---------- */
#fa-gw .gw-top { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 10; display: flex; align-items: center; gap: 12px; pointer-events: none; }
#fa-gw .gw-top > * { pointer-events: auto; }
#fa-gw .gw-back, #fa-gw .gw-title, #fa-gw .gw-chip, #fa-gw .gw-rooms { background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 4px 18px rgba(0,0,0,.08); }
#fa-gw .gw-back { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 12px; border-radius: 999px; color: var(--ink); font-weight: 600; text-decoration: none; }
#fa-gw .gw-back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#fa-gw .gw-title { display: flex; flex-direction: column; justify-content: center; height: 40px; padding: 0 16px; border-radius: 999px; line-height: 1.15; }
#fa-gw .gw-title__eb { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
#fa-gw .gw-title__name { font-size: 14px; font-weight: 600; }
#fa-gw .gw-tools { display: flex; align-items: center; gap: 8px; margin-right: auto; }
#fa-gw .gw-chip { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
#fa-gw .gw-chip--btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
#fa-gw .gw-rooms { display: flex; gap: 2px; padding: 4px; border-radius: 999px; }
#fa-gw .gw-rooms button { height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: none; font-size: 12px; font-weight: 600; white-space: nowrap; }
#fa-gw .gw-rooms button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- Panel ---------- */
#fa-gw .gw-panel { position: absolute; top: 16px; right: 16px; bottom: 16px; z-index: 11; display: flex; flex-direction: column; width: 400px; border-radius: 20px; background: rgba(255,255,255,.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 60px rgba(0,0,0,.18); overflow: hidden; }
#fa-gw .gw-panel__grip { display: none; }
#fa-gw .gw-panel__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 6px 22px 18px; }
#fa-gw .gw-sec { padding: 18px 0; border-bottom: 1px solid var(--line); }
#fa-gw .gw-sec:last-child { border-bottom: 0; }
#fa-gw .gw-h { margin: 0 0 12px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
#fa-gw .gw-h-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#fa-gw .gw-link { padding: 0; border: 0; background: none; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
#fa-gw .gw-muted { margin: 0; color: var(--muted); font-size: 13px; }
#fa-gw .gw-muted a { color: var(--ink); }
#fa-gw .gw-note { margin: 10px 0 0; color: var(--muted); font-size: 12px; }

#fa-gw .gw-counts, #fa-gw .gw-tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
#fa-gw .gw-counts::-webkit-scrollbar, #fa-gw .gw-tabs::-webkit-scrollbar { display: none; }
#fa-gw .gw-counts button, #fa-gw .gw-tabs button { flex: none; height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; white-space: nowrap; }
#fa-gw .gw-counts button[aria-selected="true"], #fa-gw .gw-tabs button[aria-selected="true"] { background: var(--ink); box-shadow: none; color: #fff; }

#fa-gw .gw-layouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
#fa-gw .gw-lay { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px 9px; border: 0; border-radius: 12px; background: var(--cream); text-align: center; transition: box-shadow .15s ease; }
#fa-gw .gw-lay svg { width: 80px; height: 56px; margin-bottom: 4px; fill: #c9c2b8; }
#fa-gw .gw-lay strong { font-size: 12px; font-weight: 700; }
#fa-gw .gw-lay span { color: var(--muted); font-size: 11px; }
#fa-gw .gw-lay:hover { box-shadow: inset 0 0 0 1px #c9c2b8; }
#fa-gw .gw-lay[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); background: #fff; }
#fa-gw .gw-lay[aria-pressed="true"] svg { fill: var(--ink); }

#fa-gw .gw-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 12px; padding: 4px; border-radius: 14px; background: var(--cream); }
#fa-gw .gw-seg button { min-height: 36px; padding: 6px 10px; border: 0; border-radius: 10px; background: none; font-size: 13px; font-weight: 600; }
#fa-gw .gw-seg--2 { margin-top: 0; }
#fa-gw .gw-seg--2 button { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 9px 8px; }
#fa-gw .gw-seg--2 button span { color: var(--muted); font-size: 11px; font-weight: 500; }
#fa-gw .gw-seg button[aria-pressed="true"] { background: #fff; box-shadow: 0 1px 6px rgba(0,0,0,.08); }
#fa-gw .gw-seg button:disabled { opacity: .4; cursor: not-allowed; }

#fa-gw .gw-finish { display: flex; gap: 8px; margin-top: 12px; }
#fa-gw .gw-finish button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 0; border-radius: 999px; background: none; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; font-weight: 600; }
#fa-gw .gw-finish button[aria-pressed="true"] { box-shadow: inset 0 0 0 1.5px var(--ink); }
#fa-gw .gw-dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
#fa-gw .gw-dot--black { background: #1b1b1b; }
#fa-gw .gw-dot--white { background: #f4f2ee; }
#fa-gw .gw-dot--oak { background: linear-gradient(135deg, #d0a36f, #a87947); }

#fa-gw .gw-list { margin: 0; padding: 0; list-style: none; }
#fa-gw .gw-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
#fa-gw .gw-item + .gw-item { border-top: 1px solid var(--line); }
#fa-gw .gw-item img, #fa-gw .gw-item__ph { flex: none; width: 44px; height: 44px; border-radius: 6px; object-fit: cover; background: var(--cream); }
#fa-gw .gw-item__ph { position: relative; border: 1.5px dashed #cfc9c0; background: none; }
#fa-gw .gw-item.is-target .gw-item__ph { border-color: var(--ink); border-style: solid; }
#fa-gw .gw-item__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#fa-gw .gw-item__txt strong { overflow: hidden; font-size: 13px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
#fa-gw .gw-item__txt span { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
#fa-gw .gw-item.is-empty strong { color: var(--muted); font-weight: 600; }
#fa-gw .gw-item__price { font-size: 13px; font-weight: 600; }
#fa-gw .gw-x { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: var(--cream); font-size: 17px; line-height: 1; }
#fa-gw .gw-item__pick { height: 28px; padding: 0 10px; border: 0; border-radius: 999px; background: var(--ink); color: #fff !important; font-size: 12px; font-weight: 600; }
#fa-gw .gw-tray { margin-top: 12px; padding: 12px; border-radius: 12px; background: var(--cream); }
#fa-gw .gw-tray__h { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 600; }
#fa-gw .gw-tray__row { display: flex; gap: 8px; overflow-x: auto; }

#fa-gw .gw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 10px; }
#fa-gw .gw-sugs.is-loading { opacity: .5; }
#fa-gw .gw-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0; border: 0; background: none; text-align: left; }
#fa-gw .gw-card__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; margin-bottom: 6px; border-radius: 8px; background: var(--cream); }
#fa-gw .gw-card__img img { display: block; max-width: 70%; max-height: 80%; box-shadow: 0 0 0 3px #fff, 1px 3px 8px 2px rgba(40,30,20,.18); }
#fa-gw .gw-card__img--l img { max-width: 80%; max-height: 70%; }
#fa-gw .gw-card strong { overflow: hidden; font-size: 12px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
#fa-gw .gw-card > span:not(.gw-card__img):not(.gw-o) { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
#fa-gw .gw-card em { position: absolute; left: 6px; top: 6px; padding: 2px 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 10px; font-style: normal; font-weight: 600; }
#fa-gw .gw-card.is-on { opacity: .55; cursor: default; }
#fa-gw .gw-card.is-dim { opacity: .35; }
#fa-gw .gw-card:not(.is-on):hover .gw-card__img { box-shadow: inset 0 0 0 1.5px var(--ink); }
#fa-gw .gw-card--sm { flex: none; width: 52px; }
#fa-gw .gw-card--sm img { width: 52px; height: 52px; border-radius: 6px; object-fit: cover; }
#fa-gw .gw-o { position: absolute; right: 3px; bottom: 3px; padding: 0 4px; border-radius: 4px; background: rgba(255,255,255,.9); font-size: 9px; font-weight: 700; }

/* Totals and add to cart */
#fa-gw .gw-total { padding: 16px 22px 20px; border-top: 1px solid var(--line); background: #fff; }
#fa-gw .gw-total__rows p { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 4px; color: var(--muted); font-size: 13px; }
#fa-gw .gw-total__rows s { color: var(--muted); }
#fa-gw .gw-total__save b { color: #b02a55; font-weight: 600; }
#fa-gw .gw-total__price { margin-top: 6px !important; color: var(--ink) !important; font-size: 15px !important; }
#fa-gw .gw-total__price b { font-size: 20px; font-weight: 700; }
#fa-gw .gw-cta { display: flex; align-items: center; justify-content: center; width: 100%; height: 52px; margin-top: 12px; border: 0; border-radius: 999px; background: var(--ink); color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none; transition: background-color .2s ease, opacity .2s ease; }
#fa-gw .gw-cta:hover { background: #000; }
#fa-gw .gw-cta:disabled { opacity: .35; cursor: not-allowed; }
#fa-gw .gw-cta.is-busy { opacity: .6; }
#fa-gw .gw-total__hint { margin: 10px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; text-align: center; }

#fa-gw .gw-toast { position: absolute; left: 50%; bottom: 28px; z-index: 30; max-width: min(460px, calc(100% - 32px)); padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 500; text-align: center; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
#fa-gw .gw-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

#fa-gw button:focus-visible, #fa-gw a:focus-visible { outline: 2px solid #d53668; outline-offset: 2px; }

/* Artist: name, save, publish */
#fa-gw .gw-name { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
#fa-gw .gw-name input { height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font: 500 15px Manrope, system-ui, sans-serif; user-select: text; -webkit-user-select: text; }
#fa-gw .gw-name input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--ink); }
#fa-gw .gw-art-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
#fa-gw .gw-art-actions .gw-cta { margin-top: 12px; font-size: 14px; }
#fa-gw .gw-cta--light { background: var(--cream); color: var(--ink) !important; }
#fa-gw .gw-cta--light:hover { background: #e9e5df; }
#fa-gw .gw-total--artist .gw-total__hint { text-align: left; }
/* Artists arrange artworks only: frame, colour and size are the collector's choice. */
#fa-gw.is-artist .gw-sec--frames, #fa-gw.is-artist [data-gw-variant], #fa-gw.is-artist [data-gw-size], #fa-gw.is-artist [data-gw-measure] { display: none !important; }
#fa-gw .gw-art-new { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding: 10px 12px; border-radius: 12px; background: #e6f2ea; color: #1f6b3a; font-size: 13px; font-weight: 600; }
#fa-gw .gw-art-new .gw-link { color: var(--ink); }
#fa-gw .gw-lay:disabled { opacity: .45; cursor: not-allowed; }
#fa-gw [data-gw-glazing] { margin-top: 10px; }

/* "Use this wall?" when a collector opens an artist's wall over their own */
#fa-gw .gw-ask { position: absolute; inset: 0; z-index: 45; display: grid; place-items: center; padding: 16px; background: rgba(10,10,10,.45); }
#fa-gw .gw-ask__card { width: min(420px, 100%); padding: 28px 26px 22px; border-radius: 20px; background: #fff; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.3); }
#fa-gw .gw-ask h2 { margin: 8px 0 8px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
#fa-gw .gw-ask p { margin: 0; color: var(--muted); }

/* ---------- Preview for visitors ---------- */
#fa-gw.is-preview .gw-panel, #fa-gw.is-preview .gw-tools { filter: blur(1.5px); }
#fa-gw .gw-gate { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: flex-end; padding: 16px; background: rgba(10,10,10,.45); }
#fa-gw .gw-gate__card { margin-right: 0; }
#fa-gw .gw-gate__card { width: min(400px, 100%); padding: 34px 30px 26px; border-radius: 22px; background: #fff; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: gw-in .45s cubic-bezier(.16,1,.3,1) both; }
#fa-gw .gw-gate__card::before { content: ""; display: block; width: 48px; height: 4px; margin: 0 auto 22px; border-radius: 4px; background: var(--grad); }
#fa-gw .gw-gate__eb { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
#fa-gw .gw-gate h1 { margin: 10px 0 12px; font-size: 26px; font-weight: 400; letter-spacing: -.02em; line-height: 1.18; }
#fa-gw .gw-gate p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
#fa-gw .gw-gate__list { margin: 18px 0 4px; padding: 0; list-style: none; text-align: left; }
#fa-gw .gw-gate__list li { position: relative; padding: 6px 0 6px 26px; font-size: 14px; }
#fa-gw .gw-gate__list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
#fa-gw .gw-gate__in { display: inline-block; margin-top: 14px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@keyframes gw-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Phones and tablets ---------- */
@media (max-width: 900px) {
	#fa-gw .gw-top { left: 10px; right: 10px; top: 10px; flex-wrap: wrap; gap: 8px; }
	#fa-gw .gw-title { display: none; }
	#fa-gw .gw-tools { margin-right: 0; margin-left: auto; }
	#fa-gw .gw-rooms { order: 5; }
	#fa-gw .gw-chip--btn { display: none; }
	#fa-gw .gw-back { height: 38px; }
	#fa-gw .gw-chip { height: 38px; padding: 0 12px; }
	#fa-gw .gw-rooms button { height: 30px; padding: 0 10px; }
	#fa-gw .gw-panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 62vh; border-radius: 20px 20px 0 0; transition: max-height .3s ease; }
	#fa-gw .gw-panel__grip { display: grid; place-items: center; flex: none; height: 22px; padding: 0; border: 0; background: none; }
	#fa-gw .gw-panel__grip span { width: 40px; height: 4px; border-radius: 4px; background: #cfc9c0; }
	#fa-gw:not(.is-sheet) .gw-panel__scroll { display: none; }
	#fa-gw .gw-panel__scroll { padding: 0 16px 12px; }
	#fa-gw .gw-total { padding: 8px 16px calc(14px + env(safe-area-inset-bottom)); }
	#fa-gw .gw-total__rows p:first-child { display: none; }
	#fa-gw .gw-total__rows p { margin-bottom: 2px; font-size: 12px; }
	#fa-gw .gw-total__price { margin: 0 !important; align-items: baseline; }
	#fa-gw .gw-cta { height: 48px; margin-top: 8px; }
	#fa-gw .gw-total__hint { margin-top: 6px; font-size: 11px; }
	#fa-gw .gw-layouts { grid-template-columns: repeat(3, 1fr); }
	#fa-gw .gw-toast { bottom: auto; top: 108px; }
	#fa-gw .gw-dim { font-size: 9px; bottom: -18px; }
	#fa-gw .gw-rule--h { right: -24px; }
	#fa-gw .gw-gate { align-items: flex-end; justify-content: center; padding: 12px; }
	#fa-gw .gw-gate__card { padding: 26px 22px 20px; }
	#fa-gw .gw-gate__list { display: none; }
	#fa-gw .gw-gate h1 { font-size: 22px; }
}
@media (max-width: 560px) {
	#fa-gw .gw-dim { display: none; }
	#fa-gw .gw-grid { grid-template-columns: repeat(3, 1fr); gap: 10px 8px; }
}
@media (prefers-reduced-motion: reduce) {
	#fa-gw *, #fa-gw *::before, #fa-gw *::after { animation: none !important; transition: none !important; }
}

/* ---------- Visitor on an artist's wall (2026-12-02): frame, size, room and cart; composing asks for an account ---------- */
#fa-gw .gw-h--view, #fa-gw .gw-gate__x { display: none; }
#fa-gw.is-view .gw-h--view { display: block; }
#fa-gw.is-view .gw-sec--layout > .gw-h:not(.gw-h--view),
#fa-gw.is-view .gw-counts,
#fa-gw.is-view .gw-layouts,
#fa-gw.is-view .gw-sec--sugs,
#fa-gw.is-view .gw-list button { display: none; }
#fa-gw .gw-gate[hidden] { display: none; }
#fa-gw.is-view .gw-gate__card { position: relative; }
#fa-gw.is-view .gw-gate__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #f1eee9; cursor: pointer; }
#fa-gw .gw-gate__x svg { width: 16px; height: 16px; fill: none; stroke: var(--ink, #151515); stroke-width: 2; stroke-linecap: round; }

/* ---------- A collector's walls (2026-12-02): the title opens the list ---------- */
#fa-gw .gw-mine-wrap { position: relative; }
#fa-gw .gw-title--btn { align-items: flex-start; border: 0; color: var(--ink); font-family: inherit; text-align: left; cursor: pointer; }
#fa-gw .gw-title--btn .gw-title__name { display: inline-flex; align-items: center; gap: 4px; max-width: 220px; }
#fa-gw .gw-title--btn [data-gw-name] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#fa-gw .gw-title--btn svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
#fa-gw .gw-title--btn[aria-expanded="true"] svg { transform: rotate(180deg); }
#fa-gw.is-menu .gw-top { z-index: 30; }
#fa-gw .gw-mine { position: absolute; z-index: 5; left: 0; top: calc(100% + 8px); width: 340px; max-height: min(560px, 70vh); overflow-y: auto; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px rgba(0,0,0,.22); animation: gw-in .25s cubic-bezier(.16,1,.3,1) both; }
#fa-gw .gw-mine[hidden] { display: none; }
#fa-gw .gw-mine__name { display: block; }
#fa-gw .gw-mine__name span, #fa-gw .gw-mine__h { display: block; margin: 0 0 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
#fa-gw .gw-mine__name input { box-sizing: border-box; width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 500 14px/1 inherit; }
#fa-gw .gw-mine__name input:focus { border-color: var(--ink); outline: none; }
#fa-gw .gw-mine__h { margin-top: 16px; }
#fa-gw .gw-mine__list { margin: 0; padding: 0; list-style: none; }
#fa-gw .gw-mine__list li { display: flex; align-items: center; gap: 6px; border-radius: 12px; }
#fa-gw .gw-mine__list li.is-on { background: var(--cream); }
#fa-gw .gw-mine__open { display: flex; flex: 1; align-items: center; gap: 10px; min-width: 0; padding: 8px; border: 0; background: none; color: var(--ink); font-family: inherit; text-align: left; cursor: pointer; }
#fa-gw .gw-mine__open:disabled { cursor: default; }
#fa-gw .gw-mine__th { display: flex; flex: none; gap: 2px; width: 58px; height: 40px; align-items: center; justify-content: center; border-radius: 6px; background: #ece7df; }
#fa-gw .gw-mine__th img { width: 16px; height: 24px; object-fit: cover; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
#fa-gw .gw-mine__txt { display: flex; flex-direction: column; min-width: 0; }
#fa-gw .gw-mine__txt b { overflow: hidden; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
#fa-gw .gw-mine__txt small { color: var(--muted); font-size: 12px; }
#fa-gw .gw-mine__del { flex: none; margin-right: 6px; padding: 6px 8px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: 600 12px/1 inherit; cursor: pointer; }
#fa-gw .gw-mine__del:hover, #fa-gw .gw-mine__del[data-armed="1"] { background: #fbe9ee; color: #b3264f; }
#fa-gw .gw-mine__new { height: 44px; margin-top: 12px; font-size: 14px; }
#fa-gw .gw-mine__max { margin: 8px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 900px) {
	#fa-gw .gw-mine-wrap .gw-title--btn { display: flex; height: 38px; padding: 0 14px; }
	#fa-gw .gw-mine-wrap .gw-title__eb { display: none; }
	#fa-gw .gw-title--btn .gw-title__name { max-width: 150px; }
	#fa-gw .gw-mine-wrap { position: static; }
	#fa-gw .gw-mine { left: 0; right: 0; width: auto; max-height: 62vh; }
}
