/* The Counting House and its offers. Owner: lane F. Linked by lane A in index.html, copied by lane B's
   build. Brass, mahogany and old paper on the deep glass of the rest of the page. No inline styles:
   the page's CSP forbids them, so colours that vary are set through custom properties from script. */
:root { --brass: #d9a54a; --brass-hi: #f6d58a; --mahog: #3a1f14; --paper: #f3ead6; --paper-ink: #2a1d10; --pay-glass: rgba(16, 13, 28, 0.975); }

/* the sheet takes the whole view while it is open; the panels box belongs to lane C, this only restyles it */
.panels:has(> .pay) { position: fixed; inset: 0; left: 0; bottom: 0; transform: none; max-height: none; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 18px; background: radial-gradient(ellipse at 50% 40%, rgba(40, 24, 10, 0.55), rgba(5, 4, 12, 0.82)); pointer-events: auto; z-index: 60; animation: pay-fade 0.25s ease-out; }
@keyframes pay-fade { from { opacity: 0; } }
.pay-sheet { position: relative; width: min(1080px, 100%); max-height: min(92vh, 860px); display: flex; flex-direction: column; border-radius: 22px; background: var(--pay-glass); color: var(--ink); pointer-events: auto;
  box-shadow: 0 0 0 1px rgba(217, 165, 74, 0.55), 0 0 0 6px rgba(58, 31, 20, 0.9), 0 0 0 7px rgba(217, 165, 74, 0.35), 0 30px 80px rgba(0, 0, 0, 0.6); overflow: hidden; animation: pay-rise 0.35s cubic-bezier(.2, 1.3, .4, 1); }
@keyframes pay-rise { from { transform: translateY(18px) scale(0.98); } }
.pay-sheet button { font-family: var(--font); cursor: pointer; }
.pay-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; background: linear-gradient(180deg, #4a2818, #2c160d); border-bottom: 2px solid var(--brass); }
.pay-head h2 { margin: 0; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: 0.06em; font-weight: 700; background: linear-gradient(180deg, #fff6e2, #f6d7a0 50%, #d98a3a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-kick { margin: 4px 0 0; color: var(--brass-hi); font-size: 13.5px; letter-spacing: 0.03em; opacity: 0.9; }
.pay-x { flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(244, 234, 214, 0.1); color: var(--ink); font-size: 26px; line-height: 1; box-shadow: inset 0 0 0 1px var(--edge); }
.pay-x:hover { background: rgba(244, 234, 214, 0.2); }
.pay-body { overflow: auto; padding: 18px 22px 22px; display: grid; gap: 18px; overscroll-behavior: contain; }
.pay-sec { margin: 0 0 10px; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--teal); font-weight: 700; }
.pay-dim { color: var(--dim); font-size: 13px; }

/* the house: clerks behind a mahogany counter */
.pay-house .pay-body { grid-template-columns: 1.15fr 1fr; grid-template-areas: "counter counter" "lead lead" "ledger earn" "ledger wall"; }
.pay-counter { grid-area: counter; display: grid; grid-template-columns: 1fr; gap: 10px; padding: 14px; border-radius: 16px; background: linear-gradient(180deg, rgba(95, 201, 184, 0.08), rgba(58, 31, 20, 0.6)); box-shadow: inset 0 0 0 1px rgba(217, 165, 74, 0.3); }
.pay-clerks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay-clerk { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 6px 10px; border: 0; border-radius: 14px; background: rgba(244, 234, 214, 0.05); color: var(--ink); text-align: center; transition: background 0.2s, transform 0.2s; }
.pay-clerk:hover, .pay-clerk.on { background: rgba(242, 165, 65, 0.16); transform: translateY(-2px); }
.pay-clerk-pic svg { width: min(120px, 24vw); height: auto; display: block; }
.pay-clerk b { font-size: 14px; }
.pay-clerk span { font-size: 12px; color: var(--dim); }
.pay-clerk em { font-size: 12px; color: var(--amber); font-style: italic; }
.pay-bulb { animation: pay-blink 1.6s steps(1) infinite; }
@keyframes pay-blink { 50% { fill: #5a1a10; } }
.pay-bubble { margin: 0; padding: 10px 14px; border-radius: 12px; background: var(--paper); color: var(--paper-ink); font-size: 15px; line-height: 1.4; position: relative; font-family: Georgia, "Times New Roman", serif; }
.pay-bubble::before { content: ""; position: absolute; top: -8px; left: var(--tip, 50%); border: 8px solid transparent; border-top: 0; border-bottom-color: var(--paper); }
.pay-bubble[data-who="1"] { --tip: 16%; } .pay-bubble[data-who="2"] { --tip: 50%; } .pay-bubble[data-who="3"] { --tip: 83%; }
.pay-lead { grid-area: lead; text-align: center; }
.pay-lead h3 { margin: 0 0 6px; font-size: clamp(20px, 2.2vw, 28px); color: var(--amber); letter-spacing: 0.04em; }
.pay-lead p { margin: 2px 0; color: var(--ink); font-size: 14.5px; }
.pay-ledger { grid-area: ledger; }
.pay-list { display: grid; gap: 8px; }
.pay-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 12px; border: 0; border-radius: 12px; background: rgba(244, 234, 214, 0.06); color: var(--ink); text-align: left; box-shadow: inset 0 0 0 1px rgba(244, 234, 214, 0.08); transition: background 0.15s, transform 0.15s; }
.pay-row:hover { background: rgba(242, 165, 65, 0.14); transform: translateX(3px); }
.pay-coin { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; color: #3a2408; background: radial-gradient(circle at 35% 30%, #fff1c8, #e7b65a 55%, #a6721f); box-shadow: 0 0 0 2px #8a5a18, 0 3px 8px rgba(0, 0, 0, 0.4); }
.pay-rowt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pay-rowt b { font-size: 15px; }
.pay-rowt small { font-size: 12.5px; color: var(--dim); }
.pay-earn { grid-area: earn; padding: 14px 16px; border-radius: 6px; background: var(--paper); color: var(--paper-ink); font-family: Georgia, "Times New Roman", serif; transform: rotate(-0.8deg); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); position: relative; }
.pay-earn::before { content: ""; position: absolute; top: -7px; left: 50%; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff8a7a, #b0201a); box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4); }
.pay-earn .pay-sec { color: #7a2f10; font-family: var(--font); }
.pay-earn .pay-kick { color: #8a6a3a; font-style: italic; }
.pay-earn p { margin: 6px 0; font-size: 14px; line-height: 1.4; }
.pay-earn .pay-dim { color: #6a5a40; }
.pay-earn .pay-line { color: var(--paper-ink); border-color: #b98a46; }
.pay-earn .pay-btn { background: linear-gradient(180deg, #6a6052, #4a4238); color: #f4ead6; box-shadow: 0 0 0 2px #2a2418; }
.pay-wall { grid-area: wall; }
.pay-plates { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 12px; border-radius: 10px; background: repeating-linear-gradient(90deg, #4a2818 0 18px, #43230f 18px 36px); box-shadow: inset 0 0 0 2px #2a140a; }
.pay-plate { display: grid; place-items: center; min-height: 34px; padding: 4px; border-radius: 4px; font-size: 10px; text-align: center; color: rgba(58, 36, 8, 0.55); font-style: italic; background: linear-gradient(180deg, #f3d48a, #c8973e); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 2px 4px rgba(0, 0, 0, 0.5); }
.pay-wall p { margin: 8px 0 0; font-size: 13.5px; }

/* one offer: the preview on the left, the facts and the price on the right */
.pay-split { grid-template-columns: 1.25fr 1fr; align-items: start; }
.pay-show { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pay-stage { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #2b2350 0%, #141026 55%, #07060f 100%); box-shadow: inset 0 0 0 1px rgba(217, 165, 74, 0.35); }
.pay-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 120%, rgba(242, 165, 65, 0.18), transparent 60%); }
.pay-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.pay-cap { margin: 0; font-size: 12.5px; color: var(--dim); text-align: center; letter-spacing: 0.04em; }
.pay-picks { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pay-pick { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 0; border-radius: 999px; background: rgba(244, 234, 214, 0.08); color: var(--ink); font-size: 13px; box-shadow: inset 0 0 0 1px rgba(244, 234, 214, 0.14); }
.pay-pick.on { background: rgba(242, 165, 65, 0.22); box-shadow: inset 0 0 0 2px var(--amber); }
.pay-sw { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4); }
.pay-info { display: flex; flex-direction: column; gap: 12px; }
.pay-price b { display: inline-block; font-size: clamp(34px, 4vw, 48px); font-weight: 800; letter-spacing: 0.02em; background: linear-gradient(180deg, #fff6e2, #f2c46a 55%, #c47a24); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pay-facts { margin: 0; display: grid; gap: 4px; }
.pay-facts dt { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); margin-top: 6px; }
.pay-facts dd { margin: 0; font-size: 14.5px; line-height: 1.4; }
.pay-line { margin: 0; padding: 10px 14px 10px 14px; border-left: 3px solid var(--amber); font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 15.5px; line-height: 1.45; color: #fbeccc; }
.pay-line cite { display: block; font-style: normal; font-family: var(--font); font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.pay-buy { position: relative; }
.pay-btn { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 18px; border: 0; border-radius: 999px; color: #2a1a08; font-size: 16px; font-weight: 700;
  background: radial-gradient(circle at 50% 20%, #fff4dc 0%, #f6c674 50%, #d9862e 100%); box-shadow: 0 0 0 3px #e4e9ef, 0 0 0 5px #8a8f99, 0 8px 22px rgba(0, 0, 0, 0.45), 0 0 30px rgba(242, 165, 65, 0.3); transition: transform 0.1s, filter 0.2s; }
.pay-btn b { font-size: 18px; }
.pay-btn span { letter-spacing: 0.06em; }
.pay-btn:hover { filter: brightness(1.06); } .pay-btn:active { transform: scale(0.97); }
.pay-stamp { position: absolute; right: 10px; top: -12px; padding: 3px 10px; border: 3px solid #c01f2a; border-radius: 6px; color: #c01f2a; font-style: normal; font-weight: 900; letter-spacing: 0.18em; font-size: 16px; background: rgba(255, 246, 226, 0.92); transform: rotate(-12deg) scale(2.2); opacity: 0; pointer-events: none; }
.pay-buy.stamped .pay-stamp { animation: pay-stamp 0.35s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes pay-stamp { to { opacity: 1; transform: rotate(-12deg) scale(1); } }
.pay-note { margin: 8px 0 0; min-height: 1.2em; font-size: 14px; color: var(--teal); text-align: center; }
.pay-backlink { align-self: flex-start; border: 0; background: none; color: var(--dim); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; }

/* paper previews */
.pay-stage-lamp, .pay-stage-paper, .pay-stage-riff, .pay-stage-marvel { display: flex; align-items: center; justify-content: center; padding: 14px; }
.pp-lamp { width: min(330px, 74%); padding: 14px 16px; background: var(--paper); color: var(--paper-ink); font-family: Georgia, serif; border-radius: 3px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); transform: rotate(-1.5deg); }
.pp-lamp h4 { margin: 0; font-size: 20px; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 2px solid var(--paper-ink); }
.pp-sub { margin: 4px 0 8px; font-size: 12.5px; font-style: italic; }
.pp-dial { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 6px; font-family: var(--font); letter-spacing: 0.1em; text-transform: uppercase; }
.pp-dial i { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff8e8, #e9d6ae 60%, #b98a46); box-shadow: 0 0 0 2px #c99a4a; position: relative; }
.pp-dial i::after { content: ""; position: absolute; left: 16px; top: 5px; width: 2px; height: 13px; background: #e0352b; transform-origin: 1px 12px; animation: pp-needle 3s ease-in-out infinite; }
@keyframes pp-needle { 0%, 15% { transform: rotate(-70deg); } 55%, 100% { transform: rotate(40deg); } }
.pp-roll { margin: 0; padding-left: 22px; font-size: 14px; line-height: 1.6; }
.pp-you { font-weight: 700; background: linear-gradient(90deg, rgba(242, 165, 65, 0.45), transparent); animation: pp-glow 2s ease-in-out infinite; }
@keyframes pp-glow { 50% { background-color: rgba(255, 210, 120, 0.35); } }
.pp-salute { margin: 8px 0 0; font-size: 12.5px; font-style: italic; }
.pay-glove { position: absolute; right: 4%; bottom: 6%; width: 26%; animation: pay-salute 3s ease-in-out infinite; transform-origin: 20% 90%; }
.pay-glove svg { width: 100%; height: auto; }
@keyframes pay-salute { 0%, 40% { transform: rotate(0); } 55% { transform: rotate(-18deg); } 70%, 100% { transform: rotate(0); } }
.pay-clip { position: absolute; right: 10px; bottom: 10px; width: min(250px, 52%); transform: rotate(1.5deg); }
.pp-shopper { padding: 10px 12px; background: #efe6cf; color: var(--paper-ink); font-family: Georgia, serif; border-radius: 2px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); font-size: 12px; }
.pp-mast { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--paper-ink); padding-bottom: 2px; }
.pp-mast b { font-size: 14px; } .pp-mast span { font-size: 10px; font-style: italic; }
.pp-shopper h5 { margin: 6px 0 4px; font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; }
.pp-ad { margin: 4px 0; font-size: 11px; color: #5a4a30; }
.pp-paid { margin: 4px 0; padding: 4px 6px; background: rgba(242, 165, 65, 0.3); font-size: 12px; }
.pp-tag { display: inline-block; margin-right: 6px; padding: 0 4px; border: 1px solid var(--paper-ink); font: 700 9px/1.4 var(--font); letter-spacing: 0.14em; }
.pp-patrons { padding: 10px 12px; background: var(--paper); color: var(--paper-ink); font-family: Georgia, serif; border-radius: 2px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5); }
.pp-patrons h5 { margin: 0 0 4px; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; border-bottom: 1px solid var(--paper-ink); }
.pp-patrons ul { margin: 0; padding: 0; list-style: none; font-size: 13px; }
.pp-blank { font-style: italic; color: #8a7a5a; }
.pp-framewrap { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; }
.pp-frame { position: relative; padding: 12px; background: linear-gradient(135deg, #8a5a20, #e7b65a 30%, #7a4a14 60%, #d9a54a); border-radius: 4px; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6); width: min(380px, 86%); }
.pp-front { padding: 12px 14px; background: var(--paper); color: var(--paper-ink); font-family: Georgia, serif; }
.pp-masthead { text-align: center; border-bottom: 3px double var(--paper-ink); padding-bottom: 4px; }
.pp-masthead b { display: block; font-size: 22px; font-family: "Old English Text MT", Georgia, serif; letter-spacing: 0.02em; }
.pp-masthead span { font-size: 9.5px; font-style: italic; }
.pp-front h3 { margin: 8px 0 4px; font-size: 17px; line-height: 1.15; text-transform: uppercase; }
.pp-lede { margin: 0; font-size: 11px; line-height: 1.35; }
.pp-pic { position: relative; height: 52px; margin: 6px 0; background: linear-gradient(180deg, #d8ccb0, #b8a888); overflow: hidden; }
.pp-sun { position: absolute; right: 18%; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: #fff3c8; box-shadow: 0 0 12px #fff3c8; }
.pp-ship { position: absolute; left: 16%; top: 24px; width: 46px; height: 10px; border-radius: 10px 30px 30px 10px; background: #3a2a1a; }
.pp-side { margin: 0; font-size: 10px; font-style: italic; border-top: 1px solid var(--paper-ink); padding-top: 3px; }
.pp-sample { position: absolute; left: -6px; top: 18px; padding: 3px 10px; background: var(--teal); color: #08221e; font-size: 11px; font-weight: 700; transform: rotate(-6deg); box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4); }
.pp-cap { margin: 0; font-size: 12px; color: var(--dim); }
.pay-chip { border: 0; border-radius: 999px; padding: 6px 12px; background: var(--brass); color: #2a1a08; font-size: 13px; cursor: pointer; }
.pay-riff { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pay-riff svg { width: 92%; height: auto; animation: pay-swim 4s ease-in-out infinite; }
@keyframes pay-swim { 50% { transform: translateY(-8px) rotate(-1deg); } }
.pay-marquee { display: flex; flex-direction: column; align-items: center; padding: 8px 18px; border-radius: 10px; background: #1a1030; box-shadow: 0 0 0 2px var(--brass), 0 0 24px rgba(255, 90, 160, 0.35); text-align: center; }
.pay-marquee small { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--teal); }
.pay-marquee b { font-size: clamp(16px, 2vw, 22px); color: #ffd1ec; text-shadow: 0 0 10px #ff5aa8, 0 0 22px #ff5aa8; animation: pay-neon 2.4s steps(1) infinite; }
.pay-marquee span { font-size: 11px; color: var(--dim); }
@keyframes pay-neon { 92% { opacity: 0.6; } }
.pay-blue { width: min(420px, 92%); padding: 16px; border-radius: 6px; color: #e6f2ff; text-align: center; background: #123a6a; background-image: linear-gradient(rgba(207, 230, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(207, 230, 255, 0.12) 1px, transparent 1px); background-size: 18px 18px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 0 2px rgba(207, 230, 255, 0.4); }
.pay-blue-pic svg { width: 120px; height: 120px; }
.pay-blue h4 { margin: 4px 0; font-size: 19px; letter-spacing: 0.06em; }
.pay-blue p { margin: 4px 0; font-size: 13.5px; }
.pay-blue-q { color: var(--amber); font-weight: 700; }

/* the door, always there */
.pay-door { position: absolute; left: 16px; bottom: 64px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border: 0; border-radius: 999px; color: var(--ink); font-size: 13px; letter-spacing: 0.06em; pointer-events: auto; cursor: pointer;
  background: linear-gradient(180deg, rgba(74, 40, 24, 0.92), rgba(44, 22, 13, 0.92)); box-shadow: inset 0 0 0 1px rgba(217, 165, 74, 0.6), 0 4px 14px rgba(0, 0, 0, 0.4); }
.pay-door:hover { box-shadow: inset 0 0 0 1px var(--brass-hi), 0 0 18px rgba(242, 165, 65, 0.35); }
.pay-door-coin { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #3a2408; background: radial-gradient(circle at 35% 30%, #fff1c8, #e7b65a 55%, #a6721f); }

/* the screen that lights up at the moment of want */
.pay-nudge { position: absolute; left: 16px; top: 50%; width: min(300px, calc(100vw - 32px)); padding: 10px 12px 12px; border-radius: 12px; pointer-events: auto; opacity: 0; transform: translate(-12px, -50%); transition: opacity 0.4s, transform 0.4s;
  background: linear-gradient(180deg, rgba(10, 30, 28, 0.94), rgba(8, 16, 22, 0.94)); box-shadow: inset 0 0 0 1px rgba(95, 201, 184, 0.55), 0 10px 30px rgba(0, 0, 0, 0.5); font-size: 14px; line-height: 1.38; }
.pay-nudge::after { content: ""; position: absolute; inset: 0; border-radius: 12px; pointer-events: none; background: repeating-linear-gradient(180deg, rgba(95, 201, 184, 0.05) 0 2px, transparent 2px 4px); }
.pay-nudge.show { opacity: 1; transform: translate(0, -50%); }
.pay-nudge-top { display: flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--teal); }
.pay-led { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); animation: lamp 1.2s ease-in-out infinite; }
.pay-nudge p { margin: 6px 0 2px; color: var(--ink); }
.pay-nudge small { display: block; color: var(--amber); font-size: 12px; }
.pay-nudge-acts { display: flex; gap: 8px; margin-top: 10px; }
.pay-nudge-go { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 12px; border: 0; border-radius: 999px; font-family: var(--font); font-size: 13px; color: #2a1a08; background: linear-gradient(180deg, #f8d58c, #e09a3a); cursor: pointer; }
.pay-nudge-no { padding: 8px 12px; border: 0; border-radius: 999px; font-family: var(--font); font-size: 13px; color: var(--dim); background: rgba(244, 234, 214, 0.08); cursor: pointer; }

/* a tag over something in the world: a gleaming ship, the empty plinth */
.pay-tag { position: absolute; left: var(--x, -999px); top: var(--y, -999px); transform: translate(-50%, -100%); display: none; flex-direction: column; align-items: center; gap: 1px; padding: 6px 12px 7px; border: 0; border-radius: 12px; pointer-events: auto; cursor: pointer; color: var(--ink); text-align: center;
  background: rgba(20, 14, 30, 0.86); box-shadow: inset 0 0 0 1px rgba(217, 165, 74, 0.6), 0 6px 18px rgba(0, 0, 0, 0.45); font-family: var(--font); }
.pay-tag::after { content: ""; position: absolute; left: 50%; bottom: -7px; transform: translateX(-50%); border: 7px solid transparent; border-bottom: 0; border-top-color: rgba(217, 165, 74, 0.8); }
.pay-tag.show { display: flex; }
.pay-tag b { font-size: 13px; color: var(--brass-hi); }
.pay-tag small { font-size: 10.5px; color: var(--dim); max-width: 190px; }
.pay-tag-go { font-size: 11px; color: var(--teal); letter-spacing: 0.08em; }

@media (max-width: 760px) {
  .panels:has(> .pay) { padding: 0; align-items: stretch; }
  .pay-sheet { max-height: none; height: 100%; border-radius: 0; box-shadow: none; }
  .pay-head { padding: 14px 16px 10px; }
  .pay-body { padding: 14px 14px 26px; gap: 14px; }
  .pay-house .pay-body { grid-template-columns: 1fr; grid-template-areas: "counter" "lead" "ledger" "earn" "wall"; }
  .pay-split { grid-template-columns: 1fr; }
  .pay-clerk b { font-size: 12px; } .pay-clerk span, .pay-clerk em { font-size: 11px; }
  .pay-bubble { font-size: 14px; }
  .pay-plates { grid-template-columns: repeat(2, 1fr); }
  .pay-door { left: auto; right: 14px; bottom: 62px; padding: 5px; }
  .pay-door span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .pay-door-coin { width: 30px; height: 30px; font-size: 15px; }
  .pay-nudge { top: 36%; transform: translate(0, 10px); }
  .pay-nudge.show { transform: none; }
  .pay-clip { width: 60%; }
}
@media (prefers-reduced-motion: reduce) { .pay-glove, .pay-riff svg, .pp-dial i::after, .pp-you, .pay-bulb { animation: none !important; } }
/* fix pass 2 (27 Nov): the nudge's two buttons are 44 px tall on touch (the tour flagged 35 px at 820 and 390) */
@media (max-width: 1100px), (pointer: coarse) { .pay-nudge-go, .pay-nudge-no { min-height: 44px; } }
