.room-launch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.room-launch-button,
a.room-launch-button,
a.room-launch-button:link,
a.room-launch-button:visited {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  margin: 0;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  text-align: center;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none !important;
  -webkit-text-decoration: none !important;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.room-launch-button > span {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1;
  text-decoration: none !important;
}
.room-launch-button:hover,
a.room-launch-button:hover,
a.room-launch-button:focus-visible {
  transform: translateY(-2px);
  background: #242424;
  text-decoration: none !important;
}

.room-launch-button.secondary {
  background: rgba(244, 241, 232, 0.92);
  color: var(--ink);
  border: 1px solid rgba(11, 11, 11, 0.12);
}

.room-launch-button.compact {
  min-height: 42px;
  padding: 0 16px;
}

.room-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  background: rgba(11, 11, 11, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.room-modal-backdrop.visible {
  display: flex;
}

.room-modal {
  width: min(100%, 1080px);
  max-height: calc(100vh - 24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 28px;
  background: #f8f6ef;
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  animation: roomModalIn 0.36s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes roomModalIn {
  from { opacity: 0; transform: translateY(36px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.room-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(11, 11, 11, 0.1);
}

.room-modal-heading {
  min-width: 0;
}

.room-modal-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #68655e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.room-modal-title {
  font-size: clamp(24px, 5vw, 38px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.room-close-button {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.room-modal-content {
  overflow: auto;
  padding: 22px;
}

.room-home-grid,
.room-created-grid,
.room-session-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.room-card {
  border: 1px solid rgba(11, 11, 11, 0.11);
  border-radius: 22px;
  background: #ffffff;
  padding: 20px;
}

.room-card.dark {
  background: var(--ink);
  color: var(--paper);
}

.room-card.lime {
  background: var(--lime);
}

.room-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.room-card p {
  color: #68655e;
  line-height: 1.55;
}

.room-card.dark p {
  color: #b9b5ab;
}

.room-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.room-choice-button {
  min-height: 116px;
  border: 0;
  border-radius: 18px;
  padding: 18px;
  text-align: left;
  background: #ece9df;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.room-choice-button:hover {
  transform: translateY(-3px);
  background: var(--lime);
}

.room-choice-button strong,
.room-choice-button span {
  display: block;
}

.room-choice-button strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.room-choice-button span {
  color: #666159;
  line-height: 1.4;
}

.room-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.room-input,
.room-select,
.room-textarea {
  width: 100%;
  border: 1px solid rgba(11, 11, 11, 0.15);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

.room-input:focus,
.room-select:focus,
.room-textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(157, 255, 0, 0.35);
}

.room-code-input {
  flex: 1 1 180px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 800;
}

.room-status {
  margin-top: 14px;
  min-height: 22px;
  color: #57534d;
  font-size: 14px;
}

.room-status.error {
  color: #a82424;
}

.room-status.success {
  color: #226800;
}

.room-qr-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 100%;
}

.room-qr-canvas {
  display: block;
  max-width: 100%;
  border-radius: 18px;
  background: #ffffff;
}

.room-code-display {
  font-size: clamp(34px, 8vw, 62px);
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1;
}

.room-link-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 13px;
  background: #efede5;
}

.room-link-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
}

.room-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.room-scanner-shell {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  min-height: 320px;
  background: #111;
}

.room-scanner-video {
  display: block;
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}

.room-scanner-frame {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(66vw, 250px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 3px solid var(--lime);
  border-radius: 24px;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.36);
  pointer-events: none;
}

.room-session-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.room-session-code {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--lime);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.room-participants {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.room-participant {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: #ece9df;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 700;
}

.room-participant-score {
  color: #5b5750;
  font-variant-numeric: tabular-nums;
}

.room-event-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(42vh, 430px);
  overflow: auto;
  margin-top: 14px;
}

.room-event {
  border-radius: 16px;
  padding: 13px 14px;
  background: #efede5;
}

.room-event.ai {
  background: var(--lime);
}

.room-event-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 7px;
  color: #69645d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.room-event-body {
  white-space: pre-wrap;
  line-height: 1.5;
}

.room-composer {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.room-game-display {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 24px;
  padding: clamp(20px, 5vw, 42px);
  background: var(--ink);
  color: var(--paper);
}

.room-game-round {
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.room-game-prompt {
  margin-top: 14px;
  font-size: clamp(30px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.room-game-countdown {
  margin-top: 18px;
  font-size: clamp(22px, 4vw, 40px);
  font-variant-numeric: tabular-nums;
}

.room-answer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.room-answer-button {
  min-height: 78px;
  border: 0;
  border-radius: 16px;
  padding: 14px;
  background: #efede5;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.room-answer-button:hover,
.room-answer-button.selected {
  background: var(--lime);
}

.room-answer-button:disabled {
  cursor: default;
  opacity: 0.68;
}

.room-leaderboard {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.room-leaderboard-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 14px;
  padding: 12px;
  background: #efede5;
}

.room-empty-state {
  border: 1px dashed rgba(11, 11, 11, 0.25);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
  color: #68655e;
}

.room-auth-note {
  margin-top: 12px;
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff5cf;
  color: #5c4a00;
  font-size: 13px;
  line-height: 1.45;
}

.room-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 13000;
  max-width: calc(100vw - 32px);
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.room-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.room-modal-open {
  overflow: hidden;
}

body.room-tv-mode .logo-wrapper,
body.room-tv-mode .burger-wrapper,
body.room-tv-mode .splash,
body.room-tv-mode .hero {
  display: none;
}

body.room-tv-mode .room-modal-backdrop {
  padding: 0;
  background: var(--ink);
}

body.room-tv-mode .room-modal {
  width: 100%;
  max-width: none;
  max-height: 100vh;
  min-height: 100vh;
  border-radius: 0;
}

@media (min-width: 760px) {
  .room-modal-backdrop {
    align-items: center;
    padding: 24px;
  }

  .room-home-grid,
  .room-created-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .room-session-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.7fr);
  }
}

@media (max-width: 620px) {
  .room-choice-grid,
  .room-answer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .room-modal-content,
  .room-modal-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .room-launch-actions {
    width: 100%;
  }

  .room-launch-button {
    flex: 1 1 calc(50% - 5px);
    justify-content: center;
    text-align: center;
  }
}

.room-session-actions {
  align-items: stretch;
}

.room-model-route-button {
  min-height: 42px;
  max-width: min(330px, 100%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(11, 11, 11, 0.16);
  border-radius: 13px;
  padding: 7px 12px 7px 8px;
  background: #dad6ca;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 -3px 0 rgba(11, 11, 11, 0.09);
}

.room-model-route-button:hover {
  transform: translateY(-1px);
  background: #e8e4d9;
}

.room-model-route-button > span:last-child {
  min-width: 0;
}

.room-model-route-button small,
.room-model-route-button strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.room-model-route-button small {
  color: #69645d;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.room-model-route-button strong {
  max-width: 190px;
  margin-top: 2px;
  font-size: 13px;
}

.room-model-route-icon {
  position: relative;
  width: 32px;
  height: 25px;
  flex: 0 0 auto;
  border: 2px solid #151515;
  border-radius: 4px 4px 7px 7px;
  background: var(--lime);
  box-shadow: inset 0 -5px 0 rgba(11, 11, 11, 0.16);
}

.room-model-route-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: -6px;
  height: 5px;
  border: 2px solid #151515;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
  background: #6e6b63;
}

.room-model-route-icon i {
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 5px;
  height: 3px;
  background: #151515;
  box-shadow: 0 -5px 0 #151515;
}

.room-settings-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(11, 11, 11, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.room-settings-backdrop.visible {
  display: flex;
}

.room-settings-dialog {
  width: min(100%, 880px);
  max-height: calc(100vh - 36px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 25px;
  background: #f8f6ef;
  color: var(--ink);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.48);
  animation: roomModalIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.room-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(11, 11, 11, 0.1);
}

.room-settings-header h2 {
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.room-settings-content {
  overflow: auto;
  padding: 20px;
}

.room-settings-intro {
  max-width: 700px;
  color: #68655e;
  line-height: 1.55;
}

.room-route-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.room-route-choice {
  min-height: 90px;
  border: 1px solid rgba(11, 11, 11, 0.12);
  border-radius: 16px;
  padding: 14px;
  background: #ebe8de;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 -4px 0 rgba(11, 11, 11, 0.06);
}

.room-route-choice:hover,
.room-route-choice.active {
  border-color: var(--ink);
  background: var(--lime);
}

.room-route-choice strong,
.room-route-choice span {
  display: block;
}

.room-route-choice strong {
  font-size: 16px;
}

.room-route-choice span {
  margin-top: 5px;
  color: #666159;
  font-size: 12px;
  line-height: 1.35;
}

.room-provider-panel {
  margin-top: 18px;
}

.room-model-cartridge {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(190px, 0.68fr) minmax(0, 1.32fr);
  gap: 18px;
  border: 3px solid #151515;
  border-radius: 20px 20px 30px 30px;
  padding: 34px 18px 18px;
  background: #88857c;
  box-shadow: inset 0 -12px 0 rgba(11, 11, 11, 0.18), 0 9px 0 #36342f;
}

.room-model-cartridge.openrouter {
  background: #726b84;
}

.room-model-cartridge.local {
  background: #747b6c;
}

.room-cartridge-ridges {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 8px;
  height: 16px;
  display: flex;
  gap: 7px;
}

.room-cartridge-ridges span {
  flex: 1;
  border-radius: 3px;
  background: rgba(11, 11, 11, 0.32);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.13);
}

.room-cartridge-label {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 3px solid #151515;
  border-radius: 12px;
  padding: 18px;
  background: var(--lime);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.35);
  transform: rotate(-1deg);
}

.room-model-cartridge.local .room-cartridge-label {
  background: #f2ff00;
}

.room-cartridge-label strong,
.room-cartridge-label span {
  display: block;
}

.room-cartridge-label strong {
  margin-top: 14px;
  font-size: clamp(26px, 5vw, 42px);
  line-height: 0.9;
  letter-spacing: -0.055em;
  overflow-wrap: anywhere;
}

.room-cartridge-label > span:last-child {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.room-cartridge-kicker {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.room-cartridge-controls {
  display: grid;
  align-content: center;
  gap: 12px;
  border: 2px solid rgba(11, 11, 11, 0.42);
  border-radius: 13px;
  padding: 15px;
  background: rgba(244, 241, 232, 0.92);
}

.room-settings-field {
  display: grid;
  gap: 7px;
}

.room-settings-field > span {
  color: #4f4b45;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.room-settings-help {
  color: #5e5a53;
  font-size: 12px;
  line-height: 1.45;
}

.room-cartridge-key-state {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4e4a44;
  font-size: 12px;
  font-weight: 800;
}

.room-cartridge-led {
  width: 10px;
  height: 10px;
  border: 2px solid #151515;
  border-radius: 50%;
  background: #a74545;
  box-shadow: 0 0 0 2px rgba(11, 11, 11, 0.12);
}

.room-cartridge-led.active {
  background: var(--lime);
  box-shadow: 0 0 10px rgba(157, 255, 0, 0.8);
}

.room-managed-route {
  min-height: 180px;
  display: flex;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(11, 11, 11, 0.12);
  border-radius: 20px;
  padding: 24px;
  background: #ffffff;
}

.room-managed-route strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.room-managed-route p {
  margin-top: 7px;
  color: #68655e;
  line-height: 1.5;
}

.room-managed-orbit {
  position: relative;
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
  border: 3px solid var(--ink);
  border-radius: 50%;
}

.room-managed-orbit::before,
.room-managed-orbit::after {
  content: "";
  position: absolute;
  inset: 13px -9px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: rotate(42deg);
}

.room-managed-orbit::after {
  transform: rotate(-42deg);
}

.room-managed-orbit span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--lime);
}

.room-system-prompt-field {
  margin-top: 18px;
}

.room-settings-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

@media (max-width: 720px) {
  .room-route-choices,
  .room-model-cartridge {
    grid-template-columns: minmax(0, 1fr);
  }

  .room-model-cartridge {
    padding-top: 32px;
  }

  .room-cartridge-label {
    min-height: 130px;
  }

  .room-model-route-button {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 520px) {
  .room-settings-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .room-settings-dialog {
    max-height: 96vh;
    border-radius: 24px 24px 0 0;
  }

  .room-settings-content,
  .room-settings-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .room-route-choices {
    grid-template-columns: minmax(0, 1fr);
  }

  .room-managed-route {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* Meeting UI consistency and small-screen header safety. */
.room-modal-heading,
.room-session-header > div {
  min-width: 0;
}

.room-modal-title,
.room-modal-eyebrow,
.room-session-header h3,
.room-session-header p {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.room-launch-button:not(.secondary),
.room-primary-button,
.room-send-button,
.room-action-button.primary {
  background: #9dff00;
  color: #050505;
}

.room-launch-button:not(.secondary):hover,
.room-primary-button:hover,
.room-send-button:hover,
.room-action-button.primary:hover {
  background: #83d900;
  color: #050505;
}

@media (max-width: 640px) {
  .room-modal-heading {
    max-width: calc(100% - 76px);
  }

  .room-session-header {
    align-items: flex-start;
  }
}



.meeting-launch-button {
  gap: 10px;
  background: rgba(244, 241, 232, 0.94);
  color: var(--ink);
  border: 1px solid rgba(11, 11, 11, 0.14);
}

.meeting-launch-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.app-store-inline-link {
  margin-top: -12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 11, 11, 0.32);
  padding: 4px 2px 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.app-store-inline-link:hover,
.app-store-inline-link:focus-visible {
  border-color: var(--ink);
  transform: translateY(-1px);
  outline: none;
}

.app-store-inline-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--lime);
}

.app-store-inline-icon svg {
  width: 17px;
  height: 17px;
}

.app-store-inline-arrow {
  width: 15px;
  height: 15px;
}

.meeting-action-dialog {
  width: min(92vw, 540px);
  max-width: 540px;
  max-height: min(86vh, 680px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  background: transparent;
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.34);
}

.meeting-action-dialog::backdrop {
  background: rgba(11, 11, 11, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.meeting-action-dialog-surface {
  padding: 24px;
  background: #f8f6ef;
}

.meeting-action-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.meeting-action-dialog-kicker {
  display: block;
  margin-bottom: 6px;
  color: #646158;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.meeting-action-dialog-header h2 {
  max-width: 360px;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.meeting-action-dialog-close {
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 15px;
  background: rgba(11, 11, 11, 0.08);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  cursor: pointer;
}

.meeting-action-dialog-options {
  display: grid;
  gap: 10px;
}

.meeting-action-option {
  width: 100%;
  min-width: 0;
  min-height: 82px;
  border: 1px solid rgba(11, 11, 11, 0.11);
  border-radius: 20px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.meeting-action-option:hover,
.meeting-action-option:focus-visible {
  transform: translateY(-2px);
  background: var(--lime);
  border-color: rgba(11, 11, 11, 0.22);
  outline: none;
}

.meeting-action-option-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--ink);
  color: var(--lime);
}

.meeting-action-option-icon svg {
  width: 24px;
  height: 24px;
}

.meeting-action-option-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.meeting-action-option-copy strong {
  font-size: 17px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.meeting-action-option-copy small {
  color: #68655e;
  font-size: 13px;
  line-height: 1.35;
}

.meeting-action-option:hover small,
.meeting-action-option:focus-visible small {
  color: rgba(11, 11, 11, 0.72);
}

.meeting-action-option-arrow {
  font-size: 22px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .app-store-inline-link {
    margin-top: -14px;
    align-self: flex-start;
  }

  .meeting-action-dialog {
    width: 100%;
    max-width: none;
    max-height: 88vh;
    margin: auto 0 0;
    border-radius: 28px 28px 0 0;
  }

  .meeting-action-dialog-surface {
    padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
  }

  .meeting-action-dialog-header h2 {
    font-size: 28px;
  }

  .meeting-action-option {
    min-height: 76px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    padding: 12px 14px;
  }

  .meeting-action-option-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }
}


/* July 2026 responsive launch controls and cache-safe meeting sheet. */
.meeting-action-dialog:not([open]) {
  display: none;
}

.meeting-action-dialog[open] {
  display: block;
}

.room-launch-actions {
  position: relative;
  z-index: 2;
}

.app-store-inline-link {
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .hero-content-inner {
    align-items: stretch;
  }

  .room-launch-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .room-launch-button,
  .meeting-launch-button {
    width: 100%;
    min-width: 0;
  }

  .app-store-inline-link {
    align-self: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin: -8px auto 0;
    text-align: center;
  }

  .meeting-action-dialog-header {
    align-items: center;
  }

  .meeting-action-dialog-header > div {
    min-width: 0;
  }

  .meeting-action-dialog-header h2 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
