/* Board card shapes (Anton 2026-11-26). One source of truth: BSHAPE in app.js sets data-shape on every plate, owner chip and
   title deed. circle = Ironbrook (copper), rect = Goldspire (gold, the middle board), diamond = Nexus (cyan, four-sided rhombus). */
[data-shape="circle"] { --rim: #e58a4e; --rim-d: #7d3b16; --rim-l: #ffd2a6; }
[data-shape="rect"] { --rim: #f0c85a; --rim-d: #8a6a14; --rim-l: #fff1b8; }
/* Nexus: the rim IS the colour (Round 3): the street's group colour (--rimc, set from app.js), cyan when there is none */
[data-shape="diamond"] { --rim: var(--rimc, #4dd8ff); --rim-d: color-mix(in srgb, var(--rim) 45%, #0a1228); --rim-l: color-mix(in srgb, var(--rim) 35%, #fff); --dia: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* ------------------------------------------------------------ plates on the board */
.plate .pl-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: stretch; }
.plate[data-shape="circle"] { border-radius: 50%; border-color: color-mix(in srgb, var(--rim) 78%, #fff);
  box-shadow: 0 0 0 calc(var(--bw) * .35) var(--rim-d), 0 0 calc(var(--bw) * 4) color-mix(in srgb, var(--rim) 60%, transparent), inset 0 0 calc(var(--bw) * 3) color-mix(in srgb, var(--band) 45%, transparent), inset 0 calc(var(--bw) * .6) 0 rgba(255,255,255,.35), 0 calc(var(--bw) * 9) calc(var(--bw) * 5) calc(var(--bw) * -3) rgba(10,14,30,.38); }
.plate[data-shape="circle"]::before { left: 18%; right: 18%; top: calc(var(--bw) * .4); }
.plate[data-shape="circle"] .pl-in b { line-height: 1.02; align-items: center; padding: 0 8%; }
.plate[data-shape="circle"] .pl-in b, .plate[data-shape="diamond"] .pl-in b { white-space: nowrap; text-align: center; }
.plate[data-shape="diamond"] { overflow: visible; background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  filter: drop-shadow(0 0 calc(var(--bw) * 2.2) color-mix(in srgb, var(--rim) 75%, transparent)) drop-shadow(0 calc(var(--bw) * 6) calc(var(--bw) * 3) rgba(10,14,30,.4)); }
.plate[data-shape="diamond"]::before { content: ''; position: absolute; inset: 0; left: 0; right: 0; top: 0; height: auto; clip-path: var(--dia);
  background: linear-gradient(135deg, var(--rim-l), var(--rim) 35%, var(--rim-d) 62%, var(--rim) 80%, var(--rim-l)); }
.plate[data-shape="diamond"] .pl-in { clip-path: var(--dia); transform: scale(.925);
  background: repeating-linear-gradient(0deg, rgba(120,230,255,.07) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.03) 45%), color-mix(in srgb, var(--rim) 12%, rgba(8,16,38,.92)); }
.plate[data-shape="diamond"] .pl-in b { background: none; border: 0; flex: 0 0 var(--bh); align-items: flex-end; justify-content: center; line-height: 1.02; padding-bottom: 1%; }
.plate[data-shape="diamond"] .pl-in span { flex: 1 1 auto; align-items: flex-start; padding-top: 3%; }
.plate[data-shape="diamond"].lot-mortgaged::after { font-size: 6px; }

/* owner chip: same shape as the board's cards */
.own-flag[data-shape="circle"] { border-color: #fff; box-shadow: 0 0 0 1px var(--rim-d), 0 1px 3px rgba(0,0,0,.5); }
.own-flag[data-shape="rect"] { border-radius: 2px; aspect-ratio: 1.45 !important; border-width: 1.5px; border-color: var(--rim-l); box-shadow: 0 0 0 1px var(--rim-d), 0 1px 3px rgba(0,0,0,.5); }
.own-flag[data-shape="diamond"] { border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg) scale(.82); border-color: var(--rim-l); box-shadow: 0 0 0 1px var(--rim-d), 0 0 5px var(--rim); }

/* ------------------------------------------------------------ the pop-up title deed */
.deed-wrap { max-height: none; }
/* one fixed track the size of the layer: a pop-up taller than the layer now overflows evenly top and bottom (an auto track grew
   to the item and pinned it to the top, which cut the panel off) and the fit-scale in landDeed() can centre it */
.deed-layer { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
@media (max-width: 600px), (max-height: 520px) { .deed-layer { position: fixed; z-index: 3000; } }
@media (max-height: 520px) and (orientation: landscape) { .deed-wrap { flex-direction: row; gap: 10px; } .deed-wrap .deed-panel { align-self: center; } }

/* rect: the existing deed, with the board's metal rim */
.deed-card[data-shape="rect"] .deed-face { box-shadow: 0 0 0 2px var(--rim), 0 0 0 3.5px rgba(255,255,255,.75), 0 0 26px 4px var(--glow), 0 18px 40px rgba(10,14,30,.45); }

/* circle (Ironbrook) */
.deed-card[data-shape="circle"] { width: min(318px, 82vw); aspect-ratio: 1; }
.deed-card[data-shape="circle"] .deed-flip { height: 100%; }
.deed-card[data-shape="circle"] .deed-face, .deed-card[data-shape="circle"] .deed-sweep { border-radius: 50%; }
.deed-card[data-shape="circle"] .deed-face { box-shadow: 0 0 0 3px var(--rim), 0 0 0 4.5px rgba(255,255,255,.8), 0 0 0 6px var(--rim-d), 0 0 26px 6px var(--glow), 0 18px 40px rgba(10,14,30,.45); }
.deed-card[data-shape="circle"] .deed-front { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding: 8% 14%; }
.deed-card[data-shape="circle"] .deed-band { border-radius: 14px; padding: 5px 8px 5px; }
.deed-card[data-shape="circle"] .deed-kick { font-size: 8px; }
.deed-card[data-shape="circle"] .deed-name { font-size: clamp(15px, 4.4vw, 20px) !important; }
.deed-card[data-shape="circle"] .deed-meta { padding: 4px 4px 1px; font-size: 11px !important; }
.deed-card[data-shape="circle"] .deed-rows { width: 100%; margin: 2px 0; font-size: 11.5px !important; }
.deed-card[data-shape="circle"] .deed-foot { display: none; }
.deed-card[data-shape="circle"] .deed-owner { padding: 4px 0 0; font-size: 12px; }
.deed-card[data-shape="circle"] .deed-stamp { font-size: 20px; padding: 1px 8px; }
.deed-wrap[data-shape="circle"] .deed-panel { border-radius: 40px; padding: 10px 26px; width: min(318px, 86vw); box-sizing: border-box; box-shadow: 0 0 0 2px var(--rim), 0 0 0 3.5px rgba(255,255,255,.7), 0 10px 30px rgba(10,14,30,.35); }

/* diamond (Nexus): a four-sided rhombus; text sits where the rhombus is wide enough for it */
.deed-wrap[data-shape="diamond"] { filter: drop-shadow(0 0 14px var(--glow)) drop-shadow(0 14px 18px rgba(10,14,30,.5)); }
.deed-card[data-shape="diamond"] { width: min(410px, 98vw); aspect-ratio: 1 / 1.08; }
.deed-card[data-shape="diamond"] .deed-flip { height: 100%; }
.deed-card[data-shape="diamond"] .deed-face, .deed-card[data-shape="diamond"] .deed-sweep { clip-path: var(--dia); border-radius: 0; box-shadow: none; }
.deed-card[data-shape="diamond"] .deed-face { background: linear-gradient(135deg, var(--rim-l), var(--rim) 30%, var(--rim-d) 60%, var(--rim) 80%, var(--rim-l)); }
.deed-card[data-shape="diamond"] .deed-back { background: radial-gradient(circle at 50% 45%, var(--glow), #1d2747 68%); }
.deed-card[data-shape="diamond"] .deed-front { position: relative; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12% 0 25%; }
.deed-card[data-shape="diamond"] .deed-front { background: none; }
/* hologram: the rim is its own layer (::after, behind) so only the rim flickers; the glass (::before) is a frosted, near-solid backing with faint scanlines */
.deed-card[data-shape="diamond"] .deed-front::after { content: ''; position: absolute; inset: 0; clip-path: var(--dia); z-index: 0; pointer-events: none;
  background: linear-gradient(135deg, var(--rim-l), var(--rim) 30%, var(--rim-d) 60%, var(--rim) 80%, var(--rim-l)); animation: holoRim 2.6s steps(1, end) infinite; }
.deed-card[data-shape="diamond"] .deed-front::before { content: ''; position: absolute; inset: 2.6%; clip-path: var(--dia); z-index: 1;
  background: repeating-linear-gradient(0deg, rgba(0,150,200,.06) 0 1px, transparent 1px 3px), linear-gradient(160deg, rgba(255,255,255,.55), rgba(255,255,255,0) 40%), rgba(238,251,255,.95); }
@keyframes holoRim { 0%, 100% { opacity: 1; } 18% { opacity: .86; } 20% { opacity: 1; } 61% { opacity: .9; } 63% { opacity: 1; } 64% { opacity: .84; } 66% { opacity: 1; } }
.deed-card[data-shape="diamond"] { --glow: var(--rim); }
.deed-card[data-shape="diamond"] .deed-band { background: rgba(8,22,50,.92) !important; color: #e8fbff !important; }
.deed-card[data-shape="diamond"] .deed-front > * { position: relative; z-index: 2; }
.deed-card[data-shape="diamond"] .deed-band { width: 40%; border-radius: 10px; padding: 4px 4px 4px; }
.deed-card[data-shape="diamond"] .deed-kick { font-size: 7.5px; letter-spacing: .06em; }
.deed-card[data-shape="diamond"] .deed-name { font-size: clamp(13px, 3.9vw, 18px) !important; }
.deed-card[data-shape="diamond"] .deed-meta { width: 44%; box-sizing: border-box; padding: 4px 0 1px; font-size: 10.5px !important; justify-content: center; gap: 8px; }
.deed-card[data-shape="diamond"] .deed-meta b { font-size: 13px; }
.deed-card[data-shape="diamond"] .deed-rows { width: 54%; margin: 1px 0; font-size: 11px !important; } .deed-card[data-shape="diamond"] .deed-rows td { padding-top: 1px; padding-bottom: 1px; }
.deed-card[data-shape="diamond"] .deed-foot { display: none; }
.deed-card[data-shape="diamond"] .deed-owner { width: 44%; box-sizing: border-box; padding: 4px 0 0; font-size: 11px; }
.deed-card[data-shape="diamond"] .deed-stamp { font-size: 18px; padding: 1px 8px; }
.deed-wrap[data-shape="diamond"] .deed-panel { width: min(340px, 94vw); box-sizing: border-box; padding: 10px 18px; }
.deed-wrap[data-shape="diamond"] .deed-row .btn.big { min-width: 96px; }

/* ============================================================ Round 3: card materials (CSS only, no image files)
   Motion budget: the only animations are transform (Goldspire glare, one element on the one open deed) and opacity (Nexus rim
   flicker, one pseudo-element on the one open deed). Nothing animates a filter, shadow or layout; no JS per frame. Plates on the
   board are static (they already float via the existing translate animation). All motion is off under prefers-reduced-motion
   and when the deed already has the .reduced class. */

/* ---- Ironbrook: factory-worn copper (Industrial Docks): soot smudges, an oil sheen, rivets on the rim, a faint smoke haze at the edge */
.deed-card[data-shape="circle"] .deed-front { position: relative;
  background:
    radial-gradient(ellipse 34% 22% at 18% 80%, rgba(38,28,22,.20), transparent 72%),
    radial-gradient(ellipse 28% 18% at 84% 22%, rgba(38,28,22,.15), transparent 72%),
    radial-gradient(ellipse 22% 14% at 64% 93%, rgba(38,28,22,.14), transparent 72%),
    conic-gradient(from 25deg at 34% 28%, rgba(70,200,185,.07), rgba(190,100,220,.07), rgba(245,175,70,.09), rgba(70,200,185,.07)),
    radial-gradient(circle at 36% 26%, #fcefdc, #f3d8b8 62%, #e2b88c);
  box-shadow: inset 0 0 0 2px rgba(125,59,22,.55), inset 0 0 26px 7px rgba(62,50,42,.34), 0 0 0 3px var(--rim), 0 0 0 4.5px rgba(255,255,255,.8), 0 0 0 6px var(--rim-d), 0 0 26px 6px var(--glow), 0 18px 40px rgba(10,14,30,.45); }
.deed-card[data-shape="circle"] .deed-front::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='%23ffd2a6' stroke='%237d3b16' stroke-width='.7'%3E%3Ccircle cx='50' cy='4.2' r='1.7'/%3E%3Ccircle cx='72.5' cy='8.2' r='1.7'/%3E%3Ccircle cx='91.8' cy='27.5' r='1.7'/%3E%3Ccircle cx='95.8' cy='50' r='1.7'/%3E%3Ccircle cx='91.8' cy='72.5' r='1.7'/%3E%3Ccircle cx='72.5' cy='91.8' r='1.7'/%3E%3Ccircle cx='50' cy='95.8' r='1.7'/%3E%3Ccircle cx='27.5' cy='91.8' r='1.7'/%3E%3Ccircle cx='8.2' cy='72.5' r='1.7'/%3E%3Ccircle cx='4.2' cy='50' r='1.7'/%3E%3Ccircle cx='8.2' cy='27.5' r='1.7'/%3E%3Ccircle cx='27.5' cy='8.2' r='1.7'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.plate[data-shape="circle"] {
  background:
    radial-gradient(ellipse 36% 24% at 20% 82%, rgba(30,22,16,.30), transparent 72%),
    radial-gradient(ellipse 30% 20% at 82% 20%, rgba(30,22,16,.22), transparent 72%),
    conic-gradient(from 25deg at 36% 30%, rgba(80,210,190,.10), rgba(190,100,220,.10), rgba(245,175,70,.12), rgba(80,210,190,.10)),
    radial-gradient(circle at 50% 6%, #ffd2a6 0 .9px, #7d3b16 1.3px, transparent 1.8px), radial-gradient(circle at 94% 50%, #ffd2a6 0 .9px, #7d3b16 1.3px, transparent 1.8px),
    radial-gradient(circle at 50% 94%, #ffd2a6 0 .9px, #7d3b16 1.3px, transparent 1.8px), radial-gradient(circle at 6% 50%, #ffd2a6 0 .9px, #7d3b16 1.3px, transparent 1.8px),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 45%), color-mix(in srgb, var(--band) 22%, rgba(12,18,36,.42));
  box-shadow: 0 0 0 calc(var(--bw) * .35) var(--rim-d), 0 0 calc(var(--bw) * 4) color-mix(in srgb, var(--rim) 60%, transparent), inset 0 0 calc(var(--bw) * 3) color-mix(in srgb, var(--band) 45%, transparent), inset 0 0 calc(var(--bw) * 4) rgba(46,36,30,.5), inset 0 calc(var(--bw) * .6) 0 rgba(255,255,255,.35), 0 calc(var(--bw) * 9) calc(var(--bw) * 5) calc(var(--bw) * -3) rgba(10,14,30,.38); }

/* ---- Goldspire: marble lives ONLY on the coloured name band (Anton 07:57); the rest of the card stays as it was. Glare sweeps the band every 3 s */
.deed-card[data-shape="rect"] .deed-band { position: relative; overflow: hidden; isolation: isolate; }
.deed-card[data-shape="rect"] .deed-band::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    linear-gradient(118deg, transparent 30%, rgba(255,255,255,.42) 31.4%, rgba(255,255,255,.14) 33%, transparent 35%),
    linear-gradient(64deg, transparent 56%, rgba(0,0,0,.26) 57.3%, rgba(0,0,0,.08) 58.8%, transparent 61%),
    linear-gradient(162deg, transparent 12%, rgba(255,255,255,.30) 13.4%, transparent 16%),
    linear-gradient(28deg, transparent 74%, rgba(0,0,0,.18) 75.2%, transparent 77%),
    linear-gradient(140deg, transparent 84%, rgba(255,255,255,.28) 85.2%, transparent 87%),
    radial-gradient(ellipse 60% 70% at 22% 25%, rgba(255,255,255,.28), transparent 70%),
    radial-gradient(ellipse 55% 70% at 82% 85%, rgba(0,0,0,.18), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.38) 0, rgba(255,255,255,.12) 46%, transparent 50%, rgba(0,0,0,.08) 100%); /* polished gloss: lacquer highlight on the top half */
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 -1px 0 rgba(0,0,0,.25); }
.deed-card[data-shape="rect"] .deed-band::after { content: ''; position: absolute; top: -40%; bottom: -40%; left: 0; width: 30%; pointer-events: none; z-index: -1;
  background: linear-gradient(100deg, transparent 0, rgba(255,255,255,.25) 35%, rgba(255,255,255,.95) 49%, rgba(255,255,255,.95) 51%, rgba(255,255,255,.25) 65%, transparent 100%); mix-blend-mode: screen; /* bright specular streak, glossy flash */ transform: translateX(-160%) skewX(-18deg); will-change: transform;
  animation: marbleGlare 3s linear 1.2s infinite; }
@keyframes marbleGlare { 0% { transform: translateX(-160%) skewX(-18deg); } 38%, 100% { transform: translateX(420%) skewX(-18deg); } }
.plate[data-shape="rect"] {
  background:
    linear-gradient(118deg, transparent 40%, rgba(255,255,255,.17) 41%, transparent 43%),
    linear-gradient(64deg, transparent 60%, rgba(255,255,255,.12) 61%, transparent 62.5%),
    linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.05) 45%), color-mix(in srgb, var(--band) 20%, rgba(14,16,30,.5));
  border-color: #e3c25f;
  box-shadow: 0 0 0 calc(var(--bw) * .4) #8a6a14, 0 0 calc(var(--bw) * 3) rgba(240,200,90,.5), inset 0 0 0 1px rgba(255,241,184,.65), inset 0 0 calc(var(--bw) * 3) color-mix(in srgb, var(--band) 40%, transparent), 0 calc(var(--bw) * 9) calc(var(--bw) * 5) calc(var(--bw) * -3) rgba(10,14,30,.38); }
/* Goldspire's new palette has light (Champagne, Rose Quartz, Sage) and dark (Garnet, Midnight Onyx) groups: the name band is near-opaque
   and its text takes the ink app.js picks for the raw colour (inkFor), instead of white-on-translucent that washed out on light bands */
.plate[data-shape="rect"] b { background: color-mix(in srgb, var(--band) 94%, transparent); color: var(--bink); text-shadow: none; }

/* ---- Nexus: readable hologram (translucent glass, faint scanlines, solid-enough backing under all text; the rim carries the colour) */
/* Round 4: every action panel is a solid, opaque, rounded box (never the card's shape, never see-through) with dark ink */
.deed-wrap .deed-panel { background-color: #fffdf7; color: #1a2238; border-radius: 14px; clip-path: none; }
.deed-wrap[data-shape="diamond"] .deed-panel { background-color: #f1fbff; background-image: repeating-linear-gradient(0deg, rgba(0,150,200,.05) 0 1px, transparent 1px 3px); border-radius: 14px; }
.deed-wrap[data-shape="circle"] .deed-panel { border-radius: 40px; }
.deed-wrap .deed-panel .deed-due { color: #1a2238; background: #fffdf7; } .deed-wrap[data-shape="diamond"] .deed-panel .deed-due { background: #f1fbff; }
.deed-wrap .deed-panel .small.muted { color: #3b4560; }
.plate[data-shape="diamond"] .pl-in b, .plate[data-shape="diamond"] .pl-in span { text-shadow: 0 0 1px rgba(0,0,0,.95), 0 1px 2px rgba(0,0,0,.9), 0 0 6px color-mix(in srgb, var(--rim) 70%, transparent); }

/* ---- Round 4b: Nexus status lines ("You own this.", "Owned by ...") sit on a base plate joined to the diamond's bottom point:
   solid opaque backing, hologram rim in the group colour, dark readable ink. The diamond holds only title, price and rent rows. */
.deed-card[data-shape="diamond"] { margin-bottom: 64px; }
.deed-card[data-shape="diamond"] .deed-base { position: absolute; left: 50%; top: calc(100% - 3px); transform: translateX(-50%); z-index: 3; box-sizing: border-box;
  width: min(300px, 88%); min-height: 40px; padding: 6px 12px 7px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  background-color: #eefaff; background-image: repeating-linear-gradient(0deg, rgba(0,150,200,.06) 0 1px, transparent 1px 3px); color: #10223a; text-align: center;
  border: 2.5px solid var(--rim); border-radius: 4px 4px 14px 14px; clip-path: none;
  box-shadow: 0 0 0 1.5px var(--rim-d), 0 0 12px color-mix(in srgb, var(--rim) 70%, transparent), 0 6px 12px rgba(10,14,30,.4); }
.deed-card[data-shape="diamond"] .deed-base::before { content: ''; position: absolute; left: 50%; top: -9px; width: 18px; height: 9px; transform: translateX(-50%); background: var(--rim); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.deed-card[data-shape="diamond"] .deed-base .deed-due { font-size: 13px; font-weight: 800; color: #10223a; background: none; line-height: 1.2; }
.deed-card[data-shape="diamond"] .deed-base .deed-owner { width: auto; padding: 0; font-size: 12.5px; color: #10223a; line-height: 1.2; }
.deed-card[data-shape="diamond"] .deed-base .deed-owner.bank { color: #3b4a66; }
.deed-card[data-shape="diamond"] .deed-base .deed-owner .mini-piece { width: 18px; height: 18px; }
.deed-wrap[data-shape="diamond"] .deed-panel[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .deed-card[data-shape="rect"] .deed-band::after, .deed-card[data-shape="diamond"] .deed-front::after { animation: none; }
  .deed-card[data-shape="rect"] .deed-band::after { display: none; }
}
.deed-wrap.reduced .deed-card[data-shape="rect"] .deed-band::after { display: none; animation: none; }
.deed-wrap.reduced .deed-card[data-shape="diamond"] .deed-front::after { animation: none; }

/* ---- Round 6: Nexus hologram (Anton 08:16): glass face + tech outer rim that glows the card's colour.
   Rim = group colour only (var(--rim)), segmented with tech notches and a bright inner neon line; glass = frosted, see-through
   tint with a slow light sweep. Text backing stays readable. */
.deed-wrap[data-shape="diamond"] { filter: drop-shadow(0 0 10px var(--rim)) drop-shadow(0 0 26px color-mix(in srgb, var(--rim) 60%, transparent)) drop-shadow(0 14px 18px rgba(10,14,30,.5)); }
.deed-card[data-shape="diamond"] .deed-front::after {
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(6,14,32,.55) 22px 25px),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(6,14,32,.55) 22px 25px),
    linear-gradient(135deg, var(--rim-l), var(--rim) 35%, var(--rim) 65%, var(--rim-l)); }
.deed-card[data-shape="diamond"] .deed-front::before { inset: 3.4%;
  -webkit-backdrop-filter: blur(6px) saturate(1.2); backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: none;
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.5) 45%, rgba(255,255,255,.15) 52%, transparent 62%) -160% 0 / 220% 100% no-repeat,
    repeating-linear-gradient(0deg, color-mix(in srgb, var(--rim) 9%, transparent) 0 1px, transparent 1px 3px),
    radial-gradient(120% 70% at 50% 6%, rgba(255,255,255,.6), rgba(255,255,255,0) 55%),
    linear-gradient(160deg, rgba(240,252,255,.86), color-mix(in srgb, var(--rim) 12%, rgba(228,246,255,.8)));
  animation: holoSweep 4.2s ease-in-out infinite; }
@keyframes holoSweep { 0%, 15% { background-position: -160% 0, 0 0, 0 0, 0 0; } 60%, 100% { background-position: 260% 0, 0 0, 0 0, 0 0; } }
.deed-card[data-shape="diamond"] .deed-band { background: linear-gradient(180deg, #102a52, #071330) !important; color: #effcff !important;
  border: 1.5px solid var(--rim);
  box-shadow: 0 0 10px color-mix(in srgb, var(--rim) 80%, transparent), inset 0 1px 0 rgba(255,255,255,.3); }
.deed-card[data-shape="diamond"] .deed-kick { color: var(--rim-l); letter-spacing: .12em; }
.deed-card[data-shape="diamond"] .deed-name { text-shadow: 0 0 8px color-mix(in srgb, var(--rim) 75%, transparent); }
.deed-card[data-shape="diamond"] .deed-rows tr:first-child td { background: color-mix(in srgb, var(--rim) 24%, rgba(255,255,255,.7)); }
.deed-card[data-shape="diamond"] .deed-rows td { border-bottom-color: color-mix(in srgb, var(--rim) 40%, transparent) !important; }
.deed-card[data-shape="diamond"] .deed-base { border-color: var(--rim); box-shadow: 0 0 0 1.5px var(--rim-d), 0 0 14px var(--rim), 0 6px 12px rgba(10,14,30,.4); }
@media (prefers-reduced-motion: reduce) { .deed-card[data-shape="diamond"] .deed-front::before { animation: none; } }
.deed-wrap.reduced .deed-card[data-shape="diamond"] .deed-front::before { animation: none; }

/* ---- Round 6b: thick reflective glass (Anton 08:20): more see-through, deeper bevel, big reflection, edge refraction. */
.deed-card[data-shape="diamond"] .deed-front::before { inset: 3.4%;
  -webkit-backdrop-filter: blur(10px) saturate(1.4) brightness(1.08); backdrop-filter: blur(10px) saturate(1.4) brightness(1.08);
  background:
    linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 45%, rgba(255,255,255,.12) 52%, transparent 62%) -160% 0 / 220% 100% no-repeat,
    linear-gradient(135deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.18) 22%, rgba(255,255,255,0) 34%),
    linear-gradient(315deg, color-mix(in srgb, var(--rim) 45%, rgba(0,20,50,.35)) 0%, rgba(0,0,0,0) 26%),
    radial-gradient(70% 45% at 50% 52%, rgba(240,252,255,.55), rgba(240,252,255,.22) 70%, rgba(240,252,255,0)),
    linear-gradient(160deg, rgba(225,246,255,.42), color-mix(in srgb, var(--rim) 22%, rgba(200,236,255,.32))); }
/* bevel: a bright inner edge on the light side, a deep tinted edge on the far side, like a thick slab */
.deed-card[data-shape="diamond"] .deed-rows, .deed-card[data-shape="diamond"] .deed-meta { text-shadow: 0 0 6px rgba(240,252,255,.95), 0 0 2px rgba(255,255,255,1); }
.deed-card[data-shape="diamond"] .deed-rows tr td { background: rgba(240,252,255,.38); }
.deed-card[data-shape="diamond"] .deed-rows tr:first-child td { background: color-mix(in srgb, var(--rim) 30%, rgba(255,255,255,.55)); }
.deed-card[data-shape="diamond"] .deed-meta { background: rgba(240,252,255,.38); border-radius: 8px; }

/* ---- Round 6c: sci-fi tech rim (Anton 08:20). Gunmetal frame; the circuit (edge rails, segmented light bar, ports,
   vertex chevrons) is drawn as a mask over a layer filled with the card colour, so every light glows in --rim. */
.deed-card[data-shape="diamond"] .deed-front { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 108' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%237d8aa3'/%3E%3Cstop offset='.3' stop-color='%231b2233'/%3E%3Cstop offset='.5' stop-color='%2336405a'/%3E%3Cstop offset='.72' stop-color='%23121826'/%3E%3Cstop offset='1' stop-color='%235a6680'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill-rule='evenodd' fill='url%28%23g%29' d='M50,0 L100,54 L50,108 L0,54 Z M50,2.700000000000003 L97.5,54 L50,105.3 L2.5,54 Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important; }
.deed-card[data-shape="diamond"] .deed-front::after {
  background: linear-gradient(135deg, var(--rim-l), var(--rim) 40%, var(--rim) 60%, var(--rim-l));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 108' preserveAspectRatio='none'%3E%3Cpolygon points='50,0.6480000000000032 99.4,54 50,107.352 0.6000000000000014,54' fill='none' stroke='%23fff' stroke-width='.45'/%3E%3Cpolygon points='50,3.024000000000001 97.19999999999999,54 50,104.976 2.8000000000000043,54' fill='none' stroke='%23fff' stroke-width='.7'/%3E%3Cpolygon points='50,1.8359999999999985 98.3,54 50,106.164 1.7000000000000028,54' fill='none' stroke='%23fff' stroke-opacity='.85' stroke-width='1.1' stroke-dasharray='5 1.2 1.2 1.2 1.2 6'/%3E%3Ccircle cx='74.15' cy='27.918' r='1.15' fill='%23fff'/%3E%3Ccircle cx='67.388' cy='20.615039999999997' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='80.912' cy='35.22096' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='74.15' cy='80.082' r='1.15' fill='%23fff'/%3E%3Ccircle cx='80.912' cy='72.77904' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='67.388' cy='87.38496' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='25.85' cy='80.082' r='1.15' fill='%23fff'/%3E%3Ccircle cx='32.612' cy='87.38496' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='19.088' cy='72.77904000000001' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='25.85' cy='27.918' r='1.15' fill='%23fff'/%3E%3Ccircle cx='19.088' cy='35.220960000000005' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='32.612' cy='20.61504' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Cpolyline points='46.85,8.802 50,5.399999999999999 53.15,8.802' fill='none' stroke='%23fff' stroke-width='0.9' stroke-linejoin='miter'/%3E%3Cpolyline points='46.9375,10.057500000000001 50,6.75 53.0625,10.057500000000001' fill='none' stroke='%23fff' stroke-width='0.5' stroke-linejoin='miter'/%3E%3Crect x='48.7' y='0.5359999999999985' width='2.6' height='2.6' transform='rotate%2845 50 1.8359999999999985%29' fill='%23fff'/%3E%3Cpolyline points='91.85,50.598 95.0,54 91.85,57.402' fill='none' stroke='%23fff' stroke-width='0.9' stroke-linejoin='miter'/%3E%3Cpolyline points='90.6875,50.6925 93.75,54 90.6875,57.3075' fill='none' stroke='%23fff' stroke-width='0.5' stroke-linejoin='miter'/%3E%3Crect x='97.0' y='52.7' width='2.6' height='2.6' transform='rotate%2845 98.3 54%29' fill='%23fff'/%3E%3Cpolyline points='53.15,99.198 50,102.6 46.85,99.198' fill='none' stroke='%23fff' stroke-width='0.9' stroke-linejoin='miter'/%3E%3Cpolyline points='53.0625,97.9425 50,101.25 46.9375,97.9425' fill='none' stroke='%23fff' stroke-width='0.5' stroke-linejoin='miter'/%3E%3Crect x='48.7' y='104.864' width='2.6' height='2.6' transform='rotate%2845 50 106.164%29' fill='%23fff'/%3E%3Cpolyline points='8.15,57.402 5.0,54 8.15,50.598' fill='none' stroke='%23fff' stroke-width='0.9' stroke-linejoin='miter'/%3E%3Cpolyline points='9.3125,57.3075 6.25,54 9.3125,50.6925' fill='none' stroke='%23fff' stroke-width='0.5' stroke-linejoin='miter'/%3E%3Crect x='0.4000000000000028' y='52.7' width='2.6' height='2.6' transform='rotate%2845 1.7000000000000028 54%29' fill='%23fff'/%3E%3C/svg%3E") center / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 108' preserveAspectRatio='none'%3E%3Cpolygon points='50,0.6480000000000032 99.4,54 50,107.352 0.6000000000000014,54' fill='none' stroke='%23fff' stroke-width='.45'/%3E%3Cpolygon points='50,3.024000000000001 97.19999999999999,54 50,104.976 2.8000000000000043,54' fill='none' stroke='%23fff' stroke-width='.7'/%3E%3Cpolygon points='50,1.8359999999999985 98.3,54 50,106.164 1.7000000000000028,54' fill='none' stroke='%23fff' stroke-opacity='.85' stroke-width='1.1' stroke-dasharray='5 1.2 1.2 1.2 1.2 6'/%3E%3Ccircle cx='74.15' cy='27.918' r='1.15' fill='%23fff'/%3E%3Ccircle cx='67.388' cy='20.615039999999997' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='80.912' cy='35.22096' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='74.15' cy='80.082' r='1.15' fill='%23fff'/%3E%3Ccircle cx='80.912' cy='72.77904' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='67.388' cy='87.38496' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='25.85' cy='80.082' r='1.15' fill='%23fff'/%3E%3Ccircle cx='32.612' cy='87.38496' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='19.088' cy='72.77904000000001' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='25.85' cy='27.918' r='1.15' fill='%23fff'/%3E%3Ccircle cx='19.088' cy='35.220960000000005' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Ccircle cx='32.612' cy='20.61504' r='.6' fill='none' stroke='%23fff' stroke-width='.35'/%3E%3Cpolyline points='46.85,8.802 50,5.399999999999999 53.15,8.802' fill='none' stroke='%23fff' stroke-width='0.9' stroke-linejoin='miter'/%3E%3Cpolyline points='46.9375,10.057500000000001 50,6.75 53.0625,10.057500000000001' fill='none' stroke='%23fff' stroke-width='0.5' stroke-linejoin='miter'/%3E%3Crect x='48.7' y='0.5359999999999985' width='2.6' height='2.6' transform='rotate%2845 50 1.8359999999999985%29' fill='%23fff'/%3E%3Cpolyline points='91.85,50.598 95.0,54 91.85,57.402' fill='none' stroke='%23fff' stroke-width='0.9' stroke-linejoin='miter'/%3E%3Cpolyline points='90.6875,50.6925 93.75,54 90.6875,57.3075' fill='none' stroke='%23fff' stroke-width='0.5' stroke-linejoin='miter'/%3E%3Crect x='97.0' y='52.7' width='2.6' height='2.6' transform='rotate%2845 98.3 54%29' fill='%23fff'/%3E%3Cpolyline points='53.15,99.198 50,102.6 46.85,99.198' fill='none' stroke='%23fff' stroke-width='0.9' stroke-linejoin='miter'/%3E%3Cpolyline points='53.0625,97.9425 50,101.25 46.9375,97.9425' fill='none' stroke='%23fff' stroke-width='0.5' stroke-linejoin='miter'/%3E%3Crect x='48.7' y='104.864' width='2.6' height='2.6' transform='rotate%2845 50 106.164%29' fill='%23fff'/%3E%3Cpolyline points='8.15,57.402 5.0,54 8.15,50.598' fill='none' stroke='%23fff' stroke-width='0.9' stroke-linejoin='miter'/%3E%3Cpolyline points='9.3125,57.3075 6.25,54 9.3125,50.6925' fill='none' stroke='%23fff' stroke-width='0.5' stroke-linejoin='miter'/%3E%3Crect x='0.4000000000000028' y='52.7' width='2.6' height='2.6' transform='rotate%2845 1.7000000000000028 54%29' fill='%23fff'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 0 2px var(--rim)) drop-shadow(0 0 5px var(--rim)); }
.deed-card[data-shape="diamond"] .deed-front::before { inset: 5%; }

/* Round 8b: Goldspire deed rows 11.4px on phones (was 10.5px from the base mobile rule); band / marble untouched */
@media (max-width: 600px) { .deed-card[data-shape="rect"] .deed-rows { font-size: 11.4px; } }

/* ============================================================ QA 1127 (Anton 2026-11-27 08:00 ET, "remember the no pill rule"):
   the deed's ONE action bar (Buy / Pass, Pay, OK, Ask Bix / Close) is a row of engraved plates in each board's material, never
   capsules. The button's own background is the plate's rim; ::before (behind the label, isolation) is the face, clipped to the same
   outline one rim-width in; Ironbrook rivets / Goldspire veins / Nexus scanlines are drawn on the face. Every plate is >= 46 px tall. */
.deed-wrap .deed-row { gap: 10px; }
.deed-wrap .deed-row .btn { --cut: 8px; min-height: 46px; min-width: 104px; padding: 10px 20px; border: 0; border-radius: 0; isolation: isolate; overflow: visible;
  font: 700 17px/1.1 var(--font-display, Fredoka), Nunito, sans-serif; letter-spacing: .02em; box-shadow: none; text-shadow: none; filter: none;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.deed-wrap .deed-row .btn::before { content: ''; position: absolute; inset: 2px; z-index: -1; height: auto; left: 2px; right: 2px; top: 2px; border-radius: 0; opacity: 1; pointer-events: none;
  clip-path: polygon(calc(var(--cut) - 1px) 0, calc(100% - var(--cut) + 1px) 0, 100% calc(var(--cut) - 1px), 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, calc(var(--cut) - 1px) 100%, 0 calc(100% - var(--cut) + 1px), 0 calc(var(--cut) - 1px)); }
.deed-wrap .deed-row .btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.06); }
.deed-wrap .deed-row .btn:active:not(:disabled) { transform: translateY(2px); box-shadow: none; }
.deed-wrap .deed-row .btn:disabled { filter: grayscale(.7); opacity: .55; }
.deed-wrap .deed-row .btn:focus-visible { outline: 3px solid #41e3cf; outline-offset: 3px; }

/* Ironbrook: riveted steel plate, chamfered corners; Buy = green enamel, Pay = red enamel, OK / Close = blued steel */
/* (actionplates-1128 calm pass contrast check: Ironbrook Buy / Pay and Goldspire Buy faces are deeper so their white labels are >= 4.5:1;
   they measured 2.1 / 3.3 / 2.5:1) */
.deed-wrap[data-shape="circle"] .deed-row .btn { color: #18202b; background: linear-gradient(180deg, #6b7480, #2b3139); }
.deed-wrap[data-shape="circle"] .deed-row .btn::before {
  background: radial-gradient(circle at 9px 50%, #f6f8fa 0 1.4px, #4a525d 1.9px, transparent 2.6px), radial-gradient(circle at calc(100% - 9px) 50%, #f6f8fa 0 1.4px, #4a525d 1.9px, transparent 2.6px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px), linear-gradient(180deg, #f1f3f6 0%, #c9cfd7 52%, #a3acb7 100%); }
.deed-wrap[data-shape="circle"] .deed-row .btn.green { color: #fff; } .deed-wrap[data-shape="circle"] .deed-row .btn.green::before {
  background: radial-gradient(circle at 9px 50%, #f6f8fa 0 1.4px, #4a525d 1.9px, transparent 2.6px), radial-gradient(circle at calc(100% - 9px) 50%, #f6f8fa 0 1.4px, #4a525d 1.9px, transparent 2.6px), linear-gradient(180deg, #1f7d44 0%, #165f35 100%); }
.deed-wrap[data-shape="circle"] .deed-row .btn.red { color: #fff; } .deed-wrap[data-shape="circle"] .deed-row .btn.red::before {
  background: radial-gradient(circle at 9px 50%, #f6f8fa 0 1.4px, #4a525d 1.9px, transparent 2.6px), radial-gradient(circle at calc(100% - 9px) 50%, #f6f8fa 0 1.4px, #4a525d 1.9px, transparent 2.6px), linear-gradient(180deg, #c43a3a 0%, #8f1a1a 100%); }
.deed-wrap[data-shape="circle"] .deed-row .btn:not(.green):not(.red):not(.ghost):not(.small) { color: #fff; } .deed-wrap[data-shape="circle"] .deed-row .btn:not(.green):not(.red):not(.ghost):not(.small)::before {
  background: radial-gradient(circle at 9px 50%, #f6f8fa 0 1.4px, #4a525d 1.9px, transparent 2.6px), radial-gradient(circle at calc(100% - 9px) 50%, #f6f8fa 0 1.4px, #4a525d 1.9px, transparent 2.6px), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px), linear-gradient(180deg, #5c7fae 0%, #2c4670 100%); }
/* the Ironbrook action panel is a steel plate too (was a 40 px-radius capsule) */
.deed-wrap[data-shape="circle"] .deed-panel { border-radius: 8px; }

/* Goldspire: gilt-edged marble plate with square-notched corners; Buy = green marble, Pay = garnet, OK / Close = onyx with gilt ink */
.deed-wrap[data-shape="rect"] .deed-row .btn { --cut: 6px; color: #3a2a0c; background: linear-gradient(135deg, #fff1b8 0%, #d9a91c 32%, #8a6510 58%, #f5d77a 82%, #b8860b 100%);
  clip-path: polygon(0 var(--cut), var(--cut) var(--cut), var(--cut) 0, calc(100% - var(--cut)) 0, calc(100% - var(--cut)) var(--cut), 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, var(--cut) calc(100% - var(--cut)), 0 calc(100% - var(--cut))); }
.deed-wrap[data-shape="rect"] .deed-row .btn::before { inset: 2px;
  clip-path: polygon(0 calc(var(--cut) - 2px), calc(var(--cut) - 2px) calc(var(--cut) - 2px), calc(var(--cut) - 2px) 0, calc(100% - var(--cut) + 2px) 0, calc(100% - var(--cut) + 2px) calc(var(--cut) - 2px), 100% calc(var(--cut) - 2px), 100% calc(100% - var(--cut) + 2px), calc(100% - var(--cut) + 2px) calc(100% - var(--cut) + 2px), calc(100% - var(--cut) + 2px) 100%, calc(var(--cut) - 2px) 100%, calc(var(--cut) - 2px) calc(100% - var(--cut) + 2px), 0 calc(100% - var(--cut) + 2px));
  background: linear-gradient(118deg, transparent 38%, rgba(120,110,95,.28) 39.5%, transparent 42%), linear-gradient(64deg, transparent 62%, rgba(150,140,120,.22) 63.2%, transparent 65.5%), linear-gradient(160deg, transparent 18%, rgba(255,255,255,.7) 19.5%, transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 50%), linear-gradient(180deg, #fbf8f1 0%, #ece5d6 100%); }
.deed-wrap[data-shape="rect"] .deed-row .btn.green { color: #fff; } .deed-wrap[data-shape="rect"] .deed-row .btn.green::before {
  background: linear-gradient(118deg, transparent 38%, rgba(255,255,255,.22) 39.5%, transparent 42%), linear-gradient(64deg, transparent 62%, rgba(0,0,0,.2) 63.2%, transparent 65.5%), linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 50%), linear-gradient(180deg, #1f6b43 0%, #124a2c 100%); }
.deed-wrap[data-shape="rect"] .deed-row .btn.red { color: #fff; } .deed-wrap[data-shape="rect"] .deed-row .btn.red::before {
  background: linear-gradient(118deg, transparent 38%, rgba(255,255,255,.2) 39.5%, transparent 42%), linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 50%), linear-gradient(180deg, #b3283f 0%, #6e0f22 100%); }
.deed-wrap[data-shape="rect"] .deed-row .btn:not(.green):not(.red):not(.ghost):not(.small) { color: #ffe39a; } .deed-wrap[data-shape="rect"] .deed-row .btn:not(.green):not(.red):not(.ghost):not(.small)::before {
  background: linear-gradient(118deg, transparent 38%, rgba(255,255,255,.16) 39.5%, transparent 42%), linear-gradient(64deg, transparent 62%, rgba(255,230,160,.14) 63.2%, transparent 65.5%), linear-gradient(180deg, #34384f 0%, #171a28 100%); }

/* Nexus: hologram glass bar with angled ends; Buy = green glass, Pay = red glass, OK / Close = cyan glass, Pass / Ask Bix = clear glass */
.deed-wrap[data-shape="diamond"] .deed-row .btn { --cut: 14px; color: #e8fbff; background: linear-gradient(90deg, #7fe6ff, #b98cff 50%, #7fe6ff);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%); padding-left: 24px; padding-right: 24px; }
.deed-wrap[data-shape="diamond"] .deed-row .btn::before { inset: 1.5px;
  clip-path: polygon(calc(var(--cut) - .5px) 0, calc(100% - var(--cut) + .5px) 0, 100% 50%, calc(100% - var(--cut) + .5px) 100%, calc(var(--cut) - .5px) 100%, 0 50%);
  background: repeating-linear-gradient(0deg, rgba(127,230,255,.10) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 55%), rgba(10,26,58,.94); }
.deed-wrap[data-shape="diamond"] .deed-row .btn.green { background: linear-gradient(90deg, #6dffb8, #7fe6ff 50%, #6dffb8); } .deed-wrap[data-shape="diamond"] .deed-row .btn.green::before {
  background: repeating-linear-gradient(0deg, rgba(109,255,184,.12) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,0) 55%), rgba(8,74,52,.95); }
.deed-wrap[data-shape="diamond"] .deed-row .btn.red { background: linear-gradient(90deg, #ff7a90, #ffb36b 50%, #ff7a90); } .deed-wrap[data-shape="diamond"] .deed-row .btn.red::before {
  background: repeating-linear-gradient(0deg, rgba(255,122,144,.12) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 55%), rgba(92,14,34,.95); }
.deed-wrap[data-shape="diamond"] .deed-row .btn:not(.green):not(.red):not(.ghost):not(.small)::before {
  background: repeating-linear-gradient(0deg, rgba(127,230,255,.14) 0 1px, transparent 1px 3px), linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0) 55%), rgba(14,92,128,.95); }

/* ---- QA 1127 #2: Ironbrook soot read as 15-20 %: heavier smudges at the rim (where there is no text), a darker inner burn, and one
   more smudge low left. The rows sit on the clean centre, so the text stays crisp. */
.deed-card[data-shape="circle"] .deed-front {
  background:
    radial-gradient(ellipse 36% 24% at 16% 82%, rgba(34,24,18,.46), transparent 72%),
    radial-gradient(ellipse 30% 20% at 86% 20%, rgba(34,24,18,.38), transparent 72%),
    radial-gradient(ellipse 26% 16% at 66% 94%, rgba(34,24,18,.36), transparent 72%),
    radial-gradient(ellipse 18% 26% at 6% 46%, rgba(34,24,18,.30), transparent 72%),
    radial-gradient(ellipse 16% 22% at 95% 60%, rgba(34,24,18,.26), transparent 72%),
    conic-gradient(from 25deg at 34% 28%, rgba(70,200,185,.07), rgba(190,100,220,.07), rgba(245,175,70,.09), rgba(70,200,185,.07)),
    radial-gradient(circle at 36% 26%, #fcefdc, #f3d8b8 62%, #e2b88c);
  box-shadow: inset 0 0 0 2px rgba(125,59,22,.6), inset 0 0 30px 9px rgba(52,40,32,.5), 0 0 0 3px var(--rim), 0 0 0 4.5px rgba(255,255,255,.8), 0 0 0 6px var(--rim-d), 0 0 26px 6px var(--glow), 0 18px 40px rgba(10,14,30,.45); }

/* ============================================================ cards-1128 BEGIN
   Card redesign (Anton approved 15:53 ET 2026-11-28 on round 2: "can we make the edges round in, everything else yes").
   On every deed the set colour leaves the name band and becomes the card's rim; the name band goes neutral (iron plate on Ironbrook,
   navy on Goldspire, glass on Nexus). app.js cardDecor() sets --cd-set / --cd-lit / --cd-mid / --cd-shade / --cd-edge and
   data-set-tone (dark / mid / light) from propColor, and adds the parts (collar, enamel ring, rim layers, brackets, beam).
   CORNERS: every corner that was a chamfer in the mockups is concave (an inverted radius, like a certificate or ticket notch).
   The concave cut is a mask of four corner tiles; an element inset --ccD from the outer edge cuts a circle of radius --ccR + --ccD
   centred on the OUTER corner, so the rim layers stay parallel all the way round the notch. No border-radius on anything new.
   ============================================================ */
.cd[data-shape="rect"] .deed-face, .cd[data-shape="rect"] .deed-face::before, .cd[data-shape="rect"] .deed-face::after, .cd[data-shape="rect"] .cd-l, .cd[data-shape="rect"] .cd-beam,
.cd[data-shape="rect"] .deed-sweep, .cd[data-shape="circle"] .deed-band, .cd[data-shape="circle"] .deed-band::before, .cd[data-shape="diamond"] .deed-band, .cd[data-shape="diamond"] .deed-band::before,
.modal-card.cd-draw-gs, .modal-card.cd-draw-gs::after, .modal-card.cd-draw-gs > .cd-beam, .modal-card.cd-draw-gs .card-shape.rectangle, .modal-card.cd-draw-gs .card-shape.rectangle .card-art, .modal-card.cd-draw-gs .btn,
.do-shape.cdm[data-shape="rect"] .rim, .do-shape.cdm[data-shape="rect"] .rim::before, .do-shape.cdm[data-shape="rect"] .rim::after, .do-shape.cdm[data-shape="rect"] .face, .do-shape.cdm[data-shape="rect"] .vig {
  --ccK: calc(var(--ccR, 12px) + var(--ccD, 0px));
  -webkit-mask:
    radial-gradient(circle at calc(0px - var(--ccD, 0px)) calc(0px - var(--ccD, 0px)), #0000 var(--ccK), #000 calc(var(--ccK) + .7px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--ccD, 0px)) calc(0px - var(--ccD, 0px)), #0000 var(--ccK), #000 calc(var(--ccK) + .7px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at calc(0px - var(--ccD, 0px)) calc(100% + var(--ccD, 0px)), #0000 var(--ccK), #000 calc(var(--ccK) + .7px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--ccD, 0px)) calc(100% + var(--ccD, 0px)), #0000 var(--ccK), #000 calc(var(--ccK) + .7px)) 100% 100% / 51% 51% no-repeat;
  mask:
    radial-gradient(circle at calc(0px - var(--ccD, 0px)) calc(0px - var(--ccD, 0px)), #0000 var(--ccK), #000 calc(var(--ccK) + .7px)) 0 0 / 51% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--ccD, 0px)) calc(0px - var(--ccD, 0px)), #0000 var(--ccK), #000 calc(var(--ccK) + .7px)) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle at calc(0px - var(--ccD, 0px)) calc(100% + var(--ccD, 0px)), #0000 var(--ccK), #000 calc(var(--ccK) + .7px)) 0 100% / 51% 51% no-repeat,
    radial-gradient(circle at calc(100% + var(--ccD, 0px)) calc(100% + var(--ccD, 0px)), #0000 var(--ccK), #000 calc(var(--ccK) + .7px)) 100% 100% / 51% 51% no-repeat; }

/* ------------------------------------------------------------ IRONBROOK: cast-iron collar, enamel rim in the set colour, iron name plate */
/* the collar sits round the deed (content-box padding keeps the face at today's size); it stays still while the deed flips inside it */
.cd[data-shape="circle"] { box-sizing: content-box; padding: 23px; }
.cd[data-shape="circle"] > .cd-collar { position: absolute; left: 50%; top: 50%; z-index: 0; width: calc((100% - 46px) * 1.14465); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(255, 154, 60, .35)) drop-shadow(0 14px 18px rgba(10, 14, 30, .55)); }
.cd > .cd-collar img, .cd-draw-ib .cd-collar img { display: block; width: 100%; height: 100%; }
.cd[data-shape="circle"] .deed-flip { z-index: 1; }
.cd[data-shape="circle"] > .deed-sweep { inset: 23px; }
/* the rim: enamel ring + rivets in the set colour (.cd-ring); a gold keyline and a dark iron lip where the iron meets the enamel */
.cd[data-shape="circle"] .deed-front::before { display: none; }
.cd[data-shape="circle"] .deed-front > .cd-ring { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.cd[data-shape="circle"] .deed-front > :not(.cd-ring) { position: relative; z-index: 2; }
.cd[data-shape="circle"] .deed-front > .deed-stamp { position: absolute; z-index: 3; }
.cd[data-shape="circle"] .deed-face { box-shadow: 0 0 0 1.5px #211a14, 0 0 0 3px #d9b864, 0 0 0 6px #352b23; }
.cd[data-shape="circle"] .deed-front { padding: 9% 18%; box-shadow: inset 0 0 30px 12px rgba(62, 50, 42, .28), 0 0 0 1.5px #211a14, 0 0 0 3px #d9b864, 0 0 0 6px #352b23; }
/* the name: a cast-iron name plate, concave corners, gold keyline (the collar's own metal), cream lettering */
.cd[data-shape="circle"] .deed-band { box-sizing: border-box; width: 180px; max-width: 100%; align-self: center; --ccR: 12px; isolation: isolate; border-radius: 0; padding: 6px 12px 6px;
  background: linear-gradient(135deg, #f3dc9a, #c9a456 40%, #7a5a1e 70%, #e9c66e) !important; color: #f3e6c8 !important; }
.cd[data-shape="circle"] .deed-band::before { content: ''; position: absolute; inset: 1.5px; z-index: -1; --ccD: 1.5px;
  background: radial-gradient(ellipse 60% 120% at 30% 0%, rgba(255, 230, 190, .12), transparent 70%), linear-gradient(180deg, #5b4d40, #493c31 55%, #3a3027); }
.cd[data-shape="circle"] .deed-kick { color: #e3d2ac; opacity: 1; letter-spacing: .14em; }
.cd[data-shape="circle"] .deed-name { color: #f6ead0; text-shadow: 0 1.5px 0 rgba(20, 13, 8, .7); }
/* the thicker ring and its inner shade sit closer to the bottom lines: their ink goes one step darker (>= 4.5:1 by pixels) */
.cd[data-shape="circle"] .deed-meta, .cd[data-shape="circle"] .deed-owner.bank { color: #323b5e; }
/* the owner line sits where the circle narrows: smaller, and it may wrap inside 72% of the face instead of running into the ring */
.cd[data-shape="circle"] .deed-owner { font-size: 11px; gap: 4px; max-width: 72%; align-self: center; flex-wrap: wrap; text-align: center; line-height: 1.2; }
.cd[data-shape="circle"] .deed-owner .mini-piece { width: 18px; height: 18px; }
/* the back: the whole manhole cover, back B (Anton's pick 17:54 ET 2026-11-28): canon Bix sits in the brass medallion, baked into the cover art */
.cd[data-shape="circle"] .deed-back { background: #2a221b; }
.cd[data-shape="circle"] .deed-back > .cd-cover { position: absolute; inset: 0; z-index: 0; }
.cd[data-shape="circle"] .deed-back > .cd-cover img { display: block; width: 100%; height: 100%; }
.cd[data-shape="circle"] .deed-back > img { display: none; }   /* no pasted Bix: he is part of the cover art */
.cd[data-shape="circle"] .deed-back > div:not(.cd-cover) { display: none; }   /* TRICITY TYCOON is cast into the cover */
/* deck draws (Lottery Luck, Community Aide): the round art in the same collar, CITY OF IRONBROOK over the deck's name */
.cd-draw-ib .card-shape { position: relative; margin: 26px auto 18px; }
.cd-draw-ib .card-shape .card-art { position: relative; z-index: 1; width: 200px; height: 200px; border-width: 3px; box-sizing: content-box; }
.cd-draw-ib .card-shape .cd-collar { position: absolute; z-index: 0; left: 50%; top: 50%; width: 242px; height: 242px; transform: translate(-50%, -50%); pointer-events: none;
  filter: drop-shadow(0 8px 12px rgba(5, 8, 24, .55)); }
.cd-draw-ib .btn { min-height: 48px; min-width: 132px; }   /* the live OK keeps its look; only its tap target grows to the 44 px rule */

/* ------------------------------------------------------------ GOLDSPIRE: the Build Line banner as the card (navy, brass, brackets, beam) */
/* tokens from the live palette: navy #1a2247 / #141b42 / #0f1531, brass #d4b062 (the live primary plate), --gold3 #fff1b8, cream-gold #f3dfa0 */
.cd[data-shape="rect"], .cd-draw-gs { --gs-n1: #1d2650; --gs-n2: #161d45; --gs-n3: #0f1531; --gs-brass: #d4b062; --gs-cream: #f3dfa0; --gs-ink: #efe7d2; --gs-mute: #cfc7b3;
  --gs-rule: linear-gradient(90deg, rgba(212, 176, 98, 0), #b8923f 8%, #d4b062 22%, #fff1b8 50%, #d4b062 78%, #b8923f 92%, rgba(212, 176, 98, 0));
  --gs-rim: linear-gradient(135deg, #fff1b8 0%, #d4b062 26%, #8a6a14 55%, #e9c66e 78%, #fff3c4 100%);
  --gs-navy: repeating-linear-gradient(115deg, rgba(255, 255, 255, .016) 0 1px, transparent 1px 4px), linear-gradient(172deg, var(--gs-n1) 0%, var(--gs-n2) 46%, var(--gs-n3) 100%); }
/* brackets (cdBracket SVG, drawn top-left, mirrored here) and the twin light beam */
.cd-brk { position: absolute; z-index: 3; line-height: 0; pointer-events: none; }
.cd-brk.tl { left: 0; top: 0; } .cd-brk.tr { right: 0; top: 0; transform: scaleX(-1); } .cd-brk.bl { left: 0; bottom: 0; transform: scaleY(-1); } .cd-brk.br { right: 0; bottom: 0; transform: scale(-1, -1); }
.cd-beam { position: absolute; inset: 0; z-index: 0; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(111deg, transparent 50%, rgba(255, 241, 184, .045) 52%, rgba(255, 241, 184, .085) 54.5%, transparent 57.5%),
    linear-gradient(69deg, transparent 39%, rgba(255, 241, 184, .04) 41%, rgba(255, 241, 184, .075) 43.5%, transparent 46.5%); }
/* the plate: the face is masked to its concave outline (brass rim = ::before, navy = ::after); the glow is a drop-shadow, since a
   mask drops box-shadows. --gbw is the set-colour band (8 px; 10.5 px for light sets, so Champagne still reads beside the brass). */
.cd[data-shape="rect"] { --gbw: 8px; --gbx: 0px; filter: drop-shadow(0 0 12px rgba(255, 215, 106, .38)) drop-shadow(0 16px 22px rgba(5, 8, 24, .55)); }
.cd[data-shape="rect"][data-set-tone="light"] { --gbw: 10.5px; --gbx: 2.5px; }
.cd[data-shape="rect"] .deed-face { --ccR: 12px; border-radius: 0; box-shadow: none; overflow: visible; background: none; position: relative; isolation: isolate; }
.cd[data-shape="rect"] .deed-back { position: absolute; }
.cd[data-shape="rect"] .deed-face::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--gs-rim); }
.cd[data-shape="rect"] .deed-face::after { content: ''; position: absolute; inset: 2px; --ccD: 2px; z-index: -1; background: var(--gs-navy); }
.cd[data-shape="rect"] .deed-sweep { --ccR: 12px; border-radius: 0; }
.cd[data-shape="rect"] .deed-front > :not(.cd-brk, .cd-beam, .cd-l, .deed-stamp) { position: relative; z-index: 1; }
/* rim, outside in: brass edge 0-1.5 / keyline 1.5-2.5 / enamel 2.5-(2.5+gbw) / keyline / brass inner line 1.5 / navy. The keylines
   make the set read against brass and navy: dark bronze round light and mid sets, the set's own lit tint round dark sets. */
.cd[data-shape="rect"] { --sep: #3a2a0c; }
.cd[data-shape="rect"][data-set-tone="dark"] { --sep: var(--cd-edge); }
.cd[data-shape="rect"] .deed-front > .cd-l { position: absolute; z-index: -1; pointer-events: none; }
.cd[data-shape="rect"] .deed-front > .cd-sep-out { inset: 1.5px; --ccD: 1.5px; background: var(--sep); }
.cd[data-shape="rect"] .deed-front > .cd-band { inset: 2.5px; --ccD: 2.5px;
  background:
    linear-gradient(118deg, transparent 30%, rgba(255, 255, 255, .3) 31.4%, transparent 33.5%),
    linear-gradient(64deg, transparent 56%, rgba(0, 0, 0, .18) 57.3%, transparent 60%),
    linear-gradient(162deg, transparent 12%, rgba(255, 255, 255, .22) 13.4%, transparent 16%),
    linear-gradient(28deg, transparent 74%, rgba(0, 0, 0, .14) 75.2%, transparent 77%),
    linear-gradient(135deg, var(--cd-lit) 0%, var(--cd-mid) 28%, var(--cd-set) 62%, var(--cd-shade) 100%); }
.cd[data-shape="rect"] .deed-front > .cd-sep-in { inset: calc(2.5px + var(--gbw)); --ccD: calc(2.5px + var(--gbw)); background: var(--sep); }
.cd[data-shape="rect"] .deed-front > .cd-inner { inset: calc(3.5px + var(--gbw)); --ccD: calc(3.5px + var(--gbw)); background: var(--gs-rim); }
.cd[data-shape="rect"] .deed-front::after { inset: calc(5px + var(--gbw)); --ccD: calc(5px + var(--gbw)); }
.cd[data-shape="rect"] .deed-front > .cd-beam { inset: calc(5px + var(--gbw)); --ccD: calc(5px + var(--gbw)); }
.cd[data-shape="rect"] .deed-back > .cd-beam { inset: 2px; --ccD: 2px; }
/* the name: navy, cream-gold Lilita, one gold rule under it (the banner's rule). The marble strip is gone. */
.cd[data-shape="rect"] .deed-band { background: transparent !important; color: var(--gs-cream) !important; padding: calc(30px + var(--gbx)) calc(20px + var(--gbx)) 12px; overflow: visible; border-top: 0; box-shadow: none; }
.cd[data-shape="rect"] .deed-band::before { inset: auto calc(22px + var(--gbx)) 0; height: 1px; z-index: 0; box-shadow: none; background: var(--gs-rule); }
.cd[data-shape="rect"] .deed-band::after { display: none; animation: none; }
.cd[data-shape="rect"] .deed-band > * { position: relative; z-index: 1; }
.cd[data-shape="rect"] .deed-kick { color: var(--gs-brass); opacity: 1; font: 800 9.5px/1.2 Nunito, sans-serif; letter-spacing: .1em; white-space: nowrap; }
.cd[data-shape="rect"] .deed-kick::before { content: none; }
.cd[data-shape="rect"] .deed-name { font: 400 22px/1.05 var(--font-hero, 'Lilita One'), Fredoka, sans-serif !important; letter-spacing: .02em; color: var(--gs-cream); text-shadow: 0 2px 0 rgba(0, 0, 0, .5); margin-top: 4px; }
.cd[data-shape="rect"] .deed-meta { color: var(--gs-mute); padding: 9px calc(20px + var(--gbx)) 2px; }
.cd[data-shape="rect"] .deed-meta b { color: var(--gs-cream); font-family: var(--font-hero, 'Lilita One'), Fredoka, sans-serif; font-weight: 400; letter-spacing: .02em; }
/* phones (the deed is 56vw, ~200 px): the meta line keeps a clear gap between "Goldspire · space N" and the price */
.cd[data-shape="rect"] .deed-meta { gap: 6px; }
@media (max-width: 600px) { .cd[data-shape="rect"] .deed-meta { padding-left: calc(19px + var(--gbx)); padding-right: calc(19px + var(--gbx)); font-size: 10.5px; } .cd[data-shape="rect"] .deed-meta b { font-size: 13px; }
  .cd[data-shape="rect"] .deed-kick { letter-spacing: .05em; } }   /* the longest kicker (TITLE DEED · MIDNIGHT ONYX) keeps clear of the brackets and the inner rim at 360 */
.cd[data-shape="rect"] .deed-rows { width: calc(100% - 34px - 2 * var(--gbx)); margin-left: calc(17px + var(--gbx)); margin-right: calc(17px + var(--gbx)); }
.cd[data-shape="rect"] .deed-rows td { color: var(--gs-ink); border-bottom: 1px dashed rgba(212, 176, 98, .3); }
.cd[data-shape="rect"] .deed-rows td:last-child { color: var(--gs-cream); }
.cd[data-shape="rect"] .deed-rows tr.on td { background: rgba(212, 176, 98, .2); }
.cd[data-shape="rect"] .deed-foot, .cd[data-shape="rect"] .deed-owner, .cd[data-shape="rect"] .deed-owner.bank { color: var(--gs-mute); }
.cd[data-shape="rect"] .deed-owner b { color: var(--gs-cream); }
.cd[data-shape="rect"] .deed-owner { padding-bottom: calc(22px + var(--gbx)); }
/* the back: banner navy, canon Bix over a gold-ruled TRICITY TYCOON / GOLDSPIRE name plate */
.cd[data-shape="rect"] .deed-back { color: var(--gs-cream); }
.cd[data-shape="rect"] .deed-back > img { position: relative; z-index: 1; width: 52%; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); }
.cd[data-shape="rect"] .deed-back > div:not(.cd-brk, .cd-beam) { position: relative; z-index: 1; font: 400 25px/1 var(--font-hero, 'Lilita One'), Fredoka, sans-serif; letter-spacing: .03em;
  color: var(--gs-cream); text-shadow: 0 2px 0 rgba(0, 0, 0, .5); padding: 9px 22px 8px; background: var(--gs-rule) top / 100% 1px no-repeat, var(--gs-rule) bottom / 100% 1px no-repeat; }
.cd[data-shape="rect"] .deed-back > div:not(.cd-brk, .cd-beam)::after { content: 'GOLDSPIRE'; display: block; margin-top: 6px; font: 800 10px/1 Nunito, sans-serif; letter-spacing: .3em; color: var(--gs-brass); text-align: center; }
/* deck draws (Wild Ride, Neighborhood Fund): the same plate; the art in a brass frame; a flat brass OK plate */
.modal-card.cd-draw-gs { --ccR: 14px; position: relative; isolation: isolate; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: hidden; padding: 24px 22px 22px; }
.modal-card.cd-draw-gs::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--gs-rim); }
.modal-card.cd-draw-gs::after { content: ''; position: absolute; inset: 2px; --ccD: 2px; z-index: -1; background: var(--gs-navy); }
.modal-card.cd-draw-gs > .cd-beam { inset: 2px; --ccD: 2px; }
.modal-card.cd-draw-gs > div:not(.cd-brk, .cd-beam) { position: relative; z-index: 1; }
.modal-card.cd-draw-gs .card-deck { color: var(--gs-brass); font: 800 12px/1.2 Nunito, sans-serif; letter-spacing: .24em; }
.modal-card.cd-draw-gs .card-deck::before, .modal-card.cd-draw-gs .card-deck::after { width: 40px; background: linear-gradient(90deg, transparent, var(--gs-brass)); }
.modal-card.cd-draw-gs .card-shape.rectangle { --ccR: 9px; width: 252px; height: 172px; box-sizing: border-box; margin: 12px auto 4px; padding: 3px; background: var(--gs-rim); }
.modal-card.cd-draw-gs .card-shape.rectangle .card-art { --ccR: 9px; --ccD: 3px; width: 100%; height: 100%; box-sizing: border-box; border: 0; border-radius: 0; box-shadow: none; }
.modal-card.cd-draw-gs h2 { font: 400 26px/1.05 var(--font-hero, 'Lilita One'), Fredoka, sans-serif; color: var(--gs-cream); letter-spacing: .02em; text-shadow: 0 2px 0 rgba(0, 0, 0, .5);
  margin: 12px 0 0; padding: 0 0 10px; background: var(--gs-rule) bottom / 150px 1px no-repeat; }
.modal-card.cd-draw-gs .card-text { color: var(--gs-ink); font: 700 17px/1.38 Nunito, sans-serif; margin: 10px 4px 16px; }
.modal-card.cd-draw-gs .btn { --ccR: 6px; position: relative; min-height: 48px; min-width: 132px; padding: 10px 22px; border: 0; border-radius: 0; box-shadow: none; text-shadow: none;
  background: #d4b062; color: #2a1e08; font: 600 17px/1.1 var(--font-display, Fredoka), sans-serif; letter-spacing: .06em; transform: none; filter: none; }
.modal-card.cd-draw-gs .btn::before, .modal-card.cd-draw-gs .btn::after { display: none; }
.modal-card.cd-draw-gs .btn:focus-visible { outline: 2px solid var(--gs-cream); outline-offset: -5px; }

/* ------------------------------------------------------------ NEXUS: neutral glass title plate, the rim carries the set colour */
.cd[data-shape="diamond"] .deed-front::before { inset: 4.6%; }
.cd[data-shape="diamond"][data-set-tone="light"] .deed-front::before { inset: 5.4%; }   /* light sets (Signal Lanes, The Labs): a slightly wider rim */
.cd[data-shape="diamond"] .deed-band { --ccR: 7px; isolation: isolate; border: 0; border-radius: 0; box-shadow: none;
  background: linear-gradient(180deg, #e6f6ff, #9fb9cc) !important; color: #effcff !important; }
.cd[data-shape="diamond"] .deed-band::before { content: ''; position: absolute; inset: 1.5px; --ccD: 1.5px; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), transparent 45%), linear-gradient(180deg, #102a52, #071330); }
.cd[data-shape="diamond"] .deed-band { position: relative; }
.cd[data-shape="diamond"] .deed-kick { color: #cfe4f0; }
.cd[data-shape="diamond"] .deed-name { text-shadow: 0 1px 0 rgba(0, 0, 0, .6); }
/* dark sets (The Summit, Grid Lanes...): the rim is lifted to the set's own lit tint at the bevels so it reads on the night board */
.cd[data-shape="diamond"][data-set-tone="dark"] { --rim-l: var(--cd-edge); }
.cd[data-shape="diamond"][data-set-tone="dark"] .deed-front::after {
  background:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(6,14,32,.45) 22px 25px),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(6,14,32,.45) 22px 25px),
    linear-gradient(135deg, var(--cd-edge), var(--cd-lit) 30%, var(--cd-mid) 50%, var(--cd-lit) 70%, var(--cd-edge)); }

/* ------------------------------------------------------------ DEAL OFFER mini cards (dealMini): the set colour leaves the band for the rim, as on the deeds */
.do-shape.cdm { --cdm-enamel: linear-gradient(135deg, var(--cd-lit) 0%, var(--cd-mid) 28%, var(--cd-set) 62%, var(--cd-shade) 100%); }
/* Ironbrook: the ring is set-colour enamel with set-colour rivets, a gold keyline outside and a dark iron lip inside; the band is the cast-iron name plate */
.do-shape.cdm[data-shape="circle"] .rim { background: var(--cdm-enamel); box-shadow: inset 0 0 0 .75px #d9b864; }
.do-shape.cdm[data-shape="circle"] .rim::after {
  background: radial-gradient(circle at 50% 2.7%, var(--cd-edge) 0 1.1px, var(--cd-shade) 1.6px, transparent 2.1px), radial-gradient(circle at 97.3% 50%, var(--cd-edge) 0 1.1px, var(--cd-shade) 1.6px, transparent 2.1px),
    radial-gradient(circle at 50% 97.3%, var(--cd-edge) 0 1.1px, var(--cd-shade) 1.6px, transparent 2.1px), radial-gradient(circle at 2.7% 50%, var(--cd-edge) 0 1.1px, var(--cd-shade) 1.6px, transparent 2.1px); }
.do-shape.cdm[data-shape="circle"] .face { box-shadow: 0 0 0 1px #2a1d14; }
.do-shape.cdm[data-shape="circle"] .band { background: linear-gradient(180deg, #5b4d40, #493c31 55%, #3a3027); box-shadow: 0 1px 0 #d9b864, 0 2px 3px rgba(0, 0, 0, .35); }
/* Goldspire: brass edge / dark keyline / set-colour enamel / brass inner line / the street, concave corners (mask); the band is the navy name band with its gold rule */
.do-shape.cdm[data-shape="rect"] { --ccR: 5px; --cdm-sep: #3a2a0c; --cdm-e: 4px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.do-shape.cdm[data-shape="rect"][data-set-tone="light"] { --cdm-e: 5px; }   /* light sets (Champagne, Rose Quartz): one px more enamel so they read beside the brass */
.do-shape.cdm[data-shape="rect"][data-set-tone="dark"] { --cdm-sep: var(--cd-edge); }
.do-shape.cdm[data-shape="rect"] .rim { border-radius: 0; filter: none; background: linear-gradient(135deg, #fff1b8 0%, #d4b062 26%, #8a6a14 55%, #e9c66e 78%, #fff3c4 100%); }
.do-shape.cdm[data-shape="rect"] .rim::before { content: ''; position: absolute; inset: 1px; --ccD: 1px; background: var(--cdm-sep); }
.do-shape.cdm[data-shape="rect"] .rim::after { content: ''; position: absolute; inset: 1.5px; --ccD: 1.5px; background: var(--cdm-enamel); }
.do-shape.cdm[data-shape="rect"] .face { inset: var(--cdm-e); --ccD: var(--cdm-e); border-radius: 0; background: linear-gradient(135deg, #fff1b8, #d4b062 40%, #8a6a14 70%, #e9c66e); }
.do-shape.cdm[data-shape="rect"] .face::after { display: none; }
.do-shape.cdm[data-shape="rect"] .vig { inset: 1px; --ccD: calc(var(--cdm-e) + 1px); }
.do-shape.cdm[data-shape="rect"] .band { top: 1px; left: 1px; right: 1px; background: linear-gradient(180deg, #1d2650, #161d45); box-shadow: 0 1px 0 #d4b062, 0 2px 3px rgba(0, 0, 0, .35); }
/* Nexus: the rim already carries the colour; dark sets get the deed's lifted bevel */
.do-shape.cdm[data-shape="diamond"][data-set-tone="dark"] { --rim-l: var(--cd-edge); }
/* ============================================================ cards-1128 END */

/* ============================================================ deciding-1128 (Anton 2026-11-28 05:31 ET: the "<player> is deciding" bar on the
   Nexus hologram was too bright to read). The waiting line under a deed ("X is deciding…", "X owes Y rent…") was cream theme ink on the
   light action panel (1.09:1). It is now its own dark plate in each board's material, chamfered / notched like the deed's action plates
   (never a pill), light ink on a solid dark face; the light panel box around it steps aside. The panel's panelUp animation and the
   deed's mount timing are untouched. */
.deed-wrap .deed-panel:has(> .deed-wait:only-child) { background: none; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 0;
  filter: drop-shadow(0 6px 12px rgba(6,10,24,.5)); }
.deed-wrap .deed-wait { --cut: 9px; position: relative; isolation: isolate; box-sizing: border-box; min-height: 46px; display: flex; align-items: center; justify-content: center;
  padding: 10px 24px; margin: 0; border-radius: 0; text-align: center; font: 700 16px/1.2 var(--font-display, Fredoka), Nunito, sans-serif; letter-spacing: .02em; text-shadow: none;
  color: #f6f3ea; background: linear-gradient(180deg, #8a939f, #2b3139);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut)); }
.deed-wrap .deed-wait::before { content: ''; position: absolute; inset: 2px; z-index: -1; pointer-events: none;
  clip-path: polygon(calc(var(--cut) - 1px) 0, calc(100% - var(--cut) + 1px) 0, 100% calc(var(--cut) - 1px), 100% calc(100% - var(--cut) + 1px), calc(100% - var(--cut) + 1px) 100%, calc(var(--cut) - 1px) 100%, 0 calc(100% - var(--cut) + 1px), 0 calc(var(--cut) - 1px));
  background: radial-gradient(circle at 10px 50%, #c9cfd7 0 1.4px, #12161c 1.9px, transparent 2.6px), radial-gradient(circle at calc(100% - 10px) 50%, #c9cfd7 0 1.4px, #12161c 1.9px, transparent 2.6px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px), linear-gradient(180deg, #2c333d 0%, #191e25 100%); }
/* Goldspire: onyx plate, gilt rim, square-notched corners, gilt ink */
.deed-wrap[data-shape="rect"] .deed-wait { --cut: 6px; color: #ffe39a; background: linear-gradient(135deg, #fff1b8 0%, #d9a91c 32%, #8a6510 58%, #f5d77a 82%, #b8860b 100%);
  clip-path: polygon(0 var(--cut), var(--cut) var(--cut), var(--cut) 0, calc(100% - var(--cut)) 0, calc(100% - var(--cut)) var(--cut), 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, var(--cut) calc(100% - var(--cut)), 0 calc(100% - var(--cut))); }
.deed-wrap[data-shape="rect"] .deed-wait::before {
  clip-path: polygon(0 calc(var(--cut) - 2px), calc(var(--cut) - 2px) calc(var(--cut) - 2px), calc(var(--cut) - 2px) 0, calc(100% - var(--cut) + 2px) 0, calc(100% - var(--cut) + 2px) calc(var(--cut) - 2px), 100% calc(var(--cut) - 2px), 100% calc(100% - var(--cut) + 2px), calc(100% - var(--cut) + 2px) calc(100% - var(--cut) + 2px), calc(100% - var(--cut) + 2px) 100%, calc(var(--cut) - 2px) 100%, calc(var(--cut) - 2px) calc(100% - var(--cut) + 2px), 0 calc(100% - var(--cut) + 2px));
  background: linear-gradient(118deg, transparent 38%, rgba(255,255,255,.08) 39.5%, transparent 42%), linear-gradient(64deg, transparent 62%, rgba(255,230,160,.08) 63.2%, transparent 65.5%), linear-gradient(180deg, #2a2e42 0%, #14161f 100%); }
/* Nexus: deep hologram glass, cyan-violet rim, angled ends, ice ink */
.deed-wrap[data-shape="diamond"] .deed-wait { --cut: 16px; padding-left: 28px; padding-right: 28px; color: #e8fbff; background: linear-gradient(90deg, #7fe6ff, #b98cff 50%, #7fe6ff);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%); }
.deed-wrap[data-shape="diamond"] .deed-wait::before { inset: 2px;
  clip-path: polygon(calc(var(--cut) - .5px) 0, calc(100% - var(--cut) + .5px) 0, 100% 50%, calc(100% - var(--cut) + .5px) 100%, calc(var(--cut) - .5px) 100%, 0 50%);
  background: repeating-linear-gradient(0deg, rgba(127,230,255,.07) 0 1px, transparent 1px 3px), linear-gradient(180deg, #10284f 0%, #07142c 100%); }
/* deciding-1128b (Anton 2026-11-28 05:58 ET): on a phone the event badge strip (e.g. "Thanksgiving Special · N days left", #evBadgeHud)
   sits right under the deed and peeked out at both ends behind the waiting plate. While a deed is up on a phone it steps aside, the same
   way the Bix speech line already does (theme.css body.deed-up .bix-bubble); visibility only, so nothing below moves. The deed's own
   "For sale by the bank" / "Owned by" base is part of the deed card and stays. */
@media (max-width: 699px) { body.deed-up #evBadgeHud { visibility: hidden; } }

