@font-face {
  font-family: Ringbearer;
  src: url('assets/ringbearer.ttf') format('truetype');
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink: #080f1b;
  --panel: #0b1b30;
  --blue: #4e8dd3;
  --red: #d66058;
  --gold: #dfbd6d;
  --text: #e3e9f2;
  --muted: #a3b6cf;
  --line: #315981;
  font-family: system-ui,-apple-system,sans-serif;
  color: var(--text);
  background: var(--ink);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  isolation: isolate;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  height: 100lvh;
  z-index: -1;
  background: radial-gradient(ellipse at center, transparent 30%, #02060be0 100%), linear-gradient(#070e1890,#060b1690), url('assets/optimized/castle-1672.webp') center/cover;
  /* One reusable scenery layer, rather than repainting a fixed body background. */
  transform: translateZ(0);
  pointer-events: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button,input {
  font: inherit;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
  opacity: .45;
}
button,a,input {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
button {
  touch-action: manipulation;
}
svg {
  display: block;
}
h1,h2,h3,p {
  margin: 0;
}
h1,h2,h3 {
  font-family: Ringbearer,Georgia,serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(2rem,3.5vw,3.3rem);
  line-height: 1.25;
}
h2 {
  font-size: 1.7rem;
}
button:active {
  transform: translateY(1px);
}
[hidden] {
  display: none!important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 50;
  padding: 12px;
  background: var(--panel);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  max-width: 1680px;
  margin: auto;
  padding: 28px 4%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.wordmark {
  display: grid;
  justify-items: center;
  justify-self: start;
  position: relative;
  padding: 0 10px 12px;
}
.wordmark::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,transparent,var(--blue),transparent);
}
.wordmark>span {
  font: clamp(1.8rem,2.5vw,2.65rem)/1.15 Ringbearer,Georgia,serif;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #dde6ee;
  text-shadow: 1px 2px #000,0 -1px #fff8;
}
.wordmark small {
  text-transform: uppercase;
  letter-spacing: .27em;
  font-size: .64rem;
  color: #9dc3ec;
  margin-top: 6px;
}
.steps {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: .85rem;
  color: #8198b5;
  white-space: nowrap;
}
.steps a {
  padding: 12px 0;
}
.steps a[aria-current=step] {
  color: #fff;
  border-bottom: 1px solid var(--blue);
}
.steps a[aria-disabled=true] {
  opacity: .5;
  pointer-events: none;
}
.steps span {
  color: #496581;
}
.collection-link {
  justify-self: end;
  font-size: .75rem;
  color: var(--muted);
  padding: 12px 0;
}
.collection-link:hover,.site-footer a:hover {
  color: var(--gold);
}
main {
  max-width: 1440px;
  min-height: calc(100svh - 190px);
  padding: 30px 5% 45px;
  margin: auto;
  outline: none;
}
.page-heading {
  text-align: center;
  margin: 0 auto 38px;
}
.page-heading p {
  margin-top: 18px;
  color: var(--muted);
  font-size: .95rem;
  letter-spacing: .025em;
}
.page-heading::after {
  content: '';
  display: block;
  width: 230px;
  height: 1px;
  margin: 22px auto 0;
  background: linear-gradient(90deg,transparent,var(--line),transparent);
}
.faction-label {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--faction);
  font-family: Ringbearer,Georgia,serif;
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.faction-label .crest {
  width: 32px;
  height: 42px;
}
.steel {
  position: relative;
  border: 1px solid #4777a7;
  background: radial-gradient(ellipse at 50% 0,#16396355,transparent 75%),linear-gradient(120deg,#11253de8,#07111fee);
  box-shadow: inset 0 0 0 3px #030c18,inset 0 0 0 5px #254768aa,0 8px 28px #0007;
}
.steel::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 22px solid transparent;
  border-image: url('assets/frame.svg') 30/22px;
  pointer-events: none;
  opacity: .8;
}
.artwork {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}
.portrait {
  overflow: hidden;
}
.crest {
  overflow: hidden;
}
.focus-knot {
  position: absolute;
  width: 48px;
  height: 48px;
  top: -38px;
  left: calc(50% - 24px);
  opacity: 0;
  transition: opacity .2s;
  pointer-events: none;
}
.selection-card:hover,.selection-card:focus-visible {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 2px #040b17,0 0 0 1px #ac874a88,0 0 18px #c3973230;
}
.selection-card:hover .focus-knot,.selection-card:focus-visible .focus-knot {
  opacity: 1;
}
.selection-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color .2s,box-shadow .2s;
  text-align: center;
  min-width: 0;
}
.selection-card h2 {
  color: var(--faction);
}
.card-action {
  display: block;
  font-size: .85rem;
  color: #bed0e8;
  letter-spacing: .02em;
}
.faction-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 32px;
  max-width: 790px;
  margin: 50px auto 26px;
}
.faction-card {
  padding: 32px 30px 25px;
  min-height: 430px;
}
.faction-card h2 {
  font-size: clamp(1.6rem,2.5vw,2.2rem);
  position: relative;
  z-index: 1;
}
.faction-card .crest {
  height: 275px;
  max-width: 290px;
  margin: 12px auto;
}
.faction-card .card-action {
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 3px #020c18;
  width: 100%;
  padding: 14px;
  font-family: Ringbearer,Georgia,serif;
  font-size: 1.05rem;
}
.selection-card:hover .card-action {
  color: var(--gold);
}
.selection-hint {
  text-align: center;
  color: var(--muted);
  font-size: .8rem;
  margin-top: 25px;
}
.class-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px;
  margin: 40px 0 30px;
}
.class-card {
  padding: 22px 12px 28px;
  min-height: 450px;
}
.class-card .portrait {
  height: clamp(250px,28vw,390px);
}
.class-card h2 {
  font-size: clamp(1.2rem,2vw,1.9rem);
  margin: 12px 0 14px;
  white-space: nowrap;
}
.back-button,.steel-button {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  background: linear-gradient(#173451,#08182e);
  border: 1px solid #4777a7;
  box-shadow: inset 0 0 0 3px #061326;
  padding: 12px 24px;
  color: #c4d6ef;
}
.back-button {
  font-family: Ringbearer,Georgia,serif;
  font-size: .95rem;
}
.back-button:hover,.steel-button:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.back-button svg {
  width: 16px;
  height: 16px;
}
.voice-heading {
  margin-bottom: 28px;
}
.voice-heading h1 {
  color: var(--gold);
}
.voice-context {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.voice-layout {
  display: grid;
  grid-template-columns: 235px minmax(0,1fr);
  gap: 28px;
  align-items: start;
}
.identity-panel {
  padding: 25px 20px 22px;
  text-align: center;
}
.identity-panel .portrait {
  height: 310px;
}
.identity-panel h2 {
  font-size: 1.5rem;
  color: var(--faction);
  margin: 10px 0;
}
.identity-panel p {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: 20px;
}
.identity-panel .crest {
  position: absolute;
  left: 18px;
  top: 15px;
  width: 40px;
  height: 54px;
  z-index: 1;
}
.identity-panel .steel-button {
  display: flex;
  margin-top: 10px;
  padding: 11px;
  width: 100%;
  font-size: .8rem;
}
.identity-change {
  display: none;
}
.command-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  min-width: 0;
}
.message-column {
  /* Share desktop grid rows so both panels and battle cry buttons align. */
  display: contents;
}
.command-panel {
  padding: 25px 20px 22px;
  min-width: 0;
}
.command-panel h2 {
  font-size: clamp(1.25rem,2vw,1.65rem);
  color: var(--gold);
  text-align: center;
  margin: 0 0 20px;
  white-space: nowrap;
}
.commands {
  display: grid;
  gap: 7px;
}
.command-row {
  display: flex;
  gap: 5px;
  min-width: 0;
  position: relative;
}
.command-play,.version-trigger {
  min-height: 44px;
  background: linear-gradient(110deg,#132b4788,#061120aa);
  border: 1px solid #254b70;
  box-shadow: inset 0 0 10px #0004;
}
.command-play {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 14px;
  padding: 7px 12px;
  text-align: left;
  min-width: 0;
  font-size: .88rem;
}
.command-play .play-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: #c5dbff;
}
.command-play span {
  line-height: 1.3;
}
.command-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.version-label {
  color: var(--gold);
  border: 1px solid #b6944c66;
  background: #b6944c12;
  border-radius: 3px;
  padding: 2px 5px;
  font: .65rem/1.4 system-ui, sans-serif;
  white-space: nowrap;
}
.version-trigger {
  width: 40px;
  flex-shrink: 0;
  font-weight: 700;
  color: #b8cff0;
  letter-spacing: .09em;
}
.command-play:hover,.version-trigger:hover {
  border-color: var(--gold);
  background: #17385a99;
}
.command-row.is-playing .command-play,.command-row.is-playing .version-trigger {
  border-color: var(--gold);
  color: #fff;
  background: linear-gradient(100deg,#51402066,#102239aa);
}
.battlecry {
  grid-row: 2;
  width: 100%;
  margin: 0;
}
.battlecry .command-play {
  justify-content: center;
  font-family: Ringbearer,Georgia,serif;
  font-size: clamp(1rem,1.4vw,1.35rem);
  color: var(--gold);
  padding: 14px 10px;
  min-height: 67px;
  border-color: #b6944c;
  background: linear-gradient(110deg,#332d1960,#0b1420e0);
}
.battlecry .version-trigger {
  border-color: #b6944c;
  width: 40px;
}
.battlecry .horn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--gold);
  margin-right: 0;
}
.voice-help {
  grid-column: 1/-1;
  text-align: center;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 10px;
}
.site-footer {
  max-width: 1440px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 5% 28px;
  color: #8296ae;
  font-size: .68rem;
  letter-spacing: .02em;
}
body[data-stage="voice"] {
  padding-bottom: var(--controls-clearance, calc(100px + env(safe-area-inset-bottom, 0px)));
}
.sound-controls {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  width: min(1000px, 90%);
  margin: 0;
  padding: 6px 14px;
  border: 1px solid #315981;
  background: #09182a;
  box-shadow: 0 4px 18px #0005;
}
.sound-controls-row {
  display: flex;
  gap: 14px;
  align-items: center;
}
.sound-controls .volume-label {
  width: clamp(90px, 25vw, 220px);
  flex-shrink: 1;
}
#active-count {
  margin-left: auto;
  color: var(--muted);
  font-size: .73rem;
}
.stop-all {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  color: var(--text);
  background: #122840;
  white-space: nowrap;
  font-size: .8rem;
}
.stop-all:enabled:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.audio-error {
  color: #f3b9a0;
  padding: 8px 4px;
  font-size: .78rem;
  line-height: 1.5;
}
.playback-feedback {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-basis: 100%;
  color: #b9cce4;
}
.playback-status {
  font: .68rem/1.4 system-ui, sans-serif;
}
.equalizer {
  display: inline-flex;
  width: 14px;
  height: 13px;
  gap: 2px;
  align-items: end;
  flex-shrink: 0;
}
.equalizer i {
  width: 3px;
  height: 8px;
  background: var(--gold);
  transform-origin: bottom;
  animation: voice-wave .65s ease-in-out infinite alternate;
}
.equalizer i:nth-child(2) {
  height: 13px;
  animation-delay: -.3s;
}
.equalizer i:nth-child(3) {
  height: 10px;
  animation-delay: -.5s;
}
@keyframes voice-wave {
  from { transform: scaleY(.3); }
  to { transform: scaleY(1); }
}
.is-loading .command-play {
  border-color: #738ba5;
}
@media(max-width:760px) {
  .sound-controls {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: calc(100% - 40px);
    padding: 5px 8px;
  }
  .sound-controls-row { gap: 8px; }
  .sound-controls .volume-label { flex: 1; }
  #active-count {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .stop-all { padding: 8px 10px; }
}
.icon-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: #bdd4f4;
  font-size: 1.5rem;
}
.icon-button svg {
  width: 22px;
  height: 22px;
}
.icon-button:hover {
  color: var(--gold);
}
.volume-label {
  width: 80px;
  display: flex;
}
input[type=range] {
  width: 100%;
  accent-color: #79aceb;
  cursor: pointer;
  height: 20px;
  min-width: 0;
}
.notice a,.notice button {
  color: var(--gold);
}
.notice button {
  background: none;
  border: 0;
  text-decoration: underline;
}
.notice {
  padding: 20px;
}
body.picker-open {
  overflow: hidden;
}
body.picker-open .sound-controls {
  background: #09182a;
}
.picker-shade {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: #010711a8;
  backdrop-filter: blur(3px);
}
#versions, .share-dialog {
  position: fixed;
  top: calc((100svh - var(--controls-clearance, 100px)) / 2);
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 30;
  color: var(--text);
  background: linear-gradient(120deg,#152e49,#06111f);
  border: 1px solid #6b91b5;
  box-shadow: inset 0 0 0 4px #081526,0 15px 80px #000b;
  width: min(380px,calc(100% - 32px));
  padding: 22px;
  max-height: min(75svh, calc(100svh - var(--controls-clearance, 100px) - 24px));
  overflow-y: auto;
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.dialog-header small {
  color: var(--muted);
  font-size: .72rem;
}
.dialog-header h2 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-top: 5px;
}
#version-list {
  display: grid;
  gap: 7px;
}
.version-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 46px;
  background: #08172ba0;
  border: 1px solid #345a83;
  padding: 10px 14px;
  font-size: .85rem;
  text-align: left;
}
.version-option:hover,.version-option[aria-current=true] {
  border-color: var(--gold);
  color: var(--gold);
}
.version-option.is-playing {
  background: #b6944c18;
}
.variant-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.variant-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
}
.version-option svg {
  width: 14px;
  height: 14px;
}
.version-option small {
  color: var(--muted);
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.dialog-note {
  font-size: .7rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 18px;
}
@media(min-width:1600px) {
  main {
    padding-top: 50px;
  }
  .faction-card {
    min-height: 490px;
  }
  .faction-card .crest {
    height: 320px;
  }
  .voice-layout {
    grid-template-columns: 275px 1fr;
  }
}
@media(max-width:1050px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 15px;
  }
  .steps {
    grid-column: 2;
    grid-row: 1;
    font-size: .75rem;
    gap: 12px;
  }
  .collection-link {
    display: none;
  }
  .voice-layout {
    grid-template-columns: 180px 1fr;
    gap: 18px;
  }
  .identity-panel {
    padding: 20px 12px;
  }
  .identity-panel .portrait {
    height: 260px;
  }
  .command-area {
    gap: 14px;
  }
  .command-panel {
    padding: 23px 12px 18px;
  }
  .command-play {
    font-size: .79rem;
    gap: 9px;
    padding: 8px;
  }
  .command-panel h2 {
    font-size: 1.2rem;
  }
  .class-grid {
    gap: 16px;
  }
  .class-card h2 {
    font-size: 1.25rem;
  }
}
@media(max-width:760px) {
  .site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 20px 10px;
  }
  .wordmark {
    justify-self: center;
  }
  .wordmark>span {
    font-size: 2rem;
  }
  .wordmark small {
    font-size: .58rem;
  }
  .steps {
    width: 100%;
    justify-content: center;
    gap: 18px;
    font-size: .75rem;
  }
  .steps a {
    padding: 9px 0;
  }
  main {
    padding: 22px 20px 30px;
    min-height: calc(100svh - 205px);
  }
  h1 {
    font-size: 1.95rem;
  }
  .page-heading {
    margin-bottom: 26px;
  }
  .page-heading p {
    font-size: .8rem;
    line-height: 1.5;
    margin-top: 12px;
  }
  .page-heading::after {
    margin-top: 16px;
  }
  .faction-grid {
    max-width: 400px;
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 35px;
  }
  .faction-card {
    min-height: 0;
    padding: 25px 30px 23px;
  }
  .faction-card h2 {
    font-size: 1.7rem;
  }
  .faction-card .crest {
    height: 215px;
    margin: 12px auto;
  }
  .focus-knot {
    width: 36px;
    height: 36px;
    top: -27px;
    left: calc(50% - 18px);
  }
  .class-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px 14px;
    margin: 32px 0 25px;
  }
  .class-card {
    padding: 16px 8px 21px;
    min-height: 0;
  }
  .class-card .portrait {
    height: clamp(195px,51vw,330px);
  }
  .class-card h2 {
    font-size: clamp(.94rem,3.6vw,1.5rem);
    margin: 10px 0;
  }
  .class-card .card-action {
    font-size: .72rem;
  }
  .back-button {
    width: 100%;
    font-size: .95rem;
  }
  .faction-label {
    font-size: 1.05rem;
  }
  .voice-heading {
    margin: 0 0 22px;
  }
  .voice-context {
    font-size: .7rem;
  }
  .voice-layout {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  .identity-panel {
    width: 100%;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    text-align: left;
    gap: 12px;
  }
  .identity-panel .portrait {
    width: 55px;
    height: 76px;
    order: 0;
  }
  .identity-panel .crest {
    position: static;
    width: 30px;
    height: 40px;
    order: 1;
  }
  .identity-copy {
    order: 2;
    flex: 1;
  }
  .identity-panel h2 {
    font-size: 1.1rem;
    margin: 0 0 6px;
  }
  .identity-panel p {
    font-size: .65rem;
    margin: 0;
  }
  .identity-panel .identity-actions {
    display: none;
  }
  .identity-change {
    display: inline-flex;
    order: 3;
    font-size: .72rem;
    padding: 12px 2px;
    color: #bfd4ed;
    min-height: 44px;
    align-items: center;
  }
  .command-area {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
  }
  .message-column {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 18px;
  }
  .battlecry .command-play {
    min-height: 58px;
    padding: 13px;
    font-size: clamp(1rem,4.5vw,1.35rem);
  }
  .battlecry .horn-icon {
    width: 27px;
    height: 27px;
  }
  .battlecry .version-trigger {
    width: 50px;
  }
  .voice-help {
    order: -1;
    font-size: .7rem;
    text-align: center;
    margin: -6px 0 0;
  }
  .command-panel {
    padding: 25px 15px 20px;
    width: 100%;
  }
  .command-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 8px;
  }
  .commands {
    gap: 7px;
  }
  .command-play {
    min-height: 48px;
    font-size: .9rem;
    gap: 17px;
    padding: 10px 13px;
  }
  .version-trigger {
    width: 45px;
    min-height: 48px;
  }
  .site-footer {
    padding: 16px 22px 26px;
    flex-direction: column;
    text-align: center;
    font-size: .62rem;
    gap: 7px;
  }
  #versions, .share-dialog {
    position: fixed;
    inset: auto auto var(--controls-clearance, 100px) 50%;
    transform: translateX(-50%);
    margin: 0;
    width: calc(100% - 24px);
    max-width: 560px;
    max-height: calc(100svh - var(--controls-clearance, 100px) - 24px);
    border-radius: 12px;
    padding: 25px 22px 30px;
  }
  .version-option {
    min-height: 52px;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation: none!important;
    transition: none!important;
    scroll-behavior: auto!important;
  }
}

/* Keep scrolling cheap on phones, including landscape and larger touch screens. */
@media(max-width:760px), (pointer:coarse) {
  body::before {
    background-image: radial-gradient(ellipse at center, transparent 30%, #02060be0 100%), linear-gradient(#070e1890,#060b1690), url('assets/optimized/castle-960.webp');
  }
  .steel {
    background: linear-gradient(120deg, #10253b, #081421);
    box-shadow: inset 0 0 0 3px #030c18, inset 0 0 0 5px #254768;
  }
  .selection-card {
    transition: none;
  }
  .selection-card:hover, .selection-card:focus-visible {
    box-shadow: inset 0 0 0 2px #040b17, 0 0 0 1px #ac874a88;
  }
  .command-play, .version-trigger {
    box-shadow: none;
  }
  .picker-shade {
    backdrop-filter: none;
  }
}

.voice-share { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.share-form { display: grid; gap: 14px; margin-top: 16px; }
.voice-share label, .share-dialog label { display: grid; gap: 7px; font-size: .85rem; }
.voice-share input, .voice-share textarea, .share-dialog input, .share-dialog textarea { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line); background: #071526; color: var(--text); border-radius: 0; font: inherit; }
.voice-share textarea, .share-dialog textarea { resize: vertical; }
.share-result { margin-top: 18px; }
.share-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.share-qr { display: block; width: min(100%, 320px); height: auto; aspect-ratio: 1; margin: 18px auto 0; background: white; }
.share-error { color: var(--gold); font-size: .85rem; }
.share-copy-status { font-size: .8rem; }

.share-dialog h2 { color: var(--gold); font: 1.6rem Ringbearer,Georgia,serif; margin: 0; }
.share-voice-label { color: var(--muted); font-size: .85rem; }
.share-dialog .share-edit { margin-top: 16px; }

.share-open { width: 100%; }
.share-open svg { width: 20px; height: 20px; flex-shrink: 0; }
.share-message-count { display: block; margin-top: -9px; text-align: right; color: var(--muted); font-size: .7rem; }
