/* SportIQ WordPress Bridge Widget Styles v1.0.0 */
.sq-wp-widget-root {
  box-sizing: border-box;
  width: 100%;
  max-width: 560px;
  margin: 16px auto;
  border-radius: 16px;
  padding: 15px 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.48;
  position: relative;
}
.sq-wp-widget-root *, .sq-wp-widget-root *::before, .sq-wp-widget-root *::after {
  box-sizing: border-box;
}
.sq-wp-theme-dark {
  background: linear-gradient(155deg, #0f172a 0%, #020617 100%);
  border: 1px solid #1e293b;
  color: #f8fafc;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.32);
}
.sq-wp-theme-light {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
}
.sq-wp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.sq-wp-title-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.sq-wp-title {
  font-size: 14.5px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sq-wp-lounge-link {
  flex: 0 0 auto;
  font-size: 11.5px;
  font-weight: 800;
  color: #34d399 !important;
  text-decoration: none !important;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
}
.sq-wp-theme-light .sq-wp-lounge-link {
  color: #047857 !important;
  background: rgba(16, 185, 129, 0.1);
}
.sq-wp-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.sq-wp-input {
  flex: 1 1 120px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid #334155;
  background: rgba(2, 6, 23, 0.8);
  color: #f8fafc;
  font-size: 13px;
}
.sq-wp-theme-light .sq-wp-input {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
.sq-wp-btn {
  border: none;
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  color: #022c22;
  background: linear-gradient(135deg, #34d399, #10b981);
  white-space: nowrap;
  transition: opacity 0.15s ease;
}
.sq-wp-btn:hover { opacity: 0.92; }
.sq-wp-btn:disabled {
  opacity: 0.58;
  cursor: default;
}
.sq-wp-btn-checkin {
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  font-size: 13px;
}
.sq-wp-btn-done {
  background: rgba(51, 65, 85, 0.65) !important;
  color: #cbd5e1 !important;
}
.sq-wp-theme-light .sq-wp-btn-done {
  background: #e2e8f0 !important;
  color: #475569 !important;
}
.sq-wp-profile-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sq-wp-tier-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  background: rgba(56, 189, 248, 0.16);
  border: 1px solid rgba(56, 189, 248, 0.42);
  color: #7dd3fc;
}
.sq-wp-tier-pro {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fde68a;
}
.sq-wp-theme-light .sq-wp-tier-pill { color: #0369a1; }
.sq-wp-theme-light .sq-wp-tier-pro { color: #b45309; }
.sq-wp-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin-top: 10px;
}
.sq-wp-stat-box {
  padding: 8px 9px;
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(51, 65, 85, 0.7);
  text-align: center;
}
.sq-wp-theme-light .sq-wp-stat-box {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.sq-wp-stat-lbl {
  font-size: 10.5px;
  opacity: 0.72;
}
.sq-wp-stat-val {
  font-size: 14px;
  font-weight: 900;
  margin-top: 2px;
  color: #34d399;
}
.sq-wp-theme-light .sq-wp-stat-val { color: #059669; }
.sq-wp-gauge-track {
  width: 100%;
  height: 7px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.65);
  overflow: hidden;
  margin-top: 9px;
}
.sq-wp-gauge-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #34d399, #38bdf8);
}
.sq-wp-badge-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.sq-wp-select {
  flex: 1;
  min-width: 140px;
  padding: 6px 9px;
  border-radius: 9px;
  border: 1px solid #334155;
  background: rgba(2, 6, 23, 0.85);
  color: #f8fafc;
  font-size: 12px;
}
.sq-wp-theme-light .sq-wp-select {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
.sq-wp-subnote {
  margin-top: 9px;
  font-size: 11.3px;
  opacity: 0.78;
}
.sq-wp-unlink-btn {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: inherit;
  opacity: 0.78;
  border-radius: 7px;
  padding: 2px 7px;
  font-size: 11px;
  cursor: pointer;
}
.sq-wp-toast {
  margin-top: 9px;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}
.sq-wp-theme-light .sq-wp-toast { color: #065f46; }
.sq-wp-cmt-badge {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #0284c7;
}
.sq-wp-cmt-pro {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.45);
  color: #b45309;
}
.sq-wp-cmt-hint {
  margin: 6px 0 !important;
  font-size: 12px !important;
  color: #059669 !important;
  font-weight: 700;
}
