/* admin.css — GENERATED by tools/port-admin.mjs from DarksGamesSite site/styles.css + alpha.css:
   the site's rules for the classes the ported Admin panels use, scoped under .adm. The theme
   variables (--mint, --panel, --line, ...) have the same names in DarksDev's styles.css. */
/* ── from site/styles.css ── */

.adm header nav a.active { color: var(--text); }
.adm header nav a.active::after { transform: scaleX(1); }
@media (max-width: 820px) {
  .adm header nav.open { display: flex; }
  .adm header nav a.active { color: var(--mint); }
}
.adm .dim { opacity: 0.65; }
@keyframes drift1 { to { transform: translate(9vw, 6vh) scale(1.18); } }
@keyframes drift2 { to { transform: translate(-8vw, 9vh) scale(0.86); } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes shimmer { 50% { background-position: 100% 0; } }
@keyframes bob { 50% { transform: translateY(8px); opacity: 0.4; } }
.adm .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; align-items: center; }
.adm .btn {
  display: inline-block; font-family: var(--mono);
  font-size: 0.9rem; letter-spacing: 0.1em; text-decoration: none;
  padding: 0.85rem 1.7rem; border-radius: 10px; border: 0; cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s;
}
.adm .btn.big { font-size: 1rem; padding: 1.05rem 2.2rem; }
.adm .btn.primary {
  color: #04140c; font-weight: 700;
  background: linear-gradient(115deg, var(--mint), var(--cyan));
  box-shadow: 0 8px 30px color-mix(in srgb, var(--mint) 28%, transparent);
}
.adm .btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px color-mix(in srgb, var(--mint) 45%, transparent);
  filter: brightness(1.07);
}
.adm .btn.ghost {
  color: var(--text);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    var(--grad) border-box;
}
.adm .btn.ghost:hover { transform: translateY(-3px); box-shadow: 0 10px 34px rgba(120, 120, 200, 0.18); }
.adm .btn.disabled { opacity: 0.5; cursor: default; }
.adm .btn.disabled:hover { transform: none; box-shadow: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.adm .glyph {
  font-size: 4.2rem; line-height: 1;
  filter: drop-shadow(0 10px 26px color-mix(in srgb, var(--c1) 55%, transparent));
  animation: hover-float 5s ease-in-out infinite;
}
@keyframes hover-float { 50% { transform: translateY(-9px) rotate(3deg); } }
.adm .pill {
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.22em;
  padding: 0.28rem 0.7rem; border-radius: 99px; white-space: nowrap;
}
.adm .pill.live {
  color: var(--mint); border: 1px solid color-mix(in srgb, var(--mint) 45%, transparent);
  background: color-mix(in srgb, var(--mint) 9%, transparent);
}
.adm .pill.soon {
  color: var(--violet); border: 1px solid color-mix(in srgb, var(--violet) 45%, transparent);
  background: color-mix(in srgb, var(--violet) 9%, transparent);
}
.adm .pill.playtest {
  color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 50%, transparent);
  background: color-mix(in srgb, var(--amber) 10%, transparent);
}
.adm .chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0 0 1.6rem;
}
.adm .play {
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.18em;
  color: var(--c1, var(--mint));
  display: inline-block; transition: transform 0.2s var(--ease);
}
.adm .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.adm .tile {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px;
  padding: 1.8rem 1.6rem;
  transition: transform 0.2s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.adm .tile:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--cyan) 45%, transparent);
  box-shadow: 0 16px 44px rgba(107, 213, 250, 0.1);
}
.adm .tile h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.adm .tile p { color: var(--dim); font-size: 0.93rem; }
.adm .tile em { color: var(--mint); font-style: normal; }
.adm .banner {
  max-width: 1140px; margin: clamp(2rem, 6vh, 4rem) auto;
  padding: clamp(2.6rem, 7vw, 5rem) clamp(1.4rem, 5vw, 4rem);
  text-align: center;
  border: 1px solid transparent; border-radius: 26px;
  background:
    linear-gradient(color-mix(in srgb, var(--bg) 88%, #12122a), color-mix(in srgb, var(--bg) 88%, #12122a)) padding-box,
    var(--grad) border-box;
}
.adm .banner .btn { margin-top: 2.2rem; }
.adm .account-form {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px; margin-top: 18px;
}
.adm .account-form h3 { font-size: 1rem; letter-spacing: 0.04em; }
.adm .account-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--dim); }
.adm .account-form input {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px; color: var(--text); font: inherit;
}
.adm .account-form input:focus { outline: none; border-color: var(--cyan); }
.adm .account-form input:disabled { opacity: 0.6; }
.adm .form-msg { min-height: 1.2em; font-size: 0.85rem; }
.adm .form-msg.ok { color: var(--mint); }
.adm .form-msg.err { color: #fa8f6b; }
.adm .small { font-size: 0.8rem; }
.adm .btn.small { padding: 7px 14px; font-size: 0.75rem; }
.adm .acct-tabs {
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-top: 8px;
}
.adm .acct-tabs a {
  padding: 7px 12px; border-radius: 8px 8px 0 0; color: var(--dim);
  text-decoration: none; font-size: 0.85rem; letter-spacing: 0.03em;
}
.adm .acct-tabs a.active { color: var(--text); background: var(--panel); border: 1px solid var(--line); border-bottom: none; }
.adm .acct-tabs button { margin-left: auto; }
.adm .session-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.adm .session-list li {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px;
}
.adm .session-list li > span:first-child { flex: 1 1 40%; }
.adm .adm-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.adm .adm-tile { padding: 14px; }
.adm .adm-tile h3 { font-size: 1.5rem; color: var(--mint); }
.adm .adm-tile p { font-size: 0.75rem; color: var(--dim); letter-spacing: 0.04em; }
.adm .btn[hidden] { display: none; }
.adm .cta-row.row-left { justify-content: flex-start; margin-top: 2.4rem; }
.adm .form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .adm .form-2col { grid-template-columns: 1fr; } }
.adm .account-form textarea,
.adm .account-form select {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px; color: var(--text); font: inherit;
  width: 100%;
}
.adm .account-form select { color-scheme: dark; }
.adm .account-form select option, .adm .account-form select optgroup { background: #12141c; color: var(--text); }
.adm .account-form textarea { resize: vertical; min-height: 150px; line-height: 1.5; }
.adm .account-form textarea:focus, .adm .account-form select:focus { outline: none; border-color: var(--cyan); }
@media (max-width: 620px) {
  .adm .account-form input, .adm .account-form textarea, .adm .account-form select { font-size: 16px; }
  .adm .account-form button, .adm .account-form .btn { min-height: 48px; }
}
.adm .account-form .req { color: var(--mint); }
.adm .account-form .opt { opacity: 0.6; }
.adm .account-form code { font-family: var(--mono); font-size: 0.85em; }
.adm .account-form a { color: var(--cyan); }
.adm .inbox-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.adm .inbox-item {
  border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px;
  background: var(--panel);
}
.adm .inbox-item.new { border-color: color-mix(in srgb, var(--mint) 45%, transparent); }
.adm .inbox-top { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 0.8rem; color: var(--dim); }
.adm .inbox-item h4 { font-size: 1rem; margin: 8px 0 4px; }
.adm .inbox-body { white-space: pre-wrap; color: var(--dim); font-size: 0.9rem; }
.adm .inbox-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.adm .inbox-pick { width: 16px; height: 16px; margin: 0; accent-color: var(--mint); cursor: pointer; }
.adm .inbox-bulk { align-items: center; margin-top: 14px; }
.adm .inbox-bulk label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.adm .inbox-bulk .btn[disabled] { opacity: 0.4; pointer-events: none; }
.adm .build-row { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--panel); }
.adm .build-row.draft { border-style: dashed; }
.adm .build-top { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-size: 0.85rem; }
.adm .build-meta { margin-top: 6px; overflow-x: auto; white-space: nowrap; }
.adm .build-meta code { font-family: var(--mono); }
.adm .account-form label.bld-check { flex-direction: row; align-items: center; gap: 8px; }
.adm .account-form .bld-check input {
  appearance: auto; width: 16px; height: 16px; padding: 0; flex: none;
  background: none; border: none; accent-color: var(--mint);
}
.adm .bld-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.adm .bld-bar i { display: block; height: 100%; width: 0; background: var(--grad); transition: width 0.2s var(--ease); }
.adm .account-form input[type="file"] { padding: 10px 12px; font-size: 0.85rem; }
.adm .inbox-list[hidden] { display: none; }
.adm .tok-old { margin-top: 12px; }
.adm .tok-old > summary {
  cursor: pointer; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim);
}
.adm .as-find { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.adm .as-find input[type="search"] { flex: 1 1 220px; }
.adm .as-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-top: 10px; padding: 0; }
.adm .as-card { margin: 0; }
.adm .as-open { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 10px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: inherit; font: inherit; cursor: pointer; }
.adm .as-open:hover, .adm .as-open:focus-visible { border-color: var(--accent, #7df9c6); }
.adm .as-thumb { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.adm .as-thumb img { width: 100%; height: 100%; object-fit: cover; }
.adm .as-thumb.big { width: 160px; flex: none; }
.adm .as-none { font-style: normal; font-size: 2rem; opacity: 0.4; }
.adm .as-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.adm .as-tags span { font-size: 0.72rem; padding: 1px 6px; border-radius: 999px; border: 1px solid var(--line); opacity: 0.8; }
.adm .as-vers { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; }
.adm .as-ver { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--panel); }
.adm .as-ver.current { border-color: var(--accent, #7df9c6); }
.adm .as-ver-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.adm .as-ver-info .pill { align-self: flex-start; }
@media (max-width: 560px) { .adm .as-ver { flex-direction: column; } .adm .as-thumb.big { width: 100%; } }
.adm .tm-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.adm .tm-row { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: var(--panel); }
.adm .tm-row.draft { border-style: dashed; opacity: 0.82; }
.adm .tm-head { display: flex; gap: 14px; align-items: flex-start; }
.adm .tm-thumb {
  flex: none; width: 56px; height: 56px; border-radius: 10px; overflow: hidden;
  display: grid; place-items: center; border: 1px solid var(--line);
  background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 24%, transparent), var(--c2));
}
.adm .tm-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.adm .tm-thumb i { font-style: normal; font-size: 1.5rem; line-height: 1; }
.adm .tm-id { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.adm .tm-id strong { font-size: 0.95rem; }
.adm .tm-id .pill { align-self: flex-start; }
.adm .tm-move { flex: none; display: flex; flex-direction: column; gap: 4px; }
.adm .tm-move .btn { padding: 2px 9px; line-height: 1.4; }
.adm .tm-move .btn[disabled] { opacity: 0.3; pointer-events: none; }
.adm .tm-edit { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.adm .tm-edit > summary {
  cursor: pointer; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim);
}
.adm .tm-edit > summary:hover { color: var(--text); }
.adm .tm-edit form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.adm .form-3col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 620px) { .adm .form-3col { grid-template-columns: 1fr; } }
.adm .set-status { display: block; margin-top: 6px; overflow-wrap: anywhere; }
.adm .account-form input[type="color"] {
  padding: 4px; height: 42px; cursor: pointer; background: rgba(255, 255, 255, 0.05);
}
.adm .ui-toast {
  pointer-events: auto;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: start;
  background: color-mix(in srgb, var(--bg) 88%, #fff 4%);
  border: 1px solid var(--line); border-left: 3px solid var(--cyan);
  border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateX(24px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.adm .ui-toast.in { opacity: 1; transform: none; }
.adm .ui-toast.out { opacity: 0; transform: translateX(24px); }
.adm .ui-toast.error { border-left-color: #fa8f6b; }
.adm .ui-toast-text { display: flex; flex-direction: column; gap: 2px; font-size: 0.88rem; min-width: 0; }
.adm .ui-toast-text strong { font-size: 0.9rem; }
.adm .ui-toast-text span { color: var(--dim); overflow-wrap: anywhere; }
.adm .ui-toast-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.adm .ui-toast-x {
  grid-row: 1; grid-column: 2;
  background: none; border: 0; color: var(--dim); font-size: 1.2rem; line-height: 1;
  cursor: pointer; padding: 0 2px; min-width: 28px; min-height: 28px;
}
.adm .ui-toast-x:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { .adm .ui-toast { transition: none; transform: none; } }
.adm .ui-modal {
  background: transparent; border: 0; padding: 0; margin: auto;
  max-width: min(440px, calc(100vw - 28px)); width: 100%;
  color: var(--text);
}
.adm .ui-modal::backdrop { background: rgba(5, 5, 12, 0.7); backdrop-filter: blur(4px); }
.adm .ui-modal-box {
  background: color-mix(in srgb, var(--bg) 92%, #fff 3%);
  border: 1px solid var(--line); border-radius: 16px; padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.adm .ui-modal-box h3 { font-size: 1.05rem; letter-spacing: 0.02em; }
.adm .ui-modal-body { font-size: 0.92rem; color: var(--dim); }
.adm .ui-modal-body p { color: var(--text); }
.adm .ui-modal-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.adm .ui-prompt-label { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; color: var(--dim); }
.adm .ui-prompt-input {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 8px; padding: 10px 12px; color: var(--text); font: inherit; width: 100%;
}
.adm .ui-prompt-input:focus { outline: none; border-color: var(--cyan); }
.adm .inbox-filters { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 10px; }
.adm .inbox-filters .acct-tabs { margin: 0; }
.adm .account-form.inbox-search {
  flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; flex: 1 1 320px;
  background: none; border: 0; padding: 0; margin: 0;
}
.adm .inbox-search select { width: auto; flex: 0 1 180px; }
.adm .inbox-search input[type="search"] { flex: 1 1 180px; min-width: 0; }
.adm .inbox-notes {
  margin-top: 10px; padding: 8px 12px; border-left: 3px solid var(--cyan);
  background: rgba(255, 255, 255, 0.03); border-radius: 0 8px 8px 0;
}
.adm .inbox-notes p { white-space: pre-wrap; font-size: 0.88rem; margin-top: 2px; }
.adm .inbox-build { margin: -2px 0 6px; }
.adm .inbox-log { margin: 6px 0; }
.adm .inbox-log summary { cursor: pointer; }
.adm .inbox-log pre {
  margin: 6px 0 0; padding: 8px 10px; max-height: 24rem; overflow: auto;
  white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.78rem; line-height: 1.35;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line, rgba(255, 255, 255, 0.08)); border-radius: 6px;
}
.adm .inbox-edited { margin-top: 6px; }
.adm .account-form.inbox-edit { gap: 12px; background: none; border: 0; padding: 0; margin: 0; }
.adm .inbox-edit textarea { min-height: 90px; }
.adm .inbox-pager { justify-content: center; align-items: center; margin-top: 16px; }
.adm .btn.danger { color: #fa8f6b; border-color: color-mix(in srgb, #fa8f6b 45%, transparent); }
.adm .eng-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 18px; margin: 4px 0 12px; }
.adm .eng-facts dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--dim); }
.adm .eng-facts dd { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.adm .eng-facts code { font-family: var(--mono); }
.adm .eng-facts dd .dim { font-size: 0.8rem; }
.adm .eng-actions .btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.adm .eng-notes { padding: 6px 0 0 18px; display: flex; flex-direction: column; gap: 3px; }
.adm .pill.danger { color: #fa8f6b; border-color: color-mix(in srgb, #fa8f6b 45%, transparent); background: color-mix(in srgb, #fa8f6b 10%, transparent); }
.adm .dep-games { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.adm .dep-game {
  display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
}
.adm .dep-title { display: flex; gap: 8px; align-items: center; min-width: 190px; }
.adm .dep-title a { color: var(--text); }
.adm .dep-update { margin-left: auto; }
.adm .dep-update[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.adm .dep-commits { list-style: none; padding: 6px 0 0; display: flex; flex-direction: column; gap: 2px; font-family: var(--mono); }
.adm .dep-pre {
  max-height: 360px; overflow: auto; margin-top: 8px; padding: 10px 12px; border-radius: 8px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line);
  font-family: var(--mono); font-size: 0.72rem; line-height: 1.45; white-space: pre-wrap; word-break: break-all;
}
.adm .dep-shot { margin: 0; }
.adm .dep-shot img { display: block; max-width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.adm .sat-row, .adm .sat-job {
  display: flex; flex-direction: column; gap: 4px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
}
.adm .sat-job.open { border-color: color-mix(in srgb, var(--cyan) 45%, transparent); }
.adm .sat-row .inbox-actions, .adm .sat-job .inbox-actions { margin-top: 4px; }
.adm .sat-row code, .adm .sat-job code { font-family: var(--mono); font-size: 0.8rem; }
.adm .sat-log { max-height: 420px; }
.adm .sat-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px 14px; align-items: start; }
.adm .sat-form .sat-wide { grid-column: 1 / -1; }
.adm .sat-form textarea { min-height: 60px; }
.adm .sat-targets { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 10px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.adm .sat-targets legend { font-size: 0.85rem; color: var(--dim); padding: 0 6px; }
.adm .sat-form:not(.show-more) .sat-more { display: none; }
.adm .prof {
  --pf-engine-render: #3d8bfd; --pf-engine-physics: #6bd5fa; --pf-engine-ui: #9cc8ff; --pf-engine-scripting: #2a5fb8;
  --pf-engine-audio: #b8ecff; --pf-engine-other: #5a7fae;
  --pf-game-scripts: #c26bfa;
  --pf-gc: #d8cfb8; --pf-browser-gpu: #8f93ad; --pf-browser-other: #62657d; --pf-idle: #34364a;
  --pf-bad: #fa8f6b;
}
.adm .prof .account-form { min-width: 0; }
.adm .prof h4 { font-size: 0.9rem; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.adm .prof [hidden] { display: none !important; }
.adm .prof-break { overflow-wrap: anywhere; word-break: break-word; }
.adm .prof-warn { color: var(--amber); }
.adm .prof-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); opacity: 0.5; flex: none; }
.adm .prof-dot.on { background: var(--mint); opacity: 1; box-shadow: 0 0 8px color-mix(in srgb, var(--mint) 60%, transparent); }
.adm .prof-sat .prof-pick { color: var(--text); flex-wrap: wrap; }
.adm .prof-sat.prof-off { opacity: 0.6; }
.adm .prof-sats .small { overflow-wrap: anywhere; }
.adm .prof-subject {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px 12px; min-width: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 14px;
}
.adm .prof-subject legend { font-size: 0.85rem; color: var(--dim); padding: 0 6px; }
.adm .prof-subject .prof-span { grid-column: span 2; }
@media (max-width: 620px) { .adm .prof-subject .prof-span { grid-column: auto; } }
.adm .prof-form input, .adm .prof-form select { min-width: 0; width: 100%; }
.adm .account-form label.prof-inline { flex-direction: row; align-items: center; gap: 6px; }
.adm .account-form .prof-inline input { width: 5.5em; padding: 6px 8px; }
.adm .account-form .prof-inline select { width: auto; padding: 6px 8px; }
.adm .prof-dim { opacity: 0.45; }
.adm .prof-newinv { border: 1px dashed color-mix(in srgb, var(--mint) 45%, transparent); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; }
.adm .prof-code { font-size: 1rem !important; letter-spacing: 0.12em; color: var(--mint); }
.adm .prof-sweeps .prof-open, .adm .prof-sweeps .dep-game.prof-open { border-color: color-mix(in srgb, var(--cyan) 45%, transparent); }
.adm .prof-states { display: flex; flex-wrap: wrap; gap: 4px; }
.adm .prof-subjects, .adm .prof-jobstates, .adm .prof-findings, .adm .prof-legend, .adm .prof-lfs, .adm .prof-atts { list-style: none; padding: 0; margin: 0; }
.adm .prof-subjects li { overflow-wrap: anywhere; }
.adm .prof-jobstates { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.adm .prof-verdict {
  border-left: 3px solid var(--cyan); background: color-mix(in srgb, var(--cyan) 6%, transparent);
  border-radius: 0 10px 10px 0; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; line-height: 1.45;
}
.adm .prof-verdict p { margin: 0; }
.adm .prof-owner { display: flex; flex-direction: column; gap: 8px; }
.adm .prof-owner h4 { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.72rem; color: var(--dim); }
.adm .prof-findings { display: flex; flex-direction: column; gap: 8px; }
.adm .prof-finding {
  display: flex; flex-direction: column; gap: 4px; padding: 10px 12px;
  border: 1px solid var(--line); border-left-width: 3px; border-radius: 10px;
}
.adm .prof-finding .dep-title { min-width: 0; flex-wrap: wrap; }
.adm .prof-action strong { color: var(--mint); }
.adm .prof-scroll { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; }
.adm .prof-table { border-collapse: collapse; width: 100%; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.adm .prof-table th, .adm .prof-table td { padding: 6px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid var(--line); }
.adm .prof-table th { color: var(--dim); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; }
.adm .prof-table th:first-child, .adm .prof-table td:first-child, .adm .prof-table td.prof-scene-name, .adm .prof-table th:nth-child(2) { text-align: left; }
.adm .prof-hot .prof-table td:nth-child(2) { white-space: normal; overflow-wrap: anywhere; min-width: 11em; }
.adm .prof-hot .prof-table td:nth-child(-n+3), .adm .prof-hot .prof-table th:nth-child(-n+3) { text-align: left; }
.adm .prof-table tbody tr:last-child td { border-bottom: 0; }
.adm .prof-table code { font-family: var(--mono); font-size: 0.76rem; }
.adm .prof-table tr.prof-sel td { background: color-mix(in srgb, var(--cyan) 8%, transparent); }
.adm .prof-spread { font-size: 0.7rem; margin-left: 3px; }
.adm .prof-setbtn { background: none; border: 0; padding: 0; color: var(--cyan); font: inherit; cursor: pointer; text-align: left; text-decoration: underline dotted; }
.adm .prof-sel .prof-setbtn { color: var(--text); text-decoration: none; font-weight: 600; }
.adm .prof-detail { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.adm .prof-detail.prof-loading { opacity: 0.5; }
.adm .prof-facts { margin: 0; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.adm .prof-facts dd { min-width: 0; overflow-wrap: anywhere; }
.adm .prof-scene { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; min-width: 0; }
.adm .prof-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
.adm .prof-stat { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; background: rgba(255, 255, 255, 0.03); border-radius: 8px; }
.adm .prof-stat strong { font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.adm .prof-charts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .adm .prof-charts { grid-template-columns: minmax(0, 1fr); } }
.adm .prof-hist { margin: 0; }
.adm .prof-hist svg { width: 100%; height: auto; display: block; }
.adm .prof-svgval { fill: var(--text); font-size: 9px; font-family: var(--mono); }
.adm .prof-svglabel { fill: var(--dim); font-size: 9px; font-family: var(--mono); }
.adm .prof-svgaxis { stroke: var(--line); stroke-width: 1; }
.adm .prof-split { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.adm .prof-split p { margin: 0; }
.adm .prof-stack { width: 100%; display: block; border-radius: 4px; overflow: hidden; background: rgba(255, 255, 255, 0.04); }
.adm .prof-shares { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.adm .prof-shares i, .adm .prof-legend i, .adm .prof-sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.adm .prof-legend { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 3px 14px; }
.adm .prof-legend code { font-family: var(--mono); }
.adm .prof-hot summary, .adm .prof-scene details summary { cursor: pointer; }
.adm .prof-hot .prof-inline { margin: 8px 0; }
.adm .prof-lfs { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.adm .prof-lfs > li { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.adm .prof-lfs .dep-title { min-width: 0; flex-wrap: wrap; }
.adm .prof-stacks { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 2px; }
.adm .prof-stacks code { font-family: var(--mono); font-size: 0.72rem; overflow-wrap: anywhere; }
.adm .prof-atts { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.adm .prof-atts li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; overflow-wrap: anywhere; }
.adm .prof-worse { color: var(--pf-bad); }
.adm .prof-better { color: var(--mint); }
.adm .perf-views { margin: 6px 0 0; }
.adm .perf-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.adm .perf-filters input, .adm .perf-filters select {
  flex: 1 1 140px; min-width: 0; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; color: var(--text); font: inherit; font-size: 0.85rem;
}
.adm .perf-filters .btn { flex: none; }
.adm .perf-levels { margin: 10px 0 4px; }
.adm .perf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 14px; }
.adm .perf-row > span { grid-column: 1; }
.adm .perf-row > .dep-update { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; }
.adm .perf-row .dep-title { min-width: 0; flex-wrap: wrap; }
.adm .perf-nums { font-variant-numeric: tabular-nums; }
.adm .perf-row > span { overflow-wrap: anywhere; }
.adm .perf-detail { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.adm .perf-detail h3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; overflow-wrap: anywhere; }
.adm .perf-detail > h4 { margin: 4px 0 0; }
.adm .perf-reasons { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.adm .perf-crash { display: flex; flex-direction: column; gap: 4px; }
.adm .perf-trace { margin: 0; min-width: 0; }
.adm .perf-trace svg { width: 100%; height: auto; display: block; background: rgba(255, 255, 255, 0.02); border-radius: 8px; }
.adm .perf-line { fill: none; stroke: var(--cyan); stroke-width: 1.2; stroke-linejoin: round; }
.adm .perf-target { stroke: var(--mint); stroke-width: 1; stroke-dasharray: 4 3; }
.adm .perf-hitch { stroke: var(--pf-bad); stroke-width: 1; stroke-dasharray: 2 3; }
.adm .perf-peak { stroke: var(--line); stroke-width: 1; }
.adm .perf-gc { fill: var(--amber); stroke: var(--bg); stroke-width: 1; }
.adm .perf-mark { stroke: var(--violet); stroke-width: 1; stroke-dasharray: 3 3; }
.adm .perf-key { white-space: normal !important; overflow-wrap: anywhere; min-width: 8em; text-align: left !important; }
.adm .perf-bounds th, .adm .perf-bounds td { white-space: normal; text-align: left; vertical-align: top; }
.adm .perf-bounds .perf-key { min-width: 16em; }
.adm .perf-bounds td:last-child { white-space: nowrap; text-align: right; }
.adm .perf-bounds-form { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.adm .perf-bounds-form [data-perf-bounds-msg]:empty { display: none; }
.adm .perf-json, .adm .perf-json-input { font-family: var(--mono); font-size: 0.76rem; }
.adm pre.perf-json {
  margin: 0; max-height: 420px; overflow: auto; padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; background: rgba(255, 255, 255, 0.03); white-space: pre-wrap; overflow-wrap: anywhere;
}
.adm .perf-raw summary { cursor: pointer; }
.adm .pill.alpha {
  color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 50%, transparent);
  background: color-mix(in srgb, var(--amber) 10%, transparent);
}
@keyframes dgbe-spin { to { transform: rotate(360deg); } }
.adm .as-kind { display: flex; gap: 6px; margin-bottom: 10px; }
.adm .as2-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 12px; }
.adm .as2-pack { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; display: grid; gap: 8px; }
.adm .as2-head { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.adm .as2-anims { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.adm .as2-anims li { display: grid; gap: 3px; min-width: 0; }
.adm .as2-anims img {
  display: block; width: 100%; height: 48px; object-fit: cover; object-position: left top; border-radius: 6px;
  background: #2a2f3a; image-rendering: pixelated;
}
/* ── from site/alpha.css ── */

.adm .pill, .adm .btn { font-family: var(--ui); }
.adm header nav a.active {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 45, 149, 0.28), rgba(255, 45, 149, 0.08));
  box-shadow: inset 0 0 0 1px rgba(255, 45, 149, 0.55), 0 0 18px rgba(255, 45, 149, 0.35);
}
.adm .btn { font-weight: 700; letter-spacing: 0.08em; border-radius: 8px; text-transform: uppercase; }
.adm .btn.primary {
  background: linear-gradient(180deg, #ff3fa0, #e0157c); color: #fff; border-color: transparent;
  box-shadow: 0 0 22px rgba(255, 45, 149, 0.45);
}
.adm .btn.primary:hover { box-shadow: 0 0 32px rgba(255, 45, 149, 0.7); }
.adm .btn.ghost { border-color: rgba(190, 140, 255, 0.4); background: rgba(30, 16, 56, 0.55); }
.adm .btn.ghost:hover { border-color: var(--hot); }
.adm .pill.live { background: rgba(255, 45, 149, 0.16); color: var(--hot2); border-color: rgba(255, 45, 149, 0.5); }
