.dm-av { --s: 32px; position: relative; display: inline-grid; flex: none; width: var(--s); height: var(--s); }
.dm-av > .av, .dm-av > .av-wrap > .av { width: var(--s) !important; height: var(--s) !important; font-size: calc(var(--s) * .4) !important; border-radius: 50%; }
.dm-av > .av-wrap { width: var(--s); height: var(--s); }
.dm-av .pres { width: max(10px, calc(var(--s) * .32)); height: max(10px, calc(var(--s) * .32)); --ring: var(--dm-ring, var(--panel)); }

.dm-ib { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border: 0; border-radius: 9px; background: none; color: var(--ink-3); cursor: pointer; transition: background .15s, color .15s, transform .12s; }
.dm-ib:hover { background: var(--panel-3); color: var(--ink); }
.dm-ib:active { transform: scale(.92); }
.dm-ib:focus-visible, .dm-btn:focus-visible, .dm-nav:focus-visible, .dm-row:focus-visible, .dm-fr:focus-visible, .dm-mrow:focus-visible, .dm-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.dm-ib svg { width: 19px; height: 19px; }
.dm-ib--round { border-radius: 50%; background: var(--bg-2); }
.dm-ib--solid { border-radius: 50%; background: var(--panel-2); width: 38px; height: 38px; }
.dm-ib--ok:hover { color: var(--ok); }
.dm-ib--bad:hover { color: var(--bad, #e5534b); }

.dm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 32px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s, filter .15s, transform .12s; white-space: nowrap; }
.dm-btn:hover { filter: brightness(1.08); }
.dm-btn:active { transform: scale(.97); }
.dm-btn:disabled { opacity: .55; cursor: default; filter: none; transform: none; }
.dm-btn svg { width: 16px; height: 16px; }
.dm-btn--ghost, .dm-btn--ghost-bad { background: var(--panel-3); color: var(--ink); }
.dm-btn--ghost:hover, .dm-btn--ghost-bad:hover { background: var(--line-2); filter: none; }
.dm-btn--ghost-bad { color: var(--bad, #e5534b); }
.dm-btn--bad { background: var(--bad, #e5534b); }
.dm-link { border: 0; background: none; padding: 0; color: inherit; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

.dm-badge { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--bad, #e5534b); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; flex: none; font-variant-numeric: tabular-nums; }
.dm-tag { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .3px; text-transform: uppercase; vertical-align: middle; }
.dm-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dm-empty-line { margin: 8px 10px; color: var(--ink-4); font-size: 12.5px; line-height: 1.45; }

.dm-side { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.dm-search { display: flex; align-items: center; gap: 8px; height: 34px; margin: 10px 10px 4px; padding: 0 10px; border-radius: 9px; background: var(--bg); color: var(--ink-4); flex: none; cursor: text; }
.dm-search svg { width: 16px; height: 16px; }
.dm-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 13px; }
.dm-search input::placeholder { color: var(--ink-4); }
.dm-search input::-webkit-search-cancel-button { filter: grayscale(1); opacity: .6; }
.dm-side__list { flex: 1; min-height: 0; overflow-y: auto; padding: 8px; }
.dm-nav { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; padding: 0 10px; border: 0; border-radius: 9px; background: none; color: var(--ink-3); font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer; }
.dm-nav span:first-of-type { flex: 1; }
.dm-nav:hover { background: var(--panel-2); color: var(--ink); }
.dm-nav.is-on { background: var(--panel-3); color: var(--ink); }
.dm-cat { display: flex; align-items: center; gap: 4px; padding: 14px 6px 5px; color: var(--ink-4); font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.dm-cat span { flex: 1; }
.dm-cat .dm-ib { width: 22px; height: 22px; border-radius: 6px; }
.dm-cat .dm-ib svg { width: 15px; height: 15px; }
.dm-cat--sub { padding-top: 10px; }

.dm-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px; border-radius: 9px; color: var(--ink-3); cursor: pointer; --dm-ring: var(--panel); }
.dm-row:hover { background: var(--panel-2); color: var(--ink); --dm-ring: var(--panel-2); }
.dm-row.is-on { background: var(--panel-3); color: var(--ink); --dm-ring: var(--panel-3); }
.dm-row__t { flex: 1; min-width: 0; }
.dm-row__t b { display: flex; align-items: center; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.dm-row__t small { display: block; overflow: hidden; color: var(--ink-4); font-size: 11.5px; line-height: 1.35; white-space: nowrap; text-overflow: ellipsis; }
.dm-row.is-unread .dm-row__t b { color: var(--ink); }
.dm-row__x { width: 22px; height: 22px; display: grid; place-items: center; flex: none; border: 0; border-radius: 6px; background: none; color: var(--ink-4); cursor: pointer; opacity: 0; transition: opacity .12s; }
.dm-row__x svg { width: 15px; height: 15px; }
.dm-row:hover .dm-row__x, .dm-row:focus-within .dm-row__x { opacity: 1; }
.dm-row__x:hover { color: var(--ink); background: var(--line-2); }
@media (hover: none) { .dm-row__x { display: none; } }

.dm-skel { display: flex; align-items: center; gap: 10px; padding: 7px 10px; }
.dm-skel i { width: 34px; height: 34px; border-radius: 50%; background: var(--panel-3); animation: dm-pulse 1.4s ease-in-out infinite; }
.dm-skel span { flex: 1; height: 12px; max-width: 140px; border-radius: 6px; background: var(--panel-3); animation: dm-pulse 1.4s ease-in-out infinite; }
@keyframes dm-pulse { 50% { opacity: .45; } }

.dm-main { flex: 1; min-width: 0; min-height: 0; height: 100%; display: flex; flex-direction: column; background: var(--panel); }
.dm-head { height: 52px; flex: none; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 18px; border-bottom: 1px solid var(--line); min-width: 0; }
.dm-head > svg { color: var(--ink-4); }
.dm-head > b, .dm-head__name { font-size: 15px; font-weight: 700; white-space: nowrap; }
.dm-head__topic { min-width: 0; overflow: hidden; margin-left: 2px; padding-left: 12px; border-left: 1px solid var(--line-2); color: var(--ink-3); font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.dm-head__sp { flex: 1; }
.dm-head--friends { overflow-x: auto; scrollbar-width: none; }
.dm-tabs { display: flex; align-items: center; gap: 6px; margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--line-2); }
.dm-tab { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--ink-3); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.dm-tab:hover { background: var(--panel-3); color: var(--ink); }
.dm-tab.is-on { background: var(--line-2); color: var(--ink); }
.dm-tab--add { background: var(--ok); color: #fff; }
.dm-tab--add:hover { background: var(--ok); color: #fff; filter: brightness(1.08); }
.dm-tab--add.is-on { background: transparent; color: var(--ok); }
.dm-body { flex: 1; min-height: 0; overflow-y: auto; padding: 8px 20px 20px; }
.dm-body--cards { padding-top: 18px; }
.dm-group { display: flex; align-items: center; gap: 6px; padding: 14px 8px 8px; color: var(--ink-4); font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.dm-group--toggle { width: 100%; border: 0; background: none; font-family: inherit; cursor: pointer; }
.dm-group--toggle svg { width: 14px; height: 14px; transition: transform .15s; }
.dm-group--toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dm-group--m { padding-left: 14px; }

.dm-add { padding: 14px 8px 18px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.dm-add h3 { margin: 0; font-size: 15px; font-weight: 700; }
.dm-add > p { margin: 4px 0 12px; color: var(--ink-3); font-size: 13px; }
.dm-add__row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--bg-2); transition: border-color .15s; }
.dm-add__row:focus-within { border-color: var(--accent); }
.dm-add__input { flex: 1; min-width: 0; height: 32px; border: 0; outline: 0; background: none; color: var(--ink); font-size: 14px; }
.dm-add__note { margin: 8px 2px 0; color: var(--ok); font-size: 12.5px; min-height: 1em; }
.dm-add__note:empty { display: none; }
.dm-add__note.is-error { color: var(--bad, #e5534b); }

.dm-fr { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-top: 1px solid var(--line); border-radius: 10px; --dm-ring: var(--panel); }
.dm-fr[role="button"] { cursor: pointer; }
.dm-fr:hover { background: var(--panel-2); border-top-color: transparent; --dm-ring: var(--panel-2); }
.dm-fr:hover + .dm-fr { border-top-color: transparent; }
.dm-fr__t { flex: 1; min-width: 0; }
.dm-fr__t b { display: block; overflow: hidden; font-size: 14px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.dm-fr__handle { margin-left: 6px; color: var(--ink-4); font-size: 12.5px; font-weight: 500; opacity: 0; transition: opacity .12s; }
.dm-fr:hover .dm-fr__handle { opacity: 1; }
.dm-fr__t small { display: block; overflow: hidden; color: var(--ink-3); font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.dm-fr:hover .dm-ib--round { background: var(--bg); }
.dm-spin { width: 16px; height: 16px; border: 2px solid var(--line-2); border-top-color: var(--accent); border-radius: 50%; animation: dm-spin .8s linear infinite; }
@keyframes dm-spin { to { transform: rotate(360deg); } }

.dm-emptybox { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 48px 20px; text-align: center; }
.dm-emptybox__icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 50%; background: var(--panel-2); color: var(--ink-4); }
.dm-emptybox__icon svg { width: 30px; height: 30px; }
.dm-emptybox b { color: var(--ink-2); font-size: 15px; }
.dm-emptybox p { max-width: 340px; margin: 0 0 8px; color: var(--ink-4); font-size: 13px; }

.dm-req { display: flex; gap: 12px; margin-bottom: 10px; padding: 14px; border-radius: 14px; background: var(--bg-2); --dm-ring: var(--bg-2); }
.dm-req__who { align-self: flex-start; border: 0; padding: 0; background: none; cursor: pointer; border-radius: 50%; }
.dm-req__t { flex: 1; min-width: 0; }
.dm-req__name { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; border: 0; padding: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.dm-req__name b { font-size: 14.5px; }
.dm-req__name small { color: var(--ink-4); font-size: 12.5px; }
.dm-req__name:hover b { text-decoration: underline; }
.dm-req__msg { margin: 6px 0 10px; padding: 8px 10px; border-radius: 10px; background: var(--panel); color: var(--ink-2); font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.dm-req__acts { display: flex; flex-wrap: wrap; gap: 8px; }
.dm-req--m .dm-req__acts .dm-btn { flex: 1; height: 38px; }
.dm-hint { margin: 2px 4px 14px; color: var(--ink-3); font-size: 13px; line-height: 1.5; }

.dm-chat { position: relative; }
.dm-chat__head .dm-ib--flat { margin-left: 2px; }
.dm-chat__host { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.dm-chat.is-locked .dm-chat__host .composer { display: none; }
.dm-chat__lock { display: none; }
.dm-chat.is-locked .dm-chat__lock { display: flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-height: 44px; margin: 6px 14px 14px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); color: var(--ink-4); font-size: 13px; text-align: center; }
.dm-chat__lock svg { width: 15px; height: 15px; }
.dm-chat__banner:empty { display: none; }
.dm-bar { display: flex; align-items: center; gap: 8px; flex: none; padding: 9px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); color: var(--ink-3); font-size: 12.5px; line-height: 1.4; }
.dm-bar svg { width: 15px; height: 15px; flex: none; }
.dm-bar--warn { color: var(--warn); }
.dm-bar--bad { color: var(--bad, #e5534b); background: color-mix(in srgb, var(--bad, #e5534b) 10%, transparent); border-bottom-color: color-mix(in srgb, var(--bad, #e5534b) 35%, transparent); }
.dm-bar--req { flex-wrap: wrap; gap: 10px 14px; padding: 12px 16px; background: var(--accent-soft); }
.dm-bar__t { flex: 1 1 260px; min-width: 0; }
.dm-bar__t b { display: block; color: var(--ink); font-size: 13.5px; }
.dm-bar__t small { display: block; color: var(--ink-3); font-size: 12.5px; }
.dm-bar__acts { display: flex; gap: 8px; flex-wrap: wrap; }

.dm-intro { padding: 24px 18px 12px; --dm-ring: var(--panel); }
.dm-intro h2 { display: flex; align-items: center; margin: 10px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.3px; }
.dm-intro p { margin: 4px 0 8px; color: var(--ink-3); }
.dm-intro__meta { color: var(--ink-4); font-size: 12.5px; }

.dm-m { display: flex; flex-direction: column; min-height: 0; height: 100%; }
.dm-mhead { display: flex; align-items: center; gap: 8px; height: 56px; flex: none; padding: 0 12px 0 16px; }
.dm-mhead h1 { flex: 1; margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.dm-msearch { display: flex; align-items: center; gap: 8px; height: 40px; margin: 0 14px 8px; padding: 0 12px; border-radius: 12px; background: var(--panel-2); color: var(--ink-4); flex: none; }
.dm-msearch svg { width: 18px; height: 18px; }
.dm-msearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--ink); font-size: 15px; }
.dm-m__body { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 12px; }
.dm-online { display: flex; gap: 14px; padding: 4px 14px 12px; overflow-x: auto; scrollbar-width: none; --dm-ring: var(--bg); }
.dm-online button { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 60px; flex: none; border: 0; padding: 0; background: none; color: var(--ink-3); font: inherit; font-size: 11.5px; cursor: pointer; }
.dm-online button span:last-child { max-width: 60px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dm-mlink { display: flex; align-items: center; gap: 12px; width: calc(100% - 28px); margin: 0 14px 6px; padding: 11px 12px; border: 0; border-radius: 14px; background: var(--panel-2); color: var(--ink); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.dm-mlink--req { background: var(--accent-soft); color: var(--accent); }
.dm-mlink__icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--panel-3); color: var(--ink-2); flex: none; }
.dm-mlink--req .dm-mlink__icon { background: transparent; color: var(--accent); }
.dm-mlink__t { flex: 1; min-width: 0; }
.dm-mlink__t small { display: block; color: var(--ink-3); font-size: 12.5px; font-weight: 500; }
.dm-mlist { padding: 4px 6px 0; }
.dm-mrow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; border-radius: 14px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; --dm-ring: var(--bg); }
.dm-mrow:active { background: var(--panel-2); }
.dm-mrow__t { flex: 1; min-width: 0; }
.dm-mrow__t b { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 15px; font-weight: 600; }
.dm-mrow__t b .dm-name { display: flex; align-items: center; }
.dm-mrow__t time { flex: none; color: var(--ink-4); font-size: 12px; font-weight: 500; }
.dm-mrow__t small { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--ink-3); font-size: 13.5px; }
.dm-mrow__t small span:first-child { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.dm-mrow.is-unread .dm-mrow__t small span:first-child { color: var(--ink); font-weight: 600; }

.dm-ov { position: fixed; inset: 0; z-index: 42; display: flex; flex-direction: column; height: 100dvh; background: var(--panel); animation: dm-slide .18s ease-out; padding-top: env(safe-area-inset-top); padding-bottom: env(safe-area-inset-bottom); }
@keyframes dm-slide { from { transform: translateX(24px); opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .dm-ov { animation: none; } }
.dm-ov > .dm-screen { flex: 1; min-height: 0; }
.dm-main--m { background: var(--panel); }
.dm-main--m .dm-head { height: auto; padding: 4px 12px 10px; border-bottom: 0; }
.dm-main--m .dm-tabs { margin: 0; padding: 0; border: 0; overflow-x: auto; scrollbar-width: none; }
.dm-main--m .dm-body { padding: 4px 12px 16px; }
.dm-main--m .dm-fr__handle { display: none; }
.dm-mtop { display: flex; align-items: center; gap: 8px; height: 56px; flex: none; padding: 0 8px 0 6px; }
.dm-mtop .dm-ib { width: 40px; height: 40px; border-radius: 50%; }
.dm-mtop__title { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; }
.dm-mtop__who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; --dm-ring: var(--panel); }
.dm-mtop__who > span:last-child { min-width: 0; }
.dm-mtop__who b { display: flex; align-items: center; overflow: hidden; font-size: 16px; white-space: nowrap; text-overflow: ellipsis; }
.dm-mtop__who small { display: block; overflow: hidden; color: var(--ink-3); font-size: 11.5px; font-weight: 500; white-space: nowrap; text-overflow: ellipsis; }
.dm-main--m.dm-chat .dm-bar { padding: 9px 14px; }
.dm-main--m .dm-bar--req .dm-bar__acts { width: 100%; }
.dm-main--m .dm-bar--req .dm-bar__acts .dm-btn { flex: 1; height: 36px; }
.dm-main--m .dm-intro { padding: 12px 14px; }
.dm-main--m .dm-intro .dm-av { --s: 64px !important; }

.dm-float { position: fixed; inset: 0; z-index: 55; }
.dm-float--scrim { display: grid; place-items: center; padding: 16px; background: rgba(4, 6, 12, .55); animation: dm-fade .14s ease-out; }
@keyframes dm-fade { from { opacity: 0; } }
.dm-menu { position: fixed; min-width: 210px; padding: 6px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel-2); box-shadow: var(--shadow); }
.dm-menu__item { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 500; text-align: left; cursor: pointer; }
.dm-menu__item svg { width: 17px; height: 17px; color: var(--ink-4); }
.dm-menu__item:hover, .dm-menu__item:focus-visible { background: var(--panel-3); color: var(--ink); outline: 0; }
.dm-menu__item.is-bad, .dm-menu__item.is-bad svg { color: var(--bad, #e5534b); }
.dm-menu__item.is-bad:hover { background: var(--bad, #e5534b); color: #fff; }
.dm-menu__item.is-bad:hover svg { color: #fff; }
.dm-dialog { width: min(440px, 100%); padding: 20px; border: 1px solid var(--line-2); border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); animation: dm-pop .16s ease-out; }
@keyframes dm-pop { from { transform: scale(.96); opacity: 0; } }
.dm-dialog h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.dm-dialog > p { margin: 0 0 14px; color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
.dm-dialog__acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.dm-dialog__acts .dm-btn { height: 36px; }
.dm-check { display: flex; gap: 10px; margin: 0 0 16px; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; }
.dm-check:has(input:checked) { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-soft); }
.dm-check input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.dm-check b { display: block; font-size: 13.5px; }
.dm-check small { display: block; color: var(--ink-3); font-size: 12.5px; }
.dm-picker { display: flex; flex-direction: column; max-height: min(560px, 80vh); padding: 16px 12px 10px; }
.dm-picker__head { display: flex; align-items: center; padding: 0 4px 0 8px; }
.dm-picker__head h3 { flex: 1; margin: 0; }
.dm-search--picker { margin: 10px 4px 8px; height: 38px; }
.dm-picker__list { flex: 1; min-height: 120px; overflow-y: auto; }
.dm-picker__row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 9px; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; --dm-ring: var(--panel); }
.dm-picker__row:hover, .dm-picker__row:focus-visible { background: var(--panel-2); outline: 0; --dm-ring: var(--panel-2); }
.dm-picker__row b { display: block; font-size: 14px; }
.dm-picker__row small { display: block; color: var(--ink-4); font-size: 12px; }

.dm-float.is-sheet { display: flex; flex-direction: column; justify-content: flex-end; padding: 0; background: rgba(4, 6, 12, .55); animation: dm-fade .14s ease-out; }
.dm-float.is-sheet .dm-menu, .dm-float.is-sheet .dm-dialog { position: static; width: 100%; min-width: 0; max-height: 85dvh; padding: 10px 12px calc(14px + env(safe-area-inset-bottom)); border: 0; border-radius: 22px 22px 0 0; animation: dm-up .2s ease-out; }
.dm-float.is-sheet .dm-menu::before, .dm-float.is-sheet .dm-dialog::before { content: ""; display: block; width: 40px; height: 4px; margin: 0 auto 12px; border-radius: 2px; background: var(--line-2); }
.dm-float.is-sheet .dm-menu__item { height: 48px; font-size: 15px; }
.dm-float.is-sheet .dm-dialog { padding-left: 18px; padding-right: 18px; }
.dm-float.is-sheet .dm-dialog__acts .dm-btn { flex: 1; height: 44px; }
@keyframes dm-up { from { transform: translateY(40px); opacity: .3; } }
