/* The Google panel: reviews first (28 Nov 2026, session info-capture-design). Script: gbp-panel.js.
   Beige and black, the page's own. Sized to the stage (.pane-body is a size container): sizes step with its height.
   The page's icon row under the stage takes this panel's background (.gp), so a change to --paper moves the row too. */
.gp { --paper: #f4efe7; --ink: #1c1a16; --soft: #6f685d; --card: #fffdf9; --back: #faf7f1; --shade: #e7dfd1; --press: #ddd3c2;
  flex: 1; min-width: 0; height: 100%; background: var(--paper); color: var(--ink); font-family: "Hanken Grotesk", sans-serif;
  display: grid; grid-template-columns: 36% 64%; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.gp * { -webkit-tap-highlight-color: transparent; }
.gp-l { padding: 0 0 0 20px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.gp-top { display: flex; align-items: center; gap: 8px; }
.gp-g { width: 22px; height: 22px; display: block; flex: none; }
.gp .gp-sample { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 9px; background: #f9e08e; color: #1c1a16; }
.gp-n { font-size: clamp(30px, 15cqh, 42px); font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-top: clamp(8px, 5.5cqh, 16px); }
.gp-stars { display: flex; gap: 2px; margin-top: 8px; }
.gp-stars svg { width: 14px; height: 14px; display: block; }
.gp-sum { font-size: 13px; line-height: 1.4; margin-top: clamp(6px, 4cqh, 12px); }
.gp-src { display: inline-flex; align-items: center; gap: 4px; margin-top: clamp(8px, 5.5cqh, 16px); align-self: flex-start; font-size: 12px; font-weight: 300;
  color: var(--ink); text-decoration: none; border-bottom: .5px solid var(--ink); padding-bottom: 1px; }
.gp-src svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gp-deck { position: relative; min-width: 0; touch-action: pan-x; outline: none; user-select: none; -webkit-user-select: none; }
.gp-cd { position: absolute; width: min(212px, calc(100% - 12px)); height: min(204px, calc(100% - 28px)); left: 50%; top: 50%; margin: 0;
  translate: calc(-50% - 4px) -50%; border-radius: 14px; background: var(--back);
  transition: transform 440ms cubic-bezier(.2, .8, .2, 1), opacity 440ms ease-out, background 440ms ease-out; }
.gp-cd[data-p="0"] { background: var(--card); transform: none; z-index: 5; }
.gp-cd[data-p="1"] { transform: translate(7px, 4px) rotate(4deg); z-index: 4; }
.gp-cd[data-p="2"] { transform: translate(-5px, 6px) rotate(-3.5deg); z-index: 3; }
.gp-cd[data-p="h"] { transform: translate(0, 8px) rotate(-3.5deg); z-index: 2; opacity: 0; }
.gp-cd[data-p="up"] { transform: translateY(-140%); z-index: 6; opacity: 0; background: var(--card); }
.gp-in { position: relative; height: 100%; padding: 16px 16px 14px; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; transition: opacity 240ms ease-out; }
.gp-cd:not([data-p="0"]):not([data-p="up"]) .gp-in { opacity: 0; }
.gp-q { flex: 1; min-height: 0; overflow: hidden; font-weight: 400; line-height: 1.35; letter-spacing: -.005em; }
.gp-who { flex: none; display: flex; align-items: center; gap: 8px; padding-right: 36px; min-height: 30px; line-height: 1.2; }
.gp .gp-nm { font-size: 13px; font-weight: 600; line-height: 1.2; letter-spacing: 0; white-space: nowrap; display: block; overflow: hidden; text-overflow: ellipsis; }
.gp .gp-id { min-width: 0; display: block; }
.gp .gp-t { font-size: 12px; font-weight: 200; line-height: 1.2; color: var(--soft); display: block; margin-top: 2px; }
.gp-who .gp-g { width: 16px; height: 16px; }
.gp-face { width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--shade); overflow: hidden; }
.gp-face svg, .gp-face img { width: 22px; height: 22px; display: block; object-fit: cover; }
.gp-nx { position: absolute; right: 12px; bottom: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); display: flex; align-items: center;
  justify-content: center; cursor: pointer; outline: none; box-sizing: border-box; transition: background 120ms ease-out, transform 120ms ease-out; }
.gp-nx::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; }
.gp-nx svg { width: 15px; height: 15px; display: block; }
.gp-nx.back svg { transform: rotate(180deg); }
.gp-nx:active { background: var(--press); transform: scale(.92); }
.gp-nx:focus-visible { box-shadow: 0 0 0 1.5px var(--card), 0 0 0 3px var(--ink); }
.gp-src:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .gp-nx:hover { background: var(--shade); } .gp-nx:active { background: var(--press); } .gp-src:hover { border-bottom-width: 1px; } }
@media (prefers-reduced-motion: reduce) { .gp-cd, .gp-in, .gp-nx { transition: none; } }

/* a narrow stage (the page's side bar takes the right 40 px at short heights): the stack stays inside with a margin;
   the cards are a little narrower, centred, and the ones behind tilt less; the credit line keeps its one row */
@container (max-width: 370px) {
  .gp-cd { width: 200px; translate: calc(-50% - 2px) -50%; }
  .gp-cd[data-p="1"] { transform: translate(3px, 4px) rotate(2deg); }
  .gp-cd[data-p="2"] { transform: translate(-3px, 6px) rotate(-2.5deg); }
  .gp-cd[data-p="h"] { transform: translate(0, 8px) rotate(-2.5deg); }
  .gp-who { gap: 4px; padding-right: 32px; }
}
}
