* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: #f4f5f7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-img { height: 34px; width: auto; object-fit: contain; display: block; }
.domain-link { margin-left: auto; font-size: 12px; color: #2d2d2d; opacity: .65; text-decoration: none; }
.domain-link:hover { opacity: 1; text-decoration: underline; }

main { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 36px 20px; }

.card { background: #fff; border-radius: 16px; width: 100%; max-width: 580px; overflow: hidden; box-shadow: 0 6px 32px rgba(0,0,0,0.12); }

.card-head {
  background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
  color: #fff; padding: 24px 28px; display: flex; align-items: center; gap: 16px;
}
.head-icon { width: 50px; height: 50px; background: rgba(245,166,35,0.15); border: 2px solid #F5A623; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.card-head h1 { font-size: 18px; font-weight: 800; }
.card-head .org { font-size: 12px; color: #F5A623; font-weight: 700; margin-top: 3px; }

.status-bar { display: flex; align-items: center; gap: 12px; padding: 14px 20px; font-weight: 700; border-bottom: 1px solid; }
.status-bar.valid   { background: #e8f5e9; color: #1c9c62; border-color: #a5d6a7; }
.status-bar.invalid { background: #fdecec; color: #d64545; border-color: #f3b8b8; }
.status-bar.expired { background: #fdf3e3; color: #d99a2b; border-color: #f3d9a8; }
.status-bar.loading { background: #fff8e8; color: #b9791a; border-color: #F5A623; }
.sdot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.valid   .sdot { background: #1c9c62; }
.invalid .sdot { background: #d64545; }
.expired .sdot { background: #d99a2b; }
.loading .sdot { background: #F5A623; animation: pulse 1s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.smain { font-size: 15px; }
.ssub  { font-size: 12px; font-weight: 500; opacity: .75; margin-top: 1px; }

.warn-box { margin: 14px 24px 0; background: #fdf3e3; border: 1.5px solid #F5A623; border-radius: 10px; padding: 12px 16px; font-size: 13px; color: #5d4037; line-height: 1.6; display: none; }
.warn-box.show { display: block; }

.info-block { padding: 8px 24px 20px; }
.info-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 0; border-bottom: 1px solid #f4f4f4; font-size: 14px; }
.info-row:last-child { border-bottom: none; }
.info-label { color: #8a8f98; flex-shrink: 0; font-size: 13px; }
.info-value { font-weight: 600; color: #2d2d2d; text-align: right; word-break: break-word; }
.info-value.amber { color: #b9791a; }

.card-foot { background: #f8f8f8; border-top: 1px solid #ececec; padding: 14px 24px; text-align: center; font-size: 12px; color: #8a8f98; line-height: 1.6; }
.card-foot strong { color: #555; }

.contact-box {
  border-top: 1px solid #ececec;
  padding: 14px 24px;
  text-align: center;
  font-size: 12.5px;
  color: #666;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-box a { color: #b9791a; font-weight: 600; text-decoration: none; }
.contact-box a:hover { text-decoration: underline; }

footer { text-align: center; padding: 20px; font-size: 12px; color: #8a8f98; }
footer b { color: #b9791a; }

@media (max-width:480px) {
  .card-head, .info-block, .card-foot, .contact-box { padding-left: 16px; padding-right: 16px; }
  .warn-box { margin-left: 16px; margin-right: 16px; }
  .info-row { flex-direction: column; gap: 2px; }
  .info-value { text-align: left; }
}
