* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  user-select: none;
}

body {
  background: transparent;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
}

.speedometer-widget {
  position: relative;
  width: 380px;
  background-color: #FFF8F2;
  border: 1.5px solid #F6E3D7;
  border-radius: 36px;
  padding: 20px;
  box-shadow: 0 20px 45px -12px rgba(115, 50, 70, 0.12);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-name {
  font-size: 22px;
  font-weight: 800;
  color: #38242A;
  letter-spacing: -0.5px;
}

.active-badge, .inactive-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background-color: #F7DEE2;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #D96D80;
}

.badge-text {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #38242A;
}

.metrics-bar {
  background-color: #FCEDE4;
  border-radius: 16px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  border: 1px solid rgba(248, 223, 210, 0.6);
}

.icons-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F4D1DA;
  color: #38242A;
  transition: all 0.2s ease;
}

.status-icon.icon-active {
  background-color: #F4D1DA;
  color: #38242A;
}

.status-icon.icon-highbeam {
  background-color: #8F81D6;
  color: #FFFFFF;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.metric-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #F4D1DA;
  color: #38242A;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-data {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 9px;
  font-weight: 700;
  color: #8C777C;
  letter-spacing: 0.8px;
}

.metric-value {
  font-size: 12px;
  font-weight: 900;
  color: #38242A;
  line-height: 1.1;
}

.dial-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gauge-svg {
  width: 285px;
  height: 285px;
}

#gaugeNeedle {
  transform-origin: 150px 150px;
  transition: transform 0.15s ease-out;
}

.digital-speed {
  position: absolute;
  top: 34%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

#speedValue {
  font-size: 52px;
  font-weight: 900;
  color: #38242A;
  line-height: 1;
}

#speedUnit {
  font-size: 12px;
  font-weight: 800;
  color: #D96D80;
  letter-spacing: 2px;
  margin-top: 4px;
}

.bottom-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
}

.bottom-card {
  background-color: #FCEDE4;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(248, 223, 210, 0.6);
}

.flower-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #F6CBD5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.card-label {
  font-size: 10px;
  font-weight: 700;
  color: #8C777C;
  letter-spacing: 1px;
}

.card-value {
  font-size: 15px;
  font-weight: 900;
  color: #38242A;
  line-height: 1.1;
}

/* Cat Kawaii Animatable Transitions */
#leftEarGroup {
  transform-origin: 114px 172px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#rightEarGroup {
  transform-origin: 186px 172px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#leftWhiskers {
  transform-origin: 130px 204px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#rightWhiskers {
  transform-origin: 170px 204px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blinker-active {
  background-color: #98DEC0 !important;
  color: #1E5740 !important;
  animation: blinkerPulse 0.45s infinite alternate !important;
}

@keyframes blinkerPulse {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(1.15); opacity: 1; }
}
