.myp-content h1 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.6em;
}
.myp-message {
  text-align: center;
  font-size: 0.9em;
  margin-bottom: 30px;
}
/* --- 重要情報 --- */
.myp-important-info {
  border: 2px solid #A6784E; /*#ff4d4d;*/
  background: #fff; /*#fff2f0;*/
  border-radius: 12px;
  padding: 20px;
}
.myp-important-info h2 {
  font-size: 1.2rem;
  color: #000; /*#d9363e;*/
  margin: 0 0 10px;
}
.myp-url-group {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
#myp-auth-url {
  flex: 1;
  border: 1px solid #ffccc7;
  border-radius: 6px;
  font-size: 12px;
  padding: 10px;
  resize: none;
}
.myp-btn-copy {
  background: #d9363e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}
.myp-btn-copy:hover { background: #ff4d4d; }
.myp-warning {
  margin-top: 15px;
  font-size: 0.8rem;
  font-weight: bold;
  color: #d9363e;
}

/* --- メインアクション --- */
.myp-actions-main {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  gap: 15px;
  margin: 30px 0;
}
.myp-btn-main {
  display: flex;
}
.myp-btn-main a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;
  border-radius: 12px;
  text-decoration: none;
  background: #e6f7ff;
  color: #0050b3;
  border: 2px solid #91d5ff;
  transition: transform 0.2s, box-shadow 0.2s;
}
.myp-btn-main a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.myp-btn-main i {
  font-size: 36px;
  margin-bottom: 10px;
}

/* --- サブアクション --- */
.myp-actions-sub {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.myp-btn-sub {
  flex: 1;
  min-width: 120px;
  display: flex;
}
.myp-btn-sub form {
    display: flex;
    flex: 1;
}
.myp-btn-sub a,
.myp-btn-sub button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
  border-radius: 12px;
  text-decoration: none;
  background: #f7f7f7;
  color: #666;
  border: 1px solid #ddd;
  transition: background 0.2s;
  font-size: 1em;
  line-height: 1.4;
  cursor: pointer;
}
.myp-btn-sub a:hover,
.myp-btn-sub button:hover {
  background: #efefef;
}



/* --- レビュー --- */
.myp-review-section h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
}
.myp-no-review {
  text-align: center;
  color: #666;
  padding: 30px;
  border: 1px dashed #ccc;
  border-radius: 8px;
}
.myp-review-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 20px;
}
.myp-review-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.myp-review-card:hover { transform: translateY(-5px); box-shadow: 0 6px 16px rgba(0,0,0,0.1); }
.myp-review-header {
  display: block;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.myp-review-title { font-size: 1.1rem; font-weight: bold; color: #333; }
.myp-review-stars { color: #ffc107; font-size: 0.7em; }
.myp-review-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 15px;
}
.myp-btn-action {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  border: none;
}
.myp-btn-action i { margin-right: 5px; }
.myp-btn-edit { background: #f0f0f0; color: #555; }
.myp-btn-edit:hover { background: #e0e0e0; }
.myp-btn-delete { background: #f7e1e1; color: #d9363e; }
.myp-btn-delete:hover { background: #f0c9c9; }

.myp-rev_reason {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 10px;
  background: #fafafa;
  padding: 10px 12px;
  border-radius: 10px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
  white-space: pre-wrap;
}


/* --- ユーザー削除 --- */
.myp-delete-section {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  border: 2px solid #ff4d4d;
  border-radius: 12px;
  background: #fff2f0;
}
.myp-delete-section h2 { font-size: 1.2rem; color: #d9363e; margin-bottom: 10px; }
.myp-delete-warning { color: #d9363e; margin-bottom: 20px; font-size: 0.9rem; line-height: 1.6; }
.myp-btn-delete-all {
  display: inline-block;
  padding: 12px 24px;
  background: #ff4d4d;
  color: #fff;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
}
.myp-btn-delete-all:hover { background: #d9363e; transform: translateY(-2px); }
