/* cry.best/dashboard: same language as the home page (styles.css) */
[hidden] { display: none !important; }
.d-main { min-height: calc(100vh - 92px - 260px); }
.d-state { padding: 40px 0 40px; }
.d-card { background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 40px; }

/* nav right side */
.d-right { display: flex; align-items: center; gap: 12px; }
.d-user {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 6px; border-radius: 999px;
  background: rgba(20, 21, 21, .9); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14.5px; font-weight: 600; letter-spacing: -.02em; color: #fff;
  animation: navIn .6s var(--ease) both;
}
.d-user .d-av { width: 32px; height: 32px; border-radius: 50%; flex: none; object-fit: cover; background: var(--bg-3); display: grid; place-items: center; font: 700 14px/1 var(--font); font-style: normal; color: var(--zinc-200); text-transform: uppercase; }
.d-user a { color: var(--zinc-500); font-size: 13px; font-weight: 500; padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line); transition: color .25s ease; }
.d-user a:hover { color: #fff; }

/* loading */
.d-spin { width: 34px; height: 34px; margin: 18vh auto; border-radius: 50%; border: 3px solid rgba(255,255,255,.08); border-top-color: var(--accent); animation: dspin .8s linear infinite; }
@keyframes dspin { to { transform: rotate(360deg); } }

/* hero (login + picker heading) */
.d-hero { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 50px 0 20px; position: relative; }
.d-hero::before {
  content: ""; position: absolute; left: 50%; top: 0; width: min(720px, 100%); height: 340px; transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(120,160,210,.12), transparent);
}
.d-hero-logo { width: 104px; height: 104px; filter: drop-shadow(0 14px 34px rgba(120,160,210,.28)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.d-hero h1 { margin: 26px 0 0; font-size: 52px; line-height: 1.15; font-weight: 700; letter-spacing: -2.5px; }
.d-lead { margin: 16px auto 0; max-width: 34rem; color: var(--zinc-400); font-size: 17px; line-height: 1.75; font-weight: 500; }
.d-lead b { color: #fff; font-weight: 600; }
.d-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 30px; }
.d-login-btn { height: 52px; padding: 0 24px; font-size: 16px; }
.d-login-btn svg { width: 20px; height: 20px; }
.d-hero-sm { padding: 30px 0 10px; }
.d-hero-sm h1 { margin-top: 0; }
.d-fine { color: #f2a3ab; font-size: 14px; margin: 18px 0 0; padding: 8px 14px; border-radius: 999px; background: rgba(242,163,171,.07); box-shadow: inset 0 0 0 1px rgba(242,163,171,.2); }
.d-feats { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 56px; max-width: 640px; }
.d-feats .fchip { position: static; }
.d-feats .fchip:nth-child(2) { animation-delay: -1.4s; }
.d-feats .fchip:nth-child(3) { animation-delay: -2.8s; }
.d-feats .fchip:nth-child(4) { animation-delay: -4.2s; }
.d-feats .fchip:nth-child(5) { animation-delay: -5.6s; }

/* guild picker */
.d-guilds { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 44px; }
.d-guild {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 16px;
  padding: 22px 24px; border-radius: 28px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); color: inherit;
}
.d-guild:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px rgba(166,196,236,.2), 0 30px 60px -30px rgba(0,0,0,.8); }
.d-gbg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; filter: blur(46px) saturate(1.5); transform: scale(1.6); transition: transform 1.2s var(--ease), opacity .6s ease; pointer-events: none; }
.d-guild:hover .d-gbg { transform: scale(1.9); opacity: .24; }
.d-gav { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; flex: none; object-fit: cover; background: var(--bg-3); display: grid; place-items: center; font-weight: 700; font-size: 20px; color: var(--zinc-400); transition: transform .6s var(--spring); }
.d-guild:hover .d-gav { transform: scale(1.07) rotate(-4deg); }
.d-gtxt { position: relative; z-index: 1; min-width: 0; flex: 1; }
.d-gtxt b { display: block; font-size: 17px; letter-spacing: -.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-gtxt small { display: block; color: var(--zinc-400); font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-badge { position: relative; z-index: 1; font-size: 11.5px; font-weight: 600; color: var(--accent); padding: 3px 10px; border-radius: 999px; background: rgba(166,196,236,.08); box-shadow: inset 0 0 0 1px rgba(166,196,236,.2); }
.d-go { position: relative; z-index: 1; color: var(--zinc-500); font-size: 18px; transition: transform .5s var(--spring), color .3s ease; }
.d-guild:hover .d-go { transform: translateX(4px); color: #fff; }
.d-guild.add { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.07); }
.d-guild.add .d-gav { background: rgba(166,196,236,.06); color: var(--accent); font-weight: 400; font-size: 26px; box-shadow: inset 0 0 0 1px rgba(166,196,236,.18); }
.d-guild.add:hover .d-gav { transform: rotate(90deg); }

.d-empty {
  grid-column: 1 / -1; width: min(540px, 100%); margin: 0 auto; padding: 48px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  background: radial-gradient(500px 220px at 50% 0%, rgba(120,160,210,.14), transparent 70%), var(--bg-2);
}
.d-empty > * { position: relative; z-index: 1; }
.d-empty-logo { width: 84px; height: 84px; filter: drop-shadow(0 12px 30px rgba(120,160,210,.25)); animation: float 6s ease-in-out infinite; }
.d-empty h2 { margin: 20px 0 0; font-size: 32px; font-weight: 700; letter-spacing: -1.4px; }
.d-empty p { color: var(--zinc-400); font-weight: 500; margin: 10px 0 0; max-width: 30rem; }
.d-empty .d-hero-actions { margin-top: 26px; }
.gbtn.ghost { height: 44px; font-size: 15px; }

/* guild settings */
.d-app { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.d-side { position: sticky; top: 24px; padding: 18px 12px; border-radius: 28px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); max-height: calc(100vh - 48px); overflow: auto; scrollbar-width: thin; }
.d-side > * { position: relative; z-index: 1; }
.d-back { display: inline-flex; align-items: center; gap: 6px; color: var(--zinc-500); font-size: 13.5px; font-weight: 500; margin: 0 10px 14px; transition: color .25s ease, transform .4s var(--spring); }
.d-back:hover { color: #fff; transform: translateX(-3px); }
.d-gname { display: flex; align-items: center; gap: 12px; margin: 0 10px 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 16px; letter-spacing: -.02em; }
.d-gname img, .d-gname i { width: 38px; height: 38px; border-radius: 50%; flex: none; object-fit: cover; background: var(--bg-3); display: grid; place-items: center; font-style: normal; color: var(--zinc-400); }
.d-gname span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.d-grp { font-size: 12px; font-weight: 600; color: var(--zinc-500); margin: 16px 12px 6px; text-transform: capitalize; }
.d-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 12px; border-radius: 12px;
  color: var(--zinc-400); font: 500 14.5px var(--font); letter-spacing: -.01em; background: none; border: 0; cursor: pointer; text-align: left; text-transform: capitalize;
  transition: background .25s ease, color .25s ease, transform .4s var(--spring);
}
.d-nav:hover { color: #fff; background: rgba(255,255,255,.035); transform: translateX(2px); }
.d-nav[aria-current="true"] { color: #fff; background: rgba(166,196,236,.09); box-shadow: inset 0 0 0 1px rgba(166,196,236,.14); }
.d-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.12); flex: none; transition: background .3s ease, box-shadow .3s ease; }
.d-dot.on { background: var(--ok); box-shadow: 0 0 10px rgba(143,214,168,.6); }

.d-panel { min-width: 0; padding-bottom: 40px; }
.d-panel h2 { margin: 6px 0 0; font-size: 38px; font-weight: 700; letter-spacing: -1.6px; text-transform: capitalize; }
.d-panel > p.d-desc { margin: 10px 0 26px; color: var(--zinc-400); font-size: 16px; font-weight: 500; }
.d-note { padding: 14px 18px; border-radius: 18px; background: rgba(166,196,236,.06); box-shadow: inset 0 0 0 1px rgba(166,196,236,.16); color: var(--zinc-200); font-size: 14.5px; margin-bottom: 20px; }
.d-note.warn { background: rgba(242,163,171,.06); box-shadow: inset 0 0 0 1px rgba(242,163,171,.22); }
.d-note code { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }

.d-form { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.d-form > .wide, .d-form > .d-row { grid-column: 1 / -1; }
.d-stack { display: grid; gap: 10px; }
.d-field { display: grid; gap: 9px; padding: 18px 20px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 22px; transition: box-shadow .35s ease; }
.d-field > * { position: relative; z-index: 1; }
.d-field:focus-within { box-shadow: inset 0 0 0 1px rgba(166,196,236,.28); }
.d-field > label, .d-lbl { font-size: 14px; font-weight: 600; color: var(--zinc-200); letter-spacing: -0.01em; }
.d-field.err { box-shadow: inset 0 0 0 1px rgba(242,163,171,.55); animation: shake .4s; }
.d-row { padding: 16px 20px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); border-radius: 22px; display: grid; grid-template-columns: 170px repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; align-items: center; }
.d-row .d-rn { font-weight: 700; letter-spacing: -0.02em; text-transform: capitalize; display: flex; align-items: center; gap: 10px; }
.d-row .d-mini { display: grid; gap: 4px; }
.d-row .d-mini span { font-size: 12px; color: var(--zinc-500); }

.d-in, .d-sel, .d-ta {
  width: 100%; background: var(--bg); color: #fff; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  padding: 11px 14px; font: 500 14.5px/1.4 var(--font); outline: none; transition: box-shadow .25s ease, background .25s ease;
}
.d-in:hover, .d-sel:hover, .d-ta:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.d-in:focus, .d-sel:focus, .d-ta:focus { box-shadow: inset 0 0 0 1px rgba(166,196,236,.55), 0 0 0 4px rgba(166,196,236,.08); }
.d-in:disabled, .d-sel:disabled, .d-ta:disabled { opacity: .5; }
.d-ta { min-height: 100px; resize: vertical; font-family: var(--mono); font-size: 13px; font-weight: 400; }
.d-sel { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, #888 50%), linear-gradient(135deg, #888 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.d-sel option { background: var(--bg-2); }
.d-count { font: 400 11.5px var(--mono); color: var(--zinc-500); text-align: right; margin-top: 4px; }

/* toggle */
.d-tog { position: relative; width: 44px; height: 26px; flex: none; }
.d-tog input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.d-tog span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.1); transition: background .3s ease, box-shadow .3s ease; }
.d-tog span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .45s var(--spring), width .25s ease; }
.d-tog input:active + span::after { width: 24px; }
.d-tog input:checked + span { background: var(--accent); box-shadow: 0 0 16px rgba(166,196,236,.3); }
.d-tog input:checked + span::after { transform: translateX(18px); background: #0c0d0d; }
.d-tog input:checked:active + span::after { transform: translateX(14px); }
.d-tog input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.d-boolf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* chips (multi roles) */
.d-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.d-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 999px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; animation: chipIn .35s var(--spring) both; }
@keyframes chipIn { from { opacity: 0; transform: scale(.8); } }
.d-chip i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.d-chip button { background: none; border: 0; color: var(--zinc-500); cursor: pointer; font-size: 15px; line-height: 1; padding: 0 4px; transition: color .2s; }
.d-chip button:hover { color: #fff; }

/* level rewards */
.d-rewards { display: grid; gap: 8px; }
.d-reward { display: grid; grid-template-columns: 110px 1fr 40px; gap: 8px; animation: chipIn .35s var(--ease) both; }
.d-x { background: var(--bg); border: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: 12px; color: var(--zinc-400); cursor: pointer; transition: color .2s, box-shadow .2s; }
.d-x:hover { color: #fff; box-shadow: inset 0 0 0 1px rgba(242,163,171,.4); }

/* actions */
.d-actions { position: sticky; bottom: 0; z-index: 5; display: flex; gap: 10px; flex-wrap: wrap; padding: 22px 0 18px; margin-top: 10px; background: linear-gradient(180deg, transparent, var(--bg) 40%); }
.d-btn { height: 46px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 15px var(--font); letter-spacing: -.02em; cursor: pointer; color: #fff; }
.d-btn:hover { transform: translateY(-2px); }
.d-btn:disabled { opacity: .5; cursor: default; transform: none; }
.d-btn.primary { background: linear-gradient(180deg, #f1f5fb, #c9d8ec); color: #0c0d0d; box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 10px 30px rgba(166,196,236,.18); }
.d-btn.primary:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 14px 36px rgba(166,196,236,.3); }
.d-btn.ghost { background: linear-gradient(180deg, rgba(166,196,236,.16), rgba(86,112,143,.16)), var(--bg); box-shadow: inset 0 0 0 1px rgba(166,196,236,.18); }
.d-btn.ghost:hover { box-shadow: inset 0 0 0 1px rgba(166,196,236,.35), 0 10px 30px rgba(120,160,210,.12); }

/* toast */
.d-toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 24px) scale(.96); opacity: 0; pointer-events: none; padding: 12px 20px; border-radius: 999px; background: rgba(27,29,31,.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 16px 40px rgba(0,0,0,.5); font-size: 14.5px; font-weight: 500; transition: opacity .3s ease, transform .5s var(--spring); z-index: 100; max-width: calc(100% - 32px); }
.d-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.d-toast.bad { box-shadow: inset 0 0 0 1px rgba(242,163,171,.45), 0 16px 40px rgba(0,0,0,.5); color: #f6c6cb; }

.dash .footer { margin-top: 100px; }

@media (max-width: 980px) {
  .d-app { grid-template-columns: 1fr; gap: 20px; }
  .d-side { position: static; max-height: none; padding: 14px; }
  .d-side nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .d-side nav::-webkit-scrollbar { display: none; }
  .d-grp { display: none; }
  .d-nav { width: auto; white-space: nowrap; flex: none; }
  .d-nav:hover { transform: none; }
}
@media (max-width: 640px) {
  .d-hero h1 { font-size: 38px; letter-spacing: -1.5px; }
  .d-lead { font-size: 16px; }
  .d-hero-logo { width: 84px; height: 84px; }
  .d-guilds { grid-template-columns: 1fr; }
  .d-empty { padding: 36px 22px; border-radius: 30px; }
  .d-panel h2 { font-size: 30px; }
  .d-row { grid-template-columns: 1fr 1fr; }
  .d-row .d-rn { grid-column: 1 / -1; }
  .d-user span { display: none; }
  .d-login-btn span { display: inline !important; }
  .d-feats { margin-top: 40px; }
}

/* ---------- guided, cleaner settings ---------- */
.d-dot.none { visibility: hidden; }
.d-help { margin: -2px 0 2px; color: var(--zinc-500); font-size: 13px; line-height: 1.5; }
.d-field > .d-help { position: relative; z-index: 1; }

/* overview */
.d-hgrp { margin: 30px 0 12px; font-size: 13px; font-weight: 600; color: var(--zinc-500); text-transform: capitalize; }
.d-feats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.d-feat {
  all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border-radius: 22px;
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .35s ease;
}
.d-feat:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(166,196,236,.22), 0 20px 40px -24px rgba(0,0,0,.8); }
.d-feat:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.d-feat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.d-feat-top b { font-size: 15.5px; letter-spacing: -.02em; text-transform: capitalize; }
.d-pill { font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; color: var(--zinc-500); box-shadow: inset 0 0 0 1px var(--line); }
.d-feat.on .d-pill { color: var(--ok); background: rgba(143,214,168,.08); box-shadow: inset 0 0 0 1px rgba(143,214,168,.25); }
.d-feat-desc { color: var(--zinc-400); font-size: 13.5px; line-height: 1.55; flex: 1; }
.d-feat-go { color: var(--zinc-500); font-size: 13px; font-weight: 600; transition: color .25s ease, transform .4s var(--spring); }
.d-feat:hover .d-feat-go { color: var(--accent); transform: translateX(3px); }

/* how-to steps */
.d-guide-box { margin: 0 0 22px; padding: 18px 22px; border-radius: 22px; background: linear-gradient(180deg, rgba(166,196,236,.07), rgba(166,196,236,.02)); box-shadow: inset 0 0 0 1px rgba(166,196,236,.16); }
.d-guide-title { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 10px; }
.d-guide { margin: 0; padding: 0; list-style: none; counter-reset: st; display: grid; gap: 8px; }
.d-guide li { counter-increment: st; display: flex; gap: 12px; align-items: baseline; color: var(--zinc-200); font-size: 14.5px; line-height: 1.55; }
.d-guide li::before { content: counter(st); flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; color: #0c0d0d; background: var(--accent); transform: translateY(-1px); }
.d-guide code { font-family: var(--mono); font-size: 12.5px; color: var(--accent); }

/* advanced (collapsed) */
.d-adv { margin-top: 18px; border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); }
.d-adv > summary { list-style: none; cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 14.5px; color: var(--zinc-400); display: flex; justify-content: space-between; align-items: center; transition: color .25s ease; }
.d-adv > summary::-webkit-details-marker { display: none; }
.d-adv > summary::after { content: "+"; font-size: 20px; font-weight: 400; transition: transform .3s var(--ease); }
.d-adv[open] > summary::after { transform: rotate(45deg); }
.d-adv > summary:hover { color: #fff; }
.d-adv > .d-help { margin: -6px 20px 14px; }
.d-adv > .d-form { padding: 0 14px 14px; }

/* switch rows: details only when on */
.d-row { grid-template-columns: 1fr; gap: 0; }
.d-row .d-rn { justify-content: space-between; text-transform: none; font-weight: 600; font-size: 15px; }
.d-row-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); animation: chipIn .35s var(--ease) both; }
.d-row-more:empty { display: none; }

.d-quick { box-shadow: inset 0 0 0 1px rgba(166,196,236,.2); }

.d-status { align-self: center; margin-left: 6px; font-size: 13.5px; color: var(--zinc-500); }
.d-status.dirty { color: var(--accent); }
.d-btn.small { height: 38px; padding: 0 16px; font-size: 14px; justify-self: start; }
@media (max-width: 640px) { .d-row { grid-template-columns: 1fr; } .d-row .d-rn { grid-column: auto; } }

.d-panel h2.d-home-title { text-transform: none; }

/* ---------- custom dropdowns ---------- */
.dd { position: relative; }
.dd-native { position: absolute !important; opacity: 0; pointer-events: none; width: 1px !important; height: 1px; padding: 0 !important; }
.dd-btn {
  width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; cursor: pointer; text-align: left;
  background: var(--bg); color: #fff; font: 500 14.5px/1.3 var(--font); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  transition: box-shadow .25s ease, background .25s ease;
}
.dd-btn:hover { box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); background: #0f1011; }
.dd-btn:focus-visible, .dd.open .dd-btn { outline: none; box-shadow: inset 0 0 0 1px rgba(166,196,236,.55), 0 0 0 4px rgba(166,196,236,.08); }
.dd-btn:disabled { opacity: .5; cursor: default; }
.dd-label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 9px; overflow: hidden; }
.dd-label .dd-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-ph { color: var(--zinc-500); }
.dd-caret { width: 8px; height: 8px; flex: none; margin-top: -4px; border-right: 1.6px solid var(--zinc-400); border-bottom: 1.6px solid var(--zinc-400); transform: rotate(45deg); transition: transform .35s var(--spring), margin .35s var(--spring); }
.dd.open .dd-caret { transform: rotate(-135deg); margin-top: 4px; }
.dd-hash { flex: none; width: 18px; text-align: center; font-style: normal; color: var(--zinc-500); font-weight: 600; }
.dd-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.04); }

.dd-menu {
  position: fixed; z-index: 200; display: flex; flex-direction: column; overflow: hidden; padding: 6px;
  border-radius: 16px; background: rgba(20,21,22,.96); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 24px 60px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(0,0,0,.4);
  transform-origin: top center; animation: ddIn .22s var(--ease) both;
}
.dd-menu.up { transform-origin: bottom center; }
.dd-menu.closing { animation: ddOut .15s ease both; pointer-events: none; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px) scale(.97); } }
.dd-menu.up { animation-name: ddInUp; }
@keyframes ddInUp { from { opacity: 0; transform: translateY(6px) scale(.97); } }
@keyframes ddOut { to { opacity: 0; transform: scale(.97); } }
.dd-search { flex: none; margin: 0 0 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 10px; outline: none; background: rgba(255,255,255,.04); color: #fff; font: 500 14px var(--font); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.dd-search:focus { box-shadow: inset 0 0 0 1px rgba(166,196,236,.4); }
.dd-search::placeholder { color: var(--zinc-500); }
.dd-list { overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; display: grid; gap: 1px; }
.dd-grp { padding: 10px 10px 4px; font-size: 11.5px; font-weight: 600; color: var(--zinc-500); text-transform: uppercase; letter-spacing: .06em; }
.dd-opt { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 9px; cursor: pointer; font-size: 14.5px; color: var(--zinc-200); transition: background .15s ease, color .15s ease; }
.dd-opt .dd-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dd-opt.active { background: rgba(255,255,255,.06); color: #fff; }
.dd-opt.sel { color: #fff; background: rgba(166,196,236,.1); }
.dd-opt.sel.active { background: rgba(166,196,236,.15); }
.dd-opt.none { color: var(--zinc-500); }
.dd-opt.off { opacity: .4; cursor: not-allowed; }
.dd-check { flex: none; width: 12px; height: 7px; margin-top: -3px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.dd-empty { padding: 14px 10px; color: var(--zinc-500); font-size: 13.5px; text-align: center; }
