.screen-watermarks {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='210' height='120'%3E%3Ctext x='28' y='78' transform='rotate(-25 100 60)' font-family='sans-serif' font-size='18' font-weight='600' fill='white' fill-opacity='.18'%3EJVRight%3C/text%3E%3C/svg%3E");
}
.tile.screen .screen-expand,
.tile.screen .tile-label {
  z-index: 5;
}

#local-record.recording-active {
  color: #ff547e;
  background: #482033;
}

.sidebar .sidebar-nav.sidebar-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  margin-bottom: 12px;
  padding: 12px 16px;
  border: 1px solid #ff98b5;
  border-radius: 12px;
  background: linear-gradient(115deg, #b31b4c, #9e1745);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  box-shadow:
    0 4px 16px #ce285a38,
    inset 0 1px 0 #ffffff20;
}
.sidebar .sidebar-nav.sidebar-plus:hover {
  background: linear-gradient(115deg, #c52458, #b31b4c);
  border-color: #ffc5d7;
}
.sidebar-plus > span {
  font-size: 22px;
  line-height: 1;
  color: #ffe0e9;
}
.sidebar .sidebar-nav.sidebar-plus:focus-visible {
  outline: 3px solid #ffd2df;
  outline-offset: 3px;
}
.screen-plan-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: #241326dc;
  color: #ffbfd4;
  border: 1px solid #a34b70;
  border-radius: 8px;
  padding: 5px 9px;
  font-size: 12px;
  pointer-events: none;
}
#local-record.record-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #90506b;
  border-radius: 12px;
  background: #462535;
  color: #ffe1eb;
  font-size: 13px;
  font-weight: 650;
}
#local-record.record-control svg {
  width: 19px;
  height: 19px;
}
#local-record.record-control:hover {
  background: #633047;
}
#local-record.recording-active {
  background: #b92450;
  color: white;
  border-color: #ffb5cb;
}
#local-record.recording-pending {
  border-color: #e5b464;
  color: #ffe3ae;
}
.recording-path-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
#recording-path {
  overflow-wrap: anywhere;
  flex: 1;
  min-width: 120px;
}
#recording-options {
  width: min(540px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
#recording-options p {
  font-size: 13px;
  line-height: 1.55;
}
#recording-options label {
  display: block;
  margin: 14px 0 8px;
  color: #e6dae5;
  font-weight: 600;
}
#recording-options select {
  display: block;
  width: 100%;
  min-height: 46px;
  margin-top: 9px;
  padding: 11px 38px 11px 13px;
  border: 1px solid #76516a;
  border-radius: 11px;
  background: #302635;
  color: #fff;
  font: inherit;
  color-scheme: dark;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23f8b5d0' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
}
#recording-options select:focus-visible {
  outline: 2px solid #ef83aa;
  outline-offset: 2px;
}
.subscription-status {
  padding: 12px;
  border: 1px solid #744259;
  background: #392431;
  border-radius: 10px;
  line-height: 1.6;
}
@media (max-width: 600px) {
  #local-record.record-control span {
    display: none;
  }
  #local-record.record-control {
    padding: 9px;
  }
}

#recording-export {
  width: min(900px, 94vw);
  max-height: 90dvh;
  padding: clamp(20px, 4vw, 48px);
  border-radius: 20px;
  overflow: auto;
}
#recording-progress {
  display: block;
  width: 100%;
  height: 14px;
  accent-color: #f36eac;
  border: 0;
  border-radius: 9px;
  overflow: hidden;
}
#recording-progress::-webkit-progress-bar {
  background: #392d40;
  border-radius: 9px;
}
#recording-progress::-webkit-progress-value {
  background: linear-gradient(90deg, #b83467, #f28ebb);
  border-radius: 9px;
}
#recording-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1900;
  max-width: calc(100vw - 36px);
  padding: 12px 18px;
  border: 1px solid #ed87b1;
  border-radius: 14px;
  background: #452238;
  color: #fff;
  box-shadow: 0 5px 25px #0008;
}
#recording-parts {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
#recording-download-done {
  margin: 12px;
}
@media (max-width: 600px) {
  #local-record.record-control.recording-active span {
    display: inline;
    font-size: 10px;
  }
  #recording-notice {
    bottom: calc(12px + env(safe-area-inset-bottom));
    font-size: 12px;
  }
}

.call-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.call-offer-actions button {
  flex: 1 1 220px;
  white-space: normal;
}
#call-plus-offer {
  width: min(580px, 92vw);
}
