@font-face {
    font-family: DN Noto;

    src: url('/fonts/dn-noto-medium.ttf') format('truetype');

    font-style: normal;

    font-weight: 400 500;

    font-display: swap;
}

@font-face {
    font-family: DN Noto;

    src: url('/fonts/dn-noto-semibold.ttf') format('truetype');

    font-style: normal;

    font-weight: 600 700;

    font-display: swap;
}

@font-face {
    font-family: DN Noto Black;

    src: url('/fonts/dn-noto-black.ttf') format('truetype');

    font-display: swap;
}

@font-face {
    font-family: DN Icons;

    src: url('/fonts/dn-icons.ttf') format('truetype');

    font-display: block;
}

.dn-demo-stage {
    position: relative;
    isolation: isolate;
    width: min(100%,1040px);
    min-height: 560px;
    margin: 36px auto 0;
    padding: 44px 0 28px;
    box-sizing: border-box;
    overflow: visible;
}

.dn-demo,.dn-demo *,.dn-demo-stage * {
    box-sizing: border-box;
}

.dn-demo button,.dn-demo input,.dn-demo select {
    font: inherit;
    letter-spacing: inherit;
    outline: none;
    box-shadow: none;
    text-transform: none;
    min-width: 0;
}

.dn-demo button {
    cursor: pointer;
    color: inherit;
    border: 0;
    margin: 0;
}

.dn-demo button:focus-visible,.dn-demo input:focus-visible,.dn-demo select:focus-visible {
    outline: 1px solid #b3d5ff;
    outline-offset: 2px;
}

.dn-demo-sidebar {
    position: relative;
    min-width: 0;
    height: 485px;
    padding: 0;
    background: transparent;
}

.dn-demo-brand {
    position: relative;
    height: 44px;
    margin: 0 8px;
    padding: 8px 0 0 39px;
    border: 0;
    border-bottom: 1px solid #151821;
    border-radius: 0;
    background: none;
    overflow: hidden;
}

.dn-demo-brand img {
    position: absolute;
    left: 4px;
    top: 8.5px;
    width: 27px;
    height: 27px;
    border: 2px solid #09101f;
    border-radius: 6.5px;
    object-fit: cover;
}

.dn-demo-brand strong {
    display: block;
    margin: 0;
    color: #f6f7fa;
    font-size: 15.25px;
    font-weight: 600;
    line-height: 18px;
    white-space: nowrap;
}

.dn-demo-brand small {
    display: block;
    margin: 0;
    color: #6d707c;
    font-size: 8.45px;
    line-height: 13px;
    white-space: nowrap;
}

.dn-demo-brand small~small {
    display: none;
}

.dn-demo-caption {
    display: block;
    margin: 9px 0 7px 15.4px;
    color: #595c66;
    font-size: 10.8px;
    line-height: 14px;
    font-weight: 500;
}

.dn-demo-nav button:hover {
    background: #161922;
    color: #c4c7cf;
}

.dn-demo-nav button.active {
    background: #22252e;
    color: #f4f5f9;
    box-shadow: none;
    transform: none;
}

.dn-demo-nav button strong {
    font-size: 14.15px;
    font-weight: 500;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dn-demo-nav button small {
    display: none;
}

.dn-demo-nav button[data-tab='6'] strong {
    font-size: 10.8px;
}

.dn-demo-nav button.active .dn-demo-icon {
    color: #cee0fc;
}

.dn-demo-icon svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
}

.dn-demo-nav .dn-demo-caption {
    margin: 16px 0 8px 7.4px;
}

.dn-demo-profile img,.dn-demo-avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background: #161922;
    color: #b3d5ff;
    font-family: 'DN Icons';
    font-size: 13px;
}

.dn-demo-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 485px;
    padding: 0;
    background: #0d0e13;
    border: 1px solid #191a1f;
    border-radius: 10px;
    overflow: hidden;
}

.dn-demo-toolbar {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 7px;
    height: 43px;
    margin: 0 8px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #16171c;
}

.dn-demo-preset {
    display: flex;
    align-items: center;
    height: 23.8px;
    max-width: 208.55px;
    overflow: visible;
    border: 1px solid #16171c;
    border-radius: 4px;
    background: #0a0b10;
    color: #cacbcf;
    font-size: 13.6px;
}

.dn-demo-preset button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 23px;
    padding: 0 10px;
    background: transparent;
    color: #cacbcf;
    border-radius: 3px;
}

.dn-demo-preset button:first-child {
    width: 28px;
    padding: 0;
    border-right: 1px solid #16171c;
    color: #f0f1f5;
}

.dn-demo-preset button:hover {
    background: #121319;
}

.dn-demo-preset-name {
    padding: 0 10px;
    max-width: 158px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dn-demo-toolbar>button {
    position: absolute;
    right: 0;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #b6b7bb;
    font-size: 16px;
    line-height: 1;
}

.dn-demo-toolbar>button[data-demo-action='search'] {
    right: 26px;
    font-family: 'DN Icons';
    font-size: 11px;
}

.dn-demo-toolbar>button:hover {
    background: #121319;
    color: #f4f5f9;
}

.dn-demo-search {
    position: absolute;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 10px;
    border: 1px solid #ffffff0d;
    border-radius: 6px;
    background: #151421f7;
    box-shadow: 0 8px 24px #0006;
}

.dn-demo-search[hidden] {
    display: none;
}

.dn-demo-toolbar input[type='search'] {
    width: 100%;
    height: 27px;
    padding: 4px 7px;
    border: 1px solid #ffffff0d;
    border-radius: 4px;
    background: #ffffff0d;
    color: #e2e3e9;
    font-size: 13.6px;
}

.dn-demo-panel {
    flex: 1;
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 16px 9px 10px 16px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #666f85 transparent;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.dn-demo-panel::-webkit-scrollbar {
    width: 6px;
}

.dn-demo-panel::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #666f85;
}

.dn-demo-panel::-webkit-scrollbar-track {
    background: transparent;
}

.dn-demo-card h3 {
    min-width: 0;
    margin: 0;
    color: #f0f1f5;
    font-size: 13.2px;
    font-weight: 500;
    line-height: 18px;
    overflow-wrap: anywhere;
}

.dn-demo-card p,.dn-demo-tooltip,.dn-demo-card small {
    display: none !important;
}

.dn-demo-setting>span:first-child {
    display: block;
    min-width: 0;
    margin: 0;
    flex: 1;
    overflow-wrap: anywhere;
}

.dn-demo-setting select,.dn-demo-combo {
    appearance: none;
    display: block;
    flex: 0 1 auto;
    max-width: 115px;
    min-height: 20.2px;
    margin: 0;
    padding: 2px 20px 2px 7px;
    border: 1px solid #ffffff07;
    border-radius: 4px;
    background: #1b1c25 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='m1 1 3 3 3-3' stroke='%23bebeca' stroke-width='1.2' fill='none'/%3E%3C/svg%3E") no-repeat right 6px center;
    color: #c8c8d2;
    font-size: 11.7px;
    line-height: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dn-demo-combo:hover,.dn-demo-setting select:hover {
    background-color: #20212b;
}

.dn-demo-options {
    position: absolute;
    right: 0;
    top: calc(100% - 2px);
    z-index: 12;
    min-width: 135px;
    max-width: 220px;
    max-height: 190px;
    overflow: auto;
    padding: 5px;
    border: 1px solid #ffffff0d;
    border-radius: 6px;
    background: #151421fa;
    box-shadow: 0 8px 20px #0007;
}

.dn-demo-options[hidden] {
    display: none;
}

.dn-demo-option {
    display: block !important;
    width: 100%;
    min-height: 25px;
    padding: 5px 7px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: transparent !important;
    text-align: left;
    color: #e2e3e9 !important;
    font-size: 12px !important;
    white-space: normal;
}

.dn-demo-option:hover,.dn-demo-option[aria-selected='true'] {
    background: #96aae61e !important;
}

.dn-demo-range {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 104px;
    width: 104px;
}

.dn-demo-setting input[type='range'] {
    appearance: none;
    width: 100%;
    min-width: 0;
    height: 16px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.dn-demo-setting input[type='range']::-moz-range-progress {
    height: 3px;
    background: #b3d5ff;
}

.dn-demo-setting input[type='range']::-moz-range-thumb {
    width: 9.6px;
    height: 9.6px;
    border: 0;
    border-radius: 50%;
    background: #fff;
}

.dn-demo-range output,.dn-demo-setting>output {
    display: block;
    min-width: 22px;
    padding: 0 3px;
    border: 1px solid #ffffff07;
    border-radius: 3.5px;
    background: #1b1c25;
    text-align: center;
    color: #acacbc;
    font-size: 10.5px;
    line-height: 17px;
    font-variant-numeric: tabular-nums;
}

.dn-demo-toggle {
    position: relative;
    flex: none !important;
    width: 25.2px !important;
    min-width: 25.2px !important;
    height: 15.55px !important;
    min-height: 15.55px !important;
    padding: 0 !important;
    border: 1px solid #00030ceb !important;
    border-radius: 20px !important;
    background: #070711 !important;
    cursor: pointer;
    transition: background .15s;
}

.dn-demo-toggle:before {
    content: '';
    position: absolute;
    left: 2px;
    top: 1.7px;
    width: 10.8px;
    height: 10.8px;
    border-radius: 50%;
    background: #7c8791;
    transition: transform .15s,background .15s;
}

.dn-demo-toggle[aria-pressed='true'] {
    background: #b3d5ff !important;
}

.dn-demo-toggle[aria-pressed='true']:before {
    transform: translateX(9px);
    background: #fefefb;
}

.dn-demo input[type='text'],.dn-demo input[type='number'] {
    width: 100%;
    min-height: 24px;
    margin: 4px 0;
    padding: 3px 7px;
    border: 1px solid #ffffff0d;
    border-radius: 4px;
    background: #1b1c25;
    color: #e2e3e9;
}

.dn-demo-action {
    display: block;
    min-height: 25px;
    width: 100%;
    margin: 5px 0 !important;
    padding: 4px 8px;
    border: 1px solid #ffffff0d !important;
    border-radius: 4px;
    background: #1b1c25;
    color: #e2e3e9;
    font-size: 12px;
}

.dn-demo-action:hover {
    background: #20212b;
}

.dn-demo-color-swatch {
    flex: none;
    width: 19px;
    height: 15px;
    border: 1px solid #ffffff30 !important;
    border-radius: 4px;
    background: var(--color,#b3d5ff);
}

.dn-demo-color-body[hidden] {
    display: none;
}

.dn-demo-color-body input[type='range'] {
    flex: 1 1 100%;
    width: 100%;
    height: 11px;
    border-radius: 3px;
    background: var(--color,#b3d5ff);
}

.dn-demo-empty {
    padding: 18px 6px;
    text-align: center;
    color: #60636f;
    font-size: 12px;
}

.dn-demo-collapsed .dn-demo-sidebar,.dn-demo-collapsed .dn-demo-main {
    visibility: hidden;
}

.dn-demo-collapsed:after {
    content: 'Открыть меню';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #e2e3e9;
    cursor: pointer;
}

.dn-demo-watermark strong {
    font-family: 'DN Noto Black';
    font-weight: 900;
    color: #d6f7ff;
}

.dn-demo-hotkeys header,.dn-demo-hotkeys-title,.dn-demo-hotkeys h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 20.8px;
    margin: 0 0 1px;
    padding: 0 7.5px;
    border: 1px solid #ffffff0d;
    border-radius: 6px;
    background: #0c0c14a8;
    font-size: 13.2px;
    font-weight: 600;
    color: #e2e3e9;
}

.dn-demo-hotkey {
    display: flex;
    gap: 4.5px;
    align-items: center;
    margin: 0;
    color: #e2e3e9;
}

.dn-demo-hotkey>span,.dn-demo-hotkey>button {
    min-height: 17.5px;
    padding: 0 5.2px;
    border: 1px solid #ffffff0d;
    border-radius: 6px;
    background: #0c0c14a8;
    font: 500 11px/17.5px 'DN Noto',sans-serif;
    color: inherit;
}

.dn-demo-hotkey>button {
    width: 19.5px;
    padding: 0;
    font-family: 'DN Icons';
    cursor: pointer;
}

.dn-demo-hotkey[aria-pressed='false'] {
    opacity: .45;
}

.dn-demo [hidden],.dn-demo-stage [hidden] {
    display: none !important;
}

.dn-demo {
    --dn-accent: #b3d5ff;
    --dn-muted: #9699a1;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 134px 499px;
    width: 633px;
    height: 485px;
    margin: 0 auto;
    padding: 0;
    color: #f0f1f5;
    text-align: left;
    font-family: 'DN Noto',sans-serif;
    font-size: 13.2px;
    font-weight: 500;
    line-height: 1.4;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(#080b14,#0b0e17);
    box-shadow: 0 3px 18px 2px #0008;
    overflow: hidden;
    letter-spacing: 0;
    isolation: isolate;
    transform: scale(var(--gui-scale,1));
    transform-origin: top center;
}

.dn-demo-toolbar>.dn-demo-preset {
    position: relative;
    left: auto;
    right: auto;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    width: auto;
    height: 23.8px;
    max-width: 208.55px;
    padding: 0 10px;
    border: 1px solid #16171c;
    border-radius: 4px;
    background: #0a0b10;
    color: #cacbcf;
    font: 500 13.6px 'DN Noto',sans-serif;
}

.dn-demo-toolbar>.dn-demo-preset span {
    margin-left: 12px;
    color: #bcbec2;
}

.dn-demo-toolbar>input.dn-demo-search {
    position: absolute;
    top: 43px;
    left: 0;
    right: 0;
    z-index: 15;
    height: 34px;
    padding: 7px 10px;
    border: 1px solid #ffffff0d;
    background: #151421fa;
    box-shadow: 0 8px 24px #0006;
}

.dn-demo-profile {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 0;
    align-items: center;
    gap: 7px;
    height: 45px;
    border: 0;
    border-top: 1px solid #151821;
    border-radius: 0;
    background: none;
    color: #e4e5e9;
    display: block;
    padding: 10px 0 0 39px;
}

.dn-demo-profile:before {
    content: '\f007';
    position: absolute;
    left: 4px;
    top: 8px;
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #161922;
    color: #b3d5ff;
    font-family: 'DN Icons';
    font-size: 13px;
}

.dn-demo-profile strong {
    display: block;
    font-size: 14.15px;
    font-weight: 500;
    max-width: 79px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 17px;
}

.dn-demo-profile small {
    display: block;
    color: #60636f;
    font-size: 11.7px;
    line-height: 16px;
}

.dn-demo-nav {
    display: block;
    margin: 0 8px;
    padding: 0;
    border: 0;
    position: relative;
    padding-top: 0;
    height: 350px;
}

.dn-demo-nav button {
    display: flex;
    align-items: center;
    width: 118.5px;
    height: 25px;
    min-height: 25px;
    margin: 0 0 4.25px;
    padding: 0 4px 0 27.3px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    text-align: left;
    color: #9699a1;
    white-space: nowrap;
    transition: background .14s,color .14s;
    position: absolute;
    left: 0;
}

.dn-demo-nav button[data-tab='0'] {
    top: 0;
}

.dn-demo-nav button[data-tab='1'] {
    top: 29.25px;
}

.dn-demo-nav button[data-tab='2'] {
    top: 85.35px;
}

.dn-demo-nav button[data-tab='3'] {
    top: 114.6px;
}

.dn-demo-nav button[data-tab='4'] {
    top: 173.15px;
}

.dn-demo-nav button[data-tab='5'] {
    top: 143.9px;
}

.dn-demo-nav button[data-tab='6'] {
    top: 202.4px;
}

.dn-demo-nav>.dn-demo-caption {
    position: absolute;
    top: 68px;
    left: 7.4px;
    margin: 0;
}

.dn-demo-icon {
    position: absolute;
    left: 8px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 13px;
    height: 13px;
    transform: translateY(-50%);
    background: none !important;
    border: 0;
    border-radius: 0;
    color: #84888f;
    font-family: 'DN Icons';
    line-height: 1;
    font-size: 0;
}

.dn-demo-icon:before {
    font: 11px 'DN Icons';
    line-height: 1;
}

.dn-demo-nav button[data-tab='0'] .dn-demo-icon:before {
    content: '\f601';
}

.dn-demo-nav button[data-tab='1'] .dn-demo-icon:before {
    content: '\f007';
}

.dn-demo-nav button[data-tab='2'] .dn-demo-icon:before {
    content: '\f03e';
}

.dn-demo-nav button[data-tab='3'] .dn-demo-icon:before {
    content: '\f362';
}

.dn-demo-nav button[data-tab='4'] .dn-demo-icon:before {
    content: '\f0c7';
}

.dn-demo-combo {
    position: relative;
    display: block;
    flex: 0 1 111px;
    width: 111px;
    max-width: 111px;
    padding: 0;
    overflow: visible;
    background: none;
    border: 0;
    white-space: normal;
}

.dn-demo-combo-trigger {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    min-height: 20.2px;
    max-height: 54px;
    overflow: hidden;
    padding: 2px 17px 2px 7px;
    border: 1px solid #ffffff07 !important;
    border-radius: 4px;
    background: #1b1c25;
    color: #c8c8d2;
    text-align: left;
    font-size: 11.7px !important;
    line-height: 16px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.dn-demo-combo-trigger>span {
    position: absolute;
    right: 6px;
    top: 2px;
    color: #bebeca;
}

.dn-demo-combo-trigger:hover {
    background: #20212b;
}

.dn-demo-combo:not(.open)>.dn-demo-options {
    display: none;
}

.dn-demo-combo.open>.dn-demo-options {
    display: block;
    animation: dnMenuDrop .12s ease-out;
}

.dn-demo-color-trigger {
    flex: none;
    width: 19px;
    height: 15px;
    padding: 0 !important;
    border: 1px solid #ffffff30 !important;
    border-radius: 4px;
    background: #b3d5ff;
    cursor: pointer;
}

.dn-demo-color-body.open {
    display: flex;
    opacity: 1;
    animation: dnMenuDrop .14s ease-out;
}

.dn-demo-sv {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 4px;
    touch-action: none;
    cursor: crosshair;
    height: 112px;
}

.dn-demo-hue {
    appearance: none !important;
    background: linear-gradient(to right,red,#ff0,#0f0,#0ff,#00f,#f0f,red) !important;
}

.dn-demo-alpha {
    appearance: none !important;
    background: linear-gradient(to right,transparent,#b3d5ff),repeating-conic-gradient(#6e6e77 0 25%,#b0b0ba 0 50%) 0/8px 8px !important;
}

.dn-demo-hue::-webkit-slider-thumb,.dn-demo-alpha::-webkit-slider-thumb {
    appearance: none;
    width: 5px;
    height: 13px;
    border: 1px solid #fff;
    border-radius: 2px;
    background: #ffffff44;
}

.dn-demo-watermark,.dn-demo-hotkeys {
    position: absolute;
    z-index: 3;
    font: 500 12.4px/22px 'DN Noto',sans-serif;
    color: #cecfd6;
    text-align: left;
    transform: scale(var(--hud-scale,1));
    transform-origin: top left;
}

.dn-demo-hotkeys-head {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 20.8px;
    margin: 0 0 6px;
    padding: 0 7.5px;
    border: 1px solid #ffffff0d;
    border-radius: 6px;
    background: #0c0c14a8;
    color: #e2e3e9;
    font: 600 13.2px/20.8px 'DN Noto',sans-serif;
}

.dn-demo-hotkeys button[data-hotkey]:before {
    content: '\f205';
    display: grid;
    place-items: center;
    width: 19.5px;
    min-height: 17.5px;
    border: 1px solid #ffffff0d;
    border-radius: 6px;
    background: #0c0c14a8;
    font-family: 'DN Icons';
    font-size: 10px;
}

.dn-demo-hotkeys button[data-hotkey] span {
    display: block;
    padding: 0 5.2px;
    border: 1px solid #ffffff0d;
    border-radius: 6px;
    background: #0c0c14a8;
}

.dn-demo-hotkeys button[data-hotkey][aria-pressed='false'] {
    opacity: .45;
}

@keyframes dnMenuDrop {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dn-demo-card {
    position: relative;
    vertical-align: top;
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #191a1f;
    border-radius: 8px;
    background: #12121a;
    break-inside: avoid;
    box-shadow: none;
    display: block;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.dn-demo-setting:has(.dn-demo-range) {
    display: block;
    min-height: 30px;
    height: 30px;
    padding: 0;
    line-height: 18px;
}

.dn-demo-setting:has(.dn-demo-range)>span:first-child {
    position: absolute;
    left: 0;
    top: 1px;
    right: 42px;
    display: block;
    width: auto;
    min-width: 0;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dn-demo-setting .dn-demo-range {
    position: absolute;
    display: block;
    inset: 0;
    width: 100%;
    height: 30px;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.dn-demo-setting .dn-demo-range input[type='range'] {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 16px;
    margin: 0;
}

.dn-demo-setting .dn-demo-range output {
    position: absolute;
    right: 0;
    top: 1px;
    display: block;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: #b9c6dc;
    font-size: 10.5px;
    line-height: 18px;
    font-variant-numeric: tabular-nums;
}

.dn-demo-setting input[type='range']::-webkit-slider-runnable-track {
    height: 3px;
    border-radius: 3px;
    border: 1px solid #ffffff37;
    background: linear-gradient(to right,#b3d5ff 0 var(--range-progress,50%),#1b1c25 var(--range-progress,50%) 100%);
}

.dn-demo-setting input[type='range']::-moz-range-track {
    height: 3px;
    border-radius: 3px;
    border: 1px solid #ffffff37;
    background: #1b1c25;
}

.dn-demo-setting input[type='range']::-webkit-slider-thumb {
    appearance: none;
    width: 9.6px;
    height: 9.6px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    margin-top: -4.3px;
}

.dn-demo-stage .dn-demo *, .dn-demo-stage .dn-demo-watermark *, .dn-demo-stage .dn-demo-hotkeys * {
    font-family: 'DN Noto',sans-serif !important;
}

.dn-demo-stage .dn-demo-icon:before,.dn-demo-stage .dn-demo-profile:before,.dn-demo-stage .dn-demo-hotkeys button[data-hotkey]:before {
    font-family: 'DN Icons' !important;
}

.dn-demo-stage .dn-demo-watermark strong {
    font-family: 'DN Noto Black' !important;
}

.dn-demo-nav button[data-tab='5'] .dn-demo-icon:before {
    content: '\f5fd';
}

.dn-demo-nav button[data-tab='6'] .dn-demo-icon:before {
    content: '\f0ca';
}

.dn-demo-grid {
    column-gap: 8px;
    margin: 0;
    padding: 0;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: start;
    gap: 8px;
    columns: auto;
    width: 100%;
    min-width: 0;
    position: relative;
    display: block;
}

.dn-demo-grid>.dn-demo-card {
    position: absolute;
    top: 0;
    left: 0;
    width: calc((100% - 8px)/2);
}

.dn-demo-setting {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin: 0;
    border: 0;
    color: #e2e3e9;
    font-size: 13.2px;
    line-height: 18px;
    margin-top: 6px;
    padding: 0;
    min-height: 24px;
}

.dn-demo-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 0;
    min-height: 24px;
}

.dn-demo-color {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    margin: 0;
    border: 0;
    padding: 0;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .18s ease,opacity .18s ease;
    opacity: 0;
    overflow: hidden;
}

.dn-demo-color.open {
    grid-template-rows: 1fr;
    opacity: 1;
}

.dn-demo-color-body {
    flex-wrap: wrap;
    gap: 7px;
    width: 100%;
    border-radius: 4px;
    background: #0e0e14;
    display: flex !important;
    min-height: 0;
    overflow: hidden;
    opacity: 1;
    padding: 0;
    border: 0;
    transition: padding .18s;
}

.dn-demo-color.open .dn-demo-color-body {
    padding: 8px 0;
}

.dn-demo-hotkeys-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5.8px;
    transform-origin: top left;
    transition: transform .18s,opacity .18s;
}

.dn-demo-hotkeys.collapsed .dn-demo-hotkeys-list {
    transform: scale(.85);
    opacity: 0;
    pointer-events: none;
}

.dn-demo-watermark {
    right: 12px;
    top: 7px;
    display: flex;
    align-items: center;
    border: 1px solid #ffffff0d;
    border-radius: 6px;
    color: #cecfd6;
    cursor: pointer;
    transform-origin: top right;
    touch-action: none;
    user-select: none;
    height: 24px;
    min-height: 24px;
    gap: 8px;
    padding: 0 8px;
    background: #0c0c14cd;
}

.dn-demo-watermark img {
    border-radius: 3px;
    object-fit: cover;
    width: 16px;
    height: 16px;
}

.dn-demo-skins h3 {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px;
}

.dn-demo-skins p {
    font-size: 12px;
    color: #b3bac8;
}

.dn-demo-hotkeys {
    left: 0;
    top: 110px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5.8px;
    font-size: 11px;
    max-width: none;
    width: max-content;
}

.dn-demo-hotkeys button[data-hotkey] {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #e2e3e9;
    font: 500 11px/17.5px 'DN Noto',sans-serif;
    cursor: pointer;
    font-size: 13.2px;
    white-space: nowrap;
}

.dn-demo-hotkeys button[data-hotkey][aria-pressed='false']:before {
    content: '\f204';
}

@media (max-width:860px) {
    .dn-demo-hotkeys {
        left: calc(50% - 316.5px);
        top: 548px;
        flex-direction: row;
        max-width: none;
    }

    .dn-demo-hotkeys-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .dn-demo-stage {
        padding-bottom: 55px;
    }
}

@media (max-width:660px) {
    .dn-demo-stage {
        width: 100%;
        max-width: 100%;
        min-height: 0;
        overflow-x: auto;
        padding-top: 38px;
        padding-bottom: 28px;
    }

    .dn-demo {
        margin-left: 0;
        margin-right: 0;
    }

    .dn-demo-watermark {
        position: relative;
        top: 0;
        right: auto;
        width: max-content;
        margin: 0 0 10px;
    }

    .dn-demo-hotkeys {
        position: relative;
        left: 0;
        top: 0;
        margin-top: 12px;
        flex-direction: column;
    }

    .dn-demo-hotkeys-list {
        flex-direction: row;
    }

    .dn-demo-card,.dn-demo-grid {
        column-gap: 8px;
    }

    .dn-demo-nav {
        display: block;
    }
}

@media (prefers-reduced-motion:reduce) {
    .dn-demo * {
        transition: none !important;
        animation: none !important;
    }
}
