/* Stephuary Rooms v2 — shared shell (losing / sell / protect) */
.rv2-body {
  margin: 0;
  min-height: 100vh;
  background: #0c0a09;
  color: #ddd5c8;
  font-family: 'Lato', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.rv2-body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.rv2-app {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 72px 20px 120px;
}
.rv2-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: linear-gradient(to bottom, rgba(12, 10, 9, 0.95), transparent);
}
.rv2-top a {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6e6558;
  text-decoration: none;
}
.rv2-top a:hover {
  color: #c4a35a;
}
.rv2-screen {
  display: none;
}
.rv2-screen.is-active {
  display: block;
  animation: rv2In 0.35s ease;
}
@keyframes rv2In {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.rv2-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c4a35a;
  margin-bottom: 10px;
}
.rv2-h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.2;
  margin: 0 0 14px;
  color: #f4ede0;
}
.rv2-lead {
  font-size: 15px;
  color: #a09890;
  margin: 0 0 18px;
  line-height: 1.65;
}
.rv2-scope {
  border: 1px solid rgba(196, 163, 90, 0.2);
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 13px;
  color: #8a8175;
  line-height: 1.55;
}
.rv2-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(244, 237, 224, 0.06);
  cursor: pointer;
  font-size: 14px;
  color: #ddd5c8;
}
.rv2-check input {
  margin-top: 3px;
}
.rv2-live {
  margin: 20px 0;
  padding: 16px;
  background: rgba(26, 22, 18, 0.65);
  border: 1px solid rgba(154, 130, 96, 0.15);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #c4a35a;
}
.rv2-bottomline {
  font-size: 14px;
  color: #a09890;
  margin: 16px 0 8px;
}
.rv2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid rgba(196, 163, 90, 0.35);
  background: rgba(196, 163, 90, 0.08);
  color: #f4ede0;
  cursor: pointer;
  text-decoration: none;
  margin-top: 12px;
  width: 100%;
  box-sizing: border-box;
}
.rv2-btn:hover {
  border-color: #c4a35a;
  background: rgba(196, 163, 90, 0.14);
}
.rv2-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.rv2-btn--pri {
  background: #2b4fd4;
  border-color: #3a5ee0;
  color: #fff;
}
.rv2-btn--pri:hover {
  filter: brightness(1.08);
}
.rv2-btn--ghost {
  background: transparent;
  border-color: rgba(244, 237, 224, 0.15);
  color: #a09890;
}
.rv2-fork {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.rv2-note {
  font-size: 12px;
  color: #6e6558;
  margin-top: 12px;
  line-height: 1.5;
}
.rv2-select-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6e6558;
}
.rv2-select,
.rv2-input,
.rv2-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  background: rgba(20, 18, 16, 0.9);
  border: 1px solid rgba(154, 130, 96, 0.22);
  color: #f4ede0;
  font-family: inherit;
  font-size: 15px;
  border-radius: 4px;
}
.rv2-textarea {
  min-height: 120px;
  resize: vertical;
}
.rv2-radio-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 8px 0;
}
.rv2-radio-row label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #ddd5c8;
}
.rv2-big-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 8vw, 42px);
  font-weight: 300;
  color: #f4ede0;
  text-align: center;
  margin: 16px 0;
}
.rv2-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.rv2-actions-row .rv2-btn {
  width: auto;
  flex: 1;
  min-width: 120px;
}
.rv2-err {
  color: #c45a5a;
  font-size: 13px;
  margin-top: 8px;
}
.rv2-summary-block {
  font-size: 14px;
  color: #a09890;
  white-space: pre-wrap;
  margin: 12px 0;
  padding: 14px;
  background: rgba(20, 18, 16, 0.5);
  border: 1px solid rgba(244, 237, 224, 0.06);
}
