.menu-icon {
  width: 28px;
  height: 28px;
  cursor: pointer;
  color: #333;
}

.menu-icon:hover {
  color: #007aff;
}

/* Settings button */
.settings-btn {
  position: fixed;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;

  background: transparent;   /* ✅ key line */
  border: none;              /* ✅ remove border */
  padding: 0;                /* ✅ remove default padding */
  color: inherit;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

.settings-btn:hover .menu-icon {
  color: #007aff;
}

.settings-btn {
  -webkit-tap-highlight-color: transparent;
}


/* Panel */
.settings-panel {
position: fixed;
top: 72px;
right: 16px;
width: 260px;
background: #fff;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
padding: 12px;
display: none;
z-index: 100;
}


.settings-panel.open {
display: block;
}


.settings-panel h3 {
margin: 0 0 8px;
font-size: 14px;
color: #444;
}


.setting-row {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 10px;
font-size: 13px;
}


.setting-row:last-child {
margin-bottom: 0;
}


/* Toggle switch */
.switch {
position: relative;
width: 36px;
height: 20px;
}


.switch input {
display: none;
}


.slider {
position: absolute;
inset: 0;
background: #ccc;
border-radius: 999px;
cursor: pointer;
transition: background 0.2s;
}


.slider::before {
content: "";
position: absolute;
width: 16px;
height: 16px;
left: 2px;
top: 2px;
}


.info-btn {
/* position: fixed;
bottom: 16px;
left: 16px; */
width: 18px;
height: 18px;
border-radius: 50%;
border: none;
background: #0a6cff;
color: #fff;
font-family: ui-rounded;
font-size: 16px;
cursor: pointer;
}

.info-panel {
z-index: 100;
position: fixed;
top: 72px;
left: 16px;
max-width: 300px;
background: #fff;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.2);
padding: 12px 14px;
font-size: 13px;
line-height: 1.4;
display: none;
}

.info-panel.open { display: block; }

.info-panel ul {
padding-left: 18px;
margin: 6px 0 0;
}

.info-panel li { margin-bottom: 6px; }

.menu-item {
    font-size: large;
    margin-left: auto;
}