.security-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e8f3ec;
  border-radius: 7px;
  background: #f8fcf9;
}

.security-summary small {
  display: block;
  margin-top: 4px;
  color: #91a29a;
  font-size: 10px;
}

.notification-placeholder-note {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed #d8e7f6;
  border-radius: 6px;
  color: #7890a8;
  background: #f7fbff;
  font-size: 10px;
  line-height: 1.7;
}

.notification-placeholder-note code {
  color: #397fc3;
}

.close-notice-summary {
  margin-bottom: 4px;
  padding: 13px 12px !important;
  border: 1px solid #d8eaff !important;
  border-radius: 7px;
  background: #f3f8ff;
}

.notification-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 2px 0;
  color: #61758c;
  font-size: 10px;
}

.notification-section-label small {
  color: #9aa8b7;
  font-size: 9px;
}

.draw-insight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .9fr);
  gap: 16px;
  margin-bottom: 16px;
}

.draw-result-panel,
.winning-panel,
.trend-panel {
  padding: 18px;
}

.result-balls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.result-number {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #388ee8, #246ec7);
  font-size: 28px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(47, 128, 237, .2);
}

.result-balls b,
.result-balls small {
  display: block;
}

.result-balls b {
  color: #40566e;
  font-size: 16px;
}

.result-balls small {
  margin-top: 6px;
  color: #9aa8b7;
  font-size: 10px;
}

.result-meta,
.winning-total {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #edf0f4;
  color: #98a5b2;
  font-size: 10px;
}

.result-meta b,
.winning-total b {
  color: #59718d;
}

.result-count {
  color: #3cae77;
  font-size: 11px;
}

.winning-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f3f6;
  color: #8290a0;
  font-size: 10px;
}

.winning-row > div {
  flex: 1;
}

.winning-row b,
.winning-row small {
  display: block;
}

.winning-row b {
  color: #536579;
}

.winning-row small {
  margin-top: 3px;
  color: #a1acb7;
}

.winning-row strong {
  min-width: 70px;
  text-align: right;
}

.winning-total {
  margin-top: 6px;
}

.trend-panel {
  margin-bottom: 16px;
}

.trend-legend {
  color: #98a5b2;
  font-size: 10px;
}

.trend-legend i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 3px 0 8px;
  border-radius: 50%;
}

.red-dot { background: #ef6670; }
.green-dot { background: #4dbb80; }
.purple-dot { background: #9b76df; }

.trend-grid {
  display: grid;
  grid-template-columns: repeat(20, minmax(34px, 1fr));
  gap: 5px;
  align-items: end;
  overflow-x: auto;
  padding-top: 18px;
}

.trend-column {
  display: grid;
  min-width: 34px;
  gap: 5px;
  justify-items: center;
  color: #9ca9b6;
  font-size: 8px;
  text-align: center;
}

.trend-number {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #f1f5f9;
  font-size: 10px;
}

@media (max-width: 900px) {
  .draw-insight-grid { grid-template-columns: 1fr; }
  .trend-grid { grid-template-columns: repeat(20, 42px); }
}

/* SG Airship 30-issue history. Ball colors are only visual rank markers;
   there is no color betting rule in this game profile. */
.sg-history-panel {
  margin-bottom: 16px;
  overflow: hidden;
}

.sg-draw-scroll {
  max-height: 720px;
  overflow: auto;
}

.sg-draw-table {
  min-width: 1180px;
  border-collapse: separate;
  border-spacing: 0;
}

.sg-draw-table th,
.sg-draw-table td {
  padding: 9px 10px;
  border-right: 1px solid #e3e8ef;
  border-bottom: 1px solid #e3e8ef;
  text-align: center;
  white-space: nowrap;
}

.sg-draw-table thead th {
  color: #526174;
  background: #f1f3f6;
  font-size: 11px;
  font-weight: 700;
}

.sg-draw-table tbody tr:nth-child(even) td {
  background: #f8f9fb;
}

.sg-draw-time {
  color: #59697a;
  font-variant-numeric: tabular-nums;
}

.sg-result-balls {
  display: grid;
  grid-template-columns: repeat(10, 31px);
  gap: 4px;
  justify-content: center;
}

.sg-number-ball {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12);
}

.sg-number-1 { background: #e0d500; }
.sg-number-2 { background: #109bd5; }
.sg-number-3 { background: #4b4e53; }
.sg-number-4 { background: #f27a12; }
.sg-number-5 { background: #27c8cf; }
.sg-number-6 { background: #543ee8; }
.sg-number-7 { background: #b7b9bc; }
.sg-number-8 { background: #ef2d16; }
.sg-number-9 { background: #7d160d; }
.sg-number-10 { background: #13a72a; }

/* 首页开奖摘要使用后台表格的紧凑密度，完整内容必须留在卡片内。 */
.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(470px, 1fr);
}

.recent-panel .mini-draw-list {
  display: grid;
  gap: 0;
}

.recent-panel .mini-draw-row {
  min-width: 0;
  min-height: 0;
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f5;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 6px;
  align-items: center;
}

.recent-panel .mini-draw-row:last-child { border-bottom: 0; }
.recent-panel .mini-draw-issue { color: #7f8c9d; font-size: 10px; font-variant-numeric: tabular-nums; }
.recent-panel .sg-result-balls {
  min-width: 0;
  grid-template-columns: repeat(10, 23px);
  gap: 3px;
  justify-content: start;
}
.recent-panel .sg-number-ball {
  width: 23px;
  height: 23px;
  border-radius: 4px;
  font-size: 10px;
}
.recent-panel .mini-draw-details {
  grid-column: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 9px;
  color: #8a95a2;
  font-size: 9px;
  white-space: nowrap;
}
.recent-panel .mini-draw-details b { font-weight: 800; }
.recent-panel .mini-draw-details .is-red { color: #ef3d3d; }
.recent-panel .mini-draw-details .is-blue { color: #2566ca; }
.recent-panel .recent-footer strong { color: #667587; font-size: 9px; font-weight: 600; }

.sg-sum-value {
  color: #4f5b68;
  font-size: 15px;
  font-weight: 700;
}

.sg-outcome {
  font-size: 15px;
  font-weight: 800;
}

.sg-outcome.is-red { color: #ef3d3d; }
.sg-outcome.is-blue { color: #2566ca; }

.sg-rule-grid {
  grid-template-columns: repeat(4, minmax(100px, 1fr));
}

@media (max-width: 720px) {
  .sg-rule-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .recent-panel .mini-draw-row { grid-template-columns: 1fr; }
  .recent-panel .mini-draw-details { grid-column: 1; }
  .recent-panel .sg-result-balls { grid-template-columns: repeat(10, minmax(18px, 1fr)); }
  .recent-panel .sg-number-ball { width: 100%; max-width: 23px; }
}
.transfer-config-panel { margin-bottom: 20px; }
.transfer-config-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: end; margin: 18px 0; }
.transfer-config-grid > label { display: grid; gap: 8px; color: #68778c; font-size: 13px; }
.transfer-config-grid input, .transfer-config-grid select { min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid #dce4ef; border-radius: 8px; background: #fff; color: #26364a; }
.transfer-config-grid > label > small { line-height: 1.6; font-size: 12px; }
.transfer-config-grid .setting-row { min-height: 44px; padding: 0; border: 0; }
.transfer-settings-note { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 12px; border-top: 1px solid #edf1f6; color: #68778c; font-size: 12px; line-height: 1.7; }
.transfer-provider-grid { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 16px; margin: 18px 0; }
.transfer-provider-grid > label { display: grid; gap: 8px; color: #68778c; font-size: 13px; }
.transfer-provider-summary > div { display: grid; gap: 8px; min-width: 0; color: #68778c; font-size: 13px; }
.transfer-provider-summary strong { display: flex; align-items: center; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid #dce4ef; border-radius: 8px; background: #f7f9fc; color: #26364a; font-size: 14px; font-weight: 500; line-height: 1.5; overflow-wrap: anywhere; }
[data-transfer-provider-panel] { overflow-anchor: none; }
.transfer-provider-grid input { min-height: 44px; padding: 0 12px; border: 1px solid #dce4ef; border-radius: 8px; background: #fff; color: #26364a; }
.transfer-provider-actions { justify-content: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.transfer-provider-actions .btn { min-height: 36px; padding: 0 12px; font-size: 12px; }
.transfer-provider-actions .btn-primary { color: #fff; background: var(--blue); }
.transfer-provider-actions .btn-primary:hover { color: #fff; background: var(--blue-2); text-decoration: none; }
.transfer-summary { margin: 20px 0; }
.compact-summary { margin: 18px 0 0; }
.compact-summary > div { min-width: 130px; }
.transfer-sources summary { cursor: pointer; color: #2f80ed; white-space: nowrap; }
.transfer-sources small { display: block; margin-top: 8px; color: #68778c; line-height: 1.45; white-space: nowrap; }
@media (max-width: 1200px) { .transfer-config-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); } }
@media (max-width: 720px) { .transfer-config-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .transfer-provider-grid { grid-template-columns: 1fr; } }
