.didi-profile-link,.didi-icon,.dp-icon-button,.dp-tabbar span { display:grid;place-items:center;flex:none }
.didi-profile-link { width:42px;height:42px;margin-inline-end:auto;border-radius:50%;background:#eef3fb;color:#28415f }
.didi-profile-link svg,.didi-icon svg,.dp-icon-button svg,.dp-tabbar svg { width:21px;height:21px }
.didi-profile-link:active,.dp-icon-button:active,.dp-action:active,.dp-row:active { transform:scale(.97) }
#in-call-preferences,#call-ear,#call-output,#call-input-label,#ear-shade,
body:has(#call-dialog[open]) .didi-profile-link { display:none!important }
.didi-trust { width:min(600px,100%);margin:clamp(35px,8vw,82px) auto 0;text-align:center;padding:clamp(16px,4vw,36px) 0;color:#253a50 }
.didi-trust h2 { margin:0;font-size:clamp(24px,5vw,36px);letter-spacing:-.045em }
.didi-trust p { margin:9px auto 0;max-width:37ch;color:#475c73;font-size:15px;line-height:1.55 }
.didi-trust-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(5px,2vw,16px);margin-top:24px }
.didi-trust-grid>div { display:grid;justify-items:center;align-content:start;gap:6px;padding:13px 3px;border:1px solid #e8eef5;border-radius:16px;background:#ffffffa8 }
.didi-trust-grid strong { font-size:clamp(11px,3vw,14px) }
.didi-trust-grid small { color:#526579;font-size:11px;line-height:1.25;overflow-wrap:anywhere }
.didi-icon { width:38px;height:38px;border-radius:12px;background:#eaf1ff;color:#315d99 }
.didi-icon.lilac { color:#6344a6;background:#f0eafe }
.didi-icon.mint { color:#19745a;background:#e3f6ed }
.didi-icon.rose { color:#ac3958;background:#ffedf3 }
.didi-icon.gold { color:#8b521c;background:#fff0dd }
.didi-icon.blue { box-shadow:0 2px 12px #3974bd17 }
.didi-availability { display:flex;align-items:center;justify-content:center;gap:8px;margin-top:22px;font-size:13px;color:#526579 }
.didi-availability i { width:7px;height:7px;border-radius:50%;background:#8c99a7 }
.didi-availability[data-online=true] i { background:#218251;animation:dp-pulse 2.3s ease-out infinite }
@keyframes dp-pulse { 50% { box-shadow:0 0 0 5px #21825127 } 100% { box-shadow:0 0 0 8px #21825100 } }
.didi-home-footer { width:min(600px,calc(100% - 32px));margin:12px auto 0;padding:24px 0 calc(24px + env(safe-area-inset-bottom));text-align:center;border-top:1px solid #dfe8f3;color:#4b6178;font:13px/1.5 system-ui,sans-serif }
.didi-home-footer strong { color:#192e43;letter-spacing:.14em }
.didi-home-footer p { margin:6px 0 14px }
.didi-home-footer nav { display:flex;justify-content:center;gap:8px 16px;flex-wrap:wrap }
.didi-home-footer a { color:#344f6d;text-underline-offset:3px }
.didi-profile { margin:0;background:#f3f6fb;color:#17283f;font:16px/1.48 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:100vh;min-height:100dvh }
.didi-profile *, .didi-profile *::before,.didi-profile *::after { box-sizing:border-box }
.didi-profile [hidden] { display:none!important }
.didi-profile a { color:inherit }
.didi-profile button,.didi-profile input,.didi-profile textarea { font:inherit }
.didi-profile :focus-visible { outline:2px solid #2462b6;outline-offset:3px }
.dp-shell { width:min(100%,560px);margin-inline:auto;padding:calc(10px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(90px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)) }
.dp-top { display:grid;grid-template-columns:44px 1fr 44px;align-items:center;text-align:center;gap:8px;margin-bottom:14px }
.dp-top strong { font-size:16px }
.dp-icon-button { width:44px;height:44px;border-radius:14px;background:white;text-decoration:none;transition:transform .16s }
.dp-main { display:grid;gap:14px;min-width:0 }
.dp-enter { animation:dp-in .24s ease both }
@keyframes dp-in { from { opacity:0;transform:translateY(6px) } to { opacity:1;transform:none } }
.didi-reveal { animation:dp-in .38s ease both }
.dp-identity { display:grid;justify-items:center;gap:7px;padding:14px 0 8px;text-align:center }
.dp-identity h1 { margin:0;font-size:clamp(27px,6vw,36px);letter-spacing:-.055em;overflow-wrap:anywhere }
.dp-avatar { display:grid;place-items:center;width:78px;height:78px;border:4px solid #fff;border-radius:50%;background:linear-gradient(135deg,#d9e7ff,#e7dbfb);box-shadow:0 9px 24px #5274aa20;color:#344981;font-size:27px;font-weight:650 }
.dp-avatar svg { width:30px;height:30px }
.dp-verified { display:inline-flex;align-items:center;gap:6px;color:#17654d;font-size:14px }
.dp-verified svg { width:15px;height:15px }
.dp-muted { color:#50647a;font-size:13px;margin:0 }
.dp-stats { isolation:isolate;position:relative;overflow:hidden;padding:20px;border-radius:24px;background:linear-gradient(134deg,#112544,#173d72 75%,#264780);color:#fff;box-shadow:0 12px 28px #142b5024 }
.dp-stats h2 { margin:0 0 15px;font-size:13px;letter-spacing:.015em;font-weight:550;color:#d8e6fb }
.dp-numbers { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:10px }
.dp-numbers strong { display:block;font-size:clamp(20px,5.5vw,35px);line-height:1.05;letter-spacing:-.04em }
.dp-numbers small,.dp-periods { color:#d5e5fc;font-size:12px }
.dp-periods { display:grid;gap:5px;margin:15px 0 0;padding-top:10px;border-top:1px solid #ffffff37 }
.dp-wave { z-index:-1;position:absolute;inset:auto -12px 8px auto;display:flex;align-items:center;height:90px;gap:6px;opacity:.5;transform:rotate(-14deg) }
.dp-wave i { display:block;width:6px;height:var(--height);border-radius:8px;background:#82b5ff;animation:dp-wave 2.7s ease-in-out infinite alternate;animation-delay:var(--delay) }
@keyframes dp-wave { to { scale:1 .38 } }
.dp-card,.dp-rows { background:#fff;border-radius:20px;border:1px solid #e7edf5;box-shadow:0 3px 20px #29466a07 }
.dp-card { padding:18px;display:grid;gap:13px;min-width:0 }
.dp-card h1,.dp-card h2 { margin:0 }
.dp-card h1 { font-size:clamp(24px,6vw,31px);letter-spacing:-.045em }
.dp-card h2 { font-size:17px }
.dp-card p { margin:0;overflow-wrap:anywhere }
.dp-row { display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:12px;min-height:63px;padding:9px 14px;color:inherit;text-decoration:none;transition:transform .16s,background .16s }
.dp-row+.dp-row { border-top:1px solid #eef2f8 }
.dp-row:first-child { border-radius:20px 20px 0 0 }
.dp-row:last-child { border-radius:0 0 20px 20px }
.dp-row:hover { background:#f7faff }
.dp-row strong,.dp-row small { display:block;overflow-wrap:anywhere }
.dp-row strong { font-weight:650;font-size:15px }
.dp-row small { font-size:12px;color:#50647a }
.dp-chevron { color:#60768f;display:grid }
.dp-chevron svg { width:16px;height:16px }
.dp-tabbar { position:fixed;z-index:5;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,560px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:6px max(16px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#fff;border:1px solid #e4ecf7;border-bottom:0;border-radius:21px 21px 0 0;box-shadow:0 -6px 24px #15395b0c }
.dp-tabbar a { display:grid;justify-items:center;align-content:center;min-height:48px;gap:2px;text-decoration:none;font-size:11px;color:#52667e;border-radius:14px }
.dp-tabbar a[aria-current=page] { background:#e9f1ff;color:#174e94;animation:dp-in .2s ease both;font-weight:650 }
.dp-tabbar a:active { transform:scale(.96) }
.dp-form { display:grid;gap:12px;min-width:0 }
.dp-form label { display:grid;gap:5px;font-size:14px;font-weight:600 }
.dp-form input:not([type=checkbox]),.dp-form textarea { width:100%;min-width:0;border:1px solid #ccd9e9;border-radius:12px;padding:11px 12px;color:#17283f;background:#f8fbff;font-size:16px }
.dp-form textarea { min-height:95px;resize:vertical }
.dp-form .dp-switch { grid-template-columns:22px 1fr;align-items:center;min-height:44px }
.dp-switch input { width:19px;height:19px;accent-color:#2258a0 }
.dp-action,.dp-flat { min-height:44px;padding:8px 16px;display:inline-grid;place-items:center;text-decoration:none;border:0;border-radius:12px;cursor:pointer;transition:transform .16s,background .16s;font-weight:650 }
.dp-action { background:#164a8a;color:white!important }
.dp-action.danger { background:#a62943 }
.dp-flat { background:#edf3fb;color:#255287!important }
.dp-flat.danger { background:#fcebf0;color:#9e2841!important }
.dp-action:disabled,.dp-flat:disabled { opacity:.57;cursor:default }
.dp-link { display:inline-flex;align-items:center;min-height:44px;background:transparent;border:0;color:#214f8b;font-weight:600;text-align:left;cursor:pointer }
.dp-buttons { display:flex;align-items:center;flex-wrap:wrap;gap:8px }
.dp-otp { position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;cursor:text }
.dp-otp span { pointer-events:none;display:grid;place-items:center;height:50px;border:1px solid #ccd9e9;border-radius:12px;background:#f7fbff;font-size:23px;font-weight:650;color:#17283f }
.dp-otp:focus-within span[data-next=true] { border-color:#2462b6;box-shadow:0 0 0 2px #2462b62a }
.dp-form .dp-otp input { position:absolute;inset:0;opacity:0;height:100%;padding:0;cursor:text }
.dp-codes { white-space:pre-wrap;overflow-wrap:anywhere;margin:0;padding:14px;border-radius:12px;background:#f3f7fd;user-select:all }
.dp-toast { position:sticky;bottom:calc(72px + env(safe-area-inset-bottom));z-index:8;margin:10px 0 0;padding:12px 15px;background:#16365e;color:white;border-radius:13px;font-size:14px }
.dp-skeleton { height:21px;width:62%;margin:12px auto;background:#e3eaf5;border-radius:16px;animation:dp-skeleton 1.5s ease infinite alternate }
.dp-skeleton.circle { height:78px;width:78px;border-radius:50% }
.dp-skeleton.panel { height:142px;width:100%;border-radius:24px }
@keyframes dp-skeleton { to { opacity:.45 } }
.dp-history { display:grid;grid-template-columns:48px 1fr;align-items:center;gap:10px }
.dp-history-photo { width:46px;height:46px;border-radius:50%;background:#e2ecfb url("/portraits.webp") var(--portrait,100%) center/400% 300% no-repeat }
.dp-history strong,.dp-history small { display:block }
.dp-history small { color:#50647a;font-size:12px }
.dp-empty { justify-items:center;text-align:center;padding:28px 20px }
.dp-policy { line-height:1.63 }
.dp-policy h2 { margin-top:7px }
@media (min-width:700px) { .dp-shell { padding-top:calc(24px + env(safe-area-inset-top)) } }
@media (prefers-reduced-motion:reduce) {
  .didi-availability i,.didi-reveal,.didi-profile * { animation:none!important;transition:none!important }
}

/* DIDI MONOCHROME PROFILE */

.didi-profile {
    color-scheme: light;
    background: #f5f5f5;
    color: #171717;
}

.didi-profile .dp-shell {
    padding-top: calc(20px + env(safe-area-inset-top));
}

.didi-profile :focus-visible {
    outline-color: #222;
}

.didi-profile .dp-top,
.didi-profile .dp-identity,
.didi-profile .dp-card {
    color: #171717;
}

.didi-profile .dp-avatar {
    background: linear-gradient(145deg,#ededed,#d4d4d4);
    color: #222;
    border-color: #fff;
    box-shadow: 0 8px 26px #00000012;
}

.didi-profile .dp-verified,
.didi-profile .dp-muted {
    color: #666;
}

.didi-profile .dp-stats {
    background: linear-gradient(145deg,#080808,#242424);
    color: #fff;
    border: 1px solid #333;
    box-shadow: 0 14px 32px #00000020;
}

.didi-profile .dp-stats h2,
.didi-profile .dp-numbers small,
.didi-profile .dp-periods {
    color: #c6c6c6;
}

.didi-profile .dp-periods {
    border-color: #ffffff28;
}

.didi-profile .dp-wave {
    display: block;
    width: 58%;
    height: 110px;
    right: -15px;
    bottom: -5px;
    transform: none;
    opacity: .46;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg,transparent,#000);
    mask-image: linear-gradient(90deg,transparent,#000);
}

.didi-profile .dp-wave i {
    display: none;
}

.didi-profile .dp-wave::before,
.didi-profile .dp-wave::after {
    content: "";
    position: absolute;
    inset: -60%;
    background: repeating-radial-gradient(
        ellipse at 50% 70%,
        transparent 0px,
        transparent 5px,
        #d9d9d966 6px,
        transparent 7px
    );
    animation: didi-silver-flow 9s ease-in-out infinite alternate;
}

.didi-profile .dp-wave::after {
    opacity: .45;
    animation-direction: alternate-reverse;
    animation-duration: 12s;
}

@keyframes didi-silver-flow {
    from {
        transform: translate(-12px,8px) rotate(-18deg) scale(1);
    }
    to {
        transform: translate(15px,-8px) rotate(18deg) scale(1.13);
    }
}

.didi-profile .dp-card,
.didi-profile .dp-rows {
    background: #fff;
    border-color: #e5e5e5;
    box-shadow: 0 4px 24px #00000006;
}

.didi-profile .didi-icon,
.didi-profile .didi-icon.lilac,
.didi-profile .didi-icon.mint,
.didi-profile .didi-icon.rose,
.didi-profile .didi-icon.gold,
.didi-profile .didi-icon.blue {
    background: #efefef !important;
    color: #202020 !important;
    box-shadow: none !important;
}

.didi-profile .dp-row {
    color: #171717;
}

.didi-profile .dp-row+.dp-row {
    border-color: #ededed;
}

.didi-profile .dp-row:hover {
    background: #f7f7f7;
}

.didi-profile .dp-row small,
.didi-profile .dp-chevron,
.didi-profile .dp-history small {
    color: #707070;
}

.didi-profile .dp-icon-button {
    background: #fff;
    color: #171717;
}

.didi-profile .dp-tabbar {
    background: #fff;
    border-color: #e5e5e5;
    box-shadow: 0 -6px 24px #00000008;
}

.didi-profile .dp-tabbar a {
    color: #777;
}

.didi-profile .dp-tabbar a[aria-current=page] {
    background: #171717;
    color: #fff;
}

.didi-profile .dp-form input:not([type=checkbox]),
.didi-profile .dp-form textarea,
.didi-profile .dp-otp span {
    background: #f8f8f8;
    color: #171717;
    border-color: #d7d7d7;
}

.didi-profile .dp-switch input {
    accent-color: #171717;
}

.didi-profile .dp-action {
    background: #171717;
    color: #fff !important;
}

.didi-profile .dp-flat {
    background: #ededed;
    color: #171717 !important;
}

.didi-profile .dp-link {
    color: #222;
}

.didi-profile .dp-action.danger {
    background: #fff;
    color: #171717 !important;
    border: 2px solid #171717;
}

.didi-profile .dp-flat.danger {
    background: #ededed;
    color: #171717 !important;
    text-decoration: underline;
}

.didi-profile .dp-otp:focus-within span[data-next=true] {
    border-color: #171717;
    box-shadow: 0 0 0 2px #00000015;
}

.didi-profile .dp-toast {
    background: #171717;
    color: #fff;
}

.didi-profile .dp-codes,
.didi-profile .dp-skeleton {
    background: #eaeaea;
}

.didi-profile .dp-history-photo {
    filter: grayscale(1);
    background-color: #e5e5e5;
}

@media (prefers-reduced-motion:reduce) {
    .didi-profile .dp-wave::before,
    .didi-profile .dp-wave::after {
        animation: none !important;
    }
}

/* DIDI TALK · black theme */
:root {
  color-scheme: dark;
  --ink: #f5f5f5;
  --muted: #b6b6b6;
  --brand: #eee;
  --line: #333;
  background: #000;
  color: #f5f5f5;
}
body, body:has(.phone-call), body.didi-profile {
  --ink: #f5f5f5;
  --muted: #b6b6b6;
  --brand: #eee;
  --line: #333;
  background: #000;
  color: #f5f5f5;
}
:root :focus-visible, body:has(.phone-call) :focus-visible, body.didi-profile :focus-visible {
  outline-color: #e8e8e8;
}
:root :is(input,textarea,select) { accent-color: #dedede; }
:root :is(input,textarea)::placeholder { color: #a2a2a2; opacity: 1; }
:root :is(.brand-mark,.didi-icon,.didi-profile-link,.dp-icon-button,.dp-avatar) {
  background: #151515;
  color: #e7e7e7;
  border-color: #333;
  box-shadow: none;
}
body:has(.phone-call) .brand-mark { background: #151515; }
:root :is(.wordmark-accent,h1 em,.didi-home-footer strong,.dp-row strong) { color: #f5f5f5; }
:root :is(.hero,.hero-wash,.didi-trust-grid>div,.didi-home-footer,.dp-tabbar,
          .dp-card,.dp-rows,.dp-stats,.lab-section,.tile,.privacy details,#in-call-preferences) {
  background: #000;
  border-color: #333;
  box-shadow: none;
}
:root :is(.didi-home-footer,.didi-trust,.didi-trust p,.didi-trust-grid small,
          .didi-availability,.didi-home-footer a,.dp-verified,.dp-muted,.dp-stats h2,
          .dp-numbers small,.dp-periods,.dp-row small,.dp-chevron,.dp-tabbar a,.dp-history small) {
  color: #bdbdbd;
}
:root :is(.didi-availability i,.dp-wave i) { background: #aaa; }
:root .didi-availability[data-online=true] i { background: #eee; animation: none; }
:root .dp-row+.dp-row { border-color: #333; }
:root :is(.dp-row:hover,.dp-tabbar a[aria-current=page]) { background: #151515; color: #fff; }
:root :is(.dp-form input:not([type=checkbox]),.dp-form textarea,.dp-otp span,
          .dp-codes,select,textarea,.dp-skeleton,.dp-toast) {
  background: #101010;
  color: #f5f5f5;
  border-color: #595959;
}
:root .dp-otp:focus-within span[data-next=true] {
  border-color: #fff;
  box-shadow: 0 0 0 1px #fff;
}
:root :is(.dp-link,.text-button) { color: #eee; }
:root :is(.dp-action,.dp-action.danger) { background: #ededed; color: #050505!important; }
:root :is(.dp-flat,.dp-flat.danger) { background: #161616; color: #eee!important; }
:root .dp-history-photo { background-color: #181818; filter: grayscale(1); }
:root .choice input:checked + .tile { background: #151515; border-color: #bdbdbd; box-shadow: none; }
:root .choice input:focus-visible + .tile { outline-color: #eee; }
:root .avatar { filter: grayscale(1); }
:root :is(.metered,.wave) i { background: #bfbfbf; }
:root :is(.primary,.secondary,.hangup) { background: #171717; color: #f5f5f5; box-shadow: none; }
body:has(.phone-call) :is(.secondary,select,textarea,.privacy details) {
  background: #101010;
  color: #f5f5f5;
  border-color: #595959;
}
body:has(.phone-call) input[type=checkbox] { accent-color: #ddd; }
body:has(.phone-call) #companions .companion {
  width: min(100%, 400px);
  background: #000!important;
  border: 0!important;
  box-shadow: none!important;
  border-radius: 0!important;
  padding-inline: 8px;
  animation: none;
}
body #call-dialog, :root dialog {
  background: #000!important;
  color: #f5f5f5;
  border-color: #333;
  box-shadow: none;
}
body #call-dialog::backdrop, :root dialog::backdrop { background: #000; backdrop-filter: none; }
body #call-dialog :is(#call-close,#call-mute,#call-output) {
  background: #171717;
  color: #f5f5f5;
  box-shadow: none;
}
body #call-dialog #call-mute[aria-pressed=true] {
  background: #ededed;
  color: #000;
}
body #call-dialog #call-end {
  background: #c92e42;
  color: #fff;
  box-shadow: none;
}
body #call-dialog #call-panel :is(#call-status,#call-timer) { color: #c8c8c8; }
body #call-dialog #call-panel[data-state=error] #call-status { color: #f5f5f5; }
body #companions .didi-living-orb, body #call-panel .didi-living-orb {
  width: min(255px,81.25vw)!important;
  height: auto!important;
  aspect-ratio: 1;
  background: transparent!important;
  border: 0!important;
  border-radius: 0!important;
  box-shadow: none!important;
  filter: none!important;
  overflow: visible!important;
}
body #call-panel .didi-living-orb { width: min(275px,80vw,42.5vh)!important; }
body .didi-living-orb canvas {
  border: 0!important;
  border-radius: 0!important;
  clip-path: none!important;
  filter: none!important;
  box-shadow: none!important;
  background: transparent!important;
}
@media (max-width: 430px) {
  body:has(.phone-call) .intro { padding-block: clamp(24px,6vh,52px) 12px; }
  body:has(.phone-call) #companions .companion { padding-block: 0 20px; }
}
/* Flatten older inline Trace Orb surfaces as well. */
body #companions .didi-living-orb::before, body #companions .didi-living-orb::after,
body #call-panel .didi-living-orb::before, body #call-panel .didi-living-orb::after {
  content: none!important;
}
body #call-dialog #call-form .primary {
  background: #367632;
  color: #fff;
}
body #call-dialog #call-end > span { filter: brightness(0) invert(1); }

#dp-heading, .dp-identity h1, .dp-card h1 { color: #fff; }
.dp-rows.dp-enter {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  background: transparent;
  border: 0;
  overflow: visible;
}
.dp-profile-tile {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 76px;
  padding: 5px 1px;
  background: #101010;
  border: 1px solid #303030;
  border-radius: 13px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  font-size: clamp(9px, 3.15vw, 13px);
}
.dp-profile-tile .didi-icon { background: transparent; color: #eee; }
.dp-profile-tile:hover, .dp-profile-tile:focus-visible { background: #222; }
.dp-has-tabs { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.dp-tabbar[hidden], #dp-in-call[hidden] { display: none !important; }
.dp-tabbar .dp-tab-icon { width: 21px; height: 21px; }
.dp-embedded .dp-tabbar { display: none !important; }
#call-dialog > .dp-tabbar { z-index: 20; }
#call-dialog:has(> .dp-tabbar) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
#call-dialog.dp-browsing > :not(.dp-tabbar):not(#dp-in-call) { visibility: hidden; }
#dp-in-call {
  position: fixed;
  inset: 0 0 calc(64px + env(safe-area-inset-bottom));
  width: 100%;
  height: calc(100dvh - 64px - env(safe-area-inset-bottom));
  background: #000;
  border: 0;
  z-index: 18;
}

/* DIDI PRODUCT UPGRADE */
.masthead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right))}
.masthead .wordmark{display:inline-flex;align-items:center;gap:8px;min-width:0;color:#fff}
.masthead .didi-profile-link{margin-inline-start:auto;flex:none}
.dp-sand-badge{display:inline-block;width:29px;height:29px;flex:none;border-radius:50%;background-color:#101010;box-shadow:0 0 8px #fff2}
.didi-profile :is(h1,h2,h3,label,summary,strong,textarea,input,select){color:#fff}
.didi-profile :is(small,.dp-chat-status){color:#c7c7c7}
.didi-profile :is(input:not([type=checkbox]),textarea,select){box-sizing:border-box;max-width:100%;background:#151515;color:#fff;border:1px solid #595959;border-radius:10px;padding:10px}
.didi-profile :is(input,textarea)::placeholder{color:#aaa}
.dp-compact-call{padding:10px 12px}
.dp-compact-call .dp-history{display:flex;align-items:center;gap:10px;padding:0}
.dp-compact-call .dp-history small{display:block;color:#cecece}
.dp-compact-call .dp-buttons{margin-top:5px;flex-wrap:wrap}
.dp-minutes-card{border:1px solid #434343;border-radius:18px;padding:13px;background:#0d0d0d;color:#fff}
.dp-minutes-card h2{margin:0 0 8px}
.dp-minute-values>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:6px}
.dp-minutes-card .dp-action{margin-top:10px}
.dp-memory-consent{display:flex;align-items:center;gap:10px;min-height:44px}
.dp-memory-list details,.dp-memory-editor,.dp-emergency{background:#121212;border:1px solid #414141;border-radius:11px;padding:9px 11px;margin:6px 0}
.dp-memory-list p{overflow-wrap:anywhere;white-space:pre-wrap}
.dp-memory-editor :is(select,textarea){display:block;width:100%;margin:8px 0}
.dp-chat{display:flex;flex-direction:column;gap:8px;min-height:70px;max-height:48dvh;overflow:auto;overscroll-behavior:contain}
.dp-chat p{max-width:86%;padding:8px 11px;margin:0;border-radius:14px;white-space:pre-wrap;overflow-wrap:anywhere;color:#fff;background:#1a1a1a}
.dp-chat .dp-chat-user{align-self:flex-end;background:#333}
.dp-chat+p,.dp-chat+textarea{margin-top:8px}
.dp-chat+textarea{width:100%}
.dp-chat-status:empty{display:none}
.didi-profile [hidden]{display:none!important}
.dp-sr-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* DIDI PRODUCT PLUS */
.masthead .wordmark{font-weight:680;letter-spacing:.075em}
.masthead .dp-sand-badge{width:34px;height:34px}
.didi-profile #dp-heading,.didi-profile .dp-identity h1{color:#fff;-webkit-text-fill-color:#fff}
.dp-minutes-card{padding:15px 16px;border-color:#404c43;background:radial-gradient(ellipse at 30% 0%,#172019,#0f1110 72%)}
.dp-minutes-card .dp-action{background:#80efa8;color:#09140c;font-weight:680}
.dp-minute-values>div:last-child{border-top:1px solid #445046;padding-top:8px;color:#a7f8bd}
.dp-minutes-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px;padding-top:11px;border-top:1px solid #445046}
.dp-minutes-stats>div{display:grid;gap:4px}
.dp-product-settings summary{min-height:44px;align-content:center}
.dp-emergency-active{outline:1px solid #849d8b}

.dp-tabbar.market-tabs-four{grid-template-columns:repeat(4,minmax(0,1fr));box-sizing:border-box;gap:4px;padding-inline:max(8px,env(safe-area-inset-left)) max(8px,env(safe-area-inset-right))}
.market-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:0 0 10px}
.market-tabs button,.market-action{border:1px solid #49534d;border-radius:12px;padding:8px;min-height:44px;background:#1a1d1b;color:#f8f8f8;font:inherit;overflow-wrap:anywhere}
.market-tabs button[aria-pressed=true]{border-color:#7be6a2;color:#a6f7c3;background:#152b20}
.market-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:12px}
.market-grid[data-category=character],.market-grid[data-category=gift]{grid-template-columns:minmax(0,1fr)}
.market-card,.market-receipt{min-width:0;padding:12px;border:1px solid #414944;border-radius:15px;background:#171a18;color:#fff}
.market-panel{background:#090a09!important}
.market-card canvas{display:block;width:100%;height:auto;max-height:104px}
.market-card h2,.market-receipt h2{color:#fff;font-size:1rem;margin:5px 0}
.market-card strong,.market-card small,.market-card p,.market-receipt p{display:block;margin:6px 0}
.market-card p,.market-card small,.market-receipt p{color:#d1d9d4}
.market-card .market-active{color:#a6f7c3}
.market-action{box-sizing:border-box;display:grid;place-items:center;margin-top:8px;background:#83eea8;color:#09180e;font-weight:650;text-align:center;text-decoration:none}
.market-card .market-action{width:100%}
.market-card label{display:grid;grid-template-columns:minmax(0,1fr) 3ch;gap:4px;margin:10px 0}
.market-card label input{grid-column:1;grid-row:2;min-width:0;width:100%;accent-color:#83eea8;padding:0}
.market-card label output{grid-column:2;grid-row:2}
.market-card input:not([type=range]),.market-gift-link input,.market-receipt textarea,.market-receipt select,.market-receipt input{min-width:0;max-width:100%;width:100%;box-sizing:border-box;margin:5px 0}
.market-receipt{margin:8px 0}
.world-breath{display:grid;place-items:center;min-height:105px;background:#000;border-radius:16px}
.world-breath .dp-sand-badge{width:65px;height:65px;background-color:#080908}
.world-breath[data-mode=breath] .dp-sand-badge{animation:sand-world-breathe 8s ease-in-out infinite}
.world-breath[data-mode=quiet] .dp-sand-badge{animation:sand-world-breathe 13s ease-in-out infinite}
@keyframes sand-world-breathe{50%{transform:scale(1.38) rotate(13deg);opacity:.73}}
@media(prefers-reduced-motion:reduce){.world-breath .dp-sand-badge{animation:none!important}}

/* DIDI SAND PREMIERE */
.masthead{justify-content:flex-start;padding-block:12px}
.masthead .wordmark{font-size:clamp(1rem,4vw,1.22rem);letter-spacing:.11em}
.masthead .premiere-mark{width:37px;height:37px;border:1px solid #49534e;background-color:#080b09;box-shadow:0 0 15px #8cd8a724}
.dp-tabbar.market-tabs-four{background:#101111f5;border:1px solid #343735;gap:4px;box-shadow:0 -6px 26px #0009}
.dp-tabbar.market-tabs-four a{color:#c4c9c6;font-weight:540}
.dp-tabbar.market-tabs-four a[aria-current=page]{background:#263029;color:#c5f1d3}
.market-panel{padding:clamp(7px,2.4vw,17px);border:0;background:#080909!important}
.market-tabs{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin-bottom:12px}
.market-tabs button{font-size:clamp(.65rem,2.5vw,.82rem);line-height:1.15;padding:6px 3px;border-color:#393c3a;background:#151716}
.market-tabs button[aria-pressed=true]{background:#27342c;color:#d9f4e3;border-color:#52665a}
.market-grid,.market-grid[data-category=character],.market-grid[data-category=gift]{grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(4px,1.45vw,12px);align-items:stretch}
.premiere-product{min-width:0;display:grid;grid-template-rows:clamp(44px,17vw,108px) 2.5em 1.25em 2.2em minmax(38px,auto);gap:4px;padding:clamp(5px,1.55vw,13px);
  line-height:1.2;background:linear-gradient(145deg,#202322,#121413 70%);border:1px solid #3b403d;border-radius:13px;font-size:clamp(.60rem,2.7vw,.96rem);transition:border-color .16s,background .16s,transform .16s}
.premiere-product h2{height:2.5em;margin:0;font:inherit;font-weight:680;min-width:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.premiere-product strong,.premiere-product small{margin:0;font-size:inherit}
.premiere-product small{color:#c7cfca}
.premiere-art{height:100%;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 70%,#2d3631,#111312 72%);border-radius:8px}
.premiere-art canvas{width:100%;height:auto;max-height:100%;object-fit:contain}
.premiere-art-icon{color:#c3d5ca;width:36%;max-width:38px}
.premiere-art-icon svg{display:block;width:100%}
.premiere-card-footer{display:grid;min-width:0;align-items:end}
.premiere-card-footer .market-action,.premiere-selected{font:inherit;font-weight:640;min-height:36px;margin:0;padding:4px 2px;background:#293b30;color:#d5f3df;border-color:#52695a;border-radius:8px;display:grid;place-items:center;text-align:center;overflow-wrap:anywhere}
.premiere-selected{background:#202623;color:#bdd2c5}
.premiere-library[aria-pressed=true]{color:#dbf5e5;background:#24332a}
.premiere-product:active{transform:scale(.985)}
@media(hover:hover){.premiere-product:hover{border-color:#768b7e;background:linear-gradient(145deg,#29332c,#151716 70%)}}
.premiere-dialog{box-sizing:border-box;width:min(92vw,460px);max-height:85dvh;overflow:auto;padding:17px;border-radius:20px;border:1px solid #55635a;background:#151816;color:#fff;color-scheme:dark;font:inherit}
.premiere-dialog::backdrop{background:#030403db}
.premiere-dialog input:not([type=range]),.premiere-dialog select{box-sizing:border-box;width:100%;max-width:100%;padding:8px;color:#fff;background:#232825;border:1px solid #52645a;border-radius:8px}
.premiere-dialog input[type=range]{width:84%;accent-color:#a9d8b8}
.premiere-character-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:10px 0}
.premiere-character-fields label{min-width:0}
.premiere-owned-gift{grid-column:span 3}
.premiere-composer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;margin-top:12px}
.premiere-composer textarea{width:100%;margin:0;min-height:52px;color:#fff}
.premiere-support .dp-chat{min-height:clamp(130px,32dvh,290px);padding:10px;border:1px solid #353d38;border-radius:14px;background:#0b0d0c}
.world-section{padding:12px;border:1px solid #424e46;border-radius:14px;margin:10px 0;background:#151816}
.world-section h2{margin:0;font-size:1.06rem}
.world-caption{margin:5px 0 10px;color:#d1dad3}
@media(prefers-reduced-motion:reduce){.premiere-product{transition:none}}
