.set-modal { background: rgba(15, 23, 42, 0.4); touch-action: pan-y; }
.set-card {
  width: 100%; max-width: 100%; height: 100dvh; max-height: 100%;
  margin: 0; border-radius: 0; border: 0;
  color: #0f172a;
  background: linear-gradient(180deg, #f1f5f9 0%, #ffffff 40%, #ffffff 100%);
  padding: max(12px, env(safe-area-inset-top, 0px)) 18px calc(22px + env(safe-area-inset-bottom, 0px));
  overflow: auto;
}
.set-card .mod-x { background: #f1f5f9; color: #0f172a; border: 0; }
.set-card h2 { margin: 0; }
.set-hero { margin: 8px 0 16px; color: #475569; font-size: 0.92rem; }
.set-box {
  background: #fff; border-radius: 20px; padding: 16px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.06); margin-bottom: 14px;
}
.set-box h3 { margin: 0 0 8px; font-size: 1.05rem; }
.tg-user { display: flex; align-items: center; gap: 8px; font-weight: 800; color: #0f172a; }
.tg-user a { color: #0284c7; text-decoration: none; font-weight: 700; font-size: 0.88rem; }
.code-pill {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: #0f172a; color: #fff; border-radius: 14px; padding: 12px 14px; margin: 10px 0;
  font-family: ui-monospace, Menlo, monospace; font-size: 1.25rem; letter-spacing: 0.12em;
}
.status-ok { color: #15803d; font-weight: 800; }
.status-off { color: #64748b; font-weight: 700; }
.set-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.set-actions button, .set-box .pink-btn, .set-box .ghost-btn {
  border: 0; border-radius: 14px; padding: 10px 14px; font-weight: 700; cursor: pointer; font: inherit;
}
.set-actions .pink-btn, .set-box .pink-btn { background: linear-gradient(180deg, #38bdf8, #0284c7); color: #fff; }
.set-actions .ghost-btn, .set-box .ghost-btn { background: #f1f5f9; color: #0f172a; }
.rem-row { display: flex; align-items: flex-start; gap: 8px; padding: 10px 0; border-top: 1px solid #e2e8f0; }
.rem-row b { display: block; }
.rem-row small { color: #64748b; }
.rem-row button { margin-left: auto; border: 0; background: #fee2e2; color: #991b1b; border-radius: 10px; padding: 6px 10px; font-weight: 700; cursor: pointer; }
