/* Join-card layout trials, ?layout=c (index.html templates). Same pieces and ids as the current card; this file
   only lays them out. The current card's columns are absolutely placed and slide apart, so .lay turns that off. */
.lay .jduo { position: static; height: auto; margin-top: 4px; transition: none; overflow: visible; }
.lay .jcol { position: static; left: auto; width: auto; transform: none !important; opacity: 1; pointer-events: auto; }
.lay .jcol .av { width: 96px; height: 96px; font-size: 35px; }
.lay .av.you { color: #fff; font-weight: 600; }
.lay .jname { width: 100%; }
.lay .seg { display: inline-flex; gap: 6px; padding: 4px; border-radius: 999px; background: var(--fill); }
.lay .seg button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid transparent; background: transparent; display: grid; place-items: center; padding: 0; cursor: pointer; transition: transform var(--med) var(--spring); }
.lay .seg button svg { width: 20px; height: 20px; }
.lay .seg button[aria-pressed="true"] { background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 2px rgb(47 107 255 / .25); }
.lay .seg button:disabled { opacity: .4; cursor: default; }
.lay .seg button:active:not(:disabled) { transform: scale(.92); }
.lay .bring { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lay .secline { align-self: stretch; display: flex; align-items: center; gap: 10px; font-size: var(--fs-footnote); color: var(--label-3); }
.lay .secline::after { content: ""; flex: 1; height: 1px; background: var(--sep); }
.lay .copy-main { width: 100%; height: 52px; border-radius: 999px; border: 0; background: var(--surface); color: var(--label); box-shadow: var(--e1); display: flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 600; cursor: pointer; transition: transform var(--med) var(--spring); }
.lay .copy-main:active { transform: scale(.98); }
.lay .copy-main:disabled { opacity: .7; }
.lay .alt { border: 0; background: none; color: var(--accent); font: inherit; font-size: var(--fs-footnote); cursor: pointer; padding: 2px 6px; }
.lay .jduo:not(.open) ~ .bring, .lay .jduo:not(.open) .acts { display: none; }

/* C · the two avatars with a link between them; picker centred under the pair; commands full width */
.lay-c .jduo { display: grid; grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr); align-items: center; }
.lay-c .jcol { display: flex; flex-direction: column; align-items: center; gap: 11px; }
.lay-c .link { height: 2px; margin-bottom: 55px; position: relative; background: linear-gradient(90deg, transparent, var(--label-3), transparent); }
.lay-c .link::after { content: "+"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--label-2); font-size: 14px; box-shadow: var(--e1); }
.lay-c .jduo:not(.open) .jagent { opacity: .4; }
.lay-c .pick { display: flex; justify-content: center; }

@media (max-width: 500px) {
  .lay .jcol .av { width: 76px; height: 76px; font-size: 28px; }
    .lay-c .jduo { grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); }
}

/* the room's agent panel: the open-session copy as a quiet link under the main button */
.alt-link { align-self: center; border: 0; background: none; color: var(--accent); font: inherit; font-size: var(--fs-footnote); cursor: pointer; padding: 2px 6px; }
