/* feedback #98 (2026-10-21): the new-character screen. While a character is being made (`.title.making`, main.js titleStep)
   the logo, the Play / Log in tabs and the links at the foot go away, so the figure has the screen; the calling is chosen
   in its own picker (js/client/ui/calling-picker.js) — cards on one side, the chosen calling's page beside them, the
   figure left in view. */
.title.making .brand, .title.making .card-tabs, .title.making .title-foot { display: none; }
.title.making #login { align-self: center; }

/* the calling as chosen, on the form */
.calling-now { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; text-align: left;
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--edge); border-radius: 8px; color: inherit; cursor: pointer; }
.calling-now:hover, .calling-now:focus-visible { border-color: var(--gold); outline: none; }
.calling-now .cp-emblem { width: 40px; height: 40px; }
.calling-now .cn-text { display: flex; flex-direction: column; min-width: 0; }
.calling-now .cn-text b { font-family: var(--serif); font-size: 16px; color: var(--gold-hi); }
.calling-now .cn-text small { color: var(--ink-dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.calling-now .cn-go { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* the picker: desktop = the left 64% of the screen, the figure clear on the right */
.calling-picker { position: fixed; z-index: 30; top: 0; bottom: 0; left: 0; width: min(64vw, 940px); display: flex; flex-direction: column;
  background: linear-gradient(90deg, rgba(10, 8, 6, 0.96) 0%, rgba(10, 8, 6, 0.93) 82%, rgba(10, 8, 6, 0) 100%); padding: 18px 4vw 18px 3vw; }
.cp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-right: 6%; }
.cp-head h2 { white-space: nowrap; }
.cp-head .cp-done { width: auto; min-width: 140px; padding-left: 28px; padding-right: 28px; }
.cp-head h2 { margin: 0; font-family: var(--serif); color: var(--gold-hi); letter-spacing: 0.06em; }
.cp-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 16px; padding-right: 6%; }
.cp-list { display: flex !important; flex-direction: column; flex-wrap: nowrap !important; gap: 6px; overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
.cp-list > .cp-card { flex: none; width: 100%; margin: 0 !important; }
.cp-card { display: grid !important; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 6px 8px !important;
  border-radius: 8px !important; border: 1px solid rgba(255, 255, 255, 0.1) !important; background: linear-gradient(90deg, color-mix(in srgb, var(--cp-glow) 30%, rgba(0,0,0,0.5)), rgba(0, 0, 0, 0.35)) !important; }
.cp-card .cp-emblem { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, var(--cp-glow) 45%, #000); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cp-accent) 60%, transparent); }
.cp-emblem svg, .cp-emblem img { width: 100%; height: 100%; }
.cp-card .cp-name { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--cp-core, #f2e6c8); }
.cp-card .cp-role { font-size: 12px; color: var(--ink-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-card.on, .cp-card[aria-checked="true"] { border-color: var(--cp-accent) !important; box-shadow: 0 0 0 1px var(--cp-accent), 0 0 14px color-mix(in srgb, var(--cp-glow) 70%, transparent); }
.cp-page { overflow-y: auto; padding: 4px 10px 12px 14px; border-left: 2px solid color-mix(in srgb, var(--cp-glow, #a07a3a) 70%, transparent); }
.cp-title { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.cp-title .cp-emblem.big { width: 60px; height: 60px; border-radius: 12px; background: color-mix(in srgb, var(--cp-glow) 50%, #000); box-shadow: 0 0 18px color-mix(in srgb, var(--cp-glow) 60%, transparent); }
.cp-title h3 { margin: 0; font-family: var(--serif); font-size: 26px; color: var(--cp-core, var(--gold-hi)); text-shadow: 0 0 12px color-mix(in srgb, var(--cp-glow) 70%, transparent); }
.cp-title .cp-role { color: var(--cp-accent, var(--gold)); font-size: 14px; letter-spacing: 0.06em; }
.cp-hook { font-size: 15px; line-height: 1.45; margin: 6px 0 8px; }
.cp-sig, .cp-facts { font-size: 13px; color: var(--ink-dim); margin: 4px 0; }
.cp-sig b { color: var(--cp-accent, var(--gold)); }
.cp-page h4 { margin: 12px 0 6px; font-family: var(--serif); color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-size: 12px; }
.cp-skills { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.cp-skill { display: grid; grid-template-columns: 48px 1fr; gap: 10px; align-items: start; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.04); }
.cp-skill .cp-icon { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--cp-accent, #e6c14a) 50%, transparent); }
.cp-skill .cp-icon svg { width: 100%; height: 100%; }
.cp-skill b { font-size: 14.5px; }
.cp-skill small { display: block; color: var(--cp-accent, var(--gold)); font-size: 11.5px; margin: 1px 0 3px; }
.cp-skill p { margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--ink-dim); }
.cp-talents { font-size: 12.5px; color: var(--ink-dim); font-style: italic; margin-top: 10px; }

/* phone: the cards a strip along the top, the page a sheet at the bottom, the figure in the gap between */
html[data-layout="phone"] .title.making { align-content: end; background: linear-gradient(180deg, rgba(10, 8, 6, 0) 0%, rgba(10, 8, 6, 0.2) 30%, rgba(10, 8, 6, 0.88) 52%); }
html[data-layout="phone"] .title.making #login { align-self: end; }
html[data-layout="phone"] .calling-picker { width: auto; right: 0; padding: calc(var(--st, 0px) + 8px) calc(var(--sr, 0px) + 10px) calc(var(--sb, 0px) + 10px) calc(var(--sl, 0px) + 10px); background: none; pointer-events: none; }
html[data-layout="phone"] .calling-picker > * { pointer-events: auto; }
html[data-layout="phone"] .cp-head { padding: 0; margin-bottom: 6px; }
html[data-layout="phone"] .cp-head h2 { font-size: 18px; text-shadow: 0 1px 3px #000; }
html[data-layout="phone"] .cp-head .cp-done { min-width: 110px; min-height: 44px; }
html[data-layout="phone"] .cp-body { display: flex; flex-direction: column; justify-content: space-between; padding: 0; gap: 0; }
html[data-layout="phone"] .cp-list { flex: none; flex-direction: row; flex-wrap: nowrap !important; overflow-x: auto; overflow-y: hidden; gap: 6px; padding: 2px 0 6px; scrollbar-width: none; }
html[data-layout="phone"] .cp-list > .cp-card { flex: none; width: 150px; background: linear-gradient(180deg, color-mix(in srgb, var(--cp-glow) 40%, rgba(0,0,0,0.7)), rgba(0, 0, 0, 0.75)) !important; }
html[data-layout="phone"] .cp-page { flex: none; height: 46vh; border-left: 0; border-top: 2px solid color-mix(in srgb, var(--cp-glow, #a07a3a) 70%, transparent); background: rgba(10, 8, 6, 0.94); border-radius: 14px 14px 0 0; padding: 10px 12px; }
html[data-layout="phone"] .cp-title h3 { font-size: 21px; }
html[data-picking="1"] .title.making #login { visibility: hidden; }
