﻿
.dr-app {
  width: 100%;
  max-width: 1296px;
  margin: 0 auto;
  padding: 40px 20px 72px;
  padding-left: var(--safe-x, 20px);
  padding-right: var(--safe-x, 20px);
  box-sizing: border-box;
  font-family: var(--font-main);
  color: var(--text-primary, #000);
}
.dr-app [hidden],
.dr-room [hidden],
.dr-modal[hidden],
.dr-room[hidden] { display: none !important; }

.dr-noscript { text-align: center; font-weight: 600; }
.dr-boot { display: flex; align-items: center; justify-content: center; min-height: 40vh; font-weight: 600; color: var(--text-secondary, #595959); }
.dr-spinner { width: 20px; height: 20px; margin-right: 10px; border-radius: 50%; border: 2.5px solid rgba(0, 0, 0, .15); border-top-color: var(--primary, #F12850); animation: dr-spin .8s linear infinite; }
@keyframes dr-spin { to { transform: rotate(360deg); } }

.dr-head { text-align: center; margin: 0 auto 32px; max-width: 760px; }
.dr-head .st-eyebrow { display: flex; justify-content: center; margin: 0 0 22px; }
.dr-head .dr-title { margin-bottom: 16px; }
.dr-screen { padding-top: 40px; }
@media (min-width: 860px) { .dr-app { padding-left: 48px; padding-right: 48px; } .dr-screen { padding-top: 64px; } }
.dr-title {
  font-size: 40px;
  font-size: var(--type-h1, 44px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 700;
  margin: 0 0 12px;
  outline: none;
}
.dr-accent {
  font-family: var(--font-accent);
  color: var(--primary, #F12850);
  font-size: 1.25em;
  display: inline-block;
  transform: rotate(-2deg);
  letter-spacing: 0;
}
.dr-sub { font-size: 20px; line-height: 1.45; font-weight: 500; margin: 0 auto; max-width: 46ch; }

.dr-card {
  display: block;
  border: 1.5px solid var(--black, #000);
  border-radius: var(--radius-card, 24px);
  background: var(--white, #fff);
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.dr-card--narrow { max-width: 520px; margin: 0 auto; }
.dr-card-scene { position: relative; background: #EBE2D6; height: 0; padding-bottom: 64%; overflow: hidden; }
.dr-preview-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dr-card-body { padding: 28px 24px 26px; border-top: 1.5px solid var(--black, #000); text-align: left; }
.dr-card--status .dr-card-body { border-top: 0; text-align: center; padding-top: 36px; }
.dr-card-title { font-size: 24px; line-height: 1.25; letter-spacing: -.01em; font-weight: 700; margin: 0 0 16px; outline: none; }
.dr-card-title--big { font-size: 26px; margin-bottom: 8px; }
.dr-text { font-size: 16px; line-height: 1.55; font-weight: 500; margin: 0 0 18px; }
.dr-note { font-size: 13px; line-height: 1.45; color: var(--text-secondary, #595959); margin: 12px 0 0; }
.dr-error { margin: 10px 0 0; color: var(--primary-ink, #c80d32); font-weight: 600; font-size: 14px; }
.dr-status-icon { display: block; font-size: 34px; margin-bottom: 10px; }

@media (min-width: 860px) {
  .dr-card:not(.dr-card--narrow) { display: flex; align-items: stretch; }
  .dr-card:not(.dr-card--narrow) .dr-card-scene { flex: 1 1 56%; height: auto; padding-bottom: 0; min-height: 420px; }
  .dr-card:not(.dr-card--narrow) .dr-card-body { flex: 1 1 44%; border-top: 0; border-left: 1.5px solid var(--black, #000); padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
}

.dr-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary, #595959); margin: 0 0 8px; padding: 0; }
.dr-vibes { border: 0; margin: 0; padding: 0; min-width: 0; }
.dr-vibe { display: block; position: relative; cursor: pointer; }
.dr-vibe input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dr-vibe-face {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 2px solid var(--black, #000);
  border-radius: 16px;
  background: #FFF0F3;
  box-shadow: 3px 3px 0 var(--black, #000);
}
.dr-vibe input:focus-visible + .dr-vibe-face { outline: 2px solid var(--black, #000); outline-offset: 3px; }
.dr-vibe-text { flex: 1 1 auto; display: block; }
.dr-vibe-text strong { display: block; font-size: 17px; font-weight: 700; }
.dr-vibe-text span { display: block; font-size: 14px; color: var(--black, #000); font-weight: 500; margin-top: 2px; }
.dr-vibe-check { width: 26px; height: 26px; border-radius: 50%; background: var(--black, #000); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dr-vibe-check svg { width: 15px; height: 15px; }

.dr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 2px solid var(--black, #000);
  border-radius: 14px;
  background: var(--white, #fff);
  color: var(--black, #000);
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  transition: transform .2s cubic-bezier(.23, 1, .32, 1), background-color .18s ease, box-shadow .2s ease;
}
.dr-btn svg { width: 18px; height: 18px; margin-right: 8px; flex-shrink: 0; }
.dr-btn--primary { background: var(--black, #000); color: var(--white, #fff) !important; }
.dr-btn--quiet { border-color: transparent; background: transparent; color: var(--black, #000); min-height: 44px; }
.dr-btn--block { display: flex; width: 100%; margin-top: 12px; }
.dr-btn[disabled] { opacity: .5; cursor: default; }
.dr-btn:focus-visible { outline: 2px solid var(--black, #000); outline-offset: 3px; }
@media (hover: hover) {
  .dr-btn:not([disabled]):not(.dr-btn--primary):not(.dr-btn--quiet):hover { background: #f0f0f0; transform: translateY(-1px); }
  .dr-btn--primary:not([disabled]):hover { background: var(--black-hover, #1a1a1a); border-color: var(--black-hover, #1a1a1a); transform: translateY(-1px); }
  .dr-btn--quiet:not([disabled]):hover { background: rgba(0, 0, 0, .05); color: var(--black, #000); }
}
.dr-btn:not([disabled]):active { transform: translateY(0); }

.dr-row { display: flex; }
.dr-row .dr-input { flex: 1 1 auto; min-width: 0; margin-right: 8px; }
.dr-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid rgba(0, 0, 0, .15);
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 500;
  background: var(--white, #fff);
  color: var(--black, #000);
  box-sizing: border-box;
}
.dr-input:focus { outline: none; border-color: var(--black, #000); }

.dr-seg.dr-seg--mode { display: flex; width: 100%; margin: 0 0 22px; padding: 4px; gap: 0; background: #fff; border: 1.5px solid var(--black, #000); border-radius: 999px; box-sizing: border-box; }
.dr-seg--mode .dr-seg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; color: var(--text-secondary, #595959); background: transparent; transition: color .2s ease, background-color .2s ease; }
.dr-seg--mode .dr-seg-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.dr-seg--mode .dr-seg-btn[aria-pressed="true"] { background: var(--black, #000); color: #fff; }
@media (hover: hover) { .dr-seg--mode .dr-seg-btn[aria-pressed="false"]:hover { color: var(--black, #000); background: transparent; } }
@media (max-width: 380px) { .dr-seg--mode .dr-seg-btn { gap: 5px; padding: 0 8px; font-size: 14px; } }
#dr-panel-join .dr-join-form { margin-top: 0; }
#dr-panel-join .dr-note { margin-top: 14px; }
.dr-join-form { margin-top: 10px; }

.dr-modal {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 20010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
.dr-modal-backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(0, 0, 0, .55); }
.dr-modal-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 100%;
  overflow-y: auto;
  padding: 30px 26px 24px;
  border: 2px solid var(--black, #000);
  border-radius: 24px;
  background: var(--white, #fff);
  box-shadow: 8px 8px 0 var(--black, #000);
  box-sizing: border-box;
  font-family: var(--font-main);
  animation: dr-pop .35s cubic-bezier(.16, 1, .3, 1) both;
}
.dr-modal-card--shot { max-width: 520px; }
@keyframes dr-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.dr-modal-title { margin: 0 0 10px; font-size: 22px; line-height: 1.25; font-weight: 700; outline: none; }
.dr-modal-actions { margin-top: 18px; }
.dr-modal-actions .dr-btn--block:first-child { margin-top: 0; }
.dr-shot-img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1.5px solid rgba(0, 0, 0, .12); background: #FBF6EE; }

html.dr-in-room,
html.dr-in-room body { overflow: hidden; height: 100%; overscroll-behavior: none; }

.dr-room {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 20000;
  font-family: var(--font-main);
  color: var(--black, #000);
  background: #E8D7C6;
  background: radial-gradient(ellipse at 50% 42%, #F6ECDF 0%, #E9D8C7 55%, #D6BFAA 100%);
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.dr-stage { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.dr-night {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(ellipse at 50% 42%, #3A2E45 0%, #221B2C 55%, #120E18 100%);
  opacity: 0;
  pointer-events: none;
}
.dr-canvas { position: relative; display: block; width: 100%; height: 100%; touch-action: none; outline: none; }
.dr-canvas:focus { outline: none; }
.dr-canvas:focus-visible { outline: 2px solid var(--black, #000); outline-offset: -3px; }

.dr-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border: 2px solid var(--black, #000);
  border-radius: 999px;
  background: var(--white, #fff);
  color: var(--black, #000);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--black, #000);
  cursor: pointer;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.dr-chip:focus-visible,
.dr-act:focus-visible,
.dr-tile:focus-visible,
.dr-tab:focus-visible,
.dr-dock-toggle:focus-visible { outline: 2px solid var(--black, #000); outline-offset: 2px; }
.dr-chip:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--black, #000); }
@media (hover: hover) {
  .dr-chip:not(.dr-chip--accent):not([data-state="on"]):hover { background: #f0f0f0; transform: translateY(-1px); }
  .dr-chip[data-state="on"]:hover { background: var(--black-hover, #1a1a1a); transform: translateY(-1px); }
  .dr-chip--accent:hover { background: var(--primary-ink, #c80d32); transform: translateY(-1px); }
  .dr-act:not([disabled]):hover { background: var(--surface-hover, #e8e8e2); }
  .dr-act--done:not([disabled]):hover { background: var(--black-hover, #1a1a1a); }
  .dr-tab[aria-selected="false"]:hover { background: rgba(0, 0, 0, .05); color: var(--black, #000); }
  .dr-dock-toggle:hover { background: var(--surface-hover, #e8e8e2); }

}
.dr-chip--icon { width: 44px; padding: 0; }
.dr-chip--icon svg { width: 20px; height: 20px; }
.dr-chip--small { min-height: 36px; padding: 0 14px; font-size: 13px; box-shadow: 2px 2px 0 var(--black, #000); }
.dr-chip--accent { background: var(--primary, #F12850); color: #fff; }

.dr-top {
  position: absolute;
  top: 12px; left: 12px; right: 12px;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.dr-top > * { pointer-events: auto; }
.dr-presence {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  max-width: 52%;
  padding: 0 14px;
  margin: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  border: 1.5px solid rgba(0, 0, 0, .12);
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-sizing: border-box;
}
.dr-presence-dot { width: 9px; height: 9px; border-radius: 50%; background: #F2A93B; margin-right: 8px; flex-shrink: 0; animation: dr-pulse 1.6s ease-in-out infinite; }
.dr-presence[data-state="together"] .dr-presence-dot { background: var(--success-green, #22C55E); animation: none; }
.dr-presence-voice { margin-left: 6px; }
@keyframes dr-pulse { 50% { opacity: .35; } }
#dr-presence-text { overflow: hidden; text-overflow: ellipsis; }

.dr-chip--mic { min-width: 44px; }
.dr-mic-emoji { margin-right: 6px; font-size: 16px; }
.dr-chip--mic[data-state="on"] { background: var(--black, #000); color: #fff; box-shadow: 3px 3px 0 var(--primary, #F12850); }
.dr-chip--mic[data-state="muted"] { color: var(--primary-ink, #c80d32); }
.dr-chip--mic[data-state="off"] .dr-mic-emoji,
.dr-chip--mic[data-state="unsupported"] .dr-mic-emoji { opacity: .45; }
.dr-chip--mic[data-state="unsupported"] { color: var(--text-secondary, #595959); }

.dr-subbar {
  position: absolute;
  top: 66px;
  top: calc(env(safe-area-inset-top, 0px) + 66px);
  left: 0; right: 0;
  text-align: center;
  pointer-events: none;
}
.dr-subbar .dr-chip { pointer-events: auto; margin: 0 4px; }



.dr-bottom {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 12px 12px;
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}
.dr-bottom > * { pointer-events: auto; }

.dr-actions {
  display: flex;
  align-items: center;
  max-width: 520px;
  margin: 0 auto 10px;
  padding: 6px;
  background: var(--white, #fff);
  border: 2px solid var(--black, #000);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--black, #000);
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dr-actions::-webkit-scrollbar {
  display: none;
}
.dr-actions-name { flex: 1 1 auto; min-width: 72px; padding: 0 10px; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dr-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  margin-left: 4px;
  border: 0;
  border-radius: 999px;
  background: var(--surface-placeholder, #F0EDE8);
  color: var(--black, #000);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.dr-act svg { width: 18px; height: 18px; }
.dr-act span { margin-left: 6px; }
.dr-act[disabled] { opacity: .35; cursor: default; }
.dr-act--danger { color: var(--primary-ink, #c80d32); }
.dr-act--done { background: var(--black, #000); color: #fff; }
@media (max-width: 520px) {
  .dr-act span { display: none; }
  .dr-act--done span { display: inline; }
}

.dr-dock {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white, #fff);
  border: 2px solid var(--black, #000);
  border-radius: 22px;
  box-shadow: 4px 4px 0 var(--black, #000);
  overflow: hidden;
}
.dr-dock-head { display: flex; align-items: center; padding: 8px 8px 0; }
.dr-tabs { display: flex; flex: 1 1 auto; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.dr-tabs::-webkit-scrollbar { display: none; }
.dr-tab {
  min-height: 40px;
  padding: 0 14px;
  margin-right: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary, #595959);
  cursor: pointer;
  white-space: nowrap;
}
.dr-tab[aria-selected="true"] { background: var(--black, #000); color: #fff; }
.dr-dock-toggle { width: 40px; height: 40px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--surface-placeholder, #F0EDE8); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--black, #000); }
.dr-dock-toggle svg { width: 18px; height: 18px; transition: transform .25s ease; }
.dr-dock[data-open="false"] .dr-dock-toggle svg { transform: rotate(180deg); }
.dr-dock[data-open="false"] .dr-tray { display: none; }
.dr-dock[data-open="false"] .dr-dock-head { padding-bottom: 8px; }
.dr-tray {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 10px 8px 10px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
.dr-tile {
  position: relative;
  flex: 0 0 auto;
  width: 88px;
  height: 84px;
  margin-right: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(0, 0, 0, .12);
  border-radius: 16px;
  background: #FBF8F3;
  color: var(--black, #000);
  font-family: var(--font-main);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform .18s cubic-bezier(.23, 1, .32, 1), border-color .18s ease, box-shadow .18s ease;
}
.dr-tile svg { width: 30px; height: 30px; }
.dr-tile-label { margin-top: 6px; font-size: 12px; font-weight: 700; line-height: 1.15; text-align: center; padding: 0 4px; }
.dr-tile-count { position: absolute; top: 6px; right: 6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--primary, #F12850); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; box-sizing: border-box; }
.dr-tile-count:empty { display: none; }
.dr-tile[disabled] { opacity: .4; cursor: default; }
@media (hover: hover) {
  .dr-tile:not([disabled]):hover { background: #f0f0f0; border-color: var(--black, #000); transform: translateY(-1px); }
}
.dr-tile:not([disabled]):active { transform: translateY(0); }

.dr-kbd-hint {
  position: absolute;
  left: 50%;
  top: 112px;
  top: calc(env(safe-area-inset-top, 0px) + 112px);
  transform: translateX(-50%);
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .78);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.dr-room.kbd-focus .dr-kbd-hint { opacity: 1; }
@media (pointer: coarse) { .dr-kbd-hint { display: none; } }

.dr-toast {
  position: absolute;
  left: 50%;
  bottom: 214px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 214px);
  max-width: 86%;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--black, #000);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.dr-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.dr-banner {
  position: absolute;
  left: 50%;
  top: 66px;
  top: calc(env(safe-area-inset-top, 0px) + 66px);
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid var(--black, #000);
  background: var(--accent-yellow, #FFC701);
  font-size: 13px;
  font-weight: 700;
}

.dr-loading {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 42%, #F6ECDF 0%, #E9D8C7 55%, #D6BFAA 100%);
  transition: opacity .4s ease;
  z-index: 3;
}
.dr-loading.is-done { opacity: 0; pointer-events: none; }
.dr-loading-text { margin: 0 0 16px; font-size: 18px; font-weight: 700; text-align: center; padding: 0 20px; }
.dr-loading-bar { width: 220px; height: 10px; border: 2px solid var(--black, #000); border-radius: 10px; background: #fff; overflow: hidden; }
.dr-loading-bar span { display: block; height: 100%; width: 5%; background: var(--primary, #F12850); transition: width .45s cubic-bezier(.23, 1, .32, 1); }

.dr-skip {
  position: absolute;
  right: 16px;
  bottom: 24px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
}

.dr-final {
  position: absolute;
  left: 50%;
  bottom: 28px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
  width: 440px;
  max-width: calc(100% - 32px);
  transform: translateX(-50%);
  padding: 22px 22px 18px;
  background: var(--white, #fff);
  border: 2px solid var(--black, #000);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--black, #000);
  text-align: center;
  box-sizing: border-box;
  animation: dr-rise .6s cubic-bezier(.16, 1, .3, 1) both;
}
@keyframes dr-rise { from { opacity: 0; transform: translate(-50%, 18px); } to { opacity: 1; transform: translate(-50%, 0); } }
.dr-final-title { margin: 0; font-family: var(--font-main); font-size: 28px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; outline: none; }
.dr-final-sub { margin: 6px 0 18px; font-size: 16px; font-weight: 500; color: #000; }
.dr-final-actions { margin: 0; }
.dr-final-main { display: flex; }
.dr-final-main .dr-btn { flex: 1 1 0; margin: 0 4px; min-height: 48px; padding: 0 12px; }
.dr-final-more { display: flex; justify-content: center; margin-top: 10px; }
.dr-final-more .dr-btn { flex: 0 1 auto; margin: 0 2px; min-height: 40px; padding: 0 16px; font-weight: 600; }

.dr-fatal {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(20, 16, 25, .55);
  z-index: 5;
}

.dr-room.is-revealing .dr-bottom,
.dr-room.is-revealing .dr-subbar,
.dr-room.is-filming .dr-final,
.dr-room.is-filming .dr-top,

.dr-room.is-revealing .dr-kbd-hint { opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.dr-room.is-revealing .dr-presence { background: rgba(255, 255, 255, .7); }

@media (max-width: 599px) {
  .dr-app { padding-top: 24px; }
  .dr-title { font-size: 36px; }
  .dr-sub { font-size: 17px; }
  .dr-card { border-radius: var(--radius-card-mobile, 20px); }
  .dr-card-body { padding: 22px 18px 20px; }
  .dr-card-title--big { font-size: 22px; }
  .dr-presence { font-size: 13px; padding: 0 10px; }
  .dr-chip--mic { padding: 0 12px; }
  .dr-chip--mic #dr-mic-label { max-width: 82px; overflow: hidden; text-overflow: ellipsis; }
  .dr-tile { width: 76px; height: 76px; }
  .dr-tile svg { width: 26px; height: 26px; }
  .dr-toast { bottom: 196px; bottom: calc(env(safe-area-inset-bottom, 0px) + 196px); }
  .dr-final-title { font-size: 24px; }
  .dr-final { box-shadow: 6px 6px 0 var(--black, #000); }
}
@media (max-width: 599px) and (max-height: 640px), (max-height: 480px) {
  .dr-tray { padding-top: 6px; padding-bottom: 6px; }
  .dr-tile { height: 64px; }
  .dr-tile-label { margin-top: 2px; }
}
@media (max-height: 480px) {
  .dr-dock { max-width: 640px; }
  .dr-toast { bottom: 168px; }
}

@media (prefers-reduced-motion: reduce) {
  .dr-presence-dot,
.dr-spinner { animation: none; }
  .dr-modal-card,
  .dr-btn,
.dr-tile,
.dr-toast,
.dr-loading-bar span,
.dr-bottom { transition: none; }
}


.dr-mic-short { display: none; }
@media (max-width: 599px) {
  .dr-chip--mic #dr-mic-label { display: none; }
  .dr-mic-short { display: inline; }
}

.dr-vibe-grid { display: flex; flex-wrap: wrap; margin: 0 -4px; }
.dr-vibe-grid .dr-vibe { flex: 1 1 200px; margin: 0 4px 8px; }
.dr-vibe-grid .dr-vibe-face {
  height: 100%;
  padding: 10px 12px;
  border: 2px solid rgba(0, 0, 0, .14);
  border-radius: 14px;
  background: var(--white, #fff);
  box-shadow: none;
  box-sizing: border-box;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.dr-vibe-grid .dr-vibe-text strong { font-size: 15px; }
.dr-vibe-grid .dr-vibe-text span { font-size: 12.5px; line-height: 1.35; }
.dr-vibe-grid .dr-vibe-check { width: 22px; height: 22px; margin-left: 8px; opacity: 0; transform: scale(.6); transition: opacity .15s ease, transform .15s ease; }
.dr-vibe-grid .dr-vibe-check svg { width: 13px; height: 13px; }
.dr-vibe-grid .dr-vibe input:checked + .dr-vibe-face { border-color: var(--black, #000); background: #fff0f3; box-shadow: none; transform: none; }
.dr-vibe-grid .dr-vibe input:checked + .dr-vibe-face .dr-vibe-check { opacity: 1; transform: none; }
@media (hover: hover) { .dr-vibe-grid .dr-vibe:hover input:not(:checked) + .dr-vibe-face { border-color: var(--black, #000); background: #f0f0f0; } }
@media (min-width: 860px) {
  .dr-card:not(.dr-card--narrow) .dr-card-body { padding: 32px 28px; }
  .dr-card:not(.dr-card--narrow) .dr-card-scene { min-height: 440px; }
  #dr-screen-create .dr-card-scene { min-height: 560px; }
}
.dr-vibes + .dr-btn--block { margin-top: 8px; }

.dr-vibe-chip { display: inline-block; width: fit-content; margin: 0 0 14px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--primary-medium, rgba(241, 40, 80, .15)); background: #fff0f3; color: var(--primary-ink, #c80d32); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.dr-vibe-chip[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .dr-vibe-grid .dr-vibe-face,
.dr-vibe-grid .dr-vibe-check { transition: none; } }

.dr-code {
  margin: 0 0 16px;
  padding: 14px 18px;
  border: 1.5px solid var(--black, #000);
  border-radius: 16px;
  background: #fff0f3;
  font-family: var(--font-main);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: .14em;
  text-align: center;
  -webkit-user-select: all;
  user-select: all;
  overflow-wrap: anywhere;
}
.dr-input--code { text-transform: uppercase; font-weight: 700; letter-spacing: .08em; }
.dr-input--code::placeholder { font-weight: 500; letter-spacing: .04em; text-transform: none; }
.dr-pick-hint { text-align: center; margin: 10px 0 0; }
.dr-card-body .dr-btn--block:first-of-type { margin-top: 0; }
@media (max-width: 599px) {
  .dr-code { font-size: 32px; letter-spacing: .1em; padding: 12px; }
  .dr-screen { padding-top: 32px; }
  .dr-head .st-eyebrow { margin-bottom: 18px; }
}

.dr-card-title--big { font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.dr-vibe-chip { margin-bottom: 18px; }
.dr-card-body > .dr-text { font-size: 16px; margin-bottom: 20px; }
.dr-code {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1.5px solid rgba(0, 0, 0, .14);
  border-radius: 14px;
  background: var(--surface-subtle, #fafaf8);
  font-size: 30px;
  letter-spacing: .12em;
  color: var(--black, #000);
}
.dr-btn--first { margin-top: 0; }
.dr-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; font-size: 13px; font-weight: 500; color: var(--text-secondary, #595959); }
.dr-or::before, .dr-or::after { content: ""; flex: 1 1 auto; height: 1px; background: rgba(0, 0, 0, .1); }
.dr-code-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin: 0 0 8px; padding: 0; border: 0; background: none; color: var(--black, #000); font: inherit; }
.dr-code-btn .dr-code { flex: 1 1 auto; margin: 0; padding: 10px 14px; font-size: 24px; -webkit-user-select: none; user-select: none; transition: border-color .15s ease, background-color .15s ease; }
.dr-code-btn svg { position: absolute; right: 18px; width: 18px; height: 18px; opacity: .55; }
.dr-code-btn { position: relative; }
@media (hover: hover) { .dr-code-btn:hover .dr-code { border-color: var(--black, #000); background: #fff; } }
.dr-code-btn:focus-visible { outline: none; }
.dr-code-btn:focus-visible .dr-code { outline: 2px solid var(--black, #000); outline-offset: 2px; }
.dr-card-body > .dr-btn--quiet.dr-btn--block { margin-top: 6px; }
.dr-card-body > .dr-note { margin-top: 10px; }
@media (max-width: 599px) { .dr-code { font-size: 26px; letter-spacing: .08em; } .dr-code-btn .dr-code { font-size: 22px; } }

.dr-modal-card { max-width: 420px; padding: 32px 24px 28px; text-align: center; box-shadow: 8px 8px 0 var(--black, #000); }
.dr-modal-card--shot { max-width: 520px; }
.dr-modal-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: rgba(241, 40, 80, .08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dr-modal-icon svg { width: 32px; height: 32px; }
.dr-modal-x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; padding: 6px; border: 0; border-radius: 50%; background: transparent; color: var(--black, #000); opacity: .45; display: flex; align-items: center; justify-content: center; cursor: pointer; -webkit-appearance: none; appearance: none; transition: opacity .2s ease, background-color .2s ease; }
.dr-modal-x svg { width: 20px; height: 20px; }
.dr-modal-x:focus-visible { outline: 2px solid var(--black, #000); outline-offset: 2px; }
@media (hover: hover) { .dr-modal-x:hover { opacity: 1; background: rgba(0, 0, 0, .06); } }
.dr-modal-title { margin: 0 0 10px; font-size: 24px; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; text-align: center; outline: none; }
.dr-modal-lead { margin: 0 0 26px; font-size: 15px; line-height: 1.55; font-weight: 500; color: #000; }
.dr-modal-actions { margin-top: 0; }
.dr-modal-actions .dr-btn { min-height: 48px; padding: 12px 20px; font-size: 15px; border-radius: 14px; }
.dr-modal-actions .dr-btn--block { margin-top: 10px; }
.dr-modal-actions .dr-btn--block:first-child { margin-top: 0; }
.dr-modal-card--shot .dr-modal-actions { margin-top: 16px; }
.dr-modal-card--shot .dr-note { margin: 12px 0 0; color: #000; }
@media (max-width: 420px) {
  .dr-modal-card { padding: 28px 20px 24px; border-radius: 20px; box-shadow: 6px 6px 0 var(--black, #000); }
  .dr-modal-icon { width: 56px; height: 56px; margin-bottom: 16px; }
  .dr-modal-icon svg { width: 28px; height: 28px; }
  .dr-modal-title { font-size: 20px; margin-bottom: 8px; }
  .dr-modal-lead { font-size: 14px; }
}

html body #dr-mic .dr-modal-card p,
html body #dr-shot .dr-modal-card p,
html body #dr-fatal .dr-modal-card p { text-align: center !important; font-family: var(--font-main) !important; margin-left: 0 !important; margin-right: 0 !important; color: #000 !important; }
html body #dr-mic .dr-modal-card p.dr-modal-lead { font-size: 15px !important; line-height: 1.55 !important; font-weight: 500 !important; margin-bottom: 26px !important; }
@media (max-width: 420px) { html body #dr-mic .dr-modal-card p.dr-modal-lead { font-size: 14px !important; } }

.dr-app {
  --dr-hero-h1: 44px;
  --dr-hero-sub: 22px;
}
@media (min-width: 1200px) { .dr-app { --dr-hero-h1: clamp(36px, 3.67vw, 44px); --dr-hero-sub: clamp(20px, 1.83vw, 22px); } }
@media (min-width: 768px) and (max-width: 1199px) { .dr-app { --dr-hero-h1: 36px; --dr-hero-sub: 20px; } }
@media (max-width: 767px) { .dr-app { --dr-hero-h1: 32px; --dr-hero-sub: 19px; } }
.dr-title { font-size: var(--dr-hero-h1); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 10px; }
.dr-sub { font-size: var(--dr-hero-sub); line-height: 1.45; letter-spacing: -.01em; font-weight: 500; color: var(--black, #000); max-width: 58ch; }
.dr-head .dr-title { margin-bottom: 10px; }

.dr-chip,
.dr-chip--small,
.dr-dock,
.dr-actions { box-shadow: none; }
.dr-chip:active { transform: translateY(0); box-shadow: none; }
.dr-chip--mic[data-state="on"] { background: var(--white, #fff); color: var(--black, #000); box-shadow: none; }
@media (hover: hover) { .dr-chip[data-state="on"]:hover { background: #f0f0f0; } }
.dr-chip--mic[data-state="on"] .dr-mic-icon { color: var(--black, #000); }
.dr-chip--mic[data-state="on"]:before { content: ""; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--success-green, #22C55E); flex-shrink: 0; }
.dr-chip--mic[data-state="muted"] .dr-mic-icon,
.dr-chip--mic[data-state="off"] .dr-mic-icon,
.dr-chip--mic[data-state="unsupported"] .dr-mic-icon { color: var(--text-secondary, #595959); }
.dr-chip--mic[data-state="muted"] { color: var(--primary-ink, #c80d32); }
.dr-chip--mic[data-state="muted"] .dr-mic-icon { color: var(--primary-ink, #c80d32); }
.dr-mic-icon { display: inline-flex; margin-right: 8px; }
.dr-mic-icon svg { width: 18px; height: 18px; }
.dr-chip--accent { background: var(--primary, #F12850); color: #fff; box-shadow: none; }

.dr-presence { background: var(--white, #fff); border: 2px solid var(--black, #000); max-width: 62%; }
.dr-presence-code { display: inline-flex; align-items: center; margin: 0 -8px 0 12px; padding: 0 10px; min-height: 28px; border: 0; border-radius: 999px; background: #f0f0f0; font-family: var(--font-main); font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--black, #000); cursor: pointer; }
.dr-presence-code svg { width: 14px; height: 14px; margin-left: 6px; }
.dr-presence-code[hidden] { display: none; }
@media (hover: hover) { .dr-presence-code:hover { background: var(--surface-hover, #e8e8e2); } }

.dr-tile { width: 92px; height: 100px; }
.dr-tile-img { width: 56px; height: 56px; object-fit: contain; display: block; pointer-events: none; -webkit-user-drag: none; }
.dr-tile svg { width: 30px; height: 30px; margin: 13px 0; }
.dr-tile-label { margin-top: 4px; }
@media (max-width: 599px) { .dr-tile { width: 82px; height: 92px; } .dr-tile-img { width: 48px; height: 48px; } }
.dr-vibe-thumb { width: 72px; height: 48px; object-fit: cover; border-radius: 10px; margin-right: 12px; flex-shrink: 0; background: #ebe2d6; display: block; }
.dr-vibe-grid .dr-vibe-thumb { width: 60px; height: 40px; border-radius: 8px; }

.dr-vibe-grid .dr-vibe-thumb { width: 52px; height: 36px; margin-right: 10px; }
.dr-vibe-grid .dr-vibe-face { padding: 10px; }


.dr-tray--style { display: block; overflow-x: hidden; max-height: 232px; overflow-y: auto; padding: 6px 12px 12px; }
.dr-style { display: block; }
.dr-seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--surface-placeholder, #f0ede8); margin: 0 0 10px; }
.dr-seg-btn { min-height: 34px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; font-family: var(--font-main); font-size: 14px; font-weight: 700; color: var(--text-secondary, #595959); cursor: pointer; }
.dr-seg-btn[aria-pressed="true"] { background: var(--black, #000); color: #fff; }
@media (hover: hover) { .dr-seg-btn[aria-pressed="false"]:hover { color: var(--black, #000); background: rgba(0, 0, 0, .05); } }
.dr-seg-btn:focus-visible, .dr-mat:focus-visible, .dr-swatch:focus-visible, .dr-swatch--custom:focus-within { outline: 2px solid var(--black, #000); outline-offset: 2px; }
.dr-mats { display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 2px 2px 8px; scrollbar-width: thin; }
.dr-mat { flex: 0 0 auto; width: 76px; margin-right: 8px; padding: 6px 4px 6px; display: flex; flex-direction: column; align-items: center; border: 2px solid rgba(0, 0, 0, .12); border-radius: 14px; background: #fbf8f3; font-family: var(--font-main); color: var(--black, #000); cursor: pointer; }
.dr-mat[aria-pressed="true"] { border-color: var(--black, #000); background: #fff0f3; }
@media (hover: hover) { .dr-mat[aria-pressed="false"]:hover { background: #f0f0f0; border-color: var(--black, #000); transform: translateY(-1px); } }
.dr-mat-img { width: 56px; height: 56px; border-radius: 10px; display: block; }
.dr-mat-label { margin-top: 5px; font-size: 11px; font-weight: 700; line-height: 1.15; text-align: center; }
.dr-swatches { display: flex; flex-wrap: wrap; padding-top: 4px; }
.dr-swatch { position: relative; width: 30px; height: 30px; margin: 0 8px 8px 0; padding: 0; border: 2px solid rgba(0, 0, 0, .18); border-radius: 50%; cursor: pointer; display: inline-block; box-sizing: border-box; overflow: hidden; }
.dr-swatch[aria-pressed="true"] { border-color: var(--black, #000); box-shadow: 0 0 0 2px #fff inset; }
@media (hover: hover) { .dr-swatch:hover { border-color: var(--black, #000); transform: translateY(-1px); } }
.dr-swatch--custom { background: conic-gradient(#f12850, #ffc701, #22c55e, #38bdf8, #8b5cf6, #f12850); }
.dr-swatch--custom input { position: absolute; top: -6px; left: -6px; width: 44px; height: 44px; opacity: 0; cursor: pointer; border: 0; padding: 0; }
@media (max-width: 599px) { .dr-tray--style { max-height: 220px; } .dr-mat { width: 70px; } }
@media (max-width: 599px) {
  .dr-tray--style { max-height: none; overflow-y: visible; padding: 4px 12px 12px; }
  .dr-swatches { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 4px 2px 4px; scrollbar-width: none; }
  .dr-swatches::-webkit-scrollbar { display: none; }
  .dr-swatch { flex: 0 0 auto; }
  .dr-seg { margin-bottom: 8px; }
}

.dr-chip--small svg { width: 14px; height: 14px; margin-right: 6px; flex-shrink: 0; }
#dr-finish[aria-pressed="true"] { background: #fff0f3; }
#dr-finish[aria-pressed="true"] svg { display: none; }
#dr-finish[hidden], #dr-invite-again[hidden] { display: none; }

.dr-final-title .dr-accent { font-size: 1.3em; line-height: 1; margin: 0 .08em; }

.dr-shot-img { width: auto; max-width: 100%; max-height: 40vh; margin: 4px auto 14px; object-fit: contain; }
.dr-modal-card--shot .dr-modal-title { margin-bottom: 14px; }
.dr-modal-card--shot .dr-modal-lead { margin-bottom: 20px; }
.dr-modal-card { scrollbar-width: none; -ms-overflow-style: none; }
.dr-modal-card::-webkit-scrollbar { display: none; }
html body #dr-shot .dr-modal-card p.dr-modal-lead { font-size: 15px !important; margin-bottom: 20px !important; color: #000 !important; }
@media (max-height: 700px) { .dr-shot-img { max-height: 32vh; } }

.dr-app { min-height: 72vh; }


@media (max-width: 599px) {
  .dr-top { flex-wrap: wrap; row-gap: 8px; }
  .dr-top > .dr-chip { order: 1; }
  .dr-top::before { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .dr-presence { order: 3; max-width: 100%; margin: 0 auto; }
  .dr-subbar { top: calc(env(safe-area-inset-top, 0px) + 124px); }
}

.dr-room.is-filming .dr-final,
.dr-room.is-filming .dr-top { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility 0s linear .3s; }
.dr-filmbar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  transform: translateX(-50%);
  z-index: 6;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px 0 16px;
  border: 2px solid var(--black, #000);
  border-radius: 999px;
  background: var(--white, #fff);
  color: var(--black, #000);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}
.dr-filmbar[hidden] { display: none; }
.dr-film-dot { width: 10px; height: 10px; margin-right: 10px; border-radius: 50%; background: var(--primary, #F12850); animation: dr-pulse 1.1s ease-in-out infinite; }
.dr-film-cancel {
  margin-left: 12px;
  min-height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #f0f0f0;
  color: var(--black, #000);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
@media (hover: hover) { .dr-film-cancel:hover { background: #e4e4e4; } }
.dr-film-cancel:focus-visible { outline: 2px solid var(--black, #000); outline-offset: 2px; }
.dr-video-el { background: #120E18; }

.dr-card-sub { margin: 4px 0 18px; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--black, #000); }
.dr-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.dr-card-title:not(.dr-card-title--big) { margin-bottom: 4px; }

.dr-note { color: var(--black, #000); }
.dr-pick-hint { color: var(--text-secondary, #595959); }


.dr-btn span { white-space: nowrap; }
@media (max-width: 420px) {
  .dr-final-main .dr-btn { padding: 0 10px; font-size: 15px; }
  .dr-final-main .dr-btn svg,
  .dr-final-more .dr-btn svg { margin-right: 6px; }
  .dr-final-more .dr-btn { padding: 0 10px; font-size: 15px; }
}

@media (min-width: 1024px) and (min-height: 560px) {
  .dr-room { --dr-panel: 436px; }
  .dr-room.dock-closed,
  .dr-room.is-revealing { --dr-panel: 0px; }
  .dr-stage { right: var(--dr-panel); }
  .dr-bottom { left: auto; right: 16px; top: 76px; top: calc(env(safe-area-inset-top, 0px) + 76px); bottom: 16px; width: 420px; padding: 0; display: flex; flex-direction: column; }
  .dr-room.dock-closed .dr-bottom { width: auto; bottom: auto; }
  .dr-dock { flex: 1 1 auto; min-height: 0; max-width: none; width: 100%; margin: 0; display: flex; flex-direction: row-reverse; }
  .dr-dock[data-open="false"] { flex: 0 0 auto; }
  .dr-dock-head { flex: 0 0 112px; flex-direction: column; align-items: stretch; padding: 10px 8px; border-left: 2px solid rgba(0, 0, 0, .08); }
  .dr-dock[data-open="false"] .dr-dock-head { border-left: 0; padding-bottom: 10px; }
  .dr-dock-toggle { order: -1; align-self: center; margin-bottom: 8px; }
  .dr-dock-toggle svg { transform: rotate(-90deg); }
  .dr-dock[data-open="false"] .dr-dock-toggle svg { transform: rotate(90deg); }
  .dr-tabs { flex-direction: column; flex-wrap: nowrap; overflow: visible; }
  .dr-tab { width: 100%; margin: 0 0 4px; padding: 0 12px; text-align: left; }
  .dr-tray { flex: 1 1 auto; min-width: 0; min-height: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; align-content: start; overflow-x: hidden; overflow-y: auto; padding: 12px; scroll-snap-type: none; }
  .dr-tray .dr-tile { width: auto; height: 100px; margin: 0; }
  .dr-tray.dr-tray--style { display: block; max-height: none; overflow-y: auto; padding: 12px; }
  .dr-tray--style .dr-mats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 2px 0 12px; }
  .dr-tray--style .dr-mat { width: auto; margin: 0; }
  .dr-tray--style .dr-swatches { flex-wrap: wrap; overflow: visible; }
  .dr-actions { position: fixed; left: calc((100% - var(--dr-panel)) / 2); bottom: 20px; transform: translateX(-50%); width: 900px; max-width: calc(100% - var(--dr-panel) - 32px); margin: 0; }
  .dr-toast { left: calc((100% - var(--dr-panel)) / 2); bottom: 96px; }
  .dr-kbd-hint { left: calc((100% - var(--dr-panel)) / 2); }
}

#dr-join-input.is-error,
#dr-join-input.is-error:hover,
#dr-join-input.is-error:focus { border-color: var(--primary, #F12850) !important; }
#dr-join-input.is-shake { animation: dr-shake .42s cubic-bezier(.36, .07, .19, .97) both; }
@keyframes dr-shake {
  15%, 85% { transform: translateX(-2px); }
  30%, 70% { transform: translateX(5px); }
  45% { transform: translateX(-7px); }
  60% { transform: translateX(7px); }
}
@media (prefers-reduced-motion: reduce) { #dr-join-input.is-shake { animation: none; } }

.dr-pill {
  position: fixed;
  left: 50%;
  top: 16px;
  top: calc(env(safe-area-inset-top, 0px) + 16px);
  z-index: 2147483000;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 32px);
  margin: 0;
  padding: 10px 18px 10px 14px;
  border: 2px solid var(--black, #000);
  border-radius: 999px;
  background: var(--white, #fff);
  color: var(--black, #000);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  box-sizing: border-box;
  opacity: 0;
  transform: translate(-50%, -12px);
  transition: opacity .25s ease, transform .25s ease;
}
.dr-pill[hidden] { display: none; }
.dr-pill.is-on { opacity: 1; transform: translate(-50%, 0); }
.dr-pill-dot { flex: 0 0 auto; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: var(--primary, #F12850); }
@media (prefers-reduced-motion: reduce) { .dr-pill { transition: none; } }
@media (max-width: 420px) { .dr-pill { font-size: 14px; padding: 9px 14px 9px 12px; } }


.dr-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.dr-photo-add { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 150px; padding: 12px; border: 2px dashed rgba(0, 0, 0, .25); border-radius: 16px; background: #FBF8F3; text-align: center; cursor: pointer; }
.dr-photo-add svg { width: 26px; height: 26px; margin-bottom: 6px; }
.dr-photo-add-title { font-size: 14px; font-weight: 700; color: var(--black, #000); }
.dr-photo-add-note { margin-top: 4px; font-size: 12px; font-weight: 500; color: var(--black, #000); }
.dr-photo-add.is-disabled { opacity: .55; cursor: default; }
.dr-photo-add:focus-within { outline: 2px solid var(--black, #000); outline-offset: 2px; }
@media (hover: hover) { .dr-photo-add:not(.is-disabled):hover { border-color: var(--black, #000); background: #f0f0f0; } }
.dr-photo { border: 2px solid rgba(0, 0, 0, .12); border-radius: 16px; padding: 8px; background: #fff; }
.dr-photo-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; background: #E8DED2; }
.dr-photo-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.dr-photo-act { min-height: 34px; padding: 0 6px; border: 0; border-radius: 10px; background: var(--surface-placeholder, #F0EDE8); color: var(--black, #000); font-family: var(--font-main); font-size: 12px; font-weight: 700; line-height: 1.1; cursor: pointer; }
@media (hover: hover) { .dr-photo-act:hover { background: #e4e4e4; } }
.dr-photo-act:focus-visible { outline: 2px solid var(--black, #000); outline-offset: 2px; }
@media (max-width: 599px) { .dr-photos { display: flex; overflow-x: auto; } .dr-photos > * { flex: 0 0 160px; } }

.dr-tray--style .dr-windows .dr-tile { width: auto; margin: 0; }
.dr-windows { display: flex; gap: 8px; }
.dr-windows .dr-tile { flex: 0 0 auto; width: 92px; margin: 0; }
@media (min-width: 1024px) and (min-height: 560px) { .dr-windows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } .dr-windows .dr-tile { width: auto; } }
.dr-style-hint { margin: 10px 2px 0; font-size: 13px; font-weight: 500; line-height: 1.4; color: var(--black, #000); }

.dr-actions { max-width: 900px; }
.dr-act { flex-shrink: 0; }
@media (max-width: 760px) and (min-width: 521px) { .dr-act span { display: none; } .dr-act--done span { display: inline; } }
@media (max-width: 430px) { .dr-actions { justify-content: space-between; } .dr-actions-name { display: none; } .dr-act { margin-left: 0; } }

.dr-wallpick { margin: 0 0 12px; }
.dr-seg--sub { display: flex; width: 100%; max-width: 420px; margin: 0; padding: 0; gap: 6px; background: none; }
.dr-seg--sub .dr-seg-btn { flex: 1 1 0; min-height: 32px; padding: 0 10px; border: 1.5px solid rgba(0, 0, 0, .14); background: #fff; font-size: 13px; color: var(--black, #000); white-space: nowrap; }
.dr-seg--sub .dr-seg-btn[aria-pressed="true"] { border-color: var(--primary, #F12850); background: #fff0f3; color: var(--primary-ink, #c80d32); }
@media (hover: hover) { .dr-seg--sub .dr-seg-btn[aria-pressed="false"]:hover { border-color: var(--black, #000); background: #fff; } }
.dr-wallpick-hint { margin: 6px 2px 0; font-size: 12.5px; color: var(--text-secondary, #595959); }
@media (min-width: 860px) { #dr-screen-create .dr-card:not(.dr-card--narrow) .dr-card-body { justify-content: flex-start; } }

.dr-history { display: inline-flex; margin: 0 4px; pointer-events: auto; }
.dr-subbar .dr-history .dr-chip { margin: 0 3px; }
.dr-subbar .dr-history .dr-chip.dr-chip--icon { width: 40px; min-width: 40px; height: 40px; min-height: 40px; padding: 0; justify-content: center; }
.dr-subbar .dr-history .dr-chip.dr-chip--icon svg { width: 17px; height: 17px; margin: 0; }
.dr-subbar .dr-history .dr-chip.dr-chip--icon[disabled] { opacity: .4; cursor: default; box-shadow: none; }
@media (max-width: 1100px) and (min-width: 521px) {
  .dr-act span { display: none; }
  .dr-act--done span { display: inline; }
}
@media (max-width: 1023px), (max-height: 559px) {
  .dr-dock-head { flex-wrap: wrap; padding-top: 4px; }
  .dr-dock-toggle { order: -1; flex: 0 0 auto; margin: 0 calc(50% - 20px) 6px; }
  .dr-dock-head .dr-tabs { flex: 1 1 100%; }
}

#dr-invite-banner {
  position: absolute;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  background: var(--white, #fff);
  color: var(--black, #000);
  border: 2px solid var(--black, #000);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px 10px 14px;
  z-index: 2147483000;
  white-space: nowrap;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}
#dr-invite-banner .dr-pill-dot {
  background: #00C853;
}
#dr-invite-banner[hidden] {
  display: inline-flex !important;
  opacity: 0;
  transform: translate(-50%, -20px) scale(0.95);
  pointer-events: none;
}
#dr-screen-invite {
  position: relative;
}

@media (min-width: 600px) {
  .dr-presence {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
}

.dr-presence-voice {
  display: flex;
  align-items: center;
  justify-content: center;
}
.dr-presence-voice svg {
  display: block;
}



