body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: url('../images/bg/bg-gold.jpg') center / cover no-repeat;
  color: #fff;
}

.header {
  padding: 16px;
  text-align: center;
  font-size: 18px;
  position: relative;
}

.back-btn {
  position: absolute;
  left: 12px;
  top: 12px;
  font-size: 18px;
  cursor: pointer;
}

.profile {
  text-align: center;
  justify-content: center;
  margin-top: 20px;
}

.profile img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: #ccc;
}

.list {
  margin: 24px 20px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 12px;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.row:last-child {
  border-bottom: none;
}

.label {
  color: #7cffb2;
  font-size: 14px;
}

.value {
  font-size: 14px;
  opacity: 0.9;
}

input {
  background: transparent;
  border: none;
  color: #fff;
  text-align: right;
  font-size: 14px;
  outline: none;
}

.logout {
  margin: 24px;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
}
.profile img {
  box-shadow: 0 0 20px rgba(0, 255, 180, 0.6);
}
.edit-wrap {
  position: relative;
  width: 100%;
}

.edit-wrap input {
  width: 100%;
}

.edit-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.7;
  cursor: pointer;
}

.edit-icon:hover {
  opacity: 1;
}

.label {
  width: 140px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 420px) {
  .label {
    width: 120px;
    font-size: 13px;
  }
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-box {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 20px 24px;
  width: 80%;
  max-width: 300px;
  color: #fff;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 200, 0.3);
}

.modal-message {
  margin-bottom: 20px;
  font-size: 15px;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.modal-actions .btn {
  flex: 1;
  border-radius: 20px;
  border: none;
  padding: 10px;
  font-size: 14px;
  cursor: pointer;
}

.modal-actions .yes {
  background: linear-gradient(90deg, #00ffa8, #00c9ff);
  color: #000;
}

.modal-actions .no {
  background: #444;
  color: #fff;
}
.exp-wrap {
  width: 100%;
}

.exp-bar-bg {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 4px;
}

.exp-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00ffcc, #00ccff);
  border-radius: 6px;
  transition: width 0.3s ease;
}

.exp-text {
  font-size: 12px;
  opacity: 0.8;
}
.exp-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.exp-text {
  min-width: 70px;
  text-align: right; /* ← これがポイント */
  color: #fff;
  font-size: 12px;
}
/* 通常時：下線なし */
.edit-wrap input {
  border: none;
  border-bottom: 1px solid transparent;
  background-color: transparent;
  color: #fff;
}

/* placeholder時＝鉛筆アイコン表示 */
.edit-wrap input:placeholder-shown {
  background: url('../images/ui/icon-edit.png') no-repeat right center;
  background-size: 16px 16px;
  padding-right: 26px;
}

/* 値が入ったらアイコン消す */
.edit-wrap input:not(:placeholder-shown) {
  background: none;
}

/* 編集中だけ下線 */
.edit-wrap input.editing {
  outline: none;
  border-bottom: 1px solid #00ffd5;
}
html,
body {
  height: auto !important;
  overflow-y: auto !important;
}
