/* status.cry.best — only what cry.best's styles.css + dashboard.css don't already cover */
[hidden] { display: none !important; }
.st-tag { margin-left: 8px; 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); letter-spacing: 0; vertical-align: middle; }

/* layout */
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 28px; align-items: start; padding: 26px 0 40px; }
.st-form.d-form { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.st-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.st-side { position: sticky; top: 96px; display: grid; gap: 14px; }
.st-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 14px 4px 0; }
.st-h h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -.6px; }
.st-h span { color: var(--zinc-500); font-size: 13px; font-weight: 500; }
.st-lblrow { display: flex; justify-content: space-between; align-items: baseline; }
.st-lblrow .d-count { margin: 0; }

/* segmented picker */
.st-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.st-seg button { flex: 1; min-width: 96px; border: 0; background: none; color: var(--zinc-400); font: 600 14px var(--font); padding: 9px 12px; border-radius: 12px; cursor: pointer; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.st-seg button:hover { color: #fff; }
.st-seg button.on { color: #0c0d0d; background: linear-gradient(180deg, #f1f5fb, #c9d8ec); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 18px rgba(166, 196, 236, .18); }

/* buttons editor */
.st-btnrow { display: grid; grid-template-columns: .8fr 1.2fr 46px; gap: 8px; }
.st-btnrow .d-x { height: 46px; font-size: 15px; }
.st-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.d-status.ok { color: var(--ok); }
.d-status.bad { color: #f2a3ab; }

/* card list */
.st-cards { display: flex; flex-wrap: wrap; gap: 8px; }
.st-chip { display: inline-flex; align-items: center; gap: 9px; max-width: 220px; height: 44px; padding: 0 16px 0 8px; border: 0; border-radius: 999px; background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--zinc-200); font: 600 14px var(--font); cursor: pointer; transition: box-shadow .25s ease, background .25s ease, transform .2s ease; }
.st-chip:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transform: translateY(-1px); }
.st-chip.on { 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, .45); color: #fff; }
.st-chip img, .st-chip .st-ph { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; background: var(--bg-3); flex: none; }
.st-chip .st-nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-chip .d-dot { margin-left: 2px; }
.st-chip.add { padding: 0 18px; color: var(--zinc-400); background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); border: 1px dashed transparent; }
.st-chip.add:hover { color: #fff; }

/* picture drop zone */
.st-drop { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; background: var(--bg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); cursor: pointer; outline: none; transition: box-shadow .25s ease, background .25s ease; }
.st-drop::before { content: ""; position: absolute; inset: 5px; border-radius: 12px; border: 1.5px dashed rgba(166, 196, 236, .18); pointer-events: none; transition: border-color .25s ease; }
.st-drop:hover::before, .st-drop:focus-visible::before { border-color: rgba(166, 196, 236, .45); }
.st-drop.over { background: rgba(166, 196, 236, .07); box-shadow: inset 0 0 0 1px rgba(166, 196, 236, .55), 0 0 0 4px rgba(166, 196, 236, .08); }
.st-drop.over::before { border-color: var(--accent); }
.st-drop.busy { pointer-events: none; }
.st-drop.busy .st-thumb::after { content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .15); border-top-color: var(--accent); animation: stspin .8s linear infinite; }
@keyframes stspin { to { transform: rotate(360deg); } }
.st-thumb { position: relative; z-index: 1; width: 54px; height: 54px; flex: none; border-radius: 12px; background: var(--bg-3) center/cover no-repeat; display: grid; place-items: center; }
.st-thumb:not(.has)::before { content: ""; width: 22px; height: 22px; background: var(--zinc-500); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m0 0-4 4m4-4 4 4M4 16v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%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' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V4m0 0-4 4m4-4 4 4M4 16v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3C/svg%3E") center/contain no-repeat; }
.st-drop-txt { position: relative; z-index: 1; min-width: 0; display: grid; gap: 2px; }
.st-drop-txt b { font-size: 14px; color: var(--zinc-200); }
.st-drop-txt span { font-size: 12.5px; color: var(--zinc-500); }
.st-drop-txt u { color: var(--accent); text-decoration: none; }
.st-clear { position: relative; z-index: 1; margin-left: auto; width: 34px; height: 34px; flex: none; }

/* live card */
.st-live { padding: 20px 22px; border-radius: 26px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.st-live b { display: flex; align-items: center; gap: 9px; font-size: 16px; letter-spacing: -.3px; }
.st-live span { display: block; margin-top: 3px; color: var(--zinc-500); font-size: 13.5px; font-weight: 500; }
.st-acct { padding: 20px 22px; border-radius: 26px; }
.st-acct h4 { margin: 0 0 4px; font-size: 16px; }
.st-acct p { margin: 0 0 14px; color: var(--zinc-500); font-size: 13.5px; }
.st-acct .st-actions { margin: 0; }
.d-btn.danger { background: rgba(242, 163, 171, .06); box-shadow: inset 0 0 0 1px rgba(242, 163, 171, .3); color: #f6c6cb; }
.st-cap { display: flex; justify-content: space-between; color: var(--zinc-500); font-size: 12.5px; font-weight: 500; margin: 4px 6px -4px; }

/* discord profile preview */
.pv { border-radius: 26px; overflow: hidden; background: #111214; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px rgba(0, 0, 0, .35); font-family: "Noto Sans", var(--font); }
.pv-banner { height: 74px; background: radial-gradient(120% 140% at 20% 0%, rgba(166, 196, 236, .55), rgba(86, 112, 143, .25) 45%, #1a1d22 80%); }
.pv-head { padding: 0 18px; margin-top: -38px; }
.pv-av { width: 76px; height: 76px; border-radius: 50%; border: 6px solid #111214; background: #2b2d31 url("https://cry.best/img/logo.png") center/cover; position: relative; }
.pv-av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 18px; height: 18px; border-radius: 50%; background: #23a55a; border: 5px solid #111214; }
.pv-who { padding: 6px 18px 0; }
.pv-who b { display: block; font-size: 19px; line-height: 1.25; color: #f2f3f5; }
.pv-who span { font-size: 13.5px; color: #b5bac1; }
.pv-act { margin: 14px 12px 14px; padding: 12px; border-radius: 12px; background: #1e1f22; }
.pv-kind { font-size: 12px; font-weight: 700; color: #b5bac1; margin-bottom: 9px; }
.pv-body { display: flex; gap: 12px; align-items: center; }
.pv-pics { position: relative; flex: none; width: 70px; height: 70px; }
.pv-big { width: 70px; height: 70px; border-radius: 10px; background: #2b2d31 center/cover no-repeat; display: grid; place-items: center; color: #6d6f78; }
.pv-big svg { width: 28px; height: 28px; }
.pv-small { position: absolute; right: -6px; bottom: -6px; width: 26px; height: 26px; border-radius: 50%; background: #2b2d31 center/cover no-repeat; border: 3px solid #1e1f22; }
.pv-txt { min-width: 0; font-size: 13px; line-height: 1.4; }
.pv-txt div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #dbdee1; }
.pv-txt .pv-title { font-weight: 700; font-size: 14px; color: #f2f3f5; }
.pv-txt .pv-time { color: #23a55a; font-weight: 600; font-variant-numeric: tabular-nums; }
.pv-bts { display: grid; gap: 8px; margin-top: 12px; }
.pv-bts a { display: block; padding: 7px; border-radius: 8px; background: #4e5058; color: #fff; text-align: center; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .2s; }
.pv-bts a:hover { background: #6d6f78; }

/* doc pages */
.st-doc .prose h2 { scroll-margin-top: 96px; }
.st-doc .lede { color: var(--zinc-400); font-size: 17px; font-weight: 500; margin-top: -4px; }
.st-doc .callout { 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); }

@media (max-width: 1060px) {
  .st-grid { grid-template-columns: 1fr; }
  .st-side { position: static; grid-row: 1; }
}
@media (max-width: 640px) {
  .st-two { grid-template-columns: 1fr; }
  .st-btnrow { grid-template-columns: 1fr 1fr 46px; }
  .st-seg button { min-width: calc(50% - 4px); }
  .d-hero h1 { font-size: 40px; }
}
