/* Decorly: the ☰ menu on every page (sitemenu.js) */
.dlm-btn { position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border-radius: 11px; border: 1px solid #2e2d32; background: #161518; color: #f4f3f6; cursor: pointer;
  transition: background .15s, border-color .15s; }
.dlm-btn:hover, .dlm-open .dlm-btn { background: #1c1b1f; border-color: #3a3346; }
.dlm-btn svg { width: 20px; height: 20px; fill: currentColor; }
.dlm-flag { position: absolute; right: -5px; bottom: -5px; min-width: 20px; height: 17px; padding: 0 4px; border-radius: 6px;
  background: #a162f8; color: #fff; font: 800 9.5px/17px "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: .02em; box-shadow: 0 0 0 2px #09080a; }
.dlm-flag[hidden] { display: none; }

/* one menu: the pages' own small menus step aside */
.has-dlmenu .menu-btn, .has-dlmenu .st-menu { display: none !important; }
.site-top .dlm-btn { margin-left: 10px; }
.ck-top-acts .dlm-btn { width: 38px; height: 38px; }

.dlm { position: fixed; z-index: 120; width: min(340px, calc(100vw - 24px)); max-height: calc(100vh - 90px); overflow: auto;
  display: grid; gap: 6px; padding: 10px; border-radius: 18px; background: #121114; border: 1px solid #2e2d32; color: #f4f3f6;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(161, 98, 248, .1);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; animation: dlm-in .18s ease; transform-origin: top right; }
.dlm[hidden] { display: none; }
@keyframes dlm-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

.dlm-acct { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 13px; text-decoration: none; color: inherit;
  background: linear-gradient(135deg, rgba(161, 98, 248, .18), rgba(255, 127, 176, .08)); border: 1px solid rgba(161, 98, 248, .25); }
.dlm-acct:hover { border-color: rgba(161, 98, 248, .5); text-decoration: none; }
.dlm-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #a162f8; flex: none; }
.dlm-av svg { width: 20px; height: 20px; fill: #fff; }
.dlm-acct-t { display: grid; min-width: 0; flex: 1; }
.dlm-acct-t b { font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dlm-acct-t small { font-size: 12.5px; color: #a09fa6; }
.dlm-go { color: #c4a6fb; font-weight: 700; }

.dlm-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px 0; }
.dlm-link { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 11px; color: #d9d6df; text-decoration: none;
  font-size: 14.5px; font-weight: 600; transition: background .15s, color .15s; }
.dlm-link svg { width: 18px; height: 18px; fill: #6e6d74; flex: none; transition: fill .15s; }
.dlm-link:hover { background: #1c1b1f; color: #fff; text-decoration: none; }
.dlm-link:hover svg { fill: #c4a6fb; }
.dlm-link[aria-current="page"] { background: #1c1b1f; color: #fff; box-shadow: inset 0 0 0 1px #2e2d32; }
.dlm-link[aria-current="page"] svg { fill: #a162f8; }

.dlm-sec { display: grid; gap: 8px; padding: 12px; border-radius: 13px; background: #18161b; border: 1px solid #232226; }
.dlm-lang { display: grid; gap: 10px; }
.dlm-lang-t { display: grid; gap: 2px; }
.dlm-lang-t b { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.dlm-lang-t b::before { content: ""; width: 16px; height: 16px; background: currentColor; opacity: .8;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.9 6h-2.9a15.7 15.7 0 0 0-1.4-3.6A8 8 0 0 1 18.9 8ZM12 4c.8 1.2 1.5 2.5 1.9 4h-3.8c.4-1.5 1.1-2.8 1.9-4ZM4.3 14a8.2 8.2 0 0 1 0-4h3.4a16.5 16.5 0 0 0 0 4H4.3Zm.8 2h2.9c.3 1.3.8 2.5 1.4 3.6A8 8 0 0 1 5.1 16ZM8 8H5.1a8 8 0 0 1 4.3-3.6C8.8 5.5 8.3 6.7 8 8Zm4 12c-.8-1.2-1.5-2.5-1.9-4h3.8c-.4 1.5-1.1 2.8-1.9 4Zm2.3-6H9.7a14.7 14.7 0 0 1 0-4h4.6a14.7 14.7 0 0 1 0 4Zm.3 5.6c.6-1.1 1.1-2.3 1.4-3.6h2.9a8 8 0 0 1-4.3 3.6Zm1.7-5.6a16.5 16.5 0 0 0 0-4h3.4a8.2 8.2 0 0 1 0 4h-3.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm6.9 6h-2.9a15.7 15.7 0 0 0-1.4-3.6A8 8 0 0 1 18.9 8ZM12 4c.8 1.2 1.5 2.5 1.9 4h-3.8c.4-1.5 1.1-2.8 1.9-4ZM4.3 14a8.2 8.2 0 0 1 0-4h3.4a16.5 16.5 0 0 0 0 4H4.3Zm.8 2h2.9c.3 1.3.8 2.5 1.4 3.6A8 8 0 0 1 5.1 16ZM8 8H5.1a8 8 0 0 1 4.3-3.6C8.8 5.5 8.3 6.7 8 8Zm4 12c-.8-1.2-1.5-2.5-1.9-4h3.8c-.4 1.5-1.1 2.8-1.9 4Zm2.3-6H9.7a14.7 14.7 0 0 1 0-4h4.6a14.7 14.7 0 0 1 0 4Zm.3 5.6c.6-1.1 1.1-2.3 1.4-3.6h2.9a8 8 0 0 1-4.3 3.6Zm1.7-5.6a16.5 16.5 0 0 0 0-4h3.4a8.2 8.2 0 0 1 0 4h-3.4Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.dlm-lang-t small { font-size: 12.5px; color: #a09fa6; }
.dlm-lang select { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid #2e2d32; background: #0f0e11; color: #f4f3f6;
  font: 600 14.5px "Plus Jakarta Sans", system-ui, sans-serif; outline: none; cursor: pointer; }
.dlm-lang select:focus { border-color: #a162f8; box-shadow: 0 0 0 3px rgba(161, 98, 248, .2); }
.dlm-lang select option { background: #121114; }
.dlm-hint { margin: 0; font-size: 12px; line-height: 1.45; color: #6e6d74; }

@media (prefers-reduced-motion: reduce) { .dlm { animation: none; } }
